OSDN Git Service

PR target/13585
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-01-11  Michael Koch  <konqueror@gmx.de>
2
3         * gnu/java/lang/reflect/TypeSignature.java
4         (getEncodingOfClass): Documentation fixed.
5         (getClassForEncoding): Give class loader to Class.forName().
6         Documentation fixed.
7
8 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
9
10         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11
12 2004-01-11  Michael Koch  <konqueror@gmx.de>
13
14         * javax/swing/undo/StateEditable.java
15         (RCSID): Removed redundant modifiers.
16
17 2004-01-10  Michael Koch  <konqueror@gmx.de>
18
19         * javax/print/attribute/EnumSyntax.java
20         (getStringTable): Made protected.
21         (getEnumValueTable): Likewise.
22         * javax/print/attribute/standard/JobKOctetsProcessed.java
23         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
24         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
25         (JobMediaSheetsCompleted): Made class final.
26         * javax/print/attribute/standard/OutputDeviceAssigned.java
27         (getName): Fixed typo.
28         * javax/print/attribute/standard/RequestingUserName.java
29         (serialVersionUID): Fixed value.
30
31 2004-01-10  Michael Koch  <konqueror@gmx.de>
32
33         * javax/swing/plaf/basic/BasicButtonUI.java,
34         javax/swing/plaf/basic/BasicCheckBoxUI.java,
35         javax/swing/plaf/basic/BasicListUI.java,
36         javax/swing/plaf/basic/BasicOptionPaneUI.java,
37         javax/swing/plaf/basic/BasicPanelUI.java,
38         javax/swing/plaf/basic/BasicRadioButtonUI.java,
39         javax/swing/plaf/basic/BasicScrollPaneUI.java,
40         javax/swing/plaf/basic/BasicToggleButtonUI.java,
41         javax/swing/plaf/basic/BasicViewportUI.java:
42         Fixed import statements.
43
44 2004-01-10  Michael Koch  <konqueror@gmx.de>
45
46         * gnu/java/awt/image/ImageDecoder.java
47         (produce): Made public.
48         * gnu/java/awt/peer/GLightweightPeer.java,
49         gnu/java/awt/peer/gtk/GtkToolkit.java:
50         Reformated.
51
52 2004-01-10  Michael Koch  <konqueror@gmx.de>
53
54         * javax/swing/JRadioButtonMenuItem.java,
55         javax/swing/JSeparator.java,
56         javax/swing/JSplitPane.java,
57         javax/swing/JTextPane.java,
58         javax/swing/JToolBar.java,
59         javax/swing/ListCellRenderer.java,
60         javax/swing/ListModel.java,
61         javax/swing/MenuElement.java,
62         javax/swing/OverlayLayout.java,
63         javax/swing/ProgressMonitor.java,
64         javax/swing/ProgressMonitorInputStream.java,
65         javax/swing/Renderer.java,
66         javax/swing/RootPaneContainer.java,
67         javax/swing/Scrollable.java,
68         javax/swing/SingleSelectionModel.java,
69         javax/swing/ToolTipManager.java,
70         javax/swing/ViewportLayout.java,
71         javax/swing/event/DocumentEvent.java,
72         javax/swing/event/SwingPropertyChangeSupport.java,
73         javax/swing/event/TreeSelectionEvent.java,
74         javax/swing/event/UndoableEditEvent.java,
75         javax/swing/text/AbstractDocument.java,
76         javax/swing/text/AttributeSet.java,
77         javax/swing/text/Caret.java,
78         javax/swing/text/ComponentView.java,
79         javax/swing/text/DefaultCaret.java,
80         javax/swing/text/DefaultEditorKit.java,
81         javax/swing/text/Document.java,
82         javax/swing/text/EditorKit.java,
83         javax/swing/text/GapContent.java,
84         javax/swing/text/Keymap.java,
85         javax/swing/text/MutableAttributeSet.java,
86         javax/swing/text/PlainEditorKit.java,
87         javax/swing/text/Segment.java,
88         javax/swing/text/Style.java,
89         javax/swing/text/StyledDocument.java,
90         javax/swing/text/StyledEditorKit.java,
91         javax/swing/text/TextAction.java,
92         javax/swing/text/View.java: Fixed import statements.
93
94 2004-01-08  Graydon Hoare  <graydon@redhat.com>
95
96         * javax/swing/JLayeredPane.java: Rewrite to accomodate
97         djee@redhat.com's recent inverse ordering of Container elements.
98
99 2004-01-09  Michael Koch  <konqueror@gmx.de>
100
101         * gnu/java/lang/ArrayHelper.java
102         (equalsArray): Removed.
103
104 2004-01-09  Andrew Haley  <aph@redhat.com>
105
106         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
107         a Utf8Const field before looking at its class.
108
109 2004-01-09  Michael Koch  <konqueror@gmx.de>
110
111         * javax/print/attribute/standard/DocumentName.java,
112         javax/print/attribute/standard/JobHoldUntil.java,
113         javax/print/attribute/standard/JobMessageFromOperator.java,
114         javax/print/attribute/standard/JobName.java,
115         javax/print/attribute/standard/JobOriginatingUserName.java,
116         javax/print/attribute/standard/OutputDeviceAssigned.java,
117         javax/print/attribute/standard/PrinterInfo.java,
118         javax/print/attribute/standard/PrinterLocation.java,
119         javax/print/attribute/standard/PrinterMakeAndModel.java,
120         javax/print/attribute/standard/PrinterMessageFromOperator.java,
121         javax/print/attribute/standard/PrinterName.java,
122         javax/print/attribute/standard/RequestingUserName.java: New files.
123         * Makefile.am (javax_source_files): Added new files.
124         * Makefile.in: Regenerated.
125
126 2004-01-09  Michael Koch  <konqueror@gmx.de>
127
128         * javax/swing/AbstractAction.java,
129         javax/swing/AbstractSet.java,
130         javax/swing/Action.java,
131         javax/swing/ActionMap.java,
132         javax/swing/BoundedRangeModel.java,
133         javax/swing/ButtonModel.java,
134         javax/swing/CellEditor.java,
135         javax/swing/CellRendererPane.java,
136         javax/swing/ComboBoxEditor.java,
137         javax/swing/DebugGraphics.java,
138         javax/swing/DefaultCellEditor.java,
139         javax/swing/DefaultCellRenderer.java,
140         javax/swing/DefaultComboBoxModel.java,
141         javax/swing/DefaultDesktopManager.java,
142         javax/swing/DefaultFocusManager.java,
143         javax/swing/DefaultListCellRenderer.java,
144         javax/swing/Icon.java,
145         javax/swing/JButton.java,
146         javax/swing/JCheckBoxMenuItem.java,
147         javax/swing/JDesktopPane.java,
148         javax/swing/JEditorPane.java,
149         javax/swing/JMenu.java,
150         javax/swing/JPanel.java,
151         javax/swing/JPasswordField.java,
152         javax/swing/JPopupMenu.java,
153         javax/swing/JProgressBar.java: Reworked imports.
154
155 2004-01-09  Michael Koch  <konqueror@gmx.de>
156
157         * java/awt/geom/PathIterator.java
158         (WIND_EVEN_ODD): Removed redundant modifiers.
159         (WIND_NON_ZERO): Likewise.
160         (SEG_MOVETO): Likewise.
161         (SEG_LINETO): Likewise.
162         (SEG_QUADTO): Likewise.
163         (SEG_CUBICTO): Likewise.
164         (SEG_CLOSE): Likewise.
165         * java/awt/image/SinglePixelPackedSampleModel.java:
166         Removed redundant semicolon.
167         * java/io/ObjectInputStream.java
168         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
169         * java/util/logging/Filter.java
170         (isLoggable): Removed redundant modifier.
171         * java/util/logging/LogManager.java:
172         Removed redundant semicolon.
173         * java/util/logging/XMLFormatter.java
174         (format): Removed unused variable "key".
175
176 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
177
178         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
179         New name for the former setFile native method.
180         (setFile): New method.
181         (setDirectory): Implemented.
182         (connectSignals): New native method.
183         (setFilenameFilter): Improve comment.
184         (getGraphics): Comment.
185         (gtkHideFileDialog): New method.
186         (gtkDisposeFileDialog): New method.
187         (gtkSetFilename): New method.
188         * java/awt/Dialog.java (show): Block on modal dialogs, but only
189         for FileDialog for now.
190         (hide): New method.
191         (dispose): New method.
192         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
193         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
194         deprecated creation functions.  Make dialog modal.  Add it to the
195         window group.
196         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
197         function.
198         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
199         Rename to...
200         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
201         name.
202         (window_closed): New function.
203         (ok_clicked): New function.
204         (cancel_clicked): New function.
205
206 2004-01-08  Michael Koch  <konqueror@gmx.de>
207
208         * javax/swing/JLayeredPane.java: Revert changes to standard
209         boilerplate, reworked imports.
210
211 2004-01-07  Tom Tromey  <tromey@redhat.com>
212
213         PR libgcj/13439:
214         * verify.cc (state::merge): Copy changed locals out of subroutine
215         in NO_STACK case.
216         (state::FLAG_CHANGED): New const.
217         (state::FLAG_UNUSED): Likewise.
218         (state::local_changed): Removed.  Updated all users.
219         (state::flags): New field.
220         (state::merge): Added jsr_semantics argument, more logic.
221         (push_jump_merge): Added jsr_semantics argument.
222         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
223         merging through the jsr instruction.
224
225 2004-01-07  Tom Tromey  <tromey@redhat.com>
226
227         * scripts/MakeDefaultMimeTypes.java: Use \n, not
228         backslash-newline.
229
230 2004-01-07  Graydon Hoare  <graydon@redhat.com>
231
232         * java/awt/Container.java (LightweightDispatcher): Implement.
233         (visitChild): Reuse graphics object.
234         (dispatchEventImpl): Optionally dispatch to lightweight.
235         (addNotifyContainerChildren): Build LightweightDispatcher.
236
237 2004-01-07  David Jee  <djee@redhat.com>
238
239         * java/awt/Container.java
240         (update): Clear only the clipped region, instead of clearing the
241         entire Container.
242         (visitChildren): Visit children in descending order.
243
244 2004-01-07  Michael Koch  <konqueror@gmx.de>
245
246         * java/lang/reflect/Array.java: Merged documentation with classpath.
247
248 2004-01-07  Michael Koch  <konqueror@gmx.de>
249
250         * java/text/CollationElementIterator.java
251         (textIndex): Renamed from index.
252         * java/text/CollationKey.java
253         (collator): New member.
254         (CollationKey): New argument for parent collator.
255         (equals): Check for same collator, source string and key array.
256         * java/text/RuleBasedCollator.java:
257         Reformated.
258         (RuleBasedCollator): Don't re-initialize frenchAccents with default
259         value.
260         (getCollationElementIterator): Rewritten.
261         (getCollationKey): Added new argument to CollationKey constructor.
262
263 2004-01-07  Michael Koch  <konqueror@gmx.de>
264
265         * gnu/java/nio/DatagramChannelImpl.java
266         (blocking): Removed.
267         (DatagramChannelImpl): Call configureBlocking().
268         (implConfigureBlocking): Dont initialize blocking.
269         * gnu/java/nio/ServerSocketChannelImpl.java
270         (blocking): Removed.
271         (ServerSocketChannelImpl): Call configureBlocking().
272         (implConfigureBlocking): Dont initialize blocking.
273         * gnu/java/nio/SocketChannelImpl.java
274         (blocking): Removed.
275         (SocketChannelImpl): Call configureBlocking().
276         (implConfigureBlocking): Dont initialize blocking.
277         (connect): Use isBlocking().
278         * java/nio/channels/spi/AbstractSelectableChannel.java
279         (configureBlocking): Use blockingLock() instead of LOCK.
280         Set blocking after successfully called implConfigureBlocking().
281         (register): Use blockingLock() instead of LOCK.
282
283 2004-01-07  Michael Koch  <konqueror@gmx.de>
284
285         * java/net/ServerSocket.java (isBound): Fixed documentation.
286
287 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
288
289         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
290         (changeEvent): Create event object on demand.
291         (DefaultBoundedRangeModel, toString, setValue, setExtent,
292         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
293         fireStateChanged): Re-written.
294         * javax/swing/event/EventListenerList.java: Reformatted, document
295         typical usage.
296         (toString): Implemented.
297         (getListeners): Re-written.
298         (remove): Re-written.
299         (add): Re-written.
300         (NO_LISTENERS): New singleton field.
301         (listenerList): Declare as transient; document.
302         (serialVersionUID): Document.
303         (getListenerCount(Class)): More efficient implementation,
304         also accepts null argument.  Improve Javadoc.
305         (getListenerCount()): Remove unnecessary cast; docfix.
306         * javax/swing/undo/UndoableEditSupport.java:
307         Re-format, document.
308         (UndoableEditSupport): Set realSource field. Improve documentation.
309         (_postEdit): Iterate over cloned listener vector.
310         (toString): Don't emit realSource.
311         (beginUpdate, endUpdate): Support nested updates.
312         (postEdit): Use compound edit if present.
313
314 2004-01-06  Graydon Hoare  <graydon@redhat.com>
315
316         * java/awt/Container.java (swapComponents): Add forgotten
317         function, required for JLayeredPane change.
318
319 2004-01-06  Michael Koch  <konqueror@gmx.de>
320
321         * java/text/CollationElementIterator.java: Reformated.
322         (CollationElementIterator): Changed order of arguments.
323         * java/text/RuleBasedCollator.java
324         (RuleBasedCollator): Merged class documentation.
325         (CollationElement): Added documentation.
326         (compare): Reformated, renamed arguments.
327         (equals): Likewise.
328         (getCollationElementIterator): Likewise.
329         (getCollationKey): Likewise.
330
331 2004-01-06  Graydon Hoare  <graydon@redhat.com>
332
333         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
334
335 2004-01-06  Michael Koch  <konqueror@gmx.de>
336
337         * gnu/java/net/protocol/file/Connection.java:
338         Reformated copyright.
339         (hdrHash): Removed.
340         (hdrVec): Removed.
341         (gotHeaders): Removed.
342         (getHeaderField): Removed.
343         (getHeaderField): Removed.
344         (getHeaderFieldKey): Removed.
345         (getKey): Removed.
346         (getField): Removed.
347         (getHeaders): Removed.
348
349 2004-01-06  Michael Koch  <konqueror@gmx.de>
350
351         * javax/print/attribute/standard/DateTimeAtCompleted.java,
352         javax/print/attribute/standard/DateTimeAtCreation.java,
353         javax/print/attribute/standard/DateTimeAtProcessing.java,
354         javax/print/attribute/standard/JobImpressionsCompleted.java,
355         javax/print/attribute/standard/JobKOctets.java,
356         javax/print/attribute/standard/JobKOctetsProcessed.java,
357         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
358         javax/print/attribute/standard/JobPrioritySupported.java: New files.
359         * Makefile.am (javax_source_files): Added new files.
360         * Makefile.in: Regenerated.
361
362 2004-01-06  Michael Koch  <konqueror@gmx.de>
363
364         * java/net/URLConnection.java
365         (contentHandler): Removed.
366         (locale): Removed.
367         (getHeaderFields): Return an empty map instead of null.
368         (getContent): Connect if needed, renamed "cType" to "type" and
369         "contentHandler" to "ch" and made it a local variable.
370         (getPermission): Don't use package in class name.
371         (setDefaultRequestProperty): Fixed typo in documentation.
372         (initializeDateFormats): Made locale a local variable.
373
374 2004-01-06  Michael Koch  <konqueror@gmx.de>
375
376         * java/lang/Package.java
377         (getPackage): Get the current class loader directly.
378         * java/lang/SecurityManager.java
379         (currentLoadedClass): Dont iterate over class contexts.
380         (classLoaderDepth): Don't check class loaders if everything is allowed.
381
382 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
383
384         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
385         (pre_event_handler): Set all insets to 0 when a Configure event
386         is received for a GtkPlug.
387         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
388         Make handle long, not int.
389         (EmbeddedWindow()): New constructor.
390         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
391         long, not int.
392         (setHandle): New method.
393         (getHandle): Return long, not int.
394         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
395         declaration.
396         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
397         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
398         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
399         argument to GdkNativeWindow.
400         (construct): New method.
401         (embed): New method.
402
403         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
404         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
405         (create(int, int)): New method.
406         (create): Call new create method.
407         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
408         methods.
409         (childResized): Remove native implementation.  Implement in
410         Java.
411         (getHScrollbarHeight, getVScrollbarWidth): Call
412         gtk_widget_size_request to get scrollbar dimensions.
413         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
414         call getVScrollbarWidth and getHScrollbarHeight when vertical
415         and horizontal scrollbars respectively are needed.
416         (doLayout): Enlarge child if it is smaller than the viewport.
417
418 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
419
420         * java/awt/Dialog.java (constructor): Accept null title as per spec.
421         * java/awt/FileDialog.java (constructor): Throw exception on invalid
422         argument as per spec.
423
424 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
425
426         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
427         (insert): Ditto.
428         (remove): Ditto.  Also, Check for valid argument.
429         (removeAll): Use peer interface method.
430         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
431         native add function.
432         (nativeRemove): New name for native remove function.
433         (getHistory): New native function.
434         (constructor): Generate ItemEvent.
435         (add): Ditto, if selection is changed.
436         (remove): Ditto, ditto.
437         (removeAll): Add implementation.
438         (handleEvent): Remove.  Dead code.
439         (choicePostItemEvent): Add comment.
440         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
441         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
442         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
443         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
444         comments and fix condition to change selection.
445         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
446         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
447         remove all capability.
448         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
449         (item_activate): Add cast to remove compiler warning.
450
451 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
452
453         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
454         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
455         (getPreferredSize): Call preferredSize.
456         (preferredSize): Call gtkWidgetGetPreferredDimensions.
457         (getMinimumSize): Call minimumSize.
458         (minimumSize): Call gtkWidgetGetPreferredDimensions.
459         (gtkWidgetGetDimensions): Return the peer widget's current size
460         request.
461         (gtkWidgetGetPreferredDimensions): Return the peer widget's
462         natural size request.
463
464 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
465
466         Thanks to Brian Gough <bjg@network-theory.com>
467         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
468         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
469
470 2004-01-04  Matthias Klose  <doko@debian.org>
471
472         * aclocal.m4: Rebuilt using "aclocal -I .".
473         * configure: Rebuilt.
474
475 2004-01-03  Per Bothner  <per@bothner.com>
476
477         * java/util/Date.java (parse):  Fix a number of problems.
478         (skipParens):  Remove no-longer-needed method.
479
480 2003-12-31  Michael Koch  <konqueror@gmx.de>
481
482         * gnu/java/net/protocol/http/Connection.java
483         (sendRequest): Dont encode output in default character encoding,
484         add correct version number to HTTP user agent string.
485
486 2003-12-31  Graydon Hoare  <graydon@redhat.com>
487
488         * configure.in: Add --enable-gtk-cairo check.
489         * configure: Regenerate.
490         * Makefile.am: Conditionally link against cairo.
491         * Makefile.in: Regenerate.
492         * acinclude.m4: Include PKG_CHECK_MODULES.
493         * aclocal.m4: Regenerate.
494         * gnu/java/awt/peer/gtk/GtkToolkit.java (useGraphics2D): New method.
495         (getFontMetrics, getClasspathFontPeer):
496         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics):
497         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
498         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (getGraphics):
499         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics):
500         Switch behavior depending on GtkToolkit.useGraphics2D().   
501         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Extend ClasspathFontPeer.
502         * java/awt/Font.java: Switch to peer model.
503         * jni/gtk-peer/gtkcairopeer.h: Definitions of cairo stuff.
504         * jni/gtk-peer/gdkfont.h: Include gtkcairopeer.h.
505         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Include gtkcairopeer.h.
506         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: Un-include gtkpeer.h. 
507
508 2003-12-31  Guilhem Lavaux  <guilhem@kaffe.org>
509
510         * java/io/ObjectOutputStream.java
511         (putFields): Reindented. Fixed behaviour: currentPutField should be
512         null
513         before calling this method.
514         (writeFields): Likewise.
515         (markFieldsWritten): Fixed the exception message.
516         (callWriteMethod): Ensure currentPutField is null.
517         (getBooleanField): Translate IllegalArgumentException into
518         InvalidClassException.
519         (getByteField): Likewise.
520         (getCharField): Likewise.
521         (getDoubleField): Likewise.
522         (getFloatField): Likewise.
523         (getIntField): Likewise.
524         (getLongField): Likewise.
525         (getShortField): Likewise.
526         (getObjectField): Check the type code before returning the object.
527         (getField): Translate NoSuchFieldException into InvalidClassException
528         directly.
529
530 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
531
532         * java/net/URL.java
533         (URL): Change context path to "/" if it is empty.
534
535 2003-12-31  Michael Koch  <konqueror@gmx.de>
536
537         * testsuite/libjava.mauve/xfails: Removed tests that pass now:
538         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
539         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
540         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
541         (number 26)
542         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
543         (number 54)
544         
545
546 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
547
548         * java/util/GregorianCalendar.java
549         (computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>.
550         Fixed the computation of DAY_OF_WEEK_IN_MONTH.
551         (computeTime): 12:00 midnight is AM and 12:00 noon is PM.
552
553 2003-12-30  Michael Koch  <konqueror@gmx.de>
554
555         * testsuite/libjava.mauve/xfails: Removed the following testcase
556         because it passes now:
557         FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict
558         (number 1)
559
560 2003-12-30  Michael Koch  <konqueror@gmx.de>
561
562         * java/io/ObjectInputStream.java,
563         java/io/ObjectOutputStream.java,
564         java/io/ObjectStreamClass.java:
565         Reformated, no functional code changes.
566
567 2003-12-30  Michael Koch  <konqueror@gmx.de>
568
569         * gnu/java/net/protocol/http/Connection.java
570         (outputStream): New field.
571         (bufferedOutputStream): New field.
572         (connect): Initialize outputStream and bufferedOutputStream.
573         (sendRequest): Create PrintWriter object from outputStream,
574         support HTTP 1.1, send missing HTTP headers and buffered output data
575         for POST method.
576         (getOutputStream): Set request method to POST if output stream is
577         used, return bufferedOutputStream.
578         (setRequestMethod): Allow HEAD and POST methods.
579         This fixes libgcj PR/6302 and libgcj PR/7752.
580
581 2003-12-30  Guilhem Lavaux <guilhem@kaffe.org>
582
583         * java/io/LineNumberReader.java
584         (countLines): Removed.
585         (fill): New private method.
586         (mark): Changed logic to use and matchedNewLine.
587         (reset): Likewise.
588         (read): Likewise.
589         (skipRedundantLF): Likewise.
590
591 2003-12-30  Michael Koch  <konqueror@gmx.de>
592
593         * gnu/java/net/protocol/http/Connection.java
594         (requestProperties): New field.
595         (addRequestProperty): New method.
596         (getRequestProperty): New method.
597         (setRequestProperty): New method.
598         (getRequestProperties): New method.
599
600 2003-12-28  Michael Koch  <konqueror@gmx.de>
601
602         * gnu/java/net/protocol/http/Connection.java
603         (inputStream): Made it a DataInputStream.
604         (requestProperties): Removed.
605         (hdrHash): Removed.
606         (hdrVec): Removed.
607         (headers): New field to store headers.
608         (connect): Initialize inputStream.
609         (receiveReply): Merged from classpath. The new algorithm is line based
610         instead of character based.
611         (getHeaderField): Use headers.
612         (getHeaderFields): Use headers.
613         (getKey): Removed.
614         (getField): Removed.
615         * gnu/java/net/HeaderFieldHelper.java: New file.
616         * Makefile.am (ordinary_java_source_files):
617         Added gnu/java/net/HeaderFieldHelper.java.
618         * Makefile.in: Regenerated.
619
620 2003-12-28  Guilhem Lavaux <guilhem@kaffe.org>
621
622         * java/io/LineNumberReader.java
623         (mark): Improved error checking.
624         (read): Likewise.
625         (skip): Likewise. Skip is now really eating the specified number of
626         characters.
627         * java/io/CharArrayReader.java (read): It should throw
628         IndexOutOfBoundsException and not ArrayIndexOutOfBoundsException (see
629         mauve).
630         * java/io/BufferedReader.java (readLine): Make readLine() really block
631         until either EOF is reached or a true error happens.
632
633 2003-12-27  Michael Koch  <konqueror@gmx.de>
634
635         * gnu/java/net/protocol/http/Connection.java
636         (getRequestProperty): Removed.
637         (setRequestProperty): Removed.
638
639 2003-12-27  Michael Koch  <konqueror@gmx.de>
640
641         * gnu/java/net/protocol/http/Connection.java
642         (connect): Call receiveReply().
643         (receiveReply): Renamed from getHttpHeaders().
644         (getOutputStream): Moved check on doOutput before check for connection
645         state.
646
647 2003-12-27  Michael Koch  <konqueror@gmx.de>
648
649         * javax/print/attribute/ResolutionSyntax.java,
650         javax/print/attribute/SetOfIntegerSyntax.java,
651         javax/print/attribute/Size2DSyntax.java,
652         javax/print/attribute/standard/Copies.java,
653         javax/print/attribute/standard/JobImpressions.java,
654         javax/print/attribute/standard/JobMediaSheets.java,
655         javax/print/attribute/standard/NumberOfDocuments.java,
656         javax/print/attribute/standard/NumberOfInterveningJobs.java,
657         javax/print/attribute/standard/PagesPerMinute.java,
658         javax/print/attribute/standard/PagesPerMinuteColor.java,
659         javax/print/attribute/standard/QueuedJobCount.java:
660         Fixed typo (s/then/than/).
661
662 2003-12-27  Guilhem Lavaux  <guilhem@kaffe.org>
663
664         * java/rmi/Naming.java (lookup): Check if the first character of the
665         filename returned by URL.getFile() is a '/', only if it is the case
666         we cut this first character and call the registry with the good name.
667         (bind): Likewise.
668         (rebind): Likewise.
669
670 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
671             Mark Wielaard  <mark@klomp.org>
672
673         * java/io/BufferedReader.java (BufferedReader):
674         Throw IllegalArgumentException when size <= 0.
675         (mark): Document and better exception message for negative
676         readLimit IllegalArgumentException.
677         (read(char[],int,int)): Throw IndexOutOfBoundsException
678         if offset and count are not valid regarding buf.
679         (skip): Throw IllegalArgumentException when count is negative.
680
681 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
682
683         * java/io/FileInputStream.java
684         (FileInputStream(String)): Call FileInputStream(File).
685         (FileInputStream(File)): Check whether the argument is a directory.
686
687 2003-12-26  Michael Koch  <konqueror@gmx.de>
688
689         * Makefile.am (rmi_java_source_files):
690         Added gnu/java/rmi/server/RMIVoidValue.java.
691         * Makefile.in: Regenerated.
692
693 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
694             Mark Wielaard  <mark@klomp.org>
695
696         * gnu/java/rmi/server/UnicastConnectionManager.java
697         (startScavenger): Set the client connection manager to daemon
698         state because it may block clients until TIMEOUT is reached
699         when they are exiting.
700
701         * gnu/java/rmi/RMIVoidValue.java: New file for a class representing
702         a void return.
703
704         * gnu/java/rmi/server/UnicastRemoteCall.java
705         (DummyOutputStream): Add a boolean before each written field to
706         know whether it is a primitive.
707         (releaseOutputStream): Flush parameters at write time.
708
709         * gnu/java/rmi/server/UnicastServerRef.java
710         (incomingMessageCall): Return a RMIVoidValue if no value is to be
711         returned.
712
713         * gnu/java/rmi/server/UnicastServer.java
714         (incomingMessageCall): Do not write a returned object if it is
715         a RMIVoidValue.
716
717 2003-12-25  Andreas Tobler  <a.tobler@schweiz.ch>
718
719         * libltdl/ltdl.c (HAVE_DYLD): Remove ifdef conditional for 
720         darwin. Fixed by fixinclude now.
721
722 2003-12-25  Michael Koch  <konqueror@gmx.de>
723
724         * java/net/ServerSocket.java bind():
725         If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as
726         address to bind to.
727
728 2003-12-23  Guilhem Lavaux <guilhem@kaffe.org>
729
730         * java/io/ObjectInputStream.java
731         (getField): Handle transient and non persistent fields.
732         (readClassDescriptor): Better error handling, use the right
733         class loader.
734         (readFields): Fields marked as not present in the stream
735         or not to be set are not read and set.
736         * java/io/ObjectInputStream.java
737         (readFields): Changed implementation of GetField.
738         (readClassDescriptor): Documented.
739         * java/io/ObjectOutputStream.java
740         (writeClassDescriptor): Added condition when to write class super
741         class information.
742
743 2003-12-22  Fernando Nasser  <fnasser@redhat.com>
744
745         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to...
746         (choicePostItemEvent): Change signature to more specific String object.
747         * java/awt/Choice.java (add): Generate ItemEvent for the first item
748         added.
749         (insert): Generate ItemEvent if insertion caused
750         selection to change.
751         (remove): Generate ItemEvent if removal cause selection to change.
752         (removeAll): Change algorithm to prevent generation of ItemEvents.
753         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
754         (connect_choice_item_selectable_hook): Change argument type.
755         Fix argument value.
756         Make sure resources are feed by registering callback.
757         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
758         above function.
759         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
760         (item_activate): Ditto.
761         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
762         menuitem.
763         (item_removed): New function.  Free resources.
764         * jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
765         name.
766         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
767         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
768         choicePostItemEvent.
769
770 2003-12-23  Michael Koch  <konqueror@gmx.de>
771
772         * javax/print/attribute/standard/Copies.java,
773         javax/print/attribute/standard/JobImpressions.java,
774         javax/print/attribute/standard/JobMediaSheets.java,
775         javax/print/attribute/standard/JobPriority.java,
776         javax/print/attribute/standard/NumberOfDocuments.java,
777         javax/print/attribute/standard/NumberOfInterveningJobs.java,
778         javax/print/attribute/standard/NumberUp.java,
779         javax/print/attribute/standard/PagesPerMinuteColor.java,
780         javax/print/attribute/standard/PagesPerMinute.java,
781         javax/print/attribute/standard/QueuedJobCount.java: New files.
782         * Makefile.am (ordinary_java_source_files): Added new files.
783         * Makefile.in: Regenerated.
784
785 2003-12-23  Michael Koch  <konqueror@gmx.de>
786
787         * javax/print/attribute/AttributeSetUtilities.java
788         (verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
789         * javax/print/attribute/HashAttributeSet.java
790         (HashAttributeSet): Call internal add methods, added missing
791         exceptions.
792         (add): Call addInternal, added exceptions to documentation.
793         (addInternal): New method.
794         (addAll): Call addAllInternal, added exception to documentation.
795         (addAllInternal): New method.
796         (clear): Added exception to documentation.
797         (remove): Likewise.
798         * javax/print/attribute/URISyntax.java
799         (serialVersionUID): Fixed value.
800
801 2003-12-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
802
803         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
804         (pre_event_handler): Don't dereference NULL focus_obj_ptr.
805
806 2003-12-21  Michael Koch  <konqueror@gmx.de>
807
808         * javax/print/attribute/AttributeSetUtilities.java,
809         javax/print/attribute/HashAttributeSet.java,
810         javax/print/attribute/HashDocAttributeSet.java,
811         javax/print/attribute/HashPrintJobAttributeSet.java,
812         javax/print/attribute/HashPrintRequestAttributeSet.java,
813         javax/print/attribute/HashPrintServiceAttributeSet.java: New files.
814         * Makefile.am (ordinary_java_source_files): Added new files.
815         * Makefile.in: Regenerated.
816
817 2003-12-21  Michael Koch  <konqueror@gmx.de>
818
819         * javax/print/attribute/EnumSyntax.java,
820         javax/print/attribute/SetOfIntegerSyntax.java: New files.
821         * Makefile.am (ordinary_java_source_files):
822         Added javax/print/attribute/EnumSyntax.java
823         and javax/print/attribute/SetOfIntegerSyntax.java.
824         * Makefile.in: Regenerated.
825
826 2003-12-21  Michael Koch  <konqueror@gmx.de>
827
828         * javax/print/attribute/PrintJobAttribute.java,
829         javax/print/attribute/PrintJobAttributeSet.java,
830         javax/print/attribute/PrintRequestAttribute.java,
831         javax/print/attribute/PrintServiceAttribute.java,
832         javax/print/attribute/PrintServiceAttributeSet.java,
833         javax/print/attribute/SupportedValuesAttribute.java: New files.
834         * Makefile.am (ordinary_java_source_files): Added new files.
835         * Makefile.in: Regenerated.
836
837 2003-12-21  Michael Koch  <konqueror@gmx.de>
838
839         * javax/print/attribute/DateTimeSyntax.java,
840         javax/print/attribute/DocAttribute.java,
841         javax/print/attribute/DocAttributeSet.java,
842         javax/print/attribute/IntegerSyntax.java,
843         javax/print/attribute/ResolutionSyntax.java,
844         javax/print/attribute/Size2DSyntax.java,
845         javax/print/attribute/TextSyntax.java,
846         javax/print/attribute/URISyntax.java,
847         javax/print/attribute/UnmodifiableSetException.java: New files.
848         * Makefile.am (ordinary_java_source_files): Added new files.
849         * Makefile.in: Regenerated.
850
851 2003-12-21  Michael Koch  <konqueror@gmx.de>
852
853         * gnu/java/net/PlainDatagramSocketImpl.java
854         (mcastGrp): Added documentation.
855
856 2003-12-20  Michael Koch  <konqueror@gmx.de>
857
858         * gnu/java/net/protocol/jar/Connection.java
859         (connectionCache): New field.
860         (connect): New method.
861         (getInputStream): New method.
862         (hdrHash): New field.
863         (hdrVec): New field.
864         (gotHeaders): New field.
865         (getHeaderField): New method.
866         (getHeaderFields): New method.
867         (getHeaderFieldKey): New method.
868         (getKey): New method.
869         (getField): New method.
870         (getHeaders): New method.
871         * java/net/JarURLConnection.java
872         (connectionCache): Removed.
873         (connect): Removed.
874         (getInputStream): Removed.
875         (hdrHash): Removed.
876         (hdrVec): Removed.
877         (gotHeaders): Removed.
878         (getHeaderField): Removed.
879         (getHeaderFields): Removed.
880         (getHeaderFieldKey): Removed.
881         (getKey): Removed.
882         (getField): Removed.
883         (getHeaders): Removed.
884
885 2003-12-20  Michael Koch  <konqueror@gmx.de>
886
887         * java/io/ObjectStreamField.java (isUnshared): Added documentation.
888
889 2003-12-20  Mohan Embar  <gnustuff@thisiscool.com>
890
891         * gnu/java/nio/SelectorImpl.java
892         (selectThreadMutex): New field.
893         (selectThread): New field.
894         (unhandledWakeup): New field.
895         (implCloseSelector): Added skeleton code which
896         synchronizes as per Sun JRE JavaDoc.
897         (keys): Throw ClosedSelectorException if selector
898         is closed.
899         (selectNow): Added comment that we're faking out
900         an immediate select with a one-microsecond-timeout one.
901         (select): Use 0 instead of -1 for infinite timeout.
902         (implSelect): Changed comment in declaration.
903         (select): Added synchronized to method declaration.
904         Added synchronization and wakeup support as per Sun
905         JRE JavaDoc.
906         (selectedKeys): Throw ClosedSelectorException if selector
907         is closed.
908         (wakeup): Implemented.
909         (deregisterCancelledKeys): Synchronize on cancelled key
910         set before deregistering.
911         (register): Synchronize on key set before registering.
912         * java/nio/channels/spi/AbstractSelector.java
913         Added import for java.nio.channels.ClosedSelectorException.
914         (close): Added synchronized to method declaration.
915         (cancelledKeys): Throw ClosedSelectorException if selector
916         is closed.
917         (cancelKey): Synchronize on cancelled key set before key.
918
919 2003-12-20  Michael Koch  <konqueror@gmx.de>
920
921         * Makefile.am (ordinary_java_source_files):
922         Added gnu.java.net.URLParseError.java.
923         * Makefile.in: Regenerated.
924
925 2003-12-20  Guilhem Lavaux <guilhem@kaffe.org>
926
927         * gnu/java/net/URLParseError.java: New file.
928         * gnu/java/net/protocol/jar/Handler.java
929         (parseURL): Throw URLParseError if needed, fix '/' handling.
930         * java/net/URL.java (URL): Catch URLParseError and
931         transform it into a MalformedURLException.
932
933 2003-12-19  Michael Koch  <konqueror@gmx.de>
934
935         * gnu/java/nio/ChannelOutputStream.java: New file.
936         * java/nio/channels/Channels.java
937         (newOutputStream): Implemented.
938         * Makefile.am (ordinary_java_source_files)
939         Added gnu/java/nio/ChannelOutputStream.java.
940         * Makefile.in: Regenerated.
941
942 2003-12-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
943
944         * java/awt/FlowLayout.java (layoutContainer): Let components
945         assume their preferred height.  Centre components vertically.
946
947 2003-12-19  Michael Koch  <konqueror@gmx.de>
948
949         * gnu/java/nio/ChannelInputStream.java: New file.
950         * java/nio/channels/Channels.java (newInputStream): Implemented.
951         * java/nio/channels/FileChannelImpl.java
952         (readImpl): Only put data into buffer if something was read.
953         * Makefile.am (ordinary_java_source_files):
954         Added gnu/java/nio/ChannelInputStream.java.
955         * Makefile.in: Regenerated.
956
957 2003-12-19  Michael Koch  <konqueror@gmx.de>
958
959         * gnu/java/nio/OutputStreamChannel.java: New file.
960         * java/nio/channels/Channels.java (newChannel): Implemented.
961         * Makefile.am (ordinary_java_source_files):
962         Added gnu/java/nio/OutputStreamChannel.java.
963         * Makefile.in: Regenerated.
964
965 2003-12-19  Michael Koch  <konqueror@gmx.de>
966
967         * Makefile.am (ordinary_java_source_files):
968         Added gnu.java.nio.InputStreamChannel. 
969         * Makefile.in: Regenerated.
970
971 2003-12-19  Michael Koch  <konqueror@gmx.de>
972
973         * gnu/java/nio/InputStreamChannel.java: New file.
974         * java/nio/channels/Channels.java (newChannel): Implemented.
975
976 2003-12-19  Michael Koch  <konqueror@gmx.de>
977
978         * java/util/SimpleTimeZone.java
979         (setStartRule): Reformated documentation.
980         (setEndRule): Reworked documentation.
981         (getDSTSavings): Fixed @since tag.
982         (setDSTSavings): New method.
983
984 2003-12-19  Michael Koch  <konqueror@gmx.de>
985
986         * java/text/NumberFormat.java: Sorted imports.
987         (getCurrency): New method.
988         (setCurrency): New method.
989         
990
991 2003-12-19  Michael Koch  <konqueror@gmx.de>
992
993         * java/text/MessageFormat.java
994         (MessageFormat): New constructor.
995
996 2003-12-19  Michael Koch  <konqueror@gmx.de>
997
998         * gnu/java/net/protocol/jar/Handler.java
999         (parseURL): New method.
1000         (toExternalForm): New method.
1001
1002 2003-12-18  Fernando Nasser  <fnasser@redhat.com>
1003
1004         * java/awt/List.java (replaceItem): Prevent selection to move with
1005         replace and minimize flickering.
1006  
1007 2003-12-18  Michael Koch  <konqueror@gmx.de>
1008
1009         * libltdl/ltdl.c: Define __private_extern__ if needed.
1010
1011 2003-12-18  Michael Koch  <konqueror@gmx.de>
1012
1013         * libltdl/.cvsignore: Ignore autom4te.cache
1014         * libltdl/Makefile.in: Regenerated.
1015         * libltdl/aclocal.m4: Regenerated.
1016         * libltdl/acconfig.h: Removed (obsolete).
1017         * libltdl/config-h.in: Regenerated.
1018         * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
1019         * libltdl/configure: Regenerated.
1020
1021 2003-12-18  Michael Koch  <konqueror@gmx.de>
1022
1023         * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
1024         java.text.CollationElementIterator tests as they compile again.
1025         * testsuite/libjava.mauve/xfails: Added failing
1026         java.text.CollationElementIterator tests.
1027
1028 2003-12-18  Michael Koch  <konqueror@gmx.de>
1029
1030         * java/util/prefs/AbstractPreferences.java
1031         (cachedChildren): New method.
1032
1033 2003-12-18  Michael Koch  <konqueror@gmx.de>
1034
1035         * java/util/TimeZone.java (getOffset): New method.
1036
1037 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
1038  
1039         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1040         of ActionEvents for mouse double-clicks.
1041
1042 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
1043
1044         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
1045         null Graphics pointer returned by FileDialogPeer.
1046
1047 2003-12-17  Michael Koch  <konqueror@gmx.de>
1048
1049         * libltdl/stamp-h.in: Removed, not used anymore.
1050
1051 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
1052
1053         * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
1054         Removed unused InterruptedIOException.h include.
1055         * gnu/java/net/natPlainSocketImplWin32.cc
1056         (connect): Reset and ignore our thread's interrupted
1057         flag instead of testing and throwing an InterruptedIOException
1058         if set.
1059         (accept): Likewise + changed case of SocketTimeoutException
1060         text.
1061         (write): Likewise (for both overloads).
1062         (doRead): Likewise.
1063
1064 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
1065
1066         * win32.cc (WSAEventWrapper): Implemented default
1067         constructor and init() methods.
1068         (_Jv_select): Removed.
1069         * gnu/java/nio/natSelectorImplWin32.cc
1070         (helper_put_filedescriptors): Removed.
1071         (helper_get_filedescriptors): Removed.
1072         (implSelect): Implemented in terms of WSAEventWrapper
1073         and WSAWaitForMultipleEvents instead of _Jv_select().
1074         Added support for thread interruption.
1075         * include/win32.h (WSAEventWrapper): Minor formatting
1076         changes; added default constructor declaration, init(),
1077         getFD() and getEventHandle() methods.
1078         (_Jv_select): Removed.
1079
1080 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
1081
1082         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1083         (peekData): Throw SocketTimeoutException instead of
1084         InterruptedIOException on timeout.
1085         (receive): Likewise.
1086         * gnu/java/net/natPlainSocketImplPosix.cc
1087         (read): Made a minor exception text case change.
1088
1089 2003-12-16  Michael Koch  <konqueror@gmx.de>
1090
1091         Fix for PR libgcj/13056.
1092         * libltdl/configure.in,
1093         libltdl/config.h.in: Removed.
1094         * libltdl/configure.ac,
1095         libltdl/config-h.in,
1096         libltdl/install-sh,
1097         libltdl/config.guess,
1098         libltdl/config.sub,
1099         libltdl/missing,
1100         libltdl/mkinstalldirs,
1101         libltdl/ltmain.sh: New files.
1102         * libltdl/Makefile.am,
1103         libltdl/acinclude.m4,
1104         libltdl/aclocal.m4,
1105         libltdl/ltdl.c,
1106         libltdl/ltdl.h,
1107         libltdl/README: Update to versions from libtool 1.5.
1108         libltdl/configure,
1109         * libltdl/Makefile.in: Regenerated.
1110         * java/lang/natRuntime.cc (find_symbol):
1111         Use type 'lt_ptr' instead of 'lt_ptr_t'.
1112
1113 2003-12-16  Michael Koch  <konqueror@gmx.de>
1114
1115         * java/awt/MenuComponent.java
1116         (serialVersionUID): Fixed value.
1117
1118 2003-12-16  Fernando Nasser  <fnasser@redhat.com>
1119
1120         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1121         (pre_event_handler): Handle GtkButton widgets differently as events
1122         go to its event_window.
1123         (connect_awt_hook): Remove compiler warning.
1124
1125 i2003-12-16  Guilhem Lavaux <guilhem@kaffe.org>
1126
1127         * java/io/ObjectInputStream.java
1128         (lookupClass): New method.
1129         (currentLoader): New method.
1130         (inputGetObjectStreamClasses): New method.
1131         (assignNewHandle): Documented.
1132         (currentClassLoader): Documented.
1133         * java/io/ObjectStreamClass.java
1134         (setClass): Changed API. Better handling of the imported/exported
1135         fields.
1136         (getSerialPersistentFields): Make it throw previously caught exceptions
1137         so they can handled in setClass.
1138
1139 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1140  
1141         * java/io/ObjectStreamField.java: A few methods were added in prevision
1142         of the upcoming upgrade of the serialization code. This also adds
1143         some missing documentation.
1144         (ObjectStreamField): We should throw a NullPointerException when 'name'
1145         is null.
1146
1147  2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1148   
1149         * java/io/ObjectInputStream.java (setBooleanField):
1150         Throw an InvalidClassException if the field hasn't the required type,
1151         documentation added.
1152         (setByteField) Likewise.
1153         (setCharField) Likewise.
1154         (setDoubleField) Likewise.
1155         (setFloatField) Likewise.
1156         (setIntField) Likewise.
1157         (setShortField) Likewise.
1158         (setLongField) Likewise.
1159         (setObjectField) Likewise.
1160
1161 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1162            Helmer Kraemer <hkraemer@freenet.de>
1163  
1164         * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
1165         Splitted the method so we can specify an explicit boot loader.
1166
1167 2003-12-15  Graydon Hoare  <graydon@redhat.com>
1168
1169         * jni/gtk-peer/gdkfont.h: New file.
1170         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
1171         include of cairo-xlib.h, add extra gdk_flush().
1172
1173 2003-12-12  Fernando Nasser  <fnasser@redhat.com>
1174
1175         * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
1176         native state table -- native_global_ref_table.
1177         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
1178         native_global_ref_table pointer.
1179         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1180         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
1181         global reference is deleted and memory allocated for pointer freed.
1182         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
1183         JNI global reference instead of JNI local reference.
1184         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1185         (pre_event_handler): Remove compilation warning.
1186         (connect_awt_hook): Use saved JNI global reference instead of creating
1187         a new one.
1188         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1189         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
1190         reference to the Java object.
1191         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
1192         unused variable declaration and add comment.
1193         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
1194         (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
1195         reference to the Java object.
1196         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
1197         (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
1198         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1199         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
1200         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
1201         JNI global reference instead of JNI local reference.
1202         (item_toggled): Add debug statement.
1203         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1204         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
1205         reference to the Java object.
1206         (connect_choice_item_selectable_hook): Use saved JNI global references
1207         instead of JNI local reference.
1208         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
1209         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
1210         global reference to the Java object.
1211         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1212         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
1213         reference to the Java object.
1214         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1215         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
1216         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1217         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
1218         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1219         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
1220         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
1221         (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
1222         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1223         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
1224         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1225         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
1226         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1227         (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
1228         (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
1229         JNI global reference instead of JNI local reference.
1230         (item_selected): Add debug statement.
1231         (item_unselected): Add debug statement.
1232         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1233         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
1234         reference to the Java object.
1235         Connect "activate" signal handler using global JNI reference.
1236         (connect_activate_hook): Removed in favor of inline code.
1237         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1238         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
1239         reference to the Java object.
1240         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
1241         JNI global reference instead of JNI local reference.  Add FIXME comment.
1242         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
1243         reference to the Java object.  Add FIXME comment.
1244         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
1245         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
1246         reference to the Java object.
1247         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
1248         JNI global reference instead of JNI local reference.
1249         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1250         (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
1251         saved JNI global reference instead of JNI local reference.
1252         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1253         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
1254         reference to the Java object.
1255         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
1256         JNI global reference instead of JNI local reference.
1257
1258 2003-12-11  Michael Koch  <konqueror@gmx.de>
1259
1260         * java/text/Format.java (serialVersionUID): Fixed value.
1261
1262 2003-12-11  Michael Koch  <konqueror@gmx.de>
1263
1264         * javax/naming/event/EventDirContext.java: Jalopied.
1265         (addNamingListener): Fixed typo in method name.
1266         
1267
1268 2003-12-11  Mohan Embar  <gnustuff@thisiscool.com>
1269
1270         * gnu/java/nio/SocketChannelImpl.java
1271         (write): Removed diagnostic trace.
1272         * gnu/java/nio/natSelectorImplPosix.cc: Added
1273         includes for java.lang.Thread and java.io.InterruptedIOException.
1274         (helper_put_filedescriptors): Don't put invalid file descriptors
1275         in select set.
1276         (helper_get_filedescriptors): Clear invalid file descriptors
1277         from select set.
1278         (helper_reset): New method for clearing our file descriptor
1279         array.
1280         (implSelect): Correctly calculate timeout if specified and
1281         legal.
1282         Intercept and deal with any java.io.InterruptedIOException
1283         thrown by _Jv_select().
1284
1285 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1286
1287         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1288         Most coded moved to pre_event_handler, with the modifications
1289         mentioned below.
1290         (pre_event_handler): New function.  Called on the Gtk "event" signal.
1291         Do not retrieve the jobject from the window property as it is already
1292         available as user data in the signal.
1293         Do not try and find the grab widget as it is already done by Gtk at
1294         this point.
1295         Do not search for Window ancestor as Gtk already sends the signal to it.
1296         Do not meddle with the activation state of peer widgets on each
1297         key press or release.
1298         Add CList to the special handling when looking for the focused widget.
1299         * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
1300         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
1301         New function.
1302         (connectSignals): New function.
1303         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
1304         Rename to...
1305         (connectSignals): New name.  Get rid of NewGlobalRef call.
1306         Use g_signal_connect instead of deprecated gtk_signal_connect.
1307         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1308         (connect_choice_item_selectable_hook): Use g_signal_connect instead of
1309         deprecated gtk_signal_connect.
1310         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
1311         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1312         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1313         (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
1314         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1315         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1316         function.
1317         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1318         function.
1319         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1320         function.
1321         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1322         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1323         function.
1324         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1325         function.
1326         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1327         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1328         function.
1329         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1330         function.
1331         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1332         function.
1333         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
1334         code.
1335         (item_select): Remove indirection.
1336         (item_unselect): Ditto.
1337         (connect_selectable_hook): Folded into connectSignals.
1338         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1339         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1340         function.
1341         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1342         function.
1343         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1344         function.
1345         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
1346         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1347         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1348         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1349         function.
1350         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1351         function.
1352         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare  and call
1353         connectJObject and connectSignals instead of connectHooks.
1354         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
1355         connectSignals.
1356         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
1357         and not connectHooks.
1358         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
1359         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
1360         and not connectHooks.
1361         * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
1362         connectSignals instead of connectHooks.
1363         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
1364         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
1365         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto. 
1366
1367 2003-12-09  Michael Koch  <konqueror@gmx.de>
1368
1369         * Makefile.am (nat_headers_install): New variable with header files to
1370         install automatically.
1371         (install-data-local): Install all headers listed in
1372         nat_headers_install. Install innert nat headers explicitely.
1373         * Makefile.in: Regenerated.
1374
1375 2003-12-09  Michael Koch  <konqueror@gmx.de>
1376
1377         * java/util/Calendar.java,
1378         java/util/IdentityHashMap.java,
1379         java/util/prefs/Preferences.java:
1380         Import used classes explicitely.
1381
1382 2003-12-09  Michael Koch  <konqueror@gmx.de>
1383
1384         * java/net/DatagramSocket.java
1385         (close): Directly return if socket is closed.
1386         * java/net/ServerSocket.java
1387         (close): Directly return if socket is closed.
1388         * java/net/Socket.java
1389         (close): Directly return if socket is closed.
1390
1391 2003-12-09  Michael Koch  <konqueror@gmx.de>
1392
1393         * gnu/java/nio/SelectorImpl.java
1394         (implSelect): Throws IOException.
1395         (select): Likewise.
1396
1397 2003-12-08  Kim Ho  <kho@redhat.com>
1398
1399         Fix for Checkbox states.
1400         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
1401         (currentState): New field.
1402         (nativeCreate): Add initial state parameter.
1403         (create): Changed to reflect new parameter.
1404         (setState): Fire only on changed states.
1405         (postItemEvent): Fire only on changed states. Also change the 
1406         Java Checkbox to reflect new state.
1407         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
1408         (nativeCreate): Add parameter and set active state.
1409
1410 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1411  
1412         * java/awt/datatransfer/StringSelection.java (getTransferData): Return
1413         object of type expected by specified DataFlavor.
1414
1415 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1416  
1417         * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
1418         error which was clipping off the first character of a parameter value.
1419
1420 2003-12-08  Olga Rodimina <rodimina@redhat.com>
1421
1422         * java/awt/Polygon.java
1423         (translate): Fixed error that caused polygon 
1424         to move right/left when up/down translation was required.
1425         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
1426         (getSelectionStart): Initialized start position to 0. 
1427         (getSelectionEnd): Initialized end position to 0.
1428         (getCaretPosition): Initialized caret position to 0.
1429         (getText): Initialized selected text to NULL 
1430
1431 2003-12-08  Michael Koch  <konqueror@gmx.de>
1432
1433         Fix for PR libgcj/13176.
1434         * java/io/PrintStream.java: Partly revert my previous patches to get
1435         (line_separator): New field.
1436         (converter): New field.
1437         (work): New field.
1438         (work_bytes): New field.
1439         (pw): Removed.
1440         (closed): Removed.
1441         (PrintStrean): Initialize converter and not pw.
1442         (checkError): Flush always, pw doesn't exist anymore.
1443         (close): Close underlying out stream.
1444         (print): New method.
1445         (writeChars): New method.
1446         (print): Use new internal print method.
1447         (println): Likewise.
1448
1449 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1450
1451         * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
1452         putAllInternal.
1453         (putAllInternal): Correct comment.
1454         * java/util/HashMap.java (HashMap(Map)): As above.
1455         (putAllInternal): As above.
1456
1457 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1458
1459         * java/util/Hashtable.java (internalContainsValue): Removed.
1460         (containsValue): Don't delegate to internalContainsValue.
1461
1462 2003-12-06  Michael Koch  <konqueror@gmx.de>
1463
1464         * javax/naming/directory/Attribute.java,
1465         javax/naming/directory/Attributes.java,
1466         javax/naming/directory/DirContext.java,
1467         javax/naming/directory/InitialDirContext.java,
1468         javax/naming/directory/SearchResult.java,
1469         javax/naming/event/EventContext.java,
1470         javax/naming/event/NamingEvent.java,
1471         javax/naming/event/NamingExceptionEvent.java,
1472         javax/naming/ldap/ControlFactory.java,
1473         javax/naming/ldap/ExtendedRequest.java,
1474         javax/naming/ldap/HasControls.java,
1475         javax/naming/ldap/InitialLdapContext.java,
1476         javax/naming/ldap/LdapContext.java,
1477         javax/naming/ldap/LdapReferralException.java,
1478         javax/naming/ldap/UnsolicitedNotification.java,
1479         javax/naming/ldap/UnsolicitedNotificationListener.java,
1480         javax/naming/spi/DirObjectFactory.java,
1481         javax/naming/spi/DirStateFactory.java,
1482         javax/naming/spi/DirectoryManager.java,
1483         javax/naming/spi/NamingManager.java,
1484         javax/naming/spi/ObjectFactoryBuilder.java,
1485         javax/naming/spi/ResolveResult.java,
1486         javax/naming/spi/Resolver.java,
1487         javax/naming/spi/StateFactory.java:
1488         Import used classes explicitely.
1489
1490 2003-12-05  Scott Gilbertson  <scottg@mantatest.com>
1491
1492         * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
1493         (clip): Removed field
1494         (clipRectangles): New field.
1495         (clone): Use new updateClip.
1496         (setClipRectangles): Use new updateClip.
1497         * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
1498
1499 2003-12-04  Michael Koch  <konqueror@gmx.de>
1500
1501         * java/io/FilePermission.java:
1502         Import used classes explicitely.
1503
1504 2003-12-04  Michael Koch  <konqueror@gmx.de>
1505
1506         * java/beans/BeanDescriptor.java,
1507         java/beans/EventSetDescriptor.java,
1508         java/beans/FeatureDescriptor.java,
1509         java/beans/IndexedPropertyDescriptor.java,
1510         java/beans/Introspector.java,
1511         java/beans/MethodDescriptor.java,
1512         java/beans/PropertyDescriptor.java,
1513         java/beans/SimpleBeanInfo.java: Explicitely import used classes.
1514         * java/beans/beancontext/BeanContextServicesSupport.java
1515         (serialVersionUID): New field.
1516
1517 2003-12-04  Michael Koch  <konqueror@gmx.de>
1518
1519         * java/awt/MenuComponent.java: Import java.io.Serialization.
1520         * java/awt/MenuItem.java: Likewise.
1521         * java/awt/TextComponent.java: Likewise.
1522         * java/awt/image/ImagingOpException.java
1523         (serialVersionUID): Fixed.
1524
1525 2003-12-04  Michael Koch  <konqueror@gmx.de>
1526
1527         * gnu/java/net/protocol/http/Connection.java
1528         (sendRequest): Merged writing http headers with classpath.
1529         (getInputStream): Merged documentation from classpath.
1530         (getHeaderField): Likewise.
1531         (getHeaderFieldKey): Likewise.
1532
1533 2003-12-04  Michael Koch  <konqueror@gmx.de>
1534
1535         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
1536
1537 2003-12-04  Michael Koch  <konqueror@gmx.de>
1538
1539         * java/net/DatagramPacket.java
1540         (length): Made packge-private to make it accessible via CNI.
1541         (maxlen): New field.
1542         (DatagramPacket): Cleaned up.
1543         (setSocketAddress): Add message to exception.
1544         (setData): Call other setData().
1545         (setData): Call setLength().
1546         (setLength): Initialize maxlen too.
1547         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
1548         Get maximal length from maxlen field, set length field directly.
1549         (receive): Likewise.
1550         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1551         Get maximal length from maxlen field, set length field directly.
1552         (receive): Likewise.
1553
1554 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
1555
1556         * gnu/java/nio/natSelectorImplPosix.cc
1557         (implSelect): A timeout of 0 means an infinite
1558         timeout.
1559
1560 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1561  
1562         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1563         of ActionEvents.
1564
1565 2003-12-03  Michael Koch  <konqueror@gmx.de>
1566
1567         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
1568         * java/lang/natClass.cc (getSigners): Likewise.
1569         (setSigners): Likewise.
1570
1571 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
1572
1573         * configure.in: Added new MinGW-specific configure flag
1574         --with-win32-nlsapi.
1575         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
1576         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
1577         is set to unicows.
1578         * configure: Rebuilt.
1579         * include/config.h.in: Rebuilt.
1580         * win32.cc (_Jv_Win32NewString): Implemented.
1581         (nativeToUnicode): New helper function defined only for
1582         non-UNICODE builds.
1583         (unicodeToNative): Likewise.
1584         (_Jv_Win32TempString): Implemented.
1585         (lots): Refactored using tchar.h macros.
1586         (WSAEventWrapper): Use _Jv_Win32NewString.
1587         (_Jv_platform_initialize): Use GetModuleFileNameA instead
1588         of GetModuleFileName.
1589         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
1590         Use temporary stack buffer instead of a heap buffer.
1591         * include/win32.h
1592         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
1593         defined; added tchar.h include.
1594         (_Jv_Win32TempString): Declared new helper class.
1595         (JV_TEMP_STRING_WIN32): New helper macro.
1596         (_Jv_Win32NewString): Declared new helper method.
1597         * java/io/natFileDescriptorWin32.cc (open): Use
1598         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1599         (write): Reformatted slightly.
1600         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
1601         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1602         (getCanonicalPath): Use _Jv_Win32NewString instead of
1603         JvNewStringUTF.
1604         (performList): Likewise.
1605         * java/lang/natWin32Process.cc (ChildProcessPipe):
1606         Use tchar.h macros.
1607         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
1608         and UNICODE environment flag for CreateProcess.
1609         * java/net/natNetworkInterfaceWin32.cc
1610         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
1611         _Jv_Win32NewString.
1612
1613 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
1614
1615         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1616         (initState): Mark obj parameter as unused.
1617         (stringWidth): Mark obj parameter as unused.  Initialize
1618         font_name properly.
1619
1620         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
1621         BufferedImageBuilder class static.
1622
1623 2003-12-02  Mark Wielaard  <mark@klomp.org>
1624
1625         * java/security/Security.java: Don't use &nbsp; in the api doc.
1626
1627 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1628
1629         Reported by: Jim Pick <jim@kaffe.org>
1630         * libraries/javalib/java/util/Hashtable.java
1631         (internalcontainsValue): New method.
1632         (contains): Delegate to internalContainsValue.
1633         
1634         Reported by: Mark Wielaard  <mark@klomp.org>
1635         * libraries/javalib/java/util/Hashtable.java
1636         (contains): Improved comment.
1637         
1638         Reported by: Jeroen Frijters  <jeroen@frijters.net>
1639         * libraries/javalib/java/util/Hashtable.java
1640         (containsValue): Delegate to contains(Object) to make sure older
1641         code overwriting it continues to work.
1642
1643 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1644
1645         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
1646         method. Handle mouse and key events that must generate
1647         ActionEvents.
1648         * java/awt/List.java (getSelectedIndex): Return -1
1649         if no list element is selected.
1650         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1651         Correct handling of mouse and key events so that List receives them.
1652         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1653         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
1654         multiple list elements. 
1655
1656 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1657
1658         * java/text/SimpleDateFormat.java (compileFormat):
1659         isLowerCase() and isUpperCase() allow too many characters.
1660         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
1661
1662 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1663
1664         * java/text/FieldPosition.java (equals): Fixed comment.
1665
1666 2003-12-02  Mark Wielaard  <mark@klomp.org>
1667
1668         Reported by Archie Cobbs:
1669         * java/security/DigestInputStream.java (read(byte[], int, int): Call
1670         digest.update() with temp, not len as lenght.
1671
1672 2003-12-02  Michael Koch  <konqueror@gmx.de>
1673
1674         * java/net/DatagramSocket.java
1675         (close): Close associated DatagramChannel object.
1676         * java/net/ServerSocket.java
1677         * java/net/Socket.java
1678         (close): Reset impl and bound before calling getChannel().close() to
1679         prevent from loops.
1680
1681 2003-12-02  Michael Koch  <konqueror@gmx.de>
1682
1683         * java/nio/channels/spi/AbstractInterruptibleChannel.java
1684         (opened): Removed.
1685         (closed): New field.
1686         (close): Check of channel is closed already.
1687         (isOpen): Return !closed.
1688
1689 2003-12-02  Michael Koch  <konqueror@gmx.de>
1690
1691         * gnu/java/nio/DatagramChannelImpl.java
1692         (blocking): Initialize with true by default.
1693         * gnu/java/nio/ServerSocketChannelImpl.java
1694         (serverSocket): Made private.
1695         (blocking): Likewise.
1696         (connected): Likewise.
1697         * gnu/java/nio/SocketChannelImpl.java
1698         (connectionPending): Made private.
1699         * gnu/java/nio/FileLockImpl.java
1700         (static): Load native library (needed for classpath).
1701         * gnu/java/nio/SelectorImpl.java
1702         (static): Load native library (needed for classpath).
1703
1704 2003-12-02  Michael Koch  <konqueror@gmx.de>
1705
1706         * gnu/java/net/protocol/file/Connection.java
1707         (getLastModified): Implement for file connections.
1708         (getContentLength): Likewise.
1709
1710 2003-12-02  Michael Koch  <konqueror@gmx.de>
1711
1712         * gnu/java/net/protocol/file/Connection.java:
1713         Some reformating.
1714         (file): Renamed from fileIn.
1715         (getPermission): Moved around.
1716
1717 2003-12-02  Michael Koch  <konqueror@gmx.de>
1718
1719         * gnu/java/net/protocol/jar/Connection.java
1720         (Connection): Made class final, merged documentation with classpath.
1721         (file_cache): Made private.
1722         (jar_file): Renamed from jarfile.
1723
1724 2003-12-02  Michael Koch  <konqueror@gmx.de>
1725
1726         * gnu/java/net/protocol/http/Connection.java
1727         (Connection): Initialize doOutput to false;
1728         (connect): Initialize inputStream, moved "send request" code to new
1729         method.
1730         (sendRequest): New method.
1731         (getHttpHeaders): Don't reinitialize inputStream.
1732
1733 2003-12-02  Michael Koch  <konqueror@gmx.de>
1734
1735         * gnu/java/net/protocol//http/Connection.java
1736         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
1737         (requestProperties): Initialize, documentation added.
1738         (inputStream): Renamed from bufferedIn.
1739         (Connection): Dont initialize requestProperties.
1740         (setDefaultRequestProperty): Removed.
1741         (getDefaultRequestProperty): Removed.
1742         (usingProxy): Documentation added.
1743         (getHttpHeaders): Likewise.
1744
1745 2003-12-02  Michael Koch  <konqueror@gmx.de>
1746
1747         * java/text/DateFormat.java:
1748         Explicitely import used classes.
1749
1750 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
1751
1752         * verify.cc (state::clean_subrs): Clear seen_subrs.
1753         (state::copy): Walk seen_subrs from copy, not `this'.
1754         Don't clear seen_subrs.
1755
1756 2003-12-01  Kim Ho <kho@redhat.com>
1757
1758         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
1759         Disable wrapping if TextArea has horizontal scroll bars.
1760
1761 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1762
1763         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1764         (awt_event_handler): Hard-code inset values.
1765
1766         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
1767         Pass font name, not XLFD, to initState.
1768         (stringWidth(String, int, String)): New method.
1769         (stringWidth(String)): Call new stringWidth.
1770         (getLeading): Always return 0.
1771         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1772         (initState): New Pango implementation.
1773         (stringWidth): Likewise.
1774
1775 2003-12-01  Olga Rodimina <rodimina@redhat.com>
1776
1777         * java/awt/TextComponent.java:
1778         (getSelectionStart): Updated javadocs.
1779         (getSelectionEnd): Ditto.
1780         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
1781         (getSelectionStart): Changed to return caret position if no
1782         text is selected
1783         (getSelectionEnd): Ditto.
1784
1785 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1786
1787         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
1788         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
1789         gnu/awt/gtk/GtkContainerPeer.java,
1790         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
1791         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
1792         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
1793         gnu/awt/gtk/natGtkComponentPeer.cc,
1794         gnu/awt/gtk/natGtkContainerPeer.cc,
1795         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
1796         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
1797         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
1798
1799         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1800         (closed): Mark loader parameter as unused.
1801
1802 2003-12-01  Michael Koch  <konqueror@gmx.de>
1803
1804         * gnu/java/net/protocol/http/Connection.java
1805         (Connection): Merged class documentation.
1806         (socket): Renamed from sock.
1807         (Connection): Made protected, documentation added.
1808         (connect): Give URL'S host instead of InetAddress to Socket
1809         constructor.
1810         (disconnect): Documentation added.
1811         (getOutputStream): Rewrapped.
1812
1813 2003-12-01  Michael Koch  <konqueror@gmx.de>
1814
1815         * gnu/java/net/protocol/file/Connection.java
1816         (fileIn): Documentation added.
1817         (inputStream): Likewise.
1818         (outputStream): Likewise.
1819         (Connection): Likewise.
1820         (connect): Simplified.
1821
1822 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1823
1824         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
1825         setProperties): Check that io is not null before calling
1826         io.imageUpdate.
1827         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
1828         Update javadocs.
1829         * java/awt/image/PixelGrabber.java: Fix implementation and
1830         update javadocs.
1831
1832 2003-12-01  Michael Koch  <konqueror@gmx.de>
1833
1834         * gnu/java/net/natPlainSocketImplPosix.cc
1835         bind(): Dont set SockedImpl.address field on succesful bind.
1836         * gnu/java/net/natPlainSocketImplWin32.cc
1837         bind(): Likewise.
1838
1839 2003-11-30  Jeff Sturm <jsturm@one-point.com>
1840
1841         * java/net/InetAddress.java:
1842         (static): Don'f force DNS request for ANY_IF address.
1843
1844 2003-11-30  Michael Koch  <konqueror@gmx.de>
1845
1846         * java/net/InetAddress.java,
1847         java/net/natInetAddressNoNet.cc,
1848         java/net/natInetAddressPosix.cc,
1849         java/net/natInetAddressWin32.cc:
1850         Reverted my last patch.
1851
1852 2003-11-28  Michael Koch  <konqueror@gmx.de>
1853
1854         * java/net/InetAddress.java
1855         (lookup): New method that doesnt lookup "0.0.0.0".
1856         (ImplLookup): Renamed from lookup.
1857         * java/net/natInetAddressNoNet.cc
1858         (ImplLookup): Renamed from lookup.
1859         * java/net/natInetAddressPosix.cc
1860         (ImplLookup): Renamed from lookup.
1861         * java/net/natInetAddressWin32.cc
1862         (ImplLookup): Renamed from lookup.
1863
1864 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1865
1866         * configure: Rebuilt.
1867         * configure.in: Require gtk and glib 2.2.0.
1868
1869 2003-11-27  Dalibor Topic <robilad@kaffe.org>
1870
1871         * java/text/FieldPosition.java (equals): Adapted to handle
1872         field_attribute. Added fast-circuit check for comparison to self.
1873         Replaced use of instanceof by getClass to fix symmetry for derived
1874         types.
1875         (toString): Adapted to handle field_attribute. Improved readability.
1876         (hashCode): New method.
1877
1878 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1879
1880         * java/text/FieldPosition.java (field_attribute): New field.
1881         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
1882         getFieldAttribute): New methods.
1883
1884 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1885
1886         * java/text/DecimalFormatSymbols.java (locale): New field.
1887         (DecimalFormatSymbols (Locale)): Set locale.
1888         (serialVersionOnStream): Upgraded to number 2.
1889         (readObject): Assign locale if it wasn't by the serializer.
1890
1891 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1892
1893         * java/text/FormatCharacterIterator.java: Documented the class and
1894
1895 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1896
1897         * java/text/FormatCharacterIterator.java: Fixed some typos.
1898
1899 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1900
1901         * java/text/NumberFormat.java:
1902         (getIntegerInstance) Added the java version in the comments.
1903
1904 2003-11-27  Mark Wielaard  <mark@klomp.org>
1905
1906         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
1907         (readResolve): Reformat.
1908
1909 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1910
1911         * java/text/NumberFormat.java
1912         (NumberFormat.Field): New implemented class to match Java 1.4. 
1913         (getIntegerInstance): Two new Java 1.4 methods.o
1914
1915 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1916
1917         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
1918         the leap day of the leap year twice.
1919         (computeFields): First week of month is 1 not 0.
1920
1921 2003-11-27  Mark Wielaard  <mark@klomp.org>
1922
1923         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
1924         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
1925
1926 2003-11-27  Michael Koch  <konqueror@gmx.de>
1927
1928         * javax/swing/UIDefaults.java:
1929         Reformated to match classpath's version.
1930
1931 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
1932
1933         * javax/swing/UIManager.java (getDefaults, getDimension,
1934         getIcon, getInsets, getInstalledLookAndFeels, getInt,
1935         getLookAndFeel, getString, getSystemLookAndFeelClassName):
1936         Declare as public.
1937
1938 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1939
1940         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
1941         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
1942         isSignificant): Likewise.
1943
1944 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1945
1946         * javax/swing/undo/CompoundEdit.java: Re-format, document.
1947         (inProgress): Set initial value to true.
1948         (undo, redo, die, canUndo, canRedo): Also call inherited
1949         implementation; simplify code structure.
1950         (getPresentationName, getUndoPresentationName,
1951         getRedoPresentationName): Make behavior dependent on lastEdit.
1952         (addEdit, isSignificant): Completely re-written.
1953
1954 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1955
1956         * javax/swing/undo/StateEdit.java: Re-format, document.
1957         (undo, redo): Also call inherited implementation.
1958
1959 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1960
1961         * javax/swing/undo/StateEditable.java: Re-format, document.
1962
1963 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1964
1965         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
1966         (AbstractUndoableEdit): Initialize hasBeenDone to true.
1967         (canUndo, canRedo): Simplify.
1968         (getUndoPresentationName, getRedoPresentationName): Support
1969         localized message; call getPresentationName() only once.
1970
1971 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
1972
1973         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
1974         (ZipFile(File,int)): Likewise.
1975
1976 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
1977
1978         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
1979         (putAllInternal): Likewise.
1980         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
1981         (putAllInternal): Likewise.
1982
1983 2003-11-26  Michael Koch  <konqueror@gmx.de>
1984
1985         * java/net/URLStreamHandler.java
1986         (parseURL): Added comment in catch statement.
1987         (canonicalizeFilename): Add documentation.
1988         (sameURL): Completed documentation.
1989         (equals): Likewise.
1990         (hostsEqual): Likewise.
1991         (getDefaulPort): Likewise.
1992         (hashCode): Likewise.
1993         (toExternalForm): Likewise.
1994         (getHostName): Fix empty hostname check, completed documentation.
1995
1996 2003-11-26  Tom Tromey  <tromey@redhat.com>
1997
1998         * java/lang/natDouble.cc (parseDouble): Reverted patch of
1999         2003-11-13.
2000
2001 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
2002             Mark Wielaard  <mark@klomp.org>
2003
2004         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
2005         ('@' should be checked to distinguish port from userinfo).
2006         (toExternalForm): Add @ userInfo if necessary.
2007
2008
2009 2003-11-26  Michael Koch  <konqueror@gmx.de>
2010
2011         * java/net/DatagramSocket.java
2012         (DategramSocket, bind): Moved binding code from DatagramSocket
2013         constructor to bind method.
2014
2015 2003-11-26  Michael Koch  <konqueror@gmx.de>
2016
2017         * java/net/DatagramSocket.java
2018         (impl): Made private.
2019         (bound): New private member variable.
2020         (DatagramSocket): Fixed documentation, use getImpl().
2021         (getImpl): New package-private method.
2022         (isClosed): Use getImpl().
2023         (getLocalAddress): Completed documentation, use getImpl().
2024         (getLocalPort): Use getImpl().
2025         (getSoTimeout): Likewise.
2026         (setSoTimeout): Likewise.
2027         (getSendBufferSize): Likewise.
2028         (setSendBufferSize): Likewise.
2029         (getReceiveBufferSize): Likewise.
2030         (setReceiveBufferSize): Likewise.
2031         (connect): Likewise.
2032         (disconnect): Likewise.
2033         (receive): Likewise.
2034         (send): Likewise.
2035         (setReuseAddress): Likewise.
2036         (setTrafficClass): Likewise.
2037         (bind): Added message to exception.
2038         (isClosed): Completed documentation.
2039         (getChannel): Likewise.
2040         (connect): Added missing exception, refined exception message.
2041         (isBound): Completed documentation, just return bound.
2042         (isConnected): Completed documentation.
2043         (getRemoteSocketAddress): Likewise.
2044         (getReuseAddress): Completed documentation, use getImpl().
2045         (setSoBroadcast): Likewise.
2046         (getSoBroadcast): Likewise.
2047         (getTrafficClass): Likewise.
2048         (getLocalSocketAddress): Simplified.
2049         * java/net/MulticastSocket.java
2050         (MulticastSocket): Removed comment not applying anymore.
2051         (getInterface): Use getImpl().
2052         (getTTL): Likewise.
2053         (getTimeToLive): Likewise.
2054         (setInterface): Likewise.
2055         (setNetworkInterface): Likewise.
2056         (getNetworkInterface): Likewise.
2057         (setLoopback): Likewise.
2058         (getLoopback): Likewise.
2059         (setTTL): Likewise.
2060         (setTimeToLive): Likewise.
2061         (joinGroup): Likewise.
2062         (leaveGroup): Likewise.
2063         (send): Likewise.
2064
2065 2003-11-26  Michael Koch  <konqueror@gmx.de>
2066
2067         * java/net/Socket.java
2068         (implCreated): Dont set default value explicitely, added
2069         documentation.
2070         (inputShutdown): Likewise.
2071         (outputShutdown): Likewise.
2072         (bound): New private member variable.
2073         (bind): Set bound to true.
2074         (close): Set bound to false.
2075         (isBound): Return bound.
2076         * java/net/ServerSocket.java
2077         (bound): New private member variable.
2078         (bind): Set bound to true.
2079         (close): Set bound to false.
2080         (isBound): Return bound.
2081
2082 2003-11-26  Michael Koch  <konqueror@gmx.de>
2083
2084         * java/net/URL.java
2085         (URL): Fixed documentation to be HTML compliant.
2086         (getContent): Completed documentation.
2087         (getFile): Likewise.
2088         (getPath): Likewise.
2089         (getAuthority): Likewise.
2090         (getHost): Likewise.
2091         (getDefaultPort): Likewise.
2092         (getProtocol): Likewise.
2093         (hashCode): Likewise.
2094         (openConnection): Likewise.
2095         (openStream): Likewise.
2096         (set): Likewise.
2097         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
2098
2099 2003-11-26  Michael Koch  <konqueror@gmx.de>
2100
2101         * java/net/InetSocketAddress.java
2102         (hostname): Made private, added documentation.
2103         (addr): Likewise.
2104         (port): Likewise.
2105         (equals): Completed documentation.
2106         (getAddress): Likewise.
2107         (getHostName): Likewise.
2108         (getPort): Likewise.
2109         (hashCode): Likewise.
2110         (isUnresolved): Likewise.
2111         (toString): Likewise.
2112
2113 2003-11-26  Michael Koch  <konqueror@gmx.de>
2114
2115         * gnu/java/net/protocol/file/Handler.java
2116         (Handler): New explicit constructor.
2117         (openConnection): Added documentation.
2118         * gnu/java/net/protocol/jar/Handler.java
2119         (Handler): New explicit constructor.
2120         (openConnection): Added documentation.
2121
2122 2003-11-26  Michael Koch  <konqueror@gmx.de>
2123
2124         * java/net/DatagramPacket.java
2125         (DatagramPacket): Fixed documentation to become legal HTML.
2126
2127 2003-11-25  Michael Koch  <konqueror@gmx.de>
2128
2129         * gcj/javaprims.h: Added missing java.util.Currency.
2130
2131 2003-11-25  Michael Koch  <konqueror@gmx.de>
2132
2133         * testsuite/libjava.mauve/xfails:
2134         Removed these two tests, they mystically pass now:
2135         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
2136         test_params failed - 5getInetAddress did not return proper values
2137         (number 1)
2138         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
2139         test_BasicServer failed - 11 exception was thrown :Illegal seek
2140         (number 1)
2141
2142 2003-11-25  Michael Koch  <konqueror@gmx.de>
2143
2144         * java/net/DatagramSocket.java
2145         (factory): Made private.
2146         (closed): Removed.
2147         (DatagramSocket): Check impl argument, use constructor with
2148         SocketAddress argument.
2149         (close): Set impl to null, use isClosed().
2150         (isClosed): Check for impl == null.
2151         (getLocalAddress): Use isClosed().
2152         (getLocalPort): Check if socket is closed.
2153         (getSoTimeout): Likewise.
2154         (setSoTimeout): Likewise.
2155         (getSendBufferSize): Likewise.
2156         (setSendBufferSize): Likewise.
2157         (getReceiveBufferSize): Likewise.
2158         (setReceiveBufferSize): Likewise.
2159         (receive): Likewise.
2160         (send): Likewise.
2161         (bind): Likewise.
2162         (connect): Likewise.
2163         (setReuseAddress): Likewise.
2164         (getReuseAddress): Likewise.
2165         (setBroadcast): Likewise.
2166         (getBroadcast): Likewise.
2167         (setTrafficClass): Likewise.
2168         (getTrafficClass): Likewise.
2169         * java/net/MulticastSocket.java
2170         (getInterface): Check if socket is closed.
2171         (getTTL): Likewise.
2172         (getTimeToLive): Likewise.
2173         (setInterface): Likewise.
2174         (setNetworkInterface): Likewise.
2175         (getNetworkInterface): Likewise.
2176         (setLoopbackMode): Likewise.
2177         (setTTL): Likewise.
2178         (setTimeToLive): Likewise.
2179         (joinGroup): Likewise.
2180         (leaveGroup): Likewise.
2181         (send): Likewise.
2182         * java/net/ServerSocket.java
2183         (closed): Removed.
2184         (close): Check if socket is closed, set impl to null.
2185         (isClosed): Check impl == null;
2186         (ServerSocket): Check impl argument.
2187         (getInetAddress): Check if socket is bound.
2188         (getLocalPort): Likewise.
2189         (getLocalSocketAddress): Likewise.
2190         (bind): Check if socket is closed.
2191         (implAccept): Likewise.
2192         (setSoTimeout): Likewise.
2193         (getSoTimeout): Likewise.
2194         (setReuseAddress): Likewise.
2195         (getReuseAddress): Likewise.
2196         (setReceiveBufferSize): Likewise.
2197         (getReceiveBufferSize): Likewise.
2198         (toString): Make output compliant to JDK 1.4.2.
2199         * java/net/Socket.java
2200         (closed): Removed.
2201         (Socket): Fixed documentation.
2202         (connect): Check if socket is closed, changed exception text,
2203         fixed documentation.
2204         (getInputStream): Check of socket is closed  and connected.
2205         (getOutputStream): Likewise.
2206         (bind): Check if socket is closed.
2207         (setTcpNoDelay): Likewise.
2208         (getTcpNoDelay): Likewise.
2209         (setSoLinger): Likewise.
2210         (getSoLinger): Likewise.
2211         (sendUrgentData): Likewise.
2212         (setOOBInline): Likewise.
2213         (getOOBInline): Likewise.
2214         (setSoTimeout): Likewise.
2215         (getSoTimeout): Likewise.
2216         (setSendBufferSize): Likewise.
2217         (getSendBufferSize): Likewise.
2218         (setReceiveBufferSize): Likewise.
2219         (getReceiveBufferSize): Likewise.
2220         (setKeepAlive): Likewise.
2221         (getKeepAlive): Likewise.
2222         (close): Likewise.
2223         (shutdownInput): Likewise.
2224         (shutdownOutput): Likewise.
2225         (getReuseAddress): Likewise.
2226         (getTrafficClass): Likewise.
2227         (setTrafficClass): Likewise.
2228         (isClosed): Check impl == null.
2229         (toString): Added missing ']'.
2230
2231 2003-11-24  Tom Tromey  <tromey@redhat.com>
2232
2233         * Makefile.in: Rebuilt.
2234         * Makefile.am (propdir): New macro.
2235         (install-data-local): Install logging.properties.
2236         (core_java_source_files): Added java.util.logging.*.
2237         * java/util/logging/logging.properties: New file.
2238
2239 2003-11-25  Michael Koch  <konqueror@gmx.de>
2240
2241         * java/net/DatagramSocket.java
2242         (DatagramSocket): Move binding code to bind(), simplify constructors.
2243         * java/net/MulticastSocket.java
2244         (MulticastSocket): Call parent constructor with null argument,
2245         bind socket after setReuseAddress is called, simplify constructors.
2246
2247 2003-11-24  Michael Koch  <konqueror@gmx.de>
2248
2249         * javax/swing/BoxLayout.java
2250         (serialVersionUIR): New member variable.
2251         (X_AXIS, Y_AXIS): Documentation added.
2252         (LINE_AXIS, PAGE_AXIS): New constants.
2253         (grid): Renamed from gridbag.
2254         (BoxLayout): Use new constants, throw exception if invalid value for
2255         way, added documentation.
2256         (BoxLayout): Removed.
2257         (addLayoutComponent): Use new constants, added documentation.
2258         (removeLayoutComponent): Likewise.
2259         (addLayoutContainer): Added documentation.
2260         (preferredLayoutSize): Added documentation, check given argument.
2261         (minimumLayoutSize): Likewise.
2262         (layoutContainer): Likewise.
2263         (getLayoutAlignmentX): Likewise.
2264         (getLayoutAlignmentY): Likewise.
2265         (invalidateLayout): Likewise.
2266         (maximumLayoutSize): Likewise.
2267
2268 2003-11-22  Michael Koch  <konqueror@gmx.de>
2269
2270         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2271         (peekData): Use offset and maximal free space in datagram packet.
2272         (receive): Likewise.
2273         (send): Use offset in datagram packet.
2274
2275 2003-11-22  Michael Koch  <konqueror@gmx.de>
2276
2277         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2278         (peekData): Use offset and maximal free space in datagram packet.
2279         (receive): Likewise.
2280         (send): Use offset in datagram packet.
2281
2282 2003-11-22  Michael Koch  <konqueror@gmx.de>
2283
2284         * gnu/java/nio/DatagramChannelImpl.java
2285         (getNativeFD): Use getPlainDatagramSocketImpl().
2286         * gnu/java/nio/NIODatagramSocket.java
2287         (getPlainDatagramSocketImpl): Renamed from getImpl().
2288         * gnu/java/nio/NIOSocket.java
2289         (getPlainSocketImpl): Renamed from getImpl().
2290         (setChannel): Use getPlainSocketImpl().
2291         * gnu/java/nio/SocketChannelImpl.java
2292         (SocketChannelImpl): Use getPlainSocketImpl().
2293         (getPlainSocketImpl): Renamed from getImpl().
2294         (getNativeFD): Use getPlainSocketImpl().
2295
2296 2003-11-18  Graydon Hoare  <graydon@redhat.com>
2297
2298         * javax/swing/JLayeredPane.java: Implement.
2299         * javax/swing/JFrame.java (getContentPane): Make public
2300         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
2301         Use JLayeredPane.FRAME_CONTENT_LAYER.
2302
2303 2003-11-21  Mark Wielaard  <mark@klomp.org>
2304
2305         * java/lang/Float.java (static): Removed.
2306
2307 2003-11-18  Graydon Hoare  <graydon@redhat.com>
2308
2309         * java/awt/font/TextLayout.java: Implement simple layouts
2310         using attributed strings and glyph vectors.
2311
2312 2003-11-17  Graydon Hoare  <graydon@redhat.com>
2313
2314         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
2315         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
2316         (GdkFontLineMetrics): New inner class.
2317         (getLineMetrics): Return new GdkFontLineMetrics.
2318         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
2319         (layoutGlyphVector): Create GdkGlyphVector.
2320         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
2321         (GdkGraphics2D): Initialize state via mathod calls.
2322         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
2323         (cairoTranslate, cairoScale, cairoRotate): Remove.
2324         (various methods): use setTransform for special transform cases.
2325         (DrawState): New inner class.
2326         (stateSave): New method.
2327         (stateRestore): New method.
2328         (various methods): use stateSave, stateRestore.
2329         (getClipInDevSpace): New method.
2330         (clip, clipRect, setClip, getClip, getClipBounds): 
2331         Follow spec more closely.
2332         (getTransform): Return clone of transform.
2333         (setStroke): Set linewidth to passed width / 2.0.
2334         (setPaintMode): Set SrcOver rather than Xor.
2335         (setColor): Set paint to passed color.
2336         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
2337         transform from image to user space.
2338         (drawRenderedImage, drawRenderableImage): Implement.
2339         (getFontRenderContext, getFontMetrics, drawString, getFont): 
2340         Implement
2341         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
2342         Implement.
2343         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
2344         Match changes to java side.
2345         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
2346         Release resources.
2347         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
2348         Don't use pango for metrics.
2349         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
2350         New file.
2351
2352 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
2353             Jim Pick  <jim@kaffe.org>
2354
2355         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
2356         methods.
2357
2358 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
2359
2360         * java/text/DecimalFormatSymbols.java (getCurrency,
2361         setCurrency): New methods.
2362
2363 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
2364
2365         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
2366         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
2367         Describe how the implementation works.
2368
2369 2003-11-19  Michael Koch  <konqueror@gmx.de>
2370
2371         * java/net/Socket.java
2372         (implCreated): New variable that indicates created impl.
2373         (getImpl): New method.
2374         (toString): Return more SUN compliant string representation.
2375         (various): Use getImpl() instead of impl.
2376
2377 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
2378
2379         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
2380         the right libgcc. Add -multiply_defined suppress and -bind_at_load
2381         flags.
2382
2383 2003-11-18  Tom Tromey  <tromey@redhat.com>
2384
2385         PR libgcj/13026:
2386         * verify.cc (state::copy): Only set local_changed if we're in a
2387         subroutine.  Correctly copy local variables which were modified
2388         by the subroutine.
2389         (push_jump_merge): Added more debugging output.
2390
2391         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
2392         is null.
2393
2394 2003-11-17  Graydon Hoare  <graydon@redhat.com>
2395
2396         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
2397         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
2398
2399 2003-11-16  Tom Tromey  <tromey@redhat.com>
2400
2401         PR libgcj/13062:
2402         * java/io/StreamTokenizer.java (commentChar): Clear other
2403         attributes for character.
2404         (quoteChar): Likewise.
2405
2406 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
2407
2408         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
2409         zero-length int arrays when layoutInfo is null.
2410         (getLayoutWeights): Return array of two zero-length double arrays when
2411         layoutInfo is null.
2412
2413 2003-11-13  Tom Tromey  <tromey@redhat.com>
2414
2415         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
2416         JvGetStringUTFRegion.
2417         * java/lang/natPosixProcess.cc (new_string): Pass length of string
2418         to JvGetStringUTFRegion.
2419         * java/lang/natDouble.cc (parseDouble): Pass length of string to
2420         JvGetStringUTFRegion.
2421         * java/lang/natWin32Process.cc (startProcess): Pass length of
2422         string to JvGetStringUTFRegion.
2423         * java/lang/natClass.cc (forName): Pass length of string to
2424         JvGetStringUTFRegion.
2425         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
2426         of string to JvGetStringUTFRegion.
2427         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
2428         JvGetStringUTFRegion.
2429         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
2430         to JvGetStringUTFRegion.
2431         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
2432         string to JvGetStringUTFRegion.
2433
2434 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
2435
2436         * gnu/java/nio/natSelectorImplPosix.cc
2437         (helper_put_filedescriptors): Change to static linkage.
2438         (helper_get_filedescriptors): Likewise.
2439
2440 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
2441
2442         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
2443         null check.
2444         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
2445         * java/awt/Component.java (prepareImage): Likewise.
2446
2447         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
2448         Rename to nativeSetAlignment.
2449
2450 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
2451
2452         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
2453         (JNI_GetCreatedJavaVMs): Likewise.
2454         (JNI_GetDefaultJavaVMInitArgs): Likewise.
2455         * include/jni.h (JNIIMPEXP): Remove definition
2456         and replace with...
2457         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
2458         symbols,
2459         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
2460
2461 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2462
2463         * Makefile.am: Add GdkPixbufDecoder.java and
2464         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
2465         * Makefile.in: Regenerate.
2466         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
2467         New constructor.
2468         (startProduction): Create ByteArrayInputStream when url and filename are
2469         null.
2470         (produce): Declare stream parameter as InputStream.
2471         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
2472         as InputStream.
2473         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
2474         (GdkPixbufDecoder(byte[],int,int)): New constructor.
2475         (produce): Declare stream parameter as InputStream.
2476         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
2477         if image is null.  Set image's observer before running PrepareImage
2478         thread.  Pass image to startProduction.
2479         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
2480         source's member functions.
2481         (observer): New field.
2482         (setObserver): New method.
2483         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
2484         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
2485         new GtkImage.
2486         (prepareImage): Implement.
2487         * java/awt/Component.java: Add static fields incrementalDraw and
2488         redrawRate.
2489         (imageUpdate): Implement.
2490         (createImage): Call Toolkit's createImage if peer is null.
2491         (prepareImage): Throw NPE if image is null.
2492         * java/awt/MediaTracker.java: Fix return value.
2493
2494 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2495
2496         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
2497         (create(String, float)): New method.
2498         (setText): Make native.
2499         (nativeSetAlignment): New method.
2500         (setAlignment): Call nativeSetAlignment.
2501         (getArgs): Remove method.
2502         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2503         (find_fg_color_widget, find_bg_color_widget): New functions.
2504         (gtkWidgetSetForeground): Call find_fg_color_widget.
2505         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
2506         prelight colors.
2507         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
2508         widget in event box.
2509         (setText, setAlignment): Implement new native methods.
2510
2511 2003-11-11  Michael Koch  <konqueror@gmx.de>
2512
2513         * java/awt/Font.java,
2514         java/awt/datatransfer/DataFlavor.java,
2515         java/math/BigInteger.java,
2516         java/net/Inet4Address.java,
2517         java/net/Inet6Address.java,
2518         java/rmi/MarshalledObject.java,
2519         java/rmi/server/RMIClassLoader.java,
2520         java/security/cert/CertStore.java,
2521         java/sql/Timestamp.java,
2522         java/text/SimpleDateFormat.java,
2523         javax/naming/CompoundName.java:
2524         Removed some redundant obj == null checks.
2525
2526 2003-11-11  Michael Koch  <konqueror@gmx.de>
2527
2528         * java/nio/ByteBuffer.java
2529         (equals): Remove redundant obj == null check.
2530
2531 2003-11-11  Michael Koch  <konqueror@gmx.de>
2532
2533         * gnu/java/nio/natPipeImpl.cc,
2534         gnu/java/nio/natSelectorImpl.cc: Removed
2535         * gnu/java/nio/natPipeImplEcos.cc,
2536         gnu/java/nio/natPipeImplPosix.cc,
2537         gnu/java/nio/natPipeImplWin32.cc,
2538         gnu/java/nio/natSelectorImplEcos.cc,
2539         gnu/java/nio/natSelectorImplPosix.cc,
2540         gnu/java/nio/natSelectorImplWin32.cc: New files
2541         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
2542         gnu/java/nio/natSelectorImpl.cc
2543         * configure: Regenerated.
2544
2545 2003-11-11  Micheal Koch  <konqueror@gmx.de>
2546
2547         * java/net/URLStreamHandler.java (toExternalForm): Print port only
2548         if host is printed too and port was really given to URL.
2549
2550 2003-11-10  Gary Benson  <gbenson@redhat.com>
2551
2552         * java/sql/Timestamp.java (valueOf): Correctly handle
2553         nanoseconds.
2554
2555 2003-11-09  Tom Tromey  <tromey@redhat.com>
2556
2557         * java/net/Inet4Address.java (serialVersionUID): Updated.
2558
2559 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2560
2561         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
2562         New fields.
2563
2564 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2565
2566         * java/io/ByteArrayOutputStream.java (resize):
2567         Fix off-by-one error.
2568
2569 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
2570
2571         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
2572         public.
2573
2574 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2575
2576         PR libgcj/12231
2577         * java/lang/Win32Process.java (hasExited) Changed from
2578         public to private.
2579         (startProcess): Likewise.
2580         (cleanup): Likewise.
2581         * java/lang/natWin32Process.cc (cleanup) Don't close
2582         input, output and error streams.
2583         (ChildProcessPipe): New helper class.
2584         (startProcess): Refactored to use ChildProcessPipe.
2585         Use CREATE_NO_WINDOW when launching child process.
2586
2587 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2588
2589         * include/win32.h (_Jv_platform_close_on_exec): Changed
2590         signature and declared extern.
2591         * win32.cc (_Jv_platform_close_on_exec): Implemented.
2592         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2593         (create): Use new signature of _Jv_platform_close_on_exec.
2594         * gnu/java/net/natPlainSocketImplWin32.cc 
2595         (create): Eliminated a few typecasts
2596         Use new signature of _Jv_platform_close_on_exec.
2597         (accept): Eliminated a few typecasts
2598         Use new signature of _Jv_platform_close_on_exec.
2599         * java/io/natFileDescriptorWin32.cc (open): Use
2600         _Jv_platform_close_on_exec.
2601
2602 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
2603
2604         * java/lang/natClass.cc (newInstance): Throw InstantiationException
2605         if class has no null-argument constructor.
2606
2607 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2608
2609         PR libgcj/12647:
2610         * win32-threads.cc (_Jv_CondWait): Respect mutex's
2611         refcount when releasing and reacquiring it.
2612
2613 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2614
2615         * win32.cc: (dirExists) Internal helper function to
2616         test for directory existence.
2617         (getUserHome) New helper function refactored out
2618         of _Jv_platform_initProperties. Uses USERPROFILE
2619         instead of HOMEDIR and attempts to support Win9X and NT.
2620         (_Jv_platform_initProperties) Use getUserHome.
2621
2622 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2623
2624         PR libgcj/11521:
2625         * gnu/java/net/natPlainSocketImplWin32.cc
2626         (bind): Don't use SO_REUSEADDR
2627
2628 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2629
2630         PR libgcj/6652:
2631         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
2632
2633 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
2634
2635         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
2636         dispatch for final methods.
2637
2638 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2639
2640         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
2641         word wrapping.
2642
2643 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
2644
2645         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
2646         scrolled window's size request.
2647
2648 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2649
2650         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
2651         * java/awt/geom/QuadCurve2D.java: Likewise.
2652
2653 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2654
2655         * java/awt/geom/CubicCurve2D.java: Added documentation.
2656         * java/awt/geom/QuadCurve2D.java: Likewise.
2657
2658         * java/awt/geom/doc-files/QuadCurve2D-4.png,
2659         java/awt/geom/doc-files/QuadCurve2D-5.png,
2660         java/awt/geom/doc-files/CubicCurve2D-4.png,
2661         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
2662
2663 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2664
2665         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
2666         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
2667         (subdivide(double[],int,double[],int,double[],int)): Implement.
2668
2669 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2670
2671         * java/awt/geom/doc-files/CubicCurve2D-1.png,
2672         java/awt/geom/doc-files/CubicCurve2D-2.png,
2673         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
2674
2675 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
2676
2677         * java/text/DecimalFormat.java
2678         (scanFormat) corrected so that '%' may appear in a pattern.
2679
2680 2003-10-29  Mark Wielaard  <mark@klomp.org>
2681
2682         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
2683         * java/text/DateFormat.java (Field): New public static inner class.
2684         * java/text/Format.java (Field): Likewise.
2685         (formatToCharacterIterator): New method.
2686         * java/text/FormatCharacterIterator.java: New file.
2687
2688 2003-10-29  Mark Wielaard  <mark@klomp.org>
2689
2690         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
2691         * java/util/Currency.java: New file.
2692
2693 2003-10-29  Michael Koch  <konqueror@gmx.de>
2694
2695         * Makefile.am (ordinary_java_source_files): Added
2696         java/text/FormatCharacterIterator.java and java/util/Currency.java.
2697         * Makefile.in: Regenerated.
2698
2699 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
2700
2701         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
2702         static methods.
2703
2704 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
2705
2706         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
2707         getObjectInstance() with Object, Name, Context and environment
2708         Hashtable from exception. Call fillInStackTrace() on exception when
2709         rethrown.
2710         * javax/naming/InitialContext.java (lookup(Name)): When a
2711         CannotProceedException is thrown use the ContinuationContext.
2712         (lookup(String)): Likewise.
2713         (close): Clear myProps and defaultInitCtx.
2714
2715 2003-10-29  Michael Koch  <konqueror@gmx.de>
2716
2717         * java/net/InetAddress.java
2718         (equals): Remove redundant obj == null check.
2719         * java/net/SocketPermission.java
2720         (equals): Likewise.
2721         * java/net/URL.java
2722         (equals): Likewise.
2723         (getURLStreamHandler): Likewise.
2724
2725 2003-10-29  Michael Koch  <konqueror@gmx.de>
2726
2727         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2728         (setOption): Directly return if no error occured.
2729         * gnu/java/net/natPlainSocketImplPosix.cc
2730         (setOption): Likewise.
2731
2732 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2733
2734         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
2735         vtable slot for final methods. Add FIXME comment.
2736
2737 2003-10-28  David S. Miller  <davem@redhat.com>
2738
2739         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
2740
2741 2003-10-26  Mark Wielaard  <mark@klomp.org>
2742
2743         Reported by Helmer Kraemer <hkraemer@freenet.de>
2744         * java/util/jar/JarInputStream.java (readManifest): Don't call
2745         closeEntry().
2746
2747         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
2748         (finish): Use inbufWrite().
2749         (write(int)): Likewise.
2750         (write(byte[],int,int)): Likewise.
2751
2752 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2753
2754         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
2755         Don't check for AccessibleObject. Update javadocs.
2756         
2757         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
2758
2759 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2760
2761         * java/lang/reflect/Constructor.java (toString): Avoid extra 
2762         whitespace on constructor with no modifiers.
2763         * java/lang/reflect/natConstructor.java (newInstance): Look up
2764         caller and perform accessibility check only if constructor is
2765         non-public and accessible flag is not set.
2766
2767 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2768
2769         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
2770         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
2771         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
2772         is_virtual_call argument.
2773         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
2774         natClass.cc.
2775         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
2776         _Jv_isVirtualMethod.
2777         * java/lang/reflect/natMethod.cc (invoke): Don't use 
2778         _Jv_LookupDeclaredMethod.
2779         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
2780         look up method in target object's vtable.
2781
2782 2003-10-25  Graydon Hoare  <graydon@redhat.com>
2783
2784         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
2785         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
2786         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
2787         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2788         New concrete implementation of ClasspathFontPeer, with native part.
2789         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2790         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2791         New class, with native part.
2792         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2793         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2794         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
2795
2796 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2797
2798         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
2799         on method with no modifiers.
2800
2801 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2802
2803         PR libgcj/11780:
2804         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
2805         accessibility check only if target is non-public and accessible flag
2806         is not set.
2807         * java/lang/reflect/natField.cc (getAddr): Likewise.
2808
2809 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
2810
2811         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
2812         Remove method.
2813         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
2814         New method.
2815         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
2816         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
2817         (dispose): Post WINDOW_CLOSED event.
2818         (addWindowFocusListener, addWindowStateListener): Assign result
2819         of multicaster add back to window listener.
2820         (removeWindowFocusListener, removeWindowStateListener): Assign
2821         result of multicaster remove back to window listener.
2822         (dispatchEventImpl): Add null checks for focus and state
2823         listeners.
2824         (processWindowEvent): Handle case where windowListener is null
2825         but state or focus listeners exist.
2826         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2827         glue for postWindowEvent.
2828         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2829         (window_delete_cb, window_destroy_cb, window_show_cb,
2830         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
2831         window_get_new_state): New functions.
2832         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
2833         macros.  Declare postWindowEventID.
2834
2835 2003-10-24  Anthony Green  <green@redhat.com>
2836
2837         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
2838         we have no interpreter.
2839
2840 2003-10-22  Andrew Haley  <aph@redhat.com>
2841
2842         * java/lang/natClass.cc (initializeClass): Call
2843         _Jv_linkExceptionClassTable.
2844         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
2845         _Jv_Defer_Resolution on a method whose ncode is NULL.
2846         (_Jv_linkExceptionClassTable): New function.
2847         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
2848         entry, look it up.
2849         * java/lang/Class.h (struct _Jv_CatchClass): New.
2850         (_Jv_linkExceptionClassTable): New friend.
2851         (_Jv_Defer_Resolution): New friend.
2852         (class Class.catch_classes): New field.
2853         * include/java-interp.h (Jv_Defer_Resolution): New method.
2854         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
2855         (_Jv_MethodBase.deferred): New field.
2856         (_Jv_Defer_Resolution): New function.
2857         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
2858         * exception.cc (get_ttype_entry): Change return type to void**.
2859         (PERSONALITY_FUNCTION): Remove all code related to using a
2860         Utf8Const* for a match type.  Change match type to be a pointer to
2861         a pointer, rather than a pointer to a Class.
2862         * defineclass.cc (handleCodeAttribute): Initialize
2863         method->deferred.
2864         (handleMethodsEnd): Likewise.
2865
2866 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2867
2868         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
2869         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
2870
2871 2003-10-22  Tom Tromey  <tromey@redhat.com>
2872
2873         PR libgcj/12416:
2874         * java/lang/Class.h: Updated.
2875         * java/lang/natClass.cc (_getFields): Removed.
2876         (getFields): Likewise.
2877         (getDeclaredFields): Added `public_only' parameter.
2878         * java/lang/Class.java (getFields): Now implemented in java; from
2879         Classpath.
2880         (getDeclaredFields): Likewise.
2881         (getDeclaredFields(boolean)): Declare.
2882         (_getFields): Removed.
2883         (internalGetFields): New method, from Classpath.
2884
2885         PR libgcj/12656:
2886         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
2887         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
2888
2889 2003-10-22  David Daney  <ddaney@avtrex.com)
2890
2891         * include/mips-signal.h: New file.
2892         * sysdep/dwarf2-backtrace.cc: New file.
2893         * sysdep/mips: New directory.
2894         * sysdep/mips/locks.h: New file.
2895         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
2896         added to libgcj.
2897         (extra_cc_source_files): Ditto.
2898         * configure.host(disable_dladdr):  New shell variable passed to
2899         configure.
2900         (mips*-*-linux*): sysdeps_dir=mips,
2901         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
2902         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
2903         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
2904         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
2905         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
2906         (EXTRA_CC_FILES): New, to support conditional addition of
2907         sysdep/dwarf2-backtrace.cc.
2908         * configure: Regenerated.
2909         * Makefile.in: Regenerated.
2910         * gcj/Makefile.in: Regenerated.
2911         * include/config.h.in: Regenerated.
2912         * include/Makefile.in: Regenerated.
2913         * testsuite/Makefile.in: Regenerated.
2914         
2915 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2916
2917         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
2918         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
2919
2920 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2921
2922         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
2923         * java/awt/geom/doc-files: New directory.
2924         * java/awt/geom/doc-files/QuadCurve2D-1.png,
2925         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
2926         
2927 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2928
2929         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
2930
2931 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2932
2933         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
2934
2935 2003-10-22  Michael Koch  <konqueror@gmx.de>
2936
2937         * java/io/File.java
2938         (equals): Removed redundant obj == null check.
2939         (createTempFile): Merged comments from classpath.
2940
2941 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2942
2943         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
2944         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
2945         (error): Synchronize on instance, not class.
2946
2947 2003-10-21  Mark Wielaard  <mark@klomp.org>
2948
2949         Reported by M.Negovanovic
2950         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
2951         method.
2952         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
2953
2954 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2955
2956         Fix for Classpath bug #6076.
2957         * java/awt/geom/GeneralPath.java (append): Re-written.
2958
2959 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2960
2961         Fix for Classpath bug #6089.
2962         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
2963         (getPathIterator, GeneralPathIterator): Re-written from scratch.
2964
2965 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2966
2967         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
2968         point, not start of subpath.  Fixes Classpath bug #6075.
2969
2970 2003-10-21  Michael Koch  <konqueror@gmx.de>
2971
2972         * java/nio/ByteOrder.java,
2973         java/nio/DirectByteBufferImpl.java,
2974         java/nio/channels/FileChannelImpl.java:
2975         Add code to load library with code for native methods if needed.
2976
2977 2003-10-21  Michael Koch  <konqueror@gmx.de>
2978
2979         * gnu/java/net/PlainDatagramSocketImpl.java,
2980         gnu/java/net/PlainSocketImpl.java,
2981         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
2982         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
2983         gnu/java/net/natPlainSocketImplPosix.cc,
2984         gnu/java/net/natPlainSocketImplWin32.cc:
2985         Renamed fnum to native_fd to match classpath more.
2986
2987 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
2988
2989         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
2990         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
2991         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
2992         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
2993         _Jv_PthreadCheckMonitor.  Simplify code.
2994         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
2995         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
2996         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
2997         * java/lang/Thread.java (holdsLock): New.
2998         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
2999         without JV_HASH_SYNCHRONIZATION.
3000         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
3001
3002 2003-10-20  Michael Koch  <konqueror@gmx.de>
3003
3004         * java/text/RuleBasedCollator.java
3005         (RuleBasedCollator): Check rules not empty, fixed search in already
3006         existing collation elements.
3007         (is_special): Removed common whitespace characters.
3008         (text_argument): Dont return on whitespaces, add characters between
3009         two ' to string buffer.
3010
3011 2003-10-18  Michael Koch  <konqueror@gmx.de>
3012
3013         * gnu/java/net/protocol/file/Connection.java,
3014         gnu/java/net/protocol/file/Handler.java,
3015         gnu/java/net/protocol/http/Connection.java,
3016         gnu/java/net/protocol/http/Handler.java,
3017         gnu/java/net/protocol/jar/Connection.java,
3018         gnu/java/net/protocol/jar/Handler.java:
3019         Merged copyright text from classpath to make
3020         it possible to merge the classes.
3021
3022 2003-10-18  Mark Wielaard  <mark@klomp.org>
3023
3024         Reported by M.Negovanovic
3025         * java/beans/IndexedPropertyDescriptor.java
3026         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
3027
3028 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
3029
3030         * win32.cc (_Jv_pipe): Implemented.
3031         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
3032         _Jv_pipe instead of ::pipe.
3033         * include/posix.h (_Jv_pipe): New inline.
3034         * include/win32.h (_Jv_pipe): New declaration.
3035         
3036 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
3037
3038         * java/lang/StringBuffer.java (getChars): Fix array index checks.
3039         (append, substring, insert): Likewise.
3040         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
3041         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
3042         
3043 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
3044
3045         * java/lang/natString.cc (getChars):
3046         Fix validation of array indexes.
3047         (getBytes, regionMatches, startsWith, valueOf): Likewise.
3048         * testsuite/libjava.lang/String_overflow.java: New file.
3049         * testsuite/libjava.lang/String_overflow.out: New file.
3050
3051 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
3052
3053         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
3054         overflow a jint.
3055         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
3056         check for overflowing size_t, since the lower level functions
3057         take a jint.
3058         * testsuite/libjava.lang/newarray_overflow.java:  New file.
3059         * testsuite/libjava.lang/newarray_overflow.out:  New file.
3060         
3061 2003-10-15  Michael Koch  <konqueror@gmx.de>
3062
3063         * java/text/RuleBasedCollator.java
3064         (RuleBasedCollator): Moved around, documentation added.
3065         (compare): Documentation added.
3066         (equals): Likewise.
3067         (getCollationElementIterator): Likewise.
3068         (getCollationKey): Likewise.
3069         (getRules): Likewise.
3070         (hashCode): Likewise.
3071
3072 2003-10-15  Michael Koch  <konqueror@gmx.de>
3073
3074         * java/text/RuleBasedCollator.java
3075         (CollationElement): Renamed from RBCElement and moved into
3076         RuledBasedCollator as inner class.
3077
3078 2003-10-15  Michael Koch  <konqueror@gmx.de>
3079
3080         * java/text/CollationElementIterator.java
3081         (CollationElementIterator): Moved, documenatation added, call setText.
3082         (next): Reformated.
3083         (reset): Reformated.
3084         (setText): New method.
3085         (getOffset): New method.
3086         * java/text/CollationKey.java
3087         (getSourceString): Reformated.
3088         (hashCode): Reformated.
3089         (toByteArray): Reformated.
3090
3091 2003-10-15  Michael Koch  <konqueror@gmx.de>
3092
3093         * java/util/zip/InflaterInputStream.java
3094         (InflaterInputStream): Renamed infl to inf and bufsize to size,
3095         added description to exception, check for inf == null and size < 0.
3096
3097 2003-10-15  Michael Koch  <konqueror@gmx.de>
3098
3099         * java/text/AttributedCharacterIterator.java,
3100         java/text/CharacterIterator.java: Reformated.
3101
3102 2003-10-15  Michael Koch  <konqueror@gmx.de>
3103
3104         * javax/swing/UIDefaults.java (putDefaults):
3105         Readded accidently removed "public" modifier.
3106
3107 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
3108
3109         * interpret.cc (_Jv_InterpMethod::run): Don't
3110         use libffi types, they were meant to be internal.
3111         * gcj/javaprims.h (_Jv_ulong): New typedef.
3112
3113 2003-10-13  Tom Tromey  <tromey@redhat.com>
3114
3115         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
3116         (defineClass): Updated.
3117         (_Jv_NewClass): Likewise.
3118         * prims.cc (_Jv_InitPrimClass): Don't call
3119         _Jv_InitNewClassFields.
3120
3121 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
3122
3123         PR libgcj/12592
3124         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
3125         not just \n.
3126
3127 2003-10-13  Michael Koch  <konqueror@gmx.de>
3128
3129         * java/io/File.java: Reformated.
3130         (equals): Check for obj == null.
3131
3132 2003-10-13  Michael Koch  <konqueror@gmx.de>
3133
3134         * java/net/JarURLConnection.java
3135         (jarFileURL): Added dcoumentation.
3136         (jarFileURLConnection): Reformated documentation.
3137         (entryName): Renamed from "element", documentation rewritten.
3138         (connectionCache): Renamed from "conn_cache", documentation
3139         reformated.
3140         (JarURLConnection): Check URL protocol.
3141         (getEntryName): Use entryName.
3142         (connect): Use connectionCache.
3143         (getInputStream): Use entryName, fixed comment.
3144         (getJarEntry): Use entryName.
3145         (getHeaders): Use entryName.
3146         * java/net/URLConnection.java
3147         (addRequestProperty): Fixed documentation.
3148         (setDefaultRequestProptery): Added comment that it does nothing since
3149         JDK 1.3.
3150         (getDefaultRequestProperty): Likewise.
3151
3152 2003-10-13  Michael Koch  <konqueror@gmx.de>
3153
3154         * java/net/java/net/URLStreamHandlerFactory.java
3155         (createURLStreamHandler): Removed redundant "public" modifier.
3156         * java/sql/DatabaseMetaData.java:
3157         (DatabaseMetaData):  Readded accidently removed "public" modifier.
3158         * java/sql/ParameterMetaData.java:
3159         (ParameterMetaData): Readded accidently removed "public" modifier.
3160         * java/sql/PreparedStatement.java:
3161         (PreparedStatement): Readded accidently removed "public" modifier.
3162         * java/sql/Ref.java:
3163         (Ref): Readded accidently removed "public" modifier.
3164
3165 2003-10-13  Michael Koch  <konqueror@gmx.de>
3166
3167         * java/nio/Buffer.java
3168         (hasRemaining): Made implementation more clear.
3169         * java/nio/MappedByteBuffer.java
3170         (loaded): New member variable.
3171         (force): Added comment.
3172         (isLoaded): Return value of loaded.
3173         (load): Set loaded to true, added comment.
3174
3175 2003-10-12  Michael Koch  <konqueror@gmx.de>
3176
3177         * gnu/java/nio/PipeImpl.java
3178         (SourceChannelImpl): New inner class.
3179         (SinkChannelImpl): New inner class.
3180         (sink): New member variable.
3181         (source): New member variable.
3182         (PipeImpl): Add SelectorProvider argument, implemented.
3183         (nativeInit): New method.
3184         (sink): Return sink channel.
3185         (source): Return source channel.
3186         * gnu/java/nio/SelectorProviderImpl.java
3187         (openPipe): Give provider as argument to PipeImpl constructor.
3188         * java/nio/channels/spi/SelectorProvider.java
3189         (pr): Removed.
3190         (systemDefaultProvider): New member variable.
3191         (provider): Made it synchronized, use property
3192         java.nio.channels.spi.SelectorProvider.
3193         * gnu/java/nio/natPipeImpl.cc: New file.
3194         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
3195         * Makefile.in: Regenerated.
3196
3197 2003-10-12  Michael Koch  <konqueror@gmx.de>
3198
3199         * javax/swing/table/DefaultTableModel.java,
3200         javax/swing/table/TableCellEditor.java,
3201         javax/swing/table/TableCellRenderer.java,
3202         javax/swing/table/TableColumnModel.java,
3203         javax/swing/table/TableModel.java,
3204         javax/swing/text/AbstractDocument.java,
3205         javax/swing/text/Document.java,
3206         javax/swing/text/MutableAttributeSet.java,
3207         javax/swing/text/StyledDocument.java,
3208         javax/swing/text/ViewFactory.java,
3209         javax/swing/tree/DefaultMutableTreeNode.java,
3210         javax/swing/tree/MutableTreeNode.java,
3211         javax/swing/tree/RowMapper.java,
3212         javax/swing/tree/TreeCellEditor.java,
3213         javax/swing/tree/TreeCellRenderer.java,
3214         javax/swing/tree/TreeModel.java,
3215         javax/swing/tree/TreeNode.java,
3216         javax/swing/tree/TreeSelectionModel.java,
3217         javax/swing/undo/StateEditable.java,
3218         javax/swing/undo/UndoableEdit.java:
3219         Removed redundant modifiers.
3220
3221 2003-10-12  Michael Koch  <konqueror@gmx.de>
3222
3223         * javax/swing/event/AncestorListener.java,
3224         javax/swing/event/CaretListener.java,
3225         javax/swing/event/CellEditorListener.java,
3226         javax/swing/event/ChangeListener.java,
3227         javax/swing/event/DocumentEvent.java,
3228         javax/swing/event/DocumentListener.java,
3229         javax/swing/event/HyperlinkListener.java,
3230         javax/swing/event/InternalFrameListener.java,
3231         javax/swing/event/ListDataListener.java,
3232         javax/swing/event/ListSelectionListener.java,
3233         javax/swing/event/MenuDragMouseListener.java,
3234         javax/swing/event/MenuKeyListener.java,
3235         javax/swing/event/MenuListener.java,
3236         javax/swing/event/MouseInputListener.java,
3237         javax/swing/event/PopupMenuListener.java,
3238         javax/swing/event/TableColumnModelListener.java,
3239         javax/swing/event/TableModelListener.java,
3240         javax/swing/event/TreeExpansionListener.java,
3241         javax/swing/event/TreeModelListener.java,
3242         javax/swing/event/TreeSelectionListener.java,
3243         javax/swing/event/TreeWillExpandListener.java,
3244         javax/swing/event/UndoableEditListener.java,
3245         javax/swing/plaf/UIResource.java,
3246         javax/swing/plaf/metal/MetalLookAndFeel.java:
3247         Removed redundant modifiers.
3248
3249 2003-10-12  Michael Koch  <konqueror@gmx.de>
3250
3251         * javax/swing/Action.java,
3252         javax/swing/BoundedRangeModel.java,
3253         javax/swing/CellEditor.java,
3254         javax/swing/ComboBoxEditor.java,
3255         javax/swing/ComboBoxModel.java,
3256         javax/swing/DesktopManager.java,
3257         javax/swing/JComboBox.java,
3258         javax/swing/ListCellRenderer.java,
3259         javax/swing/ListSelectionModel.java,
3260         javax/swing/MenuElement.java,
3261         javax/swing/MutableComboBoxModel.java,
3262         javax/swing/Renderer.java,
3263         javax/swing/RootPaneContainer.java,
3264         javax/swing/ScrollPaneConstants.java,
3265         javax/swing/SingleSelectionModel.java,
3266         javax/swing/SpinnerModel.java,
3267         javax/swing/SwingConstants.java,
3268         javax/swing/UIDefaults.java,
3269         javax/swing/WindowConstants.java,
3270         javax/swing/border/Border.java,
3271         javax/swing/colorchooser/ColorSelectionModel.java:
3272         Removed redundant modifiers.
3273
3274 2003-10-11  Michael Koch  <konqueror@gmx.de>
3275
3276         * javax/transaction/Status.java,
3277         javax/transaction/Synchronization.java,
3278         javax/transaction/Transaction.java,
3279         javax/transaction/TransactionManager.java,
3280         javax/transaction/UserTransaction.java,
3281         javax/transaction/xa/XAResource.java,
3282         javax/transaction/xa/Xid.java:
3283         Removing redundant modifiers.
3284
3285 2003-10-11  Michael Koch  <konqueror@gmx.de>
3286
3287         * javax/print/attribute/Attribute.java,
3288         javax/print/attribute/AttributeSet.java,
3289         javax/print/attribute/PrintRequestAttributeSet.java:
3290         Removing redundant modifiers.
3291
3292 2003-10-11  Michael Koch  <konqueror@gmx.de>
3293
3294         * javax/sql/ConnectionEventListener.java,
3295         javax/sql/ConnectionPoolDataSource.java,
3296         javax/sql/DataSource.java,
3297         javax/sql/PooledConnection.java,
3298         javax/sql/RowSet.java,
3299         javax/sql/RowSetInternal.java,
3300         javax/sql/RowSetListener.java,
3301         javax/sql/RowSetMetaData.java,
3302         javax/sql/RowSetReader.java,
3303         javax/sql/RowSetWriter.java,
3304         javax/sql/XAConnection.java,
3305         javax/sql/XADataSource.java:
3306         Removing redundant modifiers.
3307
3308 2003-10-11  Michael Koch  <konqueror@gmx.de>
3309
3310         * javax/naming/Context.java,
3311         javax/naming/Name.java,
3312         javax/naming/NameParser.java,
3313         javax/naming/NamingEnumeration.java,
3314         javax/naming/Referenceable.java,
3315         javax/naming/directory/Attribute.java,
3316         javax/naming/directory/Attributes.java,
3317         javax/naming/directory/DirContext.java,
3318         javax/naming/event/EventContext.java,
3319         javax/naming/event/EventDirContext.java,
3320         javax/naming/event/NamespaceChangeListener.java,
3321         javax/naming/event/NamingListener.java,
3322         javax/naming/event/ObjectChangeListener.java,
3323         javax/naming/ldap/Control.java,
3324         javax/naming/ldap/ExtendedRequest.java,
3325         javax/naming/ldap/ExtendedResponse.java,
3326         javax/naming/ldap/HasControls.java,
3327         javax/naming/ldap/LdapContext.java,
3328         javax/naming/ldap/UnsolicitedNotification.java,
3329         javax/naming/ldap/UnsolicitedNotificationListener.java,
3330         javax/naming/spi/DirObjectFactory.java,
3331         javax/naming/spi/DirStateFactory.java,
3332         javax/naming/spi/InitialContextFactory.java,
3333         javax/naming/spi/InitialContextFactoryBuilder.java,
3334         javax/naming/spi/ObjectFactory.java,
3335         javax/naming/spi/ObjectFactoryBuilder.java,
3336         javax/naming/spi/Resolver.java,
3337         javax/naming/spi/StateFactory.java:
3338         Removing redundant modifiers.
3339
3340 2003-10-11  Michael Koch  <konqueror@gmx.de>
3341
3342         * java/security/Key.java,
3343         * java/security/PrivateKey.java,
3344         * java/security/PublicKey.java,
3345         * java/security/acl/Acl.java,
3346         * java/security/acl/AclEntry.java,
3347         * java/security/acl/Group.java,
3348         * java/security/acl/Owner.java,
3349         * java/security/acl/Permission.java,
3350         * java/security/cert/X509Extension.java,
3351         * java/security/interfaces/DSAKey.java,
3352         * java/security/interfaces/DSAKeyPairGenerator.java,
3353         * java/security/interfaces/DSAParams.java,
3354         * java/security/interfaces/DSAPrivateKey.java,
3355         * java/security/interfaces/DSAPublicKey.java,
3356         * java/security/interfaces/RSAKey.java,
3357         * java/security/interfaces/RSAPrivateCrtKey.java,
3358         * java/security/interfaces/RSAPrivateKey.java,
3359         * java/security/interfaces/RSAPublicKey.java:
3360         Removed redundant modifiers.
3361
3362 2003-10-11  Michael Koch  <konqueror@gmx.de>
3363
3364         * gnu/java/rmi/server/ProtocolConstants.java,
3365         gnu/java/security/der/DER.java:
3366         Removing redundant modifiers.
3367
3368 2003-10-11  Michael Koch  <konqueror@gmx.de>
3369
3370         * java/util/Map.java,
3371         java/util/Observer.java,
3372         java/util/zip/Checksum.java,
3373         java/util/zip/ZipConstants.java:
3374         Removed redundant modifiers.
3375
3376 2003-10-11  Michael Koch  <konqueror@gmx.de>
3377
3378         * java/text/AttributedCharacterIterator.java,
3379         java/text/CharacterIterator.java:
3380         Removed redundant modifiers.
3381
3382 2003-10-11  Michael Koch  <konqueror@gmx.de>
3383
3384         * java/sql/Array.java,
3385         java/sql/Blob.java,
3386         java/sql/CallableStatement.java,
3387         java/sql/Clob.java,
3388         java/sql/Connection.java,
3389         java/sql/DatabaseMetaData.java,
3390         java/sql/Driver.java,
3391         java/sql/ParameterMetaData.java,
3392         java/sql/PreparedStatement.java,
3393         java/sql/Ref.java,
3394         java/sql/ResultSet.java,
3395         java/sql/ResultSetMetaData.java,
3396         java/sql/SQLData.java,
3397         java/sql/SQLInput.java,
3398         java/sql/SQLOutput.java,
3399         java/sql/Savepoint.java,
3400         java/sql/Statement.java,
3401         java/sql/Struct.java:
3402         Removed redundant modifiers.
3403
3404 2003-10-11  Michael Koch  <konqueror@gmx.de>
3405
3406         * java/nio/channels/Channel.java,
3407         java/nio/channels/GatheringByteChannel.java,
3408         java/nio/channels/ReadableByteChannel.java,
3409         java/nio/channels/ScatteringByteChannel.java,
3410         java/nio/channels/WritableByteChannel.java:
3411         Removed redundant modifiers.
3412
3413 2003-10-11  Michael Koch  <konqueror@gmx.de>
3414
3415         * java/rmi/activation/ActivationInstantiator.java,
3416         java/rmi/activation/ActivationMonitor.java,
3417         java/rmi/activation/ActivationSystem.java,
3418         java/rmi/activation/Activator.java,
3419         java/rmi/dgc/DGC.java,
3420         java/rmi/registry/Registry.java,
3421         java/rmi/registry/RegistryHandler.java,
3422         java/rmi/server/LoaderHandler.java,
3423         java/rmi/server/RMIClientSocketFactory.java,
3424         java/rmi/server/RMIFailureHandler.java,
3425         java/rmi/server/RMIServerSocketFactory.java,
3426         java/rmi/server/RemoteCall.java,
3427         java/rmi/server/RemoteRef.java,
3428         java/rmi/server/ServerRef.java,
3429         java/rmi/server/Skeleton.java,
3430         java/rmi/server/Unreferenced.java:
3431         Removed redundant modifiers.
3432
3433 2003-10-11  Michael Koch  <konqueror@gmx.de>
3434
3435         * java/net/ContentHandlerFactory.java,
3436         java/net/DatagramSocketImplFactory.java,
3437         java/net/FileNameMap.java,
3438         java/net/SocketImplFactory.java,
3439         java/net/SocketOptions.java,
3440         java/net/URLStreamHandlerFactory.java:
3441         Removed redundant modifiers.
3442
3443 2003-10-11  Michael Koch  <konqueror@gmx.de>
3444
3445         * java/io/Externalizable.java,
3446         java/io/FileFilter.java,
3447         java/io/FilePermission.java,
3448         java/io/ObjectInput.java,
3449         java/io/ObjectInputValidation.java,
3450         java/io/ObjectOutput.java,
3451         java/io/ObjectStreamClass.java,
3452         java/io/ObjectStreamConstants.java,
3453         java/io/Serializable.java:
3454         Removed redundant modifiers.
3455
3456 2003-10-11  Ingo Proetel  <proetel@aicas.com>
3457
3458         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
3459         codebase and context classloader.
3460
3461 2003-10-11  Michael Koch  <konqueror@gmx.de>
3462
3463         * java/beans/beancontext/BeanContext.java,
3464         java/beans/beancontext/BeanContextChild.java,
3465         java/beans/beancontext/BeanContextChildComponentProxy.java,
3466         java/beans/beancontext/BeanContextChildSupport.java,
3467         java/beans/beancontext/BeanContextContainerProxy.java,
3468         java/beans/beancontext/BeanContextMembershipListener.java,
3469         java/beans/beancontext/BeanContextProxy.java,
3470         java/beans/beancontext/BeanContextServiceProvider.java,
3471         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
3472         java/beans/beancontext/BeanContextServiceRevokedListener.java,
3473         java/beans/beancontext/BeanContextServices.java,
3474         java/beans/beancontext/BeanContextServicesListener.java:
3475         Removed redundant modifiers.
3476
3477 2003-10-11  Michael Koch  <konqueror@gmx.de>
3478
3479         * java/beans/AppletInitializer.java,
3480         java/beans/BeanInfo.java,
3481         java/beans/Customizer.java,
3482         java/beans/DesignMode.java,
3483         java/beans/PropertyEditor.java,
3484         java/beans/Visibility.java:
3485         Removed redundant modifiers.
3486
3487 2003-10-11  Michael Koch  <konqueror@gmx.de>
3488
3489         * java/awt/print/Pageable.java,
3490         * java/awt/print/Printable.java,
3491         java/awt/print/PrinterGraphics.java:
3492         Removed redundant modifiers.
3493
3494 2003-10-11  Michael Koch  <konqueror@gmx.de>
3495
3496         * java/awt/peer/ButtonPeer.java,
3497         java/awt/peer/CheckboxMenuItemPeer.java,
3498         java/awt/peer/CheckboxPeer.java,
3499         java/awt/peer/ChoicePeer.java,
3500         java/awt/peer/ComponentPeer.java,
3501         java/awt/peer/ContainerPeer.java,
3502         java/awt/peer/DialogPeer.java,
3503         java/awt/peer/FileDialogPeer.java,
3504         java/awt/peer/FramePeer.java,
3505         java/awt/peer/LabelPeer.java,
3506         java/awt/peer/ListPeer.java,
3507         java/awt/peer/MenuBarPeer.java,
3508         java/awt/peer/MenuComponentPeer.java,
3509         java/awt/peer/MenuItemPeer.java,
3510         java/awt/peer/MenuPeer.java,
3511         java/awt/peer/PopupMenuPeer.java,
3512         java/awt/peer/RobotPeer.java,
3513         java/awt/peer/ScrollPanePeer.java,
3514         java/awt/peer/ScrollbarPeer.java,
3515         java/awt/peer/TextAreaPeer.java,
3516         java/awt/peer/TextComponentPeer.java,
3517         java/awt/peer/TextFieldPeer.java,
3518         java/awt/peer/WindowPeer.java:
3519         Removed redundant modifiers.
3520
3521 2003-10-11  Michael Koch  <konqueror@gmx.de>
3522
3523         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
3524         * gnu/java/nio/ServerSocketChannelImpl.java
3525         (serverSocket): Made it a NIOServerSocket.
3526         (impl): Removed.
3527         (ServerSocketChannelImpl): Initialize only serverSocket.
3528         (initServerSocket): Removed.
3529         (getNativeFD): Rewritten.
3530         (implConfigureBlocking): Set socket timeout and removed comment.
3531         (accept): Rewritten.
3532         * gnu/java/nio/SocketChannelImpl.java
3533         (impl): New variable.
3534         (connected): Removed.
3535         (SocketChannelImpl): Initialize impl too.
3536         (getImpl): New method.
3537         (isConnected): Rewritten.
3538         (read): Rewritten, set position in buffer correctly.
3539         (write): Set position in buffer correctly.
3540         * java/net/ServerSocket.java (getImpl): New method.
3541         * gnu/java/nio/NIOServerSocket.java,
3542         gnu/java/nio/natNIOServerSocket.cc: New files.
3543         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3544         * Makefile.am
3545         (ordinary_java_source_files):
3546         Added gnu/java/nio/NIOServerSocket.java.
3547         (nat_source_files):
3548         Removed gnu/java/nio/natServerSocketChannelImpl.cc
3549         and added gnu/java/nio/natNIOServerSocket.cc.
3550         * Makefile.in: Regenerated.
3551
3552 2003-10-11  Michael Koch  <konqueror@gmx.de>
3553
3554         * java/awt/ActiveEvent.java,
3555         java/awt/datatransfer/ClipboardOwner.java,
3556         java/awt/datatransfer/FlavorMap.java,
3557         java/awt/datatransfer/Transferable.java,
3558         java/awt/dnd/Autoscroll.java,
3559         java/awt/dnd/peer/DragSourceContextPeer.java,
3560         java/awt/dnd/peer/DropTargetContextPeer.java,
3561         java/awt/dnd/peer/DropTargetPeer.java,
3562         java/awt/font/MultipleMaster.java,
3563         java/awt/font/OpenType.java,
3564         java/awt/im/spi/InputMethodDescriptor.java,
3565         java/awt/image/ImageObserver.java,
3566         java/awt/image/ImageConsumer.java,
3567         java/awt/image/ImageProducer.java,
3568         java/awt/image/RGBImageFilter.java,
3569         java/awt/image/RasterOp.java,
3570         java/awt/image/renderable/RenderableImage.java:
3571         Removed redundant modifiers.
3572
3573 2003-10-11  Michael Koch  <konqueror@gmx.de>
3574
3575         * gnu/awt/j2d/DirectRasterGraphics.java,
3576         gnu/java/awt/EmbeddedWindowSupport.java:
3577         Removed redundant modifiers.
3578
3579 2003-10-09  Michael Koch  <konqueror@gmx.de>
3580
3581         * gnu/java/nio/SelectorImpl.java (register):
3582         Use ServerSocketChannelSelectionKey for server socket channels,
3583         removed unneeded comments.
3584         * gnu/java/nio/ServerSocketChannelImpl.java
3585         (ServerSocketChannelImpl): Made class public final.
3586         (impl): New member variable.
3587         (ServerSocketChannelImpl): Initialize member variables correctly.
3588         (initServerSocket): New method.
3589         (getNativeFD): Likewise.
3590         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
3591         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
3592         * Makefile.am (ordinary_java_source_files):
3593         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
3594         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
3595         * Makefile.in: Regenrated.
3596
3597 2003-10-09  Michael Koch  <konqueror@gmx.de>
3598
3599         * java/nio/channels/spi/AbstractSelectableChannel.java
3600         (registered): Made private.
3601         (blocking): Likewise.
3602         (LOCK): Likewise.
3603         (provider): Likewise.
3604         (keys): Made it a private LinkedList.
3605         (AbstractSelectableChannel): Initialize keys.
3606         (isRegistered): New implementation.
3607         (locate): Rewritten.
3608         (register): Rewritten.
3609         * java/nio/channels/spi/AbstractSelectionKey.java
3610         (ok): Removed.
3611         (cancelled): New member variable.
3612         (cancel): Rewritten.
3613         (isValid): Rewritten.
3614         * java/nio/channels/spi/AbstractSelector.java:
3615         Some methods moved.
3616         (closed): Make private.
3617         (provider): Likewise.
3618         (cancelledKeys): New member variable.
3619         (AbstractSelector): Initialize cancelledKeys.
3620         (cancelKey): New method.
3621
3622 2003-10-09  Tom Tromey  <tromey@redhat.com>
3623
3624         * java/lang/ClassLoader.java (setSigners): Implemented.
3625         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
3626         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
3627         Initialize new fields.
3628         * java/lang/Class.java (getSigners): Now native.
3629         (setSigners): Declare.
3630         * java/lang/natClass.cc (getSigners): New method.
3631         (getSigners): Likewise.
3632         * java/lang/Class.h (Class::signers): New field.
3633         (Class::setSigners): New method.
3634
3635 2003-10-09  Michael Koch  <konqueror@gmx.de>
3636
3637         * java/rmi/server/RMIClassLoader.java:
3638         Removed unused imports, little reformatings.
3639         (getClassLoader): New method, implementation was part of old loadCLass
3640         method.
3641         (loadClass): Simplified by moving functionality to new method and
3642         reworking the code a bit.
3643         (getClassAnnotation): Merged documentation from classpath.
3644
3645 2003-10-09  Michael Koch  <konqueror@gmx.de>
3646
3647         * java/math/BigInteger.java
3648         (add): Removed unused local variable len.
3649
3650 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3651
3652         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
3653         modality check.
3654         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3655         Initialize insets to use latest insets.
3656         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
3657         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
3658         field.
3659         (postConfigureEvent): Update latestInsets field when insets
3660         change.  Remove call to setSize.  Move validate call outside of
3661         if blocks.
3662         (setVisible): Call setBounds before showing window.
3663         (nativeSetVisible): New native method.
3664         * java/awt/Window.java (show): Show visible owned windows.
3665         (hide): Hide visible owned windows.
3666         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3667         (awt_event_handler): Implement modality using GTK grabs.
3668         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3669         (global_gtk_window_group): New global variable.
3670         (gtkInit): Initialize global_gtk_window_group.
3671         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3672         Clamp width and height values to at least 1.  Add this window to
3673         the global GTK window group.
3674         (setVisible): Rename to nativeSetVisible.
3675         (setup_window): Remove function.
3676         (setSize): Clamp width and height values to at least 1.
3677         (nativeSetBounds): Likewise.
3678         (gdk_window_get_root_geometry): Remove function.
3679         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
3680         and setup_window declarations.  Declare global_gtk_window_group.
3681
3682         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3683         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3684         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3685         (gtkWidgetSetForeground): New method.
3686         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3687         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3688         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
3689         (setBackground, setForeground): Implement.
3690         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3691         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3692         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3693         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3694         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3695         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3696         Position PangoLayout relative to text's baseline.
3697         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
3698
3699         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
3700         for CENTER and RIGHT alignments.
3701
3702 2003-10-08  Michael Koch  <konqueror@gmx.de>
3703
3704         * java/security/Security.java: Reformated.
3705
3706 2003-10-08  Michael Koch  <konqueror@gmx.de>
3707
3708         * java/text/SimpleDateFormat.java
3709         (compileFormat): Replace Character.isLetter() test with
3710         Character.isLowerCase() || Character.isUpperCase().
3711
3712 2003-10-08  Tom Tromey  <tromey@redhat.com>
3713
3714         * java/lang/StrictMath.java (toDegrees): Multiply before
3715         dividing.
3716         (toRadians): Likewise.
3717
3718 2003-10-08  C. Brian Jones  <cbj@gnu.org>
3719
3720         * java/lang/Math.java
3721         (toRadians): multiply before dividing to reduce decimal error
3722         (toDegrees): ditto
3723
3724 2003-10-08  Michael Koch  <konqueror@gmx.de>
3725
3726         * gnu/gcj/protocol/core/Connection.java,
3727         gnu/gcj/protocol/core/CoreInputStream.java,
3728         gnu/gcj/protocol/core/Handler.java,
3729         gnu/gcj/protocol/core/natCoreInputStream.cc,
3730         gnu/gcj/protocol/file/Connection.java,
3731         gnu/gcj/protocol/file/Handler.java,
3732         gnu/gcj/protocol/gcjlib/Connection.java,
3733         gnu/gcj/protocol/gcjlib/Handler.java,
3734         gnu/gcj/protocol/http/Connection.java,
3735         gnu/gcj/protocol/http/Handler.java,
3736         gnu/gcj/protocol/jar/Connection.java,
3737         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
3738         * gnu/java/net/protocol/core/Connection.java,
3739         gnu/java/net/protocol/core/CoreInputStream.java,
3740         gnu/java/net/protocol/core/Handler.java,
3741         gnu/java/net/protocol/core/natCoreInputStream.cc,
3742         gnu/java/net/protocol/file/Connection.java,
3743         gnu/java/net/protocol/file/Handler.java,
3744         gnu/java/net/protocol/gcjlib/Connection.java,
3745         gnu/java/net/protocol/gcjlib/Handler.java,
3746         gnu/java/net/protocol/http/Connection.java,
3747         gnu/java/net/protocol/http/Handler.java,
3748         gnu/java/net/protocol/jar/Connection.java,
3749         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
3750         * gnu/gcj/runtime/FirstThread.java,
3751         java/net/URL.java: Use moved protocol handlers.
3752         * Makefile.am
3753         (ordinary_java_source_files): Moved files.
3754         (nat_source_files): Likewise.
3755         * Makefile.in: Regenerated.
3756
3757 2003-10-08  Michael Koch  <konqueror@gmx.de>
3758
3759         * gnu/java/nio/SocketChannelImpl.java
3760         (read): Write only read data to buffer.
3761
3762 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3763
3764         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
3765         out.
3766         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
3767         (JCL_free): Attach "unused" attribute to env parameter.
3768         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
3769         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
3770         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3771         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
3772         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3773         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3774         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
3775         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
3776         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
3777         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3778         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
3779         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3780         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
3781         parameters.
3782         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
3783         (initNativeState): Pass 0 as info argument to
3784         gtk_selection_add_target.
3785         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3786         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
3787         unused method implementations.
3788         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3789         (awt_event_handler): Add break statement after default label.
3790         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
3791         (drawPixels): Remove unused variable i.
3792         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3793         (setEnabled): Remove method implementation.
3794         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3795         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
3796         argument.
3797         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
3798         unused function.
3799         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3800         (menu_pos): Assign TRUE to push_in.
3801         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
3802         argument.
3803         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
3804         (create): Remove unused variable layout.
3805         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3806         Pass window_widget, rather than window, to
3807         gtk_widget_set_size_request.
3808         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
3809         structure initialization with NULL values.
3810         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
3811
3812 2003-10-08  Michael Koch  <konqueror@gmx.de>
3813
3814         * java/util/LinkedList.java:
3815         Removed whitespace to match classpath's version again.
3816
3817 2003-10-08  Michael Koch  <konqueror@gmx.de>
3818
3819         * java/util/prefs/Preferences.java
3820         (defaultFactoryClass): Fixed class name.
3821         (getFactory): Create instance of class returned by Class.forName(),
3822         reformated code.
3823
3824 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
3825
3826         * javax/swing/table/AbstractTableModel.java
3827         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
3828         helped stop pulling my hair on this +1 then -1 tricky thing!
3829
3830 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
3831
3832         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
3833         Remove unused parameters.
3834         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
3835         Likewise.
3836         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3837         (keyevent_state_to_awt_mods): Export function.
3838         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3839         (getCaretPosition): Fix TextArea case.
3840         (textcomponent_commit_cb): Get exact event time and modifier
3841         state.
3842         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
3843
3844 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
3845
3846         * java/net/InetSocketAddress.java
3847         (InetSocketAddress): Made exception more clear.
3848         (equals): Handle case when addr is null.
3849         (toString): Likewise.
3850         * java/net/NetworkInterface.java
3851         (static): Load native library.
3852         (getNetworkInterfaces): Rewritten.
3853
3854 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3855
3856         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
3857         field.
3858         (initializeInsets): New method.
3859         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
3860         setBounds unconditionally.
3861         (setBounds): Convert coordinates if parent is a Window.
3862         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
3863         field to GtkComponentPeer.
3864         (GtkContainerPeer): Don't initialize insets.
3865         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3866         New method.
3867         (create): Call new GtkWindowPeer create method.
3868         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
3869         New method.
3870         (create): Call new GtkWindowPeer create method.
3871         (setBounds): Remove method.
3872         (postConfigureEvent): Likewise.
3873         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
3874         type constants with GDK window type constants.
3875         (create(int,boolean,int,int,GtkWindowPeer)): New method.
3876         (create(int,boolean)): Likewise.
3877         (create()): Call create(int,boolean).
3878         (nativeSetBounds): New native method declaration.
3879         (setBounds): Call native method declaration.
3880         (setSize): New native method declaration.
3881         (setBoundsCallback): Likewise.
3882         (postConfigureEvent): Handle change in insets.  Call setSize and
3883         setBoundsCallback methods.
3884         * java/awt/Window.java (Window): Set visible to false.
3885         (setBoundsCallback): New method.
3886         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3887         (gtkWidgetGetLocationOnScreen): If this component is not a
3888         container, adjust the location returned based on the peer's
3889         allocation.
3890         (set(String,boolean)): Revert change from 2003-09-19.
3891         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3892         (awt_event_handler): Fix inset calculation.
3893         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
3894         glue for Window.setBoundsCallback.
3895         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3896         Set up stacking order, window decorations and window manager
3897         hints.
3898         (setBoundsCallback): New method.
3899         (setSize): New method.
3900         (nativeSetBounds): New method.
3901         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
3902
3903 2003-10-02  Tom Tromey  <tromey@redhat.com>
3904
3905         * java/lang/VMClassLoader.java (loadClass): Now native.
3906         * java/lang/natClassLoader.cc (loadClass): Implement.
3907         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
3908
3909 2003-10-02  Michael Koch  <konqueror@gmx.de>
3910
3911         * java/net/InetAddress.java
3912         (zeros): Removed.
3913         (ANY_IF): Initalizie in static block.
3914         (static): Load library with native methods here and initialize ANY_IF.
3915         (isAnyLocalAddress): Check if equal to ANY_IF.
3916         (equals): Use addr directly instead of addr1. Simplify for loop.
3917         (toString): Rename "result" to "host" and add IP address allways.
3918         (getLocalHost): Merged documentation from classpath.
3919         * java/net/ServerSocket.java
3920         (ServerSocket): New package-private constructor used by java.nio.
3921         * java/net/URLConnection.java
3922         (getRequestProperties): Check if already connected.
3923
3924 2003-10-02  Michael Koch  <konqueror@gmx.de>
3925
3926         * java/nio/ByteBufferHelper.java:
3927         Rewrote all methods by suggestions from Eric Blake.
3928
3929 2003-10-02  Michael Koch  <konqueror@gmx.de>
3930
3931         * java/net/URL.java
3932         (DEFAULT_SEARCH_PATH): New static variable.
3933         (ph_cache): Made it a HashMap.
3934         (getURLStreamHandler): Rename propVal to ph_search_path and use
3935         DEFAULT_SEARCH_PATH.
3936
3937 2003-10-02  Michael Koch  <konqueror@gmx.de>
3938
3939         * javax/swing/table/AbstractTableModel.java
3940         (findColumnName): Prevent from NullPointerException if argument
3941         columnName is null.
3942
3943 2003-10-02  Michael Koch  <konqueror@gmx.de>
3944
3945         * javax/swing/table/AbstractTableModel.java:
3946         This patch is based on a patch done by Arnaud Vandyck
3947         <arnaud.vandyck@ulg.ac.be>.
3948         (getColumnName): Fixed method documentation.
3949         (findColumn): Likewise.
3950         (getColumnClass): Likewise.
3951         (isCellEditable): Likewise.
3952         (setValueAt): Likewise.
3953         (addTableModelListener): Likewise.
3954         (removeTableModelListener): Likewise.
3955         (getTableModelListeners): New method.
3956
3957 2003-10-02  Michael Koch  <konqueror@gmx.de>
3958
3959         * javax/swing/table/AbstractTableModel.java:
3960         Reformated.
3961
3962 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
3963
3964         Fix PR libgcj/12475
3965         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
3966         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
3967
3968 2003-10-01  Tom Tromey  <tromey@redhat.com>
3969
3970         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
3971
3972 2003-10-01  Andrew Haley  <aph@redhat.com>
3973
3974         * java/lang/natClass.cc (initializeClass): Check for otable and
3975         atable.
3976         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
3977         loops using for().  Search superinterfaces.  Check for fields as
3978         well as methods.  Initialize atable as well as otable: check for
3979         static methods as well as virtual methods.
3980         * java/lang/Class.h (struct _Jv_AddressTable): New.
3981         (atable): New.
3982         (atable_syms): New.
3983         * include/jvm.h (_Jv_equalUtf8Consts): constify.
3984         * prims.cc (_Jv_equalUtf8Consts): constify.
3985
3986 2003-09-29  Tom Tromey  <tromey@redhat.com>
3987
3988         PR libgcj/10596:
3989         * include/jvm.h (_Jv_FinalizeString,
3990         _Jv_RegisterStringFinalizer): Declare.
3991         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
3992         unintern.
3993         (intern): Updated.
3994         (_Jv_NewStringUtf8Const): Likewise.
3995         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3996         Add special case when finalizing a String.
3997         (in_hash): New function.
3998         (_Jv_RegisterStringFinalizer): Likewise.
3999         (maybe_add_finalize): Likewise.
4000
4001 2003-09-29  Michael Koch  <konqueror@gmx.de>
4002
4003         * java/net/InetAddress.java:
4004         (isMulticastAddress): Dont use local variable to store address length.
4005         Let the compiler optimize this.
4006         (getHostName): Merged dcoumentation from classpath.
4007         (getAddress): Likewise.
4008         (getHostAddress): Likewise.
4009         (hashCode): Likewise.
4010         (equals): Likewise.
4011         (toString): Likewise.
4012         (getByName): Likewise.
4013         (getAllByName): Likewise.
4014
4015 2003-09-29  Michael Koch  <konqueror@gmx.de>
4016
4017         * java/awt/image/IndexColorModel.java: Reformated.
4018
4019 2003-09-29  Michael Koch  <konqueror@gmx.de>
4020
4021         * java/net/InetAddress.java,
4022         java/net/URL.java: Reformated.
4023
4024 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
4025
4026         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
4027         significant bit of descriptor. Include the vtable and sync_info 
4028         fields.
4029
4030 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
4031
4032         * java/text/DateFormat.java (format): Throw IllegalArgumentException
4033         if `obj' is not a Number or Date instance.
4034         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
4035         instead of Vector.
4036
4037 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
4038
4039         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
4040         Don't call setTimeZone on calendar.
4041
4042 2003-09-27  Michael Koch  <konqueror@gmx.de>
4043
4044         * java/net/URL.java (getURLStreamHandler): Compile fixes.
4045
4046 2003-09-27  Michael Koch  <konqueror@gmx.de>
4047
4048         * java/net/URL.java (getURLStreamHandler):
4049         Check if we have to use cache before trying to retrieve handler from
4050         cache. Rename facName to clsName to match classpath more. Reformated
4051         some little pieces.
4052
4053 2003-09-27  Michael Koch  <konqueror@gmx.de>
4054
4055         * gnu/java/nio/SelectionKeyImpl.java
4056         (ch): Make package-private again. Jikes found this bug.
4057         Jeff Sturm submitted PR12426 for this to bugzilla
4058         to fix this bug in gcj.
4059
4060 2003-09-26  Michael Koch  <konqueror@gmx.de>
4061
4062         * java/rmi/server/RMIClassLoader.java:
4063         Reformatted file, no functional code changes.
4064
4065 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
4066
4067         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
4068         Save space for some pixels at the buffer end.  Added Javadoc.
4069
4070 2003-09-26  Tom Tromey  <tromey@redhat.com>
4071
4072         * java/io/ObjectOutputStream.java (writeFields): Fixed
4073         indentation.
4074         (putFields): Likewise.
4075
4076 2003-09-26  Michael Koch  <konqueror@gmx.de>
4077
4078         * java/nio/ByteBufferHelper.java:
4079         Totally reworked with help from Eric Blake.
4080
4081 2003-09-26  Tom Tromey  <tromey@redhat.com>
4082
4083         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
4084         * java/awt/geom/PathIterator.java: Documentation fixes.
4085
4086 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
4087
4088         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
4089         (select): Likewise.
4090         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
4091
4092 2003-09-25  Michael Koch  <konqueror@gmx.de>
4093
4094         * gnu/java/nio/DatagramChannelImpl.java
4095         (getNativeFD): New method.
4096         * gnu/java/nio/SelectionKeyImpl.java
4097         (SelectionKeyImpl): Class made abstract.
4098         (fd): Removed.
4099         (SelectionKeyImpl): Remove fd argument.
4100         (getNativeFD): New method.
4101         * gnu/java/nio/SocketChannelImpl.java
4102         (getNativeFD): New method.
4103         gnu/java/nio/DatagramChannelSelectionKey.java,
4104         * gnu/java/nio/SocketChannelSelectionKey.java:
4105         New files.
4106         * Makefile.am (ordinary_java_source_files):
4107         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
4108         gnu/java/nio/SocketChannelSelectionKey.java.
4109         * Makefile.in: Regenerated.
4110
4111 2003-09-25  Michael Koch  <konqueror@gmx.de>
4112
4113         * java/lang/reflect/Proxy.java
4114         (getProxyClass): Remove workaround for gcj 3.0.x.
4115
4116 2003-09-25  Michael Koch  <konqueror@gmx.de>
4117
4118         * gnu/java/net/PlainDatagramSocketImpl.java
4119         (finalize): Moved to directly after constructor.
4120         (getNativeFD): New method.
4121         * gnu/java/net/PlainSocketImpl.java
4122         (getNativeFD): New method.
4123
4124 2003-09-25  Ingo Proetel  <proetel@aicas.com>
4125
4126         * java/io/ObjectOutputStream.java:
4127         Allow putFields be called more than once.
4128
4129 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
4130
4131         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
4132         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
4133         * java/awt/image/BufferedImage.java (toString): Implement.
4134
4135 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
4136
4137         * aclocal.m4: Rebuilt.
4138         * configure: Rebuilt.
4139
4140 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
4141
4142         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
4143         field.
4144
4145 2003-09-25  Michael Koch  <konqueror@gmx.de>
4146
4147         * gnu/java/nio/SelectorImpl.java
4148         (implSelect): Renamed from java_do_select.
4149         (select): Call native implSelect() and add support for Thread
4150         interruption.
4151         * gnu/java/nio/natSelectorImpl.cc
4152         (implSelect): Renamed from java_do_select.
4153
4154 2003-09-25  Michael Koch  <konqueror@gmx.de>
4155
4156         * gnu/java/nio/SelectorImpl.java
4157         (selectNow): Made final, throws IOException.
4158         (select): Likewise.
4159         (getFDsAsArray): Made final.
4160         (selectedKeys): Likewise.
4161         (wakeup): Likewise.
4162         (deregisterCancelledKeys): Likewise.
4163         (register): Likewise.
4164         (ass): Removed.
4165         (add_selected): Removed.
4166         * gnu/java/nio/natSelectorImpl.cc:
4167         No need to include bstring.h or gcj/cni.h.
4168         (helper_put_filedescriptors): Rewritten.
4169         (helper_get_filedescriptors): Rewritten.
4170
4171 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
4172
4173         * java/awt/font/FontRenderContext.java (getTransform): Return
4174         copy of internal transform object. Add Javadoc.
4175         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
4176         winding rule as Sun J2SE.
4177         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
4178
4179 2003-09-25  Ingo Proetel  <proetel@aicas.com>
4180
4181         * java/rmi/Naming.java:
4182         Added comments, now accepts pseudo protocol "rmi".
4183
4184 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
4185
4186         * java/text/DecimalFormat.java (format): Don't immediatly round
4187         baseNumber to long.
4188         (setMinimumIntegerDigits): Call super.
4189         (setMinimumFractionDigits): Likewise.
4190         (setMaximumIntegerDigits): Likewise.
4191         (setMaximumFractionDigits): Likewise.
4192
4193 2003-09-25  Michael Koch  <konqueror@gmx.de>
4194
4195         * gnu/java/nio/DatagramChannelImpl.java
4196         (DatagramChannelImpl): Made class final.
4197         (blocking): Made private.
4198         (socket): Made it a NIODatagramSocket and private.
4199         (DatagramChannelImpl): create NIODatagramSocket instead of
4200         DatagramSocket.
4201         (implConfigureBlocking): Set socket timeout.
4202         (connect): Check that channel is not closed.
4203         (write): Implemented.
4204         (write): Rewritten.
4205         (read): Implemented.
4206         (read): Rewritten.
4207         (receive): Implemented.
4208         (send): Implemented.
4209         * gnu/java/nio/SelectionKeyImpl.java
4210         (readyOps): Made private.
4211         (interestOps): Made private.
4212         (impl): Made private.
4213         (ch): Made private.
4214         (readyOps): Check if selection key is valid.
4215         (interestOps): Likewise.
4216         * gnu/java/nio/SelectorImpl.java
4217         (closed): Removed.
4218         (keys): Made private.
4219         (selected): Made private.
4220         (finalize): New method.
4221         (implCloseSelector): Rewritten.
4222         (keys): Return unmodifiable Set.
4223         (deregisterCancelledKeys): Fixed typo in method name.
4224         * gnu/java/nio/SocketChannelImpl.java
4225         (SocketChannelImpl): Made class final.
4226         (socket): Made it a NIOSocket and private.
4227         (blocking): Made private.
4228         (connected): Made private.
4229         (connectionPending): New member variable.
4230         (SocketChannelImpl): New implementation.
4231         (finalizer): Use isConnected().
4232         (connect): Rewritten.
4233         (finishConnect): Throws IOException, implemented.
4234         (isConnectionPending): Return connectionPending.
4235         (read): Rewritten.
4236         (write): Rewritten.
4237         * gnu/java/nio/NIOConstants.java: New file.
4238         * Makefile.am (ordinary_java_source_files):
4239         Added gnu/java/nio/NIOConstants.java.
4240         * Makefile.in: Regenerated.
4241
4242 2003-09-25  Michael Koch  <konqueror@gmx.de>
4243
4244         * java/net/InetAddress.java:
4245         Reorder imports, remove implementation comment.
4246         (isMulticastAddress): Merged documentation from classpath.
4247         * java/net/URLConnection.java
4248         (setRequestProperty): Check key for null, fix documentation.
4249         (adREquestProperty): Check key for null, remove wrong implementation
4250         and replace it with comment to overwrite this method in subclasses,
4251         fix documentation.
4252
4253 2003-09-25  Tom Tromey  <tromey@redhat.com>
4254
4255         * java/lang/reflect/Proxy.java (generate): Uncomment protection
4256         domain code.
4257         * java/lang/natClassLoader.cc (defineClass): Added `loader'
4258         argument.
4259         (linkClass0): Now in VMClassLoader.
4260         (markClassErrorState0): Likewise.
4261         (getSystemClassLoaderInternal): New method.
4262         * java/lang/natClass.cc (initializeClass): Use
4263         VMClassLoader::resolveClass.
4264         * java/lang/ClassLoader.java: New version, from Classpath.
4265         * java/lang/Class.java (getProtectionDomain):
4266         protectionDomainPermission and unknownProtectionDomain now in
4267         VMClassLoader.
4268         * java/lang/Class.h: VMClassLoader now a friend class.
4269         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
4270         package-private.
4271         * gcj/javaprims.h: Regenerated class list.
4272         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
4273         * java/lang/VMClassLoader.java: New version from Classpath;
4274         modified for libgcj use.
4275
4276 2003-09-25  Michael Koch  <konqueror@gmx.de>
4277
4278         * java/nio/ByteBufferHelper.java:
4279         New file.
4280         * java/nio/ByteBufferImpl.java,
4281         java/nio/DirectByteBufferImpl.java,
4282         java/nio/MappedByteBufferImpl.java
4283         (getType,putType): Use new helper class ByteBufferHelper.
4284         * Makefile.am (ordinary_java_source_files):
4285         Added java/nio/ByteBufferHelper.java.
4286         * Makefile.in: Regenerated.
4287
4288 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
4289
4290         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
4291         PR libgcj/12388.
4292
4293 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
4294
4295         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
4296         Strings, even if buffer is already shared.
4297
4298 2003-09-24  Michael Koch  <konqueror@gmx.de>
4299
4300         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
4301
4302 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
4303
4304         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
4305         (write): Likewise.
4306         (SocketInputStream): Declare `read' and `write' methods native.
4307         Remove implementations which called back into PlainSocketImpl.
4308         Remove unneccessary overridden methods.
4309         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
4310         to inner class PlainSocketImpl.SocketInputStream.
4311         (write): Likewise.
4312         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
4313         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
4314         * gnu/java/net/SocketInputStream.java: Remove unused file.
4315         * gnu/java/net/SocketOutputStream.java: Likewise.
4316         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
4317         and SocketOutputStream.
4318         * Makefile.in: Rebuilt.
4319
4320 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
4321
4322         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
4323
4324         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
4325         markers.
4326
4327 2003-09-22  Anthony Green  <green@redhat.com>
4328
4329         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
4330         * configure: Rebuilt.
4331
4332 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
4333
4334         PR java/12350:
4335         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
4336
4337 2003-09-22  Michael Koch  <konqueror@gmx.de>
4338
4339         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
4340         compiler warning but produces a different one now.
4341
4342 2003-09-22  Michael Koch  <konqueror@gmx.de>
4343
4344         * java/net/InetAddress.java:
4345         Moves around some code, reformats and adds documentation.
4346         No functional changes.
4347
4348 2003-09-22  Michael Koch  <konqueror@gmx.de>
4349
4350         * java/net/JarURLConnection.java
4351         (JarURLConnection): Modifed code to match classpath more, fixed comment.
4352         (getCertificates): Made it more error prone.
4353         (getMainAttributes): Likewise.
4354         (getAttributes): Implemented.
4355         (getManifest): Reformatted code.
4356
4357 2003-09-20  Tom Tromey  <tromey@redhat.com>
4358
4359         * java/awt/Component.java: Indentation cleanup from Classpath.
4360
4361 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
4362
4363        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
4364        checking to follow 1.4.2 spec.
4365
4366 2003-08-11  Ingo Proetel  <proetel@aicas.com>
4367
4368         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
4369         is compatible in case client and server are running in the same VM
4370         (remerged from Classpath on 2003-09-20)
4371
4372 2003-09-19  David Daney <ddaney@avtrex.com>
4373
4374         * java/lang/ref/Reference.java (clear): Set referent to null and
4375         synchronize.
4376
4377 2003-09-19  Michael Koch  <konqueror@gmx.de>
4378
4379         * gnu/java/nio/NIODatagramSocket.java,
4380         gnu/java/nio/NIOSocket.java: New files.
4381         * Makefile.am (ordinary_java_source_files):
4382         Added gnu/java/nio/NIODatagramSocket.java and
4383         gnu/java/nio/NIOSocket.java.
4384         * Makefile.in: Regenerated.
4385
4386 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
4387
4388         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
4389         top-level GTK window.
4390         (getArgs): Add "title" property.
4391         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
4392         "allow_shrink" and "allow_grow" properties.
4393         * java/awt/Dialog.java: Initialize resizable to true and change
4394         comments accordingly.  Initialize visible to false in
4395         constructors.
4396         * java/awt/Frame.java (dispose): Remove method.
4397         * java/awt/Window.java (ownedWindows): New field.
4398         (Window(Window,GraphicsConfiguration)): Add a weak reference to
4399         owner's ownedWindows vector.
4400         (finalize): Remove method.
4401         (hide): Hide owned windows.
4402         (dispose): Dispose of owned windows.
4403         (getOwnedWindows): Implement.
4404         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
4405         unused GtkArg code.
4406         (set(String,boolean)): Clamp gboolean parameter to g_object_set
4407         to TRUE or FALSE.
4408         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4409         (create): Set window's size requisition.
4410         (connectHooks): Fix indentation.
4411         (setResizable): Remove function.
4412         (static setBounds): Likewise.
4413         (setBounds): Replace call to setBounds with GTK size requisition
4414         and resize calls.
4415
4416 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
4417
4418         * win32-threads.cc: (ensure_interrupt_event_initialized) New
4419         function for lazy initialization of an auto-reset event.
4420         (_Jv_CondWait) Added thread interrupt support.
4421         (_Jv_ThreadInitData) Added initialization of interrupt support
4422         members.
4423         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
4424         (_Jv_ThreadStart) Removed unused code.
4425         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
4426         to an external caller.
4427         (_Jv_ThreadInterrupt) Implemented.
4428         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
4429         event for interrupt support as well as a mutex which regulates
4430         access to this.
4431         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
4432         event to an external caller.
4433         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
4434         process.
4435         (waitFor) Added interrupt support.
4436
4437 2003-09-19  Michael Koch  <konqueror@gmx.de>
4438
4439         * java/net/DatagramSocket.java (getLocalAddress):
4440         Renamed result variable to localAddr.
4441         * java/net/MulticastSocket.java:
4442         No need to import gnu.java.net.PlainDatagramSocketImpl.
4443
4444 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
4445
4446         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
4447         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
4448
4449 2003-09-18  Tom Tromey  <tromey@redhat.com>
4450
4451         * javax/naming/InitialContext.java: Reindented.
4452
4453 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
4454             Helmer Kraemer <hkraemer@freenet.de>
4455
4456         * javax/naming/spi/NamingManager.java (getURLContext,
4457         getObjectInstance, getStateToBind): Always use current thread's
4458         context class loader when calling Class.forName.
4459
4460 2003-09-18  Michael Koch  <konqueror@gmx.de>
4461
4462         * java/util/Timer.java (finalize): Added "throws Throwable".
4463
4464 2003-09-18  Michael Koch  <konqueror@gmx.de>
4465
4466         * java/net/DatagramSocket.java
4467         (ch): Removed.
4468         (receive): Use getChannel() instead of ch.
4469         (send): Likewise.
4470         (getChannel): Return null.
4471         * java/net/ServerSocket.java
4472         (ch): Removed.
4473         (setChannel): Removed.
4474         (implAccept): Use getChannel() instead of ch.
4475         (close): Likewise.
4476         (getChannel): Return null.
4477         * java/net/Socket.java
4478         (ch): Removed.
4479         (connect): Use getChannel() instead of ch.
4480         (setChannel): Removed.
4481         (getChannel): Return null.
4482
4483 2003-09-18  Mark Wielaard  <mark@klomp.org>
4484
4485         Reported by Guilhem Lavaux and Julian Dolby
4486         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
4487         field "serialPersistentFields", not "getSerialPersistentFields".
4488
4489 2003-09-18  Ingo Proetel  <proetel@aicas.com>
4490
4491         * java/util/TimeZone.java: Initialize lazily.
4492         * java/util/Locale.java (readManifest): Fix check for country.
4493         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
4494         traceable 
4495         * java/util/Calendar.java: Make use of ResourceBundle better
4496         traceable.
4497
4498 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
4499
4500         * java/sql/Timestamp.java
4501         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
4502
4503 2003-09-18  David P Grove  <groved@us.ibm.com>
4504
4505         * java/io/LineNumberReader (read): Don't reset pos & limit when
4506         markPos is 0.
4507
4508 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
4509
4510         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
4511         constant.
4512         (computeArguments): use computeTypicalArguments.
4513
4514         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
4515         Compile_jikes.java and RMICException.java.
4516         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
4517         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
4518         * gnu/java/rmi/rmic/RMICException.java: Likewise.
4519  
4520         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
4521  
4522         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
4523         (computeTypicalArguments): New method.
4524         (compile): Print compiler output to System.out. Collect compiler
4525         error output and use it in exception message.
4526  
4527         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
4528         (destination): Initialize to null.
4529         (run): Replace file separator with '.' when processing class.
4530         (processClass): Replace '.' with file separator when compiling
4531         classes.
4532         (findClass): Use SystemClassLoader to load class.
4533         (generateStub): Use full class name for generated stub, that puts
4534         it in right path.  Replace '.' with file separator when generating
4535         stub file name. Write just the stub class name without package
4536         information as class name, and constructor name. Write only
4537         interface names for interfaces extending java.rmi.Remote as
4538         implemented.
4539         (generateSkel): Use full class name for generated skel, that puts
4540         it in right path.  Replace '.' with file separator when generating
4541         stub file name. Write just the stub class name without package
4542         information as class name.
4543
4544 2003-09-18  Michael Koch  <konqueror@gmx.de>
4545
4546         * Makefile.am (rmi_java_source_files):
4547         Added gnu/java/rmi/rmic/Compile_kjc.java,
4548         gnu/java/rmi/rmic/Compile_jikes.java and
4549         gnu/java/rmi/rmic/RMICException.java
4550         * Makefile.in: Regenerated.
4551
4552 2003-09-17  Graydon Hoare  <graydon@redhat.com>
4553
4554         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4555         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4556         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
4557         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
4558         New files.
4559
4560 2003-09-16  Graydon Hoare  <graydon@redhat.com>
4561
4562         * java/awt/BufferedImage.java (setData): Support non-component
4563         sample models.
4564         (getData): Same.
4565
4566 2003-09-10  Graydon Hoare  <graydon@redhat.com>
4567
4568         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
4569         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
4570
4571 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
4572
4573         * configure.in: Standardized help text case of
4574         --enable-hash-synchronization
4575         New configure switch --enable-libgcj-multifile and corresponding
4576         automake conditional ONESTEP.
4577         * configure: Rebuilt.
4578         * Makefile.am: Use automake conditional ONESTEP to determine
4579         whether classfiles should be compiled individually or all
4580         at once.
4581         * Makefile.in: Rebuilt.
4582
4583 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
4584
4585         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
4586         Remove method declaration.
4587         (create()): Call native create.
4588         (create(int)): New method.
4589         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4590         (create): Add window_id parameter.  Call gtk_plug_new with
4591         window_id parameter.
4592         (construct): Remove method implementation.
4593
4594 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
4595
4596         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
4597         (mostlyclean-local): New target patterned after clean-local
4598         which recursively deletes all libtool objects using 'libtool rm'.
4599         (clean-local): Slightly modified comment to alleviate monotony.
4600         (distclean-local): New target patterned after clean-local
4601         which recursively deletes all .d files.
4602         * Makefile.in: Rebuilt.
4603
4604 2003-09-11  Tom Tromey  <tromey@redhat.com>
4605
4606         * java/net/URLStreamHandler.java (parseURL): If original file
4607         ends with "/", so must canonical result.
4608         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
4609         with nul-termination and finding previous "/".
4610
4611 2003-09-11  Michael Koch  <konqueror@gmx.de>
4612
4613         * acconfig.h: Removed most items.
4614         * configure.in: Added descriptions to AC_DEFINE macros that where in
4615         acconfig.h before.
4616         * include/config.h.in: Regenerated.
4617
4618 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
4619
4620         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
4621         if one is installed. Improve Javadoc.
4622         (getSystemEventQueueImpl): Improve Javadoc.
4623
4624 2003-09-11  Tom Tromey  <tromey@redhat.com>
4625
4626         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
4627         file does not exist.
4628
4629 2003-09-10  Anthony Green  <green@redhat.com>
4630
4631         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
4632         Specify full name when referencing ::java::net::InetAddress.
4633         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
4634         Fix argument type.
4635
4636 2003-09-10  Michael Koch  <konqueror@gmx.de>
4637
4638         * acconfig.h (__NO_MATH_INLINES): Removed.
4639         * configure.in: Removed check for g++ math inlining bug from 2000.
4640         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
4641         libgcj_cxxflags.
4642         * configure: Regenerated.
4643
4644 2003-09-10  David Daney <ddaney@avtrex.com>
4645
4646         * java/util/Arrays.java (equals(all variants)): Quit using
4647         NullPointerException catching to detect null valued parameters.
4648
4649 2003-09-10  Michael Koch  <konqueror@gmx.de>
4650
4651         * java/net/DatagramSocket.java,
4652         java/net/MulticastSocket.java,
4653         java/net/ServerSocket.java,
4654         java/net/Socket.java:
4655         Use gnu.java.net.Plain*SocketImpl instead of
4656         java.net.PlainSocketImpl.
4657         * java/net/PlainDatagramSocketImpl.java,
4658         java/net/PlainSocketImpl.java,
4659         java/net/SocketInputStream.java,
4660         java/net/SocketOutputStream.java,
4661         java/net/natPlainDatagramSocketImplNoNet.cc,
4662         java/net/natPlainDatagramSocketImplPosix.cc,
4663         java/net/natPlainDatagramSocketImplWin32.cc,
4664         java/net/natPlainSocketImplNoNet.cc,
4665         java/net/natPlainSocketImplPosix.cc,
4666         java/net/natPlainSocketImplWin32.cc:
4667         Removed.
4668         * gnu/java/net/PlainDatagramSocketImpl.java,
4669         gnu/java/net/PlainSocketImpl.java,
4670         gnu/java/net/SocketInputStream.java,
4671         gnu/java/net/SocketOutputStream.java,
4672         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
4673         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
4674         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
4675         gnu/java/net/natPlainSocketImplNoNet.cc,
4676         gnu/java/net/natPlainSocketImplPosix.cc,
4677         gnu/java/net/natPlainSocketImplWin32.cc:
4678         New files (moved from java/net).
4679         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
4680         instead of java/net/natPlain*SocketImpl.cc.
4681         * configure: Regenerated.
4682         * Makefile.am: Moved files from java/net to gnu/java/net.
4683         * Makefile.in: Regenerated.
4684
4685 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
4686
4687         * configure: Regenerate.
4688
4689 2003-09-04  Tom Tromey  <tromey@redhat.com>
4690
4691         * configure.host: Removed erroneous comment.
4692
4693         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
4694         lvalue cast; use correct rvalue cast.
4695
4696 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
4697
4698         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
4699         and height arguments to GtkWindowPeer.create method call.
4700         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4701         (create(int,int,int)): New method.
4702         (create(int)): Add call to new create method.
4703         (create()): Add width and height arguments to create method
4704         call.
4705         (GtkWindowPeer): Remove call to setBounds.
4706         * java/awt/Frame.java (Frame(String)): Initialize visible field
4707         to false.
4708         (Frame(GraphicsConfiguration)): Likewise.
4709         (Frame(String,GraphicsConfiguration)): Likewise.
4710         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4711         Add width and height parameters.  Call
4712         gtk_window_set_default_size.
4713         (connectHooks): Remove unused name variable.
4714         (static setBounds): Call gtk_window_resize not
4715         gtk_widget_set_usize.
4716         (setBounds): Remove unused nchildren variable.
4717
4718 2003-08-31  Ingo Proetel  <proetel@aicas.com>
4719
4720         * java/util/logging/Logger.java: provide class and method information
4721         * java/util/logging/LogManager.java: create handlers
4722         * java/util/logging/SimpleFormatter.java: print souceClassName and
4723         sourceMethodName
4724
4725 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4726
4727         * win32.cc: fixed tab, indentation and whitespace
4728         inconsistencies
4729         removed jvm.h include
4730         added includes java/lang/UnsupportedOperationException.h,
4731         java/io/IOException.h, java/net/SocketException.h
4732         (WSAEventWrapper): class implementation
4733         (_Jv_WinStrError): implemented both overloads
4734         (_Jv_ThrowIOException): implemented both overloads
4735         (_Jv_ThrowSocketException): implemented both overloads
4736         (_Jv_select): implemented
4737         * include/win32.h: fixed tab, indentation and whitespace
4738         inconsistencies
4739         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
4740         added jvm.h include
4741         (WSAEventWrapper): added class declaration
4742         (_Jv_WinStrError): added both overload declarations
4743         (_Jv_ThrowIOException): added both overload declarations
4744         (_Jv_ThrowSocketException): added both overload declarations
4745         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
4746         (_Jv_select): added declaration
4747         (_Jv_socket): removed
4748         (_Jv_connect): removed
4749         (_Jv_close): removed
4750         (_Jv_bind): removed
4751         (_Jv_accept): removed
4752         (_Jv_listen): removed
4753         (_Jv_write): removed
4754         (_Jv_read): removed
4755         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
4756         whitespace inconsistencies
4757         replaced <windows.h> #include with <platform.h>
4758         removed jvm.h include
4759         (testCanUseGetHandleInfo): new function which tests whether Win32
4760         GetHandleInformation() call can be used with console buffer handles
4761         (only supported on >=WinNT 5.0)
4762         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
4763         (valid): rewrote implementation using GetHandleInformation()
4764         (sync):         changed exception throwing to use error string and exception
4765         helper methods declared in include/win32.h
4766         (open): likewise
4767         (write): likewise
4768         (setLength): likewise
4769         (close): likewise
4770         (seek): likewise
4771         (getFilePointer): likewise
4772         (read): likewise
4773         * java/io/natFileWin32.cc: fixed tab, indentation and
4774         whitespace inconsistencies
4775         replaced <windows.h> #include with <platform.h>
4776         removed jvm.h include
4777         (_access): use JV_TEMP_UTF_STRING
4778         (_stat): likewise
4779         (performMkDir): use JV_TEMP_UTF_STRING
4780         (performRenameTo): likewise
4781         (performDelete): likewise
4782         (performCreate): likewise
4783         (performSetReadOnly): likewise
4784         (performSetLastModified): likewise
4785         * java/lang/natWin32Process.cc: fixed tab, indentation and
4786         whitespace inconsistencies
4787         replaced <windows.h> #include with <platform.h>
4788         removed includes gcj/cni.h, jvm.h
4789         (new_string): removed
4790         (startProcess): use JV_TEMP_UTF_STRING,
4791         changed exception throwing to use error string and exception
4792         helper methods declared in include/win32.h
4793         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
4794         whitespace inconsistencies
4795         replaced <windows.h> #include with <platform.h>
4796         removed jvm.h include
4797         removed DISABLE_JAVA_NET conditional code
4798         removed POSIX conditional code not relevant to Win32
4799         (aton): use JV_TEMP_UTF_STRING
4800         removed POSIX conditional code not relevant to Win32
4801         (lookup): likewise
4802         (getLocalHostName): likewise
4803         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
4804         whitespace inconsistencies
4805         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
4806         removed DISABLE_JAVA_NET conditional code
4807         removed POSIX conditional code not relevant to Win32
4808         (winsock2GetRealNetworkInterfaces): new function to compute network
4809         interfaces via Winsock2 API
4810         (determineGetRealNetworkInterfacesFN): new function for returning
4811         a function pointer to the function used to compute network interfaces.
4812         (getRealNetworkInterfaces): implemented
4813         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
4814         whitespace inconsistencies
4815         removed gcj/cni.h include
4816         removed DISABLE_JAVA_NET conditional code
4817         removed POSIX conditional code not relevant to Win32
4818         changed net POSIXisms to Win32isms
4819         replaced _Jv socket-related calls with their real Win32 equivalents
4820         changed exception throwing to use error string and exception
4821         helper methods declared in include/win32.h
4822         (peekData): implemented timeout support
4823         (receive): likewise
4824         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
4825         whitespace inconsistencies
4826         removed gcj/cni.h and gcj/javaprims.h includes
4827         removed DISABLE_JAVA_NET conditional code
4828         removed POSIX conditional code not relevant to Win32
4829         changed net POSIXisms to Win32isms
4830         replaced _Jv socket-related calls with their real Win32
4831         equivalents
4832         changed exception throwing to use error string and exception
4833         helper methods declared in include/win32.h
4834         (throwConnectException): helper function for connect()
4835         (connect): implemented timeout support
4836         (accept): likewise
4837         (doRead): new helper function common to both read() method overloads,
4838         includes timeout support
4839         (read): implemented both overloads in terms of doRead()
4840         (available): implemented using ioctlsocket()
4841
4842 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4843
4844         * java/net/natInetAddressWin32.cc,
4845         java/net/natNetworkInterfaceWin32.cc,
4846         java/net/natPlainDatagramSocketImplWin32.cc,
4847         java/net/natPlainSocketImplWin32.cc:
4848         Readded code enclosed in DISABLE_JAVA_NET defines
4849         in preparation for MinGW cleanup / networking
4850         patch
4851
4852 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4853
4854         * Makefile.am: Fixed problems with parallel makes.
4855         (all_java_class_files): Readded definition.
4856         (all_java_class_files): New target which depends on
4857         libgcj-@gcc_version@.jar
4858         * Makefile.in: Rebuilt
4859
4860 2003-08-28  Tom Tromey  <tromey@redhat.com>
4861
4862         * Makefile.in: Rebuilt.
4863         * Makefile.am (ordinary_java_source_files): Added new files.
4864         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
4865         friend.
4866         * java/net/URLClassLoader.java (findClass): Don't use
4867         findURLResource.  Use loader's getClass method.
4868         (URLLoader.getClass): New method.
4869         (addURL): Handle `gcjlib' URLs.
4870         (SoURLLoader): New class.
4871         (SoResource): Likewise.
4872         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
4873         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
4874         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
4875         (_Jv_RegisterCoreHook): Declare.
4876         (_Jv_FindCore): Declare.
4877         * gnu/gcj/runtime/SharedLibHelper.java: New file.
4878         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
4879         typedef.
4880         (core_hook): New function.
4881         (struct SharedLibDummy) [saved_core]: New field.
4882         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
4883         (register_hook): Set protection domain and class loader on new
4884         class.
4885         (finalize): Free core chain.
4886         * gnu/gcj/Core.java (Core): New constructor.
4887         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
4888         SharedLibHelper.
4889         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
4890         (_Jv_create_core): New function.
4891         (create): Use it.
4892         (default_register_resource): New function.
4893         (_Jv_RegisterCoreHook): New global.
4894         (_Jv_RegisterResource): Use it.
4895         (core_chain_struct): Removed.
4896         (_Jv_FindCore): New function.
4897         (_Jv_FreeCoreChain): New function.
4898
4899 2003-08-29  Michael Koch  <konqueror@gmx.de>
4900
4901         * java/net/natInetAddressWin32.cc,
4902         java/net/natNetworkInterfaceWin32.cc,
4903         java/net/natPlainDatagramSocketImplWin32.cc,
4904         java/net/natPlainSocketImplWin32.cc:
4905         Removed code enclosed in DISABLE_JAVA_NET defines.
4906
4907 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
4908
4909         * Makefile.am: (write_entries_to_file) New parameterized
4910         function for writing entries to a file one line at a time.
4911         (all_java_class_files): Removed definition.
4912         (.java.class) Removed.target.
4913         (libgcj-@gcc_version@.jar): Changed dependency to
4914         $(all_java_source_files); added compilation step which compiles
4915         all changed source files in one pass.
4916         (libgcj.la) Refactored to use write_entries_to_file.
4917         (lib-gnu-awt-xlib.la) Likewise.
4918         (install-data-local) Likewise.
4919         (write-entries-to-file-check) New target which tests write_entries_to_file.
4920         (all-recursive): Changed dependency from $(all_java_class_files)
4921         to libgcj-@gcc_version@.jar
4922         * Makefile.in: Rebuilt.
4923
4924 2003-08-26  Tom Tromey  <tromey@redhat.com>
4925
4926         * java/lang/StrictMath.java: Typo fix.
4927         * java/lang/Math.java: Typo fix.
4928
4929 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
4930
4931         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
4932         of the removed Thread.
4933
4934 2003-08-26  Mark Wielaard  <mark@klomp.org>
4935
4936         Reported by David Holmes <dholmes@dltech.com.au>.
4937         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
4938         Collections.synchronizedMap.
4939         * java/lang/ThreadLocal.java (valueMap): Likewise.
4940
4941 2003-08-26  Mark Wielaard  <mark@klomp.org>
4942
4943         * java/security/acl/Acl.java: Fix broken p tag.
4944         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
4945         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
4946         * javax/swing/plaf/TreeUI.java: Likewise.
4947         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
4948         * java/util/Properties.java: Use the word umlaut, not &auml; in api
4949         documentation.
4950         * java/util/PropertyResourceBundle.java: Likewise and add closing code
4951         tag.
4952
4953 2003-08-26  Tom Tromey  <tromey@redhat.com>
4954
4955         * Makefile.in: Rebuilt.
4956         * Makefile.am: Removed all GNU-make-specific FIXME comments.
4957
4958         * java/lang/ref/Reference.java (get): Indentation fix.
4959         (clear): Comment fix.
4960         (enqueue): Likewise.
4961         (lock): Likewise.
4962         (referent): Likewise.
4963
4964 2003-08-26  Tom Tromey  <tromey@redhat.com>
4965
4966         PR java/12058:
4967         * java/lang/reflect/natArray.cc (set): Allow null as argument.
4968
4969         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
4970         (ProxyData.getPackage): New method.
4971         (ProxyData.getProxyData): Use package name, not Package.
4972         (ClassFactory.ClassFactory): Updated.
4973
4974 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
4975         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
4976         * Makefile.in: re-generated.
4977         * gnu/awt/j2d/IntegerGraphicsState.java
4978         (ScreenCoupledImage): new interface.
4979         (drawImage): detect ScreenCoupledImage instances.
4980         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
4981         * gnu/awt/xlib/XEventLoop.java
4982         (createEvent): re-formatted, and rearranged to avoid null pointer.
4983         * gnu/awt/xlib/XGraphics.java
4984         (drawImage): added XOffScreenImage handling.
4985         * gnu/awt/xlib/XOffScreenImage.java: new file.
4986         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
4987         * gnu/gcj/xlib/GC.java (copyArea): new native method.
4988         * gnu/gcj/xlib/XAnyEvent.java
4989         (TYPE_KEY_PRESS): new constant.
4990         (TYPE_KEY_RELEASE): new constant.
4991         (TYPE_MOTION_NOTIFY): new constant.
4992         (TYPE_ENTER_NOTIFY): new constant.
4993         (TYPE_LEAVE_NOTIFY): new constant.
4994         (TYPE_FOCUS_IN): new constant.
4995         (TYPE_FOCUS_OUT): new constant.
4996         (TYPE_KEYMAP_NOTIFY): new constant.
4997         (TYPE_GRAPHICS_EXPOSE): new constant.
4998         (TYPE_NO_EXPOSE): new constant.
4999         (TYPE_VISIBILITY_NOTIFY): new constant.
5000         (TYPE_CREATE_NOTIFY): new constant.
5001         (TYPE_DESTROY_NOTIFY): new constant.
5002         (TYPE_MAP_REQUEST): new constant.
5003         (TYPE_CONFIGURE_REQUEST): new constant.
5004         (TYPE_GRAVITY_NOTIFY): new constant.
5005         (TYPE_RESIZE_REQUEST): new constant.
5006         (TYPE_CIRCULATE_NOTIFY): new constant.
5007         (TYPE_CIRCULATE_REQUEST): new constant.
5008         (TYPE_PROPERTY_NOTIFY): new constant.
5009         (TYPE_SELECTION_CLEAR): new constant.
5010         (TYPE_SELECTION_REQUEST): new constant.
5011         (TYPE_SELECTION_NOTIFY): new constant.
5012         (TYPE_COLORMAP_NOTIFY): new constant.
5013         (TYPE_MAPPING_NOTIFY): new constant.
5014         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
5015         * gnu/gcj/xlib/natGC.cc (copyArea): new method
5016         * java/awt/Component.java (createImage): changed to use peer method.
5017
5018 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5019
5020         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
5021         name, not XLFD, to native drawString.
5022         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5023         Replace XLFD-based implementation with Pango-based
5024         implementation.
5025
5026 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5027
5028         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
5029         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
5030
5031 2003-08-21  David Daney  <ddaney@avtrex.com>
5032
5033         Fix for PR libgcj/12013:
5034         * java/lang/ref/natReference.cc (finalize_referred_to_object):
5035         Check `cleared' field.
5036         * java/lang/ref/Reference.java (copy): Updated comments.
5037         (cleared): New field.
5038         (clear): Rewrote.
5039
5040 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
5041             Thomas Fitzsimmons  <fitzsim@redhat.com>
5042
5043         * Makefile.am (gtk_awt_peer_sources): Add
5044         gnu/java/awt/peer/GLightweightPeer.java.  Remove
5045         gnu/java/awt/GLightweightPeer.java.
5046         * gnu/java/awt/GLightweightPeer.java: Remove file.
5047         * gnu/java/awt/peer/GLightweightPeer.java: New file.
5048         * java/awt/Component.java (getToolkit): Add comment about
5049         lightweight components.
5050         * java/awt/Toolkit.java (createComponent): Return
5051         gnu.java.awt.peer.GLightweightPeer.
5052
5053 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
5054
5055         * configure.in: Fix detection of gcj when building with newlib.
5056         * configure: Regenerated.
5057
5058 2003-08-20  Graydon Hoare  <graydon@redhat.com>
5059
5060         * jni.cc: Replace "cheating" pointer-casting code with
5061         extract_from_jvalue<> template.
5062
5063 2003-08-20  Andrew Haley  <aph@redhat.com>
5064
5065         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
5066         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
5067         (classAt): Break out class lookup function into getClass().
5068         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
5069         handlers when using -fno-assume-compiled.
5070
5071 2003-08-20  Tom Tromey  <tromey@redhat.com>
5072
5073         Fix for PR libgcj/9125:
5074         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
5075         object outside of loop.  Respect lib_control setting.
5076         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
5077         field.
5078         (lib_control): New field.
5079         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
5080         (VMClassLoader): Initialize new field.
5081
5082         * java/lang/ref/natReference.cc (finalize_referred_to_object):
5083         Set `list->reference' to DELETED_REFERENCE when removing dead
5084         object.
5085         (find_slot): Added an assert.
5086         (DELETED_REFERENCE): New define.
5087         (add_to_hash): Check for DELETED_REFERENCE.
5088         (remove_from_hash): Just return if found slot isn't ours.
5089
5090 2003-08-19  Andrew Haley  <aph@redhat.com>
5091
5092         * prims.cc (unblock_signal): New function.
5093         (catch_segv): Use it.
5094         (catch_fpe): Likewise.
5095
5096 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
5097
5098         PR libgcj/11575
5099         * java/io/natFileDescriptorWin32.cc (open): Set create
5100         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
5101         Honor EXCL when openning with WRITE flag. 
5102
5103 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
5104
5105         * include/jvm.h: New class _Jv_TempUTFString (helper class for
5106         getting a temporary C string from a jstring)
5107         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
5108         but uses a stack buffer if the string length is less than 256
5109         bytes.
5110
5111 2003-08-18  Tom Tromey  <tromey@redhat.com>
5112
5113         PR libgcj/11951:
5114         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
5115         void.  Throw VirtualMachineError if ffi fails.  Initialize return
5116         value.  Added is_jni_call argument; only wrap exception if not a
5117         JNI call.  Use descriptive message if operation not supported.
5118         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
5119         array class.
5120         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
5121         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
5122         _Jv_CallAnyMethodA.
5123         (_Jv_JNI_CallAnyMethodA): Likewise.
5124         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
5125         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
5126
5127 2003-08-13  Tom Tromey  <tromey@redhat.com>
5128
5129         * gij.cc (help): Document -? and -X.
5130
5131 2003-08-12  Graydon Hoare  <graydon@redhat.com>
5132
5133         * java/awt/Font.java: 
5134         Stub out more recent API. 
5135
5136 2003-08-12  Graydon Hoare  <graydon@redhat.com>
5137
5138         * java/awt/Color.java (getAlpha): 
5139         Prevent sign-extended alpha values.
5140
5141 2003-08-12  Tom Tromey  <tromey@redhat.com>
5142
5143         * gij.cc (main): Handle -? and -X.
5144
5145 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
5146
5147         * java/awt/Container.java
5148         (getPreferredSize): Call preferredSize.
5149         (preferredSize): Moved body of getPreferredSize here.
5150         (getMinimumSize): Call minimumSize.
5151         (minimumSize): Moved body of getMinimumSize here.
5152
5153 2003-08-11  Tom Tromey  <tromey@redhat.com>
5154
5155         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
5156         (postEvent): Removed FIXME comment.
5157         (isDispatchThread): Documented.
5158         (getCurrentEvent): New method.
5159         (dispatchEvent): Set currentEvent and lastWhen.
5160         (getMostRecentEventTime): Rewrote.
5161         (invokeLater): Documented.
5162
5163 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
5164
5165         * java/io/PrintStream.java (print): Always flush if auto_flush is
5166         set. Don't check for newline characters.
5167         (write (int)): Implement without using a temporary array.
5168         (write (byte[], int, int): Always flush if auto_flush is set. Don't
5169         check for newline characters.
5170         Fixes PR libgcj/11778.
5171
5172 2003-08-08  Andrew Haley  <aph@redhat.com>
5173
5174         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
5175         * Makefile.in: Rebuild.
5176         * java/lang/natRuntime.cc (insertSystemProperties): Add
5177         "sun.boot.class.path".
5178
5179 2003-08-07  Andrew Haley  <aph@redhat.com>
5180
5181         * java/io/PrintStream.java: Don't crash on a null string.
5182         
5183 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5184
5185         * configure.in: Don't initialize GCINCS to boehm-gc/include.
5186         * configure: Regenerate.
5187
5188 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
5189
5190         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
5191         SocketImpl. Update Javadoc.
5192         (bind): Call close() not impl.close() in event of exception.
5193         (connect): Likewise.
5194         Remove superfluous null checks throughout.
5195         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
5196         Don't create an extra socket. Fix for PR libgcj/10868.
5197         (bind): Clean up exception handling.
5198         Remove superfluous null checks throughout.
5199
5200 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
5201             Bryce McKinlay  <bryce@mckinlay.net.nz>
5202
5203         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
5204         ready-to-write argument to _Jv_Select. Reset the socket back to 
5205         non-blocking state after connecting.
5206         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
5207         Throw SocketTimeoutException not InterruptedIOException.
5208         (read): Throw SocketTimeoutException not InterruptedIOException.
5209
5210 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
5211
5212         * java/lang/Thread.java (Thread): Check for null "name" from
5213         start of private constructor, not after calling the private
5214         constructor.
5215
5216 2003-08-06  Tom Tromey  <tromey@redhat.com>
5217
5218         * java/io/FilePermission.java (equals): Use correct index for
5219         last character of path.
5220
5221 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
5222
5223         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
5224         * configure.in: Compare with_cross_host to build_alias, not build.
5225         * aclocal.m4: Regenerate.
5226         * configure: Regenerate.
5227
5228 2003-08-05  Tom Tromey  <tromey@redhat.com>
5229
5230         Fix for PR libgcj/11779:
5231         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
5232         class.
5233
5234         * java/lang/reflect/Method.java: Updated status comment.
5235         Imported javadoc from Classpath and re-ordered methods.
5236         * java/lang/reflect/Constructor.java: Reindented.  Updated
5237         status comment.  Imported javadoc from Classpath and re-ordered
5238         methods.
5239
5240 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
5241
5242         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
5243         Add keyLocation parameter.
5244         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
5245         string.
5246         (paramString): Generate keyChar string according to keyChar, not
5247         keyCode.
5248         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5249         (state_to_awt_mods): Handle ALT key.
5250         (keyevent_state_to_awt_mods): New function.
5251         (get_first_keyval_from_keymap): New function.
5252         (keysym_to_awt_keycode): Get virtual key code from keymap.
5253         Handle missing VK_ values.
5254         (keysym_to_awt_keylocation): New function.
5255         (keyevent_to_awt_keychar): New function.
5256         (generates_key_typed_event): Handle non-text-component case.
5257         Handle GDK_KP_Delete and GDK_KP_Enter.
5258         (awt_event_handler): Call new functions to get postKeyEvent
5259         parameters.
5260         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
5261         Update postKeyEvent method signature.
5262         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
5263         VK_ defines.
5264
5265 2003-08-05  Matthias Klose  <doko@debian.org>
5266
5267         * aclocal.m4: check for libart-config binary
5268           under the name libart2-config as well.
5269         * configure: regenerated.
5270
5271 2003-08-04  David P Grove  <groved@us.ibm.com>
5272
5273         * java/text/DecimalFormat.java (format): avoid ArithmeticException
5274         when groupingSize is 0.
5275         (parse): Likewise.
5276
5277 2003-08-04  Matthias Klose  <doko@debian.org>
5278
5279         * libart.m4: check for libart-config binary
5280           under the name libart2-config as well.
5281         * configure, aclocal.m4: regenerated.
5282
5283 2003-08-02  Michael Koch  <konqueror@gmx.de>
5284
5285         * java/nio/ByteBufferImpl.java
5286         (getChar): Check remaining bytes, fixed comment about endianess.
5287         (putChar): Likewise.
5288         (getShort): Likewise.
5289         (putShort): Likewise.
5290         (getInt): Check remaining bytes, fixed conversion, fixed comment about
5291         endianess.
5292         (putInt): Likewise.
5293         (getLong): Likewise.
5294         (putLong): Likewise.
5295         (getFloat): Likewise.
5296         (putFloat): Likewise.
5297         (getDouble): Likewise.
5298         (putDouble): Likewise.
5299         * java/nio/DirectByteBufferImpl.java
5300         (getChar): Wrapped code, fixed comment about endianess.
5301         (putchar): Likewise.
5302         (getShort): Likewise.
5303         (putShort): Likewise.
5304         (getInt): Fixed conversion, fixed comment about endianess.
5305         (putInt): Likewise.
5306         (getLong): Likewise.
5307         (putLong): Likewise.
5308         (getFloat): Likewise.
5309         (putFloat): Likewise.
5310         (getDouble): Likewise.
5311         (putDouble): Likewise.
5312         * java/nio/MappedByteBufferImpl.java
5313         (compact): Implemented.
5314         (getChar): Implemented.
5315         (putChar): Implemented.
5316         (getDouble): Implemented.
5317         (putdouble): Implemented.
5318         (getFloat): Implemented.
5319         (putFloat): Implemented.
5320         (getInt): Implemented.
5321         (putInt): Implemented.
5322         (getLong): Implemented.
5323         (putLong): Implemented.
5324         (getShort): Implemented.
5325         (putShort): Implemented.
5326         * java/nio/channels/FileChannelImpl.java
5327         (read): Set position where to access file.
5328         (write): Likewise.
5329         (transferTo): Flip buffer after read and before write.
5330         (transferFrom): Likewise.
5331
5332 2003-08-02  Michael Koch  <konqueror@gmx.de>
5333
5334         * gnu/java/lang/ArrayHelper.java
5335         (equalsArray): Reformated, added method documentation.
5336
5337 2003-08-02  Michael Koch  <konqueror@gmx.de>
5338
5339         * java/net/URL.java
5340         (URL): Added paragraph about the
5341         gnu.java.net.nocache_protocol_handlers property.
5342         (ph_cache): Renamed from handlers to match classpath's implementation.
5343         Reordered it with factory and serialVersionUID member variables.
5344         (cache_handlers): New member variable.
5345         (static): New static initializer to initialize cache_handlers from
5346         gnu.java.net.nocache_protocol_handlers property.
5347         (URL): Use ph_cache instead of handlers, reformatted some code to
5348         match classpath's implementation.
5349
5350 2003-08-01  Tom Tromey  <tromey@redhat.com>
5351
5352         Fix for PR libgcj/11241:
5353         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
5354         initialCapacity is 0, set it to 1.
5355
5356 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
5357
5358         * java/net/SocketImpl.java (toString): Display the remote address
5359         of an unconnected server socket as "0.0.0.0/0.0.0.0".
5360
5361 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
5362
5363         * javax/swing/border/BevelBorder.java,
5364         javax/swing/border/EtchedBorder.java,
5365         javax/swing/border/LineBorder.java,
5366         javax/swing/border/MatteBorder.java,
5367         javax/swing/border/SoftBevelBorder.java,
5368         javax/swing/plaf/BorderUIResource.java,
5369         javax/swing/plaf/ComponentUI.java,
5370         javax/swing/plaf/TreeUI.java,
5371         javax/swing/plaf/basic/BasicBorders.java,
5372         javax/swing/plaf/basic/BasicGraphicsUtils.java,
5373         javax/swing/plaf/basic/BasicTreeUI.java:
5374         Prepend "doc-files" to all paths to embedded Javadoc images, so
5375         that the generated documentation contains the correct URL.
5376
5377 2003-08-01  Tom Tromey  <tromey@redhat.com>
5378
5379         * configure: Rebuilt.
5380         * configure.in (tool_include_dir): Redefine to match gcc.
5381
5382 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
5383             Mark Wielaard  <mark@klomp.org>
5384             
5385         * java/math/BigDecimal (divide): Correctly handle
5386         ROUND_HALF_EVEN when amount is greater than 0.5.
5387         Simplify and optimize code.
5388
5389 2003-07-31  Tom Tromey  <tromey@redhat.com>
5390
5391         More for PR libgcj/11737:
5392         * java/io/ObjectInputStream.java (processResolution): Use
5393         getMethod.
5394         (getMethod): Make method accessible.
5395         (getField): Make field accessible.
5396         (setBooleanField): Don't call setAccessible here.
5397         (setByteField, setCharField, setDoubleField, setFloatField,
5398         setIntField, setLongField, setShortField, setObjectField):
5399         Likewise.
5400         (callReadMethod): Don't check whether method is null.  Catch
5401         NoSuchMethodException.
5402         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
5403         cause on thrown exceptions.
5404
5405 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
5406
5407         Fix for PR libgcj/11728:
5408         * java/util/HashMap.java (readObject): Set size.
5409
5410 2003-07-31  Tom Tromey  <tromey@redhat.com>
5411
5412         Fix for PR libgcj/11737:
5413         * java/io/ObjectOutputStream.java (getMethod): Make method
5414         accessible.
5415         (getField): Likewise.
5416         (writeObject): Use getMethod.
5417         Import PrivilegedAction and AccessController.
5418         (callWriteMethod): Don't check whether m is null.  Catch
5419         NoSuchMethodException.
5420
5421         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
5422         (containsAngle): Likewise.
5423         (getStartPoint): Rewrote.
5424         (getEndPoint): Likewise.
5425         (setAngleStart(Point2D)): Likewise.
5426
5427 2003-07-31  Roger Sayle  <roger@eyesopen.com>
5428             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5429
5430         * configure.in: Add new THREADCXXFLAGS variable.
5431         Handle POSIX threads on alpha*-dec-osf*.
5432         * configure: Regenerate.
5433         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
5434         * Makefile.in: Regenerate.
5435
5436 2003-07-08  Andrew Haley  <aph@redhat.com>
5437
5438         * include/i386-signal.h (RESTORE): New.
5439         (INIT_SEGV): Set restorer.
5440         (INIT_FPE): Likewise.
5441
5442 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
5443
5444         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
5445         than getXLFD.
5446         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
5447         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
5448         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5449         (gtkSetFont): Scale size parameter by PANGO_SCALE.
5450         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
5451         Likewise.
5452         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
5453         Likewise.
5454
5455 2003-07-29  Tom Tromey  <tromey@redhat.com>
5456
5457         * defineclass.cc (handleField): Throw exception if field name is
5458         duplicated.
5459         (handleMethod): Throw exception for duplicate method.
5460
5461 2003-07-29  Tom Tromey  <tromey@redhat.com>
5462
5463         * gnu/gcj/convert/natIconv.cc (write): Handle case where
5464         output buffer is too small.
5465
5466 2003-07-28  Tom Tromey  <tromey@redhat.com>
5467
5468         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
5469         New method.
5470         Include gnu/gcj/runtime/StringBuffer.h.
5471         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
5472         native method.
5473         (String(gnu.gcj.runtime.StringBuffer)): Use it.
5474
5475 2003-07-27  Anthony Green  <green@redhat.com>
5476
5477         * configure.in: Fix newlib check.
5478         * configure: Rebuilt.
5479
5480 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
5481
5482         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5483         Create vbox and layout for GtkPlug.
5484
5485 2003-07-27  Michael Koch  <konqueror@gmx.de>
5486
5487         * java/awt/Window.java
5488         (Window): Removed now unused constructor. It became oboslete with the
5489         new embedded window patch.
5490
5491 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
5492             Michael Koch  <konqueror@gmx.de>
5493
5494         * gnu/java/awt/EmbeddedWindow.java
5495         (EmbeddedWindow): Extends Frame instead of Window.
5496         (window_id): New member variable to store the native window handle.
5497         (create): Removed.
5498         (EmbeddedWindow): New constructor.
5499         (addNotify): New method.
5500         (getHandler): Likewise.
5501         (setWindowPeer): New native method.
5502         * gnu/java/awt/EmbeddedWindowSupport.java
5503         (EmbeddedWindowSupport): Fixed documentation.
5504         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
5505         WindowPeer, give it an EmbeddedWindow instance instead of the raw
5506         window data.
5507         * gnu/java/awt/natEmbeddedWindow.cc
5508         (create): Removed.
5509         (setWindowPeer): New method.
5510         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
5511         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
5512         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5513         New files
5514         * gnu/java/awt/peer/gtk/GtkToolkit.java
5515         (GtkToolkit): Implements EmbeddedWindowSupport.
5516         (createEmbeddedWindow): New method.
5517         * java/awt/Window.java
5518         (Window): Removed.
5519         * Makefile.am
5520         (java_source_files): Added EmbeddedWindowPeer.java.
5521         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
5522         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
5523         * Makefile.in: Regenerated.
5524
5525 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
5526
5527         * java/lang/Win32Process.java (ConcreteProcess): Surround
5528         a command line element with quotes if it contains an
5529         embedded space or tab.
5530         * java/lang/natWin32Process.cc (startProcess): Do not
5531         surround command line elements with quotes here.
5532
5533         * configure.host: Use -fcheck-references and 
5534         -fuse-divide-subroutine for MinGW until we fix
5535         win32_exception_handler( ) in win32.cc w.r.t. Win32 
5536         Structured Exception Handling (SEH).
5537
5538         * win32.cc (_Jv_platform_initProperties): Use generic names
5539         like "x86" for the "os.arch" property to be consistent with
5540         what Sun's JDK produces. Use the wProcessorArchitecture
5541         member of the Win32 SYSTEM_INFO structure, filled in a call 
5542         to GetSystemInfo( ), instead of dwProcessorType.
5543
5544 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
5545             Ranjit Mathew  <rmathew@hotmail.com>
5546
5547         * Makefile.am: Use cross-compiling gcjh from the path for
5548         a crossed-native build.
5549         * Makefile.in: Rebuilt.
5550         * configure.in: Include libltdl in non-newlib builds.
5551         Moved determination of gcj used to build libraries to
5552         its own section. Fixed cross-compilation issues for
5553         non-newlib builds.
5554         * configure: Rebuilt.
5555
5556 2003-07-25  Tom Tromey  <tromey@redhat.com>
5557
5558         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
5559         (write): Likewise.
5560         (read): Likewise.
5561         (read): Likewise.
5562
5563 2003-07-25  Mark Wielaard  <mark@klomp.org>
5564
5565         * java/lang/natRuntime.cc (_load): Add library name to
5566         UnsatisfiedLinkError when thrown.
5567
5568 2003-07-25  Mark Wielaard  <mark@klomp.org>
5569
5570         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
5571         added.
5572         * Makefile.in: Likewise.
5573
5574 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
5575
5576         * java/awt/Component.java
5577         (getPreferredSize): Call preferredSize.
5578         (preferredSize): Moved body of getPreferredSize here.
5579         (getMinimumSize): Call minimumSize.
5580         (minimumSize): Moved body of getMinimumSize here.
5581         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
5582         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
5583         pass -1
5584         * java/awt/Container.java
5585         (validate): Don't validate if there is no peer.
5586         (update): Clear background before calling paint.
5587         * java/awt/GridBagLayout.java
5588         Completed the implementation and fixed several bugs.
5589         * java/awt/MediaTracker.java
5590         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
5591         combine flags.
5592         * java/awt/Window.java
5593         (Window): Don't call setVisible(false). Windows are invisible by
5594         default and calling virtual methods from constructor causes
5595         compatibility problems (e.g. subclasses may assume that the peer
5596         already exists).
5597
5598 2003-07-25  Michael Koch  <konqueror@gmx.de>
5599
5600         * java/awt/GridBagLayout.java:
5601         Totally reworked and partly implemented.
5602         * java/awt/GridBagLayoutInfo.java:
5603         New file.
5604
5605 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
5606
5607         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
5608         Don't pack label in an event box.
5609
5610 2003-07-24  Tom Tromey  <tromey@redhat.com>
5611
5612         For PR libgcj/7482:
5613         * verify.cc (ref_intersection): New class.
5614         (type_val): Removed unresolved_reference_type,
5615         uninitialized_unresolved_reference_type.
5616         (is_assignable_from_slow): Rewrote.
5617         (type::data): Removed.
5618         (type::klass): New field.
5619         (type::type): Added verifier argument.
5620         (type::resolve): Removed.
5621         (type::set_uninitialized): Updated for change to type_val.
5622         (type::set_initialized): Likewise.
5623         (type::isinitialized): Likewise.
5624         (type::print): Likewise.
5625         (construct_primitive_array_type): Likewise.
5626         (type::compatible): Updated for change to type_val and to use
5627         ref_intersection.
5628         (type::isarray): Updated to use ref_intersection.
5629         (type::isinterface): Likewise.
5630         (type::element_type): Likewise.
5631         (type::to_array): Likewise.
5632         (type::verify_dimensions): Rewrote.
5633         (type::merge): Likewise.
5634         (check_class_constant): Updated for type constructor change.
5635         (check_constant): Likewise.
5636         (check_field_constant): Likewise.
5637         (get_one_type): Likewise.
5638         (initialize_stack): Likewise.
5639         (verify_instructions_0): Likewise.
5640         (verify_instructions_0) [op_invokeinterface]: Removed special
5641         case.
5642         (isect_list): New field.
5643         (_Jv_BytecodeVerifier): Initialize it.
5644         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
5645
5646 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
5647
5648         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
5649         unless field size is 2.
5650
5651 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
5652
5653         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5654         (connectHooks): New method.
5655         (handleEvent): Remove.
5656         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5657         (createHooks): Remove declaration.
5658         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5659         (generates_key_typed_event): Change to handle only certain
5660         keyvals.
5661         (awt_event_handler): Add special handling for GtkTextView.
5662         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5663         (textcomponent_commit_cb): New function.
5664         (textcomponent_changed_cb): Likewise.
5665         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5666         (connectHooks): Remove.
5667
5668 2003-07-23  Tom Tromey  <tromey@redhat.com>
5669
5670         * java/lang/natSystem.cc (arraycopy): Check for overflow.
5671
5672         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
5673
5674 2003-07-22  Tom Tromey  <tromey@redhat.com>
5675
5676         * boehm.cc (_Jv_BuildGCDescr): Wrote.
5677         Include limits.h.
5678
5679 2003-07-22  Tom Tromey  <tromey@redhat.com>
5680
5681         * java/awt/Window.java (getWarningString): Just return the
5682         string.
5683         (Window): Set warningString; check with security manager.
5684
5685 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
5686
5687         * gnu/awt/xlib/XGraphicsConfiguration.java
5688         (FontMetricsCache): Made static.
5689  
5690 2003-07-22  Tom Tromey  <tromey@redhat.com>
5691
5692         * java/net/URLEncoder.java (encode(String)): Use platform default
5693         encoding.
5694         (encode(String,String)): Convert to 2-digit upper-case hex
5695         number.
5696         (hex): New field.
5697
5698 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5699
5700         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5701         (create): Remove unused method implementation.
5702         (connectHooks): Remove debug messages.
5703
5704 2003-07-20  Anthony Green  <green@redhat.com>
5705
5706         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
5707         CloneNotSupportedException.
5708         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
5709         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
5710         * gnu/gcj/xlib/GC.java (clone): Ditto.
5711         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
5712         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
5713
5714         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
5715         handler.
5716         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
5717
5718 2003-07-20  Steve Pribyl <steve@netfuel.com.>
5719
5720         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
5721         String.  Put dlerror() message into exception.
5722         Include UnsatisfiedLinkError.
5723         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
5724         String.  Now native.
5725
5726 2003-07-20  Tom Tromey  <tromey@redhat.com>
5727
5728         * java/lang/Runtime.java: Comment fix.
5729         * java/lang/ClassLoader.java (isAncestorOf): New method.
5730         (getParent): Uncommented security check.  Use isAncestorOf.
5731         * include/jvm.h (_Jv_CheckAccess): Declare.
5732         * java/lang/reflect/natConstructor.cc (newInstance): Perform
5733         access check.
5734         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
5735         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
5736         class loader to _Jv_GetArrayClass.
5737         Include ArrayIndexOutOfBoundsException.h.
5738         * java/lang/reflect/Field.java: Update comment to reflect status.
5739         (equals): Fixed indentation.
5740         * java/lang/Class.h (Class): Declare memberAccessCheck, not
5741         checkMemberAccess.  Make _Jv_CheckAccess a friend.
5742         * java/lang/Class.java (memberAccessCheck): New method from
5743         Classpath.
5744         (checkMemberAccess): Removed.
5745         (getDeclaredMethod): Use memberAccessCheck.
5746         (getField): Likewise.
5747         (getMethod): Likewise.
5748         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
5749         (_Jv_SearchMethodInClass): Likewise.
5750         * prims.cc (_Jv_CheckAccess): New function.
5751         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
5752         (_Jv_JNI_GetAnyFieldID): Likewise.
5753         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
5754         (getClassLoader): Added security check.
5755         (getConstructor): Call memberAccessCheck.
5756         (getDeclaredClasses): Likewise.
5757         (getDeclaredField): Likewise.
5758         (getDeclaredFields): Likewise.
5759         (_getConstructors): Likewise.
5760         (getDeclaredConstructor): Likewise.
5761         (getDeclaredMethods): Likewise.
5762         (getFields): Likewise.
5763         (getMethods): Likewise.
5764         (newInstance): Likewise.
5765         (_Jv_MakeVTable): Put method name in exception.
5766         * java/lang/reflect/natMethod.cc (getType): Use
5767         getClassLoaderInternal.
5768         (_Jv_GetTypesFromSignature): Likewise.
5769         (invoke): Perform access check.
5770         (_Jv_CallAnyMethodA): Removed old FIXME comments.
5771         Include ArrayIndexOutOfBoundsException.h.
5772         * java/lang/reflect/natField.cc (getType): Use
5773         getClassLoaderInternal.
5774         (_Jv_CheckFieldAccessibility): Removed.
5775         (getAddr): Use _Jv_CheckAccess; find caller.
5776         Include ArrayIndexOutOfBoundsException.h.
5777
5778 2003-07-20  Michael Koch  <konqueror@gmx.de>
5779
5780         * java/net/URL.java
5781         (URL): Fixed documentation to name an argument correcty, Reformatted
5782         one method declaration.
5783         (getURLStreamHandler): Added documentation from classpath.
5784
5785 2003-07-19  Tom Tromey  <tromey@redhat.com>
5786
5787         * mauve-libgcj: Don't run CollationElementIterator tests.
5788
5789 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
5790
5791         * java/net/URLClassLoader.java (addURL): Moved implementation to
5792         private addURLImpl() to avoid calling addURL from the constructor.
5793         (addURLImpl): Contains the code that was previously in addURL.
5794         (addURLs): Call addURLImpl(), not addURL().
5795
5796 2003-07-18  Graydon Hoare  <graydon@redhat.com>
5797
5798         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
5799         Handle missing event cases, connect to "value-changed" signal.
5800
5801 2003-07-18  Graydon Hoare  <graydon@redhat.com>
5802
5803         * java/awt/geom/CubicCurve2D.java,
5804         java/awt/geom/Line2D.java,
5805         java/awt/geom/QuadCurve2D.java,
5806         java/awt/geom/Rectangle2D.java: 
5807         Fix path some calculations, make path iterators follow
5808         a consistent style.
5809
5810 2003-07-18  Mark Wielaard  <mark@klomp.org>
5811
5812         * java/util/logging/Handler.java (isLoggable): Check record level
5813         smaller or equal.
5814
5815 2003-07-17  Michael Koch  <konqueror@gmx.de>
5816
5817         * gnu/java/awt/peer/gtk/GtkToolkit.java:
5818         Reworked imports.
5819
5820 2003-07-14  Michael Koch  <konqueror@gmx.de>
5821
5822         * gnu/java/rmi/server/UnicastServerRef.java:
5823         New version from classpath.
5824
5825 2003-07-14  Michael Koch  <konqueror@gmx.de>
5826
5827         * java/awt/image/MemoryImageSource.java,
5828         java/beans/PropertyEditorManager.java,
5829         javax/naming/CompoundName.java,
5830         javax/naming/spi/NamingManager.java,
5831         javax/swing/AbstractButton.java,
5832         javax/swing/ButtonModel.java,
5833         javax/swing/SwingUtilities.java,
5834         javax/swing/UIManager.java,
5835         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5836         javax/swing/event/AncestorEvent.java,
5837         javax/swing/event/InternalFrameEvent.java,
5838         java/util/zip/ZipFile.java:
5839         New versions from classpath.
5840
5841 2003-07-13  Michael Koch  <konqueror@gmx.de>
5842
5843         * gnu/java/nio/FileChannelImpl.java,
5844         gnu/java/nio/natFileChannelImpl.cc: Removed.
5845         * java/io/FileInputStream.java,
5846         java/io/FileOutputStream.java,
5847         java/io/RandomAccessFile.java,
5848         java/nio/MappedByteBufferImpl.java:
5849         Import java.nio.channels.FileChannelImpl instead of
5850         gnu.java.nio.FileChannelImpl.
5851         * java/nio/channels/FileChannelImpl.java,
5852         java/nio/channels/natFileChannelImpl.cc:
5853         New files.
5854         * Makefile.am
5855         (ordinary_java_source_files):
5856         Removed gnu/java/nio/FileChannelImpl.java and added
5857         java/nio/channels/FileChannelImpl.java.
5858         (nat source_files):
5859         Removed gnu/java/nio/natFileChannelImpl.cc and added
5860         java/nio/channels/natFileChannelImpl.cc.
5861         * Makefile.in: Regenerated.
5862
5863 2003-07-13  Michael Koch  <konqueror@gmx.de>
5864
5865         * javax/swing/plaf/basic/BasicBorders.java,
5866         javax/swing/plaf/basic/BasicLabelUI.java,
5867         javax/swing/plaf/basic/BasicLookAndFeel.java,
5868         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5869         javax/swing/plaf/basic/BasicTextUI.java,
5870         javax/swing/plaf/metal/MetalLookAndFeel.java:
5871         New versions from classpath.
5872
5873 2003-07-13  Michael Koch  <konqueror@gmx.de>
5874
5875         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
5876         * gnu/java/awt/peer/gtk/GdkGraphics.java
5877         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
5878         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
5879         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
5880         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
5881         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
5882         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
5883         * gnu/java/awt/peer/gtk/GtkClipboard.java
5884         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
5885         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
5886         * gnu/java/awt/peer/gtk/GtkFramePeer.java
5887         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
5888         * gnu/java/awt/peer/gtk/GtkImage.java
5889         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5890         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
5891         * gnu/java/awt/peer/gtk/GtkListPeer.java
5892         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
5893         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
5894         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5895         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
5896         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
5897         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
5898         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
5899         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
5900         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
5901         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
5902         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5903         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5904
5905 2003-07-13  Michael Koch  <konqueror@gmx.de>
5906
5907         * gnu/java/locale/LocaleInformation_de.java
5908         * gnu/java/locale/LocaleInformation_en.java
5909         * gnu/java/locale/LocaleInformation_nl.java
5910
5911 2003-07-13  Michael Koch  <konqueror@gmx.de>
5912
5913         * gnu/java/awt/EmbeddedWindow.java,
5914         gnu/java/awt/EmbeddedWindowSupport.java,
5915         gnu/java/awt/natEmbeddedWindow.cc:
5916         New files.
5917         * java/awt/Window.java
5918         (Window): New constructor to support embedded windows.
5919         * Makefile.am
5920         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
5921         gnu/java/awt/EmbeddedWindowSupport.java.
5922         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
5923         * Makefile.in: Regenerated.
5924
5925 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
5926
5927         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
5928         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
5929         * java/awt/im/InputContext.java: Remove a redundant
5930         partial line.
5931
5932 2003-07-09  Tom Tromey  <tromey@redhat.com>
5933
5934         * Makefile.in: Rebuilt.
5935         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
5936
5937 2003-07-09  Mark Wielaard  <mark@klomp.org>
5938
5939         * java/io/ObjectOutputStream.java (writeObject): break after
5940         calling writeClassDescriptor().
5941
5942 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
5943
5944         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
5945
5946 2003-07-09  Michael Koch  <konqueror@gmx.de>
5947
5948         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5949         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5950         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5951         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
5952         Explicitly import used classes.
5953         * java/awt/Container.java: New version from classpath.
5954
5955 2003-07-09  Michael Koch  <konqueror@gmx.de>
5956
5957         * libgcj.pc.in: New file.
5958         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
5959         * Makefile.in: Regenerated.
5960         * configure: Regenrated.
5961         * configure.in: Create libgcj.pc from libgcj.pc.in.
5962
5963 2003-07-08  Mark Wielaard <mark@klomp.org>
5964
5965         * gcj/cni.h: CNI now expands to Compiled Native Interface.
5966
5967         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
5968         * java/lang/fdlibm.h: Likewise.
5969
5970 2003-07-07  Adam Megacz <adam@xwt.org>
5971
5972         * posix.cc: added #include<stdio.h>
5973                 
5974 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
5975
5976         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
5977         formatting.
5978
5979         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5980         (setCaretPosition, setEditable): Rely entirely on native
5981         implementation.
5982         (getArgs): Remove.
5983         (postTextEvent): New method.
5984         (handleEvent): New method.
5985         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
5986         method.
5987         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
5988         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5989         (keysym_to_awt_keycode): Fix range checks.
5990         (generates_key_typed_event): New function.
5991         (awt_event_handler): Post AWT_KEY_RELEASED events to event
5992         queue.
5993         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5994         (gtkInit): Store TextComponent's postTextEvent method ID.
5995         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5996         (setText): Post TEXT_VALUE_CHANGED event to event queue.
5997
5998 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5999
6000         * configure.in: Check for usleep declaration.
6001         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
6002         * configure: Regenerate.
6003         * include/config.h.in: Likewise.
6004         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
6005
6006 2003-07-01  Michael Koch  <konqueror@gmx.de>
6007
6008         * gnu/gcj/convert/natIconv.cc
6009         (iconv_init): Fixed possible memory leak by releasing allocated iconv
6010         handle.
6011
6012 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
6013
6014         * glib-2.0.m4: New file.
6015         * gtk-2.0.m4: New file.
6016         * glib.m4: Remove.
6017         * gtk.m4: Remove.
6018         * configure.in: Update AM_PATH_GTK macro call to
6019         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
6020         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6021         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6022         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6023         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6024         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6025         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6026         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6027         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6028         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6029         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6030         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6031         jni/gtk-peer/gthread-jni.c,
6032         jni/gtk-peer/gthread-jni.h:
6033         New versions from classpath.
6034         * aclocal.m4: Regenerate.
6035         * configure: Regenerate.
6036         * Makefile.in: Regenerate.
6037         * gcj/Makefile.in: Regenerate.
6038         * include/Makefile.in: Regenerate.
6039         * testsuite/Makefile.in: Regenerate.
6040
6041 2003-06-30  Gary Benson  <gbenson@redhat.com>
6042
6043         For PR libgcj/11349:
6044         * javax/naming/spi/NamingManager.java (getURLContext): Use
6045         correct name for factory class.
6046
6047 2003-06-28  Michael Koch  <konqueror@gmx.de>
6048
6049         * java/io/PrintStream.java
6050         (checkError): Call flush() instead of direct flushing of the Writer
6051         object.
6052         (print): Call print(String) instead of direct print method of the
6053         Writer Object.
6054         (println): Call println(String) instead of direct println method of the
6055         Writer Object.
6056         (write): Simplified.
6057
6058 2003-06-28  Michael Koch  <konqueror@gmx.de>
6059
6060         * java/net/ServerSocket.java
6061         (setChannel): New method.
6062         * java/net/Socket.java
6063         (setChannel): New method.
6064
6065 2003-06-27  Michael Koch  <konqueror@gmx.de>
6066
6067         * java/beans/beancontext/BeanContextSupport.java:
6068         New version from classpath.
6069
6070 2003-06-27  Michael Koch  <konqueror@gmx.de>
6071
6072         * java/awt/Window.java,
6073         java/awt/font/GraphicAttribute.java,
6074         java/awt/font/ImageGraphicAttribute.java,
6075         java/awt/image/DataBufferByte.java,
6076         java/awt/image/DataBufferInt.java,
6077         java/awt/image/DataBufferUShort.java,
6078         java/awt/image/DirectColorModel.java,
6079         java/awt/image/PixelGrabber.java:
6080         New versions from classpath.
6081
6082 2003-06-27  Michael Koch  <konqueror@gmx.de>
6083
6084         * java/security/Certificate.java
6085         (getGuarantor): Removed wrong @deprecated tag.
6086         (getPrincipal): Likewise.
6087         (getPublicKey): Likewise.
6088         (encode): Likewise.
6089         (decode): Likewise.
6090         (getFormat): Likewise.
6091         (toString): Likewise.
6092         * java/security/cert/PolicyQualifierInfo.java
6093         (PolicyQualifierInfo): Made final.
6094         * javax/security/auth/x500/X500Principal.java
6095         (serialVersionUID): New member variable.
6096
6097 2003-06-27  Michael Koch  <konqueror@gmx.de>
6098
6099         * java/text/Format.java
6100         (serialVersionUID): Fixed value.
6101
6102 2003-06-27  Michael Koch  <konqueror@gmx.de>
6103
6104         * java/net/Inet4Address.java
6105         (Inet4Address): Made package-private.
6106         * java/net/Inet6Address.java
6107         (Inet4Address): Made package-private.
6108
6109 2003-06-27  Michael Koch  <konqueror@gmx.de>
6110
6111         * java/io/RandomAccessFile.java
6112         (readLine): Removed wrong @deprecated tag.
6113         (getChannel): Made final.
6114
6115 2003-06-27  Michael Koch  <konqueror@gmx.de>
6116
6117         * gnu/java/nio/FileChannelImpl.java
6118         (write): Removed.
6119
6120 2003-06-27  Michael Koch  <konqueror@gmx.de>
6121
6122         * java/nio/ByteBufferImpl.java
6123         (ByteBufferImpl): Made it a package-private class
6124         * java/nio/CharBufferImpl.java
6125         (CharBufferImpl): Made it a package-private class
6126         * java/nio/DirectByteBufferImpl.java
6127         (DirectByteBufferImpl): Made it a package-private class
6128         * java/nio/DoubleBufferImpl.java
6129         (DoubleBufferImpl): Made it a package-private class
6130         * java/nio/FloatBufferImpl.java
6131         (FloatBufferImpl): Made it a package-private class
6132         * java/nio/IntBufferImpl.java
6133         (IntBufferImpl): Made it a package-private class
6134         * java/nio/LongBufferImpl.java
6135         (LongBufferImpl): Made it a package-private class
6136         * java/nio/ShortBufferImpl.java
6137         (ShortBufferImpl): Made it a package-private class
6138         * java/nio/channels/FileChannel.java
6139         (write): Made final.
6140         * java/nio/channels/ServerSocketChannel.java
6141         (ServerSocketChanne): Made protected.
6142
6143 2003-06-27  Michael Koch  <konqueror@gmx.de>
6144
6145         * javax/naming/CompositeName.java
6146         (serialVersionUID): New member variable.
6147         * javax/naming/CompoundName.java
6148         (serialVersionUID): New member variable.
6149         * javax/naming/InitialContext.java
6150         (InitialContext): Throws NamingException.
6151         (init): Likewise.
6152         * javax/naming/LinkRef.java
6153         (serialVersionUID): New member variable.
6154         (gteLinkName): Throws NamingException.
6155         * javax/naming/NamingException.java
6156         (serialVersionUID): New member variable.
6157         * javax/naming/NamingSecurityException.java
6158         (NamingSecurityException): Made abstract.
6159         (serialVersionUID): New member variable.
6160         * javax/naming/ReferralException.java
6161         (serialVersionUID): New member variable.
6162         * javax/naming/StringRefAddr.java
6163         (serialVersionUID): New member variable.
6164         * javax/naming/directory/BasicAttribute.java:
6165         Reworked imports.
6166         (serialVersionUID): New member variable.
6167         (get): Throws NamingException.
6168         (getAll): Throws NamingException.
6169         * javax/naming/directory/BasicAttributes.java:
6170         Reworked imports.
6171         (serialVersionUID): New member variable.
6172         * javax/naming/ldap/UnsolicitedNotificationEvent.java
6173         (serialVersionUID): New member variable.
6174
6175 2003-06-27  Michael Koch  <konqueror@gmx.de>
6176
6177         * Makefile.am
6178         (awt_java_source_files): Added new files:
6179         javax/swing/Popup.java,
6180         javax/swing/PopupFactory.java
6181         * Makefile.in: Regenerated.
6182
6183 2003-06-27  Michael Koch  <konqueror@gmx.de>
6184
6185         * javax/swing/JWindow.java,
6186         javax/swing/event/AncestorEvent.java,
6187         javax/swing/event/HyperlinkEvent.java,
6188         javax/swing/event/InternalFrameEvent.java,
6189         javax/swing/event/ListDataEvent.java,
6190         javax/swing/event/TableModelEvent.java,
6191         javax/swing/plaf/PopupMenuUI.java,
6192         javax/swing/plaf/SplitPaneUI.java,
6193         javax/swing/plaf/TabbedPaneUI.java,
6194         javax/swing/plaf/TextUI.java,
6195         javax/swing/plaf/TreeUI.java,
6196         javax/swing/plaf/basic/BasicTextUI.java,
6197         javax/swing/plaf/basic/BasicTreeUI.java:
6198         New versions from classpath.
6199         * javax/swing/Popup.java,
6200         javax/swing/PopupFactory.jav:
6201         New source files from classpath.
6202         * javax/swing/plaf/doc-files/TreeUI-1.png:
6203         New binary files from classpath.
6204
6205 2003-06-25  Michael Koch  <konqueror@gmx.de>
6206
6207         * Makefile.am
6208         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
6209         * Makefile.in: Regenerated.
6210
6211 2003-06-25  Michael Koch  <konqueror@gmx.de>
6212
6213         * javax/swing/plaf/ActionMapUIResource.java,
6214         javax/swing/plaf/BorderUIResource.java,
6215         javax/swing/plaf/ButtonUI.java,
6216         javax/swing/plaf/ColorChooserUI.java,
6217         javax/swing/plaf/ColorUIResource.java,
6218         javax/swing/plaf/ComboBoxUI.java,
6219         javax/swing/plaf/ComponentInputMapUIResource.java,
6220         javax/swing/plaf/ComponentUI.java,
6221         javax/swing/plaf/DesktopIconUI.java,
6222         javax/swing/plaf/DesktopPaneUI.java,
6223         javax/swing/plaf/DimensionUIResource.java,
6224         javax/swing/plaf/FileChooserUI.java,
6225         javax/swing/plaf/FontUIResource.java,
6226         javax/swing/plaf/IconUIResource.java,
6227         javax/swing/plaf/InputMapUIResource.java,
6228         javax/swing/plaf/InsetsUIResource.java,
6229         javax/swing/plaf/InternalFrameUI.java,
6230         javax/swing/plaf/LabelUI.java,
6231         javax/swing/plaf/ListUI.java,
6232         javax/swing/plaf/MenuBarUI.java,
6233         javax/swing/plaf/MenuItemUI.java,
6234         javax/swing/plaf/OptionPaneUI.java,
6235         javax/swing/plaf/PanelUI.java,
6236         javax/swing/plaf/ProgressBarUI.java,
6237         javax/swing/plaf/RootPaneUI.java,
6238         javax/swing/plaf/ScrollBarUI.java,
6239         javax/swing/plaf/ScrollPaneUI.java,
6240         javax/swing/plaf/SeparatorUI.java,
6241         javax/swing/plaf/SliderUI.java,
6242         javax/swing/plaf/TableHeaderUI.java,
6243         javax/swing/plaf/TableUI.java,
6244         javax/swing/plaf/ToolBarUI.java,
6245         javax/swing/plaf/ToolTipUI.java,
6246         javax/swing/plaf/ViewportUI.java:
6247         New versions from classpath.
6248         * javax/swing/plaf/SpinnerUI.java: 
6249         New file from classpath
6250
6251 2003-06-25  Michael Koch  <konqueror@gmx.de>
6252
6253         * java/awt/image/ColorModel.java:
6254         New version from classpath.
6255
6256 2003-06-25  Michael Koch  <konqueror@gmx.de>
6257
6258         * java/net/PlainDatagramSocketImpl.java:
6259         Partly merged with classpath, this mainly adds documentation.
6260
6261 2003-06-25  Michael Koch  <konqueror@gmx.de>
6262
6263         * java/io/ObjectInputStream.java
6264         (readClassDescriptor): New method.
6265         (readObject): Moved functionality to readClassDescriptor().
6266         * java/io/ObjectOutputStream.java
6267         (writeClassDescriptor): New method.
6268         (writeObject): Moved functionality to writeClassDescriptor().
6269
6270 2003-06-25  Michael Koch  <konqueror@gmx.de>
6271
6272         * javax/swing/plaf/basic/BasicListUI.java,
6273         javax/swing/plaf/basic/BasicOptionPaneUI.java:
6274         Added missing methods.
6275
6276 2003-06-25  Michael Koch  <konqueror@gmx.de>
6277
6278         * javax/swing/event/AncestorEvent.java
6279         javax/swing/event/HyperlinkEvent.java
6280         javax/swing/event/InternalFrameEvent.java
6281         javax/swing/event/ListDataEvent.java
6282         javax/swing/event/TableModelEvent.java:
6283         Compile fixes.
6284
6285 2003-06-24  Michael Koch  <konqueror@gmx.de>
6286
6287         * java/net/URL.java:
6288         Renamed "handler" to "ph" in the whole file to match classpaths
6289         version.
6290         * java/net/URLStreamHandler.java:
6291         (equals): Renamed "handler" to "ph".
6292
6293 2003-06-24  Michael Koch  <konqueror@gmx.de>
6294
6295         * javax/swing/event/AncestorEvent.java,
6296         javax/swing/event/HyperlinkEvent.java,
6297         javax/swing/event/InternalFrameEvent.java,
6298         javax/swing/event/ListDataEvent.java,
6299         javax/swing/event/TableModelEvent.java,
6300         javax/swing/event/TreeWillExpandListener.java,
6301         javax/swing/plaf/ComponentUI.java,
6302         javax/swing/plaf/DesktopIconUI.java,
6303         javax/swing/plaf/DesktopPaneUI.java,
6304         javax/swing/plaf/DimensionUIResource.java,
6305         javax/swing/plaf/FileChooserUI.java,
6306         javax/swing/plaf/FontUIResource.java,
6307         javax/swing/plaf/IconUIResource.java,
6308         javax/swing/plaf/InputMapUIResource.java,
6309         javax/swing/plaf/InsetsUIResource.java,
6310         javax/swing/plaf/InternalFrameUI.java,
6311         javax/swing/plaf/LabelUI.java,
6312         javax/swing/plaf/ListUI.java,
6313         javax/swing/plaf/MenuBarUI.java,
6314         javax/swing/plaf/MenuItemUI.java,
6315         javax/swing/plaf/OptionPaneUI.java,
6316         javax/swing/plaf/PanelUI.java,
6317         javax/swing/plaf/ProgressBarUI.java,
6318         javax/swing/plaf/doc-files/ComponentUI-1.dia,
6319         javax/swing/plaf/doc-files/ComponentUI-1.png:
6320         New versions from classpath.
6321
6322 2003-06-24  Michael Koch  <konqueror@gmx.de>
6323
6324         * java/nio/Buffer.java
6325         (cap): Made package-private.
6326         (pos): Likewise.
6327         (limit): Likewise.
6328         (mark): Likewise.
6329
6330 2003-06-24  Michael Koch  <konqueror@gmx.de>
6331
6332         * java/net/SocketImpl.java
6333         (shutdownInput): Made it non-abstract method throwing an exception
6334         like in SUNs JRE.
6335         (shutdownOutput): Likewise.
6336         * java/net/SocketInputStream.java,
6337         java/net/SocketOutputStream.java:
6338         New files from classpath.
6339
6340 2003-06-24  Michael Koch  <konqueror@gmx.de>
6341
6342         * java/awt/Font.java,
6343         java/awt/Window.java,
6344         java/awt/color/ColorSpace.java,
6345         java/awt/datatransfer/StringSelection.java,
6346         java/awt/image/ColorModel.java:
6347         New versions from classpath.
6348
6349 2003-06-24  Michael Koch  <konqueror@gmx.de>
6350
6351         * Makefile.am
6352         (awt_java_source_files): Added new files:
6353         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
6354         javax/swing/plaf/basic/BasicSplitPaneUI.java
6355         * Makefile.in: Regenerated.
6356
6357 2003-06-24  Michael Koch  <konqueror@gmx.de>
6358
6359         * javax/swing/text/JTextComponent.java:
6360         New version from classpath.
6361
6362 2003-06-24  Michael Koch  <konqueror@gmx.de>
6363
6364         * javax/swing/Timer.java,
6365         javax/swing/plaf/ActionMapUIResource.java,
6366         javax/swing/plaf/ButtonUI.java,
6367         javax/swing/plaf/ColorChooserUI.java,
6368         javax/swing/plaf/ColorUIResource.java,
6369         javax/swing/plaf/ComboBoxUI.java,
6370         javax/swing/plaf/ComponentInputMapUIResource.java,
6371         javax/swing/plaf/basic/BasicBorders.java:
6372         New versions from classpath.
6373         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
6374         javax/swing/plaf/basic/BasicSplitPaneUI.java:
6375         New file from classpath.
6376         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
6377         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
6378         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
6379         javax/swing/plaf/doc-files/ComponentUI-1.dia,
6380         javax/swing/plaf/doc-files/ComponentUI-1.png:
6381         New binary files from classpath.
6382
6383 2003-06-24  Michael Koch  <konqueror@gmx.de>
6384
6385         * java/io/LineNumberReader.java
6386         (skip): Dont do line number accounting here as this is already done in
6387         read(), simplified.
6388
6389 2003-06-21  Michael Koch  <konqueror@gmx.de>
6390
6391         * java/io/File.java
6392         (static): Load javaio lib if existing (only in classpath).
6393         (File): Revised documentation to show the correct argument name.
6394         (createTempFile): Partly merged with classpath.
6395         (compareTo): Simplified.
6396         (lastModified): Throw exception if time < 0.
6397         (deleteOnExit): Revised documentation.
6398
6399 2003-06-21  Michael Koch  <konqueror@gmx.de>
6400
6401         * java/net/PlainSocketImpl.java:
6402         Reformatted.
6403         (PlainSocketImpl): Merged class documentaion with classpath.
6404         (in): Moved.
6405         (out): Moved.
6406         (PlainSocketImpl): New empty constructor.
6407         (finalize): Moved.
6408         (setOption): Merged documentation from classpath.
6409         (getOption): Likewise.
6410         (create): Likewise.
6411         (connect): Likewise.
6412         (bind): Likewise.
6413         (listen): Likewise.
6414         (accept): Likewise.
6415         (available): Likewise.
6416         (close): Likewise.
6417         (read): Likewise.
6418         (write): Likewise.
6419         (getInputStream): Made synchronozed to get sure that only one stream
6420         object can be created for this socket, merged documentation from
6421         classpath.
6422         (getOutputStream): Likewise.
6423
6424 2003-06-21  Michael Koch  <konqueror@gmx.de>
6425
6426         * java/net/PlainSocketImpl.java:
6427         Reformatting.
6428         (static): New implicit method.
6429         (read): Made package private.
6430         (write): Likewise.
6431
6432 2003-06-21  Michael Koch  <konqueror@gmx.de>
6433
6434         * java/util/SimpleTimeZone.java:
6435         Removed unneeded import, reformatting.
6436
6437 2003-06-21  Michael Koch  <konqueror@gmx.de>
6438
6439         * java/text/DateFormat.java,
6440         java/text/SimpleDateFormat.java,
6441         java/util/Locale.java:
6442         New versions from classpath.
6443
6444 2003-06-21  Michael Koch  <konqueror@gmx.de>
6445
6446         * javax/swing/SpinnerModel.java:
6447         New file from classpath.
6448         * javax/swing/border/LineBorder.java,
6449         javax/swing/border/SoftBevelBorder.java,
6450         javax/swing/plaf/BorderUIResource.java,
6451         javax/swing/plaf/basic/BasicBorders.java:
6452         New versions from classpath.
6453         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
6454         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
6455         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
6456         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
6457         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
6458         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
6459         New binary files from classpath.
6460
6461 2003-06-21  Michael Koch  <konqueror@gmx.de>
6462
6463         * java/util/logging/LogRecord.java,
6464         java/util/logging/Logger.java,
6465         java/util/logging/SocketHandler.java,
6466         java/util/logging/SimpleFormatter.java,
6467         java/util/logging/Formatter.java,
6468         java/util/logging/ErrorManager.java,
6469         java/util/logging/Handler.java,
6470         java/util/logging/FileHandler.java,
6471         java/util/logging/LogManager.java,
6472         java/util/logging/Level.java,
6473         java/util/logging/ConsoleHandler.java,
6474         java/util/logging/StreamHandler.java,
6475         java/util/logging/LoggingPermission.java,
6476         java/util/logging/Filter.java,
6477         java/util/logging/MemoryHandler.java,
6478         java/util/logging/XMLFormatter.java:
6479         New files from classpath.
6480
6481 2003-06-20  Michael Koch  <konqueror@gmx.de>
6482
6483         * java/io/ObjectStreamField.java
6484         (unshared): new member variable.
6485         (ObjectStreamField): New constructor.
6486         (isUnshared): New method.
6487
6488 2003-06-20  Michael Koch  <konqueror@gmx.de>
6489
6490         * java/net/URLStreamHandler.java
6491         (hostsEqual): Rewritten.
6492
6493 2003-06-20  Michael Koch  <konqueror@gmx.de>
6494
6495         * gnu/java/nio/MappedByteFileBuffer.java,
6496         gnu/java/nio/natMappedByteFileBuffer.cc:
6497         Removed
6498         * java/nio/MappedByteBufferImpl.java:
6499         New file.
6500         * gnu/java/nio/FileChannelImpl.java:
6501         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
6502         * Makefile.am
6503         (ordinary_java_source_files): Removed
6504         gnu/java/nio/MappedByteFileBuffer.java and added
6505         java/nio/MappedByteBufferImpl.java.
6506         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
6507         * Makefile.in: Regenerated.
6508
6509 2003-06-19  Michael Koch  <konqueror@gmx.de>
6510
6511         * gnu/java/nio/DatagramChannelImpl.java
6512         (fd): Removed.
6513         (blocking): New member variable.
6514         (socket): Likewise.
6515         (DatagramChannelImpl): Throws IOException, initialize socket.
6516         (socket):Implemented.
6517         (implCloseSelectableChannel): Throws IOException, implemented.
6518         (implConfigureBlocking): Likewise.
6519         (connect): Likewise.
6520         (disconnect): Likewise.
6521         (isConnected): Likewise.
6522         (write): Likewise.
6523         (read): Likewise.
6524         (receive): Throws IOException.
6525         (send): Likewise.
6526         * gnu/java/nio/SocketChannelImpl.java
6527         (read): Implemented.
6528         (write): Implemented.
6529
6530 2003-06-19  Michael Koch  <konqueror@gmx.de>
6531
6532         * javax/swing/JComponent.java,
6533         javax/swing/JInternalFrame.java,
6534         javax/swing/MenuSelectionManager.java,
6535         javax/swing/SwingUtilities.java,
6536         javax/swing/ToggleButtonModel.java:
6537         New versions from classpath.
6538
6539 2003-06-19  Michael Koch  <konqueror@gmx.de>
6540
6541         * java/text/CollationElementIterator.java
6542         (NULLORDER): Initialize with -1 as JDK documentation says.
6543
6544 2003-06-19  Michael Koch  <konqueror@gmx.de>
6545
6546         * java/net/HttpURLConnection.java,
6547         java/net/Inet4Address.java,
6548         java/net/Inet6Address.java,
6549         java/net/SocketImpl.java,
6550         java/net/URLClassLoader.java:
6551         Reworked import statements.
6552         * java/net/InetAddress.java
6553         (getByAddress): Simplified.
6554         * java/net/ServerSocket.java
6555         (ServerSocket): Moved special handling during bind operation to
6556         bind().
6557         (bind): Handle different cases when trying to bind a socket.
6558         * java/net/URLConnection.java
6559         (getHeaderFieldDate): Merged with classpath.
6560         (getHeaderFieldInt): Likewise.
6561
6562 2003-06-19  Michael Koch  <konqueror@gmx.de>
6563
6564         * java/util/zip/InflaterInputStream.java
6565         (InflaterInputStream): Throw NullPointerException if in is null (as
6566         JDK does).
6567
6568 2003-06-19  Michael Koch  <konqueror@gmx.de>
6569
6570         * java/awt/Font.java
6571         javax/swing/UIManager.java
6572         javax/swing/border/AbstractBorder.java
6573         javax/swing/border/BevelBorder.java
6574         javax/swing/border/Border.java
6575         javax/swing/border/CompoundBorder.java
6576         javax/swing/border/EmptyBorder.java
6577         javax/swing/border/EtchedBorder.java
6578         javax/swing/border/LineBorder.java
6579         javax/swing/border/MatteBorder.java
6580         javax/swing/border/TitledBorder.java
6581         javax/swing/plaf/BorderUIResource.java
6582         javax/swing/plaf/basic/BasicBorders.java
6583         javax/swing/plaf/basic/BasicButtonUI.java
6584         javax/swing/plaf/basic/BasicCheckBoxUI.java
6585         javax/swing/plaf/basic/BasicGraphicsUtils.java
6586         javax/swing/plaf/basic/BasicLabelUI.java
6587         javax/swing/plaf/basic/BasicRadioButtonUI.java
6588         javax/swing/plaf/basic/BasicToggleButtonUI.java:
6589         New versions from classpath.
6590         * javax/swing/border/SoftBevelBorder.java:
6591         New file from classpath.
6592         * javax/swing/border/doc-files/LineBorder-1.png,
6593         javax/swing/border/doc-files/BevelBorder-1.png,
6594         javax/swing/border/doc-files/BevelBorder-2.png,
6595         javax/swing/border/doc-files/BevelBorder-3.png,
6596         javax/swing/border/doc-files/EmptyBorder-1.png,
6597         javax/swing/border/doc-files/EtchedBorder-1.png,
6598         javax/swing/border/doc-files/EtchedBorder-2.png,
6599         javax/swing/border/doc-files/MatteBorder-1.png,
6600         javax/swing/border/doc-files/MatteBorder-2.png,
6601         javax/swing/border/doc-files/MatteBorder-3.png,
6602         javax/swing/border/doc-files/MatteBorder-4.png,
6603         javax/swing/border/doc-files/MatteBorder-5.png,
6604         javax/swing/border/doc-files/MatteBorder-6.png,
6605         javax/swing/border/doc-files/SoftBevelBorder-1.png,
6606         javax/swing/border/doc-files/SoftBevelBorder-2.png,
6607         javax/swing/border/doc-files/SoftBevelBorder-3.png,
6608         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
6609         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
6610         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
6611         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
6612         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
6613         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
6614         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
6615         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
6616         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
6617         New binary files from classpath.
6618         * Makefile.am
6619         (awt_java_source_files): Added
6620         javax/swing/border/SoftBevelBorder.java.
6621         * Makefile.in: Regenerated.
6622
6623 2003-06-19  Michael Koch  <konqueror@gmx.de>
6624
6625         * gnu/java/security/x509/X509Certificate.java
6626         (writeReplace): Merged from classpath.
6627
6628 2003-06-19  Michael Koch  <konqueror@gmx.de>
6629
6630         * gnu/java/nio/FileChannelImpl.java
6631         (map_address): Made public.
6632         (FileChannelImpl): Merged with classpath.
6633         * gnu/java/nio/natFileChannelImpl.cc
6634         (nio_mmap_file): Commented out unused arguments.
6635         (nio_unmmap_file): Likewise.
6636         (niu_msync): Likewise.
6637
6638 2003-06-19  Michael Koch  <konqueror@gmx.de>
6639
6640         * java/awt/image/IndexColorModel.java:
6641         New version from classpath.
6642
6643 2003-06-18  Tom Tromey  <tromey@redhat.com>
6644
6645         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
6646         on arrays.
6647         (isLoopbackAddress): Likewise.
6648         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
6649         on arrays.
6650
6651 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
6652
6653         * java/lang/natVMSecurityManager.cc (getClassContext):
6654         Use maxlen instead of len for loop bound.
6655
6656 2003-06-18  Michael Koch  <konqueror@gmx.de>
6657
6658         * gnu/java/nio/SelectorImpl.java
6659         (register): Use fd with value 0 for now, will be fixed later.
6660         * gnu/java/nio/ServerSocketChannelImpl.java
6661         (fd): Removed.
6662         (local_port): Removed.
6663         (InetSocketAddress): Removed.
6664         (ServerSocketChannelImpl): Just initialize internal socket object.
6665         (implCloseSelectableChannel): Close internal socket object.
6666         (implConfigureBlocking): Added comment.
6667         (accept): Use jaba.net stuff to accept socket.
6668         * gnu/java/nio/SocketChannelImpl.java
6669         (fd): Removed.
6670         (local_port): Removed.
6671         (InetSocketAddress): Removed.
6672         (SocketCreate): Removed.
6673         (SocketConnect): Removed.
6674         (SocketBind): Removed.
6675         (SocketListen): Removed.
6676         (SocketAvailable): Removed.
6677         (SocketClose): Removed.
6678         (SocketRead): Removed.
6679         (SocketWrite): Removed.
6680         (SocketChannelImpl): Just initialize internal socket object.
6681         (implCloseSelectableChannel): Close internal socket object.
6682         (implConfigureBlocking): Fixed implementation, added comment.
6683         (connect): Use internal socket object to connect.
6684         (socket): No need for sanity checks.
6685         (read): Comment out some stuff, this will be reimplemented in the next
6686         commit.
6687         (write): Likewise.
6688         * gnu/java/nio/natFileChannelImpl.cc
6689         (nio_mmap_file): Line wrapped.
6690         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
6691         * Makefile.am
6692         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
6693         * Makefile.in: Regenerated.
6694
6695 2003-06-18  Michael Koch  <konqueror@gmx.de>
6696
6697         * java/util/Locale.java
6698         (equals): Merged from classpath.
6699
6700 2003-06-18  Michael Koch  <konqueror@gmx.de>
6701
6702         * java/net/InetAddress.java:
6703         Reformatted to better match classpath's version.
6704         * java/net/URL.java
6705         (equals): Simplified.
6706         * java/net/URLConnection.java
6707         (setDoInput): Revised documentation.
6708         (getDefaultUseCaches): Likewise.
6709         (setRequestProperty): Added @since tag.
6710
6711 2003-06-17  Michael Koch  <konqueror@gmx.de>
6712
6713         * java/net/InetSocketAddress.java
6714         (InetSocketAddress): Use wildcard address if addr is null.
6715         (InetSocketAddress): Dont duplicate implementation.
6716         (InetSocketAddress): Throw exception when hostname is null.
6717         * java/net/Socket.java:
6718         Reworked imports.
6719         (Socket): Throw exception when raddr is null, handle case when laddr
6720         is null.
6721
6722 2003-06-17  Michael Koch  <konqueror@gmx.de>
6723
6724         * java/nio/DirectByteBufferImpl.java
6725         (address): Made package private.
6726         (DirectByteBufferImpl): New constructor.
6727         * java/nio/natDirectByteBufferImpl.cc
6728         (allocateImpl): Moved to java.nio namespace, implemented.
6729         (freeImpl): Likewise.
6730         (getImpl): Likewise.
6731         (putImpl): Likewise.
6732         * jni.cc
6733         (_Jv_JNI_NewDirectByteBuffer): Implemented.
6734         (_Jv_JNI_GetDirectBufferAddress): Implemented.
6735         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
6736
6737 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6738
6739         * include/powerpc-signal.h: New File.
6740         * configure.in: Use it.
6741         * configure: Regenerated.
6742
6743 2003-06-17  Michael Koch  <konqueror@gmx.de>
6744
6745         * java/util/Locale.java
6746         (getDisplayLanguage): Made it final.
6747         (getDisplayCountry): Likewise.
6748         (getDisplayVariant): Likewise.
6749         (getDisplayName): Likewise.
6750
6751 2003-06-17  Michael Koch  <konqueror@gmx.de>
6752
6753         * java/util/PropertyResourceBundle.java:
6754         Removed unneeded import.
6755
6756 2003-06-17  Michael Koch  <konqueror@gmx.de>
6757
6758         * java/util/prefs/AbstractPreferences.java,
6759         java/util/prefs/PreferencesFactory.java:
6760         Reworked imports, removed unused imports.
6761         * java/util/prefs/Preferences.java
6762         (systemNodeForPackage): Method takes a Class not an Object.
6763         (userNodeForPackage): Likewise.
6764         (nodeForPackage): Likewise.
6765
6766 2003-06-17  Michael Koch  <konqueror@gmx.de>
6767
6768         * gnu/java/security/x509/X509Certificate.java:
6769         Explicitely import used classes.
6770
6771 2003-06-17  Michael Koch  <konqueror@gmx.de>
6772
6773         * java/util/zip/ZipEntry.java,
6774         java/util/zip/ZipFile.java,
6775         java/util/zip/ZipInputStream.java,
6776         java/util/zip/ZipOutputStream.java:
6777         Reworked imports, only import used classes.
6778
6779 2003-06-17  Michael Koch  <konqueror@gmx.de>
6780
6781         * gnu/java/lang/ArrayHelper.java,
6782         gnu/java/lang/ClassHelper.java:
6783         Reformatted to match classpath's versions.
6784
6785 2003-06-14  Michael Koch  <konqueror@gmx.de>
6786
6787         * gnu/java/nio/FileChannelImpl.java
6788         (map_address): Removed incorrect comment.        
6789         * gnu/java/nio/SelectorImpl.java
6790         (register): Remove code duplication and code for file channel handling.        
6791         * gnu/java/nio/ServerSocketChannelImpl.java
6792         (serverSocket): Renamed from sock_object.
6793         (ServerSocketChannel): Initialize serverSocket.
6794         (socket): Return serverSocket.
6795         * gnu/java/nio/SocketChannelImpl.java
6796         (socket): Renamed from sock_object.
6797         (isConnectionPenging): Simplified.
6798         (socket): Return socket.
6799 2003-06-14  Michael Koch  <konqueror@gmx.de>
6800
6801         * java/security/BasicPermission.java:
6802         New version from classpath.
6803
6804 2003-06-14  Michael Koch  <konqueror@gmx.de>
6805
6806         * javax/naming/directory/Attribute.java:
6807         New version from classpath.
6808
6809 2003-06-14  Michael Koch  <konqueror@gmx.de>
6810
6811         * java/io/BufferedReader.java,
6812         java/io/FileOutputStream.java:
6813         New versions from classpath.
6814
6815 2003-06-12  Andrew Haley  <aph@redhat.com>
6816
6817         * prims.cc (catch_segv): Create exception in handler.
6818         (catch_fpe): Likewise.  
6819         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
6820         (_Jv_ThrowSignal): Remove.
6821
6822         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
6823         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
6824         to nullp and arithexception.
6825         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6826         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6827         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6828         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6829         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6830
6831 2003-06-11  Andrew Haley  <aph@redhat.com>
6832
6833         * jni.cc (_Jv_JNI_check_types): New.
6834         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
6835         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
6836         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
6837         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
6838         
6839         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
6840         infinite loop.
6841
6842 2003-06-11  Tom Tromey  <tromey@redhat.com>
6843
6844         * java/lang/ClassLoader.java (loadClass): Not deprecated.
6845         * java/io/PrintStream.java: Not deprecated.
6846
6847 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
6848
6849         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
6850         (fillOval): implemented
6851         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
6852         (fillArc): implemented.
6853         * gnu/gcj/xlib/GC.java (drawArc): added native method.
6854         (fillArc): added native method.
6855         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
6856         (fillArc): added native method.
6857
6858 2003-06-11  Michael Koch  <konqueror@gmx.de>
6859
6860         * java/awt/im/InputSubset.java:
6861         New version from classpath.
6862
6863 2003-06-11  Michael Koch  <konqueror@gmx.de>
6864
6865         * javax/swing/AbstractAction.java,
6866         javax/swing/AbstractButton.java,
6867         javax/swing/AbstractCellEditor.java,
6868         javax/swing/AbstractListModel.java,
6869         javax/swing/BorderFactory.java,
6870         javax/swing/Box.java,
6871         javax/swing/BoxLayout.java,
6872         javax/swing/ButtonGroup.java,
6873         javax/swing/DefaultButtonModel.java,
6874         javax/swing/DefaultListModel.java,
6875         javax/swing/DefaultListSelectionModel.java,
6876         javax/swing/FocusManager.java,
6877         javax/swing/ImageIcon.java,
6878         javax/swing/InputMap.java,
6879         javax/swing/JApplet.java,
6880         javax/swing/JButton.java,
6881         javax/swing/JCheckBox.java,
6882         javax/swing/JCheckBoxMenuItem.java,
6883         javax/swing/JColorChooser.java,
6884         javax/swing/JComboBox.java,
6885         javax/swing/JComponent.java,
6886         javax/swing/JDesktopPane.java,
6887         javax/swing/JDialog.java,
6888         javax/swing/JEditorPane.java,
6889         javax/swing/JFileChooser.java,
6890         javax/swing/JFormattedTextField.java,
6891         javax/swing/JFrame.java,
6892         javax/swing/JLabel.java,
6893         javax/swing/JLayeredPane.java,
6894         javax/swing/JList.java,
6895         javax/swing/JMenuBar.java,
6896         javax/swing/JMenuItem.java,
6897         javax/swing/JOptionPane.java,
6898         javax/swing/JPanel.java,
6899         javax/swing/JPasswordField.java,
6900         javax/swing/JPopupMenu.java,
6901         javax/swing/JProgressBar.java,
6902         javax/swing/JRadioButton.java,
6903         javax/swing/JRadioButtonMenuItem.java,
6904         javax/swing/JRootPane.java,
6905         javax/swing/JScrollBar.java,
6906         javax/swing/JScrollPane.java,
6907         javax/swing/JSeparator.java,
6908         javax/swing/JSlider.java,
6909         javax/swing/JTabbedPane.java,
6910         javax/swing/JTable.java,
6911         javax/swing/JTextField.java,
6912         javax/swing/JToggleButton.java,
6913         javax/swing/JToolBar.java,
6914         javax/swing/JToolTip.java,
6915         javax/swing/JTree.java,
6916         javax/swing/JViewport.java,
6917         javax/swing/JWindow.java,
6918         javax/swing/KeyStroke.java,
6919         javax/swing/ListSelectionModel.java,
6920         javax/swing/LookAndFeel.java,
6921         javax/swing/RepaintManager.java,
6922         javax/swing/ScrollPaneLayout.java,
6923         javax/swing/SizeRequirements.java,
6924         javax/swing/SwingConstants.java,
6925         javax/swing/Timer.java,
6926         javax/swing/UIDefaults.java,
6927         javax/swing/UIManager.java,
6928         javax/swing/border/AbstractBorder.java,
6929         javax/swing/border/CompoundBorder.java,
6930         javax/swing/colorchooser/AbstractColorChooserPanel.java,
6931         javax/swing/colorchooser/ColorChooserComponentFactory.java,
6932         javax/swing/colorchooser/ColorSelectionModel.java,
6933         javax/swing/colorchooser/DefaultColorSelectionModel.java,
6934         javax/swing/event/AncestorEvent.java,
6935         javax/swing/event/HyperlinkEvent.java,
6936         javax/swing/event/InternalFrameAdapter.java,
6937         javax/swing/event/InternalFrameEvent.java,
6938         javax/swing/event/ListDataEvent.java,
6939         javax/swing/event/MouseInputAdapter.java,
6940         javax/swing/event/SwingPropertyChangeSupport.java,
6941         javax/swing/event/TableModelEvent.java,
6942         javax/swing/event/TreeWillExpandListener.java,
6943         javax/swing/event/UndoableEditEvent.java,
6944         javax/swing/filechooser/FileFilter.java,
6945         javax/swing/filechooser/FileSystemView.java,
6946         javax/swing/filechooser/FileView.java,
6947         javax/swing/plaf/BorderUIResource.java,
6948         javax/swing/plaf/basic/BasicDefaults.java,
6949         javax/swing/table/AbstractTableModel.java,
6950         javax/swing/table/DefaultTableCellRenderer.java,
6951         javax/swing/table/DefaultTableColumnModel.java,
6952         javax/swing/table/DefaultTableModel.java,
6953         javax/swing/table/TableColumn.java,
6954         javax/swing/text/JTextComponent.java,
6955         javax/swing/tree/AbstractLayoutCache.java,
6956         javax/swing/tree/DefaultMutableTreeNode.java,
6957         javax/swing/tree/DefaultTreeCellEditor.java,
6958         javax/swing/tree/DefaultTreeCellRenderer.java,
6959         javax/swing/tree/DefaultTreeModel.java,
6960         javax/swing/tree/DefaultTreeSelectionModel.java,
6961         javax/swing/tree/FixedHeightLayoutCache.java,
6962         javax/swing/tree/TreeCellEditor.java,
6963         javax/swing/tree/TreeModel.java,
6964         javax/swing/tree/TreeNode.java,
6965         javax/swing/tree/TreePath.java,
6966         javax/swing/tree/TreeSelectionModel.java,
6967         javax/swing/tree/VariableHeightLayoutCache.java,
6968         javax/swing/undo/AbstractUndoableEdit.java,
6969         javax/swing/undo/CompoundEdit.java,
6970         javax/swing/undo/StateEdit.java,
6971         javax/swing/undo/UndoManager.java,
6972         javax/swing/undo/UndoableEditSupport.java:
6973         New versions from classpath.
6974         * javax/swing/table/JTableHeader.java:
6975         New file from classpath.
6976         * Makefile.am
6977         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
6978         * Makefile.in: Regenerated.
6979
6980 2003-06-11  Michael Koch  <konqueror@gmx.de>
6981
6982         * java/nio/MappedByteBuffer.java,
6983         java/nio/channels/Channels.java,
6984         java/nio/channels/ServerSocketChannel.java,
6985         java/nio/channels/spi/AbstractSelector.java:
6986         Removed unneeded imports.
6987
6988 2003-06-11  Michael Koch  <konqueror@gmx.de>
6989
6990         * java/net/DatagramSocket.java:
6991         Partly merged with classpath.
6992
6993 2003-06-11  Michael Koch  <konqueror@gmx.de>
6994
6995         * java/awt/Frame.java,
6996         java/awt/Graphics.java,
6997         java/awt/Menu.java,
6998         java/awt/Robot.java,
6999         java/awt/image/ColorModel.java:
7000         New versions from classpath.
7001
7002 2003-06-10  Michael Koch  <konqueror@gmx.de>
7003
7004         * java/io/PrintStream.java:
7005         Merged version from classpath.
7006         (close): Removed sychronized keyword. This class is not garantied to
7007         be thread-safe.
7008         (write): Likewise.
7009
7010 2003-06-09  Tom Tromey  <tromey@redhat.com>
7011
7012         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
7013         field.
7014         (getDescent): Likewise, for "descent".
7015
7016 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
7017
7018         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
7019         (getMaxDescent): adjusted return value.
7020         (getAscent): modified to use metrics for 'O'.
7021         (getDescent): modified to use metrics for 'y'.
7022
7023 2003-06-08  Anthony Green  <green@redhat.com>
7024
7025         * java/net/URLStreamHandler.java (sameFile): Fix port value
7026         comparison.
7027         * java/net/URL.java (handler): Make package private.
7028         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
7029
7030 2003-06-07  Tom Tromey  <tromey@redhat.com>
7031
7032         For PR libgcj/11085:
7033         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
7034         Limit number of characters in numeric field when required.
7035         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
7036         Respect maximumIntegerDigits.
7037
7038 2003-06-08  Michael Koch  <konqueror@gmx.de>
7039
7040         * java/net/Socket.java
7041         (Socket): Dont initialize inputShutdown and outputShutdown twice,
7042         call bind() and connect() to actually do the bind and connect tasks.
7043         (bind): Connect to canonical address if bindpoint is null, create
7044         socket and bind it to bindpoint.
7045         (connect): Check for exceptions.
7046
7047 2003-06-08  Michael Koch  <konqueror@gmx.de>
7048
7049         * java/net/DatagramSocket.java
7050         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
7051         into the Multicast constructors.
7052         * java/net/DatagramSocketImpl.java
7053         (getOption): Removed.
7054         (setOption): Removed.
7055         * java/net/MulticastSocket.java
7056         (MulticastSocket): Call setReuseAddress (true).
7057         * java/net/SocketImpl.java
7058         (getOption): Removed.
7059         (setOption): Removed.
7060
7061 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
7062
7063         PR libgcj/10886:
7064         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
7065         Test for empty vector.
7066
7067 2003-06-06  Mark Wielaard  <mark@klomp.org>
7068
7069         * java/security/Security.java (secprops): Initialize.
7070         (loadProviders): Return boolean.
7071         (static): Check result of loadProvider calls. If necessary
7072         display WARNING and fallback to Gnu provider.
7073
7074 2002-06-06  James Clark  <jjc@jclark.com>
7075
7076         Fix for PR libgcj/8738:
7077         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
7078         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
7079         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
7080         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
7081         (write): Always decrease avail when count is increased.
7082         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
7083         and whether output buffer is full before increasing size.
7084
7085 2002-06-06  Mark Wielaard  <mark@klomp dot org>
7086
7087         * java/io/PrintStream.java (writeChars(char[],int, int)):
7088         Check converter.havePendingBytes().
7089         (writeChars(String,int,int)): Likewise.
7090         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
7091         Check converter.havePendingBytes() and flush buffer when stalled.
7092
7093 2003-06-07  Michael Koch  <konqueror@gmx.de>
7094
7095         * include/posix.h
7096         (O_DSYNC): Define O_DSYNC on platforms not
7097         supporting O_FSYNC (newlib).
7098
7099 2003-06-06  Mark Wielaard  <mark@klomp.org>
7100
7101         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
7102         AWTError.
7103
7104 2003-06-06  Michael Koch  <konqueror@gmx.de>
7105
7106         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7107         More compile fixes from my stupid work yesterday.
7108
7109 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
7110
7111         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
7112         if _IEEE_LIBM is undefined.
7113
7114 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
7115
7116         * libjava/include/posix.h (O_SYNC): Define if not available
7117         and a reasonable, perhaps more conservative, replacement exists.
7118         (O_DSYNC): Likewise.
7119         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
7120
7121 2003-06-05  Michael Koch  <konqueror@gmx.de>
7122
7123         * javax/swing/plaf/BorderUIResource.java,
7124         javax/swing/plaf/basic/BasicDefaults.java,
7125         javax/swing/plaf/basic/BasicOptionPaneUI.java:
7126         More compile fixes for latest Border commit. I should not commit
7127         something in this heat here ...
7128
7129 2003-06-05  Michael Koch  <konqueror@gmx.de>
7130
7131         * javax/swing/border/BevelBorder.java
7132         (BevelBorder): Removed.
7133         * javax/swing/border/EmptyBorder.java:
7134         Reformatted.
7135         (EmptyBorder): Removed.
7136         (getBorderInsets): Dont use l, r, t and b.
7137         * javax/swing/border/EtchedBorder.java
7138         (EtchedBorder): Removed.
7139         * javax/swing/border/LineBorder.java
7140         (LineBorder): Removed.
7141         * javax/swing/border/MatteBorder.java
7142         (MatteBorder): Removed.
7143         * javax/swing/border/TitledBorder.java
7144         (defaultBorder): Use other default for now.
7145         (defaultFont): Likewise.
7146         (defaultColor): Likewise.
7147
7148 2003-06-05  Michael Koch  <konqueror@gmx.de>
7149
7150         * javax/swing/border/Border.java:
7151         New version from classpath.
7152
7153 2003-06-05  Michael Koch  <konqueror@gmx.de>
7154
7155         * javax/swing/border/AbstractBorder.java,
7156         javax/swing/border/BevelBorder.java,
7157         javax/swing/border/CompoundBorder.java,
7158         javax/swing/border/EmptyBorder.java,
7159         javax/swing/border/EtchedBorder.java,
7160         javax/swing/border/LineBorder.java,
7161         javax/swing/border/MatteBorder.java,
7162         javax/swing/border/TitledBorder.java:
7163         New versions from Classpath.
7164
7165 2003-06-05  Michael Koch  <konqueror@gmx.de>
7166
7167         * java/awt/Button.java,
7168         java/awt/Checkbox.java,
7169         java/awt/CheckboxMenuItem.java,
7170         java/awt/Choice.java,
7171         java/awt/Container.java,
7172         java/awt/Dialog.java,
7173         java/awt/EventQueue.java,
7174         java/awt/FileDialog.java,
7175         java/awt/Frame.java,
7176         java/awt/Label.java,
7177         java/awt/List.java,
7178         java/awt/Menu.java,
7179         java/awt/MenuItem.java,
7180         java/awt/Panel.java,
7181         java/awt/PopupMenu.java,
7182         java/awt/Rectangle.java,
7183         java/awt/ScrollPane.java,
7184         java/awt/Scrollbar.java,
7185         java/awt/TextArea.java,
7186         java/awt/TextField.java,
7187         java/awt/Window.java,
7188         java/awt/datatransfer/DataFlavor.java,
7189         java/awt/dnd/DragSource.java,
7190         java/awt/dnd/DragSourceContext.java,
7191         java/awt/event/HierarchyEvent.java,
7192         java/awt/event/MouseWheelEvent.java,
7193         java/awt/im/InputContext.java,
7194         java/awt/image/BufferedImage.java,
7195         java/awt/image/ComponentColorModel.java,
7196         java/awt/image/Raster.java,
7197         java/awt/image/WritableRaster.java,
7198         java/awt/peer/ComponentPeer.java,
7199         java/awt/print/PageFormat.java,
7200         java/awt/print/PrinterJob.java:
7201         New versions from Classpath.
7202
7203 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
7204
7205         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
7206         numberFormat.setParseIntegerOnly(true).
7207
7208 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
7209
7210         * include/posix-threads.h: Include <machine/pal.h> on OSF.
7211
7212 2003-06-03  Andrew Haley  <aph@redhat.com>
7213
7214         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
7215         stack volatile to prevent optimization from removing it.
7216
7217 2003-05-27  Michael Koch  <konqueror@gmx.de>
7218
7219         * java/util/zip/Deflater.java
7220         (FILTERED): Merged documentation from classpath.
7221         * java/util/zip/DeflaterOutputStream.java
7222         (DeflaterOutputStream): Merged documentation and argument validity
7223         check from classpath.
7224         (deflate): Merged documentation from classpath.
7225         (finish): Likewise.
7226         * java/util/zip/Inflater.java
7227         (Inflater): Merged class documentation from classpath.
7228         (zstream): Reordered.
7229         (is_finished): Reordered.
7230         (dict_needed): Reordered.
7231         (Inflater): Reordered, merged documentation from classpath.
7232         (end): Likewise.
7233         (finalize): Merged documentation from classpath.
7234         (finished): Likewise.
7235         (getAdler): Likewise.
7236         (getRemaining): Likewise.
7237         (getTotalIn): Likewise.
7238         (getTotalOut): Likewise.
7239         (inflate): Likewise.
7240         (needsDictionary): Likewise.
7241         (needsInput): Likewise.
7242         (reset): Likewise.
7243         (setDictionary): Likewise.
7244         (setInput): Likewise.
7245
7246 2003-05-27  Michael Koch  <konqueror@gmx.de>
7247
7248         * java/net/URLConnection.java
7249         (getHeaderFieldInt): Merged with classpath.
7250
7251 2003-05-27  Michael Koch  <konqueror@gmx.de>
7252
7253         * java/io/PrintStream.java
7254         (PrintStream): Reformatted.
7255         (PrintStream): New method, merged from classpath.
7256         (write): Reformatted.
7257
7258 2003-05-27  Michael Koch  <konqueror@gmx.de>
7259
7260         * java/lang/System.java:
7261         Explicitely import needed classes.
7262
7263 2003-05-26  Michael Koch  <konqueror@gmx.de>
7264
7265         * java/net/NetPermission.java,
7266         java/net/NetworkInterface.java,
7267         java/net/PasswordAuthentication.java,
7268         java/net/SocketPermission.java:
7269         New versions from classpath.
7270
7271 2003-05-25  Michael Koch  <konqueror@gmx.de>
7272
7273         * java/io/PushbackInputStream.java,
7274         java/net/Authenticator.java,
7275         java/net/ContentHandler.java,
7276         java/net/ContentHandlerFactory.java,
7277         java/net/DatagramSocket.java,
7278         java/net/DatagramSocketImpl.java,
7279         java/net/DatagramSocketImplFactory.java,
7280         java/net/FileNameMap.java,
7281         java/net/SocketImplFactory.java,
7282         java/net/SocketOptions.java,
7283         java/net/URLStreamHandlerFactory.java:
7284         Merged new versions from classpath.
7285
7286 2003-05-25  Michael Koch  <konqueror@gmx.de>
7287
7288         * java/awt/Checkbox.java,
7289         java/awt/Dialog.java,
7290         java/awt/Font.java,
7291         java/awt/Frame.java,
7292         java/awt/ScrollPaneAdjustable.java,
7293         java/awt/Scrollbar.java,
7294         java/awt/Window.java:
7295         New versions from classpath.
7296
7297 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
7298
7299         PR libgcj/10838:
7300         * java/io/ObjectInputStream (enableResolveObject):
7301         Fixed spelling of permission name.
7302
7303 2003-05-20  Michael Koch  <konqueror@gmx.de>
7304
7305         * java/io/DataInputStream.java
7306         (convertFromUTF): Merged comment from classpath.
7307         * java/io/PrintStream.java
7308         (error_occured): Renamed from error, merged comment from classpath.
7309         (PrintStream): No need to initialized error.
7310         (checkError): Replace error with error_occurred.
7311         (setError): Likewise.
7312
7313 2003-05-20  Michael Koch  <konqueror@gmx.de>
7314
7315         * java/io/DataInputStream.java:
7316         Reformatted, Replaced < and & with html entitites in documentation.
7317         * java/io/File.java:
7318         Reformatted.
7319         * java/io/PrintWriter.java:
7320         Moved class documentation.
7321
7322 2003-05-20  Michael Koch  <konqueror@gmx.de>
7323
7324         * gnu/java/nio/ByteBufferImpl.java,
7325         gnu/java/nio/CharBufferImpl.java,
7326         gnu/java/nio/CharViewBufferImpl.java,
7327         gnu/java/nio/DirectByteBufferImpl.java,
7328         gnu/java/nio/DoubleBufferImpl.java,
7329         gnu/java/nio/DoubleViewBufferImpl.java,
7330         gnu/java/nio/FloatBufferImpl.java,
7331         gnu/java/nio/FloatViewBufferImpl.java,
7332         gnu/java/nio/IntBufferImpl.java,
7333         gnu/java/nio/IntViewBufferImpl.java,
7334         gnu/java/nio/LongBufferImpl.java,
7335         gnu/java/nio/LongViewBufferImpl.java,
7336         gnu/java/nio/natDirectByteBufferImpl.cc,
7337         gnu/java/nio/ShortBufferImpl.java,
7338         gnu/java/nio/ShortViewBufferImpl.java:
7339         Moved files to java/nio.
7340         * gnu/java/nio/SocketChannelImpl.java
7341         
7342         * java/nio/ByteBuffer.java,
7343         java/nio/CharBuffer.java,
7344         java/nio/DoubleBuffer.java,
7345         java/nio/FloatBuffer.java,
7346         java/nio/IntBuffer.java,
7347         java/nio/LongBuffer.java,
7348         java/nio/ShortBuffer.java:
7349         Dont import anything.
7350         * java/nio/ByteBufferImpl.java,
7351         java/nio/CharBufferImpl.java,
7352         java/nio/CharViewBufferImpl.java,
7353         java/nio/DirectByteBufferImpl.java,
7354         java/nio/DoubleBufferImpl.java,
7355         java/nio/DoubleViewBufferImpl.java,
7356         java/nio/FloatBufferImpl.java,
7357         java/nio/FloatViewBufferImpl.java,
7358         java/nio/IntBufferImpl.java,
7359         java/nio/IntViewBufferImpl.java,
7360         java/nio/LongBufferImpl.java,
7361         java/nio/LongViewBufferImpl.java,
7362         java/nio/natDirectByteBufferImpl.cc,
7363         java/nio/ShortBufferImpl.java,
7364         java/nio/ShortViewBufferImpl.java:
7365         Moved from gnu/java/nio.
7366         * Makefile.am
7367         (ordinary_java_source_files): Moved files from gnu/java/nio to
7368         java/nio.
7369         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
7370         to java/nio.
7371         * Makefile.in: Regenerated.
7372
7373 2003-05-19  Michael Koch  <konqueror@gmx.de>
7374
7375         * java/util/Calendar.java
7376         (get): Not final anymore since JDK 1.4
7377         (set): Likewise.
7378
7379 2003-05-19  Michael Koch  <konqueror@gmx.de>
7380
7381         * java/text/CollationKey.java:
7382         Merged copyright and dat from classpath.
7383         * java/text/RuleBasedCollator.java:
7384         Merged class documentation from classpath.
7385
7386 2003-05-19  Michael Koch  <konqueror@gmx.de>
7387
7388         * java/nio/CharBuffer.java
7389         (toString): Compile fix.
7390
7391 2003-05-19  Michael Koch  <konqueror@gmx.de>
7392
7393         * gnu/java/nio/ByteBufferImpl.java
7394         (putLong): Fixed conversion to bytes.
7395         (putDouble): Fixed conversion to bytes.
7396         * gnu/java/nio/DirectByteBufferImpl.java
7397         (putLong): Fixed conversion to bytes.
7398         (putDouble): Fixed conversion to bytes.
7399         * gnu/java/nio/FileLockImpl.java
7400         (isValid): Reformatted.
7401         * java/nio/Buffer.java
7402         (Buffer): Fixed off-by-one bug in handling mark.
7403         * java/nio/ByteBuffer.java:
7404         Added newline.
7405         * java/nio/CharBuffer.java
7406         (toString): Don't use relative get to get string data.
7407
7408 2003-05-16  Michael Koch  <konqueror@gmx.de>
7409
7410         * java/io/natFileDescriptorPosix.cc
7411         (open): Commented out the O_SYNC and O_DSYNC usage until its better
7412         tested.
7413
7414 2003-05-14  Michael Koch  <konqueror@gmx.de>
7415
7416         * gnu/java/nio/FileLockImpl.java
7417         (released): New member variable.
7418         (FileLockImpl): Initialize released.
7419         (releaseImpl): New native method.
7420         (release): Implemented.
7421         * gnu/java/nio/SelectorImpl.java: Reformatted.
7422         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
7423         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
7424         (accept): Throws IOException.
7425         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
7426         (implConfigureBlocking): Throws IOException.
7427         (connect): Likewise.
7428         (read): Likewise.
7429         (write): Likewise.
7430         * gnu/java/nio/natFileLockImpl.cc: New file.
7431         * java/nio/channels/FileLock.java: Reformatted.
7432         * Makefile.am:
7433         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
7434         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
7435         * Makefile.in: Regenerated.
7436
7437 2003-05-13  Michael Koch  <konqueror@gmx.de>
7438
7439         * gnu/java/nio/CharViewBufferImpl.java
7440         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
7441         (get): Shift bits to the right direction.
7442         (put): Likewise.
7443         * gnu/java/nio/DoubleViewBufferImpl.java
7444         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
7445         (get): Shift bits to the right direction.
7446         (put): Likewise.
7447         * gnu/java/nio/FloatViewBufferImpl.java
7448         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
7449         (get): Shift bits to the right direction.
7450         (put): Likewise.
7451         * gnu/java/nio/IntViewBufferImpl.java
7452         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
7453         (get): Shift bits to the right direction.
7454         (put): Likewise.
7455         * gnu/java/nio/LongViewBufferImpl.java
7456         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
7457         (get): Shift bits to the right direction.
7458         (put): Likewise.
7459         * gnu/java/nio/ShortViewBufferImpl.java
7460         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
7461         (get): Shift bits to the right direction.
7462         (put): Likewise.
7463
7464 2003-05-13  Michael Koch  <konqueror@gmx.de>
7465
7466         * gnu/java/nio/natDirectByteBufferImpl.cc
7467         (allocateImpl): jlong -> RawData*.
7468         (freeImpl): Likewise.
7469
7470 2003-05-13  Michael Koch  <konqueror@gmx.de>
7471
7472         * java/nio/channels/FileChannel.java
7473         (MapMode.m): Made it package-private to match JDK 1.4.
7474         * java/nio/charset/Charset.java
7475         (decode): Made it final to match JDK 1.4.
7476
7477 2003-05-13  Michael Koch  <konqueror@gmx.de>
7478
7479        * java/io/FileDescriptor.java
7480        (SYNC): New constant.
7481        (DSYNC): Likewise.
7482        (getLength): Renamed from lenght() to match classpath's
7483        FileDescriptor.java.
7484        * java/io/RandomAccessFile.java
7485        (RandomAccessFile): Removed unneeded mode check, implemented mode
7486        "rws" and "rwd", merged documentation from classpath.
7487        (setLength): Reformatted.
7488        (length): Use new getLength() of FileDescriptor.
7489        * java/io/natFileDescriptorEcos.cc
7490        (getLength): Renamed from length().
7491        * java/io/natFileDescriptorPosix.cc
7492        (open): Implemented support for SYNC and DSYNC.
7493        (seek): Use getLength() instead of length().
7494        (getLength): Renamed from length().
7495        * java/io/natFileDescriptorWin32.cc
7496        (getLength): Renamed from length().
7497        (seek): Use getLength() instead of length().
7498        (available): Likewise.
7499        * gnu/java/nio/natFileChannelImpl.cc
7500        (size): Use getLength() instead of length().
7501
7502 2003-05-13  Michael Koch  <konqueror@gmx.de>
7503
7504         * gnu/java/nio/ByteBufferImpl.java
7505         (ByteBufferImpl): All constructors revised.
7506         (slice): Reimplemented.
7507         (duplicate): Reimplemented.
7508         (asReadOnlyBuffer): Reimplemented.
7509         * java/nio/ByteBuffer.java:
7510         Reformatted.
7511         (array_offset): Renamed from "offset" to match all other buffer
7512         classes.
7513         (ByteBuffer): All constructors revised.
7514         (allocateDirect): Implemented.
7515         (allocate): New implementation, documentation reworked.
7516         (wrap): Likewise.
7517         (get): Documentation reworked.
7518         (put): New implementation, documentation reworked.
7519         (hasArray): Documentation reworked.
7520         (arrayOffset): Likewise.
7521         (hashCode): Likewise.
7522         (equals): Likewise.
7523         (compareTo): Likewise.
7524         (order): Likewise.
7525         (compact): Likewise.
7526         (isDirect): Likewise.
7527         (slice): Likewise.
7528         (duplicate): Likewise.
7529         (asReadOnlyBuffer): Likewise.
7530         * Makefile.am
7531         (ordinary_java_source_files):
7532         Added gnu/java/nio/DirectByteBufferImpl.java.
7533         (nat_source_files):
7534         Added gnu/java/nio/natDirectByteBufferImpl.cc.
7535         * Makefile.in: Regenerated.
7536
7537 2003-05-12  Michael Koch  <konqueror@gmx.de>
7538
7539         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
7540         (nio_get_*): Removed.
7541         (nio_put_*): Removed.
7542         (as*Buffer): Implemented.
7543         (compact): Implemented.
7544         (get): Documentation added.
7545         (put): Documentation added.
7546         (get*): Newly implemented.
7547         (put*): Newly implemented.
7548         * gnu/java/nio/CharBufferImpl.java: Reformatted.
7549         (CharBufferImpl): Revised.
7550         (slice): New implementation.
7551         (duplicate): New implementation.
7552         (compact): New implementation.
7553         (asReadOnlyBuffer): New implementation.
7554         (get): Documentation revised.
7555         (order): Return native byte order.
7556         * gnu/java/nio/DirectByteBufferImpl.java
7557         (allocateDirect): objects can be null not 0.
7558         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
7559         (DoubleBufferImpl): Revised.
7560         (slice): New implementation.
7561         (duplicate): New implementation.
7562         (compact): New implementation.
7563         (asReadOnlyBuffer): New implementation.
7564         (get): Documentation revised.
7565         (order): Return native byte order.
7566         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
7567         (FloatBufferImpl): Revised.
7568         (slice): New implementation.
7569         (duplicate): New implementation.
7570         (compact): New implementation.
7571         (asReadOnlyBuffer): New implementation.
7572         (get): Documentation revised.
7573         (order): Return native byte order.
7574         * gnu/java/nio/IntBufferImpl.java: Reformatted.
7575         (IntBufferImpl): Revised.
7576         (slice): New implementation.
7577         (duplicate): New implementation.
7578         (compact): New implementation.
7579         (asReadOnlyBuffer): New implementation.
7580         (get): Documentation revised.
7581         (order): Return native byte order.
7582         * gnu/java/nio/LongBufferImpl.java: Reformatted.
7583         (LongBufferImpl): Revised.
7584         (slice): New implementation.
7585         (duplicate): New implementation.
7586         (compact): New implementation.
7587         (asReadOnlyBuffer): New implementation.
7588         (get): Documentation revised.
7589         (order): Return native byte order.
7590         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
7591         (ShortBufferImpl): Revised.
7592         (slice): New implementation.
7593         (duplicate): New implementation.
7594         (compact): New implementation.
7595         (asReadOnlyBuffer): New implementation.
7596         (get): Documentation revised.
7597         (order): Return native byte order.
7598         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
7599         (CharBuffer): Revised.
7600         (order): Removed.
7601         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
7602         (DoubleBuffer): Revised.
7603         (allocateDirect): Removed.
7604         (order): Removed.
7605         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
7606         (FloatBuffer): Revised.
7607         (allocateDirect): Removed.
7608         (order): Removed.
7609         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
7610         (IntBuffer): Revised.
7611         (allocateDirect): Removed.
7612         (order): Removed.
7613         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
7614         (LongBuffer): Revised.
7615         (allocateDirect): Removed.
7616         (order): Removed.
7617         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
7618         (ShortBuffer): Revised.
7619         (allocateDirect): Removed.
7620         (order): Removed.
7621         * gnu/java/nio/natByteBufferImpl.cc: Removed.
7622         * gnu/java/nio/natCharBufferImpl.cc: Removed.
7623         * Makefile.am
7624         (ordinary_java_source_files): Added the following files:
7625         gnu/java/nio/CharViewBufferImpl.java,
7626         gnu/java/nio/DoubleViewBufferImpl.java,
7627         gnu/java/nio/FloatViewBufferImpl.java,
7628         gnu/java/nio/IntViewBufferImpl.java,
7629         gnu/java/nio/LongViewBufferImpl.java,
7630         gnu/java/nio/ShortViewBufferImpl.java
7631         (nat_source_files): Removed the following files:
7632         gnu/java/nio/natByteBufferImpl.cc,
7633         gnu/java/nio/natCharBufferImpl.cc
7634         * Makefile.in: Regenerated.
7635
7636 2003-05-12  Michael Koch  <konqueror@gmx.de>
7637
7638         * gnu/java/nio/CharViewBufferImpl.java,
7639         gnu/java/nio/DirectByteBufferImpl.java,
7640         gnu/java/nio/DoubleViewBufferImpl.java,
7641         gnu/java/nio/FloatViewBufferImpl.java,
7642         gnu/java/nio/IntViewBufferImpl.java,
7643         gnu/java/nio/LongViewBufferImpl.java,
7644         gnu/java/nio/ShortViewBufferImpl.java,
7645         gnu/java/nio/natDirectByteBufferImpl.cc:
7646         New files, not yet to be compiled.
7647
7648 2003-05-10  Michael Koch  <konqueror@gmx.de>
7649
7650         * javax/swing/plaf/ButtonUI.java,
7651         javax/swing/plaf/ColorUIResource.java,
7652         javax/swing/plaf/ComponentUI.java,
7653         javax/swing/plaf/DimensionUIResource.java,
7654         javax/swing/plaf/FontUIResource.java,
7655         javax/swing/plaf/IconUIResource.java,
7656         javax/swing/plaf/InsetsUIResource.java,
7657         javax/swing/plaf/LabelUI.java,
7658         javax/swing/plaf/ListUI.java,
7659         javax/swing/plaf/OptionPaneUI.java,
7660         javax/swing/plaf/PanelUI.java,
7661         javax/swing/plaf/TabbedPaneUI.java,
7662         javax/swing/plaf/TextUI.java,
7663         javax/swing/plaf/TreeUI.java,
7664         javax/swing/plaf/ViewportUI.java,
7665         javax/swing/plaf/basic/BasicBorders.java,
7666         javax/swing/plaf/basic/BasicButtonUI.java,
7667         javax/swing/plaf/basic/BasicCheckBoxUI.java,
7668         javax/swing/plaf/basic/BasicDefaults.java,
7669         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7670         javax/swing/plaf/basic/BasicIconFactory.java,
7671         javax/swing/plaf/basic/BasicLabelUI.java,
7672         javax/swing/plaf/basic/BasicListUI.java,
7673         javax/swing/plaf/basic/BasicOptionPaneUI.java,
7674         javax/swing/plaf/basic/BasicPanelUI.java,
7675         javax/swing/plaf/basic/BasicRadioButtonUI.java,
7676         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7677         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7678         javax/swing/plaf/basic/BasicTextUI.java,
7679         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7680         javax/swing/plaf/basic/BasicTreeUI.java,
7681         javax/swing/plaf/basic/BasicViewportUI.java,
7682         javax/swing/plaf/metal/MetalLookAndFeel.java:
7683         New versions from classpath. This adds copyrights to all files and
7684         some serialVersionUIDs.
7685
7686 2003-05-10  Michael Koch  <konqueror@gmx.de>
7687
7688         * java/nio/CharBuffer.java
7689         (offset): Make it package-private.
7690         (backing_buffer): Likewise.
7691         * java/nio/DoubleBuffer.java
7692         (offset): Make it package-private.
7693         (backing_buffer): Likewise.
7694         (put): Reformatted.
7695         * java/nio/FloatBuffer.java
7696         (offset): Make it package-private.
7697         (backing_buffer): Likewise.
7698         * java/nio/IntBuffer.java
7699         (offset): Make it package-private.
7700         (backing_buffer): Likewise.
7701         * java/nio/LongBuffer.java
7702         (offset): Make it package-private.
7703         (backing_buffer): Likewise.
7704         * java/nio/ShortBuffer.java
7705         (offset): Make it package-private.
7706         (backing_buffer): Likewise.
7707
7708 2003-05-10  Michael Koch  <konqueror@gmx.de>
7709
7710         * java/nio/CharBuffer.java
7711         (put): Fixed precondtion check.
7712         (toString): Make it work without backing array.
7713         (put): Skip one level of method calling.
7714
7715 2003-05-10  Michael Koch  <konqueror@gmx.de>
7716
7717         * java/security/Identity.java,
7718         java/security/IdentityScope.java,
7719         java/security/Key.java,
7720         java/security/KeyPair.java,
7721         java/security/PrivateKey.java,
7722         java/security/Provider.java,
7723         java/security/PublicKey.java,
7724         java/security/SecureRandom.java,
7725         java/security/SecureRandomSpi.java,
7726         java/security/SignedObject.java,
7727         java/security/Signer.java,
7728         java/security/cert/Certificate.java,
7729         java/security/cert/PKIXCertPathBuilderResult.java,
7730         java/security/cert/X509Certificate.java:
7731         New versions from classpath.
7732
7733 2003-05-09  Tom Tromey  <tromey@redhat.com>
7734
7735         * Makefile.in: Rebuilt.
7736         * Makefile.am (nat_source_files): Removed old files.
7737         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
7738         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
7739         * gnu/java/nio/natIntBufferImpl.cc: Removed.
7740         * gnu/java/nio/natLongBufferImpl.cc: Removed.
7741         * gnu/java/nio/natShortBufferImpl.cc: Removed.
7742
7743 2003-05-09  Michael Koch  <konqueror@gmx.de>
7744
7745         * gnu/java/nio/ByteBufferImpl.java
7746         (nio_cast): Removed.
7747         (ByteBufferImpl): Removed.
7748         (nio_get_Byte): Removed.
7749         (nio_put_Byte): Removed.
7750         (asByteBuffer): Removed.
7751         (asCharBuffer): Removed implementation and throw exception.
7752         (asShortBuffer): Likewise.
7753         (asIntBuffer): Likewise.
7754         (asLongBuffer): Likewise.
7755         (asFloatBuffer): Likewise.
7756         (asDoubleBuffer): Likewise.
7757         * gnu/java/nio/CharBufferImpl.java
7758         (CharBufferImpl): Removed.
7759         (nio_get_Byte): Removed.
7760         (nio_put_Byte): Removed.
7761         (asByteBuffer): Removed.
7762         * gnu/java/nio/DoubleBufferImpl.java
7763         (DoubleBufferImpl): Removed.
7764         (nio_get_Byte): Removed.
7765         (nio_put_Byte): Removed.
7766         (asByteBuffer): Removed.
7767         * gnu/java/nio/FloatBufferImpl.java
7768         (FloatBufferImpl): Removed.
7769         (nio_get_Byte): Removed.
7770         (nio_put_Byte): Removed.
7771         (asByteBuffer): Removed.
7772         * gnu/java/nio/IntBufferImpl.java
7773         (IntBufferImpl): Removed.
7774         (nio_get_Byte): Removed.
7775         (nio_put_Byte): Removed.
7776         (asByteBuffer): Removed.
7777         * gnu/java/nio/LongBufferImpl.java
7778         (LongBufferImpl): Removed.
7779         (nio_get_Byte): Removed.
7780         (nio_put_Byte): Removed.
7781         (asByteBuffer): Removed.
7782         * gnu/java/nio/ShortBufferImpl.java
7783         (ShortBufferImpl): Removed.
7784         (nio_get_Byte): Removed.
7785         (nio_put_Byte): Removed.
7786         (asByteBuffer): Removed.
7787         * gnu/java/nio/natByteBufferImpl.cc
7788         (nio_cast): Removed.
7789         (nio_get_Byte): Removed.
7790         (nio_put_Byte): Removed.
7791         * gnu/java/nio/natCharBufferImpl.cc
7792         (nio_get_Byte): Removed.
7793         (nio_put_Byte): Removed.
7794
7795 2003-05-09  Michael Koch  <konqueror@gmx.de>
7796
7797         * java/net/JarURLConnection.java
7798         (getJarEntry): Merged documentation from classpath.
7799         (getJarFile): Likewise.
7800         (getMainAttributes): Likewise.
7801         (getAttributes): Likewise.
7802         (getManifest): Likewise.
7803         (getCertificates): Reformatted.
7804         * java/net/URLConnection.java:
7805         Little classpath merge.
7806
7807 2003-05-09  Michael Koch  <konqueror@gmx.de>
7808
7809         * java/io/DataOutputStream.java
7810         (writeShort): Made it synchronized.
7811         (writeChar): Likewise.
7812         (writeInt): Likewise.
7813         (writeLong): Liekwise.
7814         (writeUTF): Made it synchronized, renamed argument to match classpath.
7815         * java/io/InputStreamReader.java
7816         (converter): Added documentation.
7817         (read): Merged documentation from classpath.
7818         * java/io/OutputStreamWriter.java
7819         (OutputStreamWriter): Merged documentation from classpath.
7820         (close): Reformatted.
7821         (getEncoding): Likewise.
7822         (flush): Likewise.
7823         (write): Merged documentation from classpath, reformatted.
7824
7825 2003-05-08  Tom Tromey  <tromey@redhat.com>
7826
7827         * configure.host <powerpc64*-*>: Set with_libffi_default and
7828         libgcj_interpreter to "yes".
7829
7830 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
7831
7832         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
7833         
7834 2003-05-06  Tom Tromey  <tromey@redhat.com>
7835
7836         * verify.cc: Reverted previous patch.
7837
7838 2003-05-06  Michael Koch  <konqueror@gmx.de>
7839
7840         * java/io/DataOutputStream.java
7841         (write): Renamed argument to "value", merged documentation from
7842         classpath.
7843         (writeBoolean): Likewise.
7844         (writeByte): Likewise.
7845         (writeShort): Likewise.
7846         (writeChar): Likewise.
7847         (writeInt): Likewise.
7848         (writeLong): Likewise.
7849         (writeFloat): Likewise.
7850         (writeDouble): Likewise.
7851         (writeBytes): Likewise.
7852         (writeChars): Likewise.
7853         (writeUTF): Likewise.
7854         * java/io/File.java
7855         (performDelete): Added documentation.
7856         (performList): Likewise.
7857         (performMkdir): Likewise.
7858         (performSetReadOnly): Likewise.
7859         (performRenameTo): Likewise.
7860         (performSetLastModified): Likewise.
7861         (delete): Made it sychronized.
7862         (renameTo): Made it sychronized.
7863         (equals): Reformatted.
7864         (isHidden): Likewise.
7865         (listFiles): Likewise.
7866         (setReadOnly): Likewise.
7867         (listRoots): Likewise.
7868         (setLastModified): Likewise.
7869         (checkRead): Likewise.
7870         (checkWrite): Likewise.
7871         * java/io/FileInputStream.java
7872         (skip): Made it sychronized, merged from classpath.
7873         * java/io/FileOutputStream.java
7874         (write): Merged from classpath.
7875         * java/io/InputStreamReader.java:
7876         (InputStreamReader): Merged documentation from classpath.
7877
7878 2003-05-05  Michael Koch  <konqueror@gmx.de>
7879
7880         * java/net/NetworkInterface.java
7881         (networkInterfaces): Removed.
7882         (getByName): Use getRealNetworkInterfaces() instead of
7883         networkInterfaces.
7884         (getByInetAddress): Likewise.
7885         (getNetworkInterfaces): Likewise.
7886         (toString): Fix output of addresses of an interface.
7887
7888 2003-05-05  Michael Koch  <konqueror@gmx.de>
7889
7890         * java/io/DataInputStream.java:
7891         Merged new documentation from classpath.
7892
7893 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
7894
7895         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
7896         "version".
7897         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
7898         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
7899         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
7900         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
7901         * gnu/awt/gtk/GtkMainThread.java: Likewise.
7902         * gnu/awt/gtk/GtkToolkit.java: Likewise.
7903         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
7904         * java/security/Key.java: Likewise.
7905         * java/security/PrivateKey.java: Likewise.
7906         * java/security/Provider.java: Likewise.
7907         * java/security/PublicKey.java: Likewise.
7908
7909 2003-05-02  Michael Koch  <konqueror@gmx.de>
7910
7911         * java/net/URI.java
7912         (create): Doesnt throws any exceptions.
7913         * java/net/URLConnection.java
7914         (URLConnection): Commend added.
7915         (getExpiration): The header field is called "expires" not
7916         "expiration".
7917         (getHeaderField): Merged documentation with classpath.
7918         (getHeaderFieldInt): Likewise.
7919         (getHeaderFieldDate): Likewise.
7920         (getHeaderFieldKey): Likewise.
7921         (getPermission): Likewise.
7922         (setDefaultUseCaches): Likewise.
7923         (setRequestProperty): Likewise.
7924         (addRequestProperty): Likewise.
7925         (getRequestProperty): Likewise.
7926         (getRequestProperties): Likewise.
7927         (setDefaultRequestProperty): Likewise.
7928         (getDefaultRequestProperty): Likewise.
7929         (guessContentTypeFromStream): Likewise.
7930         (getFileNameMap): Likewise.
7931         (setFileNameMap): Likewise.
7932         (setDoInput): Merged implementation and documentation with classpath.
7933         (setDoOutput): Likewise.
7934         (setAllowUserInteraction): Likewise.
7935         (setDefaultAllowUserInteraction): Likewise.
7936         (setContentHandlerFactory): Made it synchronized, merged documentation
7937         with classpath.
7938         (guessContentTypeFromName): Renamed argument fname to filename to
7939         match classpath, merged documentation with classpath.
7940
7941 2003-05-02  Michael Koch  <konqueror@gmx.de>
7942
7943         * java/net/JarURLConnection.java
7944         (JarURLConnection): Class documentation merged with classpath.
7945         (getJarFileURL): Moved and documentation merged with classpath.
7946         (getEntryName): Likewise.
7947         (JarURLConnection): Documentation merged with classpath.
7948         (getJarEntry): Likewise.
7949         (getJarFile): Likewise.
7950         * java/net/PlainDatagramSocketImpl.java:
7951         Class documentation moved.
7952         * java/net/URLConnection.java
7953         (fileNameMap): Moved and documentation merged with classpath.
7954         (factory): Likewise.
7955         (defaultAllowUserInteraction): Likewis.
7956         (defaultUseCaches): Likewise.
7957         (allowUserInteraction): Likewise.
7958         (connected): Likewise.
7959         (url): Likewise.
7960         (connect): Documentation merged with classpath.
7961         (getURL): Likewise.
7962         (getContentLength): Likewise.
7963         (getContentType): Likewise.
7964         (getContentEncoding): Likewise.
7965         (getExpiration): Likewise.
7966         (getDate): Likewise.
7967         (getLastModified): Likewise.
7968         (getHeaderField): Likewise.
7969         (getContent): Likewise.
7970         (getPermission): Likewise.
7971         (getInputStream): Likewise.
7972         (getOutputStream): Likewise.
7973         (toString): Likewise.
7974         (getDoInput): Likewise.
7975         (getDoOutput): Likewise.
7976         (setAllowUserInteraction): Likewise.
7977         (getAllowUserInteraction): Likewise.
7978         (setDefaultAllowUserInteraction): Likewise.
7979         (getDefaultAllowUserInteraction): Likewise.
7980         (setUseCaches): Likewise.
7981         (getUseCaches): Likewise.
7982         (setIfModifiedSince): Likewise.
7983         (getIfModifiedSince): Likewise.
7984         (setDefaultRequestProperty): Likewise.
7985         (getDefaultRequestProperty): Likewise.
7986         (setContentHandlerFactory): Likewise.
7987         (setFileNameMap): Likewise.
7988
7989 2003-05-02  Michael Koch  <konqueror@gmx.de>
7990
7991         * java/net/InetAddress.java:
7992         Merged class documentation with classpath.
7993         * java/net/JarURLConnection.java:
7994         Explicitely import all used classes.
7995         * java/net/URL.java:
7996         Reformatting.
7997         * java/net/ServerSocket.java,
7998         java/net/Socket.java:
7999         New versions from classpath.
8000
8001 2003-05-02  Michael Koch  <konqueror@gmx.de>
8002
8003         * gnu/java/nio/FileChannelImpl.java
8004         (read): New implementation.
8005         (implRead): New methods.
8006         (write): New implementation, call other write insteal of read method.
8007         (implWrite): New methods.
8008         (map): Added comment.
8009         (transferFrom): Implemented.
8010         (transferTo): Implemented.
8011         (lock): Added checks to throw exceptions.
8012         (truncate): Added check to throw exception.
8013         * gnu/java/nio/natFileChannelImpl.cc
8014         (implRead): New method.
8015         (implWrite): New method.
8016         * java/nio/ByteBuffer.java
8017         (hashCode): Fixed comment.
8018         (get): Fixed exception documentation.
8019         (put): Fixed exception documentation.
8020         * java/nio/CharBuffer.java:
8021         Added comment for later optimizations.
8022
8023 2003-04-30  Tom Tromey  <tromey@redhat.com>
8024
8025         PR libgcj/10582:
8026         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
8027         Removed.
8028         (type::compatible): Use _Jv_IsAssignableFrom.
8029         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
8030         (_Jv_IsAssignableFrom): Work even when source or target class is
8031         not prepared.
8032
8033 2003-04-30  Michael Koch  <konqueror@gmx.de>
8034
8035         * java/text/BreakIterator.java
8036         (clone): New method.
8037
8038 2003-04-30  Michael Koch  <konqueror@gmx.de>
8039
8040         * java/text/CollationElementIterator.java,
8041         java/text/CollationKey.java,
8042         java/text/RuleBasedCollator.java:
8043         Merged copyright and documentation from classpath and
8044         rearranged some code. No code changes done.
8045
8046 2003-04-30  Michael Koch  <konqueror@gmx.de>
8047
8048         * java/util/regex/Matcher.java
8049         (pattern): New member variable.
8050         (appendReplacement): New method.
8051         (appendTail): New method.
8052         (end): New method.
8053         (find): New method.
8054         (group): New method.
8055         (replaceFirst): Added documentation.
8056         (replaceAll): Added documentation.
8057         (groupCount): New method.
8058         (lookingAt): New method.
8059         (matches): New method.
8060         (reset): New method.
8061         (start): New method.
8062         * java/util/regex/Pattern.java
8063         (serialVersionUID): New constant.
8064         (CANON_EQ): New constant.
8065         (CASE_INSENSITIVE): New constant.
8066         (COMMENTS): New constant.
8067         (DOTALL): New constant.
8068         (MULTILINE): New constant.
8069         (UNICODE_CASE): New constant.
8070         (UNIX_LINES): New constant.
8071         (regex): New member variable.
8072         (flags): New member variable.
8073         (Pattern): New method.
8074         (compile): Documentation added.
8075         (flags): New method.
8076         (matches): Documentation added.
8077         (matcher): Documentation added.
8078         (split): Documentation added.
8079         (pattern): New method.
8080
8081 2003-04-30  Michael Koch  <konqueror@gmx.de>
8082
8083         * gnu/java/security/Engine.java,
8084         gnu/java/security/OID.java,
8085         gnu/java/security/der/BitString.java,
8086         gnu/java/security/der/DER.java,
8087         gnu/java/security/der/DERReader.java,
8088         gnu/java/security/der/DERValue.java,
8089         gnu/java/security/der/DERWriter.java,
8090         gnu/java/security/provider/DSAKeyFactory.java,
8091         gnu/java/security/provider/X509CertificateFactory.java,
8092         gnu/java/security/x509/X500DistinguishedName.java,
8093         gnu/java/security/x509/X509CRL.java,
8094         gnu/java/security/x509/X509CRLEntry.java,
8095         gnu/java/security/x509/X509Certificate.java,
8096         java/security/cert/CRLSelector.java,
8097         java/security/cert/CertPathBuilder.java,
8098         java/security/cert/CertPathBuilderResult.java,
8099         java/security/cert/CertPathBuilderSpi.java,
8100         java/security/cert/CertPathParameters.java,
8101         java/security/cert/CertPathValidator.java,
8102         java/security/cert/CertPathValidatorResult.java,
8103         java/security/cert/CertPathValidatorSpi.java,
8104         java/security/cert/CertSelector.java,
8105         java/security/cert/CertStore.java,
8106         java/security/cert/CertStoreParameters.java,
8107         java/security/cert/CertStoreSpi.java,
8108         java/security/cert/CollectionCertStoreParameters.java,
8109         java/security/cert/LDAPCertStoreParameters.java,
8110         java/security/cert/PKIXBuilderParameters.java,
8111         java/security/cert/PKIXCertPathBuilderResult.java,
8112         java/security/cert/PKIXCertPathChecker.java,
8113         java/security/cert/PKIXCertPathValidatorResult.java,
8114         java/security/cert/PKIXParameters.java,
8115         java/security/cert/PolicyNode.java,
8116         java/security/cert/PolicyQualifierInfo.java,
8117         java/security/cert/TrustAnchor.java,
8118         javax/security/auth/x500/X500Principal.java:
8119         New files from classpath.
8120         * gnu/java/io/ASN1ParsingException.java,
8121         gnu/java/io/Base64InputStream.java,
8122         gnu/java/security/der/DEREncodingException.java,
8123         gnu/java/security/provider/DSAParameters.java,
8124         gnu/java/security/provider/DSASignature.java,
8125         gnu/java/security/provider/Gnu.java,
8126         gnu/java/security/provider/GnuDSAPrivateKey.java,
8127         gnu/java/security/provider/GnuDSAPublicKey.java,
8128         java/security/AlgorithmParameterGenerator.java,
8129         java/security/AlgorithmParameters.java,
8130         java/security/KeyFactory.java,
8131         java/security/KeyPairGenerator.java,
8132         java/security/KeyStore.java,
8133         java/security/MessageDigest.java,
8134         java/security/SecureClassLoader.java,
8135         java/security/SecureRandom.java,
8136         java/security/Security.java,
8137         java/security/Signature.java,
8138         java/security/cert/Certificate.java,
8139         java/security/cert/CertificateFactory.java,
8140         java/security/cert/CertificateFactorySpi.java,
8141         java/security/cert/X509CRL.java,
8142         java/security/cert/X509Certificate.java,
8143         java/security/spec/DSAPublicKeySpec.java:
8144         New versions from classpath.
8145         * gnu/java/security/provider/DERReader.java,
8146         gnu/java/security/provider/DERWriter.java,
8147         java/security/Engine.java: Removed.
8148         * Makefile.am
8149         (java_source_files, javax_source_files): Added new files.
8150         * Makefile.in: Regenerated.
8151
8152 2003-04-29  Michael Koch  <konqueror@gmx.de>
8153
8154         * javax/swing/JTable.java
8155         (AUTO_RESIZE_ALL_COLUMNS): New constant.
8156         (AUTO_RESIZE_LAST_COLUMN): New constant.
8157         (AUTO_RESIZE_NEXT_COLUMN): New constant.
8158         (AUTO_RESIZE_OFF): New constant.
8159         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
8160         (JTable): New method.
8161         (columnAdded): New method.
8162         (columnMarginChanged): New method.
8163         (columnMoved): New method.
8164         (columnRemoved): New method.
8165         (columnSelectionChanged): New method.
8166         (editingCanceled): New method.
8167         (editingStopped): New method.
8168         (getColumnModel): New method.
8169         (getPreferredScrollableViewportSize): New method.
8170         (getScrollableBlockIncrement): New method.
8171         (getScrollableTracksViewportHeight): New method.
8172         (getScrollableTracksViewportWidth): New method.
8173         (getScrollableUnitIncrement): New method.
8174         (getSelectedRow): New method.
8175         (getSelectionModel): New method.
8176         (tableChanged): New method.
8177         (setModel): New method.
8178         (setSelectionMode): New method.
8179         (setSelectionModel): New method.
8180         (setShowGrid): New method.
8181         (valueChanged): New method.
8182         * javax/swing/text/DefaultEditorKit.java
8183         (backwardAction): New constant.
8184         (beepAction): New constant.
8185         (beginAction): New constant.
8186         (beginLineAction): New constant.
8187         (beginParagraphAction): New constant.
8188         (beginWordAction): New constant.
8189         (copyAction): New constant.
8190         (cutAction): New constant.
8191         (defaultKeyTypedAction): New constant.
8192         (deleteNextCharAction): New constant.
8193         (deletePrevCharAction): New constant.
8194         (downAction): New constant.
8195         (endAction): New constant.
8196         (endLineAction): New constant.
8197         (endOfLineStringProperty): New constant.
8198         (endParagraphAction): New constant.
8199         (endWordAction): New constant.
8200         (forwardAction): New constant.
8201         (insertBreakAction): New constant.
8202         (insertContentAction): New constant.
8203         (insertTabAction): New constant.
8204         (nextWordAction): New constant.
8205         (pageDownAction): New constant.
8206         (pageUpAction): New constant.
8207         (pasteAction): New constant.
8208         (previousWordAction): New constant.
8209         (readOnlyAction): New constant.
8210         (selectAllAction): New constant.
8211         (selectionBackwardAction): New constant.
8212         (selectionBeginAction): New constant.
8213         (selectionBeginLineAction): New constant.
8214         (selectionBeginParagraphAction): New constant.
8215         (selectionBeginWordAction): New constant.
8216         (selectionDownAction): New constant.
8217         (selectionEndAction): New constant.
8218         (selectionEndLineAction): New constant.
8219         (selectionEndParagraphAction): New constant.
8220         (selectionEndWordAction): New constant.
8221         (selectionForwardAction): New constant.
8222         (selectionNextWordAction): New constant.
8223         (selectionPreviousWordAction): New constant.
8224         (selectionUpAction): New constant.
8225         (selectLineAction): New constant.
8226         (selectParagraphAction): New constant.
8227         (selectWordAction): New constant.
8228         (upAction): New constant.
8229         (writableAction): New constant.
8230
8231 2003-04-29  Michael Koch  <konqueror@gmx.de>
8232
8233         * java/util/PropertyPermission.java:
8234         New version from classpath
8235         * java/util/ResourceBundle.java:
8236         Partly merged from classpath
8237         (getObject): Reformated.
8238         (tryBundle): Set foundBundle = null if no bundle found.
8239
8240 2003-04-29  Michael Koch  <konqueror@gmx.de>
8241
8242         * javax/swing/AbstractListModel.java,
8243         javax/swing/DefaultBoundedRangeModel.java,
8244         javax/swing/DefaultSingleSelectionModel.java:
8245         New Versions from classpath.
8246
8247 2003-04-29  Michael Koch  <konqueror@gmx.de>
8248
8249         * java/awt/Window.java
8250         (show): Call super.show() instead of setVisible() to avoid endless
8251         loop.
8252         (hide): Call super.hide() instead of setVisible() to avoid endless
8253         loop.
8254
8255 2003-04-29  Michael Koch  <konqueror@gmx.de>
8256
8257         * java/util/zip/Deflater.java,
8258         java/util/zip/DeflaterOutputStream.java:
8259         Partly merged with classpath.
8260
8261 2003-04-27  Tom Tromey  <tromey@redhat.com>
8262
8263         * java/lang/natString.cc (_Jv_AllocString): Initialize
8264         cachedHashCode.
8265         (init): Likewise.
8266         (_Jv_NewStringUtf8Const): Likewise.
8267
8268 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
8269
8270         * include/jvm.h: (_Jv_GetNbArgs) added
8271         (_Jv_GetSafeArg) added
8272         (_Jv_SetArgs) added
8273         * prims.cc: (_Jv_GetNbArgs) implemented
8274         (_Jv_GetSafeArg) implemented
8275         (_Jv_SetArgs) implemented
8276         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
8277         setting _Jv_argc and _Jv_argv
8278         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
8279         instead of _Jv_argv
8280         * java/lang/natRuntime.cc: (insertSystemProperties) use
8281         _Jv_GetSafeArg() instead of _Jv_argv
8282
8283 2003-04-23  Tom Tromey  <tromey@redhat.com>
8284
8285         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
8286         required by this object.  Search superclasses to find required
8287         alignment.
8288         (get_alignment_from_class): Use alignment of type as it appears
8289         in a struct.
8290         (ALIGNOF): New macro.
8291         (struct aligner): New helper structure.
8292
8293 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
8294
8295         * java/awt/Container.java (addImpl): Enable paint events if adding
8296         a lightweight to a heavyweight.
8297         (addNotify): Ensure that peer is created before
8298         addNotifyContainerChildren.
8299         (addNotifyContainerChildren): Enable paint events if a heavyweight
8300         container contains a lightweight.
8301
8302 2003-04-20  Tom Tromey  <tromey@redhat.com>
8303
8304         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
8305         java/io/DataInput.java, java/io/DataOutput.java: Imports from
8306         Classpath.
8307
8308 2003-04-19  Tom Tromey  <tromey@redhat.com>
8309
8310         * java/sql/Date.java, java/sql/DriverManager.java,
8311         java/sql/Time.java, java/sql/Timestamp.java: New versions from
8312         Classpath.
8313
8314         * Makefile.in: Rebuilt.
8315         * Makefile.am (ordinary_java_source_files): Added new files.
8316         * java/security/AlgorithmParameterGenerator.java,
8317         java/security/AlgorithmParameters.java, java/security/Engine.java,
8318         java/security/Identity.java, java/security/IdentityScope.java,
8319         java/security/KeyFactory.java,
8320         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
8321         java/security/MessageDigest.java, java/security/Policy.java,
8322         java/security/ProtectionDomain.java,
8323         java/security/SecureRandom.java, java/security/Security.java,
8324         java/security/Signature.java, java/security/SignatureSpi.java,
8325         java/security/SignedObject.java, java/security/Signer.java,
8326         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
8327         java/security/spec/PSSParameterSpec.java,
8328         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
8329         java/security/spec/RSAOtherPrimeInfo.java: New versions from
8330         Classpath.
8331
8332 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8333
8334         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
8335         (dispose): Null metrics.
8336         * gnu/awt/xlib/XToolkit.java (sync): Implement.
8337         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
8338         finalize.
8339         (finalize): Call dispose.
8340         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
8341         (gcCachedCount): New field.
8342         (finalize): New method.
8343         (putGCInCache): New method.
8344         (getGCFromCache): New method.
8345         * gnu/gcj/xlib/GC.java (GC): Make protected.
8346         (clone): Get new GC from cache if possible.
8347         (create): New static method.
8348         (dispose): Save old GC in cache.
8349         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
8350         deleting.
8351         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
8352         is null.
8353         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
8354         * java/awt/Container.java (visitChild): Dispose gfx2 when
8355         finished.
8356
8357 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
8358
8359         * java/math/BigInteger.java (probablePrime): New.
8360         * java/math/BigDecimal.java (unscaledValue): New.
8361
8362 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
8363
8364         * java/io/File.java (getAbsolutePath): On Windows, take care
8365         of paths like "C:", "G:foo\bar", etc.
8366         (getName): Make it work correctly on Windows.
8367         (getParent): Make it work correctly on Windows. For UNIX,
8368         fix bug that causes "/" to be returned as the parent of "/",
8369         instead of null as returned by Sun's JRE.
8370
8371         * java/io/natFileWin32.cc: Change copyright owner to FSF.
8372
8373 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8374
8375         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
8376         inner class.
8377         (CACHE_SIZE_PER_DISPLAY): New field
8378         (fontMetricsCache): New field
8379         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
8380         loading ISO10646-1 fonts.
8381
8382 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8383
8384         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
8385         characters.
8386         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
8387         characters.
8388
8389 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
8390
8391         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
8392         floating point.
8393
8394 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
8395
8396         * configure.host (*-linux*): Don't set slow_pthread_self if primary
8397         installed libpthread is either linuxthreads with floating stacks or
8398         NPTL.
8399
8400 2003-04-14  Tom Tromey  <tromey@redhat.com>
8401
8402         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
8403         of alignment.
8404
8405 2003-04-10  Tom Tromey  <tromey@redhat.com>
8406
8407         * verify.cc (pop64): Removed.
8408         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
8409         exception if top-of-stack is narrow.
8410         (initialize_stack): Check to ensure that <init> is not static and
8411         <clinit> is.
8412
8413 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
8414
8415         * java/io/ObjectStreamException
8416         * java/io/FileFilter
8417         * java/io/FilenameFilter
8418         * java/io/ObjectInput
8419         * java/io/ObjectOutput
8420         * java/io/ObjectStreamConstants
8421         Minor doc fixes, format fixes, spelling corrections, etc.
8422         * java/io/DataInput
8423         Corrected code samples in Javadocs to match reality
8424         * java/io/DataOutput
8425         * java/io/ObjectInputValidation
8426         Major documentation fixes - all Javadocs re-written or updated
8427
8428 2003-04-06  Michael Koch  <konqueror@gmx.de>
8429
8430         * java/net/URLConnection.java:
8431         Import classes directly.
8432         (URLConnection): Merged class documentation with classpath.
8433         (url): Moved, documentation from classpath added.
8434         (doInput): Moved, documentation from classpath added.
8435         (doOutput): Moved, documentation from classpath added.
8436         (allowUserInteraction): Moved.
8437         (useCaches): Moved, documentation from classpath added.
8438         (ifModifiedSince): Moved, documentation from classpath added.
8439         (connected): Moved, documentation from classpath added.
8440
8441 2003-04-06  Michael Koch  <konqueror@gmx.de>
8442
8443         * java/io/FileInputStream.java
8444         (skip): Renamed some variables to match classpath, added
8445         checks from classpath.
8446
8447 2003-03-31  Michael Koch  <konqueror@gmx.de>
8448
8449         * javax/swing/AbstractAction.java
8450         (AbstractAction): Reformatted.
8451         (serialVersionUID): New private member variable.
8452         * javax/swing/plaf/BorderUIResource.java
8453         (serialVersionUID): New private member variable.
8454         * javax/swing/plaf/basic/BasicLookAndFeel.java
8455         (serialVersionUID): New private member variable.
8456
8457 2003-03-31  Michael Koch  <konqueror@gmx.de>
8458
8459         * java/sql/Date.java
8460         (valueOf): Deprecated, reformatted.
8461         (toString): Deprecated, reformatted.
8462         * java/sql/Time.java
8463         (valueOf): Deprecated, reformatted.
8464         (toString): Deprecated, reformatted.
8465
8466 2003-03-31  Michael Koch  <konqueror@gmx.de>
8467
8468         * java/rmi/dgc/VMID.java
8469         (isUnique): Deprecated.
8470
8471 2003-03-31  Michael Koch  <konqueror@gmx.de>
8472
8473         * java/io/File.java
8474         (separator): Merged documentation from classpath.
8475         (separatorChar): Merged documentation from classpath.
8476         (pathSeparator): Merged documentation from classpath.
8477         (pathSeparatorChar): Merged documentation from classpath.
8478         (path): Merged documentation from classpath.
8479         (canRead): Merged documentation from classpath.
8480         (canWrite): Merged documentation from classpath.
8481         (createNewFile): Merged documentation from classpath.
8482         (delete): Merged documentation from classpath.
8483         (equals): Merged documentation from classpath.
8484         (exists): Merged documentation from classpath.
8485         (File): Renamed p to name to match classpath, merged documentation
8486         from classpath.
8487         (getAbsolutePath): Merged documentation from classpath.
8488         (getCanonicalPath): Merged documentation from classpath.
8489         (getCanonicalFile): Merged documentation from classpath.
8490         (getName): Merged documentation from classpath.
8491         (getParent): Merged documentation from classpath.
8492         (getParentFile): Merged documentation from classpath.
8493         (getPath): Merged documentation from classpath.
8494         (hashCode): Merged documentation from classpath.
8495         (isAbsolute): Merged documentation from classpath.
8496         (isDirectory): Merged documentation from classpath.
8497         (isFile): Merged documentation from classpath.
8498         (isHidden): Merged documentation from classpath.
8499         (lastModified): Merged documentation from classpath.
8500         (length): Merged documentation from classpath.
8501         (list): Merged documentation from classpath.
8502         (listFiles): Merged documentation from classpath.
8503         (toString): Merged documentation from classpath.
8504         (toURL): Merged documentation from classpath.
8505         (mkdir): Merged documentation from classpath.
8506         (mkdirs): Merged documentation from classpath.
8507         (createTempFile): Merged documentation from classpath.
8508         (setReadOnly): Merged documentation from classpath.
8509         (listRoots): Merged documentation from classpath.
8510         (compareTo): Merged documentation from classpath.
8511         (renameTo): Merged documentation from classpath.
8512         (setLastModified): Merged documentation from classpath.
8513         * java/io/PrintStream.java
8514         (auto_flush): Merged documentation from classpath.
8515         (PrintStream): Merged documentation from classpath.
8516         (checkError): Merged documentation from classpath.
8517         (setError): Merged documentation from classpath.
8518         (close): Merged documentation from classpath.
8519         (flush): Merged documentation from classpath.
8520         (print): Merged documentation from classpath.
8521         (println):  Merged documentation from classpath.
8522         (write): Renamed count to len to match classpath,
8523         merged documentation from classpath.
8524         * java/io/RandomAccessFile.java
8525         (readShort): Merged documentation from classpath.
8526         (readUnsignedByte): Merged documentation from classpath.
8527         (readUnsignedShort): Merged documentation from classpath.
8528         (readUTF): Merged documentation from classpath.
8529         (seek): Reformatted, merged documentation from classpath.
8530         (skipBytes): Renamed some variables to match classpath, reformatted,
8531         merged documentation from classpath.
8532         (write): Merged documentation from classpath.
8533         (writeBoolean): Merged documentation from classpath.
8534         (writeByte): Merged documentation from classpath.
8535         (writeShort): Merged documentation from classpath.
8536         (writeChar): Merged documentation from classpath.
8537         (writeInt): Merged documentation from classpath.
8538         (writeLong): Merged documentation from classpath.
8539         (writeFloat): Merged documentation from classpath.
8540         (writeDouble): Merged documentation from classpath.
8541         (writeBytes): Merged documentation from classpath.
8542         (writeChars): Merged documentation from classpath.
8543         (writeUTF): Reformatted.
8544         (getChannel): Reformatted.
8545
8546 2003-03-31  Michael Koch  <konqueror@gmx.de>
8547
8548         * java/awt/font/TextAttribute.java
8549         (readResolve): Throws java.io.InvalidObjectException.
8550
8551 2003-03-31  Michael Koch  <konqueror@gmx.de>
8552
8553         * java/rmi/server/LoaderHandler.java
8554         (loadClass): Deprecated.
8555         (getSecurityContext): Deprecated.
8556         * java/rmi/server/LogStream.java
8557         (getDefaultStream): Deprecated.
8558         (setDefaultStream): Deprecated.
8559         (getOutputStream): Deprecated.
8560         (setOutputStream): Deprecated.
8561         (write): Deprecated.
8562         (toString): Deprecated.
8563         (parseLevel): Deprecated.
8564         * java/rmi/server/Operation.java
8565         (Operation): Deprecated.
8566         (getOperation): Deprecated.
8567         (toString): Deprecated.
8568         * java/rmi/server/RemoteCall.java
8569         (getOutputStream): Deprecated.
8570         (releaseOutputStream): Deprecated.
8571         (getInputStream): Deprecated.
8572         (releaseInputStream): Deprecated.
8573         (getResultStream): Deprecated.
8574         (executeCall): Deprecated.
8575         (done): Deprecated.
8576         * java/rmi/server/RemoteRef.java
8577         (invoke): Deprecated.
8578         (newCall): Deprecated.
8579         (done): Deprecated.
8580         * java/rmi/server/RemoteStub.java
8581         (setRef): Deprecated.
8582         * java/rmi/server/Skeleton.java:
8583         No need to import java.lang.Exception explicitly.
8584         (dispatch): Deprecated.
8585         (getOperations): Deprecated.
8586
8587 2003-03-31  Michael Koch  <konqueror@gmx.de>
8588
8589         * java/rmi/dgc/VMID.java,
8590         java/rmi/registry/RegistryHandler.java,
8591         java/rmi/server/LogStream.java,
8592         java/rmi/server/Operation.java,
8593         java/rmi/server/RemoteCall.java,
8594         java/rmi/server/RemoteRef.java,
8595         java/rmi/server/RemoteStub.java:
8596         Reformatted.
8597
8598 2003-03-31  Michael Koch  <konqueror@gmx.de>
8599
8600         * javax/swing/AbstractCellEditor.java,
8601         javax/swing/AbstractListModel.java,
8602         javax/swing/ActionMap.java,
8603         javax/swing/BorderFactory.java,
8604         javax/swing/ButtonGroup.java,
8605         javax/swing/DefaultBoundedRangeModel.java,
8606         javax/swing/DefaultButtonModel.java,
8607         javax/swing/DefaultCellEditor.java,
8608         javax/swing/DefaultComboBoxModel.java,
8609         javax/swing/DefaultDesktopManager.java,
8610         javax/swing/DefaultListCellRenderer.java,
8611         javax/swing/DefaultSingleSelectionModel.java,
8612         javax/swing/InputMap.java,
8613         javax/swing/JComponent.java,
8614         javax/swing/JMenu.java,
8615         javax/swing/JSlider.java,
8616         javax/swing/KeyStroke.java,
8617         javax/swing/OverlayLayout.java,
8618         javax/swing/ScrollPaneLayout.java,
8619         javax/swing/SizeRequirements.java,
8620         javax/swing/UIManager.java,
8621         javax/swing/ViewportLayout.java,
8622         javax/swing/border/AbstractBorder.java,
8623         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8624         javax/swing/event/EventListenerList.java,
8625         javax/swing/table/AbstractTableModel.java,
8626         javax/swing/table/DefaultTableCellRenderer.java,
8627         javax/swing/table/DefaultTableColumnModel.java,
8628         javax/swing/table/DefaultTableModel.java,
8629         javax/swing/table/TableColumn.java,
8630         javax/swing/text/StyledEditorKit.java,
8631         javax/swing/tree/DefaultMutableTreeNode.java,
8632         javax/swing/tree/DefaultTreeModel.java,
8633         javax/swing/tree/DefaultTreeSelectionModel.java,
8634         javax/swing/tree/TreePath.java,
8635         javax/swing/undo/AbstractUndoableEdit.java,
8636         javax/swing/undo/StateEdit.java,
8637         javax/swing/undo/StateEditable.java,
8638         javax/swing/undo/UndoableEditSupport.java:
8639         Merges from classpath.
8640
8641 2003-03-30  Tom Tromey  <tromey@redhat.com>
8642
8643         * java/lang/String.java (data, boffset, count): Documented.
8644         (String(byte[],String)): Reformatted.
8645         (String(byte[])): Likewise.
8646         (lastIndexOf(int)): Likewise.
8647         (lastIndexOf(String)): Likewise.
8648         (substring(int)): Renamed argument to match Classpath.
8649         (String(StringBuffer)): Don't share buffer if it is nearly empty.
8650
8651         * java/lang/String.java: Miscellaneous minor formatting changes
8652         to match Classpath more closely.
8653
8654 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
8655             Tom Tromey  <tromey@redhat.com>
8656
8657         * java/lang/natString.cc (hashCode): Use cachedHashCode.
8658         (init()): Removed.
8659         (charAt): Put index in exception.
8660         (contentEquals): New method.
8661         Include StringBuffer.h.
8662         * java/lang/String.java (cachedHashCode): New field.
8663         (String()): Follow classpath implementation.
8664         (init()): Removed.
8665         (contentEquals): Declare.
8666         (subSequence): Don't declare IndexOutIfBoundsException in throws
8667         clause.
8668         (matches, replaceFirst, replaceAll, split): New methods from
8669         Classpath.
8670
8671 2003-03-29  Tom Tromey  <tromey@redhat.com>
8672
8673         * java/lang/String.java: Reordered to follow Classpath; merged in
8674         javadoc.
8675
8676         * java/text/MessageFormat.java: Removed some whitespace.
8677
8678         * Makefile.in: Rebuilt.
8679         * Makefile.am (awt_java_source_files): Added new files.
8680         * gnu/javax/rmi/PortableServer.java,
8681         gnu/javax/rmi/CORBA/DelegateFactory.java,
8682         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
8683         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
8684         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
8685         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
8686         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
8687         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
8688         javax/rmi/PortableRemoteObject.java,
8689         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
8690         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8691         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
8692         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
8693         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
8694         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
8695
8696         * java/lang/natClass.cc (newInstance): Put method name in
8697         exception.
8698         (getConstructor): Likewise.
8699         (getDeclaredConstructor): Likewise.
8700         (getPrivateMethod): Likewise.
8701
8702 2003-03-28  Tom Tromey  <tromey@redhat.com>
8703
8704         * java/lang/reflect/Proxy.java: New version from Classpath.
8705         * java/lang/Package.java: New version from Classpath.
8706
8707 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
8708
8709         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
8710         * configure: Regenerate.
8711
8712 2003-03-28  Michael Koch  <konqueror@gmx.de>
8713
8714         * java/io/File.java:
8715         Import needed classes instead of whole packages, merged class
8716         documentation with classpath, moved constants and variables to top of
8717         class.
8718         * java/io/PrintStream.java:
8719         Merged class documentation with classpath, moved constants and
8720         variables to top of class.
8721         * java/io/RandomAccessFile.java
8722         (RandomAccessFile): Merged with classpath.
8723         (read): Merged with classpath).
8724         (read*): Reformatted.
8725
8726 2003-03-28  Michael Koch  <konqueror@gmx.de>
8727
8728         * java/io/FileDescriptor.java
8729         (finalize): Throws Throwable, not IOException.
8730         * java/io/ObjectOutputStream.java
8731         (PutField.put): Doesnt throws anything.
8732
8733 2003­03-28  Michael Koch  <konqueror@gmx.de>
8734
8735         * java/io/FileOutputStream.java:
8736         Merged class documentation and authors with classpath.
8737         (FileOutputStream): Partly merged with classpath.
8738         (write): Merged with classpath.
8739         (getChannel): Make it synchronized instead of explicit block in this
8740         method.
8741         * java/io/RandomAccessFile.java:
8742         Merged class documentation and authors with classpath.
8743
8744 2003-03-26  Tom Tromey  <tromey@redhat.com>
8745
8746         * java/lang/natRuntime.cc (insertSystemProperties): Set
8747         gnu.classpath.home.url.
8748         * Makefile.in: Rebuilt.
8749         * Makefile.am: Define LIBDIR.
8750
8751 2003-03-25  Michael Koch  <konqueror@gmx.de>
8752
8753         * java/io/FileInputStream.java
8754         (read): Renamed b to buf and off to offset.
8755         * java/io/FileOutputStream.java
8756         (ch): Documentation added.
8757         (FileOutputStream): Documentation added.
8758         (getFD): Documentation added.
8759         (write): Documentation added.
8760         (close): Documentation added.
8761         (getChannel): Documentation added.
8762
8763 2003-03-24  Michael Koch  <konqueror@gmx.de>
8764
8765         * java/io/DataOutputStream.java
8766         (write): Merged from classpath.
8767         * java/io/File.java:
8768         Merged copyrigth with classpath.
8769         * java/io/FileInputStream.java
8770         (getChannel): Made it synchronized instead of using a synchronized
8771         block.
8772         * java/io/FileOutputStream.java: Reformatted.
8773         * java/io/InputStreamReader.java
8774         (InputStreamReader): Renamed enc to encoding_name.
8775         (close): Merged documentation from classpath.
8776         (getEncoding): Merged documentation from classpath.
8777         (ready): Merged documentation from classpath.
8778         (read): Merged documentation from classpath.
8779         * java/io/LineNumberReader.java
8780         (lineNumber): Made it private.
8781         (LineNumberReader): Use Constant instead of a direct value.
8782         * java/io/OutputStreamWriter.java
8783         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
8784         documentation from classpath.
8785         (close): Merged documentation from classpath.
8786         (flush): Merged documentation from classpath.
8787         (write): Merged documentation from classpath.
8788         * java/io/PrintStream.java: Reformatted.
8789
8790 2003-03-24  Michael Koch  <konqueror@gmx.de>
8791
8792         * javax/swing/text/ComponentView.java
8793         (getComponent): Must be final.
8794         * javax/swing/tree/DefaultTreeCellRenderer.java:
8795         Reformatted.
8796         * javax/swing/undo/StateEditable.java:
8797         Reformatted.
8798
8799 2003-03-24  Michael Koch  <konqueror@gmx.de>
8800
8801         * java/rmi/activation/ActivationInstantiator.java:
8802         Reformatted.
8803         * java/rmi/activation/Activator.java:
8804         Reformatted.
8805         * java/rmi/registry/RegistryHandler.java:
8806         Remerged from classpath.
8807
8808 2003-03-24  Michael Koch  <konqueror@gmx.de>
8809
8810         * java/util/Date.java:
8811         Fixed documentation starting tag to make javadoc happy.
8812         * java/util/regex/Pattern.java
8813         (Pattern): Implements Serializable.
8814         * java/util/PatternSyntaxException.java
8815         (serialVersionUID): New member variable.
8816
8817 2003-03-24  Michael Koch  <koqnueror@gmx.de>
8818
8819         * java/awt/ContainerOrderFocusTraversalPolicy.java
8820         (getFirstComponent): Implemented.
8821         (getLastComponent): Implemented.
8822         (getDefaultComponent): Implemented.
8823         (setImplicitDownCycleTraversal): Fixed implementation.
8824         * java/awt/Robot.java
8825         (Robot): Added documentation.
8826         * java/awt/Toolkit.java
8827         (getFontList): Deprecated.
8828         (getFontMetrics): Deprecated.
8829         (getPrintJob): Added documentation.
8830         (getSystemSelection): Added documentation.
8831         (getLockingKeyState): Added documentation.
8832         (setLockingKeyState): Added documentation.
8833         (createCustomCursor): Added documentation.
8834         (getBestCursorSize): Added documentation.
8835         (getMaximumCursorColors): Added documentation.
8836         (isFrameStateSupported): Added documentation.
8837
8838 2003-03-24  Michael Koch  <konqueror@gmx.de>
8839
8840         * java/io/RandomAccessFile.java:
8841         More little merges with classpath. No code changes.
8842
8843 2003-03-24  Michael Koch  <konqueror@gmx.de>
8844
8845         * java/net/natInetAddressNoNet.cc:
8846         Include stddef.h.
8847         * java/net/natPlainDatagramSocketImplNoNet.cc:
8848         Fixed inlcude of java/net/DatagramPacket.h.
8849         * java/net/natPlainSocketImplNoNet.cc:
8850         Include some missing classes.
8851
8852 2003-03-24  Michael Koch  <konqueror@gmx.de>
8853
8854         * java/awt/dnd/DropTarget.java
8855         (DropTargetAutoScroller): According to the online documentation, this
8856         is protected, but in reality it is public.
8857         * java/awt/dnd/DropTargetContext.java
8858         (TransferableProxy): According to the online documentation, this
8859         is protected, but in reality it is public.
8860
8861 2003-03-24  Michael Koch  <konqueror@gmx.de>
8862
8863         * java/io/DataInputStream.java
8864         (): Wrapped documentation line.
8865         (): Fixed @return tag.
8866         * java/io/DataOutputStream.java
8867         (written): Moved to top of class.
8868         (all methods): Merged documentation from classpath.
8869         * java/io/File.java:
8870         Merged copyright year with classpath.
8871         * java/io/FileInputStream.java
8872         (all methods): Merged documentation from classpath.
8873         * java/io/LineNumberReader.java
8874         (getLineNumber): Fixed @return tag.
8875         * java/io/ObjectInputStream.java.
8876         Reformatted.
8877         * java/io/ObjectOutputStream.java:
8878         Reformatted, fixed some @see tags.
8879         * java/io/OutputStreamWriter.java:
8880         Deleted empty line.
8881         * java/io/Writer.java:
8882         Reformatted.
8883
8884 2003-03-24  Michael Koch  <konqueror@gmx.de>
8885
8886         * java/awt/Frame.java
8887         (DEFAULT_CURSOR): Fixed @deprecated tag.
8888         (setCursor): Fixed @deprecated tag.
8889
8890 2003-03-24  Michael Koch  <konqueror@gmx.de>
8891
8892         * java/beans/beancontext/BeanContextEvent.java:
8893         Reformated.
8894
8895 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
8896
8897         * java/lang/natStringBuffer.cc (regionMatches): New function.
8898         * java/lang/String.java (count): Now package-private.
8899         * java/lang/StringBuffer.java: Merged with Classpath.
8900
8901 2003-03-23  Michael Koch  <konqueror@gmx.de>
8902
8903         * java/io/BufferedOutputStream.java:
8904         Reformated.
8905         * java/io/BufferedReader.java:
8906         Reformated.
8907         * java/io/ByteArrayOutputStream.java
8908         (size): Fixed @see tag.
8909         * java/io/CharArrayWriter.java
8910         (size): Fixed @see tag.
8911         * java/io/DataInput.java:
8912         Reformated.
8913         * java/io/DataOutput.java:
8914         Reformated.
8915         * java/io/DataOutputStream.java:
8916         Merged copyright years with classpath.
8917         * java/io/Externalizable.java:
8918         Reformated.
8919         * java/io/FileFilter.java:
8920         Reformated.
8921         * java/io/FileInputStream.java:
8922         Merged copyright years with classpath.
8923         * java/io/FileOutputStream.java:
8924         Merged copyright years with classpath.
8925         * java/io/FilePermission.java
8926         (FilePermission): Replaced @XXX with FIXME:.
8927         * java/io/FileWriter.java:
8928         Reformated.
8929         * java/io/FilenameFilter.java:
8930         Reformated.
8931         * java/io/FilterInputStream.java:
8932         Reformated.
8933         * java/io/FilterOutputStream.java:
8934         Reformated.
8935         * java/io/FilterReader.java:
8936         Reformated.
8937         * java/io/FilterWriter.java:
8938         Reformated.
8939         * java/io/LineNumberInputStream.java
8940         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
8941         happy.
8942         (getLineNumber): Fixed @return tag.
8943         * java/io/ObjectInput.java:
8944         Reformated.
8945         * java/io/ObjectOutput.java:
8946         Reformated.
8947         * java/io/ObjectStreamClass.java:
8948         Reformated.
8949         * java/io/PrintStream.java:
8950         Merged copyright years with classpath.
8951         * java/io/PushbackReader.java
8952         (PushbackReader): Replaced @code with @param.
8953         * java/io/SerializablePermission.java:
8954         Reformated.
8955         * java/io/StreamTokenizer.java
8956         (resetSyntax): Fixed @see tag.
8957
8958 2003-03-22  Richard Henderson  <rth@redhat.com>
8959
8960         * sysdep/ia64/locks.h: Include ia64intrin.h.
8961         (compare_and_swap): Use __sync_bool_compare_and_swap.
8962         (compare_and_swap_release): Expose ar.ccv assignment.
8963
8964 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
8965
8966         * include/posix.h: Add suffix for darwin dynamic libraries.
8967
8968 2003-03-21  Michael Koch  <konqueror@gmx.de>
8969
8970         * javax/swing/Action.java
8971         (ACCELERATOR_KEY): New constant.
8972         (ACTION_COMMAND_KEY): Likewise.
8973         (MNEMONIC_KEY): Likewise.
8974         * javax/swing/UnsupportedLookAndFeelException.java
8975         (UnsupportedLookAndFeelException): Must be public.
8976         * javax/swing/WindowConstants.java
8977         (EXIT_ON_CLOSE): New constant.
8978         * javax/swing/text/BadLocationException.java
8979         (offset): New member variable.
8980         (BadLocationException): New implementation, documentation added.
8981         (offsetRequested): New method.
8982         * javax/swing/text/Caret.java:
8983         Reformated.
8984         * javax/swing/text/Document.java:
8985         Reformated.
8986
8987 2003-03-21  Michael Koch  <konqueror@gmx.de>
8988
8989         * java/rmi/activation/Activatable.java
8990         (serialVersionUID): New member variable.
8991         * java/rmi/activation/ActivationGroup.java
8992         (serialVersionUID): New member variable.
8993         * java/rmi/activation/ActivationGroupDesc.java
8994         (serialVersionUID): New member variable.
8995         * java/rmi/registry/Registry.java:
8996         Reformated.
8997         (Registry): Deprecated.
8998         * java/rmi/server/LoaderHandler.java
8999         Reformated.
9000         (LoaderHandler): Deprecated.
9001         * java/rmi/server/LogStream.java
9002         Reformated.
9003         (LogStream): Deprecated.
9004         * java/rmi/server/Operation.java
9005         (Operation): Deprecated.
9006         * java/rmi/server/RMIFailureHandler.java:
9007         Reformated.
9008         * java/rmi/server/RMISocketFactory.java:
9009         Reformated.
9010         * java/rmi/server/RemoteCall.java
9011         (RemoteCall): Deprecated.
9012         * java/rmi/server/RemoteStub.java:
9013         Reformated.
9014         * java/rmi/server/Skeleton.java
9015         Reformated.
9016         (Skeleton): Deprecated.
9017
9018 2003-03-21  Michael Koch  <konqueror@gmx.de>
9019
9020         * java/io/LineNumberReader.java
9021         (LineNumberReader): Merged documentation with classpath.
9022         (getLineNumber): Likewise.
9023         (setLineNumber): Likewise.
9024         (mark): Likewise.
9025         (reset): Likewise.
9026         (read): Likewise.
9027         (readLine): Likewise.
9028         (skip): Likewise.
9029
9030 2003-03-21  Michael Koch  <konqueror@gmx.de>
9031
9032         * java/rmi/RMISecurityManager.java
9033         (checkAccept): Removed.
9034         (checkAccess): Likewise.
9035         (checkAccess): Likewise.
9036         (checkAwtEventQueueAccess): Likewise.
9037         (checkConnect): Likewise.
9038         (checkCreateClassLoader): Likewise.
9039         (checkDelete): Likewise.
9040         (checkExec): Likewise.
9041         (checkExit): Likewise.
9042         (checkLink): Likewise.
9043         (checkListen): Likewise.
9044         (checkMemberAccess): Likewise.
9045         (checkMulticast): Likewise.
9046         (checkPackageAccess): Likewise.
9047         (checkPackageDefinition): Likewise.
9048         (checkPermission): Likewise.
9049         (checkPrintJobAccess): Likewise.
9050         (checkPropertiesAccess): Likewise.
9051         (checkPropertyAccess): Likewise.
9052         (checkRead): Likewise.
9053         (checkSecurityAccess): Likewise.
9054         (checkSetFactory): Likewise.
9055         (checkSystemClipboardAccess): Likewise.
9056         (checkTopLevelWindow): Likewise.
9057         (checkWrite): Likewise.
9058
9059 2003-03-20  Michael Koch  <konqueror@gmx.de>
9060
9061         * gnu/java/nio/FileChannelImpl.java
9062         (address): Removed.
9063         (map_address): New member variable.
9064         (length): Make it package private.
9065         (fd): Make it package private.
9066         (buf): Make it package private.
9067         (file_obj): Make it package private.
9068         (FileChannelImpl): New constructor.
9069         (nio_mmap_file): Use RawData instead of long.
9070         (nio_munmap_file): Use RawData instead of long.
9071         (nio_msync): Use RawData instead of long.
9072         (implCloseChannel): New implementation using map_address.
9073         (read): Reformated.
9074         (map): Implemented.
9075         (create_direct_mapped_buffer): Implemented, use RawData, throws
9076         IOException.
9077         (force): Use map_address instead of address.
9078         * gnu/java/nio/MappedByteFileBuffer.java
9079         (address): Removed.
9080         (map_address): New member variable.
9081         (MappedByteFileBuffer): Use map_address instead of address, reformated.
9082         (several methods): Use map_address instead of address, replaced long
9083         with RawData where appropriate.
9084         * gnu/java/nio/natFileChannelImpl.cc
9085         (nio_mmap_file): Replaced long with RawData.
9086         (nio_munmap_file): Replaced long with RawData.
9087         (nio_msync): Replaced long with RawData.
9088         * gnu/java/nio/natMappedByteFileBuffer.cc
9089         (several methods): Replaced long with RawData where appropriate.
9090
9091 2003-03-20  Michael Koch  <konqueror@gmx.de>
9092
9093         * java/net/InetAddress.java,
9094         java/net/JarURLConnection.java,
9095         java/net/PlainDatagramSocketImpl.java,
9096         java/net/PlainSocketImpl.java,
9097         java/net/URLConnection.java:
9098         Merged copyright statements with classpath for easier merging.
9099
9100 2003-03-20  Michael Koch  <konqueror@gmx.de>
9101
9102         * java/io/FileInputStream.java
9103         (getChannel): New implementation.
9104         * java/io/FileOutputStream.java
9105         (ch): New member variable.
9106         (getChannel): Implemented.
9107         * java/io/RandomAccessFile.java
9108         (RandomAccessFile): Throws FileNotFoundException instead of
9109         IOException.
9110         (getChannel): New method.
9111         (ch): New member variable.
9112
9113 2003-03-20  Michael Koch  <konqueror@gmx.de>
9114
9115         * java/io/DataOutputStream.java,
9116         java/io/File.java,
9117         java/io/FileInputStream.java,
9118         java/io/FileOutputStream.java,
9119         java/io/InputStreamReader.java,
9120         java/io/LineNumberReader.java,
9121         java/io/OutputStreamWriter.java,
9122         java/io/PrintStream.java,
9123         java/io/RandomAccessFile.java:
9124         Merged copyright statements with classpath for easier merging.
9125
9126 2003-03-19  Michael Koch  <konqueror@gmx.de>
9127
9128         * java/lang/Process.java:
9129         Merged from classpath.
9130
9131 2003-03-19  Michael Koch  <konqueror@gmx.de>
9132
9133         * java/io/FileOutputStream.java
9134         (FileOutputStream): New constructor, merged from classpath.
9135         * java/io/FileWriter.java
9136         (FileWriter): New constructor, merged from classpath.
9137
9138 2003-03-18  Michael Koch  <konqueror@gmx.de>
9139
9140         * java/awt/ScrollPane.java
9141         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
9142         (getViewportSize): Likewise.
9143         (addNotify): Likewise.
9144         (removeNotify): Likewise.
9145         * java/awt/ScrollPaneAdjustable.java
9146         (ScrollPaneAdjustable): No longer extends Scrollbar.
9147         * java/beans/beancontext/BeanContextServices.java:
9148         Reformated.
9149         (getService): Added throws TooManyListenersException;
9150         * java/beans/beancontext/BeanContextServicesSupport.java:
9151         Reformated.
9152
9153 2003-03-18  Michael Koch  <konqueror@gmx.de>
9154
9155         * java/io/BufferedOutputStream.java,
9156         java/io/DataInput.java,
9157         java/io/DataInputStream.java,
9158         java/io/DataOutput.java,
9159         java/io/Externalizable.java:
9160         More merges from classpath.
9161
9162 2003-03-18  Michael Koch  <konqueror@gmx.de>
9163
9164         * configure.in: Fixed links to platform dependant java.net files.
9165         * configure: Regenerated.
9166         * java/net/natInetAddress.cc,
9167         java/net/natNetworkInterface.cc,
9168         java/net/natPlainDatagramSocketImpl.cc,
9169         java/net/natPlainSocketImpl.cc:
9170         Removed.
9171
9172 2003-03-18  Michael Koch  <konqueror@gmx.de>
9173
9174         * configure.in: Create links to architecture dependent files,
9175         introduced PLATFORMNET variable (set to NoNet for newlib usage).
9176         * configure: Regenerated.
9177         * java/net/natInetAddressNoNet.cc,
9178         java/net/natInetAddressPosix.cc,
9179         java/net/natInetAddressWin32.cc,
9180         java/net/natNetworkInterfaceNoNet.cc,
9181         java/net/natNetworkInterfacePosix.cc,
9182         java/net/natNetworkInterfaceWin32.cc,
9183         java/net/natPlainDatagramSocketImplNoNet.cc,
9184         java/net/natPlainDatagramSocketImplPosix.cc,
9185         java/net/natPlainDatagramSocketImplWin32.cc,
9186         java/net/natPlainSocketImplNoNet.cc,
9187         java/net/natPlainSocketImplPosix.cc,
9188         java/net/natPlainSocketImplWin32.cc: New files.
9189
9190 2003-03-18  Michael Koch  <konqueror@gmx.de>
9191
9192         * java/io/BufferedReader.java,
9193         java/io/BufferedWriter.java,
9194         java/io/ByteArrayOutputStream.java,
9195         java/io/FileFilter.java,
9196         java/io/FilePermission.java,
9197         java/io/FileReader.java,
9198         java/io/FileWriter.java,
9199         java/io/FilenameFilter.java,
9200         java/io/FilterInputStream.java,
9201         java/io/FilterOutputStream.java,
9202         java/io/FilterReader.java,
9203         java/io/FilterWriter.java,
9204         java/io/ObjectInput.java,
9205         java/io/ObjectInputValidation.java,
9206         java/io/ObjectOutput.java,
9207         java/io/ObjectStreamField.java,
9208         java/io/PipedInputStream.java,
9209         java/io/PipedReader.java,
9210         java/io/PrintWriter.java,
9211         java/io/PushbackReader.java,
9212         java/io/Reader.java,
9213         java/io/SerializablePermission.java,
9214         java/io/StringReader.java,
9215         java/io/Writer.java:
9216         Merged from classpath.
9217
9218 2003-03-17  Michael Koch  <konqueror@gmx.de>
9219
9220         * java/awt/ScrollPaneAdjustable.java:
9221         Compile fixes.
9222         
9223 2003-03-17  Michael Koch  <konqueror@gmx.de>
9224
9225         * java/net/DatagramSocket.java
9226         (connect): Fixed comment.
9227         * java/nio/ByteBuffer.java
9228         (hasArray): Fixed comment.
9229
9230 2003-03-17  Michael Koch  <konqueror@gmx.de>
9231
9232         * java/beans/Beans.java:
9233         Explicitely import classes not packages.
9234         * java/beans/FeatureDescriptor.java
9235         (preferred): New member variable.
9236         (isPreferred): New method.
9237         (setPreferred): New method.
9238         * java/beans/PropertyEditorManager.java:
9239         Explicitely import used classes.
9240         * java/beans/beancontext/BeanContextChild.java:
9241         Added line wrapping.
9242         * java/beans/beancontext/BeanContextChildSupport.java:
9243         Reindented.
9244         * java/beans/beancontext/BeanContextEvent.java:
9245         Reindented.
9246
9247 2003-03-17  Michael Koch  <konqueror@gmx.de>
9248
9249         * java/awt/Dialog.java
9250         (Dialog): New constructor, changed implementations, added
9251         documentation.
9252         * java/awt/ScrollPaneAdjustable.java
9253         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
9254         Serializable.
9255         (serialVersionUID): New member variable.
9256         (sp): New member variable.
9257         (orientation): New member variable.
9258         (value): New member variable.
9259         (minimum): New member variable.
9260         (maximum): New member variable.
9261         (visibleAmount): New member variable.
9262         (unitIncrement): New member variable.
9263         (blockIncrement): New member variable.
9264         (AdjustmentListener): New member variable.
9265         (ScrollPaneAdjustable): New implementation.
9266         (addAdjustmentListener): New method.
9267         (removeAdjustmentListener): New method.
9268         (getAdjustmentListeners): New method.
9269         (getBlockIncrement): New method.
9270         (getMaximum): New method.
9271         (getMinimum): New method.
9272         (getOrientation): New method.
9273         (getUnitIncrement): New method.
9274         (getValue): New method.
9275         (getVisibleAmount): New method.
9276         (setBlockIncrement): New method.
9277         (setMaximum): Implemented.
9278         (setMinimum): Implemented.
9279         (setUnitIncrement): New method.
9280         (setValue): New method.
9281         (setVisibleAmount): Implemented. 
9282         (paramString): New stubbed method.
9283         * java/awt/Window.java
9284         (show): Call setVisible().
9285         (hide): Call setVisible().
9286         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
9287         and WINDOW_STATE_CHANGED.
9288         (processWindowFocusEvent): New method.
9289         (processWindowStateEvent): New method.
9290         (postEvent): Deprecated.
9291         (applyResourceBundle): Deprecated.
9292         * java/awt/datatransfer/DataFlavor.java
9293         (DataFlavor): Doesn't thow ClassNotFoundException.
9294
9295 2003-03-17  Michael Koch
9296
9297         * javax/print/attribute/Attribute.java,
9298         javax/print/attribute/AttributeSet.java,
9299         javax/print/attribute/PrintRequestAttributeSet.java:
9300         New files.
9301         * Makefile.am
9302         (javax_source_files): Added new files:
9303         javax/print/attribute/Attribute.java
9304         javax/print/attribute/AttributeSet.java
9305         javax/print/attribute/PrintRequestAttributeSet.java
9306         * Makefile.in: Regenerated.
9307
9308 2003-03-17  Michael Koch
9309
9310         * javax/print/attribute/Attribute.java,
9311         javax/print/attribute/AttributeSet.java,
9312         javax/print/attribute/PrintRequestAttributeSet.java:
9313         New files.
9314         * Makefile.am
9315         (awt_java_source_files): Added new files:
9316         javax/print/attribute/Attribute.java
9317         javax/print/attribute/AttributeSet.java
9318         javax/print/attribute/PrintRequestAttributeSet.java
9319         * Makefile.in: Regenerated.
9320
9321 2003-03-16  Tom Tromey  <tromey@redhat.com>
9322
9323         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
9324         Include platform.h.
9325         * java/lang/natRuntime.cc (insertSystemProperties): Use
9326         _Jv_platform_path_separator.
9327         (nativeGetLibname): Use _Jv_platform_file_separator.
9328         (_load): Use _Jv_platform_onload_names.
9329         (onload_names): New global.
9330         * include/win32.h (_Jv_platform_file_separator): New define.
9331         (_Jv_platform_path_separator): Likewise.
9332         (_Jv_platform_onload_names): Likewise.
9333         (_Jv_platform_ffi_abi): Likewise.
9334         * include/posix.h (_Jv_platform_file_separator): New define.
9335         (_Jv_platform_path_separator): Likewise.
9336         (_Jv_platform_onload_names): Likewise.
9337         (_Jv_platform_ffi_abi): Likewise.
9338
9339 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
9340
9341         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
9342
9343 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
9344
9345         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
9346         hierarchy loop.
9347         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
9348         list to Object,ObjectStreamClass, moved callReadMethod code up into
9349         readObject and added Class argument to all setXxxField calls.
9350         (callReadMethod): Changed Class argument to ObjectStreamClass to be
9351         consistent with ObjectOutputStream and to facilitate caching the
9352         Method in the future.
9353         (setBooleanField): Added Class argument.
9354         (setByteField): Likewise.
9355         (setCharField): Likewise.
9356         (setDoubleField): Likewise.
9357         (setFloatField): Likewise.
9358         (setIntField): Likewise.
9359         (setLongField): Likewise.
9360         (setShortField): Likewise.
9361         (setObjectField): Likewise.
9362         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
9363         class hierarchy loop.
9364         (defaultWriteObject): Call writeFields with new argument list.
9365         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
9366         list to Object,ObjectStreamClass, moved callWriteMethod up into
9367         writeObject and added Class argument to all getXxxField calls.
9368         (callWriteMethod): Added ObjectStreamClass argument to be able to
9369         get the proper class to call getMethod on (each class can have (or
9370         not have) its own writeObject method).
9371         (getBooleanField): Added Class argument.
9372         (getByteField): Likewise.
9373         (getCharField): Likewise.
9374         (getDoubleField): Likewise.
9375         (getFloatField): Likewise.
9376         (getIntField): Likewise.
9377         (getLongField): Likewise.
9378         (getShortField): Likewise.
9379         (getObjectField): Likewise.
9380         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
9381         facilitate caching the Method object in the future.
9382
9383 2003-03-12  Andreas Schwab  <schwab@suse.de>
9384
9385         * configure.in: Avoid trailing /. in toolexeclibdir.
9386         * configure: Rebuilt.
9387
9388 2003-03-11  Michael Koch  <konqueror@gmx.de>
9389
9390         * gnu/java/nio/ByteBufferImpl.java
9391         (putInt): Use limit() instead of limit.
9392         * gnu/java/nio/CharBufferImpl.java
9393         (slice): Fixed implementation.
9394         (subSequence): Better bounds checking.
9395         * gnu/java/nio/MappedByteFileBuffer.java:
9396         Import all needed classes directly.
9397         * java/nio/ByteBuffer.java
9398         (hashCode): New dummy method.
9399         * java/nio/CharBuffer.java
9400         (array_offset): New member variable.
9401         (hasArray): Fixed documentation.
9402         (arrayOffset): Return array_offset.
9403
9404 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
9405
9406         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
9407         setter; made return value of getter const char* instead of char*
9408         * prims.cc: removed all references to _Jv_ThisExecutable().
9409         These are in the platform-specific sections now.
9410         * posix.cc: define platform-specific _Jv_ThisExecutable().
9411         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
9412         * win32.cc: define platform-specific _Jv_ThisExecutable()
9413         using GetModuleFilename()
9414         * java/lang/natRuntime.cc: set gnu.gcj.progname property
9415         to argv[0] instead of _Jv_ThisExecutable()
9416
9417 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
9418
9419         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
9420         that is set if we are using addr2name.awk instead of addr2line.
9421         (NameFinder): Set usingAddr2name if using addr2name.awk.
9422         (getExternalLabel): New native method to convert a method 
9423         name to an external label.
9424         (lookup): Convert name given by addr2line to an external label
9425         before demangling.
9426
9427         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
9428         constant representing the prefix attached to method names to
9429         convert them to an external label.
9430         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
9431         using LABEL_PREFIX.
9432
9433 2003-03-10  Tom Tromey  <tromey@redhat.com>
9434
9435         * Makefile.in: Rebuilt.
9436         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
9437         (JC1FLAGS): Removed -Wno-deprecated.
9438
9439 2003-03-10  Michael Koch  <konqueror@gmx.de>
9440
9441         * java/nio/ByteOrder.java
9442         (nativeOrder): Working implementation, added documentation.
9443         (toString): Added documentation.
9444
9445 2003-03-10  Michael Koch  <konqueror@gmx.de>
9446
9447         * java/net/DatagramSocket.java,
9448         java/net/MulticastSocket.java,
9449         java/net/Socket.java,
9450         java/net/URL.java,
9451         java/net/URLConnection.java:
9452         Fixed some documentation tags to make javadoc and friends happy.
9453
9454 2003-03-10  Michael Koch  <koqnueror@gmx.de>
9455
9456         * java/beans/beancontext/BeanContextServicesSupport.java,
9457         java/beans/beancontext/BeanContextSupport.java: New files.
9458         * Makefile.am
9459         (awt_source_files): Added new files.
9460         * Makefile.in: Regenerated.
9461
9462 2003-03-10  Michael Koch  <konqueror@gmx.de>
9463
9464         * java/awt/FocusTraversalPolicy.java
9465         (FocusTraversalPolicy): Documentation added.
9466         (getComponentAfter): Documentation added.
9467         (getComponentBefore): Documentation added.
9468         (getFirstComponent): Documentation added.
9469         (getLastComponent): Documentation added.
9470         (getDefaultComponent): Documentation added.
9471         (getInitialComponent): Documentation added.
9472         * java/awt/ScrollPaneAdjustable.java
9473         (sp): New member variable.
9474         (orientation): New member variable.
9475         (value): New member variable.
9476         (minimum): New member variable.
9477         (maximum): New member variable.
9478         (visibleAmount): New member variable.
9479         (unitIncrement): New member variable.
9480         (blockIncrement): New member variable.
9481         (adjustmentListener): New member variable.
9482         (ScrollPaneAdjustable): Rewrote.
9483         (addAdjustmentListener): New method.
9484         (removeAdjustmentListener): New method.
9485         (getAdjustmentListeners): New method.
9486         (getBlockIncrement): New method.
9487         (getMaximum): New method.
9488         (getMinimum): New method.
9489         (getOrientation): New method.
9490         (getUnitIncrement): New method.
9491         (getValue): New method.
9492         (getVisibleAmount): New method.
9493         (setBlockIncrement): New method.
9494         (setUnitIncrement): New method.
9495         (setMaximum): Implemented.
9496         (setMinimum): Implemented.
9497         (setValue): New method.
9498         (setVisibleAmount): Implemented.
9499         (paramString): New method.
9500         * java/awt/Window.java
9501         (show): Use setVisible(true) instead of super.show().
9502         (hide): Use sevVisible(false) instead of super.hide().
9503         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
9504         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
9505         (postEvent): Deprecated.
9506         (applyResourceBundle): Deprecated.
9507         (processWindowFocusEvent): New method.
9508         (processWindowStateEvent): New method.
9509         * java/awt/datatransfer/DataFlavor.java: Reindented.
9510         * java/awt/font/TextHitInfo.java
9511         (charIndex): New member variable.
9512         (leadingEdge): New member variable.
9513         (TextHitInfo): New constructor.
9514         (getCharIndex): Implemented.
9515         (isLeadingEdge): Implemented.
9516         (getInsertionIndex): Implemented.
9517         (hashCode): Access charIndex directly.
9518         (equals): Reformated.
9519         (leading): Implemented.
9520         (trailing): Implemented.
9521         (beforeOffset): Implemented.
9522         (afterOffset): Implemented.
9523         (getOtherHit): Implemented.
9524         (getOffsetHit): Implemented.
9525         (toString): Implemented.
9526         * java/awt/image/BufferedImage.java
9527         (BufferedImage): Implements WritableRenderedImage.
9528         (observers): New member variable.
9529         (addTileObserver): New method.
9530         (removeTileObserver): New method.
9531
9532 2003-03-09  Tom Tromey  <tromey@redhat.com>
9533
9534         PR libgcj/9934:
9535         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
9536         to lseek.  Return 0 if we can't compute the value.
9537
9538 2003-03-03  Michael Koch  <konqueror@gmx.de>
9539
9540         * java/net/NetworkInterface.java: Merged with classpath.
9541
9542 2003-03-03  Tom Tromey  <tromey@redhat.com>
9543
9544         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
9545         of bytecode.
9546         (handle_ret_insn): Fail if returning to jsr that appears at end of
9547         bytecode.
9548
9549 2003-03-03  Michael Koch  <konqueror@gmx.de>
9550
9551         * Makefile.am
9552         (ordinary_java_source_files):
9553         Added gnu/java/nio/MappedByteFileBuffer.java.
9554         (nat_source_files):
9555         Added gnu/java/nio/natMappedByteFileBuffer.cc.
9556         * Makefile.in: Regenerated.
9557
9558 2003-03-03  Michael Koch  <konqueror@gmx.de>
9559
9560         * java/net/DatagramSocket.java
9561         (connect): Merged comment from classpath.
9562         (receive): Merged documentation from classpath.
9563         * java/net/Socket.java
9564         (setSoTimeout): Clarified documentation.
9565         * java/net/URL.java
9566         (getPath): Merged from classpath.
9567         (getUserInfo): Merged from classpath.
9568         (getQuery): Merged from classpath.
9569         * java/net/URLStreamHandler.java
9570         (toExternalForm): Merged from classpath.
9571
9572 2003-03-02  Mark Wielaard  <mark@klomp.org>
9573
9574         * java/util/Properties.java (load): Only skip line if the first
9575         character is a comment, whitespaces don't count.
9576
9577 2003-03-02  Michael Koch  <konqueror@gmx.de>
9578
9579         * java/net/NetPermission.java:
9580         Merged copyright with classpath.
9581
9582 2003-03-02  Michael Koch  <konqueror@gmx.de>
9583
9584         * java/lang/Package.java:
9585         Remerged from classpath.
9586
9587 2003-03-02  Michael Koch  <konqueror@gmx.de>
9588
9589         * java/net/HttpURLConnection.java
9590         (HTTP_SERVER_ERROR): Deprecated.
9591         * java/net/MulticastSocket.java
9592         (send): Replaced checkMulticast with appropriate checkPermission call,
9593         deprecated.
9594         * java/net/URLDecoder.java
9595         (decode): Deprecated.
9596         * java/net/URLEncoder.java
9597         (encode): Deprecated.
9598
9599 2003-03-02  Michael Koch  <konqueror@gmx.de>
9600
9601         * javax/swing/text/Caret.java
9602         (getMagicCaretPosition): Fixed typo in method name.
9603         * javax/swing/text/DefaultCaret.java
9604         (getMagicCaretPosition): Fixed typo in method name.
9605
9606 2003-03-02  Michael Koch  <konqueror@gmx.de>
9607
9608         * java/awt/List.java
9609         (setMultipleSelections): Deprecated.
9610         (delItem): Deprecated.
9611         * java/awt/MenuComponent.java
9612         (getPeer): Deprecated.
9613         * java/awt/ScrollPane.java
9614         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
9615         * java/awt/dnd/MouseDragGestureRecognizer.java
9616         (mouseClicked): Added comment.
9617         (mousePressed): Added comment.
9618         (mouseReleased): Added comment.
9619         (mouseEntered): Added comment.
9620         (mouseExited): Added comment.
9621         (mouseDragged): Added comment.
9622         (mouseMoved): Added comment.
9623         * java/awt/event/KeyEvent.java
9624         (KeyEvent): Deprecated.
9625         (setModifiers): Deprecated.
9626         
9627 2003-03-02  Michael Koch  <konqueror@gmx.de>
9628
9629         * gnu/java/nio/FileChannelImpl.java
9630         (fd): Type FileDescriptor instead of int.
9631         (lengthInternal): Removed.
9632         (FileChannelImpl): Fixed arguments, check type of file object.
9633         (size): Made it native.
9634         (implPosition): New native method.
9635         (implTruncate): New native method.
9636         (position): Implemented.
9637         (truncate): Implemented.
9638         (nio_mmap_file): Changed arguments.
9639         (nio_munmap_file): Changed arguments.
9640         (nio_msync): Changed arguments.
9641         * gnu/java/nio/natFileChannelImpl.cc
9642         (lengthInternal): Removed.
9643         (size): New method.
9644         (implPosition): New method.
9645         (implTruncate): New method.
9646         (nio_mmap_file): Changed arguments.
9647         (nio_munmap_file): Changed arguments.
9648         (nio_msync): Changed arguments.
9649
9650 2003-03-02  Michael Koch  <konqueror@gmx.de>
9651
9652         * java/awt/dnd/DropTargetContext.java:
9653         Compile fix: Forgot to commit import.
9654         
9655 2003-03-02  Michael Koch  <konqueror@gmx.de>
9656
9657         * java/awt/Component.java,
9658         java/awt/ScrollPane.java:
9659         Fixed typos.
9660
9661 2003-03-02  Michael Koch  <konqueror@gmx.de>
9662
9663         * java/awt/dnd/DnDEventMulticaster.java: New file.
9664         * java/awt/dnd/DragSource.java
9665         (flavorMap): New member variable.
9666         (dragSourceListener): New member variable.
9667         (dragSourceMotionListener): New member variable.
9668         (getFlavorMap): Implemented.
9669         (createDragGestureRecognizer): Implemented.
9670         (addDragSourceListener): Implemented.
9671         (removeDragSourceListener): Implemented.
9672         (getDragSourceListeners): Implemented.
9673         (addDragSourceMotionListener): Implemented.
9674         (removeDragSourceMotionListener): Implemented.
9675         (getDragSourceMotionListeners): Implemented.
9676         (getListeners): Implemented.
9677         * java/awt/dnd/DragSourceContext.java
9678         (peer): New member variable.
9679         (cursor): New member variable.
9680         (transferable): New member variable.
9681         (trigger): New member variable.
9682         (dragSourceListener): New member variable.
9683         (image): New member variable.
9684         (offset): New member variable.
9685         (DragSourceContext): Implemented.
9686         (getDragSource): Implemented.
9687         (getComponent): Implemented.
9688         (getTrigger): Implemented.
9689         (getSourceActions): Implemented.
9690         (setCursor): Implemented.
9691         (getCursor): Implemented.
9692         (addDragSourceListener): Implemented.
9693         (removeDragSourceListener): Implemented.
9694         (getTransferable): Implemented.
9695         * java/awt/dnd/DropTarget.java
9696         (DropTargetAutoScroller.component): New member variable.
9697         (DropTargetAutoScroller.point): New member variable.
9698         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
9699         (DropTargetAutoScroller.updateLocation): Implemented.
9700         (active): Renamed from isActive, defaults to true now.
9701         (component): New member variable.
9702         (flavorMap): New member variable.
9703         (actions): New member variable.
9704         (dropTargetContext): New member variable.
9705         (dropTargetListener): New member variable.
9706         (DropTarget): Implemented.
9707         (getComponent): Implemented.
9708         (setComponent): Implemented.
9709         (setDefaultActions): Implemented.
9710         (getDefaultActions): Implemented.
9711         (setActive): Use active instead of isActive.
9712         (isActive): Use active instead of isActive.
9713         (addDropTargetListener): Implemented.
9714         (removeDropTargetListener): Implemented.
9715         (getFlavorMap): Implemented.
9716         (setFlavorMap): Implemented.
9717         (getDropTargetContext): Implemented.
9718         (createDropTargetContext): Implemented.
9719         (createDropTargetAutoScroller): Implemented.
9720         * java/awt/dnd/DropTargetContext.java
9721         (TransferableProxy.getTransferDataFlavors): Implemented.
9722         (TransferableProxy.isDataFlavorSupported): Implemented.
9723         (TransferableProxy.getTransferData): Implemented.
9724         (dropTarget):  New member variable.
9725         (dtcp): New member variable.
9726         (DropTargetContext): New package private constructor.
9727         (getDropTarget): Implemented.
9728         (getComponent): Implemented.
9729         (addNotify): Implemented.
9730         (removeNotify): Implemented.
9731         (getCurrentDataFlavorsAsList): Implemented.
9732         (isDataFlavorSupported): Implemented.
9733         * java/awt/dnd/MouseDragGestureRecognizer.java
9734         (registerListeners): Implemented.
9735         (unregisterListeners): Implemented.
9736         * Makefile.am
9737         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
9738         * Makefile.in: Regenerated.
9739
9740 2003-03-02  Michael Koch  <konqueror@gmx.de>
9741
9742         * java/awt/Component.java
9743         (eventTypeEnabled): New method.
9744         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
9745         * java/awt/Container.java
9746         (changeSupport): New member variable.
9747         (addPropertyChangeListener): New methods.
9748         * java/awt/ContainerOrderFocusTraversalPolicy.java
9749         (ContainerOrderFocusTraversalPolicy): Added comment.
9750         (getComponentAfter): Throw exception, documentation added.
9751         (getComponentBefore): Throw exception, documentation added.
9752         (getFirstComponent): Throw exception, documentation added.
9753         (getLastComponent): Throw exception, documentation added.
9754         (getDefaultComponent): Throw exception, documentation added.
9755         * java/awt/EventQueue.java: Reindented.
9756         * java/awt/FocusTraversalPolicy.java:
9757         (FocusTraversalPolicy): Added comment.
9758         (getComponentAfter): Documentation added.
9759         (getComponentBefore): Documentation added.
9760         (getFirstComponent): Documentation added.
9761         (getLastComponent): Documentation added.
9762         (getDefaultComponent): Documentation added.
9763         (getInitialComponent): Documentation added.
9764         * java/awt/ScrollPane.java
9765         (wheelScrollingEnabled): New member variable.
9766         (ScrollPane): Initialize wheelScollingEnabled.
9767         (eventTypeEnabled): New method.
9768         (isWheelScrollingEnabled): New method.
9769         (setWheelScrollingEnabled): New method.
9770
9771 2003-03-02  Michael Koch  <konqueror@gmx.de>
9772
9773         * java/net/DatagramSocket.java
9774         (closed): New member variable.
9775         (close): Use closed variable.
9776         (getInetAddress): No need to call isConnected().
9777         (getPort): No need to call isConnected().
9778         (disconnect): Reset remoteAddress and remotePort, fixed typo.
9779         (isClosed): Reimplemented.
9780         
9781 2003-03-02  Michael Koch  <konqueror@gmx.de>
9782
9783         * configure.in: Added check for memory mapping of files.
9784         * configure: Regenerated.
9785         * config.h.in: Regenerated.
9786
9787 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
9788
9789         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
9790         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
9791
9792 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
9793
9794         * java/io/File.java (normalizePath): Remove trailing separator
9795         on Windows only if path is not of the form "x:\".
9796
9797         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
9798         (java::io::File::attr): Change formatting a bit and use
9799         WIN32_EPOCH_MILLIS instead of magic numbers.
9800         (java::io::File::isAbsolute): Path must have at least 3 
9801         characters for a UNC network path.
9802         (java::io::File::init_native): Define.
9803         (java::io::File::performCreate): Likewise.
9804         (java::io::File::performSetReadOnly): Likewise.
9805         (java::io::File::performSetLastModified): Likewise.
9806         (java::io::File::performListRoots): Likewise.
9807
9808 2003-03-01  Tom Tromey  <tromey@redhat.com>
9809
9810         * java/lang/natObject.cc: Don't include assert.h.
9811         (heavy_lock_obj_finalization_proc): Use JvAssert.
9812         (remove_all_heavy): Likewise.
9813         (_Jv_MonitorEnter): Likewise.
9814         (_Jv_MonitorExit): Likewise.
9815         (wait): Likewise.
9816
9817 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
9818
9819         * java/io/File (getAbsolutePath): Prefix drive specifier on
9820         Windows for paths starting with a '\'.
9821         (toURL): Make URL more consistent with what Sun's JDK returns.
9822
9823         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
9824         true only if the path is a UNC network path or it starts with a
9825         drive specifier.
9826
9827         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
9828         Be prepared to handle either '/' or '\\' in the file path for
9829         Windows if using the "file" protocol.
9830         Canonicalise the file path if using a relative path in the given
9831         context and the "file" protocol.
9832
9833 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
9834
9835         * java/lang/natWin32Process.cc (startProcess): Double-quote each
9836         program array element passed to CreateProcess.
9837
9838 2003-03-01  Tom Tromey  <tromey@redhat.com>
9839
9840         * java/rmi/registry/RegistryHandler.java: Deprecate.
9841
9842 2003-03-01  Tom Tromey  <tromey@redhat.com>
9843
9844         * javax/accessibility/AccessibleEditableText.java,
9845         javax/accessibility/AccessibleHyperlink.java: New versions from
9846         Classpath.
9847
9848         * gnu/java/locale/LocaleInformation_af_ZA.java,
9849         gnu/java/locale/LocaleInformation_ar_AE.java,
9850         gnu/java/locale/LocaleInformation_ar_BH.java,
9851         gnu/java/locale/LocaleInformation_ar_DZ.java,
9852         gnu/java/locale/LocaleInformation_ar_EG.java,
9853         gnu/java/locale/LocaleInformation_ar_IN.java,
9854         gnu/java/locale/LocaleInformation_ar_IQ.java,
9855         gnu/java/locale/LocaleInformation_ar_JO.java,
9856         gnu/java/locale/LocaleInformation_ar_KW.java,
9857         gnu/java/locale/LocaleInformation_ar_LB.java,
9858         gnu/java/locale/LocaleInformation_ar_LY.java,
9859         gnu/java/locale/LocaleInformation_ar_MA.java,
9860         gnu/java/locale/LocaleInformation_ar_OM.java,
9861         gnu/java/locale/LocaleInformation_ar_QA.java,
9862         gnu/java/locale/LocaleInformation_ar_SD.java,
9863         gnu/java/locale/LocaleInformation_ar_SY.java,
9864         gnu/java/locale/LocaleInformation_ar_TN.java,
9865         gnu/java/locale/LocaleInformation_ar_YE.java,
9866         gnu/java/locale/LocaleInformation_be_BY.java,
9867         gnu/java/locale/LocaleInformation_bn_IN.java,
9868         gnu/java/locale/LocaleInformation_br_FR.java,
9869         gnu/java/locale/LocaleInformation_bs_BA.java,
9870         gnu/java/locale/LocaleInformation_ca_ES.java,
9871         gnu/java/locale/LocaleInformation_cs_CZ.java,
9872         gnu/java/locale/LocaleInformation_cy_GB.java,
9873         gnu/java/locale/LocaleInformation_da_DK.java,
9874         gnu/java/locale/LocaleInformation_de_AT.java,
9875         gnu/java/locale/LocaleInformation_de_BE.java,
9876         gnu/java/locale/LocaleInformation_de_CH.java,
9877         gnu/java/locale/LocaleInformation_de_DE.java,
9878         gnu/java/locale/LocaleInformation_de_LU.java,
9879         gnu/java/locale/LocaleInformation_el_GR.java,
9880         gnu/java/locale/LocaleInformation_en_AU.java,
9881         gnu/java/locale/LocaleInformation_en_BW.java,
9882         gnu/java/locale/LocaleInformation_en_CA.java,
9883         gnu/java/locale/LocaleInformation_en_DK.java,
9884         gnu/java/locale/LocaleInformation_en_GB.java,
9885         gnu/java/locale/LocaleInformation_en_HK.java,
9886         gnu/java/locale/LocaleInformation_en_IE.java,
9887         gnu/java/locale/LocaleInformation_en_IN.java,
9888         gnu/java/locale/LocaleInformation_en_NZ.java,
9889         gnu/java/locale/LocaleInformation_en_PH.java,
9890         gnu/java/locale/LocaleInformation_en_SG.java,
9891         gnu/java/locale/LocaleInformation_en_US.java,
9892         gnu/java/locale/LocaleInformation_en_ZA.java,
9893         gnu/java/locale/LocaleInformation_en_ZW.java,
9894         gnu/java/locale/LocaleInformation_es_AR.java,
9895         gnu/java/locale/LocaleInformation_es_BO.java,
9896         gnu/java/locale/LocaleInformation_es_CL.java,
9897         gnu/java/locale/LocaleInformation_es_CO.java,
9898         gnu/java/locale/LocaleInformation_es_CR.java,
9899         gnu/java/locale/LocaleInformation_es_DO.java,
9900         gnu/java/locale/LocaleInformation_es_EC.java,
9901         gnu/java/locale/LocaleInformation_es_ES.java,
9902         gnu/java/locale/LocaleInformation_es_GT.java,
9903         gnu/java/locale/LocaleInformation_es_HN.java,
9904         gnu/java/locale/LocaleInformation_es_MX.java,
9905         gnu/java/locale/LocaleInformation_es_NI.java,
9906         gnu/java/locale/LocaleInformation_es_PA.java,
9907         gnu/java/locale/LocaleInformation_es_PE.java,
9908         gnu/java/locale/LocaleInformation_es_PR.java,
9909         gnu/java/locale/LocaleInformation_es_PY.java,
9910         gnu/java/locale/LocaleInformation_es_SV.java,
9911         gnu/java/locale/LocaleInformation_es_US.java,
9912         gnu/java/locale/LocaleInformation_es_UY.java,
9913         gnu/java/locale/LocaleInformation_es_VE.java,
9914         gnu/java/locale/LocaleInformation_et_EE.java,
9915         gnu/java/locale/LocaleInformation_eu_ES.java,
9916         gnu/java/locale/LocaleInformation_fa_IR.java,
9917         gnu/java/locale/LocaleInformation_fi_FI.java,
9918         gnu/java/locale/LocaleInformation_fo_FO.java,
9919         gnu/java/locale/LocaleInformation_fr_BE.java,
9920         gnu/java/locale/LocaleInformation_fr_CA.java,
9921         gnu/java/locale/LocaleInformation_fr_CH.java,
9922         gnu/java/locale/LocaleInformation_fr_FR.java,
9923         gnu/java/locale/LocaleInformation_fr_LU.java,
9924         gnu/java/locale/LocaleInformation_ga_IE.java,
9925         gnu/java/locale/LocaleInformation_gd_GB.java,
9926         gnu/java/locale/LocaleInformation_gl_ES.java,
9927         gnu/java/locale/LocaleInformation_gv_GB.java,
9928         gnu/java/locale/LocaleInformation_he_IL.java,
9929         gnu/java/locale/LocaleInformation_hi_IN.java,
9930         gnu/java/locale/LocaleInformation_hr_HR.java,
9931         gnu/java/locale/LocaleInformation_hu_HU.java,
9932         gnu/java/locale/LocaleInformation_id_ID.java,
9933         gnu/java/locale/LocaleInformation_it_CH.java,
9934         gnu/java/locale/LocaleInformation_it_IT.java,
9935         gnu/java/locale/LocaleInformation_iw_IL.java,
9936         gnu/java/locale/LocaleInformation_ja_JP.java,
9937         gnu/java/locale/LocaleInformation_ka_GE.java,
9938         gnu/java/locale/LocaleInformation_kl_GL.java,
9939         gnu/java/locale/LocaleInformation_ko_KR.java,
9940         gnu/java/locale/LocaleInformation_kw_GB.java,
9941         gnu/java/locale/LocaleInformation_lt_LT.java,
9942         gnu/java/locale/LocaleInformation_lv_LV.java,
9943         gnu/java/locale/LocaleInformation_mi_NZ.java,
9944         gnu/java/locale/LocaleInformation_mk_MK.java,
9945         gnu/java/locale/LocaleInformation_mr_IN.java,
9946         gnu/java/locale/LocaleInformation_mt_MT.java,
9947         gnu/java/locale/LocaleInformation_nl_BE.java,
9948         gnu/java/locale/LocaleInformation_nl_NL.java,
9949         gnu/java/locale/LocaleInformation_nn_NO.java,
9950         gnu/java/locale/LocaleInformation_no_NO.java,
9951         gnu/java/locale/LocaleInformation_oc_FR.java,
9952         gnu/java/locale/LocaleInformation_pl_PL.java,
9953         gnu/java/locale/LocaleInformation_pt_BR.java,
9954         gnu/java/locale/LocaleInformation_pt_PT.java,
9955         gnu/java/locale/LocaleInformation_ro_RO.java,
9956         gnu/java/locale/LocaleInformation_ru_RU.java,
9957         gnu/java/locale/LocaleInformation_ru_UA.java,
9958         gnu/java/locale/LocaleInformation_se_NO.java,
9959         gnu/java/locale/LocaleInformation_sk_SK.java,
9960         gnu/java/locale/LocaleInformation_sl_SI.java,
9961         gnu/java/locale/LocaleInformation_sq_AL.java,
9962         gnu/java/locale/LocaleInformation_sr_YU.java,
9963         gnu/java/locale/LocaleInformation_sv_FI.java,
9964         gnu/java/locale/LocaleInformation_sv_SE.java,
9965         gnu/java/locale/LocaleInformation_ta_IN.java,
9966         gnu/java/locale/LocaleInformation_te_IN.java,
9967         gnu/java/locale/LocaleInformation_tg_TJ.java,
9968         gnu/java/locale/LocaleInformation_tl_PH.java,
9969         gnu/java/locale/LocaleInformation_tr_TR.java,
9970         gnu/java/locale/LocaleInformation_uk_UA.java,
9971         gnu/java/locale/LocaleInformation_ur_PK.java,
9972         gnu/java/locale/LocaleInformation_uz_UZ.java,
9973         gnu/java/locale/LocaleInformation_vi_VN.java,
9974         gnu/java/locale/LocaleInformation_yi_US.java,
9975         gnu/java/locale/LocaleInformation_zh_CN.java,
9976         gnu/java/locale/LocaleInformation_zh_HK.java,
9977         gnu/java/locale/LocaleInformation_zh_SG.java,
9978         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
9979         info; from Classpath.
9980
9981         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
9982         isPaintPending): New methods.
9983         * gnu/awt/xlib/XFramePeer.java (getState, setState,
9984         setMaximizedBounds): New methods.
9985         (beginLayout, endLayout, isPaintPending): Likewise.
9986         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
9987         (requestFocus): Likewise.
9988         (isObscured): Likewise.
9989         (canDetermineObscurity): Likewise.
9990         (coalescePaintEvent): Likewise.
9991         (updateCursorImmediately): Likewise.
9992         (createVolatileImage): Likewise.
9993         (handlesWheelScrolling): Likewise.
9994         (createBuffers): Likewise.
9995         (getBackBuffer): Likewise.
9996         (flip): Likewise.
9997         (destroyBuffers): Likewise.
9998
9999         * Makefile.in: Rebuilt.
10000         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
10001         RobotPeer.java.
10002         * gnu/java/awt/GLightweightPeer.java,
10003         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10004         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10005         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10006         gnu/java/awt/peer/gtk/GtkFramePeer.java,
10007         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10008         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10009         java/awt/dnd/peer/DragSourceContextPeer.java,
10010         java/awt/dnd/peer/DropTargetContextPeer.java,
10011         java/awt/peer/ButtonPeer.java,
10012         java/awt/peer/CheckboxMenuItemPeer.java,
10013         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
10014         java/awt/peer/ComponentPeer.java,
10015         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
10016         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
10017         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
10018         java/awt/peer/MenuBarPeer.java,
10019         java/awt/peer/MenuComponentPeer.java,
10020         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
10021         java/awt/peer/PopupMenuPeer.java,
10022         java/awt/peer/ScrollPanePeer.java,
10023         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
10024         java/awt/peer/TextComponentPeer.java,
10025         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
10026         New versions from Classpath.
10027         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
10028         * java/awt/peer/RobotPeer.java: Likewise.
10029
10030 2003-03-01  Mark Wielaard  <mark@klomp.org>
10031
10032         * java/io/ObjectInputStream.java: Reindent.
10033         * java/io/ObjectOutputStream.java: Likewise.
10034
10035 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
10036
10037         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
10038         jvalue for each argument. Simplify.
10039         * testsuite/libjava.jni/calls.c (docall),
10040         testsuite/libjava.jni/calls.java (longpb_f): check for argument
10041         misalignment.
10042
10043 2003-02-28  Mark Wielaard  <mark@klomp.org>
10044
10045         * Makefile.am (nat_source_files): Remove
10046         java/io/natObjectOutputStream.cc.
10047         * Makefile.in: Regenerated.
10048         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
10049         * java/io/ObjectStreamField.java (typename): New field.
10050         (ObjectStreamField(String, Class)): Initialize new field.
10051         (ObjectStreamField(String, String)): New Constructor.
10052         (getTypeCode): Use new field.
10053         (getTypeString): Use new field.
10054         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
10055         ObjectStreamExceptions. Remember and reset old BlockDataMode.
10056         Handle reading of Proxy classes. Never drain(), just write
10057         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
10058         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
10059         (flush): Call flush(), not just drain().
10060         (writeBoolean): Always use blockDataOutput.
10061         (writeByte): Likewise.
10062         (writeShort): Likewise.
10063         (writeChar): Likewise.
10064         (writeInt): Likewise.
10065         (writeLong): Likewise.
10066         (writeFloat): Likewise.
10067         (writeDouble): Likewise.
10068         (writeBytes): Likewise.
10069         (putfield (put(String,Object))): Throw IllegalArgumentException if
10070         field cannot be found.
10071         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
10072         (writeArraySizeAndElements): Write byte[] in one go.
10073         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
10074         set BlockDataMode to false.
10075         (annotateProxyClass): New method.
10076         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
10077         (getField): No longer native.
10078         (getMethod): Likewise.
10079         (setBlockDataMode): Always drain() on switch, return old mode.
10080         (static): New static code block.
10081         * java/io/natObjectOutputStream.cc: Removed.
10082         * java/io/ObjectInputStream.java (getField): No longer native.
10083         (getMethod): Likewise.
10084         (readObject): Remember and reset old BlockDataMode. Track whether
10085         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
10086         TC_LONGSTRING.
10087         (defaultReadObject): Set BlockDataMode to false during readFields.
10088         (resolveClass): Create new SecurityManager if necessary.
10089         Use Class.forName() if null ClassLoader found.
10090         (read(byte[],int,int): Copy remaining bytes to data before calling
10091         readNextBlock().
10092         (readFields): Set and reset BlockDataMode on call_read_method.
10093         Catch NoSuchFieldErrors.
10094         (setBlockDataMode): Return old mode.
10095         (static): New static code block.
10096         * java/io/natObjectInputStream.cc (getField): Removed.
10097         (getMethod): Likewise.
10098
10099 2003-02-27  Michael Koch  <konqueror@gmx.de>
10100
10101         * java/beans/Beans.java,
10102         java/beans/FeatureDescriptor.java
10103         java/beans/PropertyEditorManager.java:
10104         Reformated to GNU style.
10105
10106 2003-02-25  Michael Koch  <konqueror@gmx.de>
10107
10108         * gnu/java/nio/MappedByteFileBuffer.java,
10109         gnu/java/nio/natMappedByteFileBuffer.cc:
10110         New files, both are not compiled yet to get not noncompiling CVS.
10111
10112 2003-02-24  Tom Tromey  <tromey@redhat.com>
10113
10114         * java/util/prefs/AbstractPreferences.java (isUserNode):
10115         Implemented.
10116
10117 2003-02-24  Tom Tromey  <tromey@redhat.com>
10118
10119         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
10120         Deprecate.
10121         * java/lang/Thread.java (resume): Deprecate.
10122         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
10123         in @deprecated.
10124
10125 2003-02-23  Tom Tromey  <tromey@redhat.com>
10126
10127         * Makefile.in: Rebuilt.
10128         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
10129
10130 2003-02-23  Tom Tromey  <tromey@redhat.com>
10131
10132         * java/lang/natRuntime.cc (libraries_size, libraries_count,
10133         libraries): Removed.
10134         (add_library): Removed.
10135         (_load): Don't call add_library.
10136         (loadLibraryInternal): Likewise.
10137         (init): Likewise.
10138         (lookup_data): New struct.
10139         (find_symbol): New function.
10140         (_Jv_FindSymbolInExecutable): Use it.
10141
10142 2002-02-21  Anthony Green  <green@redhat.com>
10143
10144         * java/lang/Thread.java (Thread): New constructor taking stack
10145         size parameter (ignored for now).
10146         * Many methods: Merged GNU Classpath documentation.
10147
10148         * java/lang/Class.java (finalize): throws a Throwable.
10149
10150 2003-02-21  Mark Wielaard  <mark@klomp.org>
10151
10152         * java/util/zip/ZipEntry.java (setComment): Don't check length when
10153         argument is null.
10154
10155 2003-02-21  Mark Wielaard  <mark@klomp.org>
10156
10157         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
10158         then 65535 chars throw IllegalArgumentException.
10159
10160 2003-02-21  Mark Wielaard  <mark@klomp.org>
10161
10162         * java/util/zip/ZipFile.java (finalize): New method.
10163
10164 2003-02-21  Michael Koch  <konqueror@gmx.de>
10165
10166         * gnu/java/nio/natSocketChannelImpl.cc:
10167         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
10168         <cato@df.lth.se> for pointing to it.
10169
10170 2003-02-20  Raif S. Naffah <raif@fl.net.au>
10171
10172         * java/math/BigInteger.java (euclidInv): Take result array as an
10173         argument.  Updated all callers.
10174         (modInverse): Removed unused variables.
10175
10176 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
10177
10178         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
10179         config.status.
10180         * configure: Rebuilt.
10181
10182 2003-02-19  Michael Koch  <konqueror@gmx.de>
10183
10184         * gnu/java/nio/natSocketChannelImpl.cc:
10185         Added support for platforms without network support.
10186
10187 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10188
10189         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
10190         after config.h.  Use <> for consistency.
10191         * java/lang/natObject.cc: Likewise.
10192         * java/lang/natRuntime.cc: Likewise.
10193         * java/lang/natSystem.cc: Likewise.
10194         * java/util/natTimeZone.cc: Likewise.
10195         * win32.cc: Likewise.
10196         * include/posix.h (fcntl, socket, connect, close, bind, accept,
10197         listen, write, read): Undef to avoid interference from OS macros.
10198
10199 2003-02-19  Michael Koch  <konqueror@gmx.de>
10200
10201         * gnu/java/nio/ByteBufferImpl.java
10202         (ByteBufferImpl): Renamed two variables.
10203         * gnu/java/nio/CharBufferImpl.java
10204         (CharBufferImpl): Renamed two variables.
10205         * gnu/java/nio/DoubleBufferImpl.java
10206         (DoubleBufferImpl): Renamed two variables.
10207         * gnu/java/nio/FloatBufferImpl.java
10208         (FloatBufferImpl): Renamed two variables.
10209         * gnu/java/nio/IntBufferImpl.java
10210         (IntBufferImpl): Renamed two variables.
10211         * gnu/java/nio/LongBufferImpl.java
10212         (LongBufferImpl): Renamed two variables.
10213         * gnu/java/nio/ShortBufferImpl.java
10214         (ShortBufferImpl): Renamed two variables.
10215         * java/nio/CharBuffer.java
10216         (wrap): Fixed arguments to CharBufferImpl constructor.
10217         (hasArray): Only not read-only buffers have backing arrays.
10218         (length): Documentation added.
10219         (subSequence): Documentation added.
10220         * java/nio/DoubleBuffer.java
10221         (hasArray): Only not read-only buffers have backing arrays.
10222         * java/nio/FloatBuffer.java
10223         (hasArray): Only not read-only buffers have backing arrays.
10224         * java/nio/IntBuffer.java
10225         (hasArray): Only not read-only buffers have backing arrays.
10226         * java/nio/LongBuffer.java
10227         (hasArray): Only not read-only buffers have backing arrays.
10228         * java/nio/ShortBuffer.java
10229         (hasArray): Only not read-only buffers have backing arrays.
10230         
10231 2003-02-19  Michael Koch  <konqueror@gmx.de>
10232
10233         * javax/accessibility/AccessibleContext.java
10234         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
10235
10236 2003-02-19  Michael Koch  <konqueror@gmx.de>
10237
10238         * java/awt/ScrollPaneAdjustable.java: Reformated.
10239
10240 2003-02-19  Michael Koch <konqueror@gmx.de>
10241
10242         * gnu/awt/j2d/Graphics2DImpl.java
10243         (getFontRenderContext): New method.
10244         (drawGlyphVector): New method.
10245         * java/awt/Graphics2D.java
10246         (getFontRenderContext): New abstract method.
10247         (drawGlyphVector): New abstract method.
10248         
10249 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
10250
10251         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
10252         if necessary.
10253         
10254         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10255         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10256         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10257         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10258         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10259         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10260         (setFont, gtkSetFont): add.
10261         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
10262         Propagate font to peer.  (setFont): add FIXME comment.
10263
10264         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10265         (gtkTextGetSize): fix height, width computation.
10266
10267         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
10268         Make X font name a bit less bogus.
10269
10270         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10271         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
10272
10273         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
10274         (processAdjustmentEvent): Adjust value.
10275
10276         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
10277         logic errors.
10278
10279         * java/awt/Component.java (setVisible, show, hide): Call show and
10280         hide methods in subclasses.
10281         (getPreferredSize): don't set prefSize before we have peer.
10282
10283         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
10284         Guess (0,0) if we don't have peer.
10285
10286
10287 2003-02-18  Michael Koch  <konqueror@gmx.de>
10288
10289         * java/nio/channels/FileChannel.java
10290         (toString): New implementation, added documentation.
10291         (map): Added exception documentation.
10292         (size): Added exception documentation.
10293         (write): New methods, documentation work.
10294         (read): New methods, documentation work.
10295         (implCloseChannel): Rewrote exception documentation.
10296         (force): Throws IOException, added documentation.
10297         (lock): New methods.
10298         (tryLock): New methods.
10299         (position): New methods.
10300         (transferTo): New method.
10301         (transferFrom): New method.
10302         (truncate): New method.
10303         * java/nio/channels/spi/SelectorProvider.java
10304         (provider): Implemented.
10305         * Makefile.am
10306         (ordinary_java_source_files): Added the following files:
10307         gnu/java/nio/DatagramChannelImpl.java
10308         gnu/java/nio/FileChannelImpl.java
10309         gnu/java/nio/PipeImpl.java
10310         gnu/java/nio/SelectionKeyImpl.java
10311         gnu/java/nio/SelectorImpl.java
10312         gnu/java/nio/SelectorProviderImpl.java
10313         gnu/java/nio/ServerSocketChannelImpl.java
10314         gnu/java/nio/SocketChannelImpl.java
10315         java/nio/channels/FileLock.java
10316         (nat_java_source_files): Added the following files:
10317         gnu/java/nio/natFileChannelImpl.cc
10318         gnu/java/nio/natSelectorImpl.cc
10319         gnu/java/nio/natSocketChannelImpl.cc
10320         * Makefile.in: Regenerated.
10321
10322 2003-02-17  Tom Tromey  <tromey@redhat.com>
10323
10324         * java/awt/image/ColorModel.java: Re-merged with Classpath.
10325         * java/awt/image/ImageFilter.java: Likewise.
10326
10327 2003-02-17  Raif S. Naffah <raif@fl.net.au>
10328
10329         * java/math/BigInteger.java (euclidInv): Return array of
10330         `BigInteger's.  Changed all callers.
10331
10332 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
10333
10334         * java/util/Properties.java (store): Move the code formerly in
10335         list(), into this method.
10336         (list (PrintStream)): Just call list (PrintWriter) with a 
10337         PrintWriter object constructed from the given PrintStream object.
10338         (list (PrintWriter)): Emulate the output of Properties.list()
10339         as found in JDK 1.3/1.4.
10340
10341 2003-02-17  Michael Koch  <konqueror@gmx.de>
10342
10343         * java/net/DatagramSocket.java
10344         (connect): Merged with classpath.
10345         (disconnect): Merged documentation with classpath.
10346         (receice): Merged documentation with classpath.
10347         (send): Merged documentation with classpath.
10348         
10349 2003-02-17  Michael Koch  <konqueror@gmx.de>
10350
10351         * java/awt/dnd/DragSourceContext.java
10352         (addDragSourceListener): Added documentation.
10353         * java/awt/dnd/DragSourceDragEvent.java
10354         (serialVersionUID): New member variable.
10355         (getDropAction): Reformated.
10356         * java/awt/dnd/DragSourceDropEvent.java
10357         (serialVersionUID): New member variable.
10358         (dropSuccess): Renamed from success for serialization issues.
10359         * java/awt/dnd/DragSourceEvent.java
10360         (serialVersionUID): New member variable.
10361         * java/awt/dnd/DropTarget.java
10362         (serialVersionUID): New member variable.
10363         (DropTarget): Implemented, documentation reworked.
10364         (setComponent): Documentation added.
10365         (getComponent): Documentation added.
10366         (setDefaultActions): Documentation added.
10367         (getDefaultActions): Documentation added.
10368         (addDropTargetListener): Documentation added.
10369         * java/awt/dnd/DropTargetContext.java
10370         (DropTargetContext): Documentation added.
10371         (TransferableProxy.TransferableProxy): New method.
10372         (dropComplete): Fixed documentation.
10373         (getTransferable): Fixed documentation.
10374         (createTransferableProxy): Implemented.
10375         * java/awt/dnd/DropTargetDragEvent.java
10376         (DropTargetDragEvent): Documentation added.
10377         (serialVersionUID): New member variable.
10378         (DropTargetDragEvent): Throw exceptions, documentation added.
10379         (acceptDrag): Implemented.
10380         (getCurrentDataFlavors): Implemented.3yy
10381         (getCurrentDataFlavorsAsList): Implemented.
10382         (isDataFlavorSupported): Implemented.
10383         (rejectDrag): Implemented.
10384         * java/awt/dnd/DropTargetDropEvent.java
10385         (DropTargetDropEvent): Documentation added.
10386         (serialVersionUID): New member variable.
10387         (actions): Renamed from srcActions for serialization issues.
10388         (isLocalTx): Renamed from isLocalTx for serialization issues.
10389         (DropTargetDropEvent): New implementation, throw exceptions,
10390         documentation added.
10391         (getCurrentDataFlavors): Implemented.
10392         (getCurrentDataFlavorsAsList): Implemented.
10393         (isDataFlavorSupported): Implemented.
10394         (getSourceActions): Implemented.
10395         (getDropAction): Implemented.
10396         (getTransferable): Implemented.
10397         (acceptDrop): Implemented.
10398         (rejectDrop): Implemented.
10399         * java/awt/dnd/DropTargetListener.java
10400         (drop): Fixed documentation.
10401         * java/awt/dnd/MouseDragGestureRecognizer.java
10402         (MouseDragGestureRecognizer): Documentation added.
10403
10404 2003-02-17  Michael Koch  <konqueror@gmx.de>
10405
10406         * java/awt/font/FontRenderContext.java,
10407         java/awt/font/ShapeGraphicAttribute.java,
10408         java/awt/font/MultipleMaster.java,
10409         java/awt/font/TransformAttribute.java,
10410         java/awt/font/GlyphJustificationInfo.java,
10411         java/awt/font/LineBreakMeasurer.java,
10412         java/awt/font/TextMeasurer.java,
10413         java/awt/font/TextLayout.java,
10414         java/awt/font/LineMetrics.java,
10415         java/awt/font/TextAttribute.java,
10416         java/awt/font/GlyphMetrics.java,
10417         java/awt/font/OpenType.java,
10418         java/awt/font/GlyphVector.java,
10419         java/awt/font/GraphicAttribute.java,
10420         java/awt/font/ImageGraphicAttribute.java,
10421         java/awt/font/NumericShaper.java: New files.
10422         * Makefile.am
10423         (awt_java_source_files): Added the following files:
10424         java/awt/font/FontRenderContext.java
10425         java/awt/font/ShapeGraphicAttribute.java
10426         java/awt/font/MultipleMaster.java
10427         java/awt/font/TransformAttribute.java
10428         java/awt/font/GlyphJustificationInfo.java
10429         java/awt/font/LineBreakMeasurer.java
10430         java/awt/font/TextMeasurer.java
10431         java/awt/font/TextLayout.java
10432         java/awt/font/LineMetrics.java
10433         java/awt/font/TextAttribute.java
10434         java/awt/font/GlyphMetrics.java
10435         java/awt/font/OpenType.java
10436         java/awt/font/GlyphVector.java
10437         java/awt/font/GraphicAttribute.java
10438         java/awt/font/ImageGraphicAttribute.java
10439         java/awt/font/NumericShaper.java
10440         * Makefile.in: Regenerated.
10441
10442 2003-02-17  Michael Koch  <konqueror@gmx.de>
10443
10444         * java/awt/print/Paper.java
10445         (Paper): Implements Cloneable.
10446         * java/awt/print/PrinterJob.java
10447         (setJobName): Return value must be void.
10448         (print): Throws PrinterException.
10449         
10450 2003-02-16  Tom Tromey  <tromey@redhat.com>
10451
10452         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
10453         variable.
10454
10455 2003-02-15  Michael Koch  <konqueror@gmx.de>
10456
10457         * java/awt/datatransfer/DataFlavor.java
10458         (isRepresentationClassByteBuffer): Removed try-catch block.
10459         (isRepresentationClassCharBuffer): Removed try-catch block.
10460         (isRepresentationClassReader): Removed try-catch block.
10461
10462 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10463
10464         * java/nio/charset/Charset.java
10465         (isRegistered): Fixed method args and implementation.
10466         * java/nio/charset/CharsetEncoder.java
10467         (unmappableCharacterAction): New method.
10468
10469 2003-02-15  Michael Koch  <konqueror@gmx.de>
10470
10471         * java/awt/CheckboxMenuItem.java
10472         (CheckBoxMenuItem): Dont implement Serializable.
10473         (getListeners): New method,
10474         (getItemListeners): New method.
10475         * java/awt/Choice.java
10476         (getListeners): New method,
10477         (getItemListeners): New method.
10478         * java/awt/Container.java
10479         (getListeners): Added exception documentation.
10480         (setFocusTraversalKeys): Throw exceptions, added documentattion.
10481         (getFocusTraversalKeys): Added documentation.
10482         (areFocusTraversalKeysSet): Added documentation.
10483         (applyComponentOrientation): Added documentation.
10484         * java/awt/ContainerOrderFocusTraversalPolicy.java
10485         (implicitDownCycleTraversal): Renamed from downCycle for
10486         serialization.
10487         (ContainerOrderFocusTraversalPolicy): Added documentation.
10488         (accept): Reformated.
10489         * java/awt/Dialog.java
10490         (Dialog): Dont implement Serializable.
10491         (Dialog): Added documentation.
10492         * java/awt/Font.java
10493         (Font): Dont use absolute class name.
10494         * java/awt/Frame.java
10495         (Frame): Font implement Serializable.
10496         * java/awt/List.java
10497         (getListeners): New method,
10498         (getActionListeners): New method.       
10499         (getItemListeners): New method.
10500         * java/awt/Menu.java
10501         (countItems): New deprecated method.
10502         * java/awt/Scrollbar.java
10503         (getListeners): New method,
10504         (getAdjustmentListeners): New method,
10505         * java/awt/TextComponent.java
10506         (getListeners): New method,
10507         (getTextListeners): New method,
10508         * java/awt/TextField.java
10509         (getListeners): New method,
10510         (getActionListeners): New method.       
10511         * java/awt/Window.java
10512         (windowFocusListener): New member variable.
10513         (windowStateListener): New member variable.
10514         (getWindowFocusListeners): New method.
10515         (getWindowStateListeners): New method.
10516         (addWindowFocusListener): New method.
10517         (addWindowStateListener): New method.
10518         (removeWindowFocusListener): New method.
10519         (removeWindowStateListener): New method.
10520         * java/awt/datatransfer/DataFlavor.java
10521         (isRepresentationClassByteBuffer): New method.
10522         (isRepresentationClassCharBuffer): New method.
10523         (isRepresentationClassReader): New method.
10524
10525 2003-02-14  Mark Wielaard  <mark@klomp.org>
10526
10527         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
10528         zero when there is an exponent and the significant is zero.
10529         (divide): Always set scale to newScale even in special ZERO case.
10530
10531 2003-02-14  Tom Tromey  <tromey@redhat.com>
10532
10533         * java/lang/System.java (properties): Use Properties.clone.
10534         (setProperties): Likewise.
10535
10536 2003-02-14  Michael Koch  <konqueror@gmx.de>
10537
10538         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
10539         * gnu/java/nio/ServerSocketChannelImpl.java
10540         (SocketAccept): Removed.
10541         (accept): Commented out use of SocketAccept.
10542
10543 2003-02-13  Tom Tromey  <tromey@redhat.com>
10544
10545         * verify.cc (state::seen_subrs): New field.
10546         (state::state): Initialize it.
10547         (state::clean_subrs): New method.
10548         (state::~state): Call it.
10549         (state::copy): Copy subroutine list.
10550         (state::add_subr): New method.
10551         (state::merge): Only register a change if the current subroutine
10552         hasn't yet been noted.
10553
10554 2003-02-13  Mark Wielaard  <mark@klomp.org>
10555
10556         * java/io/InputStreamReader.java (getEncoding): Return null when
10557         closed.
10558         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
10559
10560 2003-02-13  Mark Wielaard  <mark@klomp.org>
10561  
10562         * java/util/zip/InflaterInputStream.java (read): Return zero when len
10563         is zero.
10564
10565 2003-02-13  Mark Wielaard  <mark@klomp.org>
10566
10567         * java/io/BufferedOutputStream.java (write(int)): Only flush when
10568         next byte cannot be buffered.
10569
10570 2003-02-13  Michael Koch  <konqueror@gmx.de>
10571  
10572         * java/awt/Label.java
10573         (Label): Don't implement Serializable directly.
10574         (addNotify): Fixed typo in documentation.
10575         * java/awt/List.java
10576         (List): Don't implement Serializable directly.
10577         * java/awt/PopupMenu.java
10578         (PopupMenu): Don't implement Serializable directly.
10579         * java/awt/ScrollPane.java
10580         (ScrollPane): Don't implement Serializable directly.
10581         * java/awt/Scrollbar.java
10582         (Scrollbar): Don't implement Serializable directly.
10583         * java/awt/TextArea.java
10584         (preferredSize): Fixed method arguments.
10585         * java/awt/TextField.java
10586         (TextField): Don't implement Serializable directly.
10587         * java/awt/color/ICC_ColorSpace.java
10588         (fromCIOXYZ): Documentation added.
10589         (getMinValue): Documentation added.
10590         (getMaxValue): Documentation added.
10591         * java/awt/datatransfer/DataFlavor.java
10592         (isMimeTypeEqual): May not be final.
10593         (clone): Throws CloneNotSupportedException.
10594         (getReaderForText): Don't throws UnsupportedEncodingException.
10595
10596 2003-02-13  Michael Koch  <konqueror@gmx.de>
10597  
10598         * gnu/java/awt/peer/gtk/GdkGraphics.java
10599         (drawString): New stubbed method.
10600         * java/awt/Graphics.java
10601         (drawString): New method.
10602
10603 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
10604
10605         PR libgcj/9271:
10606         * java/security/SecureRandom.java (next): Avoid bias in results.
10607
10608 2003-02-13  Michael  <konqueror@gmx.de>
10609
10610         * gnu/java/nio/FileChannelImpl.java
10611         (lengthInternal): Must be native.
10612         (size): Check if channel is already closed.
10613         (implCloseChannel): Reformated.
10614         (read): w was unused, removed it.
10615         (read): Removed.
10616         (read): New method.
10617         (write): New method.
10618         (map): Check arguments.
10619         (force): Throws IOException, check if channel is closed.
10620         (transferTo): New method.
10621         (transferFrom): New method.
10622         (lock): New method.
10623         (tryLock): New method.
10624         (position): New method.
10625         (truncate): New method.
10626         (nio_mmap_file): Uncommented.
10627         (nio_munmap_file): Uncommented.
10628         (nio_msync): Uncommented.
10629         * gnu/java/nio/natFileChannelImpl.cc: New file.
10630         
10631 2003-02-13  Michael Koch  <konqueror@gmx.de>
10632
10633         * java/nio/ByteBuffer.java
10634         (endian): New member variable.
10635         (get): New methods.
10636         (equals): New method.
10637         (compareTo): New method.
10638         (order): New methods.
10639         (compact): New method.
10640         (isDirect): New method.
10641         (slice): New method.
10642         (duplicate): New method.
10643         (asReadOnlyBuffer): New method.
10644         (asCharBuffer): New method.
10645         (asDoubleBuffer): New method.
10646         (asFloatBuffer): New method.
10647         (asIntBuffer): New method.
10648         (asLongBuffer): New method.
10649         (asShortBuffer): New method.
10650         (get*): New methods.
10651         (put*): New methods.
10652         (toString): New method.
10653         * java/nio/CharBuffer.java
10654         (CharBuffer): Implement Comparable instead of Cloneable.
10655         (get): May not be final.
10656         (put): May not be final.
10657         
10658 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
10659
10660         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
10661         lastIndexOf( ) instead of indexOf( ) to find the colon before
10662         the line number, because Win32 file names might contain a 
10663         drive letter and a colon at the start of an absolute path.
10664
10665 2003-02-13  Michael Koch  <konqueror@gmx.de>
10666
10667         * gnu/java/nio/natSocketChannelImpl.cc
10668         (SocketConnect): This is not implemented yet.
10669         (SocketBind): This is not implemented yet.
10670
10671 2003-02-13  Michael Koch  <konqueror@gmx.de>
10672
10673         * gnu/java/nio/natByteBufferImpl.cc,
10674         gnu/java/nio/natCharBufferImpl.cc,
10675         gnu/java/nio/natDoubleBufferImpl.cc,
10676         gnu/java/nio/natFloatBufferImpl.cc,
10677         gnu/java/nio/natIntBufferImpl.cc,
10678         gnu/java/nio/natLongBufferImpl.cc,
10679         gnu/java/nio/natShortBufferImpl.cc:
10680         Added copyright and license.
10681         * java/nio/DoubleBuffer.java,
10682         java/nio/FloatBuffer.java,
10683         java/nio/IntBuffer.java,
10684         java/nio/LongBuffer.java,
10685         java/nio/ShortBuffer.java
10686         (array): Throw exceptions.
10687         (arrayOffset): Throw exceptions.
10688
10689 2003-02-13  Michael Koch  <konqueror@gmx.de>
10690  
10691         * gnu/java/util/prefs/FileBasedFactory.java,
10692         gnu/java/util/prefs/MemmoryBasedFactory.java,
10693         gnu/java/util/prefs/MemoryBasedPreferences.java,
10694         gnu/java/util/prefs/NodeReader.java,
10695         gnu/java/util/prefs/NodeWriter.java,
10696         java/util/prefs/AbstractPreferences.java,
10697         java/util/prefs/BackingStoreException.java,
10698         java/util/prefs/InvalidPreferencesFormatException.java,
10699         java/util/prefs/NodeChangeEvent.java,
10700         java/util/prefs/NodeChangeListener.java,
10701         java/util/prefs/PreferenceChangeEvent.java,
10702         java/util/prefs/PreferenceChangeListener.java,
10703         java/util/prefs/Preferences.java,
10704         java/util/prefs/PreferencesFactory.java:
10705         New files, all merged from classpath.
10706         * Makefile.am
10707         (ordinary_java_source_files): Added the following files:
10708         gnu/java/util/prefs/FileBasedFactory.java,
10709         gnu/java/util/prefs/MemmoryBasedFactory.java,
10710         gnu/java/util/prefs/MemoryBasedPreferences.java,
10711         gnu/java/util/prefs/NodeReader.java,
10712         gnu/java/util/prefs/NodeWriter.java,
10713         (core_java_source_files): Added the following files:
10714         java/util/prefs/AbstractPreferences.java,
10715         java/util/prefs/BackingStoreException.java,
10716         java/util/prefs/InvalidPreferencesFormatException.java,
10717         java/util/prefs/NodeChangeEvent.java,
10718         java/util/prefs/NodeChangeListener.java,
10719         java/util/prefs/PreferenceChangeEvent.java,
10720         java/util/prefs/PreferenceChangeListener.java,
10721         java/util/prefs/Preferences.java,
10722         java/util/prefs/PreferencesFactory.java
10723         * Makefile.in: Regenerated.
10724  
10725 2003-02-13  Michael Koch  <konqueror@gmx.de>
10726
10727         * java/net/NetPermission.java
10728         (NetPermission): Make doucmentation match the method declaration.
10729         * java/net/NetworkInterface.java
10730         (equals): Reformated for GNU coding style.
10731         * java/net/ServerSocket.java: Merged with classpath.
10732         * java/net/Socket.java: Partly merged with classpath (Added some @since).
10733         * java/net/SocketImpl.java
10734         (localPort): Merged with classpath (initialize with -1).
10735         * java/net/SocketPermission.java: Merged with classpath (reindented).
10736         * java/net/URLDecoder.java: Merged with classpath (reindented).
10737
10738 2003-02-13  Michael Koch  <konqueror@gmx.de>
10739
10740         * java/awt/GridBagConstraints.java
10741         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
10742         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
10743         * java/awt/KeyboardFocusManager.java
10744         (setGlobalCurrentFocusCycleRoot): Must be public.
10745         * java/awt/MenuComponent.java
10746         (MenuComponent): Must be public.
10747         * java/awt/Toolkit.java:
10748         Added some empty lines to make documentation more readable.
10749         (getFontPeer): Added @deprecated.
10750         (getColorModel): Added exception documentation.
10751         (getProperty): Fixed documentation.
10752  
10753 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
10754
10755         * configure.host (alpha*-*): Default to -mieee.
10756         * configure.in (IEEESPEC): New.
10757         * libgcj.spec.in (jc1): Add IEEESPEC.
10758         * configure: Rebuild.
10759
10760 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
10761
10762         * include/win32.h: Include ws2tcpip.h instead of
10763         winsock.h to obtain definition of the socklen_t type.
10764         Remove IP_TOS definition - not needed with ws2tcpip.h
10765         (_Jv_connect): Correct slight formatting error.
10766
10767 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
10768
10769         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
10770         size of the arguments for a JNI function. For Win32,
10771         modify to search for all forms of possible exported
10772         names of an stdcall JNI function.
10773         (_Jv_JNIMethod::call): Modify to calculate the size
10774         of the arguments passed to a JNI function and pass
10775         it to _Jv_LookupJNIMethod.
10776
10777 2003-02-12  Michael Koch  <konqueror@gmx.de>
10778
10779         * java/nio/channels/Channels.java: New file.
10780         * Makefile.am
10781         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
10782         * Makefile.in: Regenerated.
10783
10784 2003-02-12  Michael Koch  <konqueror@gmx.de>
10785
10786         * java/nio/ByteBuffer.java
10787         (allocate): Implemented.
10788         (wrap): Implemented.
10789         * java/nio/CharBuffer.java:
10790         Some documentation added and reworked.
10791         (endian): Removed.
10792         (allocate): Implemented.
10793         (wrap): Implemented.
10794         (array): Throw exceptions.
10795         (arrayOffset): Throw exceptions.
10796         (toString): Implemented.
10797         (length): Implemented.
10798         (put): Implemented.
10799         (charAt): Implemented.
10800
10801 2003-02-11  John Leuner  <jewel@debian.org>
10802
10803         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
10804         reads from end of file.
10805
10806 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
10807
10808         * java/io/natFileDescriptorWin32.cc 
10809         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
10810         returns with Win32 error code ERROR_BROKEN_PIPE.
10811
10812 2003-02-11  Michael Koch  <konqueror@gmx.de>
10813
10814         * Makefile.in
10815         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
10816
10817 2003-02-11  Michael Koch  <konqueror@gmx.de>
10818
10819         * gnu/java/nio/ByteBufferImpl.java:
10820         Reformated and removed some code.
10821         (backing_buffer): Removed.      
10822         (array_offset): Removed.
10823         (ro): Renamed to readOnly.
10824         (ByteBufferImpl): Use parent constructor, initialize readOnly.
10825         * gnu/java/nio/CharBufferImpl.java:
10826         Reformated and removed some code.
10827         (array_offset): Removed.
10828         (ro): Renamed to readOnly.
10829         (CharBufferImpl): Use parent constructor, initialize readOnly.
10830         (inc_pos): Removed.
10831         (order): New method.
10832         * gnu/java/nio/DoubleBufferImpl.java:
10833         Reformated and removed some code.
10834         (array_offset): Removed.
10835         (ro): Renamed to readOnly.
10836         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
10837         (inc_pos): Removed.
10838         (order): New method.
10839         * gnu/java/nio/FloatBufferImpl.java:
10840         Reformated and removed some code.
10841         (array_offset): Removed.
10842         (ro): Renamed to readOnly.
10843         (FloatBufferImpl): Use parent constructor, initialize readOnly.
10844         (inc_pos): Removed.
10845         (order): New method.
10846         * gnu/java/nio/IntBufferImpl.java:
10847         Reformated and removed some code.
10848         (array_offset): Removed.
10849         (ro): Renamed to readOnly.
10850         (IntBufferImpl): Use parent constructor, initialize readOnly.
10851         (inc_pos): Removed.
10852         (order): New method.
10853         * gnu/java/nio/LongBufferImpl.java:
10854         Reformated and removed some code.
10855         (array_offset): Removed.
10856         (ro): Renamed to readOnly.
10857         (LongBufferImpl): Use parent constructor, initialize readOnly.
10858         (inc_pos): Removed.
10859         (order): New method.
10860         * gnu/java/nio/ShortBufferImpl.java:
10861         Reformated and removed some code.
10862         (array_offset): Removed.
10863         (ro): Renamed to readOnly.
10864         (ShortBufferImpl): Use parent constructor, initialize readOnly.
10865         (inc_pos): Removed.
10866         (order): New method.
10867         * Makefile.am
10868         (ordinary_java_source_files): Added the following files:
10869         gnu/java/nio/ByteBufferImpl.java
10870         gnu/java/nio/CharBufferImpl.java
10871         gnu/java/nio/DoubleBufferImpl.java
10872         gnu/java/nio/FloatBufferImpl.java
10873         gnu/java/nio/IntBufferImpl.java
10874         gnu/java/nio/LongBufferImpl.java
10875         gnu/java/nio/ShortBufferImpl.java
10876         java/nio/DoubleBuffer.java
10877         java/nio/FloatBuffer.java
10878         java/nio/IntBuffer.java
10879         java/nio/LongBuffer.java
10880         java/nio/ShortBuffer.java
10881         (nat_source_files): Added the following files:
10882         gnu/java/nio/natByteBufferImpl.cc
10883         gnu/java/nio/natCharBufferImpl.cc
10884         gnu/java/nio/natDoubleBufferImpl.cc
10885         gnu/java/nio/natFloatBufferImpl.cc
10886         gnu/java/nio/natIntBufferImpl.cc
10887         gnu/java/nio/natLongBufferImpl.cc
10888         gnu/java/nio/natShortBufferImpl.cc
10889         * Makefile.in: Regenerated.
10890
10891 2003-02-11  Michael Koch  <konqueror@gmx.de>
10892
10893         * gnu/java/nio/natCharBufferImpl.cc
10894         (nio_cast): Removed.
10895         (nio_put_*): Removed.
10896         (nio_get_*): Removed.
10897         * gnu/java/nio/natDoubleBufferImpl.cc
10898         (nio_cast): Removed.
10899         (nio_put_*): Removed.
10900         (nio_get_*): Removed.
10901         * gnu/java/nio/natFloatBufferImpl.cc
10902         (nio_cast): Removed.
10903         (nio_put_*): Removed.
10904         (nio_get_*): Removed.
10905         * gnu/java/nio/natIntBufferImpl.cc
10906         (nio_cast): Removed.
10907         (nio_put_*): Removed.
10908         (nio_get_*): Removed.
10909         * gnu/java/nio/natLongBufferImpl.cc
10910         (nio_cast): Removed.
10911         (nio_put_*): Removed.
10912         (nio_get_*): Removed.
10913         * gnu/java/nio/natShortBufferImpl.cc
10914         (nio_cast): Removed.
10915         (nio_put_*): Removed.
10916         (nio_get_*): Removed.
10917         * gnu/java/nio/SelectorProviderImpl.java
10918         (openDatagramChannel): Throws IOException.
10919         (openPipe): Throws IOException.
10920         (openSelector): Throws IOException.
10921         (openServerSocketChannel): Throws IOException.
10922         (openSocketChannel): Throws IOException.
10923         * gnu/java/nio/ServerSocketChannelImpl.java
10924         (ServerSocketChannelImpl): Throws IOException.
10925         (implCloseSelectableChannel): Throws IOException.
10926         (implConfigureBlocking): Throws IOException.
10927         * java/nio/ByteBuffer.java
10928         (readOnly): Removed.
10929         (hasArray): Use isReadOnly() instead of readOnly.
10930         (array): Use isReadOnly() instead of readOnly.
10931         (arrayOffset): Use isReadOnly() instead of readOnly.
10932         * java/nio/CharBuffer.java
10933         (CharBuffer): Implements Cloneable and CharSequence.
10934
10935 2003-02-11  Michael Koch  <konqueror@gmx.de>
10936
10937         * java/nio/DoubleBuffer.java
10938         (DoubleBuffer): Implements Comparable.
10939         (endian): Removed.
10940         (array_offset): New member variable.
10941         (DoubleBuffer): New constuctor.
10942         (get): May not be final.
10943         (put): May not be final.
10944         (arrayOffset): Implemented.
10945         (order): Made abstract.
10946         (order): Removed.
10947         (as*Buffer): Removed.
10948         (get*): Removed.
10949         (put*): Removed.
10950         * java/nio/FloatBuffer.java
10951         (FloatBuffer): Implements Comparable.
10952         (endian): Removed.
10953         (array_offset): New member variable.
10954         (FloatBuffer): New constuctor.
10955         (get): May not be final.
10956         (put): May not be final.
10957         (arrayOffset): Implemented.
10958         (order): Made abstract.
10959         (order): Removed.
10960         (as*Buffer): Removed.
10961         (get*): Removed.
10962         (put*): Removed.
10963         * java/nio/IntBuffer.java
10964         (IntBuffer): Implements Comparable.
10965         (endian): Removed.
10966         (array_offset): New member variable.
10967         (IntBuffer): New constuctor.
10968         (get): May not be final.
10969         (put): May not be final.
10970         (arrayOffset): Implemented.
10971         (order): Made abstract.
10972         (order): Removed.
10973         (as*Buffer): Removed.
10974         (get*): Removed.
10975         (put*): Removed.
10976         * java/nio/LongBuffer.java
10977         (LongBuffer): Implements Comparable.
10978         (endian): Removed.
10979         (array_offset): New member variable.
10980         (LongBuffer): New constuctor.
10981         (get): May not be final.
10982         (put): May not be final.
10983         (arrayOffset): Implemented.
10984         (order): Made abstract.
10985         (order): Removed.
10986         (as*Buffer): Removed.
10987         (get*): Removed.
10988         (put*): Removed.
10989         * java/nio/ShortBuffer.java
10990         (ShortBuffer): Implements Comparable.
10991         (endian): Removed.
10992         (array_offset): New member variable.
10993         (ShortBuffer): New constuctor.
10994         (get): May not be final.
10995         (put): May not be final.
10996         (arrayOffset): Implemented.
10997         (order): Made abstract.
10998         (order): Removed.
10999         (as*Buffer): Removed.
11000         (get*): Removed.
11001         (put*): Removed.
11002
11003 2003-02-11   Michael Koch  <konqueror@gmx.de>
11004
11005         * java/nio/channels/SelectionKey.java
11006         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
11007         values.
11008
11009 2003-02-11  Michael Koch  <konqueror@gmx.de>
11010
11011         * java/nio/channels/DatagramChannel.java
11012         (write): Throws IOException.
11013         (connect): Throws IOException.
11014         (disconnect): Throws IOException.
11015         (read): Throws IOException.
11016         (receive): Throws IOException.
11017         (send): Throws IOException.
11018         * java/nio/channels/Pipe.java
11019         (open): Throws IOException.
11020         * java/nio/channels/SelectableChannel.java
11021         (configureBlocking): Throws IOException.
11022         * java/nio/channels/ServerSocketChannel.java
11023         (accept): Throws IOException.
11024         * java/nio/channels/SocketChannel.java
11025         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
11026         GatheringByteChannel.
11027         (read): Throws IOException.
11028         (write): Throws IOException.
11029         (finishConnect): Throws IOException.
11030         * java/nio/channels/spi/AbstractInterruptibleChannel.java
11031         (end): Throws AsynchronousCloseException.
11032         * java/nio/channels/spi/AbstractSelectableChannel.java
11033         (configureBlocking): Throws IOException.
11034         (implCloseChannel): Throws IOException.
11035         (implCloseSelectableChannel): Throws IOException.
11036         (implConfigureBlocking): Throws IOException.
11037         * java/nio/channels/spi/SelectorProvider.java
11038         (openDatagramChannel): Throws IOException.
11039         (openPipe): Throws IOException.
11040         (openSelector): Throws IOException.
11041         (openServerSocketChannel): Throws IOException.
11042         (openSocketChannel): Throws IOException.
11043
11044 2003-02-11  Michael Koch  <konqueror@gmx.de>
11045
11046         * gnu/java/nio/FileLockImpl.java,
11047         java/nio/channels/FileLock.java: New files.
11048
11049 2003-02-11  Michael Koch  <konqueror@gmx.de>
11050
11051         * java/nio/charset/IllegalCharsetNameException.java
11052         (serialVersionUID): New member variable.
11053         (charsetName): New member variable.
11054         (IllegalCharsetException): New implementation.
11055         (getCharsetName): New implementation.
11056         * java/nio/charset/UnsupportedCharsetException.java
11057         (serialVersionUID): New member variable.
11058         (charsetName): New member variable.
11059         (UnsupportedCharsetException): New implementation.
11060         (getCharsetName): New implementation.
11061
11062 2003-02-10  Tom Tromey  <tromey@redhat.com>
11063
11064         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
11065         (ex): Renamed from sqlException.
11066
11067 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
11068
11069         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
11070         method used to ensure seeding has occurred and that a specific 
11071         seed can be set and used.
11072
11073 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
11074
11075         * java/lang/Win32Process.java (destroy): Declare as native.
11076         (hasExited): New native method.
11077         (exitValue): Define.
11078         (getErrorStream): Likewise.
11079         (getInputStream): Likewise.
11080         (getOutputStream): Likewise.
11081         (waitFor): Declare as native.
11082         (startProcess): New native method.
11083         (cleanup): Likewise.
11084         (ConcreteProcess): Define.
11085         (outputStream, inputStream, errorStream): New members.
11086         (procHandle, exitCode): Likewise.
11087
11088         * java/lang/natWin32Process.cc
11089         (java::lang::ConcreteProcess::cleanup): Define.
11090         (java::lang::ConcreteProcess::destroy): Likewise.
11091         (java::lang::ConcreteProcess::hasExited): Likewise.
11092         (java::lang::ConcreteProcess::waitFor): Likewise.
11093         (new_string): Likewise.
11094         (java::lang::ConcreteProcess::startProcess): Likewise.
11095
11096 2003-02-10  Raif S. Naffah <raif@fl.net.au>
11097
11098         * java/math/BigInteger.java:
11099         Updated notice to include years 2002 and 3.
11100         Added 2 private (int) arrays with values from the HAC (Handbook of
11101         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
11102         and t[] that contains nbr. of tests --used in isProbablePrime().
11103
11104         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
11105
11106         * java/math/BigInteger.java (make(int[],int), add(int,int),
11107         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
11108         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
11109         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
11110         make(long).
11111
11112         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
11113         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
11114         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
11115         BIs and returns void.
11116         (modInverse(BI)): Use new signatures of euclidInv().
11117
11118         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
11119         static small primes instead of remainder().
11120         Use pre-computed max nbr of trials based on bitlength of BI to test.
11121         Use pre-computed small primes for the trial tests instead of random
11122         numbers.
11123
11124         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
11125         not used.
11126
11127         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
11128         invoacation of MPN.chars_per_word().  not used.
11129
11130         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
11131         local var and used where needed.
11132
11133         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
11134         Combined declaration with initialisation of locals.
11135         Removed unused var.
11136
11137         * java/math/BigInteger.java: Style changes
11138         (pow(int)): Removed 'else' keyword.
11139         (toString(int)): idem.
11140         (doubleValue()): idem.
11141         (bitLength()): idem.
11142         (equals(Object)): Use static methods name in same class w/o prepending
11143         class name.
11144         (doubleValue()): idem.
11145         (setNegative(BI)): idem.
11146         (negate()): idem.
11147         (and(BI,int)): idem.
11148         (and(BI)): idem.
11149         (gcd(BI)): idem.
11150         (byteArrayToIntArray()): Removed casting to (int). this is
11151         std. behaviour.
11152         (canonicalize()): idem.
11153         (alloc(int)): Always instantiate a new BI.
11154
11155 2003-02-10  Tom Tromey  <tromey@redhat.com>
11156
11157         * java/sql/Timestamp.java (compareTo(Object)): New method.
11158         (compareTo(Timestamp)): Likewise.
11159         (serialVersionUID): Updated.
11160
11161 2003-02-07  Mark Wielaard  <mark@klomp.org>
11162
11163         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
11164         when verify is true.
11165         (JarFile(File, boolean)): Likewise.
11166         (manifestRead): Set manifestRead field correctly.
11167
11168 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11169
11170         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
11171         tests; see patch #1016 on Savannah.
11172
11173 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11174
11175         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
11176         (toString): do not return Strings starting with . and - erroneously.
11177         Improves Mauve results to 12 of 600 instead of 16 of 338 on
11178         DiagBigDecimal.
11179
11180 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11181
11182         * java/beans/PropertyDescriptor.java
11183         (PropertyDescriptor(String, Class)): Sanity check getter and setter
11184         methods.
11185         (PropertyDescriptor(String, Class, String, String)): Likewise.
11186         (PropertyDescriptor(String, Method, Method): Factor out getter and
11187         setter method sanity checks into new method.
11188         (findMethods): Don't do parameter sanity checking of get method here.
11189         (checkMethods): New method.
11190
11191 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11192
11193         * java/beans/PropertyDescriptor.java: Reformat.
11194
11195 2003-02-04  Tom Tromey  <tromey@redhat.com>
11196
11197         * java/io/PipedOutputStream.java (flush): Declare as throwing
11198         IOException.
11199         (close): Likewise.
11200         * java/io/PipedWriter.java (close): Declare as throwing
11201         IOException.
11202         * java/io/StringWriter.java (close): Declare as throwing
11203         IOException.
11204
11205 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
11206
11207         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
11208         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
11209         could also have been exported as "JNI_OnLoad@8" (MinGW) or
11210         "_JNI_OnLoad@8" (MSVC).
11211
11212 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
11213
11214         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
11215         convention on Win32 to invoke native JNI methods.
11216
11217 2003-02-03  Andrew Haley  <aph@redhat.com>
11218
11219         * configure.host (x86_64): Enable interpreter.
11220
11221 2003-02-03  Andrew Haley  <aph@redhat.com>
11222
11223         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
11224         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
11225         * configure.in (BACKTRACESPEC): New.
11226         * configure: Regenerate.
11227
11228 2003-02-02  Tom Tromey  <tromey@redhat.com>
11229
11230         * configure: Rebuilt.
11231         * configure.in (TOOLKIT) [xlib]: Set correctly.
11232
11233         * Makefile.in: Rebuilt.
11234         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
11235         libstdc++.
11236
11237 2003-01-31  Mark WIelaard  <mark@klomp.org>
11238
11239         * Makefile.in: Rebuilt.
11240         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
11241
11242 2003-01-31  Tom Tromey  <tromey@redhat.com>
11243
11244         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
11245         cast to element type.
11246         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
11247         (_Jv_JNI_GetObjectArrayElement): Likewise.
11248
11249         * Makefile.in: Rebuilt.
11250         * Makefile.am (cond_x_ltlibrary): Renamed library to
11251         lib-gnu-awt-xlib.la.
11252         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
11253         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
11254         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
11255         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
11256         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
11257         (lib_gnu_awt_xlib_la_LINK): Likewise.
11258         (install-exec-hook): Removed.
11259         (lib-gnu-awt-xlib.la): Renamed.
11260
11261 2003-01-31  Tom Tromey  <tromey@redhat.com>
11262
11263         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11264         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
11265         aclocal.m4 and lost in some merge.
11266
11267         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
11268         Don't try to find graphics configuration.
11269         * java/awt/Toolkit.java (default_toolkit_name): Use new
11270         Configuration entry.
11271         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
11272         New global.
11273         * configure: Rebuilt.
11274         * configure.in (TOOLKIT): New subst.
11275         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
11276         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
11277         directory.  Make output directories for .c files.
11278         * Makefile.in: Rebuilt.
11279         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
11280         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
11281         (all_java_source_files): Added new sources.
11282         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
11283         (gtk_c_files): New macro.
11284         (gtk_c_source_files): New macro.
11285         (cond_gtk_ltlibrary): New macro.
11286         ($(gtk_c_files)): New target.
11287         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
11288         (gtk_awt_peer_sources): New macro.
11289         (gtk_c_headers): New macro.
11290         ($(gtk_c_headers)): New target.
11291         (ACLOCAL_AMFLAGS): New macro.
11292         * gtk.m4, glib.m4, libart.m4: New files.
11293         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
11294         gnu/java/awt/peer/gtk/GdkGraphics.java,
11295         gnu/java/awt/peer/gtk/GtkArg.java,
11296         gnu/java/awt/peer/gtk/GtkArgList.java,
11297         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
11298         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
11299         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
11300         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
11301         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
11302         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
11303         gnu/java/awt/peer/gtk/GtkClipboard.java,
11304         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11305         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
11306         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
11307         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
11308         gnu/java/awt/peer/gtk/GtkFontPeer.java,
11309         gnu/java/awt/peer/gtk/GtkFramePeer.java,
11310         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
11311         gnu/java/awt/peer/gtk/GtkImage.java,
11312         gnu/java/awt/peer/gtk/GtkImagePainter.java,
11313         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
11314         gnu/java/awt/peer/gtk/GtkListPeer.java,
11315         gnu/java/awt/peer/gtk/GtkMainThread.java,
11316         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
11317         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
11318         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
11319         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
11320         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
11321         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
11322         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
11323         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
11324         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11325         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11326         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
11327         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11328         gnu/java/awt/peer/gtk/GtkToolkit.java,
11329         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11330         gnu/java/awt/peer/gtk/TestAWT.java,
11331         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
11332         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
11333         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
11334         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
11335         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
11336         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
11337         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
11338         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
11339         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
11340         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
11341         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
11342         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
11343         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
11344         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
11345         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
11346         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
11347         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
11348         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
11349         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
11350         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
11351         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
11352         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
11353         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
11354         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
11355         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
11356         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
11357         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
11358         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
11359         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
11360         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
11361         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
11362         jni/classpath/native_state.c, jni/classpath/native_state.h,
11363         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
11364
11365 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
11366
11367         * java/util/Properties.java (load): Ignore backslash before EOF.
11368
11369 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
11370
11371         * java/lang/natClass.cc (initializeClass): Check tables when
11372         (state == JV_STATE_IN_PROGRESS).
11373         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
11374         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
11375         interpreted classes.
11376         (linkClass0): Use _Jv_WaitForState.
11377
11378 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
11379
11380         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
11381         object when finished.
11382
11383 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
11384
11385         * libjava/configure.host: Disable can_unwind_signal on darwin.
11386
11387 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
11388
11389         Fixes PR java/9254:
11390         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
11391         additionally containing id of the owner thread as well as
11392         the number of nested times the thread has acquired the mutex.
11393         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
11394         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
11395         (_Jv_MutexUnlock): Check if really the owner thread, reset
11396         owner thread id to 0 before leaving, if leaving for the last
11397         time.
11398         (_Jv_MutexLock): Set owner thread id in the mutex and increment
11399         refcount.
11400         (_Jv_ThreadYield): Yield using a call to Sleep(0).
11401         * win32-threads.cc (_Jv_CondWait): Check if really owner of
11402         the passed mutex.
11403         Pass handle of the broadcast event, instead of a pointer to it
11404         in Win32 ResetEvent( ) call.
11405         Remove incorrect return values.
11406         (_Jv_CondDestroy): Close both event handles and delete
11407         critical section.
11408         (_Jv_CondNotify): Check if really the owner thread.
11409         (_Jv_CondNotifyAll): Check if really the owner thread.
11410         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
11411         (really_start): Use SetEvent( ) to signal daemon_cond.
11412         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
11413         WaitForSingleObject( ) instead to wait for daemon_cond to be
11414         signalled.
11415
11416 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
11417
11418         * configure.in: Specifically define HAVE_BACKTRACE if building
11419         for MinGW.
11420         * include/win32.h: Remove HAVE_BACKTRACE definition.
11421         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
11422         * configure: Rebuilt.
11423
11424 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
11425
11426         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
11427         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
11428         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
11429         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
11430         * Makefile.in, configure: Rebuilt.
11431
11432 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
11433
11434         Fixes PR java/9253:
11435         * java/io/natFileWin32.cc (performList): Append only "*.*"
11436         if the canonical file path already has a "\" at the end.
11437
11438 2003-01-24  Tom Tromey  <tromey@redhat.com>
11439
11440         * defineclass.cc (handleMethodsEnd): Precompute code for static
11441         method.
11442         (handleCodeAttribute): Likewise.
11443         * resolve.cc (ncode): Use run_class for unsynchronized static
11444         methods.
11445         * include/java-interp.h (class _Jv_InterpMethod): Declare
11446         run_class.
11447         * interpret.cc (run_synch_class): Initialize class.
11448         (run) [insn_invokestatic]: Don't initialize class.
11449         [insn_anewarray]: Likewise.
11450         [insn_multianewarray]: Likewise.
11451         (run_class): New function.
11452
11453 2003-01-24  Tom Tromey  <tromey@redhat.com>
11454
11455         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
11456         comment.
11457
11458 2003-01-22  Andrew Haley  <aph@redhat.com>
11459
11460         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
11461         * configure.host (CHECKREFSPEC): Define for x86_64.
11462
11463 2003-01-21  Tom Tromey  <tromey@redhat.com>
11464
11465         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
11466         search at 2, not 3.
11467
11468 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
11469
11470         * java/io/natFileWin32.cc (isAbsolute): Check path length before
11471         looking at any characters.
11472         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
11473         be used.
11474         (isAbsolute): Check path's length as well.
11475
11476 2003-01-17  Mark Wielaard  <mark@klomp.org>
11477
11478         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
11479         (nat_source_files): Add natVMObjectStreamClass.cc.
11480         * Makefile.in: Regenerated.
11481         * gcj/javaprims.h (namespace java): Regenerated.
11482         * java/io/ObjectStreamClass.java (getClassUID): Call
11483         VMObjectStreamClass.hasClassInitializer().
11484         (hasClassInitializer): Removed.
11485         * java/io/VMObjectStreamClass.java: New class.
11486         * java/io/natVMObjectStreamClass.cc: New file.
11487         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
11488
11489 2003-01-16  Mark Wielaard  <mark@klomp.org>
11490
11491         * java/net/SocketImpl.java (toString): Don't explicitly call
11492         toString() on possible null address.
11493
11494 2003-01-16  Michael Koch  <konqueror@gmx.de>
11495
11496         * java/net/MulticastSocket.java
11497         (setInterface): Reindented.
11498
11499 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11500
11501         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
11502         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
11503         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
11504         translateY arguments.  Implement.
11505         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
11506         down translation arguments.
11507         (drawPolyline, drawPolygon): Fix incorrect tests.
11508         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
11509         translateX and translateY arguments.
11510
11511 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11512
11513         * Makefile.in: Rebuilt.
11514         * Makefile.am (xlib_includes): New macro.
11515         (INCLUDES): Use it.
11516
11517 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11518
11519         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
11520         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
11521         16-bit display mode.
11522
11523 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11524
11525         * java/awt/CardLayout.java (show): Rewrote.
11526         (gotoComponent): Removed `target' argument.  Simplified code.
11527         Don't pre-compute `choice' unless `what' is FIRST or LAST.
11528         Changed all callers.
11529         (NONE): Removed.
11530         
11531 2003-01-14  Michael Koch  <konqueror@gmx.de>
11532
11533         * java/net/InetSocketAddress.java
11534         (serialVersionUID): New member variable.
11535         * java/net/NetPermission.java
11536         (NetPermission): Dont implement java.io.Serialization directly.
11537         * java/net/SocketAddress.java:
11538         (serialVersionUID): Documentation added.
11539         
11540 2003-01-14  Michael Koch  <konqueror@gmx.de>
11541
11542         * java/awt/Label.java
11543         (Label): Implements javax.accessibility.Accessible;
11544         * java/awt/List.java
11545         (List): Implements javax.accessibility.Accessible;
11546         * java/awt/ScrollPane.java
11547         (ScrollPane): Implements javax.accessibility.Accessible;
11548         * java/awt/Scrollbar.java
11549         (Scrollbar): Implements javax.accessibility.Accessible;
11550         * java/awt/TextComponent.java
11551         (setCaretPosition): Throw exception, documentation added.
11552         * java/awt/Toolkit.java:
11553         Added some newlines in method documentations.
11554         (createButton): Exception documentation added.
11555         (createTextField): Exception documentation added.
11556         (createLabel): Exception documentation added.
11557         (createList): Exception documentation added.
11558         (createCheckbox): Exception documentation added.
11559         (createScrollbar): Exception documentation added.
11560         (createScrollPane): Exception documentation added.
11561         (createTextArea): Exception documentation added.
11562         (createChoice): Exception documentation added.
11563         (createFrame): Exception documentation added.
11564         (createWindow): Exception documentation added.
11565         (createDialog): Exception documentation added.
11566         (createMenuBar): Exception documentation added.
11567         (createMenu): Exception documentation added.
11568         (createMenuItem): Exception documentation added.
11569         (createFileDialog): Exception documentation added.
11570         (createCheckboxMenuItem): Exception documentation added.
11571         (loadSystemColors): Exception documentation added.
11572         (setDynamicLayout): Exception documentation added.
11573         (isDynamicLayoutSet): Exception documentation added.
11574         (isDynamicLayoutActive): Exception documentation added.
11575         (getScreenSize): Exception documentation added.
11576         (getScreenResolution): Exception documentation added.
11577         (getScreenInsets): Exception documentation added.
11578         (getColorModel): Exception documentation added.
11579         (getSystemClipboard): Exception documentation added.
11580         (getSystemSelection): Exception documentation added.
11581         (getMenuShortcutKeyMask): Exception documentation added.
11582         (getSystemEventQueue): Exception documentation added.
11583         * java/awt/Window.java:
11584         Reindented some code.
11585         (Window): Centralized implementation, documentation added.
11586         (finalize): Documentation added.
11587         (hide): Fixed typo in comment.
11588         (getWindowListeners): Documentation added.
11589         * java/awt/color/ColorSpace.java
11590         (toRGB): Documentation added.
11591         * java/awt/color/ICC_ColorSpace.java
11592         (ICC_ColorSpace): Documentation added.
11593         (toRGB): Throw exception, documentation added.
11594         (fromRGB): Throw exception, documentation added.
11595         (toCIEXYZ): Documentation added.
11596         (fromCIEXYZ): Documentation added.
11597         (getMinValue): Documentation added.
11598         (getMaxValue): Documentation added.
11599         * java/awt/geom/Dimension2D.java
11600         (clone): Documentation added.
11601         * java/awt/geom/GeneralPath.java
11602         (clone): Documentation added.
11603         * java/awt/geom/Line2D.java
11604         (clone): Documentation added.
11605         * java/awt/geom/QuadCurve2D.java
11606         (clone): Documentation added.
11607         * java/awt/image/ColorModel.java
11608         (ColorModel): Throw exception, documentation added.
11609         * java/awt/image/ImageFilter.java
11610         (clone): Doesnt throw CloneNotSupportedException.
11611
11612 2003-01-14  Andrew Haley  <aph@redhat.com>
11613
11614         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
11615         in a try block.
11616
11617 2003-01-10  Andrew Haley  <aph@redhat.com>
11618
11619         * include/dwarf2-signal.h: Remove x86_64.
11620         * configure.host (x86_64 DIVIDESPEC): Remove.
11621         * include/x86_64-signal.h: New file.
11622         * configure.in: Regenerate.
11623
11624 2003-01-10  Michael Koch  <konqueror@gmx.de>
11625
11626         * java/net/DatagramSocket.java
11627         (ch): Description added.
11628         (remotePort): Initialize with -1.
11629         (connect): Doesnt throws SocketException.
11630         * java/net/MulticastSocket.java
11631         (setInterface): Merge with Classpath.
11632         * java/net/ServerSocket.java
11633         (closed): New member variable.
11634         (bind): Check if socket is closed.
11635         (close): Close an associated channel too, set new value to closed.
11636         (isBound): Reindented.
11637         (isClosed): Implemented.
11638         * java/net/Socket.java
11639         (closed): New member variable.
11640         (bind): Check if socket is closed.
11641         (connect): Check if socket is closed.
11642         (close): Close an associated channel too, set new value to closed.
11643         (isClosed): Implemented.
11644
11645 2003-01-10  Michael Koch  <konqueror@gmx.de>
11646
11647         * java/awt/DisplayMode.java
11648         (equals): Fixed argument type and implementation.
11649
11650 2003-01-07  Tom Tromey  <tromey@redhat.com>
11651
11652         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
11653         JV_HASH_SYNCHRONIZATION.
11654         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
11655         JV_HASH_SYNCHRONIZATION.
11656
11657 2003-01-07  Michael Koch  <konqueror@gmx.de>
11658  
11659         * java/net/DatagramSocket.java:
11660         Added classpath license info.
11661         (DatagramSocket): Merged description with classpath.
11662         (close): Merged description with classpath.
11663         (getChannel): Merged description with classpath.
11664         (getInetAddress): Merged description with classpath.
11665         (getPort): Merged description with classpath.
11666         (getLocalAddress): Merged description with classpath.
11667         (getLocalPort): Merged description with classpath.
11668         (getSoTimeout): Merged description with classpath.
11669         (setSoTimeout): Merged description with classpath.
11670         (getSendBufferSize): Merged description with classpath.
11671         (setSendBufferSize): Merged description with classpath.
11672         (getReceiveBufferSize): Merged description with classpath.
11673         (setReceiveBufferSize): Merged description with classpath.
11674         
11675 2003-01-04  Tom Tromey  <tromey@redhat.com>
11676
11677         * java/awt/List.java: Merged with Classpath.
11678
11679 2003-01-03  Mark Wielaard  <mark@klomp.org>
11680
11681         * java/io/FileDescriptor.java (position): New private field.
11682         * java/io/natFileDescriptorPosix.cc (write): Up position.
11683         (setLength): Use and set position.
11684         (seek): Set position.
11685         (getFilePointer): Return position.
11686         (read): Up position.
11687
11688 2003-01-03  Mark Wielaard  <mark@klomp.org>
11689
11690         Merge with Classpath:
11691         * java/io/ObjectStreamClass.java (lookup): Split method and call
11692         lookupForClassObject().
11693         (lookupForClassObject): New method.
11694         (isProxyClass): New field.
11695         (setClass): Set isProxyClass, add object to classLookupTable, set
11696         superClass and calculateOffsets.
11697         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
11698         and not a proxy class.
11699         (setFields): Set accessible true for serialPersistentFields.
11700         (getClassUID): Same for suid. And check if suid is of type long.
11701         (hasClassInitializer): Don't throw NoSuchMethodError.
11702
11703 2003-01-03  Mark Wielaard  <mark@klomp.org>
11704
11705         * java/io/FileInputStream.java (finalize): Don't explicitly
11706         finalize FileDescriptor.
11707
11708 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
11709
11710         * configure.host (sparc*-*): Enable bytecode interpreter.
11711
11712 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
11713
11714         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
11715         Don't throw RemoteException.
11716         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
11717         throw RemoteException.
11718
11719 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
11720
11721         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
11722         proxyHost): New static fields.
11723         (<clinit>): Initialize new fields.
11724         (connect): Use proxy if necessary.
11725         (usingProxy): Implement.
11726
11727 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
11728
11729         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
11730         (TreeIterator.remove): Prefer IllegalStateException over
11731         ConcurrentModificationException, to match Sun.
11732
11733 2002-12-22  Anthony Green  <green@redhat.com>
11734
11735         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
11736
11737 2003-01-02  Mark Wielaard  <mark@klomp.org>
11738
11739         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
11740         public.
11741         (HTTP_USE_PROXY): Add field.
11742         (getResponseVals): Only set responseCode when not yet explicitly
11743         set by subclass.
11744
11745 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
11746             Mark Wielaard  <mark@klomp.org>
11747
11748         * java/util/zip/ZipFile.java (entries): Now HashMap.
11749         (readLeShort(DataInput, byte[])): Read from given byte array.
11750         (readLeInt(DataInput, byte[]): Likewise.
11751         (readLeShort(byte[] b, int off)): New method.
11752         (readLeInt(byte[] b, int off)): Likewise.
11753         (readEntries): Use byte arrays to read info in bigger chunks.
11754         (getEntries): Return HashMap.
11755         (getEntry): Use HashMap.
11756         (locBuf): New private field.
11757         (checkLocalHeader): Use locBuf to read info in one chunk.
11758         (getInputStream): Use entries HashMap, wrap PartialInputStream
11759         in BufferedInputStream.
11760         (ZipEntryEnumeration): Use HashMap and Interator.
11761
11762 2003-01-02  Mark Wielaard  <mark@klomp.org>
11763             Jeroen Frijters  <jeroen@sumatra.nl>
11764
11765         * java/net/URLClassLoader.java (Resource.getCodeSource):
11766         Fix check certs == null.
11767         (getCanonicalFileURL): Removed method.
11768         (JarURLLoader): Don't call removed method.
11769         (FileURLLoader): Likewise.
11770         (FileURLLoader.getResource): Don't canonicalize file name.
11771
11772 2003-01-01  Tom Tromey  <tromey@redhat.com>
11773
11774         * Makefile.in: Rebuilt.
11775         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
11776         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
11777         java/awt/BufferCapabilities.java, java/awt/Button.java,
11778         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
11779         java/awt/Container.java, java/awt/Cursor.java,
11780         java/awt/EventQueue.java, java/awt/FileDialog.java,
11781         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
11782         java/awt/MenuBar.java, java/awt/MenuComponent.java,
11783         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
11784         java/awt/Scrollbar.java, java/awt/TextArea.java,
11785         java/awt/TextField.java, java/awt/color/CMMException.java,
11786         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
11787         java/awt/color/ProfileDataException.java,
11788         java/awt/datatransfer/Clipboard.java,
11789         java/awt/datatransfer/DataFlavor.java,
11790         java/awt/datatransfer/FlavorMap.java,
11791         java/awt/datatransfer/SystemFlavorMap.java,
11792         java/awt/dnd/DragGestureEvent.java,
11793         java/awt/dnd/DragGestureRecognizer.java,
11794         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
11795         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
11796         java/awt/im/InputMethodHighlight.java,
11797         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
11798         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
11799
11800         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
11801         `op' to BufferedImageOp.
11802
11803 2002-12-31  Tom Tromey  <tromey@redhat.com>
11804
11805         Fix for PR libgcj/7416:
11806         * javax/naming/InitialContext.java (init): Use
11807         gnu.classpath.home.url.
11808         * java/security/Security.java: Use new properties.
11809         (loadProviders): Accept base url; use it.
11810         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
11811         gnu.classpath.home.url.
11812         (gnu.classpath.home.url): Define.
11813         (gnu.classpath.vm.shortname): Likewise.
11814
11815 2002-12-31  Tom Tromey  <tromey@redhat.com>
11816             Ranjit Mathew  <rmathew@hotmail.com>
11817
11818         Fix for PR libgcj/8997:
11819         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
11820         Include platform.h.
11821         * include/posix.h (_Jv_platform_usleep): New function.
11822         * include/win32.h (_Jv_platform_usleep): New function.
11823
11824 2002-12-29  Tom Tromey  <tromey@redhat.com>
11825
11826         * gcj/javaprims.h: Updated.
11827         * scripts/classes.pl (scan): Removed stray semicolon.
11828
11829 2002-12-30  Mark Wielaard  <mark@klomp.org>
11830
11831         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
11832         if zero or smaller.
11833
11834 2002-12-30  Mark Wielaard  <mark@klomp.org>
11835
11836         * java/util/Properties (formatForOutput): Don't fall through to
11837         default case after escaping character.
11838
11839 2002-12-30  Mark Wielaard  <mark@klomp.org>
11840
11841         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
11842         against count.
11843
11844 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
11845
11846         * boehm.cc: Remove stray semicolon.
11847         * interpret.cc: Likewise.
11848         * prims.cc: Likewise.
11849         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
11850         earlier to ensure default arguments are processed.
11851         * gcj/array.h (JArray): Add forward declaration.
11852         (elements): Likewise.
11853         * gcj/javaprim.h: Remove stray semicolons.
11854         * include/bohm-gc.h: Likewise.
11855         * include/jni.h: Likewise.
11856         * include/jvm.h: Likewise.
11857         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
11858         
11859 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
11860
11861         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
11862         of catch_type.
11863         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
11864         idt tables after initializing superclass.
11865         * java/lang/natClassLoader.cc (uaddr): New typedef.
11866         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
11867         if they are constant pool indicies.  Don't link vtable, otable yet.
11868
11869 2002-12-21  Anthony Green  <green@redhat.com>
11870
11871         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
11872         libraries.
11873         * Makefile.in: Rebuilt.
11874
11875 2002-12-19  Anthony Green  <green@redhat.com>
11876
11877         * Makefile.am (ordinary_java_source_files): Add
11878         org/xml/sax/helpers/NewInstance.java.
11879         * Makefile.in: Rebuilt.
11880         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
11881         org/xml/sax/helpers/package.html: New files.
11882         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
11883         http://www.saxproject.org.
11884
11885 2002-12-19  Andrew Haley  <aph@redhat.com>
11886
11887         * java/util/natResourceBundle.cc: Include
11888         ArrayIndexOutOfBoundsException.h.
11889         (getCallingClassLoader): Don't put upper bound on stack search.
11890         Catch ArrayIndexOutOfBoundsException.
11891
11892 2002-12-19  Tom Tromey  <tromey@redhat.com>
11893
11894         * libtool-version: Increased `current'.
11895
11896 2002-12-19  Tom Tromey  <tromey@redhat.com>
11897
11898         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
11899         comment.
11900         * java/lang/ClassLoader.java (defineClass): Use chained
11901         exception when rethrowing.
11902         * defineclass.cc (handleClassBegin): Mark class as interpreted.
11903         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
11904         constants.
11905         * resolve.cc (_Jv_PrepareMissingMethods): New function.
11906         (_Jv_PrepareClass): Use it.
11907         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
11908         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
11909         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
11910         (Class): _Jv_PrepareMissingMethods now friend.
11911         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
11912         Record `NULL' for system class loader.
11913         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
11914         system class loader.
11915         (_Jv_FindClassInCache): Likewise.
11916         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
11917         (_Jv_FindClass): Special case system class loader.
11918         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
11919         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
11920         vtable slots.
11921         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
11922         in a final class.
11923         (_getDeclaredMethod): Don't return synthetic methods.
11924         (getDeclaredMethods): Likewise.
11925         (_getMethod): Likewise.
11926         (_getMethods): Likewise.
11927
11928 2002-12-18  Raif Naffah  <raif@fl.net.au>
11929
11930         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
11931         canonical form after divide().
11932         (modInverse): Likewise.
11933
11934 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
11935             Mark Wielaard  <mark@klomp.org>
11936
11937         * java/security/SecurityRandom (digest): Removed field.
11938         (SecureRandom): Check all providers for case-insensitive SecureRandom
11939         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
11940         if necessary.
11941         (getInstance(String,Provider,boolean): New method.
11942         (getInstance(String)): Use new method.
11943         (getInstance(String,String)): Likewise.
11944         (getInstance(String,Provider)): Likewise.
11945
11946 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
11947
11948         * java/security/Security.java (loadProviders): Increment i only once.
11949
11950 2002-12-12  Mark Wielaard  <mark@klomp.org>
11951
11952         * java/lang/ClassLoader.java (resolveClass0): Transform
11953         ClassNotFoundException to NoClassDefFoundError. Transform all other
11954         throwables to LinkageError.
11955
11956 2002-12-11  Tom Tromey  <tromey@redhat.com>
11957
11958         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
11959
11960         * java/lang/ClassLoader.java (loadedClasses): New field.
11961         (defineClass): Fixed indentation.  Put new class in
11962         loadedClasses.
11963         (findLoadedClass): Implement here.
11964         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
11965
11966 2002-12-10  Tom Tromey  <tromey@redhat.com>
11967
11968         * Makefile.in: Rebuilt.
11969         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11970         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
11971         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
11972         * java/lang/natClassLoader.cc
11973         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
11974
11975 2002-12-10  Mark Wielaard  <mark@klomp.org>
11976             Tom Tromey  <tromey@redhat.com>
11977
11978         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
11979         (JarURLLoader): Use it.
11980         (FileURLLoader): Likewise.
11981         (JarURLResource.getURL): Use chained exception.
11982         (FileResource.getURL): Likewise.
11983         (FileURLLoader.getResource): Use canonical file name.
11984         (addURL): Indentation fix.
11985
11986 2002-12-10  Tom Tromey  <tromey@redhat.com>
11987
11988         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
11989         From Laurent Bardet <l.bardet@magic.fr>.
11990
11991 2002-12-09  Tom Tromey  <tromey@redhat.com>
11992
11993         * include/win32.h (_Jv_platform_solib_prefix): New define.
11994         (_Jv_platform_solib_suffix): Likewise.
11995         * include/posix.h (_Jv_platform_solib_prefix): New define.
11996         (_Jv_platform_solib_suffix): Likewise.
11997         * java/lang/natRuntime.cc: Include StackTrace.h.
11998         (_load): Use findLibrary and new platform defines.
11999         (nativeGetLibname): Use new platform defines.
12000
12001         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
12002         `t' won't be null.
12003
12004 2002-12-08  Mark Wielaard  <mark@klomp.org>
12005
12006         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
12007         cache remote jar files.
12008         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
12009         add File.separator to URL when it is a directory.
12010         * java/lang/ClassLoader.java: Add Classpath javadoc.
12011         (parent): final.
12012         (getParent): Add (disabled) security check.
12013         (findLibrary): New default method.
12014         * java/net/JarURLConnection.java (getManifest): Implement.
12015         (getInputStream): Only create InputStream when entry exists.
12016         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
12017         when they exist.
12018         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
12019
12020 2002-12-08  Mark Wielaard  <mark@klomp.org>
12021
12022         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
12023         (lastDefaultLocale): New field.
12024         (getBundle): When Locale.getDefault != lastDefaultLocale reset
12025         resourceBundleCache.
12026
12027 2002-12-06  Mark Wielaard  <mark@klomp.org>
12028
12029         * java/net/InetAddress.java (toString): Use hostname when not null,
12030         don't do an explicit reverse getHostName() lookup.
12031         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
12032         NullPointerException.
12033
12034 2002-12-06  Tom Tromey  <tromey@redhat.com>
12035
12036         * include/java-interp.h (class _Jv_InterpMethod): Added
12037         JV_MARKOBJ_DECL.
12038         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
12039         mark `prepared' field of interpreted method.
12040         * interpret.cc (compile): Use _Jv_AllocBytes.
12041
12042 2002-12-05  Andrew Haley  <aph@redhat.com>
12043
12044         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
12045         #ifdef (HAVE_BACKTRACE) around the whole function body.
12046
12047 2002-12-05  Tom Tromey  <tromey@redhat.com>
12048
12049         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
12050         * resolve.cc: Don't include AbstractMethodError.h.
12051         (_Jv_abstractMethodError): Removed.
12052         * defineclass.cc (handleMethodsBegin): Initialize method index to
12053         -1.
12054         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
12055         method index for "new" final method.
12056         (_Jv_SetVTableEntries): Compare index against -1 instead of using
12057         isVirtualMethod.  Added `flags' argument.
12058         (_Jv_MakeVTable): Throw exception for abstract method in concrete
12059         class.
12060
12061 2002-12-04  Tom Tromey  <tromey@redhat.com>
12062
12063         * java/net/SocketPermission.java (hashCode): Rewrote.
12064
12065 2002-12-04  Tom Tromey  <tromey@redhat.com>
12066
12067         * Makefile.in: Rebuilt.
12068         * Makefile.am (nat_source_files): Added natVMSecurityManager,
12069         natResourceBundle.
12070         * java/util/ResourceBundle.java (Security): Removed.
12071         (getCallingClassLoader): Now native.
12072         * java/util/natResourceBundle.cc: New file.
12073         * java/lang/natVMSecurityManager.cc: New file.
12074         * java/lang/VMSecurityManager.java (getClassContext): Now native.
12075
12076 2002-12-03  Mark Wielaard  <mark@klomp.org>
12077
12078         * java/util/jar/JarFile.java (manifest): Not final.
12079         (manifestRead): New field.
12080         (JarFile): Don't read Manifest in constructor.
12081         (getManifest): New method.
12082         (JarEnumeration.nextElement): Use new method.
12083         (getEntry): Likewise.
12084         * java/util/zip/ZipFile.java (name): Final.
12085         (raf): Likewsie.
12086         (entries): Change type to Hashtable.
12087         (closed): New field.
12088         (ZipFile): Don't read enties in constructor.
12089         (readEntries): Use Hashtable.
12090         (close): Set new close flag and set entries to null inside
12091         synchronized block.
12092         (entries): Contruct enumeration using new getEntries() method and
12093         entries Hashtable.
12094         (getEntryIndex): Removed.
12095         (getEntries): New method.
12096         (getEntry): Use new getEntries() method and entries Hastable.
12097         (getInputStream): Likewise.
12098         (size): Return getEntries().size().
12099         (ZipEntryEnumeration): Wrap entries Hashtable elements.
12100         * java/util/zip/ZipEntry.java (cal): Don't initialize.
12101         (time): Removed
12102         (dostime): New field.
12103         (zipFileIndex): Removed.
12104         (ZipEntry(ZipEntry)): Copy dostime.
12105         (setDOSTime): Now final and doesn't convert dos time.
12106         (getDOSTime): Likewise.
12107         (setTime): Convert dos time.
12108         (getTime): Likewise.
12109         (getCalendar): New method.
12110         (setExtra): Use setTime().
12111         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
12112
12113 2002-12-03  Tom Tromey  <tromey@redhat.com>
12114
12115         * java/lang/Character.java (forDigit): Formatting fix.
12116
12117 2002-12-03  Raif Naffah  <raif@fl.net.au>
12118
12119         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
12120         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
12121         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
12122
12123 2002-12-03  Andrew Haley  <aph@redhat.com>
12124
12125         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
12126         _Jv_PushClass.
12127         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
12128         (_Jv_PopClass): New.
12129         (_Jv_PushClass): New.
12130         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
12131         discover the ClassLoader of our caller.
12132         (_Jv_CheckArrayStore): Don't check that a class is assignment
12133         compatible with Object.
12134         * java/lang/natVMTHrowable.cc: Delete.
12135         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
12136         java.lang.VMThrowable.
12137         (StackTrace(), StackTrace(int)): New constructors.
12138         (classAt, methodAt, update, methodAtAddress): New methods.
12139         (map): New field.
12140         * java/lang/VMThrowable.java: Use StackTrace instead of
12141         natVMTHrowable.
12142         * java/lang/Class.h (getClassLoaderInternal): New.
12143         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
12144         Be friendly with gnu::gcj::runtime::StackTrace.
12145         (Object.chain): New field.
12146         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
12147         gnu::gcj::runtime::StackTrace.
12148         * gnu/gcj/runtime/natStackTrace.cc: New file.
12149         * gnu/gcj/runtime/MethodRef.java: New file.
12150         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
12151         instead of getClassLoader().
12152         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
12153         java::lang::VMThrowable.
12154         * Makefile.am (core_java_source_files): Add MethodRef.java,
12155         StackTrace.java.
12156         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
12157         * Makefile.in: Rebuild.
12158
12159 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
12160
12161         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
12162         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
12163         yes also for sh-linux* and sh[34]*-linux*.
12164         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
12165         set SIGNAL_HANDLER to use DWARF2 exception for them.
12166         * configure: Regenerate.
12167
12168 2002-12-02  Tom Tromey  <tromey@redhat.com>
12169
12170         * jni.cc: Added `name' argument.
12171         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
12172         `const char *' argument.
12173         (class _Jv_JNIEnv) [DefineClass]: Likewise.
12174
12175 2002-12-01  Tom Tromey  <tromey@redhat.com>
12176
12177         Bug compatibility, for PR libgcj/8738:
12178         * java/io/CharArrayWriter.java (close): Do nothing.
12179         (flush): Likewise.
12180         (reset): Don't touch `closed'.
12181         (write(int)): Don't throw IOException.
12182         (write(char[],int,int)): Likewise.
12183         (write(String,int,int)): Likewise.
12184         (closed): Removed.
12185
12186 2002-12-01  Mark Wielaard  <mark@klomp.org>
12187
12188         * java/lang/SecurityManager.java: Remerge comments, indenting and
12189         checkXXX methods with Classpath.
12190
12191 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
12192
12193         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
12194         getNormalizedComponents): Fix calculation which was using one too
12195         many bits in the unnormalized format.
12196
12197 2002-11-29  Gary Benson  <gbenson@redhat.com>
12198
12199         For PR libgcj/8759:
12200         * java/beans/Introspector.java (flushCaches): New method.
12201         (flushFromCaches): Likewise.
12202
12203 2002-11-29  Michael Koch <konqueror@gmx.de>
12204
12205         * java/nio/channels/DatagramChannel.java
12206         (open): Added exception documentation.
12207         (write): Added exception documentation.
12208         (connect): Added exception documentation.
12209         (disconnect): Added exception documentation.
12210         (isConnected): Added exception documentation.
12211         (read): Added exception documentation.
12212         (receive): Added exception documentation.
12213         (send): Added exception documentation.
12214         (validOps): Added exception documentation.
12215         * java/nio/channels/SocketChannel.java
12216         (open): Added exception documentation.
12217         (read): Added exception documentation.
12218         (write): Added exception documentation.
12219         (connect): Added exception documentation.
12220         (finishConnect): Added exception documentation.
12221
12222 2002-11-29  Michael Koch <konqueror@gmx.de>
12223
12224         * gnu/java/nio/DatagramChannelImpl:
12225         (fd): New member variable to store file descriptor of socket.
12226         * gnu/java/nio/SelectionKeyImpl.java:
12227         (ops): Removed.
12228         (readyOps): New member variable.
12229         (interestOps): New member variable.
12230         (readyOps): Implemented.
12231         (readyOps): New method to set member variable readyOps.
12232         (interestOps): Replaced ops by interestOps.
12233         * gnu/java/nio/SelectorImpl.java:
12234         (SelectorImpl): Initialize key sets.
12235         (select): Call select with -1 instead of Long.MAX_VALUE).
12236         (java_do_select): Make it a native method.
12237         (getFDsAsArray): New helper method.
12238         (select): Remove canceled keys, give only interested file discriptors
12239         to java_do_select, set ready ops.
12240         (add): No need to initialize keys set here.
12241         (add_selected): No need to initialize selected set here.
12242         (deregisterCanceledKeys): New helper method.
12243         (register): Set interest ops, set attachments, added handling of datagram
12244         channels.
12245         * gnu/java/nio/ServerSocketChannelImpl:
12246         (SocketAccept): Renamed from NioSocketAccept.
12247         (implConfigureBlocking): Implemented.
12248         (accept): Use SocketAccept instead of NioSocketAccept.
12249         * gnu/java/nio/SocketChannelImpl:
12250         Reactivate native methods.
12251
12252 2002-11-29  Michael Koch <konqueror@gmx.de>
12253
12254         * gnu/java/nio/natByteBufferImpl.cc,
12255         gnu/java/nio/natCharBufferImpl.cc,
12256         gnu/java/nio/natDoubleBufferImpl.cc,
12257         gnu/java/nio/natFloatBufferImpl.cc,
12258         gnu/java/nio/natIntBufferImpl.cc,
12259         gnu/java/nio/natLongBufferImpl.cc,
12260         gnu/java/nio/natSelectorImpl.cc,
12261         gnu/java/nio/natServerSocketChannelImpl.cc,
12262         gnu/java/nio/natShortBufferImpl.cc,
12263         gnu/java/nio/natSocketChannelImpl.cc:
12264         New files that implement native functionalities.
12265
12266 2002-11-29  Michael Koch <konqueror@gmx.de>
12267
12268         * gnu/java/nio/ByteBufferImpl.java
12269         (ByteBufferImpl): Moved position() after limit.
12270         (nio_*): Use native implementation.
12271         * gnu/java/nio/CharBufferImpl.java:
12272         Reformated.
12273         (endian): New member variable string endianess of buffer.
12274         (CharBufferImpl): Moved position() after limit.
12275         (nio_*): Use native implementation.
12276         (subSequence): Implemented.
12277         * gnu/java/nio/DoubleBufferImpl.java
12278         (DoubleBufferImpl): Moved position() after limit.
12279         (nio_*): Use native implementation.
12280         * gnu/java/nio/FloatBufferImpl.java
12281         Reformated.
12282         (FloatBufferImpl): Moved position() after limit.
12283         (nio_*): Use native implementation.
12284         * gnu/java/nio/IntBufferImpl.java
12285         Added needed imports, Reformated.
12286         (IntBufferImpl): Moved position() after limit.
12287         (nio_*): Use native implementation.
12288         * gnu/java/nio/LongBufferImpl.java
12289         Reformated.
12290         (LongBufferImpl): Moved position() after limit.
12291         (nio_*): Use native implementation.
12292         * gnu/java/nio/ShortBufferImpl.java
12293         Reformated.
12294         (ShortBufferImpl): Moved position() after limit.
12295         (nio_*): Use native implementation.
12296
12297 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
12298
12299         * java/util/Locale.java (toString): Improve efficiency if country
12300         and variant are both empty.
12301
12302 2002-11-26  Tom Tromey  <tromey@redhat.com>
12303
12304         * verify.cc (pop_init_ref): New method.
12305         (verify_instructions_0) [op_iaload, op_laload, op_faload,
12306         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
12307         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
12308         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
12309         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
12310         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
12311         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
12312         let `this' argument be uninitialized.  Don't let `null' be passed
12313         as `this' to construtor.
12314
12315 2002-11-26  Mark Wielaard  <mark@klomp.org>
12316
12317         * javax/transaction/HeuristicCommitException.java: Classpath merge.
12318         * javax/transaction/HeuristicMixedException.java: Likewise.
12319         * javax/transaction/HeuristicRollbackException.java: Likewise.
12320         * javax/transaction/InvalidTransactionException.java: Likewise.
12321         * javax/transaction/NotSupportedException.java: Likewise.
12322         * javax/transaction/RollbackException.java: Likewise.
12323         * javax/transaction/Status.java: Likewise.
12324         * javax/transaction/Synchronization.java: Likewise.
12325         * javax/transaction/SystemException.java: Likewise.
12326         * javax/transaction/Transaction.java: Likewise.
12327         * javax/transaction/TransactionManager.java: Likewise.
12328         * javax/transaction/TransactionRequiredException.java: Likewise.
12329         * javax/transaction/TransactionRolledbackException.java: Likewise.
12330         * javax/transaction/UserTransaction.java: Likewise.
12331         * javax/transaction/xa/XAException.java: Likewise.
12332         * javax/transaction/xa/XAResource.java: Likewise.
12333         * javax/transaction/xa/Xid.java: Likewise.
12334
12335 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
12336
12337         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
12338         define.
12339         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
12340         * include/posix.h (socklen_t): Define if not already defined.
12341
12342 2002-11-25  Tom Tromey  <tromey@redhat.com>
12343
12344         * verify.cc (type::compatible): Backed out broken change.
12345
12346         * verify.cc (type::compatible): Check initialization status
12347         first.
12348         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
12349         Don't use NULLCHECK.
12350
12351 2002-11-23  H.J. Lu <hjl@gnu.org>
12352
12353         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
12354         Include ../config/accross.m4.
12355         * aclocal.m4; Rebuild.
12356         * configure: Likewise.
12357
12358 2002-11-23  Mark Wielaard  <mark@klomp.org>
12359
12360         * javax/naming/AuthenticationException.java: Update copyright header.
12361         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
12362         * javax/naming/Binding.java: Likewise.
12363         * javax/naming/CannotProceedException.java: Likewise.
12364         * javax/naming/CommunicationException.java: Likewise.
12365         * javax/naming/CompositeName.java: Likewise.
12366         * javax/naming/CompoundName.java: Likewise.
12367         * javax/naming/ConfigurationException.java: Likewise.
12368         * javax/naming/Context.java: Likewise.
12369         * javax/naming/ContextNotEmptyException.java: Likewise.
12370         * javax/naming/InitialContext.java: Likewise.
12371         * javax/naming/InsufficientResourcesException.java: Likewise.
12372         * javax/naming/InterruptedNamingException.java: Likewise.
12373         * javax/naming/LimitExceededException.java: Likewise.
12374         * javax/naming/LinkException.java: Likewise.
12375         * javax/naming/LinkLoopException.java: Likewise.
12376         * javax/naming/LinkRef.java: Likewise.
12377         * javax/naming/MalformedLinkException.java: Likewise.
12378         * javax/naming/NameAlreadyBoundException.java: Likewise.
12379         * javax/naming/NameClassPair.java: Likewise.
12380         * javax/naming/NameNotFoundException.java: Likewise.
12381         * javax/naming/NameParser.java: Likewise.
12382         * javax/naming/NamingEnumeration.java: Likewise.
12383         * javax/naming/NamingSecurityException.java: Likewise.
12384         * javax/naming/NoInitialContextException.java: Likewise.
12385         * javax/naming/NoPermissionException.java: Likewise.
12386         * javax/naming/NotContextException.java: Likewise.
12387         * javax/naming/OperationNotSupportedException.java: Likewise.
12388         * javax/naming/PartialResultException.java: Likewise.
12389         * javax/naming/Reference.java: Likewise.
12390         * javax/naming/Referenceable.java: Likewise.
12391         * javax/naming/ReferralException.java: Likewise.
12392         * javax/naming/ServiceUnavailableException.java: Likewise.
12393         * javax/naming/SizeLimitExceededException.java: Likewise.
12394         * javax/naming/TimeLimitExceededException.java: Likewise.
12395         * javax/naming/directory/Attribute.java: Likewise.
12396         * javax/naming/directory/AttributeInUseException.java: Likewise.
12397         * javax/naming/directory/AttributeModificationException.java: Likewise.
12398         * javax/naming/directory/Attributes.java: Likewise.
12399         * javax/naming/directory/BasicAttribute.java: Likewise.
12400         * javax/naming/directory/BasicAttributes.java: Likewise.
12401         * javax/naming/directory/DirContext.java: Likewise.
12402         * javax/naming/directory/InitialDirContext.java: Likewise.
12403         * javax/naming/directory/InvalidAttributeIdentifierException.java:
12404         Likewise.
12405         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
12406         * javax/naming/directory/InvalidAttributesException.java: Likewise.
12407         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
12408         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
12409         * javax/naming/directory/ModificationItem.java: Likewise.
12410         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
12411         * javax/naming/directory/SchemaViolationException.java: Likewise.
12412         * javax/naming/directory/SearchControls.java: Likewise.
12413         * javax/naming/directory/SearchResult.java: Likewise.
12414         * javax/naming/event/EventContext.java: Likewise.
12415         * javax/naming/event/EventDirContext.java: Likewise.
12416         * javax/naming/event/NamespaceChangeListener.java: Likewise.
12417         * javax/naming/event/NamingEvent.java: Likewise.
12418         * javax/naming/event/NamingExceptionEvent.java: Likewise.
12419         * javax/naming/event/NamingListener.java: Likewise.
12420         * javax/naming/event/ObjectChangeListener.java: Likewise.
12421         * javax/naming/ldap/Control.java: Likewise.
12422         * javax/naming/ldap/ControlFactory.java: Likewise.
12423         * javax/naming/ldap/ExtendedRequest.java: Likewise.
12424         * javax/naming/ldap/ExtendedResponse.java: Likewise.
12425         * javax/naming/ldap/HasControls.java: Likewise.
12426         * javax/naming/ldap/InitialLdapContext.java: Likewise.
12427         * javax/naming/ldap/LdapContext.java: Likewise.
12428         * javax/naming/ldap/LdapReferralException.java: Likewise.
12429         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
12430         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
12431         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
12432         * javax/naming/spi/DirObjectFactory.java: Likewise.
12433         * javax/naming/spi/DirStateFactory.java: Likewise.
12434         * javax/naming/spi/DirectoryManager.java: Likewise.
12435         * javax/naming/spi/InitialContextFactory.java: Likewise.
12436         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
12437         * javax/naming/spi/NamingManager.java: Likewise.
12438         * javax/naming/spi/ObjectFactory.java: Likewise.
12439         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
12440         * javax/naming/spi/ResolveResult.java: Likewise.
12441         * javax/naming/spi/Resolver.java: Likewise.
12442         * javax/naming/spi/StateFactory.java: Likewise.
12443
12444         * javax/naming/spi/NamingManager.java (ofb): Package private.
12445
12446 2002-11-21  Mark Wielaard  <mark@klomp.org>
12447
12448         * java/net/URL.java: Merge with Classpath (partly).
12449         * java/net/URLStreamHandler: Merge with Classpath.
12450
12451 2002-11-22  Michael Koch <konqueror@gmx.de>
12452
12453         * include/posix.h:
12454         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12455         * include/win32.h:
12456         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12457         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
12458
12459 2002-11-21  Michael Koch <konqueror@gmx.de>
12460
12461         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
12462         Only the new network functions should be in it.
12463
12464 2002-11-21  Michael Koch <konqueror@gmx.de>
12465
12466         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12467         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12468
12469 2002-11-21  Michael Koch <konqueror@gmx.de>
12470
12471         * java/nio/channels/AsynchronousCloseException.java,
12472         java/nio/channels/CancelledKeyException.java,
12473         java/nio/channels/ClosedByInterruptException.java,
12474         java/nio/channels/ConnectionPendingException.java,
12475         java/nio/channels/FileLockInterruptionException.java,
12476         java/nio/channels/IllegalSelectorException.java,
12477         java/nio/channels/NoConnectionPendingException.java,
12478         java/nio/channels/NonReadableChannelException.java,
12479         java/nio/channels/NonWritableChannelException.java,
12480         java/nio/channels/NotYetBoundException.java,
12481         java/nio/channels/NotYetConnectedException.java,
12482         java/nio/channels/OverlappingFileLockException.java,
12483         java/nio/channels/UnresolvedAddressException.java,
12484         java/nio/channels/UnsupportedAddressTypeException.java:
12485         New files.
12486         * Makefile.am (ordinary_java_source_files): Added new files.
12487         * Makefile.in: Regenerated.
12488
12489 2002-11-21  Michael Koch <konqueror@gmx.de>
12490
12491         * include/posix.h
12492         (_Jv_socket): New method.
12493         (_Jv_connect): New method.
12494         (_Jv_close): New method.
12495         (_Jv_platform_close_on_exec): Prefixed system function with "::".
12496         (_Jv_bind): New method.
12497         (_Jv_listen): New method.
12498         (_Jv_write): New method.
12499         (_Jv_read): New method.
12500         * include/win32.h
12501         (_Jv_socket): New method.
12502         (_Jv_connect): New method.
12503         (_Jv_close): New method.
12504         (_Jv_bind): New method.
12505         (_Jv_listen): New method.
12506         (_Jv_write): New method.
12507         (_Jv_read): New method.
12508         * java/net/natNetworkInterface.cc:
12509         Include platform.h, removed inclusion of socket.h
12510         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
12511         ::close() by _Jv_close().
12512         * java/net/natPlainDatagramSocketImpl.cc:
12513         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
12514         added some new lines to make code more readable.
12515         (create): Replaced ::socket() by _Jv_socket().
12516         (close): Replaced NATIVE_CLOSE() by _Jv_close().
12517         * java/net/natPlainSocketImpl.cc:
12518         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
12519         removed include of socket.h, removed some windows defines
12520         (now in include/win32.h).
12521         (create): Replaced ::socket() by _Jv_socket().
12522         (close): Replaced NATIVE_CLOSE() by _Jv_close().
12523         (write): Replaced ::read by _Jv_write().
12524         (read): Replaced ::read by _Jv_read().
12525
12526 2002-11-20  Michael Koch <konqueror@gmx.de>
12527
12528         * Makefile.am (ordinary_java_source_files):
12529         Added java/nio/channels/FileChannel.java.
12530         * Makefile.in: Regenerated.
12531
12532 2002-11-20  Michael Koch <konqueror@gmx.de>
12533
12534         * java/io/FileInputStream.java
12535         (getChannel): New method.
12536         * java/io/FileOutputStream.java
12537         (getChannel): New method.
12538         * java/net/ServerSocket.java
12539         (bind): Removed duplicate code and called another bind method instead.
12540         * java/nio/channels/SelectionKey.java
12541         (isValid): Removed wrong exception documentation.
12542         * java/nio/channels/ServerSocketChannel.java
12543         (accept): Added exception documentation.
12544         (open): Fixed typo, added exception documentation.
12545         * java/nio/channels/spi/AbstractSelectableChannel.java
12546         (implCloseChannel): Added exception documentation.
12547         (add): Reformated.
12548         (register): Added exception documentation.
12549
12550 2002-11-20  Andreas Jaeger  <aj@suse.de>
12551
12552         * configure: Regenerated with new libtool.m4.
12553
12554 2002-11-19  Tom Tromey  <tromey@redhat.com>
12555
12556         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
12557         `referent'.
12558         (finalize_referred_to_object): Don't modify `referent' or `copy'
12559         fields.
12560         (add_to_hash): Correctly set `n->next' when updating list.
12561         * java/lang/ref/Reference.java (enqueue): Return false if already
12562         enqueued.
12563
12564 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
12565
12566         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
12567         to function and function pointer declarations in accordance with
12568         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
12569         based on whether __GCJ_JNI_IMPL__ has been defined or not.
12570         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
12571         JNI function definitions.
12572
12573 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12574
12575         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
12576         that was causing CoderResults to be cached, not WeakReferences
12577         to CoderResults.
12578
12579 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
12580
12581         * java/security/KeyStore.java (getInstance): Fix
12582         comment and throw IllegalArgumentException if
12583         given provider is null.
12584         (getInstance): New method for jdk1.4 compatibility.
12585
12586 2002-11-18  Michael Koch <konqueror@gmx.de>
12587
12588         * java/net/PlainSocketImpl.java: Fix imports.
12589
12590 2002-11-18  Michael Koch <konqueror@gmx.de>
12591
12592         * java/nio/channels/SelectionKey.java
12593         (isValid): Added exception documentation.
12594         * java/nio/channels/Selector.java
12595         (open): Declare "throws IOException".
12596
12597 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12598
12599         * java/nio/charset/Charset.java
12600         (<clinit>): New method.
12601         (encode): Synchronize use of cached encoder object.
12602         (decode): Synchronize use of cached encoder object.
12603
12604 2002-11-18  Michael Koch <konqueror@gmx.de>
12605
12606         * gnu/java/nio/ByteBufferImpl.java,
12607         gnu/java/nio/CharBufferImpl.java,
12608         gnu/java/nio/DatagramChannelImpl.java,
12609         gnu/java/nio/DoubleBufferImpl.java,
12610         gnu/java/nio/FileChannelImpl.java,
12611         gnu/java/nio/FloatBufferImpl.java,
12612         gnu/java/nio/IntBufferImpl.java,
12613         gnu/java/nio/LongBufferImpl.java,
12614         gnu/java/nio/PipeImpl.java,
12615         gnu/java/nio/SelectionKeyImpl.java,
12616         gnu/java/nio/SelectorImpl.java,
12617         gnu/java/nio/SelectorProviderImpl.java,
12618         gnu/java/nio/ServerSocketChannelImpl.java,
12619         gnu/java/nio/ShortBufferImpl.java,
12620         gnu/java/nio/SocketChannelImpl.java,
12621         java/nio/DoubleBuffer.java,
12622         java/nio/FloatBuffer.java,
12623         java/nio/IntBuffer.java,
12624         java/nio/LongBuffer.java,
12625         java/nio/ShortBuffer.java,
12626         java/nio/channels/FileChannel.java: New files.
12627
12628 2002-11-18  Michael Koch <konqueror@gmx.de>
12629
12630         * Makefile.am (ordinary_java_source_files):
12631         Added java/nio/ReadOnlyBufferException.java and
12632         java/nio/channels/ClosedSelectorException.java.
12633         * Makefile.in: Regenerated.
12634
12635 2002-11-18  Michael Koch <konqueror@gmx.de>
12636
12637         * java/net/PlainSocketImpl.java: Reworked imports.
12638         * java/net/ServerSocket.java
12639         (ServerSocket): Create socket.
12640         * java/net/SocketAddress.java: Documentation added.
12641         * java/net/natPlainSocketImpl.cc: Reindented.
12642         * java/nio/ReadOnlyBufferException.java: New file
12643         * java/nio/channels/ClosedChannelException.java: Documentation added.
12644         * java/nio/channels/ClosedSelectorException.java: New file.
12645
12646 2002-11-17  Mark Wielaard  <mark@klomp.org>
12647
12648         * java/net/HttpURLConnection.java ((getPermission): Take port
12649         into consideration.
12650         (getErrorStream): Implement.
12651
12652 2002-11-17  Mark Wielaard  <mark@klomp.org>
12653
12654         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
12655
12656 2002-11-16  Mark Wielaard  <mark@klomp.org>
12657
12658         Integrate work by Raif S. Naffah (raif@fl.net.au)
12659         * java/security/DummyKeyPairGenerator.java (clone): New method.
12660         * java/security/DummyMessageDigest.java (clone): New method.
12661         (engineUpdate): Now public.
12662         (engineReset): Likewise.
12663         (engineDigest): Likewise.
12664         (engineGetDigestLength): New method.
12665         * java/security/DummySignature.java (clone): New method.
12666         * java/security/KeyPairGenerator.java (provider): Now package private.
12667         (getInstance(String)): Use getInstance(String,Provider).
12668         (getInstance(String,String): Use getInstance(String,Provider)
12669         (getInstance(String,Provider): New method.
12670         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
12671         * java/security/KeyPairGeneratorSpi.java (clone): New method.
12672         * java/security/MessageDigest.java (provider): Now package private.
12673         (getInstance(String): Use getInstance(String,Provider).
12674         (getInstance(String,String): Use getInstance(String,Provider)
12675         (getInstance(String,Provider): New method.
12676         * java/security/Provider.java (toCanonicalKey): New method.
12677         (get): New method that uses toCanonicalKey().
12678         (put): Use toCanonicalKey().
12679         (remove): Likewise.
12680         * java/security/Security.java (insertProviderAt): Provider index is one
12681         based, not zero based.
12682         (addProvider): Likewise.
12683         (removeProvider): Likewise.
12684         * java/security/Signature.java (provider): Now package private.
12685         (getInstance(String)): Use getInstance(String,Provider).
12686         (getInstance(String,String): Use getInstance(String,Provider)
12687         (getInstance(String,Provider): New method.
12688         (getInstance(String,String,Provider): Don't cast DummySignature.
12689
12690 2002-11-15  Tom Tromey  <tromey@redhat.com>
12691
12692         For PR libgcj/8593:
12693         * java/util/zip/GZIPInputStream.java (read): Check file size.
12694         Look in inflater for remaining input bytes.
12695         (read4): Added buf and offset arguments.
12696
12697 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
12698
12699         * java/applet/AppletContext.java: Fix typo and remove redundant
12700         modifiers.
12701
12702 2002-11-14  Tom Tromey  <tromey@redhat.com>
12703
12704         * java/lang/natRuntime.cc (insertSystemProperties): Set
12705         gnu.classpath.home.
12706
12707 2002-11-13  Michael Koch <konqueror@gmx.de>
12708
12709         * java/nio/ByteBuffer.java
12710         (allocate): New method.
12711         (wrap): New method.
12712         (put): New method.
12713         (get): New method.
12714
12715 2002-11-13  Michael Koch <konqueror@gmx.de>
12716
12717         * java/nio/channels/AlreadyConnectedException.java:
12718         Removed unneeded import.
12719         (AlreadyConnectedException): Documentation added.
12720         * java/nio/channels/Pipe.java
12721         (SinkChannel.SinkChannel): Documentation added.
12722         (SinkChannel.validOps): New method.
12723         (SourceChannel.SourceChannel): Documentation added.
12724         (SourceChannel.validOps): New method.
12725         (Pipe): Documentation added.
12726         (open): Documentation added.
12727         (SinkChannel.channel): Documentation added.
12728         (SourceChannel.channel): Documentation added.
12729         * java/nio/channel/SelectableChannel.java
12730         (SelectableChannel): Documentation added.
12731         (blockingLock): Documentation added.
12732         (configureBlocking):Documentation added.
12733         (isBlocking):Documentation added.
12734         (isRegistered):Documentation added.
12735         (keyFor):Documentation added.
12736         (provider):Documentation added.
12737         (register): Documentation added.
12738         (validOps): Documentation added.
12739         * jaba/nio/channels/SelectionKey.java
12740         (SelectionKey): Documentation added.
12741         (attach): Documentation added.
12742         (attachment): Documentation added.
12743         (isAcceptable): Documentation added.
12744         (isConnetable): Documentation added.
12745         (isReadable): Documentation added.
12746         (isWritable): Documentation added.
12747         (cancel): Documentation added.
12748         (channel): Documentation added.
12749         (interestOps): Documentation added.
12750         (isValid): Documentation added.
12751         (readyOps): Documentation added.
12752         (selector): Documentation added.
12753         * jaba/nio/channels/Selector.java
12754         (Selector): Documentation added.
12755         (open): Documentation added.
12756         (close): Documentation added.
12757         (isOpen): Documentation added.
12758         (keys): Documentation added.
12759         (provider): Documentation added.
12760         (select): Documentation added.
12761         (selectedKeys): Documentation added.
12762         (selectNow): Documentation added.
12763         (wakeup): Documentation added.
12764         * java/nio/channels/spi/AbstractInterruptibleChannel.java
12765         (AbstractInterruptibleChannel): Documentation added.
12766         (opened): Default to true;
12767         (begin): Documentation added.
12768         (close): Set opened to false, documentation added.
12769         (isOpen): Documentation added.
12770         * java/nio/channels/spi/AbstractSelectionKey.java
12771         (AbstractSelectionKey): Documentation added.
12772         (cancel): Documentation added.
12773         (isValid): Documentation added.
12774         * java/nio/channels/spi/AbstractSelector.java
12775         (AbstractSelector): Documentation added.
12776         (begin): Documentation added.
12777         (close): Documentation added.
12778         (isOpen): Documentation added.
12779         (deregister): Documentation added.
12780         (end): Documentation added.
12781         (provider): Documentation added.
12782         (implCloseSelector): Documentation added.
12783         (register): Documentation added.
12784         * java/nio/channels/spi/SelectorProvider.java
12785         (SelectorProvider): Documentation added.
12786         (openDatagramChannel): Documentation added.
12787         (openPipe): Documentation added.
12788         (openSelector): Documentation added.
12789         (openServerSocketChannel): Documentation added.
12790         (openSocketChannel): Documentation added.
12791         (provider): Documentation added.
12792
12793 2002-11-12  Michael Koch <konqueror@gmx.de>
12794
12795         * java/nio/Buffer.java: Implemented.
12796         * java/nio/CharBuffer.java: New file.
12797         * java/nio/InvalidMarkException.java: New file.
12798         * java/nio/channels/DatagramChannel.java: Implemented.
12799         * java/nio/channels/ServerSocketChannel.java: Implemented.
12800         * java/nio/channels/SocketChannel.java: Implemented.
12801         * java/nio/channels/spi/AbstractChannel.java: Removed.
12802         * java/nio/channels/spi/AbstractSelectableChannel.java:
12803         Implemented.
12804         * java/nio/charset/Charset.java:
12805         Merge from Classpath.
12806         * java/nio/charset/CharsetDecoder.java: New file.
12807         * java/nio/charset/CharsetEncoder.java: New file.
12808         * java/nio/charset/CoderResult.java: New file.
12809         * Makefile.am (ordinary_java_source_files): Added new files.
12810         * Makefile.in: Regenerated.
12811
12812 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12813
12814         * gnu/java/nio/charset/ISO_8859_1.java,
12815         gnu/java/nio/charset/Provider.java,
12816         gnu/java/nio/charset/US_ASCII.java,
12817         gnu/java/nio/charset/UTF_16.java,
12818         gnu/java/nio/charset/UTF_16BE.java,
12819         gnu/java/nio/charset/UTF_16Decoder.java,
12820         gnu/java/nio/charset/UTF_16Encoder.java,
12821         gnu/java/nio/charset/UTF_16LE.java,
12822         gnu/java/nio/charset/UTF_8.java: New files.
12823
12824 2002-11-11  Michael Koch <konqueror@gmx.de>
12825
12826         * java/nio/charset/CharacterCodingException.java:
12827         This class must be public.
12828         * java/nio/charset/CoderMalfunctionError.java:
12829         This class must be public.
12830         * java/nio/charset/CodingErrorAction.java:
12831         This class must be public.
12832         * java/nio/charset/IllegalCharsetNameException.java:
12833         This class must be public, better implementation.
12834         * java/nio/charset/MalformedInputException.java:
12835         This class must be public, better implementation.
12836         * java/nio/charset/UnmappableCharacterException.java:
12837         This class must be public, better implementation.
12838         * java/nio/charset/UnsupportedCharsetException.java:
12839         This class must be public, better implementation.
12840
12841 2002-11-11  Michael Koch <konqueror@gmx.de>
12842
12843         * java/nio/BufferOverflowException.java,
12844         java/nio/BufferUnderflowException.java: New file.
12845         * Makefile.am (ordinary_java_source_files):
12846         Added new files.
12847         * Makefile.in: Regenerated.
12848
12849 2002-11-10  Tom Tromey  <tromey@redhat.com>
12850
12851         * java/awt/Container.java (validate): Use tree lock.
12852         (getComponent): Likewise.
12853         (getComponents): Likewise.
12854         (addImpl): Likewise.
12855         (remove): Likewise.
12856         (removeAll): Likewise.
12857         (processEvent): Fixed indentation.
12858         (getComponentAt): Use tree lock.
12859         (findComponentAt): Likewise.
12860         (removeNotify): Likewise.
12861         (isAncestorOf): Likewise.
12862         (list): Likewise.
12863         (visitChildren): Likewise.
12864         (findNextFocusComponent): Likewise.
12865         (addNotifyContainerChildren): Likewise.
12866         (getAccessibleChildrenCount): Likewise.
12867         (getAccessibleChild): Likewise.
12868
12869         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
12870         (getSize): Likewise.
12871         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
12872         (getSize): Likewise.
12873         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
12874         (calcSize): Likewise.
12875         * java/awt/CardLayout.java (getSize): Use tree lock.
12876         (gotoComponent): Likewise.
12877         (layoutContainer): Likewise.
12878
12879         * java/io/natFileDescriptorWin32.cc (read): Handle case where
12880         count is 0.
12881         * java/io/natFileDescriptorPosix.cc (read): Handle case where
12882         count is 0.
12883
12884         * java/io/Externalizable.java, java/io/FilePermission.java,
12885         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
12886         java/io/SerializablePermission.java, java/text/Format.java,
12887         java/util/AbstractMap.java, java/util/HashMap.java,
12888         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
12889         versions from Classpath.
12890
12891 2002-11-10  Anthony Green  <green@redhat.com>
12892
12893         * java/util/jar/Attributes.java (Name): Fix name check.
12894
12895 2002-11-10  Mark Wielaard  <mark@klomp.org>
12896
12897         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
12898         with getName() as message.
12899         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
12900         type as message.
12901
12902         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
12903         unused.
12904
12905 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
12906
12907         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
12908         for Win32. JNICALL has been defined to __stdcall to be compatible
12909         with Sun's JDKs.
12910
12911 2002-11-10  Tom Tromey  <tromey@redhat.com>
12912
12913         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
12914         (setRows): Check newRows, not rows.
12915
12916         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
12917
12918 2002-11-09  Tom Tromey  <tromey@redhat.com>
12919
12920         * java/applet/Applet.java, java/applet/AppletContext.java,
12921         java/applet/AppletStub.java, java/applet/AudioClip.java,
12922         java/awt/CardLayout.java,
12923         java/awt/ContainerOrderFocusTraversalPolicy.java,
12924         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
12925         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
12926         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
12927         java/awt/color/ICC_ColorSpace.java,
12928         java/awt/color/ICC_Profile.java,
12929         java/awt/color/ICC_ProfileGray.java,
12930         java/awt/color/ICC_ProfileRGB.java,
12931         java/awt/datatransfer/DataFlavor.java,
12932         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
12933         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
12934         New versions from Classpath.
12935         * Makefile.in: Rebuilt.
12936         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
12937         ICC_ProfileRGB.
12938
12939         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
12940         display policy.
12941
12942         * java/awt/List.java (processEvent): Added missing `else's.
12943
12944         * java/awt/Window.java (show): validate() before showing.  Make
12945         parent displayable.
12946         (isDisplayable): New method.
12947
12948 2002-11-07  Mark Wielaard  <mark@klomp.org>
12949
12950         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
12951         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
12952
12953         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
12954         annotation.
12955         (loadClass): Take String as codebases.
12956         (getClassAnnotation): Use MyClassLoader annotations.
12957         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
12958         call exportObject(this).
12959
12960         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
12961         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
12962         (setAnnotation): Don't set locBytesStream and locStream.
12963         (replaceObject): Removed.
12964         (flush): Don't test locStream.
12965         (getLocBytes): LikeWise.
12966         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
12967         (leaseCache): New field.
12968         (dirty): Use leaseCache.
12969         (LeaseRecord): New inner class.
12970         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
12971         explicitly call exportObject().
12972         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
12973         false to communicate with Sun JDK130.
12974         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
12975         * gnu/java/rmi/server/RMIObjectInputStream.java
12976         (UnicastConnectionManager): Removed field.
12977         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
12978         Use UnicastServer.getExportedRef().
12979         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
12980         (expireTime): Likewise.
12981         (CONNECTION_TIMEOUT): Likewise.
12982         (disconnect): Call sock.close().
12983         (isExpired): New method.
12984         (resetTime): Likewise.
12985         (run): Use do while loop and catch Exception for discardConnection().
12986         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
12987         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
12988         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
12989         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
12990         (exportObject): Use refcache.
12991         (unexportObject): Likewise.
12992         (getExportedRef): New method.
12993         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
12994         constructor.
12995         (exportObject): Save manager.serverobj.
12996         (getStub): New method.
12997
12998 2002-11-07  Mark Wielaard  <mark@klomp.org>
12999
13000         * java/lang/reflect/natField.cc (getBoolean): Use getType().
13001         (getByte): Likewise.
13002         (getShort): Likewise.
13003         (getInt): Likewise.
13004         (getLong): Likewise.
13005         (getFloat): Likewise.
13006         (getDouble): Likewise.
13007         (get): Likewise.
13008         (setChar): Likewise.
13009         (setByte): Likewise.
13010         (setShort): Likewise.
13011         (setInt): Likewise.
13012         (setLong): Likewise.
13013         (setFloat): Likewise.
13014         (setDouble): Likewise.
13015
13016 2002-11-07  Michael Koch <konqueror@gmx.de>
13017
13018         * java/awt/Choice.java,
13019         java/awt/Container.java,
13020         java/awt/GridBagLayout.java:
13021         Fixed documentation.
13022         * java/awt/peer/ContainerPeer.java:
13023         Reindented.
13024
13025 2002-11-07  Michael Koch <konqueror@gmx.de>
13026
13027         * java/awt/color/ICC_Profile.java:
13028         Added missing constants.
13029         * java/awt/color/ICC_ColorSpace.java
13030         (getMinValue): Added dummy implementation.
13031         (getMaxValue): Added dummy implementation.
13032         * java/awt/datatransfer/DataFlavor.java
13033         (imageFlavor): Added.
13034         (isMimeTypeEqual): Must be final.
13035         (getDefaultRepresentationClass): Must be non-static.
13036         (getDefaultRepresentationClassAsString): Must be non-static.
13037         * java/awt/dnd/DragSourceContext.java
13038         (dragExit): Corrected argument.
13039         (dragDropEnd): Corrected argument.
13040         * java/awt/dnd/DragSourceListener.java.java
13041         (dragExit): Corrected argument.
13042         (dragDropEnd): Corrected argument.
13043         * java/awt/font/TextHitInfo.java
13044         (toString): Added stubbed implementation.
13045         * java/awt/geom/PathIterator.java:
13046         The constants must be static.
13047         * java/awt/image/VolatileImage.java
13048         (IMAGE_INCOMPATIBLE): Fixed typo.
13049         * java/awt/image/renderable/RenderableImage.java
13050         (HINTS_OBSERVED): Must be static.
13051         * java/beans/BeanInfo.java:
13052         Constants must be final.
13053
13054 2002-11-06  Tom Tromey  <tromey@redhat.com>
13055
13056         From svens@it.uu.se.  For PR libgcj/8481.
13057         * java/util/Random.java (nextInt(int)): Only use 31 bits.
13058
13059 2002-11-06  Tom Tromey  <tromey@redhat.com>
13060
13061         * jni.cc (array_from_valist): Assume that jlong won't be
13062         promoted.
13063
13064 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
13065
13066         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
13067         Return 20.
13068         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
13069         Return 16.
13070
13071 2002-11-03  Tom Tromey  <tromey@redhat.com>
13072
13073         * java/lang/ClassLoader.java (loadClass): Call loadClass on
13074         VMClassLoader, not findClass.
13075
13076 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
13077
13078         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
13079         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
13080         _Jv_DetermineVTableIndex, to determine vtable offset.
13081         (_Jv_DetermineVTableIndex): Remove.
13082         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
13083
13084         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
13085
13086 2002-11-03  Tom Tromey  <tromey@redhat.com>
13087
13088         * java/nio/channels/AlreadyConnectedException.java: Extend
13089         IllegalStateException, per spec.
13090
13091 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
13092
13093         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
13094
13095 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
13096
13097         * java/util/ArrayList.java (readObject, writeObject): Only read/write
13098         size items.
13099
13100 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
13101
13102         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
13103         initial estimated size to avoid enlarge buffer frequently.
13104
13105 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
13106
13107         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
13108         ClassLoader when null.
13109         (ProxyType.hashCode): Loader null check no longer needed.
13110         (ProxyType.sameTypes): New method.
13111         (ProxyType.equals): Use new method.
13112
13113 2002-10-31  Mark Wielaard  <mark@klomp.org>
13114
13115         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
13116         length of String.
13117         * java/net/URLEncoder.java (encode): Likewise.
13118
13119 2002-10-31  Mark Wielaard  <mark@klomp.org>
13120
13121         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
13122         when stream is closed.
13123         (closeEntry): Likewise.
13124         (read): Likewise.
13125         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
13126         ZipException when no entry active.
13127         (closeEntry): Likewise.
13128         (write): Likewise.
13129
13130 2002-11-02  Tom Tromey  <tromey@redhat.com>
13131
13132         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
13133         * java/lang/natClass.cc (initializeClass): Don't return just
13134         because self==thread.
13135
13136         For PR java/8415:
13137         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
13138         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
13139
13140 2002-11-02  Andreas Schwab  <schwab@suse.de>
13141
13142         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
13143         pass GCJFLAGS.
13144         (FLAGS_TO_PASS): Define.
13145         * Makefile.in: Regenerated.
13146
13147 2002-11-01  Michael Koch  <konqueror@gmx.de>
13148
13149         * java/nio/ByteOrder.java: New file.
13150         * java/nio/channels/DatagramChannel.java:
13151         (DatagramChannel): New constructor.
13152         * java/nio/channels/Pipe.java: New file.
13153         * java/nio/channels/SelectableChannel.java: New file.
13154         * java/nio/channels/SelectionKey.java: New file.
13155         * java/nio/channels/Selector.java: New file.
13156         * java/nio/channels/ServerSocketChannel.java
13157         (ServerSocketChannel): New constructor.
13158         * java/nio/channels/SocketChannel.java
13159         (SocketChannel): New constructor.
13160         * java/nio/channels/Pipe.java: New file.
13161         * java/nio/channels/spi/AbstractChannel.java: New file.
13162         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
13163         * java/nio/channels/spi/AbstractSelectableChannel.java:
13164         License added
13165         (AbstractSelectableChannel): New stubbed method.
13166         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
13167         * java/nio/channels/spi/AbstractSelector.java: New file.
13168         * java/nio/channels/spi/SelectorProvider.java: New file.
13169         * java/nio/charset/Charset.java: New file.
13170         * java/nio/charset/CoderMalfunctionError.java: New file.
13171         * java/nio/charset/CodingErrorAction.java: New file.
13172         * java/nio/charset/spi/CharsetProvider.java
13173         (charsetForName): Uncommented.
13174         * Makefile.am (java_native_source_files): Added new files.
13175         * Makefile.in: Regenerated.
13176
13177 2002-11-01  Michael Koch  <konqueror@gmx.de>
13178
13179         * java/net/InetAddress.java:
13180         (isAnyLocalAddress): Implemented.
13181         (isLoopbackAddress): Implemented, comment added.
13182         (isLinkLocalAddress): Implemented, documentation added.
13183         (isSiteLocalAddress): Implemented, documentation added.
13184         (isMCGlobal): Implemented, documentation added.
13185         (isMCNodeLocal): Implemented, documentation added.
13186         (isMCLinkLocal): Implemented, documentation added.
13187         (isMCSiteLocal): Implemented, documentation added.
13188         (isMCOrgLocal): Implemented, documentation added.
13189         (getHostName): Documentation added.
13190         (getCanonicalHostName): Implemented, documentation added.
13191         (getAddress): Documentation added.
13192         (hashCode): Documentation added.
13193         (equals): Documentation added.
13194         (toString): Fixed implementation.
13195         (getByAddress): Use Inet4Address and Inet6Address.
13196         (lookup): New linewrap.
13197         (getByName): SecurityManager check added, support Inet4Address and
13198         Inet6address, comments added.
13199         (getAllByName): SecurityManager check added, comments added.
13200         * java/net/Inet6Address.java:
13201         (Inet6Address): Initialize parent class with addr instead of null.
13202         * java/net/URL.java
13203         (equals): Documentation added.
13204         (getFile): Documentation added.
13205         (hashCode): Documentation added.
13206         * java/net/natInetAddress.cc:
13207         (aton): Fix IPv6 support.
13208         * java/net/natPlainDatagramSocketImpl.cc:
13209         (peek): Throw PortUnreachableException when suitable.
13210         (peekData): Throw PortUnreachableException when suitable.
13211         (send): Throw PortUnreachableException when suitable.
13212         (receive): Throw PortUnreachableException when suitable.
13213
13214 2002-10-27  Mark Wielaard  <mark@klomp.org>
13215
13216         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
13217         argument.
13218         (readLeShort): Likewise and use byte[].
13219         (readLeInt): Likewise.
13220         (readEntries): Use new versions of methods and use byte[] for reading
13221         a complete zip entry. Add ZipFile name to exceptions.
13222         (entries): Add ZipFile name to exceptions.
13223         (getEntry): Likewise.
13224         (checkLocalHeader): Use new versions of methods and add ZipFile name
13225         to exceptions.
13226
13227 2002-10-31  Mark Anderson  <mark@panonet.net>
13228
13229         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
13230         added
13231
13232 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
13233
13234         * configure.in: Disable hash sync when not using threads.
13235         * configure: Regenerated.
13236
13237 2002-10-24  Tom Tromey  <tromey@redhat.com>
13238
13239         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
13240         (_Jv_FindSymbolInExecutable): Removed argument name.
13241         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
13242         java.library.path is set.
13243
13244         * gij.cc (help): Document --showversion.
13245         (version): Don't exit.
13246         (main): Handle --showversion.  Exit if --version given.
13247
13248 2002-10-23  Tom Tromey  <tromey@redhat.com>
13249
13250         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
13251         (array_from_valist): Correctly handle promotion for jint, jlong,
13252         jfloat, and jdouble.
13253
13254 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
13255
13256         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
13257         GetFileAttributesEx( ) to find file length and modification times,
13258         as the latter is not present on Windows 95.
13259
13260 2002-10-21  Michael Koch  <konqueror@gmx.de>
13261
13262         * java/net/URL.java
13263         (URL): Activate SecurityManager checks.
13264         (equals): Use URLStreamHandler implementation instead of doing it
13265         alone. This allows special protocol stream handlers to change default
13266         behaviour.
13267         (hashCode): Use URLStreamHandler implementation instead of doing it
13268         alone. This allows special protocol stream handlers to change default
13269         behaviour.
13270         * java/net/URLStreamHandler.java
13271         (equals): Implemented default URL equality check.
13272         (hostsEqual): Implemented default URL equality check.
13273         (hashCode): Implemented default URL hashCode algorithm.
13274         * java/net/natPlainDatagramSocketImpl.cc:
13275         No lines longer then 80 characters.
13276
13277 2002-10-20  Adam Megacz <adam@xwt.org>
13278
13279         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
13280         * configure.in: enabled hash sync on Win32
13281         * include/win32-threads.h (_Jv_ThreadId_t): added.
13282         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
13283         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
13284         removed some posix-isms, use Thread::sleep() instead of usleep,
13285         added code to clear bottom three bits if platform has a broken
13286         linker.
13287         * include/win32-threads.h (_Jv_ThreadId_t): added.
13288
13289 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
13290
13291         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
13292         runtime property "gnu.gcj.progname" containing the name used to
13293         invoke the current Java program (similar to argv[0] for C
13294         programs).
13295
13296 2002-10-15  Tom Tromey  <tromey@redhat.com>
13297
13298         Fix for PR libgcj/8234:
13299         * java/util/zip/natInflater.cc (reset): Reset avail_in.
13300         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
13301
13302 2002-10-13  Mark Wielaard  <mark@klomp.org>
13303
13304         * mauve-libgcj: Enable Mauve tests that compile now.
13305
13306 2002-10-11  Mark Wielaard  <mark@klomp.org>
13307
13308         Fix for PR libgcj/8142
13309         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
13310         loading native modules.
13311
13312 2002-10-10  Michael Koch  <konqueror@gmx.de>
13313
13314         * javax/swing/AbstractListModel.java
13315         (getListDataListeners): New stubbed method.
13316         javax/swing/DefaultBoundedRangeModel.java
13317         (getChangeListeners): New stubbed method.
13318         javax/swing/DefaultSingleSelectionModel.java
13319         (getChangeListeners): New stubbed method.
13320
13321 2002-10-10  Michael Koch  <konqueror@gmx.de>
13322
13323         * gcj/.cvsignore: New file to ignore files generated during build.
13324         * include/.cvsignore: New file to ignore files generated during build.
13325
13326 2002-10-10  Michael Koch  <konqueror@gmx.de>
13327
13328         * java/net/HttpURLConnection.java
13329         (getPermission): New method.
13330         (getErrorStream): New stub method.
13331         (getHeaderFieldDate): New stub method.
13332         * java/net/Inet4Address.java:
13333         (isLinkLocalAddress): Typo fixed.
13334         * java/net/InetAddress.java:
13335         (readResolve): New stubbed method (for serialization).
13336         (isAnyLocalAddress): New stubbed method.
13337         (isLoopbackAddress): New stubbed method.
13338         (isLinkLocalAddress): New stubbed method.
13339         (isSiteLocalAddress): New stubbed method.
13340         (isMCGlobal): New stubbed method.
13341         (isMCNodeGlobal): New stubbed method.
13342         (isMCLinkLocal): New stubbed method.
13343         (isMCSiteLocal): New stubbed method.
13344         (isMCOrgLocal): New stubbed method.
13345         (getCanonicalHostName): New stubbed method.
13346         (getByAddress): Create instances of Inet4Address/Inet6Address,
13347         instead of InetAddress, documentation added.
13348         * java/net/MulticastSocket.java
13349         (getInterface): Removed FIXME.
13350         (getNetworkInterface): New method.
13351         (setNetworkInterface): New method.
13352         * java/net/NetworkInterface.java:
13353         (toString): Use property "line.separator" instead of "\n".
13354         * java/net/URLConnection.java
13355         (getContent): New stubbed method.
13356         * java/net/URLStreamHandler.java:
13357         (equals): New stubbed method.
13358         (hostsEqual): New stubbed method.
13359         (hashCode): New stubbed method.
13360         * java/net/natNetworkInterface.cc:
13361         (getRealNetworkInterfaces): Create Inet4Address object
13362         instead of InetAddress.
13363
13364 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
13365
13366         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
13367         unsigned long temporary to implement insn_iushr shifts.
13368
13369 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
13370
13371         * configure.host [s390*-*]: Enable Java interpreter.
13372         Enable hash synchronization.  Add sysdeps dir.
13373         * sysdep/s390/locks.h: New file.
13374
13375 2002-10-06  Mark Wielaard  <mark@klomp.org>
13376
13377         * java/lang/Thread.java (setDaemon): Check startable_flag,
13378         not isAlive().
13379
13380 2002-10-07  Michael Koch  <konqueror@gmx.de>
13381
13382         * java/nio/Buffer.java: New stub file.
13383         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
13384         of class Charset.
13385         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
13386         * Makefile.in: Regenerated.
13387
13388 2002-10-07  Michael Koch  <konqueror@gmx.de>
13389
13390         * java/nio/ByteBuffer.java:
13391         removed import of not commited class.
13392
13393 2002-10-07  Michael Koch  <konqueror@gmx.de>
13394
13395         * java/nio/ByteBuffer.java,
13396         java/nio/MappedByteBuffer.java:
13397         New files, forgot to add these dummies.
13398         * Makefile.am (java_native_source_files): Added new files.
13399         * Makefile.in: Regenerated.
13400
13401 2002-10-07  Michael Koch  <konqueror@gmx.de>
13402
13403         * java/nio/channels/AlreadyConnectedException.java,
13404         java/nio/channels/ClosedChannelException.java,
13405         java/nio/channels/ReadableByteChannel.java,
13406         java/nio/channels/InterruptibleChannel.java,
13407         java/nio/channels/Channel.java,
13408         java/nio/channels/ByteChannel.java,
13409         java/nio/channels/GatheringByteChannel.java,
13410         java/nio/channels/ScatteringByteChannel.java,
13411         java/nio/channels/WritableByteChannel.java,
13412         java/nio/charset/CharacterCodingException.java,
13413         java/nio/charset/IllegalCharsetNameException.java,
13414         java/nio/charset/MalformedInputException.java,
13415         java/nio/charset/UnmappableCharacterException.java,
13416         java/nio/charset/UnsupportedCharsetException.java,
13417         java/nio/charset/spi/CharsetProvider.java: New file.
13418         These files are exceptions or interfaces,
13419         no real or abstract classes.
13420         * Makefile.am (java_native_source_files): Added new files.
13421         * Makefile.in: Regenerated.
13422
13423 2002-10-05  Michael Koch  <konqueror@gmx.de>
13424
13425         * java/net/InetAddress.java
13426         (getByAddress): Fixed documentation.
13427         (getByAddress): New method.
13428         * java/net/Inet4Address.java: New file.
13429         * java/net/URL.java
13430         (URL): Documentation added.
13431         (getContent): Documentation added.
13432         (getContent): New stubbed method.
13433         (getQuery): New method.
13434         (openConnection): Documentation added.
13435         (openStream): Documentation added.
13436         (setURLStreamHandlerFactory): Documentation added.
13437         * java/net/URI.java: New stub file.
13438         * Makefile.am
13439         (java_native_source_files): Added java/net/Inet4Address.java,
13440         java/net/Inet6Address.java and java/net/URI.java.
13441         * Makefile.in: Regenerated.
13442
13443 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
13444
13445         * java/lang/ProtectionDomain.java (linesep): Remove field.
13446         (toString): Use System.getProperty("line.separator").
13447
13448 2002-10-04  Michael Koch  <konqueror@gmx.de>
13449
13450         * java/security/Identity.java: Added serialVersionUID.
13451         * java/security/KeyPair.java: Added serialVersionUID.
13452         * java/security/Provider.java: Added serialVersionUID.
13453         * java/security/SecureRandom.java: Added serialVersionUID.
13454         * java/security/SecureRandomSpi.java: Added serialVersionUID.
13455         * java/security/SignedObject.java: Added serialVersionUID.
13456         * java/security/cert/Certificate.java: Added serialVersionUID.
13457
13458 2002-10-04  Mark Wielaard <mark@klomp.org>
13459
13460         * java/security/Security.java: Use java.home or gnu.classpath.home
13461         to load providers.
13462         (loadProviders): Extra dir argument.
13463         (getProvider): Return null when not found.
13464
13465 2002-10-04  Mark Wielaard  <mark@klomp.org>
13466
13467         * java/lang/Throwable.java: Remerge with Classpath.
13468
13469 2002-10-04  Michael Koch  <konqueror@gmx.de>
13470
13471         * java/net/InetAddress.java:
13472         (isMulticastAddress): Added documentation.
13473         (getHostAddress): Added documentation.
13474         (toString): Added documentation.
13475         (getByAddress): Fixed documentation.
13476         (getByName): Added documentation.
13477         (getAllByName): Added documentation.
13478         (getLocalHost): Added documentation.
13479
13480 2002-10-04  Michael Koch  <konqueror@gmx.de>
13481
13482         * java/beans/beancontext/BeanContextChildSupport.java:
13483         Added serialVersionUID.
13484         * java/text/Collator.java: (compare): Made documentation HTML-aware.
13485         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
13486         * javax/naming/Name.java: Added serialVersionUID.
13487
13488 2002-10-03  Adam Megacz <adam@xwt.org>
13489
13490         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
13491         some functionality that isn't supported yet on WIN32.
13492
13493 2002-10-03  Tom Tromey  <tromey@redhat.com>
13494
13495         * Makefile.in: Rebuilt.
13496         * Makefile.am (awt_java_source_files): Added new files.
13497
13498 2002-10-03  Michael Koch  <konqueror@gmx.de>
13499
13500         * java/net/InetAddress.java
13501         (class InetAddress): Removed final keyword.
13502         (equals): Fixed typo.
13503         (getByAddress): New method.
13504
13505 2002-10-03  Michael Koch  <konqueror@gmx.de>
13506
13507         * java/awt/dnd/Autoscroll.java:
13508         New file, merge from Classpath.
13509         * java/awt/dnd/DragSourceAdapter.java:
13510         (dragExit): Fixed typos in argument type.
13511         (dragDropEnd): Fixed typos in argument type.
13512         * java/awt/dnd/DragSourceDropEvent.java:
13513         New file, merge from Classpath.
13514         * java/awt/dnd/DropTarget.java:
13515         Added stubs, merge from Classpath.
13516         * java/awt/dnd/DropTargetAdapter.java:
13517         New file, merge from Classpath.
13518         * java/awt/dnd/DropTargetContext.java:
13519         New file, merge from Classpath.
13520         * java/awt/dnd/DropTargetDragEvent.java:
13521         New file, merge from Classpath.
13522         * java/awt/dnd/DropTargetDropEvent.java:
13523         New file, merge from Classpath.
13524         * java/awt/dnd/DropTargetEvent.java:
13525         New file, merge from Classpath.
13526         * java/awt/dnd/DropTargetListener.java:
13527         New file, merge from Classpath.
13528         * java/awt/dnd/MouseDragGestureRecognizer.java:
13529         New file, merge from Classpath.
13530         * java/awt/dnd/peer/DropTargetContextPeer.java:
13531         New file, merge from Classpath.
13532
13533 2002-10-03  Michael Koch  <konqueror@gmx.de>
13534
13535         * java/net/DatagramPacket.java
13536         (setLength): Fixed typo and be HTML-aware.
13537         * java/net/InetSocketAddress.java
13538         (InetSocketAddress): Correct initialization of hostname, fixed typo.
13539         (equals): Added comment about equality of InetSocketAddress objects.
13540         * java/net/ServerSocket.java
13541         (accept): Added checks.
13542         (isClosed): New stubbed method.
13543         * java/net/SocketOptions.java: Reindention.
13544         * java/net/SocketPermission
13545         (SocketPermission): Documentation fixed.
13546
13547 2002-10-03  Michael Koch  <konqueror@gmx.de>
13548
13549         * java/net/DatagramSocket.java
13550         (receive): Check with SecurityManager AFTER the packet is received,
13551         check if connected to multicast address, documentation added.
13552         (send): Only check SecurityManager if connected, check address of
13553         packet to send.
13554         (connect): Implemented, documentation added.
13555         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
13556         * java/net/InetSocketAddress.java
13557         (whole file): Reindented.
13558         (hostname): New attribute.
13559         (InetSocketAddress): Initialize new attribute.
13560         (getAddress): Documentation added.
13561         (getHostName): Documentation added.
13562         (getPort): Documentation added.
13563         (hashCode): Documentation added.
13564         (isUnresolved): Documentation added.
13565         (toString): Conform to output of JDK 1.4.1, documentation added.
13566         * java/net/MulticastSocket.java
13567         (joinGroup): Removed FIXME, documentation added.
13568         (leaveGroup): Removed FIXME, documentation added.
13569         (send): Documentation added.
13570         * java/net/Socket.java
13571         (inputShutdown): New variable.
13572         (outputShutdown): New variable.
13573         (Socket): Initialize new variables.
13574         (getRemoteSocketAddress): Check if connected.
13575         (shutdownInput): Set new variable.
13576         (shutdownOutput): Set new variable.
13577         (isConnected): New method.
13578         (isClosed): New method.
13579         (isInputShutdown): New method.
13580         (isOutputShutdown): New method.
13581         * java/net/URLStreamHandler.java
13582         (URLStreamHandler): New method.
13583         (openConnection): Added documentation.
13584         (parseURL): Added documentation.
13585         (getHostAddress): New method.
13586         (getDefaultPort): New method.
13587
13588 2002-10-02  Tom Tromey  <tromey@redhat.com>
13589
13590         * java/rmi/activation/ActivationDesc.java,
13591         java/rmi/activation/ActivationGroupDesc.java,
13592         java/rmi/activation/ActivationGroupID.java,
13593         java/rmi/activation/ActivationID.java: New versions from
13594         Classpath.
13595
13596 2002-09-30  Bo Thorsen  <bo@suse.de>
13597
13598         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
13599
13600 2002-09-30  Tom Tromey  <tromey@redhat.com>
13601
13602         * java/io/ObjectInputStream.java (resolveProxyClass): New method
13603         from Classpath.
13604         * Makefile.in: Rebuilt.
13605         * Makefile.am (rmi_java_source_files): Added new files.
13606         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
13607         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
13608         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
13609         Classpath.
13610         * gnu/java/rmi/dgc/DGCImpl.java,
13611         gnu/java/rmi/dgc/DGCImpl_Skel.java,
13612         gnu/java/rmi/dgc/DGCImpl_Stub.java,
13613         gnu/java/rmi/registry/RegistryImpl_Skel.java,
13614         gnu/java/rmi/registry/RegistryImpl_Stub.java,
13615         gnu/java/rmi/server/RMIHashes.java,
13616         gnu/java/rmi/server/RMIObjectInputStream.java,
13617         gnu/java/rmi/server/RMIObjectOutputStream.java,
13618         gnu/java/rmi/server/UnicastConnection.java,
13619         gnu/java/rmi/server/UnicastConnectionManager.java,
13620         gnu/java/rmi/server/UnicastRef.java,
13621         gnu/java/rmi/server/UnicastServer.java,
13622         gnu/java/rmi/server/UnicastServerRef.java,
13623         java/rmi/MarshalledObject.java,
13624         java/rmi/server/RMIClassLoader.java,
13625         java/rmi/server/RemoteObject.java,
13626         java/rmi/server/UnicastRemoteObject.java,
13627         java/security/SecureClassLoader.java: Merged from Classpath.
13628
13629 2002-09-29  Anthony Green  <green@redhat.com>
13630
13631         * java/lang/reflect/UndeclaredThrowableException.java: New file.
13632         Imported from GNU Classpath.
13633         * java/lang/reflect/natProxy.cc: New file.
13634         * java/lang/reflect/InvocationHandler.java: New file.  Imported
13635         from GNU Classpath.
13636         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
13637         Classpath.
13638         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
13639         Classpath.
13640         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
13641         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
13642         New statics.
13643         * gcj/javaprims.h ("Java"): Add new classes.
13644         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
13645         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
13646         java/lang/reflect/Proxy$$ProxyType.h): And this.
13647         (inner_nat_headers): Add these new headers.
13648         (ordinary_java_source_files): Add new files.
13649         (nat_source_files): Add new file.
13650         * Makefile.in: Rebuilt.
13651
13652 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
13653
13654         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
13655         a single configuration.
13656
13657 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13658
13659         * java/util/TimeZone.java (getDSTSavings): New method.
13660         Fixes PR libgcj/7786.
13661
13662 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13663
13664         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
13665         to see if `the_method == 0' before looking up vtable index.
13666         Fixes PR libgcj/7709.
13667
13668 2002-09-25  Tom Tromey  <tromey@redhat.com>
13669
13670         * java/lang/natClassLoader.cc:
13671         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
13672         * resolve.cc: Include NoClassDefFoundError.h, not
13673         ClassNotFoundException.h.
13674         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
13675
13676         * defineclass.cc: Don't include ClassNotFoundException.h.
13677
13678         * resolve.cc: Include StringBuffer.
13679         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
13680
13681         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
13682         allocated but not initialized.
13683
13684 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13685
13686         Fix for PR libgcj/7766:
13687         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
13688         (getNextEntry): Set it.
13689         (closeEntry): Likewise.
13690         (read): Likewise.
13691         (close): Likewise.
13692         (available): Use it.
13693
13694 2002-09-25  Michael Koch  <konqueror@gmx.de>
13695
13696         * java/net/DatagramSocket.java
13697         (DatagramSocket): Initialize new instance variables.
13698         (close): Reset new instance variables.
13699         (getLocalAddress): Remove unneeded SecurityManager usage.
13700         (getLocalPort): Check if socket is already bound.
13701         (isConnected): New method.
13702         (getInetAddress): Implemented.
13703         (getPort): Better Implementation, documentation fixed.
13704         (getRemoteSocketAddress): New method.
13705         * java/net/JarURLConnection.java
13706         (element): Typo fixed.
13707         (getMainAttributes): New method.
13708         (getAttributes): New method (stub only).
13709         (getManifest): New method (stub only).
13710         * java/net/NetPermission.java: Added serialVersionsUID.
13711         * java/net/Socket.java
13712         (connect): Check blocking mode of associated channel,
13713         documentation added.
13714         (getLocalSocketAddress): Better implementation.
13715         (getRemoteSocketAddress): Implemented.
13716         (isBound): New method.
13717         (setSendBufferSize): Documentation added.
13718         * java/net/SocketAddress.java: Added serialVersionsUID.
13719         * java/net/SocketPermission.java: Added serialVersionsUID.
13720         * java/net/URL.java
13721         (URL): Wrap for shorter lines, initialize new instance variables,
13722         documentation added.
13723         (equals): Check new instance variables too.
13724         (getContent): Documentation added.
13725         (getPath): Documentation added.
13726         (getAuthority): New method.
13727         (getHost): Documentation added.
13728         (getPort): Documentation added.
13729         (getDefaultPort): New method.
13730         (getProtocol): Documentation added.
13731         (getUserInfo): Documentation added.
13732         (set): Initialize new instance variables, documentation added.
13733         * java/net/URLStreamHandler.java
13734         (setURL): New method.
13735         * java/net/natPlainDatagramSocketImpl.cc
13736         (connect): Fix exception name.
13737         (disconnect): Fix exception name.
13738
13739 2002-09-25  Michael Koch  <konqueror@gmx.de>
13740
13741         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
13742         * java/nio/channels/DatagramChannel.java:
13743         extends AbstractSelectableChannel
13744         * java/nio/channels/ServerSocketChannel.java:
13745         extends AbstractSelectableChannel
13746         * java/nio/channels/SocketChannel.java:
13747         extends AbstractSelectableChannel
13748         * Makefile.am (ordinary_java_source_files):
13749         java/nio/channels/spi/AbstractSelectableChannel.java added.
13750         * Makefile.in: Regenerated.
13751
13752 2002-09-25  Michael Koch  <konqueror@gmx.de>
13753
13754         * java/net/DatagramSocket.java
13755         (DatagramSocket): Exception documentation added.
13756         (bind): Exception documentation added, addded SecurityManager check,
13757         added SocketAddress type check.
13758         (getSoTimeout): Check impl.
13759         (receive): Fix SecurityManager check, check impl, documentation added.
13760         (send): Check channel mode, documentation added.
13761         (connect): New method.
13762         (disconnect): Implemented.
13763         (getLocalSocketAddress): New method.
13764         (getReceiveBufferSize): Check impl.
13765         (setReuseAddress): Check impl.
13766         (getReuseAddress): Check impl.
13767         (setBroadcast): Check impl.
13768         (getBroadcast): Check impl.
13769         (setTrafficClass): Check impl, Documentation cleared.
13770         (getTrafficClass): Check impl.
13771         (getSendBufferSize): Check impl.
13772         (setReceiveBufferSize): Check impl, documentation added.
13773         (setSendBufferSize): Documentation added.
13774         (setDatagramSocketImplFactory): New method.
13775         * java/net/HttpURLConnection.java
13776         (HTTP_INTERNAL_ERROR): The correct code is 500.
13777         (HTTP_NOT_IMPLEMENTED): Added new constant.
13778         (setFollowRedirects): Documentation added.
13779         (getInstanceFollowRedirects): New method.
13780         (setInstanceFollowRedirects): New method.
13781         (setRequestMethod): Documentation added.
13782         (getResponseCode): Documentation added.
13783         (getResponseMessage): Documentation added.
13784         * java/net/JarURLConnection.java
13785         (JarURLConnection): protected since JDK 1.4.
13786         (getJarEntry): java.io.IOException to IOException, documentation added.
13787         (getJarFile): Documentation added.
13788         * java/net/ServerSocket.java
13789         (ServerSocket): Private to public, exception added.
13790         (ServerSocket): java.io.IOException to IOException, documentation added.
13791         (bind): Check socket address type, documentation added.
13792         (bind): java.io.IOException to IOException, documentation added.
13793         (accept): Documentation added.
13794         (implAccept): Check ch is not non-blocking, documentation added.
13795         (setSoTimeout): Documentation fixed.
13796         (setReceiveBufferSize): Documentation added.
13797         * java/net/Socket.java
13798         (Socket): Documentation added.
13799         (bind): Documentation added.
13800         (connect): Check socket address type, documentation added.
13801         (getRemoteSocketAddress): New method.
13802         (getLocalSocketAddress): New method.
13803         (setSoLinger): Documentation added.
13804         (getReuseAddress): New method.
13805         (setReuseAddress): New method.
13806         (getTrafficClass): New method.
13807         (setTrafficClass): New method.
13808         * java/net/URLStreamHandler.java
13809         (openConnection): java.io.IOException to IOException.
13810         (parseURL): Documentation added.
13811         (sameFile): public to protected, documentation added.
13812         (setURL): Documentation added.
13813         * java/nio/IllegalBlockingModeException.java: New file.
13814         * Makefile.am (ordinary_java_source_files):
13815         added java/nio/IllegalBlockingModeException.java
13816         * Makefile.in: Regenerated.
13817
13818 2002-09-25  Michael Koch  <konqueror@gmx.de>
13819
13820         * java/net/DatagramPacket
13821         (DatagramPacket): Exception documentation added.
13822         (setData): Likewise.
13823         (setSocketAddress): Likewise.
13824         * java/net/DatagramSocketImpl.java
13825         (peek): Documentation addded.
13826         (peekData): Documentation addded.
13827         (send): Documentation addded.
13828         (receive): Documentation addded.
13829         (connect): New method.
13830         (disconnect): New method.
13831         (joinGroup): New abstract method.
13832         (leaveGroup): New abstract method.
13833         * java/net/InetSocketAddress.java
13834         (InetSocketAddress): Documentation added.
13835         (equals): final keyword added.
13836         (getAddress): final keyword added.
13837         (getHostName): final keyword added.
13838         (getPort): final keyword added.
13839         (hashCode): final keyword added.
13840         (isUnresolved): final keyword added.
13841         * java/net/MulticastSocket.java
13842         (MulticastSocket): Documentation added.
13843         (MulticastSocket): New method.
13844         (joinGroup): Documentation added.
13845         (joinGroup): New method.
13846         (leaveGroup): Documentation added.
13847         (leaveGroup): New method.
13848         (send): Documentation added.
13849         * java/net/NetworkInterface.java
13850         (getByName): Documentation added.
13851         (getByInetAddress): Documentation added.
13852         (getNetworkInterfaces): Documentation added.
13853         * java/net/PlainDatagramSocketImpl.java
13854         (connect): New method.
13855         (disconnect): New method.
13856         * java/net/SocketImpl.java
13857         (create): Documentation added.
13858         (shutdownInput): Convert public to protected, as it always was.
13859         (shutdownOutput): Convert public to protected, as it always was.
13860         * java/net/SocketOptions.java
13861         (whole file): Reintented.
13862         * java/net/URLClassLoader.java
13863         (URLClassLoader): SecurityManager check added, documentation added.
13864         (findResources): Documentation added.
13865         (findClass): Documentation added.
13866         (newInstance): More correct method arguments.
13867         * java/net/URLConnection.java
13868         (connect): Documentation added.
13869         (getContent): Documentation added.
13870         (getPermission): Documentation added.
13871         (getInputStream): Documentation added.
13872         (getOutputStream): Documentation added.
13873         (setDoInput): Throw correct exception, documentation added.
13874         (setDoOutput): Throw correct exception, documentation added.
13875         (setAllowUserInteraction): Throw correct exception, documentation added.
13876         (setUseCaches): Throw correct exception, documentation added.
13877         (setIfModifiedSince): Throw correct exception, documentation added.
13878         (setRequestProperty): Throw exception, documentation added.
13879         (addRequestProperty): Throw exception, documentation added.
13880         (getRequestProperty): Throw exception, documentation added.
13881         (getRequestProperties): Documentation added.
13882         (setContentHandlerFactory): Documentation added.
13883         (guessContentTypeFromName): protected to public.
13884         (setFileNameMap): Documentation added.
13885         * java/net/URLDecoder.java
13886         (URLDecoder): New method.
13887         (decode): Documentation added.
13888         (whole file): Reindented.
13889         * java/net/URLEncoder.java
13890         (encode): Documentation added.
13891         * java/net/natPlainDatagramSocketImpl.cc
13892         (connect): New method.
13893         (disconnect): New method.
13894         * javax/naming/RefAddr:
13895         (addrType): addrType was never final.
13896         (equals): Fix typo in method name.
13897         * javax/naming/BinaryRefAddr:
13898         (equals): Fix typo in method name.
13899
13900 2002-09-22  Tom Tromey  <tromey@redhat.com>
13901
13902         Fix for PR libgcj/6576:
13903         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
13904         didn't find a given bundle.
13905         (getBundle): Don't require base bundle.
13906         (setParent): Removed old comment.
13907         (tryLocalBundle): Try components even if preceding components were
13908         empty.
13909
13910 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13911
13912         * Makefile.am (all-multi): Fix multilib parallel build.
13913
13914 2002-09-21  Michael Koch  <konqueror@gmx.de>
13915
13916         * java/net/Socket.java
13917         (sendUrgentData): New method.
13918         (getChannel): New method.
13919         * java/net/ServerSocket.java
13920         (getChannel): New method.
13921         (isBound): New method.
13922         * java/net/DatagramSocket.java
13923         (DatagramSocket): Two new methods.
13924         (bind): New method.
13925         (getChannel): New method.
13926         (isBound): New method.
13927         (send): Added newline to to make shorter lines.
13928         * java/net/PlainDatagramSocketImpl.java
13929         (mcastGrp): Added argument.
13930         (join): Use new mcastGrp.
13931         (leave): Use new mcastGrp.
13932         (joinGroup): New method.
13933         (leaveGroup): New method.
13934         * java/net/natPlainDatagramSocketImpl.cc
13935         (mcastGrp): Added argument, no yet really implemented.
13936         (getOption): Added newline for shorter lines.
13937         * java/net/natPlainSocketImpl.cc
13938         (read, setOption, getOption): Added newline for shorter lines.
13939
13940 2002-09-19  Tom Tromey  <tromey@redhat.com>
13941
13942        * java/lang/ClassLoader.java (resolveClass0): Set cause for
13943        newly-created exception.
13944
13945 2002-09-18  Michael Koch  <konqueror@gmx.de>
13946
13947         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
13948         java/util/regex/PatternSyntaxException.java:
13949         Merge with classpath, new files.
13950         * Makefile.am (core_java_source_files):
13951         Added java/util/regex/Matcher.java,
13952         java/util/regex/Pattern.java,
13953         java/util/regex/PatternSyntaxException.java
13954         * Makefile.in: Regenerated.
13955         * include/config.h.in: Added HAVE_NET_IF_H.
13956         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
13957         Removed #if 0 ... #endif.
13958
13959 2002-09-17  Michael Koch  <konqueror@gmx.de>
13960
13961         * java/net/natNetworkInterface.cc:
13962         Removed unneed and yet wrong includes.
13963
13964 2002-09-17  Michael Koch  <konqueror@gmx.de>
13965
13966         * java/net/NetworkInterface.java: New file.
13967         * java/net/natNetworkInterface.java: New file.
13968         * configure.in: Added check for net/if.h.
13969         * configure: Regenerated.
13970         * Makefile.am
13971         (ordinary_java_source_files): Added NetworkInterface.java.
13972         (nat_source_files): Added natNetworkInterface.cc.
13973         * Makefile.in: Regenerated.
13974
13975 2002-09-16  Tom Tromey  <tromey@redhat.com>
13976
13977         * java/net/URLClassLoader.java (findClass): Code source for a
13978         class from a jar is not necessarily a jar: URL.
13979
13980 2002-09-16  Michael Koch  <konqueror@gmx.de>
13981
13982         * java/lang/AssertionError.java:
13983         Merge with classpath, fixes HTML.
13984         * java/rmi/server/LogStream.java:
13985         Merge with classpath, fixes some constants.
13986         * java/net/server/RemoteServer.java:
13987         Merge with classpath, adds serialVersionUID.
13988         * javax/naming/BinaryRefAddr.java:
13989         Merge with classpath, s/equal/equals/.
13990         * javax/naming/NamingException.java:
13991         Merge with classpath, fixed typo.
13992         * javax/naming/RefAddr.java:
13993         Merge with classpath, s/equal/equals/.
13994         * java/awt/Toolkit.java:
13995         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
13996         and typo fixed.
13997
13998 2002-09-15  Adam Megacz <adam@xwt.org>
13999
14000         * java/net/natPlainSocketImpl.cc: fixed typo.
14001
14002 2002-09-15  Adam Megacz <adam@xwt.org>
14003
14004         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
14005         which don't work on Win32 (yet).
14006
14007 2002-09-14  Adam Megacz <adam@xwt.org>
14008
14009         * java/net/natPlainDatagramSocket.cc: removed #include
14010         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
14011         * include/win32.h: included definition for IP_TOS to satisfy
14012         natPlainDatagramSocket.cc
14013
14014 2002-09-13  Michael Koch  <konqueror@gmx.de>
14015
14016         * java/net/DatagramPacket.java (DatagramPacket):
14017         Added linebreak for 80 chars per line.
14018         * java/net/JarURLConection.java
14019         (getInputStreami, getJarEntry): Likewise.
14020         * java/net/SocketPErmission.java
14021         (SocketPermission class docu, implies): Likewise.
14022         * java/net/URLClassLoader.java (findResources): Likewise.
14023         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
14024
14025 2002-09-13  Michael Koch  <konqueror@gmx.de>
14026
14027         * java/nio/channels/DatagramChannel.java,
14028         java/nio/channels/ServerSocketChannel.java
14029         java/nio/channels/SocketChannel.java:
14030         New dummy files to make java.net fully JDK 1.4 compatible
14031         * Makefile.am (ordinary_java_source_files): Added
14032         java/net/DatagramSocketImplFactory.java (long forgotten),
14033         java/nio/SocketChannel.java,
14034         java/nio/ServerSocketChannel.java,
14035         java/nio/DatagramChannel.java
14036         * Makefile.in: Regenrated.
14037
14038 2002-09-12  Michael Koch  <konqueror@gmx.de>
14039
14040         * java/net/DatagramSocketImpl.java
14041         (peekData): New method.
14042         * java/net/PlainDatagramSocketImpl.java
14043         (peekData): New method.
14044         * java/net/natPlainDatagramSocketImpl.cc
14045         (peekData): New method.
14046         * java/net/URLConnection
14047         (getPermission): New method.
14048         (addRequestProperty): New method.
14049         (getRequestProperties): New method.
14050         (guessContentTypeFromStream): New method, not really implemented.
14051         (URLConnection): Added/updated documentation.
14052         (connect): Added/updated documentation.
14053         (getURL): Added/updated documentation.
14054         (getContentLength): Added/updated documentation.
14055         (getContentType: Added/updated documentation.
14056         (getContentEncoding): Added/updated documentation.
14057         (getExpiration): Added/updated documentation.
14058         (getDate): Added/updated documentation.
14059         (getLastModified): Added/updated documentation.
14060         (getHeaderField): Added/updated documentation.
14061         (getHeaderFields): Added/updated documentation.
14062         (getHeaderFieldInt): Added/updated documentation.
14063         (getHeaderFieldDate): Added/updated documentation.
14064         (getHeaderFieldKey): Added/updated documentation.
14065         (getContent): Added/updated documentation.
14066         (getInputStream): Added/updated documentation.
14067         (getOutputStream): Added/updated documentation.
14068         (toString): Added/updated documentation.
14069         (setDoInput): Added/updated documentation.
14070         (getDoInput): Added/updated documentation.
14071         (setDoOutput): Added/updated documentation.
14072         (getDoOutput): Added/updated documentation.
14073         (setAllowUserInteraction): Added/updated documentation.
14074         (getAllowUserInteraction): Added/updated documentation.
14075         (setDefaultAllowUserInteraction): Added/updated documentation.
14076         (getDefaultAllowUserInteraction): Added/updated documentation.
14077         (setUseCaches): Added/updated documentation.
14078         (getUseCaches): Added/updated documentation.
14079         (setIfModifiedSince): Added/updated documentation.
14080         (getIfModifiedSince): Added/updated documentation.
14081         (getDefaultUseCaches): Added/updated documentation.
14082         (setDefaultUseCaches): Added/updated documentation.
14083         (setRequestProperty): Added/updated documentation.
14084         (getRequestProperty): Added/updated documentation.
14085         (setDefaultRequestProperty): Added/updated documentation.
14086         (getDefaultRequestProperty): Added/updated documentation.
14087         (setContentHandlerFactory): Added/updated documentation.
14088         (guessContentTypeFromName): Added/updated documentation.
14089         (getFileNameMap): Added/updated documentation.
14090         (setFileNameMap): Added/updated documentation.
14091
14092 2002-09-11  Michael Koch  <konqueror@gmx.de>
14093
14094         * java/net/Socket.java
14095         (Socket): protected to public (since JDK 1.4). Added @specnote.
14096         (bind): New method.
14097         (connect): Two new methods.
14098         (getKeepalive): Get correct socket option.
14099         (setKeepalive): Set correct socket option.
14100         (getOOBInline): New method.
14101         (setOOBInline): New method.
14102         * java/net/ServerSocket.java
14103         (bind): Two new methods.
14104         (getInetAddress): Reimplemented, catch exception.
14105         (getLocalSocketAddress): New method.
14106         (setReuseAddress): New method.
14107         (getReuseAdress): New method.
14108         (setReceiveBufferSize): New method.
14109         (getReceiveBufferSize): New method.
14110         (toString): Made string JDK 1.4 compliant.
14111
14112 2002-09-10  Michael Koch  <konqueror@gmx.de>
14113
14114         * java/net/SocketImpl.java
14115         (connect): New method.
14116         (supportsUrgentData): New method.
14117         (sendUrgentData): New method.
14118         * java/net/PlainSocketImpl.java
14119         (connect): One new method and two new implementation.
14120         (sendUrgentData): New method.
14121         * java/natPlainSocketImpl.cc
14122         (connect): Arguments changed, added support for timeouts.
14123         (getOption): Another __java_boolean to jboolean.
14124
14125 2002-09-07  Adam Megacz <adam@xwt.org>
14126
14127         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
14128         definition of IP_TOS.
14129
14130 2002-09-04  Michael Koch  <konqueror@gmx.de>
14131
14132         * java/net/DatagramSocket.java
14133         (DatagramSocket): Added documentation.
14134         (close): Likewise.
14135         (getLocalAddress): Likewise.
14136         (getLocalPort): Likewise.
14137         (receive): Likewise.
14138         (send): Likewise.
14139         (setSoTimeout): Likewise.
14140         (connect): New method.
14141         (disconnect): New method.
14142         (getInetAddress): New method (FIXME)
14143         (getPort): New method.
14144         (setReuseAddress): New method.
14145         (getReuseAddress): New method.
14146         (setBroadcast): New method.
14147         (getBroadcast): New method.
14148         (setTrafficClass): New method.
14149         (getTrafficClass): New method.
14150         * java/net/MulticastSocket.java):
14151         (getTTL): Added @see in documentation.
14152         (setTTL): Added @see in documentation.
14153         (setLoopbackMode): New method.
14154         (getLoopbackMode): New method.
14155         * java/net/PlainSocketImpl.java:
14156         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14157         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14158         * java/net/PlainDatagramSocketImpl.java
14159         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14160         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14161         * java/net/natPlainSocketImpl.cc
14162         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14163         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14164         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14165         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14166         This should also fix SO_KEEPALIVE
14167         * java/net/natPlainDatagramSocketImpl.cc
14168         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14169         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14170         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14171         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14172
14173 2002-09-04  Michael Koch  <konqueror@gmx.de>
14174
14175         * java/net/SocketOptions.java: added static variables to be JDK 1.4
14176         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
14177         IP_MULTICAST_LOOP, IP_TOS
14178
14179 2002-09-03  Tom Tromey  <tromey@redhat.com>
14180
14181         * java/lang/Class.h (_getDeclaredMethod): Declare.
14182         (_getMethod): Now private.
14183         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
14184         getDeclaredMethod.  Now returns NULL on failure.
14185         * java/lang/Class.java (_getDeclaredMethod): Declare.
14186         (getDeclaredMethod): No longer native; implements access checks.
14187
14188 2002-09-01  Mark Wielaard  <mark@klomp.org>
14189
14190         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
14191         (sanitizeStack): Correctly reset unknown and interpreter counters,
14192         detect interpreter runtime frames.
14193         (demangleInterpreterMethod): New method.
14194         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
14195         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
14196         filling in addrs[].
14197
14198 2002-09-02  Michael Koch  <konqueror@gmx.de>
14199
14200         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
14201         re-indented documentation.
14202
14203 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14204
14205         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
14206         public, per 1.4 spec.  Fixes PR libgcj/7785.
14207
14208 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
14209
14210         * Makefile.in: Rebuilt.
14211         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
14212
14213 2002-08-29  Tom Tromey  <tromey@redhat.com>
14214
14215         * java/net/JarURLConnection.java (getCertificates): New method
14216         from Classpath.
14217         * java/net/URLClassLoader.java (URLClassLoader): Extends
14218         SecureClassLoader.
14219         (definePackage): New method from Classpath.
14220         (getPermissions): Likewise.
14221         (newInstance): Likewise.
14222         (findClass): Construct CodeSource for new class (from Classpath).
14223         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
14224         methods.
14225         * java/net/URL.java (getUserInfo): New method.
14226         (set(String,String,int,String,String,String,String,String)): New
14227         method.
14228         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
14229         (shutdownInput, shutdownOutput): Declare.
14230         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
14231         Define.
14232         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
14233         (getOption): Likewise.
14234         (shutdownInput): New method.
14235         (shutdownOutput): Likewise.
14236         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
14237         keepalive.
14238         (getOption): Likewise.
14239         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
14240         * java/net/Socket.java (setKeepAlive): New method.
14241         (getKeepAlive): Likewise.
14242         (shutdownInput, shutdownOutput): New methods.
14243
14244 2002-08-29  Michael Koch  <konqueror@gmx.de>
14245
14246         * java/net/DatagramPacket.java: updated to JDK 1.4 API
14247         new methods are:
14248         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
14249           address),
14250         DatagramPacket(byte[] buf, int length, SocketAddress address),
14251         void setSocketAddress(SocketAddress address)
14252         public SocketAddress getSocketAddress()
14253
14254 2002-08-29  Tom Tromey  <tromey@redhat.com>
14255
14256         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
14257         ftruncate is missing.
14258         * configure, include/config.h.in: Rebuilt.
14259         * acconfig.h (HAVE_FTRUNCATE): Mention.
14260         * configure.in: Check for ftruncate.
14261
14262 2002-08-29  Tom Tromey  <tromey@redhat.com>
14263
14264         * include/jvm.h (struct _Jv_frame_info): New structure.
14265         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
14266         java-interp.h.
14267         (lookupInterp): New method.
14268         (getAddrAsString): Use _Jv_frame_info.
14269         (dladdrLookup): Likewise.
14270         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
14271         interpreted frame.
14272         (lookupInterp): Declare.
14273         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
14274         (fillInStackTrace): Collect information on interpreted frames.
14275         Use _Jv_frame_info.
14276         * interpret.cc: Include Thread.h.
14277         (run): Create and push _Jv_MethodChain object.
14278         (_Jv_EndOfInterpreter): New global.
14279         * java/lang/Thread.java (interp_frame): New field.
14280         * include/java-interp.h (struct _Jv_MethodChain): New structure.
14281         Include NameFinder.h.
14282
14283 2002-08-28  Tom Tromey  <tromey@redhat.com>
14284
14285         * java/lang/Class.h: Include Package.h.
14286         (Class::getProtectionDomain): Declare.
14287         (Class::getPackage): Declare.
14288
14289 2002-08-28  Michael Koch <konqueror@gmx.de>
14290
14291         * java/net/InetSocketAddress.java: Added some documentation and argument
14292         checks for the port numbers.
14293         * java/net/DatagramSocketImplFactory.java: New file.
14294
14295 2002-08-28  Michael Koch <konqueror@gmx.de>
14296
14297         * java/net/Authenticator.java: added some documentation.
14298
14299 2002-08-27  Tom Tromey  <tromey@redhat.com>
14300
14301         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
14302         class.
14303         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
14304
14305 2002-08-27  Michael Koch <konqueror@gmx.de>
14306
14307         * java/net/BindException.java,
14308         java/net/JarURLConnection.java,
14309         java/net/FileNameMap.java,
14310         java/net/HttpURLConnection.java,
14311         java/net/InetSocketAddress.java,
14312         java/net/DatagramPacket.java,
14313         java/net/DatagramSocket.java,
14314         java/net/DatagramSocketImpl.java,
14315         java/net/MulticastSocket.java,
14316         java/net/PasswordAuthentication.java,
14317         java/net/ServerSocket.java,
14318         java/net/Socket.java,
14319         java/net/URLClassLoader.java,
14320         java/net/URLConnection.java: add/update of some @since/@deprecated
14321
14322 2002-08-27  Tony Kimball <alk@pobox.com>
14323             Tom Tromey  <tromey@redhat.com>
14324
14325         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
14326         define.
14327         (::close): Removed.
14328         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
14329         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
14330         (::close): Removed.
14331         (PlainSocketImpl::close): Use NATIVE_CLOSE.
14332         * include/win32.h (getcwd): Removed declaration.  Include io.h.
14333
14334 2002-08-25  Adam Megacz <adam@xwt.org>
14335
14336         * include/win32.h (getcwd): copied function declaration as
14337         temporary fix for header confusion.
14338
14339 2002-08-24  Mark Wielaard <mark@klomp.org>
14340
14341         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
14342         (core_java_source_files): Add VMThrowable.java and NameFinder.java
14343         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
14344         and natNameFinder.cc.
14345         * Makefile.in: Regenerate.
14346         * prims.cc: Use trace_enabled from VMThrowable.
14347         * name-finder.cc: Removed.
14348         * gcj/javaprims.h: Add class VMThrowable.
14349         * gnu/gcj/runtime/NameFinder.java: New file.
14350         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
14351         * include/name-finder.h: Removed.
14352         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
14353         method stackTraceString().
14354         (printStackTrace (PrintWriter)): Likewise.
14355         (stackTraceString): Complete rewrite of old printStackTrace using
14356         StringBuffer.
14357         (stackTraceStringBuffer): New helper method for stackTraceString().
14358         (fillInStackTrace): Delegate to VMTrowable.
14359         (getStackTrace): Likewise.
14360         (getStackTrace0): Removed.
14361         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
14362         (setStackTrace): Copy given array.
14363         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
14364         * java/lang/VMThrowable.java: New class.
14365         * java/lang/natVMThrowable.cc: New file.
14366
14367 2003-08-23  Michael Koch  <konqueror@gmx.de>
14368
14369         * java/net/URLConnection.java,
14370         java/netJarURLConnection.java,
14371         gnu/gcj/protocol/core/Connection.java,
14372         gnu/gcj/protocol/file/Connection.java,
14373         gnu/gcj/protocol/http/Connection.java: Added implementation of
14374         getHeaderFields().
14375
14376 2002-08-22  Tom Tromey  <tromey@redhat.com>
14377
14378         * gij.cc (help): Document -cp and -classpath.
14379         (main): Handle -classpath.
14380
14381 2002-08-21  Tom Tromey  <tromey@redhat.com>
14382
14383         * Makefile.in: Rebuilt.
14384         * Makefile.am (ordinary_java_source_files): Added
14385         SocketAddress.java, InetSocketAddress.java.
14386         * java/net/PortUnreachableException.java: Merged with Classpath.
14387         * java/net/SocketTimeoutException.java: Likewise.
14388         * java/net/URISyntaxException.java: Likewise.
14389         * java/net/SocketAddress.java: New class from Classpath.
14390         * java/net/InetSocketAddress.java: Likewise.
14391
14392 2003-08-21  Michael Koch  <konqueror@gmx.de>
14393
14394         * java/net/Authenticator.java: updated JDK 1.4
14395         * java/net/ContentHandler.java: updated JDK 1.4
14396
14397 2002-08-20  Michael Koch  <konqueror@gmx.de>
14398
14399         * java/net/URISyntaxException.java: New file.
14400         * java/net/SocketTimeoutException.java: New file.
14401         * java/net/PortUnreachableException.java: New file.
14402         * Makefile.am: Updated.
14403         * Makefile.in: Rebuilt.
14404
14405 2002-08-18  Mark Wielaard  <mark@klomp.org>
14406
14407         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
14408         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
14409         MessageDigestSpi (fixes Classpath bug #783).
14410
14411 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14412
14413         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
14414         (startProcess): Allocate path for chdir in async-signal-safe way.
14415
14416 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14417
14418         Fix for PR libgcj/7570 and PR libgcj/7578:
14419         * java/lang/natPosixProcess.cc: Include java/io/File.h.
14420         (startProcess): Handle new `dir' argument.
14421         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
14422         argument.
14423         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
14424         argument.
14425         (startProcess): Likewise.
14426         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
14427         argument.
14428         * java/lang/Runtime.java (execInternal): Added `dir' argument.
14429         (exec): Don't create new environment if ENV==null.  Pass DIR to
14430         execInternal.
14431         * java/lang/natRuntime.cc: Include java/io/File.h.
14432         (execInternal): Added `dir' argument.
14433
14434 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
14435
14436         * java/io/RandomAccessFile.java (skipBytes): Return number of
14437         bytes skipped.
14438
14439 2002-08-01  Mark Wielaard  <mark@klomp.org>
14440
14441         Reenable patch since shared library troubles on powerpc are solved:
14442         * gnu/java/security/provider/Gnu.java: Reference all implementation
14443         classes by using Class.getName().
14444         * gnu/java/security/der/DEREncodingException.java,
14445         gnu/java/security/provider/DERReader.java,
14446         gnu/java/security/provider/DERWriter.java,
14447         gnu/java/security/provider/DSAKeyPairGenerator.java,
14448         gnu/java/security/provider/DSAParameterGenerator.java,
14449         gnu/java/security/provider/DSAParameters.java,
14450         gnu/java/security/provider/DSASignature.java,
14451         gnu/java/security/provider/GnuDSAPrivateKey.java,
14452         gnu/java/security/provider/GnuDSAPublicKey.java,
14453         gnu/java/security/provider/MD5.java,
14454         gnu/java/security/util/Prime.java: New classes
14455         * Makefile.am (ordinary_java_source_files): Add above files.
14456         * Makefile.in: Regenerate.
14457         * gnu/java/security/provider/DefaultPolicy.java
14458         (getPermissions): Don't maintain static class variable of Permissions.
14459         * gnu/java/security/provider/SHA.java
14460         (engineUpdate): algorithm change.
14461         (engineDigest): algorithm change.
14462
14463 2002-08-09  Mark Wielaard  <mark@klomp.org>
14464
14465         * java/awt/image/MemoryImageSource.java: Change constructor to take
14466         int[] not byte[].
14467         * java/awt/Graphics2D.java: Uncomment methods that can now be
14468         compiled.
14469         * java/awt/GridBagLayout.java: New stub implementation.
14470         * javax/swing/text/html/HTML.java: Stub implementation.
14471         * javax/swing/text/html/parser/ParserDelegator.java: New stub
14472         implementation.
14473
14474         * Makefile.am: Add new files.
14475         * Makefile.in: Rebuilt.
14476
14477 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14478
14479         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
14480         methods in Graphics2D.
14481
14482 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14483
14484         AWT/Swing merge from GNU Classpath.
14485
14486         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
14487         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
14488         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
14489         java/awt/color/ProfileDataException.java,
14490         java/awt/CompositeContext.java, java/awt/Composite.java,
14491         java/awt/ContainerOrderFocusTraversalPolicy.java,
14492         java/awt/datatransfer/FlavorTable.java,
14493         java/awt/DefaultFocusTraversalPolicy.java,
14494         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
14495         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
14496         java/awt/dnd/DragGestureListener.java,
14497         java/awt/dnd/DragGestureRecognizer.java,
14498         java/awt/dnd/DragSourceAdapter.java,
14499         java/awt/dnd/DragSourceContext.java,
14500         java/awt/dnd/DragSourceDragEvent.java,
14501         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
14502         java/awt/dnd/DragSourceListener.java,
14503         java/awt/dnd/DragSourceMotionListener.java,
14504         java/awt/dnd/DropTarget.java,
14505         java/awt/dnd/InvalidDnDOperationException.java,
14506         java/awt/dnd/peer/DragSourceContextPeer.java,
14507         java/awt/event/AWTEventListenerProxy.java,
14508         java/awt/event/MouseWheelEvent.java,
14509         java/awt/event/MouseWheelListener.java,
14510         java/awt/event/WindowFocusListener.java,
14511         java/awt/event/WindowStateListener.java,
14512         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
14513         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
14514         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
14515         java/awt/geom/FlatteningPathIterator.java,
14516         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
14517         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
14518         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
14519         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
14520         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
14521         java/awt/image/ImagingOpException.java,
14522         java/awt/image/RasterFormatException.java,
14523         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
14524         java/awt/image/VolatileImage.java,
14525         java/awt/image/WritableRenderedImage.java,
14526         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
14527         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
14528         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
14529         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
14530         java/awt/PageAttributes.java, java/awt/print/Book.java,
14531         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
14532         java/awt/print/Paper.java, java/awt/print/Printable.java,
14533         java/awt/print/PrinterAbortException.java,
14534         java/awt/print/PrinterException.java,
14535         java/awt/print/PrinterGraphics.java,
14536         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
14537         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
14538         java/awt/Stroke.java, java/awt/TexturePaint.java,
14539         javax/accessibility/AccessibleAction.java,
14540         javax/accessibility/AccessibleBundle.java,
14541         javax/accessibility/AccessibleComponent.java,
14542         javax/accessibility/AccessibleContext.java,
14543         javax/accessibility/AccessibleEditableText.java,
14544         javax/accessibility/AccessibleExtendedComponent.java,
14545         javax/accessibility/AccessibleExtendedTable.java,
14546         javax/accessibility/AccessibleHyperlink.java,
14547         javax/accessibility/AccessibleHypertext.java,
14548         javax/accessibility/AccessibleIcon.java,
14549         javax/accessibility/Accessible.java,
14550         javax/accessibility/AccessibleKeyBinding.java,
14551         javax/accessibility/AccessibleRelation.java,
14552         javax/accessibility/AccessibleRelationSet.java,
14553         javax/accessibility/AccessibleResourceBundle.java,
14554         javax/accessibility/AccessibleRole.java,
14555         javax/accessibility/AccessibleSelection.java,
14556         javax/accessibility/AccessibleState.java,
14557         javax/accessibility/AccessibleStateSet.java,
14558         javax/accessibility/AccessibleTable.java,
14559         javax/accessibility/AccessibleTableModelChange.java,
14560         javax/accessibility/AccessibleText.java,
14561         javax/accessibility/AccessibleValue.java,
14562         javax/swing/AbstractAction.java,
14563         javax/swing/AbstractButton.java,
14564         javax/swing/AbstractCellEditor.java,
14565         javax/swing/AbstractListModel.java,
14566         javax/swing/AbstractSet.java, javax/swing/Action.java,
14567         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
14568         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
14569         javax/swing/border/CompoundBorder.java,
14570         javax/swing/border/EmptyBorder.java,
14571         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
14572         javax/swing/border/LineBorder.java,
14573         javax/swing/border/MatteBorder.java,
14574         javax/swing/border/TitledBorder.java,
14575         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
14576         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
14577         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
14578         javax/swing/CellRendererPane.java,
14579         javax/swing/colorchooser/AbstractColorChooserPanel.java,
14580         javax/swing/colorchooser/ColorChooserComponentFactory.java,
14581         javax/swing/colorchooser/ColorSelectionModel.java,
14582         javax/swing/colorchooser/DefaultColorSelectionModel.java,
14583         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
14584         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
14585         javax/swing/DefaultBoundedRangeModel.java,
14586         javax/swing/DefaultButtonModel.java,
14587         javax/swing/DefaultCellEditor.java,
14588         javax/swing/DefaultCellRenderer.java,
14589         javax/swing/DefaultComboBoxModel.java,
14590         javax/swing/DefaultDesktopManager.java,
14591         javax/swing/DefaultFocusManager.java,
14592         javax/swing/DefaultListCellRenderer.java,
14593         javax/swing/DefaultListModel.java,
14594         javax/swing/DefaultListSelectionModel.java,
14595         javax/swing/DefaultSingleSelectionModel.java,
14596         javax/swing/DesktopManager.java,
14597         javax/swing/event/AncestorEvent.java,
14598         javax/swing/event/AncestorListener.java,
14599         javax/swing/event/CaretEvent.java,
14600         javax/swing/event/CaretListener.java,
14601         javax/swing/event/CellEditorListener.java,
14602         javax/swing/event/ChangeEvent.java,
14603         javax/swing/event/ChangeListener.java,
14604         javax/swing/event/DocumentEvent.java,
14605         javax/swing/event/DocumentListener.java,
14606         javax/swing/event/EventListenerList.java,
14607         javax/swing/event/HyperlinkEvent.java,
14608         javax/swing/event/HyperlinkListener.java,
14609         javax/swing/event/InternalFrameAdapter.java,
14610         javax/swing/event/InternalFrameEvent.java,
14611         javax/swing/event/InternalFrameListener.java,
14612         javax/swing/event/ListDataEvent.java,
14613         javax/swing/event/ListDataListener.java,
14614         javax/swing/event/ListSelectionEvent.java,
14615         javax/swing/event/ListSelectionListener.java,
14616         javax/swing/event/MenuDragMouseEvent.java,
14617         javax/swing/event/MenuDragMouseListener.java,
14618         javax/swing/event/MenuEvent.java,
14619         javax/swing/event/MenuKeyEvent.java,
14620         javax/swing/event/MenuKeyListener.java,
14621         javax/swing/event/MenuListener.java,
14622         javax/swing/event/MouseInputAdapter.java,
14623         javax/swing/event/MouseInputListener.java,
14624         javax/swing/event/PopupMenuEvent.java,
14625         javax/swing/event/PopupMenuListener.java,
14626         javax/swing/event/SwingPropertyChangeSupport.java,
14627         javax/swing/event/TableColumnModelEvent.java,
14628         javax/swing/event/TableColumnModelListener.java,
14629         javax/swing/event/TableModelEvent.java,
14630         javax/swing/event/TableModelListener.java,
14631         javax/swing/event/TreeExpansionEvent.java,
14632         javax/swing/event/TreeExpansionListener.java,
14633         javax/swing/event/TreeModelEvent.java,
14634         javax/swing/event/TreeModelListener.java,
14635         javax/swing/event/TreeSelectionEvent.java,
14636         javax/swing/event/TreeSelectionListener.java,
14637         javax/swing/event/TreeWillExpandListener.java,
14638         javax/swing/event/UndoableEditEvent.java,
14639         javax/swing/event/UndoableEditListener.java,
14640         javax/swing/filechooser/FileFilter.java,
14641         javax/swing/filechooser/FileSystemView.java,
14642         javax/swing/filechooser/FileView.java,
14643         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
14644         javax/swing/Icon.java, javax/swing/ImageIcon.java,
14645         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
14646         javax/swing/JApplet.java, javax/swing/JButton.java,
14647         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
14648         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
14649         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
14650         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
14651         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
14652         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
14653         javax/swing/JLayeredPane.java, javax/swing/JList.java,
14654         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
14655         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
14656         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
14657         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
14658         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
14659         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
14660         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
14661         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
14662         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
14663         javax/swing/JTextField.java, javax/swing/JTextPane.java,
14664         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
14665         javax/swing/JToolTip.java, javax/swing/JTree.java,
14666         javax/swing/JViewport.java, javax/swing/JWindow.java,
14667         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
14668         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
14669         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
14670         javax/swing/MenuSelectionManager.java,
14671         javax/swing/MutableComboBoxModel.java,
14672         javax/swing/OverlayLayout.java,
14673         javax/swing/plaf/ActionMapUIResource.java,
14674         javax/swing/plaf/basic/BasicBorders.java,
14675         javax/swing/plaf/basic/BasicButtonUI.java,
14676         javax/swing/plaf/basic/BasicCheckBoxUI.java,
14677         javax/swing/plaf/basic/BasicDefaults.java,
14678         javax/swing/plaf/basic/BasicGraphicsUtils.java,
14679         javax/swing/plaf/basic/BasicIconFactory.java,
14680         javax/swing/plaf/basic/BasicLabelUI.java,
14681         javax/swing/plaf/basic/BasicListUI.java,
14682         javax/swing/plaf/basic/BasicLookAndFeel.java,
14683         javax/swing/plaf/basic/BasicOptionPaneUI.java,
14684         javax/swing/plaf/basic/BasicPanelUI.java,
14685         javax/swing/plaf/basic/BasicRadioButtonUI.java,
14686         javax/swing/plaf/basic/BasicScrollPaneUI.java,
14687         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
14688         javax/swing/plaf/basic/BasicTextUI.java,
14689         javax/swing/plaf/basic/BasicToggleButtonUI.java,
14690         javax/swing/plaf/basic/BasicTreeUI.java,
14691         javax/swing/plaf/basic/BasicViewportUI.java,
14692         javax/swing/plaf/BorderUIResource.java,
14693         javax/swing/plaf/ButtonUI.java,
14694         javax/swing/plaf/ColorChooserUI.java,
14695         javax/swing/plaf/ColorUIResource.java,
14696         javax/swing/plaf/ComboBoxUI.java,
14697         javax/swing/plaf/ComponentInputMapUIResource.java,
14698         javax/swing/plaf/ComponentUI.java,
14699         javax/swing/plaf/DesktopIconUI.java,
14700         javax/swing/plaf/DesktopPaneUI.java,
14701         javax/swing/plaf/DimensionUIResource.java,
14702         javax/swing/plaf/FileChooserUI.java,
14703         javax/swing/plaf/FontUIResource.java,
14704         javax/swing/plaf/IconUIResource.java,
14705         javax/swing/plaf/InputMapUIResource.java,
14706         javax/swing/plaf/InsetsUIResource.java,
14707         javax/swing/plaf/InternalFrameUI.java,
14708         javax/swing/plaf/LabelUI.java,
14709         javax/swing/plaf/ListUI.java,
14710         javax/swing/plaf/MenuBarUI.java,
14711         javax/swing/plaf/MenuItemUI.java,
14712         javax/swing/plaf/OptionPaneUI.java,
14713         javax/swing/plaf/PanelUI.java,
14714         javax/swing/plaf/PopupMenuUI.java,
14715         javax/swing/plaf/ProgressBarUI.java,
14716         javax/swing/plaf/RootPaneUI.java,
14717         javax/swing/plaf/ScrollBarUI.java,
14718         javax/swing/plaf/ScrollPaneUI.java,
14719         javax/swing/plaf/SeparatorUI.java,
14720         javax/swing/plaf/SliderUI.java,
14721         javax/swing/plaf/SplitPaneUI.java,
14722         javax/swing/plaf/TabbedPaneUI.java,
14723         javax/swing/plaf/TableHeaderUI.java,
14724         javax/swing/plaf/TableUI.java,
14725         javax/swing/plaf/TextUI.java,
14726         javax/swing/plaf/ToolBarUI.java,
14727         javax/swing/plaf/ToolTipUI.java,
14728         javax/swing/plaf/TreeUI.java,
14729         javax/swing/plaf/UIResource.java,
14730         javax/swing/plaf/ViewportUI.java,
14731         javax/swing/ProgressMonitorInputStream.java,
14732         javax/swing/ProgressMonitor.java,
14733         javax/swing/Renderer.java,
14734         javax/swing/RepaintManager.java,
14735         javax/swing/RootPaneContainer.java,
14736         javax/swing/Scrollable.java,
14737         javax/swing/ScrollPaneConstants.java,
14738         javax/swing/ScrollPaneLayout.java,
14739         javax/swing/SingleSelectionModel.java,
14740         javax/swing/SizeRequirements.java,
14741         javax/swing/SizeSequence.java,
14742         javax/swing/SwingConstants.java,
14743         javax/swing/SwingUtilities.java,
14744         javax/swing/table/AbstractTableModel.java,
14745         javax/swing/table/DefaultTableCellRenderer.java,
14746         javax/swing/table/DefaultTableColumnModel.java,
14747         javax/swing/table/DefaultTableModel.java,
14748         javax/swing/table/TableCellEditor.java,
14749         javax/swing/table/TableCellRenderer.java,
14750         javax/swing/table/TableColumn.java,
14751         javax/swing/table/TableColumnModel.java,
14752         javax/swing/table/TableModel.java,
14753         javax/swing/text/AbstractDocument.java,
14754         javax/swing/text/AttributeSet.java,
14755         javax/swing/text/BadLocationException.java,
14756         javax/swing/text/Caret.java,
14757         javax/swing/text/CharacterIterator.java,
14758         javax/swing/text/ComponentView.java,
14759         javax/swing/text/DefaultCaret.java,
14760         javax/swing/text/DefaultEditorKit.java,
14761         javax/swing/text/Document.java,
14762         javax/swing/text/EditorKit.java,
14763         javax/swing/text/Element.java,
14764         javax/swing/text/GapContent.java,
14765         javax/swing/text/JTextComponent.java,
14766         javax/swing/text/Keymap.java,
14767         javax/swing/text/MutableAttributeSet.java,
14768         javax/swing/text/PlainDocument.java,
14769         javax/swing/text/PlainEditorKit.java,
14770         javax/swing/text/Position.java,
14771         javax/swing/text/Segment.java,
14772         javax/swing/text/StyledDocument.java,
14773         javax/swing/text/StyledEditorKit.java,
14774         javax/swing/text/Style.java,
14775         javax/swing/text/TextAction.java,
14776         javax/swing/text/ViewFactory.java,
14777         javax/swing/text/View.java,
14778         javax/swing/Timer.java,
14779         javax/swing/ToggleButtonModel.java,
14780         javax/swing/ToolTipManager.java,
14781         javax/swing/tree/AbstractLayoutCache.java,
14782         javax/swing/tree/DefaultMutableTreeNode.java,
14783         javax/swing/tree/DefaultTreeCellEditor.java,
14784         javax/swing/tree/DefaultTreeCellRenderer.java,
14785         javax/swing/tree/DefaultTreeModel.java,
14786         javax/swing/tree/DefaultTreeSelectionModel.java,
14787         javax/swing/tree/ExpandVetoException.java,
14788         javax/swing/tree/FixedHeightLayoutCache.java,
14789         javax/swing/tree/MutableTreeNode.java,
14790         javax/swing/tree/RowMapper.java,
14791         javax/swing/tree/TreeCellEditor.java,
14792         javax/swing/tree/TreeCellRenderer.java,
14793         javax/swing/tree/TreeModel.java,
14794         javax/swing/tree/TreeNode.java,
14795         javax/swing/tree/TreePath.java,
14796         javax/swing/tree/TreeSelectionModel.java,
14797         javax/swing/tree/VariableHeightLayoutCache.java,
14798         javax/swing/UIDefaults.java,
14799         javax/swing/UIManager.java,
14800         javax/swing/undo/AbstractUndoableEdit.java,
14801         javax/swing/undo/CannotRedoException.java,
14802         javax/swing/undo/CannotUndoException.java,
14803         javax/swing/undo/CompoundEdit.java,
14804         javax/swing/undo/StateEditable.java,
14805         javax/swing/undo/StateEdit.java,
14806         javax/swing/undo/UndoableEdit.java,
14807         javax/swing/undo/UndoableEditSupport.java,
14808         javax/swing/undo/UndoManager.java,
14809         javax/swing/UnsupportedLookAndFeelException.java,
14810         javax/swing/ViewportLayout.java,
14811         javax/swing/WindowConstants.java: New files, from GNU Classpath.
14812
14813         * java/awt/ActiveEvent.java,
14814         java/awt/Adjustable.java, java/awt/AWTError.java,
14815         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
14816         java/awt/AWTException.java, java/awt/AWTPermission.java,
14817         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
14818         java/awt/Color.java, java/awt/Component.java,
14819         java/awt/ComponentOrientation.java, java/awt/Container.java,
14820         java/awt/datatransfer/MimeTypeParseException.java,
14821         java/awt/datatransfer/Transferable.java,
14822         java/awt/datatransfer/UnsupportedFlavorException.java,
14823         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
14824         java/awt/event/ActionListener.java,
14825         java/awt/event/AdjustmentEvent.java,
14826         java/awt/event/AdjustmentListener.java,
14827         java/awt/event/AWTEventListener.java,
14828         java/awt/event/ComponentAdapter.java,
14829         java/awt/event/ComponentEvent.java,
14830         java/awt/event/ComponentListener.java,
14831         java/awt/event/ContainerAdapter.java,
14832         java/awt/event/ContainerEvent.java,
14833         java/awt/event/ContainerListener.java,
14834         java/awt/event/FocusAdapter.java,
14835         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
14836         java/awt/event/HierarchyBoundsAdapter.java,
14837         java/awt/event/HierarchyBoundsListener.java,
14838         java/awt/event/HierarchyEvent.java,
14839         java/awt/event/HierarchyListener.java,
14840         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
14841         java/awt/event/InputMethodListener.java,
14842         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
14843         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
14844         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
14845         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
14846         java/awt/event/MouseListener.java,
14847         java/awt/event/MouseMotionAdapter.java,
14848         java/awt/event/MouseMotionListener.java,
14849         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
14850         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
14851         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
14852         java/awt/event/WindowListener.java, java/awt/Font.java,
14853         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
14854         java/awt/geom/Ellipse2D.java,
14855         java/awt/geom/IllegalPathStateException.java,
14856         java/awt/geom/Line2D.java,
14857         java/awt/geom/NoninvertibleTransformException.java,
14858         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
14859         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
14860         java/awt/geom/RoundRectangle2D.java,
14861         java/awt/GraphicsConfiguration.java,
14862         java/awt/IllegalComponentStateException.java,
14863         java/awt/image/IndexColorModel.java,
14864         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
14865         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
14866         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
14867         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
14868         java/awt/MenuItem.java, java/awt/PaintContext.java,
14869         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
14870         java/awt/Polygon.java, java/awt/PrintGraphics.java,
14871         java/awt/PrintJob.java, java/awt/Rectangle.java,
14872         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
14873         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
14874         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
14875
14876         * java/awt/im/spi/InputMethod.java,
14877         java/awt/im/spi/InputMethodContext.java,
14878         java/awt/im/spi/InputMethodDescriptor.java,
14879         java/awt/image/renderable/ContextualRenderedImageFactory.java,
14880         java/awt/image/renderable/ParameterBlock.java,
14881         java/awt/image/renderable/RenderContext.java,
14882         java/awt/image/renderable/RenderableImage.java,
14883         java/awt/image/renderable/RenderableImageOp.java,
14884         java/awt/image/renderable/RenderableImageProducer.java,
14885         java/awt/image/renderable/RenderedImageFactory.java: New files from
14886         classpath.
14887
14888         * gnu/java/awt/EventModifier.java,
14889         gnu/java/awt/image/ImageDecoder.java,
14890         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
14891
14892         * gnu/awt/xlib/XGraphicsConfiguration.java,
14893         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
14894         API.
14895
14896         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
14897         GNU Classpath.
14898
14899         * Makefile.am: Add new files.
14900         * Makefile.in: Rebuilt.
14901
14902 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14903
14904         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
14905         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
14906         findResource, getResources, findResources): Add javadoc from classpath.
14907         (getSystemResources): Implemented.
14908
14909 2002-08-01  Mark Wielaard  <mark@klomp.org>
14910
14911         Revert patch that breaks libgcj shared library on powerpc:
14912         * gnu/java/security/provider/Gnu.java: Reverse referencing all
14913         implementation classes by using Class.getName(). Uses Strings again.
14914         * gnu/java/security/der/DEREncodingException.java,
14915         gnu/java/security/provider/DERReader.java,
14916         gnu/java/security/provider/DERWriter.java,
14917         gnu/java/security/provider/DSAKeyPairGenerator.java,
14918         gnu/java/security/provider/DSAParameterGenerator.java,
14919         gnu/java/security/provider/DSAParameters.java,
14920         gnu/java/security/provider/DSASignature.java,
14921         gnu/java/security/provider/GnuDSAPrivateKey.java,
14922         gnu/java/security/provider/GnuDSAPublicKey.java,
14923         gnu/java/security/provider/MD5.java,
14924         gnu/java/security/util/Prime.java: Removed.
14925         * Makefile.am (ordinary_java_source_files): Remove above files.
14926         * Makefile.in: Regenerate.
14927         * gnu/java/security/provider/DefaultPolicy.java
14928         (getPermissions): Revert to maintaining static class variable of
14929         Permissions.
14930         * gnu/java/security/provider/SHA.java
14931         (engineUpdate): Revert algorithm change.
14932         (engineDigest): Revert algorithm change.
14933
14934 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
14935
14936         * configure.host: Add SH support.
14937         * sysdep/sh/locks.h: New file.
14938
14939 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14940
14941         * java/awt/Frame.java (Frame): Remove println calls.
14942
14943 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
14944
14945         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
14946         * configure: Rebuilt.
14947
14948 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
14949
14950         * sysdep/powerpc/locks.h: Formatting.
14951         (_LARX): Define.
14952         (_STCX): Define.
14953         (compare_and_swap): Use _LARX and _STCX.
14954         (compare_and_swap_release): Likewise.
14955
14956 2002-07-26  Tom Tromey  <tromey@redhat.com>
14957
14958         * java/net/Authenticator.java: New version from Classpath.
14959         * java/net/DatagramSocketImpl.java: New version from Classpath.
14960
14961 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
14962
14963         * configure.host: Add powerpc64*-* entry.
14964
14965 2002-07-26  Tom Tromey  <tromey@redhat.com>
14966
14967         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
14968         fcntl.h.
14969
14970 2002-07-24  Tom Tromey  <tromey@redhat.com>
14971
14972         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
14973         argument to _load.
14974
14975 2002-07-24  Tom Tromey  <tromey@redhat.com>
14976             Tony Kimball <alk@pobox.com>
14977
14978         * java/io/natFileDescriptorWin32.cc (setLength): New method.
14979         * java/io/natFileDescriptorPosix.cc (setLength): New method.
14980         * java/io/RandomAccessFile.java (setLength): New method.
14981         * java/io/natFileDescriptorEcos.cc (setLength): New method.
14982         * java/io/FileDescriptor.java (setLength): New method.
14983
14984 2002-07-24  Mark Wielaard  <mark@klomp.org>
14985
14986         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
14987         * java/io/ObjectInputStream.java (setBooleanField): Before setting
14988         field call setAccessible(true).
14989         (setByteField): Likewise.
14990         (setCharField): Likewise.
14991         (setDoubleField): Likewise.
14992         (setFloatField): Likewise.
14993         (setIntField): Likewise.
14994         (setLongField): Likewise.
14995         (setShortField): Likewise.
14996         (setObjectField): Likewise.
14997
14998 2002-07-24  Tom Tromey  <tromey@redhat.com>
14999
15000         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
15001         use toString() to format array element.
15002
15003 2002-07-23  Mark Wielaard  <mark@klomp.org>
15004
15005         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
15006         MessageDigestSpi (fixes Classpath bug #783).
15007
15008 2002-07-21  Mark Wielaard  <mark@klomp.org>
15009
15010         * gnu/java/security/provider/Gnu.java: Reference all implementation
15011         classes by using Class.getName().
15012
15013 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
15014
15015         * java/lang/ieeefp.h: Add x86-64 support.
15016         * configure.in: Likewise.
15017         * configure.host: Likewise.
15018         * configure: Regenerated.
15019         * sysdep/x86-64/locks.h: New file with x86-64 locks.
15020
15021 2002-07-16  Mark Wielaard  <mark@klomp.org>
15022
15023         * java/io/StreamTokenizer.java (pushBack): Update documentation.
15024         (whitespaceChars): call resetChar().
15025
15026 2002-07-15  Tom Tromey  <tromey@redhat.com>
15027
15028         * Makefile.in: Rebuilt.
15029         * Makefile.am (awt_java_source_files): Added new files.
15030         * java/beans/ExceptionListener.java: Merged with Classpath.
15031         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
15032         * java/beans/PropertyChangeListener.java: Merged with Classpath.
15033         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
15034         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
15035         * java/beans/VetoableChangeListener.java: Merged with Classpath.
15036         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
15037         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
15038
15039 2002-07-14  Mark Wielaard  <mark@klomp.org>
15040
15041         * gnu/java/security/der/DEREncodingException.java,
15042         gnu/java/security/provider/DERReader.java,
15043         gnu/java/security/provider/DERWriter.java,
15044         gnu/java/security/provider/DSAKeyPairGenerator.java,
15045         gnu/java/security/provider/DSAParameterGenerator.java,
15046         gnu/java/security/provider/DSAParameters.java,
15047         gnu/java/security/provider/DSASignature.java,
15048         gnu/java/security/provider/GnuDSAPrivateKey.java,
15049         gnu/java/security/provider/GnuDSAPublicKey.java,
15050         gnu/java/security/provider/MD5.java,
15051         gnu/java/security/util/Prime.java: New files from Classpath.
15052         * Makefile.am (ordinary_java_source_files): Add new files.
15053         * Makefile.in: Regenerate.
15054
15055 2002-07-14  C. Brian Jones <cbj@gnu.org>
15056
15057         * gnu/java/security/provider/DefaultPolicy.java
15058         (getPermissions): do not maintain static class variable of
15059         Permissions
15060         * gnu/java/security/provider/SHA.java
15061         (engineUpdate): algorithm change
15062         (engineDigest): algorithm change
15063
15064 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
15065
15066         For PR libgcj/7292:
15067         * java/lang/Character.java (toString(char)): Now static.
15068
15069 2002-07-12  Mark Wielaard  <mark@klomp.org>
15070
15071         * java/lang/natThrowable.cc (printRawStackTrace): removed.
15072         (getStackTrace0): new method.
15073         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
15074         (printStackTrace(PrintWriter)): replace with pure java implementation.
15075         (printRawStackTrace): removed.
15076         (getStackTrace0): new method.
15077         * java/lang/StackTraceElement.java (toString): add extra whitespace.
15078         * gcj/javaprims.h: regenerate class list.
15079         * include/name-finder.h (lookup): new returns StackTraceElement*.
15080         (method_name, file_name): fields removed.
15081         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
15082         (~_Jv_name_finder): close new descriptors.
15083         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
15084         (createStackTraceElement): new method.
15085         (lookup): returns StackTraceElement*, uses createStackTraceElement().
15086
15087 2002-07-10  Tom Tromey  <tromey@redhat.com>
15088
15089         * configure: Rebuilt.
15090         * configure.in: Use `test' after `&&'.  From Chris Faylor.
15091
15092 2002-07-08  Mark Wielaard  <mark@klomp.org>
15093
15094         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
15095         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
15096         java.sql.DatabaseMetaData.TestJdbc20
15097
15098 2002-07-05  Tony Kimball  <alk@pobox.com>
15099
15100         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
15101
15102 2002-07-04  Tom Tromey  <tromey@redhat.com>
15103             Jeff Sturm  <jsturm@one-point.com>
15104
15105         Fix for PR libgcj/7060:
15106         * java/lang/Class.h (_getMethod): Renamed from getMethod.
15107         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
15108         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
15109         * java/lang/Class.java (getMethod): New Java implementation;
15110         complies with spec.
15111         (_getMethod): New native method.
15112
15113 2002-07-02  Tom Tromey  <tromey@redhat.com>
15114             David Hovemeyer  <daveho@cs.umd.edu>
15115
15116         * java/text/ChoiceFormat.java
15117         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
15118         in check loop.
15119         * java/text/MessageFormat.java
15120         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
15121         to MessageFormat.
15122
15123 2002-07-01  Tom Tromey  <tromey@redhat.com>
15124
15125         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
15126         StringTokenizer on null string.  For PR libgcj/7180.
15127         From daveho@cs.umd.edu.
15128
15129 2002-06-24  Tom Tromey  <tromey@redhat.com>
15130
15131         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
15132         (IntegerClass): Likewise.
15133         * java/lang/natClass.cc (CloneableClass): Removed.
15134         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
15135         ConstructorClass): Likewise.
15136         * java/lang/natClassLoader.cc (CloneableClass): Removed.
15137         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
15138         SerializableClass): Likewise.
15139         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
15140         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
15141         LongClass, FloatClass, DoubleClass): Likewise.
15142
15143         * verify.cc (branch_prepass): Updated for change to exception
15144         handler type.
15145         (verify_instructions_0): Likewise.
15146         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
15147         (handleExceptionTableEntry): Updated for change to exception
15148         handler type.
15149         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
15150         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
15151         (union _Jv_InterpPC): New.
15152         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
15153         (class _Jv_InterpMethod): Added new `prepared' field.
15154         (class _Jv_InterpMethod): Added `compile' method.  Removed
15155         `continue1' and `find_exception'.  Changed arguments to `run'.
15156         * interpret.cc (union insn_slot): New.
15157         (find_exception): Removed.
15158         (run_normal): Removed most logic.
15159         (run_synch_object): Likewise; also, use JvSynchronize.
15160         (run_synch_class): Likewise.
15161         (run): Removed.
15162         (continue1): Renamed as `run'.  Compile bytecode if required.
15163         Add new code to allow refinement of direct-threaded code at
15164         runtime.  Handle exceptions.
15165         (SAVE_PC): Removed.
15166         (compile): New method.
15167         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
15168         (NULLARRAYCHECK): Don't use SAVE_PC.
15169         (pc_t): New typedef.
15170         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
15171         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
15172
15173 2002-06-23  Tom Tromey  <tromey@redhat.com>
15174
15175         * configure: Rebuilt.
15176         * configure.in (INTERPRETER): New subst.
15177         (AM_RUNTESTFLAGS): Don't subst.
15178
15179         * Makefile.in: Rebuilt.
15180         * Makefile.am ($(srcdir)/java/lang/Object.h,
15181         $(srcdir)/java/lang/Class.h): Added dummy targets.
15182
15183 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15184
15185         Reformat JDBC classes and add new JDK 1.4 classes and methods.
15186
15187         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
15188         java/sql/Savepoint.java: New files.
15189         * java/sql/Array.java, java/sql/BatchUpdateException.java,
15190         java/sql/Blob.java, java/sql/CallableStatement.java,
15191         java/sql/Clob.java, java/sql/Connection.java,
15192         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
15193         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
15194         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
15195         java/sql/Ref.java, java/sql/ResultSet.java,
15196         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
15197         java/sql/SQLException.java, java/sql/SQLInput.java,
15198         java/sql/SQLOutput.java, java/sql/SQLWarning.java
15199         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
15200         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
15201         (JDK 1.4) specification.
15202         * javax/sql/ConnectionEvent.java,
15203         javax/sql/ConnectionEventListener.java,
15204         javax/sql/ConnectionPoolDataSource.java,
15205         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
15206         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
15207         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
15208         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
15209         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
15210         javax/sql/XADataSource.java: New files.
15211         * Makefile.am: Add new files.
15212         * Makefile.in: Rebuilt.
15213
15214 2002-06-20  Tom Tromey  <tromey@redhat.com>
15215
15216         For PR libgcj/7073:
15217         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
15218         exists.
15219         * defineclass.cc (handleClassBegin): Superclass for interface is
15220         `null'.
15221
15222 2002-06-18  Tom Tromey  <tromey@redhat.com>
15223
15224         * gcj/javaprims.h: Updated class declaration list.
15225         * Makefile.in: Rebuilt.
15226         * Makefile.am (core_java_source_files): Removed
15227         BasicMapEntry.java.
15228         * java/util/BasicMapEntry.java: Removed.
15229
15230 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
15231
15232         * java/net/natPlainDatagramSocketImpl.cc (receive):
15233         Check bounds of argument to FD_SET.
15234         (setOption): Throw exception if socket is closed.
15235
15236         * java/net/natPlainSocketImpl.cc (accept, read):
15237         Check bounds of argument to FD_SET.
15238         (setOption): Throw exception if socket is closed.
15239
15240 2002-06-18  Tom Tromey  <tromey@redhat.com>
15241
15242         * gcj/javaprims.h: Updated class declaration list.
15243         * Makefile.in: Rebuilt.
15244         * Makefile.am (core_java_source_files): Added
15245         PropertyPermissionCollection.java.
15246         * java/lang/Thread.java (group, name): Now package-private.
15247         * java/lang/ThreadGroup.java: Re-merge with Classpath.
15248         * java/util/AbstractList.java: Likewise.
15249         * java/util/AbstractMap.java: Likewise.
15250         * java/util/Calendar.java: Likewise.
15251         * java/util/Collections.java: Likewise.
15252         * java/util/HashMap.java: Likewise.
15253         * java/util/Hashtable.java: Likewise.
15254         * java/util/LinkedHashMap.java: Likewise.
15255         * java/util/LinkedList.java: Likewise.
15256         * java/util/List.java: Likewise.
15257         * java/util/ListResourceBundle.java: Likewise.
15258         * java/util/Map.java: Likewise.
15259         * java/util/Observable.java: Likewise.
15260         * java/util/Properties.java: Likewise.
15261         * java/util/PropertyPermission.java: Likewise.
15262         * java/util/PropertyPermissionCollection.java: Likewise.
15263         * java/util/PropertyResourceBundle.java: Likewise.
15264         * java/util/Random.java: Likewise.
15265         * java/util/SimpleTimeZone.java: Likewise.
15266         * java/util/StringTokenizer.java: Likewise.
15267         * java/util/TimerTask.java: Likewise.
15268         * java/util/TreeMap.java: Likewise.
15269         * java/util/WeakHashMap.java: Likewise.
15270         * java/util/jar/Attributes.java: Likewise.
15271         * java/util/jar/JarException.java: Likewise.
15272         * java/util/jar/Manifest.java: Likewise.
15273
15274 2002-06-17  Tom Tromey  <tromey@redhat.com>
15275
15276         * gcj/javaprims.h: Updated class declaration list.
15277         * Makefile.in: Rebuilt.
15278         * Makefile.am (core_java_source_files): Added new file.
15279         * java/util/EventListenerProxy.java: New file.
15280         * java/util/EventListener.java: Re-merge with Classpath.
15281         * java/util/EventObject.java: Re-merge with Classpath.
15282
15283 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
15284
15285         * java/lang/ClassNotFoundException.java: New Classpath version.
15286
15287 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
15288
15289         * java/rmi/activation/ActivateFailedException.java: Remerge from
15290         Classpath version.
15291         * java/rmi/activation/ActivationException.java: Ditto.
15292         * java/rmi/activation/UnknownGroupException.java: Ditto.
15293         * java/rmi/activation/UnknownObjectException.java: Ditto.
15294         * java/rmi/server/ExportException: Ditto.
15295         * java/rmi/server/ServerCloneException: Ditto.
15296         * java/rmi/server/ServerNotActiveException: Ditto.
15297         * java/rmi/server/SkeletonMismatchException: Ditto.
15298         * java/rmi/server/SkeletonNotFoundException: Ditto.
15299         * java/rmi/server/SocketSecurityException: Ditto.
15300
15301 2002-06-16  Tom Tromey  <tromey@redhat.com>
15302
15303         * gcj/javaprims.h: Updated class declaration list.
15304
15305         * java/io/LineNumberInputStream.java: Merged with Classpath.
15306
15307         * java/lang/RuntimeException.java: Re-merge with Classpath.
15308         * java/util/ArrayList.java: Likewise.
15309         * java/util/Arrays.java: Likewise.
15310         * java/util/BitSet.java: Likewise.
15311         * java/util/Dictionary.java: Likewise.
15312         * java/util/IdentityHashMap.java: Likewise.
15313         * java/util/MissingResourceException.java: Likewise.
15314         * java/util/Observer.java: Likewise.
15315         * java/util/TooManyListenersException.java: Likewise.
15316         * java/util/zip/DataFormatException.java: Likewise.
15317         * java/util/zip/ZipException.java: Likewise.
15318
15319 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
15320
15321         * java/rmi/AccessException.java: Remerge from Classpath.
15322         * java/rmi/AlreadyBoundException.java: Ditto.
15323         * java/rmi/ConnectException.java: Ditto.
15324         * java/rmi/ConnectIOException.java: Ditto.
15325         * java/rmi/MarshalException.java: Ditto.
15326         * java/rmi/NoSuchObjectException.java: Ditto.
15327         * java/rmi/NotBoundException.java: Ditto.
15328         * java/rmi/RemoteException.java: Ditto.
15329         * java/rmi/RMISecurityException.java: Ditto.
15330         * java/rmi/ServerError.java: Ditto.
15331         * java/rmi/ServerException.java: Ditto.
15332         * java/rmi/ServerRuntimeException.java: Ditto.
15333         * java/rmi/StubNotFoundException.java: Ditto.
15334         * java/rmi/UnexpectedExcpetion.java: Ditto.
15335         * java/rmi/UnknownHostException.java: Ditto.
15336         * java/rmi/UnmarshalException.java: Ditto.
15337
15338 2002-06-15  Tom Tromey  <tromey@redhat.com>
15339
15340         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
15341         * java/lang/ArithmeticException.java: Likewise.
15342         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
15343         * java/lang/ArrayStoreException.java: Likewise.
15344         * java/lang/Byte.java: Likewise.
15345         * java/lang/CharSequence.java: Likewise.
15346         * java/lang/ClassCastException.java: Likewise.
15347         * java/lang/ClassCircularityError.java: Likewise.
15348         * java/lang/ClassFormatError.java: Likewise.
15349         * java/lang/CloneNotSupportedException.java: Likewise.
15350         * java/lang/Cloneable.java: Likewise.
15351         * java/lang/Comparable.java: Likewise.
15352         * java/lang/Compiler.java: Likewise.
15353         * java/lang/Error.java: Likewise.
15354         * java/lang/ExceptionInInitializerError.java: Likewise.
15355         * java/lang/IllegalAccessError.java: Likewise.
15356         * java/lang/IllegalAccessException.java: Likewise.
15357         * java/lang/IllegalArgumentException.java: Likewise.
15358         * java/lang/IllegalMonitorStateException.java: Likewise.
15359         * java/lang/IllegalStateException.java: Likewise.
15360         * java/lang/IllegalThreadStateException.java: Likewise.
15361         * java/lang/IncompatibleClassChangeError.java: Likewise.
15362         * java/lang/IndexOutOfBoundsException.java: Likewise.
15363         * java/lang/InheritableThreadLocal.java: Likewise.
15364         * java/lang/InstantiationError.java: Likewise.
15365         * java/lang/InstantiationException.java: Likewise.
15366         * java/lang/InternalError.java: Likewise.
15367         * java/lang/InterruptedException.java: Likewise.
15368         * java/lang/LinkageError.java: Likewise.
15369         * java/lang/NegativeArraySizeException.java: Likewise.
15370         * java/lang/NoClassDefFoundError.java: Likewise.
15371         * java/lang/NoSuchFieldError.java: Likewise.
15372         * java/lang/NoSuchFieldException.java: Likewise.
15373         * java/lang/NoSuchMethodError.java: Likewise.
15374         * java/lang/NoSuchMethodException.java: Likewise.
15375         * java/lang/NullPointerException.java: Likewise.
15376         * java/lang/NumberFormatException.java: Likewise.
15377         * java/lang/OutOfMemoryError.java: Likewise.
15378         * java/lang/Process.java: Likewise.
15379         * java/lang/Runnable.java: Likewise.
15380         * java/lang/RuntimePermission.java: Likewise.
15381         * java/lang/SecurityException.java: Likewise.
15382         * java/lang/Short.java: Likewise.
15383         * java/lang/StackOverflowError.java: Likewise.
15384         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
15385         * java/lang/ThreadDeath.java: Likewise.
15386         * java/lang/ThreadLocal.java: Likewise.
15387         * java/lang/UnknownError.java: Likewise.
15388         * java/lang/UnsatisfiedLinkError.java: Likewise.
15389         * java/lang/UnsupportedClassVersionError.java: Likewise.
15390         * java/lang/UnsupportedOperationException.java: Likewise.
15391         * java/lang/VerifyError.java: Likewise.
15392         * java/lang/VirtualMachineError.java: Likewise.
15393         * java/lang/reflect/InvocationTargetException.java: Likewise.
15394         * java/net/BindException.java: Likewise.
15395         * java/net/ConnectException.java: Likewise.
15396         * java/net/MalformedURLException.java: Likewise.
15397         * java/net/NoRouteToHostException.java: Likewise.
15398         * java/net/ProtocolException.java: Likewise.
15399         * java/net/SocketException.java: Likewise.
15400         * java/net/UnknownHostException.java: Likewise.
15401         * java/net/UnknownServiceException.java: Likewise.
15402
15403         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
15404         * java/io/CharConversionException.java: Likewise.
15405         * java/io/EOFException.java: Likewise.
15406         * java/io/FileNotFoundException.java: Likewise.
15407         * java/io/IOException.java: Likewise.
15408         * java/io/InterruptedIOException.java: Likewise.
15409         * java/io/InvalidClassException.java: Likewise.
15410         * java/io/InvalidObjectException.java: Likewise.
15411         * java/io/NotActiveException.java: Likewise.
15412         * java/io/NotSerializableException.java: Likewise.
15413         * java/io/ObjectStreamException.java: Likewise.
15414         * java/io/ObjectStreamConstants.java: Likewise.
15415         * java/io/OptionalDataException.java: Likewise.
15416         * java/io/PipedInputStream.java: Likewise.
15417         * java/io/PushbackInputStream.java: Likewise.
15418         * java/io/StreamCorruptedException.java: Likewise.
15419         * java/io/SyncFailedException.java: Likewise.
15420         * java/io/UTFDataFormatException.java: Likewise.
15421         * java/io/UnsupportedEncodingException.java: Likewise.
15422         * java/io/WriteAbortedException.java: Likewise.
15423
15424 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
15425
15426         * java/text/ChoiceFormat.java: Update comments from Classpath.
15427         * java/text/ParseException.java (serialVersionUID): New
15428         field from Classpath.
15429         * java/text/ParseException.java: Update formatting & comments
15430         from Classpath.
15431
15432 2002-06-15  Tom Tromey  <tromey@redhat.com>
15433
15434         * java/util/zip/InflaterInputStream.java (read): Loop if data has
15435         been read but none output by inflater.
15436         * java/util/zip/natDeflater.cc (reset): Set is_finished.
15437         * java/util/zip/natInflater.cc (reset): Set dist_needed and
15438         is_finished.
15439         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
15440         version.
15441         * java/util/zip/ZipFile.java: Replaced with Classpath version.
15442         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
15443         * java/util/zip/ZipInputStream.java: Replaced with Classpath
15444         version.
15445         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
15446
15447 2002-06-13  Tom Tromey  <tromey@redhat.com>
15448
15449         * java/lang/natString.cc (init): Handle case where DONT_COPY is
15450         true and OFFSET!=0.
15451         * java/lang/String.java (String(char[],int,int,boolean): New
15452         constructor.
15453         * java/lang/Long.java: Imported new version from Classpath.
15454         * java/lang/Number.java: Likewise.
15455         * java/lang/Integer.java: Likewise.
15456         * java/lang/Long.java: Likewise.
15457         * java/lang/Float.java: Likewise.
15458         * java/lang/Boolean.java: Likewise.
15459         * java/lang/Double.java: Likewise.
15460         * java/lang/Void.java: Likewise.
15461
15462 2002-06-12  Tom Tromey  <tromey@redhat.com>
15463
15464         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
15465         Fixes PR libgcj/6652.
15466
15467 2002-06-10  Tom Tromey  <tromey@redhat.com>
15468
15469         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
15470         (Class::getPackagePortion): Likewise.
15471         * java/lang/Class.java (desiredAssertionStatus): New method from
15472         Classpath.
15473         (getPackagePortion): Likewise.
15474         * java/lang/VMClassLoader.java (defaultAssertionStatus,
15475         packageAssertionStatus, classAssertionStatus): New methods from
15476         Classpath.
15477         * java/lang/ClassLoader.java (defaultAssertionStatus,
15478         systemPackageAssertionStatus, packageAssertionStatus,
15479         systemClassAssertionStatus, classAssertionStatus): New fields from
15480         Classpath.
15481         (setDefaultAssertionStatus, setPackageAssertionStatus,
15482         setClassAssertionStatus, clearAssertionStatus): New methods from
15483         Classpath.
15484         * Makefile.in: Rebuilt.
15485         * Makefile.am (core_java_source_files): Added AssertionError.java.
15486         * java/lang/AssertionError.java: New from Classpath.
15487
15488 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15489
15490         * configure.host: Disable hash synchronization and slow_pthread_self
15491         for cygwin.
15492
15493 2002-06-06  Adam Megacz <adam@xwt.org>
15494
15495         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
15496         locking, just like the Sun JVM does.
15497
15498 2002-06-05  H.J. Lu  (hjl@gnu.org)
15499
15500         * Makefile.am (libgcj_convenience.la): Revert the last change.
15501         (libgcj.la): Likewise.
15502         * Makefile.in: Regenerated.
15503
15504 2002-06-04  H.J. Lu  (hjl@gnu.org)
15505
15506         * Makefile.am (libgcj_convenience.la): New target.
15507         (libgcj.la): Depend on libgcj_convenience.la.
15508         * Makefile.in: Regenerated.
15509
15510 2002-06-04  H.J. Lu  (hjl@gnu.org)
15511
15512         * configure.in (--with-newlib): New option:
15513         Check ${with_newlib} instead of ${with_cross_host} for newlib.
15514         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
15515         Linux.
15516         * configure: Regenerated.
15517
15518 2002-06-04  Tom Tromey  <tromey@redhat.com>
15519
15520         * java/util/natTimeZone.cc: Include <stdio.h>.
15521
15522 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
15523
15524         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
15525         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
15526         Set SIGNAL_HANDLER=include/s390-linux.h.
15527         * configure: Regenerate.
15528         * include/s390-linux.h: New file.
15529
15530 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15531
15532         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
15533         not "stackTrace".
15534
15535 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15536
15537         Merge JDK 1.4 java.security changes from classpath.
15538
15539         * java/security/AccessControlException.java: Merge from Classpath.
15540         * java/security/AccessController.java: Likewise.
15541         * java/security/AllPermission.java: Likewise.
15542         * java/security/BasicPermission.java: Likewise.
15543         * java/security/Certificate.java: Likewise.
15544         * java/security/CodeSource.java: Likewise.
15545         * java/security/DigestException.java: Likewise.
15546         * java/security/DigestOutputStream.java: Likewise.
15547         * java/security/DomainCombiner.java: Likewise.
15548         * java/security/GeneralSecurityException.java: Likewise.
15549         * java/security/Guard.java: Likewise.
15550         * java/security/GuardedObject.java: Likewise.
15551         * java/security/InvalidAlgorithmParameterException.java: Likewise.
15552         * java/security/InvalidKeyException.java: Likewise.
15553         * java/security/InvalidParameterException.java: Likewise.
15554         * java/security/Key.java: Likewise.
15555         * java/security/KeyException.java: Likewise.
15556         * java/security/KeyManagementException.java: Likewise.
15557         * java/security/KeyStoreException.java: Likewise.
15558         * java/security/MessageDigest.java: Likewise.
15559         * java/security/NoSuchAlgorithmException.java: Likewise.
15560         * java/security/NoSuchProviderException.java: Likewise.
15561         * java/security/Permission.java: Likewise.
15562         * java/security/PermissionCollection.java: Likewise.
15563         * java/security/Permissions.java: Likewise.
15564         * java/security/Policy.java: Likewise.
15565         * java/security/Principal.java: Likewise.
15566         * java/security/PrivateKey.java: Likewise.
15567         * java/security/PrivilegedAction.java: Likewise.
15568         * java/security/PrivilegedActionException.java: Likewise.
15569         * java/security/PrivilegedExceptionAction.java: Likewise.
15570         * java/security/ProtectionDomain.java: Likewise.
15571         * java/security/ProviderException.java: Likewise.
15572         * java/security/PublicKey.java: Likewise.
15573         * java/security/SecureClassLoader.java: Likewise.
15574         * java/security/SecurityPermission.java: Likewise.
15575         * java/security/SignatureException.java: Likewise.
15576         * java/security/UnrecoverableKeyException.java: Likewise.
15577         * java/security/UnresolvedPermission.java: Likewise.
15578         * java/security/acl/AclNotFoundException.java: Likewise.
15579         * java/security/acl/LastOwnerException.java: Likewise.
15580         * java/security/acl/NotOwnerException.java: Likewise.
15581         * java/security/cert/CRLException.java: Likewise.
15582         * java/security/cert/CertificateEncodingException.java: Likewise.
15583         * java/security/cert/CertificateException.java: Likewise.
15584         * java/security/cert/CertificateExpiredException.java: Likewise.
15585         * java/security/cert/CertificateFactory.java: Likewise.
15586         * java/security/cert/CertificateNotYetValidException.java: Likewise.
15587         * java/security/cert/CertificateParsingException.java: Likewise.
15588         * java/security/spec/InvalidKeySpecException.java: Likewise.
15589         * java/security/spec/InvalidParameterSpecException.java: Likewise.
15590
15591         * java/security/cert/CertPath.java: New file.
15592         * java/security/cert/CertPathBuilderException.java: New file.
15593         * java/security/cert/CertPathValidatorException.java: New file.
15594         * java/security/cert/CertStoreException.java: New file.
15595
15596         * Makefile.am: Add new CertPath classes.
15597         * Makefile.in: Rebuilt.
15598
15599         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
15600
15601 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15602
15603         Merge JDK 1.4 exception chaining support from classpath.
15604
15605         * java/lang/Throwable.java: Merge 1.4 support from classpath.
15606         (stackTraceBytes): Rename from stackTrace.
15607         * java/lang/Exception.java: Merge from classpath.
15608         * java/lang/StackTraceElement: New file from classpath.
15609         * gcj/javaprims.h: Rebuild CNI namespace declarations.
15610         * Makefile.am: Add StackTraceElement.
15611         * Makefile.in: Rebuilt.
15612
15613 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15614
15615         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
15616         they build first.
15617         * Makefile.in: Rebuilt.
15618
15619 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15620
15621         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
15622         * configure.in: Likewise.
15623         * aclocal.m4: Regenerate.
15624         * configure: Regenerate.
15625
15626 2002-05-13  Tom Tromey  <tromey@redhat.com>
15627
15628         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
15629         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
15630         Include platform.h.
15631
15632         Fixes PR libgcj/6389:
15633         * Makefile.in: Rebuilt.
15634         * Makefile.am (nat_source_files): Added natTimeZone.cc.
15635         * java/util/natTimeZone.cc: New file.
15636         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
15637         * java/lang/System.java: Merged with Classpath.
15638         * java/lang/Runtime.java: Merged with Classpath.
15639         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
15640         security check.
15641         (setIn0): Renamed from setIn; don't run security check.
15642         (setOut0): Renamed from setOut; don't run security check.
15643         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
15644         init_properties): Moved to natRuntime.cc.
15645         Moved many includes to natRuntime.cc.
15646         (isWordsBigEndian): New method.
15647         * java/lang/natRuntime.cc: Include Long.h, also other includes
15648         previously in natSystem.cc.
15649         (maxMemory): New function.
15650         (exitInternal): Renamed from `_exit'.
15651         (exit): Removed.
15652         (init): Don't set finalize_on_exit.
15653         (exitInternal): Use `finalizeOnExit'.
15654         (file_encoding, getpwuid_adaptor): New functions from
15655         natSystem.cc.
15656         (insertSystemProperties): New method, renamed from
15657         System::init_properties.  Don't set user.timezone.
15658         (_load): Don't call checkLink.
15659         (execInternal): New method.
15660         (availableProcessors): Likewise.
15661         (nativeGetLibname): Likewise.
15662
15663 2002-05-11  Mark Wielaard  <mark@klomp.org>
15664
15665         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
15666         space characters.
15667         (previous_internal): Likewise.
15668
15669 2002-05-09  Tom Tromey  <tromey@redhat.com>
15670
15671         * jni.cc (_Jv_JNIFunctions): Fixed typo.
15672
15673         * java/util/ResourceBundle.java: New version from Classpath.
15674         * java/util/Locale.java: Likewise.
15675
15676 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
15677
15678         * testsuite/lib/libjava.exp (libjava_arguments): Append all
15679         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
15680         LD_LIBRARY_PATH.
15681
15682 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
15683
15684         * libjava/Makefile.am (all_java_source_files): New variable.
15685         (all_java_class_files): Likewise.
15686         .java.class: New rule.
15687         (CLEANFILES): Remove tmp-list.
15688         * libjava/Makefile.in: Regenerated.
15689
15690 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
15691
15692         * testsuite/lib/libjava.exp (test_libjava_from_javac):
15693         Append .exe to executable names.  Fix for cygwin.
15694
15695 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
15696
15697         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
15698         script entry, and set LD to it when configuring multilibs.
15699         * configure: Rebuilt.
15700
15701 2002-05-07  Tom Tromey  <tromey@redhat.com>
15702
15703         * java/lang/natString.cc (unintern): Fixed typo.
15704
15705 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
15706
15707         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
15708         with -no-install on *-*-cygwin*.
15709
15710 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
15711
15712         * testsuite/lib/libjava.exp (test_libjava_from_source):
15713         Add comment explaining last patch
15714
15715 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
15716
15717         * testsuite/lib/libjava.exp (test_libjava_from_source):
15718         Append .exe to executable names.  If no suffix is present,
15719         then ".exe" is added by default on win32.  Harmless
15720         elsewhere so always do it.
15721
15722 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
15723             Tom Tromey  <tromey@redhat.com>
15724
15725         * java/lang/natSystem.cc (getSystemTimeZone): Use
15726         HAVE_UNDERSCORE_TIMEZONE.
15727         * include/config.h.in: Rebuilt.
15728         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
15729         * aclocal.m4, configure: Rebuilt.
15730         * acinclude.m4: Run AC_EXEEXT.
15731         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
15732         Add test for `_timezone'.
15733
15734 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
15735
15736         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15737         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
15738         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15739         * Makefile.in: Rebuilt.
15740
15741 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
15742
15743         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
15744         use sigaction instead of __libc_sigaction.
15745
15746 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15747
15748         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
15749         (libjava_init): Use it to find libgcj.spec.
15750         (libjava_arguments): Likewise.
15751
15752 2002-05-02  David S. Miller  <davem@redhat.com>
15753
15754         PR bootstrap/6525
15755         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
15756         __libc_sigaction on Sparc.
15757
15758 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
15759
15760         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
15761         sys/filio.h, if present.
15762
15763 2002-04-30  Tom Tromey  <tromey@redhat.com>
15764
15765         * java/io/BufferedReader.java (fill): Handle case where markPos
15766         point to ignored \n.  Fixes PR libgcj/6301.
15767
15768 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
15769
15770         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
15771
15772 2002-04-29  Adam King <aking@dreammechanics.com>
15773
15774         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
15775         of file in APPEND mode.
15776
15777 2002-04-25  David S. Miller  <davem@redhat.com>
15778
15779         PR target/6422
15780         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
15781         program counter to next program counter minus 8.  Update
15782         comments in this macro to explain why.
15783
15784 2002-04-26  Tom Tromey  <tromey@redhat.com>
15785
15786         * verify.cc (construct_primitive_array_type) [void_type]: New
15787         case.
15788         (branch_prepass): Added dummy entries for unused instruction
15789         values.
15790         (verify_instructions_0): Likewise.
15791         * interpret.cc (continue1): Comment fix.
15792         * include/java-insns.h (op_xxxunusedxxx1): Removed.
15793         * Makefile.in: Rebuilt.
15794         * Makefile.am: Added -Wswitch-enum.
15795
15796 2002-04-24  Tom Tromey  <tromey@redhat.com>
15797
15798         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
15799         correct length of UTF-8 encoded name.  Strip leading `/'.
15800         (_Jv_RegisterResource): Use _Jv_Malloc.
15801
15802 2002-04-23  Adam Megacz <adam@xwt.org>
15803
15804         * win32.cc, include/win32.cc (backtrace): Added this function
15805         because Win32 does not supply it.
15806
15807 2002-04-21  David S. Miller  <davem@redhat.com>
15808
15809         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
15810         magic instruction reading sequence.
15811
15812 2002-04-21  Mark Wielaard  <mark@klomp.org>
15813
15814         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
15815
15816 2002-04-19  David S. Miller  <davem@redhat.com>
15817
15818         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
15819         arg.
15820         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
15821         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
15822         on Sparc too.
15823         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
15824         for 64-bit sparc.
15825         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
15826         * sysdeps/sparc/locks.h: New file.
15827         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
15828         on all sparc Solaris configurations.  Set to
15829         include/dwarf2-signal.h on sparc Linux.
15830         * configure: Regenerate
15831         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
15832
15833 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
15834
15835         * configure: Rebuilt.
15836         * configure.in (backtrace): Function doesn't work on IA-64.
15837
15838 2002-04-17  Adam King <aking@dreammechanics.com>
15839
15840         * java/io/File.java (normalizePath): Add Win32 support for auto
15841         conversion of a '/' path separator to Win32's '\' separator.
15842
15843 2002-04-16  Tom Tromey  <tromey@redhat.com>
15844
15845         Fix for PR libgcj/6081:
15846         * Makefile.in: Rebuilt.
15847         * Makefile.am (install-data-local): Use GNU make trick to avoid
15848         shell limit.
15849
15850 2002-04-16  Adam King <aking@dreammechanics.com>
15851             Tom Tromey  <tromey@redhat.com>
15852
15853         * java/io/natFileWin32.cc (performList): Return the correct array
15854         type.  Don't duplicate the creation of a File since it's already
15855         done earlier in the method and the existing code would cause a
15856         ArrayStoreException.  Don't use fixed-size array.
15857         (_access, _stat, attr, getCanonicalPath, performMkdir,
15858         performRenameTo): Don't use fixed-size array.
15859         (getCanonicalPath): Use throw, not _Jv_Throw.
15860
15861 2002-04-15  DJ Delorie  <dj@redhat.com>
15862
15863         * configure.in: Allow building in $srcdir.
15864         * configure: Regenerated.
15865
15866 2002-04-14  Mark Wielaard <mark@klomp.org>
15867
15868         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
15869         * java/net/natSocketImpl.cc (close): Likewise.
15870
15871 2002-04-14  Mark Wielaard <mark@klomp.org>
15872
15873         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
15874
15875 2002-04-13  Adam King <aking@dreammechanics.com>
15876
15877         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
15878         the f/F/d/D modifiers.
15879
15880 2002-04-12  Anthony Green  <green@redhat.com>
15881
15882         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
15883         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
15884         * Makefile.in: Rebuilt.
15885         * configure.in: Substitute gcc_version.
15886         * configure: Rebuilt.
15887
15888 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15889
15890         * configure.host: Set can_unwind_signal on hosts which support it.
15891         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
15892         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
15893         exceptions and can_unwind_signal isn't set.
15894         * configure: Rebuilt.
15895
15896 2002-04-11  Tom Tromey  <tromey@redhat.com>
15897
15898         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
15899
15900 2002-04-11  Adam King <aking@dreammechanics.com>
15901             Tom Tromey  <tromey@redhat.com>
15902
15903         * include/jvm.h (_Jv_ThrowBadArrayIndex,
15904         _Jv_ThrowNullPointerException): Mark as noreturn.
15905         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
15906         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
15907         fixes.
15908
15909 2002-04-10  Tom Tromey  <tromey@redhat.com>
15910
15911         * Makefile.in: Rebuilt.
15912         * Makefile.am (java/lang/Thread.h): Mark
15913         _Jv_AttachCurrentThreadAsDaemon as friend.
15914         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
15915         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
15916         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
15917         function.
15918         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
15919         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
15920         (_Jv_JNI_InvokeFunctions): Added
15921         _Jv_JNI_AttachCurrentThreadAsDaemon.
15922         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
15923         (JNI_GetDefaultJavaVMInitArgs): Likewise.
15924         (JNI_CreateJavaVM): Likewise.
15925         (_Jv_JNI_AttachCurrentThread): Likewise.
15926         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
15927         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
15928         (_Jv_JNIFunctions): Initialize new fields.
15929         (_Jv_JNI_NewDirectByteBuffer): New function.
15930         (_Jv_JNI_GetDirectBufferAddress): Likewise.
15931         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
15932         * include/jni.h (JNI_VERSION_1_4): New macro.
15933         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
15934         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
15935         (JNINativeInterface::NewDirectByteBuffer): New field.
15936         (JNINativeInterface::GetDirectBufferAddress): New field.
15937         (JNINativeInterface::GetDirectBufferCapacity): New field.
15938         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
15939         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
15940         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
15941
15942 2002-04-09  Tom Tromey  <tromey@redhat.com>
15943
15944         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
15945
15946 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
15947
15948         Fix for PR libgcj/6187:
15949         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
15950         distance.
15951
15952 2002-04-07  Mark Wielaard <mark@klomp.org>
15953
15954         * java/util/AbstractMap.java (putAll): Use entrySet size.
15955         (toString): Explicitly use getKey() and getValue().
15956
15957 2002-04-07  Mark Wielaard <mark@klomp.org>
15958
15959         * java/util/Hashtable.java (contains): Remove NullPointer check.
15960         (containsValue): Add NullPointer check.
15961         (remove): Always throw NullPointerException when key
15962         is null.
15963
15964 2002-04-07  Adam King <aking@dreammechanics.com>
15965
15966         * java/lang/natSystem.cc (init_properties): Call new function
15967         _Jv_platform_initProperties.
15968         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
15969         support for the System properties os.name, os.arch, os.version,
15970         user.name, user.home, and user.dir.
15971         * include/posix.h, include/win32.h, posix.cc: New function
15972         _Jv_platform_initProperties.
15973
15974 2002-04-06  Mark Wielaard <mark@klomp.org>
15975
15976         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
15977
15978 2002-04-06  Mark Wielaard <mark@klomp.org>
15979
15980         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
15981         all of the remaining elements.
15982         * java/util/Vector.java (addAll(int,Collection)): Likewise.
15983         (removeRange): If toIndex == fromIndex do
15984         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
15985         (removeAll): Always throw NullPointerException when collection is
15986         null.
15987         (retrainAll): Likewise.
15988
15989 2002-04-05  Mark Wielaard <mark@klomp.org>
15990
15991         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
15992         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
15993
15994 2002-04-05  Adam Megacz <adam@xwt.org>
15995
15996         * exception.cc (abort): added static modifier
15997
15998 2002-04-04  Adam Megacz <adam@xwt.org>
15999
16000         * include/win32.h (_Jv_platform_close_on_exec): added inline
16001         modifier.
16002
16003 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
16004
16005         * configure.host: Add case statement to support generic port
16006         properties.  Add *-*-freebsd* section.
16007
16008 2002-04-04  Mark Wielaard  <mark@klomp.org>
16009
16010         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
16011         test.
16012         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
16013         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
16014         that depend on awt code and BufferedByteOutputStream.interrupt.
16015
16016 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16017
16018         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
16019         incorrect "hi" value when count > 40.
16020
16021 2002-04-03  Mark Wielaard  <mark@klomp.org>
16022
16023         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
16024         ordering.
16025
16026 2002-04-02  Tom Tromey  <tromey@redhat.com>
16027
16028         * java/lang/natClassLoader.cc (findClass): Compare against `3',
16029         not `0'.
16030
16031 2002-04-02  Mark Wielaard  <mark@klomp.org>
16032
16033         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
16034         list of testsuite crashers.
16035
16036 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16037
16038         * java/util/IdentityHashMap.java (put): Set new threshold correctly
16039         when resizing table.
16040
16041 2002-04-01  Mark Wielaard  <mark@klomp.org>
16042
16043         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
16044         NegativeArraySizeException
16045         (clear(int)): Use sign extended shift.
16046         (flip(int)): Likewise.
16047         (get(int)): Likewise.
16048         (nextClearBit(int)): Likewise.
16049         (nextSetBit(int)): Likewise.
16050         (set(int)): Likewise.
16051
16052 2002-04-01  Mark Wielaard  <mark@klomp.org>
16053
16054         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
16055         that can be compiled now and add testsuite crashers to ignore list.
16056
16057 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
16058
16059         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
16060
16061         * libgcj.spec.in: Override libgcc, not lib.
16062         * libgcj-test.spec.in: Likewise.
16063
16064 2002-03-29  Tom Tromey  <tromey@redhat.com>
16065
16066         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
16067         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
16068
16069 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
16070
16071         * java/net/PlainDatagramSocketImpl.java
16072         (close): Use native implementation.
16073         (finalize): New method.
16074
16075         * java/net/PlainSocketImpl.java (finalize): New method.
16076
16077         * java/net/natPlainDatagramSocketImpl.cc
16078         (java/io/FileDescriptor.h): Don't include.
16079         (close): Implement method here.
16080         (create): Don't assign fd.
16081
16082         * java/net/natPlainSocketImpl.cc
16083         (java/io/FileDescriptor.h): Don't include.
16084         (create): Don't assign fd.
16085         (accept): Likewise.
16086         (close): Synchronize.
16087
16088 2002-03-27  Richard Henderson  <rth@redhat.com>
16089
16090         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
16091
16092 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
16093
16094         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
16095         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
16096         instead of syscall on IA-64.
16097         Add FIXME comment.
16098
16099 2002-03-27  Anthony Green  <green@redhat.com>
16100
16101         * libgcj.spec.in: Add CHECKREFSPEC.
16102         * configure.in: Ditto.
16103         * configure.host: Ditto.  Check references for xscale-elf.
16104         * configure: Rebuilt.
16105
16106 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
16107
16108         * include/dwarf2-signal.h: Temporarily back out last change.
16109
16110 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
16111
16112         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
16113
16114 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
16115
16116         * configure.in, configure: enable dwarf2-exception-style
16117         exception handling on IA-64.
16118         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
16119         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
16120         Add FIXME comment.
16121
16122 2002-03-25  Tom Tromey  <tromey@redhat.com>
16123
16124         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
16125         (jv_convert_LDFLAGS): Likewise.
16126         (gij_LDFLAGS): Likewise.
16127         (rmic_LDFLAGS): Likewise.
16128         (rmiregistry_LDFLAGS): Likewise.
16129         * configure.in (THREADLDFLAGS): New subst; set correctly for
16130         *BSD.
16131
16132 2002-03-25  Tom Tromey  <tromey@redhat.com>
16133
16134         For PR libgcj/5303:
16135         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
16136         and --version.
16137         (help): New method.
16138         (version): Likewise.
16139         * gnu/gcj/convert/Convert.java (version): Removed extraneous
16140         "GNU".
16141         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
16142         "GNU".
16143
16144 2002-03-25  Tom Tromey  <tromey@redhat.com>
16145
16146         * java/awt/Component.java (processEvent): Check ComponentEvent
16147         after KeyEvent.
16148
16149 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16150
16151         * java/io/PushbackReader.java: Reformat.
16152
16153         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
16154         calculate correct number of bytes skipped.
16155
16156         Based on patch from Intel's ORP team:
16157         * java/io/PushbackInputStream.java (available): Calculate correct
16158         number of bytes in buffer.
16159         (read): Remove redundant bound check. Return bytes from both the
16160         buffer and the stream.
16161
16162 2002-03-24  Tom Tromey  <tromey@redhat.com>
16163
16164         * java/awt/TextComponent.java (TextComponent): Editable by
16165         default.
16166
16167         * java/awt/MenuItem.java (eventMask): No longer private.
16168         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
16169         superclass if we didn't handle event.
16170         * java/awt/Checkbox.java (dispatchEventImpl): New method.
16171         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
16172         * java/awt/Choice.java (dispatchEventImpl): New method.
16173         * java/awt/List.java (dispatchEventImpl): New method.
16174         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
16175         * java/awt/TextComponent.java (dispatchEventImpl): New method.
16176         * java/awt/TextField.java (dispatchEventImpl): New method.
16177
16178 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
16179
16180         * java/beans/IntrospectionException.java: Update to 1.4.
16181         * java/beans/PropertyVetoException.java: Ditto.
16182
16183 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
16184
16185         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
16186         Arrays.equals instead of ArrayHelper.equalsArray.
16187
16188 2002-03-24  C. Brian Jones <cbj@gnu.org>
16189
16190         * java/beans/Introspector.java: added new static final fields
16191         introduced in 1.2, lots of other updates remain to be done
16192
16193 2002-03-24  C. Brian Jones <cbj@gnu.org>
16194
16195         * java/beans/Introspector.java: reformatting
16196
16197 2002-03-24  C. Brian Jones <cbj@gnu.org>
16198
16199         * java/beans/Introspector.java: default beanInfoSearchPath will
16200         not include sun.beans.infos given we provide no such package and
16201         the API doesn't really require it; gnu.java.beans.info is the
16202         default.
16203
16204 2002-03-24  Mark Wielaard  <mark@klomp.org>
16205
16206         Thanks to Orp developers
16207         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
16208         switch TRUE and FALSE return values.
16209
16210 2002-03-23  Tom Tromey  <tromey@redhat.com>
16211
16212         * include/name-finder.h (_Jv_name_finder::myclose): New method.
16213         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
16214
16215 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
16216
16217         * java/util/GregorianCalendar.java (minimums, maximums): Correct
16218         MONTH entry.  Fixes PR libgcj/6045.
16219
16220 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
16221
16222         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
16223
16224 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16225
16226         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
16227         not release_set.
16228         * sysdep/powerpc/locks.h (write_barrier): New function.
16229         * sysdep/i386/locks.h (write_barrier): New function.
16230
16231 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
16232
16233         * include/jni.h Use correct C comments.
16234
16235 2002-03-18  Tom Tromey  <tromey@redhat.com>
16236
16237         * include/jni.h (JNIIMPORT): New macro.
16238         (JNIEXPORT): Likewise.
16239         (JNICALL): Likewise.
16240
16241 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16242
16243         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
16244         systems.
16245
16246 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
16247
16248         * include/i386-signal.h (old_i386_kernel_sigaction): New.
16249         INIT_SEGV: Use old_i386_kernel_sigaction.
16250         INIT_FP: Likewise.
16251
16252 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16253
16254         * java/lang/natSystem.cc (init_properties): Update VM version
16255         properties.
16256         * configure.in: Set GCJVERSION.
16257         * acconfig.h: Add GCJVERSION.
16258         * configure: Rebuilt.
16259         * include/config.h.in: Rebuilt.
16260
16261 2002-03-17  Anthony Green  <green@redhat.com>
16262
16263         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
16264
16265 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16266
16267         Build a single libgcj.so, without separate gc and zlib libraries.
16268         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
16269         SYS_ZLIBS if system zlib is used.
16270         * configure: Rebuilt.
16271         * Makefile.am: Use boehm-gc and zlib convenience libraries.
16272         * Makefile.in: Rebuilt.
16273         * libtool-version: Increment .so version number.
16274
16275         * Makefile.am: Escape quotes in echo.
16276         * Makefile.in: Rebuilt.
16277
16278 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16279
16280         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
16281         * Makefile.in: Rebuilt.
16282
16283 2002-03-15  Anthony Green  <green@redhat.com>
16284
16285         * configure.host (FILE): New macro for specifing File
16286         implementation.
16287         * configure: Rebuilt.
16288         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
16289
16290 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
16291
16292         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
16293         already implicitly brought in from libgcj.la.
16294         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
16295         * Makefile.in: Rebuilt.
16296
16297 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
16298
16299         * THANKS: Fix punctuation, alphabetization.
16300
16301 2002-03-15  Tom Tromey  <tromey@redhat.com>
16302             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16303
16304         Fix for PR libgcj/5944.
16305         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
16306
16307 2002-03-15  Anthony Green  <green@redhat.com>
16308
16309         * configure.in (tool_include_dir): Define.
16310         * configure: Rebuilt.
16311         * gcj/Makefile.am: Install libgcj-config.h relative to
16312         tool_include_dir.
16313         * gcj/Makefile: Rebuilt.
16314         * gcj/libgcj-config.h: Add warning comment.
16315
16316 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
16317
16318         * configure.host (powerpc*-darwin*): Enable interpreter.
16319
16320 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16321
16322         * include/posix.h: Add multiple include header protection.
16323         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
16324
16325 2002-03-10  Adam Megacz <adam@xwt.org>
16326
16327         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
16328
16329 2002-03-10  Tom Tromey  <tromey@redhat.com>
16330
16331         * java/awt/GridLayout.java (layoutContainer): Handle case where
16332         there are no items in container.
16333
16334         * java/lang/Win32Process.java: Added comment.
16335         * include/posix.h (_Jv_platform_close_on_exec): New function.
16336         Include fcntl.h.
16337         * include/win32.h (_Jv_platform_close_on_exec): New function.
16338         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
16339         flag.
16340         (accept): Likewise.
16341         * java/net/natPlainDatagramSocketImpl.cc (create): Set
16342         close-on-exec flag.
16343         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
16344         flag.
16345
16346 2002-03-09  Tom Tromey  <tromey@redhat.com>
16347
16348         * verify.cc (state::NO_STACK): New constant.
16349         (state::is_unmerged_ret_state): Handle case where stacktop is
16350         NO_STACK.
16351         (state::merge): Handle NO_STACK merges.
16352         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
16353         for instruction following jsr.
16354         (stacktop, stackdepth): Removed unused variables.
16355         (pop_jump): Ignore case where all remaining states are skipped.
16356
16357 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16358
16359         * java/awt/ImageMediaEntry: Removed.
16360         * java/awt/MediaEntry: Removed.
16361
16362 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16363
16364         Hashtable synchronization for PowerPC.
16365         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
16366         slow_pthread_self. Set up symlink for sysdeps directory.
16367         * configure: Rebuild.
16368         * configure.host: Document more shell variables. Set sysdeps_dir
16369         for most platforms. Set slow_pthread_self for i686. Set
16370         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
16371         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
16372         that memory barrier is emitted where required.
16373         * prims.cc: 64-bit align static primitive class instances.
16374         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
16375         read_barrier() to enforce ordering of reads.
16376         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
16377         primitives for PowerPC.
16378         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
16379         moved from natObject.cc.
16380         * sysdep/alpha/locks.h: Likewise.
16381         * sysdep/ia64/locks.h: Likewise.
16382         * sysdep/generic/locks.h: Likewise.
16383         * java/lang/natObject.cc: Move thread synchronization primitives to
16384         system-dependent headers.
16385
16386 2002-03-09  Adam Megacz  <adam@xwt.org>
16387
16388         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
16389         bytes read and no failure code returned.
16390
16391 2002-03-09  Adam Megacz  <adam@xwt.org>
16392
16393         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
16394         definitions to simulate -mthreads.
16395
16396 2002-03-09  Adam Megacz  <adam@xwt.org>
16397
16398         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
16399         avoid precision loss.
16400
16401 2002-03-09  Per Bothner  <per@bothner.com>
16402
16403         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
16404         * gnu/gcj/xlib/XImage.java:  Likewise.
16405         * gnu/gcj/xlib/XColor.java:  Likewise.
16406
16407 2002-03-09  Adam Megacz  <adam@xwt.org>
16408
16409         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
16410         IOException so that Throwable.printStackTrace fails correctly.
16411
16412 2002-03-08  Adam Megacz  <adam@xwt.org>
16413
16414         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
16415         fixed.
16416
16417 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16418
16419         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
16420         truncated to int.
16421
16422 2002-03-08  Tom Tromey  <tromey@redhat.com>
16423
16424         * include/jni.h: Include stdio.h.
16425
16426 2002-03-08  Tom Tromey  <tromey@redhat.com>
16427
16428         * posix.cc (internal_gettimeofday): New function.
16429         (_Jv_select): Use it.
16430
16431 2002-03-07  Adam Megacz  <adam@xwt.org>
16432
16433         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
16434         WIN32, and added thunks for read(), write(), and close().
16435         * java/net/natPlainSocketImpl.cc (accept, read, read):
16436         Disabled timeouts on WIN32 pending discussion.
16437
16438 2002-03-07  Adam Megacz  <adam@xwt.org>
16439
16440         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
16441         returns jlong. Added implementation
16442         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
16443         returns jlong.
16444         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
16445         returns jlong.
16446         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
16447         returns jlong.
16448         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
16449         _Jv_platform_gettimeofday signature.
16450
16451 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16452
16453         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
16454         (read): Call recv() directly, not _Jv_recv().
16455
16456 2002-03-06  Tom Tromey  <tromey@redhat.com>
16457
16458         * java/io/natFileDescriptorEcos.cc (init): Don't use
16459         GetStdHandle.
16460         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
16461         is negative.
16462         (init): Don't use GetStdHandle.
16463
16464         * include/config.h.in: Rebuilt.
16465         * configure: Rebuilt.
16466         * Makefile.in: Rebuilt.
16467
16468 2002-03-06  Adam Megacz  <adam@xwt.org>
16469
16470         * java/io/FileDescriptor.java: Initialize in/out/err in init().
16471         * java/io/natFileDescriptorWin32.cc (init()): Added function.
16472         * java/io/natFileDescriptorPosix.cc (init()): Added function.
16473         * java/io/natFileDescriptorEcos.cc (init()): Added function.
16474
16475 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
16476
16477         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
16478         the code for generating include/java-chartables.h.
16479         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
16480         merge with Classpath.
16481         * scripts/unicode-muncher.pl: Copy from Classpath.
16482         * scritps/MakeCharTables.java: New file.
16483         * gnu/gcj/convert/Blocks-3.txt: New file.
16484         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
16485         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
16486         * gnu/java/lang/CharData.java: Copy from Classpath.
16487         * Makefile.am (ordinary_java_source_files): Add
16488         gnu/java/lang/CharData.java.
16489         * configure.in: Remove --enable-fast-character option.
16490         * java/lang/Character.java: Merge algorithms and Javadoc with
16491         Classpath.
16492         * java/lang/natCharacter.cc: Implement Unicode lookup table more
16493         efficiently.
16494         * include/java-chardecomp.h: Regenerate.
16495         * include/java-chartables.h: Regenerate.
16496
16497 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16498
16499         * java/awt/MediaTracker.java: Implemented.
16500         * Makefile.am: Add MediaTracker.
16501         * Makefile.in: Rebuilt.
16502
16503 2002-03-05  Tom Tromey  <tromey@redhat.com>
16504
16505         * java/lang/natPosixProcess.cc (fail): Removed.
16506         (startProcess): Simplified error-handling.  Preserve
16507         LD_LIBRARY_PATH across exec.
16508
16509         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
16510         AbstractMethodError.
16511
16512 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16513
16514         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
16515         * Makefile.in: Rebuilt.
16516
16517 2002-03-03 Mark Wielaard <mark@klomp.org>
16518
16519         * java/util/Timer (TaskQueue.stop): set elements to zero.
16520
16521 2002-02-28  Anthony Green  <green@redhat.com>
16522
16523         * java/lang/reflect/natMethod.cc (result): Add void* element.
16524         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
16525         constructor test.
16526
16527 2002-02-27  Adam Megacz <adam@xwt.org>
16528
16529         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
16530         '#undef STRICT'.
16531
16532 2002-02-26  Tom Tromey  <tromey@redhat.com>
16533
16534         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
16535         * gij.cc (version): Use __VERSION__.
16536         * include/config.h.in: Rebuilt.
16537         * acconfig.h (GCJVERSION): Removed.
16538         * configure: Rebuilt.
16539         * configure.in (GCJVERSION): Removed.
16540
16541 2002-02-26  Andreas Schwab  <schwab@suse.de>
16542
16543         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
16544         glibcpp_CXX, since libjava uses even another CXX.
16545         * aclocal.m4, configure: Regenerated.
16546
16547 2002-02-26  Tom Tromey  <tromey@redhat.com>
16548
16549         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
16550         `1'.
16551
16552 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16553
16554         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
16555         dependency tracking for .java files.
16556         * Makefile.in: Rebuilt.
16557
16558 2002-02-24  Adam Megacz  <adam@xwt.org>
16559
16560         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
16561         typo. Sorry.
16562
16563 2002-02-24  Adam Megacz  <adam@xwt.org>
16564
16565         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
16566         for Win32, changed #ifdefs to check WIN32 instead of the
16567         (now-obsolete) USE_WINSOCK, and removed support for socket
16568         timeouts on Win32 pending further discussion.
16569
16570 2002-02-24  Adam Megacz  <adam@xwt.org>
16571
16572         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
16573         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
16574         delete
16575
16576 2002-02-24  Adam Megacz  <adam@xwt.org>
16577
16578         * java/lang/Win32Process.java: Created a dummy class to allow
16579         build process to run to completion.
16580
16581 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
16582
16583         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
16584         Define ffi_result union for ffi_call result.  Cast
16585         ffi_result members to jvalue.
16586
16587 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
16588
16589         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
16590         * testsuite/Makefile.in: Likewise.
16591
16592 2002-02-20  Per Bothner  <per@bothner.com>
16593
16594         * java/net/URL.java (getPath):  New JDK 1.3 method.
16595
16596         * java/net/URLStreamHandler.java (parseURL):
16597         It is wrong to prepend '/' to the file part of a relative url.
16598
16599         * java/net/URLStreamHandler.java (parseURL):
16600         Minor optizations - append '/' rather than "/".
16601
16602         * java/net/URLStreamHandler.java (parseURL):
16603         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
16604         We probably should canonicalize for a context-relative url, though.
16605         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
16606         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
16607         (sameFile):  New method.  Uses canonicalizeFilename.
16608
16609 2002-02-22  Tom Tromey  <tromey@redhat.com>
16610
16611         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
16612         java.vendor and java.vm.vendor.
16613         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
16614         recent copyright date.
16615         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
16616         * gij.cc (version): Print `Inc'.
16617
16618 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16619
16620         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
16621         * aclocal.m4, configure: Rebuilt.
16622
16623 2002-02-20  Per Bothner  <per@bothner.com>
16624
16625         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
16626         and/or output streams immediately here, instead of using File.exists.
16627         (inputStream, outputStream):  New fields to save open streams.
16628         (getInputStream, getOutputStream):  Use already-opened streams.
16629
16630 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16631
16632         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
16633         Use it.
16634         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
16635         * aclocal.m4, configure, Makefile.in: Rebuilt.
16636
16637 2002-02-19  Tom Tromey  <tromey@redhat.com>
16638
16639         Fix for PR libgcj/5696:
16640         * verify.cc (is_assignable_from_slow): Never call
16641         _Jv_IsAssignableFrom.
16642         (verify_instructions_0): Added new debug statement.
16643         (state::print): Print information about whether local has
16644         changed.
16645         (state::merge): Don't call note_variable when merging locals.
16646         (state::set_exception): Removed old FIXME comment.
16647
16648 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16649
16650         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
16651         enable SO_BROADCAST.
16652
16653 2002-02-18  Jason Merrill  <jason@redhat.com>
16654
16655         * name-finder.cc (toHex): Use word mode, not long long.
16656
16657         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
16658
16659 2002-02-15  Tom Tromey  <tromey@redhat.com>
16660
16661         Fix for PR libgcj/5695:
16662         * verify.cc (is_assignable_from_slow): Check to see if target is
16663         an Object before checking to see if source is an interface.
16664         (verify_instructions_0) [op_invokeinterface]: Handle case where
16665         we're making an interface call on Object.
16666
16667 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16668
16669         * Makefile.in: Rebuilt with Eric's change below.
16670
16671         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
16672         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
16673         Removed functions which are now implemented in Math.java.
16674
16675 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16676
16677         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
16678         * Makefile.am (core_java_source_files): Add
16679         java/lang/StrictMath.java.
16680         * java/lang/Math.java: Merge with Classpath.
16681         * java/lang/StrictMath.java: New file - merge with Classpath.
16682
16683 2002-02-14  Mark Wielaard  <mark@klomp.org>
16684
16685         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
16686         package as a workaround for gcj 3.0.x
16687
16688 2002-02-14  Mark Wielaard <mark@klomp.org>
16689
16690         * java/security/BasicPermission.java: extends with fully qualified
16691         classname as workaround for gcj 3.0.4.
16692
16693 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16694
16695         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
16696         around gcj bug of wrong emitted qualifier for inherited method.
16697         * java/net/SocketImpl.java (setOption, getOption): Ditto.
16698         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
16699         constructor to reduce amount of emitted bytecode. While this
16700         happens to work around a jikes 1.15 bug, it is still a useful
16701         patch even for correct compilers.
16702         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
16703         * gnu/java/rmi/server/UnicastRemoteCall.java
16704         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
16705
16706 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16707
16708         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
16709         * java/net/SocketImpl.java: Ditto.
16710         * java/rmi/server/RMIClassLoader.java: Ditto.
16711         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
16712
16713 2002-02-14  Mark Wielaard <mark@klomp.org>
16714
16715         Thanks to Takashi Okamoto
16716         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
16717         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
16718         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
16719
16720 2002-02-13  Todd Stock  <toddastock@yahoo.com>
16721
16722         Fix for PR libgcj/5670:
16723         * verify.cc (is_assignable_from_slow): If `source' is interface,
16724         recursively look for merge with `target'.
16725
16726 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
16727
16728         * include/jni.h: Fix typo.
16729
16730 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
16731
16732         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
16733         correctly.
16734
16735 2002-02-13  Todd Stock  <toddastock@yahoo.com>
16736
16737         Fix for PR libgcj/5671:
16738         * verify.cc (state::merge): Handle case where we're merging
16739         against an interface.
16740
16741 2002-02-12  Tom Tromey  <tromey@redhat.com>
16742
16743         * exception.cc (std::abort): Mark as noreturn.
16744
16745 2002-02-12  Adam Megacz <adam@xwt.org>
16746
16747         * java/lang/Win32Process.java: Filled in a placeholder
16748         implementation so Win32 will build.
16749
16750 2002-02-12  Adam Megacz <adam@xwt.org>
16751
16752         * java/io/natFilePosix.cc: Copied this from natFile.cc.
16753         * java/io/natFile.cc: Removed from repository.
16754         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
16755
16756 2002-02-12  Adam Megacz <adam@xwt.org>
16757
16758         * win32.cc: Added two #includes to make win32.cc compile.
16759
16760 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16761
16762         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
16763         declarations.
16764         (_Jv_InitGC): Don't bother locking, as this is always called from a
16765         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
16766
16767 2002-02-11  Adam Megacz <adam@xwt.org>
16768
16769         * include/win32.h: Added _Jv_platform_gettimeofday.
16770         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
16771
16772 2002-02-11  Adam Megacz <adam@xwt.org>
16773
16774         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
16775         Added #undef STRICT to make windows.h and
16776         java/lang/reflect/Modifier.h cooperate.
16777
16778 2002-02-11  Adam Megacz <adam@xwt.org>
16779
16780         * java/io/natFileWin32.cc: Created a placeholder class with lots
16781         of FIXMEs.
16782
16783 2002-02-11  Adam Megacz <adam@xwt.org>
16784
16785         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
16786         std::abort() to simply abort(). Also added "fake" std::abort() so
16787         we can #include unwind-pe.h without having to link against
16788         libstdc++-v3.
16789
16790 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
16791
16792         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
16793
16794 2002-02-08  Tom Tromey  <tromey@redhat.com>
16795
16796         * interpret.cc (convert): New function.
16797         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
16798         convert.
16799         Include Long.h.
16800
16801 2002-02-08  Anthony Green  <green@redhat.com>
16802
16803         * configure.host: Add support for xscale-elf embedded target.
16804
16805 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
16806
16807         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
16808         dereferenced.
16809         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
16810         frame.
16811
16812 2002-02-07  Tom Tromey  <tromey@redhat.com>
16813
16814         * java/io/natFile.cc (_access): Use __builtin_alloca.
16815         (_stat): Likewise.
16816         (attr): Likewise.
16817         (getCanonicalPath): Likewise.
16818         (performList): Likewise.
16819         (performMkdir): Likewise.
16820         (performSetReadOnly): Likewise.
16821         (performRenameTo): Likewise.
16822         (performSetLastModified): Likewise.
16823         (performCreate): Likewise.
16824         (performDelete): Likewise.
16825
16826 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16827
16828         * HACKING: Fix URL for the automake-gcj.
16829
16830 2002-02-07  Tom Tromey  <tromey@redhat.com>
16831
16832         * java/lang/natThrowable.cc: Updated copyright.
16833         * java/io/natFileWin32.cc: Updated copyright.
16834         * java/io/natFileDescriptorWin32.cc: Updated copyright.
16835         * win32-threads.cc: Updated copyright.
16836         * name-finder.cc: Updated copyright.
16837         * include/name-finder.h: Updated copyright.
16838
16839         * include/name-finder.h: Conditionally include sys/wait.h.
16840         * include/config.h.in: Rebuilt.
16841
16842         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
16843         Size buffer based on real size of string.
16844         (_stat): Likewise.
16845         (attr): Likewise.
16846         (getCanonicalPath): Likewise.
16847         (performList): Likewise.
16848         (performMkdir): Likewise.
16849         (performSetReadOnly): Likewise.
16850         (unixroot): Removed.
16851         (performRenameTo): Likewise.
16852         (performSetLastModified): Likewise.
16853         (performCreate): Likewise.
16854         (performDelete): Likewise.
16855         (performListRoots): Always return new array.
16856
16857         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
16858         * win32.cc (win32_exception_handler): Now static.
16859         * include/win32.h (_Jv_platform_initialize): Declare.
16860         (win32_exception_handler): Don't declare.
16861         * java/lang/natSystem.cc (currentTimeMillis): Use
16862         _Jv_platform_gettimeofday.
16863         * posix.cc (_Jv_platform_gettimeofday): Renamed.
16864         (_Jv_select): Use new name.
16865         (_Jv_platform_initialize): New function.
16866         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
16867         _Jv_gettimeofday.
16868         (_Jv_platform_initialize): Declare.
16869
16870         * configure: Rebuilt.
16871         * configure.in: Removed unnecessary parens.
16872
16873 2002-02-06  Adam Megacz <adam@xwt.org>
16874
16875        * configure.in: Changed mingw) to *mingw*).
16876        * win32.cc: Created this file.
16877        * win32.h: Created this file.
16878        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
16879        win32_exception_handler from prims.cc to win32.cc, added
16880        header in win32.h.
16881        * prims.cc: removed some #ifdef-WIN32'd headers which are no
16882        longer needed now that we have platform.h
16883
16884 2002-02-06  Adam Megacz <adam@xwt.org>
16885
16886         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
16887         use uint<n>_t instead of LONG and BYTE
16888
16889 2002-02-06  Adam Megacz <adam@xwt.org>
16890
16891         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
16892
16893 2002-02-06  Anthony Green  <green@redhat.com>
16894
16895         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
16896         Implement missing method stubs.
16897         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
16898         targets.
16899         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
16900         concept of timezones.
16901         (init_properties): Don't refer to _Jv_Environment_Properties
16902         when this feature is not available.
16903         * include/config.h.in: Rebuilt.
16904         * acconfig.h: Add DISABLE_MAIN_ARGS.
16905         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
16906         * configure: Rebuilt.
16907         * configure.in: Add --disable-main-args option.  Test for
16908           opendir function.  Replace AC_CHECK_SIZEOF with
16909           AC_COMPILE_CHECK_SIZEOF.
16910         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
16911         * aclocal.m4: Rebuilt.
16912         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
16913
16914 2002-02-06  Tom Tromey  <tromey@redhat.com>
16915
16916         * verify.cc (require_array_type): If argument is a null array of
16917         references, return null as the element type.
16918
16919 2002-02-06  Mark Wielaard  <mark@klomp.org>
16920
16921         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
16922         duplicate of a wide type.
16923
16924 2002-02-06  Tom Tromey  <tromey@redhat.com>
16925
16926         * verify.cc (type::isnull): New method.
16927         (require_array_type): Handle case where array is null.
16928         (verify_instructions_0) [op_arraylength]: Likewise.
16929
16930 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16931
16932         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
16933         Symlink PLATFORMH to platform.h.
16934         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
16935         PLATFORMOBJS.
16936         * java/lang/natSystem.cc: #include platform.h not posix.h.
16937         * Makefile.in: Rebuilt with libgcj automake.
16938         * configure: Rebuilt.
16939
16940 2002-02-05  Richard Henderson  <rth@redhat.com>
16941
16942         * Makefile.in: Undo munging last change.
16943
16944 2002-02-04  Adam Megacz <adam@xwt.org>
16945
16946         * win32.cc: Created it.
16947         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
16948         which is set to posix.cc or win32.cc.
16949         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
16950
16951 2002-02-04  Adam Megacz <adam@xwt.org>
16952
16953         * configure.in: Corrected mingw case branches; added * before
16954         and after.
16955
16956 2002-02-04  Adam Megacz <adam@xwt.org>
16957
16958         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
16959         if compiling for win32
16960
16961 2002-02-04  Adam Megacz <adam@xwt.org>
16962
16963         * win32-threads.cc: #undef STRICT after gc.h inclusion
16964
16965 2002-02-02  Tom Tromey  <tromey@redhat.com>
16966
16967         * Makefile.in: Rebuilt.
16968
16969 2002-02-02  Jason Merrill  <jason@redhat.com>
16970
16971         * Makefile.am (clean-nat): New target.
16972
16973 2002-02-02  Tom Tromey  <tromey@redhat.com>
16974
16975         * java/io/natFile.cc: Removed old "FIXME" comments.
16976
16977 2002-02-01  Tom Tromey  <tromey@redhat.com>
16978
16979         * java/lang/natPosixProcess.cc (myclose): New function.
16980         (fail): Use it.
16981         (startProcess): Likewise.
16982
16983 2002-02-01  Adam Megacz <adam@xwt.org>
16984
16985         * prims.cc: Added #undef STRICT after #include<windows.h>.
16986
16987 2002-02-01  Adam Megacz <adam@xwt.org>
16988
16989         * prims.cc
16990         (_Jv_CreateJavaVM): We now use WIN32 instead of
16991         USE_WIN32_SIGNALLING and USE_WINSOCK.
16992         (win32_exception_handler): Now throws an exception out of
16993         the signal handler; assumes SJLJ.
16994
16995 2002-02-01  Adam Megacz <adam@xwt.org>
16996
16997         * win32-threads.cc:
16998         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
16999         wait() algorithm to make it safe.
17000         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
17001         Added lazy creation of Win32 Events for better performance
17002         (really_start): This now uses GC_CreateThread so boehm-gc
17003         knows about new threads even when statically linked.
17004
17005 2002-02-01  Adam Megacz <adam@xwt.org>
17006
17007         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
17008         enable safer wait() algorithm.
17009         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
17010         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
17011         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
17012         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
17013         instead of mutex.
17014         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
17015
17016 2002-02-01  Adam Megacz <adam@xwt.org>
17017
17018         * configure.in: Added support for mingw.
17019         * java/lang/Win32Process.java: Created as empty file.
17020         * java/lang/natWin32Process.cc: Created as empty file.
17021
17022 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
17023
17024         PR java/4972
17025         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
17026         for libiconv in LIBICONV variable.
17027         * configure: Regenerated.
17028
17029 2002-01-31  Tom Tromey  <tromey@redhat.com>
17030
17031         * verify.cc (state::enter_subroutine): New method.
17032         (handle_jsr_insn): Use it.
17033         (state::merge): When processing a `ret', correctly use
17034         subroutine's state to determine which local variables have
17035         changed.
17036         (push_exception_jump): Don't let stack overflow.
17037
17038 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
17039
17040         * gnu/gcj/convert/Convert.java: Only include one copyright year in
17041         --version output.
17042
17043 2002-01-30  Tom Tromey  <tromey@redhat.com>
17044
17045         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
17046         parameter for `recv' return type.
17047
17048         * verify.cc (handle_ret_insn): Check for subroutine merge here...
17049         (state::merge): ... not here.
17050         (subr_entry_info): New structure.
17051         (entry_points): New field.
17052         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
17053         entry_points.
17054
17055 2002-01-29  Tom Tromey  <tromey@redhat.com>
17056
17057         * java/awt/List.java (addNotify): Correctly check to see if peer
17058         does not exist.
17059
17060         * java/awt/GridLayout.java (layoutContainer): Use number of rows
17061         to compute height of each cell, and number of columns to compute
17062         width of each cell.
17063         * java/awt/Window.java (getOwnedWindows): Don't return null.
17064         * java/awt/FlowLayout.java (layoutContainer): Set width and height
17065         of component.  Increment x using horizontal gap, not vertical
17066         gap.
17067
17068 2002-01-28  Tom Tromey  <tromey@redhat.com>
17069
17070         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
17071         `nargs' byte is number of words, not number of arguments.
17072
17073 2002-01-27  Tom Tromey  <tromey@redhat.com>
17074
17075         * java/awt/event/MouseEvent.java (modifiers): Removed field.
17076         (when): Likewise.
17077         * java/awt/event/InputEvent.java (modifiers, when): Now
17078         package-private.
17079
17080         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
17081         and to-do list.
17082         (state::merge): Use current class' class loader.
17083         (state::print): Print subroutine.
17084         (state::merge): Don't look at subroutine of unmerged `ret'.
17085
17086 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
17087
17088         * nogc.cc: Remove warnings.
17089         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
17090         New functions.
17091
17092 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17093
17094         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
17095         int, int):  Remove empty "if" statement to work around compiler bug.
17096         (newPixels(int[], ColorModel, int, int): Likewise.
17097
17098 2002-01-25  Per Bothner  <per@bothner.com>
17099
17100         * verify.cc (verify_fail):  Change from being a top-level function
17101         to e method of _Jv_BytecodeVerifier.  Emit current method name.
17102         Pass the current verifier to type: and state: methods as needed,
17103         for better error messages, and for resolve.
17104         (resolve):  Pass current class's loader for Class.forName and
17105         _Jv_FindClassFromSignature, rather than using the default loader.
17106         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
17107         (get_type_val_for_signature):  Make non-static.
17108         (various methods):  Pass start_PC implicitly, not explicitly.
17109
17110 2002-01-25  Tom Tromey  <tromey@redhat.com>
17111
17112         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
17113         loop termination condition.
17114         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
17115         width.
17116
17117 2002-01-24  Tom Tromey  <tromey@redhat.com>
17118
17119         * java/awt/Shape.java: Merged with Classpath.
17120         * java/awt/Scrollbar.java: Merged with Classpath.
17121
17122         * java/awt/Container.java (addNotify): Unconditionally call
17123         addNotifyContainerChildren and superclass addNotify.
17124
17125         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
17126         getAlpha, not getBlue.
17127
17128 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17129
17130         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
17131
17132         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
17133         (grabPixels(long)): Wait to be notified that the ImageProducer has
17134         completed.
17135
17136 2002-01-24  Per Bothner  <per@bothner.com>
17137
17138         * verify.cc (is_assignable_from_slow): If target is an interface,
17139         we must still check the source's superclass before giving up.
17140
17141 2002-01-24  Tom Tromey  <tromey@redhat.com>
17142
17143         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
17144
17145 2002-01-23  Tom Tromey  <tromey@redhat.com>
17146
17147         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
17148         `else'.
17149
17150         * Makefile.in: Rebuilt.
17151         * Makefile.am (awt_java_source_files): Added new files.
17152         * java/awt/Toolkit.java: Merged with Classpath.
17153         * java/awt/PrintGraphics.java: New file from Classpath.
17154         * java/awt/PrintJob.java: New file from Classpath.
17155         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
17156         * java/awt/datatransfer/ClipboardOwner.java: New file from
17157         Classpath.
17158         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
17159         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
17160         * java/awt/datatransfer/MimeTypeParseException.java: New file from
17161         Classpath.
17162         * java/awt/datatransfer/StringSelection.java: New file from
17163         Classpath.
17164         * java/awt/datatransfer/SystemFlavorMap.java: New file from
17165         Classpath.
17166         * java/awt/datatransfer/Transferable.java: New file from
17167         Classpath.
17168         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
17169         from Classpath.
17170
17171         * Makefile.in: Rebuilt.
17172         * Makefile.am (awt_java_source_files): Added new files.
17173         * java/awt/image/AreaAveragingScaleFilter.java: New file from
17174         Classpath.
17175         * java/awt/image/CropImageFilter.java: New file from Classpath.
17176         * java/awt/image/FilteredImageSource.java: New file from
17177         Classpath.
17178         * java/awt/image/ImageFilter.java: New file from Classpath.
17179         * java/awt/image/MemoryImageSource.java: New file from Classpath.
17180         * java/awt/image/PixelGrabber.java: New file from Classpath.
17181         * java/awt/image/RGBImageFilter.java: New file from Classpath.
17182         * java/awt/image/ReplicateScaleFilter.java: New file from
17183         Classpath.
17184         * java/awt/image/ImageProducer.java: Replaced with Classpath
17185         version.
17186         * java/awt/image/ImageObserver.java: Replaced with Classpath
17187         version.
17188         * java/awt/image/ImageConsumer.java: Replaced with Classpath
17189         version.
17190         * java/awt/GridBagConstraints.java (clone): Catch
17191         CloneNotSupportedException.
17192
17193 2002-01-23  Per Bothner  <per@bothner.com>
17194
17195         * java/lang/reflect/natField.cc (setAddr):  New function.
17196         Calls getAddr and then checks that the field isn't final.
17197         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
17198         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
17199         (set):  Call setAddr before check that new value has right type,
17200         to better match specified semantics.
17201
17202 2002-01-22  Tom Tromey  <tromey@redhat.com>
17203
17204         * java/awt/TextField.java: Replaced with Classpath version.
17205         * java/awt/TextArea.java: Replaced with Classpath version.
17206         * java/awt/TextComponent.java: Replaced with Classpath version.
17207
17208         * java/awt/GridBagConstraints.java: Updated copyright.
17209
17210 2002-01-22  Mark Wielaard <mark@klomp.org>
17211
17212         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
17213         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
17214         java/awt/Dialog.java java/awt/FileDialog.java
17215         java/awt/Font.java java/awt/FontMetrics.java
17216         java/awt/Image.java java/awt/ImageMediaEntry.java
17217         java/awt/Insets.java java/awt/List.java
17218         java/awt/MediaEntry.java java/awt/MediaTracker.java
17219         java/awt/Menu.java java/awt/MenuBar.java
17220         java/awt/MenuContainer.java java/awt/MenuShortcut.java
17221         java/awt/PaintContext.java java/awt/Panel.java
17222         java/awt/PopupMenu.java java/awt/SystemColor.java
17223         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
17224         java/awt/peer/CheckboxMenuItemPeer.java
17225         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
17226         java/awt/peer/ComponentPeer.java
17227         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
17228         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
17229         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
17230         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
17231         java/awt/peer/MenuBarPeer.java
17232         java/awt/peer/MenuComponentPeer.java
17233         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
17234         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
17235         java/awt/peer/ScrollPanePeer.java
17236         java/awt/peer/ScrollbarPeer.java
17237         java/awt/peer/TextAreaPeer.java
17238         java/awt/peer/TextComponentPeer.java
17239         java/awt/peer/TextFieldPeer.java
17240         java/awt/peer/WindowPeer.java: Add license clarification.
17241
17242 2002-01-22  Mark Wielaard <mark@klomp.org>
17243
17244         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
17245         gnu/gcj/runtime/StringBuffer.java
17246         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
17247         gnu/java/awt/ComponentDataBlitOp.java
17248         gnu/java/awt/GLightweightPeer.java
17249         gnu/java/beans/BeanInfoEmbryo.java
17250         gnu/java/beans/EmptyBeanInfo.java
17251         gnu/java/beans/ExplicitBeanInfo.java
17252         gnu/java/beans/IntrospectionIncubator.java
17253         gnu/java/beans/editors/ColorEditor.java
17254         gnu/java/beans/editors/FontEditor.java
17255         gnu/java/beans/editors/NativeBooleanEditor.java
17256         gnu/java/beans/editors/NativeByteEditor.java
17257         gnu/java/beans/editors/NativeDoubleEditor.java
17258         gnu/java/beans/editors/NativeFloatEditor.java
17259         gnu/java/beans/editors/NativeIntEditor.java
17260         gnu/java/beans/editors/NativeLongEditor.java
17261         gnu/java/beans/editors/NativeShortEditor.java
17262         gnu/java/beans/editors/StringEditor.java
17263         gnu/java/beans/info/ComponentBeanInfo.java
17264         gnu/java/io/ClassLoaderObjectInputStream.java
17265         gnu/java/io/NullOutputStream.java
17266         gnu/java/io/ObjectIdentityWrapper.java
17267         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
17268         gnu/java/lang/reflect/TypeSignature.java
17269         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
17270         gnu/java/locale/Calendar_en.java
17271         gnu/java/locale/Calendar_nl.java
17272         gnu/java/locale/LocaleInformation.java
17273         gnu/java/locale/LocaleInformation_de.java
17274         gnu/java/locale/LocaleInformation_en.java
17275         gnu/java/locale/LocaleInformation_nl.java
17276         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
17277         gnu/java/rmi/registry/RegistryImpl.java
17278         gnu/java/rmi/rmic/Compile_gcj.java
17279         gnu/java/rmi/rmic/Compiler.java
17280         gnu/java/rmi/rmic/CompilerProcess.java
17281         gnu/java/rmi/rmic/RMIC.java
17282         gnu/java/rmi/rmic/TabbedWriter.java
17283         gnu/java/rmi/server/ProtocolConstants.java
17284         gnu/java/rmi/server/RMIDefaultSocketFactory.java
17285         gnu/java/rmi/server/RMIHashes.java
17286         gnu/java/rmi/server/RMIObjectInputStream.java
17287         gnu/java/rmi/server/RMIObjectOutputStream.java
17288         gnu/java/rmi/server/UnicastConnection.java
17289         gnu/java/rmi/server/UnicastConnectionManager.java
17290         gnu/java/rmi/server/UnicastRef.java
17291         gnu/java/rmi/server/UnicastRemoteCall.java
17292         gnu/java/rmi/server/UnicastRemoteStub.java
17293         gnu/java/rmi/server/UnicastServer.java
17294         gnu/java/rmi/server/UnicastServerRef.java
17295         gnu/java/security/provider/DefaultPolicy.java
17296         gnu/java/security/provider/Gnu.java
17297         gnu/java/security/provider/SHA.java
17298         gnu/java/security/provider/SHA1PRNG.java
17299         gnu/java/text/BaseBreakIterator.java
17300         gnu/java/text/CharacterBreakIterator.java
17301         gnu/java/text/LineBreakIterator.java
17302         gnu/java/text/SentenceBreakIterator.java
17303         gnu/java/text/WordBreakIterator.java
17304         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
17305         java/applet/AppletContext.java java/applet/AppletStub.java
17306         java/applet/AudioClip.java java/awt/AWTError.java
17307         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
17308         java/awt/AWTException.java java/awt/AWTPermission.java
17309         java/awt/ActiveEvent.java java/awt/BorderLayout.java
17310         java/awt/Button.java java/awt/Canvas.java
17311         java/awt/CardLayout.java java/awt/Checkbox.java
17312         java/awt/CheckboxGroup.java java/awt/Component.java
17313         java/awt/ComponentOrientation.java java/awt/Container.java
17314         java/awt/Dimension.java java/awt/Event.java
17315         java/awt/EventDispatchThread.java java/awt/EventQueue.java
17316         java/awt/FlowLayout.java java/awt/Frame.java
17317         java/awt/Graphics.java java/awt/Graphics2D.java
17318         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
17319         java/awt/IllegalComponentStateException.java
17320         java/awt/ItemSelectable.java java/awt/Label.java
17321         java/awt/LayoutManager.java java/awt/LayoutManager2.java
17322         java/awt/MenuComponent.java java/awt/MenuItem.java
17323         java/awt/Paint.java java/awt/Point.java
17324         java/awt/Rectangle.java java/awt/RenderingHints.java
17325         java/awt/Transparency.java java/awt/Window.java
17326         java/awt/color/ColorSpace.java
17327         java/awt/color/ICC_ColorSpace.java
17328         java/awt/color/ICC_Profile.java
17329         java/awt/event/HierarchyBoundsAdapter.java
17330         java/awt/event/HierarchyBoundsListener.java
17331         java/awt/event/HierarchyEvent.java
17332         java/awt/event/HierarchyListener.java
17333         java/awt/geom/AffineTransform.java
17334         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
17335         java/awt/geom/IllegalPathStateException.java
17336         java/awt/geom/Line2D.java
17337         java/awt/geom/NoninvertibleTransformException.java
17338         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
17339         java/awt/geom/Rectangle2D.java
17340         java/awt/geom/RectangularShape.java
17341         java/awt/geom/RoundRectangle2D.java
17342         java/awt/image/BufferedImage.java
17343         java/awt/image/ColorModel.java
17344         java/awt/image/ComponentColorModel.java
17345         java/awt/image/ComponentSampleModel.java
17346         java/awt/image/DataBuffer.java
17347         java/awt/image/DataBufferByte.java
17348         java/awt/image/DataBufferInt.java
17349         java/awt/image/DataBufferUShort.java
17350         java/awt/image/DirectColorModel.java
17351         java/awt/image/PackedColorModel.java
17352         java/awt/image/Raster.java java/awt/image/RasterOp.java
17353         java/awt/image/SampleModel.java
17354         java/awt/image/SinglePixelPackedSampleModel.java
17355         java/awt/image/WritableRaster.java
17356         java/beans/AppletInitializer.java
17357         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
17358         java/beans/Beans.java java/beans/Customizer.java
17359         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
17360         java/beans/FeatureDescriptor.java
17361         java/beans/IndexedPropertyDescriptor.java
17362         java/beans/IntrospectionException.java
17363         java/beans/Introspector.java java/beans/MethodDescriptor.java
17364         java/beans/ParameterDescriptor.java
17365         java/beans/PropertyChangeEvent.java
17366         java/beans/PropertyChangeListener.java
17367         java/beans/PropertyChangeSupport.java
17368         java/beans/PropertyDescriptor.java
17369         java/beans/PropertyEditor.java
17370         java/beans/PropertyEditorManager.java
17371         java/beans/PropertyEditorSupport.java
17372         java/beans/PropertyVetoException.java
17373         java/beans/SimpleBeanInfo.java
17374         java/beans/VetoableChangeListener.java
17375         java/beans/VetoableChangeSupport.java
17376         java/beans/Visibility.java
17377         java/beans/beancontext/BeanContext.java
17378         java/beans/beancontext/BeanContextChild.java
17379         java/beans/beancontext/BeanContextChildComponentProxy.java
17380         java/beans/beancontext/BeanContextChildSupport.java
17381         java/beans/beancontext/BeanContextContainerProxy.java
17382         java/beans/beancontext/BeanContextEvent.java
17383         java/beans/beancontext/BeanContextMembershipEvent.java
17384         java/beans/beancontext/BeanContextMembershipListener.java
17385         java/beans/beancontext/BeanContextProxy.java
17386         java/beans/beancontext/BeanContextServiceAvailableEvent.java
17387         java/beans/beancontext/BeanContextServiceProvider.java
17388         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
17389         java/beans/beancontext/BeanContextServiceRevokedEvent.java
17390         java/beans/beancontext/BeanContextServiceRevokedListener.java
17391         java/beans/beancontext/BeanContextServices.java
17392         java/beans/beancontext/BeanContextServicesListener.java
17393         java/io/BufferedInputStream.java
17394         java/io/BufferedOutputStream.java java/io/BufferedReader.java
17395         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
17396         java/io/ByteArrayOutputStream.java
17397         java/io/CharArrayReader.java java/io/CharArrayWriter.java
17398         java/io/CharConversionException.java java/io/DataInput.java
17399         java/io/DataInputStream.java java/io/DataOutput.java
17400         java/io/EOFException.java java/io/Externalizable.java
17401         java/io/FileFilter.java java/io/FileNotFoundException.java
17402         java/io/FilePermission.java java/io/FileReader.java
17403         java/io/FileWriter.java java/io/FilenameFilter.java
17404         java/io/FilterInputStream.java java/io/FilterOutputStream.java
17405         java/io/FilterReader.java java/io/FilterWriter.java
17406         java/io/IOException.java java/io/InputStream.java
17407         java/io/InterruptedIOException.java
17408         java/io/InvalidClassException.java
17409         java/io/InvalidObjectException.java
17410         java/io/NotActiveException.java
17411         java/io/NotSerializableException.java java/io/ObjectInput.java
17412         java/io/ObjectInputStream.java
17413         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
17414         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
17415         java/io/ObjectStreamConstants.java
17416         java/io/ObjectStreamException.java
17417         java/io/ObjectStreamField.java
17418         java/io/OptionalDataException.java java/io/OutputStream.java
17419         java/io/PipedInputStream.java java/io/PipedOutputStream.java
17420         java/io/PipedReader.java java/io/PipedWriter.java
17421         java/io/PrintWriter.java java/io/PushbackInputStream.java
17422         java/io/PushbackReader.java java/io/Reader.java
17423         java/io/SequenceInputStream.java java/io/Serializable.java
17424         java/io/SerializablePermission.java
17425         java/io/StreamCorruptedException.java
17426         java/io/StreamTokenizer.java
17427         java/io/StringBufferInputStream.java java/io/StringReader.java
17428         java/io/StringWriter.java java/io/SyncFailedException.java
17429         java/io/UTFDataFormatException.java
17430         java/io/UnsupportedEncodingException.java
17431         java/io/WriteAbortedException.java java/io/Writer.java
17432         java/lang/AbstractMethodError.java
17433         java/lang/ArithmeticException.java
17434         java/lang/ArrayIndexOutOfBoundsException.java
17435         java/lang/ArrayStoreException.java java/lang/Boolean.java
17436         java/lang/Byte.java java/lang/CharSequence.java
17437         java/lang/ClassCastException.java
17438         java/lang/ClassCircularityError.java
17439         java/lang/ClassFormatError.java
17440         java/lang/ClassNotFoundException.java
17441         java/lang/CloneNotSupportedException.java
17442         java/lang/Cloneable.java java/lang/Comparable.java
17443         java/lang/Compiler.java java/lang/Double.java
17444         java/lang/Error.java java/lang/Exception.java
17445         java/lang/ExceptionInInitializerError.java
17446         java/lang/Float.java java/lang/IllegalAccessError.java
17447         java/lang/IllegalAccessException.java
17448         java/lang/IllegalArgumentException.java
17449         java/lang/IllegalMonitorStateException.java
17450         java/lang/IllegalStateException.java
17451         java/lang/IllegalThreadStateException.java
17452         java/lang/IncompatibleClassChangeError.java
17453         java/lang/IndexOutOfBoundsException.java
17454         java/lang/InheritableThreadLocal.java
17455         java/lang/InstantiationError.java
17456         java/lang/InstantiationException.java java/lang/Integer.java
17457         java/lang/InternalError.java
17458         java/lang/InterruptedException.java
17459         java/lang/LinkageError.java java/lang/Long.java
17460         java/lang/NegativeArraySizeException.java
17461         java/lang/NoClassDefFoundError.java
17462         java/lang/NoSuchFieldError.java
17463         java/lang/NoSuchFieldException.java
17464         java/lang/NoSuchMethodError.java
17465         java/lang/NoSuchMethodException.java
17466         java/lang/NullPointerException.java java/lang/Number.java
17467         java/lang/NumberFormatException.java
17468         java/lang/OutOfMemoryError.java java/lang/Package.java
17469         java/lang/Process.java java/lang/Runnable.java
17470         java/lang/RuntimeException.java
17471         java/lang/RuntimePermission.java
17472         java/lang/SecurityException.java
17473         java/lang/SecurityManager.java java/lang/Short.java
17474         java/lang/StackOverflowError.java java/lang/StringBuffer.java
17475         java/lang/StringIndexOutOfBoundsException.java
17476         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
17477         java/lang/ThreadLocal.java java/lang/UnknownError.java
17478         java/lang/UnsatisfiedLinkError.java
17479         java/lang/UnsupportedClassVersionError.java
17480         java/lang/UnsupportedOperationException.java
17481         java/lang/VerifyError.java java/lang/VirtualMachineError.java
17482         java/lang/Void.java java/lang/ref/PhantomReference.java
17483         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
17484         java/lang/ref/SoftReference.java
17485         java/lang/ref/WeakReference.java
17486         java/lang/reflect/AccessibleObject.java
17487         java/lang/reflect/InvocationTargetException.java
17488         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
17489         java/lang/reflect/ReflectPermission.java
17490         java/math/BigDecimal.java java/math/BigInteger.java
17491         java/net/Authenticator.java java/net/BindException.java
17492         java/net/ConnectException.java java/net/ContentHandler.java
17493         java/net/ContentHandlerFactory.java
17494         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
17495         java/net/FileNameMap.java java/net/MalformedURLException.java
17496         java/net/MulticastSocket.java java/net/NetPermission.java
17497         java/net/NoRouteToHostException.java
17498         java/net/PasswordAuthentication.java
17499         java/net/ProtocolException.java java/net/ServerSocket.java
17500         java/net/Socket.java java/net/SocketException.java
17501         java/net/SocketImpl.java java/net/SocketImplFactory.java
17502         java/net/SocketOptions.java java/net/SocketPermission.java
17503         java/net/URLDecoder.java java/net/URLEncoder.java
17504         java/net/URLStreamHandlerFactory.java
17505         java/net/UnknownHostException.java
17506         java/net/UnknownServiceException.java
17507         java/rmi/AccessException.java
17508         java/rmi/AlreadyBoundException.java
17509         java/rmi/ConnectException.java
17510         java/rmi/ConnectIOException.java
17511         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
17512         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
17513         java/rmi/NotBoundException.java
17514         java/rmi/RMISecurityException.java
17515         java/rmi/RMISecurityManager.java java/rmi/Remote.java
17516         java/rmi/RemoteException.java java/rmi/ServerError.java
17517         java/rmi/ServerException.java
17518         java/rmi/ServerRuntimeException.java
17519         java/rmi/StubNotFoundException.java
17520         java/rmi/UnexpectedException.java
17521         java/rmi/UnknownHostException.java
17522         java/rmi/UnmarshalException.java
17523         java/rmi/activation/Activatable.java
17524         java/rmi/activation/ActivateFailedException.java
17525         java/rmi/activation/ActivationDesc.java
17526         java/rmi/activation/ActivationException.java
17527         java/rmi/activation/ActivationGroup.java
17528         java/rmi/activation/ActivationGroupDesc.java
17529         java/rmi/activation/ActivationGroupID.java
17530         java/rmi/activation/ActivationID.java
17531         java/rmi/activation/ActivationInstantiator.java
17532         java/rmi/activation/ActivationMonitor.java
17533         java/rmi/activation/ActivationSystem.java
17534         java/rmi/activation/Activator.java
17535         java/rmi/activation/UnknownGroupException.java
17536         java/rmi/activation/UnknownObjectException.java
17537         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
17538         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
17539         java/rmi/registry/Registry.java
17540         java/rmi/registry/RegistryHandler.java
17541         java/rmi/server/ExportException.java
17542         java/rmi/server/LoaderHandler.java
17543         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
17544         java/rmi/server/Operation.java
17545         java/rmi/server/RMIClassLoader.java
17546         java/rmi/server/RMIClientSocketFactory.java
17547         java/rmi/server/RMIFailureHandler.java
17548         java/rmi/server/RMIServerSocketFactory.java
17549         java/rmi/server/RMISocketFactory.java
17550         java/rmi/server/RemoteCall.java
17551         java/rmi/server/RemoteObject.java
17552         java/rmi/server/RemoteRef.java
17553         java/rmi/server/RemoteServer.java
17554         java/rmi/server/RemoteStub.java
17555         java/rmi/server/ServerCloneException.java
17556         java/rmi/server/ServerNotActiveException.java
17557         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
17558         java/rmi/server/SkeletonMismatchException.java
17559         java/rmi/server/SkeletonNotFoundException.java
17560         java/rmi/server/SocketSecurityException.java
17561         java/rmi/server/UID.java
17562         java/rmi/server/UnicastRemoteObject.java
17563         java/rmi/server/Unreferenced.java
17564         java/security/AccessControlContext.java
17565         java/security/AccessControlException.java
17566         java/security/AccessController.java
17567         java/security/AlgorithmParameterGenerator.java
17568         java/security/AlgorithmParameterGeneratorSpi.java
17569         java/security/AlgorithmParameters.java
17570         java/security/AlgorithmParametersSpi.java
17571         java/security/AllPermission.java
17572         java/security/BasicPermission.java
17573         java/security/Certificate.java java/security/CodeSource.java
17574         java/security/DigestException.java
17575         java/security/DigestInputStream.java
17576         java/security/DigestOutputStream.java
17577         java/security/DomainCombiner.java
17578         java/security/DummyKeyPairGenerator.java
17579         java/security/DummyMessageDigest.java
17580         java/security/DummySignature.java
17581         java/security/GeneralSecurityException.java
17582         java/security/Guard.java java/security/GuardedObject.java
17583         java/security/Identity.java java/security/IdentityScope.java
17584         java/security/InvalidAlgorithmParameterException.java
17585         java/security/InvalidKeyException.java
17586         java/security/InvalidParameterException.java
17587         java/security/Key.java java/security/KeyException.java
17588         java/security/KeyFactory.java java/security/KeyFactorySpi.java
17589         java/security/KeyManagementException.java
17590         java/security/KeyPair.java java/security/KeyPairGenerator.java
17591         java/security/KeyPairGeneratorSpi.java
17592         java/security/KeyStore.java
17593         java/security/KeyStoreException.java
17594         java/security/KeyStoreSpi.java
17595         java/security/MessageDigest.java
17596         java/security/MessageDigestSpi.java
17597         java/security/NoSuchAlgorithmException.java
17598         java/security/NoSuchProviderException.java
17599         java/security/Permission.java
17600         java/security/PermissionCollection.java
17601         java/security/Permissions.java java/security/Policy.java
17602         java/security/Principal.java java/security/PrivateKey.java
17603         java/security/PrivilegedAction.java
17604         java/security/PrivilegedActionException.java
17605         java/security/PrivilegedExceptionAction.java
17606         java/security/ProtectionDomain.java
17607         java/security/Provider.java
17608         java/security/ProviderException.java
17609         java/security/PublicKey.java
17610         java/security/SecureClassLoader.java
17611         java/security/SecureRandom.java
17612         java/security/SecureRandomSpi.java java/security/Security.java
17613         java/security/SecurityPermission.java
17614         java/security/Signature.java
17615         java/security/SignatureException.java
17616         java/security/SignatureSpi.java
17617         java/security/SignedObject.java java/security/Signer.java
17618         java/security/UnrecoverableKeyException.java
17619         java/security/UnresolvedPermission.java
17620         java/security/acl/Acl.java java/security/acl/AclEntry.java
17621         java/security/acl/AclNotFoundException.java
17622         java/security/acl/Group.java
17623         java/security/acl/LastOwnerException.java
17624         java/security/acl/NotOwnerException.java
17625         java/security/acl/Owner.java java/security/acl/Permission.java
17626         java/security/cert/CRL.java
17627         java/security/cert/CRLException.java
17628         java/security/cert/Certificate.java
17629         java/security/cert/CertificateEncodingException.java
17630         java/security/cert/CertificateException.java
17631         java/security/cert/CertificateExpiredException.java
17632         java/security/cert/CertificateFactory.java
17633         java/security/cert/CertificateFactorySpi.java
17634         java/security/cert/CertificateNotYetValidException.java
17635         java/security/cert/CertificateParsingException.java
17636         java/security/cert/X509CRL.java
17637         java/security/cert/X509CRLEntry.java
17638         java/security/cert/X509Certificate.java
17639         java/security/cert/X509Extension.java
17640         java/security/interfaces/DSAKey.java
17641         java/security/interfaces/DSAKeyPairGenerator.java
17642         java/security/interfaces/DSAParams.java
17643         java/security/interfaces/DSAPrivateKey.java
17644         java/security/interfaces/DSAPublicKey.java
17645         java/security/interfaces/RSAKey.java
17646         java/security/interfaces/RSAPrivateCrtKey.java
17647         java/security/interfaces/RSAPrivateKey.java
17648         java/security/interfaces/RSAPublicKey.java
17649         java/security/spec/AlgorithmParameterSpec.java
17650         java/security/spec/DSAParameterSpec.java
17651         java/security/spec/DSAPrivateKeySpec.java
17652         java/security/spec/DSAPublicKeySpec.java
17653         java/security/spec/EncodedKeySpec.java
17654         java/security/spec/InvalidKeySpecException.java
17655         java/security/spec/InvalidParameterSpecException.java
17656         java/security/spec/KeySpec.java
17657         java/security/spec/PKCS8EncodedKeySpec.java
17658         java/security/spec/RSAKeyGenParameterSpec.java
17659         java/security/spec/RSAPrivateCrtKeySpec.java
17660         java/security/spec/RSAPrivateKeySpec.java
17661         java/security/spec/RSAPublicKeySpec.java
17662         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
17663         java/sql/BatchUpdateException.java java/sql/Blob.java
17664         java/sql/CallableStatement.java java/sql/Clob.java
17665         java/sql/Connection.java java/sql/DataTruncation.java
17666         java/sql/DatabaseMetaData.java java/sql/Date.java
17667         java/sql/Driver.java java/sql/DriverManager.java
17668         java/sql/DriverPropertyInfo.java
17669         java/sql/PreparedStatement.java java/sql/Ref.java
17670         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
17671         java/sql/SQLData.java java/sql/SQLException.java
17672         java/sql/SQLInput.java java/sql/SQLOutput.java
17673         java/sql/SQLWarning.java java/sql/Statement.java
17674         java/sql/Struct.java java/sql/Time.java
17675         java/sql/Timestamp.java java/sql/Types.java
17676         java/text/Annotation.java
17677         java/text/AttributedCharacterIterator.java
17678         java/text/AttributedString.java
17679         java/text/AttributedStringIterator.java
17680         java/text/BreakIterator.java java/text/CharacterIterator.java
17681         java/text/ChoiceFormat.java java/text/Collator.java
17682         java/text/DateFormat.java java/text/DateFormatSymbols.java
17683         java/text/DecimalFormat.java
17684         java/text/DecimalFormatSymbols.java
17685         java/text/FieldPosition.java java/text/Format.java
17686         java/text/MessageFormat.java java/text/NumberFormat.java
17687         java/text/ParseException.java java/text/ParsePosition.java
17688         java/text/SimpleDateFormat.java
17689         java/text/StringCharacterIterator.java
17690         java/util/AbstractCollection.java java/util/AbstractList.java
17691         java/util/AbstractMap.java
17692         java/util/AbstractSequentialList.java
17693         java/util/AbstractSet.java java/util/ArrayList.java
17694         java/util/Arrays.java java/util/BasicMapEntry.java
17695         java/util/BitSet.java java/util/Calendar.java
17696         java/util/Collection.java java/util/Collections.java
17697         java/util/Comparator.java
17698         java/util/ConcurrentModificationException.java
17699         java/util/Date.java java/util/Dictionary.java
17700         java/util/EmptyStackException.java java/util/Enumeration.java
17701         java/util/EventListener.java java/util/EventObject.java
17702         java/util/GregorianCalendar.java java/util/HashMap.java
17703         java/util/HashSet.java java/util/Hashtable.java
17704         java/util/IdentityHashMap.java java/util/Iterator.java
17705         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
17706         java/util/LinkedList.java java/util/List.java
17707         java/util/ListIterator.java java/util/ListResourceBundle.java
17708         java/util/Locale.java java/util/Map.java
17709         java/util/MissingResourceException.java
17710         java/util/NoSuchElementException.java
17711         java/util/Observable.java java/util/Observer.java
17712         java/util/Properties.java java/util/PropertyPermission.java
17713         java/util/PropertyResourceBundle.java java/util/Random.java
17714         java/util/RandomAccess.java java/util/ResourceBundle.java
17715         java/util/Set.java java/util/SimpleTimeZone.java
17716         java/util/SortedMap.java java/util/SortedSet.java
17717         java/util/Stack.java java/util/StringTokenizer.java
17718         java/util/TimeZone.java java/util/Timer.java
17719         java/util/TimerTask.java
17720         java/util/TooManyListenersException.java
17721         java/util/TreeMap.java java/util/TreeSet.java
17722         java/util/Vector.java java/util/WeakHashMap.java
17723         java/util/jar/Attributes.java java/util/jar/JarEntry.java
17724         java/util/jar/JarException.java java/util/jar/JarFile.java
17725         java/util/jar/JarInputStream.java
17726         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
17727         java/util/zip/Adler32.java java/util/zip/CRC32.java
17728         java/util/zip/CheckedInputStream.java
17729         java/util/zip/CheckedOutputStream.java
17730         java/util/zip/Checksum.java
17731         java/util/zip/DataFormatException.java
17732         java/util/zip/Deflater.java
17733         java/util/zip/DeflaterOutputStream.java
17734         java/util/zip/GZIPInputStream.java
17735         java/util/zip/GZIPOutputStream.java
17736         java/util/zip/Inflater.java
17737         java/util/zip/InflaterInputStream.java
17738         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
17739         java/util/zip/ZipException.java java/util/zip/ZipFile.java
17740         java/util/zip/ZipInputStream.java
17741         java/util/zip/ZipOutputStream.java
17742         javax/naming/BinaryRefAddr.java
17743         javax/naming/InvalidNameException.java javax/naming/Name.java
17744         javax/naming/NamingException.java javax/naming/RefAddr.java
17745         javax/naming/StringRefAddr.java: Add license clarification.
17746
17747 2002-01-22  Tom Tromey  <tromey@redhat.com>
17748
17749         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
17750         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
17751         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
17752         version.
17753         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
17754         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
17755         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
17756         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
17757         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
17758         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
17759         * java/awt/peer/FontPeer.java: Replace with Classpath version.
17760         * java/awt/peer/FramePeer.java: Replace with Classpath version.
17761         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
17762         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
17763         * java/awt/peer/ListPeer.java: Replace with Classpath version.
17764         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
17765         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
17766         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
17767         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
17768         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
17769         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
17770         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
17771         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
17772         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
17773         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
17774         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
17775         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
17776         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
17777         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
17778         (minimumSize, preferredSize, reshape): Likewise.
17779         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
17780         getColorModel): New methods.
17781         * java/awt/PopupMenu.java: Merged with Classpath.
17782         * java/awt/MenuBar.java: Merged with Classpath.
17783         * java/awt/SystemColor.java: Replace with Classpath version.
17784         * java/awt/Panel.java: Merged with Classpath.
17785         * java/awt/PaintContext.java: Updated copyright.
17786         * java/awt/MenuShortcut.java: Merged with Classpath.
17787         * java/awt/MenuContainer.java: Merged with Classpath.
17788         * java/awt/Menu.java: Merged with Classpath.
17789         * java/awt/MediaEntry.java: New file from Classpath.
17790         * java/awt/MediaTracker.java: New file from Classpath.
17791         * java/awt/List.java: Merged with Classpath version.
17792         * java/awt/Insets.java: Merged with Classpath version.
17793         * java/awt/ImageMediaEntry.java: New file from Classpath.
17794         * java/awt/Image.java: Replaced with Classpath version.
17795         * java/awt/FontMetrics.java: Merged with Classpath version.
17796         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
17797         constant.
17798         * java/awt/Font.java: Merged with Classpath version.
17799         * java/awt/Dialog.java: Merged with Classpath version.
17800         * java/awt/Color.java: Merged with Classpath version.
17801         * java/awt/Choice.java: Merged with Classpath version.
17802         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
17803         * java/awt/Adjustable.java: Replace with Classpath version.
17804         * java/awt/MenuItem.java (paramString): Don't include class name
17805         or brackets.  Call superclass paramString.
17806         * java/awt/MenuComponent.java (toString): Call paramString.
17807         (paramString): Compute string; don't call toString.
17808         * java/awt/Label.java (paramString): Don't include class name
17809         or brackets.  Call superclass paramString.
17810         * java/awt/Checkbox.java (paramString): Don't include class name
17811         or brackets.  Call superclass paramString.
17812         * java/awt/Button.java (paramString): Don't include class name or
17813         brackets.  Call superclass paramString.
17814         * java/awt/MenuComponent.java (getTreeLock): Now protected.
17815
17816 2002-01-20  Andreas Schwab  <schwab@suse.de>
17817
17818         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
17819         function and of parameter recv_func to ssize_t, as specified by
17820         POSIX.
17821
17822 2002-01-19  Per Bothner  <per@bothner.com>
17823
17824         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
17825         uncompressed_size in readiness for next entry.
17826
17827 2002-01-18  Tom Tromey  <tromey@redhat.com>
17828
17829         * java/net/natPlainSocketImpl.cc: Include
17830         IllegalArgumentException.h.
17831         (_Jv_recv): New template function.
17832         (BooleanClass): Removed.
17833         (read): Use _Jv_recv.
17834         (setOption): Use Boolean::class$.  Throw exception if object is
17835         not Boolean or Integer.
17836
17837 2002-01-17  Tom Tromey  <tromey@redhat.com>
17838
17839         * java/awt/MenuComponent.java: Merged with Classpath.
17840         * java/awt/MenuItem.java: Merged with Classpath.
17841         * java/awt/Button.java: Merged with Classpath.
17842
17843         * java/awt/ActiveEvent.java: Updated copyright.
17844
17845         * java/awt/AWTError.java: Replaced with Classpath version.
17846         * java/awt/AWTException.java: Replaced with Classpath version.
17847         * java/awt/IllegalComponentStateException.java: Replaced with
17848         Classpath version.
17849
17850 2002-01-16  Tom Tromey  <tromey@redhat.com>
17851
17852         * java/awt/Canvas.java (serialVersionUID): New constant.
17853         Updated copyright.  Added javadoc from Classpath.
17854         * java/awt/ItemSelectable.java: Replaced with Classpath version.
17855
17856         * java/awt/CheckboxGroup.java: Merged with Classpath.
17857         * java/awt/Checkbox.java: Merged with Classpath.
17858
17859         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
17860         Classpath.
17861         * java/awt/Point.java: Updated copyright.
17862
17863         * java/awt/Point.java (toString): Use getClass().getName().
17864         Added javadoc.
17865
17866         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
17867         commented code.
17868         (hash): Correctly compute initial value for `h'.
17869
17870         * java/awt/Label.java: Merged with Classpath.
17871
17872 2002-01-15  Tom Tromey  <tromey@redhat.com>
17873
17874         * java/awt/AWTPermission.java: Updated copyright.
17875
17876         * java/awt/LayoutManager2.java: Merged with Classpath.
17877         * java/awt/LayoutManager.java: Merged with Classpath.
17878         * java/awt/GridLayout.java: Updated copyright and javadoc.
17879         (getSize): Use `parent.ncomponents'.  Handle insets.
17880         (layoutContainer): Use `parent.ncomponents'.  Handle case where
17881         there are fewer children than columns.  Correctly compute size of
17882         each cell in the grid.  Handle case where there isn't enough
17883         space.
17884         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
17885         all users.
17886         (gotoComponent): Use parent.ncomponents.  Ensure child exists
17887         before calling setVisible() on it.  Last item is `num - 1', not
17888         `num'.
17889         (layoutContainer): Hoist invariants out of loop.
17890
17891         Start of AWT merge with Classpath:
17892         * Makefile.in: Rebuilt.
17893         * Makefile.am (awt_java_source_files): Reference files in
17894         gnu/java/awt, not gnu/gcj/awt.
17895         * java/awt/image/BufferedImage.java: Updated copyright.
17896         * java/awt/image/ComponentColorModel.java: Updated copyright.
17897         * java/awt/image/ComponentSampleModel.java: Updated copyright.
17898         * java/awt/image/DataBuffer.java: Updated copyright.
17899         * java/awt/image/DataBufferByte.java: Updated copyright.
17900         * java/awt/image/DataBufferInt.java: Updated copyright.
17901         * java/awt/image/DataBufferUShort.java: Updated copyright.
17902         * java/awt/image/IndexColorModel.java: Updated copyright.
17903         * java/awt/image/PackedColorModel.java: Updated copyright.
17904         * java/awt/image/Raster.java: Updated copyright.
17905         * java/awt/image/RasterOp.java: Updated copyright.
17906         * java/awt/image/SampleModel.java: Updated copyright.
17907         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
17908         * java/awt/image/WritableRaster.java: Updated copyright.
17909         * java/awt/color/ColorSpace.java: Updated copyright.
17910         * java/awt/color/ICC_ColorSpace.java: Updated copyright
17911         * java/awt/color/ICC_Profile.java: Updated copyright.
17912         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
17913         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
17914         * java/awt/event/HierarchyEvent.java: Updated copyright.
17915         * java/awt/event/HierarchyListener.java: Updated copyright.
17916         * java/awt/geom/AffineTransform.java: Updated copyright.
17917         * java/awt/geom/Dimension2D.java: Updated copyright.
17918         * java/awt/geom/Ellipse2D.java: Updated copyright.
17919         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
17920         * java/awt/geom/Line2D.java: Updated copyright.
17921         * java/awt/geom/NoninvertibleTransformException.java: Updated
17922         copyright.
17923         * java/awt/geom/PathIterator.java: Updated copyright.
17924         * java/awt/geom/Point2D.java: Updated copyright.
17925         * java/awt/geom/Rectangle2D.java: Updated copyright.
17926         * java/awt/geom/RectangularShape.java: Updated copyright.
17927         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
17928         * java/awt/Toolkit.java: Updated import for file moves.
17929         * java/awt/Rectangle.java: Updated copyright; added javadoc from
17930         Classpath.
17931         (hashCode): New method from Classpath.
17932         * java/awt/Graphics2D.java: Updated copyright.
17933         * java/awt/Transparency.java: Updated copyright.
17934         * java/awt/Paint.java: Updated copyright.
17935         * java/awt/Graphics.java: New version from Classpath.
17936         * java/awt/EventDispatchThread.java: Updated copyright.
17937         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
17938         children.
17939         (gotoComponent): Wrap around on next/previous.
17940         * gnu/gcj/awt/BitMaskExtent.java: Removed.
17941         * gnu/gcj/awt/Buffers.java: Removed.
17942         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
17943         * gnu/gcj/awt/GLightweightPeer.java: Removed.
17944         * gnu/java/awt/BitMaskExtent.java: Added.
17945         * gnu/java/awt/Buffers.java: Added.
17946         * gnu/java/awt/ComponentDataBlitOp.java: Added.
17947         * gnu/java/awt/GLightweightPeer.java: Added.
17948         * java/awt/geom/Line2D.java (clone): Ignore
17949         CloneNotSupportedException.
17950         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
17951         * java/awt/Frame.java: Merged with Classpath.
17952         * java/awt/RenderingHints.java: Copyright update.
17953         * java/awt/Paint.java: Copyright update.
17954         * java/awt/image/DirectColorModel.java: Merged with Classpath.
17955         * java/awt/image/ColorModel.java: Merged with Classpath.
17956         * java/awt/Window.java (show): New Implementation from Classpath.
17957         (isShowing): Use super.isShowing().
17958         * java/awt/EventQueue.java: Merged with Classpath.
17959         * java/awt/AWTEventMulticaster.java (save): Throw
17960         RuntimeException.
17961         (saveInternal): Likewise.
17962         * java/awt/AWTEvent.java: Now implements Serializable.
17963         * java/awt/Event.java: Copyright update.
17964         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
17965         * java/awt/image/BufferedImage.java: Copyright update.
17966         * java/awt/GraphicsConfiguration.java: Copyright update.
17967         * java/awt/Component.java: (addNotify): Don't call
17968         addNotifyContainerChildren().
17969         (addNotifyContainerChildren): Removed.
17970         (setPeer): New method from Classpath.
17971         (setTreeLock): Likewise.
17972         (setVisible): Rewrote.
17973         (show): Use it.
17974         (hide): Likewise.
17975         (validate): Set `valid'.
17976         (checkImage(Image,ImageObserver)): Implementation from Classpath.
17977         (createImage(ImageProducer)): Likewise.
17978         (prepareImage): Likewise.
17979         * java/awt/Container.java (addImpl): Handle case where constraint
17980         is not a String.  Post event via system event queue.
17981         (remove): Post event via system event queue.
17982         (validateTree): Only validate child if it is invalid.
17983         (getAlignmentX): Call super method as default.
17984         (getAlignmentY): Likewise.
17985         (addContainerListener): Now synchronized.
17986         (removeContainerListener): Likewise.
17987         (addNotifyContainerChildren): Now private.
17988         * java/awt/ComponentOrientation.java: Updated copyright.  Added
17989         @author.
17990         * java/awt/FlowLayout.java (serialVersionUID): New field.
17991         (setAlignment): Better exception message.
17992         (layoutContainer): Don't compute component's preferred size unless
17993         we're going to use it.
17994         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
17995         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
17996         (firstLine, lastLine, firstItem, lastItem): New fields.
17997         (addLayoutComponent): Handle case where constraints is null.
17998         Also, handle relative locations.
17999         (removeLayoutComponent): Handle relative locations.
18000         (MIN, MAX, PREF): New constants.
18001         (calcCompSize): New method.
18002         (calcSize): New method.
18003         (minimumLayoutSize): Use it.
18004         (preferredLayoutSize): Likewise.
18005         (maximumLayoutSize): Likewise.
18006         (toString): Include more information.
18007         (setBounds): New method.
18008         (layoutContainer): Use libgcj implementation; extended to handle
18009         relative locations.
18010
18011 2002-01-15  Tom Tromey  <tromey@redhat.com>
18012
18013         * java/lang/Float.java (equals): Preserve old code.
18014         * java/lang/Double.java (equals): Preserve old code.
18015
18016 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
18017
18018         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
18019         * java/lang/Float.java (equals, compare): Ditto.
18020
18021 2002-01-13  Mark Wielaard  <mark@klomp.org>
18022
18023         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
18024         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
18025         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
18026         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
18027
18028 2002-01-11  Mark Wielaard  <mark@klomp.org>
18029
18030         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
18031         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
18032         InetAddress.
18033         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
18034         * java/net/Socket.java: Merge with Classpath.
18035         * java/net/ServerSocket.java: Likewise.
18036
18037 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
18038
18039         * interpret.cc (NULLARRAYCHECK): New macro.
18040         (SAVE_PC): Just store `pc'.
18041         (find_exception): Subtract one from `pc' here.
18042         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
18043         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
18044         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
18045         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
18046         don't call SAVE_PC.
18047         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
18048         call SAVE_PC.
18049
18050 2002-01-11  Tom Tromey  <tromey@redhat.com>
18051
18052         * java/lang/natSystem.cc (init_properties): Only look for default
18053         locale if LC_MESSAGES is defined.
18054         * aclocal.m4, configure, include/config.h.in: Rebuilt.
18055         * configure.in: Call AM_LC_MESSAGES.
18056         * acinclude.m4 (AM_LC_MESSAGES): New macro.
18057
18058 2002-01-10  Tom Tromey  <tromey@redhat.com>
18059
18060         For PR libgcj/5303:
18061         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
18062         --version.  Recognize GNU-style long options.  Print GNU-style
18063         error messages.
18064         (usage): Print GNU-style help.  Exit with status 0.
18065         (error): New method.
18066         (run): Print error message if no class names found.
18067         (main): Don't print usage on error.
18068
18069 2002-01-09  Tom Tromey  <tromey@redhat.com>
18070
18071         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
18072         property.
18073         (help, version): Use println(), not println("").
18074
18075         For PR libgcj/5303:
18076         * gnu/gcj/convert/Convert.java (error): Program is called
18077         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
18078         -1.
18079         (main): Handle --help and --version.
18080         (help): New method.
18081         (version): Likewise.
18082
18083 2002-01-08  Tom Tromey  <tromey@redhat.com>
18084
18085         * Makefile.in: Rebuilt.
18086         * Makefile.am (ordinary_java_source_files): Added new files.
18087         * gnu/java/locale/LocaleInformation.java: Extend
18088         LocaleInformation_en.
18089         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
18090         and time/date formats.
18091         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
18092         generated.
18093         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
18094         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
18095         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
18096         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
18097         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
18098         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
18099         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
18100         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
18101         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
18102         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
18103         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
18104         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
18105         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
18106         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
18107         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
18108         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
18109         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
18110         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
18111         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
18112         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
18113         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
18114         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
18115         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
18116         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
18117         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
18118         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
18119         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
18120         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
18121         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
18122         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
18123         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
18124         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
18125         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
18126         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
18127         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
18128         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
18129         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
18130         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
18131         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
18132         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
18133         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
18134         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
18135         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
18136         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
18137         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
18138         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
18139         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
18140         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
18141         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
18142         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
18143         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
18144         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
18145         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
18146         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
18147         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
18148         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
18149         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
18150         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
18151         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
18152         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
18153         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
18154         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
18155         * gnu/java/locale/LocaleInformation_es_US.java: New file.
18156         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
18157         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
18158         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
18159         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
18160         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
18161         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
18162         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
18163         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
18164         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
18165         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
18166         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
18167         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
18168         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
18169         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
18170         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
18171         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
18172         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
18173         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
18174         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
18175         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
18176         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
18177         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
18178         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
18179         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
18180         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
18181         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
18182         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
18183         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
18184         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
18185         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
18186         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
18187         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
18188         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
18189         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
18190         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
18191         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
18192         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
18193         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
18194         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
18195         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
18196         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
18197         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
18198         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
18199         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
18200         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
18201         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
18202         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
18203         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
18204         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
18205         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
18206         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
18207         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
18208         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
18209         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
18210         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
18211         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
18212         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
18213         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
18214         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
18215         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
18216         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
18217         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
18218         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
18219         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
18220         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
18221         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
18222         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
18223
18224         For PR libgcj/5031:
18225         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
18226         choose default locale.
18227
18228         * Makefile.in: Rebuilt.
18229         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
18230
18231 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
18232
18233         * java/net/natPlainSocketImpl.cc: Added timeout handling for
18234         sockets.
18235         (close): New function closes the socket.
18236         (write): New functions for output to socket.
18237         (read): New functions for reading from socket.
18238         * java/net/PlainSocketImpl.java: Glue for new timeout
18239         implementation.
18240         (write): Call the native impl.
18241         (read): Likewise.
18242         (getInputStream): Get a stream to read from the socket.
18243         (getOutputStream): Get a stream to write to the socket.
18244
18245 2002-01-08  Tom Tromey  <tromey@redhat.com>
18246
18247         * resolve.cc (_Jv_PrepareClass): Enable verifier.
18248
18249 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
18250
18251         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
18252         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
18253
18254 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
18255
18256         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
18257         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
18258         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
18259         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
18260         insn_bastore, insn_castore, insn_sastore]: Use it.
18261         (continue1) [insn_arraylength]: Check for null array.
18262
18263 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
18264
18265         * configure, include/config.h.in: Rebuilt.
18266         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
18267         * configure.in: Call AC_STRUCT_TIMEZONE.
18268
18269 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
18270
18271         * configure.host: Disable the interpreter for Darwin.
18272
18273 2002-01-04  Tom Tromey  <tromey@redhat.com>
18274
18275         * java/lang/Thread.java (stop): No longer synchronized.
18276         (start): Likewise.
18277
18278 2002-01-02  Tom Tromey  <tromey@redhat.com>
18279
18280         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
18281         patch.
18282
18283 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
18284
18285         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
18286         PPC Darwin, not for all of Darwin.