OSDN Git Service

2004-01-16 Kim Ho <kho@redhat.com>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-01-16  Kim Ho  <kho@redhat.com>
2  
3         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
4         it is a FileDialog and has dimensions of 0 by 0, then the initial
5         size is set to size request plus insets.
6         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
7         (gtkWidgetGetDimensions): Override method.
8         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9         (gtkWidgetGetDimensions): Override method. Returns size request plus
10         insets.
11
12 2004-01-16  Andrew Haley  <aph@redhat.com>
13
14         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
15         * sysdep/i386/locks.h: Likewise.
16
17 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
18
19         * java/awt/EventDispatchThread.java (run): Stop running when
20         interrupted.
21         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
22         Reset the queue after transferring its contents.
23         (push): Start a new dispatch thread if none is running.
24
25 2004-01-16  Olga Rodimina <rodimina@redhat.com>
26
27         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
28         (doPolygon): set fill rule of polygon to 
29         WIND_EVEN_ODD by default.
30
31 2004-01-15  Olga Rodimina <rodimina@redhat.com>
32
33         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
34         Implemented rendering hints related methods.
35         (getDefaultHints): New helper method. Returns
36         default rendering hints.
37         (walkPath): changed to normalize path if
38         the KEY_STROKE_CONTROL key is in "normalize" mode.
39         (draw3DRect): changed coordinates of rectangle by +0.5
40         if in "normalize" mode.
41
42 2004-01-15  Tom Tromey  <tromey@redhat.com>
43
44         * Makefile.in: Rebuilt.
45         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
46         (%.lo: %.java) Filter out StackTrace.lo.
47
48 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
49
50         * configure.in: Add in AC_PREREQ(2.13)
51         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
52         FIXME comment.
53
54 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
55             Tom Tromey  <tromey@redhat.com>
56
57         PR libgcj/12001:
58         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
59         array to superclass.
60         (init): Changed interface; add URLs here.
61         (initialize): New static method.
62         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
63         (_Jv_RunMain): ... not here.
64
65 2004-01-14  Michael Koch  <konqueror@gmx.de>
66
67         * java/text/MessageFormat.java:
68         Added descriptions to exceptions.
69         This fixes PR libgcj/2429.
70
71 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
72
73         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
74         (push): Make sure push is performed at the top of the thread stack.
75
76 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
77
78         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
79         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
80         (native create): Add width and height parameters.  Set text
81         view's size request according to new parameters.
82         (create): Calculate text view size based on current font's
83         metrics and number of rows and columns.  Set TextArea's font if
84         not already set.  Call native create.
85         (getMinimumSize): Call minimumSize.
86         (getPreferredSize): Call preferredSize.
87         (getHScrollbarHeight): New method.
88         (getVScrollbarWidth): New method.
89         (minimumSize): Calculate minimum size based on scrollbar
90         visibility, scrollbar sizes, font metrics and number of rows and
91         columns.
92         (preferredSize): Likewise for preferred size.
93         (gtkTextGetSize): Remove method.
94
95 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
96
97         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
98         (initializeInsets): Remove method.
99         (GtkComponentPeer): Initialize insets field.  Remove call to
100         initializeInsets.
101         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
102         Remove method.
103         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
104         Remove method.
105         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
106         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
107         (latestInsets): Remove field.
108         (native create): Add insets parameter.  Call
109         window_get_frame_extents.  Set the window's default size and
110         size request based on its frame extents.
111         (create): Initialize insets.
112         (postInsetsChangedEvent): New method.
113         (postConfigureEvent): Remove parameters top, left, bottom,
114         right.  Remove insets-related logic.
115         (connectJObject): Handle property-notify-event.
116         (window_get_frame_extents, request_frame_extents,
117         property_notify_predicate, window_property_changed_cb): New
118         static functions.
119         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
120         (pre_event_handler): Remove insets-related logic for configure
121         events.
122         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
123         Update postConfigureEvent signature.
124
125 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
126  
127         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
128         to handle Window "Closing" events.
129  
130 2004-01-13  David Jee  <djee@redhat.com>
131
132         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
133         (setBackground): New method. Children with no explicitly-set
134         background will be repainted with the parent container's new
135         background color.
136
137 2004-01-13  David Jee  <djee@redhat.com>
138
139         * Makefile.am: Add BitwiseXORComposite.java.
140         * Makefile.in: Regenerated.
141         * gcj/Makefile.in: Regenerated.
142         * include/Makefile.in: Regenerated.
143         * testsuite/Makefile.in: Regenerated.
144
145 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
146
147         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
148         not show modal dialogs twice and so that it allows showing a modal
149         dialog from another modal dialog.
150
151 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
152
153         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
154         and run secondary dispatch thread to process event queue while this
155         thread is blocked.
156
157 2004-01-12  Graydon Hoare  <graydon@redhat.com>
158
159         * gnu/java/awt/gtk/GdkGraphics2D.java
160         (static): Check GtkToolkit before initializing static state.
161         (Graphics2D): Don't construct transform with 0.5 unit offset.
162
163 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
164
165         * gnu/java/awt/BitwiseXORComposite.java: Add.
166         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
167         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
168         (BitwiseXORComposite): Remove inner class.
169
170 2004-01-11  Michael Koch  <konqueror@gmx.de>
171
172         * gnu/java/lang/reflect/TypeSignature.java
173         (getEncodingOfClass): Documentation fixed.
174         (getClassForEncoding): Give class loader to Class.forName().
175         Documentation fixed.
176
177 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
178
179         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
180
181 2004-01-11  Michael Koch  <konqueror@gmx.de>
182
183         * javax/swing/undo/StateEditable.java
184         (RCSID): Removed redundant modifiers.
185
186 2004-01-10  Michael Koch  <konqueror@gmx.de>
187
188         * javax/print/attribute/EnumSyntax.java
189         (getStringTable): Made protected.
190         (getEnumValueTable): Likewise.
191         * javax/print/attribute/standard/JobKOctetsProcessed.java
192         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
193         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
194         (JobMediaSheetsCompleted): Made class final.
195         * javax/print/attribute/standard/OutputDeviceAssigned.java
196         (getName): Fixed typo.
197         * javax/print/attribute/standard/RequestingUserName.java
198         (serialVersionUID): Fixed value.
199
200 2004-01-10  Michael Koch  <konqueror@gmx.de>
201
202         * javax/swing/plaf/basic/BasicButtonUI.java,
203         javax/swing/plaf/basic/BasicCheckBoxUI.java,
204         javax/swing/plaf/basic/BasicListUI.java,
205         javax/swing/plaf/basic/BasicOptionPaneUI.java,
206         javax/swing/plaf/basic/BasicPanelUI.java,
207         javax/swing/plaf/basic/BasicRadioButtonUI.java,
208         javax/swing/plaf/basic/BasicScrollPaneUI.java,
209         javax/swing/plaf/basic/BasicToggleButtonUI.java,
210         javax/swing/plaf/basic/BasicViewportUI.java:
211         Fixed import statements.
212
213 2004-01-10  Michael Koch  <konqueror@gmx.de>
214
215         * gnu/java/awt/image/ImageDecoder.java
216         (produce): Made public.
217         * gnu/java/awt/peer/GLightweightPeer.java,
218         gnu/java/awt/peer/gtk/GtkToolkit.java:
219         Reformated.
220
221 2004-01-10  Michael Koch  <konqueror@gmx.de>
222
223         * javax/swing/JRadioButtonMenuItem.java,
224         javax/swing/JSeparator.java,
225         javax/swing/JSplitPane.java,
226         javax/swing/JTextPane.java,
227         javax/swing/JToolBar.java,
228         javax/swing/ListCellRenderer.java,
229         javax/swing/ListModel.java,
230         javax/swing/MenuElement.java,
231         javax/swing/OverlayLayout.java,
232         javax/swing/ProgressMonitor.java,
233         javax/swing/ProgressMonitorInputStream.java,
234         javax/swing/Renderer.java,
235         javax/swing/RootPaneContainer.java,
236         javax/swing/Scrollable.java,
237         javax/swing/SingleSelectionModel.java,
238         javax/swing/ToolTipManager.java,
239         javax/swing/ViewportLayout.java,
240         javax/swing/event/DocumentEvent.java,
241         javax/swing/event/SwingPropertyChangeSupport.java,
242         javax/swing/event/TreeSelectionEvent.java,
243         javax/swing/event/UndoableEditEvent.java,
244         javax/swing/text/AbstractDocument.java,
245         javax/swing/text/AttributeSet.java,
246         javax/swing/text/Caret.java,
247         javax/swing/text/ComponentView.java,
248         javax/swing/text/DefaultCaret.java,
249         javax/swing/text/DefaultEditorKit.java,
250         javax/swing/text/Document.java,
251         javax/swing/text/EditorKit.java,
252         javax/swing/text/GapContent.java,
253         javax/swing/text/Keymap.java,
254         javax/swing/text/MutableAttributeSet.java,
255         javax/swing/text/PlainEditorKit.java,
256         javax/swing/text/Segment.java,
257         javax/swing/text/Style.java,
258         javax/swing/text/StyledDocument.java,
259         javax/swing/text/StyledEditorKit.java,
260         javax/swing/text/TextAction.java,
261         javax/swing/text/View.java: Fixed import statements.
262
263 2004-01-08  Graydon Hoare  <graydon@redhat.com>
264
265         * javax/swing/JLayeredPane.java: Rewrite to accomodate
266         djee@redhat.com's recent inverse ordering of Container elements.
267
268 2004-01-09  Michael Koch  <konqueror@gmx.de>
269
270         * gnu/java/lang/ArrayHelper.java
271         (equalsArray): Removed.
272
273 2004-01-09  Andrew Haley  <aph@redhat.com>
274
275         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
276         a Utf8Const field before looking at its class.
277
278 2004-01-09  Michael Koch  <konqueror@gmx.de>
279
280         * javax/print/attribute/standard/DocumentName.java,
281         javax/print/attribute/standard/JobHoldUntil.java,
282         javax/print/attribute/standard/JobMessageFromOperator.java,
283         javax/print/attribute/standard/JobName.java,
284         javax/print/attribute/standard/JobOriginatingUserName.java,
285         javax/print/attribute/standard/OutputDeviceAssigned.java,
286         javax/print/attribute/standard/PrinterInfo.java,
287         javax/print/attribute/standard/PrinterLocation.java,
288         javax/print/attribute/standard/PrinterMakeAndModel.java,
289         javax/print/attribute/standard/PrinterMessageFromOperator.java,
290         javax/print/attribute/standard/PrinterName.java,
291         javax/print/attribute/standard/RequestingUserName.java: New files.
292         * Makefile.am (javax_source_files): Added new files.
293         * Makefile.in: Regenerated.
294
295 2004-01-09  Michael Koch  <konqueror@gmx.de>
296
297         * javax/swing/AbstractAction.java,
298         javax/swing/AbstractSet.java,
299         javax/swing/Action.java,
300         javax/swing/ActionMap.java,
301         javax/swing/BoundedRangeModel.java,
302         javax/swing/ButtonModel.java,
303         javax/swing/CellEditor.java,
304         javax/swing/CellRendererPane.java,
305         javax/swing/ComboBoxEditor.java,
306         javax/swing/DebugGraphics.java,
307         javax/swing/DefaultCellEditor.java,
308         javax/swing/DefaultCellRenderer.java,
309         javax/swing/DefaultComboBoxModel.java,
310         javax/swing/DefaultDesktopManager.java,
311         javax/swing/DefaultFocusManager.java,
312         javax/swing/DefaultListCellRenderer.java,
313         javax/swing/Icon.java,
314         javax/swing/JButton.java,
315         javax/swing/JCheckBoxMenuItem.java,
316         javax/swing/JDesktopPane.java,
317         javax/swing/JEditorPane.java,
318         javax/swing/JMenu.java,
319         javax/swing/JPanel.java,
320         javax/swing/JPasswordField.java,
321         javax/swing/JPopupMenu.java,
322         javax/swing/JProgressBar.java: Reworked imports.
323
324 2004-01-09  Michael Koch  <konqueror@gmx.de>
325
326         * java/awt/geom/PathIterator.java
327         (WIND_EVEN_ODD): Removed redundant modifiers.
328         (WIND_NON_ZERO): Likewise.
329         (SEG_MOVETO): Likewise.
330         (SEG_LINETO): Likewise.
331         (SEG_QUADTO): Likewise.
332         (SEG_CUBICTO): Likewise.
333         (SEG_CLOSE): Likewise.
334         * java/awt/image/SinglePixelPackedSampleModel.java:
335         Removed redundant semicolon.
336         * java/io/ObjectInputStream.java
337         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
338         * java/util/logging/Filter.java
339         (isLoggable): Removed redundant modifier.
340         * java/util/logging/LogManager.java:
341         Removed redundant semicolon.
342         * java/util/logging/XMLFormatter.java
343         (format): Removed unused variable "key".
344
345 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
346
347         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
348         New name for the former setFile native method.
349         (setFile): New method.
350         (setDirectory): Implemented.
351         (connectSignals): New native method.
352         (setFilenameFilter): Improve comment.
353         (getGraphics): Comment.
354         (gtkHideFileDialog): New method.
355         (gtkDisposeFileDialog): New method.
356         (gtkSetFilename): New method.
357         * java/awt/Dialog.java (show): Block on modal dialogs, but only
358         for FileDialog for now.
359         (hide): New method.
360         (dispose): New method.
361         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
362         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
363         deprecated creation functions.  Make dialog modal.  Add it to the
364         window group.
365         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
366         function.
367         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
368         Rename to...
369         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
370         name.
371         (window_closed): New function.
372         (ok_clicked): New function.
373         (cancel_clicked): New function.
374
375 2004-01-08  Michael Koch  <konqueror@gmx.de>
376
377         * javax/swing/JLayeredPane.java: Revert changes to standard
378         boilerplate, reworked imports.
379
380 2004-01-07  Tom Tromey  <tromey@redhat.com>
381
382         PR libgcj/13439:
383         * verify.cc (state::merge): Copy changed locals out of subroutine
384         in NO_STACK case.
385         (state::FLAG_CHANGED): New const.
386         (state::FLAG_UNUSED): Likewise.
387         (state::local_changed): Removed.  Updated all users.
388         (state::flags): New field.
389         (state::merge): Added jsr_semantics argument, more logic.
390         (push_jump_merge): Added jsr_semantics argument.
391         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
392         merging through the jsr instruction.
393
394 2004-01-07  Tom Tromey  <tromey@redhat.com>
395
396         * scripts/MakeDefaultMimeTypes.java: Use \n, not
397         backslash-newline.
398
399 2004-01-07  Graydon Hoare  <graydon@redhat.com>
400
401         * java/awt/Container.java (LightweightDispatcher): Implement.
402         (visitChild): Reuse graphics object.
403         (dispatchEventImpl): Optionally dispatch to lightweight.
404         (addNotifyContainerChildren): Build LightweightDispatcher.
405
406 2004-01-07  David Jee  <djee@redhat.com>
407
408         * java/awt/Container.java
409         (update): Clear only the clipped region, instead of clearing the
410         entire Container.
411         (visitChildren): Visit children in descending order.
412
413 2004-01-07  Michael Koch  <konqueror@gmx.de>
414
415         * java/lang/reflect/Array.java: Merged documentation with classpath.
416
417 2004-01-07  Michael Koch  <konqueror@gmx.de>
418
419         * java/text/CollationElementIterator.java
420         (textIndex): Renamed from index.
421         * java/text/CollationKey.java
422         (collator): New member.
423         (CollationKey): New argument for parent collator.
424         (equals): Check for same collator, source string and key array.
425         * java/text/RuleBasedCollator.java:
426         Reformated.
427         (RuleBasedCollator): Don't re-initialize frenchAccents with default
428         value.
429         (getCollationElementIterator): Rewritten.
430         (getCollationKey): Added new argument to CollationKey constructor.
431
432 2004-01-07  Michael Koch  <konqueror@gmx.de>
433
434         * gnu/java/nio/DatagramChannelImpl.java
435         (blocking): Removed.
436         (DatagramChannelImpl): Call configureBlocking().
437         (implConfigureBlocking): Dont initialize blocking.
438         * gnu/java/nio/ServerSocketChannelImpl.java
439         (blocking): Removed.
440         (ServerSocketChannelImpl): Call configureBlocking().
441         (implConfigureBlocking): Dont initialize blocking.
442         * gnu/java/nio/SocketChannelImpl.java
443         (blocking): Removed.
444         (SocketChannelImpl): Call configureBlocking().
445         (implConfigureBlocking): Dont initialize blocking.
446         (connect): Use isBlocking().
447         * java/nio/channels/spi/AbstractSelectableChannel.java
448         (configureBlocking): Use blockingLock() instead of LOCK.
449         Set blocking after successfully called implConfigureBlocking().
450         (register): Use blockingLock() instead of LOCK.
451
452 2004-01-07  Michael Koch  <konqueror@gmx.de>
453
454         * java/net/ServerSocket.java (isBound): Fixed documentation.
455
456 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
457
458         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
459         (changeEvent): Create event object on demand.
460         (DefaultBoundedRangeModel, toString, setValue, setExtent,
461         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
462         fireStateChanged): Re-written.
463         * javax/swing/event/EventListenerList.java: Reformatted, document
464         typical usage.
465         (toString): Implemented.
466         (getListeners): Re-written.
467         (remove): Re-written.
468         (add): Re-written.
469         (NO_LISTENERS): New singleton field.
470         (listenerList): Declare as transient; document.
471         (serialVersionUID): Document.
472         (getListenerCount(Class)): More efficient implementation,
473         also accepts null argument.  Improve Javadoc.
474         (getListenerCount()): Remove unnecessary cast; docfix.
475         * javax/swing/undo/UndoableEditSupport.java:
476         Re-format, document.
477         (UndoableEditSupport): Set realSource field. Improve documentation.
478         (_postEdit): Iterate over cloned listener vector.
479         (toString): Don't emit realSource.
480         (beginUpdate, endUpdate): Support nested updates.
481         (postEdit): Use compound edit if present.
482
483 2004-01-06  Graydon Hoare  <graydon@redhat.com>
484
485         * java/awt/Container.java (swapComponents): Add forgotten
486         function, required for JLayeredPane change.
487
488 2004-01-06  Michael Koch  <konqueror@gmx.de>
489
490         * java/text/CollationElementIterator.java: Reformated.
491         (CollationElementIterator): Changed order of arguments.
492         * java/text/RuleBasedCollator.java
493         (RuleBasedCollator): Merged class documentation.
494         (CollationElement): Added documentation.
495         (compare): Reformated, renamed arguments.
496         (equals): Likewise.
497         (getCollationElementIterator): Likewise.
498         (getCollationKey): Likewise.
499
500 2004-01-06  Graydon Hoare  <graydon@redhat.com>
501
502         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
503
504 2004-01-06  Michael Koch  <konqueror@gmx.de>
505
506         * gnu/java/net/protocol/file/Connection.java:
507         Reformated copyright.
508         (hdrHash): Removed.
509         (hdrVec): Removed.
510         (gotHeaders): Removed.
511         (getHeaderField): Removed.
512         (getHeaderField): Removed.
513         (getHeaderFieldKey): Removed.
514         (getKey): Removed.
515         (getField): Removed.
516         (getHeaders): Removed.
517
518 2004-01-06  Michael Koch  <konqueror@gmx.de>
519
520         * javax/print/attribute/standard/DateTimeAtCompleted.java,
521         javax/print/attribute/standard/DateTimeAtCreation.java,
522         javax/print/attribute/standard/DateTimeAtProcessing.java,
523         javax/print/attribute/standard/JobImpressionsCompleted.java,
524         javax/print/attribute/standard/JobKOctets.java,
525         javax/print/attribute/standard/JobKOctetsProcessed.java,
526         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
527         javax/print/attribute/standard/JobPrioritySupported.java: New files.
528         * Makefile.am (javax_source_files): Added new files.
529         * Makefile.in: Regenerated.
530
531 2004-01-06  Michael Koch  <konqueror@gmx.de>
532
533         * java/net/URLConnection.java
534         (contentHandler): Removed.
535         (locale): Removed.
536         (getHeaderFields): Return an empty map instead of null.
537         (getContent): Connect if needed, renamed "cType" to "type" and
538         "contentHandler" to "ch" and made it a local variable.
539         (getPermission): Don't use package in class name.
540         (setDefaultRequestProperty): Fixed typo in documentation.
541         (initializeDateFormats): Made locale a local variable.
542
543 2004-01-06  Michael Koch  <konqueror@gmx.de>
544
545         * java/lang/Package.java
546         (getPackage): Get the current class loader directly.
547         * java/lang/SecurityManager.java
548         (currentLoadedClass): Dont iterate over class contexts.
549         (classLoaderDepth): Don't check class loaders if everything is allowed.
550
551 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
552
553         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
554         (pre_event_handler): Set all insets to 0 when a Configure event
555         is received for a GtkPlug.
556         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
557         Make handle long, not int.
558         (EmbeddedWindow()): New constructor.
559         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
560         long, not int.
561         (setHandle): New method.
562         (getHandle): Return long, not int.
563         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
564         declaration.
565         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
566         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
567         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
568         argument to GdkNativeWindow.
569         (construct): New method.
570         (embed): New method.
571
572         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
573         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
574         (create(int, int)): New method.
575         (create): Call new create method.
576         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
577         methods.
578         (childResized): Remove native implementation.  Implement in
579         Java.
580         (getHScrollbarHeight, getVScrollbarWidth): Call
581         gtk_widget_size_request to get scrollbar dimensions.
582         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
583         call getVScrollbarWidth and getHScrollbarHeight when vertical
584         and horizontal scrollbars respectively are needed.
585         (doLayout): Enlarge child if it is smaller than the viewport.
586
587 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
588
589         * java/awt/Dialog.java (constructor): Accept null title as per spec.
590         * java/awt/FileDialog.java (constructor): Throw exception on invalid
591         argument as per spec.
592
593 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
594
595         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
596         (insert): Ditto.
597         (remove): Ditto.  Also, Check for valid argument.
598         (removeAll): Use peer interface method.
599         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
600         native add function.
601         (nativeRemove): New name for native remove function.
602         (getHistory): New native function.
603         (constructor): Generate ItemEvent.
604         (add): Ditto, if selection is changed.
605         (remove): Ditto, ditto.
606         (removeAll): Add implementation.
607         (handleEvent): Remove.  Dead code.
608         (choicePostItemEvent): Add comment.
609         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
610         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
611         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
612         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
613         comments and fix condition to change selection.
614         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
615         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
616         remove all capability.
617         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
618         (item_activate): Add cast to remove compiler warning.
619
620 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
621
622         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
623         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
624         (getPreferredSize): Call preferredSize.
625         (preferredSize): Call gtkWidgetGetPreferredDimensions.
626         (getMinimumSize): Call minimumSize.
627         (minimumSize): Call gtkWidgetGetPreferredDimensions.
628         (gtkWidgetGetDimensions): Return the peer widget's current size
629         request.
630         (gtkWidgetGetPreferredDimensions): Return the peer widget's
631         natural size request.
632
633 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
634
635         Thanks to Brian Gough <bjg@network-theory.com>
636         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
637         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
638
639 2004-01-04  Matthias Klose  <doko@debian.org>
640
641         * aclocal.m4: Rebuilt using "aclocal -I .".
642         * configure: Rebuilt.
643
644 2004-01-03  Per Bothner  <per@bothner.com>
645
646         * java/util/Date.java (parse):  Fix a number of problems.
647         (skipParens):  Remove no-longer-needed method.
648
649 2003-12-31  Michael Koch  <konqueror@gmx.de>
650
651         * gnu/java/net/protocol/http/Connection.java
652         (sendRequest): Dont encode output in default character encoding,
653         add correct version number to HTTP user agent string.
654
655 2003-12-31  Graydon Hoare  <graydon@redhat.com>
656
657         * configure.in: Add --enable-gtk-cairo check.
658         * configure: Regenerate.
659         * Makefile.am: Conditionally link against cairo.
660         * Makefile.in: Regenerate.
661         * acinclude.m4: Include PKG_CHECK_MODULES.
662         * aclocal.m4: Regenerate.
663         * gnu/java/awt/peer/gtk/GtkToolkit.java (useGraphics2D): New method.
664         (getFontMetrics, getClasspathFontPeer):
665         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics):
666         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
667         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (getGraphics):
668         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics):
669         Switch behavior depending on GtkToolkit.useGraphics2D().   
670         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Extend ClasspathFontPeer.
671         * java/awt/Font.java: Switch to peer model.
672         * jni/gtk-peer/gtkcairopeer.h: Definitions of cairo stuff.
673         * jni/gtk-peer/gdkfont.h: Include gtkcairopeer.h.
674         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Include gtkcairopeer.h.
675         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: Un-include gtkpeer.h. 
676
677 2003-12-31  Guilhem Lavaux  <guilhem@kaffe.org>
678
679         * java/io/ObjectOutputStream.java
680         (putFields): Reindented. Fixed behaviour: currentPutField should be
681         null
682         before calling this method.
683         (writeFields): Likewise.
684         (markFieldsWritten): Fixed the exception message.
685         (callWriteMethod): Ensure currentPutField is null.
686         (getBooleanField): Translate IllegalArgumentException into
687         InvalidClassException.
688         (getByteField): Likewise.
689         (getCharField): Likewise.
690         (getDoubleField): Likewise.
691         (getFloatField): Likewise.
692         (getIntField): Likewise.
693         (getLongField): Likewise.
694         (getShortField): Likewise.
695         (getObjectField): Check the type code before returning the object.
696         (getField): Translate NoSuchFieldException into InvalidClassException
697         directly.
698
699 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
700
701         * java/net/URL.java
702         (URL): Change context path to "/" if it is empty.
703
704 2003-12-31  Michael Koch  <konqueror@gmx.de>
705
706         * testsuite/libjava.mauve/xfails: Removed tests that pass now:
707         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
708         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
709         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
710         (number 26)
711         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
712         (number 54)
713         
714
715 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
716
717         * java/util/GregorianCalendar.java
718         (computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>.
719         Fixed the computation of DAY_OF_WEEK_IN_MONTH.
720         (computeTime): 12:00 midnight is AM and 12:00 noon is PM.
721
722 2003-12-30  Michael Koch  <konqueror@gmx.de>
723
724         * testsuite/libjava.mauve/xfails: Removed the following testcase
725         because it passes now:
726         FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict
727         (number 1)
728
729 2003-12-30  Michael Koch  <konqueror@gmx.de>
730
731         * java/io/ObjectInputStream.java,
732         java/io/ObjectOutputStream.java,
733         java/io/ObjectStreamClass.java:
734         Reformated, no functional code changes.
735
736 2003-12-30  Michael Koch  <konqueror@gmx.de>
737
738         * gnu/java/net/protocol/http/Connection.java
739         (outputStream): New field.
740         (bufferedOutputStream): New field.
741         (connect): Initialize outputStream and bufferedOutputStream.
742         (sendRequest): Create PrintWriter object from outputStream,
743         support HTTP 1.1, send missing HTTP headers and buffered output data
744         for POST method.
745         (getOutputStream): Set request method to POST if output stream is
746         used, return bufferedOutputStream.
747         (setRequestMethod): Allow HEAD and POST methods.
748         This fixes libgcj PR/6302 and libgcj PR/7752.
749
750 2003-12-30  Guilhem Lavaux <guilhem@kaffe.org>
751
752         * java/io/LineNumberReader.java
753         (countLines): Removed.
754         (fill): New private method.
755         (mark): Changed logic to use and matchedNewLine.
756         (reset): Likewise.
757         (read): Likewise.
758         (skipRedundantLF): Likewise.
759
760 2003-12-30  Michael Koch  <konqueror@gmx.de>
761
762         * gnu/java/net/protocol/http/Connection.java
763         (requestProperties): New field.
764         (addRequestProperty): New method.
765         (getRequestProperty): New method.
766         (setRequestProperty): New method.
767         (getRequestProperties): New method.
768
769 2003-12-28  Michael Koch  <konqueror@gmx.de>
770
771         * gnu/java/net/protocol/http/Connection.java
772         (inputStream): Made it a DataInputStream.
773         (requestProperties): Removed.
774         (hdrHash): Removed.
775         (hdrVec): Removed.
776         (headers): New field to store headers.
777         (connect): Initialize inputStream.
778         (receiveReply): Merged from classpath. The new algorithm is line based
779         instead of character based.
780         (getHeaderField): Use headers.
781         (getHeaderFields): Use headers.
782         (getKey): Removed.
783         (getField): Removed.
784         * gnu/java/net/HeaderFieldHelper.java: New file.
785         * Makefile.am (ordinary_java_source_files):
786         Added gnu/java/net/HeaderFieldHelper.java.
787         * Makefile.in: Regenerated.
788
789 2003-12-28  Guilhem Lavaux <guilhem@kaffe.org>
790
791         * java/io/LineNumberReader.java
792         (mark): Improved error checking.
793         (read): Likewise.
794         (skip): Likewise. Skip is now really eating the specified number of
795         characters.
796         * java/io/CharArrayReader.java (read): It should throw
797         IndexOutOfBoundsException and not ArrayIndexOutOfBoundsException (see
798         mauve).
799         * java/io/BufferedReader.java (readLine): Make readLine() really block
800         until either EOF is reached or a true error happens.
801
802 2003-12-27  Michael Koch  <konqueror@gmx.de>
803
804         * gnu/java/net/protocol/http/Connection.java
805         (getRequestProperty): Removed.
806         (setRequestProperty): Removed.
807
808 2003-12-27  Michael Koch  <konqueror@gmx.de>
809
810         * gnu/java/net/protocol/http/Connection.java
811         (connect): Call receiveReply().
812         (receiveReply): Renamed from getHttpHeaders().
813         (getOutputStream): Moved check on doOutput before check for connection
814         state.
815
816 2003-12-27  Michael Koch  <konqueror@gmx.de>
817
818         * javax/print/attribute/ResolutionSyntax.java,
819         javax/print/attribute/SetOfIntegerSyntax.java,
820         javax/print/attribute/Size2DSyntax.java,
821         javax/print/attribute/standard/Copies.java,
822         javax/print/attribute/standard/JobImpressions.java,
823         javax/print/attribute/standard/JobMediaSheets.java,
824         javax/print/attribute/standard/NumberOfDocuments.java,
825         javax/print/attribute/standard/NumberOfInterveningJobs.java,
826         javax/print/attribute/standard/PagesPerMinute.java,
827         javax/print/attribute/standard/PagesPerMinuteColor.java,
828         javax/print/attribute/standard/QueuedJobCount.java:
829         Fixed typo (s/then/than/).
830
831 2003-12-27  Guilhem Lavaux  <guilhem@kaffe.org>
832
833         * java/rmi/Naming.java (lookup): Check if the first character of the
834         filename returned by URL.getFile() is a '/', only if it is the case
835         we cut this first character and call the registry with the good name.
836         (bind): Likewise.
837         (rebind): Likewise.
838
839 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
840             Mark Wielaard  <mark@klomp.org>
841
842         * java/io/BufferedReader.java (BufferedReader):
843         Throw IllegalArgumentException when size <= 0.
844         (mark): Document and better exception message for negative
845         readLimit IllegalArgumentException.
846         (read(char[],int,int)): Throw IndexOutOfBoundsException
847         if offset and count are not valid regarding buf.
848         (skip): Throw IllegalArgumentException when count is negative.
849
850 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
851
852         * java/io/FileInputStream.java
853         (FileInputStream(String)): Call FileInputStream(File).
854         (FileInputStream(File)): Check whether the argument is a directory.
855
856 2003-12-26  Michael Koch  <konqueror@gmx.de>
857
858         * Makefile.am (rmi_java_source_files):
859         Added gnu/java/rmi/server/RMIVoidValue.java.
860         * Makefile.in: Regenerated.
861
862 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
863             Mark Wielaard  <mark@klomp.org>
864
865         * gnu/java/rmi/server/UnicastConnectionManager.java
866         (startScavenger): Set the client connection manager to daemon
867         state because it may block clients until TIMEOUT is reached
868         when they are exiting.
869
870         * gnu/java/rmi/RMIVoidValue.java: New file for a class representing
871         a void return.
872
873         * gnu/java/rmi/server/UnicastRemoteCall.java
874         (DummyOutputStream): Add a boolean before each written field to
875         know whether it is a primitive.
876         (releaseOutputStream): Flush parameters at write time.
877
878         * gnu/java/rmi/server/UnicastServerRef.java
879         (incomingMessageCall): Return a RMIVoidValue if no value is to be
880         returned.
881
882         * gnu/java/rmi/server/UnicastServer.java
883         (incomingMessageCall): Do not write a returned object if it is
884         a RMIVoidValue.
885
886 2003-12-25  Andreas Tobler  <a.tobler@schweiz.ch>
887
888         * libltdl/ltdl.c (HAVE_DYLD): Remove ifdef conditional for 
889         darwin. Fixed by fixinclude now.
890
891 2003-12-25  Michael Koch  <konqueror@gmx.de>
892
893         * java/net/ServerSocket.java bind():
894         If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as
895         address to bind to.
896
897 2003-12-23  Guilhem Lavaux <guilhem@kaffe.org>
898
899         * java/io/ObjectInputStream.java
900         (getField): Handle transient and non persistent fields.
901         (readClassDescriptor): Better error handling, use the right
902         class loader.
903         (readFields): Fields marked as not present in the stream
904         or not to be set are not read and set.
905         * java/io/ObjectInputStream.java
906         (readFields): Changed implementation of GetField.
907         (readClassDescriptor): Documented.
908         * java/io/ObjectOutputStream.java
909         (writeClassDescriptor): Added condition when to write class super
910         class information.
911
912 2003-12-22  Fernando Nasser  <fnasser@redhat.com>
913
914         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to...
915         (choicePostItemEvent): Change signature to more specific String object.
916         * java/awt/Choice.java (add): Generate ItemEvent for the first item
917         added.
918         (insert): Generate ItemEvent if insertion caused
919         selection to change.
920         (remove): Generate ItemEvent if removal cause selection to change.
921         (removeAll): Change algorithm to prevent generation of ItemEvents.
922         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
923         (connect_choice_item_selectable_hook): Change argument type.
924         Fix argument value.
925         Make sure resources are feed by registering callback.
926         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
927         above function.
928         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
929         (item_activate): Ditto.
930         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
931         menuitem.
932         (item_removed): New function.  Free resources.
933         * jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
934         name.
935         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
936         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
937         choicePostItemEvent.
938
939 2003-12-23  Michael Koch  <konqueror@gmx.de>
940
941         * javax/print/attribute/standard/Copies.java,
942         javax/print/attribute/standard/JobImpressions.java,
943         javax/print/attribute/standard/JobMediaSheets.java,
944         javax/print/attribute/standard/JobPriority.java,
945         javax/print/attribute/standard/NumberOfDocuments.java,
946         javax/print/attribute/standard/NumberOfInterveningJobs.java,
947         javax/print/attribute/standard/NumberUp.java,
948         javax/print/attribute/standard/PagesPerMinuteColor.java,
949         javax/print/attribute/standard/PagesPerMinute.java,
950         javax/print/attribute/standard/QueuedJobCount.java: New files.
951         * Makefile.am (ordinary_java_source_files): Added new files.
952         * Makefile.in: Regenerated.
953
954 2003-12-23  Michael Koch  <konqueror@gmx.de>
955
956         * javax/print/attribute/AttributeSetUtilities.java
957         (verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
958         * javax/print/attribute/HashAttributeSet.java
959         (HashAttributeSet): Call internal add methods, added missing
960         exceptions.
961         (add): Call addInternal, added exceptions to documentation.
962         (addInternal): New method.
963         (addAll): Call addAllInternal, added exception to documentation.
964         (addAllInternal): New method.
965         (clear): Added exception to documentation.
966         (remove): Likewise.
967         * javax/print/attribute/URISyntax.java
968         (serialVersionUID): Fixed value.
969
970 2003-12-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
971
972         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
973         (pre_event_handler): Don't dereference NULL focus_obj_ptr.
974
975 2003-12-21  Michael Koch  <konqueror@gmx.de>
976
977         * javax/print/attribute/AttributeSetUtilities.java,
978         javax/print/attribute/HashAttributeSet.java,
979         javax/print/attribute/HashDocAttributeSet.java,
980         javax/print/attribute/HashPrintJobAttributeSet.java,
981         javax/print/attribute/HashPrintRequestAttributeSet.java,
982         javax/print/attribute/HashPrintServiceAttributeSet.java: New files.
983         * Makefile.am (ordinary_java_source_files): Added new files.
984         * Makefile.in: Regenerated.
985
986 2003-12-21  Michael Koch  <konqueror@gmx.de>
987
988         * javax/print/attribute/EnumSyntax.java,
989         javax/print/attribute/SetOfIntegerSyntax.java: New files.
990         * Makefile.am (ordinary_java_source_files):
991         Added javax/print/attribute/EnumSyntax.java
992         and javax/print/attribute/SetOfIntegerSyntax.java.
993         * Makefile.in: Regenerated.
994
995 2003-12-21  Michael Koch  <konqueror@gmx.de>
996
997         * javax/print/attribute/PrintJobAttribute.java,
998         javax/print/attribute/PrintJobAttributeSet.java,
999         javax/print/attribute/PrintRequestAttribute.java,
1000         javax/print/attribute/PrintServiceAttribute.java,
1001         javax/print/attribute/PrintServiceAttributeSet.java,
1002         javax/print/attribute/SupportedValuesAttribute.java: New files.
1003         * Makefile.am (ordinary_java_source_files): Added new files.
1004         * Makefile.in: Regenerated.
1005
1006 2003-12-21  Michael Koch  <konqueror@gmx.de>
1007
1008         * javax/print/attribute/DateTimeSyntax.java,
1009         javax/print/attribute/DocAttribute.java,
1010         javax/print/attribute/DocAttributeSet.java,
1011         javax/print/attribute/IntegerSyntax.java,
1012         javax/print/attribute/ResolutionSyntax.java,
1013         javax/print/attribute/Size2DSyntax.java,
1014         javax/print/attribute/TextSyntax.java,
1015         javax/print/attribute/URISyntax.java,
1016         javax/print/attribute/UnmodifiableSetException.java: New files.
1017         * Makefile.am (ordinary_java_source_files): Added new files.
1018         * Makefile.in: Regenerated.
1019
1020 2003-12-21  Michael Koch  <konqueror@gmx.de>
1021
1022         * gnu/java/net/PlainDatagramSocketImpl.java
1023         (mcastGrp): Added documentation.
1024
1025 2003-12-20  Michael Koch  <konqueror@gmx.de>
1026
1027         * gnu/java/net/protocol/jar/Connection.java
1028         (connectionCache): New field.
1029         (connect): New method.
1030         (getInputStream): New method.
1031         (hdrHash): New field.
1032         (hdrVec): New field.
1033         (gotHeaders): New field.
1034         (getHeaderField): New method.
1035         (getHeaderFields): New method.
1036         (getHeaderFieldKey): New method.
1037         (getKey): New method.
1038         (getField): New method.
1039         (getHeaders): New method.
1040         * java/net/JarURLConnection.java
1041         (connectionCache): Removed.
1042         (connect): Removed.
1043         (getInputStream): Removed.
1044         (hdrHash): Removed.
1045         (hdrVec): Removed.
1046         (gotHeaders): Removed.
1047         (getHeaderField): Removed.
1048         (getHeaderFields): Removed.
1049         (getHeaderFieldKey): Removed.
1050         (getKey): Removed.
1051         (getField): Removed.
1052         (getHeaders): Removed.
1053
1054 2003-12-20  Michael Koch  <konqueror@gmx.de>
1055
1056         * java/io/ObjectStreamField.java (isUnshared): Added documentation.
1057
1058 2003-12-20  Mohan Embar  <gnustuff@thisiscool.com>
1059
1060         * gnu/java/nio/SelectorImpl.java
1061         (selectThreadMutex): New field.
1062         (selectThread): New field.
1063         (unhandledWakeup): New field.
1064         (implCloseSelector): Added skeleton code which
1065         synchronizes as per Sun JRE JavaDoc.
1066         (keys): Throw ClosedSelectorException if selector
1067         is closed.
1068         (selectNow): Added comment that we're faking out
1069         an immediate select with a one-microsecond-timeout one.
1070         (select): Use 0 instead of -1 for infinite timeout.
1071         (implSelect): Changed comment in declaration.
1072         (select): Added synchronized to method declaration.
1073         Added synchronization and wakeup support as per Sun
1074         JRE JavaDoc.
1075         (selectedKeys): Throw ClosedSelectorException if selector
1076         is closed.
1077         (wakeup): Implemented.
1078         (deregisterCancelledKeys): Synchronize on cancelled key
1079         set before deregistering.
1080         (register): Synchronize on key set before registering.
1081         * java/nio/channels/spi/AbstractSelector.java
1082         Added import for java.nio.channels.ClosedSelectorException.
1083         (close): Added synchronized to method declaration.
1084         (cancelledKeys): Throw ClosedSelectorException if selector
1085         is closed.
1086         (cancelKey): Synchronize on cancelled key set before key.
1087
1088 2003-12-20  Michael Koch  <konqueror@gmx.de>
1089
1090         * Makefile.am (ordinary_java_source_files):
1091         Added gnu.java.net.URLParseError.java.
1092         * Makefile.in: Regenerated.
1093
1094 2003-12-20  Guilhem Lavaux <guilhem@kaffe.org>
1095
1096         * gnu/java/net/URLParseError.java: New file.
1097         * gnu/java/net/protocol/jar/Handler.java
1098         (parseURL): Throw URLParseError if needed, fix '/' handling.
1099         * java/net/URL.java (URL): Catch URLParseError and
1100         transform it into a MalformedURLException.
1101
1102 2003-12-19  Michael Koch  <konqueror@gmx.de>
1103
1104         * gnu/java/nio/ChannelOutputStream.java: New file.
1105         * java/nio/channels/Channels.java
1106         (newOutputStream): Implemented.
1107         * Makefile.am (ordinary_java_source_files)
1108         Added gnu/java/nio/ChannelOutputStream.java.
1109         * Makefile.in: Regenerated.
1110
1111 2003-12-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1112
1113         * java/awt/FlowLayout.java (layoutContainer): Let components
1114         assume their preferred height.  Centre components vertically.
1115
1116 2003-12-19  Michael Koch  <konqueror@gmx.de>
1117
1118         * gnu/java/nio/ChannelInputStream.java: New file.
1119         * java/nio/channels/Channels.java (newInputStream): Implemented.
1120         * java/nio/channels/FileChannelImpl.java
1121         (readImpl): Only put data into buffer if something was read.
1122         * Makefile.am (ordinary_java_source_files):
1123         Added gnu/java/nio/ChannelInputStream.java.
1124         * Makefile.in: Regenerated.
1125
1126 2003-12-19  Michael Koch  <konqueror@gmx.de>
1127
1128         * gnu/java/nio/OutputStreamChannel.java: New file.
1129         * java/nio/channels/Channels.java (newChannel): Implemented.
1130         * Makefile.am (ordinary_java_source_files):
1131         Added gnu/java/nio/OutputStreamChannel.java.
1132         * Makefile.in: Regenerated.
1133
1134 2003-12-19  Michael Koch  <konqueror@gmx.de>
1135
1136         * Makefile.am (ordinary_java_source_files):
1137         Added gnu.java.nio.InputStreamChannel. 
1138         * Makefile.in: Regenerated.
1139
1140 2003-12-19  Michael Koch  <konqueror@gmx.de>
1141
1142         * gnu/java/nio/InputStreamChannel.java: New file.
1143         * java/nio/channels/Channels.java (newChannel): Implemented.
1144
1145 2003-12-19  Michael Koch  <konqueror@gmx.de>
1146
1147         * java/util/SimpleTimeZone.java
1148         (setStartRule): Reformated documentation.
1149         (setEndRule): Reworked documentation.
1150         (getDSTSavings): Fixed @since tag.
1151         (setDSTSavings): New method.
1152
1153 2003-12-19  Michael Koch  <konqueror@gmx.de>
1154
1155         * java/text/NumberFormat.java: Sorted imports.
1156         (getCurrency): New method.
1157         (setCurrency): New method.
1158         
1159
1160 2003-12-19  Michael Koch  <konqueror@gmx.de>
1161
1162         * java/text/MessageFormat.java
1163         (MessageFormat): New constructor.
1164
1165 2003-12-19  Michael Koch  <konqueror@gmx.de>
1166
1167         * gnu/java/net/protocol/jar/Handler.java
1168         (parseURL): New method.
1169         (toExternalForm): New method.
1170
1171 2003-12-18  Fernando Nasser  <fnasser@redhat.com>
1172
1173         * java/awt/List.java (replaceItem): Prevent selection to move with
1174         replace and minimize flickering.
1175  
1176 2003-12-18  Michael Koch  <konqueror@gmx.de>
1177
1178         * libltdl/ltdl.c: Define __private_extern__ if needed.
1179
1180 2003-12-18  Michael Koch  <konqueror@gmx.de>
1181
1182         * libltdl/.cvsignore: Ignore autom4te.cache
1183         * libltdl/Makefile.in: Regenerated.
1184         * libltdl/aclocal.m4: Regenerated.
1185         * libltdl/acconfig.h: Removed (obsolete).
1186         * libltdl/config-h.in: Regenerated.
1187         * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
1188         * libltdl/configure: Regenerated.
1189
1190 2003-12-18  Michael Koch  <konqueror@gmx.de>
1191
1192         * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
1193         java.text.CollationElementIterator tests as they compile again.
1194         * testsuite/libjava.mauve/xfails: Added failing
1195         java.text.CollationElementIterator tests.
1196
1197 2003-12-18  Michael Koch  <konqueror@gmx.de>
1198
1199         * java/util/prefs/AbstractPreferences.java
1200         (cachedChildren): New method.
1201
1202 2003-12-18  Michael Koch  <konqueror@gmx.de>
1203
1204         * java/util/TimeZone.java (getOffset): New method.
1205
1206 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
1207  
1208         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1209         of ActionEvents for mouse double-clicks.
1210
1211 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
1212
1213         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
1214         null Graphics pointer returned by FileDialogPeer.
1215
1216 2003-12-17  Michael Koch  <konqueror@gmx.de>
1217
1218         * libltdl/stamp-h.in: Removed, not used anymore.
1219
1220 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
1221
1222         * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
1223         Removed unused InterruptedIOException.h include.
1224         * gnu/java/net/natPlainSocketImplWin32.cc
1225         (connect): Reset and ignore our thread's interrupted
1226         flag instead of testing and throwing an InterruptedIOException
1227         if set.
1228         (accept): Likewise + changed case of SocketTimeoutException
1229         text.
1230         (write): Likewise (for both overloads).
1231         (doRead): Likewise.
1232
1233 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
1234
1235         * win32.cc (WSAEventWrapper): Implemented default
1236         constructor and init() methods.
1237         (_Jv_select): Removed.
1238         * gnu/java/nio/natSelectorImplWin32.cc
1239         (helper_put_filedescriptors): Removed.
1240         (helper_get_filedescriptors): Removed.
1241         (implSelect): Implemented in terms of WSAEventWrapper
1242         and WSAWaitForMultipleEvents instead of _Jv_select().
1243         Added support for thread interruption.
1244         * include/win32.h (WSAEventWrapper): Minor formatting
1245         changes; added default constructor declaration, init(),
1246         getFD() and getEventHandle() methods.
1247         (_Jv_select): Removed.
1248
1249 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
1250
1251         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1252         (peekData): Throw SocketTimeoutException instead of
1253         InterruptedIOException on timeout.
1254         (receive): Likewise.
1255         * gnu/java/net/natPlainSocketImplPosix.cc
1256         (read): Made a minor exception text case change.
1257
1258 2003-12-16  Michael Koch  <konqueror@gmx.de>
1259
1260         Fix for PR libgcj/13056.
1261         * libltdl/configure.in,
1262         libltdl/config.h.in: Removed.
1263         * libltdl/configure.ac,
1264         libltdl/config-h.in,
1265         libltdl/install-sh,
1266         libltdl/config.guess,
1267         libltdl/config.sub,
1268         libltdl/missing,
1269         libltdl/mkinstalldirs,
1270         libltdl/ltmain.sh: New files.
1271         * libltdl/Makefile.am,
1272         libltdl/acinclude.m4,
1273         libltdl/aclocal.m4,
1274         libltdl/ltdl.c,
1275         libltdl/ltdl.h,
1276         libltdl/README: Update to versions from libtool 1.5.
1277         libltdl/configure,
1278         * libltdl/Makefile.in: Regenerated.
1279         * java/lang/natRuntime.cc (find_symbol):
1280         Use type 'lt_ptr' instead of 'lt_ptr_t'.
1281
1282 2003-12-16  Michael Koch  <konqueror@gmx.de>
1283
1284         * java/awt/MenuComponent.java
1285         (serialVersionUID): Fixed value.
1286
1287 2003-12-16  Fernando Nasser  <fnasser@redhat.com>
1288
1289         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1290         (pre_event_handler): Handle GtkButton widgets differently as events
1291         go to its event_window.
1292         (connect_awt_hook): Remove compiler warning.
1293
1294 i2003-12-16  Guilhem Lavaux <guilhem@kaffe.org>
1295
1296         * java/io/ObjectInputStream.java
1297         (lookupClass): New method.
1298         (currentLoader): New method.
1299         (inputGetObjectStreamClasses): New method.
1300         (assignNewHandle): Documented.
1301         (currentClassLoader): Documented.
1302         * java/io/ObjectStreamClass.java
1303         (setClass): Changed API. Better handling of the imported/exported
1304         fields.
1305         (getSerialPersistentFields): Make it throw previously caught exceptions
1306         so they can handled in setClass.
1307
1308 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1309  
1310         * java/io/ObjectStreamField.java: A few methods were added in prevision
1311         of the upcoming upgrade of the serialization code. This also adds
1312         some missing documentation.
1313         (ObjectStreamField): We should throw a NullPointerException when 'name'
1314         is null.
1315
1316  2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1317   
1318         * java/io/ObjectInputStream.java (setBooleanField):
1319         Throw an InvalidClassException if the field hasn't the required type,
1320         documentation added.
1321         (setByteField) Likewise.
1322         (setCharField) Likewise.
1323         (setDoubleField) Likewise.
1324         (setFloatField) Likewise.
1325         (setIntField) Likewise.
1326         (setShortField) Likewise.
1327         (setLongField) Likewise.
1328         (setObjectField) Likewise.
1329
1330 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1331            Helmer Kraemer <hkraemer@freenet.de>
1332  
1333         * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
1334         Splitted the method so we can specify an explicit boot loader.
1335
1336 2003-12-15  Graydon Hoare  <graydon@redhat.com>
1337
1338         * jni/gtk-peer/gdkfont.h: New file.
1339         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
1340         include of cairo-xlib.h, add extra gdk_flush().
1341
1342 2003-12-12  Fernando Nasser  <fnasser@redhat.com>
1343
1344         * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
1345         native state table -- native_global_ref_table.
1346         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
1347         native_global_ref_table pointer.
1348         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1349         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
1350         global reference is deleted and memory allocated for pointer freed.
1351         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
1352         JNI global reference instead of JNI local reference.
1353         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1354         (pre_event_handler): Remove compilation warning.
1355         (connect_awt_hook): Use saved JNI global reference instead of creating
1356         a new one.
1357         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1358         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
1359         reference to the Java object.
1360         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
1361         unused variable declaration and add comment.
1362         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
1363         (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
1364         reference to the Java object.
1365         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
1366         (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
1367         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1368         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
1369         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
1370         JNI global reference instead of JNI local reference.
1371         (item_toggled): Add debug statement.
1372         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1373         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
1374         reference to the Java object.
1375         (connect_choice_item_selectable_hook): Use saved JNI global references
1376         instead of JNI local reference.
1377         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
1378         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
1379         global reference to the Java object.
1380         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1381         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
1382         reference to the Java object.
1383         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1384         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
1385         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1386         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
1387         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1388         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
1389         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
1390         (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
1391         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1392         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
1393         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1394         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
1395         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1396         (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
1397         (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
1398         JNI global reference instead of JNI local reference.
1399         (item_selected): Add debug statement.
1400         (item_unselected): Add debug statement.
1401         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1402         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
1403         reference to the Java object.
1404         Connect "activate" signal handler using global JNI reference.
1405         (connect_activate_hook): Removed in favor of inline code.
1406         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1407         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
1408         reference to the Java object.
1409         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
1410         JNI global reference instead of JNI local reference.  Add FIXME comment.
1411         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
1412         reference to the Java object.  Add FIXME comment.
1413         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
1414         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
1415         reference to the Java object.
1416         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
1417         JNI global reference instead of JNI local reference.
1418         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1419         (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
1420         saved JNI global reference instead of JNI local reference.
1421         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1422         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
1423         reference to the Java object.
1424         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
1425         JNI global reference instead of JNI local reference.
1426
1427 2003-12-11  Michael Koch  <konqueror@gmx.de>
1428
1429         * java/text/Format.java (serialVersionUID): Fixed value.
1430
1431 2003-12-11  Michael Koch  <konqueror@gmx.de>
1432
1433         * javax/naming/event/EventDirContext.java: Jalopied.
1434         (addNamingListener): Fixed typo in method name.
1435         
1436
1437 2003-12-11  Mohan Embar  <gnustuff@thisiscool.com>
1438
1439         * gnu/java/nio/SocketChannelImpl.java
1440         (write): Removed diagnostic trace.
1441         * gnu/java/nio/natSelectorImplPosix.cc: Added
1442         includes for java.lang.Thread and java.io.InterruptedIOException.
1443         (helper_put_filedescriptors): Don't put invalid file descriptors
1444         in select set.
1445         (helper_get_filedescriptors): Clear invalid file descriptors
1446         from select set.
1447         (helper_reset): New method for clearing our file descriptor
1448         array.
1449         (implSelect): Correctly calculate timeout if specified and
1450         legal.
1451         Intercept and deal with any java.io.InterruptedIOException
1452         thrown by _Jv_select().
1453
1454 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1455
1456         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1457         Most coded moved to pre_event_handler, with the modifications
1458         mentioned below.
1459         (pre_event_handler): New function.  Called on the Gtk "event" signal.
1460         Do not retrieve the jobject from the window property as it is already
1461         available as user data in the signal.
1462         Do not try and find the grab widget as it is already done by Gtk at
1463         this point.
1464         Do not search for Window ancestor as Gtk already sends the signal to it.
1465         Do not meddle with the activation state of peer widgets on each
1466         key press or release.
1467         Add CList to the special handling when looking for the focused widget.
1468         * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
1469         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
1470         New function.
1471         (connectSignals): New function.
1472         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
1473         Rename to...
1474         (connectSignals): New name.  Get rid of NewGlobalRef call.
1475         Use g_signal_connect instead of deprecated gtk_signal_connect.
1476         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1477         (connect_choice_item_selectable_hook): Use g_signal_connect instead of
1478         deprecated gtk_signal_connect.
1479         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
1480         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1481         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1482         (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
1483         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1484         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1485         function.
1486         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1487         function.
1488         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1489         function.
1490         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1491         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1492         function.
1493         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1494         function.
1495         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1496         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1497         function.
1498         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1499         function.
1500         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1501         function.
1502         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
1503         code.
1504         (item_select): Remove indirection.
1505         (item_unselect): Ditto.
1506         (connect_selectable_hook): Folded into connectSignals.
1507         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1508         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1509         function.
1510         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1511         function.
1512         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1513         function.
1514         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
1515         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1516         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1517         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1518         function.
1519         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1520         function.
1521         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare  and call
1522         connectJObject and connectSignals instead of connectHooks.
1523         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
1524         connectSignals.
1525         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
1526         and not connectHooks.
1527         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
1528         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
1529         and not connectHooks.
1530         * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
1531         connectSignals instead of connectHooks.
1532         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
1533         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
1534         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto. 
1535
1536 2003-12-09  Michael Koch  <konqueror@gmx.de>
1537
1538         * Makefile.am (nat_headers_install): New variable with header files to
1539         install automatically.
1540         (install-data-local): Install all headers listed in
1541         nat_headers_install. Install innert nat headers explicitely.
1542         * Makefile.in: Regenerated.
1543
1544 2003-12-09  Michael Koch  <konqueror@gmx.de>
1545
1546         * java/util/Calendar.java,
1547         java/util/IdentityHashMap.java,
1548         java/util/prefs/Preferences.java:
1549         Import used classes explicitely.
1550
1551 2003-12-09  Michael Koch  <konqueror@gmx.de>
1552
1553         * java/net/DatagramSocket.java
1554         (close): Directly return if socket is closed.
1555         * java/net/ServerSocket.java
1556         (close): Directly return if socket is closed.
1557         * java/net/Socket.java
1558         (close): Directly return if socket is closed.
1559
1560 2003-12-09  Michael Koch  <konqueror@gmx.de>
1561
1562         * gnu/java/nio/SelectorImpl.java
1563         (implSelect): Throws IOException.
1564         (select): Likewise.
1565
1566 2003-12-08  Kim Ho  <kho@redhat.com>
1567
1568         Fix for Checkbox states.
1569         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
1570         (currentState): New field.
1571         (nativeCreate): Add initial state parameter.
1572         (create): Changed to reflect new parameter.
1573         (setState): Fire only on changed states.
1574         (postItemEvent): Fire only on changed states. Also change the 
1575         Java Checkbox to reflect new state.
1576         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
1577         (nativeCreate): Add parameter and set active state.
1578
1579 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1580  
1581         * java/awt/datatransfer/StringSelection.java (getTransferData): Return
1582         object of type expected by specified DataFlavor.
1583
1584 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1585  
1586         * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
1587         error which was clipping off the first character of a parameter value.
1588
1589 2003-12-08  Olga Rodimina <rodimina@redhat.com>
1590
1591         * java/awt/Polygon.java
1592         (translate): Fixed error that caused polygon 
1593         to move right/left when up/down translation was required.
1594         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
1595         (getSelectionStart): Initialized start position to 0. 
1596         (getSelectionEnd): Initialized end position to 0.
1597         (getCaretPosition): Initialized caret position to 0.
1598         (getText): Initialized selected text to NULL 
1599
1600 2003-12-08  Michael Koch  <konqueror@gmx.de>
1601
1602         Fix for PR libgcj/13176.
1603         * java/io/PrintStream.java: Partly revert my previous patches to get
1604         (line_separator): New field.
1605         (converter): New field.
1606         (work): New field.
1607         (work_bytes): New field.
1608         (pw): Removed.
1609         (closed): Removed.
1610         (PrintStrean): Initialize converter and not pw.
1611         (checkError): Flush always, pw doesn't exist anymore.
1612         (close): Close underlying out stream.
1613         (print): New method.
1614         (writeChars): New method.
1615         (print): Use new internal print method.
1616         (println): Likewise.
1617
1618 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1619
1620         * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
1621         putAllInternal.
1622         (putAllInternal): Correct comment.
1623         * java/util/HashMap.java (HashMap(Map)): As above.
1624         (putAllInternal): As above.
1625
1626 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1627
1628         * java/util/Hashtable.java (internalContainsValue): Removed.
1629         (containsValue): Don't delegate to internalContainsValue.
1630
1631 2003-12-06  Michael Koch  <konqueror@gmx.de>
1632
1633         * javax/naming/directory/Attribute.java,
1634         javax/naming/directory/Attributes.java,
1635         javax/naming/directory/DirContext.java,
1636         javax/naming/directory/InitialDirContext.java,
1637         javax/naming/directory/SearchResult.java,
1638         javax/naming/event/EventContext.java,
1639         javax/naming/event/NamingEvent.java,
1640         javax/naming/event/NamingExceptionEvent.java,
1641         javax/naming/ldap/ControlFactory.java,
1642         javax/naming/ldap/ExtendedRequest.java,
1643         javax/naming/ldap/HasControls.java,
1644         javax/naming/ldap/InitialLdapContext.java,
1645         javax/naming/ldap/LdapContext.java,
1646         javax/naming/ldap/LdapReferralException.java,
1647         javax/naming/ldap/UnsolicitedNotification.java,
1648         javax/naming/ldap/UnsolicitedNotificationListener.java,
1649         javax/naming/spi/DirObjectFactory.java,
1650         javax/naming/spi/DirStateFactory.java,
1651         javax/naming/spi/DirectoryManager.java,
1652         javax/naming/spi/NamingManager.java,
1653         javax/naming/spi/ObjectFactoryBuilder.java,
1654         javax/naming/spi/ResolveResult.java,
1655         javax/naming/spi/Resolver.java,
1656         javax/naming/spi/StateFactory.java:
1657         Import used classes explicitely.
1658
1659 2003-12-05  Scott Gilbertson  <scottg@mantatest.com>
1660
1661         * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
1662         (clip): Removed field
1663         (clipRectangles): New field.
1664         (clone): Use new updateClip.
1665         (setClipRectangles): Use new updateClip.
1666         * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
1667
1668 2003-12-04  Michael Koch  <konqueror@gmx.de>
1669
1670         * java/io/FilePermission.java:
1671         Import used classes explicitely.
1672
1673 2003-12-04  Michael Koch  <konqueror@gmx.de>
1674
1675         * java/beans/BeanDescriptor.java,
1676         java/beans/EventSetDescriptor.java,
1677         java/beans/FeatureDescriptor.java,
1678         java/beans/IndexedPropertyDescriptor.java,
1679         java/beans/Introspector.java,
1680         java/beans/MethodDescriptor.java,
1681         java/beans/PropertyDescriptor.java,
1682         java/beans/SimpleBeanInfo.java: Explicitely import used classes.
1683         * java/beans/beancontext/BeanContextServicesSupport.java
1684         (serialVersionUID): New field.
1685
1686 2003-12-04  Michael Koch  <konqueror@gmx.de>
1687
1688         * java/awt/MenuComponent.java: Import java.io.Serialization.
1689         * java/awt/MenuItem.java: Likewise.
1690         * java/awt/TextComponent.java: Likewise.
1691         * java/awt/image/ImagingOpException.java
1692         (serialVersionUID): Fixed.
1693
1694 2003-12-04  Michael Koch  <konqueror@gmx.de>
1695
1696         * gnu/java/net/protocol/http/Connection.java
1697         (sendRequest): Merged writing http headers with classpath.
1698         (getInputStream): Merged documentation from classpath.
1699         (getHeaderField): Likewise.
1700         (getHeaderFieldKey): Likewise.
1701
1702 2003-12-04  Michael Koch  <konqueror@gmx.de>
1703
1704         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
1705
1706 2003-12-04  Michael Koch  <konqueror@gmx.de>
1707
1708         * java/net/DatagramPacket.java
1709         (length): Made packge-private to make it accessible via CNI.
1710         (maxlen): New field.
1711         (DatagramPacket): Cleaned up.
1712         (setSocketAddress): Add message to exception.
1713         (setData): Call other setData().
1714         (setData): Call setLength().
1715         (setLength): Initialize maxlen too.
1716         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
1717         Get maximal length from maxlen field, set length field directly.
1718         (receive): Likewise.
1719         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1720         Get maximal length from maxlen field, set length field directly.
1721         (receive): Likewise.
1722
1723 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
1724
1725         * gnu/java/nio/natSelectorImplPosix.cc
1726         (implSelect): A timeout of 0 means an infinite
1727         timeout.
1728
1729 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1730  
1731         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1732         of ActionEvents.
1733
1734 2003-12-03  Michael Koch  <konqueror@gmx.de>
1735
1736         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
1737         * java/lang/natClass.cc (getSigners): Likewise.
1738         (setSigners): Likewise.
1739
1740 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
1741
1742         * configure.in: Added new MinGW-specific configure flag
1743         --with-win32-nlsapi.
1744         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
1745         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
1746         is set to unicows.
1747         * configure: Rebuilt.
1748         * include/config.h.in: Rebuilt.
1749         * win32.cc (_Jv_Win32NewString): Implemented.
1750         (nativeToUnicode): New helper function defined only for
1751         non-UNICODE builds.
1752         (unicodeToNative): Likewise.
1753         (_Jv_Win32TempString): Implemented.
1754         (lots): Refactored using tchar.h macros.
1755         (WSAEventWrapper): Use _Jv_Win32NewString.
1756         (_Jv_platform_initialize): Use GetModuleFileNameA instead
1757         of GetModuleFileName.
1758         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
1759         Use temporary stack buffer instead of a heap buffer.
1760         * include/win32.h
1761         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
1762         defined; added tchar.h include.
1763         (_Jv_Win32TempString): Declared new helper class.
1764         (JV_TEMP_STRING_WIN32): New helper macro.
1765         (_Jv_Win32NewString): Declared new helper method.
1766         * java/io/natFileDescriptorWin32.cc (open): Use
1767         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1768         (write): Reformatted slightly.
1769         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
1770         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1771         (getCanonicalPath): Use _Jv_Win32NewString instead of
1772         JvNewStringUTF.
1773         (performList): Likewise.
1774         * java/lang/natWin32Process.cc (ChildProcessPipe):
1775         Use tchar.h macros.
1776         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
1777         and UNICODE environment flag for CreateProcess.
1778         * java/net/natNetworkInterfaceWin32.cc
1779         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
1780         _Jv_Win32NewString.
1781
1782 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
1783
1784         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1785         (initState): Mark obj parameter as unused.
1786         (stringWidth): Mark obj parameter as unused.  Initialize
1787         font_name properly.
1788
1789         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
1790         BufferedImageBuilder class static.
1791
1792 2003-12-02  Mark Wielaard  <mark@klomp.org>
1793
1794         * java/security/Security.java: Don't use &nbsp; in the api doc.
1795
1796 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1797
1798         Reported by: Jim Pick <jim@kaffe.org>
1799         * libraries/javalib/java/util/Hashtable.java
1800         (internalcontainsValue): New method.
1801         (contains): Delegate to internalContainsValue.
1802         
1803         Reported by: Mark Wielaard  <mark@klomp.org>
1804         * libraries/javalib/java/util/Hashtable.java
1805         (contains): Improved comment.
1806         
1807         Reported by: Jeroen Frijters  <jeroen@frijters.net>
1808         * libraries/javalib/java/util/Hashtable.java
1809         (containsValue): Delegate to contains(Object) to make sure older
1810         code overwriting it continues to work.
1811
1812 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1813
1814         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
1815         method. Handle mouse and key events that must generate
1816         ActionEvents.
1817         * java/awt/List.java (getSelectedIndex): Return -1
1818         if no list element is selected.
1819         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1820         Correct handling of mouse and key events so that List receives them.
1821         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1822         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
1823         multiple list elements. 
1824
1825 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1826
1827         * java/text/SimpleDateFormat.java (compileFormat):
1828         isLowerCase() and isUpperCase() allow too many characters.
1829         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
1830
1831 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1832
1833         * java/text/FieldPosition.java (equals): Fixed comment.
1834
1835 2003-12-02  Mark Wielaard  <mark@klomp.org>
1836
1837         Reported by Archie Cobbs:
1838         * java/security/DigestInputStream.java (read(byte[], int, int): Call
1839         digest.update() with temp, not len as lenght.
1840
1841 2003-12-02  Michael Koch  <konqueror@gmx.de>
1842
1843         * java/net/DatagramSocket.java
1844         (close): Close associated DatagramChannel object.
1845         * java/net/ServerSocket.java
1846         * java/net/Socket.java
1847         (close): Reset impl and bound before calling getChannel().close() to
1848         prevent from loops.
1849
1850 2003-12-02  Michael Koch  <konqueror@gmx.de>
1851
1852         * java/nio/channels/spi/AbstractInterruptibleChannel.java
1853         (opened): Removed.
1854         (closed): New field.
1855         (close): Check of channel is closed already.
1856         (isOpen): Return !closed.
1857
1858 2003-12-02  Michael Koch  <konqueror@gmx.de>
1859
1860         * gnu/java/nio/DatagramChannelImpl.java
1861         (blocking): Initialize with true by default.
1862         * gnu/java/nio/ServerSocketChannelImpl.java
1863         (serverSocket): Made private.
1864         (blocking): Likewise.
1865         (connected): Likewise.
1866         * gnu/java/nio/SocketChannelImpl.java
1867         (connectionPending): Made private.
1868         * gnu/java/nio/FileLockImpl.java
1869         (static): Load native library (needed for classpath).
1870         * gnu/java/nio/SelectorImpl.java
1871         (static): Load native library (needed for classpath).
1872
1873 2003-12-02  Michael Koch  <konqueror@gmx.de>
1874
1875         * gnu/java/net/protocol/file/Connection.java
1876         (getLastModified): Implement for file connections.
1877         (getContentLength): Likewise.
1878
1879 2003-12-02  Michael Koch  <konqueror@gmx.de>
1880
1881         * gnu/java/net/protocol/file/Connection.java:
1882         Some reformating.
1883         (file): Renamed from fileIn.
1884         (getPermission): Moved around.
1885
1886 2003-12-02  Michael Koch  <konqueror@gmx.de>
1887
1888         * gnu/java/net/protocol/jar/Connection.java
1889         (Connection): Made class final, merged documentation with classpath.
1890         (file_cache): Made private.
1891         (jar_file): Renamed from jarfile.
1892
1893 2003-12-02  Michael Koch  <konqueror@gmx.de>
1894
1895         * gnu/java/net/protocol/http/Connection.java
1896         (Connection): Initialize doOutput to false;
1897         (connect): Initialize inputStream, moved "send request" code to new
1898         method.
1899         (sendRequest): New method.
1900         (getHttpHeaders): Don't reinitialize inputStream.
1901
1902 2003-12-02  Michael Koch  <konqueror@gmx.de>
1903
1904         * gnu/java/net/protocol//http/Connection.java
1905         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
1906         (requestProperties): Initialize, documentation added.
1907         (inputStream): Renamed from bufferedIn.
1908         (Connection): Dont initialize requestProperties.
1909         (setDefaultRequestProperty): Removed.
1910         (getDefaultRequestProperty): Removed.
1911         (usingProxy): Documentation added.
1912         (getHttpHeaders): Likewise.
1913
1914 2003-12-02  Michael Koch  <konqueror@gmx.de>
1915
1916         * java/text/DateFormat.java:
1917         Explicitely import used classes.
1918
1919 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
1920
1921         * verify.cc (state::clean_subrs): Clear seen_subrs.
1922         (state::copy): Walk seen_subrs from copy, not `this'.
1923         Don't clear seen_subrs.
1924
1925 2003-12-01  Kim Ho <kho@redhat.com>
1926
1927         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
1928         Disable wrapping if TextArea has horizontal scroll bars.
1929
1930 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1931
1932         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1933         (awt_event_handler): Hard-code inset values.
1934
1935         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
1936         Pass font name, not XLFD, to initState.
1937         (stringWidth(String, int, String)): New method.
1938         (stringWidth(String)): Call new stringWidth.
1939         (getLeading): Always return 0.
1940         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1941         (initState): New Pango implementation.
1942         (stringWidth): Likewise.
1943
1944 2003-12-01  Olga Rodimina <rodimina@redhat.com>
1945
1946         * java/awt/TextComponent.java:
1947         (getSelectionStart): Updated javadocs.
1948         (getSelectionEnd): Ditto.
1949         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
1950         (getSelectionStart): Changed to return caret position if no
1951         text is selected
1952         (getSelectionEnd): Ditto.
1953
1954 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1955
1956         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
1957         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
1958         gnu/awt/gtk/GtkContainerPeer.java,
1959         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
1960         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
1961         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
1962         gnu/awt/gtk/natGtkComponentPeer.cc,
1963         gnu/awt/gtk/natGtkContainerPeer.cc,
1964         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
1965         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
1966         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
1967
1968         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1969         (closed): Mark loader parameter as unused.
1970
1971 2003-12-01  Michael Koch  <konqueror@gmx.de>
1972
1973         * gnu/java/net/protocol/http/Connection.java
1974         (Connection): Merged class documentation.
1975         (socket): Renamed from sock.
1976         (Connection): Made protected, documentation added.
1977         (connect): Give URL'S host instead of InetAddress to Socket
1978         constructor.
1979         (disconnect): Documentation added.
1980         (getOutputStream): Rewrapped.
1981
1982 2003-12-01  Michael Koch  <konqueror@gmx.de>
1983
1984         * gnu/java/net/protocol/file/Connection.java
1985         (fileIn): Documentation added.
1986         (inputStream): Likewise.
1987         (outputStream): Likewise.
1988         (Connection): Likewise.
1989         (connect): Simplified.
1990
1991 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1992
1993         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
1994         setProperties): Check that io is not null before calling
1995         io.imageUpdate.
1996         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
1997         Update javadocs.
1998         * java/awt/image/PixelGrabber.java: Fix implementation and
1999         update javadocs.
2000
2001 2003-12-01  Michael Koch  <konqueror@gmx.de>
2002
2003         * gnu/java/net/natPlainSocketImplPosix.cc
2004         bind(): Dont set SockedImpl.address field on succesful bind.
2005         * gnu/java/net/natPlainSocketImplWin32.cc
2006         bind(): Likewise.
2007
2008 2003-11-30  Jeff Sturm <jsturm@one-point.com>
2009
2010         * java/net/InetAddress.java:
2011         (static): Don'f force DNS request for ANY_IF address.
2012
2013 2003-11-30  Michael Koch  <konqueror@gmx.de>
2014
2015         * java/net/InetAddress.java,
2016         java/net/natInetAddressNoNet.cc,
2017         java/net/natInetAddressPosix.cc,
2018         java/net/natInetAddressWin32.cc:
2019         Reverted my last patch.
2020
2021 2003-11-28  Michael Koch  <konqueror@gmx.de>
2022
2023         * java/net/InetAddress.java
2024         (lookup): New method that doesnt lookup "0.0.0.0".
2025         (ImplLookup): Renamed from lookup.
2026         * java/net/natInetAddressNoNet.cc
2027         (ImplLookup): Renamed from lookup.
2028         * java/net/natInetAddressPosix.cc
2029         (ImplLookup): Renamed from lookup.
2030         * java/net/natInetAddressWin32.cc
2031         (ImplLookup): Renamed from lookup.
2032
2033 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2034
2035         * configure: Rebuilt.
2036         * configure.in: Require gtk and glib 2.2.0.
2037
2038 2003-11-27  Dalibor Topic <robilad@kaffe.org>
2039
2040         * java/text/FieldPosition.java (equals): Adapted to handle
2041         field_attribute. Added fast-circuit check for comparison to self.
2042         Replaced use of instanceof by getClass to fix symmetry for derived
2043         types.
2044         (toString): Adapted to handle field_attribute. Improved readability.
2045         (hashCode): New method.
2046
2047 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
2048
2049         * java/text/FieldPosition.java (field_attribute): New field.
2050         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
2051         getFieldAttribute): New methods.
2052
2053 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
2054
2055         * java/text/DecimalFormatSymbols.java (locale): New field.
2056         (DecimalFormatSymbols (Locale)): Set locale.
2057         (serialVersionOnStream): Upgraded to number 2.
2058         (readObject): Assign locale if it wasn't by the serializer.
2059
2060 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
2061
2062         * java/text/FormatCharacterIterator.java: Documented the class and
2063
2064 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
2065
2066         * java/text/FormatCharacterIterator.java: Fixed some typos.
2067
2068 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
2069
2070         * java/text/NumberFormat.java:
2071         (getIntegerInstance) Added the java version in the comments.
2072
2073 2003-11-27  Mark Wielaard  <mark@klomp.org>
2074
2075         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
2076         (readResolve): Reformat.
2077
2078 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
2079
2080         * java/text/NumberFormat.java
2081         (NumberFormat.Field): New implemented class to match Java 1.4. 
2082         (getIntegerInstance): Two new Java 1.4 methods.o
2083
2084 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
2085
2086         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
2087         the leap day of the leap year twice.
2088         (computeFields): First week of month is 1 not 0.
2089
2090 2003-11-27  Mark Wielaard  <mark@klomp.org>
2091
2092         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
2093         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
2094
2095 2003-11-27  Michael Koch  <konqueror@gmx.de>
2096
2097         * javax/swing/UIDefaults.java:
2098         Reformated to match classpath's version.
2099
2100 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
2101
2102         * javax/swing/UIManager.java (getDefaults, getDimension,
2103         getIcon, getInsets, getInstalledLookAndFeels, getInt,
2104         getLookAndFeel, getString, getSystemLookAndFeelClassName):
2105         Declare as public.
2106
2107 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2108
2109         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
2110         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
2111         isSignificant): Likewise.
2112
2113 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2114
2115         * javax/swing/undo/CompoundEdit.java: Re-format, document.
2116         (inProgress): Set initial value to true.
2117         (undo, redo, die, canUndo, canRedo): Also call inherited
2118         implementation; simplify code structure.
2119         (getPresentationName, getUndoPresentationName,
2120         getRedoPresentationName): Make behavior dependent on lastEdit.
2121         (addEdit, isSignificant): Completely re-written.
2122
2123 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2124
2125         * javax/swing/undo/StateEdit.java: Re-format, document.
2126         (undo, redo): Also call inherited implementation.
2127
2128 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2129
2130         * javax/swing/undo/StateEditable.java: Re-format, document.
2131
2132 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2133
2134         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
2135         (AbstractUndoableEdit): Initialize hasBeenDone to true.
2136         (canUndo, canRedo): Simplify.
2137         (getUndoPresentationName, getRedoPresentationName): Support
2138         localized message; call getPresentationName() only once.
2139
2140 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
2141
2142         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
2143         (ZipFile(File,int)): Likewise.
2144
2145 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
2146
2147         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
2148         (putAllInternal): Likewise.
2149         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
2150         (putAllInternal): Likewise.
2151
2152 2003-11-26  Michael Koch  <konqueror@gmx.de>
2153
2154         * java/net/URLStreamHandler.java
2155         (parseURL): Added comment in catch statement.
2156         (canonicalizeFilename): Add documentation.
2157         (sameURL): Completed documentation.
2158         (equals): Likewise.
2159         (hostsEqual): Likewise.
2160         (getDefaulPort): Likewise.
2161         (hashCode): Likewise.
2162         (toExternalForm): Likewise.
2163         (getHostName): Fix empty hostname check, completed documentation.
2164
2165 2003-11-26  Tom Tromey  <tromey@redhat.com>
2166
2167         * java/lang/natDouble.cc (parseDouble): Reverted patch of
2168         2003-11-13.
2169
2170 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
2171             Mark Wielaard  <mark@klomp.org>
2172
2173         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
2174         ('@' should be checked to distinguish port from userinfo).
2175         (toExternalForm): Add @ userInfo if necessary.
2176
2177
2178 2003-11-26  Michael Koch  <konqueror@gmx.de>
2179
2180         * java/net/DatagramSocket.java
2181         (DategramSocket, bind): Moved binding code from DatagramSocket
2182         constructor to bind method.
2183
2184 2003-11-26  Michael Koch  <konqueror@gmx.de>
2185
2186         * java/net/DatagramSocket.java
2187         (impl): Made private.
2188         (bound): New private member variable.
2189         (DatagramSocket): Fixed documentation, use getImpl().
2190         (getImpl): New package-private method.
2191         (isClosed): Use getImpl().
2192         (getLocalAddress): Completed documentation, use getImpl().
2193         (getLocalPort): Use getImpl().
2194         (getSoTimeout): Likewise.
2195         (setSoTimeout): Likewise.
2196         (getSendBufferSize): Likewise.
2197         (setSendBufferSize): Likewise.
2198         (getReceiveBufferSize): Likewise.
2199         (setReceiveBufferSize): Likewise.
2200         (connect): Likewise.
2201         (disconnect): Likewise.
2202         (receive): Likewise.
2203         (send): Likewise.
2204         (setReuseAddress): Likewise.
2205         (setTrafficClass): Likewise.
2206         (bind): Added message to exception.
2207         (isClosed): Completed documentation.
2208         (getChannel): Likewise.
2209         (connect): Added missing exception, refined exception message.
2210         (isBound): Completed documentation, just return bound.
2211         (isConnected): Completed documentation.
2212         (getRemoteSocketAddress): Likewise.
2213         (getReuseAddress): Completed documentation, use getImpl().
2214         (setSoBroadcast): Likewise.
2215         (getSoBroadcast): Likewise.
2216         (getTrafficClass): Likewise.
2217         (getLocalSocketAddress): Simplified.
2218         * java/net/MulticastSocket.java
2219         (MulticastSocket): Removed comment not applying anymore.
2220         (getInterface): Use getImpl().
2221         (getTTL): Likewise.
2222         (getTimeToLive): Likewise.
2223         (setInterface): Likewise.
2224         (setNetworkInterface): Likewise.
2225         (getNetworkInterface): Likewise.
2226         (setLoopback): Likewise.
2227         (getLoopback): Likewise.
2228         (setTTL): Likewise.
2229         (setTimeToLive): Likewise.
2230         (joinGroup): Likewise.
2231         (leaveGroup): Likewise.
2232         (send): Likewise.
2233
2234 2003-11-26  Michael Koch  <konqueror@gmx.de>
2235
2236         * java/net/Socket.java
2237         (implCreated): Dont set default value explicitely, added
2238         documentation.
2239         (inputShutdown): Likewise.
2240         (outputShutdown): Likewise.
2241         (bound): New private member variable.
2242         (bind): Set bound to true.
2243         (close): Set bound to false.
2244         (isBound): Return bound.
2245         * java/net/ServerSocket.java
2246         (bound): New private member variable.
2247         (bind): Set bound to true.
2248         (close): Set bound to false.
2249         (isBound): Return bound.
2250
2251 2003-11-26  Michael Koch  <konqueror@gmx.de>
2252
2253         * java/net/URL.java
2254         (URL): Fixed documentation to be HTML compliant.
2255         (getContent): Completed documentation.
2256         (getFile): Likewise.
2257         (getPath): Likewise.
2258         (getAuthority): Likewise.
2259         (getHost): Likewise.
2260         (getDefaultPort): Likewise.
2261         (getProtocol): Likewise.
2262         (hashCode): Likewise.
2263         (openConnection): Likewise.
2264         (openStream): Likewise.
2265         (set): Likewise.
2266         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
2267
2268 2003-11-26  Michael Koch  <konqueror@gmx.de>
2269
2270         * java/net/InetSocketAddress.java
2271         (hostname): Made private, added documentation.
2272         (addr): Likewise.
2273         (port): Likewise.
2274         (equals): Completed documentation.
2275         (getAddress): Likewise.
2276         (getHostName): Likewise.
2277         (getPort): Likewise.
2278         (hashCode): Likewise.
2279         (isUnresolved): Likewise.
2280         (toString): Likewise.
2281
2282 2003-11-26  Michael Koch  <konqueror@gmx.de>
2283
2284         * gnu/java/net/protocol/file/Handler.java
2285         (Handler): New explicit constructor.
2286         (openConnection): Added documentation.
2287         * gnu/java/net/protocol/jar/Handler.java
2288         (Handler): New explicit constructor.
2289         (openConnection): Added documentation.
2290
2291 2003-11-26  Michael Koch  <konqueror@gmx.de>
2292
2293         * java/net/DatagramPacket.java
2294         (DatagramPacket): Fixed documentation to become legal HTML.
2295
2296 2003-11-25  Michael Koch  <konqueror@gmx.de>
2297
2298         * gcj/javaprims.h: Added missing java.util.Currency.
2299
2300 2003-11-25  Michael Koch  <konqueror@gmx.de>
2301
2302         * testsuite/libjava.mauve/xfails:
2303         Removed these two tests, they mystically pass now:
2304         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
2305         test_params failed - 5getInetAddress did not return proper values
2306         (number 1)
2307         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
2308         test_BasicServer failed - 11 exception was thrown :Illegal seek
2309         (number 1)
2310
2311 2003-11-25  Michael Koch  <konqueror@gmx.de>
2312
2313         * java/net/DatagramSocket.java
2314         (factory): Made private.
2315         (closed): Removed.
2316         (DatagramSocket): Check impl argument, use constructor with
2317         SocketAddress argument.
2318         (close): Set impl to null, use isClosed().
2319         (isClosed): Check for impl == null.
2320         (getLocalAddress): Use isClosed().
2321         (getLocalPort): Check if socket is closed.
2322         (getSoTimeout): Likewise.
2323         (setSoTimeout): Likewise.
2324         (getSendBufferSize): Likewise.
2325         (setSendBufferSize): Likewise.
2326         (getReceiveBufferSize): Likewise.
2327         (setReceiveBufferSize): Likewise.
2328         (receive): Likewise.
2329         (send): Likewise.
2330         (bind): Likewise.
2331         (connect): Likewise.
2332         (setReuseAddress): Likewise.
2333         (getReuseAddress): Likewise.
2334         (setBroadcast): Likewise.
2335         (getBroadcast): Likewise.
2336         (setTrafficClass): Likewise.
2337         (getTrafficClass): Likewise.
2338         * java/net/MulticastSocket.java
2339         (getInterface): Check if socket is closed.
2340         (getTTL): Likewise.
2341         (getTimeToLive): Likewise.
2342         (setInterface): Likewise.
2343         (setNetworkInterface): Likewise.
2344         (getNetworkInterface): Likewise.
2345         (setLoopbackMode): Likewise.
2346         (setTTL): Likewise.
2347         (setTimeToLive): Likewise.
2348         (joinGroup): Likewise.
2349         (leaveGroup): Likewise.
2350         (send): Likewise.
2351         * java/net/ServerSocket.java
2352         (closed): Removed.
2353         (close): Check if socket is closed, set impl to null.
2354         (isClosed): Check impl == null;
2355         (ServerSocket): Check impl argument.
2356         (getInetAddress): Check if socket is bound.
2357         (getLocalPort): Likewise.
2358         (getLocalSocketAddress): Likewise.
2359         (bind): Check if socket is closed.
2360         (implAccept): Likewise.
2361         (setSoTimeout): Likewise.
2362         (getSoTimeout): Likewise.
2363         (setReuseAddress): Likewise.
2364         (getReuseAddress): Likewise.
2365         (setReceiveBufferSize): Likewise.
2366         (getReceiveBufferSize): Likewise.
2367         (toString): Make output compliant to JDK 1.4.2.
2368         * java/net/Socket.java
2369         (closed): Removed.
2370         (Socket): Fixed documentation.
2371         (connect): Check if socket is closed, changed exception text,
2372         fixed documentation.
2373         (getInputStream): Check of socket is closed  and connected.
2374         (getOutputStream): Likewise.
2375         (bind): Check if socket is closed.
2376         (setTcpNoDelay): Likewise.
2377         (getTcpNoDelay): Likewise.
2378         (setSoLinger): Likewise.
2379         (getSoLinger): Likewise.
2380         (sendUrgentData): Likewise.
2381         (setOOBInline): Likewise.
2382         (getOOBInline): Likewise.
2383         (setSoTimeout): Likewise.
2384         (getSoTimeout): Likewise.
2385         (setSendBufferSize): Likewise.
2386         (getSendBufferSize): Likewise.
2387         (setReceiveBufferSize): Likewise.
2388         (getReceiveBufferSize): Likewise.
2389         (setKeepAlive): Likewise.
2390         (getKeepAlive): Likewise.
2391         (close): Likewise.
2392         (shutdownInput): Likewise.
2393         (shutdownOutput): Likewise.
2394         (getReuseAddress): Likewise.
2395         (getTrafficClass): Likewise.
2396         (setTrafficClass): Likewise.
2397         (isClosed): Check impl == null.
2398         (toString): Added missing ']'.
2399
2400 2003-11-24  Tom Tromey  <tromey@redhat.com>
2401
2402         * Makefile.in: Rebuilt.
2403         * Makefile.am (propdir): New macro.
2404         (install-data-local): Install logging.properties.
2405         (core_java_source_files): Added java.util.logging.*.
2406         * java/util/logging/logging.properties: New file.
2407
2408 2003-11-25  Michael Koch  <konqueror@gmx.de>
2409
2410         * java/net/DatagramSocket.java
2411         (DatagramSocket): Move binding code to bind(), simplify constructors.
2412         * java/net/MulticastSocket.java
2413         (MulticastSocket): Call parent constructor with null argument,
2414         bind socket after setReuseAddress is called, simplify constructors.
2415
2416 2003-11-24  Michael Koch  <konqueror@gmx.de>
2417
2418         * javax/swing/BoxLayout.java
2419         (serialVersionUIR): New member variable.
2420         (X_AXIS, Y_AXIS): Documentation added.
2421         (LINE_AXIS, PAGE_AXIS): New constants.
2422         (grid): Renamed from gridbag.
2423         (BoxLayout): Use new constants, throw exception if invalid value for
2424         way, added documentation.
2425         (BoxLayout): Removed.
2426         (addLayoutComponent): Use new constants, added documentation.
2427         (removeLayoutComponent): Likewise.
2428         (addLayoutContainer): Added documentation.
2429         (preferredLayoutSize): Added documentation, check given argument.
2430         (minimumLayoutSize): Likewise.
2431         (layoutContainer): Likewise.
2432         (getLayoutAlignmentX): Likewise.
2433         (getLayoutAlignmentY): Likewise.
2434         (invalidateLayout): Likewise.
2435         (maximumLayoutSize): Likewise.
2436
2437 2003-11-22  Michael Koch  <konqueror@gmx.de>
2438
2439         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2440         (peekData): Use offset and maximal free space in datagram packet.
2441         (receive): Likewise.
2442         (send): Use offset in datagram packet.
2443
2444 2003-11-22  Michael Koch  <konqueror@gmx.de>
2445
2446         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2447         (peekData): Use offset and maximal free space in datagram packet.
2448         (receive): Likewise.
2449         (send): Use offset in datagram packet.
2450
2451 2003-11-22  Michael Koch  <konqueror@gmx.de>
2452
2453         * gnu/java/nio/DatagramChannelImpl.java
2454         (getNativeFD): Use getPlainDatagramSocketImpl().
2455         * gnu/java/nio/NIODatagramSocket.java
2456         (getPlainDatagramSocketImpl): Renamed from getImpl().
2457         * gnu/java/nio/NIOSocket.java
2458         (getPlainSocketImpl): Renamed from getImpl().
2459         (setChannel): Use getPlainSocketImpl().
2460         * gnu/java/nio/SocketChannelImpl.java
2461         (SocketChannelImpl): Use getPlainSocketImpl().
2462         (getPlainSocketImpl): Renamed from getImpl().
2463         (getNativeFD): Use getPlainSocketImpl().
2464
2465 2003-11-18  Graydon Hoare  <graydon@redhat.com>
2466
2467         * javax/swing/JLayeredPane.java: Implement.
2468         * javax/swing/JFrame.java (getContentPane): Make public
2469         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
2470         Use JLayeredPane.FRAME_CONTENT_LAYER.
2471
2472 2003-11-21  Mark Wielaard  <mark@klomp.org>
2473
2474         * java/lang/Float.java (static): Removed.
2475
2476 2003-11-18  Graydon Hoare  <graydon@redhat.com>
2477
2478         * java/awt/font/TextLayout.java: Implement simple layouts
2479         using attributed strings and glyph vectors.
2480
2481 2003-11-17  Graydon Hoare  <graydon@redhat.com>
2482
2483         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
2484         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
2485         (GdkFontLineMetrics): New inner class.
2486         (getLineMetrics): Return new GdkFontLineMetrics.
2487         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
2488         (layoutGlyphVector): Create GdkGlyphVector.
2489         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
2490         (GdkGraphics2D): Initialize state via mathod calls.
2491         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
2492         (cairoTranslate, cairoScale, cairoRotate): Remove.
2493         (various methods): use setTransform for special transform cases.
2494         (DrawState): New inner class.
2495         (stateSave): New method.
2496         (stateRestore): New method.
2497         (various methods): use stateSave, stateRestore.
2498         (getClipInDevSpace): New method.
2499         (clip, clipRect, setClip, getClip, getClipBounds): 
2500         Follow spec more closely.
2501         (getTransform): Return clone of transform.
2502         (setStroke): Set linewidth to passed width / 2.0.
2503         (setPaintMode): Set SrcOver rather than Xor.
2504         (setColor): Set paint to passed color.
2505         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
2506         transform from image to user space.
2507         (drawRenderedImage, drawRenderableImage): Implement.
2508         (getFontRenderContext, getFontMetrics, drawString, getFont): 
2509         Implement
2510         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
2511         Implement.
2512         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
2513         Match changes to java side.
2514         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
2515         Release resources.
2516         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
2517         Don't use pango for metrics.
2518         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
2519         New file.
2520
2521 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
2522             Jim Pick  <jim@kaffe.org>
2523
2524         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
2525         methods.
2526
2527 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
2528
2529         * java/text/DecimalFormatSymbols.java (getCurrency,
2530         setCurrency): New methods.
2531
2532 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
2533
2534         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
2535         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
2536         Describe how the implementation works.
2537
2538 2003-11-19  Michael Koch  <konqueror@gmx.de>
2539
2540         * java/net/Socket.java
2541         (implCreated): New variable that indicates created impl.
2542         (getImpl): New method.
2543         (toString): Return more SUN compliant string representation.
2544         (various): Use getImpl() instead of impl.
2545
2546 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
2547
2548         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
2549         the right libgcc. Add -multiply_defined suppress and -bind_at_load
2550         flags.
2551
2552 2003-11-18  Tom Tromey  <tromey@redhat.com>
2553
2554         PR libgcj/13026:
2555         * verify.cc (state::copy): Only set local_changed if we're in a
2556         subroutine.  Correctly copy local variables which were modified
2557         by the subroutine.
2558         (push_jump_merge): Added more debugging output.
2559
2560         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
2561         is null.
2562
2563 2003-11-17  Graydon Hoare  <graydon@redhat.com>
2564
2565         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
2566         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
2567
2568 2003-11-16  Tom Tromey  <tromey@redhat.com>
2569
2570         PR libgcj/13062:
2571         * java/io/StreamTokenizer.java (commentChar): Clear other
2572         attributes for character.
2573         (quoteChar): Likewise.
2574
2575 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
2576
2577         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
2578         zero-length int arrays when layoutInfo is null.
2579         (getLayoutWeights): Return array of two zero-length double arrays when
2580         layoutInfo is null.
2581
2582 2003-11-13  Tom Tromey  <tromey@redhat.com>
2583
2584         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
2585         JvGetStringUTFRegion.
2586         * java/lang/natPosixProcess.cc (new_string): Pass length of string
2587         to JvGetStringUTFRegion.
2588         * java/lang/natDouble.cc (parseDouble): Pass length of string to
2589         JvGetStringUTFRegion.
2590         * java/lang/natWin32Process.cc (startProcess): Pass length of
2591         string to JvGetStringUTFRegion.
2592         * java/lang/natClass.cc (forName): Pass length of string to
2593         JvGetStringUTFRegion.
2594         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
2595         of string to JvGetStringUTFRegion.
2596         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
2597         JvGetStringUTFRegion.
2598         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
2599         to JvGetStringUTFRegion.
2600         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
2601         string to JvGetStringUTFRegion.
2602
2603 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
2604
2605         * gnu/java/nio/natSelectorImplPosix.cc
2606         (helper_put_filedescriptors): Change to static linkage.
2607         (helper_get_filedescriptors): Likewise.
2608
2609 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
2610
2611         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
2612         null check.
2613         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
2614         * java/awt/Component.java (prepareImage): Likewise.
2615
2616         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
2617         Rename to nativeSetAlignment.
2618
2619 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
2620
2621         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
2622         (JNI_GetCreatedJavaVMs): Likewise.
2623         (JNI_GetDefaultJavaVMInitArgs): Likewise.
2624         * include/jni.h (JNIIMPEXP): Remove definition
2625         and replace with...
2626         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
2627         symbols,
2628         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
2629
2630 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2631
2632         * Makefile.am: Add GdkPixbufDecoder.java and
2633         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
2634         * Makefile.in: Regenerate.
2635         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
2636         New constructor.
2637         (startProduction): Create ByteArrayInputStream when url and filename are
2638         null.
2639         (produce): Declare stream parameter as InputStream.
2640         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
2641         as InputStream.
2642         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
2643         (GdkPixbufDecoder(byte[],int,int)): New constructor.
2644         (produce): Declare stream parameter as InputStream.
2645         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
2646         if image is null.  Set image's observer before running PrepareImage
2647         thread.  Pass image to startProduction.
2648         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
2649         source's member functions.
2650         (observer): New field.
2651         (setObserver): New method.
2652         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
2653         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
2654         new GtkImage.
2655         (prepareImage): Implement.
2656         * java/awt/Component.java: Add static fields incrementalDraw and
2657         redrawRate.
2658         (imageUpdate): Implement.
2659         (createImage): Call Toolkit's createImage if peer is null.
2660         (prepareImage): Throw NPE if image is null.
2661         * java/awt/MediaTracker.java: Fix return value.
2662
2663 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2664
2665         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
2666         (create(String, float)): New method.
2667         (setText): Make native.
2668         (nativeSetAlignment): New method.
2669         (setAlignment): Call nativeSetAlignment.
2670         (getArgs): Remove method.
2671         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2672         (find_fg_color_widget, find_bg_color_widget): New functions.
2673         (gtkWidgetSetForeground): Call find_fg_color_widget.
2674         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
2675         prelight colors.
2676         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
2677         widget in event box.
2678         (setText, setAlignment): Implement new native methods.
2679
2680 2003-11-11  Michael Koch  <konqueror@gmx.de>
2681
2682         * java/awt/Font.java,
2683         java/awt/datatransfer/DataFlavor.java,
2684         java/math/BigInteger.java,
2685         java/net/Inet4Address.java,
2686         java/net/Inet6Address.java,
2687         java/rmi/MarshalledObject.java,
2688         java/rmi/server/RMIClassLoader.java,
2689         java/security/cert/CertStore.java,
2690         java/sql/Timestamp.java,
2691         java/text/SimpleDateFormat.java,
2692         javax/naming/CompoundName.java:
2693         Removed some redundant obj == null checks.
2694
2695 2003-11-11  Michael Koch  <konqueror@gmx.de>
2696
2697         * java/nio/ByteBuffer.java
2698         (equals): Remove redundant obj == null check.
2699
2700 2003-11-11  Michael Koch  <konqueror@gmx.de>
2701
2702         * gnu/java/nio/natPipeImpl.cc,
2703         gnu/java/nio/natSelectorImpl.cc: Removed
2704         * gnu/java/nio/natPipeImplEcos.cc,
2705         gnu/java/nio/natPipeImplPosix.cc,
2706         gnu/java/nio/natPipeImplWin32.cc,
2707         gnu/java/nio/natSelectorImplEcos.cc,
2708         gnu/java/nio/natSelectorImplPosix.cc,
2709         gnu/java/nio/natSelectorImplWin32.cc: New files
2710         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
2711         gnu/java/nio/natSelectorImpl.cc
2712         * configure: Regenerated.
2713
2714 2003-11-11  Micheal Koch  <konqueror@gmx.de>
2715
2716         * java/net/URLStreamHandler.java (toExternalForm): Print port only
2717         if host is printed too and port was really given to URL.
2718
2719 2003-11-10  Gary Benson  <gbenson@redhat.com>
2720
2721         * java/sql/Timestamp.java (valueOf): Correctly handle
2722         nanoseconds.
2723
2724 2003-11-09  Tom Tromey  <tromey@redhat.com>
2725
2726         * java/net/Inet4Address.java (serialVersionUID): Updated.
2727
2728 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2729
2730         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
2731         New fields.
2732
2733 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2734
2735         * java/io/ByteArrayOutputStream.java (resize):
2736         Fix off-by-one error.
2737
2738 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
2739
2740         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
2741         public.
2742
2743 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2744
2745         PR libgcj/12231
2746         * java/lang/Win32Process.java (hasExited) Changed from
2747         public to private.
2748         (startProcess): Likewise.
2749         (cleanup): Likewise.
2750         * java/lang/natWin32Process.cc (cleanup) Don't close
2751         input, output and error streams.
2752         (ChildProcessPipe): New helper class.
2753         (startProcess): Refactored to use ChildProcessPipe.
2754         Use CREATE_NO_WINDOW when launching child process.
2755
2756 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2757
2758         * include/win32.h (_Jv_platform_close_on_exec): Changed
2759         signature and declared extern.
2760         * win32.cc (_Jv_platform_close_on_exec): Implemented.
2761         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2762         (create): Use new signature of _Jv_platform_close_on_exec.
2763         * gnu/java/net/natPlainSocketImplWin32.cc 
2764         (create): Eliminated a few typecasts
2765         Use new signature of _Jv_platform_close_on_exec.
2766         (accept): Eliminated a few typecasts
2767         Use new signature of _Jv_platform_close_on_exec.
2768         * java/io/natFileDescriptorWin32.cc (open): Use
2769         _Jv_platform_close_on_exec.
2770
2771 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
2772
2773         * java/lang/natClass.cc (newInstance): Throw InstantiationException
2774         if class has no null-argument constructor.
2775
2776 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2777
2778         PR libgcj/12647:
2779         * win32-threads.cc (_Jv_CondWait): Respect mutex's
2780         refcount when releasing and reacquiring it.
2781
2782 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2783
2784         * win32.cc: (dirExists) Internal helper function to
2785         test for directory existence.
2786         (getUserHome) New helper function refactored out
2787         of _Jv_platform_initProperties. Uses USERPROFILE
2788         instead of HOMEDIR and attempts to support Win9X and NT.
2789         (_Jv_platform_initProperties) Use getUserHome.
2790
2791 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2792
2793         PR libgcj/11521:
2794         * gnu/java/net/natPlainSocketImplWin32.cc
2795         (bind): Don't use SO_REUSEADDR
2796
2797 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2798
2799         PR libgcj/6652:
2800         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
2801
2802 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
2803
2804         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
2805         dispatch for final methods.
2806
2807 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2808
2809         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
2810         word wrapping.
2811
2812 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
2813
2814         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
2815         scrolled window's size request.
2816
2817 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2818
2819         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
2820         * java/awt/geom/QuadCurve2D.java: Likewise.
2821
2822 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2823
2824         * java/awt/geom/CubicCurve2D.java: Added documentation.
2825         * java/awt/geom/QuadCurve2D.java: Likewise.
2826
2827         * java/awt/geom/doc-files/QuadCurve2D-4.png,
2828         java/awt/geom/doc-files/QuadCurve2D-5.png,
2829         java/awt/geom/doc-files/CubicCurve2D-4.png,
2830         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
2831
2832 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2833
2834         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
2835         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
2836         (subdivide(double[],int,double[],int,double[],int)): Implement.
2837
2838 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2839
2840         * java/awt/geom/doc-files/CubicCurve2D-1.png,
2841         java/awt/geom/doc-files/CubicCurve2D-2.png,
2842         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
2843
2844 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
2845
2846         * java/text/DecimalFormat.java
2847         (scanFormat) corrected so that '%' may appear in a pattern.
2848
2849 2003-10-29  Mark Wielaard  <mark@klomp.org>
2850
2851         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
2852         * java/text/DateFormat.java (Field): New public static inner class.
2853         * java/text/Format.java (Field): Likewise.
2854         (formatToCharacterIterator): New method.
2855         * java/text/FormatCharacterIterator.java: New file.
2856
2857 2003-10-29  Mark Wielaard  <mark@klomp.org>
2858
2859         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
2860         * java/util/Currency.java: New file.
2861
2862 2003-10-29  Michael Koch  <konqueror@gmx.de>
2863
2864         * Makefile.am (ordinary_java_source_files): Added
2865         java/text/FormatCharacterIterator.java and java/util/Currency.java.
2866         * Makefile.in: Regenerated.
2867
2868 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
2869
2870         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
2871         static methods.
2872
2873 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
2874
2875         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
2876         getObjectInstance() with Object, Name, Context and environment
2877         Hashtable from exception. Call fillInStackTrace() on exception when
2878         rethrown.
2879         * javax/naming/InitialContext.java (lookup(Name)): When a
2880         CannotProceedException is thrown use the ContinuationContext.
2881         (lookup(String)): Likewise.
2882         (close): Clear myProps and defaultInitCtx.
2883
2884 2003-10-29  Michael Koch  <konqueror@gmx.de>
2885
2886         * java/net/InetAddress.java
2887         (equals): Remove redundant obj == null check.
2888         * java/net/SocketPermission.java
2889         (equals): Likewise.
2890         * java/net/URL.java
2891         (equals): Likewise.
2892         (getURLStreamHandler): Likewise.
2893
2894 2003-10-29  Michael Koch  <konqueror@gmx.de>
2895
2896         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2897         (setOption): Directly return if no error occured.
2898         * gnu/java/net/natPlainSocketImplPosix.cc
2899         (setOption): Likewise.
2900
2901 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2902
2903         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
2904         vtable slot for final methods. Add FIXME comment.
2905
2906 2003-10-28  David S. Miller  <davem@redhat.com>
2907
2908         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
2909
2910 2003-10-26  Mark Wielaard  <mark@klomp.org>
2911
2912         Reported by Helmer Kraemer <hkraemer@freenet.de>
2913         * java/util/jar/JarInputStream.java (readManifest): Don't call
2914         closeEntry().
2915
2916         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
2917         (finish): Use inbufWrite().
2918         (write(int)): Likewise.
2919         (write(byte[],int,int)): Likewise.
2920
2921 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2922
2923         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
2924         Don't check for AccessibleObject. Update javadocs.
2925         
2926         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
2927
2928 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2929
2930         * java/lang/reflect/Constructor.java (toString): Avoid extra 
2931         whitespace on constructor with no modifiers.
2932         * java/lang/reflect/natConstructor.java (newInstance): Look up
2933         caller and perform accessibility check only if constructor is
2934         non-public and accessible flag is not set.
2935
2936 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2937
2938         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
2939         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
2940         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
2941         is_virtual_call argument.
2942         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
2943         natClass.cc.
2944         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
2945         _Jv_isVirtualMethod.
2946         * java/lang/reflect/natMethod.cc (invoke): Don't use 
2947         _Jv_LookupDeclaredMethod.
2948         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
2949         look up method in target object's vtable.
2950
2951 2003-10-25  Graydon Hoare  <graydon@redhat.com>
2952
2953         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
2954         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
2955         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
2956         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2957         New concrete implementation of ClasspathFontPeer, with native part.
2958         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2959         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2960         New class, with native part.
2961         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2962         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2963         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
2964
2965 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2966
2967         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
2968         on method with no modifiers.
2969
2970 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2971
2972         PR libgcj/11780:
2973         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
2974         accessibility check only if target is non-public and accessible flag
2975         is not set.
2976         * java/lang/reflect/natField.cc (getAddr): Likewise.
2977
2978 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
2979
2980         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
2981         Remove method.
2982         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
2983         New method.
2984         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
2985         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
2986         (dispose): Post WINDOW_CLOSED event.
2987         (addWindowFocusListener, addWindowStateListener): Assign result
2988         of multicaster add back to window listener.
2989         (removeWindowFocusListener, removeWindowStateListener): Assign
2990         result of multicaster remove back to window listener.
2991         (dispatchEventImpl): Add null checks for focus and state
2992         listeners.
2993         (processWindowEvent): Handle case where windowListener is null
2994         but state or focus listeners exist.
2995         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2996         glue for postWindowEvent.
2997         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2998         (window_delete_cb, window_destroy_cb, window_show_cb,
2999         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
3000         window_get_new_state): New functions.
3001         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
3002         macros.  Declare postWindowEventID.
3003
3004 2003-10-24  Anthony Green  <green@redhat.com>
3005
3006         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
3007         we have no interpreter.
3008
3009 2003-10-22  Andrew Haley  <aph@redhat.com>
3010
3011         * java/lang/natClass.cc (initializeClass): Call
3012         _Jv_linkExceptionClassTable.
3013         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
3014         _Jv_Defer_Resolution on a method whose ncode is NULL.
3015         (_Jv_linkExceptionClassTable): New function.
3016         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
3017         entry, look it up.
3018         * java/lang/Class.h (struct _Jv_CatchClass): New.
3019         (_Jv_linkExceptionClassTable): New friend.
3020         (_Jv_Defer_Resolution): New friend.
3021         (class Class.catch_classes): New field.
3022         * include/java-interp.h (Jv_Defer_Resolution): New method.
3023         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
3024         (_Jv_MethodBase.deferred): New field.
3025         (_Jv_Defer_Resolution): New function.
3026         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
3027         * exception.cc (get_ttype_entry): Change return type to void**.
3028         (PERSONALITY_FUNCTION): Remove all code related to using a
3029         Utf8Const* for a match type.  Change match type to be a pointer to
3030         a pointer, rather than a pointer to a Class.
3031         * defineclass.cc (handleCodeAttribute): Initialize
3032         method->deferred.
3033         (handleMethodsEnd): Likewise.
3034
3035 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3036
3037         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
3038         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
3039
3040 2003-10-22  Tom Tromey  <tromey@redhat.com>
3041
3042         PR libgcj/12416:
3043         * java/lang/Class.h: Updated.
3044         * java/lang/natClass.cc (_getFields): Removed.
3045         (getFields): Likewise.
3046         (getDeclaredFields): Added `public_only' parameter.
3047         * java/lang/Class.java (getFields): Now implemented in java; from
3048         Classpath.
3049         (getDeclaredFields): Likewise.
3050         (getDeclaredFields(boolean)): Declare.
3051         (_getFields): Removed.
3052         (internalGetFields): New method, from Classpath.
3053
3054         PR libgcj/12656:
3055         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
3056         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
3057
3058 2003-10-22  David Daney  <ddaney@avtrex.com)
3059
3060         * include/mips-signal.h: New file.
3061         * sysdep/dwarf2-backtrace.cc: New file.
3062         * sysdep/mips: New directory.
3063         * sysdep/mips/locks.h: New file.
3064         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
3065         added to libgcj.
3066         (extra_cc_source_files): Ditto.
3067         * configure.host(disable_dladdr):  New shell variable passed to
3068         configure.
3069         (mips*-*-linux*): sysdeps_dir=mips,
3070         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
3071         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
3072         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
3073         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
3074         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
3075         (EXTRA_CC_FILES): New, to support conditional addition of
3076         sysdep/dwarf2-backtrace.cc.
3077         * configure: Regenerated.
3078         * Makefile.in: Regenerated.
3079         * gcj/Makefile.in: Regenerated.
3080         * include/config.h.in: Regenerated.
3081         * include/Makefile.in: Regenerated.
3082         * testsuite/Makefile.in: Regenerated.
3083         
3084 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
3085
3086         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
3087         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
3088
3089 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
3090
3091         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
3092         * java/awt/geom/doc-files: New directory.
3093         * java/awt/geom/doc-files/QuadCurve2D-1.png,
3094         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
3095         
3096 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
3097
3098         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
3099
3100 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
3101
3102         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
3103
3104 2003-10-22  Michael Koch  <konqueror@gmx.de>
3105
3106         * java/io/File.java
3107         (equals): Removed redundant obj == null check.
3108         (createTempFile): Merged comments from classpath.
3109
3110 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
3111
3112         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
3113         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
3114         (error): Synchronize on instance, not class.
3115
3116 2003-10-21  Mark Wielaard  <mark@klomp.org>
3117
3118         Reported by M.Negovanovic
3119         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
3120         method.
3121         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
3122
3123 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
3124
3125         Fix for Classpath bug #6076.
3126         * java/awt/geom/GeneralPath.java (append): Re-written.
3127
3128 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
3129
3130         Fix for Classpath bug #6089.
3131         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
3132         (getPathIterator, GeneralPathIterator): Re-written from scratch.
3133
3134 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
3135
3136         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
3137         point, not start of subpath.  Fixes Classpath bug #6075.
3138
3139 2003-10-21  Michael Koch  <konqueror@gmx.de>
3140
3141         * java/nio/ByteOrder.java,
3142         java/nio/DirectByteBufferImpl.java,
3143         java/nio/channels/FileChannelImpl.java:
3144         Add code to load library with code for native methods if needed.
3145
3146 2003-10-21  Michael Koch  <konqueror@gmx.de>
3147
3148         * gnu/java/net/PlainDatagramSocketImpl.java,
3149         gnu/java/net/PlainSocketImpl.java,
3150         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
3151         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
3152         gnu/java/net/natPlainSocketImplPosix.cc,
3153         gnu/java/net/natPlainSocketImplWin32.cc:
3154         Renamed fnum to native_fd to match classpath more.
3155
3156 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
3157
3158         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
3159         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
3160         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
3161         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
3162         _Jv_PthreadCheckMonitor.  Simplify code.
3163         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
3164         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
3165         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
3166         * java/lang/Thread.java (holdsLock): New.
3167         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
3168         without JV_HASH_SYNCHRONIZATION.
3169         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
3170
3171 2003-10-20  Michael Koch  <konqueror@gmx.de>
3172
3173         * java/text/RuleBasedCollator.java
3174         (RuleBasedCollator): Check rules not empty, fixed search in already
3175         existing collation elements.
3176         (is_special): Removed common whitespace characters.
3177         (text_argument): Dont return on whitespaces, add characters between
3178         two ' to string buffer.
3179
3180 2003-10-18  Michael Koch  <konqueror@gmx.de>
3181
3182         * gnu/java/net/protocol/file/Connection.java,
3183         gnu/java/net/protocol/file/Handler.java,
3184         gnu/java/net/protocol/http/Connection.java,
3185         gnu/java/net/protocol/http/Handler.java,
3186         gnu/java/net/protocol/jar/Connection.java,
3187         gnu/java/net/protocol/jar/Handler.java:
3188         Merged copyright text from classpath to make
3189         it possible to merge the classes.
3190
3191 2003-10-18  Mark Wielaard  <mark@klomp.org>
3192
3193         Reported by M.Negovanovic
3194         * java/beans/IndexedPropertyDescriptor.java
3195         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
3196
3197 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
3198
3199         * win32.cc (_Jv_pipe): Implemented.
3200         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
3201         _Jv_pipe instead of ::pipe.
3202         * include/posix.h (_Jv_pipe): New inline.
3203         * include/win32.h (_Jv_pipe): New declaration.
3204         
3205 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
3206
3207         * java/lang/StringBuffer.java (getChars): Fix array index checks.
3208         (append, substring, insert): Likewise.
3209         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
3210         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
3211         
3212 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
3213
3214         * java/lang/natString.cc (getChars):
3215         Fix validation of array indexes.
3216         (getBytes, regionMatches, startsWith, valueOf): Likewise.
3217         * testsuite/libjava.lang/String_overflow.java: New file.
3218         * testsuite/libjava.lang/String_overflow.out: New file.
3219
3220 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
3221
3222         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
3223         overflow a jint.
3224         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
3225         check for overflowing size_t, since the lower level functions
3226         take a jint.
3227         * testsuite/libjava.lang/newarray_overflow.java:  New file.
3228         * testsuite/libjava.lang/newarray_overflow.out:  New file.
3229         
3230 2003-10-15  Michael Koch  <konqueror@gmx.de>
3231
3232         * java/text/RuleBasedCollator.java
3233         (RuleBasedCollator): Moved around, documentation added.
3234         (compare): Documentation added.
3235         (equals): Likewise.
3236         (getCollationElementIterator): Likewise.
3237         (getCollationKey): Likewise.
3238         (getRules): Likewise.
3239         (hashCode): Likewise.
3240
3241 2003-10-15  Michael Koch  <konqueror@gmx.de>
3242
3243         * java/text/RuleBasedCollator.java
3244         (CollationElement): Renamed from RBCElement and moved into
3245         RuledBasedCollator as inner class.
3246
3247 2003-10-15  Michael Koch  <konqueror@gmx.de>
3248
3249         * java/text/CollationElementIterator.java
3250         (CollationElementIterator): Moved, documenatation added, call setText.
3251         (next): Reformated.
3252         (reset): Reformated.
3253         (setText): New method.
3254         (getOffset): New method.
3255         * java/text/CollationKey.java
3256         (getSourceString): Reformated.
3257         (hashCode): Reformated.
3258         (toByteArray): Reformated.
3259
3260 2003-10-15  Michael Koch  <konqueror@gmx.de>
3261
3262         * java/util/zip/InflaterInputStream.java
3263         (InflaterInputStream): Renamed infl to inf and bufsize to size,
3264         added description to exception, check for inf == null and size < 0.
3265
3266 2003-10-15  Michael Koch  <konqueror@gmx.de>
3267
3268         * java/text/AttributedCharacterIterator.java,
3269         java/text/CharacterIterator.java: Reformated.
3270
3271 2003-10-15  Michael Koch  <konqueror@gmx.de>
3272
3273         * javax/swing/UIDefaults.java (putDefaults):
3274         Readded accidently removed "public" modifier.
3275
3276 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
3277
3278         * interpret.cc (_Jv_InterpMethod::run): Don't
3279         use libffi types, they were meant to be internal.
3280         * gcj/javaprims.h (_Jv_ulong): New typedef.
3281
3282 2003-10-13  Tom Tromey  <tromey@redhat.com>
3283
3284         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
3285         (defineClass): Updated.
3286         (_Jv_NewClass): Likewise.
3287         * prims.cc (_Jv_InitPrimClass): Don't call
3288         _Jv_InitNewClassFields.
3289
3290 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
3291
3292         PR libgcj/12592
3293         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
3294         not just \n.
3295
3296 2003-10-13  Michael Koch  <konqueror@gmx.de>
3297
3298         * java/io/File.java: Reformated.
3299         (equals): Check for obj == null.
3300
3301 2003-10-13  Michael Koch  <konqueror@gmx.de>
3302
3303         * java/net/JarURLConnection.java
3304         (jarFileURL): Added dcoumentation.
3305         (jarFileURLConnection): Reformated documentation.
3306         (entryName): Renamed from "element", documentation rewritten.
3307         (connectionCache): Renamed from "conn_cache", documentation
3308         reformated.
3309         (JarURLConnection): Check URL protocol.
3310         (getEntryName): Use entryName.
3311         (connect): Use connectionCache.
3312         (getInputStream): Use entryName, fixed comment.
3313         (getJarEntry): Use entryName.
3314         (getHeaders): Use entryName.
3315         * java/net/URLConnection.java
3316         (addRequestProperty): Fixed documentation.
3317         (setDefaultRequestProptery): Added comment that it does nothing since
3318         JDK 1.3.
3319         (getDefaultRequestProperty): Likewise.
3320
3321 2003-10-13  Michael Koch  <konqueror@gmx.de>
3322
3323         * java/net/java/net/URLStreamHandlerFactory.java
3324         (createURLStreamHandler): Removed redundant "public" modifier.
3325         * java/sql/DatabaseMetaData.java:
3326         (DatabaseMetaData):  Readded accidently removed "public" modifier.
3327         * java/sql/ParameterMetaData.java:
3328         (ParameterMetaData): Readded accidently removed "public" modifier.
3329         * java/sql/PreparedStatement.java:
3330         (PreparedStatement): Readded accidently removed "public" modifier.
3331         * java/sql/Ref.java:
3332         (Ref): Readded accidently removed "public" modifier.
3333
3334 2003-10-13  Michael Koch  <konqueror@gmx.de>
3335
3336         * java/nio/Buffer.java
3337         (hasRemaining): Made implementation more clear.
3338         * java/nio/MappedByteBuffer.java
3339         (loaded): New member variable.
3340         (force): Added comment.
3341         (isLoaded): Return value of loaded.
3342         (load): Set loaded to true, added comment.
3343
3344 2003-10-12  Michael Koch  <konqueror@gmx.de>
3345
3346         * gnu/java/nio/PipeImpl.java
3347         (SourceChannelImpl): New inner class.
3348         (SinkChannelImpl): New inner class.
3349         (sink): New member variable.
3350         (source): New member variable.
3351         (PipeImpl): Add SelectorProvider argument, implemented.
3352         (nativeInit): New method.
3353         (sink): Return sink channel.
3354         (source): Return source channel.
3355         * gnu/java/nio/SelectorProviderImpl.java
3356         (openPipe): Give provider as argument to PipeImpl constructor.
3357         * java/nio/channels/spi/SelectorProvider.java
3358         (pr): Removed.
3359         (systemDefaultProvider): New member variable.
3360         (provider): Made it synchronized, use property
3361         java.nio.channels.spi.SelectorProvider.
3362         * gnu/java/nio/natPipeImpl.cc: New file.
3363         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
3364         * Makefile.in: Regenerated.
3365
3366 2003-10-12  Michael Koch  <konqueror@gmx.de>
3367
3368         * javax/swing/table/DefaultTableModel.java,
3369         javax/swing/table/TableCellEditor.java,
3370         javax/swing/table/TableCellRenderer.java,
3371         javax/swing/table/TableColumnModel.java,
3372         javax/swing/table/TableModel.java,
3373         javax/swing/text/AbstractDocument.java,
3374         javax/swing/text/Document.java,
3375         javax/swing/text/MutableAttributeSet.java,
3376         javax/swing/text/StyledDocument.java,
3377         javax/swing/text/ViewFactory.java,
3378         javax/swing/tree/DefaultMutableTreeNode.java,
3379         javax/swing/tree/MutableTreeNode.java,
3380         javax/swing/tree/RowMapper.java,
3381         javax/swing/tree/TreeCellEditor.java,
3382         javax/swing/tree/TreeCellRenderer.java,
3383         javax/swing/tree/TreeModel.java,
3384         javax/swing/tree/TreeNode.java,
3385         javax/swing/tree/TreeSelectionModel.java,
3386         javax/swing/undo/StateEditable.java,
3387         javax/swing/undo/UndoableEdit.java:
3388         Removed redundant modifiers.
3389
3390 2003-10-12  Michael Koch  <konqueror@gmx.de>
3391
3392         * javax/swing/event/AncestorListener.java,
3393         javax/swing/event/CaretListener.java,
3394         javax/swing/event/CellEditorListener.java,
3395         javax/swing/event/ChangeListener.java,
3396         javax/swing/event/DocumentEvent.java,
3397         javax/swing/event/DocumentListener.java,
3398         javax/swing/event/HyperlinkListener.java,
3399         javax/swing/event/InternalFrameListener.java,
3400         javax/swing/event/ListDataListener.java,
3401         javax/swing/event/ListSelectionListener.java,
3402         javax/swing/event/MenuDragMouseListener.java,
3403         javax/swing/event/MenuKeyListener.java,
3404         javax/swing/event/MenuListener.java,
3405         javax/swing/event/MouseInputListener.java,
3406         javax/swing/event/PopupMenuListener.java,
3407         javax/swing/event/TableColumnModelListener.java,
3408         javax/swing/event/TableModelListener.java,
3409         javax/swing/event/TreeExpansionListener.java,
3410         javax/swing/event/TreeModelListener.java,
3411         javax/swing/event/TreeSelectionListener.java,
3412         javax/swing/event/TreeWillExpandListener.java,
3413         javax/swing/event/UndoableEditListener.java,
3414         javax/swing/plaf/UIResource.java,
3415         javax/swing/plaf/metal/MetalLookAndFeel.java:
3416         Removed redundant modifiers.
3417
3418 2003-10-12  Michael Koch  <konqueror@gmx.de>
3419
3420         * javax/swing/Action.java,
3421         javax/swing/BoundedRangeModel.java,
3422         javax/swing/CellEditor.java,
3423         javax/swing/ComboBoxEditor.java,
3424         javax/swing/ComboBoxModel.java,
3425         javax/swing/DesktopManager.java,
3426         javax/swing/JComboBox.java,
3427         javax/swing/ListCellRenderer.java,
3428         javax/swing/ListSelectionModel.java,
3429         javax/swing/MenuElement.java,
3430         javax/swing/MutableComboBoxModel.java,
3431         javax/swing/Renderer.java,
3432         javax/swing/RootPaneContainer.java,
3433         javax/swing/ScrollPaneConstants.java,
3434         javax/swing/SingleSelectionModel.java,
3435         javax/swing/SpinnerModel.java,
3436         javax/swing/SwingConstants.java,
3437         javax/swing/UIDefaults.java,
3438         javax/swing/WindowConstants.java,
3439         javax/swing/border/Border.java,
3440         javax/swing/colorchooser/ColorSelectionModel.java:
3441         Removed redundant modifiers.
3442
3443 2003-10-11  Michael Koch  <konqueror@gmx.de>
3444
3445         * javax/transaction/Status.java,
3446         javax/transaction/Synchronization.java,
3447         javax/transaction/Transaction.java,
3448         javax/transaction/TransactionManager.java,
3449         javax/transaction/UserTransaction.java,
3450         javax/transaction/xa/XAResource.java,
3451         javax/transaction/xa/Xid.java:
3452         Removing redundant modifiers.
3453
3454 2003-10-11  Michael Koch  <konqueror@gmx.de>
3455
3456         * javax/print/attribute/Attribute.java,
3457         javax/print/attribute/AttributeSet.java,
3458         javax/print/attribute/PrintRequestAttributeSet.java:
3459         Removing redundant modifiers.
3460
3461 2003-10-11  Michael Koch  <konqueror@gmx.de>
3462
3463         * javax/sql/ConnectionEventListener.java,
3464         javax/sql/ConnectionPoolDataSource.java,
3465         javax/sql/DataSource.java,
3466         javax/sql/PooledConnection.java,
3467         javax/sql/RowSet.java,
3468         javax/sql/RowSetInternal.java,
3469         javax/sql/RowSetListener.java,
3470         javax/sql/RowSetMetaData.java,
3471         javax/sql/RowSetReader.java,
3472         javax/sql/RowSetWriter.java,
3473         javax/sql/XAConnection.java,
3474         javax/sql/XADataSource.java:
3475         Removing redundant modifiers.
3476
3477 2003-10-11  Michael Koch  <konqueror@gmx.de>
3478
3479         * javax/naming/Context.java,
3480         javax/naming/Name.java,
3481         javax/naming/NameParser.java,
3482         javax/naming/NamingEnumeration.java,
3483         javax/naming/Referenceable.java,
3484         javax/naming/directory/Attribute.java,
3485         javax/naming/directory/Attributes.java,
3486         javax/naming/directory/DirContext.java,
3487         javax/naming/event/EventContext.java,
3488         javax/naming/event/EventDirContext.java,
3489         javax/naming/event/NamespaceChangeListener.java,
3490         javax/naming/event/NamingListener.java,
3491         javax/naming/event/ObjectChangeListener.java,
3492         javax/naming/ldap/Control.java,
3493         javax/naming/ldap/ExtendedRequest.java,
3494         javax/naming/ldap/ExtendedResponse.java,
3495         javax/naming/ldap/HasControls.java,
3496         javax/naming/ldap/LdapContext.java,
3497         javax/naming/ldap/UnsolicitedNotification.java,
3498         javax/naming/ldap/UnsolicitedNotificationListener.java,
3499         javax/naming/spi/DirObjectFactory.java,
3500         javax/naming/spi/DirStateFactory.java,
3501         javax/naming/spi/InitialContextFactory.java,
3502         javax/naming/spi/InitialContextFactoryBuilder.java,
3503         javax/naming/spi/ObjectFactory.java,
3504         javax/naming/spi/ObjectFactoryBuilder.java,
3505         javax/naming/spi/Resolver.java,
3506         javax/naming/spi/StateFactory.java:
3507         Removing redundant modifiers.
3508
3509 2003-10-11  Michael Koch  <konqueror@gmx.de>
3510
3511         * java/security/Key.java,
3512         * java/security/PrivateKey.java,
3513         * java/security/PublicKey.java,
3514         * java/security/acl/Acl.java,
3515         * java/security/acl/AclEntry.java,
3516         * java/security/acl/Group.java,
3517         * java/security/acl/Owner.java,
3518         * java/security/acl/Permission.java,
3519         * java/security/cert/X509Extension.java,
3520         * java/security/interfaces/DSAKey.java,
3521         * java/security/interfaces/DSAKeyPairGenerator.java,
3522         * java/security/interfaces/DSAParams.java,
3523         * java/security/interfaces/DSAPrivateKey.java,
3524         * java/security/interfaces/DSAPublicKey.java,
3525         * java/security/interfaces/RSAKey.java,
3526         * java/security/interfaces/RSAPrivateCrtKey.java,
3527         * java/security/interfaces/RSAPrivateKey.java,
3528         * java/security/interfaces/RSAPublicKey.java:
3529         Removed redundant modifiers.
3530
3531 2003-10-11  Michael Koch  <konqueror@gmx.de>
3532
3533         * gnu/java/rmi/server/ProtocolConstants.java,
3534         gnu/java/security/der/DER.java:
3535         Removing redundant modifiers.
3536
3537 2003-10-11  Michael Koch  <konqueror@gmx.de>
3538
3539         * java/util/Map.java,
3540         java/util/Observer.java,
3541         java/util/zip/Checksum.java,
3542         java/util/zip/ZipConstants.java:
3543         Removed redundant modifiers.
3544
3545 2003-10-11  Michael Koch  <konqueror@gmx.de>
3546
3547         * java/text/AttributedCharacterIterator.java,
3548         java/text/CharacterIterator.java:
3549         Removed redundant modifiers.
3550
3551 2003-10-11  Michael Koch  <konqueror@gmx.de>
3552
3553         * java/sql/Array.java,
3554         java/sql/Blob.java,
3555         java/sql/CallableStatement.java,
3556         java/sql/Clob.java,
3557         java/sql/Connection.java,
3558         java/sql/DatabaseMetaData.java,
3559         java/sql/Driver.java,
3560         java/sql/ParameterMetaData.java,
3561         java/sql/PreparedStatement.java,
3562         java/sql/Ref.java,
3563         java/sql/ResultSet.java,
3564         java/sql/ResultSetMetaData.java,
3565         java/sql/SQLData.java,
3566         java/sql/SQLInput.java,
3567         java/sql/SQLOutput.java,
3568         java/sql/Savepoint.java,
3569         java/sql/Statement.java,
3570         java/sql/Struct.java:
3571         Removed redundant modifiers.
3572
3573 2003-10-11  Michael Koch  <konqueror@gmx.de>
3574
3575         * java/nio/channels/Channel.java,
3576         java/nio/channels/GatheringByteChannel.java,
3577         java/nio/channels/ReadableByteChannel.java,
3578         java/nio/channels/ScatteringByteChannel.java,
3579         java/nio/channels/WritableByteChannel.java:
3580         Removed redundant modifiers.
3581
3582 2003-10-11  Michael Koch  <konqueror@gmx.de>
3583
3584         * java/rmi/activation/ActivationInstantiator.java,
3585         java/rmi/activation/ActivationMonitor.java,
3586         java/rmi/activation/ActivationSystem.java,
3587         java/rmi/activation/Activator.java,
3588         java/rmi/dgc/DGC.java,
3589         java/rmi/registry/Registry.java,
3590         java/rmi/registry/RegistryHandler.java,
3591         java/rmi/server/LoaderHandler.java,
3592         java/rmi/server/RMIClientSocketFactory.java,
3593         java/rmi/server/RMIFailureHandler.java,
3594         java/rmi/server/RMIServerSocketFactory.java,
3595         java/rmi/server/RemoteCall.java,
3596         java/rmi/server/RemoteRef.java,
3597         java/rmi/server/ServerRef.java,
3598         java/rmi/server/Skeleton.java,
3599         java/rmi/server/Unreferenced.java:
3600         Removed redundant modifiers.
3601
3602 2003-10-11  Michael Koch  <konqueror@gmx.de>
3603
3604         * java/net/ContentHandlerFactory.java,
3605         java/net/DatagramSocketImplFactory.java,
3606         java/net/FileNameMap.java,
3607         java/net/SocketImplFactory.java,
3608         java/net/SocketOptions.java,
3609         java/net/URLStreamHandlerFactory.java:
3610         Removed redundant modifiers.
3611
3612 2003-10-11  Michael Koch  <konqueror@gmx.de>
3613
3614         * java/io/Externalizable.java,
3615         java/io/FileFilter.java,
3616         java/io/FilePermission.java,
3617         java/io/ObjectInput.java,
3618         java/io/ObjectInputValidation.java,
3619         java/io/ObjectOutput.java,
3620         java/io/ObjectStreamClass.java,
3621         java/io/ObjectStreamConstants.java,
3622         java/io/Serializable.java:
3623         Removed redundant modifiers.
3624
3625 2003-10-11  Ingo Proetel  <proetel@aicas.com>
3626
3627         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
3628         codebase and context classloader.
3629
3630 2003-10-11  Michael Koch  <konqueror@gmx.de>
3631
3632         * java/beans/beancontext/BeanContext.java,
3633         java/beans/beancontext/BeanContextChild.java,
3634         java/beans/beancontext/BeanContextChildComponentProxy.java,
3635         java/beans/beancontext/BeanContextChildSupport.java,
3636         java/beans/beancontext/BeanContextContainerProxy.java,
3637         java/beans/beancontext/BeanContextMembershipListener.java,
3638         java/beans/beancontext/BeanContextProxy.java,
3639         java/beans/beancontext/BeanContextServiceProvider.java,
3640         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
3641         java/beans/beancontext/BeanContextServiceRevokedListener.java,
3642         java/beans/beancontext/BeanContextServices.java,
3643         java/beans/beancontext/BeanContextServicesListener.java:
3644         Removed redundant modifiers.
3645
3646 2003-10-11  Michael Koch  <konqueror@gmx.de>
3647
3648         * java/beans/AppletInitializer.java,
3649         java/beans/BeanInfo.java,
3650         java/beans/Customizer.java,
3651         java/beans/DesignMode.java,
3652         java/beans/PropertyEditor.java,
3653         java/beans/Visibility.java:
3654         Removed redundant modifiers.
3655
3656 2003-10-11  Michael Koch  <konqueror@gmx.de>
3657
3658         * java/awt/print/Pageable.java,
3659         * java/awt/print/Printable.java,
3660         java/awt/print/PrinterGraphics.java:
3661         Removed redundant modifiers.
3662
3663 2003-10-11  Michael Koch  <konqueror@gmx.de>
3664
3665         * java/awt/peer/ButtonPeer.java,
3666         java/awt/peer/CheckboxMenuItemPeer.java,
3667         java/awt/peer/CheckboxPeer.java,
3668         java/awt/peer/ChoicePeer.java,
3669         java/awt/peer/ComponentPeer.java,
3670         java/awt/peer/ContainerPeer.java,
3671         java/awt/peer/DialogPeer.java,
3672         java/awt/peer/FileDialogPeer.java,
3673         java/awt/peer/FramePeer.java,
3674         java/awt/peer/LabelPeer.java,
3675         java/awt/peer/ListPeer.java,
3676         java/awt/peer/MenuBarPeer.java,
3677         java/awt/peer/MenuComponentPeer.java,
3678         java/awt/peer/MenuItemPeer.java,
3679         java/awt/peer/MenuPeer.java,
3680         java/awt/peer/PopupMenuPeer.java,
3681         java/awt/peer/RobotPeer.java,
3682         java/awt/peer/ScrollPanePeer.java,
3683         java/awt/peer/ScrollbarPeer.java,
3684         java/awt/peer/TextAreaPeer.java,
3685         java/awt/peer/TextComponentPeer.java,
3686         java/awt/peer/TextFieldPeer.java,
3687         java/awt/peer/WindowPeer.java:
3688         Removed redundant modifiers.
3689
3690 2003-10-11  Michael Koch  <konqueror@gmx.de>
3691
3692         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
3693         * gnu/java/nio/ServerSocketChannelImpl.java
3694         (serverSocket): Made it a NIOServerSocket.
3695         (impl): Removed.
3696         (ServerSocketChannelImpl): Initialize only serverSocket.
3697         (initServerSocket): Removed.
3698         (getNativeFD): Rewritten.
3699         (implConfigureBlocking): Set socket timeout and removed comment.
3700         (accept): Rewritten.
3701         * gnu/java/nio/SocketChannelImpl.java
3702         (impl): New variable.
3703         (connected): Removed.
3704         (SocketChannelImpl): Initialize impl too.
3705         (getImpl): New method.
3706         (isConnected): Rewritten.
3707         (read): Rewritten, set position in buffer correctly.
3708         (write): Set position in buffer correctly.
3709         * java/net/ServerSocket.java (getImpl): New method.
3710         * gnu/java/nio/NIOServerSocket.java,
3711         gnu/java/nio/natNIOServerSocket.cc: New files.
3712         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3713         * Makefile.am
3714         (ordinary_java_source_files):
3715         Added gnu/java/nio/NIOServerSocket.java.
3716         (nat_source_files):
3717         Removed gnu/java/nio/natServerSocketChannelImpl.cc
3718         and added gnu/java/nio/natNIOServerSocket.cc.
3719         * Makefile.in: Regenerated.
3720
3721 2003-10-11  Michael Koch  <konqueror@gmx.de>
3722
3723         * java/awt/ActiveEvent.java,
3724         java/awt/datatransfer/ClipboardOwner.java,
3725         java/awt/datatransfer/FlavorMap.java,
3726         java/awt/datatransfer/Transferable.java,
3727         java/awt/dnd/Autoscroll.java,
3728         java/awt/dnd/peer/DragSourceContextPeer.java,
3729         java/awt/dnd/peer/DropTargetContextPeer.java,
3730         java/awt/dnd/peer/DropTargetPeer.java,
3731         java/awt/font/MultipleMaster.java,
3732         java/awt/font/OpenType.java,
3733         java/awt/im/spi/InputMethodDescriptor.java,
3734         java/awt/image/ImageObserver.java,
3735         java/awt/image/ImageConsumer.java,
3736         java/awt/image/ImageProducer.java,
3737         java/awt/image/RGBImageFilter.java,
3738         java/awt/image/RasterOp.java,
3739         java/awt/image/renderable/RenderableImage.java:
3740         Removed redundant modifiers.
3741
3742 2003-10-11  Michael Koch  <konqueror@gmx.de>
3743
3744         * gnu/awt/j2d/DirectRasterGraphics.java,
3745         gnu/java/awt/EmbeddedWindowSupport.java:
3746         Removed redundant modifiers.
3747
3748 2003-10-09  Michael Koch  <konqueror@gmx.de>
3749
3750         * gnu/java/nio/SelectorImpl.java (register):
3751         Use ServerSocketChannelSelectionKey for server socket channels,
3752         removed unneeded comments.
3753         * gnu/java/nio/ServerSocketChannelImpl.java
3754         (ServerSocketChannelImpl): Made class public final.
3755         (impl): New member variable.
3756         (ServerSocketChannelImpl): Initialize member variables correctly.
3757         (initServerSocket): New method.
3758         (getNativeFD): Likewise.
3759         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
3760         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
3761         * Makefile.am (ordinary_java_source_files):
3762         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
3763         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
3764         * Makefile.in: Regenrated.
3765
3766 2003-10-09  Michael Koch  <konqueror@gmx.de>
3767
3768         * java/nio/channels/spi/AbstractSelectableChannel.java
3769         (registered): Made private.
3770         (blocking): Likewise.
3771         (LOCK): Likewise.
3772         (provider): Likewise.
3773         (keys): Made it a private LinkedList.
3774         (AbstractSelectableChannel): Initialize keys.
3775         (isRegistered): New implementation.
3776         (locate): Rewritten.
3777         (register): Rewritten.
3778         * java/nio/channels/spi/AbstractSelectionKey.java
3779         (ok): Removed.
3780         (cancelled): New member variable.
3781         (cancel): Rewritten.
3782         (isValid): Rewritten.
3783         * java/nio/channels/spi/AbstractSelector.java:
3784         Some methods moved.
3785         (closed): Make private.
3786         (provider): Likewise.
3787         (cancelledKeys): New member variable.
3788         (AbstractSelector): Initialize cancelledKeys.
3789         (cancelKey): New method.
3790
3791 2003-10-09  Tom Tromey  <tromey@redhat.com>
3792
3793         * java/lang/ClassLoader.java (setSigners): Implemented.
3794         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
3795         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
3796         Initialize new fields.
3797         * java/lang/Class.java (getSigners): Now native.
3798         (setSigners): Declare.
3799         * java/lang/natClass.cc (getSigners): New method.
3800         (getSigners): Likewise.
3801         * java/lang/Class.h (Class::signers): New field.
3802         (Class::setSigners): New method.
3803
3804 2003-10-09  Michael Koch  <konqueror@gmx.de>
3805
3806         * java/rmi/server/RMIClassLoader.java:
3807         Removed unused imports, little reformatings.
3808         (getClassLoader): New method, implementation was part of old loadCLass
3809         method.
3810         (loadClass): Simplified by moving functionality to new method and
3811         reworking the code a bit.
3812         (getClassAnnotation): Merged documentation from classpath.
3813
3814 2003-10-09  Michael Koch  <konqueror@gmx.de>
3815
3816         * java/math/BigInteger.java
3817         (add): Removed unused local variable len.
3818
3819 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3820
3821         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
3822         modality check.
3823         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3824         Initialize insets to use latest insets.
3825         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
3826         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
3827         field.
3828         (postConfigureEvent): Update latestInsets field when insets
3829         change.  Remove call to setSize.  Move validate call outside of
3830         if blocks.
3831         (setVisible): Call setBounds before showing window.
3832         (nativeSetVisible): New native method.
3833         * java/awt/Window.java (show): Show visible owned windows.
3834         (hide): Hide visible owned windows.
3835         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3836         (awt_event_handler): Implement modality using GTK grabs.
3837         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3838         (global_gtk_window_group): New global variable.
3839         (gtkInit): Initialize global_gtk_window_group.
3840         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3841         Clamp width and height values to at least 1.  Add this window to
3842         the global GTK window group.
3843         (setVisible): Rename to nativeSetVisible.
3844         (setup_window): Remove function.
3845         (setSize): Clamp width and height values to at least 1.
3846         (nativeSetBounds): Likewise.
3847         (gdk_window_get_root_geometry): Remove function.
3848         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
3849         and setup_window declarations.  Declare global_gtk_window_group.
3850
3851         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3852         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3853         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3854         (gtkWidgetSetForeground): New method.
3855         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3856         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3857         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
3858         (setBackground, setForeground): Implement.
3859         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3860         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3861         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3862         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3863         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3864         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3865         Position PangoLayout relative to text's baseline.
3866         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
3867
3868         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
3869         for CENTER and RIGHT alignments.
3870
3871 2003-10-08  Michael Koch  <konqueror@gmx.de>
3872
3873         * java/security/Security.java: Reformated.
3874
3875 2003-10-08  Michael Koch  <konqueror@gmx.de>
3876
3877         * java/text/SimpleDateFormat.java
3878         (compileFormat): Replace Character.isLetter() test with
3879         Character.isLowerCase() || Character.isUpperCase().
3880
3881 2003-10-08  Tom Tromey  <tromey@redhat.com>
3882
3883         * java/lang/StrictMath.java (toDegrees): Multiply before
3884         dividing.
3885         (toRadians): Likewise.
3886
3887 2003-10-08  C. Brian Jones  <cbj@gnu.org>
3888
3889         * java/lang/Math.java
3890         (toRadians): multiply before dividing to reduce decimal error
3891         (toDegrees): ditto
3892
3893 2003-10-08  Michael Koch  <konqueror@gmx.de>
3894
3895         * gnu/gcj/protocol/core/Connection.java,
3896         gnu/gcj/protocol/core/CoreInputStream.java,
3897         gnu/gcj/protocol/core/Handler.java,
3898         gnu/gcj/protocol/core/natCoreInputStream.cc,
3899         gnu/gcj/protocol/file/Connection.java,
3900         gnu/gcj/protocol/file/Handler.java,
3901         gnu/gcj/protocol/gcjlib/Connection.java,
3902         gnu/gcj/protocol/gcjlib/Handler.java,
3903         gnu/gcj/protocol/http/Connection.java,
3904         gnu/gcj/protocol/http/Handler.java,
3905         gnu/gcj/protocol/jar/Connection.java,
3906         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
3907         * gnu/java/net/protocol/core/Connection.java,
3908         gnu/java/net/protocol/core/CoreInputStream.java,
3909         gnu/java/net/protocol/core/Handler.java,
3910         gnu/java/net/protocol/core/natCoreInputStream.cc,
3911         gnu/java/net/protocol/file/Connection.java,
3912         gnu/java/net/protocol/file/Handler.java,
3913         gnu/java/net/protocol/gcjlib/Connection.java,
3914         gnu/java/net/protocol/gcjlib/Handler.java,
3915         gnu/java/net/protocol/http/Connection.java,
3916         gnu/java/net/protocol/http/Handler.java,
3917         gnu/java/net/protocol/jar/Connection.java,
3918         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
3919         * gnu/gcj/runtime/FirstThread.java,
3920         java/net/URL.java: Use moved protocol handlers.
3921         * Makefile.am
3922         (ordinary_java_source_files): Moved files.
3923         (nat_source_files): Likewise.
3924         * Makefile.in: Regenerated.
3925
3926 2003-10-08  Michael Koch  <konqueror@gmx.de>
3927
3928         * gnu/java/nio/SocketChannelImpl.java
3929         (read): Write only read data to buffer.
3930
3931 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3932
3933         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
3934         out.
3935         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
3936         (JCL_free): Attach "unused" attribute to env parameter.
3937         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
3938         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
3939         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3940         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
3941         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3942         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3943         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
3944         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
3945         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
3946         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3947         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
3948         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3949         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
3950         parameters.
3951         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
3952         (initNativeState): Pass 0 as info argument to
3953         gtk_selection_add_target.
3954         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3955         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
3956         unused method implementations.
3957         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3958         (awt_event_handler): Add break statement after default label.
3959         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
3960         (drawPixels): Remove unused variable i.
3961         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3962         (setEnabled): Remove method implementation.
3963         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3964         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
3965         argument.
3966         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
3967         unused function.
3968         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3969         (menu_pos): Assign TRUE to push_in.
3970         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
3971         argument.
3972         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
3973         (create): Remove unused variable layout.
3974         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3975         Pass window_widget, rather than window, to
3976         gtk_widget_set_size_request.
3977         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
3978         structure initialization with NULL values.
3979         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
3980
3981 2003-10-08  Michael Koch  <konqueror@gmx.de>
3982
3983         * java/util/LinkedList.java:
3984         Removed whitespace to match classpath's version again.
3985
3986 2003-10-08  Michael Koch  <konqueror@gmx.de>
3987
3988         * java/util/prefs/Preferences.java
3989         (defaultFactoryClass): Fixed class name.
3990         (getFactory): Create instance of class returned by Class.forName(),
3991         reformated code.
3992
3993 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
3994
3995         * javax/swing/table/AbstractTableModel.java
3996         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
3997         helped stop pulling my hair on this +1 then -1 tricky thing!
3998
3999 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
4000
4001         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
4002         Remove unused parameters.
4003         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
4004         Likewise.
4005         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4006         (keyevent_state_to_awt_mods): Export function.
4007         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4008         (getCaretPosition): Fix TextArea case.
4009         (textcomponent_commit_cb): Get exact event time and modifier
4010         state.
4011         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
4012
4013 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
4014
4015         * java/net/InetSocketAddress.java
4016         (InetSocketAddress): Made exception more clear.
4017         (equals): Handle case when addr is null.
4018         (toString): Likewise.
4019         * java/net/NetworkInterface.java
4020         (static): Load native library.
4021         (getNetworkInterfaces): Rewritten.
4022
4023 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
4024
4025         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
4026         field.
4027         (initializeInsets): New method.
4028         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
4029         setBounds unconditionally.
4030         (setBounds): Convert coordinates if parent is a Window.
4031         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
4032         field to GtkComponentPeer.
4033         (GtkContainerPeer): Don't initialize insets.
4034         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
4035         New method.
4036         (create): Call new GtkWindowPeer create method.
4037         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
4038         New method.
4039         (create): Call new GtkWindowPeer create method.
4040         (setBounds): Remove method.
4041         (postConfigureEvent): Likewise.
4042         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
4043         type constants with GDK window type constants.
4044         (create(int,boolean,int,int,GtkWindowPeer)): New method.
4045         (create(int,boolean)): Likewise.
4046         (create()): Call create(int,boolean).
4047         (nativeSetBounds): New native method declaration.
4048         (setBounds): Call native method declaration.
4049         (setSize): New native method declaration.
4050         (setBoundsCallback): Likewise.
4051         (postConfigureEvent): Handle change in insets.  Call setSize and
4052         setBoundsCallback methods.
4053         * java/awt/Window.java (Window): Set visible to false.
4054         (setBoundsCallback): New method.
4055         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4056         (gtkWidgetGetLocationOnScreen): If this component is not a
4057         container, adjust the location returned based on the peer's
4058         allocation.
4059         (set(String,boolean)): Revert change from 2003-09-19.
4060         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4061         (awt_event_handler): Fix inset calculation.
4062         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
4063         glue for Window.setBoundsCallback.
4064         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4065         Set up stacking order, window decorations and window manager
4066         hints.
4067         (setBoundsCallback): New method.
4068         (setSize): New method.
4069         (nativeSetBounds): New method.
4070         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
4071
4072 2003-10-02  Tom Tromey  <tromey@redhat.com>
4073
4074         * java/lang/VMClassLoader.java (loadClass): Now native.
4075         * java/lang/natClassLoader.cc (loadClass): Implement.
4076         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
4077
4078 2003-10-02  Michael Koch  <konqueror@gmx.de>
4079
4080         * java/net/InetAddress.java
4081         (zeros): Removed.
4082         (ANY_IF): Initalizie in static block.
4083         (static): Load library with native methods here and initialize ANY_IF.
4084         (isAnyLocalAddress): Check if equal to ANY_IF.
4085         (equals): Use addr directly instead of addr1. Simplify for loop.
4086         (toString): Rename "result" to "host" and add IP address allways.
4087         (getLocalHost): Merged documentation from classpath.
4088         * java/net/ServerSocket.java
4089         (ServerSocket): New package-private constructor used by java.nio.
4090         * java/net/URLConnection.java
4091         (getRequestProperties): Check if already connected.
4092
4093 2003-10-02  Michael Koch  <konqueror@gmx.de>
4094
4095         * java/nio/ByteBufferHelper.java:
4096         Rewrote all methods by suggestions from Eric Blake.
4097
4098 2003-10-02  Michael Koch  <konqueror@gmx.de>
4099
4100         * java/net/URL.java
4101         (DEFAULT_SEARCH_PATH): New static variable.
4102         (ph_cache): Made it a HashMap.
4103         (getURLStreamHandler): Rename propVal to ph_search_path and use
4104         DEFAULT_SEARCH_PATH.
4105
4106 2003-10-02  Michael Koch  <konqueror@gmx.de>
4107
4108         * javax/swing/table/AbstractTableModel.java
4109         (findColumnName): Prevent from NullPointerException if argument
4110         columnName is null.
4111
4112 2003-10-02  Michael Koch  <konqueror@gmx.de>
4113
4114         * javax/swing/table/AbstractTableModel.java:
4115         This patch is based on a patch done by Arnaud Vandyck
4116         <arnaud.vandyck@ulg.ac.be>.
4117         (getColumnName): Fixed method documentation.
4118         (findColumn): Likewise.
4119         (getColumnClass): Likewise.
4120         (isCellEditable): Likewise.
4121         (setValueAt): Likewise.
4122         (addTableModelListener): Likewise.
4123         (removeTableModelListener): Likewise.
4124         (getTableModelListeners): New method.
4125
4126 2003-10-02  Michael Koch  <konqueror@gmx.de>
4127
4128         * javax/swing/table/AbstractTableModel.java:
4129         Reformated.
4130
4131 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
4132
4133         Fix PR libgcj/12475
4134         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
4135         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
4136
4137 2003-10-01  Tom Tromey  <tromey@redhat.com>
4138
4139         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
4140
4141 2003-10-01  Andrew Haley  <aph@redhat.com>
4142
4143         * java/lang/natClass.cc (initializeClass): Check for otable and
4144         atable.
4145         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
4146         loops using for().  Search superinterfaces.  Check for fields as
4147         well as methods.  Initialize atable as well as otable: check for
4148         static methods as well as virtual methods.
4149         * java/lang/Class.h (struct _Jv_AddressTable): New.
4150         (atable): New.
4151         (atable_syms): New.
4152         * include/jvm.h (_Jv_equalUtf8Consts): constify.
4153         * prims.cc (_Jv_equalUtf8Consts): constify.
4154
4155 2003-09-29  Tom Tromey  <tromey@redhat.com>
4156
4157         PR libgcj/10596:
4158         * include/jvm.h (_Jv_FinalizeString,
4159         _Jv_RegisterStringFinalizer): Declare.
4160         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
4161         unintern.
4162         (intern): Updated.
4163         (_Jv_NewStringUtf8Const): Likewise.
4164         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4165         Add special case when finalizing a String.
4166         (in_hash): New function.
4167         (_Jv_RegisterStringFinalizer): Likewise.
4168         (maybe_add_finalize): Likewise.
4169
4170 2003-09-29  Michael Koch  <konqueror@gmx.de>
4171
4172         * java/net/InetAddress.java:
4173         (isMulticastAddress): Dont use local variable to store address length.
4174         Let the compiler optimize this.
4175         (getHostName): Merged dcoumentation from classpath.
4176         (getAddress): Likewise.
4177         (getHostAddress): Likewise.
4178         (hashCode): Likewise.
4179         (equals): Likewise.
4180         (toString): Likewise.
4181         (getByName): Likewise.
4182         (getAllByName): Likewise.
4183
4184 2003-09-29  Michael Koch  <konqueror@gmx.de>
4185
4186         * java/awt/image/IndexColorModel.java: Reformated.
4187
4188 2003-09-29  Michael Koch  <konqueror@gmx.de>
4189
4190         * java/net/InetAddress.java,
4191         java/net/URL.java: Reformated.
4192
4193 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
4194
4195         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
4196         significant bit of descriptor. Include the vtable and sync_info 
4197         fields.
4198
4199 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
4200
4201         * java/text/DateFormat.java (format): Throw IllegalArgumentException
4202         if `obj' is not a Number or Date instance.
4203         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
4204         instead of Vector.
4205
4206 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
4207
4208         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
4209         Don't call setTimeZone on calendar.
4210
4211 2003-09-27  Michael Koch  <konqueror@gmx.de>
4212
4213         * java/net/URL.java (getURLStreamHandler): Compile fixes.
4214
4215 2003-09-27  Michael Koch  <konqueror@gmx.de>
4216
4217         * java/net/URL.java (getURLStreamHandler):
4218         Check if we have to use cache before trying to retrieve handler from
4219         cache. Rename facName to clsName to match classpath more. Reformated
4220         some little pieces.
4221
4222 2003-09-27  Michael Koch  <konqueror@gmx.de>
4223
4224         * gnu/java/nio/SelectionKeyImpl.java
4225         (ch): Make package-private again. Jikes found this bug.
4226         Jeff Sturm submitted PR12426 for this to bugzilla
4227         to fix this bug in gcj.
4228
4229 2003-09-26  Michael Koch  <konqueror@gmx.de>
4230
4231         * java/rmi/server/RMIClassLoader.java:
4232         Reformatted file, no functional code changes.
4233
4234 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
4235
4236         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
4237         Save space for some pixels at the buffer end.  Added Javadoc.
4238
4239 2003-09-26  Tom Tromey  <tromey@redhat.com>
4240
4241         * java/io/ObjectOutputStream.java (writeFields): Fixed
4242         indentation.
4243         (putFields): Likewise.
4244
4245 2003-09-26  Michael Koch  <konqueror@gmx.de>
4246
4247         * java/nio/ByteBufferHelper.java:
4248         Totally reworked with help from Eric Blake.
4249
4250 2003-09-26  Tom Tromey  <tromey@redhat.com>
4251
4252         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
4253         * java/awt/geom/PathIterator.java: Documentation fixes.
4254
4255 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
4256
4257         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
4258         (select): Likewise.
4259         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
4260
4261 2003-09-25  Michael Koch  <konqueror@gmx.de>
4262
4263         * gnu/java/nio/DatagramChannelImpl.java
4264         (getNativeFD): New method.
4265         * gnu/java/nio/SelectionKeyImpl.java
4266         (SelectionKeyImpl): Class made abstract.
4267         (fd): Removed.
4268         (SelectionKeyImpl): Remove fd argument.
4269         (getNativeFD): New method.
4270         * gnu/java/nio/SocketChannelImpl.java
4271         (getNativeFD): New method.
4272         gnu/java/nio/DatagramChannelSelectionKey.java,
4273         * gnu/java/nio/SocketChannelSelectionKey.java:
4274         New files.
4275         * Makefile.am (ordinary_java_source_files):
4276         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
4277         gnu/java/nio/SocketChannelSelectionKey.java.
4278         * Makefile.in: Regenerated.
4279
4280 2003-09-25  Michael Koch  <konqueror@gmx.de>
4281
4282         * java/lang/reflect/Proxy.java
4283         (getProxyClass): Remove workaround for gcj 3.0.x.
4284
4285 2003-09-25  Michael Koch  <konqueror@gmx.de>
4286
4287         * gnu/java/net/PlainDatagramSocketImpl.java
4288         (finalize): Moved to directly after constructor.
4289         (getNativeFD): New method.
4290         * gnu/java/net/PlainSocketImpl.java
4291         (getNativeFD): New method.
4292
4293 2003-09-25  Ingo Proetel  <proetel@aicas.com>
4294
4295         * java/io/ObjectOutputStream.java:
4296         Allow putFields be called more than once.
4297
4298 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
4299
4300         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
4301         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
4302         * java/awt/image/BufferedImage.java (toString): Implement.
4303
4304 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
4305
4306         * aclocal.m4: Rebuilt.
4307         * configure: Rebuilt.
4308
4309 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
4310
4311         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
4312         field.
4313
4314 2003-09-25  Michael Koch  <konqueror@gmx.de>
4315
4316         * gnu/java/nio/SelectorImpl.java
4317         (implSelect): Renamed from java_do_select.
4318         (select): Call native implSelect() and add support for Thread
4319         interruption.
4320         * gnu/java/nio/natSelectorImpl.cc
4321         (implSelect): Renamed from java_do_select.
4322
4323 2003-09-25  Michael Koch  <konqueror@gmx.de>
4324
4325         * gnu/java/nio/SelectorImpl.java
4326         (selectNow): Made final, throws IOException.
4327         (select): Likewise.
4328         (getFDsAsArray): Made final.
4329         (selectedKeys): Likewise.
4330         (wakeup): Likewise.
4331         (deregisterCancelledKeys): Likewise.
4332         (register): Likewise.
4333         (ass): Removed.
4334         (add_selected): Removed.
4335         * gnu/java/nio/natSelectorImpl.cc:
4336         No need to include bstring.h or gcj/cni.h.
4337         (helper_put_filedescriptors): Rewritten.
4338         (helper_get_filedescriptors): Rewritten.
4339
4340 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
4341
4342         * java/awt/font/FontRenderContext.java (getTransform): Return
4343         copy of internal transform object. Add Javadoc.
4344         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
4345         winding rule as Sun J2SE.
4346         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
4347
4348 2003-09-25  Ingo Proetel  <proetel@aicas.com>
4349
4350         * java/rmi/Naming.java:
4351         Added comments, now accepts pseudo protocol "rmi".
4352
4353 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
4354
4355         * java/text/DecimalFormat.java (format): Don't immediatly round
4356         baseNumber to long.
4357         (setMinimumIntegerDigits): Call super.
4358         (setMinimumFractionDigits): Likewise.
4359         (setMaximumIntegerDigits): Likewise.
4360         (setMaximumFractionDigits): Likewise.
4361
4362 2003-09-25  Michael Koch  <konqueror@gmx.de>
4363
4364         * gnu/java/nio/DatagramChannelImpl.java
4365         (DatagramChannelImpl): Made class final.
4366         (blocking): Made private.
4367         (socket): Made it a NIODatagramSocket and private.
4368         (DatagramChannelImpl): create NIODatagramSocket instead of
4369         DatagramSocket.
4370         (implConfigureBlocking): Set socket timeout.
4371         (connect): Check that channel is not closed.
4372         (write): Implemented.
4373         (write): Rewritten.
4374         (read): Implemented.
4375         (read): Rewritten.
4376         (receive): Implemented.
4377         (send): Implemented.
4378         * gnu/java/nio/SelectionKeyImpl.java
4379         (readyOps): Made private.
4380         (interestOps): Made private.
4381         (impl): Made private.
4382         (ch): Made private.
4383         (readyOps): Check if selection key is valid.
4384         (interestOps): Likewise.
4385         * gnu/java/nio/SelectorImpl.java
4386         (closed): Removed.
4387         (keys): Made private.
4388         (selected): Made private.
4389         (finalize): New method.
4390         (implCloseSelector): Rewritten.
4391         (keys): Return unmodifiable Set.
4392         (deregisterCancelledKeys): Fixed typo in method name.
4393         * gnu/java/nio/SocketChannelImpl.java
4394         (SocketChannelImpl): Made class final.
4395         (socket): Made it a NIOSocket and private.
4396         (blocking): Made private.
4397         (connected): Made private.
4398         (connectionPending): New member variable.
4399         (SocketChannelImpl): New implementation.
4400         (finalizer): Use isConnected().
4401         (connect): Rewritten.
4402         (finishConnect): Throws IOException, implemented.
4403         (isConnectionPending): Return connectionPending.
4404         (read): Rewritten.
4405         (write): Rewritten.
4406         * gnu/java/nio/NIOConstants.java: New file.
4407         * Makefile.am (ordinary_java_source_files):
4408         Added gnu/java/nio/NIOConstants.java.
4409         * Makefile.in: Regenerated.
4410
4411 2003-09-25  Michael Koch  <konqueror@gmx.de>
4412
4413         * java/net/InetAddress.java:
4414         Reorder imports, remove implementation comment.
4415         (isMulticastAddress): Merged documentation from classpath.
4416         * java/net/URLConnection.java
4417         (setRequestProperty): Check key for null, fix documentation.
4418         (adREquestProperty): Check key for null, remove wrong implementation
4419         and replace it with comment to overwrite this method in subclasses,
4420         fix documentation.
4421
4422 2003-09-25  Tom Tromey  <tromey@redhat.com>
4423
4424         * java/lang/reflect/Proxy.java (generate): Uncomment protection
4425         domain code.
4426         * java/lang/natClassLoader.cc (defineClass): Added `loader'
4427         argument.
4428         (linkClass0): Now in VMClassLoader.
4429         (markClassErrorState0): Likewise.
4430         (getSystemClassLoaderInternal): New method.
4431         * java/lang/natClass.cc (initializeClass): Use
4432         VMClassLoader::resolveClass.
4433         * java/lang/ClassLoader.java: New version, from Classpath.
4434         * java/lang/Class.java (getProtectionDomain):
4435         protectionDomainPermission and unknownProtectionDomain now in
4436         VMClassLoader.
4437         * java/lang/Class.h: VMClassLoader now a friend class.
4438         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
4439         package-private.
4440         * gcj/javaprims.h: Regenerated class list.
4441         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
4442         * java/lang/VMClassLoader.java: New version from Classpath;
4443         modified for libgcj use.
4444
4445 2003-09-25  Michael Koch  <konqueror@gmx.de>
4446
4447         * java/nio/ByteBufferHelper.java:
4448         New file.
4449         * java/nio/ByteBufferImpl.java,
4450         java/nio/DirectByteBufferImpl.java,
4451         java/nio/MappedByteBufferImpl.java
4452         (getType,putType): Use new helper class ByteBufferHelper.
4453         * Makefile.am (ordinary_java_source_files):
4454         Added java/nio/ByteBufferHelper.java.
4455         * Makefile.in: Regenerated.
4456
4457 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
4458
4459         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
4460         PR libgcj/12388.
4461
4462 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
4463
4464         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
4465         Strings, even if buffer is already shared.
4466
4467 2003-09-24  Michael Koch  <konqueror@gmx.de>
4468
4469         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
4470
4471 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
4472
4473         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
4474         (write): Likewise.
4475         (SocketInputStream): Declare `read' and `write' methods native.
4476         Remove implementations which called back into PlainSocketImpl.
4477         Remove unneccessary overridden methods.
4478         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
4479         to inner class PlainSocketImpl.SocketInputStream.
4480         (write): Likewise.
4481         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
4482         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
4483         * gnu/java/net/SocketInputStream.java: Remove unused file.
4484         * gnu/java/net/SocketOutputStream.java: Likewise.
4485         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
4486         and SocketOutputStream.
4487         * Makefile.in: Rebuilt.
4488
4489 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
4490
4491         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
4492
4493         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
4494         markers.
4495
4496 2003-09-22  Anthony Green  <green@redhat.com>
4497
4498         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
4499         * configure: Rebuilt.
4500
4501 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
4502
4503         PR java/12350:
4504         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
4505
4506 2003-09-22  Michael Koch  <konqueror@gmx.de>
4507
4508         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
4509         compiler warning but produces a different one now.
4510
4511 2003-09-22  Michael Koch  <konqueror@gmx.de>
4512
4513         * java/net/InetAddress.java:
4514         Moves around some code, reformats and adds documentation.
4515         No functional changes.
4516
4517 2003-09-22  Michael Koch  <konqueror@gmx.de>
4518
4519         * java/net/JarURLConnection.java
4520         (JarURLConnection): Modifed code to match classpath more, fixed comment.
4521         (getCertificates): Made it more error prone.
4522         (getMainAttributes): Likewise.
4523         (getAttributes): Implemented.
4524         (getManifest): Reformatted code.
4525
4526 2003-09-20  Tom Tromey  <tromey@redhat.com>
4527
4528         * java/awt/Component.java: Indentation cleanup from Classpath.
4529
4530 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
4531
4532        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
4533        checking to follow 1.4.2 spec.
4534
4535 2003-08-11  Ingo Proetel  <proetel@aicas.com>
4536
4537         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
4538         is compatible in case client and server are running in the same VM
4539         (remerged from Classpath on 2003-09-20)
4540
4541 2003-09-19  David Daney <ddaney@avtrex.com>
4542
4543         * java/lang/ref/Reference.java (clear): Set referent to null and
4544         synchronize.
4545
4546 2003-09-19  Michael Koch  <konqueror@gmx.de>
4547
4548         * gnu/java/nio/NIODatagramSocket.java,
4549         gnu/java/nio/NIOSocket.java: New files.
4550         * Makefile.am (ordinary_java_source_files):
4551         Added gnu/java/nio/NIODatagramSocket.java and
4552         gnu/java/nio/NIOSocket.java.
4553         * Makefile.in: Regenerated.
4554
4555 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
4556
4557         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
4558         top-level GTK window.
4559         (getArgs): Add "title" property.
4560         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
4561         "allow_shrink" and "allow_grow" properties.
4562         * java/awt/Dialog.java: Initialize resizable to true and change
4563         comments accordingly.  Initialize visible to false in
4564         constructors.
4565         * java/awt/Frame.java (dispose): Remove method.
4566         * java/awt/Window.java (ownedWindows): New field.
4567         (Window(Window,GraphicsConfiguration)): Add a weak reference to
4568         owner's ownedWindows vector.
4569         (finalize): Remove method.
4570         (hide): Hide owned windows.
4571         (dispose): Dispose of owned windows.
4572         (getOwnedWindows): Implement.
4573         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
4574         unused GtkArg code.
4575         (set(String,boolean)): Clamp gboolean parameter to g_object_set
4576         to TRUE or FALSE.
4577         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4578         (create): Set window's size requisition.
4579         (connectHooks): Fix indentation.
4580         (setResizable): Remove function.
4581         (static setBounds): Likewise.
4582         (setBounds): Replace call to setBounds with GTK size requisition
4583         and resize calls.
4584
4585 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
4586
4587         * win32-threads.cc: (ensure_interrupt_event_initialized) New
4588         function for lazy initialization of an auto-reset event.
4589         (_Jv_CondWait) Added thread interrupt support.
4590         (_Jv_ThreadInitData) Added initialization of interrupt support
4591         members.
4592         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
4593         (_Jv_ThreadStart) Removed unused code.
4594         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
4595         to an external caller.
4596         (_Jv_ThreadInterrupt) Implemented.
4597         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
4598         event for interrupt support as well as a mutex which regulates
4599         access to this.
4600         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
4601         event to an external caller.
4602         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
4603         process.
4604         (waitFor) Added interrupt support.
4605
4606 2003-09-19  Michael Koch  <konqueror@gmx.de>
4607
4608         * java/net/DatagramSocket.java (getLocalAddress):
4609         Renamed result variable to localAddr.
4610         * java/net/MulticastSocket.java:
4611         No need to import gnu.java.net.PlainDatagramSocketImpl.
4612
4613 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
4614
4615         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
4616         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
4617
4618 2003-09-18  Tom Tromey  <tromey@redhat.com>
4619
4620         * javax/naming/InitialContext.java: Reindented.
4621
4622 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
4623             Helmer Kraemer <hkraemer@freenet.de>
4624
4625         * javax/naming/spi/NamingManager.java (getURLContext,
4626         getObjectInstance, getStateToBind): Always use current thread's
4627         context class loader when calling Class.forName.
4628
4629 2003-09-18  Michael Koch  <konqueror@gmx.de>
4630
4631         * java/util/Timer.java (finalize): Added "throws Throwable".
4632
4633 2003-09-18  Michael Koch  <konqueror@gmx.de>
4634
4635         * java/net/DatagramSocket.java
4636         (ch): Removed.
4637         (receive): Use getChannel() instead of ch.
4638         (send): Likewise.
4639         (getChannel): Return null.
4640         * java/net/ServerSocket.java
4641         (ch): Removed.
4642         (setChannel): Removed.
4643         (implAccept): Use getChannel() instead of ch.
4644         (close): Likewise.
4645         (getChannel): Return null.
4646         * java/net/Socket.java
4647         (ch): Removed.
4648         (connect): Use getChannel() instead of ch.
4649         (setChannel): Removed.
4650         (getChannel): Return null.
4651
4652 2003-09-18  Mark Wielaard  <mark@klomp.org>
4653
4654         Reported by Guilhem Lavaux and Julian Dolby
4655         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
4656         field "serialPersistentFields", not "getSerialPersistentFields".
4657
4658 2003-09-18  Ingo Proetel  <proetel@aicas.com>
4659
4660         * java/util/TimeZone.java: Initialize lazily.
4661         * java/util/Locale.java (readManifest): Fix check for country.
4662         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
4663         traceable 
4664         * java/util/Calendar.java: Make use of ResourceBundle better
4665         traceable.
4666
4667 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
4668
4669         * java/sql/Timestamp.java
4670         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
4671
4672 2003-09-18  David P Grove  <groved@us.ibm.com>
4673
4674         * java/io/LineNumberReader (read): Don't reset pos & limit when
4675         markPos is 0.
4676
4677 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
4678
4679         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
4680         constant.
4681         (computeArguments): use computeTypicalArguments.
4682
4683         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
4684         Compile_jikes.java and RMICException.java.
4685         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
4686         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
4687         * gnu/java/rmi/rmic/RMICException.java: Likewise.
4688  
4689         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
4690  
4691         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
4692         (computeTypicalArguments): New method.
4693         (compile): Print compiler output to System.out. Collect compiler
4694         error output and use it in exception message.
4695  
4696         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
4697         (destination): Initialize to null.
4698         (run): Replace file separator with '.' when processing class.
4699         (processClass): Replace '.' with file separator when compiling
4700         classes.
4701         (findClass): Use SystemClassLoader to load class.
4702         (generateStub): Use full class name for generated stub, that puts
4703         it in right path.  Replace '.' with file separator when generating
4704         stub file name. Write just the stub class name without package
4705         information as class name, and constructor name. Write only
4706         interface names for interfaces extending java.rmi.Remote as
4707         implemented.
4708         (generateSkel): Use full class name for generated skel, that puts
4709         it in right path.  Replace '.' with file separator when generating
4710         stub file name. Write just the stub class name without package
4711         information as class name.
4712
4713 2003-09-18  Michael Koch  <konqueror@gmx.de>
4714
4715         * Makefile.am (rmi_java_source_files):
4716         Added gnu/java/rmi/rmic/Compile_kjc.java,
4717         gnu/java/rmi/rmic/Compile_jikes.java and
4718         gnu/java/rmi/rmic/RMICException.java
4719         * Makefile.in: Regenerated.
4720
4721 2003-09-17  Graydon Hoare  <graydon@redhat.com>
4722
4723         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4724         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4725         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
4726         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
4727         New files.
4728
4729 2003-09-16  Graydon Hoare  <graydon@redhat.com>
4730
4731         * java/awt/BufferedImage.java (setData): Support non-component
4732         sample models.
4733         (getData): Same.
4734
4735 2003-09-10  Graydon Hoare  <graydon@redhat.com>
4736
4737         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
4738         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
4739
4740 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
4741
4742         * configure.in: Standardized help text case of
4743         --enable-hash-synchronization
4744         New configure switch --enable-libgcj-multifile and corresponding
4745         automake conditional ONESTEP.
4746         * configure: Rebuilt.
4747         * Makefile.am: Use automake conditional ONESTEP to determine
4748         whether classfiles should be compiled individually or all
4749         at once.
4750         * Makefile.in: Rebuilt.
4751
4752 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
4753
4754         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
4755         Remove method declaration.
4756         (create()): Call native create.
4757         (create(int)): New method.
4758         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4759         (create): Add window_id parameter.  Call gtk_plug_new with
4760         window_id parameter.
4761         (construct): Remove method implementation.
4762
4763 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
4764
4765         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
4766         (mostlyclean-local): New target patterned after clean-local
4767         which recursively deletes all libtool objects using 'libtool rm'.
4768         (clean-local): Slightly modified comment to alleviate monotony.
4769         (distclean-local): New target patterned after clean-local
4770         which recursively deletes all .d files.
4771         * Makefile.in: Rebuilt.
4772
4773 2003-09-11  Tom Tromey  <tromey@redhat.com>
4774
4775         * java/net/URLStreamHandler.java (parseURL): If original file
4776         ends with "/", so must canonical result.
4777         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
4778         with nul-termination and finding previous "/".
4779
4780 2003-09-11  Michael Koch  <konqueror@gmx.de>
4781
4782         * acconfig.h: Removed most items.
4783         * configure.in: Added descriptions to AC_DEFINE macros that where in
4784         acconfig.h before.
4785         * include/config.h.in: Regenerated.
4786
4787 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
4788
4789         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
4790         if one is installed. Improve Javadoc.
4791         (getSystemEventQueueImpl): Improve Javadoc.
4792
4793 2003-09-11  Tom Tromey  <tromey@redhat.com>
4794
4795         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
4796         file does not exist.
4797
4798 2003-09-10  Anthony Green  <green@redhat.com>
4799
4800         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
4801         Specify full name when referencing ::java::net::InetAddress.
4802         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
4803         Fix argument type.
4804
4805 2003-09-10  Michael Koch  <konqueror@gmx.de>
4806
4807         * acconfig.h (__NO_MATH_INLINES): Removed.
4808         * configure.in: Removed check for g++ math inlining bug from 2000.
4809         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
4810         libgcj_cxxflags.
4811         * configure: Regenerated.
4812
4813 2003-09-10  David Daney <ddaney@avtrex.com>
4814
4815         * java/util/Arrays.java (equals(all variants)): Quit using
4816         NullPointerException catching to detect null valued parameters.
4817
4818 2003-09-10  Michael Koch  <konqueror@gmx.de>
4819
4820         * java/net/DatagramSocket.java,
4821         java/net/MulticastSocket.java,
4822         java/net/ServerSocket.java,
4823         java/net/Socket.java:
4824         Use gnu.java.net.Plain*SocketImpl instead of
4825         java.net.PlainSocketImpl.
4826         * java/net/PlainDatagramSocketImpl.java,
4827         java/net/PlainSocketImpl.java,
4828         java/net/SocketInputStream.java,
4829         java/net/SocketOutputStream.java,
4830         java/net/natPlainDatagramSocketImplNoNet.cc,
4831         java/net/natPlainDatagramSocketImplPosix.cc,
4832         java/net/natPlainDatagramSocketImplWin32.cc,
4833         java/net/natPlainSocketImplNoNet.cc,
4834         java/net/natPlainSocketImplPosix.cc,
4835         java/net/natPlainSocketImplWin32.cc:
4836         Removed.
4837         * gnu/java/net/PlainDatagramSocketImpl.java,
4838         gnu/java/net/PlainSocketImpl.java,
4839         gnu/java/net/SocketInputStream.java,
4840         gnu/java/net/SocketOutputStream.java,
4841         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
4842         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
4843         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
4844         gnu/java/net/natPlainSocketImplNoNet.cc,
4845         gnu/java/net/natPlainSocketImplPosix.cc,
4846         gnu/java/net/natPlainSocketImplWin32.cc:
4847         New files (moved from java/net).
4848         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
4849         instead of java/net/natPlain*SocketImpl.cc.
4850         * configure: Regenerated.
4851         * Makefile.am: Moved files from java/net to gnu/java/net.
4852         * Makefile.in: Regenerated.
4853
4854 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
4855
4856         * configure: Regenerate.
4857
4858 2003-09-04  Tom Tromey  <tromey@redhat.com>
4859
4860         * configure.host: Removed erroneous comment.
4861
4862         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
4863         lvalue cast; use correct rvalue cast.
4864
4865 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
4866
4867         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
4868         and height arguments to GtkWindowPeer.create method call.
4869         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4870         (create(int,int,int)): New method.
4871         (create(int)): Add call to new create method.
4872         (create()): Add width and height arguments to create method
4873         call.
4874         (GtkWindowPeer): Remove call to setBounds.
4875         * java/awt/Frame.java (Frame(String)): Initialize visible field
4876         to false.
4877         (Frame(GraphicsConfiguration)): Likewise.
4878         (Frame(String,GraphicsConfiguration)): Likewise.
4879         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4880         Add width and height parameters.  Call
4881         gtk_window_set_default_size.
4882         (connectHooks): Remove unused name variable.
4883         (static setBounds): Call gtk_window_resize not
4884         gtk_widget_set_usize.
4885         (setBounds): Remove unused nchildren variable.
4886
4887 2003-08-31  Ingo Proetel  <proetel@aicas.com>
4888
4889         * java/util/logging/Logger.java: provide class and method information
4890         * java/util/logging/LogManager.java: create handlers
4891         * java/util/logging/SimpleFormatter.java: print souceClassName and
4892         sourceMethodName
4893
4894 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4895
4896         * win32.cc: fixed tab, indentation and whitespace
4897         inconsistencies
4898         removed jvm.h include
4899         added includes java/lang/UnsupportedOperationException.h,
4900         java/io/IOException.h, java/net/SocketException.h
4901         (WSAEventWrapper): class implementation
4902         (_Jv_WinStrError): implemented both overloads
4903         (_Jv_ThrowIOException): implemented both overloads
4904         (_Jv_ThrowSocketException): implemented both overloads
4905         (_Jv_select): implemented
4906         * include/win32.h: fixed tab, indentation and whitespace
4907         inconsistencies
4908         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
4909         added jvm.h include
4910         (WSAEventWrapper): added class declaration
4911         (_Jv_WinStrError): added both overload declarations
4912         (_Jv_ThrowIOException): added both overload declarations
4913         (_Jv_ThrowSocketException): added both overload declarations
4914         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
4915         (_Jv_select): added declaration
4916         (_Jv_socket): removed
4917         (_Jv_connect): removed
4918         (_Jv_close): removed
4919         (_Jv_bind): removed
4920         (_Jv_accept): removed
4921         (_Jv_listen): removed
4922         (_Jv_write): removed
4923         (_Jv_read): removed
4924         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
4925         whitespace inconsistencies
4926         replaced <windows.h> #include with <platform.h>
4927         removed jvm.h include
4928         (testCanUseGetHandleInfo): new function which tests whether Win32
4929         GetHandleInformation() call can be used with console buffer handles
4930         (only supported on >=WinNT 5.0)
4931         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
4932         (valid): rewrote implementation using GetHandleInformation()
4933         (sync):         changed exception throwing to use error string and exception
4934         helper methods declared in include/win32.h
4935         (open): likewise
4936         (write): likewise
4937         (setLength): likewise
4938         (close): likewise
4939         (seek): likewise
4940         (getFilePointer): likewise
4941         (read): likewise
4942         * java/io/natFileWin32.cc: fixed tab, indentation and
4943         whitespace inconsistencies
4944         replaced <windows.h> #include with <platform.h>
4945         removed jvm.h include
4946         (_access): use JV_TEMP_UTF_STRING
4947         (_stat): likewise
4948         (performMkDir): use JV_TEMP_UTF_STRING
4949         (performRenameTo): likewise
4950         (performDelete): likewise
4951         (performCreate): likewise
4952         (performSetReadOnly): likewise
4953         (performSetLastModified): likewise
4954         * java/lang/natWin32Process.cc: fixed tab, indentation and
4955         whitespace inconsistencies
4956         replaced <windows.h> #include with <platform.h>
4957         removed includes gcj/cni.h, jvm.h
4958         (new_string): removed
4959         (startProcess): use JV_TEMP_UTF_STRING,
4960         changed exception throwing to use error string and exception
4961         helper methods declared in include/win32.h
4962         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
4963         whitespace inconsistencies
4964         replaced <windows.h> #include with <platform.h>
4965         removed jvm.h include
4966         removed DISABLE_JAVA_NET conditional code
4967         removed POSIX conditional code not relevant to Win32
4968         (aton): use JV_TEMP_UTF_STRING
4969         removed POSIX conditional code not relevant to Win32
4970         (lookup): likewise
4971         (getLocalHostName): likewise
4972         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
4973         whitespace inconsistencies
4974         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
4975         removed DISABLE_JAVA_NET conditional code
4976         removed POSIX conditional code not relevant to Win32
4977         (winsock2GetRealNetworkInterfaces): new function to compute network
4978         interfaces via Winsock2 API
4979         (determineGetRealNetworkInterfacesFN): new function for returning
4980         a function pointer to the function used to compute network interfaces.
4981         (getRealNetworkInterfaces): implemented
4982         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
4983         whitespace inconsistencies
4984         removed gcj/cni.h include
4985         removed DISABLE_JAVA_NET conditional code
4986         removed POSIX conditional code not relevant to Win32
4987         changed net POSIXisms to Win32isms
4988         replaced _Jv socket-related calls with their real Win32 equivalents
4989         changed exception throwing to use error string and exception
4990         helper methods declared in include/win32.h
4991         (peekData): implemented timeout support
4992         (receive): likewise
4993         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
4994         whitespace inconsistencies
4995         removed gcj/cni.h and gcj/javaprims.h includes
4996         removed DISABLE_JAVA_NET conditional code
4997         removed POSIX conditional code not relevant to Win32
4998         changed net POSIXisms to Win32isms
4999         replaced _Jv socket-related calls with their real Win32
5000         equivalents
5001         changed exception throwing to use error string and exception
5002         helper methods declared in include/win32.h
5003         (throwConnectException): helper function for connect()
5004         (connect): implemented timeout support
5005         (accept): likewise
5006         (doRead): new helper function common to both read() method overloads,
5007         includes timeout support
5008         (read): implemented both overloads in terms of doRead()
5009         (available): implemented using ioctlsocket()
5010
5011 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
5012
5013         * java/net/natInetAddressWin32.cc,
5014         java/net/natNetworkInterfaceWin32.cc,
5015         java/net/natPlainDatagramSocketImplWin32.cc,
5016         java/net/natPlainSocketImplWin32.cc:
5017         Readded code enclosed in DISABLE_JAVA_NET defines
5018         in preparation for MinGW cleanup / networking
5019         patch
5020
5021 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
5022
5023         * Makefile.am: Fixed problems with parallel makes.
5024         (all_java_class_files): Readded definition.
5025         (all_java_class_files): New target which depends on
5026         libgcj-@gcc_version@.jar
5027         * Makefile.in: Rebuilt
5028
5029 2003-08-28  Tom Tromey  <tromey@redhat.com>
5030
5031         * Makefile.in: Rebuilt.
5032         * Makefile.am (ordinary_java_source_files): Added new files.
5033         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
5034         friend.
5035         * java/net/URLClassLoader.java (findClass): Don't use
5036         findURLResource.  Use loader's getClass method.
5037         (URLLoader.getClass): New method.
5038         (addURL): Handle `gcjlib' URLs.
5039         (SoURLLoader): New class.
5040         (SoResource): Likewise.
5041         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
5042         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
5043         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
5044         (_Jv_RegisterCoreHook): Declare.
5045         (_Jv_FindCore): Declare.
5046         * gnu/gcj/runtime/SharedLibHelper.java: New file.
5047         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
5048         typedef.
5049         (core_hook): New function.
5050         (struct SharedLibDummy) [saved_core]: New field.
5051         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
5052         (register_hook): Set protection domain and class loader on new
5053         class.
5054         (finalize): Free core chain.
5055         * gnu/gcj/Core.java (Core): New constructor.
5056         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
5057         SharedLibHelper.
5058         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
5059         (_Jv_create_core): New function.
5060         (create): Use it.
5061         (default_register_resource): New function.
5062         (_Jv_RegisterCoreHook): New global.
5063         (_Jv_RegisterResource): Use it.
5064         (core_chain_struct): Removed.
5065         (_Jv_FindCore): New function.
5066         (_Jv_FreeCoreChain): New function.
5067
5068 2003-08-29  Michael Koch  <konqueror@gmx.de>
5069
5070         * java/net/natInetAddressWin32.cc,
5071         java/net/natNetworkInterfaceWin32.cc,
5072         java/net/natPlainDatagramSocketImplWin32.cc,
5073         java/net/natPlainSocketImplWin32.cc:
5074         Removed code enclosed in DISABLE_JAVA_NET defines.
5075
5076 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
5077
5078         * Makefile.am: (write_entries_to_file) New parameterized
5079         function for writing entries to a file one line at a time.
5080         (all_java_class_files): Removed definition.
5081         (.java.class) Removed.target.
5082         (libgcj-@gcc_version@.jar): Changed dependency to
5083         $(all_java_source_files); added compilation step which compiles
5084         all changed source files in one pass.
5085         (libgcj.la) Refactored to use write_entries_to_file.
5086         (lib-gnu-awt-xlib.la) Likewise.
5087         (install-data-local) Likewise.
5088         (write-entries-to-file-check) New target which tests write_entries_to_file.
5089         (all-recursive): Changed dependency from $(all_java_class_files)
5090         to libgcj-@gcc_version@.jar
5091         * Makefile.in: Rebuilt.
5092
5093 2003-08-26  Tom Tromey  <tromey@redhat.com>
5094
5095         * java/lang/StrictMath.java: Typo fix.
5096         * java/lang/Math.java: Typo fix.
5097
5098 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
5099
5100         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
5101         of the removed Thread.
5102
5103 2003-08-26  Mark Wielaard  <mark@klomp.org>
5104
5105         Reported by David Holmes <dholmes@dltech.com.au>.
5106         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
5107         Collections.synchronizedMap.
5108         * java/lang/ThreadLocal.java (valueMap): Likewise.
5109
5110 2003-08-26  Mark Wielaard  <mark@klomp.org>
5111
5112         * java/security/acl/Acl.java: Fix broken p tag.
5113         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
5114         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
5115         * javax/swing/plaf/TreeUI.java: Likewise.
5116         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
5117         * java/util/Properties.java: Use the word umlaut, not &auml; in api
5118         documentation.
5119         * java/util/PropertyResourceBundle.java: Likewise and add closing code
5120         tag.
5121
5122 2003-08-26  Tom Tromey  <tromey@redhat.com>
5123
5124         * Makefile.in: Rebuilt.
5125         * Makefile.am: Removed all GNU-make-specific FIXME comments.
5126
5127         * java/lang/ref/Reference.java (get): Indentation fix.
5128         (clear): Comment fix.
5129         (enqueue): Likewise.
5130         (lock): Likewise.
5131         (referent): Likewise.
5132
5133 2003-08-26  Tom Tromey  <tromey@redhat.com>
5134
5135         PR java/12058:
5136         * java/lang/reflect/natArray.cc (set): Allow null as argument.
5137
5138         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
5139         (ProxyData.getPackage): New method.
5140         (ProxyData.getProxyData): Use package name, not Package.
5141         (ClassFactory.ClassFactory): Updated.
5142
5143 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
5144         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
5145         * Makefile.in: re-generated.
5146         * gnu/awt/j2d/IntegerGraphicsState.java
5147         (ScreenCoupledImage): new interface.
5148         (drawImage): detect ScreenCoupledImage instances.
5149         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
5150         * gnu/awt/xlib/XEventLoop.java
5151         (createEvent): re-formatted, and rearranged to avoid null pointer.
5152         * gnu/awt/xlib/XGraphics.java
5153         (drawImage): added XOffScreenImage handling.
5154         * gnu/awt/xlib/XOffScreenImage.java: new file.
5155         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
5156         * gnu/gcj/xlib/GC.java (copyArea): new native method.
5157         * gnu/gcj/xlib/XAnyEvent.java
5158         (TYPE_KEY_PRESS): new constant.
5159         (TYPE_KEY_RELEASE): new constant.
5160         (TYPE_MOTION_NOTIFY): new constant.
5161         (TYPE_ENTER_NOTIFY): new constant.
5162         (TYPE_LEAVE_NOTIFY): new constant.
5163         (TYPE_FOCUS_IN): new constant.
5164         (TYPE_FOCUS_OUT): new constant.
5165         (TYPE_KEYMAP_NOTIFY): new constant.
5166         (TYPE_GRAPHICS_EXPOSE): new constant.
5167         (TYPE_NO_EXPOSE): new constant.
5168         (TYPE_VISIBILITY_NOTIFY): new constant.
5169         (TYPE_CREATE_NOTIFY): new constant.
5170         (TYPE_DESTROY_NOTIFY): new constant.
5171         (TYPE_MAP_REQUEST): new constant.
5172         (TYPE_CONFIGURE_REQUEST): new constant.
5173         (TYPE_GRAVITY_NOTIFY): new constant.
5174         (TYPE_RESIZE_REQUEST): new constant.
5175         (TYPE_CIRCULATE_NOTIFY): new constant.
5176         (TYPE_CIRCULATE_REQUEST): new constant.
5177         (TYPE_PROPERTY_NOTIFY): new constant.
5178         (TYPE_SELECTION_CLEAR): new constant.
5179         (TYPE_SELECTION_REQUEST): new constant.
5180         (TYPE_SELECTION_NOTIFY): new constant.
5181         (TYPE_COLORMAP_NOTIFY): new constant.
5182         (TYPE_MAPPING_NOTIFY): new constant.
5183         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
5184         * gnu/gcj/xlib/natGC.cc (copyArea): new method
5185         * java/awt/Component.java (createImage): changed to use peer method.
5186
5187 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5188
5189         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
5190         name, not XLFD, to native drawString.
5191         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5192         Replace XLFD-based implementation with Pango-based
5193         implementation.
5194
5195 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5196
5197         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
5198         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
5199
5200 2003-08-21  David Daney  <ddaney@avtrex.com>
5201
5202         Fix for PR libgcj/12013:
5203         * java/lang/ref/natReference.cc (finalize_referred_to_object):
5204         Check `cleared' field.
5205         * java/lang/ref/Reference.java (copy): Updated comments.
5206         (cleared): New field.
5207         (clear): Rewrote.
5208
5209 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
5210             Thomas Fitzsimmons  <fitzsim@redhat.com>
5211
5212         * Makefile.am (gtk_awt_peer_sources): Add
5213         gnu/java/awt/peer/GLightweightPeer.java.  Remove
5214         gnu/java/awt/GLightweightPeer.java.
5215         * gnu/java/awt/GLightweightPeer.java: Remove file.
5216         * gnu/java/awt/peer/GLightweightPeer.java: New file.
5217         * java/awt/Component.java (getToolkit): Add comment about
5218         lightweight components.
5219         * java/awt/Toolkit.java (createComponent): Return
5220         gnu.java.awt.peer.GLightweightPeer.
5221
5222 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
5223
5224         * configure.in: Fix detection of gcj when building with newlib.
5225         * configure: Regenerated.
5226
5227 2003-08-20  Graydon Hoare  <graydon@redhat.com>
5228
5229         * jni.cc: Replace "cheating" pointer-casting code with
5230         extract_from_jvalue<> template.
5231
5232 2003-08-20  Andrew Haley  <aph@redhat.com>
5233
5234         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
5235         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
5236         (classAt): Break out class lookup function into getClass().
5237         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
5238         handlers when using -fno-assume-compiled.
5239
5240 2003-08-20  Tom Tromey  <tromey@redhat.com>
5241
5242         Fix for PR libgcj/9125:
5243         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
5244         object outside of loop.  Respect lib_control setting.
5245         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
5246         field.
5247         (lib_control): New field.
5248         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
5249         (VMClassLoader): Initialize new field.
5250
5251         * java/lang/ref/natReference.cc (finalize_referred_to_object):
5252         Set `list->reference' to DELETED_REFERENCE when removing dead
5253         object.
5254         (find_slot): Added an assert.
5255         (DELETED_REFERENCE): New define.
5256         (add_to_hash): Check for DELETED_REFERENCE.
5257         (remove_from_hash): Just return if found slot isn't ours.
5258
5259 2003-08-19  Andrew Haley  <aph@redhat.com>
5260
5261         * prims.cc (unblock_signal): New function.
5262         (catch_segv): Use it.
5263         (catch_fpe): Likewise.
5264
5265 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
5266
5267         PR libgcj/11575
5268         * java/io/natFileDescriptorWin32.cc (open): Set create
5269         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
5270         Honor EXCL when openning with WRITE flag. 
5271
5272 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
5273
5274         * include/jvm.h: New class _Jv_TempUTFString (helper class for
5275         getting a temporary C string from a jstring)
5276         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
5277         but uses a stack buffer if the string length is less than 256
5278         bytes.
5279
5280 2003-08-18  Tom Tromey  <tromey@redhat.com>
5281
5282         PR libgcj/11951:
5283         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
5284         void.  Throw VirtualMachineError if ffi fails.  Initialize return
5285         value.  Added is_jni_call argument; only wrap exception if not a
5286         JNI call.  Use descriptive message if operation not supported.
5287         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
5288         array class.
5289         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
5290         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
5291         _Jv_CallAnyMethodA.
5292         (_Jv_JNI_CallAnyMethodA): Likewise.
5293         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
5294         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
5295
5296 2003-08-13  Tom Tromey  <tromey@redhat.com>
5297
5298         * gij.cc (help): Document -? and -X.
5299
5300 2003-08-12  Graydon Hoare  <graydon@redhat.com>
5301
5302         * java/awt/Font.java: 
5303         Stub out more recent API. 
5304
5305 2003-08-12  Graydon Hoare  <graydon@redhat.com>
5306
5307         * java/awt/Color.java (getAlpha): 
5308         Prevent sign-extended alpha values.
5309
5310 2003-08-12  Tom Tromey  <tromey@redhat.com>
5311
5312         * gij.cc (main): Handle -? and -X.
5313
5314 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
5315
5316         * java/awt/Container.java
5317         (getPreferredSize): Call preferredSize.
5318         (preferredSize): Moved body of getPreferredSize here.
5319         (getMinimumSize): Call minimumSize.
5320         (minimumSize): Moved body of getMinimumSize here.
5321
5322 2003-08-11  Tom Tromey  <tromey@redhat.com>
5323
5324         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
5325         (postEvent): Removed FIXME comment.
5326         (isDispatchThread): Documented.
5327         (getCurrentEvent): New method.
5328         (dispatchEvent): Set currentEvent and lastWhen.
5329         (getMostRecentEventTime): Rewrote.
5330         (invokeLater): Documented.
5331
5332 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
5333
5334         * java/io/PrintStream.java (print): Always flush if auto_flush is
5335         set. Don't check for newline characters.
5336         (write (int)): Implement without using a temporary array.
5337         (write (byte[], int, int): Always flush if auto_flush is set. Don't
5338         check for newline characters.
5339         Fixes PR libgcj/11778.
5340
5341 2003-08-08  Andrew Haley  <aph@redhat.com>
5342
5343         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
5344         * Makefile.in: Rebuild.
5345         * java/lang/natRuntime.cc (insertSystemProperties): Add
5346         "sun.boot.class.path".
5347
5348 2003-08-07  Andrew Haley  <aph@redhat.com>
5349
5350         * java/io/PrintStream.java: Don't crash on a null string.
5351         
5352 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5353
5354         * configure.in: Don't initialize GCINCS to boehm-gc/include.
5355         * configure: Regenerate.
5356
5357 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
5358
5359         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
5360         SocketImpl. Update Javadoc.
5361         (bind): Call close() not impl.close() in event of exception.
5362         (connect): Likewise.
5363         Remove superfluous null checks throughout.
5364         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
5365         Don't create an extra socket. Fix for PR libgcj/10868.
5366         (bind): Clean up exception handling.
5367         Remove superfluous null checks throughout.
5368
5369 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
5370             Bryce McKinlay  <bryce@mckinlay.net.nz>
5371
5372         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
5373         ready-to-write argument to _Jv_Select. Reset the socket back to 
5374         non-blocking state after connecting.
5375         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
5376         Throw SocketTimeoutException not InterruptedIOException.
5377         (read): Throw SocketTimeoutException not InterruptedIOException.
5378
5379 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
5380
5381         * java/lang/Thread.java (Thread): Check for null "name" from
5382         start of private constructor, not after calling the private
5383         constructor.
5384
5385 2003-08-06  Tom Tromey  <tromey@redhat.com>
5386
5387         * java/io/FilePermission.java (equals): Use correct index for
5388         last character of path.
5389
5390 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
5391
5392         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
5393         * configure.in: Compare with_cross_host to build_alias, not build.
5394         * aclocal.m4: Regenerate.
5395         * configure: Regenerate.
5396
5397 2003-08-05  Tom Tromey  <tromey@redhat.com>
5398
5399         Fix for PR libgcj/11779:
5400         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
5401         class.
5402
5403         * java/lang/reflect/Method.java: Updated status comment.
5404         Imported javadoc from Classpath and re-ordered methods.
5405         * java/lang/reflect/Constructor.java: Reindented.  Updated
5406         status comment.  Imported javadoc from Classpath and re-ordered
5407         methods.
5408
5409 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
5410
5411         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
5412         Add keyLocation parameter.
5413         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
5414         string.
5415         (paramString): Generate keyChar string according to keyChar, not
5416         keyCode.
5417         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5418         (state_to_awt_mods): Handle ALT key.
5419         (keyevent_state_to_awt_mods): New function.
5420         (get_first_keyval_from_keymap): New function.
5421         (keysym_to_awt_keycode): Get virtual key code from keymap.
5422         Handle missing VK_ values.
5423         (keysym_to_awt_keylocation): New function.
5424         (keyevent_to_awt_keychar): New function.
5425         (generates_key_typed_event): Handle non-text-component case.
5426         Handle GDK_KP_Delete and GDK_KP_Enter.
5427         (awt_event_handler): Call new functions to get postKeyEvent
5428         parameters.
5429         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
5430         Update postKeyEvent method signature.
5431         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
5432         VK_ defines.
5433
5434 2003-08-05  Matthias Klose  <doko@debian.org>
5435
5436         * aclocal.m4: check for libart-config binary
5437           under the name libart2-config as well.
5438         * configure: regenerated.
5439
5440 2003-08-04  David P Grove  <groved@us.ibm.com>
5441
5442         * java/text/DecimalFormat.java (format): avoid ArithmeticException
5443         when groupingSize is 0.
5444         (parse): Likewise.
5445
5446 2003-08-04  Matthias Klose  <doko@debian.org>
5447
5448         * libart.m4: check for libart-config binary
5449           under the name libart2-config as well.
5450         * configure, aclocal.m4: regenerated.
5451
5452 2003-08-02  Michael Koch  <konqueror@gmx.de>
5453
5454         * java/nio/ByteBufferImpl.java
5455         (getChar): Check remaining bytes, fixed comment about endianess.
5456         (putChar): Likewise.
5457         (getShort): Likewise.
5458         (putShort): Likewise.
5459         (getInt): Check remaining bytes, fixed conversion, fixed comment about
5460         endianess.
5461         (putInt): Likewise.
5462         (getLong): Likewise.
5463         (putLong): Likewise.
5464         (getFloat): Likewise.
5465         (putFloat): Likewise.
5466         (getDouble): Likewise.
5467         (putDouble): Likewise.
5468         * java/nio/DirectByteBufferImpl.java
5469         (getChar): Wrapped code, fixed comment about endianess.
5470         (putchar): Likewise.
5471         (getShort): Likewise.
5472         (putShort): Likewise.
5473         (getInt): Fixed conversion, fixed comment about endianess.
5474         (putInt): Likewise.
5475         (getLong): Likewise.
5476         (putLong): Likewise.
5477         (getFloat): Likewise.
5478         (putFloat): Likewise.
5479         (getDouble): Likewise.
5480         (putDouble): Likewise.
5481         * java/nio/MappedByteBufferImpl.java
5482         (compact): Implemented.
5483         (getChar): Implemented.
5484         (putChar): Implemented.
5485         (getDouble): Implemented.
5486         (putdouble): Implemented.
5487         (getFloat): Implemented.
5488         (putFloat): Implemented.
5489         (getInt): Implemented.
5490         (putInt): Implemented.
5491         (getLong): Implemented.
5492         (putLong): Implemented.
5493         (getShort): Implemented.
5494         (putShort): Implemented.
5495         * java/nio/channels/FileChannelImpl.java
5496         (read): Set position where to access file.
5497         (write): Likewise.
5498         (transferTo): Flip buffer after read and before write.
5499         (transferFrom): Likewise.
5500
5501 2003-08-02  Michael Koch  <konqueror@gmx.de>
5502
5503         * gnu/java/lang/ArrayHelper.java
5504         (equalsArray): Reformated, added method documentation.
5505
5506 2003-08-02  Michael Koch  <konqueror@gmx.de>
5507
5508         * java/net/URL.java
5509         (URL): Added paragraph about the
5510         gnu.java.net.nocache_protocol_handlers property.
5511         (ph_cache): Renamed from handlers to match classpath's implementation.
5512         Reordered it with factory and serialVersionUID member variables.
5513         (cache_handlers): New member variable.
5514         (static): New static initializer to initialize cache_handlers from
5515         gnu.java.net.nocache_protocol_handlers property.
5516         (URL): Use ph_cache instead of handlers, reformatted some code to
5517         match classpath's implementation.
5518
5519 2003-08-01  Tom Tromey  <tromey@redhat.com>
5520
5521         Fix for PR libgcj/11241:
5522         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
5523         initialCapacity is 0, set it to 1.
5524
5525 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
5526
5527         * java/net/SocketImpl.java (toString): Display the remote address
5528         of an unconnected server socket as "0.0.0.0/0.0.0.0".
5529
5530 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
5531
5532         * javax/swing/border/BevelBorder.java,
5533         javax/swing/border/EtchedBorder.java,
5534         javax/swing/border/LineBorder.java,
5535         javax/swing/border/MatteBorder.java,
5536         javax/swing/border/SoftBevelBorder.java,
5537         javax/swing/plaf/BorderUIResource.java,
5538         javax/swing/plaf/ComponentUI.java,
5539         javax/swing/plaf/TreeUI.java,
5540         javax/swing/plaf/basic/BasicBorders.java,
5541         javax/swing/plaf/basic/BasicGraphicsUtils.java,
5542         javax/swing/plaf/basic/BasicTreeUI.java:
5543         Prepend "doc-files" to all paths to embedded Javadoc images, so
5544         that the generated documentation contains the correct URL.
5545
5546 2003-08-01  Tom Tromey  <tromey@redhat.com>
5547
5548         * configure: Rebuilt.
5549         * configure.in (tool_include_dir): Redefine to match gcc.
5550
5551 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
5552             Mark Wielaard  <mark@klomp.org>
5553             
5554         * java/math/BigDecimal (divide): Correctly handle
5555         ROUND_HALF_EVEN when amount is greater than 0.5.
5556         Simplify and optimize code.
5557
5558 2003-07-31  Tom Tromey  <tromey@redhat.com>
5559
5560         More for PR libgcj/11737:
5561         * java/io/ObjectInputStream.java (processResolution): Use
5562         getMethod.
5563         (getMethod): Make method accessible.
5564         (getField): Make field accessible.
5565         (setBooleanField): Don't call setAccessible here.
5566         (setByteField, setCharField, setDoubleField, setFloatField,
5567         setIntField, setLongField, setShortField, setObjectField):
5568         Likewise.
5569         (callReadMethod): Don't check whether method is null.  Catch
5570         NoSuchMethodException.
5571         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
5572         cause on thrown exceptions.
5573
5574 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
5575
5576         Fix for PR libgcj/11728:
5577         * java/util/HashMap.java (readObject): Set size.
5578
5579 2003-07-31  Tom Tromey  <tromey@redhat.com>
5580
5581         Fix for PR libgcj/11737:
5582         * java/io/ObjectOutputStream.java (getMethod): Make method
5583         accessible.
5584         (getField): Likewise.
5585         (writeObject): Use getMethod.
5586         Import PrivilegedAction and AccessController.
5587         (callWriteMethod): Don't check whether m is null.  Catch
5588         NoSuchMethodException.
5589
5590         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
5591         (containsAngle): Likewise.
5592         (getStartPoint): Rewrote.
5593         (getEndPoint): Likewise.
5594         (setAngleStart(Point2D)): Likewise.
5595
5596 2003-07-31  Roger Sayle  <roger@eyesopen.com>
5597             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5598
5599         * configure.in: Add new THREADCXXFLAGS variable.
5600         Handle POSIX threads on alpha*-dec-osf*.
5601         * configure: Regenerate.
5602         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
5603         * Makefile.in: Regenerate.
5604
5605 2003-07-08  Andrew Haley  <aph@redhat.com>
5606
5607         * include/i386-signal.h (RESTORE): New.
5608         (INIT_SEGV): Set restorer.
5609         (INIT_FPE): Likewise.
5610
5611 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
5612
5613         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
5614         than getXLFD.
5615         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
5616         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
5617         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5618         (gtkSetFont): Scale size parameter by PANGO_SCALE.
5619         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
5620         Likewise.
5621         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
5622         Likewise.
5623
5624 2003-07-29  Tom Tromey  <tromey@redhat.com>
5625
5626         * defineclass.cc (handleField): Throw exception if field name is
5627         duplicated.
5628         (handleMethod): Throw exception for duplicate method.
5629
5630 2003-07-29  Tom Tromey  <tromey@redhat.com>
5631
5632         * gnu/gcj/convert/natIconv.cc (write): Handle case where
5633         output buffer is too small.
5634
5635 2003-07-28  Tom Tromey  <tromey@redhat.com>
5636
5637         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
5638         New method.
5639         Include gnu/gcj/runtime/StringBuffer.h.
5640         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
5641         native method.
5642         (String(gnu.gcj.runtime.StringBuffer)): Use it.
5643
5644 2003-07-27  Anthony Green  <green@redhat.com>
5645
5646         * configure.in: Fix newlib check.
5647         * configure: Rebuilt.
5648
5649 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
5650
5651         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5652         Create vbox and layout for GtkPlug.
5653
5654 2003-07-27  Michael Koch  <konqueror@gmx.de>
5655
5656         * java/awt/Window.java
5657         (Window): Removed now unused constructor. It became oboslete with the
5658         new embedded window patch.
5659
5660 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
5661             Michael Koch  <konqueror@gmx.de>
5662
5663         * gnu/java/awt/EmbeddedWindow.java
5664         (EmbeddedWindow): Extends Frame instead of Window.
5665         (window_id): New member variable to store the native window handle.
5666         (create): Removed.
5667         (EmbeddedWindow): New constructor.
5668         (addNotify): New method.
5669         (getHandler): Likewise.
5670         (setWindowPeer): New native method.
5671         * gnu/java/awt/EmbeddedWindowSupport.java
5672         (EmbeddedWindowSupport): Fixed documentation.
5673         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
5674         WindowPeer, give it an EmbeddedWindow instance instead of the raw
5675         window data.
5676         * gnu/java/awt/natEmbeddedWindow.cc
5677         (create): Removed.
5678         (setWindowPeer): New method.
5679         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
5680         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
5681         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5682         New files
5683         * gnu/java/awt/peer/gtk/GtkToolkit.java
5684         (GtkToolkit): Implements EmbeddedWindowSupport.
5685         (createEmbeddedWindow): New method.
5686         * java/awt/Window.java
5687         (Window): Removed.
5688         * Makefile.am
5689         (java_source_files): Added EmbeddedWindowPeer.java.
5690         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
5691         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
5692         * Makefile.in: Regenerated.
5693
5694 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
5695
5696         * java/lang/Win32Process.java (ConcreteProcess): Surround
5697         a command line element with quotes if it contains an
5698         embedded space or tab.
5699         * java/lang/natWin32Process.cc (startProcess): Do not
5700         surround command line elements with quotes here.
5701
5702         * configure.host: Use -fcheck-references and 
5703         -fuse-divide-subroutine for MinGW until we fix
5704         win32_exception_handler( ) in win32.cc w.r.t. Win32 
5705         Structured Exception Handling (SEH).
5706
5707         * win32.cc (_Jv_platform_initProperties): Use generic names
5708         like "x86" for the "os.arch" property to be consistent with
5709         what Sun's JDK produces. Use the wProcessorArchitecture
5710         member of the Win32 SYSTEM_INFO structure, filled in a call 
5711         to GetSystemInfo( ), instead of dwProcessorType.
5712
5713 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
5714             Ranjit Mathew  <rmathew@hotmail.com>
5715
5716         * Makefile.am: Use cross-compiling gcjh from the path for
5717         a crossed-native build.
5718         * Makefile.in: Rebuilt.
5719         * configure.in: Include libltdl in non-newlib builds.
5720         Moved determination of gcj used to build libraries to
5721         its own section. Fixed cross-compilation issues for
5722         non-newlib builds.
5723         * configure: Rebuilt.
5724
5725 2003-07-25  Tom Tromey  <tromey@redhat.com>
5726
5727         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
5728         (write): Likewise.
5729         (read): Likewise.
5730         (read): Likewise.
5731
5732 2003-07-25  Mark Wielaard  <mark@klomp.org>
5733
5734         * java/lang/natRuntime.cc (_load): Add library name to
5735         UnsatisfiedLinkError when thrown.
5736
5737 2003-07-25  Mark Wielaard  <mark@klomp.org>
5738
5739         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
5740         added.
5741         * Makefile.in: Likewise.
5742
5743 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
5744
5745         * java/awt/Component.java
5746         (getPreferredSize): Call preferredSize.
5747         (preferredSize): Moved body of getPreferredSize here.
5748         (getMinimumSize): Call minimumSize.
5749         (minimumSize): Moved body of getMinimumSize here.
5750         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
5751         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
5752         pass -1
5753         * java/awt/Container.java
5754         (validate): Don't validate if there is no peer.
5755         (update): Clear background before calling paint.
5756         * java/awt/GridBagLayout.java
5757         Completed the implementation and fixed several bugs.
5758         * java/awt/MediaTracker.java
5759         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
5760         combine flags.
5761         * java/awt/Window.java
5762         (Window): Don't call setVisible(false). Windows are invisible by
5763         default and calling virtual methods from constructor causes
5764         compatibility problems (e.g. subclasses may assume that the peer
5765         already exists).
5766
5767 2003-07-25  Michael Koch  <konqueror@gmx.de>
5768
5769         * java/awt/GridBagLayout.java:
5770         Totally reworked and partly implemented.
5771         * java/awt/GridBagLayoutInfo.java:
5772         New file.
5773
5774 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
5775
5776         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
5777         Don't pack label in an event box.
5778
5779 2003-07-24  Tom Tromey  <tromey@redhat.com>
5780
5781         For PR libgcj/7482:
5782         * verify.cc (ref_intersection): New class.
5783         (type_val): Removed unresolved_reference_type,
5784         uninitialized_unresolved_reference_type.
5785         (is_assignable_from_slow): Rewrote.
5786         (type::data): Removed.
5787         (type::klass): New field.
5788         (type::type): Added verifier argument.
5789         (type::resolve): Removed.
5790         (type::set_uninitialized): Updated for change to type_val.
5791         (type::set_initialized): Likewise.
5792         (type::isinitialized): Likewise.
5793         (type::print): Likewise.
5794         (construct_primitive_array_type): Likewise.
5795         (type::compatible): Updated for change to type_val and to use
5796         ref_intersection.
5797         (type::isarray): Updated to use ref_intersection.
5798         (type::isinterface): Likewise.
5799         (type::element_type): Likewise.
5800         (type::to_array): Likewise.
5801         (type::verify_dimensions): Rewrote.
5802         (type::merge): Likewise.
5803         (check_class_constant): Updated for type constructor change.
5804         (check_constant): Likewise.
5805         (check_field_constant): Likewise.
5806         (get_one_type): Likewise.
5807         (initialize_stack): Likewise.
5808         (verify_instructions_0): Likewise.
5809         (verify_instructions_0) [op_invokeinterface]: Removed special
5810         case.
5811         (isect_list): New field.
5812         (_Jv_BytecodeVerifier): Initialize it.
5813         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
5814
5815 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
5816
5817         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
5818         unless field size is 2.
5819
5820 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
5821
5822         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5823         (connectHooks): New method.
5824         (handleEvent): Remove.
5825         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5826         (createHooks): Remove declaration.
5827         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5828         (generates_key_typed_event): Change to handle only certain
5829         keyvals.
5830         (awt_event_handler): Add special handling for GtkTextView.
5831         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5832         (textcomponent_commit_cb): New function.
5833         (textcomponent_changed_cb): Likewise.
5834         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5835         (connectHooks): Remove.
5836
5837 2003-07-23  Tom Tromey  <tromey@redhat.com>
5838
5839         * java/lang/natSystem.cc (arraycopy): Check for overflow.
5840
5841         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
5842
5843 2003-07-22  Tom Tromey  <tromey@redhat.com>
5844
5845         * boehm.cc (_Jv_BuildGCDescr): Wrote.
5846         Include limits.h.
5847
5848 2003-07-22  Tom Tromey  <tromey@redhat.com>
5849
5850         * java/awt/Window.java (getWarningString): Just return the
5851         string.
5852         (Window): Set warningString; check with security manager.
5853
5854 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
5855
5856         * gnu/awt/xlib/XGraphicsConfiguration.java
5857         (FontMetricsCache): Made static.
5858  
5859 2003-07-22  Tom Tromey  <tromey@redhat.com>
5860
5861         * java/net/URLEncoder.java (encode(String)): Use platform default
5862         encoding.
5863         (encode(String,String)): Convert to 2-digit upper-case hex
5864         number.
5865         (hex): New field.
5866
5867 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5868
5869         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5870         (create): Remove unused method implementation.
5871         (connectHooks): Remove debug messages.
5872
5873 2003-07-20  Anthony Green  <green@redhat.com>
5874
5875         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
5876         CloneNotSupportedException.
5877         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
5878         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
5879         * gnu/gcj/xlib/GC.java (clone): Ditto.
5880         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
5881         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
5882
5883         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
5884         handler.
5885         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
5886
5887 2003-07-20  Steve Pribyl <steve@netfuel.com.>
5888
5889         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
5890         String.  Put dlerror() message into exception.
5891         Include UnsatisfiedLinkError.
5892         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
5893         String.  Now native.
5894
5895 2003-07-20  Tom Tromey  <tromey@redhat.com>
5896
5897         * java/lang/Runtime.java: Comment fix.
5898         * java/lang/ClassLoader.java (isAncestorOf): New method.
5899         (getParent): Uncommented security check.  Use isAncestorOf.
5900         * include/jvm.h (_Jv_CheckAccess): Declare.
5901         * java/lang/reflect/natConstructor.cc (newInstance): Perform
5902         access check.
5903         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
5904         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
5905         class loader to _Jv_GetArrayClass.
5906         Include ArrayIndexOutOfBoundsException.h.
5907         * java/lang/reflect/Field.java: Update comment to reflect status.
5908         (equals): Fixed indentation.
5909         * java/lang/Class.h (Class): Declare memberAccessCheck, not
5910         checkMemberAccess.  Make _Jv_CheckAccess a friend.
5911         * java/lang/Class.java (memberAccessCheck): New method from
5912         Classpath.
5913         (checkMemberAccess): Removed.
5914         (getDeclaredMethod): Use memberAccessCheck.
5915         (getField): Likewise.
5916         (getMethod): Likewise.
5917         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
5918         (_Jv_SearchMethodInClass): Likewise.
5919         * prims.cc (_Jv_CheckAccess): New function.
5920         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
5921         (_Jv_JNI_GetAnyFieldID): Likewise.
5922         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
5923         (getClassLoader): Added security check.
5924         (getConstructor): Call memberAccessCheck.
5925         (getDeclaredClasses): Likewise.
5926         (getDeclaredField): Likewise.
5927         (getDeclaredFields): Likewise.
5928         (_getConstructors): Likewise.
5929         (getDeclaredConstructor): Likewise.
5930         (getDeclaredMethods): Likewise.
5931         (getFields): Likewise.
5932         (getMethods): Likewise.
5933         (newInstance): Likewise.
5934         (_Jv_MakeVTable): Put method name in exception.
5935         * java/lang/reflect/natMethod.cc (getType): Use
5936         getClassLoaderInternal.
5937         (_Jv_GetTypesFromSignature): Likewise.
5938         (invoke): Perform access check.
5939         (_Jv_CallAnyMethodA): Removed old FIXME comments.
5940         Include ArrayIndexOutOfBoundsException.h.
5941         * java/lang/reflect/natField.cc (getType): Use
5942         getClassLoaderInternal.
5943         (_Jv_CheckFieldAccessibility): Removed.
5944         (getAddr): Use _Jv_CheckAccess; find caller.
5945         Include ArrayIndexOutOfBoundsException.h.
5946
5947 2003-07-20  Michael Koch  <konqueror@gmx.de>
5948
5949         * java/net/URL.java
5950         (URL): Fixed documentation to name an argument correcty, Reformatted
5951         one method declaration.
5952         (getURLStreamHandler): Added documentation from classpath.
5953
5954 2003-07-19  Tom Tromey  <tromey@redhat.com>
5955
5956         * mauve-libgcj: Don't run CollationElementIterator tests.
5957
5958 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
5959
5960         * java/net/URLClassLoader.java (addURL): Moved implementation to
5961         private addURLImpl() to avoid calling addURL from the constructor.
5962         (addURLImpl): Contains the code that was previously in addURL.
5963         (addURLs): Call addURLImpl(), not addURL().
5964
5965 2003-07-18  Graydon Hoare  <graydon@redhat.com>
5966
5967         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
5968         Handle missing event cases, connect to "value-changed" signal.
5969
5970 2003-07-18  Graydon Hoare  <graydon@redhat.com>
5971
5972         * java/awt/geom/CubicCurve2D.java,
5973         java/awt/geom/Line2D.java,
5974         java/awt/geom/QuadCurve2D.java,
5975         java/awt/geom/Rectangle2D.java: 
5976         Fix path some calculations, make path iterators follow
5977         a consistent style.
5978
5979 2003-07-18  Mark Wielaard  <mark@klomp.org>
5980
5981         * java/util/logging/Handler.java (isLoggable): Check record level
5982         smaller or equal.
5983
5984 2003-07-17  Michael Koch  <konqueror@gmx.de>
5985
5986         * gnu/java/awt/peer/gtk/GtkToolkit.java:
5987         Reworked imports.
5988
5989 2003-07-14  Michael Koch  <konqueror@gmx.de>
5990
5991         * gnu/java/rmi/server/UnicastServerRef.java:
5992         New version from classpath.
5993
5994 2003-07-14  Michael Koch  <konqueror@gmx.de>
5995
5996         * java/awt/image/MemoryImageSource.java,
5997         java/beans/PropertyEditorManager.java,
5998         javax/naming/CompoundName.java,
5999         javax/naming/spi/NamingManager.java,
6000         javax/swing/AbstractButton.java,
6001         javax/swing/ButtonModel.java,
6002         javax/swing/SwingUtilities.java,
6003         javax/swing/UIManager.java,
6004         javax/swing/colorchooser/DefaultColorSelectionModel.java,
6005         javax/swing/event/AncestorEvent.java,
6006         javax/swing/event/InternalFrameEvent.java,
6007         java/util/zip/ZipFile.java:
6008         New versions from classpath.
6009
6010 2003-07-13  Michael Koch  <konqueror@gmx.de>
6011
6012         * gnu/java/nio/FileChannelImpl.java,
6013         gnu/java/nio/natFileChannelImpl.cc: Removed.
6014         * java/io/FileInputStream.java,
6015         java/io/FileOutputStream.java,
6016         java/io/RandomAccessFile.java,
6017         java/nio/MappedByteBufferImpl.java:
6018         Import java.nio.channels.FileChannelImpl instead of
6019         gnu.java.nio.FileChannelImpl.
6020         * java/nio/channels/FileChannelImpl.java,
6021         java/nio/channels/natFileChannelImpl.cc:
6022         New files.
6023         * Makefile.am
6024         (ordinary_java_source_files):
6025         Removed gnu/java/nio/FileChannelImpl.java and added
6026         java/nio/channels/FileChannelImpl.java.
6027         (nat source_files):
6028         Removed gnu/java/nio/natFileChannelImpl.cc and added
6029         java/nio/channels/natFileChannelImpl.cc.
6030         * Makefile.in: Regenerated.
6031
6032 2003-07-13  Michael Koch  <konqueror@gmx.de>
6033
6034         * javax/swing/plaf/basic/BasicBorders.java,
6035         javax/swing/plaf/basic/BasicLabelUI.java,
6036         javax/swing/plaf/basic/BasicLookAndFeel.java,
6037         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6038         javax/swing/plaf/basic/BasicTextUI.java,
6039         javax/swing/plaf/metal/MetalLookAndFeel.java:
6040         New versions from classpath.
6041
6042 2003-07-13  Michael Koch  <konqueror@gmx.de>
6043
6044         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
6045         * gnu/java/awt/peer/gtk/GdkGraphics.java
6046         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
6047         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
6048         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
6049         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
6050         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
6051         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
6052         * gnu/java/awt/peer/gtk/GtkClipboard.java
6053         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
6054         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
6055         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6056         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
6057         * gnu/java/awt/peer/gtk/GtkImage.java
6058         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6059         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
6060         * gnu/java/awt/peer/gtk/GtkListPeer.java
6061         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
6062         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
6063         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
6064         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
6065         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
6066         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
6067         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
6068         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
6069         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
6070         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
6071         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6072         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
6073
6074 2003-07-13  Michael Koch  <konqueror@gmx.de>
6075
6076         * gnu/java/locale/LocaleInformation_de.java
6077         * gnu/java/locale/LocaleInformation_en.java
6078         * gnu/java/locale/LocaleInformation_nl.java
6079
6080 2003-07-13  Michael Koch  <konqueror@gmx.de>
6081
6082         * gnu/java/awt/EmbeddedWindow.java,
6083         gnu/java/awt/EmbeddedWindowSupport.java,
6084         gnu/java/awt/natEmbeddedWindow.cc:
6085         New files.
6086         * java/awt/Window.java
6087         (Window): New constructor to support embedded windows.
6088         * Makefile.am
6089         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
6090         gnu/java/awt/EmbeddedWindowSupport.java.
6091         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
6092         * Makefile.in: Regenerated.
6093
6094 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
6095
6096         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
6097         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
6098         * java/awt/im/InputContext.java: Remove a redundant
6099         partial line.
6100
6101 2003-07-09  Tom Tromey  <tromey@redhat.com>
6102
6103         * Makefile.in: Rebuilt.
6104         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
6105
6106 2003-07-09  Mark Wielaard  <mark@klomp.org>
6107
6108         * java/io/ObjectOutputStream.java (writeObject): break after
6109         calling writeClassDescriptor().
6110
6111 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
6112
6113         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
6114
6115 2003-07-09  Michael Koch  <konqueror@gmx.de>
6116
6117         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6118         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6119         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6120         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
6121         Explicitly import used classes.
6122         * java/awt/Container.java: New version from classpath.
6123
6124 2003-07-09  Michael Koch  <konqueror@gmx.de>
6125
6126         * libgcj.pc.in: New file.
6127         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
6128         * Makefile.in: Regenerated.
6129         * configure: Regenrated.
6130         * configure.in: Create libgcj.pc from libgcj.pc.in.
6131
6132 2003-07-08  Mark Wielaard <mark@klomp.org>
6133
6134         * gcj/cni.h: CNI now expands to Compiled Native Interface.
6135
6136         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
6137         * java/lang/fdlibm.h: Likewise.
6138
6139 2003-07-07  Adam Megacz <adam@xwt.org>
6140
6141         * posix.cc: added #include<stdio.h>
6142                 
6143 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
6144
6145         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
6146         formatting.
6147
6148         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6149         (setCaretPosition, setEditable): Rely entirely on native
6150         implementation.
6151         (getArgs): Remove.
6152         (postTextEvent): New method.
6153         (handleEvent): New method.
6154         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
6155         method.
6156         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
6157         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6158         (keysym_to_awt_keycode): Fix range checks.
6159         (generates_key_typed_event): New function.
6160         (awt_event_handler): Post AWT_KEY_RELEASED events to event
6161         queue.
6162         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6163         (gtkInit): Store TextComponent's postTextEvent method ID.
6164         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6165         (setText): Post TEXT_VALUE_CHANGED event to event queue.
6166
6167 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6168
6169         * configure.in: Check for usleep declaration.
6170         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
6171         * configure: Regenerate.
6172         * include/config.h.in: Likewise.
6173         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
6174
6175 2003-07-01  Michael Koch  <konqueror@gmx.de>
6176
6177         * gnu/gcj/convert/natIconv.cc
6178         (iconv_init): Fixed possible memory leak by releasing allocated iconv
6179         handle.
6180
6181 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
6182
6183         * glib-2.0.m4: New file.
6184         * gtk-2.0.m4: New file.
6185         * glib.m4: Remove.
6186         * gtk.m4: Remove.
6187         * configure.in: Update AM_PATH_GTK macro call to
6188         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
6189         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6190         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6191         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6192         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6193         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6194         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6195         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6196         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6197         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6198         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6199         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6200         jni/gtk-peer/gthread-jni.c,
6201         jni/gtk-peer/gthread-jni.h:
6202         New versions from classpath.
6203         * aclocal.m4: Regenerate.
6204         * configure: Regenerate.
6205         * Makefile.in: Regenerate.
6206         * gcj/Makefile.in: Regenerate.
6207         * include/Makefile.in: Regenerate.
6208         * testsuite/Makefile.in: Regenerate.
6209
6210 2003-06-30  Gary Benson  <gbenson@redhat.com>
6211
6212         For PR libgcj/11349:
6213         * javax/naming/spi/NamingManager.java (getURLContext): Use
6214         correct name for factory class.
6215
6216 2003-06-28  Michael Koch  <konqueror@gmx.de>
6217
6218         * java/io/PrintStream.java
6219         (checkError): Call flush() instead of direct flushing of the Writer
6220         object.
6221         (print): Call print(String) instead of direct print method of the
6222         Writer Object.
6223         (println): Call println(String) instead of direct println method of the
6224         Writer Object.
6225         (write): Simplified.
6226
6227 2003-06-28  Michael Koch  <konqueror@gmx.de>
6228
6229         * java/net/ServerSocket.java
6230         (setChannel): New method.
6231         * java/net/Socket.java
6232         (setChannel): New method.
6233
6234 2003-06-27  Michael Koch  <konqueror@gmx.de>
6235
6236         * java/beans/beancontext/BeanContextSupport.java:
6237         New version from classpath.
6238
6239 2003-06-27  Michael Koch  <konqueror@gmx.de>
6240
6241         * java/awt/Window.java,
6242         java/awt/font/GraphicAttribute.java,
6243         java/awt/font/ImageGraphicAttribute.java,
6244         java/awt/image/DataBufferByte.java,
6245         java/awt/image/DataBufferInt.java,
6246         java/awt/image/DataBufferUShort.java,
6247         java/awt/image/DirectColorModel.java,
6248         java/awt/image/PixelGrabber.java:
6249         New versions from classpath.
6250
6251 2003-06-27  Michael Koch  <konqueror@gmx.de>
6252
6253         * java/security/Certificate.java
6254         (getGuarantor): Removed wrong @deprecated tag.
6255         (getPrincipal): Likewise.
6256         (getPublicKey): Likewise.
6257         (encode): Likewise.
6258         (decode): Likewise.
6259         (getFormat): Likewise.
6260         (toString): Likewise.
6261         * java/security/cert/PolicyQualifierInfo.java
6262         (PolicyQualifierInfo): Made final.
6263         * javax/security/auth/x500/X500Principal.java
6264         (serialVersionUID): New member variable.
6265
6266 2003-06-27  Michael Koch  <konqueror@gmx.de>
6267
6268         * java/text/Format.java
6269         (serialVersionUID): Fixed value.
6270
6271 2003-06-27  Michael Koch  <konqueror@gmx.de>
6272
6273         * java/net/Inet4Address.java
6274         (Inet4Address): Made package-private.
6275         * java/net/Inet6Address.java
6276         (Inet4Address): Made package-private.
6277
6278 2003-06-27  Michael Koch  <konqueror@gmx.de>
6279
6280         * java/io/RandomAccessFile.java
6281         (readLine): Removed wrong @deprecated tag.
6282         (getChannel): Made final.
6283
6284 2003-06-27  Michael Koch  <konqueror@gmx.de>
6285
6286         * gnu/java/nio/FileChannelImpl.java
6287         (write): Removed.
6288
6289 2003-06-27  Michael Koch  <konqueror@gmx.de>
6290
6291         * java/nio/ByteBufferImpl.java
6292         (ByteBufferImpl): Made it a package-private class
6293         * java/nio/CharBufferImpl.java
6294         (CharBufferImpl): Made it a package-private class
6295         * java/nio/DirectByteBufferImpl.java
6296         (DirectByteBufferImpl): Made it a package-private class
6297         * java/nio/DoubleBufferImpl.java
6298         (DoubleBufferImpl): Made it a package-private class
6299         * java/nio/FloatBufferImpl.java
6300         (FloatBufferImpl): Made it a package-private class
6301         * java/nio/IntBufferImpl.java
6302         (IntBufferImpl): Made it a package-private class
6303         * java/nio/LongBufferImpl.java
6304         (LongBufferImpl): Made it a package-private class
6305         * java/nio/ShortBufferImpl.java
6306         (ShortBufferImpl): Made it a package-private class
6307         * java/nio/channels/FileChannel.java
6308         (write): Made final.
6309         * java/nio/channels/ServerSocketChannel.java
6310         (ServerSocketChanne): Made protected.
6311
6312 2003-06-27  Michael Koch  <konqueror@gmx.de>
6313
6314         * javax/naming/CompositeName.java
6315         (serialVersionUID): New member variable.
6316         * javax/naming/CompoundName.java
6317         (serialVersionUID): New member variable.
6318         * javax/naming/InitialContext.java
6319         (InitialContext): Throws NamingException.
6320         (init): Likewise.
6321         * javax/naming/LinkRef.java
6322         (serialVersionUID): New member variable.
6323         (gteLinkName): Throws NamingException.
6324         * javax/naming/NamingException.java
6325         (serialVersionUID): New member variable.
6326         * javax/naming/NamingSecurityException.java
6327         (NamingSecurityException): Made abstract.
6328         (serialVersionUID): New member variable.
6329         * javax/naming/ReferralException.java
6330         (serialVersionUID): New member variable.
6331         * javax/naming/StringRefAddr.java
6332         (serialVersionUID): New member variable.
6333         * javax/naming/directory/BasicAttribute.java:
6334         Reworked imports.
6335         (serialVersionUID): New member variable.
6336         (get): Throws NamingException.
6337         (getAll): Throws NamingException.
6338         * javax/naming/directory/BasicAttributes.java:
6339         Reworked imports.
6340         (serialVersionUID): New member variable.
6341         * javax/naming/ldap/UnsolicitedNotificationEvent.java
6342         (serialVersionUID): New member variable.
6343
6344 2003-06-27  Michael Koch  <konqueror@gmx.de>
6345
6346         * Makefile.am
6347         (awt_java_source_files): Added new files:
6348         javax/swing/Popup.java,
6349         javax/swing/PopupFactory.java
6350         * Makefile.in: Regenerated.
6351
6352 2003-06-27  Michael Koch  <konqueror@gmx.de>
6353
6354         * javax/swing/JWindow.java,
6355         javax/swing/event/AncestorEvent.java,
6356         javax/swing/event/HyperlinkEvent.java,
6357         javax/swing/event/InternalFrameEvent.java,
6358         javax/swing/event/ListDataEvent.java,
6359         javax/swing/event/TableModelEvent.java,
6360         javax/swing/plaf/PopupMenuUI.java,
6361         javax/swing/plaf/SplitPaneUI.java,
6362         javax/swing/plaf/TabbedPaneUI.java,
6363         javax/swing/plaf/TextUI.java,
6364         javax/swing/plaf/TreeUI.java,
6365         javax/swing/plaf/basic/BasicTextUI.java,
6366         javax/swing/plaf/basic/BasicTreeUI.java:
6367         New versions from classpath.
6368         * javax/swing/Popup.java,
6369         javax/swing/PopupFactory.jav:
6370         New source files from classpath.
6371         * javax/swing/plaf/doc-files/TreeUI-1.png:
6372         New binary files from classpath.
6373
6374 2003-06-25  Michael Koch  <konqueror@gmx.de>
6375
6376         * Makefile.am
6377         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
6378         * Makefile.in: Regenerated.
6379
6380 2003-06-25  Michael Koch  <konqueror@gmx.de>
6381
6382         * javax/swing/plaf/ActionMapUIResource.java,
6383         javax/swing/plaf/BorderUIResource.java,
6384         javax/swing/plaf/ButtonUI.java,
6385         javax/swing/plaf/ColorChooserUI.java,
6386         javax/swing/plaf/ColorUIResource.java,
6387         javax/swing/plaf/ComboBoxUI.java,
6388         javax/swing/plaf/ComponentInputMapUIResource.java,
6389         javax/swing/plaf/ComponentUI.java,
6390         javax/swing/plaf/DesktopIconUI.java,
6391         javax/swing/plaf/DesktopPaneUI.java,
6392         javax/swing/plaf/DimensionUIResource.java,
6393         javax/swing/plaf/FileChooserUI.java,
6394         javax/swing/plaf/FontUIResource.java,
6395         javax/swing/plaf/IconUIResource.java,
6396         javax/swing/plaf/InputMapUIResource.java,
6397         javax/swing/plaf/InsetsUIResource.java,
6398         javax/swing/plaf/InternalFrameUI.java,
6399         javax/swing/plaf/LabelUI.java,
6400         javax/swing/plaf/ListUI.java,
6401         javax/swing/plaf/MenuBarUI.java,
6402         javax/swing/plaf/MenuItemUI.java,
6403         javax/swing/plaf/OptionPaneUI.java,
6404         javax/swing/plaf/PanelUI.java,
6405         javax/swing/plaf/ProgressBarUI.java,
6406         javax/swing/plaf/RootPaneUI.java,
6407         javax/swing/plaf/ScrollBarUI.java,
6408         javax/swing/plaf/ScrollPaneUI.java,
6409         javax/swing/plaf/SeparatorUI.java,
6410         javax/swing/plaf/SliderUI.java,
6411         javax/swing/plaf/TableHeaderUI.java,
6412         javax/swing/plaf/TableUI.java,
6413         javax/swing/plaf/ToolBarUI.java,
6414         javax/swing/plaf/ToolTipUI.java,
6415         javax/swing/plaf/ViewportUI.java:
6416         New versions from classpath.
6417         * javax/swing/plaf/SpinnerUI.java: 
6418         New file from classpath
6419
6420 2003-06-25  Michael Koch  <konqueror@gmx.de>
6421
6422         * java/awt/image/ColorModel.java:
6423         New version from classpath.
6424
6425 2003-06-25  Michael Koch  <konqueror@gmx.de>
6426
6427         * java/net/PlainDatagramSocketImpl.java:
6428         Partly merged with classpath, this mainly adds documentation.
6429
6430 2003-06-25  Michael Koch  <konqueror@gmx.de>
6431
6432         * java/io/ObjectInputStream.java
6433         (readClassDescriptor): New method.
6434         (readObject): Moved functionality to readClassDescriptor().
6435         * java/io/ObjectOutputStream.java
6436         (writeClassDescriptor): New method.
6437         (writeObject): Moved functionality to writeClassDescriptor().
6438
6439 2003-06-25  Michael Koch  <konqueror@gmx.de>
6440
6441         * javax/swing/plaf/basic/BasicListUI.java,
6442         javax/swing/plaf/basic/BasicOptionPaneUI.java:
6443         Added missing methods.
6444
6445 2003-06-25  Michael Koch  <konqueror@gmx.de>
6446
6447         * javax/swing/event/AncestorEvent.java
6448         javax/swing/event/HyperlinkEvent.java
6449         javax/swing/event/InternalFrameEvent.java
6450         javax/swing/event/ListDataEvent.java
6451         javax/swing/event/TableModelEvent.java:
6452         Compile fixes.
6453
6454 2003-06-24  Michael Koch  <konqueror@gmx.de>
6455
6456         * java/net/URL.java:
6457         Renamed "handler" to "ph" in the whole file to match classpaths
6458         version.
6459         * java/net/URLStreamHandler.java:
6460         (equals): Renamed "handler" to "ph".
6461
6462 2003-06-24  Michael Koch  <konqueror@gmx.de>
6463
6464         * javax/swing/event/AncestorEvent.java,
6465         javax/swing/event/HyperlinkEvent.java,
6466         javax/swing/event/InternalFrameEvent.java,
6467         javax/swing/event/ListDataEvent.java,
6468         javax/swing/event/TableModelEvent.java,
6469         javax/swing/event/TreeWillExpandListener.java,
6470         javax/swing/plaf/ComponentUI.java,
6471         javax/swing/plaf/DesktopIconUI.java,
6472         javax/swing/plaf/DesktopPaneUI.java,
6473         javax/swing/plaf/DimensionUIResource.java,
6474         javax/swing/plaf/FileChooserUI.java,
6475         javax/swing/plaf/FontUIResource.java,
6476         javax/swing/plaf/IconUIResource.java,
6477         javax/swing/plaf/InputMapUIResource.java,
6478         javax/swing/plaf/InsetsUIResource.java,
6479         javax/swing/plaf/InternalFrameUI.java,
6480         javax/swing/plaf/LabelUI.java,
6481         javax/swing/plaf/ListUI.java,
6482         javax/swing/plaf/MenuBarUI.java,
6483         javax/swing/plaf/MenuItemUI.java,
6484         javax/swing/plaf/OptionPaneUI.java,
6485         javax/swing/plaf/PanelUI.java,
6486         javax/swing/plaf/ProgressBarUI.java,
6487         javax/swing/plaf/doc-files/ComponentUI-1.dia,
6488         javax/swing/plaf/doc-files/ComponentUI-1.png:
6489         New versions from classpath.
6490
6491 2003-06-24  Michael Koch  <konqueror@gmx.de>
6492
6493         * java/nio/Buffer.java
6494         (cap): Made package-private.
6495         (pos): Likewise.
6496         (limit): Likewise.
6497         (mark): Likewise.
6498
6499 2003-06-24  Michael Koch  <konqueror@gmx.de>
6500
6501         * java/net/SocketImpl.java
6502         (shutdownInput): Made it non-abstract method throwing an exception
6503         like in SUNs JRE.
6504         (shutdownOutput): Likewise.
6505         * java/net/SocketInputStream.java,
6506         java/net/SocketOutputStream.java:
6507         New files from classpath.
6508
6509 2003-06-24  Michael Koch  <konqueror@gmx.de>
6510
6511         * java/awt/Font.java,
6512         java/awt/Window.java,
6513         java/awt/color/ColorSpace.java,
6514         java/awt/datatransfer/StringSelection.java,
6515         java/awt/image/ColorModel.java:
6516         New versions from classpath.
6517
6518 2003-06-24  Michael Koch  <konqueror@gmx.de>
6519
6520         * Makefile.am
6521         (awt_java_source_files): Added new files:
6522         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
6523         javax/swing/plaf/basic/BasicSplitPaneUI.java
6524         * Makefile.in: Regenerated.
6525
6526 2003-06-24  Michael Koch  <konqueror@gmx.de>
6527
6528         * javax/swing/text/JTextComponent.java:
6529         New version from classpath.
6530
6531 2003-06-24  Michael Koch  <konqueror@gmx.de>
6532
6533         * javax/swing/Timer.java,
6534         javax/swing/plaf/ActionMapUIResource.java,
6535         javax/swing/plaf/ButtonUI.java,
6536         javax/swing/plaf/ColorChooserUI.java,
6537         javax/swing/plaf/ColorUIResource.java,
6538         javax/swing/plaf/ComboBoxUI.java,
6539         javax/swing/plaf/ComponentInputMapUIResource.java,
6540         javax/swing/plaf/basic/BasicBorders.java:
6541         New versions from classpath.
6542         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
6543         javax/swing/plaf/basic/BasicSplitPaneUI.java:
6544         New file from classpath.
6545         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
6546         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
6547         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
6548         javax/swing/plaf/doc-files/ComponentUI-1.dia,
6549         javax/swing/plaf/doc-files/ComponentUI-1.png:
6550         New binary files from classpath.
6551
6552 2003-06-24  Michael Koch  <konqueror@gmx.de>
6553
6554         * java/io/LineNumberReader.java
6555         (skip): Dont do line number accounting here as this is already done in
6556         read(), simplified.
6557
6558 2003-06-21  Michael Koch  <konqueror@gmx.de>
6559
6560         * java/io/File.java
6561         (static): Load javaio lib if existing (only in classpath).
6562         (File): Revised documentation to show the correct argument name.
6563         (createTempFile): Partly merged with classpath.
6564         (compareTo): Simplified.
6565         (lastModified): Throw exception if time < 0.
6566         (deleteOnExit): Revised documentation.
6567
6568 2003-06-21  Michael Koch  <konqueror@gmx.de>
6569
6570         * java/net/PlainSocketImpl.java:
6571         Reformatted.
6572         (PlainSocketImpl): Merged class documentaion with classpath.
6573         (in): Moved.
6574         (out): Moved.
6575         (PlainSocketImpl): New empty constructor.
6576         (finalize): Moved.
6577         (setOption): Merged documentation from classpath.
6578         (getOption): Likewise.
6579         (create): Likewise.
6580         (connect): Likewise.
6581         (bind): Likewise.
6582         (listen): Likewise.
6583         (accept): Likewise.
6584         (available): Likewise.
6585         (close): Likewise.
6586         (read): Likewise.
6587         (write): Likewise.
6588         (getInputStream): Made synchronozed to get sure that only one stream
6589         object can be created for this socket, merged documentation from
6590         classpath.
6591         (getOutputStream): Likewise.
6592
6593 2003-06-21  Michael Koch  <konqueror@gmx.de>
6594
6595         * java/net/PlainSocketImpl.java:
6596         Reformatting.
6597         (static): New implicit method.
6598         (read): Made package private.
6599         (write): Likewise.
6600
6601 2003-06-21  Michael Koch  <konqueror@gmx.de>
6602
6603         * java/util/SimpleTimeZone.java:
6604         Removed unneeded import, reformatting.
6605
6606 2003-06-21  Michael Koch  <konqueror@gmx.de>
6607
6608         * java/text/DateFormat.java,
6609         java/text/SimpleDateFormat.java,
6610         java/util/Locale.java:
6611         New versions from classpath.
6612
6613 2003-06-21  Michael Koch  <konqueror@gmx.de>
6614
6615         * javax/swing/SpinnerModel.java:
6616         New file from classpath.
6617         * javax/swing/border/LineBorder.java,
6618         javax/swing/border/SoftBevelBorder.java,
6619         javax/swing/plaf/BorderUIResource.java,
6620         javax/swing/plaf/basic/BasicBorders.java:
6621         New versions from classpath.
6622         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
6623         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
6624         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
6625         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
6626         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
6627         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
6628         New binary files from classpath.
6629
6630 2003-06-21  Michael Koch  <konqueror@gmx.de>
6631
6632         * java/util/logging/LogRecord.java,
6633         java/util/logging/Logger.java,
6634         java/util/logging/SocketHandler.java,
6635         java/util/logging/SimpleFormatter.java,
6636         java/util/logging/Formatter.java,
6637         java/util/logging/ErrorManager.java,
6638         java/util/logging/Handler.java,
6639         java/util/logging/FileHandler.java,
6640         java/util/logging/LogManager.java,
6641         java/util/logging/Level.java,
6642         java/util/logging/ConsoleHandler.java,
6643         java/util/logging/StreamHandler.java,
6644         java/util/logging/LoggingPermission.java,
6645         java/util/logging/Filter.java,
6646         java/util/logging/MemoryHandler.java,
6647         java/util/logging/XMLFormatter.java:
6648         New files from classpath.
6649
6650 2003-06-20  Michael Koch  <konqueror@gmx.de>
6651
6652         * java/io/ObjectStreamField.java
6653         (unshared): new member variable.
6654         (ObjectStreamField): New constructor.
6655         (isUnshared): New method.
6656
6657 2003-06-20  Michael Koch  <konqueror@gmx.de>
6658
6659         * java/net/URLStreamHandler.java
6660         (hostsEqual): Rewritten.
6661
6662 2003-06-20  Michael Koch  <konqueror@gmx.de>
6663
6664         * gnu/java/nio/MappedByteFileBuffer.java,
6665         gnu/java/nio/natMappedByteFileBuffer.cc:
6666         Removed
6667         * java/nio/MappedByteBufferImpl.java:
6668         New file.
6669         * gnu/java/nio/FileChannelImpl.java:
6670         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
6671         * Makefile.am
6672         (ordinary_java_source_files): Removed
6673         gnu/java/nio/MappedByteFileBuffer.java and added
6674         java/nio/MappedByteBufferImpl.java.
6675         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
6676         * Makefile.in: Regenerated.
6677
6678 2003-06-19  Michael Koch  <konqueror@gmx.de>
6679
6680         * gnu/java/nio/DatagramChannelImpl.java
6681         (fd): Removed.
6682         (blocking): New member variable.
6683         (socket): Likewise.
6684         (DatagramChannelImpl): Throws IOException, initialize socket.
6685         (socket):Implemented.
6686         (implCloseSelectableChannel): Throws IOException, implemented.
6687         (implConfigureBlocking): Likewise.
6688         (connect): Likewise.
6689         (disconnect): Likewise.
6690         (isConnected): Likewise.
6691         (write): Likewise.
6692         (read): Likewise.
6693         (receive): Throws IOException.
6694         (send): Likewise.
6695         * gnu/java/nio/SocketChannelImpl.java
6696         (read): Implemented.
6697         (write): Implemented.
6698
6699 2003-06-19  Michael Koch  <konqueror@gmx.de>
6700
6701         * javax/swing/JComponent.java,
6702         javax/swing/JInternalFrame.java,
6703         javax/swing/MenuSelectionManager.java,
6704         javax/swing/SwingUtilities.java,
6705         javax/swing/ToggleButtonModel.java:
6706         New versions from classpath.
6707
6708 2003-06-19  Michael Koch  <konqueror@gmx.de>
6709
6710         * java/text/CollationElementIterator.java
6711         (NULLORDER): Initialize with -1 as JDK documentation says.
6712
6713 2003-06-19  Michael Koch  <konqueror@gmx.de>
6714
6715         * java/net/HttpURLConnection.java,
6716         java/net/Inet4Address.java,
6717         java/net/Inet6Address.java,
6718         java/net/SocketImpl.java,
6719         java/net/URLClassLoader.java:
6720         Reworked import statements.
6721         * java/net/InetAddress.java
6722         (getByAddress): Simplified.
6723         * java/net/ServerSocket.java
6724         (ServerSocket): Moved special handling during bind operation to
6725         bind().
6726         (bind): Handle different cases when trying to bind a socket.
6727         * java/net/URLConnection.java
6728         (getHeaderFieldDate): Merged with classpath.
6729         (getHeaderFieldInt): Likewise.
6730
6731 2003-06-19  Michael Koch  <konqueror@gmx.de>
6732
6733         * java/util/zip/InflaterInputStream.java
6734         (InflaterInputStream): Throw NullPointerException if in is null (as
6735         JDK does).
6736
6737 2003-06-19  Michael Koch  <konqueror@gmx.de>
6738
6739         * java/awt/Font.java
6740         javax/swing/UIManager.java
6741         javax/swing/border/AbstractBorder.java
6742         javax/swing/border/BevelBorder.java
6743         javax/swing/border/Border.java
6744         javax/swing/border/CompoundBorder.java
6745         javax/swing/border/EmptyBorder.java
6746         javax/swing/border/EtchedBorder.java
6747         javax/swing/border/LineBorder.java
6748         javax/swing/border/MatteBorder.java
6749         javax/swing/border/TitledBorder.java
6750         javax/swing/plaf/BorderUIResource.java
6751         javax/swing/plaf/basic/BasicBorders.java
6752         javax/swing/plaf/basic/BasicButtonUI.java
6753         javax/swing/plaf/basic/BasicCheckBoxUI.java
6754         javax/swing/plaf/basic/BasicGraphicsUtils.java
6755         javax/swing/plaf/basic/BasicLabelUI.java
6756         javax/swing/plaf/basic/BasicRadioButtonUI.java
6757         javax/swing/plaf/basic/BasicToggleButtonUI.java:
6758         New versions from classpath.
6759         * javax/swing/border/SoftBevelBorder.java:
6760         New file from classpath.
6761         * javax/swing/border/doc-files/LineBorder-1.png,
6762         javax/swing/border/doc-files/BevelBorder-1.png,
6763         javax/swing/border/doc-files/BevelBorder-2.png,
6764         javax/swing/border/doc-files/BevelBorder-3.png,
6765         javax/swing/border/doc-files/EmptyBorder-1.png,
6766         javax/swing/border/doc-files/EtchedBorder-1.png,
6767         javax/swing/border/doc-files/EtchedBorder-2.png,
6768         javax/swing/border/doc-files/MatteBorder-1.png,
6769         javax/swing/border/doc-files/MatteBorder-2.png,
6770         javax/swing/border/doc-files/MatteBorder-3.png,
6771         javax/swing/border/doc-files/MatteBorder-4.png,
6772         javax/swing/border/doc-files/MatteBorder-5.png,
6773         javax/swing/border/doc-files/MatteBorder-6.png,
6774         javax/swing/border/doc-files/SoftBevelBorder-1.png,
6775         javax/swing/border/doc-files/SoftBevelBorder-2.png,
6776         javax/swing/border/doc-files/SoftBevelBorder-3.png,
6777         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
6778         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
6779         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
6780         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
6781         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
6782         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
6783         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
6784         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
6785         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
6786         New binary files from classpath.
6787         * Makefile.am
6788         (awt_java_source_files): Added
6789         javax/swing/border/SoftBevelBorder.java.
6790         * Makefile.in: Regenerated.
6791
6792 2003-06-19  Michael Koch  <konqueror@gmx.de>
6793
6794         * gnu/java/security/x509/X509Certificate.java
6795         (writeReplace): Merged from classpath.
6796
6797 2003-06-19  Michael Koch  <konqueror@gmx.de>
6798
6799         * gnu/java/nio/FileChannelImpl.java
6800         (map_address): Made public.
6801         (FileChannelImpl): Merged with classpath.
6802         * gnu/java/nio/natFileChannelImpl.cc
6803         (nio_mmap_file): Commented out unused arguments.
6804         (nio_unmmap_file): Likewise.
6805         (niu_msync): Likewise.
6806
6807 2003-06-19  Michael Koch  <konqueror@gmx.de>
6808
6809         * java/awt/image/IndexColorModel.java:
6810         New version from classpath.
6811
6812 2003-06-18  Tom Tromey  <tromey@redhat.com>
6813
6814         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
6815         on arrays.
6816         (isLoopbackAddress): Likewise.
6817         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
6818         on arrays.
6819
6820 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
6821
6822         * java/lang/natVMSecurityManager.cc (getClassContext):
6823         Use maxlen instead of len for loop bound.
6824
6825 2003-06-18  Michael Koch  <konqueror@gmx.de>
6826
6827         * gnu/java/nio/SelectorImpl.java
6828         (register): Use fd with value 0 for now, will be fixed later.
6829         * gnu/java/nio/ServerSocketChannelImpl.java
6830         (fd): Removed.
6831         (local_port): Removed.
6832         (InetSocketAddress): Removed.
6833         (ServerSocketChannelImpl): Just initialize internal socket object.
6834         (implCloseSelectableChannel): Close internal socket object.
6835         (implConfigureBlocking): Added comment.
6836         (accept): Use jaba.net stuff to accept socket.
6837         * gnu/java/nio/SocketChannelImpl.java
6838         (fd): Removed.
6839         (local_port): Removed.
6840         (InetSocketAddress): Removed.
6841         (SocketCreate): Removed.
6842         (SocketConnect): Removed.
6843         (SocketBind): Removed.
6844         (SocketListen): Removed.
6845         (SocketAvailable): Removed.
6846         (SocketClose): Removed.
6847         (SocketRead): Removed.
6848         (SocketWrite): Removed.
6849         (SocketChannelImpl): Just initialize internal socket object.
6850         (implCloseSelectableChannel): Close internal socket object.
6851         (implConfigureBlocking): Fixed implementation, added comment.
6852         (connect): Use internal socket object to connect.
6853         (socket): No need for sanity checks.
6854         (read): Comment out some stuff, this will be reimplemented in the next
6855         commit.
6856         (write): Likewise.
6857         * gnu/java/nio/natFileChannelImpl.cc
6858         (nio_mmap_file): Line wrapped.
6859         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
6860         * Makefile.am
6861         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
6862         * Makefile.in: Regenerated.
6863
6864 2003-06-18  Michael Koch  <konqueror@gmx.de>
6865
6866         * java/util/Locale.java
6867         (equals): Merged from classpath.
6868
6869 2003-06-18  Michael Koch  <konqueror@gmx.de>
6870
6871         * java/net/InetAddress.java:
6872         Reformatted to better match classpath's version.
6873         * java/net/URL.java
6874         (equals): Simplified.
6875         * java/net/URLConnection.java
6876         (setDoInput): Revised documentation.
6877         (getDefaultUseCaches): Likewise.
6878         (setRequestProperty): Added @since tag.
6879
6880 2003-06-17  Michael Koch  <konqueror@gmx.de>
6881
6882         * java/net/InetSocketAddress.java
6883         (InetSocketAddress): Use wildcard address if addr is null.
6884         (InetSocketAddress): Dont duplicate implementation.
6885         (InetSocketAddress): Throw exception when hostname is null.
6886         * java/net/Socket.java:
6887         Reworked imports.
6888         (Socket): Throw exception when raddr is null, handle case when laddr
6889         is null.
6890
6891 2003-06-17  Michael Koch  <konqueror@gmx.de>
6892
6893         * java/nio/DirectByteBufferImpl.java
6894         (address): Made package private.
6895         (DirectByteBufferImpl): New constructor.
6896         * java/nio/natDirectByteBufferImpl.cc
6897         (allocateImpl): Moved to java.nio namespace, implemented.
6898         (freeImpl): Likewise.
6899         (getImpl): Likewise.
6900         (putImpl): Likewise.
6901         * jni.cc
6902         (_Jv_JNI_NewDirectByteBuffer): Implemented.
6903         (_Jv_JNI_GetDirectBufferAddress): Implemented.
6904         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
6905
6906 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6907
6908         * include/powerpc-signal.h: New File.
6909         * configure.in: Use it.
6910         * configure: Regenerated.
6911
6912 2003-06-17  Michael Koch  <konqueror@gmx.de>
6913
6914         * java/util/Locale.java
6915         (getDisplayLanguage): Made it final.
6916         (getDisplayCountry): Likewise.
6917         (getDisplayVariant): Likewise.
6918         (getDisplayName): Likewise.
6919
6920 2003-06-17  Michael Koch  <konqueror@gmx.de>
6921
6922         * java/util/PropertyResourceBundle.java:
6923         Removed unneeded import.
6924
6925 2003-06-17  Michael Koch  <konqueror@gmx.de>
6926
6927         * java/util/prefs/AbstractPreferences.java,
6928         java/util/prefs/PreferencesFactory.java:
6929         Reworked imports, removed unused imports.
6930         * java/util/prefs/Preferences.java
6931         (systemNodeForPackage): Method takes a Class not an Object.
6932         (userNodeForPackage): Likewise.
6933         (nodeForPackage): Likewise.
6934
6935 2003-06-17  Michael Koch  <konqueror@gmx.de>
6936
6937         * gnu/java/security/x509/X509Certificate.java:
6938         Explicitely import used classes.
6939
6940 2003-06-17  Michael Koch  <konqueror@gmx.de>
6941
6942         * java/util/zip/ZipEntry.java,
6943         java/util/zip/ZipFile.java,
6944         java/util/zip/ZipInputStream.java,
6945         java/util/zip/ZipOutputStream.java:
6946         Reworked imports, only import used classes.
6947
6948 2003-06-17  Michael Koch  <konqueror@gmx.de>
6949
6950         * gnu/java/lang/ArrayHelper.java,
6951         gnu/java/lang/ClassHelper.java:
6952         Reformatted to match classpath's versions.
6953
6954 2003-06-14  Michael Koch  <konqueror@gmx.de>
6955
6956         * gnu/java/nio/FileChannelImpl.java
6957         (map_address): Removed incorrect comment.        
6958         * gnu/java/nio/SelectorImpl.java
6959         (register): Remove code duplication and code for file channel handling.        
6960         * gnu/java/nio/ServerSocketChannelImpl.java
6961         (serverSocket): Renamed from sock_object.
6962         (ServerSocketChannel): Initialize serverSocket.
6963         (socket): Return serverSocket.
6964         * gnu/java/nio/SocketChannelImpl.java
6965         (socket): Renamed from sock_object.
6966         (isConnectionPenging): Simplified.
6967         (socket): Return socket.
6968 2003-06-14  Michael Koch  <konqueror@gmx.de>
6969
6970         * java/security/BasicPermission.java:
6971         New version from classpath.
6972
6973 2003-06-14  Michael Koch  <konqueror@gmx.de>
6974
6975         * javax/naming/directory/Attribute.java:
6976         New version from classpath.
6977
6978 2003-06-14  Michael Koch  <konqueror@gmx.de>
6979
6980         * java/io/BufferedReader.java,
6981         java/io/FileOutputStream.java:
6982         New versions from classpath.
6983
6984 2003-06-12  Andrew Haley  <aph@redhat.com>
6985
6986         * prims.cc (catch_segv): Create exception in handler.
6987         (catch_fpe): Likewise.  
6988         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
6989         (_Jv_ThrowSignal): Remove.
6990
6991         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
6992         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
6993         to nullp and arithexception.
6994         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6995         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6996         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6997         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6998         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6999
7000 2003-06-11  Andrew Haley  <aph@redhat.com>
7001
7002         * jni.cc (_Jv_JNI_check_types): New.
7003         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
7004         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
7005         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
7006         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
7007         
7008         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
7009         infinite loop.
7010
7011 2003-06-11  Tom Tromey  <tromey@redhat.com>
7012
7013         * java/lang/ClassLoader.java (loadClass): Not deprecated.
7014         * java/io/PrintStream.java: Not deprecated.
7015
7016 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
7017
7018         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
7019         (fillOval): implemented
7020         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
7021         (fillArc): implemented.
7022         * gnu/gcj/xlib/GC.java (drawArc): added native method.
7023         (fillArc): added native method.
7024         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
7025         (fillArc): added native method.
7026
7027 2003-06-11  Michael Koch  <konqueror@gmx.de>
7028
7029         * java/awt/im/InputSubset.java:
7030         New version from classpath.
7031
7032 2003-06-11  Michael Koch  <konqueror@gmx.de>
7033
7034         * javax/swing/AbstractAction.java,
7035         javax/swing/AbstractButton.java,
7036         javax/swing/AbstractCellEditor.java,
7037         javax/swing/AbstractListModel.java,
7038         javax/swing/BorderFactory.java,
7039         javax/swing/Box.java,
7040         javax/swing/BoxLayout.java,
7041         javax/swing/ButtonGroup.java,
7042         javax/swing/DefaultButtonModel.java,
7043         javax/swing/DefaultListModel.java,
7044         javax/swing/DefaultListSelectionModel.java,
7045         javax/swing/FocusManager.java,
7046         javax/swing/ImageIcon.java,
7047         javax/swing/InputMap.java,
7048         javax/swing/JApplet.java,
7049         javax/swing/JButton.java,
7050         javax/swing/JCheckBox.java,
7051         javax/swing/JCheckBoxMenuItem.java,
7052         javax/swing/JColorChooser.java,
7053         javax/swing/JComboBox.java,
7054         javax/swing/JComponent.java,
7055         javax/swing/JDesktopPane.java,
7056         javax/swing/JDialog.java,
7057         javax/swing/JEditorPane.java,
7058         javax/swing/JFileChooser.java,
7059         javax/swing/JFormattedTextField.java,
7060         javax/swing/JFrame.java,
7061         javax/swing/JLabel.java,
7062         javax/swing/JLayeredPane.java,
7063         javax/swing/JList.java,
7064         javax/swing/JMenuBar.java,
7065         javax/swing/JMenuItem.java,
7066         javax/swing/JOptionPane.java,
7067         javax/swing/JPanel.java,
7068         javax/swing/JPasswordField.java,
7069         javax/swing/JPopupMenu.java,
7070         javax/swing/JProgressBar.java,
7071         javax/swing/JRadioButton.java,
7072         javax/swing/JRadioButtonMenuItem.java,
7073         javax/swing/JRootPane.java,
7074         javax/swing/JScrollBar.java,
7075         javax/swing/JScrollPane.java,
7076         javax/swing/JSeparator.java,
7077         javax/swing/JSlider.java,
7078         javax/swing/JTabbedPane.java,
7079         javax/swing/JTable.java,
7080         javax/swing/JTextField.java,
7081         javax/swing/JToggleButton.java,
7082         javax/swing/JToolBar.java,
7083         javax/swing/JToolTip.java,
7084         javax/swing/JTree.java,
7085         javax/swing/JViewport.java,
7086         javax/swing/JWindow.java,
7087         javax/swing/KeyStroke.java,
7088         javax/swing/ListSelectionModel.java,
7089         javax/swing/LookAndFeel.java,
7090         javax/swing/RepaintManager.java,
7091         javax/swing/ScrollPaneLayout.java,
7092         javax/swing/SizeRequirements.java,
7093         javax/swing/SwingConstants.java,
7094         javax/swing/Timer.java,
7095         javax/swing/UIDefaults.java,
7096         javax/swing/UIManager.java,
7097         javax/swing/border/AbstractBorder.java,
7098         javax/swing/border/CompoundBorder.java,
7099         javax/swing/colorchooser/AbstractColorChooserPanel.java,
7100         javax/swing/colorchooser/ColorChooserComponentFactory.java,
7101         javax/swing/colorchooser/ColorSelectionModel.java,
7102         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7103         javax/swing/event/AncestorEvent.java,
7104         javax/swing/event/HyperlinkEvent.java,
7105         javax/swing/event/InternalFrameAdapter.java,
7106         javax/swing/event/InternalFrameEvent.java,
7107         javax/swing/event/ListDataEvent.java,
7108         javax/swing/event/MouseInputAdapter.java,
7109         javax/swing/event/SwingPropertyChangeSupport.java,
7110         javax/swing/event/TableModelEvent.java,
7111         javax/swing/event/TreeWillExpandListener.java,
7112         javax/swing/event/UndoableEditEvent.java,
7113         javax/swing/filechooser/FileFilter.java,
7114         javax/swing/filechooser/FileSystemView.java,
7115         javax/swing/filechooser/FileView.java,
7116         javax/swing/plaf/BorderUIResource.java,
7117         javax/swing/plaf/basic/BasicDefaults.java,
7118         javax/swing/table/AbstractTableModel.java,
7119         javax/swing/table/DefaultTableCellRenderer.java,
7120         javax/swing/table/DefaultTableColumnModel.java,
7121         javax/swing/table/DefaultTableModel.java,
7122         javax/swing/table/TableColumn.java,
7123         javax/swing/text/JTextComponent.java,
7124         javax/swing/tree/AbstractLayoutCache.java,
7125         javax/swing/tree/DefaultMutableTreeNode.java,
7126         javax/swing/tree/DefaultTreeCellEditor.java,
7127         javax/swing/tree/DefaultTreeCellRenderer.java,
7128         javax/swing/tree/DefaultTreeModel.java,
7129         javax/swing/tree/DefaultTreeSelectionModel.java,
7130         javax/swing/tree/FixedHeightLayoutCache.java,
7131         javax/swing/tree/TreeCellEditor.java,
7132         javax/swing/tree/TreeModel.java,
7133         javax/swing/tree/TreeNode.java,
7134         javax/swing/tree/TreePath.java,
7135         javax/swing/tree/TreeSelectionModel.java,
7136         javax/swing/tree/VariableHeightLayoutCache.java,
7137         javax/swing/undo/AbstractUndoableEdit.java,
7138         javax/swing/undo/CompoundEdit.java,
7139         javax/swing/undo/StateEdit.java,
7140         javax/swing/undo/UndoManager.java,
7141         javax/swing/undo/UndoableEditSupport.java:
7142         New versions from classpath.
7143         * javax/swing/table/JTableHeader.java:
7144         New file from classpath.
7145         * Makefile.am
7146         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
7147         * Makefile.in: Regenerated.
7148
7149 2003-06-11  Michael Koch  <konqueror@gmx.de>
7150
7151         * java/nio/MappedByteBuffer.java,
7152         java/nio/channels/Channels.java,
7153         java/nio/channels/ServerSocketChannel.java,
7154         java/nio/channels/spi/AbstractSelector.java:
7155         Removed unneeded imports.
7156
7157 2003-06-11  Michael Koch  <konqueror@gmx.de>
7158
7159         * java/net/DatagramSocket.java:
7160         Partly merged with classpath.
7161
7162 2003-06-11  Michael Koch  <konqueror@gmx.de>
7163
7164         * java/awt/Frame.java,
7165         java/awt/Graphics.java,
7166         java/awt/Menu.java,
7167         java/awt/Robot.java,
7168         java/awt/image/ColorModel.java:
7169         New versions from classpath.
7170
7171 2003-06-10  Michael Koch  <konqueror@gmx.de>
7172
7173         * java/io/PrintStream.java:
7174         Merged version from classpath.
7175         (close): Removed sychronized keyword. This class is not garantied to
7176         be thread-safe.
7177         (write): Likewise.
7178
7179 2003-06-09  Tom Tromey  <tromey@redhat.com>
7180
7181         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
7182         field.
7183         (getDescent): Likewise, for "descent".
7184
7185 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
7186
7187         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
7188         (getMaxDescent): adjusted return value.
7189         (getAscent): modified to use metrics for 'O'.
7190         (getDescent): modified to use metrics for 'y'.
7191
7192 2003-06-08  Anthony Green  <green@redhat.com>
7193
7194         * java/net/URLStreamHandler.java (sameFile): Fix port value
7195         comparison.
7196         * java/net/URL.java (handler): Make package private.
7197         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
7198
7199 2003-06-07  Tom Tromey  <tromey@redhat.com>
7200
7201         For PR libgcj/11085:
7202         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
7203         Limit number of characters in numeric field when required.
7204         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
7205         Respect maximumIntegerDigits.
7206
7207 2003-06-08  Michael Koch  <konqueror@gmx.de>
7208
7209         * java/net/Socket.java
7210         (Socket): Dont initialize inputShutdown and outputShutdown twice,
7211         call bind() and connect() to actually do the bind and connect tasks.
7212         (bind): Connect to canonical address if bindpoint is null, create
7213         socket and bind it to bindpoint.
7214         (connect): Check for exceptions.
7215
7216 2003-06-08  Michael Koch  <konqueror@gmx.de>
7217
7218         * java/net/DatagramSocket.java
7219         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
7220         into the Multicast constructors.
7221         * java/net/DatagramSocketImpl.java
7222         (getOption): Removed.
7223         (setOption): Removed.
7224         * java/net/MulticastSocket.java
7225         (MulticastSocket): Call setReuseAddress (true).
7226         * java/net/SocketImpl.java
7227         (getOption): Removed.
7228         (setOption): Removed.
7229
7230 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
7231
7232         PR libgcj/10886:
7233         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
7234         Test for empty vector.
7235
7236 2003-06-06  Mark Wielaard  <mark@klomp.org>
7237
7238         * java/security/Security.java (secprops): Initialize.
7239         (loadProviders): Return boolean.
7240         (static): Check result of loadProvider calls. If necessary
7241         display WARNING and fallback to Gnu provider.
7242
7243 2002-06-06  James Clark  <jjc@jclark.com>
7244
7245         Fix for PR libgcj/8738:
7246         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
7247         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
7248         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
7249         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
7250         (write): Always decrease avail when count is increased.
7251         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
7252         and whether output buffer is full before increasing size.
7253
7254 2002-06-06  Mark Wielaard  <mark@klomp dot org>
7255
7256         * java/io/PrintStream.java (writeChars(char[],int, int)):
7257         Check converter.havePendingBytes().
7258         (writeChars(String,int,int)): Likewise.
7259         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
7260         Check converter.havePendingBytes() and flush buffer when stalled.
7261
7262 2003-06-07  Michael Koch  <konqueror@gmx.de>
7263
7264         * include/posix.h
7265         (O_DSYNC): Define O_DSYNC on platforms not
7266         supporting O_FSYNC (newlib).
7267
7268 2003-06-06  Mark Wielaard  <mark@klomp.org>
7269
7270         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
7271         AWTError.
7272
7273 2003-06-06  Michael Koch  <konqueror@gmx.de>
7274
7275         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7276         More compile fixes from my stupid work yesterday.
7277
7278 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
7279
7280         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
7281         if _IEEE_LIBM is undefined.
7282
7283 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
7284
7285         * libjava/include/posix.h (O_SYNC): Define if not available
7286         and a reasonable, perhaps more conservative, replacement exists.
7287         (O_DSYNC): Likewise.
7288         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
7289
7290 2003-06-05  Michael Koch  <konqueror@gmx.de>
7291
7292         * javax/swing/plaf/BorderUIResource.java,
7293         javax/swing/plaf/basic/BasicDefaults.java,
7294         javax/swing/plaf/basic/BasicOptionPaneUI.java:
7295         More compile fixes for latest Border commit. I should not commit
7296         something in this heat here ...
7297
7298 2003-06-05  Michael Koch  <konqueror@gmx.de>
7299
7300         * javax/swing/border/BevelBorder.java
7301         (BevelBorder): Removed.
7302         * javax/swing/border/EmptyBorder.java:
7303         Reformatted.
7304         (EmptyBorder): Removed.
7305         (getBorderInsets): Dont use l, r, t and b.
7306         * javax/swing/border/EtchedBorder.java
7307         (EtchedBorder): Removed.
7308         * javax/swing/border/LineBorder.java
7309         (LineBorder): Removed.
7310         * javax/swing/border/MatteBorder.java
7311         (MatteBorder): Removed.
7312         * javax/swing/border/TitledBorder.java
7313         (defaultBorder): Use other default for now.
7314         (defaultFont): Likewise.
7315         (defaultColor): Likewise.
7316
7317 2003-06-05  Michael Koch  <konqueror@gmx.de>
7318
7319         * javax/swing/border/Border.java:
7320         New version from classpath.
7321
7322 2003-06-05  Michael Koch  <konqueror@gmx.de>
7323
7324         * javax/swing/border/AbstractBorder.java,
7325         javax/swing/border/BevelBorder.java,
7326         javax/swing/border/CompoundBorder.java,
7327         javax/swing/border/EmptyBorder.java,
7328         javax/swing/border/EtchedBorder.java,
7329         javax/swing/border/LineBorder.java,
7330         javax/swing/border/MatteBorder.java,
7331         javax/swing/border/TitledBorder.java:
7332         New versions from Classpath.
7333
7334 2003-06-05  Michael Koch  <konqueror@gmx.de>
7335
7336         * java/awt/Button.java,
7337         java/awt/Checkbox.java,
7338         java/awt/CheckboxMenuItem.java,
7339         java/awt/Choice.java,
7340         java/awt/Container.java,
7341         java/awt/Dialog.java,
7342         java/awt/EventQueue.java,
7343         java/awt/FileDialog.java,
7344         java/awt/Frame.java,
7345         java/awt/Label.java,
7346         java/awt/List.java,
7347         java/awt/Menu.java,
7348         java/awt/MenuItem.java,
7349         java/awt/Panel.java,
7350         java/awt/PopupMenu.java,
7351         java/awt/Rectangle.java,
7352         java/awt/ScrollPane.java,
7353         java/awt/Scrollbar.java,
7354         java/awt/TextArea.java,
7355         java/awt/TextField.java,
7356         java/awt/Window.java,
7357         java/awt/datatransfer/DataFlavor.java,
7358         java/awt/dnd/DragSource.java,
7359         java/awt/dnd/DragSourceContext.java,
7360         java/awt/event/HierarchyEvent.java,
7361         java/awt/event/MouseWheelEvent.java,
7362         java/awt/im/InputContext.java,
7363         java/awt/image/BufferedImage.java,
7364         java/awt/image/ComponentColorModel.java,
7365         java/awt/image/Raster.java,
7366         java/awt/image/WritableRaster.java,
7367         java/awt/peer/ComponentPeer.java,
7368         java/awt/print/PageFormat.java,
7369         java/awt/print/PrinterJob.java:
7370         New versions from Classpath.
7371
7372 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
7373
7374         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
7375         numberFormat.setParseIntegerOnly(true).
7376
7377 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
7378
7379         * include/posix-threads.h: Include <machine/pal.h> on OSF.
7380
7381 2003-06-03  Andrew Haley  <aph@redhat.com>
7382
7383         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
7384         stack volatile to prevent optimization from removing it.
7385
7386 2003-05-27  Michael Koch  <konqueror@gmx.de>
7387
7388         * java/util/zip/Deflater.java
7389         (FILTERED): Merged documentation from classpath.
7390         * java/util/zip/DeflaterOutputStream.java
7391         (DeflaterOutputStream): Merged documentation and argument validity
7392         check from classpath.
7393         (deflate): Merged documentation from classpath.
7394         (finish): Likewise.
7395         * java/util/zip/Inflater.java
7396         (Inflater): Merged class documentation from classpath.
7397         (zstream): Reordered.
7398         (is_finished): Reordered.
7399         (dict_needed): Reordered.
7400         (Inflater): Reordered, merged documentation from classpath.
7401         (end): Likewise.
7402         (finalize): Merged documentation from classpath.
7403         (finished): Likewise.
7404         (getAdler): Likewise.
7405         (getRemaining): Likewise.
7406         (getTotalIn): Likewise.
7407         (getTotalOut): Likewise.
7408         (inflate): Likewise.
7409         (needsDictionary): Likewise.
7410         (needsInput): Likewise.
7411         (reset): Likewise.
7412         (setDictionary): Likewise.
7413         (setInput): Likewise.
7414
7415 2003-05-27  Michael Koch  <konqueror@gmx.de>
7416
7417         * java/net/URLConnection.java
7418         (getHeaderFieldInt): Merged with classpath.
7419
7420 2003-05-27  Michael Koch  <konqueror@gmx.de>
7421
7422         * java/io/PrintStream.java
7423         (PrintStream): Reformatted.
7424         (PrintStream): New method, merged from classpath.
7425         (write): Reformatted.
7426
7427 2003-05-27  Michael Koch  <konqueror@gmx.de>
7428
7429         * java/lang/System.java:
7430         Explicitely import needed classes.
7431
7432 2003-05-26  Michael Koch  <konqueror@gmx.de>
7433
7434         * java/net/NetPermission.java,
7435         java/net/NetworkInterface.java,
7436         java/net/PasswordAuthentication.java,
7437         java/net/SocketPermission.java:
7438         New versions from classpath.
7439
7440 2003-05-25  Michael Koch  <konqueror@gmx.de>
7441
7442         * java/io/PushbackInputStream.java,
7443         java/net/Authenticator.java,
7444         java/net/ContentHandler.java,
7445         java/net/ContentHandlerFactory.java,
7446         java/net/DatagramSocket.java,
7447         java/net/DatagramSocketImpl.java,
7448         java/net/DatagramSocketImplFactory.java,
7449         java/net/FileNameMap.java,
7450         java/net/SocketImplFactory.java,
7451         java/net/SocketOptions.java,
7452         java/net/URLStreamHandlerFactory.java:
7453         Merged new versions from classpath.
7454
7455 2003-05-25  Michael Koch  <konqueror@gmx.de>
7456
7457         * java/awt/Checkbox.java,
7458         java/awt/Dialog.java,
7459         java/awt/Font.java,
7460         java/awt/Frame.java,
7461         java/awt/ScrollPaneAdjustable.java,
7462         java/awt/Scrollbar.java,
7463         java/awt/Window.java:
7464         New versions from classpath.
7465
7466 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
7467
7468         PR libgcj/10838:
7469         * java/io/ObjectInputStream (enableResolveObject):
7470         Fixed spelling of permission name.
7471
7472 2003-05-20  Michael Koch  <konqueror@gmx.de>
7473
7474         * java/io/DataInputStream.java
7475         (convertFromUTF): Merged comment from classpath.
7476         * java/io/PrintStream.java
7477         (error_occured): Renamed from error, merged comment from classpath.
7478         (PrintStream): No need to initialized error.
7479         (checkError): Replace error with error_occurred.
7480         (setError): Likewise.
7481
7482 2003-05-20  Michael Koch  <konqueror@gmx.de>
7483
7484         * java/io/DataInputStream.java:
7485         Reformatted, Replaced < and & with html entitites in documentation.
7486         * java/io/File.java:
7487         Reformatted.
7488         * java/io/PrintWriter.java:
7489         Moved class documentation.
7490
7491 2003-05-20  Michael Koch  <konqueror@gmx.de>
7492
7493         * gnu/java/nio/ByteBufferImpl.java,
7494         gnu/java/nio/CharBufferImpl.java,
7495         gnu/java/nio/CharViewBufferImpl.java,
7496         gnu/java/nio/DirectByteBufferImpl.java,
7497         gnu/java/nio/DoubleBufferImpl.java,
7498         gnu/java/nio/DoubleViewBufferImpl.java,
7499         gnu/java/nio/FloatBufferImpl.java,
7500         gnu/java/nio/FloatViewBufferImpl.java,
7501         gnu/java/nio/IntBufferImpl.java,
7502         gnu/java/nio/IntViewBufferImpl.java,
7503         gnu/java/nio/LongBufferImpl.java,
7504         gnu/java/nio/LongViewBufferImpl.java,
7505         gnu/java/nio/natDirectByteBufferImpl.cc,
7506         gnu/java/nio/ShortBufferImpl.java,
7507         gnu/java/nio/ShortViewBufferImpl.java:
7508         Moved files to java/nio.
7509         * gnu/java/nio/SocketChannelImpl.java
7510         
7511         * java/nio/ByteBuffer.java,
7512         java/nio/CharBuffer.java,
7513         java/nio/DoubleBuffer.java,
7514         java/nio/FloatBuffer.java,
7515         java/nio/IntBuffer.java,
7516         java/nio/LongBuffer.java,
7517         java/nio/ShortBuffer.java:
7518         Dont import anything.
7519         * java/nio/ByteBufferImpl.java,
7520         java/nio/CharBufferImpl.java,
7521         java/nio/CharViewBufferImpl.java,
7522         java/nio/DirectByteBufferImpl.java,
7523         java/nio/DoubleBufferImpl.java,
7524         java/nio/DoubleViewBufferImpl.java,
7525         java/nio/FloatBufferImpl.java,
7526         java/nio/FloatViewBufferImpl.java,
7527         java/nio/IntBufferImpl.java,
7528         java/nio/IntViewBufferImpl.java,
7529         java/nio/LongBufferImpl.java,
7530         java/nio/LongViewBufferImpl.java,
7531         java/nio/natDirectByteBufferImpl.cc,
7532         java/nio/ShortBufferImpl.java,
7533         java/nio/ShortViewBufferImpl.java:
7534         Moved from gnu/java/nio.
7535         * Makefile.am
7536         (ordinary_java_source_files): Moved files from gnu/java/nio to
7537         java/nio.
7538         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
7539         to java/nio.
7540         * Makefile.in: Regenerated.
7541
7542 2003-05-19  Michael Koch  <konqueror@gmx.de>
7543
7544         * java/util/Calendar.java
7545         (get): Not final anymore since JDK 1.4
7546         (set): Likewise.
7547
7548 2003-05-19  Michael Koch  <konqueror@gmx.de>
7549
7550         * java/text/CollationKey.java:
7551         Merged copyright and dat from classpath.
7552         * java/text/RuleBasedCollator.java:
7553         Merged class documentation from classpath.
7554
7555 2003-05-19  Michael Koch  <konqueror@gmx.de>
7556
7557         * java/nio/CharBuffer.java
7558         (toString): Compile fix.
7559
7560 2003-05-19  Michael Koch  <konqueror@gmx.de>
7561
7562         * gnu/java/nio/ByteBufferImpl.java
7563         (putLong): Fixed conversion to bytes.
7564         (putDouble): Fixed conversion to bytes.
7565         * gnu/java/nio/DirectByteBufferImpl.java
7566         (putLong): Fixed conversion to bytes.
7567         (putDouble): Fixed conversion to bytes.
7568         * gnu/java/nio/FileLockImpl.java
7569         (isValid): Reformatted.
7570         * java/nio/Buffer.java
7571         (Buffer): Fixed off-by-one bug in handling mark.
7572         * java/nio/ByteBuffer.java:
7573         Added newline.
7574         * java/nio/CharBuffer.java
7575         (toString): Don't use relative get to get string data.
7576
7577 2003-05-16  Michael Koch  <konqueror@gmx.de>
7578
7579         * java/io/natFileDescriptorPosix.cc
7580         (open): Commented out the O_SYNC and O_DSYNC usage until its better
7581         tested.
7582
7583 2003-05-14  Michael Koch  <konqueror@gmx.de>
7584
7585         * gnu/java/nio/FileLockImpl.java
7586         (released): New member variable.
7587         (FileLockImpl): Initialize released.
7588         (releaseImpl): New native method.
7589         (release): Implemented.
7590         * gnu/java/nio/SelectorImpl.java: Reformatted.
7591         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
7592         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
7593         (accept): Throws IOException.
7594         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
7595         (implConfigureBlocking): Throws IOException.
7596         (connect): Likewise.
7597         (read): Likewise.
7598         (write): Likewise.
7599         * gnu/java/nio/natFileLockImpl.cc: New file.
7600         * java/nio/channels/FileLock.java: Reformatted.
7601         * Makefile.am:
7602         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
7603         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
7604         * Makefile.in: Regenerated.
7605
7606 2003-05-13  Michael Koch  <konqueror@gmx.de>
7607
7608         * gnu/java/nio/CharViewBufferImpl.java
7609         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
7610         (get): Shift bits to the right direction.
7611         (put): Likewise.
7612         * gnu/java/nio/DoubleViewBufferImpl.java
7613         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
7614         (get): Shift bits to the right direction.
7615         (put): Likewise.
7616         * gnu/java/nio/FloatViewBufferImpl.java
7617         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
7618         (get): Shift bits to the right direction.
7619         (put): Likewise.
7620         * gnu/java/nio/IntViewBufferImpl.java
7621         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
7622         (get): Shift bits to the right direction.
7623         (put): Likewise.
7624         * gnu/java/nio/LongViewBufferImpl.java
7625         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
7626         (get): Shift bits to the right direction.
7627         (put): Likewise.
7628         * gnu/java/nio/ShortViewBufferImpl.java
7629         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
7630         (get): Shift bits to the right direction.
7631         (put): Likewise.
7632
7633 2003-05-13  Michael Koch  <konqueror@gmx.de>
7634
7635         * gnu/java/nio/natDirectByteBufferImpl.cc
7636         (allocateImpl): jlong -> RawData*.
7637         (freeImpl): Likewise.
7638
7639 2003-05-13  Michael Koch  <konqueror@gmx.de>
7640
7641         * java/nio/channels/FileChannel.java
7642         (MapMode.m): Made it package-private to match JDK 1.4.
7643         * java/nio/charset/Charset.java
7644         (decode): Made it final to match JDK 1.4.
7645
7646 2003-05-13  Michael Koch  <konqueror@gmx.de>
7647
7648        * java/io/FileDescriptor.java
7649        (SYNC): New constant.
7650        (DSYNC): Likewise.
7651        (getLength): Renamed from lenght() to match classpath's
7652        FileDescriptor.java.
7653        * java/io/RandomAccessFile.java
7654        (RandomAccessFile): Removed unneeded mode check, implemented mode
7655        "rws" and "rwd", merged documentation from classpath.
7656        (setLength): Reformatted.
7657        (length): Use new getLength() of FileDescriptor.
7658        * java/io/natFileDescriptorEcos.cc
7659        (getLength): Renamed from length().
7660        * java/io/natFileDescriptorPosix.cc
7661        (open): Implemented support for SYNC and DSYNC.
7662        (seek): Use getLength() instead of length().
7663        (getLength): Renamed from length().
7664        * java/io/natFileDescriptorWin32.cc
7665        (getLength): Renamed from length().
7666        (seek): Use getLength() instead of length().
7667        (available): Likewise.
7668        * gnu/java/nio/natFileChannelImpl.cc
7669        (size): Use getLength() instead of length().
7670
7671 2003-05-13  Michael Koch  <konqueror@gmx.de>
7672
7673         * gnu/java/nio/ByteBufferImpl.java
7674         (ByteBufferImpl): All constructors revised.
7675         (slice): Reimplemented.
7676         (duplicate): Reimplemented.
7677         (asReadOnlyBuffer): Reimplemented.
7678         * java/nio/ByteBuffer.java:
7679         Reformatted.
7680         (array_offset): Renamed from "offset" to match all other buffer
7681         classes.
7682         (ByteBuffer): All constructors revised.
7683         (allocateDirect): Implemented.
7684         (allocate): New implementation, documentation reworked.
7685         (wrap): Likewise.
7686         (get): Documentation reworked.
7687         (put): New implementation, documentation reworked.
7688         (hasArray): Documentation reworked.
7689         (arrayOffset): Likewise.
7690         (hashCode): Likewise.
7691         (equals): Likewise.
7692         (compareTo): Likewise.
7693         (order): Likewise.
7694         (compact): Likewise.
7695         (isDirect): Likewise.
7696         (slice): Likewise.
7697         (duplicate): Likewise.
7698         (asReadOnlyBuffer): Likewise.
7699         * Makefile.am
7700         (ordinary_java_source_files):
7701         Added gnu/java/nio/DirectByteBufferImpl.java.
7702         (nat_source_files):
7703         Added gnu/java/nio/natDirectByteBufferImpl.cc.
7704         * Makefile.in: Regenerated.
7705
7706 2003-05-12  Michael Koch  <konqueror@gmx.de>
7707
7708         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
7709         (nio_get_*): Removed.
7710         (nio_put_*): Removed.
7711         (as*Buffer): Implemented.
7712         (compact): Implemented.
7713         (get): Documentation added.
7714         (put): Documentation added.
7715         (get*): Newly implemented.
7716         (put*): Newly implemented.
7717         * gnu/java/nio/CharBufferImpl.java: Reformatted.
7718         (CharBufferImpl): Revised.
7719         (slice): New implementation.
7720         (duplicate): New implementation.
7721         (compact): New implementation.
7722         (asReadOnlyBuffer): New implementation.
7723         (get): Documentation revised.
7724         (order): Return native byte order.
7725         * gnu/java/nio/DirectByteBufferImpl.java
7726         (allocateDirect): objects can be null not 0.
7727         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
7728         (DoubleBufferImpl): Revised.
7729         (slice): New implementation.
7730         (duplicate): New implementation.
7731         (compact): New implementation.
7732         (asReadOnlyBuffer): New implementation.
7733         (get): Documentation revised.
7734         (order): Return native byte order.
7735         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
7736         (FloatBufferImpl): Revised.
7737         (slice): New implementation.
7738         (duplicate): New implementation.
7739         (compact): New implementation.
7740         (asReadOnlyBuffer): New implementation.
7741         (get): Documentation revised.
7742         (order): Return native byte order.
7743         * gnu/java/nio/IntBufferImpl.java: Reformatted.
7744         (IntBufferImpl): Revised.
7745         (slice): New implementation.
7746         (duplicate): New implementation.
7747         (compact): New implementation.
7748         (asReadOnlyBuffer): New implementation.
7749         (get): Documentation revised.
7750         (order): Return native byte order.
7751         * gnu/java/nio/LongBufferImpl.java: Reformatted.
7752         (LongBufferImpl): Revised.
7753         (slice): New implementation.
7754         (duplicate): New implementation.
7755         (compact): New implementation.
7756         (asReadOnlyBuffer): New implementation.
7757         (get): Documentation revised.
7758         (order): Return native byte order.
7759         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
7760         (ShortBufferImpl): Revised.
7761         (slice): New implementation.
7762         (duplicate): New implementation.
7763         (compact): New implementation.
7764         (asReadOnlyBuffer): New implementation.
7765         (get): Documentation revised.
7766         (order): Return native byte order.
7767         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
7768         (CharBuffer): Revised.
7769         (order): Removed.
7770         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
7771         (DoubleBuffer): Revised.
7772         (allocateDirect): Removed.
7773         (order): Removed.
7774         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
7775         (FloatBuffer): Revised.
7776         (allocateDirect): Removed.
7777         (order): Removed.
7778         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
7779         (IntBuffer): Revised.
7780         (allocateDirect): Removed.
7781         (order): Removed.
7782         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
7783         (LongBuffer): Revised.
7784         (allocateDirect): Removed.
7785         (order): Removed.
7786         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
7787         (ShortBuffer): Revised.
7788         (allocateDirect): Removed.
7789         (order): Removed.
7790         * gnu/java/nio/natByteBufferImpl.cc: Removed.
7791         * gnu/java/nio/natCharBufferImpl.cc: Removed.
7792         * Makefile.am
7793         (ordinary_java_source_files): Added the following files:
7794         gnu/java/nio/CharViewBufferImpl.java,
7795         gnu/java/nio/DoubleViewBufferImpl.java,
7796         gnu/java/nio/FloatViewBufferImpl.java,
7797         gnu/java/nio/IntViewBufferImpl.java,
7798         gnu/java/nio/LongViewBufferImpl.java,
7799         gnu/java/nio/ShortViewBufferImpl.java
7800         (nat_source_files): Removed the following files:
7801         gnu/java/nio/natByteBufferImpl.cc,
7802         gnu/java/nio/natCharBufferImpl.cc
7803         * Makefile.in: Regenerated.
7804
7805 2003-05-12  Michael Koch  <konqueror@gmx.de>
7806
7807         * gnu/java/nio/CharViewBufferImpl.java,
7808         gnu/java/nio/DirectByteBufferImpl.java,
7809         gnu/java/nio/DoubleViewBufferImpl.java,
7810         gnu/java/nio/FloatViewBufferImpl.java,
7811         gnu/java/nio/IntViewBufferImpl.java,
7812         gnu/java/nio/LongViewBufferImpl.java,
7813         gnu/java/nio/ShortViewBufferImpl.java,
7814         gnu/java/nio/natDirectByteBufferImpl.cc:
7815         New files, not yet to be compiled.
7816
7817 2003-05-10  Michael Koch  <konqueror@gmx.de>
7818
7819         * javax/swing/plaf/ButtonUI.java,
7820         javax/swing/plaf/ColorUIResource.java,
7821         javax/swing/plaf/ComponentUI.java,
7822         javax/swing/plaf/DimensionUIResource.java,
7823         javax/swing/plaf/FontUIResource.java,
7824         javax/swing/plaf/IconUIResource.java,
7825         javax/swing/plaf/InsetsUIResource.java,
7826         javax/swing/plaf/LabelUI.java,
7827         javax/swing/plaf/ListUI.java,
7828         javax/swing/plaf/OptionPaneUI.java,
7829         javax/swing/plaf/PanelUI.java,
7830         javax/swing/plaf/TabbedPaneUI.java,
7831         javax/swing/plaf/TextUI.java,
7832         javax/swing/plaf/TreeUI.java,
7833         javax/swing/plaf/ViewportUI.java,
7834         javax/swing/plaf/basic/BasicBorders.java,
7835         javax/swing/plaf/basic/BasicButtonUI.java,
7836         javax/swing/plaf/basic/BasicCheckBoxUI.java,
7837         javax/swing/plaf/basic/BasicDefaults.java,
7838         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7839         javax/swing/plaf/basic/BasicIconFactory.java,
7840         javax/swing/plaf/basic/BasicLabelUI.java,
7841         javax/swing/plaf/basic/BasicListUI.java,
7842         javax/swing/plaf/basic/BasicOptionPaneUI.java,
7843         javax/swing/plaf/basic/BasicPanelUI.java,
7844         javax/swing/plaf/basic/BasicRadioButtonUI.java,
7845         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7846         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7847         javax/swing/plaf/basic/BasicTextUI.java,
7848         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7849         javax/swing/plaf/basic/BasicTreeUI.java,
7850         javax/swing/plaf/basic/BasicViewportUI.java,
7851         javax/swing/plaf/metal/MetalLookAndFeel.java:
7852         New versions from classpath. This adds copyrights to all files and
7853         some serialVersionUIDs.
7854
7855 2003-05-10  Michael Koch  <konqueror@gmx.de>
7856
7857         * java/nio/CharBuffer.java
7858         (offset): Make it package-private.
7859         (backing_buffer): Likewise.
7860         * java/nio/DoubleBuffer.java
7861         (offset): Make it package-private.
7862         (backing_buffer): Likewise.
7863         (put): Reformatted.
7864         * java/nio/FloatBuffer.java
7865         (offset): Make it package-private.
7866         (backing_buffer): Likewise.
7867         * java/nio/IntBuffer.java
7868         (offset): Make it package-private.
7869         (backing_buffer): Likewise.
7870         * java/nio/LongBuffer.java
7871         (offset): Make it package-private.
7872         (backing_buffer): Likewise.
7873         * java/nio/ShortBuffer.java
7874         (offset): Make it package-private.
7875         (backing_buffer): Likewise.
7876
7877 2003-05-10  Michael Koch  <konqueror@gmx.de>
7878
7879         * java/nio/CharBuffer.java
7880         (put): Fixed precondtion check.
7881         (toString): Make it work without backing array.
7882         (put): Skip one level of method calling.
7883
7884 2003-05-10  Michael Koch  <konqueror@gmx.de>
7885
7886         * java/security/Identity.java,
7887         java/security/IdentityScope.java,
7888         java/security/Key.java,
7889         java/security/KeyPair.java,
7890         java/security/PrivateKey.java,
7891         java/security/Provider.java,
7892         java/security/PublicKey.java,
7893         java/security/SecureRandom.java,
7894         java/security/SecureRandomSpi.java,
7895         java/security/SignedObject.java,
7896         java/security/Signer.java,
7897         java/security/cert/Certificate.java,
7898         java/security/cert/PKIXCertPathBuilderResult.java,
7899         java/security/cert/X509Certificate.java:
7900         New versions from classpath.
7901
7902 2003-05-09  Tom Tromey  <tromey@redhat.com>
7903
7904         * Makefile.in: Rebuilt.
7905         * Makefile.am (nat_source_files): Removed old files.
7906         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
7907         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
7908         * gnu/java/nio/natIntBufferImpl.cc: Removed.
7909         * gnu/java/nio/natLongBufferImpl.cc: Removed.
7910         * gnu/java/nio/natShortBufferImpl.cc: Removed.
7911
7912 2003-05-09  Michael Koch  <konqueror@gmx.de>
7913
7914         * gnu/java/nio/ByteBufferImpl.java
7915         (nio_cast): Removed.
7916         (ByteBufferImpl): Removed.
7917         (nio_get_Byte): Removed.
7918         (nio_put_Byte): Removed.
7919         (asByteBuffer): Removed.
7920         (asCharBuffer): Removed implementation and throw exception.
7921         (asShortBuffer): Likewise.
7922         (asIntBuffer): Likewise.
7923         (asLongBuffer): Likewise.
7924         (asFloatBuffer): Likewise.
7925         (asDoubleBuffer): Likewise.
7926         * gnu/java/nio/CharBufferImpl.java
7927         (CharBufferImpl): Removed.
7928         (nio_get_Byte): Removed.
7929         (nio_put_Byte): Removed.
7930         (asByteBuffer): Removed.
7931         * gnu/java/nio/DoubleBufferImpl.java
7932         (DoubleBufferImpl): Removed.
7933         (nio_get_Byte): Removed.
7934         (nio_put_Byte): Removed.
7935         (asByteBuffer): Removed.
7936         * gnu/java/nio/FloatBufferImpl.java
7937         (FloatBufferImpl): Removed.
7938         (nio_get_Byte): Removed.
7939         (nio_put_Byte): Removed.
7940         (asByteBuffer): Removed.
7941         * gnu/java/nio/IntBufferImpl.java
7942         (IntBufferImpl): Removed.
7943         (nio_get_Byte): Removed.
7944         (nio_put_Byte): Removed.
7945         (asByteBuffer): Removed.
7946         * gnu/java/nio/LongBufferImpl.java
7947         (LongBufferImpl): Removed.
7948         (nio_get_Byte): Removed.
7949         (nio_put_Byte): Removed.
7950         (asByteBuffer): Removed.
7951         * gnu/java/nio/ShortBufferImpl.java
7952         (ShortBufferImpl): Removed.
7953         (nio_get_Byte): Removed.
7954         (nio_put_Byte): Removed.
7955         (asByteBuffer): Removed.
7956         * gnu/java/nio/natByteBufferImpl.cc
7957         (nio_cast): Removed.
7958         (nio_get_Byte): Removed.
7959         (nio_put_Byte): Removed.
7960         * gnu/java/nio/natCharBufferImpl.cc
7961         (nio_get_Byte): Removed.
7962         (nio_put_Byte): Removed.
7963
7964 2003-05-09  Michael Koch  <konqueror@gmx.de>
7965
7966         * java/net/JarURLConnection.java
7967         (getJarEntry): Merged documentation from classpath.
7968         (getJarFile): Likewise.
7969         (getMainAttributes): Likewise.
7970         (getAttributes): Likewise.
7971         (getManifest): Likewise.
7972         (getCertificates): Reformatted.
7973         * java/net/URLConnection.java:
7974         Little classpath merge.
7975
7976 2003-05-09  Michael Koch  <konqueror@gmx.de>
7977
7978         * java/io/DataOutputStream.java
7979         (writeShort): Made it synchronized.
7980         (writeChar): Likewise.
7981         (writeInt): Likewise.
7982         (writeLong): Liekwise.
7983         (writeUTF): Made it synchronized, renamed argument to match classpath.
7984         * java/io/InputStreamReader.java
7985         (converter): Added documentation.
7986         (read): Merged documentation from classpath.
7987         * java/io/OutputStreamWriter.java
7988         (OutputStreamWriter): Merged documentation from classpath.
7989         (close): Reformatted.
7990         (getEncoding): Likewise.
7991         (flush): Likewise.
7992         (write): Merged documentation from classpath, reformatted.
7993
7994 2003-05-08  Tom Tromey  <tromey@redhat.com>
7995
7996         * configure.host <powerpc64*-*>: Set with_libffi_default and
7997         libgcj_interpreter to "yes".
7998
7999 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
8000
8001         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
8002         
8003 2003-05-06  Tom Tromey  <tromey@redhat.com>
8004
8005         * verify.cc: Reverted previous patch.
8006
8007 2003-05-06  Michael Koch  <konqueror@gmx.de>
8008
8009         * java/io/DataOutputStream.java
8010         (write): Renamed argument to "value", merged documentation from
8011         classpath.
8012         (writeBoolean): Likewise.
8013         (writeByte): Likewise.
8014         (writeShort): Likewise.
8015         (writeChar): Likewise.
8016         (writeInt): Likewise.
8017         (writeLong): Likewise.
8018         (writeFloat): Likewise.
8019         (writeDouble): Likewise.
8020         (writeBytes): Likewise.
8021         (writeChars): Likewise.
8022         (writeUTF): Likewise.
8023         * java/io/File.java
8024         (performDelete): Added documentation.
8025         (performList): Likewise.
8026         (performMkdir): Likewise.
8027         (performSetReadOnly): Likewise.
8028         (performRenameTo): Likewise.
8029         (performSetLastModified): Likewise.
8030         (delete): Made it sychronized.
8031         (renameTo): Made it sychronized.
8032         (equals): Reformatted.
8033         (isHidden): Likewise.
8034         (listFiles): Likewise.
8035         (setReadOnly): Likewise.
8036         (listRoots): Likewise.
8037         (setLastModified): Likewise.
8038         (checkRead): Likewise.
8039         (checkWrite): Likewise.
8040         * java/io/FileInputStream.java
8041         (skip): Made it sychronized, merged from classpath.
8042         * java/io/FileOutputStream.java
8043         (write): Merged from classpath.
8044         * java/io/InputStreamReader.java:
8045         (InputStreamReader): Merged documentation from classpath.
8046
8047 2003-05-05  Michael Koch  <konqueror@gmx.de>
8048
8049         * java/net/NetworkInterface.java
8050         (networkInterfaces): Removed.
8051         (getByName): Use getRealNetworkInterfaces() instead of
8052         networkInterfaces.
8053         (getByInetAddress): Likewise.
8054         (getNetworkInterfaces): Likewise.
8055         (toString): Fix output of addresses of an interface.
8056
8057 2003-05-05  Michael Koch  <konqueror@gmx.de>
8058
8059         * java/io/DataInputStream.java:
8060         Merged new documentation from classpath.
8061
8062 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
8063
8064         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
8065         "version".
8066         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
8067         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
8068         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
8069         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
8070         * gnu/awt/gtk/GtkMainThread.java: Likewise.
8071         * gnu/awt/gtk/GtkToolkit.java: Likewise.
8072         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
8073         * java/security/Key.java: Likewise.
8074         * java/security/PrivateKey.java: Likewise.
8075         * java/security/Provider.java: Likewise.
8076         * java/security/PublicKey.java: Likewise.
8077
8078 2003-05-02  Michael Koch  <konqueror@gmx.de>
8079
8080         * java/net/URI.java
8081         (create): Doesnt throws any exceptions.
8082         * java/net/URLConnection.java
8083         (URLConnection): Commend added.
8084         (getExpiration): The header field is called "expires" not
8085         "expiration".
8086         (getHeaderField): Merged documentation with classpath.
8087         (getHeaderFieldInt): Likewise.
8088         (getHeaderFieldDate): Likewise.
8089         (getHeaderFieldKey): Likewise.
8090         (getPermission): Likewise.
8091         (setDefaultUseCaches): Likewise.
8092         (setRequestProperty): Likewise.
8093         (addRequestProperty): Likewise.
8094         (getRequestProperty): Likewise.
8095         (getRequestProperties): Likewise.
8096         (setDefaultRequestProperty): Likewise.
8097         (getDefaultRequestProperty): Likewise.
8098         (guessContentTypeFromStream): Likewise.
8099         (getFileNameMap): Likewise.
8100         (setFileNameMap): Likewise.
8101         (setDoInput): Merged implementation and documentation with classpath.
8102         (setDoOutput): Likewise.
8103         (setAllowUserInteraction): Likewise.
8104         (setDefaultAllowUserInteraction): Likewise.
8105         (setContentHandlerFactory): Made it synchronized, merged documentation
8106         with classpath.
8107         (guessContentTypeFromName): Renamed argument fname to filename to
8108         match classpath, merged documentation with classpath.
8109
8110 2003-05-02  Michael Koch  <konqueror@gmx.de>
8111
8112         * java/net/JarURLConnection.java
8113         (JarURLConnection): Class documentation merged with classpath.
8114         (getJarFileURL): Moved and documentation merged with classpath.
8115         (getEntryName): Likewise.
8116         (JarURLConnection): Documentation merged with classpath.
8117         (getJarEntry): Likewise.
8118         (getJarFile): Likewise.
8119         * java/net/PlainDatagramSocketImpl.java:
8120         Class documentation moved.
8121         * java/net/URLConnection.java
8122         (fileNameMap): Moved and documentation merged with classpath.
8123         (factory): Likewise.
8124         (defaultAllowUserInteraction): Likewis.
8125         (defaultUseCaches): Likewise.
8126         (allowUserInteraction): Likewise.
8127         (connected): Likewise.
8128         (url): Likewise.
8129         (connect): Documentation merged with classpath.
8130         (getURL): Likewise.
8131         (getContentLength): Likewise.
8132         (getContentType): Likewise.
8133         (getContentEncoding): Likewise.
8134         (getExpiration): Likewise.
8135         (getDate): Likewise.
8136         (getLastModified): Likewise.
8137         (getHeaderField): Likewise.
8138         (getContent): Likewise.
8139         (getPermission): Likewise.
8140         (getInputStream): Likewise.
8141         (getOutputStream): Likewise.
8142         (toString): Likewise.
8143         (getDoInput): Likewise.
8144         (getDoOutput): Likewise.
8145         (setAllowUserInteraction): Likewise.
8146         (getAllowUserInteraction): Likewise.
8147         (setDefaultAllowUserInteraction): Likewise.
8148         (getDefaultAllowUserInteraction): Likewise.
8149         (setUseCaches): Likewise.
8150         (getUseCaches): Likewise.
8151         (setIfModifiedSince): Likewise.
8152         (getIfModifiedSince): Likewise.
8153         (setDefaultRequestProperty): Likewise.
8154         (getDefaultRequestProperty): Likewise.
8155         (setContentHandlerFactory): Likewise.
8156         (setFileNameMap): Likewise.
8157
8158 2003-05-02  Michael Koch  <konqueror@gmx.de>
8159
8160         * java/net/InetAddress.java:
8161         Merged class documentation with classpath.
8162         * java/net/JarURLConnection.java:
8163         Explicitely import all used classes.
8164         * java/net/URL.java:
8165         Reformatting.
8166         * java/net/ServerSocket.java,
8167         java/net/Socket.java:
8168         New versions from classpath.
8169
8170 2003-05-02  Michael Koch  <konqueror@gmx.de>
8171
8172         * gnu/java/nio/FileChannelImpl.java
8173         (read): New implementation.
8174         (implRead): New methods.
8175         (write): New implementation, call other write insteal of read method.
8176         (implWrite): New methods.
8177         (map): Added comment.
8178         (transferFrom): Implemented.
8179         (transferTo): Implemented.
8180         (lock): Added checks to throw exceptions.
8181         (truncate): Added check to throw exception.
8182         * gnu/java/nio/natFileChannelImpl.cc
8183         (implRead): New method.
8184         (implWrite): New method.
8185         * java/nio/ByteBuffer.java
8186         (hashCode): Fixed comment.
8187         (get): Fixed exception documentation.
8188         (put): Fixed exception documentation.
8189         * java/nio/CharBuffer.java:
8190         Added comment for later optimizations.
8191
8192 2003-04-30  Tom Tromey  <tromey@redhat.com>
8193
8194         PR libgcj/10582:
8195         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
8196         Removed.
8197         (type::compatible): Use _Jv_IsAssignableFrom.
8198         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
8199         (_Jv_IsAssignableFrom): Work even when source or target class is
8200         not prepared.
8201
8202 2003-04-30  Michael Koch  <konqueror@gmx.de>
8203
8204         * java/text/BreakIterator.java
8205         (clone): New method.
8206
8207 2003-04-30  Michael Koch  <konqueror@gmx.de>
8208
8209         * java/text/CollationElementIterator.java,
8210         java/text/CollationKey.java,
8211         java/text/RuleBasedCollator.java:
8212         Merged copyright and documentation from classpath and
8213         rearranged some code. No code changes done.
8214
8215 2003-04-30  Michael Koch  <konqueror@gmx.de>
8216
8217         * java/util/regex/Matcher.java
8218         (pattern): New member variable.
8219         (appendReplacement): New method.
8220         (appendTail): New method.
8221         (end): New method.
8222         (find): New method.
8223         (group): New method.
8224         (replaceFirst): Added documentation.
8225         (replaceAll): Added documentation.
8226         (groupCount): New method.
8227         (lookingAt): New method.
8228         (matches): New method.
8229         (reset): New method.
8230         (start): New method.
8231         * java/util/regex/Pattern.java
8232         (serialVersionUID): New constant.
8233         (CANON_EQ): New constant.
8234         (CASE_INSENSITIVE): New constant.
8235         (COMMENTS): New constant.
8236         (DOTALL): New constant.
8237         (MULTILINE): New constant.
8238         (UNICODE_CASE): New constant.
8239         (UNIX_LINES): New constant.
8240         (regex): New member variable.
8241         (flags): New member variable.
8242         (Pattern): New method.
8243         (compile): Documentation added.
8244         (flags): New method.
8245         (matches): Documentation added.
8246         (matcher): Documentation added.
8247         (split): Documentation added.
8248         (pattern): New method.
8249
8250 2003-04-30  Michael Koch  <konqueror@gmx.de>
8251
8252         * gnu/java/security/Engine.java,
8253         gnu/java/security/OID.java,
8254         gnu/java/security/der/BitString.java,
8255         gnu/java/security/der/DER.java,
8256         gnu/java/security/der/DERReader.java,
8257         gnu/java/security/der/DERValue.java,
8258         gnu/java/security/der/DERWriter.java,
8259         gnu/java/security/provider/DSAKeyFactory.java,
8260         gnu/java/security/provider/X509CertificateFactory.java,
8261         gnu/java/security/x509/X500DistinguishedName.java,
8262         gnu/java/security/x509/X509CRL.java,
8263         gnu/java/security/x509/X509CRLEntry.java,
8264         gnu/java/security/x509/X509Certificate.java,
8265         java/security/cert/CRLSelector.java,
8266         java/security/cert/CertPathBuilder.java,
8267         java/security/cert/CertPathBuilderResult.java,
8268         java/security/cert/CertPathBuilderSpi.java,
8269         java/security/cert/CertPathParameters.java,
8270         java/security/cert/CertPathValidator.java,
8271         java/security/cert/CertPathValidatorResult.java,
8272         java/security/cert/CertPathValidatorSpi.java,
8273         java/security/cert/CertSelector.java,
8274         java/security/cert/CertStore.java,
8275         java/security/cert/CertStoreParameters.java,
8276         java/security/cert/CertStoreSpi.java,
8277         java/security/cert/CollectionCertStoreParameters.java,
8278         java/security/cert/LDAPCertStoreParameters.java,
8279         java/security/cert/PKIXBuilderParameters.java,
8280         java/security/cert/PKIXCertPathBuilderResult.java,
8281         java/security/cert/PKIXCertPathChecker.java,
8282         java/security/cert/PKIXCertPathValidatorResult.java,
8283         java/security/cert/PKIXParameters.java,
8284         java/security/cert/PolicyNode.java,
8285         java/security/cert/PolicyQualifierInfo.java,
8286         java/security/cert/TrustAnchor.java,
8287         javax/security/auth/x500/X500Principal.java:
8288         New files from classpath.
8289         * gnu/java/io/ASN1ParsingException.java,
8290         gnu/java/io/Base64InputStream.java,
8291         gnu/java/security/der/DEREncodingException.java,
8292         gnu/java/security/provider/DSAParameters.java,
8293         gnu/java/security/provider/DSASignature.java,
8294         gnu/java/security/provider/Gnu.java,
8295         gnu/java/security/provider/GnuDSAPrivateKey.java,
8296         gnu/java/security/provider/GnuDSAPublicKey.java,
8297         java/security/AlgorithmParameterGenerator.java,
8298         java/security/AlgorithmParameters.java,
8299         java/security/KeyFactory.java,
8300         java/security/KeyPairGenerator.java,
8301         java/security/KeyStore.java,
8302         java/security/MessageDigest.java,
8303         java/security/SecureClassLoader.java,
8304         java/security/SecureRandom.java,
8305         java/security/Security.java,
8306         java/security/Signature.java,
8307         java/security/cert/Certificate.java,
8308         java/security/cert/CertificateFactory.java,
8309         java/security/cert/CertificateFactorySpi.java,
8310         java/security/cert/X509CRL.java,
8311         java/security/cert/X509Certificate.java,
8312         java/security/spec/DSAPublicKeySpec.java:
8313         New versions from classpath.
8314         * gnu/java/security/provider/DERReader.java,
8315         gnu/java/security/provider/DERWriter.java,
8316         java/security/Engine.java: Removed.
8317         * Makefile.am
8318         (java_source_files, javax_source_files): Added new files.
8319         * Makefile.in: Regenerated.
8320
8321 2003-04-29  Michael Koch  <konqueror@gmx.de>
8322
8323         * javax/swing/JTable.java
8324         (AUTO_RESIZE_ALL_COLUMNS): New constant.
8325         (AUTO_RESIZE_LAST_COLUMN): New constant.
8326         (AUTO_RESIZE_NEXT_COLUMN): New constant.
8327         (AUTO_RESIZE_OFF): New constant.
8328         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
8329         (JTable): New method.
8330         (columnAdded): New method.
8331         (columnMarginChanged): New method.
8332         (columnMoved): New method.
8333         (columnRemoved): New method.
8334         (columnSelectionChanged): New method.
8335         (editingCanceled): New method.
8336         (editingStopped): New method.
8337         (getColumnModel): New method.
8338         (getPreferredScrollableViewportSize): New method.
8339         (getScrollableBlockIncrement): New method.
8340         (getScrollableTracksViewportHeight): New method.
8341         (getScrollableTracksViewportWidth): New method.
8342         (getScrollableUnitIncrement): New method.
8343         (getSelectedRow): New method.
8344         (getSelectionModel): New method.
8345         (tableChanged): New method.
8346         (setModel): New method.
8347         (setSelectionMode): New method.
8348         (setSelectionModel): New method.
8349         (setShowGrid): New method.
8350         (valueChanged): New method.
8351         * javax/swing/text/DefaultEditorKit.java
8352         (backwardAction): New constant.
8353         (beepAction): New constant.
8354         (beginAction): New constant.
8355         (beginLineAction): New constant.
8356         (beginParagraphAction): New constant.
8357         (beginWordAction): New constant.
8358         (copyAction): New constant.
8359         (cutAction): New constant.
8360         (defaultKeyTypedAction): New constant.
8361         (deleteNextCharAction): New constant.
8362         (deletePrevCharAction): New constant.
8363         (downAction): New constant.
8364         (endAction): New constant.
8365         (endLineAction): New constant.
8366         (endOfLineStringProperty): New constant.
8367         (endParagraphAction): New constant.
8368         (endWordAction): New constant.
8369         (forwardAction): New constant.
8370         (insertBreakAction): New constant.
8371         (insertContentAction): New constant.
8372         (insertTabAction): New constant.
8373         (nextWordAction): New constant.
8374         (pageDownAction): New constant.
8375         (pageUpAction): New constant.
8376         (pasteAction): New constant.
8377         (previousWordAction): New constant.
8378         (readOnlyAction): New constant.
8379         (selectAllAction): New constant.
8380         (selectionBackwardAction): New constant.
8381         (selectionBeginAction): New constant.
8382         (selectionBeginLineAction): New constant.
8383         (selectionBeginParagraphAction): New constant.
8384         (selectionBeginWordAction): New constant.
8385         (selectionDownAction): New constant.
8386         (selectionEndAction): New constant.
8387         (selectionEndLineAction): New constant.
8388         (selectionEndParagraphAction): New constant.
8389         (selectionEndWordAction): New constant.
8390         (selectionForwardAction): New constant.
8391         (selectionNextWordAction): New constant.
8392         (selectionPreviousWordAction): New constant.
8393         (selectionUpAction): New constant.
8394         (selectLineAction): New constant.
8395         (selectParagraphAction): New constant.
8396         (selectWordAction): New constant.
8397         (upAction): New constant.
8398         (writableAction): New constant.
8399
8400 2003-04-29  Michael Koch  <konqueror@gmx.de>
8401
8402         * java/util/PropertyPermission.java:
8403         New version from classpath
8404         * java/util/ResourceBundle.java:
8405         Partly merged from classpath
8406         (getObject): Reformated.
8407         (tryBundle): Set foundBundle = null if no bundle found.
8408
8409 2003-04-29  Michael Koch  <konqueror@gmx.de>
8410
8411         * javax/swing/AbstractListModel.java,
8412         javax/swing/DefaultBoundedRangeModel.java,
8413         javax/swing/DefaultSingleSelectionModel.java:
8414         New Versions from classpath.
8415
8416 2003-04-29  Michael Koch  <konqueror@gmx.de>
8417
8418         * java/awt/Window.java
8419         (show): Call super.show() instead of setVisible() to avoid endless
8420         loop.
8421         (hide): Call super.hide() instead of setVisible() to avoid endless
8422         loop.
8423
8424 2003-04-29  Michael Koch  <konqueror@gmx.de>
8425
8426         * java/util/zip/Deflater.java,
8427         java/util/zip/DeflaterOutputStream.java:
8428         Partly merged with classpath.
8429
8430 2003-04-27  Tom Tromey  <tromey@redhat.com>
8431
8432         * java/lang/natString.cc (_Jv_AllocString): Initialize
8433         cachedHashCode.
8434         (init): Likewise.
8435         (_Jv_NewStringUtf8Const): Likewise.
8436
8437 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
8438
8439         * include/jvm.h: (_Jv_GetNbArgs) added
8440         (_Jv_GetSafeArg) added
8441         (_Jv_SetArgs) added
8442         * prims.cc: (_Jv_GetNbArgs) implemented
8443         (_Jv_GetSafeArg) implemented
8444         (_Jv_SetArgs) implemented
8445         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
8446         setting _Jv_argc and _Jv_argv
8447         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
8448         instead of _Jv_argv
8449         * java/lang/natRuntime.cc: (insertSystemProperties) use
8450         _Jv_GetSafeArg() instead of _Jv_argv
8451
8452 2003-04-23  Tom Tromey  <tromey@redhat.com>
8453
8454         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
8455         required by this object.  Search superclasses to find required
8456         alignment.
8457         (get_alignment_from_class): Use alignment of type as it appears
8458         in a struct.
8459         (ALIGNOF): New macro.
8460         (struct aligner): New helper structure.
8461
8462 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
8463
8464         * java/awt/Container.java (addImpl): Enable paint events if adding
8465         a lightweight to a heavyweight.
8466         (addNotify): Ensure that peer is created before
8467         addNotifyContainerChildren.
8468         (addNotifyContainerChildren): Enable paint events if a heavyweight
8469         container contains a lightweight.
8470
8471 2003-04-20  Tom Tromey  <tromey@redhat.com>
8472
8473         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
8474         java/io/DataInput.java, java/io/DataOutput.java: Imports from
8475         Classpath.
8476
8477 2003-04-19  Tom Tromey  <tromey@redhat.com>
8478
8479         * java/sql/Date.java, java/sql/DriverManager.java,
8480         java/sql/Time.java, java/sql/Timestamp.java: New versions from
8481         Classpath.
8482
8483         * Makefile.in: Rebuilt.
8484         * Makefile.am (ordinary_java_source_files): Added new files.
8485         * java/security/AlgorithmParameterGenerator.java,
8486         java/security/AlgorithmParameters.java, java/security/Engine.java,
8487         java/security/Identity.java, java/security/IdentityScope.java,
8488         java/security/KeyFactory.java,
8489         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
8490         java/security/MessageDigest.java, java/security/Policy.java,
8491         java/security/ProtectionDomain.java,
8492         java/security/SecureRandom.java, java/security/Security.java,
8493         java/security/Signature.java, java/security/SignatureSpi.java,
8494         java/security/SignedObject.java, java/security/Signer.java,
8495         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
8496         java/security/spec/PSSParameterSpec.java,
8497         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
8498         java/security/spec/RSAOtherPrimeInfo.java: New versions from
8499         Classpath.
8500
8501 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8502
8503         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
8504         (dispose): Null metrics.
8505         * gnu/awt/xlib/XToolkit.java (sync): Implement.
8506         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
8507         finalize.
8508         (finalize): Call dispose.
8509         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
8510         (gcCachedCount): New field.
8511         (finalize): New method.
8512         (putGCInCache): New method.
8513         (getGCFromCache): New method.
8514         * gnu/gcj/xlib/GC.java (GC): Make protected.
8515         (clone): Get new GC from cache if possible.
8516         (create): New static method.
8517         (dispose): Save old GC in cache.
8518         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
8519         deleting.
8520         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
8521         is null.
8522         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
8523         * java/awt/Container.java (visitChild): Dispose gfx2 when
8524         finished.
8525
8526 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
8527
8528         * java/math/BigInteger.java (probablePrime): New.
8529         * java/math/BigDecimal.java (unscaledValue): New.
8530
8531 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
8532
8533         * java/io/File.java (getAbsolutePath): On Windows, take care
8534         of paths like "C:", "G:foo\bar", etc.
8535         (getName): Make it work correctly on Windows.
8536         (getParent): Make it work correctly on Windows. For UNIX,
8537         fix bug that causes "/" to be returned as the parent of "/",
8538         instead of null as returned by Sun's JRE.
8539
8540         * java/io/natFileWin32.cc: Change copyright owner to FSF.
8541
8542 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8543
8544         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
8545         inner class.
8546         (CACHE_SIZE_PER_DISPLAY): New field
8547         (fontMetricsCache): New field
8548         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
8549         loading ISO10646-1 fonts.
8550
8551 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8552
8553         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
8554         characters.
8555         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
8556         characters.
8557
8558 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
8559
8560         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
8561         floating point.
8562
8563 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
8564
8565         * configure.host (*-linux*): Don't set slow_pthread_self if primary
8566         installed libpthread is either linuxthreads with floating stacks or
8567         NPTL.
8568
8569 2003-04-14  Tom Tromey  <tromey@redhat.com>
8570
8571         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
8572         of alignment.
8573
8574 2003-04-10  Tom Tromey  <tromey@redhat.com>
8575
8576         * verify.cc (pop64): Removed.
8577         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
8578         exception if top-of-stack is narrow.
8579         (initialize_stack): Check to ensure that <init> is not static and
8580         <clinit> is.
8581
8582 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
8583
8584         * java/io/ObjectStreamException
8585         * java/io/FileFilter
8586         * java/io/FilenameFilter
8587         * java/io/ObjectInput
8588         * java/io/ObjectOutput
8589         * java/io/ObjectStreamConstants
8590         Minor doc fixes, format fixes, spelling corrections, etc.
8591         * java/io/DataInput
8592         Corrected code samples in Javadocs to match reality
8593         * java/io/DataOutput
8594         * java/io/ObjectInputValidation
8595         Major documentation fixes - all Javadocs re-written or updated
8596
8597 2003-04-06  Michael Koch  <konqueror@gmx.de>
8598
8599         * java/net/URLConnection.java:
8600         Import classes directly.
8601         (URLConnection): Merged class documentation with classpath.
8602         (url): Moved, documentation from classpath added.
8603         (doInput): Moved, documentation from classpath added.
8604         (doOutput): Moved, documentation from classpath added.
8605         (allowUserInteraction): Moved.
8606         (useCaches): Moved, documentation from classpath added.
8607         (ifModifiedSince): Moved, documentation from classpath added.
8608         (connected): Moved, documentation from classpath added.
8609
8610 2003-04-06  Michael Koch  <konqueror@gmx.de>
8611
8612         * java/io/FileInputStream.java
8613         (skip): Renamed some variables to match classpath, added
8614         checks from classpath.
8615
8616 2003-03-31  Michael Koch  <konqueror@gmx.de>
8617
8618         * javax/swing/AbstractAction.java
8619         (AbstractAction): Reformatted.
8620         (serialVersionUID): New private member variable.
8621         * javax/swing/plaf/BorderUIResource.java
8622         (serialVersionUID): New private member variable.
8623         * javax/swing/plaf/basic/BasicLookAndFeel.java
8624         (serialVersionUID): New private member variable.
8625
8626 2003-03-31  Michael Koch  <konqueror@gmx.de>
8627
8628         * java/sql/Date.java
8629         (valueOf): Deprecated, reformatted.
8630         (toString): Deprecated, reformatted.
8631         * java/sql/Time.java
8632         (valueOf): Deprecated, reformatted.
8633         (toString): Deprecated, reformatted.
8634
8635 2003-03-31  Michael Koch  <konqueror@gmx.de>
8636
8637         * java/rmi/dgc/VMID.java
8638         (isUnique): Deprecated.
8639
8640 2003-03-31  Michael Koch  <konqueror@gmx.de>
8641
8642         * java/io/File.java
8643         (separator): Merged documentation from classpath.
8644         (separatorChar): Merged documentation from classpath.
8645         (pathSeparator): Merged documentation from classpath.
8646         (pathSeparatorChar): Merged documentation from classpath.
8647         (path): Merged documentation from classpath.
8648         (canRead): Merged documentation from classpath.
8649         (canWrite): Merged documentation from classpath.
8650         (createNewFile): Merged documentation from classpath.
8651         (delete): Merged documentation from classpath.
8652         (equals): Merged documentation from classpath.
8653         (exists): Merged documentation from classpath.
8654         (File): Renamed p to name to match classpath, merged documentation
8655         from classpath.
8656         (getAbsolutePath): Merged documentation from classpath.
8657         (getCanonicalPath): Merged documentation from classpath.
8658         (getCanonicalFile): Merged documentation from classpath.
8659         (getName): Merged documentation from classpath.
8660         (getParent): Merged documentation from classpath.
8661         (getParentFile): Merged documentation from classpath.
8662         (getPath): Merged documentation from classpath.
8663         (hashCode): Merged documentation from classpath.
8664         (isAbsolute): Merged documentation from classpath.
8665         (isDirectory): Merged documentation from classpath.
8666         (isFile): Merged documentation from classpath.
8667         (isHidden): Merged documentation from classpath.
8668         (lastModified): Merged documentation from classpath.
8669         (length): Merged documentation from classpath.
8670         (list): Merged documentation from classpath.
8671         (listFiles): Merged documentation from classpath.
8672         (toString): Merged documentation from classpath.
8673         (toURL): Merged documentation from classpath.
8674         (mkdir): Merged documentation from classpath.
8675         (mkdirs): Merged documentation from classpath.
8676         (createTempFile): Merged documentation from classpath.
8677         (setReadOnly): Merged documentation from classpath.
8678         (listRoots): Merged documentation from classpath.
8679         (compareTo): Merged documentation from classpath.
8680         (renameTo): Merged documentation from classpath.
8681         (setLastModified): Merged documentation from classpath.
8682         * java/io/PrintStream.java
8683         (auto_flush): Merged documentation from classpath.
8684         (PrintStream): Merged documentation from classpath.
8685         (checkError): Merged documentation from classpath.
8686         (setError): Merged documentation from classpath.
8687         (close): Merged documentation from classpath.
8688         (flush): Merged documentation from classpath.
8689         (print): Merged documentation from classpath.
8690         (println):  Merged documentation from classpath.
8691         (write): Renamed count to len to match classpath,
8692         merged documentation from classpath.
8693         * java/io/RandomAccessFile.java
8694         (readShort): Merged documentation from classpath.
8695         (readUnsignedByte): Merged documentation from classpath.
8696         (readUnsignedShort): Merged documentation from classpath.
8697         (readUTF): Merged documentation from classpath.
8698         (seek): Reformatted, merged documentation from classpath.
8699         (skipBytes): Renamed some variables to match classpath, reformatted,
8700         merged documentation from classpath.
8701         (write): Merged documentation from classpath.
8702         (writeBoolean): Merged documentation from classpath.
8703         (writeByte): Merged documentation from classpath.
8704         (writeShort): Merged documentation from classpath.
8705         (writeChar): Merged documentation from classpath.
8706         (writeInt): Merged documentation from classpath.
8707         (writeLong): Merged documentation from classpath.
8708         (writeFloat): Merged documentation from classpath.
8709         (writeDouble): Merged documentation from classpath.
8710         (writeBytes): Merged documentation from classpath.
8711         (writeChars): Merged documentation from classpath.
8712         (writeUTF): Reformatted.
8713         (getChannel): Reformatted.
8714
8715 2003-03-31  Michael Koch  <konqueror@gmx.de>
8716
8717         * java/awt/font/TextAttribute.java
8718         (readResolve): Throws java.io.InvalidObjectException.
8719
8720 2003-03-31  Michael Koch  <konqueror@gmx.de>
8721
8722         * java/rmi/server/LoaderHandler.java
8723         (loadClass): Deprecated.
8724         (getSecurityContext): Deprecated.
8725         * java/rmi/server/LogStream.java
8726         (getDefaultStream): Deprecated.
8727         (setDefaultStream): Deprecated.
8728         (getOutputStream): Deprecated.
8729         (setOutputStream): Deprecated.
8730         (write): Deprecated.
8731         (toString): Deprecated.
8732         (parseLevel): Deprecated.
8733         * java/rmi/server/Operation.java
8734         (Operation): Deprecated.
8735         (getOperation): Deprecated.
8736         (toString): Deprecated.
8737         * java/rmi/server/RemoteCall.java
8738         (getOutputStream): Deprecated.
8739         (releaseOutputStream): Deprecated.
8740         (getInputStream): Deprecated.
8741         (releaseInputStream): Deprecated.
8742         (getResultStream): Deprecated.
8743         (executeCall): Deprecated.
8744         (done): Deprecated.
8745         * java/rmi/server/RemoteRef.java
8746         (invoke): Deprecated.
8747         (newCall): Deprecated.
8748         (done): Deprecated.
8749         * java/rmi/server/RemoteStub.java
8750         (setRef): Deprecated.
8751         * java/rmi/server/Skeleton.java:
8752         No need to import java.lang.Exception explicitly.
8753         (dispatch): Deprecated.
8754         (getOperations): Deprecated.
8755
8756 2003-03-31  Michael Koch  <konqueror@gmx.de>
8757
8758         * java/rmi/dgc/VMID.java,
8759         java/rmi/registry/RegistryHandler.java,
8760         java/rmi/server/LogStream.java,
8761         java/rmi/server/Operation.java,
8762         java/rmi/server/RemoteCall.java,
8763         java/rmi/server/RemoteRef.java,
8764         java/rmi/server/RemoteStub.java:
8765         Reformatted.
8766
8767 2003-03-31  Michael Koch  <konqueror@gmx.de>
8768
8769         * javax/swing/AbstractCellEditor.java,
8770         javax/swing/AbstractListModel.java,
8771         javax/swing/ActionMap.java,
8772         javax/swing/BorderFactory.java,
8773         javax/swing/ButtonGroup.java,
8774         javax/swing/DefaultBoundedRangeModel.java,
8775         javax/swing/DefaultButtonModel.java,
8776         javax/swing/DefaultCellEditor.java,
8777         javax/swing/DefaultComboBoxModel.java,
8778         javax/swing/DefaultDesktopManager.java,
8779         javax/swing/DefaultListCellRenderer.java,
8780         javax/swing/DefaultSingleSelectionModel.java,
8781         javax/swing/InputMap.java,
8782         javax/swing/JComponent.java,
8783         javax/swing/JMenu.java,
8784         javax/swing/JSlider.java,
8785         javax/swing/KeyStroke.java,
8786         javax/swing/OverlayLayout.java,
8787         javax/swing/ScrollPaneLayout.java,
8788         javax/swing/SizeRequirements.java,
8789         javax/swing/UIManager.java,
8790         javax/swing/ViewportLayout.java,
8791         javax/swing/border/AbstractBorder.java,
8792         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8793         javax/swing/event/EventListenerList.java,
8794         javax/swing/table/AbstractTableModel.java,
8795         javax/swing/table/DefaultTableCellRenderer.java,
8796         javax/swing/table/DefaultTableColumnModel.java,
8797         javax/swing/table/DefaultTableModel.java,
8798         javax/swing/table/TableColumn.java,
8799         javax/swing/text/StyledEditorKit.java,
8800         javax/swing/tree/DefaultMutableTreeNode.java,
8801         javax/swing/tree/DefaultTreeModel.java,
8802         javax/swing/tree/DefaultTreeSelectionModel.java,
8803         javax/swing/tree/TreePath.java,
8804         javax/swing/undo/AbstractUndoableEdit.java,
8805         javax/swing/undo/StateEdit.java,
8806         javax/swing/undo/StateEditable.java,
8807         javax/swing/undo/UndoableEditSupport.java:
8808         Merges from classpath.
8809
8810 2003-03-30  Tom Tromey  <tromey@redhat.com>
8811
8812         * java/lang/String.java (data, boffset, count): Documented.
8813         (String(byte[],String)): Reformatted.
8814         (String(byte[])): Likewise.
8815         (lastIndexOf(int)): Likewise.
8816         (lastIndexOf(String)): Likewise.
8817         (substring(int)): Renamed argument to match Classpath.
8818         (String(StringBuffer)): Don't share buffer if it is nearly empty.
8819
8820         * java/lang/String.java: Miscellaneous minor formatting changes
8821         to match Classpath more closely.
8822
8823 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
8824             Tom Tromey  <tromey@redhat.com>
8825
8826         * java/lang/natString.cc (hashCode): Use cachedHashCode.
8827         (init()): Removed.
8828         (charAt): Put index in exception.
8829         (contentEquals): New method.
8830         Include StringBuffer.h.
8831         * java/lang/String.java (cachedHashCode): New field.
8832         (String()): Follow classpath implementation.
8833         (init()): Removed.
8834         (contentEquals): Declare.
8835         (subSequence): Don't declare IndexOutIfBoundsException in throws
8836         clause.
8837         (matches, replaceFirst, replaceAll, split): New methods from
8838         Classpath.
8839
8840 2003-03-29  Tom Tromey  <tromey@redhat.com>
8841
8842         * java/lang/String.java: Reordered to follow Classpath; merged in
8843         javadoc.
8844
8845         * java/text/MessageFormat.java: Removed some whitespace.
8846
8847         * Makefile.in: Rebuilt.
8848         * Makefile.am (awt_java_source_files): Added new files.
8849         * gnu/javax/rmi/PortableServer.java,
8850         gnu/javax/rmi/CORBA/DelegateFactory.java,
8851         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
8852         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
8853         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
8854         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
8855         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
8856         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
8857         javax/rmi/PortableRemoteObject.java,
8858         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
8859         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8860         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
8861         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
8862         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
8863         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
8864
8865         * java/lang/natClass.cc (newInstance): Put method name in
8866         exception.
8867         (getConstructor): Likewise.
8868         (getDeclaredConstructor): Likewise.
8869         (getPrivateMethod): Likewise.
8870
8871 2003-03-28  Tom Tromey  <tromey@redhat.com>
8872
8873         * java/lang/reflect/Proxy.java: New version from Classpath.
8874         * java/lang/Package.java: New version from Classpath.
8875
8876 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
8877
8878         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
8879         * configure: Regenerate.
8880
8881 2003-03-28  Michael Koch  <konqueror@gmx.de>
8882
8883         * java/io/File.java:
8884         Import needed classes instead of whole packages, merged class
8885         documentation with classpath, moved constants and variables to top of
8886         class.
8887         * java/io/PrintStream.java:
8888         Merged class documentation with classpath, moved constants and
8889         variables to top of class.
8890         * java/io/RandomAccessFile.java
8891         (RandomAccessFile): Merged with classpath.
8892         (read): Merged with classpath).
8893         (read*): Reformatted.
8894
8895 2003-03-28  Michael Koch  <konqueror@gmx.de>
8896
8897         * java/io/FileDescriptor.java
8898         (finalize): Throws Throwable, not IOException.
8899         * java/io/ObjectOutputStream.java
8900         (PutField.put): Doesnt throws anything.
8901
8902 2003­03-28  Michael Koch  <konqueror@gmx.de>
8903
8904         * java/io/FileOutputStream.java:
8905         Merged class documentation and authors with classpath.
8906         (FileOutputStream): Partly merged with classpath.
8907         (write): Merged with classpath.
8908         (getChannel): Make it synchronized instead of explicit block in this
8909         method.
8910         * java/io/RandomAccessFile.java:
8911         Merged class documentation and authors with classpath.
8912
8913 2003-03-26  Tom Tromey  <tromey@redhat.com>
8914
8915         * java/lang/natRuntime.cc (insertSystemProperties): Set
8916         gnu.classpath.home.url.
8917         * Makefile.in: Rebuilt.
8918         * Makefile.am: Define LIBDIR.
8919
8920 2003-03-25  Michael Koch  <konqueror@gmx.de>
8921
8922         * java/io/FileInputStream.java
8923         (read): Renamed b to buf and off to offset.
8924         * java/io/FileOutputStream.java
8925         (ch): Documentation added.
8926         (FileOutputStream): Documentation added.
8927         (getFD): Documentation added.
8928         (write): Documentation added.
8929         (close): Documentation added.
8930         (getChannel): Documentation added.
8931
8932 2003-03-24  Michael Koch  <konqueror@gmx.de>
8933
8934         * java/io/DataOutputStream.java
8935         (write): Merged from classpath.
8936         * java/io/File.java:
8937         Merged copyrigth with classpath.
8938         * java/io/FileInputStream.java
8939         (getChannel): Made it synchronized instead of using a synchronized
8940         block.
8941         * java/io/FileOutputStream.java: Reformatted.
8942         * java/io/InputStreamReader.java
8943         (InputStreamReader): Renamed enc to encoding_name.
8944         (close): Merged documentation from classpath.
8945         (getEncoding): Merged documentation from classpath.
8946         (ready): Merged documentation from classpath.
8947         (read): Merged documentation from classpath.
8948         * java/io/LineNumberReader.java
8949         (lineNumber): Made it private.
8950         (LineNumberReader): Use Constant instead of a direct value.
8951         * java/io/OutputStreamWriter.java
8952         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
8953         documentation from classpath.
8954         (close): Merged documentation from classpath.
8955         (flush): Merged documentation from classpath.
8956         (write): Merged documentation from classpath.
8957         * java/io/PrintStream.java: Reformatted.
8958
8959 2003-03-24  Michael Koch  <konqueror@gmx.de>
8960
8961         * javax/swing/text/ComponentView.java
8962         (getComponent): Must be final.
8963         * javax/swing/tree/DefaultTreeCellRenderer.java:
8964         Reformatted.
8965         * javax/swing/undo/StateEditable.java:
8966         Reformatted.
8967
8968 2003-03-24  Michael Koch  <konqueror@gmx.de>
8969
8970         * java/rmi/activation/ActivationInstantiator.java:
8971         Reformatted.
8972         * java/rmi/activation/Activator.java:
8973         Reformatted.
8974         * java/rmi/registry/RegistryHandler.java:
8975         Remerged from classpath.
8976
8977 2003-03-24  Michael Koch  <konqueror@gmx.de>
8978
8979         * java/util/Date.java:
8980         Fixed documentation starting tag to make javadoc happy.
8981         * java/util/regex/Pattern.java
8982         (Pattern): Implements Serializable.
8983         * java/util/PatternSyntaxException.java
8984         (serialVersionUID): New member variable.
8985
8986 2003-03-24  Michael Koch  <koqnueror@gmx.de>
8987
8988         * java/awt/ContainerOrderFocusTraversalPolicy.java
8989         (getFirstComponent): Implemented.
8990         (getLastComponent): Implemented.
8991         (getDefaultComponent): Implemented.
8992         (setImplicitDownCycleTraversal): Fixed implementation.
8993         * java/awt/Robot.java
8994         (Robot): Added documentation.
8995         * java/awt/Toolkit.java
8996         (getFontList): Deprecated.
8997         (getFontMetrics): Deprecated.
8998         (getPrintJob): Added documentation.
8999         (getSystemSelection): Added documentation.
9000         (getLockingKeyState): Added documentation.
9001         (setLockingKeyState): Added documentation.
9002         (createCustomCursor): Added documentation.
9003         (getBestCursorSize): Added documentation.
9004         (getMaximumCursorColors): Added documentation.
9005         (isFrameStateSupported): Added documentation.
9006
9007 2003-03-24  Michael Koch  <konqueror@gmx.de>
9008
9009         * java/io/RandomAccessFile.java:
9010         More little merges with classpath. No code changes.
9011
9012 2003-03-24  Michael Koch  <konqueror@gmx.de>
9013
9014         * java/net/natInetAddressNoNet.cc:
9015         Include stddef.h.
9016         * java/net/natPlainDatagramSocketImplNoNet.cc:
9017         Fixed inlcude of java/net/DatagramPacket.h.
9018         * java/net/natPlainSocketImplNoNet.cc:
9019         Include some missing classes.
9020
9021 2003-03-24  Michael Koch  <konqueror@gmx.de>
9022
9023         * java/awt/dnd/DropTarget.java
9024         (DropTargetAutoScroller): According to the online documentation, this
9025         is protected, but in reality it is public.
9026         * java/awt/dnd/DropTargetContext.java
9027         (TransferableProxy): According to the online documentation, this
9028         is protected, but in reality it is public.
9029
9030 2003-03-24  Michael Koch  <konqueror@gmx.de>
9031
9032         * java/io/DataInputStream.java
9033         (): Wrapped documentation line.
9034         (): Fixed @return tag.
9035         * java/io/DataOutputStream.java
9036         (written): Moved to top of class.
9037         (all methods): Merged documentation from classpath.
9038         * java/io/File.java:
9039         Merged copyright year with classpath.
9040         * java/io/FileInputStream.java
9041         (all methods): Merged documentation from classpath.
9042         * java/io/LineNumberReader.java
9043         (getLineNumber): Fixed @return tag.
9044         * java/io/ObjectInputStream.java.
9045         Reformatted.
9046         * java/io/ObjectOutputStream.java:
9047         Reformatted, fixed some @see tags.
9048         * java/io/OutputStreamWriter.java:
9049         Deleted empty line.
9050         * java/io/Writer.java:
9051         Reformatted.
9052
9053 2003-03-24  Michael Koch  <konqueror@gmx.de>
9054
9055         * java/awt/Frame.java
9056         (DEFAULT_CURSOR): Fixed @deprecated tag.
9057         (setCursor): Fixed @deprecated tag.
9058
9059 2003-03-24  Michael Koch  <konqueror@gmx.de>
9060
9061         * java/beans/beancontext/BeanContextEvent.java:
9062         Reformated.
9063
9064 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
9065
9066         * java/lang/natStringBuffer.cc (regionMatches): New function.
9067         * java/lang/String.java (count): Now package-private.
9068         * java/lang/StringBuffer.java: Merged with Classpath.
9069
9070 2003-03-23  Michael Koch  <konqueror@gmx.de>
9071
9072         * java/io/BufferedOutputStream.java:
9073         Reformated.
9074         * java/io/BufferedReader.java:
9075         Reformated.
9076         * java/io/ByteArrayOutputStream.java
9077         (size): Fixed @see tag.
9078         * java/io/CharArrayWriter.java
9079         (size): Fixed @see tag.
9080         * java/io/DataInput.java:
9081         Reformated.
9082         * java/io/DataOutput.java:
9083         Reformated.
9084         * java/io/DataOutputStream.java:
9085         Merged copyright years with classpath.
9086         * java/io/Externalizable.java:
9087         Reformated.
9088         * java/io/FileFilter.java:
9089         Reformated.
9090         * java/io/FileInputStream.java:
9091         Merged copyright years with classpath.
9092         * java/io/FileOutputStream.java:
9093         Merged copyright years with classpath.
9094         * java/io/FilePermission.java
9095         (FilePermission): Replaced @XXX with FIXME:.
9096         * java/io/FileWriter.java:
9097         Reformated.
9098         * java/io/FilenameFilter.java:
9099         Reformated.
9100         * java/io/FilterInputStream.java:
9101         Reformated.
9102         * java/io/FilterOutputStream.java:
9103         Reformated.
9104         * java/io/FilterReader.java:
9105         Reformated.
9106         * java/io/FilterWriter.java:
9107         Reformated.
9108         * java/io/LineNumberInputStream.java
9109         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
9110         happy.
9111         (getLineNumber): Fixed @return tag.
9112         * java/io/ObjectInput.java:
9113         Reformated.
9114         * java/io/ObjectOutput.java:
9115         Reformated.
9116         * java/io/ObjectStreamClass.java:
9117         Reformated.
9118         * java/io/PrintStream.java:
9119         Merged copyright years with classpath.
9120         * java/io/PushbackReader.java
9121         (PushbackReader): Replaced @code with @param.
9122         * java/io/SerializablePermission.java:
9123         Reformated.
9124         * java/io/StreamTokenizer.java
9125         (resetSyntax): Fixed @see tag.
9126
9127 2003-03-22  Richard Henderson  <rth@redhat.com>
9128
9129         * sysdep/ia64/locks.h: Include ia64intrin.h.
9130         (compare_and_swap): Use __sync_bool_compare_and_swap.
9131         (compare_and_swap_release): Expose ar.ccv assignment.
9132
9133 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
9134
9135         * include/posix.h: Add suffix for darwin dynamic libraries.
9136
9137 2003-03-21  Michael Koch  <konqueror@gmx.de>
9138
9139         * javax/swing/Action.java
9140         (ACCELERATOR_KEY): New constant.
9141         (ACTION_COMMAND_KEY): Likewise.
9142         (MNEMONIC_KEY): Likewise.
9143         * javax/swing/UnsupportedLookAndFeelException.java
9144         (UnsupportedLookAndFeelException): Must be public.
9145         * javax/swing/WindowConstants.java
9146         (EXIT_ON_CLOSE): New constant.
9147         * javax/swing/text/BadLocationException.java
9148         (offset): New member variable.
9149         (BadLocationException): New implementation, documentation added.
9150         (offsetRequested): New method.
9151         * javax/swing/text/Caret.java:
9152         Reformated.
9153         * javax/swing/text/Document.java:
9154         Reformated.
9155
9156 2003-03-21  Michael Koch  <konqueror@gmx.de>
9157
9158         * java/rmi/activation/Activatable.java
9159         (serialVersionUID): New member variable.
9160         * java/rmi/activation/ActivationGroup.java
9161         (serialVersionUID): New member variable.
9162         * java/rmi/activation/ActivationGroupDesc.java
9163         (serialVersionUID): New member variable.
9164         * java/rmi/registry/Registry.java:
9165         Reformated.
9166         (Registry): Deprecated.
9167         * java/rmi/server/LoaderHandler.java
9168         Reformated.
9169         (LoaderHandler): Deprecated.
9170         * java/rmi/server/LogStream.java
9171         Reformated.
9172         (LogStream): Deprecated.
9173         * java/rmi/server/Operation.java
9174         (Operation): Deprecated.
9175         * java/rmi/server/RMIFailureHandler.java:
9176         Reformated.
9177         * java/rmi/server/RMISocketFactory.java:
9178         Reformated.
9179         * java/rmi/server/RemoteCall.java
9180         (RemoteCall): Deprecated.
9181         * java/rmi/server/RemoteStub.java:
9182         Reformated.
9183         * java/rmi/server/Skeleton.java
9184         Reformated.
9185         (Skeleton): Deprecated.
9186
9187 2003-03-21  Michael Koch  <konqueror@gmx.de>
9188
9189         * java/io/LineNumberReader.java
9190         (LineNumberReader): Merged documentation with classpath.
9191         (getLineNumber): Likewise.
9192         (setLineNumber): Likewise.
9193         (mark): Likewise.
9194         (reset): Likewise.
9195         (read): Likewise.
9196         (readLine): Likewise.
9197         (skip): Likewise.
9198
9199 2003-03-21  Michael Koch  <konqueror@gmx.de>
9200
9201         * java/rmi/RMISecurityManager.java
9202         (checkAccept): Removed.
9203         (checkAccess): Likewise.
9204         (checkAccess): Likewise.
9205         (checkAwtEventQueueAccess): Likewise.
9206         (checkConnect): Likewise.
9207         (checkCreateClassLoader): Likewise.
9208         (checkDelete): Likewise.
9209         (checkExec): Likewise.
9210         (checkExit): Likewise.
9211         (checkLink): Likewise.
9212         (checkListen): Likewise.
9213         (checkMemberAccess): Likewise.
9214         (checkMulticast): Likewise.
9215         (checkPackageAccess): Likewise.
9216         (checkPackageDefinition): Likewise.
9217         (checkPermission): Likewise.
9218         (checkPrintJobAccess): Likewise.
9219         (checkPropertiesAccess): Likewise.
9220         (checkPropertyAccess): Likewise.
9221         (checkRead): Likewise.
9222         (checkSecurityAccess): Likewise.
9223         (checkSetFactory): Likewise.
9224         (checkSystemClipboardAccess): Likewise.
9225         (checkTopLevelWindow): Likewise.
9226         (checkWrite): Likewise.
9227
9228 2003-03-20  Michael Koch  <konqueror@gmx.de>
9229
9230         * gnu/java/nio/FileChannelImpl.java
9231         (address): Removed.
9232         (map_address): New member variable.
9233         (length): Make it package private.
9234         (fd): Make it package private.
9235         (buf): Make it package private.
9236         (file_obj): Make it package private.
9237         (FileChannelImpl): New constructor.
9238         (nio_mmap_file): Use RawData instead of long.
9239         (nio_munmap_file): Use RawData instead of long.
9240         (nio_msync): Use RawData instead of long.
9241         (implCloseChannel): New implementation using map_address.
9242         (read): Reformated.
9243         (map): Implemented.
9244         (create_direct_mapped_buffer): Implemented, use RawData, throws
9245         IOException.
9246         (force): Use map_address instead of address.
9247         * gnu/java/nio/MappedByteFileBuffer.java
9248         (address): Removed.
9249         (map_address): New member variable.
9250         (MappedByteFileBuffer): Use map_address instead of address, reformated.
9251         (several methods): Use map_address instead of address, replaced long
9252         with RawData where appropriate.
9253         * gnu/java/nio/natFileChannelImpl.cc
9254         (nio_mmap_file): Replaced long with RawData.
9255         (nio_munmap_file): Replaced long with RawData.
9256         (nio_msync): Replaced long with RawData.
9257         * gnu/java/nio/natMappedByteFileBuffer.cc
9258         (several methods): Replaced long with RawData where appropriate.
9259
9260 2003-03-20  Michael Koch  <konqueror@gmx.de>
9261
9262         * java/net/InetAddress.java,
9263         java/net/JarURLConnection.java,
9264         java/net/PlainDatagramSocketImpl.java,
9265         java/net/PlainSocketImpl.java,
9266         java/net/URLConnection.java:
9267         Merged copyright statements with classpath for easier merging.
9268
9269 2003-03-20  Michael Koch  <konqueror@gmx.de>
9270
9271         * java/io/FileInputStream.java
9272         (getChannel): New implementation.
9273         * java/io/FileOutputStream.java
9274         (ch): New member variable.
9275         (getChannel): Implemented.
9276         * java/io/RandomAccessFile.java
9277         (RandomAccessFile): Throws FileNotFoundException instead of
9278         IOException.
9279         (getChannel): New method.
9280         (ch): New member variable.
9281
9282 2003-03-20  Michael Koch  <konqueror@gmx.de>
9283
9284         * java/io/DataOutputStream.java,
9285         java/io/File.java,
9286         java/io/FileInputStream.java,
9287         java/io/FileOutputStream.java,
9288         java/io/InputStreamReader.java,
9289         java/io/LineNumberReader.java,
9290         java/io/OutputStreamWriter.java,
9291         java/io/PrintStream.java,
9292         java/io/RandomAccessFile.java:
9293         Merged copyright statements with classpath for easier merging.
9294
9295 2003-03-19  Michael Koch  <konqueror@gmx.de>
9296
9297         * java/lang/Process.java:
9298         Merged from classpath.
9299
9300 2003-03-19  Michael Koch  <konqueror@gmx.de>
9301
9302         * java/io/FileOutputStream.java
9303         (FileOutputStream): New constructor, merged from classpath.
9304         * java/io/FileWriter.java
9305         (FileWriter): New constructor, merged from classpath.
9306
9307 2003-03-18  Michael Koch  <konqueror@gmx.de>
9308
9309         * java/awt/ScrollPane.java
9310         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
9311         (getViewportSize): Likewise.
9312         (addNotify): Likewise.
9313         (removeNotify): Likewise.
9314         * java/awt/ScrollPaneAdjustable.java
9315         (ScrollPaneAdjustable): No longer extends Scrollbar.
9316         * java/beans/beancontext/BeanContextServices.java:
9317         Reformated.
9318         (getService): Added throws TooManyListenersException;
9319         * java/beans/beancontext/BeanContextServicesSupport.java:
9320         Reformated.
9321
9322 2003-03-18  Michael Koch  <konqueror@gmx.de>
9323
9324         * java/io/BufferedOutputStream.java,
9325         java/io/DataInput.java,
9326         java/io/DataInputStream.java,
9327         java/io/DataOutput.java,
9328         java/io/Externalizable.java:
9329         More merges from classpath.
9330
9331 2003-03-18  Michael Koch  <konqueror@gmx.de>
9332
9333         * configure.in: Fixed links to platform dependant java.net files.
9334         * configure: Regenerated.
9335         * java/net/natInetAddress.cc,
9336         java/net/natNetworkInterface.cc,
9337         java/net/natPlainDatagramSocketImpl.cc,
9338         java/net/natPlainSocketImpl.cc:
9339         Removed.
9340
9341 2003-03-18  Michael Koch  <konqueror@gmx.de>
9342
9343         * configure.in: Create links to architecture dependent files,
9344         introduced PLATFORMNET variable (set to NoNet for newlib usage).
9345         * configure: Regenerated.
9346         * java/net/natInetAddressNoNet.cc,
9347         java/net/natInetAddressPosix.cc,
9348         java/net/natInetAddressWin32.cc,
9349         java/net/natNetworkInterfaceNoNet.cc,
9350         java/net/natNetworkInterfacePosix.cc,
9351         java/net/natNetworkInterfaceWin32.cc,
9352         java/net/natPlainDatagramSocketImplNoNet.cc,
9353         java/net/natPlainDatagramSocketImplPosix.cc,
9354         java/net/natPlainDatagramSocketImplWin32.cc,
9355         java/net/natPlainSocketImplNoNet.cc,
9356         java/net/natPlainSocketImplPosix.cc,
9357         java/net/natPlainSocketImplWin32.cc: New files.
9358
9359 2003-03-18  Michael Koch  <konqueror@gmx.de>
9360
9361         * java/io/BufferedReader.java,
9362         java/io/BufferedWriter.java,
9363         java/io/ByteArrayOutputStream.java,
9364         java/io/FileFilter.java,
9365         java/io/FilePermission.java,
9366         java/io/FileReader.java,
9367         java/io/FileWriter.java,
9368         java/io/FilenameFilter.java,
9369         java/io/FilterInputStream.java,
9370         java/io/FilterOutputStream.java,
9371         java/io/FilterReader.java,
9372         java/io/FilterWriter.java,
9373         java/io/ObjectInput.java,
9374         java/io/ObjectInputValidation.java,
9375         java/io/ObjectOutput.java,
9376         java/io/ObjectStreamField.java,
9377         java/io/PipedInputStream.java,
9378         java/io/PipedReader.java,
9379         java/io/PrintWriter.java,
9380         java/io/PushbackReader.java,
9381         java/io/Reader.java,
9382         java/io/SerializablePermission.java,
9383         java/io/StringReader.java,
9384         java/io/Writer.java:
9385         Merged from classpath.
9386
9387 2003-03-17  Michael Koch  <konqueror@gmx.de>
9388
9389         * java/awt/ScrollPaneAdjustable.java:
9390         Compile fixes.
9391         
9392 2003-03-17  Michael Koch  <konqueror@gmx.de>
9393
9394         * java/net/DatagramSocket.java
9395         (connect): Fixed comment.
9396         * java/nio/ByteBuffer.java
9397         (hasArray): Fixed comment.
9398
9399 2003-03-17  Michael Koch  <konqueror@gmx.de>
9400
9401         * java/beans/Beans.java:
9402         Explicitely import classes not packages.
9403         * java/beans/FeatureDescriptor.java
9404         (preferred): New member variable.
9405         (isPreferred): New method.
9406         (setPreferred): New method.
9407         * java/beans/PropertyEditorManager.java:
9408         Explicitely import used classes.
9409         * java/beans/beancontext/BeanContextChild.java:
9410         Added line wrapping.
9411         * java/beans/beancontext/BeanContextChildSupport.java:
9412         Reindented.
9413         * java/beans/beancontext/BeanContextEvent.java:
9414         Reindented.
9415
9416 2003-03-17  Michael Koch  <konqueror@gmx.de>
9417
9418         * java/awt/Dialog.java
9419         (Dialog): New constructor, changed implementations, added
9420         documentation.
9421         * java/awt/ScrollPaneAdjustable.java
9422         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
9423         Serializable.
9424         (serialVersionUID): New member variable.
9425         (sp): New member variable.
9426         (orientation): New member variable.
9427         (value): New member variable.
9428         (minimum): New member variable.
9429         (maximum): New member variable.
9430         (visibleAmount): New member variable.
9431         (unitIncrement): New member variable.
9432         (blockIncrement): New member variable.
9433         (AdjustmentListener): New member variable.
9434         (ScrollPaneAdjustable): New implementation.
9435         (addAdjustmentListener): New method.
9436         (removeAdjustmentListener): New method.
9437         (getAdjustmentListeners): New method.
9438         (getBlockIncrement): New method.
9439         (getMaximum): New method.
9440         (getMinimum): New method.
9441         (getOrientation): New method.
9442         (getUnitIncrement): New method.
9443         (getValue): New method.
9444         (getVisibleAmount): New method.
9445         (setBlockIncrement): New method.
9446         (setMaximum): Implemented.
9447         (setMinimum): Implemented.
9448         (setUnitIncrement): New method.
9449         (setValue): New method.
9450         (setVisibleAmount): Implemented. 
9451         (paramString): New stubbed method.
9452         * java/awt/Window.java
9453         (show): Call setVisible().
9454         (hide): Call setVisible().
9455         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
9456         and WINDOW_STATE_CHANGED.
9457         (processWindowFocusEvent): New method.
9458         (processWindowStateEvent): New method.
9459         (postEvent): Deprecated.
9460         (applyResourceBundle): Deprecated.
9461         * java/awt/datatransfer/DataFlavor.java
9462         (DataFlavor): Doesn't thow ClassNotFoundException.
9463
9464 2003-03-17  Michael Koch
9465
9466         * javax/print/attribute/Attribute.java,
9467         javax/print/attribute/AttributeSet.java,
9468         javax/print/attribute/PrintRequestAttributeSet.java:
9469         New files.
9470         * Makefile.am
9471         (javax_source_files): Added new files:
9472         javax/print/attribute/Attribute.java
9473         javax/print/attribute/AttributeSet.java
9474         javax/print/attribute/PrintRequestAttributeSet.java
9475         * Makefile.in: Regenerated.
9476
9477 2003-03-17  Michael Koch
9478
9479         * javax/print/attribute/Attribute.java,
9480         javax/print/attribute/AttributeSet.java,
9481         javax/print/attribute/PrintRequestAttributeSet.java:
9482         New files.
9483         * Makefile.am
9484         (awt_java_source_files): Added new files:
9485         javax/print/attribute/Attribute.java
9486         javax/print/attribute/AttributeSet.java
9487         javax/print/attribute/PrintRequestAttributeSet.java
9488         * Makefile.in: Regenerated.
9489
9490 2003-03-16  Tom Tromey  <tromey@redhat.com>
9491
9492         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
9493         Include platform.h.
9494         * java/lang/natRuntime.cc (insertSystemProperties): Use
9495         _Jv_platform_path_separator.
9496         (nativeGetLibname): Use _Jv_platform_file_separator.
9497         (_load): Use _Jv_platform_onload_names.
9498         (onload_names): New global.
9499         * include/win32.h (_Jv_platform_file_separator): New define.
9500         (_Jv_platform_path_separator): Likewise.
9501         (_Jv_platform_onload_names): Likewise.
9502         (_Jv_platform_ffi_abi): Likewise.
9503         * include/posix.h (_Jv_platform_file_separator): New define.
9504         (_Jv_platform_path_separator): Likewise.
9505         (_Jv_platform_onload_names): Likewise.
9506         (_Jv_platform_ffi_abi): Likewise.
9507
9508 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
9509
9510         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
9511
9512 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
9513
9514         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
9515         hierarchy loop.
9516         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
9517         list to Object,ObjectStreamClass, moved callReadMethod code up into
9518         readObject and added Class argument to all setXxxField calls.
9519         (callReadMethod): Changed Class argument to ObjectStreamClass to be
9520         consistent with ObjectOutputStream and to facilitate caching the
9521         Method in the future.
9522         (setBooleanField): Added Class argument.
9523         (setByteField): Likewise.
9524         (setCharField): Likewise.
9525         (setDoubleField): Likewise.
9526         (setFloatField): Likewise.
9527         (setIntField): Likewise.
9528         (setLongField): Likewise.
9529         (setShortField): Likewise.
9530         (setObjectField): Likewise.
9531         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
9532         class hierarchy loop.
9533         (defaultWriteObject): Call writeFields with new argument list.
9534         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
9535         list to Object,ObjectStreamClass, moved callWriteMethod up into
9536         writeObject and added Class argument to all getXxxField calls.
9537         (callWriteMethod): Added ObjectStreamClass argument to be able to
9538         get the proper class to call getMethod on (each class can have (or
9539         not have) its own writeObject method).
9540         (getBooleanField): Added Class argument.
9541         (getByteField): Likewise.
9542         (getCharField): Likewise.
9543         (getDoubleField): Likewise.
9544         (getFloatField): Likewise.
9545         (getIntField): Likewise.
9546         (getLongField): Likewise.
9547         (getShortField): Likewise.
9548         (getObjectField): Likewise.
9549         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
9550         facilitate caching the Method object in the future.
9551
9552 2003-03-12  Andreas Schwab  <schwab@suse.de>
9553
9554         * configure.in: Avoid trailing /. in toolexeclibdir.
9555         * configure: Rebuilt.
9556
9557 2003-03-11  Michael Koch  <konqueror@gmx.de>
9558
9559         * gnu/java/nio/ByteBufferImpl.java
9560         (putInt): Use limit() instead of limit.
9561         * gnu/java/nio/CharBufferImpl.java
9562         (slice): Fixed implementation.
9563         (subSequence): Better bounds checking.
9564         * gnu/java/nio/MappedByteFileBuffer.java:
9565         Import all needed classes directly.
9566         * java/nio/ByteBuffer.java
9567         (hashCode): New dummy method.
9568         * java/nio/CharBuffer.java
9569         (array_offset): New member variable.
9570         (hasArray): Fixed documentation.
9571         (arrayOffset): Return array_offset.
9572
9573 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
9574
9575         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
9576         setter; made return value of getter const char* instead of char*
9577         * prims.cc: removed all references to _Jv_ThisExecutable().
9578         These are in the platform-specific sections now.
9579         * posix.cc: define platform-specific _Jv_ThisExecutable().
9580         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
9581         * win32.cc: define platform-specific _Jv_ThisExecutable()
9582         using GetModuleFilename()
9583         * java/lang/natRuntime.cc: set gnu.gcj.progname property
9584         to argv[0] instead of _Jv_ThisExecutable()
9585
9586 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
9587
9588         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
9589         that is set if we are using addr2name.awk instead of addr2line.
9590         (NameFinder): Set usingAddr2name if using addr2name.awk.
9591         (getExternalLabel): New native method to convert a method 
9592         name to an external label.
9593         (lookup): Convert name given by addr2line to an external label
9594         before demangling.
9595
9596         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
9597         constant representing the prefix attached to method names to
9598         convert them to an external label.
9599         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
9600         using LABEL_PREFIX.
9601
9602 2003-03-10  Tom Tromey  <tromey@redhat.com>
9603
9604         * Makefile.in: Rebuilt.
9605         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
9606         (JC1FLAGS): Removed -Wno-deprecated.
9607
9608 2003-03-10  Michael Koch  <konqueror@gmx.de>
9609
9610         * java/nio/ByteOrder.java
9611         (nativeOrder): Working implementation, added documentation.
9612         (toString): Added documentation.
9613
9614 2003-03-10  Michael Koch  <konqueror@gmx.de>
9615
9616         * java/net/DatagramSocket.java,
9617         java/net/MulticastSocket.java,
9618         java/net/Socket.java,
9619         java/net/URL.java,
9620         java/net/URLConnection.java:
9621         Fixed some documentation tags to make javadoc and friends happy.
9622
9623 2003-03-10  Michael Koch  <koqnueror@gmx.de>
9624
9625         * java/beans/beancontext/BeanContextServicesSupport.java,
9626         java/beans/beancontext/BeanContextSupport.java: New files.
9627         * Makefile.am
9628         (awt_source_files): Added new files.
9629         * Makefile.in: Regenerated.
9630
9631 2003-03-10  Michael Koch  <konqueror@gmx.de>
9632
9633         * java/awt/FocusTraversalPolicy.java
9634         (FocusTraversalPolicy): Documentation added.
9635         (getComponentAfter): Documentation added.
9636         (getComponentBefore): Documentation added.
9637         (getFirstComponent): Documentation added.
9638         (getLastComponent): Documentation added.
9639         (getDefaultComponent): Documentation added.
9640         (getInitialComponent): Documentation added.
9641         * java/awt/ScrollPaneAdjustable.java
9642         (sp): New member variable.
9643         (orientation): New member variable.
9644         (value): New member variable.
9645         (minimum): New member variable.
9646         (maximum): New member variable.
9647         (visibleAmount): New member variable.
9648         (unitIncrement): New member variable.
9649         (blockIncrement): New member variable.
9650         (adjustmentListener): New member variable.
9651         (ScrollPaneAdjustable): Rewrote.
9652         (addAdjustmentListener): New method.
9653         (removeAdjustmentListener): New method.
9654         (getAdjustmentListeners): New method.
9655         (getBlockIncrement): New method.
9656         (getMaximum): New method.
9657         (getMinimum): New method.
9658         (getOrientation): New method.
9659         (getUnitIncrement): New method.
9660         (getValue): New method.
9661         (getVisibleAmount): New method.
9662         (setBlockIncrement): New method.
9663         (setUnitIncrement): New method.
9664         (setMaximum): Implemented.
9665         (setMinimum): Implemented.
9666         (setValue): New method.
9667         (setVisibleAmount): Implemented.
9668         (paramString): New method.
9669         * java/awt/Window.java
9670         (show): Use setVisible(true) instead of super.show().
9671         (hide): Use sevVisible(false) instead of super.hide().
9672         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
9673         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
9674         (postEvent): Deprecated.
9675         (applyResourceBundle): Deprecated.
9676         (processWindowFocusEvent): New method.
9677         (processWindowStateEvent): New method.
9678         * java/awt/datatransfer/DataFlavor.java: Reindented.
9679         * java/awt/font/TextHitInfo.java
9680         (charIndex): New member variable.
9681         (leadingEdge): New member variable.
9682         (TextHitInfo): New constructor.
9683         (getCharIndex): Implemented.
9684         (isLeadingEdge): Implemented.
9685         (getInsertionIndex): Implemented.
9686         (hashCode): Access charIndex directly.
9687         (equals): Reformated.
9688         (leading): Implemented.
9689         (trailing): Implemented.
9690         (beforeOffset): Implemented.
9691         (afterOffset): Implemented.
9692         (getOtherHit): Implemented.
9693         (getOffsetHit): Implemented.
9694         (toString): Implemented.
9695         * java/awt/image/BufferedImage.java
9696         (BufferedImage): Implements WritableRenderedImage.
9697         (observers): New member variable.
9698         (addTileObserver): New method.
9699         (removeTileObserver): New method.
9700
9701 2003-03-09  Tom Tromey  <tromey@redhat.com>
9702
9703         PR libgcj/9934:
9704         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
9705         to lseek.  Return 0 if we can't compute the value.
9706
9707 2003-03-03  Michael Koch  <konqueror@gmx.de>
9708
9709         * java/net/NetworkInterface.java: Merged with classpath.
9710
9711 2003-03-03  Tom Tromey  <tromey@redhat.com>
9712
9713         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
9714         of bytecode.
9715         (handle_ret_insn): Fail if returning to jsr that appears at end of
9716         bytecode.
9717
9718 2003-03-03  Michael Koch  <konqueror@gmx.de>
9719
9720         * Makefile.am
9721         (ordinary_java_source_files):
9722         Added gnu/java/nio/MappedByteFileBuffer.java.
9723         (nat_source_files):
9724         Added gnu/java/nio/natMappedByteFileBuffer.cc.
9725         * Makefile.in: Regenerated.
9726
9727 2003-03-03  Michael Koch  <konqueror@gmx.de>
9728
9729         * java/net/DatagramSocket.java
9730         (connect): Merged comment from classpath.
9731         (receive): Merged documentation from classpath.
9732         * java/net/Socket.java
9733         (setSoTimeout): Clarified documentation.
9734         * java/net/URL.java
9735         (getPath): Merged from classpath.
9736         (getUserInfo): Merged from classpath.
9737         (getQuery): Merged from classpath.
9738         * java/net/URLStreamHandler.java
9739         (toExternalForm): Merged from classpath.
9740
9741 2003-03-02  Mark Wielaard  <mark@klomp.org>
9742
9743         * java/util/Properties.java (load): Only skip line if the first
9744         character is a comment, whitespaces don't count.
9745
9746 2003-03-02  Michael Koch  <konqueror@gmx.de>
9747
9748         * java/net/NetPermission.java:
9749         Merged copyright with classpath.
9750
9751 2003-03-02  Michael Koch  <konqueror@gmx.de>
9752
9753         * java/lang/Package.java:
9754         Remerged from classpath.
9755
9756 2003-03-02  Michael Koch  <konqueror@gmx.de>
9757
9758         * java/net/HttpURLConnection.java
9759         (HTTP_SERVER_ERROR): Deprecated.
9760         * java/net/MulticastSocket.java
9761         (send): Replaced checkMulticast with appropriate checkPermission call,
9762         deprecated.
9763         * java/net/URLDecoder.java
9764         (decode): Deprecated.
9765         * java/net/URLEncoder.java
9766         (encode): Deprecated.
9767
9768 2003-03-02  Michael Koch  <konqueror@gmx.de>
9769
9770         * javax/swing/text/Caret.java
9771         (getMagicCaretPosition): Fixed typo in method name.
9772         * javax/swing/text/DefaultCaret.java
9773         (getMagicCaretPosition): Fixed typo in method name.
9774
9775 2003-03-02  Michael Koch  <konqueror@gmx.de>
9776
9777         * java/awt/List.java
9778         (setMultipleSelections): Deprecated.
9779         (delItem): Deprecated.
9780         * java/awt/MenuComponent.java
9781         (getPeer): Deprecated.
9782         * java/awt/ScrollPane.java
9783         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
9784         * java/awt/dnd/MouseDragGestureRecognizer.java
9785         (mouseClicked): Added comment.
9786         (mousePressed): Added comment.
9787         (mouseReleased): Added comment.
9788         (mouseEntered): Added comment.
9789         (mouseExited): Added comment.
9790         (mouseDragged): Added comment.
9791         (mouseMoved): Added comment.
9792         * java/awt/event/KeyEvent.java
9793         (KeyEvent): Deprecated.
9794         (setModifiers): Deprecated.
9795         
9796 2003-03-02  Michael Koch  <konqueror@gmx.de>
9797
9798         * gnu/java/nio/FileChannelImpl.java
9799         (fd): Type FileDescriptor instead of int.
9800         (lengthInternal): Removed.
9801         (FileChannelImpl): Fixed arguments, check type of file object.
9802         (size): Made it native.
9803         (implPosition): New native method.
9804         (implTruncate): New native method.
9805         (position): Implemented.
9806         (truncate): Implemented.
9807         (nio_mmap_file): Changed arguments.
9808         (nio_munmap_file): Changed arguments.
9809         (nio_msync): Changed arguments.
9810         * gnu/java/nio/natFileChannelImpl.cc
9811         (lengthInternal): Removed.
9812         (size): New method.
9813         (implPosition): New method.
9814         (implTruncate): New method.
9815         (nio_mmap_file): Changed arguments.
9816         (nio_munmap_file): Changed arguments.
9817         (nio_msync): Changed arguments.
9818
9819 2003-03-02  Michael Koch  <konqueror@gmx.de>
9820
9821         * java/awt/dnd/DropTargetContext.java:
9822         Compile fix: Forgot to commit import.
9823         
9824 2003-03-02  Michael Koch  <konqueror@gmx.de>
9825
9826         * java/awt/Component.java,
9827         java/awt/ScrollPane.java:
9828         Fixed typos.
9829
9830 2003-03-02  Michael Koch  <konqueror@gmx.de>
9831
9832         * java/awt/dnd/DnDEventMulticaster.java: New file.
9833         * java/awt/dnd/DragSource.java
9834         (flavorMap): New member variable.
9835         (dragSourceListener): New member variable.
9836         (dragSourceMotionListener): New member variable.
9837         (getFlavorMap): Implemented.
9838         (createDragGestureRecognizer): Implemented.
9839         (addDragSourceListener): Implemented.
9840         (removeDragSourceListener): Implemented.
9841         (getDragSourceListeners): Implemented.
9842         (addDragSourceMotionListener): Implemented.
9843         (removeDragSourceMotionListener): Implemented.
9844         (getDragSourceMotionListeners): Implemented.
9845         (getListeners): Implemented.
9846         * java/awt/dnd/DragSourceContext.java
9847         (peer): New member variable.
9848         (cursor): New member variable.
9849         (transferable): New member variable.
9850         (trigger): New member variable.
9851         (dragSourceListener): New member variable.
9852         (image): New member variable.
9853         (offset): New member variable.
9854         (DragSourceContext): Implemented.
9855         (getDragSource): Implemented.
9856         (getComponent): Implemented.
9857         (getTrigger): Implemented.
9858         (getSourceActions): Implemented.
9859         (setCursor): Implemented.
9860         (getCursor): Implemented.
9861         (addDragSourceListener): Implemented.
9862         (removeDragSourceListener): Implemented.
9863         (getTransferable): Implemented.
9864         * java/awt/dnd/DropTarget.java
9865         (DropTargetAutoScroller.component): New member variable.
9866         (DropTargetAutoScroller.point): New member variable.
9867         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
9868         (DropTargetAutoScroller.updateLocation): Implemented.
9869         (active): Renamed from isActive, defaults to true now.
9870         (component): New member variable.
9871         (flavorMap): New member variable.
9872         (actions): New member variable.
9873         (dropTargetContext): New member variable.
9874         (dropTargetListener): New member variable.
9875         (DropTarget): Implemented.
9876         (getComponent): Implemented.
9877         (setComponent): Implemented.
9878         (setDefaultActions): Implemented.
9879         (getDefaultActions): Implemented.
9880         (setActive): Use active instead of isActive.
9881         (isActive): Use active instead of isActive.
9882         (addDropTargetListener): Implemented.
9883         (removeDropTargetListener): Implemented.
9884         (getFlavorMap): Implemented.
9885         (setFlavorMap): Implemented.
9886         (getDropTargetContext): Implemented.
9887         (createDropTargetContext): Implemented.
9888         (createDropTargetAutoScroller): Implemented.
9889         * java/awt/dnd/DropTargetContext.java
9890         (TransferableProxy.getTransferDataFlavors): Implemented.
9891         (TransferableProxy.isDataFlavorSupported): Implemented.
9892         (TransferableProxy.getTransferData): Implemented.
9893         (dropTarget):  New member variable.
9894         (dtcp): New member variable.
9895         (DropTargetContext): New package private constructor.
9896         (getDropTarget): Implemented.
9897         (getComponent): Implemented.
9898         (addNotify): Implemented.
9899         (removeNotify): Implemented.
9900         (getCurrentDataFlavorsAsList): Implemented.
9901         (isDataFlavorSupported): Implemented.
9902         * java/awt/dnd/MouseDragGestureRecognizer.java
9903         (registerListeners): Implemented.
9904         (unregisterListeners): Implemented.
9905         * Makefile.am
9906         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
9907         * Makefile.in: Regenerated.
9908
9909 2003-03-02  Michael Koch  <konqueror@gmx.de>
9910
9911         * java/awt/Component.java
9912         (eventTypeEnabled): New method.
9913         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
9914         * java/awt/Container.java
9915         (changeSupport): New member variable.
9916         (addPropertyChangeListener): New methods.
9917         * java/awt/ContainerOrderFocusTraversalPolicy.java
9918         (ContainerOrderFocusTraversalPolicy): Added comment.
9919         (getComponentAfter): Throw exception, documentation added.
9920         (getComponentBefore): Throw exception, documentation added.
9921         (getFirstComponent): Throw exception, documentation added.
9922         (getLastComponent): Throw exception, documentation added.
9923         (getDefaultComponent): Throw exception, documentation added.
9924         * java/awt/EventQueue.java: Reindented.
9925         * java/awt/FocusTraversalPolicy.java:
9926         (FocusTraversalPolicy): Added comment.
9927         (getComponentAfter): Documentation added.
9928         (getComponentBefore): Documentation added.
9929         (getFirstComponent): Documentation added.
9930         (getLastComponent): Documentation added.
9931         (getDefaultComponent): Documentation added.
9932         (getInitialComponent): Documentation added.
9933         * java/awt/ScrollPane.java
9934         (wheelScrollingEnabled): New member variable.
9935         (ScrollPane): Initialize wheelScollingEnabled.
9936         (eventTypeEnabled): New method.
9937         (isWheelScrollingEnabled): New method.
9938         (setWheelScrollingEnabled): New method.
9939
9940 2003-03-02  Michael Koch  <konqueror@gmx.de>
9941
9942         * java/net/DatagramSocket.java
9943         (closed): New member variable.
9944         (close): Use closed variable.
9945         (getInetAddress): No need to call isConnected().
9946         (getPort): No need to call isConnected().
9947         (disconnect): Reset remoteAddress and remotePort, fixed typo.
9948         (isClosed): Reimplemented.
9949         
9950 2003-03-02  Michael Koch  <konqueror@gmx.de>
9951
9952         * configure.in: Added check for memory mapping of files.
9953         * configure: Regenerated.
9954         * config.h.in: Regenerated.
9955
9956 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
9957
9958         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
9959         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
9960
9961 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
9962
9963         * java/io/File.java (normalizePath): Remove trailing separator
9964         on Windows only if path is not of the form "x:\".
9965
9966         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
9967         (java::io::File::attr): Change formatting a bit and use
9968         WIN32_EPOCH_MILLIS instead of magic numbers.
9969         (java::io::File::isAbsolute): Path must have at least 3 
9970         characters for a UNC network path.
9971         (java::io::File::init_native): Define.
9972         (java::io::File::performCreate): Likewise.
9973         (java::io::File::performSetReadOnly): Likewise.
9974         (java::io::File::performSetLastModified): Likewise.
9975         (java::io::File::performListRoots): Likewise.
9976
9977 2003-03-01  Tom Tromey  <tromey@redhat.com>
9978
9979         * java/lang/natObject.cc: Don't include assert.h.
9980         (heavy_lock_obj_finalization_proc): Use JvAssert.
9981         (remove_all_heavy): Likewise.
9982         (_Jv_MonitorEnter): Likewise.
9983         (_Jv_MonitorExit): Likewise.
9984         (wait): Likewise.
9985
9986 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
9987
9988         * java/io/File (getAbsolutePath): Prefix drive specifier on
9989         Windows for paths starting with a '\'.
9990         (toURL): Make URL more consistent with what Sun's JDK returns.
9991
9992         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
9993         true only if the path is a UNC network path or it starts with a
9994         drive specifier.
9995
9996         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
9997         Be prepared to handle either '/' or '\\' in the file path for
9998         Windows if using the "file" protocol.
9999         Canonicalise the file path if using a relative path in the given
10000         context and the "file" protocol.
10001
10002 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
10003
10004         * java/lang/natWin32Process.cc (startProcess): Double-quote each
10005         program array element passed to CreateProcess.
10006
10007 2003-03-01  Tom Tromey  <tromey@redhat.com>
10008
10009         * java/rmi/registry/RegistryHandler.java: Deprecate.
10010
10011 2003-03-01  Tom Tromey  <tromey@redhat.com>
10012
10013         * javax/accessibility/AccessibleEditableText.java,
10014         javax/accessibility/AccessibleHyperlink.java: New versions from
10015         Classpath.
10016
10017         * gnu/java/locale/LocaleInformation_af_ZA.java,
10018         gnu/java/locale/LocaleInformation_ar_AE.java,
10019         gnu/java/locale/LocaleInformation_ar_BH.java,
10020         gnu/java/locale/LocaleInformation_ar_DZ.java,
10021         gnu/java/locale/LocaleInformation_ar_EG.java,
10022         gnu/java/locale/LocaleInformation_ar_IN.java,
10023         gnu/java/locale/LocaleInformation_ar_IQ.java,
10024         gnu/java/locale/LocaleInformation_ar_JO.java,
10025         gnu/java/locale/LocaleInformation_ar_KW.java,
10026         gnu/java/locale/LocaleInformation_ar_LB.java,
10027         gnu/java/locale/LocaleInformation_ar_LY.java,
10028         gnu/java/locale/LocaleInformation_ar_MA.java,
10029         gnu/java/locale/LocaleInformation_ar_OM.java,
10030         gnu/java/locale/LocaleInformation_ar_QA.java,
10031         gnu/java/locale/LocaleInformation_ar_SD.java,
10032         gnu/java/locale/LocaleInformation_ar_SY.java,
10033         gnu/java/locale/LocaleInformation_ar_TN.java,
10034         gnu/java/locale/LocaleInformation_ar_YE.java,
10035         gnu/java/locale/LocaleInformation_be_BY.java,
10036         gnu/java/locale/LocaleInformation_bn_IN.java,
10037         gnu/java/locale/LocaleInformation_br_FR.java,
10038         gnu/java/locale/LocaleInformation_bs_BA.java,
10039         gnu/java/locale/LocaleInformation_ca_ES.java,
10040         gnu/java/locale/LocaleInformation_cs_CZ.java,
10041         gnu/java/locale/LocaleInformation_cy_GB.java,
10042         gnu/java/locale/LocaleInformation_da_DK.java,
10043         gnu/java/locale/LocaleInformation_de_AT.java,
10044         gnu/java/locale/LocaleInformation_de_BE.java,
10045         gnu/java/locale/LocaleInformation_de_CH.java,
10046         gnu/java/locale/LocaleInformation_de_DE.java,
10047         gnu/java/locale/LocaleInformation_de_LU.java,
10048         gnu/java/locale/LocaleInformation_el_GR.java,
10049         gnu/java/locale/LocaleInformation_en_AU.java,
10050         gnu/java/locale/LocaleInformation_en_BW.java,
10051         gnu/java/locale/LocaleInformation_en_CA.java,
10052         gnu/java/locale/LocaleInformation_en_DK.java,
10053         gnu/java/locale/LocaleInformation_en_GB.java,
10054         gnu/java/locale/LocaleInformation_en_HK.java,
10055         gnu/java/locale/LocaleInformation_en_IE.java,
10056         gnu/java/locale/LocaleInformation_en_IN.java,
10057         gnu/java/locale/LocaleInformation_en_NZ.java,
10058         gnu/java/locale/LocaleInformation_en_PH.java,
10059         gnu/java/locale/LocaleInformation_en_SG.java,
10060         gnu/java/locale/LocaleInformation_en_US.java,
10061         gnu/java/locale/LocaleInformation_en_ZA.java,
10062         gnu/java/locale/LocaleInformation_en_ZW.java,
10063         gnu/java/locale/LocaleInformation_es_AR.java,
10064         gnu/java/locale/LocaleInformation_es_BO.java,
10065         gnu/java/locale/LocaleInformation_es_CL.java,
10066         gnu/java/locale/LocaleInformation_es_CO.java,
10067         gnu/java/locale/LocaleInformation_es_CR.java,
10068         gnu/java/locale/LocaleInformation_es_DO.java,
10069         gnu/java/locale/LocaleInformation_es_EC.java,
10070         gnu/java/locale/LocaleInformation_es_ES.java,
10071         gnu/java/locale/LocaleInformation_es_GT.java,
10072         gnu/java/locale/LocaleInformation_es_HN.java,
10073         gnu/java/locale/LocaleInformation_es_MX.java,
10074         gnu/java/locale/LocaleInformation_es_NI.java,
10075         gnu/java/locale/LocaleInformation_es_PA.java,
10076         gnu/java/locale/LocaleInformation_es_PE.java,
10077         gnu/java/locale/LocaleInformation_es_PR.java,
10078         gnu/java/locale/LocaleInformation_es_PY.java,
10079         gnu/java/locale/LocaleInformation_es_SV.java,
10080         gnu/java/locale/LocaleInformation_es_US.java,
10081         gnu/java/locale/LocaleInformation_es_UY.java,
10082         gnu/java/locale/LocaleInformation_es_VE.java,
10083         gnu/java/locale/LocaleInformation_et_EE.java,
10084         gnu/java/locale/LocaleInformation_eu_ES.java,
10085         gnu/java/locale/LocaleInformation_fa_IR.java,
10086         gnu/java/locale/LocaleInformation_fi_FI.java,
10087         gnu/java/locale/LocaleInformation_fo_FO.java,
10088         gnu/java/locale/LocaleInformation_fr_BE.java,
10089         gnu/java/locale/LocaleInformation_fr_CA.java,
10090         gnu/java/locale/LocaleInformation_fr_CH.java,
10091         gnu/java/locale/LocaleInformation_fr_FR.java,
10092         gnu/java/locale/LocaleInformation_fr_LU.java,
10093         gnu/java/locale/LocaleInformation_ga_IE.java,
10094         gnu/java/locale/LocaleInformation_gd_GB.java,
10095         gnu/java/locale/LocaleInformation_gl_ES.java,
10096         gnu/java/locale/LocaleInformation_gv_GB.java,
10097         gnu/java/locale/LocaleInformation_he_IL.java,
10098         gnu/java/locale/LocaleInformation_hi_IN.java,
10099         gnu/java/locale/LocaleInformation_hr_HR.java,
10100         gnu/java/locale/LocaleInformation_hu_HU.java,
10101         gnu/java/locale/LocaleInformation_id_ID.java,
10102         gnu/java/locale/LocaleInformation_it_CH.java,
10103         gnu/java/locale/LocaleInformation_it_IT.java,
10104         gnu/java/locale/LocaleInformation_iw_IL.java,
10105         gnu/java/locale/LocaleInformation_ja_JP.java,
10106         gnu/java/locale/LocaleInformation_ka_GE.java,
10107         gnu/java/locale/LocaleInformation_kl_GL.java,
10108         gnu/java/locale/LocaleInformation_ko_KR.java,
10109         gnu/java/locale/LocaleInformation_kw_GB.java,
10110         gnu/java/locale/LocaleInformation_lt_LT.java,
10111         gnu/java/locale/LocaleInformation_lv_LV.java,
10112         gnu/java/locale/LocaleInformation_mi_NZ.java,
10113         gnu/java/locale/LocaleInformation_mk_MK.java,
10114         gnu/java/locale/LocaleInformation_mr_IN.java,
10115         gnu/java/locale/LocaleInformation_mt_MT.java,
10116         gnu/java/locale/LocaleInformation_nl_BE.java,
10117         gnu/java/locale/LocaleInformation_nl_NL.java,
10118         gnu/java/locale/LocaleInformation_nn_NO.java,
10119         gnu/java/locale/LocaleInformation_no_NO.java,
10120         gnu/java/locale/LocaleInformation_oc_FR.java,
10121         gnu/java/locale/LocaleInformation_pl_PL.java,
10122         gnu/java/locale/LocaleInformation_pt_BR.java,
10123         gnu/java/locale/LocaleInformation_pt_PT.java,
10124         gnu/java/locale/LocaleInformation_ro_RO.java,
10125         gnu/java/locale/LocaleInformation_ru_RU.java,
10126         gnu/java/locale/LocaleInformation_ru_UA.java,
10127         gnu/java/locale/LocaleInformation_se_NO.java,
10128         gnu/java/locale/LocaleInformation_sk_SK.java,
10129         gnu/java/locale/LocaleInformation_sl_SI.java,
10130         gnu/java/locale/LocaleInformation_sq_AL.java,
10131         gnu/java/locale/LocaleInformation_sr_YU.java,
10132         gnu/java/locale/LocaleInformation_sv_FI.java,
10133         gnu/java/locale/LocaleInformation_sv_SE.java,
10134         gnu/java/locale/LocaleInformation_ta_IN.java,
10135         gnu/java/locale/LocaleInformation_te_IN.java,
10136         gnu/java/locale/LocaleInformation_tg_TJ.java,
10137         gnu/java/locale/LocaleInformation_tl_PH.java,
10138         gnu/java/locale/LocaleInformation_tr_TR.java,
10139         gnu/java/locale/LocaleInformation_uk_UA.java,
10140         gnu/java/locale/LocaleInformation_ur_PK.java,
10141         gnu/java/locale/LocaleInformation_uz_UZ.java,
10142         gnu/java/locale/LocaleInformation_vi_VN.java,
10143         gnu/java/locale/LocaleInformation_yi_US.java,
10144         gnu/java/locale/LocaleInformation_zh_CN.java,
10145         gnu/java/locale/LocaleInformation_zh_HK.java,
10146         gnu/java/locale/LocaleInformation_zh_SG.java,
10147         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
10148         info; from Classpath.
10149
10150         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
10151         isPaintPending): New methods.
10152         * gnu/awt/xlib/XFramePeer.java (getState, setState,
10153         setMaximizedBounds): New methods.
10154         (beginLayout, endLayout, isPaintPending): Likewise.
10155         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
10156         (requestFocus): Likewise.
10157         (isObscured): Likewise.
10158         (canDetermineObscurity): Likewise.
10159         (coalescePaintEvent): Likewise.
10160         (updateCursorImmediately): Likewise.
10161         (createVolatileImage): Likewise.
10162         (handlesWheelScrolling): Likewise.
10163         (createBuffers): Likewise.
10164         (getBackBuffer): Likewise.
10165         (flip): Likewise.
10166         (destroyBuffers): Likewise.
10167
10168         * Makefile.in: Rebuilt.
10169         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
10170         RobotPeer.java.
10171         * gnu/java/awt/GLightweightPeer.java,
10172         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10173         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10174         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10175         gnu/java/awt/peer/gtk/GtkFramePeer.java,
10176         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10177         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10178         java/awt/dnd/peer/DragSourceContextPeer.java,
10179         java/awt/dnd/peer/DropTargetContextPeer.java,
10180         java/awt/peer/ButtonPeer.java,
10181         java/awt/peer/CheckboxMenuItemPeer.java,
10182         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
10183         java/awt/peer/ComponentPeer.java,
10184         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
10185         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
10186         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
10187         java/awt/peer/MenuBarPeer.java,
10188         java/awt/peer/MenuComponentPeer.java,
10189         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
10190         java/awt/peer/PopupMenuPeer.java,
10191         java/awt/peer/ScrollPanePeer.java,
10192         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
10193         java/awt/peer/TextComponentPeer.java,
10194         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
10195         New versions from Classpath.
10196         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
10197         * java/awt/peer/RobotPeer.java: Likewise.
10198
10199 2003-03-01  Mark Wielaard  <mark@klomp.org>
10200
10201         * java/io/ObjectInputStream.java: Reindent.
10202         * java/io/ObjectOutputStream.java: Likewise.
10203
10204 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
10205
10206         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
10207         jvalue for each argument. Simplify.
10208         * testsuite/libjava.jni/calls.c (docall),
10209         testsuite/libjava.jni/calls.java (longpb_f): check for argument
10210         misalignment.
10211
10212 2003-02-28  Mark Wielaard  <mark@klomp.org>
10213
10214         * Makefile.am (nat_source_files): Remove
10215         java/io/natObjectOutputStream.cc.
10216         * Makefile.in: Regenerated.
10217         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
10218         * java/io/ObjectStreamField.java (typename): New field.
10219         (ObjectStreamField(String, Class)): Initialize new field.
10220         (ObjectStreamField(String, String)): New Constructor.
10221         (getTypeCode): Use new field.
10222         (getTypeString): Use new field.
10223         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
10224         ObjectStreamExceptions. Remember and reset old BlockDataMode.
10225         Handle reading of Proxy classes. Never drain(), just write
10226         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
10227         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
10228         (flush): Call flush(), not just drain().
10229         (writeBoolean): Always use blockDataOutput.
10230         (writeByte): Likewise.
10231         (writeShort): Likewise.
10232         (writeChar): Likewise.
10233         (writeInt): Likewise.
10234         (writeLong): Likewise.
10235         (writeFloat): Likewise.
10236         (writeDouble): Likewise.
10237         (writeBytes): Likewise.
10238         (putfield (put(String,Object))): Throw IllegalArgumentException if
10239         field cannot be found.
10240         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
10241         (writeArraySizeAndElements): Write byte[] in one go.
10242         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
10243         set BlockDataMode to false.
10244         (annotateProxyClass): New method.
10245         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
10246         (getField): No longer native.
10247         (getMethod): Likewise.
10248         (setBlockDataMode): Always drain() on switch, return old mode.
10249         (static): New static code block.
10250         * java/io/natObjectOutputStream.cc: Removed.
10251         * java/io/ObjectInputStream.java (getField): No longer native.
10252         (getMethod): Likewise.
10253         (readObject): Remember and reset old BlockDataMode. Track whether
10254         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
10255         TC_LONGSTRING.
10256         (defaultReadObject): Set BlockDataMode to false during readFields.
10257         (resolveClass): Create new SecurityManager if necessary.
10258         Use Class.forName() if null ClassLoader found.
10259         (read(byte[],int,int): Copy remaining bytes to data before calling
10260         readNextBlock().
10261         (readFields): Set and reset BlockDataMode on call_read_method.
10262         Catch NoSuchFieldErrors.
10263         (setBlockDataMode): Return old mode.
10264         (static): New static code block.
10265         * java/io/natObjectInputStream.cc (getField): Removed.
10266         (getMethod): Likewise.
10267
10268 2003-02-27  Michael Koch  <konqueror@gmx.de>
10269
10270         * java/beans/Beans.java,
10271         java/beans/FeatureDescriptor.java
10272         java/beans/PropertyEditorManager.java:
10273         Reformated to GNU style.
10274
10275 2003-02-25  Michael Koch  <konqueror@gmx.de>
10276
10277         * gnu/java/nio/MappedByteFileBuffer.java,
10278         gnu/java/nio/natMappedByteFileBuffer.cc:
10279         New files, both are not compiled yet to get not noncompiling CVS.
10280
10281 2003-02-24  Tom Tromey  <tromey@redhat.com>
10282
10283         * java/util/prefs/AbstractPreferences.java (isUserNode):
10284         Implemented.
10285
10286 2003-02-24  Tom Tromey  <tromey@redhat.com>
10287
10288         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
10289         Deprecate.
10290         * java/lang/Thread.java (resume): Deprecate.
10291         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
10292         in @deprecated.
10293
10294 2003-02-23  Tom Tromey  <tromey@redhat.com>
10295
10296         * Makefile.in: Rebuilt.
10297         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
10298
10299 2003-02-23  Tom Tromey  <tromey@redhat.com>
10300
10301         * java/lang/natRuntime.cc (libraries_size, libraries_count,
10302         libraries): Removed.
10303         (add_library): Removed.
10304         (_load): Don't call add_library.
10305         (loadLibraryInternal): Likewise.
10306         (init): Likewise.
10307         (lookup_data): New struct.
10308         (find_symbol): New function.
10309         (_Jv_FindSymbolInExecutable): Use it.
10310
10311 2002-02-21  Anthony Green  <green@redhat.com>
10312
10313         * java/lang/Thread.java (Thread): New constructor taking stack
10314         size parameter (ignored for now).
10315         * Many methods: Merged GNU Classpath documentation.
10316
10317         * java/lang/Class.java (finalize): throws a Throwable.
10318
10319 2003-02-21  Mark Wielaard  <mark@klomp.org>
10320
10321         * java/util/zip/ZipEntry.java (setComment): Don't check length when
10322         argument is null.
10323
10324 2003-02-21  Mark Wielaard  <mark@klomp.org>
10325
10326         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
10327         then 65535 chars throw IllegalArgumentException.
10328
10329 2003-02-21  Mark Wielaard  <mark@klomp.org>
10330
10331         * java/util/zip/ZipFile.java (finalize): New method.
10332
10333 2003-02-21  Michael Koch  <konqueror@gmx.de>
10334
10335         * gnu/java/nio/natSocketChannelImpl.cc:
10336         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
10337         <cato@df.lth.se> for pointing to it.
10338
10339 2003-02-20  Raif S. Naffah <raif@fl.net.au>
10340
10341         * java/math/BigInteger.java (euclidInv): Take result array as an
10342         argument.  Updated all callers.
10343         (modInverse): Removed unused variables.
10344
10345 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
10346
10347         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
10348         config.status.
10349         * configure: Rebuilt.
10350
10351 2003-02-19  Michael Koch  <konqueror@gmx.de>
10352
10353         * gnu/java/nio/natSocketChannelImpl.cc:
10354         Added support for platforms without network support.
10355
10356 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10357
10358         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
10359         after config.h.  Use <> for consistency.
10360         * java/lang/natObject.cc: Likewise.
10361         * java/lang/natRuntime.cc: Likewise.
10362         * java/lang/natSystem.cc: Likewise.
10363         * java/util/natTimeZone.cc: Likewise.
10364         * win32.cc: Likewise.
10365         * include/posix.h (fcntl, socket, connect, close, bind, accept,
10366         listen, write, read): Undef to avoid interference from OS macros.
10367
10368 2003-02-19  Michael Koch  <konqueror@gmx.de>
10369
10370         * gnu/java/nio/ByteBufferImpl.java
10371         (ByteBufferImpl): Renamed two variables.
10372         * gnu/java/nio/CharBufferImpl.java
10373         (CharBufferImpl): Renamed two variables.
10374         * gnu/java/nio/DoubleBufferImpl.java
10375         (DoubleBufferImpl): Renamed two variables.
10376         * gnu/java/nio/FloatBufferImpl.java
10377         (FloatBufferImpl): Renamed two variables.
10378         * gnu/java/nio/IntBufferImpl.java
10379         (IntBufferImpl): Renamed two variables.
10380         * gnu/java/nio/LongBufferImpl.java
10381         (LongBufferImpl): Renamed two variables.
10382         * gnu/java/nio/ShortBufferImpl.java
10383         (ShortBufferImpl): Renamed two variables.
10384         * java/nio/CharBuffer.java
10385         (wrap): Fixed arguments to CharBufferImpl constructor.
10386         (hasArray): Only not read-only buffers have backing arrays.
10387         (length): Documentation added.
10388         (subSequence): Documentation added.
10389         * java/nio/DoubleBuffer.java
10390         (hasArray): Only not read-only buffers have backing arrays.
10391         * java/nio/FloatBuffer.java
10392         (hasArray): Only not read-only buffers have backing arrays.
10393         * java/nio/IntBuffer.java
10394         (hasArray): Only not read-only buffers have backing arrays.
10395         * java/nio/LongBuffer.java
10396         (hasArray): Only not read-only buffers have backing arrays.
10397         * java/nio/ShortBuffer.java
10398         (hasArray): Only not read-only buffers have backing arrays.
10399         
10400 2003-02-19  Michael Koch  <konqueror@gmx.de>
10401
10402         * javax/accessibility/AccessibleContext.java
10403         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
10404
10405 2003-02-19  Michael Koch  <konqueror@gmx.de>
10406
10407         * java/awt/ScrollPaneAdjustable.java: Reformated.
10408
10409 2003-02-19  Michael Koch <konqueror@gmx.de>
10410
10411         * gnu/awt/j2d/Graphics2DImpl.java
10412         (getFontRenderContext): New method.
10413         (drawGlyphVector): New method.
10414         * java/awt/Graphics2D.java
10415         (getFontRenderContext): New abstract method.
10416         (drawGlyphVector): New abstract method.
10417         
10418 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
10419
10420         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
10421         if necessary.
10422         
10423         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10424         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10425         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10426         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10427         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10428         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10429         (setFont, gtkSetFont): add.
10430         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
10431         Propagate font to peer.  (setFont): add FIXME comment.
10432
10433         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10434         (gtkTextGetSize): fix height, width computation.
10435
10436         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
10437         Make X font name a bit less bogus.
10438
10439         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10440         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
10441
10442         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
10443         (processAdjustmentEvent): Adjust value.
10444
10445         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
10446         logic errors.
10447
10448         * java/awt/Component.java (setVisible, show, hide): Call show and
10449         hide methods in subclasses.
10450         (getPreferredSize): don't set prefSize before we have peer.
10451
10452         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
10453         Guess (0,0) if we don't have peer.
10454
10455
10456 2003-02-18  Michael Koch  <konqueror@gmx.de>
10457
10458         * java/nio/channels/FileChannel.java
10459         (toString): New implementation, added documentation.
10460         (map): Added exception documentation.
10461         (size): Added exception documentation.
10462         (write): New methods, documentation work.
10463         (read): New methods, documentation work.
10464         (implCloseChannel): Rewrote exception documentation.
10465         (force): Throws IOException, added documentation.
10466         (lock): New methods.
10467         (tryLock): New methods.
10468         (position): New methods.
10469         (transferTo): New method.
10470         (transferFrom): New method.
10471         (truncate): New method.
10472         * java/nio/channels/spi/SelectorProvider.java
10473         (provider): Implemented.
10474         * Makefile.am
10475         (ordinary_java_source_files): Added the following files:
10476         gnu/java/nio/DatagramChannelImpl.java
10477         gnu/java/nio/FileChannelImpl.java
10478         gnu/java/nio/PipeImpl.java
10479         gnu/java/nio/SelectionKeyImpl.java
10480         gnu/java/nio/SelectorImpl.java
10481         gnu/java/nio/SelectorProviderImpl.java
10482         gnu/java/nio/ServerSocketChannelImpl.java
10483         gnu/java/nio/SocketChannelImpl.java
10484         java/nio/channels/FileLock.java
10485         (nat_java_source_files): Added the following files:
10486         gnu/java/nio/natFileChannelImpl.cc
10487         gnu/java/nio/natSelectorImpl.cc
10488         gnu/java/nio/natSocketChannelImpl.cc
10489         * Makefile.in: Regenerated.
10490
10491 2003-02-17  Tom Tromey  <tromey@redhat.com>
10492
10493         * java/awt/image/ColorModel.java: Re-merged with Classpath.
10494         * java/awt/image/ImageFilter.java: Likewise.
10495
10496 2003-02-17  Raif S. Naffah <raif@fl.net.au>
10497
10498         * java/math/BigInteger.java (euclidInv): Return array of
10499         `BigInteger's.  Changed all callers.
10500
10501 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
10502
10503         * java/util/Properties.java (store): Move the code formerly in
10504         list(), into this method.
10505         (list (PrintStream)): Just call list (PrintWriter) with a 
10506         PrintWriter object constructed from the given PrintStream object.
10507         (list (PrintWriter)): Emulate the output of Properties.list()
10508         as found in JDK 1.3/1.4.
10509
10510 2003-02-17  Michael Koch  <konqueror@gmx.de>
10511
10512         * java/net/DatagramSocket.java
10513         (connect): Merged with classpath.
10514         (disconnect): Merged documentation with classpath.
10515         (receice): Merged documentation with classpath.
10516         (send): Merged documentation with classpath.
10517         
10518 2003-02-17  Michael Koch  <konqueror@gmx.de>
10519
10520         * java/awt/dnd/DragSourceContext.java
10521         (addDragSourceListener): Added documentation.
10522         * java/awt/dnd/DragSourceDragEvent.java
10523         (serialVersionUID): New member variable.
10524         (getDropAction): Reformated.
10525         * java/awt/dnd/DragSourceDropEvent.java
10526         (serialVersionUID): New member variable.
10527         (dropSuccess): Renamed from success for serialization issues.
10528         * java/awt/dnd/DragSourceEvent.java
10529         (serialVersionUID): New member variable.
10530         * java/awt/dnd/DropTarget.java
10531         (serialVersionUID): New member variable.
10532         (DropTarget): Implemented, documentation reworked.
10533         (setComponent): Documentation added.
10534         (getComponent): Documentation added.
10535         (setDefaultActions): Documentation added.
10536         (getDefaultActions): Documentation added.
10537         (addDropTargetListener): Documentation added.
10538         * java/awt/dnd/DropTargetContext.java
10539         (DropTargetContext): Documentation added.
10540         (TransferableProxy.TransferableProxy): New method.
10541         (dropComplete): Fixed documentation.
10542         (getTransferable): Fixed documentation.
10543         (createTransferableProxy): Implemented.
10544         * java/awt/dnd/DropTargetDragEvent.java
10545         (DropTargetDragEvent): Documentation added.
10546         (serialVersionUID): New member variable.
10547         (DropTargetDragEvent): Throw exceptions, documentation added.
10548         (acceptDrag): Implemented.
10549         (getCurrentDataFlavors): Implemented.3yy
10550         (getCurrentDataFlavorsAsList): Implemented.
10551         (isDataFlavorSupported): Implemented.
10552         (rejectDrag): Implemented.
10553         * java/awt/dnd/DropTargetDropEvent.java
10554         (DropTargetDropEvent): Documentation added.
10555         (serialVersionUID): New member variable.
10556         (actions): Renamed from srcActions for serialization issues.
10557         (isLocalTx): Renamed from isLocalTx for serialization issues.
10558         (DropTargetDropEvent): New implementation, throw exceptions,
10559         documentation added.
10560         (getCurrentDataFlavors): Implemented.
10561         (getCurrentDataFlavorsAsList): Implemented.
10562         (isDataFlavorSupported): Implemented.
10563         (getSourceActions): Implemented.
10564         (getDropAction): Implemented.
10565         (getTransferable): Implemented.
10566         (acceptDrop): Implemented.
10567         (rejectDrop): Implemented.
10568         * java/awt/dnd/DropTargetListener.java
10569         (drop): Fixed documentation.
10570         * java/awt/dnd/MouseDragGestureRecognizer.java
10571         (MouseDragGestureRecognizer): Documentation added.
10572
10573 2003-02-17  Michael Koch  <konqueror@gmx.de>
10574
10575         * java/awt/font/FontRenderContext.java,
10576         java/awt/font/ShapeGraphicAttribute.java,
10577         java/awt/font/MultipleMaster.java,
10578         java/awt/font/TransformAttribute.java,
10579         java/awt/font/GlyphJustificationInfo.java,
10580         java/awt/font/LineBreakMeasurer.java,
10581         java/awt/font/TextMeasurer.java,
10582         java/awt/font/TextLayout.java,
10583         java/awt/font/LineMetrics.java,
10584         java/awt/font/TextAttribute.java,
10585         java/awt/font/GlyphMetrics.java,
10586         java/awt/font/OpenType.java,
10587         java/awt/font/GlyphVector.java,
10588         java/awt/font/GraphicAttribute.java,
10589         java/awt/font/ImageGraphicAttribute.java,
10590         java/awt/font/NumericShaper.java: New files.
10591         * Makefile.am
10592         (awt_java_source_files): Added the following files:
10593         java/awt/font/FontRenderContext.java
10594         java/awt/font/ShapeGraphicAttribute.java
10595         java/awt/font/MultipleMaster.java
10596         java/awt/font/TransformAttribute.java
10597         java/awt/font/GlyphJustificationInfo.java
10598         java/awt/font/LineBreakMeasurer.java
10599         java/awt/font/TextMeasurer.java
10600         java/awt/font/TextLayout.java
10601         java/awt/font/LineMetrics.java
10602         java/awt/font/TextAttribute.java
10603         java/awt/font/GlyphMetrics.java
10604         java/awt/font/OpenType.java
10605         java/awt/font/GlyphVector.java
10606         java/awt/font/GraphicAttribute.java
10607         java/awt/font/ImageGraphicAttribute.java
10608         java/awt/font/NumericShaper.java
10609         * Makefile.in: Regenerated.
10610
10611 2003-02-17  Michael Koch  <konqueror@gmx.de>
10612
10613         * java/awt/print/Paper.java
10614         (Paper): Implements Cloneable.
10615         * java/awt/print/PrinterJob.java
10616         (setJobName): Return value must be void.
10617         (print): Throws PrinterException.
10618         
10619 2003-02-16  Tom Tromey  <tromey@redhat.com>
10620
10621         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
10622         variable.
10623
10624 2003-02-15  Michael Koch  <konqueror@gmx.de>
10625
10626         * java/awt/datatransfer/DataFlavor.java
10627         (isRepresentationClassByteBuffer): Removed try-catch block.
10628         (isRepresentationClassCharBuffer): Removed try-catch block.
10629         (isRepresentationClassReader): Removed try-catch block.
10630
10631 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10632
10633         * java/nio/charset/Charset.java
10634         (isRegistered): Fixed method args and implementation.
10635         * java/nio/charset/CharsetEncoder.java
10636         (unmappableCharacterAction): New method.
10637
10638 2003-02-15  Michael Koch  <konqueror@gmx.de>
10639
10640         * java/awt/CheckboxMenuItem.java
10641         (CheckBoxMenuItem): Dont implement Serializable.
10642         (getListeners): New method,
10643         (getItemListeners): New method.
10644         * java/awt/Choice.java
10645         (getListeners): New method,
10646         (getItemListeners): New method.
10647         * java/awt/Container.java
10648         (getListeners): Added exception documentation.
10649         (setFocusTraversalKeys): Throw exceptions, added documentattion.
10650         (getFocusTraversalKeys): Added documentation.
10651         (areFocusTraversalKeysSet): Added documentation.
10652         (applyComponentOrientation): Added documentation.
10653         * java/awt/ContainerOrderFocusTraversalPolicy.java
10654         (implicitDownCycleTraversal): Renamed from downCycle for
10655         serialization.
10656         (ContainerOrderFocusTraversalPolicy): Added documentation.
10657         (accept): Reformated.
10658         * java/awt/Dialog.java
10659         (Dialog): Dont implement Serializable.
10660         (Dialog): Added documentation.
10661         * java/awt/Font.java
10662         (Font): Dont use absolute class name.
10663         * java/awt/Frame.java
10664         (Frame): Font implement Serializable.
10665         * java/awt/List.java
10666         (getListeners): New method,
10667         (getActionListeners): New method.       
10668         (getItemListeners): New method.
10669         * java/awt/Menu.java
10670         (countItems): New deprecated method.
10671         * java/awt/Scrollbar.java
10672         (getListeners): New method,
10673         (getAdjustmentListeners): New method,
10674         * java/awt/TextComponent.java
10675         (getListeners): New method,
10676         (getTextListeners): New method,
10677         * java/awt/TextField.java
10678         (getListeners): New method,
10679         (getActionListeners): New method.       
10680         * java/awt/Window.java
10681         (windowFocusListener): New member variable.
10682         (windowStateListener): New member variable.
10683         (getWindowFocusListeners): New method.
10684         (getWindowStateListeners): New method.
10685         (addWindowFocusListener): New method.
10686         (addWindowStateListener): New method.
10687         (removeWindowFocusListener): New method.
10688         (removeWindowStateListener): New method.
10689         * java/awt/datatransfer/DataFlavor.java
10690         (isRepresentationClassByteBuffer): New method.
10691         (isRepresentationClassCharBuffer): New method.
10692         (isRepresentationClassReader): New method.
10693
10694 2003-02-14  Mark Wielaard  <mark@klomp.org>
10695
10696         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
10697         zero when there is an exponent and the significant is zero.
10698         (divide): Always set scale to newScale even in special ZERO case.
10699
10700 2003-02-14  Tom Tromey  <tromey@redhat.com>
10701
10702         * java/lang/System.java (properties): Use Properties.clone.
10703         (setProperties): Likewise.
10704
10705 2003-02-14  Michael Koch  <konqueror@gmx.de>
10706
10707         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
10708         * gnu/java/nio/ServerSocketChannelImpl.java
10709         (SocketAccept): Removed.
10710         (accept): Commented out use of SocketAccept.
10711
10712 2003-02-13  Tom Tromey  <tromey@redhat.com>
10713
10714         * verify.cc (state::seen_subrs): New field.
10715         (state::state): Initialize it.
10716         (state::clean_subrs): New method.
10717         (state::~state): Call it.
10718         (state::copy): Copy subroutine list.
10719         (state::add_subr): New method.
10720         (state::merge): Only register a change if the current subroutine
10721         hasn't yet been noted.
10722
10723 2003-02-13  Mark Wielaard  <mark@klomp.org>
10724
10725         * java/io/InputStreamReader.java (getEncoding): Return null when
10726         closed.
10727         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
10728
10729 2003-02-13  Mark Wielaard  <mark@klomp.org>
10730  
10731         * java/util/zip/InflaterInputStream.java (read): Return zero when len
10732         is zero.
10733
10734 2003-02-13  Mark Wielaard  <mark@klomp.org>
10735
10736         * java/io/BufferedOutputStream.java (write(int)): Only flush when
10737         next byte cannot be buffered.
10738
10739 2003-02-13  Michael Koch  <konqueror@gmx.de>
10740  
10741         * java/awt/Label.java
10742         (Label): Don't implement Serializable directly.
10743         (addNotify): Fixed typo in documentation.
10744         * java/awt/List.java
10745         (List): Don't implement Serializable directly.
10746         * java/awt/PopupMenu.java
10747         (PopupMenu): Don't implement Serializable directly.
10748         * java/awt/ScrollPane.java
10749         (ScrollPane): Don't implement Serializable directly.
10750         * java/awt/Scrollbar.java
10751         (Scrollbar): Don't implement Serializable directly.
10752         * java/awt/TextArea.java
10753         (preferredSize): Fixed method arguments.
10754         * java/awt/TextField.java
10755         (TextField): Don't implement Serializable directly.
10756         * java/awt/color/ICC_ColorSpace.java
10757         (fromCIOXYZ): Documentation added.
10758         (getMinValue): Documentation added.
10759         (getMaxValue): Documentation added.
10760         * java/awt/datatransfer/DataFlavor.java
10761         (isMimeTypeEqual): May not be final.
10762         (clone): Throws CloneNotSupportedException.
10763         (getReaderForText): Don't throws UnsupportedEncodingException.
10764
10765 2003-02-13  Michael Koch  <konqueror@gmx.de>
10766  
10767         * gnu/java/awt/peer/gtk/GdkGraphics.java
10768         (drawString): New stubbed method.
10769         * java/awt/Graphics.java
10770         (drawString): New method.
10771
10772 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
10773
10774         PR libgcj/9271:
10775         * java/security/SecureRandom.java (next): Avoid bias in results.
10776
10777 2003-02-13  Michael  <konqueror@gmx.de>
10778
10779         * gnu/java/nio/FileChannelImpl.java
10780         (lengthInternal): Must be native.
10781         (size): Check if channel is already closed.
10782         (implCloseChannel): Reformated.
10783         (read): w was unused, removed it.
10784         (read): Removed.
10785         (read): New method.
10786         (write): New method.
10787         (map): Check arguments.
10788         (force): Throws IOException, check if channel is closed.
10789         (transferTo): New method.
10790         (transferFrom): New method.
10791         (lock): New method.
10792         (tryLock): New method.
10793         (position): New method.
10794         (truncate): New method.
10795         (nio_mmap_file): Uncommented.
10796         (nio_munmap_file): Uncommented.
10797         (nio_msync): Uncommented.
10798         * gnu/java/nio/natFileChannelImpl.cc: New file.
10799         
10800 2003-02-13  Michael Koch  <konqueror@gmx.de>
10801
10802         * java/nio/ByteBuffer.java
10803         (endian): New member variable.
10804         (get): New methods.
10805         (equals): New method.
10806         (compareTo): New method.
10807         (order): New methods.
10808         (compact): New method.
10809         (isDirect): New method.
10810         (slice): New method.
10811         (duplicate): New method.
10812         (asReadOnlyBuffer): New method.
10813         (asCharBuffer): New method.
10814         (asDoubleBuffer): New method.
10815         (asFloatBuffer): New method.
10816         (asIntBuffer): New method.
10817         (asLongBuffer): New method.
10818         (asShortBuffer): New method.
10819         (get*): New methods.
10820         (put*): New methods.
10821         (toString): New method.
10822         * java/nio/CharBuffer.java
10823         (CharBuffer): Implement Comparable instead of Cloneable.
10824         (get): May not be final.
10825         (put): May not be final.
10826         
10827 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
10828
10829         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
10830         lastIndexOf( ) instead of indexOf( ) to find the colon before
10831         the line number, because Win32 file names might contain a 
10832         drive letter and a colon at the start of an absolute path.
10833
10834 2003-02-13  Michael Koch  <konqueror@gmx.de>
10835
10836         * gnu/java/nio/natSocketChannelImpl.cc
10837         (SocketConnect): This is not implemented yet.
10838         (SocketBind): This is not implemented yet.
10839
10840 2003-02-13  Michael Koch  <konqueror@gmx.de>
10841
10842         * gnu/java/nio/natByteBufferImpl.cc,
10843         gnu/java/nio/natCharBufferImpl.cc,
10844         gnu/java/nio/natDoubleBufferImpl.cc,
10845         gnu/java/nio/natFloatBufferImpl.cc,
10846         gnu/java/nio/natIntBufferImpl.cc,
10847         gnu/java/nio/natLongBufferImpl.cc,
10848         gnu/java/nio/natShortBufferImpl.cc:
10849         Added copyright and license.
10850         * java/nio/DoubleBuffer.java,
10851         java/nio/FloatBuffer.java,
10852         java/nio/IntBuffer.java,
10853         java/nio/LongBuffer.java,
10854         java/nio/ShortBuffer.java
10855         (array): Throw exceptions.
10856         (arrayOffset): Throw exceptions.
10857
10858 2003-02-13  Michael Koch  <konqueror@gmx.de>
10859  
10860         * gnu/java/util/prefs/FileBasedFactory.java,
10861         gnu/java/util/prefs/MemmoryBasedFactory.java,
10862         gnu/java/util/prefs/MemoryBasedPreferences.java,
10863         gnu/java/util/prefs/NodeReader.java,
10864         gnu/java/util/prefs/NodeWriter.java,
10865         java/util/prefs/AbstractPreferences.java,
10866         java/util/prefs/BackingStoreException.java,
10867         java/util/prefs/InvalidPreferencesFormatException.java,
10868         java/util/prefs/NodeChangeEvent.java,
10869         java/util/prefs/NodeChangeListener.java,
10870         java/util/prefs/PreferenceChangeEvent.java,
10871         java/util/prefs/PreferenceChangeListener.java,
10872         java/util/prefs/Preferences.java,
10873         java/util/prefs/PreferencesFactory.java:
10874         New files, all merged from classpath.
10875         * Makefile.am
10876         (ordinary_java_source_files): Added the following files:
10877         gnu/java/util/prefs/FileBasedFactory.java,
10878         gnu/java/util/prefs/MemmoryBasedFactory.java,
10879         gnu/java/util/prefs/MemoryBasedPreferences.java,
10880         gnu/java/util/prefs/NodeReader.java,
10881         gnu/java/util/prefs/NodeWriter.java,
10882         (core_java_source_files): Added the following files:
10883         java/util/prefs/AbstractPreferences.java,
10884         java/util/prefs/BackingStoreException.java,
10885         java/util/prefs/InvalidPreferencesFormatException.java,
10886         java/util/prefs/NodeChangeEvent.java,
10887         java/util/prefs/NodeChangeListener.java,
10888         java/util/prefs/PreferenceChangeEvent.java,
10889         java/util/prefs/PreferenceChangeListener.java,
10890         java/util/prefs/Preferences.java,
10891         java/util/prefs/PreferencesFactory.java
10892         * Makefile.in: Regenerated.
10893  
10894 2003-02-13  Michael Koch  <konqueror@gmx.de>
10895
10896         * java/net/NetPermission.java
10897         (NetPermission): Make doucmentation match the method declaration.
10898         * java/net/NetworkInterface.java
10899         (equals): Reformated for GNU coding style.
10900         * java/net/ServerSocket.java: Merged with classpath.
10901         * java/net/Socket.java: Partly merged with classpath (Added some @since).
10902         * java/net/SocketImpl.java
10903         (localPort): Merged with classpath (initialize with -1).
10904         * java/net/SocketPermission.java: Merged with classpath (reindented).
10905         * java/net/URLDecoder.java: Merged with classpath (reindented).
10906
10907 2003-02-13  Michael Koch  <konqueror@gmx.de>
10908
10909         * java/awt/GridBagConstraints.java
10910         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
10911         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
10912         * java/awt/KeyboardFocusManager.java
10913         (setGlobalCurrentFocusCycleRoot): Must be public.
10914         * java/awt/MenuComponent.java
10915         (MenuComponent): Must be public.
10916         * java/awt/Toolkit.java:
10917         Added some empty lines to make documentation more readable.
10918         (getFontPeer): Added @deprecated.
10919         (getColorModel): Added exception documentation.
10920         (getProperty): Fixed documentation.
10921  
10922 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
10923
10924         * configure.host (alpha*-*): Default to -mieee.
10925         * configure.in (IEEESPEC): New.
10926         * libgcj.spec.in (jc1): Add IEEESPEC.
10927         * configure: Rebuild.
10928
10929 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
10930
10931         * include/win32.h: Include ws2tcpip.h instead of
10932         winsock.h to obtain definition of the socklen_t type.
10933         Remove IP_TOS definition - not needed with ws2tcpip.h
10934         (_Jv_connect): Correct slight formatting error.
10935
10936 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
10937
10938         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
10939         size of the arguments for a JNI function. For Win32,
10940         modify to search for all forms of possible exported
10941         names of an stdcall JNI function.
10942         (_Jv_JNIMethod::call): Modify to calculate the size
10943         of the arguments passed to a JNI function and pass
10944         it to _Jv_LookupJNIMethod.
10945
10946 2003-02-12  Michael Koch  <konqueror@gmx.de>
10947
10948         * java/nio/channels/Channels.java: New file.
10949         * Makefile.am
10950         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
10951         * Makefile.in: Regenerated.
10952
10953 2003-02-12  Michael Koch  <konqueror@gmx.de>
10954
10955         * java/nio/ByteBuffer.java
10956         (allocate): Implemented.
10957         (wrap): Implemented.
10958         * java/nio/CharBuffer.java:
10959         Some documentation added and reworked.
10960         (endian): Removed.
10961         (allocate): Implemented.
10962         (wrap): Implemented.
10963         (array): Throw exceptions.
10964         (arrayOffset): Throw exceptions.
10965         (toString): Implemented.
10966         (length): Implemented.
10967         (put): Implemented.
10968         (charAt): Implemented.
10969
10970 2003-02-11  John Leuner  <jewel@debian.org>
10971
10972         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
10973         reads from end of file.
10974
10975 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
10976
10977         * java/io/natFileDescriptorWin32.cc 
10978         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
10979         returns with Win32 error code ERROR_BROKEN_PIPE.
10980
10981 2003-02-11  Michael Koch  <konqueror@gmx.de>
10982
10983         * Makefile.in
10984         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
10985
10986 2003-02-11  Michael Koch  <konqueror@gmx.de>
10987
10988         * gnu/java/nio/ByteBufferImpl.java:
10989         Reformated and removed some code.
10990         (backing_buffer): Removed.      
10991         (array_offset): Removed.
10992         (ro): Renamed to readOnly.
10993         (ByteBufferImpl): Use parent constructor, initialize readOnly.
10994         * gnu/java/nio/CharBufferImpl.java:
10995         Reformated and removed some code.
10996         (array_offset): Removed.
10997         (ro): Renamed to readOnly.
10998         (CharBufferImpl): Use parent constructor, initialize readOnly.
10999         (inc_pos): Removed.
11000         (order): New method.
11001         * gnu/java/nio/DoubleBufferImpl.java:
11002         Reformated and removed some code.
11003         (array_offset): Removed.
11004         (ro): Renamed to readOnly.
11005         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
11006         (inc_pos): Removed.
11007         (order): New method.
11008         * gnu/java/nio/FloatBufferImpl.java:
11009         Reformated and removed some code.
11010         (array_offset): Removed.
11011         (ro): Renamed to readOnly.
11012         (FloatBufferImpl): Use parent constructor, initialize readOnly.
11013         (inc_pos): Removed.
11014         (order): New method.
11015         * gnu/java/nio/IntBufferImpl.java:
11016         Reformated and removed some code.
11017         (array_offset): Removed.
11018         (ro): Renamed to readOnly.
11019         (IntBufferImpl): Use parent constructor, initialize readOnly.
11020         (inc_pos): Removed.
11021         (order): New method.
11022         * gnu/java/nio/LongBufferImpl.java:
11023         Reformated and removed some code.
11024         (array_offset): Removed.
11025         (ro): Renamed to readOnly.
11026         (LongBufferImpl): Use parent constructor, initialize readOnly.
11027         (inc_pos): Removed.
11028         (order): New method.
11029         * gnu/java/nio/ShortBufferImpl.java:
11030         Reformated and removed some code.
11031         (array_offset): Removed.
11032         (ro): Renamed to readOnly.
11033         (ShortBufferImpl): Use parent constructor, initialize readOnly.
11034         (inc_pos): Removed.
11035         (order): New method.
11036         * Makefile.am
11037         (ordinary_java_source_files): Added the following files:
11038         gnu/java/nio/ByteBufferImpl.java
11039         gnu/java/nio/CharBufferImpl.java
11040         gnu/java/nio/DoubleBufferImpl.java
11041         gnu/java/nio/FloatBufferImpl.java
11042         gnu/java/nio/IntBufferImpl.java
11043         gnu/java/nio/LongBufferImpl.java
11044         gnu/java/nio/ShortBufferImpl.java
11045         java/nio/DoubleBuffer.java
11046         java/nio/FloatBuffer.java
11047         java/nio/IntBuffer.java
11048         java/nio/LongBuffer.java
11049         java/nio/ShortBuffer.java
11050         (nat_source_files): Added the following files:
11051         gnu/java/nio/natByteBufferImpl.cc
11052         gnu/java/nio/natCharBufferImpl.cc
11053         gnu/java/nio/natDoubleBufferImpl.cc
11054         gnu/java/nio/natFloatBufferImpl.cc
11055         gnu/java/nio/natIntBufferImpl.cc
11056         gnu/java/nio/natLongBufferImpl.cc
11057         gnu/java/nio/natShortBufferImpl.cc
11058         * Makefile.in: Regenerated.
11059
11060 2003-02-11  Michael Koch  <konqueror@gmx.de>
11061
11062         * gnu/java/nio/natCharBufferImpl.cc
11063         (nio_cast): Removed.
11064         (nio_put_*): Removed.
11065         (nio_get_*): Removed.
11066         * gnu/java/nio/natDoubleBufferImpl.cc
11067         (nio_cast): Removed.
11068         (nio_put_*): Removed.
11069         (nio_get_*): Removed.
11070         * gnu/java/nio/natFloatBufferImpl.cc
11071         (nio_cast): Removed.
11072         (nio_put_*): Removed.
11073         (nio_get_*): Removed.
11074         * gnu/java/nio/natIntBufferImpl.cc
11075         (nio_cast): Removed.
11076         (nio_put_*): Removed.
11077         (nio_get_*): Removed.
11078         * gnu/java/nio/natLongBufferImpl.cc
11079         (nio_cast): Removed.
11080         (nio_put_*): Removed.
11081         (nio_get_*): Removed.
11082         * gnu/java/nio/natShortBufferImpl.cc
11083         (nio_cast): Removed.
11084         (nio_put_*): Removed.
11085         (nio_get_*): Removed.
11086         * gnu/java/nio/SelectorProviderImpl.java
11087         (openDatagramChannel): Throws IOException.
11088         (openPipe): Throws IOException.
11089         (openSelector): Throws IOException.
11090         (openServerSocketChannel): Throws IOException.
11091         (openSocketChannel): Throws IOException.
11092         * gnu/java/nio/ServerSocketChannelImpl.java
11093         (ServerSocketChannelImpl): Throws IOException.
11094         (implCloseSelectableChannel): Throws IOException.
11095         (implConfigureBlocking): Throws IOException.
11096         * java/nio/ByteBuffer.java
11097         (readOnly): Removed.
11098         (hasArray): Use isReadOnly() instead of readOnly.
11099         (array): Use isReadOnly() instead of readOnly.
11100         (arrayOffset): Use isReadOnly() instead of readOnly.
11101         * java/nio/CharBuffer.java
11102         (CharBuffer): Implements Cloneable and CharSequence.
11103
11104 2003-02-11  Michael Koch  <konqueror@gmx.de>
11105
11106         * java/nio/DoubleBuffer.java
11107         (DoubleBuffer): Implements Comparable.
11108         (endian): Removed.
11109         (array_offset): New member variable.
11110         (DoubleBuffer): New constuctor.
11111         (get): May not be final.
11112         (put): May not be final.
11113         (arrayOffset): Implemented.
11114         (order): Made abstract.
11115         (order): Removed.
11116         (as*Buffer): Removed.
11117         (get*): Removed.
11118         (put*): Removed.
11119         * java/nio/FloatBuffer.java
11120         (FloatBuffer): Implements Comparable.
11121         (endian): Removed.
11122         (array_offset): New member variable.
11123         (FloatBuffer): New constuctor.
11124         (get): May not be final.
11125         (put): May not be final.
11126         (arrayOffset): Implemented.
11127         (order): Made abstract.
11128         (order): Removed.
11129         (as*Buffer): Removed.
11130         (get*): Removed.
11131         (put*): Removed.
11132         * java/nio/IntBuffer.java
11133         (IntBuffer): Implements Comparable.
11134         (endian): Removed.
11135         (array_offset): New member variable.
11136         (IntBuffer): New constuctor.
11137         (get): May not be final.
11138         (put): May not be final.
11139         (arrayOffset): Implemented.
11140         (order): Made abstract.
11141         (order): Removed.
11142         (as*Buffer): Removed.
11143         (get*): Removed.
11144         (put*): Removed.
11145         * java/nio/LongBuffer.java
11146         (LongBuffer): Implements Comparable.
11147         (endian): Removed.
11148         (array_offset): New member variable.
11149         (LongBuffer): New constuctor.
11150         (get): May not be final.
11151         (put): May not be final.
11152         (arrayOffset): Implemented.
11153         (order): Made abstract.
11154         (order): Removed.
11155         (as*Buffer): Removed.
11156         (get*): Removed.
11157         (put*): Removed.
11158         * java/nio/ShortBuffer.java
11159         (ShortBuffer): Implements Comparable.
11160         (endian): Removed.
11161         (array_offset): New member variable.
11162         (ShortBuffer): New constuctor.
11163         (get): May not be final.
11164         (put): May not be final.
11165         (arrayOffset): Implemented.
11166         (order): Made abstract.
11167         (order): Removed.
11168         (as*Buffer): Removed.
11169         (get*): Removed.
11170         (put*): Removed.
11171
11172 2003-02-11   Michael Koch  <konqueror@gmx.de>
11173
11174         * java/nio/channels/SelectionKey.java
11175         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
11176         values.
11177
11178 2003-02-11  Michael Koch  <konqueror@gmx.de>
11179
11180         * java/nio/channels/DatagramChannel.java
11181         (write): Throws IOException.
11182         (connect): Throws IOException.
11183         (disconnect): Throws IOException.
11184         (read): Throws IOException.
11185         (receive): Throws IOException.
11186         (send): Throws IOException.
11187         * java/nio/channels/Pipe.java
11188         (open): Throws IOException.
11189         * java/nio/channels/SelectableChannel.java
11190         (configureBlocking): Throws IOException.
11191         * java/nio/channels/ServerSocketChannel.java
11192         (accept): Throws IOException.
11193         * java/nio/channels/SocketChannel.java
11194         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
11195         GatheringByteChannel.
11196         (read): Throws IOException.
11197         (write): Throws IOException.
11198         (finishConnect): Throws IOException.
11199         * java/nio/channels/spi/AbstractInterruptibleChannel.java
11200         (end): Throws AsynchronousCloseException.
11201         * java/nio/channels/spi/AbstractSelectableChannel.java
11202         (configureBlocking): Throws IOException.
11203         (implCloseChannel): Throws IOException.
11204         (implCloseSelectableChannel): Throws IOException.
11205         (implConfigureBlocking): Throws IOException.
11206         * java/nio/channels/spi/SelectorProvider.java
11207         (openDatagramChannel): Throws IOException.
11208         (openPipe): Throws IOException.
11209         (openSelector): Throws IOException.
11210         (openServerSocketChannel): Throws IOException.
11211         (openSocketChannel): Throws IOException.
11212
11213 2003-02-11  Michael Koch  <konqueror@gmx.de>
11214
11215         * gnu/java/nio/FileLockImpl.java,
11216         java/nio/channels/FileLock.java: New files.
11217
11218 2003-02-11  Michael Koch  <konqueror@gmx.de>
11219
11220         * java/nio/charset/IllegalCharsetNameException.java
11221         (serialVersionUID): New member variable.
11222         (charsetName): New member variable.
11223         (IllegalCharsetException): New implementation.
11224         (getCharsetName): New implementation.
11225         * java/nio/charset/UnsupportedCharsetException.java
11226         (serialVersionUID): New member variable.
11227         (charsetName): New member variable.
11228         (UnsupportedCharsetException): New implementation.
11229         (getCharsetName): New implementation.
11230
11231 2003-02-10  Tom Tromey  <tromey@redhat.com>
11232
11233         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
11234         (ex): Renamed from sqlException.
11235
11236 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
11237
11238         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
11239         method used to ensure seeding has occurred and that a specific 
11240         seed can be set and used.
11241
11242 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
11243
11244         * java/lang/Win32Process.java (destroy): Declare as native.
11245         (hasExited): New native method.
11246         (exitValue): Define.
11247         (getErrorStream): Likewise.
11248         (getInputStream): Likewise.
11249         (getOutputStream): Likewise.
11250         (waitFor): Declare as native.
11251         (startProcess): New native method.
11252         (cleanup): Likewise.
11253         (ConcreteProcess): Define.
11254         (outputStream, inputStream, errorStream): New members.
11255         (procHandle, exitCode): Likewise.
11256
11257         * java/lang/natWin32Process.cc
11258         (java::lang::ConcreteProcess::cleanup): Define.
11259         (java::lang::ConcreteProcess::destroy): Likewise.
11260         (java::lang::ConcreteProcess::hasExited): Likewise.
11261         (java::lang::ConcreteProcess::waitFor): Likewise.
11262         (new_string): Likewise.
11263         (java::lang::ConcreteProcess::startProcess): Likewise.
11264
11265 2003-02-10  Raif S. Naffah <raif@fl.net.au>
11266
11267         * java/math/BigInteger.java:
11268         Updated notice to include years 2002 and 3.
11269         Added 2 private (int) arrays with values from the HAC (Handbook of
11270         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
11271         and t[] that contains nbr. of tests --used in isProbablePrime().
11272
11273         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
11274
11275         * java/math/BigInteger.java (make(int[],int), add(int,int),
11276         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
11277         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
11278         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
11279         make(long).
11280
11281         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
11282         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
11283         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
11284         BIs and returns void.
11285         (modInverse(BI)): Use new signatures of euclidInv().
11286
11287         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
11288         static small primes instead of remainder().
11289         Use pre-computed max nbr of trials based on bitlength of BI to test.
11290         Use pre-computed small primes for the trial tests instead of random
11291         numbers.
11292
11293         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
11294         not used.
11295
11296         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
11297         invoacation of MPN.chars_per_word().  not used.
11298
11299         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
11300         local var and used where needed.
11301
11302         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
11303         Combined declaration with initialisation of locals.
11304         Removed unused var.
11305
11306         * java/math/BigInteger.java: Style changes
11307         (pow(int)): Removed 'else' keyword.
11308         (toString(int)): idem.
11309         (doubleValue()): idem.
11310         (bitLength()): idem.
11311         (equals(Object)): Use static methods name in same class w/o prepending
11312         class name.
11313         (doubleValue()): idem.
11314         (setNegative(BI)): idem.
11315         (negate()): idem.
11316         (and(BI,int)): idem.
11317         (and(BI)): idem.
11318         (gcd(BI)): idem.
11319         (byteArrayToIntArray()): Removed casting to (int). this is
11320         std. behaviour.
11321         (canonicalize()): idem.
11322         (alloc(int)): Always instantiate a new BI.
11323
11324 2003-02-10  Tom Tromey  <tromey@redhat.com>
11325
11326         * java/sql/Timestamp.java (compareTo(Object)): New method.
11327         (compareTo(Timestamp)): Likewise.
11328         (serialVersionUID): Updated.
11329
11330 2003-02-07  Mark Wielaard  <mark@klomp.org>
11331
11332         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
11333         when verify is true.
11334         (JarFile(File, boolean)): Likewise.
11335         (manifestRead): Set manifestRead field correctly.
11336
11337 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11338
11339         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
11340         tests; see patch #1016 on Savannah.
11341
11342 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11343
11344         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
11345         (toString): do not return Strings starting with . and - erroneously.
11346         Improves Mauve results to 12 of 600 instead of 16 of 338 on
11347         DiagBigDecimal.
11348
11349 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11350
11351         * java/beans/PropertyDescriptor.java
11352         (PropertyDescriptor(String, Class)): Sanity check getter and setter
11353         methods.
11354         (PropertyDescriptor(String, Class, String, String)): Likewise.
11355         (PropertyDescriptor(String, Method, Method): Factor out getter and
11356         setter method sanity checks into new method.
11357         (findMethods): Don't do parameter sanity checking of get method here.
11358         (checkMethods): New method.
11359
11360 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11361
11362         * java/beans/PropertyDescriptor.java: Reformat.
11363
11364 2003-02-04  Tom Tromey  <tromey@redhat.com>
11365
11366         * java/io/PipedOutputStream.java (flush): Declare as throwing
11367         IOException.
11368         (close): Likewise.
11369         * java/io/PipedWriter.java (close): Declare as throwing
11370         IOException.
11371         * java/io/StringWriter.java (close): Declare as throwing
11372         IOException.
11373
11374 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
11375
11376         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
11377         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
11378         could also have been exported as "JNI_OnLoad@8" (MinGW) or
11379         "_JNI_OnLoad@8" (MSVC).
11380
11381 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
11382
11383         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
11384         convention on Win32 to invoke native JNI methods.
11385
11386 2003-02-03  Andrew Haley  <aph@redhat.com>
11387
11388         * configure.host (x86_64): Enable interpreter.
11389
11390 2003-02-03  Andrew Haley  <aph@redhat.com>
11391
11392         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
11393         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
11394         * configure.in (BACKTRACESPEC): New.
11395         * configure: Regenerate.
11396
11397 2003-02-02  Tom Tromey  <tromey@redhat.com>
11398
11399         * configure: Rebuilt.
11400         * configure.in (TOOLKIT) [xlib]: Set correctly.
11401
11402         * Makefile.in: Rebuilt.
11403         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
11404         libstdc++.
11405
11406 2003-01-31  Mark WIelaard  <mark@klomp.org>
11407
11408         * Makefile.in: Rebuilt.
11409         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
11410
11411 2003-01-31  Tom Tromey  <tromey@redhat.com>
11412
11413         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
11414         cast to element type.
11415         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
11416         (_Jv_JNI_GetObjectArrayElement): Likewise.
11417
11418         * Makefile.in: Rebuilt.
11419         * Makefile.am (cond_x_ltlibrary): Renamed library to
11420         lib-gnu-awt-xlib.la.
11421         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
11422         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
11423         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
11424         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
11425         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
11426         (lib_gnu_awt_xlib_la_LINK): Likewise.
11427         (install-exec-hook): Removed.
11428         (lib-gnu-awt-xlib.la): Renamed.
11429
11430 2003-01-31  Tom Tromey  <tromey@redhat.com>
11431
11432         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11433         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
11434         aclocal.m4 and lost in some merge.
11435
11436         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
11437         Don't try to find graphics configuration.
11438         * java/awt/Toolkit.java (default_toolkit_name): Use new
11439         Configuration entry.
11440         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
11441         New global.
11442         * configure: Rebuilt.
11443         * configure.in (TOOLKIT): New subst.
11444         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
11445         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
11446         directory.  Make output directories for .c files.
11447         * Makefile.in: Rebuilt.
11448         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
11449         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
11450         (all_java_source_files): Added new sources.
11451         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
11452         (gtk_c_files): New macro.
11453         (gtk_c_source_files): New macro.
11454         (cond_gtk_ltlibrary): New macro.
11455         ($(gtk_c_files)): New target.
11456         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
11457         (gtk_awt_peer_sources): New macro.
11458         (gtk_c_headers): New macro.
11459         ($(gtk_c_headers)): New target.
11460         (ACLOCAL_AMFLAGS): New macro.
11461         * gtk.m4, glib.m4, libart.m4: New files.
11462         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
11463         gnu/java/awt/peer/gtk/GdkGraphics.java,
11464         gnu/java/awt/peer/gtk/GtkArg.java,
11465         gnu/java/awt/peer/gtk/GtkArgList.java,
11466         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
11467         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
11468         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
11469         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
11470         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
11471         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
11472         gnu/java/awt/peer/gtk/GtkClipboard.java,
11473         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11474         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
11475         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
11476         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
11477         gnu/java/awt/peer/gtk/GtkFontPeer.java,
11478         gnu/java/awt/peer/gtk/GtkFramePeer.java,
11479         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
11480         gnu/java/awt/peer/gtk/GtkImage.java,
11481         gnu/java/awt/peer/gtk/GtkImagePainter.java,
11482         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
11483         gnu/java/awt/peer/gtk/GtkListPeer.java,
11484         gnu/java/awt/peer/gtk/GtkMainThread.java,
11485         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
11486         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
11487         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
11488         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
11489         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
11490         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
11491         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
11492         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
11493         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11494         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11495         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
11496         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11497         gnu/java/awt/peer/gtk/GtkToolkit.java,
11498         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11499         gnu/java/awt/peer/gtk/TestAWT.java,
11500         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
11501         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
11502         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
11503         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
11504         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
11505         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
11506         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
11507         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
11508         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
11509         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
11510         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
11511         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
11512         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
11513         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
11514         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
11515         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
11516         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
11517         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
11518         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
11519         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
11520         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
11521         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
11522         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
11523         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
11524         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
11525         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
11526         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
11527         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
11528         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
11529         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
11530         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
11531         jni/classpath/native_state.c, jni/classpath/native_state.h,
11532         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
11533
11534 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
11535
11536         * java/util/Properties.java (load): Ignore backslash before EOF.
11537
11538 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
11539
11540         * java/lang/natClass.cc (initializeClass): Check tables when
11541         (state == JV_STATE_IN_PROGRESS).
11542         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
11543         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
11544         interpreted classes.
11545         (linkClass0): Use _Jv_WaitForState.
11546
11547 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
11548
11549         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
11550         object when finished.
11551
11552 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
11553
11554         * libjava/configure.host: Disable can_unwind_signal on darwin.
11555
11556 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
11557
11558         Fixes PR java/9254:
11559         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
11560         additionally containing id of the owner thread as well as
11561         the number of nested times the thread has acquired the mutex.
11562         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
11563         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
11564         (_Jv_MutexUnlock): Check if really the owner thread, reset
11565         owner thread id to 0 before leaving, if leaving for the last
11566         time.
11567         (_Jv_MutexLock): Set owner thread id in the mutex and increment
11568         refcount.
11569         (_Jv_ThreadYield): Yield using a call to Sleep(0).
11570         * win32-threads.cc (_Jv_CondWait): Check if really owner of
11571         the passed mutex.
11572         Pass handle of the broadcast event, instead of a pointer to it
11573         in Win32 ResetEvent( ) call.
11574         Remove incorrect return values.
11575         (_Jv_CondDestroy): Close both event handles and delete
11576         critical section.
11577         (_Jv_CondNotify): Check if really the owner thread.
11578         (_Jv_CondNotifyAll): Check if really the owner thread.
11579         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
11580         (really_start): Use SetEvent( ) to signal daemon_cond.
11581         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
11582         WaitForSingleObject( ) instead to wait for daemon_cond to be
11583         signalled.
11584
11585 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
11586
11587         * configure.in: Specifically define HAVE_BACKTRACE if building
11588         for MinGW.
11589         * include/win32.h: Remove HAVE_BACKTRACE definition.
11590         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
11591         * configure: Rebuilt.
11592
11593 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
11594
11595         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
11596         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
11597         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
11598         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
11599         * Makefile.in, configure: Rebuilt.
11600
11601 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
11602
11603         Fixes PR java/9253:
11604         * java/io/natFileWin32.cc (performList): Append only "*.*"
11605         if the canonical file path already has a "\" at the end.
11606
11607 2003-01-24  Tom Tromey  <tromey@redhat.com>
11608
11609         * defineclass.cc (handleMethodsEnd): Precompute code for static
11610         method.
11611         (handleCodeAttribute): Likewise.
11612         * resolve.cc (ncode): Use run_class for unsynchronized static
11613         methods.
11614         * include/java-interp.h (class _Jv_InterpMethod): Declare
11615         run_class.
11616         * interpret.cc (run_synch_class): Initialize class.
11617         (run) [insn_invokestatic]: Don't initialize class.
11618         [insn_anewarray]: Likewise.
11619         [insn_multianewarray]: Likewise.
11620         (run_class): New function.
11621
11622 2003-01-24  Tom Tromey  <tromey@redhat.com>
11623
11624         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
11625         comment.
11626
11627 2003-01-22  Andrew Haley  <aph@redhat.com>
11628
11629         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
11630         * configure.host (CHECKREFSPEC): Define for x86_64.
11631
11632 2003-01-21  Tom Tromey  <tromey@redhat.com>
11633
11634         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
11635         search at 2, not 3.
11636
11637 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
11638
11639         * java/io/natFileWin32.cc (isAbsolute): Check path length before
11640         looking at any characters.
11641         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
11642         be used.
11643         (isAbsolute): Check path's length as well.
11644
11645 2003-01-17  Mark Wielaard  <mark@klomp.org>
11646
11647         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
11648         (nat_source_files): Add natVMObjectStreamClass.cc.
11649         * Makefile.in: Regenerated.
11650         * gcj/javaprims.h (namespace java): Regenerated.
11651         * java/io/ObjectStreamClass.java (getClassUID): Call
11652         VMObjectStreamClass.hasClassInitializer().
11653         (hasClassInitializer): Removed.
11654         * java/io/VMObjectStreamClass.java: New class.
11655         * java/io/natVMObjectStreamClass.cc: New file.
11656         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
11657
11658 2003-01-16  Mark Wielaard  <mark@klomp.org>
11659
11660         * java/net/SocketImpl.java (toString): Don't explicitly call
11661         toString() on possible null address.
11662
11663 2003-01-16  Michael Koch  <konqueror@gmx.de>
11664
11665         * java/net/MulticastSocket.java
11666         (setInterface): Reindented.
11667
11668 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11669
11670         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
11671         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
11672         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
11673         translateY arguments.  Implement.
11674         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
11675         down translation arguments.
11676         (drawPolyline, drawPolygon): Fix incorrect tests.
11677         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
11678         translateX and translateY arguments.
11679
11680 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11681
11682         * Makefile.in: Rebuilt.
11683         * Makefile.am (xlib_includes): New macro.
11684         (INCLUDES): Use it.
11685
11686 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11687
11688         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
11689         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
11690         16-bit display mode.
11691
11692 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11693
11694         * java/awt/CardLayout.java (show): Rewrote.
11695         (gotoComponent): Removed `target' argument.  Simplified code.
11696         Don't pre-compute `choice' unless `what' is FIRST or LAST.
11697         Changed all callers.
11698         (NONE): Removed.
11699         
11700 2003-01-14  Michael Koch  <konqueror@gmx.de>
11701
11702         * java/net/InetSocketAddress.java
11703         (serialVersionUID): New member variable.
11704         * java/net/NetPermission.java
11705         (NetPermission): Dont implement java.io.Serialization directly.
11706         * java/net/SocketAddress.java:
11707         (serialVersionUID): Documentation added.
11708         
11709 2003-01-14  Michael Koch  <konqueror@gmx.de>
11710
11711         * java/awt/Label.java
11712         (Label): Implements javax.accessibility.Accessible;
11713         * java/awt/List.java
11714         (List): Implements javax.accessibility.Accessible;
11715         * java/awt/ScrollPane.java
11716         (ScrollPane): Implements javax.accessibility.Accessible;
11717         * java/awt/Scrollbar.java
11718         (Scrollbar): Implements javax.accessibility.Accessible;
11719         * java/awt/TextComponent.java
11720         (setCaretPosition): Throw exception, documentation added.
11721         * java/awt/Toolkit.java:
11722         Added some newlines in method documentations.
11723         (createButton): Exception documentation added.
11724         (createTextField): Exception documentation added.
11725         (createLabel): Exception documentation added.
11726         (createList): Exception documentation added.
11727         (createCheckbox): Exception documentation added.
11728         (createScrollbar): Exception documentation added.
11729         (createScrollPane): Exception documentation added.
11730         (createTextArea): Exception documentation added.
11731         (createChoice): Exception documentation added.
11732         (createFrame): Exception documentation added.
11733         (createWindow): Exception documentation added.
11734         (createDialog): Exception documentation added.
11735         (createMenuBar): Exception documentation added.
11736         (createMenu): Exception documentation added.
11737         (createMenuItem): Exception documentation added.
11738         (createFileDialog): Exception documentation added.
11739         (createCheckboxMenuItem): Exception documentation added.
11740         (loadSystemColors): Exception documentation added.
11741         (setDynamicLayout): Exception documentation added.
11742         (isDynamicLayoutSet): Exception documentation added.
11743         (isDynamicLayoutActive): Exception documentation added.
11744         (getScreenSize): Exception documentation added.
11745         (getScreenResolution): Exception documentation added.
11746         (getScreenInsets): Exception documentation added.
11747         (getColorModel): Exception documentation added.
11748         (getSystemClipboard): Exception documentation added.
11749         (getSystemSelection): Exception documentation added.
11750         (getMenuShortcutKeyMask): Exception documentation added.
11751         (getSystemEventQueue): Exception documentation added.
11752         * java/awt/Window.java:
11753         Reindented some code.
11754         (Window): Centralized implementation, documentation added.
11755         (finalize): Documentation added.
11756         (hide): Fixed typo in comment.
11757         (getWindowListeners): Documentation added.
11758         * java/awt/color/ColorSpace.java
11759         (toRGB): Documentation added.
11760         * java/awt/color/ICC_ColorSpace.java
11761         (ICC_ColorSpace): Documentation added.
11762         (toRGB): Throw exception, documentation added.
11763         (fromRGB): Throw exception, documentation added.
11764         (toCIEXYZ): Documentation added.
11765         (fromCIEXYZ): Documentation added.
11766         (getMinValue): Documentation added.
11767         (getMaxValue): Documentation added.
11768         * java/awt/geom/Dimension2D.java
11769         (clone): Documentation added.
11770         * java/awt/geom/GeneralPath.java
11771         (clone): Documentation added.
11772         * java/awt/geom/Line2D.java
11773         (clone): Documentation added.
11774         * java/awt/geom/QuadCurve2D.java
11775         (clone): Documentation added.
11776         * java/awt/image/ColorModel.java
11777         (ColorModel): Throw exception, documentation added.
11778         * java/awt/image/ImageFilter.java
11779         (clone): Doesnt throw CloneNotSupportedException.
11780
11781 2003-01-14  Andrew Haley  <aph@redhat.com>
11782
11783         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
11784         in a try block.
11785
11786 2003-01-10  Andrew Haley  <aph@redhat.com>
11787
11788         * include/dwarf2-signal.h: Remove x86_64.
11789         * configure.host (x86_64 DIVIDESPEC): Remove.
11790         * include/x86_64-signal.h: New file.
11791         * configure.in: Regenerate.
11792
11793 2003-01-10  Michael Koch  <konqueror@gmx.de>
11794
11795         * java/net/DatagramSocket.java
11796         (ch): Description added.
11797         (remotePort): Initialize with -1.
11798         (connect): Doesnt throws SocketException.
11799         * java/net/MulticastSocket.java
11800         (setInterface): Merge with Classpath.
11801         * java/net/ServerSocket.java
11802         (closed): New member variable.
11803         (bind): Check if socket is closed.
11804         (close): Close an associated channel too, set new value to closed.
11805         (isBound): Reindented.
11806         (isClosed): Implemented.
11807         * java/net/Socket.java
11808         (closed): New member variable.
11809         (bind): Check if socket is closed.
11810         (connect): Check if socket is closed.
11811         (close): Close an associated channel too, set new value to closed.
11812         (isClosed): Implemented.
11813
11814 2003-01-10  Michael Koch  <konqueror@gmx.de>
11815
11816         * java/awt/DisplayMode.java
11817         (equals): Fixed argument type and implementation.
11818
11819 2003-01-07  Tom Tromey  <tromey@redhat.com>
11820
11821         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
11822         JV_HASH_SYNCHRONIZATION.
11823         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
11824         JV_HASH_SYNCHRONIZATION.
11825
11826 2003-01-07  Michael Koch  <konqueror@gmx.de>
11827  
11828         * java/net/DatagramSocket.java:
11829         Added classpath license info.
11830         (DatagramSocket): Merged description with classpath.
11831         (close): Merged description with classpath.
11832         (getChannel): Merged description with classpath.
11833         (getInetAddress): Merged description with classpath.
11834         (getPort): Merged description with classpath.
11835         (getLocalAddress): Merged description with classpath.
11836         (getLocalPort): Merged description with classpath.
11837         (getSoTimeout): Merged description with classpath.
11838         (setSoTimeout): Merged description with classpath.
11839         (getSendBufferSize): Merged description with classpath.
11840         (setSendBufferSize): Merged description with classpath.
11841         (getReceiveBufferSize): Merged description with classpath.
11842         (setReceiveBufferSize): Merged description with classpath.
11843         
11844 2003-01-04  Tom Tromey  <tromey@redhat.com>
11845
11846         * java/awt/List.java: Merged with Classpath.
11847
11848 2003-01-03  Mark Wielaard  <mark@klomp.org>
11849
11850         * java/io/FileDescriptor.java (position): New private field.
11851         * java/io/natFileDescriptorPosix.cc (write): Up position.
11852         (setLength): Use and set position.
11853         (seek): Set position.
11854         (getFilePointer): Return position.
11855         (read): Up position.
11856
11857 2003-01-03  Mark Wielaard  <mark@klomp.org>
11858
11859         Merge with Classpath:
11860         * java/io/ObjectStreamClass.java (lookup): Split method and call
11861         lookupForClassObject().
11862         (lookupForClassObject): New method.
11863         (isProxyClass): New field.
11864         (setClass): Set isProxyClass, add object to classLookupTable, set
11865         superClass and calculateOffsets.
11866         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
11867         and not a proxy class.
11868         (setFields): Set accessible true for serialPersistentFields.
11869         (getClassUID): Same for suid. And check if suid is of type long.
11870         (hasClassInitializer): Don't throw NoSuchMethodError.
11871
11872 2003-01-03  Mark Wielaard  <mark@klomp.org>
11873
11874         * java/io/FileInputStream.java (finalize): Don't explicitly
11875         finalize FileDescriptor.
11876
11877 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
11878
11879         * configure.host (sparc*-*): Enable bytecode interpreter.
11880
11881 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
11882
11883         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
11884         Don't throw RemoteException.
11885         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
11886         throw RemoteException.
11887
11888 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
11889
11890         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
11891         proxyHost): New static fields.
11892         (<clinit>): Initialize new fields.
11893         (connect): Use proxy if necessary.
11894         (usingProxy): Implement.
11895
11896 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
11897
11898         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
11899         (TreeIterator.remove): Prefer IllegalStateException over
11900         ConcurrentModificationException, to match Sun.
11901
11902 2002-12-22  Anthony Green  <green@redhat.com>
11903
11904         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
11905
11906 2003-01-02  Mark Wielaard  <mark@klomp.org>
11907
11908         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
11909         public.
11910         (HTTP_USE_PROXY): Add field.
11911         (getResponseVals): Only set responseCode when not yet explicitly
11912         set by subclass.
11913
11914 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
11915             Mark Wielaard  <mark@klomp.org>
11916
11917         * java/util/zip/ZipFile.java (entries): Now HashMap.
11918         (readLeShort(DataInput, byte[])): Read from given byte array.
11919         (readLeInt(DataInput, byte[]): Likewise.
11920         (readLeShort(byte[] b, int off)): New method.
11921         (readLeInt(byte[] b, int off)): Likewise.
11922         (readEntries): Use byte arrays to read info in bigger chunks.
11923         (getEntries): Return HashMap.
11924         (getEntry): Use HashMap.
11925         (locBuf): New private field.
11926         (checkLocalHeader): Use locBuf to read info in one chunk.
11927         (getInputStream): Use entries HashMap, wrap PartialInputStream
11928         in BufferedInputStream.
11929         (ZipEntryEnumeration): Use HashMap and Interator.
11930
11931 2003-01-02  Mark Wielaard  <mark@klomp.org>
11932             Jeroen Frijters  <jeroen@sumatra.nl>
11933
11934         * java/net/URLClassLoader.java (Resource.getCodeSource):
11935         Fix check certs == null.
11936         (getCanonicalFileURL): Removed method.
11937         (JarURLLoader): Don't call removed method.
11938         (FileURLLoader): Likewise.
11939         (FileURLLoader.getResource): Don't canonicalize file name.
11940
11941 2003-01-01  Tom Tromey  <tromey@redhat.com>
11942
11943         * Makefile.in: Rebuilt.
11944         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
11945         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
11946         java/awt/BufferCapabilities.java, java/awt/Button.java,
11947         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
11948         java/awt/Container.java, java/awt/Cursor.java,
11949         java/awt/EventQueue.java, java/awt/FileDialog.java,
11950         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
11951         java/awt/MenuBar.java, java/awt/MenuComponent.java,
11952         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
11953         java/awt/Scrollbar.java, java/awt/TextArea.java,
11954         java/awt/TextField.java, java/awt/color/CMMException.java,
11955         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
11956         java/awt/color/ProfileDataException.java,
11957         java/awt/datatransfer/Clipboard.java,
11958         java/awt/datatransfer/DataFlavor.java,
11959         java/awt/datatransfer/FlavorMap.java,
11960         java/awt/datatransfer/SystemFlavorMap.java,
11961         java/awt/dnd/DragGestureEvent.java,
11962         java/awt/dnd/DragGestureRecognizer.java,
11963         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
11964         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
11965         java/awt/im/InputMethodHighlight.java,
11966         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
11967         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
11968
11969         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
11970         `op' to BufferedImageOp.
11971
11972 2002-12-31  Tom Tromey  <tromey@redhat.com>
11973
11974         Fix for PR libgcj/7416:
11975         * javax/naming/InitialContext.java (init): Use
11976         gnu.classpath.home.url.
11977         * java/security/Security.java: Use new properties.
11978         (loadProviders): Accept base url; use it.
11979         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
11980         gnu.classpath.home.url.
11981         (gnu.classpath.home.url): Define.
11982         (gnu.classpath.vm.shortname): Likewise.
11983
11984 2002-12-31  Tom Tromey  <tromey@redhat.com>
11985             Ranjit Mathew  <rmathew@hotmail.com>
11986
11987         Fix for PR libgcj/8997:
11988         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
11989         Include platform.h.
11990         * include/posix.h (_Jv_platform_usleep): New function.
11991         * include/win32.h (_Jv_platform_usleep): New function.
11992
11993 2002-12-29  Tom Tromey  <tromey@redhat.com>
11994
11995         * gcj/javaprims.h: Updated.
11996         * scripts/classes.pl (scan): Removed stray semicolon.
11997
11998 2002-12-30  Mark Wielaard  <mark@klomp.org>
11999
12000         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
12001         if zero or smaller.
12002
12003 2002-12-30  Mark Wielaard  <mark@klomp.org>
12004
12005         * java/util/Properties (formatForOutput): Don't fall through to
12006         default case after escaping character.
12007
12008 2002-12-30  Mark Wielaard  <mark@klomp.org>
12009
12010         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
12011         against count.
12012
12013 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
12014
12015         * boehm.cc: Remove stray semicolon.
12016         * interpret.cc: Likewise.
12017         * prims.cc: Likewise.
12018         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
12019         earlier to ensure default arguments are processed.
12020         * gcj/array.h (JArray): Add forward declaration.
12021         (elements): Likewise.
12022         * gcj/javaprim.h: Remove stray semicolons.
12023         * include/bohm-gc.h: Likewise.
12024         * include/jni.h: Likewise.
12025         * include/jvm.h: Likewise.
12026         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
12027         
12028 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
12029
12030         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
12031         of catch_type.
12032         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
12033         idt tables after initializing superclass.
12034         * java/lang/natClassLoader.cc (uaddr): New typedef.
12035         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
12036         if they are constant pool indicies.  Don't link vtable, otable yet.
12037
12038 2002-12-21  Anthony Green  <green@redhat.com>
12039
12040         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
12041         libraries.
12042         * Makefile.in: Rebuilt.
12043
12044 2002-12-19  Anthony Green  <green@redhat.com>
12045
12046         * Makefile.am (ordinary_java_source_files): Add
12047         org/xml/sax/helpers/NewInstance.java.
12048         * Makefile.in: Rebuilt.
12049         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
12050         org/xml/sax/helpers/package.html: New files.
12051         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
12052         http://www.saxproject.org.
12053
12054 2002-12-19  Andrew Haley  <aph@redhat.com>
12055
12056         * java/util/natResourceBundle.cc: Include
12057         ArrayIndexOutOfBoundsException.h.
12058         (getCallingClassLoader): Don't put upper bound on stack search.
12059         Catch ArrayIndexOutOfBoundsException.
12060
12061 2002-12-19  Tom Tromey  <tromey@redhat.com>
12062
12063         * libtool-version: Increased `current'.
12064
12065 2002-12-19  Tom Tromey  <tromey@redhat.com>
12066
12067         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
12068         comment.
12069         * java/lang/ClassLoader.java (defineClass): Use chained
12070         exception when rethrowing.
12071         * defineclass.cc (handleClassBegin): Mark class as interpreted.
12072         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
12073         constants.
12074         * resolve.cc (_Jv_PrepareMissingMethods): New function.
12075         (_Jv_PrepareClass): Use it.
12076         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
12077         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
12078         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
12079         (Class): _Jv_PrepareMissingMethods now friend.
12080         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
12081         Record `NULL' for system class loader.
12082         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
12083         system class loader.
12084         (_Jv_FindClassInCache): Likewise.
12085         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
12086         (_Jv_FindClass): Special case system class loader.
12087         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
12088         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
12089         vtable slots.
12090         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
12091         in a final class.
12092         (_getDeclaredMethod): Don't return synthetic methods.
12093         (getDeclaredMethods): Likewise.
12094         (_getMethod): Likewise.
12095         (_getMethods): Likewise.
12096
12097 2002-12-18  Raif Naffah  <raif@fl.net.au>
12098
12099         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
12100         canonical form after divide().
12101         (modInverse): Likewise.
12102
12103 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
12104             Mark Wielaard  <mark@klomp.org>
12105
12106         * java/security/SecurityRandom (digest): Removed field.
12107         (SecureRandom): Check all providers for case-insensitive SecureRandom
12108         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
12109         if necessary.
12110         (getInstance(String,Provider,boolean): New method.
12111         (getInstance(String)): Use new method.
12112         (getInstance(String,String)): Likewise.
12113         (getInstance(String,Provider)): Likewise.
12114
12115 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
12116
12117         * java/security/Security.java (loadProviders): Increment i only once.
12118
12119 2002-12-12  Mark Wielaard  <mark@klomp.org>
12120
12121         * java/lang/ClassLoader.java (resolveClass0): Transform
12122         ClassNotFoundException to NoClassDefFoundError. Transform all other
12123         throwables to LinkageError.
12124
12125 2002-12-11  Tom Tromey  <tromey@redhat.com>
12126
12127         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
12128
12129         * java/lang/ClassLoader.java (loadedClasses): New field.
12130         (defineClass): Fixed indentation.  Put new class in
12131         loadedClasses.
12132         (findLoadedClass): Implement here.
12133         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
12134
12135 2002-12-10  Tom Tromey  <tromey@redhat.com>
12136
12137         * Makefile.in: Rebuilt.
12138         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
12139         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
12140         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
12141         * java/lang/natClassLoader.cc
12142         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
12143
12144 2002-12-10  Mark Wielaard  <mark@klomp.org>
12145             Tom Tromey  <tromey@redhat.com>
12146
12147         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
12148         (JarURLLoader): Use it.
12149         (FileURLLoader): Likewise.
12150         (JarURLResource.getURL): Use chained exception.
12151         (FileResource.getURL): Likewise.
12152         (FileURLLoader.getResource): Use canonical file name.
12153         (addURL): Indentation fix.
12154
12155 2002-12-10  Tom Tromey  <tromey@redhat.com>
12156
12157         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
12158         From Laurent Bardet <l.bardet@magic.fr>.
12159
12160 2002-12-09  Tom Tromey  <tromey@redhat.com>
12161
12162         * include/win32.h (_Jv_platform_solib_prefix): New define.
12163         (_Jv_platform_solib_suffix): Likewise.
12164         * include/posix.h (_Jv_platform_solib_prefix): New define.
12165         (_Jv_platform_solib_suffix): Likewise.
12166         * java/lang/natRuntime.cc: Include StackTrace.h.
12167         (_load): Use findLibrary and new platform defines.
12168         (nativeGetLibname): Use new platform defines.
12169
12170         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
12171         `t' won't be null.
12172
12173 2002-12-08  Mark Wielaard  <mark@klomp.org>
12174
12175         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
12176         cache remote jar files.
12177         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
12178         add File.separator to URL when it is a directory.
12179         * java/lang/ClassLoader.java: Add Classpath javadoc.
12180         (parent): final.
12181         (getParent): Add (disabled) security check.
12182         (findLibrary): New default method.
12183         * java/net/JarURLConnection.java (getManifest): Implement.
12184         (getInputStream): Only create InputStream when entry exists.
12185         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
12186         when they exist.
12187         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
12188
12189 2002-12-08  Mark Wielaard  <mark@klomp.org>
12190
12191         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
12192         (lastDefaultLocale): New field.
12193         (getBundle): When Locale.getDefault != lastDefaultLocale reset
12194         resourceBundleCache.
12195
12196 2002-12-06  Mark Wielaard  <mark@klomp.org>
12197
12198         * java/net/InetAddress.java (toString): Use hostname when not null,
12199         don't do an explicit reverse getHostName() lookup.
12200         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
12201         NullPointerException.
12202
12203 2002-12-06  Tom Tromey  <tromey@redhat.com>
12204
12205         * include/java-interp.h (class _Jv_InterpMethod): Added
12206         JV_MARKOBJ_DECL.
12207         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
12208         mark `prepared' field of interpreted method.
12209         * interpret.cc (compile): Use _Jv_AllocBytes.
12210
12211 2002-12-05  Andrew Haley  <aph@redhat.com>
12212
12213         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
12214         #ifdef (HAVE_BACKTRACE) around the whole function body.
12215
12216 2002-12-05  Tom Tromey  <tromey@redhat.com>
12217
12218         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
12219         * resolve.cc: Don't include AbstractMethodError.h.
12220         (_Jv_abstractMethodError): Removed.
12221         * defineclass.cc (handleMethodsBegin): Initialize method index to
12222         -1.
12223         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
12224         method index for "new" final method.
12225         (_Jv_SetVTableEntries): Compare index against -1 instead of using
12226         isVirtualMethod.  Added `flags' argument.
12227         (_Jv_MakeVTable): Throw exception for abstract method in concrete
12228         class.
12229
12230 2002-12-04  Tom Tromey  <tromey@redhat.com>
12231
12232         * java/net/SocketPermission.java (hashCode): Rewrote.
12233
12234 2002-12-04  Tom Tromey  <tromey@redhat.com>
12235
12236         * Makefile.in: Rebuilt.
12237         * Makefile.am (nat_source_files): Added natVMSecurityManager,
12238         natResourceBundle.
12239         * java/util/ResourceBundle.java (Security): Removed.
12240         (getCallingClassLoader): Now native.
12241         * java/util/natResourceBundle.cc: New file.
12242         * java/lang/natVMSecurityManager.cc: New file.
12243         * java/lang/VMSecurityManager.java (getClassContext): Now native.
12244
12245 2002-12-03  Mark Wielaard  <mark@klomp.org>
12246
12247         * java/util/jar/JarFile.java (manifest): Not final.
12248         (manifestRead): New field.
12249         (JarFile): Don't read Manifest in constructor.
12250         (getManifest): New method.
12251         (JarEnumeration.nextElement): Use new method.
12252         (getEntry): Likewise.
12253         * java/util/zip/ZipFile.java (name): Final.
12254         (raf): Likewsie.
12255         (entries): Change type to Hashtable.
12256         (closed): New field.
12257         (ZipFile): Don't read enties in constructor.
12258         (readEntries): Use Hashtable.
12259         (close): Set new close flag and set entries to null inside
12260         synchronized block.
12261         (entries): Contruct enumeration using new getEntries() method and
12262         entries Hashtable.
12263         (getEntryIndex): Removed.
12264         (getEntries): New method.
12265         (getEntry): Use new getEntries() method and entries Hastable.
12266         (getInputStream): Likewise.
12267         (size): Return getEntries().size().
12268         (ZipEntryEnumeration): Wrap entries Hashtable elements.
12269         * java/util/zip/ZipEntry.java (cal): Don't initialize.
12270         (time): Removed
12271         (dostime): New field.
12272         (zipFileIndex): Removed.
12273         (ZipEntry(ZipEntry)): Copy dostime.
12274         (setDOSTime): Now final and doesn't convert dos time.
12275         (getDOSTime): Likewise.
12276         (setTime): Convert dos time.
12277         (getTime): Likewise.
12278         (getCalendar): New method.
12279         (setExtra): Use setTime().
12280         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
12281
12282 2002-12-03  Tom Tromey  <tromey@redhat.com>
12283
12284         * java/lang/Character.java (forDigit): Formatting fix.
12285
12286 2002-12-03  Raif Naffah  <raif@fl.net.au>
12287
12288         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
12289         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
12290         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
12291
12292 2002-12-03  Andrew Haley  <aph@redhat.com>
12293
12294         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
12295         _Jv_PushClass.
12296         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
12297         (_Jv_PopClass): New.
12298         (_Jv_PushClass): New.
12299         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
12300         discover the ClassLoader of our caller.
12301         (_Jv_CheckArrayStore): Don't check that a class is assignment
12302         compatible with Object.
12303         * java/lang/natVMTHrowable.cc: Delete.
12304         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
12305         java.lang.VMThrowable.
12306         (StackTrace(), StackTrace(int)): New constructors.
12307         (classAt, methodAt, update, methodAtAddress): New methods.
12308         (map): New field.
12309         * java/lang/VMThrowable.java: Use StackTrace instead of
12310         natVMTHrowable.
12311         * java/lang/Class.h (getClassLoaderInternal): New.
12312         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
12313         Be friendly with gnu::gcj::runtime::StackTrace.
12314         (Object.chain): New field.
12315         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
12316         gnu::gcj::runtime::StackTrace.
12317         * gnu/gcj/runtime/natStackTrace.cc: New file.
12318         * gnu/gcj/runtime/MethodRef.java: New file.
12319         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
12320         instead of getClassLoader().
12321         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
12322         java::lang::VMThrowable.
12323         * Makefile.am (core_java_source_files): Add MethodRef.java,
12324         StackTrace.java.
12325         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
12326         * Makefile.in: Rebuild.
12327
12328 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
12329
12330         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
12331         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
12332         yes also for sh-linux* and sh[34]*-linux*.
12333         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
12334         set SIGNAL_HANDLER to use DWARF2 exception for them.
12335         * configure: Regenerate.
12336
12337 2002-12-02  Tom Tromey  <tromey@redhat.com>
12338
12339         * jni.cc: Added `name' argument.
12340         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
12341         `const char *' argument.
12342         (class _Jv_JNIEnv) [DefineClass]: Likewise.
12343
12344 2002-12-01  Tom Tromey  <tromey@redhat.com>
12345
12346         Bug compatibility, for PR libgcj/8738:
12347         * java/io/CharArrayWriter.java (close): Do nothing.
12348         (flush): Likewise.
12349         (reset): Don't touch `closed'.
12350         (write(int)): Don't throw IOException.
12351         (write(char[],int,int)): Likewise.
12352         (write(String,int,int)): Likewise.
12353         (closed): Removed.
12354
12355 2002-12-01  Mark Wielaard  <mark@klomp.org>
12356
12357         * java/lang/SecurityManager.java: Remerge comments, indenting and
12358         checkXXX methods with Classpath.
12359
12360 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
12361
12362         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
12363         getNormalizedComponents): Fix calculation which was using one too
12364         many bits in the unnormalized format.
12365
12366 2002-11-29  Gary Benson  <gbenson@redhat.com>
12367
12368         For PR libgcj/8759:
12369         * java/beans/Introspector.java (flushCaches): New method.
12370         (flushFromCaches): Likewise.
12371
12372 2002-11-29  Michael Koch <konqueror@gmx.de>
12373
12374         * java/nio/channels/DatagramChannel.java
12375         (open): Added exception documentation.
12376         (write): Added exception documentation.
12377         (connect): Added exception documentation.
12378         (disconnect): Added exception documentation.
12379         (isConnected): Added exception documentation.
12380         (read): Added exception documentation.
12381         (receive): Added exception documentation.
12382         (send): Added exception documentation.
12383         (validOps): Added exception documentation.
12384         * java/nio/channels/SocketChannel.java
12385         (open): Added exception documentation.
12386         (read): Added exception documentation.
12387         (write): Added exception documentation.
12388         (connect): Added exception documentation.
12389         (finishConnect): Added exception documentation.
12390
12391 2002-11-29  Michael Koch <konqueror@gmx.de>
12392
12393         * gnu/java/nio/DatagramChannelImpl:
12394         (fd): New member variable to store file descriptor of socket.
12395         * gnu/java/nio/SelectionKeyImpl.java:
12396         (ops): Removed.
12397         (readyOps): New member variable.
12398         (interestOps): New member variable.
12399         (readyOps): Implemented.
12400         (readyOps): New method to set member variable readyOps.
12401         (interestOps): Replaced ops by interestOps.
12402         * gnu/java/nio/SelectorImpl.java:
12403         (SelectorImpl): Initialize key sets.
12404         (select): Call select with -1 instead of Long.MAX_VALUE).
12405         (java_do_select): Make it a native method.
12406         (getFDsAsArray): New helper method.
12407         (select): Remove canceled keys, give only interested file discriptors
12408         to java_do_select, set ready ops.
12409         (add): No need to initialize keys set here.
12410         (add_selected): No need to initialize selected set here.
12411         (deregisterCanceledKeys): New helper method.
12412         (register): Set interest ops, set attachments, added handling of datagram
12413         channels.
12414         * gnu/java/nio/ServerSocketChannelImpl:
12415         (SocketAccept): Renamed from NioSocketAccept.
12416         (implConfigureBlocking): Implemented.
12417         (accept): Use SocketAccept instead of NioSocketAccept.
12418         * gnu/java/nio/SocketChannelImpl:
12419         Reactivate native methods.
12420
12421 2002-11-29  Michael Koch <konqueror@gmx.de>
12422
12423         * gnu/java/nio/natByteBufferImpl.cc,
12424         gnu/java/nio/natCharBufferImpl.cc,
12425         gnu/java/nio/natDoubleBufferImpl.cc,
12426         gnu/java/nio/natFloatBufferImpl.cc,
12427         gnu/java/nio/natIntBufferImpl.cc,
12428         gnu/java/nio/natLongBufferImpl.cc,
12429         gnu/java/nio/natSelectorImpl.cc,
12430         gnu/java/nio/natServerSocketChannelImpl.cc,
12431         gnu/java/nio/natShortBufferImpl.cc,
12432         gnu/java/nio/natSocketChannelImpl.cc:
12433         New files that implement native functionalities.
12434
12435 2002-11-29  Michael Koch <konqueror@gmx.de>
12436
12437         * gnu/java/nio/ByteBufferImpl.java
12438         (ByteBufferImpl): Moved position() after limit.
12439         (nio_*): Use native implementation.
12440         * gnu/java/nio/CharBufferImpl.java:
12441         Reformated.
12442         (endian): New member variable string endianess of buffer.
12443         (CharBufferImpl): Moved position() after limit.
12444         (nio_*): Use native implementation.
12445         (subSequence): Implemented.
12446         * gnu/java/nio/DoubleBufferImpl.java
12447         (DoubleBufferImpl): Moved position() after limit.
12448         (nio_*): Use native implementation.
12449         * gnu/java/nio/FloatBufferImpl.java
12450         Reformated.
12451         (FloatBufferImpl): Moved position() after limit.
12452         (nio_*): Use native implementation.
12453         * gnu/java/nio/IntBufferImpl.java
12454         Added needed imports, Reformated.
12455         (IntBufferImpl): Moved position() after limit.
12456         (nio_*): Use native implementation.
12457         * gnu/java/nio/LongBufferImpl.java
12458         Reformated.
12459         (LongBufferImpl): Moved position() after limit.
12460         (nio_*): Use native implementation.
12461         * gnu/java/nio/ShortBufferImpl.java
12462         Reformated.
12463         (ShortBufferImpl): Moved position() after limit.
12464         (nio_*): Use native implementation.
12465
12466 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
12467
12468         * java/util/Locale.java (toString): Improve efficiency if country
12469         and variant are both empty.
12470
12471 2002-11-26  Tom Tromey  <tromey@redhat.com>
12472
12473         * verify.cc (pop_init_ref): New method.
12474         (verify_instructions_0) [op_iaload, op_laload, op_faload,
12475         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
12476         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
12477         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
12478         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
12479         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
12480         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
12481         let `this' argument be uninitialized.  Don't let `null' be passed
12482         as `this' to construtor.
12483
12484 2002-11-26  Mark Wielaard  <mark@klomp.org>
12485
12486         * javax/transaction/HeuristicCommitException.java: Classpath merge.
12487         * javax/transaction/HeuristicMixedException.java: Likewise.
12488         * javax/transaction/HeuristicRollbackException.java: Likewise.
12489         * javax/transaction/InvalidTransactionException.java: Likewise.
12490         * javax/transaction/NotSupportedException.java: Likewise.
12491         * javax/transaction/RollbackException.java: Likewise.
12492         * javax/transaction/Status.java: Likewise.
12493         * javax/transaction/Synchronization.java: Likewise.
12494         * javax/transaction/SystemException.java: Likewise.
12495         * javax/transaction/Transaction.java: Likewise.
12496         * javax/transaction/TransactionManager.java: Likewise.
12497         * javax/transaction/TransactionRequiredException.java: Likewise.
12498         * javax/transaction/TransactionRolledbackException.java: Likewise.
12499         * javax/transaction/UserTransaction.java: Likewise.
12500         * javax/transaction/xa/XAException.java: Likewise.
12501         * javax/transaction/xa/XAResource.java: Likewise.
12502         * javax/transaction/xa/Xid.java: Likewise.
12503
12504 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
12505
12506         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
12507         define.
12508         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
12509         * include/posix.h (socklen_t): Define if not already defined.
12510
12511 2002-11-25  Tom Tromey  <tromey@redhat.com>
12512
12513         * verify.cc (type::compatible): Backed out broken change.
12514
12515         * verify.cc (type::compatible): Check initialization status
12516         first.
12517         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
12518         Don't use NULLCHECK.
12519
12520 2002-11-23  H.J. Lu <hjl@gnu.org>
12521
12522         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
12523         Include ../config/accross.m4.
12524         * aclocal.m4; Rebuild.
12525         * configure: Likewise.
12526
12527 2002-11-23  Mark Wielaard  <mark@klomp.org>
12528
12529         * javax/naming/AuthenticationException.java: Update copyright header.
12530         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
12531         * javax/naming/Binding.java: Likewise.
12532         * javax/naming/CannotProceedException.java: Likewise.
12533         * javax/naming/CommunicationException.java: Likewise.
12534         * javax/naming/CompositeName.java: Likewise.
12535         * javax/naming/CompoundName.java: Likewise.
12536         * javax/naming/ConfigurationException.java: Likewise.
12537         * javax/naming/Context.java: Likewise.
12538         * javax/naming/ContextNotEmptyException.java: Likewise.
12539         * javax/naming/InitialContext.java: Likewise.
12540         * javax/naming/InsufficientResourcesException.java: Likewise.
12541         * javax/naming/InterruptedNamingException.java: Likewise.
12542         * javax/naming/LimitExceededException.java: Likewise.
12543         * javax/naming/LinkException.java: Likewise.
12544         * javax/naming/LinkLoopException.java: Likewise.
12545         * javax/naming/LinkRef.java: Likewise.
12546         * javax/naming/MalformedLinkException.java: Likewise.
12547         * javax/naming/NameAlreadyBoundException.java: Likewise.
12548         * javax/naming/NameClassPair.java: Likewise.
12549         * javax/naming/NameNotFoundException.java: Likewise.
12550         * javax/naming/NameParser.java: Likewise.
12551         * javax/naming/NamingEnumeration.java: Likewise.
12552         * javax/naming/NamingSecurityException.java: Likewise.
12553         * javax/naming/NoInitialContextException.java: Likewise.
12554         * javax/naming/NoPermissionException.java: Likewise.
12555         * javax/naming/NotContextException.java: Likewise.
12556         * javax/naming/OperationNotSupportedException.java: Likewise.
12557         * javax/naming/PartialResultException.java: Likewise.
12558         * javax/naming/Reference.java: Likewise.
12559         * javax/naming/Referenceable.java: Likewise.
12560         * javax/naming/ReferralException.java: Likewise.
12561         * javax/naming/ServiceUnavailableException.java: Likewise.
12562         * javax/naming/SizeLimitExceededException.java: Likewise.
12563         * javax/naming/TimeLimitExceededException.java: Likewise.
12564         * javax/naming/directory/Attribute.java: Likewise.
12565         * javax/naming/directory/AttributeInUseException.java: Likewise.
12566         * javax/naming/directory/AttributeModificationException.java: Likewise.
12567         * javax/naming/directory/Attributes.java: Likewise.
12568         * javax/naming/directory/BasicAttribute.java: Likewise.
12569         * javax/naming/directory/BasicAttributes.java: Likewise.
12570         * javax/naming/directory/DirContext.java: Likewise.
12571         * javax/naming/directory/InitialDirContext.java: Likewise.
12572         * javax/naming/directory/InvalidAttributeIdentifierException.java:
12573         Likewise.
12574         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
12575         * javax/naming/directory/InvalidAttributesException.java: Likewise.
12576         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
12577         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
12578         * javax/naming/directory/ModificationItem.java: Likewise.
12579         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
12580         * javax/naming/directory/SchemaViolationException.java: Likewise.
12581         * javax/naming/directory/SearchControls.java: Likewise.
12582         * javax/naming/directory/SearchResult.java: Likewise.
12583         * javax/naming/event/EventContext.java: Likewise.
12584         * javax/naming/event/EventDirContext.java: Likewise.
12585         * javax/naming/event/NamespaceChangeListener.java: Likewise.
12586         * javax/naming/event/NamingEvent.java: Likewise.
12587         * javax/naming/event/NamingExceptionEvent.java: Likewise.
12588         * javax/naming/event/NamingListener.java: Likewise.
12589         * javax/naming/event/ObjectChangeListener.java: Likewise.
12590         * javax/naming/ldap/Control.java: Likewise.
12591         * javax/naming/ldap/ControlFactory.java: Likewise.
12592         * javax/naming/ldap/ExtendedRequest.java: Likewise.
12593         * javax/naming/ldap/ExtendedResponse.java: Likewise.
12594         * javax/naming/ldap/HasControls.java: Likewise.
12595         * javax/naming/ldap/InitialLdapContext.java: Likewise.
12596         * javax/naming/ldap/LdapContext.java: Likewise.
12597         * javax/naming/ldap/LdapReferralException.java: Likewise.
12598         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
12599         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
12600         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
12601         * javax/naming/spi/DirObjectFactory.java: Likewise.
12602         * javax/naming/spi/DirStateFactory.java: Likewise.
12603         * javax/naming/spi/DirectoryManager.java: Likewise.
12604         * javax/naming/spi/InitialContextFactory.java: Likewise.
12605         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
12606         * javax/naming/spi/NamingManager.java: Likewise.
12607         * javax/naming/spi/ObjectFactory.java: Likewise.
12608         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
12609         * javax/naming/spi/ResolveResult.java: Likewise.
12610         * javax/naming/spi/Resolver.java: Likewise.
12611         * javax/naming/spi/StateFactory.java: Likewise.
12612
12613         * javax/naming/spi/NamingManager.java (ofb): Package private.
12614
12615 2002-11-21  Mark Wielaard  <mark@klomp.org>
12616
12617         * java/net/URL.java: Merge with Classpath (partly).
12618         * java/net/URLStreamHandler: Merge with Classpath.
12619
12620 2002-11-22  Michael Koch <konqueror@gmx.de>
12621
12622         * include/posix.h:
12623         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12624         * include/win32.h:
12625         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12626         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
12627
12628 2002-11-21  Michael Koch <konqueror@gmx.de>
12629
12630         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
12631         Only the new network functions should be in it.
12632
12633 2002-11-21  Michael Koch <konqueror@gmx.de>
12634
12635         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12636         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12637
12638 2002-11-21  Michael Koch <konqueror@gmx.de>
12639
12640         * java/nio/channels/AsynchronousCloseException.java,
12641         java/nio/channels/CancelledKeyException.java,
12642         java/nio/channels/ClosedByInterruptException.java,
12643         java/nio/channels/ConnectionPendingException.java,
12644         java/nio/channels/FileLockInterruptionException.java,
12645         java/nio/channels/IllegalSelectorException.java,
12646         java/nio/channels/NoConnectionPendingException.java,
12647         java/nio/channels/NonReadableChannelException.java,
12648         java/nio/channels/NonWritableChannelException.java,
12649         java/nio/channels/NotYetBoundException.java,
12650         java/nio/channels/NotYetConnectedException.java,
12651         java/nio/channels/OverlappingFileLockException.java,
12652         java/nio/channels/UnresolvedAddressException.java,
12653         java/nio/channels/UnsupportedAddressTypeException.java:
12654         New files.
12655         * Makefile.am (ordinary_java_source_files): Added new files.
12656         * Makefile.in: Regenerated.
12657
12658 2002-11-21  Michael Koch <konqueror@gmx.de>
12659
12660         * include/posix.h
12661         (_Jv_socket): New method.
12662         (_Jv_connect): New method.
12663         (_Jv_close): New method.
12664         (_Jv_platform_close_on_exec): Prefixed system function with "::".
12665         (_Jv_bind): New method.
12666         (_Jv_listen): New method.
12667         (_Jv_write): New method.
12668         (_Jv_read): New method.
12669         * include/win32.h
12670         (_Jv_socket): New method.
12671         (_Jv_connect): New method.
12672         (_Jv_close): New method.
12673         (_Jv_bind): New method.
12674         (_Jv_listen): New method.
12675         (_Jv_write): New method.
12676         (_Jv_read): New method.
12677         * java/net/natNetworkInterface.cc:
12678         Include platform.h, removed inclusion of socket.h
12679         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
12680         ::close() by _Jv_close().
12681         * java/net/natPlainDatagramSocketImpl.cc:
12682         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
12683         added some new lines to make code more readable.
12684         (create): Replaced ::socket() by _Jv_socket().
12685         (close): Replaced NATIVE_CLOSE() by _Jv_close().
12686         * java/net/natPlainSocketImpl.cc:
12687         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
12688         removed include of socket.h, removed some windows defines
12689         (now in include/win32.h).
12690         (create): Replaced ::socket() by _Jv_socket().
12691         (close): Replaced NATIVE_CLOSE() by _Jv_close().
12692         (write): Replaced ::read by _Jv_write().
12693         (read): Replaced ::read by _Jv_read().
12694
12695 2002-11-20  Michael Koch <konqueror@gmx.de>
12696
12697         * Makefile.am (ordinary_java_source_files):
12698         Added java/nio/channels/FileChannel.java.
12699         * Makefile.in: Regenerated.
12700
12701 2002-11-20  Michael Koch <konqueror@gmx.de>
12702
12703         * java/io/FileInputStream.java
12704         (getChannel): New method.
12705         * java/io/FileOutputStream.java
12706         (getChannel): New method.
12707         * java/net/ServerSocket.java
12708         (bind): Removed duplicate code and called another bind method instead.
12709         * java/nio/channels/SelectionKey.java
12710         (isValid): Removed wrong exception documentation.
12711         * java/nio/channels/ServerSocketChannel.java
12712         (accept): Added exception documentation.
12713         (open): Fixed typo, added exception documentation.
12714         * java/nio/channels/spi/AbstractSelectableChannel.java
12715         (implCloseChannel): Added exception documentation.
12716         (add): Reformated.
12717         (register): Added exception documentation.
12718
12719 2002-11-20  Andreas Jaeger  <aj@suse.de>
12720
12721         * configure: Regenerated with new libtool.m4.
12722
12723 2002-11-19  Tom Tromey  <tromey@redhat.com>
12724
12725         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
12726         `referent'.
12727         (finalize_referred_to_object): Don't modify `referent' or `copy'
12728         fields.
12729         (add_to_hash): Correctly set `n->next' when updating list.
12730         * java/lang/ref/Reference.java (enqueue): Return false if already
12731         enqueued.
12732
12733 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
12734
12735         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
12736         to function and function pointer declarations in accordance with
12737         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
12738         based on whether __GCJ_JNI_IMPL__ has been defined or not.
12739         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
12740         JNI function definitions.
12741
12742 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12743
12744         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
12745         that was causing CoderResults to be cached, not WeakReferences
12746         to CoderResults.
12747
12748 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
12749
12750         * java/security/KeyStore.java (getInstance): Fix
12751         comment and throw IllegalArgumentException if
12752         given provider is null.
12753         (getInstance): New method for jdk1.4 compatibility.
12754
12755 2002-11-18  Michael Koch <konqueror@gmx.de>
12756
12757         * java/net/PlainSocketImpl.java: Fix imports.
12758
12759 2002-11-18  Michael Koch <konqueror@gmx.de>
12760
12761         * java/nio/channels/SelectionKey.java
12762         (isValid): Added exception documentation.
12763         * java/nio/channels/Selector.java
12764         (open): Declare "throws IOException".
12765
12766 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12767
12768         * java/nio/charset/Charset.java
12769         (<clinit>): New method.
12770         (encode): Synchronize use of cached encoder object.
12771         (decode): Synchronize use of cached encoder object.
12772
12773 2002-11-18  Michael Koch <konqueror@gmx.de>
12774
12775         * gnu/java/nio/ByteBufferImpl.java,
12776         gnu/java/nio/CharBufferImpl.java,
12777         gnu/java/nio/DatagramChannelImpl.java,
12778         gnu/java/nio/DoubleBufferImpl.java,
12779         gnu/java/nio/FileChannelImpl.java,
12780         gnu/java/nio/FloatBufferImpl.java,
12781         gnu/java/nio/IntBufferImpl.java,
12782         gnu/java/nio/LongBufferImpl.java,
12783         gnu/java/nio/PipeImpl.java,
12784         gnu/java/nio/SelectionKeyImpl.java,
12785         gnu/java/nio/SelectorImpl.java,
12786         gnu/java/nio/SelectorProviderImpl.java,
12787         gnu/java/nio/ServerSocketChannelImpl.java,
12788         gnu/java/nio/ShortBufferImpl.java,
12789         gnu/java/nio/SocketChannelImpl.java,
12790         java/nio/DoubleBuffer.java,
12791         java/nio/FloatBuffer.java,
12792         java/nio/IntBuffer.java,
12793         java/nio/LongBuffer.java,
12794         java/nio/ShortBuffer.java,
12795         java/nio/channels/FileChannel.java: New files.
12796
12797 2002-11-18  Michael Koch <konqueror@gmx.de>
12798
12799         * Makefile.am (ordinary_java_source_files):
12800         Added java/nio/ReadOnlyBufferException.java and
12801         java/nio/channels/ClosedSelectorException.java.
12802         * Makefile.in: Regenerated.
12803
12804 2002-11-18  Michael Koch <konqueror@gmx.de>
12805
12806         * java/net/PlainSocketImpl.java: Reworked imports.
12807         * java/net/ServerSocket.java
12808         (ServerSocket): Create socket.
12809         * java/net/SocketAddress.java: Documentation added.
12810         * java/net/natPlainSocketImpl.cc: Reindented.
12811         * java/nio/ReadOnlyBufferException.java: New file
12812         * java/nio/channels/ClosedChannelException.java: Documentation added.
12813         * java/nio/channels/ClosedSelectorException.java: New file.
12814
12815 2002-11-17  Mark Wielaard  <mark@klomp.org>
12816
12817         * java/net/HttpURLConnection.java ((getPermission): Take port
12818         into consideration.
12819         (getErrorStream): Implement.
12820
12821 2002-11-17  Mark Wielaard  <mark@klomp.org>
12822
12823         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
12824
12825 2002-11-16  Mark Wielaard  <mark@klomp.org>
12826
12827         Integrate work by Raif S. Naffah (raif@fl.net.au)
12828         * java/security/DummyKeyPairGenerator.java (clone): New method.
12829         * java/security/DummyMessageDigest.java (clone): New method.
12830         (engineUpdate): Now public.
12831         (engineReset): Likewise.
12832         (engineDigest): Likewise.
12833         (engineGetDigestLength): New method.
12834         * java/security/DummySignature.java (clone): New method.
12835         * java/security/KeyPairGenerator.java (provider): Now package private.
12836         (getInstance(String)): Use getInstance(String,Provider).
12837         (getInstance(String,String): Use getInstance(String,Provider)
12838         (getInstance(String,Provider): New method.
12839         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
12840         * java/security/KeyPairGeneratorSpi.java (clone): New method.
12841         * java/security/MessageDigest.java (provider): Now package private.
12842         (getInstance(String): Use getInstance(String,Provider).
12843         (getInstance(String,String): Use getInstance(String,Provider)
12844         (getInstance(String,Provider): New method.
12845         * java/security/Provider.java (toCanonicalKey): New method.
12846         (get): New method that uses toCanonicalKey().
12847         (put): Use toCanonicalKey().
12848         (remove): Likewise.
12849         * java/security/Security.java (insertProviderAt): Provider index is one
12850         based, not zero based.
12851         (addProvider): Likewise.
12852         (removeProvider): Likewise.
12853         * java/security/Signature.java (provider): Now package private.
12854         (getInstance(String)): Use getInstance(String,Provider).
12855         (getInstance(String,String): Use getInstance(String,Provider)
12856         (getInstance(String,Provider): New method.
12857         (getInstance(String,String,Provider): Don't cast DummySignature.
12858
12859 2002-11-15  Tom Tromey  <tromey@redhat.com>
12860
12861         For PR libgcj/8593:
12862         * java/util/zip/GZIPInputStream.java (read): Check file size.
12863         Look in inflater for remaining input bytes.
12864         (read4): Added buf and offset arguments.
12865
12866 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
12867
12868         * java/applet/AppletContext.java: Fix typo and remove redundant
12869         modifiers.
12870
12871 2002-11-14  Tom Tromey  <tromey@redhat.com>
12872
12873         * java/lang/natRuntime.cc (insertSystemProperties): Set
12874         gnu.classpath.home.
12875
12876 2002-11-13  Michael Koch <konqueror@gmx.de>
12877
12878         * java/nio/ByteBuffer.java
12879         (allocate): New method.
12880         (wrap): New method.
12881         (put): New method.
12882         (get): New method.
12883
12884 2002-11-13  Michael Koch <konqueror@gmx.de>
12885
12886         * java/nio/channels/AlreadyConnectedException.java:
12887         Removed unneeded import.
12888         (AlreadyConnectedException): Documentation added.
12889         * java/nio/channels/Pipe.java
12890         (SinkChannel.SinkChannel): Documentation added.
12891         (SinkChannel.validOps): New method.
12892         (SourceChannel.SourceChannel): Documentation added.
12893         (SourceChannel.validOps): New method.
12894         (Pipe): Documentation added.
12895         (open): Documentation added.
12896         (SinkChannel.channel): Documentation added.
12897         (SourceChannel.channel): Documentation added.
12898         * java/nio/channel/SelectableChannel.java
12899         (SelectableChannel): Documentation added.
12900         (blockingLock): Documentation added.
12901         (configureBlocking):Documentation added.
12902         (isBlocking):Documentation added.
12903         (isRegistered):Documentation added.
12904         (keyFor):Documentation added.
12905         (provider):Documentation added.
12906         (register): Documentation added.
12907         (validOps): Documentation added.
12908         * jaba/nio/channels/SelectionKey.java
12909         (SelectionKey): Documentation added.
12910         (attach): Documentation added.
12911         (attachment): Documentation added.
12912         (isAcceptable): Documentation added.
12913         (isConnetable): Documentation added.
12914         (isReadable): Documentation added.
12915         (isWritable): Documentation added.
12916         (cancel): Documentation added.
12917         (channel): Documentation added.
12918         (interestOps): Documentation added.
12919         (isValid): Documentation added.
12920         (readyOps): Documentation added.
12921         (selector): Documentation added.
12922         * jaba/nio/channels/Selector.java
12923         (Selector): Documentation added.
12924         (open): Documentation added.
12925         (close): Documentation added.
12926         (isOpen): Documentation added.
12927         (keys): Documentation added.
12928         (provider): Documentation added.
12929         (select): Documentation added.
12930         (selectedKeys): Documentation added.
12931         (selectNow): Documentation added.
12932         (wakeup): Documentation added.
12933         * java/nio/channels/spi/AbstractInterruptibleChannel.java
12934         (AbstractInterruptibleChannel): Documentation added.
12935         (opened): Default to true;
12936         (begin): Documentation added.
12937         (close): Set opened to false, documentation added.
12938         (isOpen): Documentation added.
12939         * java/nio/channels/spi/AbstractSelectionKey.java
12940         (AbstractSelectionKey): Documentation added.
12941         (cancel): Documentation added.
12942         (isValid): Documentation added.
12943         * java/nio/channels/spi/AbstractSelector.java
12944         (AbstractSelector): Documentation added.
12945         (begin): Documentation added.
12946         (close): Documentation added.
12947         (isOpen): Documentation added.
12948         (deregister): Documentation added.
12949         (end): Documentation added.
12950         (provider): Documentation added.
12951         (implCloseSelector): Documentation added.
12952         (register): Documentation added.
12953         * java/nio/channels/spi/SelectorProvider.java
12954         (SelectorProvider): Documentation added.
12955         (openDatagramChannel): Documentation added.
12956         (openPipe): Documentation added.
12957         (openSelector): Documentation added.
12958         (openServerSocketChannel): Documentation added.
12959         (openSocketChannel): Documentation added.
12960         (provider): Documentation added.
12961
12962 2002-11-12  Michael Koch <konqueror@gmx.de>
12963
12964         * java/nio/Buffer.java: Implemented.
12965         * java/nio/CharBuffer.java: New file.
12966         * java/nio/InvalidMarkException.java: New file.
12967         * java/nio/channels/DatagramChannel.java: Implemented.
12968         * java/nio/channels/ServerSocketChannel.java: Implemented.
12969         * java/nio/channels/SocketChannel.java: Implemented.
12970         * java/nio/channels/spi/AbstractChannel.java: Removed.
12971         * java/nio/channels/spi/AbstractSelectableChannel.java:
12972         Implemented.
12973         * java/nio/charset/Charset.java:
12974         Merge from Classpath.
12975         * java/nio/charset/CharsetDecoder.java: New file.
12976         * java/nio/charset/CharsetEncoder.java: New file.
12977         * java/nio/charset/CoderResult.java: New file.
12978         * Makefile.am (ordinary_java_source_files): Added new files.
12979         * Makefile.in: Regenerated.
12980
12981 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12982
12983         * gnu/java/nio/charset/ISO_8859_1.java,
12984         gnu/java/nio/charset/Provider.java,
12985         gnu/java/nio/charset/US_ASCII.java,
12986         gnu/java/nio/charset/UTF_16.java,
12987         gnu/java/nio/charset/UTF_16BE.java,
12988         gnu/java/nio/charset/UTF_16Decoder.java,
12989         gnu/java/nio/charset/UTF_16Encoder.java,
12990         gnu/java/nio/charset/UTF_16LE.java,
12991         gnu/java/nio/charset/UTF_8.java: New files.
12992
12993 2002-11-11  Michael Koch <konqueror@gmx.de>
12994
12995         * java/nio/charset/CharacterCodingException.java:
12996         This class must be public.
12997         * java/nio/charset/CoderMalfunctionError.java:
12998         This class must be public.
12999         * java/nio/charset/CodingErrorAction.java:
13000         This class must be public.
13001         * java/nio/charset/IllegalCharsetNameException.java:
13002         This class must be public, better implementation.
13003         * java/nio/charset/MalformedInputException.java:
13004         This class must be public, better implementation.
13005         * java/nio/charset/UnmappableCharacterException.java:
13006         This class must be public, better implementation.
13007         * java/nio/charset/UnsupportedCharsetException.java:
13008         This class must be public, better implementation.
13009
13010 2002-11-11  Michael Koch <konqueror@gmx.de>
13011
13012         * java/nio/BufferOverflowException.java,
13013         java/nio/BufferUnderflowException.java: New file.
13014         * Makefile.am (ordinary_java_source_files):
13015         Added new files.
13016         * Makefile.in: Regenerated.
13017
13018 2002-11-10  Tom Tromey  <tromey@redhat.com>
13019
13020         * java/awt/Container.java (validate): Use tree lock.
13021         (getComponent): Likewise.
13022         (getComponents): Likewise.
13023         (addImpl): Likewise.
13024         (remove): Likewise.
13025         (removeAll): Likewise.
13026         (processEvent): Fixed indentation.
13027         (getComponentAt): Use tree lock.
13028         (findComponentAt): Likewise.
13029         (removeNotify): Likewise.
13030         (isAncestorOf): Likewise.
13031         (list): Likewise.
13032         (visitChildren): Likewise.
13033         (findNextFocusComponent): Likewise.
13034         (addNotifyContainerChildren): Likewise.
13035         (getAccessibleChildrenCount): Likewise.
13036         (getAccessibleChild): Likewise.
13037
13038         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
13039         (getSize): Likewise.
13040         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
13041         (getSize): Likewise.
13042         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
13043         (calcSize): Likewise.
13044         * java/awt/CardLayout.java (getSize): Use tree lock.
13045         (gotoComponent): Likewise.
13046         (layoutContainer): Likewise.
13047
13048         * java/io/natFileDescriptorWin32.cc (read): Handle case where
13049         count is 0.
13050         * java/io/natFileDescriptorPosix.cc (read): Handle case where
13051         count is 0.
13052
13053         * java/io/Externalizable.java, java/io/FilePermission.java,
13054         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
13055         java/io/SerializablePermission.java, java/text/Format.java,
13056         java/util/AbstractMap.java, java/util/HashMap.java,
13057         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
13058         versions from Classpath.
13059
13060 2002-11-10  Anthony Green  <green@redhat.com>
13061
13062         * java/util/jar/Attributes.java (Name): Fix name check.
13063
13064 2002-11-10  Mark Wielaard  <mark@klomp.org>
13065
13066         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
13067         with getName() as message.
13068         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
13069         type as message.
13070
13071         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
13072         unused.
13073
13074 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
13075
13076         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
13077         for Win32. JNICALL has been defined to __stdcall to be compatible
13078         with Sun's JDKs.
13079
13080 2002-11-10  Tom Tromey  <tromey@redhat.com>
13081
13082         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
13083         (setRows): Check newRows, not rows.
13084
13085         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
13086
13087 2002-11-09  Tom Tromey  <tromey@redhat.com>
13088
13089         * java/applet/Applet.java, java/applet/AppletContext.java,
13090         java/applet/AppletStub.java, java/applet/AudioClip.java,
13091         java/awt/CardLayout.java,
13092         java/awt/ContainerOrderFocusTraversalPolicy.java,
13093         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
13094         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
13095         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
13096         java/awt/color/ICC_ColorSpace.java,
13097         java/awt/color/ICC_Profile.java,
13098         java/awt/color/ICC_ProfileGray.java,
13099         java/awt/color/ICC_ProfileRGB.java,
13100         java/awt/datatransfer/DataFlavor.java,
13101         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
13102         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
13103         New versions from Classpath.
13104         * Makefile.in: Rebuilt.
13105         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
13106         ICC_ProfileRGB.
13107
13108         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
13109         display policy.
13110
13111         * java/awt/List.java (processEvent): Added missing `else's.
13112
13113         * java/awt/Window.java (show): validate() before showing.  Make
13114         parent displayable.
13115         (isDisplayable): New method.
13116
13117 2002-11-07  Mark Wielaard  <mark@klomp.org>
13118
13119         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
13120         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
13121
13122         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
13123         annotation.
13124         (loadClass): Take String as codebases.
13125         (getClassAnnotation): Use MyClassLoader annotations.
13126         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
13127         call exportObject(this).
13128
13129         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
13130         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
13131         (setAnnotation): Don't set locBytesStream and locStream.
13132         (replaceObject): Removed.
13133         (flush): Don't test locStream.
13134         (getLocBytes): LikeWise.
13135         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
13136         (leaseCache): New field.
13137         (dirty): Use leaseCache.
13138         (LeaseRecord): New inner class.
13139         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
13140         explicitly call exportObject().
13141         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
13142         false to communicate with Sun JDK130.
13143         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
13144         * gnu/java/rmi/server/RMIObjectInputStream.java
13145         (UnicastConnectionManager): Removed field.
13146         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
13147         Use UnicastServer.getExportedRef().
13148         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
13149         (expireTime): Likewise.
13150         (CONNECTION_TIMEOUT): Likewise.
13151         (disconnect): Call sock.close().
13152         (isExpired): New method.
13153         (resetTime): Likewise.
13154         (run): Use do while loop and catch Exception for discardConnection().
13155         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
13156         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
13157         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
13158         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
13159         (exportObject): Use refcache.
13160         (unexportObject): Likewise.
13161         (getExportedRef): New method.
13162         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
13163         constructor.
13164         (exportObject): Save manager.serverobj.
13165         (getStub): New method.
13166
13167 2002-11-07  Mark Wielaard  <mark@klomp.org>
13168
13169         * java/lang/reflect/natField.cc (getBoolean): Use getType().
13170         (getByte): Likewise.
13171         (getShort): Likewise.
13172         (getInt): Likewise.
13173         (getLong): Likewise.
13174         (getFloat): Likewise.
13175         (getDouble): Likewise.
13176         (get): Likewise.
13177         (setChar): Likewise.
13178         (setByte): Likewise.
13179         (setShort): Likewise.
13180         (setInt): Likewise.
13181         (setLong): Likewise.
13182         (setFloat): Likewise.
13183         (setDouble): Likewise.
13184
13185 2002-11-07  Michael Koch <konqueror@gmx.de>
13186
13187         * java/awt/Choice.java,
13188         java/awt/Container.java,
13189         java/awt/GridBagLayout.java:
13190         Fixed documentation.
13191         * java/awt/peer/ContainerPeer.java:
13192         Reindented.
13193
13194 2002-11-07  Michael Koch <konqueror@gmx.de>
13195
13196         * java/awt/color/ICC_Profile.java:
13197         Added missing constants.
13198         * java/awt/color/ICC_ColorSpace.java
13199         (getMinValue): Added dummy implementation.
13200         (getMaxValue): Added dummy implementation.
13201         * java/awt/datatransfer/DataFlavor.java
13202         (imageFlavor): Added.
13203         (isMimeTypeEqual): Must be final.
13204         (getDefaultRepresentationClass): Must be non-static.
13205         (getDefaultRepresentationClassAsString): Must be non-static.
13206         * java/awt/dnd/DragSourceContext.java
13207         (dragExit): Corrected argument.
13208         (dragDropEnd): Corrected argument.
13209         * java/awt/dnd/DragSourceListener.java.java
13210         (dragExit): Corrected argument.
13211         (dragDropEnd): Corrected argument.
13212         * java/awt/font/TextHitInfo.java
13213         (toString): Added stubbed implementation.
13214         * java/awt/geom/PathIterator.java:
13215         The constants must be static.
13216         * java/awt/image/VolatileImage.java
13217         (IMAGE_INCOMPATIBLE): Fixed typo.
13218         * java/awt/image/renderable/RenderableImage.java
13219         (HINTS_OBSERVED): Must be static.
13220         * java/beans/BeanInfo.java:
13221         Constants must be final.
13222
13223 2002-11-06  Tom Tromey  <tromey@redhat.com>
13224
13225         From svens@it.uu.se.  For PR libgcj/8481.
13226         * java/util/Random.java (nextInt(int)): Only use 31 bits.
13227
13228 2002-11-06  Tom Tromey  <tromey@redhat.com>
13229
13230         * jni.cc (array_from_valist): Assume that jlong won't be
13231         promoted.
13232
13233 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
13234
13235         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
13236         Return 20.
13237         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
13238         Return 16.
13239
13240 2002-11-03  Tom Tromey  <tromey@redhat.com>
13241
13242         * java/lang/ClassLoader.java (loadClass): Call loadClass on
13243         VMClassLoader, not findClass.
13244
13245 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
13246
13247         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
13248         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
13249         _Jv_DetermineVTableIndex, to determine vtable offset.
13250         (_Jv_DetermineVTableIndex): Remove.
13251         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
13252
13253         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
13254
13255 2002-11-03  Tom Tromey  <tromey@redhat.com>
13256
13257         * java/nio/channels/AlreadyConnectedException.java: Extend
13258         IllegalStateException, per spec.
13259
13260 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
13261
13262         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
13263
13264 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
13265
13266         * java/util/ArrayList.java (readObject, writeObject): Only read/write
13267         size items.
13268
13269 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
13270
13271         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
13272         initial estimated size to avoid enlarge buffer frequently.
13273
13274 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
13275
13276         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
13277         ClassLoader when null.
13278         (ProxyType.hashCode): Loader null check no longer needed.
13279         (ProxyType.sameTypes): New method.
13280         (ProxyType.equals): Use new method.
13281
13282 2002-10-31  Mark Wielaard  <mark@klomp.org>
13283
13284         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
13285         length of String.
13286         * java/net/URLEncoder.java (encode): Likewise.
13287
13288 2002-10-31  Mark Wielaard  <mark@klomp.org>
13289
13290         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
13291         when stream is closed.
13292         (closeEntry): Likewise.
13293         (read): Likewise.
13294         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
13295         ZipException when no entry active.
13296         (closeEntry): Likewise.
13297         (write): Likewise.
13298
13299 2002-11-02  Tom Tromey  <tromey@redhat.com>
13300
13301         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
13302         * java/lang/natClass.cc (initializeClass): Don't return just
13303         because self==thread.
13304
13305         For PR java/8415:
13306         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
13307         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
13308
13309 2002-11-02  Andreas Schwab  <schwab@suse.de>
13310
13311         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
13312         pass GCJFLAGS.
13313         (FLAGS_TO_PASS): Define.
13314         * Makefile.in: Regenerated.
13315
13316 2002-11-01  Michael Koch  <konqueror@gmx.de>
13317
13318         * java/nio/ByteOrder.java: New file.
13319         * java/nio/channels/DatagramChannel.java:
13320         (DatagramChannel): New constructor.
13321         * java/nio/channels/Pipe.java: New file.
13322         * java/nio/channels/SelectableChannel.java: New file.
13323         * java/nio/channels/SelectionKey.java: New file.
13324         * java/nio/channels/Selector.java: New file.
13325         * java/nio/channels/ServerSocketChannel.java
13326         (ServerSocketChannel): New constructor.
13327         * java/nio/channels/SocketChannel.java
13328         (SocketChannel): New constructor.
13329         * java/nio/channels/Pipe.java: New file.
13330         * java/nio/channels/spi/AbstractChannel.java: New file.
13331         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
13332         * java/nio/channels/spi/AbstractSelectableChannel.java:
13333         License added
13334         (AbstractSelectableChannel): New stubbed method.
13335         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
13336         * java/nio/channels/spi/AbstractSelector.java: New file.
13337         * java/nio/channels/spi/SelectorProvider.java: New file.
13338         * java/nio/charset/Charset.java: New file.
13339         * java/nio/charset/CoderMalfunctionError.java: New file.
13340         * java/nio/charset/CodingErrorAction.java: New file.
13341         * java/nio/charset/spi/CharsetProvider.java
13342         (charsetForName): Uncommented.
13343         * Makefile.am (java_native_source_files): Added new files.
13344         * Makefile.in: Regenerated.
13345
13346 2002-11-01  Michael Koch  <konqueror@gmx.de>
13347
13348         * java/net/InetAddress.java:
13349         (isAnyLocalAddress): Implemented.
13350         (isLoopbackAddress): Implemented, comment added.
13351         (isLinkLocalAddress): Implemented, documentation added.
13352         (isSiteLocalAddress): Implemented, documentation added.
13353         (isMCGlobal): Implemented, documentation added.
13354         (isMCNodeLocal): Implemented, documentation added.
13355         (isMCLinkLocal): Implemented, documentation added.
13356         (isMCSiteLocal): Implemented, documentation added.
13357         (isMCOrgLocal): Implemented, documentation added.
13358         (getHostName): Documentation added.
13359         (getCanonicalHostName): Implemented, documentation added.
13360         (getAddress): Documentation added.
13361         (hashCode): Documentation added.
13362         (equals): Documentation added.
13363         (toString): Fixed implementation.
13364         (getByAddress): Use Inet4Address and Inet6Address.
13365         (lookup): New linewrap.
13366         (getByName): SecurityManager check added, support Inet4Address and
13367         Inet6address, comments added.
13368         (getAllByName): SecurityManager check added, comments added.
13369         * java/net/Inet6Address.java:
13370         (Inet6Address): Initialize parent class with addr instead of null.
13371         * java/net/URL.java
13372         (equals): Documentation added.
13373         (getFile): Documentation added.
13374         (hashCode): Documentation added.
13375         * java/net/natInetAddress.cc:
13376         (aton): Fix IPv6 support.
13377         * java/net/natPlainDatagramSocketImpl.cc:
13378         (peek): Throw PortUnreachableException when suitable.
13379         (peekData): Throw PortUnreachableException when suitable.
13380         (send): Throw PortUnreachableException when suitable.
13381         (receive): Throw PortUnreachableException when suitable.
13382
13383 2002-10-27  Mark Wielaard  <mark@klomp.org>
13384
13385         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
13386         argument.
13387         (readLeShort): Likewise and use byte[].
13388         (readLeInt): Likewise.
13389         (readEntries): Use new versions of methods and use byte[] for reading
13390         a complete zip entry. Add ZipFile name to exceptions.
13391         (entries): Add ZipFile name to exceptions.
13392         (getEntry): Likewise.
13393         (checkLocalHeader): Use new versions of methods and add ZipFile name
13394         to exceptions.
13395
13396 2002-10-31  Mark Anderson  <mark@panonet.net>
13397
13398         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
13399         added
13400
13401 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
13402
13403         * configure.in: Disable hash sync when not using threads.
13404         * configure: Regenerated.
13405
13406 2002-10-24  Tom Tromey  <tromey@redhat.com>
13407
13408         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
13409         (_Jv_FindSymbolInExecutable): Removed argument name.
13410         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
13411         java.library.path is set.
13412
13413         * gij.cc (help): Document --showversion.
13414         (version): Don't exit.
13415         (main): Handle --showversion.  Exit if --version given.
13416
13417 2002-10-23  Tom Tromey  <tromey@redhat.com>
13418
13419         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
13420         (array_from_valist): Correctly handle promotion for jint, jlong,
13421         jfloat, and jdouble.
13422
13423 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
13424
13425         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
13426         GetFileAttributesEx( ) to find file length and modification times,
13427         as the latter is not present on Windows 95.
13428
13429 2002-10-21  Michael Koch  <konqueror@gmx.de>
13430
13431         * java/net/URL.java
13432         (URL): Activate SecurityManager checks.
13433         (equals): Use URLStreamHandler implementation instead of doing it
13434         alone. This allows special protocol stream handlers to change default
13435         behaviour.
13436         (hashCode): Use URLStreamHandler implementation instead of doing it
13437         alone. This allows special protocol stream handlers to change default
13438         behaviour.
13439         * java/net/URLStreamHandler.java
13440         (equals): Implemented default URL equality check.
13441         (hostsEqual): Implemented default URL equality check.
13442         (hashCode): Implemented default URL hashCode algorithm.
13443         * java/net/natPlainDatagramSocketImpl.cc:
13444         No lines longer then 80 characters.
13445
13446 2002-10-20  Adam Megacz <adam@xwt.org>
13447
13448         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
13449         * configure.in: enabled hash sync on Win32
13450         * include/win32-threads.h (_Jv_ThreadId_t): added.
13451         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
13452         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
13453         removed some posix-isms, use Thread::sleep() instead of usleep,
13454         added code to clear bottom three bits if platform has a broken
13455         linker.
13456         * include/win32-threads.h (_Jv_ThreadId_t): added.
13457
13458 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
13459
13460         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
13461         runtime property "gnu.gcj.progname" containing the name used to
13462         invoke the current Java program (similar to argv[0] for C
13463         programs).
13464
13465 2002-10-15  Tom Tromey  <tromey@redhat.com>
13466
13467         Fix for PR libgcj/8234:
13468         * java/util/zip/natInflater.cc (reset): Reset avail_in.
13469         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
13470
13471 2002-10-13  Mark Wielaard  <mark@klomp.org>
13472
13473         * mauve-libgcj: Enable Mauve tests that compile now.
13474
13475 2002-10-11  Mark Wielaard  <mark@klomp.org>
13476
13477         Fix for PR libgcj/8142
13478         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
13479         loading native modules.
13480
13481 2002-10-10  Michael Koch  <konqueror@gmx.de>
13482
13483         * javax/swing/AbstractListModel.java
13484         (getListDataListeners): New stubbed method.
13485         javax/swing/DefaultBoundedRangeModel.java
13486         (getChangeListeners): New stubbed method.
13487         javax/swing/DefaultSingleSelectionModel.java
13488         (getChangeListeners): New stubbed method.
13489
13490 2002-10-10  Michael Koch  <konqueror@gmx.de>
13491
13492         * gcj/.cvsignore: New file to ignore files generated during build.
13493         * include/.cvsignore: New file to ignore files generated during build.
13494
13495 2002-10-10  Michael Koch  <konqueror@gmx.de>
13496
13497         * java/net/HttpURLConnection.java
13498         (getPermission): New method.
13499         (getErrorStream): New stub method.
13500         (getHeaderFieldDate): New stub method.
13501         * java/net/Inet4Address.java:
13502         (isLinkLocalAddress): Typo fixed.
13503         * java/net/InetAddress.java:
13504         (readResolve): New stubbed method (for serialization).
13505         (isAnyLocalAddress): New stubbed method.
13506         (isLoopbackAddress): New stubbed method.
13507         (isLinkLocalAddress): New stubbed method.
13508         (isSiteLocalAddress): New stubbed method.
13509         (isMCGlobal): New stubbed method.
13510         (isMCNodeGlobal): New stubbed method.
13511         (isMCLinkLocal): New stubbed method.
13512         (isMCSiteLocal): New stubbed method.
13513         (isMCOrgLocal): New stubbed method.
13514         (getCanonicalHostName): New stubbed method.
13515         (getByAddress): Create instances of Inet4Address/Inet6Address,
13516         instead of InetAddress, documentation added.
13517         * java/net/MulticastSocket.java
13518         (getInterface): Removed FIXME.
13519         (getNetworkInterface): New method.
13520         (setNetworkInterface): New method.
13521         * java/net/NetworkInterface.java:
13522         (toString): Use property "line.separator" instead of "\n".
13523         * java/net/URLConnection.java
13524         (getContent): New stubbed method.
13525         * java/net/URLStreamHandler.java:
13526         (equals): New stubbed method.
13527         (hostsEqual): New stubbed method.
13528         (hashCode): New stubbed method.
13529         * java/net/natNetworkInterface.cc:
13530         (getRealNetworkInterfaces): Create Inet4Address object
13531         instead of InetAddress.
13532
13533 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
13534
13535         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
13536         unsigned long temporary to implement insn_iushr shifts.
13537
13538 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
13539
13540         * configure.host [s390*-*]: Enable Java interpreter.
13541         Enable hash synchronization.  Add sysdeps dir.
13542         * sysdep/s390/locks.h: New file.
13543
13544 2002-10-06  Mark Wielaard  <mark@klomp.org>
13545
13546         * java/lang/Thread.java (setDaemon): Check startable_flag,
13547         not isAlive().
13548
13549 2002-10-07  Michael Koch  <konqueror@gmx.de>
13550
13551         * java/nio/Buffer.java: New stub file.
13552         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
13553         of class Charset.
13554         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
13555         * Makefile.in: Regenerated.
13556
13557 2002-10-07  Michael Koch  <konqueror@gmx.de>
13558
13559         * java/nio/ByteBuffer.java:
13560         removed import of not commited class.
13561
13562 2002-10-07  Michael Koch  <konqueror@gmx.de>
13563
13564         * java/nio/ByteBuffer.java,
13565         java/nio/MappedByteBuffer.java:
13566         New files, forgot to add these dummies.
13567         * Makefile.am (java_native_source_files): Added new files.
13568         * Makefile.in: Regenerated.
13569
13570 2002-10-07  Michael Koch  <konqueror@gmx.de>
13571
13572         * java/nio/channels/AlreadyConnectedException.java,
13573         java/nio/channels/ClosedChannelException.java,
13574         java/nio/channels/ReadableByteChannel.java,
13575         java/nio/channels/InterruptibleChannel.java,
13576         java/nio/channels/Channel.java,
13577         java/nio/channels/ByteChannel.java,
13578         java/nio/channels/GatheringByteChannel.java,
13579         java/nio/channels/ScatteringByteChannel.java,
13580         java/nio/channels/WritableByteChannel.java,
13581         java/nio/charset/CharacterCodingException.java,
13582         java/nio/charset/IllegalCharsetNameException.java,
13583         java/nio/charset/MalformedInputException.java,
13584         java/nio/charset/UnmappableCharacterException.java,
13585         java/nio/charset/UnsupportedCharsetException.java,
13586         java/nio/charset/spi/CharsetProvider.java: New file.
13587         These files are exceptions or interfaces,
13588         no real or abstract classes.
13589         * Makefile.am (java_native_source_files): Added new files.
13590         * Makefile.in: Regenerated.
13591
13592 2002-10-05  Michael Koch  <konqueror@gmx.de>
13593
13594         * java/net/InetAddress.java
13595         (getByAddress): Fixed documentation.
13596         (getByAddress): New method.
13597         * java/net/Inet4Address.java: New file.
13598         * java/net/URL.java
13599         (URL): Documentation added.
13600         (getContent): Documentation added.
13601         (getContent): New stubbed method.
13602         (getQuery): New method.
13603         (openConnection): Documentation added.
13604         (openStream): Documentation added.
13605         (setURLStreamHandlerFactory): Documentation added.
13606         * java/net/URI.java: New stub file.
13607         * Makefile.am
13608         (java_native_source_files): Added java/net/Inet4Address.java,
13609         java/net/Inet6Address.java and java/net/URI.java.
13610         * Makefile.in: Regenerated.
13611
13612 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
13613
13614         * java/lang/ProtectionDomain.java (linesep): Remove field.
13615         (toString): Use System.getProperty("line.separator").
13616
13617 2002-10-04  Michael Koch  <konqueror@gmx.de>
13618
13619         * java/security/Identity.java: Added serialVersionUID.
13620         * java/security/KeyPair.java: Added serialVersionUID.
13621         * java/security/Provider.java: Added serialVersionUID.
13622         * java/security/SecureRandom.java: Added serialVersionUID.
13623         * java/security/SecureRandomSpi.java: Added serialVersionUID.
13624         * java/security/SignedObject.java: Added serialVersionUID.
13625         * java/security/cert/Certificate.java: Added serialVersionUID.
13626
13627 2002-10-04  Mark Wielaard <mark@klomp.org>
13628
13629         * java/security/Security.java: Use java.home or gnu.classpath.home
13630         to load providers.
13631         (loadProviders): Extra dir argument.
13632         (getProvider): Return null when not found.
13633
13634 2002-10-04  Mark Wielaard  <mark@klomp.org>
13635
13636         * java/lang/Throwable.java: Remerge with Classpath.
13637
13638 2002-10-04  Michael Koch  <konqueror@gmx.de>
13639
13640         * java/net/InetAddress.java:
13641         (isMulticastAddress): Added documentation.
13642         (getHostAddress): Added documentation.
13643         (toString): Added documentation.
13644         (getByAddress): Fixed documentation.
13645         (getByName): Added documentation.
13646         (getAllByName): Added documentation.
13647         (getLocalHost): Added documentation.
13648
13649 2002-10-04  Michael Koch  <konqueror@gmx.de>
13650
13651         * java/beans/beancontext/BeanContextChildSupport.java:
13652         Added serialVersionUID.
13653         * java/text/Collator.java: (compare): Made documentation HTML-aware.
13654         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
13655         * javax/naming/Name.java: Added serialVersionUID.
13656
13657 2002-10-03  Adam Megacz <adam@xwt.org>
13658
13659         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
13660         some functionality that isn't supported yet on WIN32.
13661
13662 2002-10-03  Tom Tromey  <tromey@redhat.com>
13663
13664         * Makefile.in: Rebuilt.
13665         * Makefile.am (awt_java_source_files): Added new files.
13666
13667 2002-10-03  Michael Koch  <konqueror@gmx.de>
13668
13669         * java/net/InetAddress.java
13670         (class InetAddress): Removed final keyword.
13671         (equals): Fixed typo.
13672         (getByAddress): New method.
13673
13674 2002-10-03  Michael Koch  <konqueror@gmx.de>
13675
13676         * java/awt/dnd/Autoscroll.java:
13677         New file, merge from Classpath.
13678         * java/awt/dnd/DragSourceAdapter.java:
13679         (dragExit): Fixed typos in argument type.
13680         (dragDropEnd): Fixed typos in argument type.
13681         * java/awt/dnd/DragSourceDropEvent.java:
13682         New file, merge from Classpath.
13683         * java/awt/dnd/DropTarget.java:
13684         Added stubs, merge from Classpath.
13685         * java/awt/dnd/DropTargetAdapter.java:
13686         New file, merge from Classpath.
13687         * java/awt/dnd/DropTargetContext.java:
13688         New file, merge from Classpath.
13689         * java/awt/dnd/DropTargetDragEvent.java:
13690         New file, merge from Classpath.
13691         * java/awt/dnd/DropTargetDropEvent.java:
13692         New file, merge from Classpath.
13693         * java/awt/dnd/DropTargetEvent.java:
13694         New file, merge from Classpath.
13695         * java/awt/dnd/DropTargetListener.java:
13696         New file, merge from Classpath.
13697         * java/awt/dnd/MouseDragGestureRecognizer.java:
13698         New file, merge from Classpath.
13699         * java/awt/dnd/peer/DropTargetContextPeer.java:
13700         New file, merge from Classpath.
13701
13702 2002-10-03  Michael Koch  <konqueror@gmx.de>
13703
13704         * java/net/DatagramPacket.java
13705         (setLength): Fixed typo and be HTML-aware.
13706         * java/net/InetSocketAddress.java
13707         (InetSocketAddress): Correct initialization of hostname, fixed typo.
13708         (equals): Added comment about equality of InetSocketAddress objects.
13709         * java/net/ServerSocket.java
13710         (accept): Added checks.
13711         (isClosed): New stubbed method.
13712         * java/net/SocketOptions.java: Reindention.
13713         * java/net/SocketPermission
13714         (SocketPermission): Documentation fixed.
13715
13716 2002-10-03  Michael Koch  <konqueror@gmx.de>
13717
13718         * java/net/DatagramSocket.java
13719         (receive): Check with SecurityManager AFTER the packet is received,
13720         check if connected to multicast address, documentation added.
13721         (send): Only check SecurityManager if connected, check address of
13722         packet to send.
13723         (connect): Implemented, documentation added.
13724         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
13725         * java/net/InetSocketAddress.java
13726         (whole file): Reindented.
13727         (hostname): New attribute.
13728         (InetSocketAddress): Initialize new attribute.
13729         (getAddress): Documentation added.
13730         (getHostName): Documentation added.
13731         (getPort): Documentation added.
13732         (hashCode): Documentation added.
13733         (isUnresolved): Documentation added.
13734         (toString): Conform to output of JDK 1.4.1, documentation added.
13735         * java/net/MulticastSocket.java
13736         (joinGroup): Removed FIXME, documentation added.
13737         (leaveGroup): Removed FIXME, documentation added.
13738         (send): Documentation added.
13739         * java/net/Socket.java
13740         (inputShutdown): New variable.
13741         (outputShutdown): New variable.
13742         (Socket): Initialize new variables.
13743         (getRemoteSocketAddress): Check if connected.
13744         (shutdownInput): Set new variable.
13745         (shutdownOutput): Set new variable.
13746         (isConnected): New method.
13747         (isClosed): New method.
13748         (isInputShutdown): New method.
13749         (isOutputShutdown): New method.
13750         * java/net/URLStreamHandler.java
13751         (URLStreamHandler): New method.
13752         (openConnection): Added documentation.
13753         (parseURL): Added documentation.
13754         (getHostAddress): New method.
13755         (getDefaultPort): New method.
13756
13757 2002-10-02  Tom Tromey  <tromey@redhat.com>
13758
13759         * java/rmi/activation/ActivationDesc.java,
13760         java/rmi/activation/ActivationGroupDesc.java,
13761         java/rmi/activation/ActivationGroupID.java,
13762         java/rmi/activation/ActivationID.java: New versions from
13763         Classpath.
13764
13765 2002-09-30  Bo Thorsen  <bo@suse.de>
13766
13767         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
13768
13769 2002-09-30  Tom Tromey  <tromey@redhat.com>
13770
13771         * java/io/ObjectInputStream.java (resolveProxyClass): New method
13772         from Classpath.
13773         * Makefile.in: Rebuilt.
13774         * Makefile.am (rmi_java_source_files): Added new files.
13775         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
13776         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
13777         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
13778         Classpath.
13779         * gnu/java/rmi/dgc/DGCImpl.java,
13780         gnu/java/rmi/dgc/DGCImpl_Skel.java,
13781         gnu/java/rmi/dgc/DGCImpl_Stub.java,
13782         gnu/java/rmi/registry/RegistryImpl_Skel.java,
13783         gnu/java/rmi/registry/RegistryImpl_Stub.java,
13784         gnu/java/rmi/server/RMIHashes.java,
13785         gnu/java/rmi/server/RMIObjectInputStream.java,
13786         gnu/java/rmi/server/RMIObjectOutputStream.java,
13787         gnu/java/rmi/server/UnicastConnection.java,
13788         gnu/java/rmi/server/UnicastConnectionManager.java,
13789         gnu/java/rmi/server/UnicastRef.java,
13790         gnu/java/rmi/server/UnicastServer.java,
13791         gnu/java/rmi/server/UnicastServerRef.java,
13792         java/rmi/MarshalledObject.java,
13793         java/rmi/server/RMIClassLoader.java,
13794         java/rmi/server/RemoteObject.java,
13795         java/rmi/server/UnicastRemoteObject.java,
13796         java/security/SecureClassLoader.java: Merged from Classpath.
13797
13798 2002-09-29  Anthony Green  <green@redhat.com>
13799
13800         * java/lang/reflect/UndeclaredThrowableException.java: New file.
13801         Imported from GNU Classpath.
13802         * java/lang/reflect/natProxy.cc: New file.
13803         * java/lang/reflect/InvocationHandler.java: New file.  Imported
13804         from GNU Classpath.
13805         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
13806         Classpath.
13807         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
13808         Classpath.
13809         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
13810         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
13811         New statics.
13812         * gcj/javaprims.h ("Java"): Add new classes.
13813         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
13814         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
13815         java/lang/reflect/Proxy$$ProxyType.h): And this.
13816         (inner_nat_headers): Add these new headers.
13817         (ordinary_java_source_files): Add new files.
13818         (nat_source_files): Add new file.
13819         * Makefile.in: Rebuilt.
13820
13821 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
13822
13823         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
13824         a single configuration.
13825
13826 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13827
13828         * java/util/TimeZone.java (getDSTSavings): New method.
13829         Fixes PR libgcj/7786.
13830
13831 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13832
13833         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
13834         to see if `the_method == 0' before looking up vtable index.
13835         Fixes PR libgcj/7709.
13836
13837 2002-09-25  Tom Tromey  <tromey@redhat.com>
13838
13839         * java/lang/natClassLoader.cc:
13840         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
13841         * resolve.cc: Include NoClassDefFoundError.h, not
13842         ClassNotFoundException.h.
13843         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
13844
13845         * defineclass.cc: Don't include ClassNotFoundException.h.
13846
13847         * resolve.cc: Include StringBuffer.
13848         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
13849
13850         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
13851         allocated but not initialized.
13852
13853 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13854
13855         Fix for PR libgcj/7766:
13856         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
13857         (getNextEntry): Set it.
13858         (closeEntry): Likewise.
13859         (read): Likewise.
13860         (close): Likewise.
13861         (available): Use it.
13862
13863 2002-09-25  Michael Koch  <konqueror@gmx.de>
13864
13865         * java/net/DatagramSocket.java
13866         (DatagramSocket): Initialize new instance variables.
13867         (close): Reset new instance variables.
13868         (getLocalAddress): Remove unneeded SecurityManager usage.
13869         (getLocalPort): Check if socket is already bound.
13870         (isConnected): New method.
13871         (getInetAddress): Implemented.
13872         (getPort): Better Implementation, documentation fixed.
13873         (getRemoteSocketAddress): New method.
13874         * java/net/JarURLConnection.java
13875         (element): Typo fixed.
13876         (getMainAttributes): New method.
13877         (getAttributes): New method (stub only).
13878         (getManifest): New method (stub only).
13879         * java/net/NetPermission.java: Added serialVersionsUID.
13880         * java/net/Socket.java
13881         (connect): Check blocking mode of associated channel,
13882         documentation added.
13883         (getLocalSocketAddress): Better implementation.
13884         (getRemoteSocketAddress): Implemented.
13885         (isBound): New method.
13886         (setSendBufferSize): Documentation added.
13887         * java/net/SocketAddress.java: Added serialVersionsUID.
13888         * java/net/SocketPermission.java: Added serialVersionsUID.
13889         * java/net/URL.java
13890         (URL): Wrap for shorter lines, initialize new instance variables,
13891         documentation added.
13892         (equals): Check new instance variables too.
13893         (getContent): Documentation added.
13894         (getPath): Documentation added.
13895         (getAuthority): New method.
13896         (getHost): Documentation added.
13897         (getPort): Documentation added.
13898         (getDefaultPort): New method.
13899         (getProtocol): Documentation added.
13900         (getUserInfo): Documentation added.
13901         (set): Initialize new instance variables, documentation added.
13902         * java/net/URLStreamHandler.java
13903         (setURL): New method.
13904         * java/net/natPlainDatagramSocketImpl.cc
13905         (connect): Fix exception name.
13906         (disconnect): Fix exception name.
13907
13908 2002-09-25  Michael Koch  <konqueror@gmx.de>
13909
13910         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
13911         * java/nio/channels/DatagramChannel.java:
13912         extends AbstractSelectableChannel
13913         * java/nio/channels/ServerSocketChannel.java:
13914         extends AbstractSelectableChannel
13915         * java/nio/channels/SocketChannel.java:
13916         extends AbstractSelectableChannel
13917         * Makefile.am (ordinary_java_source_files):
13918         java/nio/channels/spi/AbstractSelectableChannel.java added.
13919         * Makefile.in: Regenerated.
13920
13921 2002-09-25  Michael Koch  <konqueror@gmx.de>
13922
13923         * java/net/DatagramSocket.java
13924         (DatagramSocket): Exception documentation added.
13925         (bind): Exception documentation added, addded SecurityManager check,
13926         added SocketAddress type check.
13927         (getSoTimeout): Check impl.
13928         (receive): Fix SecurityManager check, check impl, documentation added.
13929         (send): Check channel mode, documentation added.
13930         (connect): New method.
13931         (disconnect): Implemented.
13932         (getLocalSocketAddress): New method.
13933         (getReceiveBufferSize): Check impl.
13934         (setReuseAddress): Check impl.
13935         (getReuseAddress): Check impl.
13936         (setBroadcast): Check impl.
13937         (getBroadcast): Check impl.
13938         (setTrafficClass): Check impl, Documentation cleared.
13939         (getTrafficClass): Check impl.
13940         (getSendBufferSize): Check impl.
13941         (setReceiveBufferSize): Check impl, documentation added.
13942         (setSendBufferSize): Documentation added.
13943         (setDatagramSocketImplFactory): New method.
13944         * java/net/HttpURLConnection.java
13945         (HTTP_INTERNAL_ERROR): The correct code is 500.
13946         (HTTP_NOT_IMPLEMENTED): Added new constant.
13947         (setFollowRedirects): Documentation added.
13948         (getInstanceFollowRedirects): New method.
13949         (setInstanceFollowRedirects): New method.
13950         (setRequestMethod): Documentation added.
13951         (getResponseCode): Documentation added.
13952         (getResponseMessage): Documentation added.
13953         * java/net/JarURLConnection.java
13954         (JarURLConnection): protected since JDK 1.4.
13955         (getJarEntry): java.io.IOException to IOException, documentation added.
13956         (getJarFile): Documentation added.
13957         * java/net/ServerSocket.java
13958         (ServerSocket): Private to public, exception added.
13959         (ServerSocket): java.io.IOException to IOException, documentation added.
13960         (bind): Check socket address type, documentation added.
13961         (bind): java.io.IOException to IOException, documentation added.
13962         (accept): Documentation added.
13963         (implAccept): Check ch is not non-blocking, documentation added.
13964         (setSoTimeout): Documentation fixed.
13965         (setReceiveBufferSize): Documentation added.
13966         * java/net/Socket.java
13967         (Socket): Documentation added.
13968         (bind): Documentation added.
13969         (connect): Check socket address type, documentation added.
13970         (getRemoteSocketAddress): New method.
13971         (getLocalSocketAddress): New method.
13972         (setSoLinger): Documentation added.
13973         (getReuseAddress): New method.
13974         (setReuseAddress): New method.
13975         (getTrafficClass): New method.
13976         (setTrafficClass): New method.
13977         * java/net/URLStreamHandler.java
13978         (openConnection): java.io.IOException to IOException.
13979         (parseURL): Documentation added.
13980         (sameFile): public to protected, documentation added.
13981         (setURL): Documentation added.
13982         * java/nio/IllegalBlockingModeException.java: New file.
13983         * Makefile.am (ordinary_java_source_files):
13984         added java/nio/IllegalBlockingModeException.java
13985         * Makefile.in: Regenerated.
13986
13987 2002-09-25  Michael Koch  <konqueror@gmx.de>
13988
13989         * java/net/DatagramPacket
13990         (DatagramPacket): Exception documentation added.
13991         (setData): Likewise.
13992         (setSocketAddress): Likewise.
13993         * java/net/DatagramSocketImpl.java
13994         (peek): Documentation addded.
13995         (peekData): Documentation addded.
13996         (send): Documentation addded.
13997         (receive): Documentation addded.
13998         (connect): New method.
13999         (disconnect): New method.
14000         (joinGroup): New abstract method.
14001         (leaveGroup): New abstract method.
14002         * java/net/InetSocketAddress.java
14003         (InetSocketAddress): Documentation added.
14004         (equals): final keyword added.
14005         (getAddress): final keyword added.
14006         (getHostName): final keyword added.
14007         (getPort): final keyword added.
14008         (hashCode): final keyword added.
14009         (isUnresolved): final keyword added.
14010         * java/net/MulticastSocket.java
14011         (MulticastSocket): Documentation added.
14012         (MulticastSocket): New method.
14013         (joinGroup): Documentation added.
14014         (joinGroup): New method.
14015         (leaveGroup): Documentation added.
14016         (leaveGroup): New method.
14017         (send): Documentation added.
14018         * java/net/NetworkInterface.java
14019         (getByName): Documentation added.
14020         (getByInetAddress): Documentation added.
14021         (getNetworkInterfaces): Documentation added.
14022         * java/net/PlainDatagramSocketImpl.java
14023         (connect): New method.
14024         (disconnect): New method.
14025         * java/net/SocketImpl.java
14026         (create): Documentation added.
14027         (shutdownInput): Convert public to protected, as it always was.
14028         (shutdownOutput): Convert public to protected, as it always was.
14029         * java/net/SocketOptions.java
14030         (whole file): Reintented.
14031         * java/net/URLClassLoader.java
14032         (URLClassLoader): SecurityManager check added, documentation added.
14033         (findResources): Documentation added.
14034         (findClass): Documentation added.
14035         (newInstance): More correct method arguments.
14036         * java/net/URLConnection.java
14037         (connect): Documentation added.
14038         (getContent): Documentation added.
14039         (getPermission): Documentation added.
14040         (getInputStream): Documentation added.
14041         (getOutputStream): Documentation added.
14042         (setDoInput): Throw correct exception, documentation added.
14043         (setDoOutput): Throw correct exception, documentation added.
14044         (setAllowUserInteraction): Throw correct exception, documentation added.
14045         (setUseCaches): Throw correct exception, documentation added.
14046         (setIfModifiedSince): Throw correct exception, documentation added.
14047         (setRequestProperty): Throw exception, documentation added.
14048         (addRequestProperty): Throw exception, documentation added.
14049         (getRequestProperty): Throw exception, documentation added.
14050         (getRequestProperties): Documentation added.
14051         (setContentHandlerFactory): Documentation added.
14052         (guessContentTypeFromName): protected to public.
14053         (setFileNameMap): Documentation added.
14054         * java/net/URLDecoder.java
14055         (URLDecoder): New method.
14056         (decode): Documentation added.
14057         (whole file): Reindented.
14058         * java/net/URLEncoder.java
14059         (encode): Documentation added.
14060         * java/net/natPlainDatagramSocketImpl.cc
14061         (connect): New method.
14062         (disconnect): New method.
14063         * javax/naming/RefAddr:
14064         (addrType): addrType was never final.
14065         (equals): Fix typo in method name.
14066         * javax/naming/BinaryRefAddr:
14067         (equals): Fix typo in method name.
14068
14069 2002-09-22  Tom Tromey  <tromey@redhat.com>
14070
14071         Fix for PR libgcj/6576:
14072         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
14073         didn't find a given bundle.
14074         (getBundle): Don't require base bundle.
14075         (setParent): Removed old comment.
14076         (tryLocalBundle): Try components even if preceding components were
14077         empty.
14078
14079 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14080
14081         * Makefile.am (all-multi): Fix multilib parallel build.
14082
14083 2002-09-21  Michael Koch  <konqueror@gmx.de>
14084
14085         * java/net/Socket.java
14086         (sendUrgentData): New method.
14087         (getChannel): New method.
14088         * java/net/ServerSocket.java
14089         (getChannel): New method.
14090         (isBound): New method.
14091         * java/net/DatagramSocket.java
14092         (DatagramSocket): Two new methods.
14093         (bind): New method.
14094         (getChannel): New method.
14095         (isBound): New method.
14096         (send): Added newline to to make shorter lines.
14097         * java/net/PlainDatagramSocketImpl.java
14098         (mcastGrp): Added argument.
14099         (join): Use new mcastGrp.
14100         (leave): Use new mcastGrp.
14101         (joinGroup): New method.
14102         (leaveGroup): New method.
14103         * java/net/natPlainDatagramSocketImpl.cc
14104         (mcastGrp): Added argument, no yet really implemented.
14105         (getOption): Added newline for shorter lines.
14106         * java/net/natPlainSocketImpl.cc
14107         (read, setOption, getOption): Added newline for shorter lines.
14108
14109 2002-09-19  Tom Tromey  <tromey@redhat.com>
14110
14111        * java/lang/ClassLoader.java (resolveClass0): Set cause for
14112        newly-created exception.
14113
14114 2002-09-18  Michael Koch  <konqueror@gmx.de>
14115
14116         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
14117         java/util/regex/PatternSyntaxException.java:
14118         Merge with classpath, new files.
14119         * Makefile.am (core_java_source_files):
14120         Added java/util/regex/Matcher.java,
14121         java/util/regex/Pattern.java,
14122         java/util/regex/PatternSyntaxException.java
14123         * Makefile.in: Regenerated.
14124         * include/config.h.in: Added HAVE_NET_IF_H.
14125         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
14126         Removed #if 0 ... #endif.
14127
14128 2002-09-17  Michael Koch  <konqueror@gmx.de>
14129
14130         * java/net/natNetworkInterface.cc:
14131         Removed unneed and yet wrong includes.
14132
14133 2002-09-17  Michael Koch  <konqueror@gmx.de>
14134
14135         * java/net/NetworkInterface.java: New file.
14136         * java/net/natNetworkInterface.java: New file.
14137         * configure.in: Added check for net/if.h.
14138         * configure: Regenerated.
14139         * Makefile.am
14140         (ordinary_java_source_files): Added NetworkInterface.java.
14141         (nat_source_files): Added natNetworkInterface.cc.
14142         * Makefile.in: Regenerated.
14143
14144 2002-09-16  Tom Tromey  <tromey@redhat.com>
14145
14146         * java/net/URLClassLoader.java (findClass): Code source for a
14147         class from a jar is not necessarily a jar: URL.
14148
14149 2002-09-16  Michael Koch  <konqueror@gmx.de>
14150
14151         * java/lang/AssertionError.java:
14152         Merge with classpath, fixes HTML.
14153         * java/rmi/server/LogStream.java:
14154         Merge with classpath, fixes some constants.
14155         * java/net/server/RemoteServer.java:
14156         Merge with classpath, adds serialVersionUID.
14157         * javax/naming/BinaryRefAddr.java:
14158         Merge with classpath, s/equal/equals/.
14159         * javax/naming/NamingException.java:
14160         Merge with classpath, fixed typo.
14161         * javax/naming/RefAddr.java:
14162         Merge with classpath, s/equal/equals/.
14163         * java/awt/Toolkit.java:
14164         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
14165         and typo fixed.
14166
14167 2002-09-15  Adam Megacz <adam@xwt.org>
14168
14169         * java/net/natPlainSocketImpl.cc: fixed typo.
14170
14171 2002-09-15  Adam Megacz <adam@xwt.org>
14172
14173         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
14174         which don't work on Win32 (yet).
14175
14176 2002-09-14  Adam Megacz <adam@xwt.org>
14177
14178         * java/net/natPlainDatagramSocket.cc: removed #include
14179         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
14180         * include/win32.h: included definition for IP_TOS to satisfy
14181         natPlainDatagramSocket.cc
14182
14183 2002-09-13  Michael Koch  <konqueror@gmx.de>
14184
14185         * java/net/DatagramPacket.java (DatagramPacket):
14186         Added linebreak for 80 chars per line.
14187         * java/net/JarURLConection.java
14188         (getInputStreami, getJarEntry): Likewise.
14189         * java/net/SocketPErmission.java
14190         (SocketPermission class docu, implies): Likewise.
14191         * java/net/URLClassLoader.java (findResources): Likewise.
14192         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
14193
14194 2002-09-13  Michael Koch  <konqueror@gmx.de>
14195
14196         * java/nio/channels/DatagramChannel.java,
14197         java/nio/channels/ServerSocketChannel.java
14198         java/nio/channels/SocketChannel.java:
14199         New dummy files to make java.net fully JDK 1.4 compatible
14200         * Makefile.am (ordinary_java_source_files): Added
14201         java/net/DatagramSocketImplFactory.java (long forgotten),
14202         java/nio/SocketChannel.java,
14203         java/nio/ServerSocketChannel.java,
14204         java/nio/DatagramChannel.java
14205         * Makefile.in: Regenrated.
14206
14207 2002-09-12  Michael Koch  <konqueror@gmx.de>
14208
14209         * java/net/DatagramSocketImpl.java
14210         (peekData): New method.
14211         * java/net/PlainDatagramSocketImpl.java
14212         (peekData): New method.
14213         * java/net/natPlainDatagramSocketImpl.cc
14214         (peekData): New method.
14215         * java/net/URLConnection
14216         (getPermission): New method.
14217         (addRequestProperty): New method.
14218         (getRequestProperties): New method.
14219         (guessContentTypeFromStream): New method, not really implemented.
14220         (URLConnection): Added/updated documentation.
14221         (connect): Added/updated documentation.
14222         (getURL): Added/updated documentation.
14223         (getContentLength): Added/updated documentation.
14224         (getContentType: Added/updated documentation.
14225         (getContentEncoding): Added/updated documentation.
14226         (getExpiration): Added/updated documentation.
14227         (getDate): Added/updated documentation.
14228         (getLastModified): Added/updated documentation.
14229         (getHeaderField): Added/updated documentation.
14230         (getHeaderFields): Added/updated documentation.
14231         (getHeaderFieldInt): Added/updated documentation.
14232         (getHeaderFieldDate): Added/updated documentation.
14233         (getHeaderFieldKey): Added/updated documentation.
14234         (getContent): Added/updated documentation.
14235         (getInputStream): Added/updated documentation.
14236         (getOutputStream): Added/updated documentation.
14237         (toString): Added/updated documentation.
14238         (setDoInput): Added/updated documentation.
14239         (getDoInput): Added/updated documentation.
14240         (setDoOutput): Added/updated documentation.
14241         (getDoOutput): Added/updated documentation.
14242         (setAllowUserInteraction): Added/updated documentation.
14243         (getAllowUserInteraction): Added/updated documentation.
14244         (setDefaultAllowUserInteraction): Added/updated documentation.
14245         (getDefaultAllowUserInteraction): Added/updated documentation.
14246         (setUseCaches): Added/updated documentation.
14247         (getUseCaches): Added/updated documentation.
14248         (setIfModifiedSince): Added/updated documentation.
14249         (getIfModifiedSince): Added/updated documentation.
14250         (getDefaultUseCaches): Added/updated documentation.
14251         (setDefaultUseCaches): Added/updated documentation.
14252         (setRequestProperty): Added/updated documentation.
14253         (getRequestProperty): Added/updated documentation.
14254         (setDefaultRequestProperty): Added/updated documentation.
14255         (getDefaultRequestProperty): Added/updated documentation.
14256         (setContentHandlerFactory): Added/updated documentation.
14257         (guessContentTypeFromName): Added/updated documentation.
14258         (getFileNameMap): Added/updated documentation.
14259         (setFileNameMap): Added/updated documentation.
14260
14261 2002-09-11  Michael Koch  <konqueror@gmx.de>
14262
14263         * java/net/Socket.java
14264         (Socket): protected to public (since JDK 1.4). Added @specnote.
14265         (bind): New method.
14266         (connect): Two new methods.
14267         (getKeepalive): Get correct socket option.
14268         (setKeepalive): Set correct socket option.
14269         (getOOBInline): New method.
14270         (setOOBInline): New method.
14271         * java/net/ServerSocket.java
14272         (bind): Two new methods.
14273         (getInetAddress): Reimplemented, catch exception.
14274         (getLocalSocketAddress): New method.
14275         (setReuseAddress): New method.
14276         (getReuseAdress): New method.
14277         (setReceiveBufferSize): New method.
14278         (getReceiveBufferSize): New method.
14279         (toString): Made string JDK 1.4 compliant.
14280
14281 2002-09-10  Michael Koch  <konqueror@gmx.de>
14282
14283         * java/net/SocketImpl.java
14284         (connect): New method.
14285         (supportsUrgentData): New method.
14286         (sendUrgentData): New method.
14287         * java/net/PlainSocketImpl.java
14288         (connect): One new method and two new implementation.
14289         (sendUrgentData): New method.
14290         * java/natPlainSocketImpl.cc
14291         (connect): Arguments changed, added support for timeouts.
14292         (getOption): Another __java_boolean to jboolean.
14293
14294 2002-09-07  Adam Megacz <adam@xwt.org>
14295
14296         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
14297         definition of IP_TOS.
14298
14299 2002-09-04  Michael Koch  <konqueror@gmx.de>
14300
14301         * java/net/DatagramSocket.java
14302         (DatagramSocket): Added documentation.
14303         (close): Likewise.
14304         (getLocalAddress): Likewise.
14305         (getLocalPort): Likewise.
14306         (receive): Likewise.
14307         (send): Likewise.
14308         (setSoTimeout): Likewise.
14309         (connect): New method.
14310         (disconnect): New method.
14311         (getInetAddress): New method (FIXME)
14312         (getPort): New method.
14313         (setReuseAddress): New method.
14314         (getReuseAddress): New method.
14315         (setBroadcast): New method.
14316         (getBroadcast): New method.
14317         (setTrafficClass): New method.
14318         (getTrafficClass): New method.
14319         * java/net/MulticastSocket.java):
14320         (getTTL): Added @see in documentation.
14321         (setTTL): Added @see in documentation.
14322         (setLoopbackMode): New method.
14323         (getLoopbackMode): New method.
14324         * java/net/PlainSocketImpl.java:
14325         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14326         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14327         * java/net/PlainDatagramSocketImpl.java
14328         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14329         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14330         * java/net/natPlainSocketImpl.cc
14331         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14332         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14333         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14334         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14335         This should also fix SO_KEEPALIVE
14336         * java/net/natPlainDatagramSocketImpl.cc
14337         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14338         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14339         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14340         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14341
14342 2002-09-04  Michael Koch  <konqueror@gmx.de>
14343
14344         * java/net/SocketOptions.java: added static variables to be JDK 1.4
14345         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
14346         IP_MULTICAST_LOOP, IP_TOS
14347
14348 2002-09-03  Tom Tromey  <tromey@redhat.com>
14349
14350         * java/lang/Class.h (_getDeclaredMethod): Declare.
14351         (_getMethod): Now private.
14352         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
14353         getDeclaredMethod.  Now returns NULL on failure.
14354         * java/lang/Class.java (_getDeclaredMethod): Declare.
14355         (getDeclaredMethod): No longer native; implements access checks.
14356
14357 2002-09-01  Mark Wielaard  <mark@klomp.org>
14358
14359         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
14360         (sanitizeStack): Correctly reset unknown and interpreter counters,
14361         detect interpreter runtime frames.
14362         (demangleInterpreterMethod): New method.
14363         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
14364         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
14365         filling in addrs[].
14366
14367 2002-09-02  Michael Koch  <konqueror@gmx.de>
14368
14369         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
14370         re-indented documentation.
14371
14372 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14373
14374         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
14375         public, per 1.4 spec.  Fixes PR libgcj/7785.
14376
14377 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
14378
14379         * Makefile.in: Rebuilt.
14380         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
14381
14382 2002-08-29  Tom Tromey  <tromey@redhat.com>
14383
14384         * java/net/JarURLConnection.java (getCertificates): New method
14385         from Classpath.
14386         * java/net/URLClassLoader.java (URLClassLoader): Extends
14387         SecureClassLoader.
14388         (definePackage): New method from Classpath.
14389         (getPermissions): Likewise.
14390         (newInstance): Likewise.
14391         (findClass): Construct CodeSource for new class (from Classpath).
14392         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
14393         methods.
14394         * java/net/URL.java (getUserInfo): New method.
14395         (set(String,String,int,String,String,String,String,String)): New
14396         method.
14397         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
14398         (shutdownInput, shutdownOutput): Declare.
14399         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
14400         Define.
14401         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
14402         (getOption): Likewise.
14403         (shutdownInput): New method.
14404         (shutdownOutput): Likewise.
14405         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
14406         keepalive.
14407         (getOption): Likewise.
14408         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
14409         * java/net/Socket.java (setKeepAlive): New method.
14410         (getKeepAlive): Likewise.
14411         (shutdownInput, shutdownOutput): New methods.
14412
14413 2002-08-29  Michael Koch  <konqueror@gmx.de>
14414
14415         * java/net/DatagramPacket.java: updated to JDK 1.4 API
14416         new methods are:
14417         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
14418           address),
14419         DatagramPacket(byte[] buf, int length, SocketAddress address),
14420         void setSocketAddress(SocketAddress address)
14421         public SocketAddress getSocketAddress()
14422
14423 2002-08-29  Tom Tromey  <tromey@redhat.com>
14424
14425         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
14426         ftruncate is missing.
14427         * configure, include/config.h.in: Rebuilt.
14428         * acconfig.h (HAVE_FTRUNCATE): Mention.
14429         * configure.in: Check for ftruncate.
14430
14431 2002-08-29  Tom Tromey  <tromey@redhat.com>
14432
14433         * include/jvm.h (struct _Jv_frame_info): New structure.
14434         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
14435         java-interp.h.
14436         (lookupInterp): New method.
14437         (getAddrAsString): Use _Jv_frame_info.
14438         (dladdrLookup): Likewise.
14439         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
14440         interpreted frame.
14441         (lookupInterp): Declare.
14442         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
14443         (fillInStackTrace): Collect information on interpreted frames.
14444         Use _Jv_frame_info.
14445         * interpret.cc: Include Thread.h.
14446         (run): Create and push _Jv_MethodChain object.
14447         (_Jv_EndOfInterpreter): New global.
14448         * java/lang/Thread.java (interp_frame): New field.
14449         * include/java-interp.h (struct _Jv_MethodChain): New structure.
14450         Include NameFinder.h.
14451
14452 2002-08-28  Tom Tromey  <tromey@redhat.com>
14453
14454         * java/lang/Class.h: Include Package.h.
14455         (Class::getProtectionDomain): Declare.
14456         (Class::getPackage): Declare.
14457
14458 2002-08-28  Michael Koch <konqueror@gmx.de>
14459
14460         * java/net/InetSocketAddress.java: Added some documentation and argument
14461         checks for the port numbers.
14462         * java/net/DatagramSocketImplFactory.java: New file.
14463
14464 2002-08-28  Michael Koch <konqueror@gmx.de>
14465
14466         * java/net/Authenticator.java: added some documentation.
14467
14468 2002-08-27  Tom Tromey  <tromey@redhat.com>
14469
14470         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
14471         class.
14472         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
14473
14474 2002-08-27  Michael Koch <konqueror@gmx.de>
14475
14476         * java/net/BindException.java,
14477         java/net/JarURLConnection.java,
14478         java/net/FileNameMap.java,
14479         java/net/HttpURLConnection.java,
14480         java/net/InetSocketAddress.java,
14481         java/net/DatagramPacket.java,
14482         java/net/DatagramSocket.java,
14483         java/net/DatagramSocketImpl.java,
14484         java/net/MulticastSocket.java,
14485         java/net/PasswordAuthentication.java,
14486         java/net/ServerSocket.java,
14487         java/net/Socket.java,
14488         java/net/URLClassLoader.java,
14489         java/net/URLConnection.java: add/update of some @since/@deprecated
14490
14491 2002-08-27  Tony Kimball <alk@pobox.com>
14492             Tom Tromey  <tromey@redhat.com>
14493
14494         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
14495         define.
14496         (::close): Removed.
14497         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
14498         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
14499         (::close): Removed.
14500         (PlainSocketImpl::close): Use NATIVE_CLOSE.
14501         * include/win32.h (getcwd): Removed declaration.  Include io.h.
14502
14503 2002-08-25  Adam Megacz <adam@xwt.org>
14504
14505         * include/win32.h (getcwd): copied function declaration as
14506         temporary fix for header confusion.
14507
14508 2002-08-24  Mark Wielaard <mark@klomp.org>
14509
14510         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
14511         (core_java_source_files): Add VMThrowable.java and NameFinder.java
14512         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
14513         and natNameFinder.cc.
14514         * Makefile.in: Regenerate.
14515         * prims.cc: Use trace_enabled from VMThrowable.
14516         * name-finder.cc: Removed.
14517         * gcj/javaprims.h: Add class VMThrowable.
14518         * gnu/gcj/runtime/NameFinder.java: New file.
14519         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
14520         * include/name-finder.h: Removed.
14521         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
14522         method stackTraceString().
14523         (printStackTrace (PrintWriter)): Likewise.
14524         (stackTraceString): Complete rewrite of old printStackTrace using
14525         StringBuffer.
14526         (stackTraceStringBuffer): New helper method for stackTraceString().
14527         (fillInStackTrace): Delegate to VMTrowable.
14528         (getStackTrace): Likewise.
14529         (getStackTrace0): Removed.
14530         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
14531         (setStackTrace): Copy given array.
14532         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
14533         * java/lang/VMThrowable.java: New class.
14534         * java/lang/natVMThrowable.cc: New file.
14535
14536 2003-08-23  Michael Koch  <konqueror@gmx.de>
14537
14538         * java/net/URLConnection.java,
14539         java/netJarURLConnection.java,
14540         gnu/gcj/protocol/core/Connection.java,
14541         gnu/gcj/protocol/file/Connection.java,
14542         gnu/gcj/protocol/http/Connection.java: Added implementation of
14543         getHeaderFields().
14544
14545 2002-08-22  Tom Tromey  <tromey@redhat.com>
14546
14547         * gij.cc (help): Document -cp and -classpath.
14548         (main): Handle -classpath.
14549
14550 2002-08-21  Tom Tromey  <tromey@redhat.com>
14551
14552         * Makefile.in: Rebuilt.
14553         * Makefile.am (ordinary_java_source_files): Added
14554         SocketAddress.java, InetSocketAddress.java.
14555         * java/net/PortUnreachableException.java: Merged with Classpath.
14556         * java/net/SocketTimeoutException.java: Likewise.
14557         * java/net/URISyntaxException.java: Likewise.
14558         * java/net/SocketAddress.java: New class from Classpath.
14559         * java/net/InetSocketAddress.java: Likewise.
14560
14561 2003-08-21  Michael Koch  <konqueror@gmx.de>
14562
14563         * java/net/Authenticator.java: updated JDK 1.4
14564         * java/net/ContentHandler.java: updated JDK 1.4
14565
14566 2002-08-20  Michael Koch  <konqueror@gmx.de>
14567
14568         * java/net/URISyntaxException.java: New file.
14569         * java/net/SocketTimeoutException.java: New file.
14570         * java/net/PortUnreachableException.java: New file.
14571         * Makefile.am: Updated.
14572         * Makefile.in: Rebuilt.
14573
14574 2002-08-18  Mark Wielaard  <mark@klomp.org>
14575
14576         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
14577         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
14578         MessageDigestSpi (fixes Classpath bug #783).
14579
14580 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14581
14582         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
14583         (startProcess): Allocate path for chdir in async-signal-safe way.
14584
14585 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14586
14587         Fix for PR libgcj/7570 and PR libgcj/7578:
14588         * java/lang/natPosixProcess.cc: Include java/io/File.h.
14589         (startProcess): Handle new `dir' argument.
14590         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
14591         argument.
14592         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
14593         argument.
14594         (startProcess): Likewise.
14595         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
14596         argument.
14597         * java/lang/Runtime.java (execInternal): Added `dir' argument.
14598         (exec): Don't create new environment if ENV==null.  Pass DIR to
14599         execInternal.
14600         * java/lang/natRuntime.cc: Include java/io/File.h.
14601         (execInternal): Added `dir' argument.
14602
14603 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
14604
14605         * java/io/RandomAccessFile.java (skipBytes): Return number of
14606         bytes skipped.
14607
14608 2002-08-01  Mark Wielaard  <mark@klomp.org>
14609
14610         Reenable patch since shared library troubles on powerpc are solved:
14611         * gnu/java/security/provider/Gnu.java: Reference all implementation
14612         classes by using Class.getName().
14613         * gnu/java/security/der/DEREncodingException.java,
14614         gnu/java/security/provider/DERReader.java,
14615         gnu/java/security/provider/DERWriter.java,
14616         gnu/java/security/provider/DSAKeyPairGenerator.java,
14617         gnu/java/security/provider/DSAParameterGenerator.java,
14618         gnu/java/security/provider/DSAParameters.java,
14619         gnu/java/security/provider/DSASignature.java,
14620         gnu/java/security/provider/GnuDSAPrivateKey.java,
14621         gnu/java/security/provider/GnuDSAPublicKey.java,
14622         gnu/java/security/provider/MD5.java,
14623         gnu/java/security/util/Prime.java: New classes
14624         * Makefile.am (ordinary_java_source_files): Add above files.
14625         * Makefile.in: Regenerate.
14626         * gnu/java/security/provider/DefaultPolicy.java
14627         (getPermissions): Don't maintain static class variable of Permissions.
14628         * gnu/java/security/provider/SHA.java
14629         (engineUpdate): algorithm change.
14630         (engineDigest): algorithm change.
14631
14632 2002-08-09  Mark Wielaard  <mark@klomp.org>
14633
14634         * java/awt/image/MemoryImageSource.java: Change constructor to take
14635         int[] not byte[].
14636         * java/awt/Graphics2D.java: Uncomment methods that can now be
14637         compiled.
14638         * java/awt/GridBagLayout.java: New stub implementation.
14639         * javax/swing/text/html/HTML.java: Stub implementation.
14640         * javax/swing/text/html/parser/ParserDelegator.java: New stub
14641         implementation.
14642
14643         * Makefile.am: Add new files.
14644         * Makefile.in: Rebuilt.
14645
14646 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14647
14648         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
14649         methods in Graphics2D.
14650
14651 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14652
14653         AWT/Swing merge from GNU Classpath.
14654
14655         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
14656         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
14657         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
14658         java/awt/color/ProfileDataException.java,
14659         java/awt/CompositeContext.java, java/awt/Composite.java,
14660         java/awt/ContainerOrderFocusTraversalPolicy.java,
14661         java/awt/datatransfer/FlavorTable.java,
14662         java/awt/DefaultFocusTraversalPolicy.java,
14663         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
14664         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
14665         java/awt/dnd/DragGestureListener.java,
14666         java/awt/dnd/DragGestureRecognizer.java,
14667         java/awt/dnd/DragSourceAdapter.java,
14668         java/awt/dnd/DragSourceContext.java,
14669         java/awt/dnd/DragSourceDragEvent.java,
14670         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
14671         java/awt/dnd/DragSourceListener.java,
14672         java/awt/dnd/DragSourceMotionListener.java,
14673         java/awt/dnd/DropTarget.java,
14674         java/awt/dnd/InvalidDnDOperationException.java,
14675         java/awt/dnd/peer/DragSourceContextPeer.java,
14676         java/awt/event/AWTEventListenerProxy.java,
14677         java/awt/event/MouseWheelEvent.java,
14678         java/awt/event/MouseWheelListener.java,
14679         java/awt/event/WindowFocusListener.java,
14680         java/awt/event/WindowStateListener.java,
14681         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
14682         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
14683         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
14684         java/awt/geom/FlatteningPathIterator.java,
14685         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
14686         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
14687         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
14688         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
14689         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
14690         java/awt/image/ImagingOpException.java,
14691         java/awt/image/RasterFormatException.java,
14692         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
14693         java/awt/image/VolatileImage.java,
14694         java/awt/image/WritableRenderedImage.java,
14695         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
14696         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
14697         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
14698         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
14699         java/awt/PageAttributes.java, java/awt/print/Book.java,
14700         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
14701         java/awt/print/Paper.java, java/awt/print/Printable.java,
14702         java/awt/print/PrinterAbortException.java,
14703         java/awt/print/PrinterException.java,
14704         java/awt/print/PrinterGraphics.java,
14705         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
14706         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
14707         java/awt/Stroke.java, java/awt/TexturePaint.java,
14708         javax/accessibility/AccessibleAction.java,
14709         javax/accessibility/AccessibleBundle.java,
14710         javax/accessibility/AccessibleComponent.java,
14711         javax/accessibility/AccessibleContext.java,
14712         javax/accessibility/AccessibleEditableText.java,
14713         javax/accessibility/AccessibleExtendedComponent.java,
14714         javax/accessibility/AccessibleExtendedTable.java,
14715         javax/accessibility/AccessibleHyperlink.java,
14716         javax/accessibility/AccessibleHypertext.java,
14717         javax/accessibility/AccessibleIcon.java,
14718         javax/accessibility/Accessible.java,
14719         javax/accessibility/AccessibleKeyBinding.java,
14720         javax/accessibility/AccessibleRelation.java,
14721         javax/accessibility/AccessibleRelationSet.java,
14722         javax/accessibility/AccessibleResourceBundle.java,
14723         javax/accessibility/AccessibleRole.java,
14724         javax/accessibility/AccessibleSelection.java,
14725         javax/accessibility/AccessibleState.java,
14726         javax/accessibility/AccessibleStateSet.java,
14727         javax/accessibility/AccessibleTable.java,
14728         javax/accessibility/AccessibleTableModelChange.java,
14729         javax/accessibility/AccessibleText.java,
14730         javax/accessibility/AccessibleValue.java,
14731         javax/swing/AbstractAction.java,
14732         javax/swing/AbstractButton.java,
14733         javax/swing/AbstractCellEditor.java,
14734         javax/swing/AbstractListModel.java,
14735         javax/swing/AbstractSet.java, javax/swing/Action.java,
14736         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
14737         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
14738         javax/swing/border/CompoundBorder.java,
14739         javax/swing/border/EmptyBorder.java,
14740         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
14741         javax/swing/border/LineBorder.java,
14742         javax/swing/border/MatteBorder.java,
14743         javax/swing/border/TitledBorder.java,
14744         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
14745         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
14746         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
14747         javax/swing/CellRendererPane.java,
14748         javax/swing/colorchooser/AbstractColorChooserPanel.java,
14749         javax/swing/colorchooser/ColorChooserComponentFactory.java,
14750         javax/swing/colorchooser/ColorSelectionModel.java,
14751         javax/swing/colorchooser/DefaultColorSelectionModel.java,
14752         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
14753         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
14754         javax/swing/DefaultBoundedRangeModel.java,
14755         javax/swing/DefaultButtonModel.java,
14756         javax/swing/DefaultCellEditor.java,
14757         javax/swing/DefaultCellRenderer.java,
14758         javax/swing/DefaultComboBoxModel.java,
14759         javax/swing/DefaultDesktopManager.java,
14760         javax/swing/DefaultFocusManager.java,
14761         javax/swing/DefaultListCellRenderer.java,
14762         javax/swing/DefaultListModel.java,
14763         javax/swing/DefaultListSelectionModel.java,
14764         javax/swing/DefaultSingleSelectionModel.java,
14765         javax/swing/DesktopManager.java,
14766         javax/swing/event/AncestorEvent.java,
14767         javax/swing/event/AncestorListener.java,
14768         javax/swing/event/CaretEvent.java,
14769         javax/swing/event/CaretListener.java,
14770         javax/swing/event/CellEditorListener.java,
14771         javax/swing/event/ChangeEvent.java,
14772         javax/swing/event/ChangeListener.java,
14773         javax/swing/event/DocumentEvent.java,
14774         javax/swing/event/DocumentListener.java,
14775         javax/swing/event/EventListenerList.java,
14776         javax/swing/event/HyperlinkEvent.java,
14777         javax/swing/event/HyperlinkListener.java,
14778         javax/swing/event/InternalFrameAdapter.java,
14779         javax/swing/event/InternalFrameEvent.java,
14780         javax/swing/event/InternalFrameListener.java,
14781         javax/swing/event/ListDataEvent.java,
14782         javax/swing/event/ListDataListener.java,
14783         javax/swing/event/ListSelectionEvent.java,
14784         javax/swing/event/ListSelectionListener.java,
14785         javax/swing/event/MenuDragMouseEvent.java,
14786         javax/swing/event/MenuDragMouseListener.java,
14787         javax/swing/event/MenuEvent.java,
14788         javax/swing/event/MenuKeyEvent.java,
14789         javax/swing/event/MenuKeyListener.java,
14790         javax/swing/event/MenuListener.java,
14791         javax/swing/event/MouseInputAdapter.java,
14792         javax/swing/event/MouseInputListener.java,
14793         javax/swing/event/PopupMenuEvent.java,
14794         javax/swing/event/PopupMenuListener.java,
14795         javax/swing/event/SwingPropertyChangeSupport.java,
14796         javax/swing/event/TableColumnModelEvent.java,
14797         javax/swing/event/TableColumnModelListener.java,
14798         javax/swing/event/TableModelEvent.java,
14799         javax/swing/event/TableModelListener.java,
14800         javax/swing/event/TreeExpansionEvent.java,
14801         javax/swing/event/TreeExpansionListener.java,
14802         javax/swing/event/TreeModelEvent.java,
14803         javax/swing/event/TreeModelListener.java,
14804         javax/swing/event/TreeSelectionEvent.java,
14805         javax/swing/event/TreeSelectionListener.java,
14806         javax/swing/event/TreeWillExpandListener.java,
14807         javax/swing/event/UndoableEditEvent.java,
14808         javax/swing/event/UndoableEditListener.java,
14809         javax/swing/filechooser/FileFilter.java,
14810         javax/swing/filechooser/FileSystemView.java,
14811         javax/swing/filechooser/FileView.java,
14812         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
14813         javax/swing/Icon.java, javax/swing/ImageIcon.java,
14814         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
14815         javax/swing/JApplet.java, javax/swing/JButton.java,
14816         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
14817         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
14818         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
14819         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
14820         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
14821         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
14822         javax/swing/JLayeredPane.java, javax/swing/JList.java,
14823         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
14824         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
14825         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
14826         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
14827         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
14828         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
14829         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
14830         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
14831         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
14832         javax/swing/JTextField.java, javax/swing/JTextPane.java,
14833         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
14834         javax/swing/JToolTip.java, javax/swing/JTree.java,
14835         javax/swing/JViewport.java, javax/swing/JWindow.java,
14836         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
14837         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
14838         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
14839         javax/swing/MenuSelectionManager.java,
14840         javax/swing/MutableComboBoxModel.java,
14841         javax/swing/OverlayLayout.java,
14842         javax/swing/plaf/ActionMapUIResource.java,
14843         javax/swing/plaf/basic/BasicBorders.java,
14844         javax/swing/plaf/basic/BasicButtonUI.java,
14845         javax/swing/plaf/basic/BasicCheckBoxUI.java,
14846         javax/swing/plaf/basic/BasicDefaults.java,
14847         javax/swing/plaf/basic/BasicGraphicsUtils.java,
14848         javax/swing/plaf/basic/BasicIconFactory.java,
14849         javax/swing/plaf/basic/BasicLabelUI.java,
14850         javax/swing/plaf/basic/BasicListUI.java,
14851         javax/swing/plaf/basic/BasicLookAndFeel.java,
14852         javax/swing/plaf/basic/BasicOptionPaneUI.java,
14853         javax/swing/plaf/basic/BasicPanelUI.java,
14854         javax/swing/plaf/basic/BasicRadioButtonUI.java,
14855         javax/swing/plaf/basic/BasicScrollPaneUI.java,
14856         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
14857         javax/swing/plaf/basic/BasicTextUI.java,
14858         javax/swing/plaf/basic/BasicToggleButtonUI.java,
14859         javax/swing/plaf/basic/BasicTreeUI.java,
14860         javax/swing/plaf/basic/BasicViewportUI.java,
14861         javax/swing/plaf/BorderUIResource.java,
14862         javax/swing/plaf/ButtonUI.java,
14863         javax/swing/plaf/ColorChooserUI.java,
14864         javax/swing/plaf/ColorUIResource.java,
14865         javax/swing/plaf/ComboBoxUI.java,
14866         javax/swing/plaf/ComponentInputMapUIResource.java,
14867         javax/swing/plaf/ComponentUI.java,
14868         javax/swing/plaf/DesktopIconUI.java,
14869         javax/swing/plaf/DesktopPaneUI.java,
14870         javax/swing/plaf/DimensionUIResource.java,
14871         javax/swing/plaf/FileChooserUI.java,
14872         javax/swing/plaf/FontUIResource.java,
14873         javax/swing/plaf/IconUIResource.java,
14874         javax/swing/plaf/InputMapUIResource.java,
14875         javax/swing/plaf/InsetsUIResource.java,
14876         javax/swing/plaf/InternalFrameUI.java,
14877         javax/swing/plaf/LabelUI.java,
14878         javax/swing/plaf/ListUI.java,
14879         javax/swing/plaf/MenuBarUI.java,
14880         javax/swing/plaf/MenuItemUI.java,
14881         javax/swing/plaf/OptionPaneUI.java,
14882         javax/swing/plaf/PanelUI.java,
14883         javax/swing/plaf/PopupMenuUI.java,
14884         javax/swing/plaf/ProgressBarUI.java,
14885         javax/swing/plaf/RootPaneUI.java,
14886         javax/swing/plaf/ScrollBarUI.java,
14887         javax/swing/plaf/ScrollPaneUI.java,
14888         javax/swing/plaf/SeparatorUI.java,
14889         javax/swing/plaf/SliderUI.java,
14890         javax/swing/plaf/SplitPaneUI.java,
14891         javax/swing/plaf/TabbedPaneUI.java,
14892         javax/swing/plaf/TableHeaderUI.java,
14893         javax/swing/plaf/TableUI.java,
14894         javax/swing/plaf/TextUI.java,
14895         javax/swing/plaf/ToolBarUI.java,
14896         javax/swing/plaf/ToolTipUI.java,
14897         javax/swing/plaf/TreeUI.java,
14898         javax/swing/plaf/UIResource.java,
14899         javax/swing/plaf/ViewportUI.java,
14900         javax/swing/ProgressMonitorInputStream.java,
14901         javax/swing/ProgressMonitor.java,
14902         javax/swing/Renderer.java,
14903         javax/swing/RepaintManager.java,
14904         javax/swing/RootPaneContainer.java,
14905         javax/swing/Scrollable.java,
14906         javax/swing/ScrollPaneConstants.java,
14907         javax/swing/ScrollPaneLayout.java,
14908         javax/swing/SingleSelectionModel.java,
14909         javax/swing/SizeRequirements.java,
14910         javax/swing/SizeSequence.java,
14911         javax/swing/SwingConstants.java,
14912         javax/swing/SwingUtilities.java,
14913         javax/swing/table/AbstractTableModel.java,
14914         javax/swing/table/DefaultTableCellRenderer.java,
14915         javax/swing/table/DefaultTableColumnModel.java,
14916         javax/swing/table/DefaultTableModel.java,
14917         javax/swing/table/TableCellEditor.java,
14918         javax/swing/table/TableCellRenderer.java,
14919         javax/swing/table/TableColumn.java,
14920         javax/swing/table/TableColumnModel.java,
14921         javax/swing/table/TableModel.java,
14922         javax/swing/text/AbstractDocument.java,
14923         javax/swing/text/AttributeSet.java,
14924         javax/swing/text/BadLocationException.java,
14925         javax/swing/text/Caret.java,
14926         javax/swing/text/CharacterIterator.java,
14927         javax/swing/text/ComponentView.java,
14928         javax/swing/text/DefaultCaret.java,
14929         javax/swing/text/DefaultEditorKit.java,
14930         javax/swing/text/Document.java,
14931         javax/swing/text/EditorKit.java,
14932         javax/swing/text/Element.java,
14933         javax/swing/text/GapContent.java,
14934         javax/swing/text/JTextComponent.java,
14935         javax/swing/text/Keymap.java,
14936         javax/swing/text/MutableAttributeSet.java,
14937         javax/swing/text/PlainDocument.java,
14938         javax/swing/text/PlainEditorKit.java,
14939         javax/swing/text/Position.java,
14940         javax/swing/text/Segment.java,
14941         javax/swing/text/StyledDocument.java,
14942         javax/swing/text/StyledEditorKit.java,
14943         javax/swing/text/Style.java,
14944         javax/swing/text/TextAction.java,
14945         javax/swing/text/ViewFactory.java,
14946         javax/swing/text/View.java,
14947         javax/swing/Timer.java,
14948         javax/swing/ToggleButtonModel.java,
14949         javax/swing/ToolTipManager.java,
14950         javax/swing/tree/AbstractLayoutCache.java,
14951         javax/swing/tree/DefaultMutableTreeNode.java,
14952         javax/swing/tree/DefaultTreeCellEditor.java,
14953         javax/swing/tree/DefaultTreeCellRenderer.java,
14954         javax/swing/tree/DefaultTreeModel.java,
14955         javax/swing/tree/DefaultTreeSelectionModel.java,
14956         javax/swing/tree/ExpandVetoException.java,
14957         javax/swing/tree/FixedHeightLayoutCache.java,
14958         javax/swing/tree/MutableTreeNode.java,
14959         javax/swing/tree/RowMapper.java,
14960         javax/swing/tree/TreeCellEditor.java,
14961         javax/swing/tree/TreeCellRenderer.java,
14962         javax/swing/tree/TreeModel.java,
14963         javax/swing/tree/TreeNode.java,
14964         javax/swing/tree/TreePath.java,
14965         javax/swing/tree/TreeSelectionModel.java,
14966         javax/swing/tree/VariableHeightLayoutCache.java,
14967         javax/swing/UIDefaults.java,
14968         javax/swing/UIManager.java,
14969         javax/swing/undo/AbstractUndoableEdit.java,
14970         javax/swing/undo/CannotRedoException.java,
14971         javax/swing/undo/CannotUndoException.java,
14972         javax/swing/undo/CompoundEdit.java,
14973         javax/swing/undo/StateEditable.java,
14974         javax/swing/undo/StateEdit.java,
14975         javax/swing/undo/UndoableEdit.java,
14976         javax/swing/undo/UndoableEditSupport.java,
14977         javax/swing/undo/UndoManager.java,
14978         javax/swing/UnsupportedLookAndFeelException.java,
14979         javax/swing/ViewportLayout.java,
14980         javax/swing/WindowConstants.java: New files, from GNU Classpath.
14981
14982         * java/awt/ActiveEvent.java,
14983         java/awt/Adjustable.java, java/awt/AWTError.java,
14984         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
14985         java/awt/AWTException.java, java/awt/AWTPermission.java,
14986         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
14987         java/awt/Color.java, java/awt/Component.java,
14988         java/awt/ComponentOrientation.java, java/awt/Container.java,
14989         java/awt/datatransfer/MimeTypeParseException.java,
14990         java/awt/datatransfer/Transferable.java,
14991         java/awt/datatransfer/UnsupportedFlavorException.java,
14992         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
14993         java/awt/event/ActionListener.java,
14994         java/awt/event/AdjustmentEvent.java,
14995         java/awt/event/AdjustmentListener.java,
14996         java/awt/event/AWTEventListener.java,
14997         java/awt/event/ComponentAdapter.java,
14998         java/awt/event/ComponentEvent.java,
14999         java/awt/event/ComponentListener.java,
15000         java/awt/event/ContainerAdapter.java,
15001         java/awt/event/ContainerEvent.java,
15002         java/awt/event/ContainerListener.java,
15003         java/awt/event/FocusAdapter.java,
15004         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
15005         java/awt/event/HierarchyBoundsAdapter.java,
15006         java/awt/event/HierarchyBoundsListener.java,
15007         java/awt/event/HierarchyEvent.java,
15008         java/awt/event/HierarchyListener.java,
15009         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
15010         java/awt/event/InputMethodListener.java,
15011         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
15012         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
15013         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
15014         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
15015         java/awt/event/MouseListener.java,
15016         java/awt/event/MouseMotionAdapter.java,
15017         java/awt/event/MouseMotionListener.java,
15018         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
15019         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
15020         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
15021         java/awt/event/WindowListener.java, java/awt/Font.java,
15022         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
15023         java/awt/geom/Ellipse2D.java,
15024         java/awt/geom/IllegalPathStateException.java,
15025         java/awt/geom/Line2D.java,
15026         java/awt/geom/NoninvertibleTransformException.java,
15027         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
15028         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
15029         java/awt/geom/RoundRectangle2D.java,
15030         java/awt/GraphicsConfiguration.java,
15031         java/awt/IllegalComponentStateException.java,
15032         java/awt/image/IndexColorModel.java,
15033         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
15034         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
15035         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
15036         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
15037         java/awt/MenuItem.java, java/awt/PaintContext.java,
15038         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
15039         java/awt/Polygon.java, java/awt/PrintGraphics.java,
15040         java/awt/PrintJob.java, java/awt/Rectangle.java,
15041         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
15042         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
15043         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
15044
15045         * java/awt/im/spi/InputMethod.java,
15046         java/awt/im/spi/InputMethodContext.java,
15047         java/awt/im/spi/InputMethodDescriptor.java,
15048         java/awt/image/renderable/ContextualRenderedImageFactory.java,
15049         java/awt/image/renderable/ParameterBlock.java,
15050         java/awt/image/renderable/RenderContext.java,
15051         java/awt/image/renderable/RenderableImage.java,
15052         java/awt/image/renderable/RenderableImageOp.java,
15053         java/awt/image/renderable/RenderableImageProducer.java,
15054         java/awt/image/renderable/RenderedImageFactory.java: New files from
15055         classpath.
15056
15057         * gnu/java/awt/EventModifier.java,
15058         gnu/java/awt/image/ImageDecoder.java,
15059         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
15060
15061         * gnu/awt/xlib/XGraphicsConfiguration.java,
15062         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
15063         API.
15064
15065         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
15066         GNU Classpath.
15067
15068         * Makefile.am: Add new files.
15069         * Makefile.in: Rebuilt.
15070
15071 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15072
15073         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
15074         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
15075         findResource, getResources, findResources): Add javadoc from classpath.
15076         (getSystemResources): Implemented.
15077
15078 2002-08-01  Mark Wielaard  <mark@klomp.org>
15079
15080         Revert patch that breaks libgcj shared library on powerpc:
15081         * gnu/java/security/provider/Gnu.java: Reverse referencing all
15082         implementation classes by using Class.getName(). Uses Strings again.
15083         * gnu/java/security/der/DEREncodingException.java,
15084         gnu/java/security/provider/DERReader.java,
15085         gnu/java/security/provider/DERWriter.java,
15086         gnu/java/security/provider/DSAKeyPairGenerator.java,
15087         gnu/java/security/provider/DSAParameterGenerator.java,
15088         gnu/java/security/provider/DSAParameters.java,
15089         gnu/java/security/provider/DSASignature.java,
15090         gnu/java/security/provider/GnuDSAPrivateKey.java,
15091         gnu/java/security/provider/GnuDSAPublicKey.java,
15092         gnu/java/security/provider/MD5.java,
15093         gnu/java/security/util/Prime.java: Removed.
15094         * Makefile.am (ordinary_java_source_files): Remove above files.
15095         * Makefile.in: Regenerate.
15096         * gnu/java/security/provider/DefaultPolicy.java
15097         (getPermissions): Revert to maintaining static class variable of
15098         Permissions.
15099         * gnu/java/security/provider/SHA.java
15100         (engineUpdate): Revert algorithm change.
15101         (engineDigest): Revert algorithm change.
15102
15103 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
15104
15105         * configure.host: Add SH support.
15106         * sysdep/sh/locks.h: New file.
15107
15108 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15109
15110         * java/awt/Frame.java (Frame): Remove println calls.
15111
15112 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
15113
15114         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
15115         * configure: Rebuilt.
15116
15117 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
15118
15119         * sysdep/powerpc/locks.h: Formatting.
15120         (_LARX): Define.
15121         (_STCX): Define.
15122         (compare_and_swap): Use _LARX and _STCX.
15123         (compare_and_swap_release): Likewise.
15124
15125 2002-07-26  Tom Tromey  <tromey@redhat.com>
15126
15127         * java/net/Authenticator.java: New version from Classpath.
15128         * java/net/DatagramSocketImpl.java: New version from Classpath.
15129
15130 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
15131
15132         * configure.host: Add powerpc64*-* entry.
15133
15134 2002-07-26  Tom Tromey  <tromey@redhat.com>
15135
15136         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
15137         fcntl.h.
15138
15139 2002-07-24  Tom Tromey  <tromey@redhat.com>
15140
15141         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
15142         argument to _load.
15143
15144 2002-07-24  Tom Tromey  <tromey@redhat.com>
15145             Tony Kimball <alk@pobox.com>
15146
15147         * java/io/natFileDescriptorWin32.cc (setLength): New method.
15148         * java/io/natFileDescriptorPosix.cc (setLength): New method.
15149         * java/io/RandomAccessFile.java (setLength): New method.
15150         * java/io/natFileDescriptorEcos.cc (setLength): New method.
15151         * java/io/FileDescriptor.java (setLength): New method.
15152
15153 2002-07-24  Mark Wielaard  <mark@klomp.org>
15154
15155         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
15156         * java/io/ObjectInputStream.java (setBooleanField): Before setting
15157         field call setAccessible(true).
15158         (setByteField): Likewise.
15159         (setCharField): Likewise.
15160         (setDoubleField): Likewise.
15161         (setFloatField): Likewise.
15162         (setIntField): Likewise.
15163         (setLongField): Likewise.
15164         (setShortField): Likewise.
15165         (setObjectField): Likewise.
15166
15167 2002-07-24  Tom Tromey  <tromey@redhat.com>
15168
15169         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
15170         use toString() to format array element.
15171
15172 2002-07-23  Mark Wielaard  <mark@klomp.org>
15173
15174         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
15175         MessageDigestSpi (fixes Classpath bug #783).
15176
15177 2002-07-21  Mark Wielaard  <mark@klomp.org>
15178
15179         * gnu/java/security/provider/Gnu.java: Reference all implementation
15180         classes by using Class.getName().
15181
15182 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
15183
15184         * java/lang/ieeefp.h: Add x86-64 support.
15185         * configure.in: Likewise.
15186         * configure.host: Likewise.
15187         * configure: Regenerated.
15188         * sysdep/x86-64/locks.h: New file with x86-64 locks.
15189
15190 2002-07-16  Mark Wielaard  <mark@klomp.org>
15191
15192         * java/io/StreamTokenizer.java (pushBack): Update documentation.
15193         (whitespaceChars): call resetChar().
15194
15195 2002-07-15  Tom Tromey  <tromey@redhat.com>
15196
15197         * Makefile.in: Rebuilt.
15198         * Makefile.am (awt_java_source_files): Added new files.
15199         * java/beans/ExceptionListener.java: Merged with Classpath.
15200         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
15201         * java/beans/PropertyChangeListener.java: Merged with Classpath.
15202         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
15203         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
15204         * java/beans/VetoableChangeListener.java: Merged with Classpath.
15205         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
15206         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
15207
15208 2002-07-14  Mark Wielaard  <mark@klomp.org>
15209
15210         * gnu/java/security/der/DEREncodingException.java,
15211         gnu/java/security/provider/DERReader.java,
15212         gnu/java/security/provider/DERWriter.java,
15213         gnu/java/security/provider/DSAKeyPairGenerator.java,
15214         gnu/java/security/provider/DSAParameterGenerator.java,
15215         gnu/java/security/provider/DSAParameters.java,
15216         gnu/java/security/provider/DSASignature.java,
15217         gnu/java/security/provider/GnuDSAPrivateKey.java,
15218         gnu/java/security/provider/GnuDSAPublicKey.java,
15219         gnu/java/security/provider/MD5.java,
15220         gnu/java/security/util/Prime.java: New files from Classpath.
15221         * Makefile.am (ordinary_java_source_files): Add new files.
15222         * Makefile.in: Regenerate.
15223
15224 2002-07-14  C. Brian Jones <cbj@gnu.org>
15225
15226         * gnu/java/security/provider/DefaultPolicy.java
15227         (getPermissions): do not maintain static class variable of
15228         Permissions
15229         * gnu/java/security/provider/SHA.java
15230         (engineUpdate): algorithm change
15231         (engineDigest): algorithm change
15232
15233 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
15234
15235         For PR libgcj/7292:
15236         * java/lang/Character.java (toString(char)): Now static.
15237
15238 2002-07-12  Mark Wielaard  <mark@klomp.org>
15239
15240         * java/lang/natThrowable.cc (printRawStackTrace): removed.
15241         (getStackTrace0): new method.
15242         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
15243         (printStackTrace(PrintWriter)): replace with pure java implementation.
15244         (printRawStackTrace): removed.
15245         (getStackTrace0): new method.
15246         * java/lang/StackTraceElement.java (toString): add extra whitespace.
15247         * gcj/javaprims.h: regenerate class list.
15248         * include/name-finder.h (lookup): new returns StackTraceElement*.
15249         (method_name, file_name): fields removed.
15250         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
15251         (~_Jv_name_finder): close new descriptors.
15252         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
15253         (createStackTraceElement): new method.
15254         (lookup): returns StackTraceElement*, uses createStackTraceElement().
15255
15256 2002-07-10  Tom Tromey  <tromey@redhat.com>
15257
15258         * configure: Rebuilt.
15259         * configure.in: Use `test' after `&&'.  From Chris Faylor.
15260
15261 2002-07-08  Mark Wielaard  <mark@klomp.org>
15262
15263         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
15264         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
15265         java.sql.DatabaseMetaData.TestJdbc20
15266
15267 2002-07-05  Tony Kimball  <alk@pobox.com>
15268
15269         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
15270
15271 2002-07-04  Tom Tromey  <tromey@redhat.com>
15272             Jeff Sturm  <jsturm@one-point.com>
15273
15274         Fix for PR libgcj/7060:
15275         * java/lang/Class.h (_getMethod): Renamed from getMethod.
15276         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
15277         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
15278         * java/lang/Class.java (getMethod): New Java implementation;
15279         complies with spec.
15280         (_getMethod): New native method.
15281
15282 2002-07-02  Tom Tromey  <tromey@redhat.com>
15283             David Hovemeyer  <daveho@cs.umd.edu>
15284
15285         * java/text/ChoiceFormat.java
15286         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
15287         in check loop.
15288         * java/text/MessageFormat.java
15289         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
15290         to MessageFormat.
15291
15292 2002-07-01  Tom Tromey  <tromey@redhat.com>
15293
15294         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
15295         StringTokenizer on null string.  For PR libgcj/7180.
15296         From daveho@cs.umd.edu.
15297
15298 2002-06-24  Tom Tromey  <tromey@redhat.com>
15299
15300         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
15301         (IntegerClass): Likewise.
15302         * java/lang/natClass.cc (CloneableClass): Removed.
15303         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
15304         ConstructorClass): Likewise.
15305         * java/lang/natClassLoader.cc (CloneableClass): Removed.
15306         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
15307         SerializableClass): Likewise.
15308         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
15309         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
15310         LongClass, FloatClass, DoubleClass): Likewise.
15311
15312         * verify.cc (branch_prepass): Updated for change to exception
15313         handler type.
15314         (verify_instructions_0): Likewise.
15315         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
15316         (handleExceptionTableEntry): Updated for change to exception
15317         handler type.
15318         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
15319         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
15320         (union _Jv_InterpPC): New.
15321         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
15322         (class _Jv_InterpMethod): Added new `prepared' field.
15323         (class _Jv_InterpMethod): Added `compile' method.  Removed
15324         `continue1' and `find_exception'.  Changed arguments to `run'.
15325         * interpret.cc (union insn_slot): New.
15326         (find_exception): Removed.
15327         (run_normal): Removed most logic.
15328         (run_synch_object): Likewise; also, use JvSynchronize.
15329         (run_synch_class): Likewise.
15330         (run): Removed.
15331         (continue1): Renamed as `run'.  Compile bytecode if required.
15332         Add new code to allow refinement of direct-threaded code at
15333         runtime.  Handle exceptions.
15334         (SAVE_PC): Removed.
15335         (compile): New method.
15336         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
15337         (NULLARRAYCHECK): Don't use SAVE_PC.
15338         (pc_t): New typedef.
15339         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
15340         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
15341
15342 2002-06-23  Tom Tromey  <tromey@redhat.com>
15343
15344         * configure: Rebuilt.
15345         * configure.in (INTERPRETER): New subst.
15346         (AM_RUNTESTFLAGS): Don't subst.
15347
15348         * Makefile.in: Rebuilt.
15349         * Makefile.am ($(srcdir)/java/lang/Object.h,
15350         $(srcdir)/java/lang/Class.h): Added dummy targets.
15351
15352 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15353
15354         Reformat JDBC classes and add new JDK 1.4 classes and methods.
15355
15356         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
15357         java/sql/Savepoint.java: New files.
15358         * java/sql/Array.java, java/sql/BatchUpdateException.java,
15359         java/sql/Blob.java, java/sql/CallableStatement.java,
15360         java/sql/Clob.java, java/sql/Connection.java,
15361         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
15362         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
15363         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
15364         java/sql/Ref.java, java/sql/ResultSet.java,
15365         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
15366         java/sql/SQLException.java, java/sql/SQLInput.java,
15367         java/sql/SQLOutput.java, java/sql/SQLWarning.java
15368         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
15369         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
15370         (JDK 1.4) specification.
15371         * javax/sql/ConnectionEvent.java,
15372         javax/sql/ConnectionEventListener.java,
15373         javax/sql/ConnectionPoolDataSource.java,
15374         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
15375         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
15376         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
15377         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
15378         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
15379         javax/sql/XADataSource.java: New files.
15380         * Makefile.am: Add new files.
15381         * Makefile.in: Rebuilt.
15382
15383 2002-06-20  Tom Tromey  <tromey@redhat.com>
15384
15385         For PR libgcj/7073:
15386         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
15387         exists.
15388         * defineclass.cc (handleClassBegin): Superclass for interface is
15389         `null'.
15390
15391 2002-06-18  Tom Tromey  <tromey@redhat.com>
15392
15393         * gcj/javaprims.h: Updated class declaration list.
15394         * Makefile.in: Rebuilt.
15395         * Makefile.am (core_java_source_files): Removed
15396         BasicMapEntry.java.
15397         * java/util/BasicMapEntry.java: Removed.
15398
15399 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
15400
15401         * java/net/natPlainDatagramSocketImpl.cc (receive):
15402         Check bounds of argument to FD_SET.
15403         (setOption): Throw exception if socket is closed.
15404
15405         * java/net/natPlainSocketImpl.cc (accept, read):
15406         Check bounds of argument to FD_SET.
15407         (setOption): Throw exception if socket is closed.
15408
15409 2002-06-18  Tom Tromey  <tromey@redhat.com>
15410
15411         * gcj/javaprims.h: Updated class declaration list.
15412         * Makefile.in: Rebuilt.
15413         * Makefile.am (core_java_source_files): Added
15414         PropertyPermissionCollection.java.
15415         * java/lang/Thread.java (group, name): Now package-private.
15416         * java/lang/ThreadGroup.java: Re-merge with Classpath.
15417         * java/util/AbstractList.java: Likewise.
15418         * java/util/AbstractMap.java: Likewise.
15419         * java/util/Calendar.java: Likewise.
15420         * java/util/Collections.java: Likewise.
15421         * java/util/HashMap.java: Likewise.
15422         * java/util/Hashtable.java: Likewise.
15423         * java/util/LinkedHashMap.java: Likewise.
15424         * java/util/LinkedList.java: Likewise.
15425         * java/util/List.java: Likewise.
15426         * java/util/ListResourceBundle.java: Likewise.
15427         * java/util/Map.java: Likewise.
15428         * java/util/Observable.java: Likewise.
15429         * java/util/Properties.java: Likewise.
15430         * java/util/PropertyPermission.java: Likewise.
15431         * java/util/PropertyPermissionCollection.java: Likewise.
15432         * java/util/PropertyResourceBundle.java: Likewise.
15433         * java/util/Random.java: Likewise.
15434         * java/util/SimpleTimeZone.java: Likewise.
15435         * java/util/StringTokenizer.java: Likewise.
15436         * java/util/TimerTask.java: Likewise.
15437         * java/util/TreeMap.java: Likewise.
15438         * java/util/WeakHashMap.java: Likewise.
15439         * java/util/jar/Attributes.java: Likewise.
15440         * java/util/jar/JarException.java: Likewise.
15441         * java/util/jar/Manifest.java: Likewise.
15442
15443 2002-06-17  Tom Tromey  <tromey@redhat.com>
15444
15445         * gcj/javaprims.h: Updated class declaration list.
15446         * Makefile.in: Rebuilt.
15447         * Makefile.am (core_java_source_files): Added new file.
15448         * java/util/EventListenerProxy.java: New file.
15449         * java/util/EventListener.java: Re-merge with Classpath.
15450         * java/util/EventObject.java: Re-merge with Classpath.
15451
15452 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
15453
15454         * java/lang/ClassNotFoundException.java: New Classpath version.
15455
15456 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
15457
15458         * java/rmi/activation/ActivateFailedException.java: Remerge from
15459         Classpath version.
15460         * java/rmi/activation/ActivationException.java: Ditto.
15461         * java/rmi/activation/UnknownGroupException.java: Ditto.
15462         * java/rmi/activation/UnknownObjectException.java: Ditto.
15463         * java/rmi/server/ExportException: Ditto.
15464         * java/rmi/server/ServerCloneException: Ditto.
15465         * java/rmi/server/ServerNotActiveException: Ditto.
15466         * java/rmi/server/SkeletonMismatchException: Ditto.
15467         * java/rmi/server/SkeletonNotFoundException: Ditto.
15468         * java/rmi/server/SocketSecurityException: Ditto.
15469
15470 2002-06-16  Tom Tromey  <tromey@redhat.com>
15471
15472         * gcj/javaprims.h: Updated class declaration list.
15473
15474         * java/io/LineNumberInputStream.java: Merged with Classpath.
15475
15476         * java/lang/RuntimeException.java: Re-merge with Classpath.
15477         * java/util/ArrayList.java: Likewise.
15478         * java/util/Arrays.java: Likewise.
15479         * java/util/BitSet.java: Likewise.
15480         * java/util/Dictionary.java: Likewise.
15481         * java/util/IdentityHashMap.java: Likewise.
15482         * java/util/MissingResourceException.java: Likewise.
15483         * java/util/Observer.java: Likewise.
15484         * java/util/TooManyListenersException.java: Likewise.
15485         * java/util/zip/DataFormatException.java: Likewise.
15486         * java/util/zip/ZipException.java: Likewise.
15487
15488 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
15489
15490         * java/rmi/AccessException.java: Remerge from Classpath.
15491         * java/rmi/AlreadyBoundException.java: Ditto.
15492         * java/rmi/ConnectException.java: Ditto.
15493         * java/rmi/ConnectIOException.java: Ditto.
15494         * java/rmi/MarshalException.java: Ditto.
15495         * java/rmi/NoSuchObjectException.java: Ditto.
15496         * java/rmi/NotBoundException.java: Ditto.
15497         * java/rmi/RemoteException.java: Ditto.
15498         * java/rmi/RMISecurityException.java: Ditto.
15499         * java/rmi/ServerError.java: Ditto.
15500         * java/rmi/ServerException.java: Ditto.
15501         * java/rmi/ServerRuntimeException.java: Ditto.
15502         * java/rmi/StubNotFoundException.java: Ditto.
15503         * java/rmi/UnexpectedExcpetion.java: Ditto.
15504         * java/rmi/UnknownHostException.java: Ditto.
15505         * java/rmi/UnmarshalException.java: Ditto.
15506
15507 2002-06-15  Tom Tromey  <tromey@redhat.com>
15508
15509         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
15510         * java/lang/ArithmeticException.java: Likewise.
15511         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
15512         * java/lang/ArrayStoreException.java: Likewise.
15513         * java/lang/Byte.java: Likewise.
15514         * java/lang/CharSequence.java: Likewise.
15515         * java/lang/ClassCastException.java: Likewise.
15516         * java/lang/ClassCircularityError.java: Likewise.
15517         * java/lang/ClassFormatError.java: Likewise.
15518         * java/lang/CloneNotSupportedException.java: Likewise.
15519         * java/lang/Cloneable.java: Likewise.
15520         * java/lang/Comparable.java: Likewise.
15521         * java/lang/Compiler.java: Likewise.
15522         * java/lang/Error.java: Likewise.
15523         * java/lang/ExceptionInInitializerError.java: Likewise.
15524         * java/lang/IllegalAccessError.java: Likewise.
15525         * java/lang/IllegalAccessException.java: Likewise.
15526         * java/lang/IllegalArgumentException.java: Likewise.
15527         * java/lang/IllegalMonitorStateException.java: Likewise.
15528         * java/lang/IllegalStateException.java: Likewise.
15529         * java/lang/IllegalThreadStateException.java: Likewise.
15530         * java/lang/IncompatibleClassChangeError.java: Likewise.
15531         * java/lang/IndexOutOfBoundsException.java: Likewise.
15532         * java/lang/InheritableThreadLocal.java: Likewise.
15533         * java/lang/InstantiationError.java: Likewise.
15534         * java/lang/InstantiationException.java: Likewise.
15535         * java/lang/InternalError.java: Likewise.
15536         * java/lang/InterruptedException.java: Likewise.
15537         * java/lang/LinkageError.java: Likewise.
15538         * java/lang/NegativeArraySizeException.java: Likewise.
15539         * java/lang/NoClassDefFoundError.java: Likewise.
15540         * java/lang/NoSuchFieldError.java: Likewise.
15541         * java/lang/NoSuchFieldException.java: Likewise.
15542         * java/lang/NoSuchMethodError.java: Likewise.
15543         * java/lang/NoSuchMethodException.java: Likewise.
15544         * java/lang/NullPointerException.java: Likewise.
15545         * java/lang/NumberFormatException.java: Likewise.
15546         * java/lang/OutOfMemoryError.java: Likewise.
15547         * java/lang/Process.java: Likewise.
15548         * java/lang/Runnable.java: Likewise.
15549         * java/lang/RuntimePermission.java: Likewise.
15550         * java/lang/SecurityException.java: Likewise.
15551         * java/lang/Short.java: Likewise.
15552         * java/lang/StackOverflowError.java: Likewise.
15553         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
15554         * java/lang/ThreadDeath.java: Likewise.
15555         * java/lang/ThreadLocal.java: Likewise.
15556         * java/lang/UnknownError.java: Likewise.
15557         * java/lang/UnsatisfiedLinkError.java: Likewise.
15558         * java/lang/UnsupportedClassVersionError.java: Likewise.
15559         * java/lang/UnsupportedOperationException.java: Likewise.
15560         * java/lang/VerifyError.java: Likewise.
15561         * java/lang/VirtualMachineError.java: Likewise.
15562         * java/lang/reflect/InvocationTargetException.java: Likewise.
15563         * java/net/BindException.java: Likewise.
15564         * java/net/ConnectException.java: Likewise.
15565         * java/net/MalformedURLException.java: Likewise.
15566         * java/net/NoRouteToHostException.java: Likewise.
15567         * java/net/ProtocolException.java: Likewise.
15568         * java/net/SocketException.java: Likewise.
15569         * java/net/UnknownHostException.java: Likewise.
15570         * java/net/UnknownServiceException.java: Likewise.
15571
15572         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
15573         * java/io/CharConversionException.java: Likewise.
15574         * java/io/EOFException.java: Likewise.
15575         * java/io/FileNotFoundException.java: Likewise.
15576         * java/io/IOException.java: Likewise.
15577         * java/io/InterruptedIOException.java: Likewise.
15578         * java/io/InvalidClassException.java: Likewise.
15579         * java/io/InvalidObjectException.java: Likewise.
15580         * java/io/NotActiveException.java: Likewise.
15581         * java/io/NotSerializableException.java: Likewise.
15582         * java/io/ObjectStreamException.java: Likewise.
15583         * java/io/ObjectStreamConstants.java: Likewise.
15584         * java/io/OptionalDataException.java: Likewise.
15585         * java/io/PipedInputStream.java: Likewise.
15586         * java/io/PushbackInputStream.java: Likewise.
15587         * java/io/StreamCorruptedException.java: Likewise.
15588         * java/io/SyncFailedException.java: Likewise.
15589         * java/io/UTFDataFormatException.java: Likewise.
15590         * java/io/UnsupportedEncodingException.java: Likewise.
15591         * java/io/WriteAbortedException.java: Likewise.
15592
15593 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
15594
15595         * java/text/ChoiceFormat.java: Update comments from Classpath.
15596         * java/text/ParseException.java (serialVersionUID): New
15597         field from Classpath.
15598         * java/text/ParseException.java: Update formatting & comments
15599         from Classpath.
15600
15601 2002-06-15  Tom Tromey  <tromey@redhat.com>
15602
15603         * java/util/zip/InflaterInputStream.java (read): Loop if data has
15604         been read but none output by inflater.
15605         * java/util/zip/natDeflater.cc (reset): Set is_finished.
15606         * java/util/zip/natInflater.cc (reset): Set dist_needed and
15607         is_finished.
15608         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
15609         version.
15610         * java/util/zip/ZipFile.java: Replaced with Classpath version.
15611         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
15612         * java/util/zip/ZipInputStream.java: Replaced with Classpath
15613         version.
15614         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
15615
15616 2002-06-13  Tom Tromey  <tromey@redhat.com>
15617
15618         * java/lang/natString.cc (init): Handle case where DONT_COPY is
15619         true and OFFSET!=0.
15620         * java/lang/String.java (String(char[],int,int,boolean): New
15621         constructor.
15622         * java/lang/Long.java: Imported new version from Classpath.
15623         * java/lang/Number.java: Likewise.
15624         * java/lang/Integer.java: Likewise.
15625         * java/lang/Long.java: Likewise.
15626         * java/lang/Float.java: Likewise.
15627         * java/lang/Boolean.java: Likewise.
15628         * java/lang/Double.java: Likewise.
15629         * java/lang/Void.java: Likewise.
15630
15631 2002-06-12  Tom Tromey  <tromey@redhat.com>
15632
15633         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
15634         Fixes PR libgcj/6652.
15635
15636 2002-06-10  Tom Tromey  <tromey@redhat.com>
15637
15638         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
15639         (Class::getPackagePortion): Likewise.
15640         * java/lang/Class.java (desiredAssertionStatus): New method from
15641         Classpath.
15642         (getPackagePortion): Likewise.
15643         * java/lang/VMClassLoader.java (defaultAssertionStatus,
15644         packageAssertionStatus, classAssertionStatus): New methods from
15645         Classpath.
15646         * java/lang/ClassLoader.java (defaultAssertionStatus,
15647         systemPackageAssertionStatus, packageAssertionStatus,
15648         systemClassAssertionStatus, classAssertionStatus): New fields from
15649         Classpath.
15650         (setDefaultAssertionStatus, setPackageAssertionStatus,
15651         setClassAssertionStatus, clearAssertionStatus): New methods from
15652         Classpath.
15653         * Makefile.in: Rebuilt.
15654         * Makefile.am (core_java_source_files): Added AssertionError.java.
15655         * java/lang/AssertionError.java: New from Classpath.
15656
15657 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15658
15659         * configure.host: Disable hash synchronization and slow_pthread_self
15660         for cygwin.
15661
15662 2002-06-06  Adam Megacz <adam@xwt.org>
15663
15664         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
15665         locking, just like the Sun JVM does.
15666
15667 2002-06-05  H.J. Lu  (hjl@gnu.org)
15668
15669         * Makefile.am (libgcj_convenience.la): Revert the last change.
15670         (libgcj.la): Likewise.
15671         * Makefile.in: Regenerated.
15672
15673 2002-06-04  H.J. Lu  (hjl@gnu.org)
15674
15675         * Makefile.am (libgcj_convenience.la): New target.
15676         (libgcj.la): Depend on libgcj_convenience.la.
15677         * Makefile.in: Regenerated.
15678
15679 2002-06-04  H.J. Lu  (hjl@gnu.org)
15680
15681         * configure.in (--with-newlib): New option:
15682         Check ${with_newlib} instead of ${with_cross_host} for newlib.
15683         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
15684         Linux.
15685         * configure: Regenerated.
15686
15687 2002-06-04  Tom Tromey  <tromey@redhat.com>
15688
15689         * java/util/natTimeZone.cc: Include <stdio.h>.
15690
15691 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
15692
15693         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
15694         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
15695         Set SIGNAL_HANDLER=include/s390-linux.h.
15696         * configure: Regenerate.
15697         * include/s390-linux.h: New file.
15698
15699 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15700
15701         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
15702         not "stackTrace".
15703
15704 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15705
15706         Merge JDK 1.4 java.security changes from classpath.
15707
15708         * java/security/AccessControlException.java: Merge from Classpath.
15709         * java/security/AccessController.java: Likewise.
15710         * java/security/AllPermission.java: Likewise.
15711         * java/security/BasicPermission.java: Likewise.
15712         * java/security/Certificate.java: Likewise.
15713         * java/security/CodeSource.java: Likewise.
15714         * java/security/DigestException.java: Likewise.
15715         * java/security/DigestOutputStream.java: Likewise.
15716         * java/security/DomainCombiner.java: Likewise.
15717         * java/security/GeneralSecurityException.java: Likewise.
15718         * java/security/Guard.java: Likewise.
15719         * java/security/GuardedObject.java: Likewise.
15720         * java/security/InvalidAlgorithmParameterException.java: Likewise.
15721         * java/security/InvalidKeyException.java: Likewise.
15722         * java/security/InvalidParameterException.java: Likewise.
15723         * java/security/Key.java: Likewise.
15724         * java/security/KeyException.java: Likewise.
15725         * java/security/KeyManagementException.java: Likewise.
15726         * java/security/KeyStoreException.java: Likewise.
15727         * java/security/MessageDigest.java: Likewise.
15728         * java/security/NoSuchAlgorithmException.java: Likewise.
15729         * java/security/NoSuchProviderException.java: Likewise.
15730         * java/security/Permission.java: Likewise.
15731         * java/security/PermissionCollection.java: Likewise.
15732         * java/security/Permissions.java: Likewise.
15733         * java/security/Policy.java: Likewise.
15734         * java/security/Principal.java: Likewise.
15735         * java/security/PrivateKey.java: Likewise.
15736         * java/security/PrivilegedAction.java: Likewise.
15737         * java/security/PrivilegedActionException.java: Likewise.
15738         * java/security/PrivilegedExceptionAction.java: Likewise.
15739         * java/security/ProtectionDomain.java: Likewise.
15740         * java/security/ProviderException.java: Likewise.
15741         * java/security/PublicKey.java: Likewise.
15742         * java/security/SecureClassLoader.java: Likewise.
15743         * java/security/SecurityPermission.java: Likewise.
15744         * java/security/SignatureException.java: Likewise.
15745         * java/security/UnrecoverableKeyException.java: Likewise.
15746         * java/security/UnresolvedPermission.java: Likewise.
15747         * java/security/acl/AclNotFoundException.java: Likewise.
15748         * java/security/acl/LastOwnerException.java: Likewise.
15749         * java/security/acl/NotOwnerException.java: Likewise.
15750         * java/security/cert/CRLException.java: Likewise.
15751         * java/security/cert/CertificateEncodingException.java: Likewise.
15752         * java/security/cert/CertificateException.java: Likewise.
15753         * java/security/cert/CertificateExpiredException.java: Likewise.
15754         * java/security/cert/CertificateFactory.java: Likewise.
15755         * java/security/cert/CertificateNotYetValidException.java: Likewise.
15756         * java/security/cert/CertificateParsingException.java: Likewise.
15757         * java/security/spec/InvalidKeySpecException.java: Likewise.
15758         * java/security/spec/InvalidParameterSpecException.java: Likewise.
15759
15760         * java/security/cert/CertPath.java: New file.
15761         * java/security/cert/CertPathBuilderException.java: New file.
15762         * java/security/cert/CertPathValidatorException.java: New file.
15763         * java/security/cert/CertStoreException.java: New file.
15764
15765         * Makefile.am: Add new CertPath classes.
15766         * Makefile.in: Rebuilt.
15767
15768         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
15769
15770 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15771
15772         Merge JDK 1.4 exception chaining support from classpath.
15773
15774         * java/lang/Throwable.java: Merge 1.4 support from classpath.
15775         (stackTraceBytes): Rename from stackTrace.
15776         * java/lang/Exception.java: Merge from classpath.
15777         * java/lang/StackTraceElement: New file from classpath.
15778         * gcj/javaprims.h: Rebuild CNI namespace declarations.
15779         * Makefile.am: Add StackTraceElement.
15780         * Makefile.in: Rebuilt.
15781
15782 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15783
15784         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
15785         they build first.
15786         * Makefile.in: Rebuilt.
15787
15788 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15789
15790         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
15791         * configure.in: Likewise.
15792         * aclocal.m4: Regenerate.
15793         * configure: Regenerate.
15794
15795 2002-05-13  Tom Tromey  <tromey@redhat.com>
15796
15797         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
15798         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
15799         Include platform.h.
15800
15801         Fixes PR libgcj/6389:
15802         * Makefile.in: Rebuilt.
15803         * Makefile.am (nat_source_files): Added natTimeZone.cc.
15804         * java/util/natTimeZone.cc: New file.
15805         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
15806         * java/lang/System.java: Merged with Classpath.
15807         * java/lang/Runtime.java: Merged with Classpath.
15808         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
15809         security check.
15810         (setIn0): Renamed from setIn; don't run security check.
15811         (setOut0): Renamed from setOut; don't run security check.
15812         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
15813         init_properties): Moved to natRuntime.cc.
15814         Moved many includes to natRuntime.cc.
15815         (isWordsBigEndian): New method.
15816         * java/lang/natRuntime.cc: Include Long.h, also other includes
15817         previously in natSystem.cc.
15818         (maxMemory): New function.
15819         (exitInternal): Renamed from `_exit'.
15820         (exit): Removed.
15821         (init): Don't set finalize_on_exit.
15822         (exitInternal): Use `finalizeOnExit'.
15823         (file_encoding, getpwuid_adaptor): New functions from
15824         natSystem.cc.
15825         (insertSystemProperties): New method, renamed from
15826         System::init_properties.  Don't set user.timezone.
15827         (_load): Don't call checkLink.
15828         (execInternal): New method.
15829         (availableProcessors): Likewise.
15830         (nativeGetLibname): Likewise.
15831
15832 2002-05-11  Mark Wielaard  <mark@klomp.org>
15833
15834         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
15835         space characters.
15836         (previous_internal): Likewise.
15837
15838 2002-05-09  Tom Tromey  <tromey@redhat.com>
15839
15840         * jni.cc (_Jv_JNIFunctions): Fixed typo.
15841
15842         * java/util/ResourceBundle.java: New version from Classpath.
15843         * java/util/Locale.java: Likewise.
15844
15845 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
15846
15847         * testsuite/lib/libjava.exp (libjava_arguments): Append all
15848         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
15849         LD_LIBRARY_PATH.
15850
15851 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
15852
15853         * libjava/Makefile.am (all_java_source_files): New variable.
15854         (all_java_class_files): Likewise.
15855         .java.class: New rule.
15856         (CLEANFILES): Remove tmp-list.
15857         * libjava/Makefile.in: Regenerated.
15858
15859 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
15860
15861         * testsuite/lib/libjava.exp (test_libjava_from_javac):
15862         Append .exe to executable names.  Fix for cygwin.
15863
15864 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
15865
15866         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
15867         script entry, and set LD to it when configuring multilibs.
15868         * configure: Rebuilt.
15869
15870 2002-05-07  Tom Tromey  <tromey@redhat.com>
15871
15872         * java/lang/natString.cc (unintern): Fixed typo.
15873
15874 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
15875
15876         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
15877         with -no-install on *-*-cygwin*.
15878
15879 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
15880
15881         * testsuite/lib/libjava.exp (test_libjava_from_source):
15882         Add comment explaining last patch
15883
15884 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
15885
15886         * testsuite/lib/libjava.exp (test_libjava_from_source):
15887         Append .exe to executable names.  If no suffix is present,
15888         then ".exe" is added by default on win32.  Harmless
15889         elsewhere so always do it.
15890
15891 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
15892             Tom Tromey  <tromey@redhat.com>
15893
15894         * java/lang/natSystem.cc (getSystemTimeZone): Use
15895         HAVE_UNDERSCORE_TIMEZONE.
15896         * include/config.h.in: Rebuilt.
15897         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
15898         * aclocal.m4, configure: Rebuilt.
15899         * acinclude.m4: Run AC_EXEEXT.
15900         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
15901         Add test for `_timezone'.
15902
15903 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
15904
15905         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15906         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
15907         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15908         * Makefile.in: Rebuilt.
15909
15910 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
15911
15912         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
15913         use sigaction instead of __libc_sigaction.
15914
15915 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15916
15917         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
15918         (libjava_init): Use it to find libgcj.spec.
15919         (libjava_arguments): Likewise.
15920
15921 2002-05-02  David S. Miller  <davem@redhat.com>
15922
15923         PR bootstrap/6525
15924         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
15925         __libc_sigaction on Sparc.
15926
15927 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
15928
15929         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
15930         sys/filio.h, if present.
15931
15932 2002-04-30  Tom Tromey  <tromey@redhat.com>
15933
15934         * java/io/BufferedReader.java (fill): Handle case where markPos
15935         point to ignored \n.  Fixes PR libgcj/6301.
15936
15937 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
15938
15939         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
15940
15941 2002-04-29  Adam King <aking@dreammechanics.com>
15942
15943         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
15944         of file in APPEND mode.
15945
15946 2002-04-25  David S. Miller  <davem@redhat.com>
15947
15948         PR target/6422
15949         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
15950         program counter to next program counter minus 8.  Update
15951         comments in this macro to explain why.
15952
15953 2002-04-26  Tom Tromey  <tromey@redhat.com>
15954
15955         * verify.cc (construct_primitive_array_type) [void_type]: New
15956         case.
15957         (branch_prepass): Added dummy entries for unused instruction
15958         values.
15959         (verify_instructions_0): Likewise.
15960         * interpret.cc (continue1): Comment fix.
15961         * include/java-insns.h (op_xxxunusedxxx1): Removed.
15962         * Makefile.in: Rebuilt.
15963         * Makefile.am: Added -Wswitch-enum.
15964
15965 2002-04-24  Tom Tromey  <tromey@redhat.com>
15966
15967         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
15968         correct length of UTF-8 encoded name.  Strip leading `/'.
15969         (_Jv_RegisterResource): Use _Jv_Malloc.
15970
15971 2002-04-23  Adam Megacz <adam@xwt.org>
15972
15973         * win32.cc, include/win32.cc (backtrace): Added this function
15974         because Win32 does not supply it.
15975
15976 2002-04-21  David S. Miller  <davem@redhat.com>
15977
15978         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
15979         magic instruction reading sequence.
15980
15981 2002-04-21  Mark Wielaard  <mark@klomp.org>
15982
15983         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
15984
15985 2002-04-19  David S. Miller  <davem@redhat.com>
15986
15987         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
15988         arg.
15989         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
15990         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
15991         on Sparc too.
15992         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
15993         for 64-bit sparc.
15994         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
15995         * sysdeps/sparc/locks.h: New file.
15996         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
15997         on all sparc Solaris configurations.  Set to
15998         include/dwarf2-signal.h on sparc Linux.
15999         * configure: Regenerate
16000         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
16001
16002 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
16003
16004         * configure: Rebuilt.
16005         * configure.in (backtrace): Function doesn't work on IA-64.
16006
16007 2002-04-17  Adam King <aking@dreammechanics.com>
16008
16009         * java/io/File.java (normalizePath): Add Win32 support for auto
16010         conversion of a '/' path separator to Win32's '\' separator.
16011
16012 2002-04-16  Tom Tromey  <tromey@redhat.com>
16013
16014         Fix for PR libgcj/6081:
16015         * Makefile.in: Rebuilt.
16016         * Makefile.am (install-data-local): Use GNU make trick to avoid
16017         shell limit.
16018
16019 2002-04-16  Adam King <aking@dreammechanics.com>
16020             Tom Tromey  <tromey@redhat.com>
16021
16022         * java/io/natFileWin32.cc (performList): Return the correct array
16023         type.  Don't duplicate the creation of a File since it's already
16024         done earlier in the method and the existing code would cause a
16025         ArrayStoreException.  Don't use fixed-size array.
16026         (_access, _stat, attr, getCanonicalPath, performMkdir,
16027         performRenameTo): Don't use fixed-size array.
16028         (getCanonicalPath): Use throw, not _Jv_Throw.
16029
16030 2002-04-15  DJ Delorie  <dj@redhat.com>
16031
16032         * configure.in: Allow building in $srcdir.
16033         * configure: Regenerated.
16034
16035 2002-04-14  Mark Wielaard <mark@klomp.org>
16036
16037         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
16038         * java/net/natSocketImpl.cc (close): Likewise.
16039
16040 2002-04-14  Mark Wielaard <mark@klomp.org>
16041
16042         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
16043
16044 2002-04-13  Adam King <aking@dreammechanics.com>
16045
16046         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
16047         the f/F/d/D modifiers.
16048
16049 2002-04-12  Anthony Green  <green@redhat.com>
16050
16051         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
16052         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
16053         * Makefile.in: Rebuilt.
16054         * configure.in: Substitute gcc_version.
16055         * configure: Rebuilt.
16056
16057 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16058
16059         * configure.host: Set can_unwind_signal on hosts which support it.
16060         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
16061         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
16062         exceptions and can_unwind_signal isn't set.
16063         * configure: Rebuilt.
16064
16065 2002-04-11  Tom Tromey  <tromey@redhat.com>
16066
16067         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
16068
16069 2002-04-11  Adam King <aking@dreammechanics.com>
16070             Tom Tromey  <tromey@redhat.com>
16071
16072         * include/jvm.h (_Jv_ThrowBadArrayIndex,
16073         _Jv_ThrowNullPointerException): Mark as noreturn.
16074         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
16075         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
16076         fixes.
16077
16078 2002-04-10  Tom Tromey  <tromey@redhat.com>
16079
16080         * Makefile.in: Rebuilt.
16081         * Makefile.am (java/lang/Thread.h): Mark
16082         _Jv_AttachCurrentThreadAsDaemon as friend.
16083         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
16084         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
16085         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
16086         function.
16087         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
16088         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
16089         (_Jv_JNI_InvokeFunctions): Added
16090         _Jv_JNI_AttachCurrentThreadAsDaemon.
16091         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
16092         (JNI_GetDefaultJavaVMInitArgs): Likewise.
16093         (JNI_CreateJavaVM): Likewise.
16094         (_Jv_JNI_AttachCurrentThread): Likewise.
16095         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
16096         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
16097         (_Jv_JNIFunctions): Initialize new fields.
16098         (_Jv_JNI_NewDirectByteBuffer): New function.
16099         (_Jv_JNI_GetDirectBufferAddress): Likewise.
16100         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
16101         * include/jni.h (JNI_VERSION_1_4): New macro.
16102         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
16103         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
16104         (JNINativeInterface::NewDirectByteBuffer): New field.
16105         (JNINativeInterface::GetDirectBufferAddress): New field.
16106         (JNINativeInterface::GetDirectBufferCapacity): New field.
16107         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
16108         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
16109         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
16110
16111 2002-04-09  Tom Tromey  <tromey@redhat.com>
16112
16113         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
16114
16115 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
16116
16117         Fix for PR libgcj/6187:
16118         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
16119         distance.
16120
16121 2002-04-07  Mark Wielaard <mark@klomp.org>
16122
16123         * java/util/AbstractMap.java (putAll): Use entrySet size.
16124         (toString): Explicitly use getKey() and getValue().
16125
16126 2002-04-07  Mark Wielaard <mark@klomp.org>
16127
16128         * java/util/Hashtable.java (contains): Remove NullPointer check.
16129         (containsValue): Add NullPointer check.
16130         (remove): Always throw NullPointerException when key
16131         is null.
16132
16133 2002-04-07  Adam King <aking@dreammechanics.com>
16134
16135         * java/lang/natSystem.cc (init_properties): Call new function
16136         _Jv_platform_initProperties.
16137         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
16138         support for the System properties os.name, os.arch, os.version,
16139         user.name, user.home, and user.dir.
16140         * include/posix.h, include/win32.h, posix.cc: New function
16141         _Jv_platform_initProperties.
16142
16143 2002-04-06  Mark Wielaard <mark@klomp.org>
16144
16145         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
16146
16147 2002-04-06  Mark Wielaard <mark@klomp.org>
16148
16149         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
16150         all of the remaining elements.
16151         * java/util/Vector.java (addAll(int,Collection)): Likewise.
16152         (removeRange): If toIndex == fromIndex do
16153         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
16154         (removeAll): Always throw NullPointerException when collection is
16155         null.
16156         (retrainAll): Likewise.
16157
16158 2002-04-05  Mark Wielaard <mark@klomp.org>
16159
16160         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
16161         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
16162
16163 2002-04-05  Adam Megacz <adam@xwt.org>
16164
16165         * exception.cc (abort): added static modifier
16166
16167 2002-04-04  Adam Megacz <adam@xwt.org>
16168
16169         * include/win32.h (_Jv_platform_close_on_exec): added inline
16170         modifier.
16171
16172 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
16173
16174         * configure.host: Add case statement to support generic port
16175         properties.  Add *-*-freebsd* section.
16176
16177 2002-04-04  Mark Wielaard  <mark@klomp.org>
16178
16179         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
16180         test.
16181         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
16182         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
16183         that depend on awt code and BufferedByteOutputStream.interrupt.
16184
16185 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16186
16187         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
16188         incorrect "hi" value when count > 40.
16189
16190 2002-04-03  Mark Wielaard  <mark@klomp.org>
16191
16192         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
16193         ordering.
16194
16195 2002-04-02  Tom Tromey  <tromey@redhat.com>
16196
16197         * java/lang/natClassLoader.cc (findClass): Compare against `3',
16198         not `0'.
16199
16200 2002-04-02  Mark Wielaard  <mark@klomp.org>
16201
16202         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
16203         list of testsuite crashers.
16204
16205 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16206
16207         * java/util/IdentityHashMap.java (put): Set new threshold correctly
16208         when resizing table.
16209
16210 2002-04-01  Mark Wielaard  <mark@klomp.org>
16211
16212         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
16213         NegativeArraySizeException
16214         (clear(int)): Use sign extended shift.
16215         (flip(int)): Likewise.
16216         (get(int)): Likewise.
16217         (nextClearBit(int)): Likewise.
16218         (nextSetBit(int)): Likewise.
16219         (set(int)): Likewise.
16220
16221 2002-04-01  Mark Wielaard  <mark@klomp.org>
16222
16223         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
16224         that can be compiled now and add testsuite crashers to ignore list.
16225
16226 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
16227
16228         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
16229
16230         * libgcj.spec.in: Override libgcc, not lib.
16231         * libgcj-test.spec.in: Likewise.
16232
16233 2002-03-29  Tom Tromey  <tromey@redhat.com>
16234
16235         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
16236         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
16237
16238 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
16239
16240         * java/net/PlainDatagramSocketImpl.java
16241         (close): Use native implementation.
16242         (finalize): New method.
16243
16244         * java/net/PlainSocketImpl.java (finalize): New method.
16245
16246         * java/net/natPlainDatagramSocketImpl.cc
16247         (java/io/FileDescriptor.h): Don't include.
16248         (close): Implement method here.
16249         (create): Don't assign fd.
16250
16251         * java/net/natPlainSocketImpl.cc
16252         (java/io/FileDescriptor.h): Don't include.
16253         (create): Don't assign fd.
16254         (accept): Likewise.
16255         (close): Synchronize.
16256
16257 2002-03-27  Richard Henderson  <rth@redhat.com>
16258
16259         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
16260
16261 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
16262
16263         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
16264         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
16265         instead of syscall on IA-64.
16266         Add FIXME comment.
16267
16268 2002-03-27  Anthony Green  <green@redhat.com>
16269
16270         * libgcj.spec.in: Add CHECKREFSPEC.
16271         * configure.in: Ditto.
16272         * configure.host: Ditto.  Check references for xscale-elf.
16273         * configure: Rebuilt.
16274
16275 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
16276
16277         * include/dwarf2-signal.h: Temporarily back out last change.
16278
16279 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
16280
16281         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
16282
16283 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
16284
16285         * configure.in, configure: enable dwarf2-exception-style
16286         exception handling on IA-64.
16287         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
16288         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
16289         Add FIXME comment.
16290
16291 2002-03-25  Tom Tromey  <tromey@redhat.com>
16292
16293         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
16294         (jv_convert_LDFLAGS): Likewise.
16295         (gij_LDFLAGS): Likewise.
16296         (rmic_LDFLAGS): Likewise.
16297         (rmiregistry_LDFLAGS): Likewise.
16298         * configure.in (THREADLDFLAGS): New subst; set correctly for
16299         *BSD.
16300
16301 2002-03-25  Tom Tromey  <tromey@redhat.com>
16302
16303         For PR libgcj/5303:
16304         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
16305         and --version.
16306         (help): New method.
16307         (version): Likewise.
16308         * gnu/gcj/convert/Convert.java (version): Removed extraneous
16309         "GNU".
16310         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
16311         "GNU".
16312
16313 2002-03-25  Tom Tromey  <tromey@redhat.com>
16314
16315         * java/awt/Component.java (processEvent): Check ComponentEvent
16316         after KeyEvent.
16317
16318 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16319
16320         * java/io/PushbackReader.java: Reformat.
16321
16322         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
16323         calculate correct number of bytes skipped.
16324
16325         Based on patch from Intel's ORP team:
16326         * java/io/PushbackInputStream.java (available): Calculate correct
16327         number of bytes in buffer.
16328         (read): Remove redundant bound check. Return bytes from both the
16329         buffer and the stream.
16330
16331 2002-03-24  Tom Tromey  <tromey@redhat.com>
16332
16333         * java/awt/TextComponent.java (TextComponent): Editable by
16334         default.
16335
16336         * java/awt/MenuItem.java (eventMask): No longer private.
16337         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
16338         superclass if we didn't handle event.
16339         * java/awt/Checkbox.java (dispatchEventImpl): New method.
16340         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
16341         * java/awt/Choice.java (dispatchEventImpl): New method.
16342         * java/awt/List.java (dispatchEventImpl): New method.
16343         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
16344         * java/awt/TextComponent.java (dispatchEventImpl): New method.
16345         * java/awt/TextField.java (dispatchEventImpl): New method.
16346
16347 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
16348
16349         * java/beans/IntrospectionException.java: Update to 1.4.
16350         * java/beans/PropertyVetoException.java: Ditto.
16351
16352 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
16353
16354         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
16355         Arrays.equals instead of ArrayHelper.equalsArray.
16356
16357 2002-03-24  C. Brian Jones <cbj@gnu.org>
16358
16359         * java/beans/Introspector.java: added new static final fields
16360         introduced in 1.2, lots of other updates remain to be done
16361
16362 2002-03-24  C. Brian Jones <cbj@gnu.org>
16363
16364         * java/beans/Introspector.java: reformatting
16365
16366 2002-03-24  C. Brian Jones <cbj@gnu.org>
16367
16368         * java/beans/Introspector.java: default beanInfoSearchPath will
16369         not include sun.beans.infos given we provide no such package and
16370         the API doesn't really require it; gnu.java.beans.info is the
16371         default.
16372
16373 2002-03-24  Mark Wielaard  <mark@klomp.org>
16374
16375         Thanks to Orp developers
16376         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
16377         switch TRUE and FALSE return values.
16378
16379 2002-03-23  Tom Tromey  <tromey@redhat.com>
16380
16381         * include/name-finder.h (_Jv_name_finder::myclose): New method.
16382         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
16383
16384 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
16385
16386         * java/util/GregorianCalendar.java (minimums, maximums): Correct
16387         MONTH entry.  Fixes PR libgcj/6045.
16388
16389 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
16390
16391         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
16392
16393 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16394
16395         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
16396         not release_set.
16397         * sysdep/powerpc/locks.h (write_barrier): New function.
16398         * sysdep/i386/locks.h (write_barrier): New function.
16399
16400 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
16401
16402         * include/jni.h Use correct C comments.
16403
16404 2002-03-18  Tom Tromey  <tromey@redhat.com>
16405
16406         * include/jni.h (JNIIMPORT): New macro.
16407         (JNIEXPORT): Likewise.
16408         (JNICALL): Likewise.
16409
16410 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16411
16412         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
16413         systems.
16414
16415 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
16416
16417         * include/i386-signal.h (old_i386_kernel_sigaction): New.
16418         INIT_SEGV: Use old_i386_kernel_sigaction.
16419         INIT_FP: Likewise.
16420
16421 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16422
16423         * java/lang/natSystem.cc (init_properties): Update VM version
16424         properties.
16425         * configure.in: Set GCJVERSION.
16426         * acconfig.h: Add GCJVERSION.
16427         * configure: Rebuilt.
16428         * include/config.h.in: Rebuilt.
16429
16430 2002-03-17  Anthony Green  <green@redhat.com>
16431
16432         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
16433
16434 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16435
16436         Build a single libgcj.so, without separate gc and zlib libraries.
16437         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
16438         SYS_ZLIBS if system zlib is used.
16439         * configure: Rebuilt.
16440         * Makefile.am: Use boehm-gc and zlib convenience libraries.
16441         * Makefile.in: Rebuilt.
16442         * libtool-version: Increment .so version number.
16443
16444         * Makefile.am: Escape quotes in echo.
16445         * Makefile.in: Rebuilt.
16446
16447 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16448
16449         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
16450         * Makefile.in: Rebuilt.
16451
16452 2002-03-15  Anthony Green  <green@redhat.com>
16453
16454         * configure.host (FILE): New macro for specifing File
16455         implementation.
16456         * configure: Rebuilt.
16457         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
16458
16459 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
16460
16461         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
16462         already implicitly brought in from libgcj.la.
16463         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
16464         * Makefile.in: Rebuilt.
16465
16466 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
16467
16468         * THANKS: Fix punctuation, alphabetization.
16469
16470 2002-03-15  Tom Tromey  <tromey@redhat.com>
16471             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16472
16473         Fix for PR libgcj/5944.
16474         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
16475
16476 2002-03-15  Anthony Green  <green@redhat.com>
16477
16478         * configure.in (tool_include_dir): Define.
16479         * configure: Rebuilt.
16480         * gcj/Makefile.am: Install libgcj-config.h relative to
16481         tool_include_dir.
16482         * gcj/Makefile: Rebuilt.
16483         * gcj/libgcj-config.h: Add warning comment.
16484
16485 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
16486
16487         * configure.host (powerpc*-darwin*): Enable interpreter.
16488
16489 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16490
16491         * include/posix.h: Add multiple include header protection.
16492         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
16493
16494 2002-03-10  Adam Megacz <adam@xwt.org>
16495
16496         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
16497
16498 2002-03-10  Tom Tromey  <tromey@redhat.com>
16499
16500         * java/awt/GridLayout.java (layoutContainer): Handle case where
16501         there are no items in container.
16502
16503         * java/lang/Win32Process.java: Added comment.
16504         * include/posix.h (_Jv_platform_close_on_exec): New function.
16505         Include fcntl.h.
16506         * include/win32.h (_Jv_platform_close_on_exec): New function.
16507         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
16508         flag.
16509         (accept): Likewise.
16510         * java/net/natPlainDatagramSocketImpl.cc (create): Set
16511         close-on-exec flag.
16512         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
16513         flag.
16514
16515 2002-03-09  Tom Tromey  <tromey@redhat.com>
16516
16517         * verify.cc (state::NO_STACK): New constant.
16518         (state::is_unmerged_ret_state): Handle case where stacktop is
16519         NO_STACK.
16520         (state::merge): Handle NO_STACK merges.
16521         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
16522         for instruction following jsr.
16523         (stacktop, stackdepth): Removed unused variables.
16524         (pop_jump): Ignore case where all remaining states are skipped.
16525
16526 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16527
16528         * java/awt/ImageMediaEntry: Removed.
16529         * java/awt/MediaEntry: Removed.
16530
16531 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16532
16533         Hashtable synchronization for PowerPC.
16534         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
16535         slow_pthread_self. Set up symlink for sysdeps directory.
16536         * configure: Rebuild.
16537         * configure.host: Document more shell variables. Set sysdeps_dir
16538         for most platforms. Set slow_pthread_self for i686. Set
16539         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
16540         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
16541         that memory barrier is emitted where required.
16542         * prims.cc: 64-bit align static primitive class instances.
16543         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
16544         read_barrier() to enforce ordering of reads.
16545         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
16546         primitives for PowerPC.
16547         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
16548         moved from natObject.cc.
16549         * sysdep/alpha/locks.h: Likewise.
16550         * sysdep/ia64/locks.h: Likewise.
16551         * sysdep/generic/locks.h: Likewise.
16552         * java/lang/natObject.cc: Move thread synchronization primitives to
16553         system-dependent headers.
16554
16555 2002-03-09  Adam Megacz  <adam@xwt.org>
16556
16557         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
16558         bytes read and no failure code returned.
16559
16560 2002-03-09  Adam Megacz  <adam@xwt.org>
16561
16562         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
16563         definitions to simulate -mthreads.
16564
16565 2002-03-09  Adam Megacz  <adam@xwt.org>
16566
16567         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
16568         avoid precision loss.
16569
16570 2002-03-09  Per Bothner  <per@bothner.com>
16571
16572         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
16573         * gnu/gcj/xlib/XImage.java:  Likewise.
16574         * gnu/gcj/xlib/XColor.java:  Likewise.
16575
16576 2002-03-09  Adam Megacz  <adam@xwt.org>
16577
16578         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
16579         IOException so that Throwable.printStackTrace fails correctly.
16580
16581 2002-03-08  Adam Megacz  <adam@xwt.org>
16582
16583         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
16584         fixed.
16585
16586 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16587
16588         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
16589         truncated to int.
16590
16591 2002-03-08  Tom Tromey  <tromey@redhat.com>
16592
16593         * include/jni.h: Include stdio.h.
16594
16595 2002-03-08  Tom Tromey  <tromey@redhat.com>
16596
16597         * posix.cc (internal_gettimeofday): New function.
16598         (_Jv_select): Use it.
16599
16600 2002-03-07  Adam Megacz  <adam@xwt.org>
16601
16602         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
16603         WIN32, and added thunks for read(), write(), and close().
16604         * java/net/natPlainSocketImpl.cc (accept, read, read):
16605         Disabled timeouts on WIN32 pending discussion.
16606
16607 2002-03-07  Adam Megacz  <adam@xwt.org>
16608
16609         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
16610         returns jlong. Added implementation
16611         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
16612         returns jlong.
16613         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
16614         returns jlong.
16615         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
16616         returns jlong.
16617         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
16618         _Jv_platform_gettimeofday signature.
16619
16620 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16621
16622         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
16623         (read): Call recv() directly, not _Jv_recv().
16624
16625 2002-03-06  Tom Tromey  <tromey@redhat.com>
16626
16627         * java/io/natFileDescriptorEcos.cc (init): Don't use
16628         GetStdHandle.
16629         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
16630         is negative.
16631         (init): Don't use GetStdHandle.
16632
16633         * include/config.h.in: Rebuilt.
16634         * configure: Rebuilt.
16635         * Makefile.in: Rebuilt.
16636
16637 2002-03-06  Adam Megacz  <adam@xwt.org>
16638
16639         * java/io/FileDescriptor.java: Initialize in/out/err in init().
16640         * java/io/natFileDescriptorWin32.cc (init()): Added function.
16641         * java/io/natFileDescriptorPosix.cc (init()): Added function.
16642         * java/io/natFileDescriptorEcos.cc (init()): Added function.
16643
16644 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
16645
16646         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
16647         the code for generating include/java-chartables.h.
16648         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
16649         merge with Classpath.
16650         * scripts/unicode-muncher.pl: Copy from Classpath.
16651         * scritps/MakeCharTables.java: New file.
16652         * gnu/gcj/convert/Blocks-3.txt: New file.
16653         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
16654         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
16655         * gnu/java/lang/CharData.java: Copy from Classpath.
16656         * Makefile.am (ordinary_java_source_files): Add
16657         gnu/java/lang/CharData.java.
16658         * configure.in: Remove --enable-fast-character option.
16659         * java/lang/Character.java: Merge algorithms and Javadoc with
16660         Classpath.
16661         * java/lang/natCharacter.cc: Implement Unicode lookup table more
16662         efficiently.
16663         * include/java-chardecomp.h: Regenerate.
16664         * include/java-chartables.h: Regenerate.
16665
16666 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16667
16668         * java/awt/MediaTracker.java: Implemented.
16669         * Makefile.am: Add MediaTracker.
16670         * Makefile.in: Rebuilt.
16671
16672 2002-03-05  Tom Tromey  <tromey@redhat.com>
16673
16674         * java/lang/natPosixProcess.cc (fail): Removed.
16675         (startProcess): Simplified error-handling.  Preserve
16676         LD_LIBRARY_PATH across exec.
16677
16678         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
16679         AbstractMethodError.
16680
16681 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16682
16683         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
16684         * Makefile.in: Rebuilt.
16685
16686 2002-03-03 Mark Wielaard <mark@klomp.org>
16687
16688         * java/util/Timer (TaskQueue.stop): set elements to zero.
16689
16690 2002-02-28  Anthony Green  <green@redhat.com>
16691
16692         * java/lang/reflect/natMethod.cc (result): Add void* element.
16693         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
16694         constructor test.
16695
16696 2002-02-27  Adam Megacz <adam@xwt.org>
16697
16698         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
16699         '#undef STRICT'.
16700
16701 2002-02-26  Tom Tromey  <tromey@redhat.com>
16702
16703         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
16704         * gij.cc (version): Use __VERSION__.
16705         * include/config.h.in: Rebuilt.
16706         * acconfig.h (GCJVERSION): Removed.
16707         * configure: Rebuilt.
16708         * configure.in (GCJVERSION): Removed.
16709
16710 2002-02-26  Andreas Schwab  <schwab@suse.de>
16711
16712         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
16713         glibcpp_CXX, since libjava uses even another CXX.
16714         * aclocal.m4, configure: Regenerated.
16715
16716 2002-02-26  Tom Tromey  <tromey@redhat.com>
16717
16718         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
16719         `1'.
16720
16721 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16722
16723         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
16724         dependency tracking for .java files.
16725         * Makefile.in: Rebuilt.
16726
16727 2002-02-24  Adam Megacz  <adam@xwt.org>
16728
16729         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
16730         typo. Sorry.
16731
16732 2002-02-24  Adam Megacz  <adam@xwt.org>
16733
16734         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
16735         for Win32, changed #ifdefs to check WIN32 instead of the
16736         (now-obsolete) USE_WINSOCK, and removed support for socket
16737         timeouts on Win32 pending further discussion.
16738
16739 2002-02-24  Adam Megacz  <adam@xwt.org>
16740
16741         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
16742         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
16743         delete
16744
16745 2002-02-24  Adam Megacz  <adam@xwt.org>
16746
16747         * java/lang/Win32Process.java: Created a dummy class to allow
16748         build process to run to completion.
16749
16750 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
16751
16752         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
16753         Define ffi_result union for ffi_call result.  Cast
16754         ffi_result members to jvalue.
16755
16756 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
16757
16758         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
16759         * testsuite/Makefile.in: Likewise.
16760
16761 2002-02-20  Per Bothner  <per@bothner.com>
16762
16763         * java/net/URL.java (getPath):  New JDK 1.3 method.
16764
16765         * java/net/URLStreamHandler.java (parseURL):
16766         It is wrong to prepend '/' to the file part of a relative url.
16767
16768         * java/net/URLStreamHandler.java (parseURL):
16769         Minor optizations - append '/' rather than "/".
16770
16771         * java/net/URLStreamHandler.java (parseURL):
16772         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
16773         We probably should canonicalize for a context-relative url, though.
16774         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
16775         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
16776         (sameFile):  New method.  Uses canonicalizeFilename.
16777
16778 2002-02-22  Tom Tromey  <tromey@redhat.com>
16779
16780         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
16781         java.vendor and java.vm.vendor.
16782         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
16783         recent copyright date.
16784         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
16785         * gij.cc (version): Print `Inc'.
16786
16787 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16788
16789         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
16790         * aclocal.m4, configure: Rebuilt.
16791
16792 2002-02-20  Per Bothner  <per@bothner.com>
16793
16794         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
16795         and/or output streams immediately here, instead of using File.exists.
16796         (inputStream, outputStream):  New fields to save open streams.
16797         (getInputStream, getOutputStream):  Use already-opened streams.
16798
16799 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16800
16801         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
16802         Use it.
16803         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
16804         * aclocal.m4, configure, Makefile.in: Rebuilt.
16805
16806 2002-02-19  Tom Tromey  <tromey@redhat.com>
16807
16808         Fix for PR libgcj/5696:
16809         * verify.cc (is_assignable_from_slow): Never call
16810         _Jv_IsAssignableFrom.
16811         (verify_instructions_0): Added new debug statement.
16812         (state::print): Print information about whether local has
16813         changed.
16814         (state::merge): Don't call note_variable when merging locals.
16815         (state::set_exception): Removed old FIXME comment.
16816
16817 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16818
16819         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
16820         enable SO_BROADCAST.
16821
16822 2002-02-18  Jason Merrill  <jason@redhat.com>
16823
16824         * name-finder.cc (toHex): Use word mode, not long long.
16825
16826         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
16827
16828 2002-02-15  Tom Tromey  <tromey@redhat.com>
16829
16830         Fix for PR libgcj/5695:
16831         * verify.cc (is_assignable_from_slow): Check to see if target is
16832         an Object before checking to see if source is an interface.
16833         (verify_instructions_0) [op_invokeinterface]: Handle case where
16834         we're making an interface call on Object.
16835
16836 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16837
16838         * Makefile.in: Rebuilt with Eric's change below.
16839
16840         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
16841         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
16842         Removed functions which are now implemented in Math.java.
16843
16844 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16845
16846         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
16847         * Makefile.am (core_java_source_files): Add
16848         java/lang/StrictMath.java.
16849         * java/lang/Math.java: Merge with Classpath.
16850         * java/lang/StrictMath.java: New file - merge with Classpath.
16851
16852 2002-02-14  Mark Wielaard  <mark@klomp.org>
16853
16854         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
16855         package as a workaround for gcj 3.0.x
16856
16857 2002-02-14  Mark Wielaard <mark@klomp.org>
16858
16859         * java/security/BasicPermission.java: extends with fully qualified
16860         classname as workaround for gcj 3.0.4.
16861
16862 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16863
16864         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
16865         around gcj bug of wrong emitted qualifier for inherited method.
16866         * java/net/SocketImpl.java (setOption, getOption): Ditto.
16867         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
16868         constructor to reduce amount of emitted bytecode. While this
16869         happens to work around a jikes 1.15 bug, it is still a useful
16870         patch even for correct compilers.
16871         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
16872         * gnu/java/rmi/server/UnicastRemoteCall.java
16873         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
16874
16875 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16876
16877         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
16878         * java/net/SocketImpl.java: Ditto.
16879         * java/rmi/server/RMIClassLoader.java: Ditto.
16880         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
16881
16882 2002-02-14  Mark Wielaard <mark@klomp.org>
16883
16884         Thanks to Takashi Okamoto
16885         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
16886         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
16887         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
16888
16889 2002-02-13  Todd Stock  <toddastock@yahoo.com>
16890
16891         Fix for PR libgcj/5670:
16892         * verify.cc (is_assignable_from_slow): If `source' is interface,
16893         recursively look for merge with `target'.
16894
16895 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
16896
16897         * include/jni.h: Fix typo.
16898
16899 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
16900
16901         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
16902         correctly.
16903
16904 2002-02-13  Todd Stock  <toddastock@yahoo.com>
16905
16906         Fix for PR libgcj/5671:
16907         * verify.cc (state::merge): Handle case where we're merging
16908         against an interface.
16909
16910 2002-02-12  Tom Tromey  <tromey@redhat.com>
16911
16912         * exception.cc (std::abort): Mark as noreturn.
16913
16914 2002-02-12  Adam Megacz <adam@xwt.org>
16915
16916         * java/lang/Win32Process.java: Filled in a placeholder
16917         implementation so Win32 will build.
16918
16919 2002-02-12  Adam Megacz <adam@xwt.org>
16920
16921         * java/io/natFilePosix.cc: Copied this from natFile.cc.
16922         * java/io/natFile.cc: Removed from repository.
16923         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
16924
16925 2002-02-12  Adam Megacz <adam@xwt.org>
16926
16927         * win32.cc: Added two #includes to make win32.cc compile.
16928
16929 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16930
16931         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
16932         declarations.
16933         (_Jv_InitGC): Don't bother locking, as this is always called from a
16934         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
16935
16936 2002-02-11  Adam Megacz <adam@xwt.org>
16937
16938         * include/win32.h: Added _Jv_platform_gettimeofday.
16939         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
16940
16941 2002-02-11  Adam Megacz <adam@xwt.org>
16942
16943         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
16944         Added #undef STRICT to make windows.h and
16945         java/lang/reflect/Modifier.h cooperate.
16946
16947 2002-02-11  Adam Megacz <adam@xwt.org>
16948
16949         * java/io/natFileWin32.cc: Created a placeholder class with lots
16950         of FIXMEs.
16951
16952 2002-02-11  Adam Megacz <adam@xwt.org>
16953
16954         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
16955         std::abort() to simply abort(). Also added "fake" std::abort() so
16956         we can #include unwind-pe.h without having to link against
16957         libstdc++-v3.
16958
16959 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
16960
16961         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
16962
16963 2002-02-08  Tom Tromey  <tromey@redhat.com>
16964
16965         * interpret.cc (convert): New function.
16966         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
16967         convert.
16968         Include Long.h.
16969
16970 2002-02-08  Anthony Green  <green@redhat.com>
16971
16972         * configure.host: Add support for xscale-elf embedded target.
16973
16974 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
16975
16976         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
16977         dereferenced.
16978         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
16979         frame.
16980
16981 2002-02-07  Tom Tromey  <tromey@redhat.com>
16982
16983         * java/io/natFile.cc (_access): Use __builtin_alloca.
16984         (_stat): Likewise.
16985         (attr): Likewise.
16986         (getCanonicalPath): Likewise.
16987         (performList): Likewise.
16988         (performMkdir): Likewise.
16989         (performSetReadOnly): Likewise.
16990         (performRenameTo): Likewise.
16991         (performSetLastModified): Likewise.
16992         (performCreate): Likewise.
16993         (performDelete): Likewise.
16994
16995 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16996
16997         * HACKING: Fix URL for the automake-gcj.
16998
16999 2002-02-07  Tom Tromey  <tromey@redhat.com>
17000
17001         * java/lang/natThrowable.cc: Updated copyright.
17002         * java/io/natFileWin32.cc: Updated copyright.
17003         * java/io/natFileDescriptorWin32.cc: Updated copyright.
17004         * win32-threads.cc: Updated copyright.
17005         * name-finder.cc: Updated copyright.
17006         * include/name-finder.h: Updated copyright.
17007
17008         * include/name-finder.h: Conditionally include sys/wait.h.
17009         * include/config.h.in: Rebuilt.
17010
17011         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
17012         Size buffer based on real size of string.
17013         (_stat): Likewise.
17014         (attr): Likewise.
17015         (getCanonicalPath): Likewise.
17016         (performList): Likewise.
17017         (performMkdir): Likewise.
17018         (performSetReadOnly): Likewise.
17019         (unixroot): Removed.
17020         (performRenameTo): Likewise.
17021         (performSetLastModified): Likewise.
17022         (performCreate): Likewise.
17023         (performDelete): Likewise.
17024         (performListRoots): Always return new array.
17025
17026         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
17027         * win32.cc (win32_exception_handler): Now static.
17028         * include/win32.h (_Jv_platform_initialize): Declare.
17029         (win32_exception_handler): Don't declare.
17030         * java/lang/natSystem.cc (currentTimeMillis): Use
17031         _Jv_platform_gettimeofday.
17032         * posix.cc (_Jv_platform_gettimeofday): Renamed.
17033         (_Jv_select): Use new name.
17034         (_Jv_platform_initialize): New function.
17035         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
17036         _Jv_gettimeofday.
17037         (_Jv_platform_initialize): Declare.
17038
17039         * configure: Rebuilt.
17040         * configure.in: Removed unnecessary parens.
17041
17042 2002-02-06  Adam Megacz <adam@xwt.org>
17043
17044        * configure.in: Changed mingw) to *mingw*).
17045        * win32.cc: Created this file.
17046        * win32.h: Created this file.
17047        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
17048        win32_exception_handler from prims.cc to win32.cc, added
17049        header in win32.h.
17050        * prims.cc: removed some #ifdef-WIN32'd headers which are no
17051        longer needed now that we have platform.h
17052
17053 2002-02-06  Adam Megacz <adam@xwt.org>
17054
17055         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
17056         use uint<n>_t instead of LONG and BYTE
17057
17058 2002-02-06  Adam Megacz <adam@xwt.org>
17059
17060         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
17061
17062 2002-02-06  Anthony Green  <green@redhat.com>
17063
17064         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
17065         Implement missing method stubs.
17066         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
17067         targets.
17068         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
17069         concept of timezones.
17070         (init_properties): Don't refer to _Jv_Environment_Properties
17071         when this feature is not available.
17072         * include/config.h.in: Rebuilt.
17073         * acconfig.h: Add DISABLE_MAIN_ARGS.
17074         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
17075         * configure: Rebuilt.
17076         * configure.in: Add --disable-main-args option.  Test for
17077           opendir function.  Replace AC_CHECK_SIZEOF with
17078           AC_COMPILE_CHECK_SIZEOF.
17079         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
17080         * aclocal.m4: Rebuilt.
17081         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
17082
17083 2002-02-06  Tom Tromey  <tromey@redhat.com>
17084
17085         * verify.cc (require_array_type): If argument is a null array of
17086         references, return null as the element type.
17087
17088 2002-02-06  Mark Wielaard  <mark@klomp.org>
17089
17090         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
17091         duplicate of a wide type.
17092
17093 2002-02-06  Tom Tromey  <tromey@redhat.com>
17094
17095         * verify.cc (type::isnull): New method.
17096         (require_array_type): Handle case where array is null.
17097         (verify_instructions_0) [op_arraylength]: Likewise.
17098
17099 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17100
17101         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
17102         Symlink PLATFORMH to platform.h.
17103         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
17104         PLATFORMOBJS.
17105         * java/lang/natSystem.cc: #include platform.h not posix.h.
17106         * Makefile.in: Rebuilt with libgcj automake.
17107         * configure: Rebuilt.
17108
17109 2002-02-05  Richard Henderson  <rth@redhat.com>
17110
17111         * Makefile.in: Undo munging last change.
17112
17113 2002-02-04  Adam Megacz <adam@xwt.org>
17114
17115         * win32.cc: Created it.
17116         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
17117         which is set to posix.cc or win32.cc.
17118         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
17119
17120 2002-02-04  Adam Megacz <adam@xwt.org>
17121
17122         * configure.in: Corrected mingw case branches; added * before
17123         and after.
17124
17125 2002-02-04  Adam Megacz <adam@xwt.org>
17126
17127         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
17128         if compiling for win32
17129
17130 2002-02-04  Adam Megacz <adam@xwt.org>
17131
17132         * win32-threads.cc: #undef STRICT after gc.h inclusion
17133
17134 2002-02-02  Tom Tromey  <tromey@redhat.com>
17135
17136         * Makefile.in: Rebuilt.
17137
17138 2002-02-02  Jason Merrill  <jason@redhat.com>
17139
17140         * Makefile.am (clean-nat): New target.
17141
17142 2002-02-02  Tom Tromey  <tromey@redhat.com>
17143
17144         * java/io/natFile.cc: Removed old "FIXME" comments.
17145
17146 2002-02-01  Tom Tromey  <tromey@redhat.com>
17147
17148         * java/lang/natPosixProcess.cc (myclose): New function.
17149         (fail): Use it.
17150         (startProcess): Likewise.
17151
17152 2002-02-01  Adam Megacz <adam@xwt.org>
17153
17154         * prims.cc: Added #undef STRICT after #include<windows.h>.
17155
17156 2002-02-01  Adam Megacz <adam@xwt.org>
17157
17158         * prims.cc
17159         (_Jv_CreateJavaVM): We now use WIN32 instead of
17160         USE_WIN32_SIGNALLING and USE_WINSOCK.
17161         (win32_exception_handler): Now throws an exception out of
17162         the signal handler; assumes SJLJ.
17163
17164 2002-02-01  Adam Megacz <adam@xwt.org>
17165
17166         * win32-threads.cc:
17167         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
17168         wait() algorithm to make it safe.
17169         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
17170         Added lazy creation of Win32 Events for better performance
17171         (really_start): This now uses GC_CreateThread so boehm-gc
17172         knows about new threads even when statically linked.
17173
17174 2002-02-01  Adam Megacz <adam@xwt.org>
17175
17176         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
17177         enable safer wait() algorithm.
17178         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
17179         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
17180         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
17181         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
17182         instead of mutex.
17183         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
17184
17185 2002-02-01  Adam Megacz <adam@xwt.org>
17186
17187         * configure.in: Added support for mingw.
17188         * java/lang/Win32Process.java: Created as empty file.
17189         * java/lang/natWin32Process.cc: Created as empty file.
17190
17191 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
17192
17193         PR java/4972
17194         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
17195         for libiconv in LIBICONV variable.
17196         * configure: Regenerated.
17197
17198 2002-01-31  Tom Tromey  <tromey@redhat.com>
17199
17200         * verify.cc (state::enter_subroutine): New method.
17201         (handle_jsr_insn): Use it.
17202         (state::merge): When processing a `ret', correctly use
17203         subroutine's state to determine which local variables have
17204         changed.
17205         (push_exception_jump): Don't let stack overflow.
17206
17207 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
17208
17209         * gnu/gcj/convert/Convert.java: Only include one copyright year in
17210         --version output.
17211
17212 2002-01-30  Tom Tromey  <tromey@redhat.com>
17213
17214         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
17215         parameter for `recv' return type.
17216
17217         * verify.cc (handle_ret_insn): Check for subroutine merge here...
17218         (state::merge): ... not here.
17219         (subr_entry_info): New structure.
17220         (entry_points): New field.
17221         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
17222         entry_points.
17223
17224 2002-01-29  Tom Tromey  <tromey@redhat.com>
17225
17226         * java/awt/List.java (addNotify): Correctly check to see if peer
17227         does not exist.
17228
17229         * java/awt/GridLayout.java (layoutContainer): Use number of rows
17230         to compute height of each cell, and number of columns to compute
17231         width of each cell.
17232         * java/awt/Window.java (getOwnedWindows): Don't return null.
17233         * java/awt/FlowLayout.java (layoutContainer): Set width and height
17234         of component.  Increment x using horizontal gap, not vertical
17235         gap.
17236
17237 2002-01-28  Tom Tromey  <tromey@redhat.com>
17238
17239         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
17240         `nargs' byte is number of words, not number of arguments.
17241
17242 2002-01-27  Tom Tromey  <tromey@redhat.com>
17243
17244         * java/awt/event/MouseEvent.java (modifiers): Removed field.
17245         (when): Likewise.
17246         * java/awt/event/InputEvent.java (modifiers, when): Now
17247         package-private.
17248
17249         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
17250         and to-do list.
17251         (state::merge): Use current class' class loader.
17252         (state::print): Print subroutine.
17253         (state::merge): Don't look at subroutine of unmerged `ret'.
17254
17255 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
17256
17257         * nogc.cc: Remove warnings.
17258         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
17259         New functions.
17260
17261 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17262
17263         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
17264         int, int):  Remove empty "if" statement to work around compiler bug.
17265         (newPixels(int[], ColorModel, int, int): Likewise.
17266
17267 2002-01-25  Per Bothner  <per@bothner.com>
17268
17269         * verify.cc (verify_fail):  Change from being a top-level function
17270         to e method of _Jv_BytecodeVerifier.  Emit current method name.
17271         Pass the current verifier to type: and state: methods as needed,
17272         for better error messages, and for resolve.
17273         (resolve):  Pass current class's loader for Class.forName and
17274         _Jv_FindClassFromSignature, rather than using the default loader.
17275         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
17276         (get_type_val_for_signature):  Make non-static.
17277         (various methods):  Pass start_PC implicitly, not explicitly.
17278
17279 2002-01-25  Tom Tromey  <tromey@redhat.com>
17280
17281         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
17282         loop termination condition.
17283         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
17284         width.
17285
17286 2002-01-24  Tom Tromey  <tromey@redhat.com>
17287
17288         * java/awt/Shape.java: Merged with Classpath.
17289         * java/awt/Scrollbar.java: Merged with Classpath.
17290
17291         * java/awt/Container.java (addNotify): Unconditionally call
17292         addNotifyContainerChildren and superclass addNotify.
17293
17294         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
17295         getAlpha, not getBlue.
17296
17297 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17298
17299         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
17300
17301         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
17302         (grabPixels(long)): Wait to be notified that the ImageProducer has
17303         completed.
17304
17305 2002-01-24  Per Bothner  <per@bothner.com>
17306
17307         * verify.cc (is_assignable_from_slow): If target is an interface,
17308         we must still check the source's superclass before giving up.
17309
17310 2002-01-24  Tom Tromey  <tromey@redhat.com>
17311
17312         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
17313
17314 2002-01-23  Tom Tromey  <tromey@redhat.com>
17315
17316         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
17317         `else'.
17318
17319         * Makefile.in: Rebuilt.
17320         * Makefile.am (awt_java_source_files): Added new files.
17321         * java/awt/Toolkit.java: Merged with Classpath.
17322         * java/awt/PrintGraphics.java: New file from Classpath.
17323         * java/awt/PrintJob.java: New file from Classpath.
17324         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
17325         * java/awt/datatransfer/ClipboardOwner.java: New file from
17326         Classpath.
17327         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
17328         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
17329         * java/awt/datatransfer/MimeTypeParseException.java: New file from
17330         Classpath.
17331         * java/awt/datatransfer/StringSelection.java: New file from
17332         Classpath.
17333         * java/awt/datatransfer/SystemFlavorMap.java: New file from
17334         Classpath.
17335         * java/awt/datatransfer/Transferable.java: New file from
17336         Classpath.
17337         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
17338         from Classpath.
17339
17340         * Makefile.in: Rebuilt.
17341         * Makefile.am (awt_java_source_files): Added new files.
17342         * java/awt/image/AreaAveragingScaleFilter.java: New file from
17343         Classpath.
17344         * java/awt/image/CropImageFilter.java: New file from Classpath.
17345         * java/awt/image/FilteredImageSource.java: New file from
17346         Classpath.
17347         * java/awt/image/ImageFilter.java: New file from Classpath.
17348         * java/awt/image/MemoryImageSource.java: New file from Classpath.
17349         * java/awt/image/PixelGrabber.java: New file from Classpath.
17350         * java/awt/image/RGBImageFilter.java: New file from Classpath.
17351         * java/awt/image/ReplicateScaleFilter.java: New file from
17352         Classpath.
17353         * java/awt/image/ImageProducer.java: Replaced with Classpath
17354         version.
17355         * java/awt/image/ImageObserver.java: Replaced with Classpath
17356         version.
17357         * java/awt/image/ImageConsumer.java: Replaced with Classpath
17358         version.
17359         * java/awt/GridBagConstraints.java (clone): Catch
17360         CloneNotSupportedException.
17361
17362 2002-01-23  Per Bothner  <per@bothner.com>
17363
17364         * java/lang/reflect/natField.cc (setAddr):  New function.
17365         Calls getAddr and then checks that the field isn't final.
17366         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
17367         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
17368         (set):  Call setAddr before check that new value has right type,
17369         to better match specified semantics.
17370
17371 2002-01-22  Tom Tromey  <tromey@redhat.com>
17372
17373         * java/awt/TextField.java: Replaced with Classpath version.
17374         * java/awt/TextArea.java: Replaced with Classpath version.
17375         * java/awt/TextComponent.java: Replaced with Classpath version.
17376
17377         * java/awt/GridBagConstraints.java: Updated copyright.
17378
17379 2002-01-22  Mark Wielaard <mark@klomp.org>
17380
17381         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
17382         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
17383         java/awt/Dialog.java java/awt/FileDialog.java
17384         java/awt/Font.java java/awt/FontMetrics.java
17385         java/awt/Image.java java/awt/ImageMediaEntry.java
17386         java/awt/Insets.java java/awt/List.java
17387         java/awt/MediaEntry.java java/awt/MediaTracker.java
17388         java/awt/Menu.java java/awt/MenuBar.java
17389         java/awt/MenuContainer.java java/awt/MenuShortcut.java
17390         java/awt/PaintContext.java java/awt/Panel.java
17391         java/awt/PopupMenu.java java/awt/SystemColor.java
17392         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
17393         java/awt/peer/CheckboxMenuItemPeer.java
17394         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
17395         java/awt/peer/ComponentPeer.java
17396         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
17397         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
17398         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
17399         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
17400         java/awt/peer/MenuBarPeer.java
17401         java/awt/peer/MenuComponentPeer.java
17402         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
17403         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
17404         java/awt/peer/ScrollPanePeer.java
17405         java/awt/peer/ScrollbarPeer.java
17406         java/awt/peer/TextAreaPeer.java
17407         java/awt/peer/TextComponentPeer.java
17408         java/awt/peer/TextFieldPeer.java
17409         java/awt/peer/WindowPeer.java: Add license clarification.
17410
17411 2002-01-22  Mark Wielaard <mark@klomp.org>
17412
17413         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
17414         gnu/gcj/runtime/StringBuffer.java
17415         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
17416         gnu/java/awt/ComponentDataBlitOp.java
17417         gnu/java/awt/GLightweightPeer.java
17418         gnu/java/beans/BeanInfoEmbryo.java
17419         gnu/java/beans/EmptyBeanInfo.java
17420         gnu/java/beans/ExplicitBeanInfo.java
17421         gnu/java/beans/IntrospectionIncubator.java
17422         gnu/java/beans/editors/ColorEditor.java
17423         gnu/java/beans/editors/FontEditor.java
17424         gnu/java/beans/editors/NativeBooleanEditor.java
17425         gnu/java/beans/editors/NativeByteEditor.java
17426         gnu/java/beans/editors/NativeDoubleEditor.java
17427         gnu/java/beans/editors/NativeFloatEditor.java
17428         gnu/java/beans/editors/NativeIntEditor.java
17429         gnu/java/beans/editors/NativeLongEditor.java
17430         gnu/java/beans/editors/NativeShortEditor.java
17431         gnu/java/beans/editors/StringEditor.java
17432         gnu/java/beans/info/ComponentBeanInfo.java
17433         gnu/java/io/ClassLoaderObjectInputStream.java
17434         gnu/java/io/NullOutputStream.java
17435         gnu/java/io/ObjectIdentityWrapper.java
17436         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
17437         gnu/java/lang/reflect/TypeSignature.java
17438         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
17439         gnu/java/locale/Calendar_en.java
17440         gnu/java/locale/Calendar_nl.java
17441         gnu/java/locale/LocaleInformation.java
17442         gnu/java/locale/LocaleInformation_de.java
17443         gnu/java/locale/LocaleInformation_en.java
17444         gnu/java/locale/LocaleInformation_nl.java
17445         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
17446         gnu/java/rmi/registry/RegistryImpl.java
17447         gnu/java/rmi/rmic/Compile_gcj.java
17448         gnu/java/rmi/rmic/Compiler.java
17449         gnu/java/rmi/rmic/CompilerProcess.java
17450         gnu/java/rmi/rmic/RMIC.java
17451         gnu/java/rmi/rmic/TabbedWriter.java
17452         gnu/java/rmi/server/ProtocolConstants.java
17453         gnu/java/rmi/server/RMIDefaultSocketFactory.java
17454         gnu/java/rmi/server/RMIHashes.java
17455         gnu/java/rmi/server/RMIObjectInputStream.java
17456         gnu/java/rmi/server/RMIObjectOutputStream.java
17457         gnu/java/rmi/server/UnicastConnection.java
17458         gnu/java/rmi/server/UnicastConnectionManager.java
17459         gnu/java/rmi/server/UnicastRef.java
17460         gnu/java/rmi/server/UnicastRemoteCall.java
17461         gnu/java/rmi/server/UnicastRemoteStub.java
17462         gnu/java/rmi/server/UnicastServer.java
17463         gnu/java/rmi/server/UnicastServerRef.java
17464         gnu/java/security/provider/DefaultPolicy.java
17465         gnu/java/security/provider/Gnu.java
17466         gnu/java/security/provider/SHA.java
17467         gnu/java/security/provider/SHA1PRNG.java
17468         gnu/java/text/BaseBreakIterator.java
17469         gnu/java/text/CharacterBreakIterator.java
17470         gnu/java/text/LineBreakIterator.java
17471         gnu/java/text/SentenceBreakIterator.java
17472         gnu/java/text/WordBreakIterator.java
17473         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
17474         java/applet/AppletContext.java java/applet/AppletStub.java
17475         java/applet/AudioClip.java java/awt/AWTError.java
17476         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
17477         java/awt/AWTException.java java/awt/AWTPermission.java
17478         java/awt/ActiveEvent.java java/awt/BorderLayout.java
17479         java/awt/Button.java java/awt/Canvas.java
17480         java/awt/CardLayout.java java/awt/Checkbox.java
17481         java/awt/CheckboxGroup.java java/awt/Component.java
17482         java/awt/ComponentOrientation.java java/awt/Container.java
17483         java/awt/Dimension.java java/awt/Event.java
17484         java/awt/EventDispatchThread.java java/awt/EventQueue.java
17485         java/awt/FlowLayout.java java/awt/Frame.java
17486         java/awt/Graphics.java java/awt/Graphics2D.java
17487         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
17488         java/awt/IllegalComponentStateException.java
17489         java/awt/ItemSelectable.java java/awt/Label.java
17490         java/awt/LayoutManager.java java/awt/LayoutManager2.java
17491         java/awt/MenuComponent.java java/awt/MenuItem.java
17492         java/awt/Paint.java java/awt/Point.java
17493         java/awt/Rectangle.java java/awt/RenderingHints.java
17494         java/awt/Transparency.java java/awt/Window.java
17495         java/awt/color/ColorSpace.java
17496         java/awt/color/ICC_ColorSpace.java
17497         java/awt/color/ICC_Profile.java
17498         java/awt/event/HierarchyBoundsAdapter.java
17499         java/awt/event/HierarchyBoundsListener.java
17500         java/awt/event/HierarchyEvent.java
17501         java/awt/event/HierarchyListener.java
17502         java/awt/geom/AffineTransform.java
17503         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
17504         java/awt/geom/IllegalPathStateException.java
17505         java/awt/geom/Line2D.java
17506         java/awt/geom/NoninvertibleTransformException.java
17507         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
17508         java/awt/geom/Rectangle2D.java
17509         java/awt/geom/RectangularShape.java
17510         java/awt/geom/RoundRectangle2D.java
17511         java/awt/image/BufferedImage.java
17512         java/awt/image/ColorModel.java
17513         java/awt/image/ComponentColorModel.java
17514         java/awt/image/ComponentSampleModel.java
17515         java/awt/image/DataBuffer.java
17516         java/awt/image/DataBufferByte.java
17517         java/awt/image/DataBufferInt.java
17518         java/awt/image/DataBufferUShort.java
17519         java/awt/image/DirectColorModel.java
17520         java/awt/image/PackedColorModel.java
17521         java/awt/image/Raster.java java/awt/image/RasterOp.java
17522         java/awt/image/SampleModel.java
17523         java/awt/image/SinglePixelPackedSampleModel.java
17524         java/awt/image/WritableRaster.java
17525         java/beans/AppletInitializer.java
17526         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
17527         java/beans/Beans.java java/beans/Customizer.java
17528         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
17529         java/beans/FeatureDescriptor.java
17530         java/beans/IndexedPropertyDescriptor.java
17531         java/beans/IntrospectionException.java
17532         java/beans/Introspector.java java/beans/MethodDescriptor.java
17533         java/beans/ParameterDescriptor.java
17534         java/beans/PropertyChangeEvent.java
17535         java/beans/PropertyChangeListener.java
17536         java/beans/PropertyChangeSupport.java
17537         java/beans/PropertyDescriptor.java
17538         java/beans/PropertyEditor.java
17539         java/beans/PropertyEditorManager.java
17540         java/beans/PropertyEditorSupport.java
17541         java/beans/PropertyVetoException.java
17542         java/beans/SimpleBeanInfo.java
17543         java/beans/VetoableChangeListener.java
17544         java/beans/VetoableChangeSupport.java
17545         java/beans/Visibility.java
17546         java/beans/beancontext/BeanContext.java
17547         java/beans/beancontext/BeanContextChild.java
17548         java/beans/beancontext/BeanContextChildComponentProxy.java
17549         java/beans/beancontext/BeanContextChildSupport.java
17550         java/beans/beancontext/BeanContextContainerProxy.java
17551         java/beans/beancontext/BeanContextEvent.java
17552         java/beans/beancontext/BeanContextMembershipEvent.java
17553         java/beans/beancontext/BeanContextMembershipListener.java
17554         java/beans/beancontext/BeanContextProxy.java
17555         java/beans/beancontext/BeanContextServiceAvailableEvent.java
17556         java/beans/beancontext/BeanContextServiceProvider.java
17557         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
17558         java/beans/beancontext/BeanContextServiceRevokedEvent.java
17559         java/beans/beancontext/BeanContextServiceRevokedListener.java
17560         java/beans/beancontext/BeanContextServices.java
17561         java/beans/beancontext/BeanContextServicesListener.java
17562         java/io/BufferedInputStream.java
17563         java/io/BufferedOutputStream.java java/io/BufferedReader.java
17564         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
17565         java/io/ByteArrayOutputStream.java
17566         java/io/CharArrayReader.java java/io/CharArrayWriter.java
17567         java/io/CharConversionException.java java/io/DataInput.java
17568         java/io/DataInputStream.java java/io/DataOutput.java
17569         java/io/EOFException.java java/io/Externalizable.java
17570         java/io/FileFilter.java java/io/FileNotFoundException.java
17571         java/io/FilePermission.java java/io/FileReader.java
17572         java/io/FileWriter.java java/io/FilenameFilter.java
17573         java/io/FilterInputStream.java java/io/FilterOutputStream.java
17574         java/io/FilterReader.java java/io/FilterWriter.java
17575         java/io/IOException.java java/io/InputStream.java
17576         java/io/InterruptedIOException.java
17577         java/io/InvalidClassException.java
17578         java/io/InvalidObjectException.java
17579         java/io/NotActiveException.java
17580         java/io/NotSerializableException.java java/io/ObjectInput.java
17581         java/io/ObjectInputStream.java
17582         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
17583         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
17584         java/io/ObjectStreamConstants.java
17585         java/io/ObjectStreamException.java
17586         java/io/ObjectStreamField.java
17587         java/io/OptionalDataException.java java/io/OutputStream.java
17588         java/io/PipedInputStream.java java/io/PipedOutputStream.java
17589         java/io/PipedReader.java java/io/PipedWriter.java
17590         java/io/PrintWriter.java java/io/PushbackInputStream.java
17591         java/io/PushbackReader.java java/io/Reader.java
17592         java/io/SequenceInputStream.java java/io/Serializable.java
17593         java/io/SerializablePermission.java
17594         java/io/StreamCorruptedException.java
17595         java/io/StreamTokenizer.java
17596         java/io/StringBufferInputStream.java java/io/StringReader.java
17597         java/io/StringWriter.java java/io/SyncFailedException.java
17598         java/io/UTFDataFormatException.java
17599         java/io/UnsupportedEncodingException.java
17600         java/io/WriteAbortedException.java java/io/Writer.java
17601         java/lang/AbstractMethodError.java
17602         java/lang/ArithmeticException.java
17603         java/lang/ArrayIndexOutOfBoundsException.java
17604         java/lang/ArrayStoreException.java java/lang/Boolean.java
17605         java/lang/Byte.java java/lang/CharSequence.java
17606         java/lang/ClassCastException.java
17607         java/lang/ClassCircularityError.java
17608         java/lang/ClassFormatError.java
17609         java/lang/ClassNotFoundException.java
17610         java/lang/CloneNotSupportedException.java
17611         java/lang/Cloneable.java java/lang/Comparable.java
17612         java/lang/Compiler.java java/lang/Double.java
17613         java/lang/Error.java java/lang/Exception.java
17614         java/lang/ExceptionInInitializerError.java
17615         java/lang/Float.java java/lang/IllegalAccessError.java
17616         java/lang/IllegalAccessException.java
17617         java/lang/IllegalArgumentException.java
17618         java/lang/IllegalMonitorStateException.java
17619         java/lang/IllegalStateException.java
17620         java/lang/IllegalThreadStateException.java
17621         java/lang/IncompatibleClassChangeError.java
17622         java/lang/IndexOutOfBoundsException.java
17623         java/lang/InheritableThreadLocal.java
17624         java/lang/InstantiationError.java
17625         java/lang/InstantiationException.java java/lang/Integer.java
17626         java/lang/InternalError.java
17627         java/lang/InterruptedException.java
17628         java/lang/LinkageError.java java/lang/Long.java
17629         java/lang/NegativeArraySizeException.java
17630         java/lang/NoClassDefFoundError.java
17631         java/lang/NoSuchFieldError.java
17632         java/lang/NoSuchFieldException.java
17633         java/lang/NoSuchMethodError.java
17634         java/lang/NoSuchMethodException.java
17635         java/lang/NullPointerException.java java/lang/Number.java
17636         java/lang/NumberFormatException.java
17637         java/lang/OutOfMemoryError.java java/lang/Package.java
17638         java/lang/Process.java java/lang/Runnable.java
17639         java/lang/RuntimeException.java
17640         java/lang/RuntimePermission.java
17641         java/lang/SecurityException.java
17642         java/lang/SecurityManager.java java/lang/Short.java
17643         java/lang/StackOverflowError.java java/lang/StringBuffer.java
17644         java/lang/StringIndexOutOfBoundsException.java
17645         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
17646         java/lang/ThreadLocal.java java/lang/UnknownError.java
17647         java/lang/UnsatisfiedLinkError.java
17648         java/lang/UnsupportedClassVersionError.java
17649         java/lang/UnsupportedOperationException.java
17650         java/lang/VerifyError.java java/lang/VirtualMachineError.java
17651         java/lang/Void.java java/lang/ref/PhantomReference.java
17652         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
17653         java/lang/ref/SoftReference.java
17654         java/lang/ref/WeakReference.java
17655         java/lang/reflect/AccessibleObject.java
17656         java/lang/reflect/InvocationTargetException.java
17657         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
17658         java/lang/reflect/ReflectPermission.java
17659         java/math/BigDecimal.java java/math/BigInteger.java
17660         java/net/Authenticator.java java/net/BindException.java
17661         java/net/ConnectException.java java/net/ContentHandler.java
17662         java/net/ContentHandlerFactory.java
17663         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
17664         java/net/FileNameMap.java java/net/MalformedURLException.java
17665         java/net/MulticastSocket.java java/net/NetPermission.java
17666         java/net/NoRouteToHostException.java
17667         java/net/PasswordAuthentication.java
17668         java/net/ProtocolException.java java/net/ServerSocket.java
17669         java/net/Socket.java java/net/SocketException.java
17670         java/net/SocketImpl.java java/net/SocketImplFactory.java
17671         java/net/SocketOptions.java java/net/SocketPermission.java
17672         java/net/URLDecoder.java java/net/URLEncoder.java
17673         java/net/URLStreamHandlerFactory.java
17674         java/net/UnknownHostException.java
17675         java/net/UnknownServiceException.java
17676         java/rmi/AccessException.java
17677         java/rmi/AlreadyBoundException.java
17678         java/rmi/ConnectException.java
17679         java/rmi/ConnectIOException.java
17680         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
17681         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
17682         java/rmi/NotBoundException.java
17683         java/rmi/RMISecurityException.java
17684         java/rmi/RMISecurityManager.java java/rmi/Remote.java
17685         java/rmi/RemoteException.java java/rmi/ServerError.java
17686         java/rmi/ServerException.java
17687         java/rmi/ServerRuntimeException.java
17688         java/rmi/StubNotFoundException.java
17689         java/rmi/UnexpectedException.java
17690         java/rmi/UnknownHostException.java
17691         java/rmi/UnmarshalException.java
17692         java/rmi/activation/Activatable.java
17693         java/rmi/activation/ActivateFailedException.java
17694         java/rmi/activation/ActivationDesc.java
17695         java/rmi/activation/ActivationException.java
17696         java/rmi/activation/ActivationGroup.java
17697         java/rmi/activation/ActivationGroupDesc.java
17698         java/rmi/activation/ActivationGroupID.java
17699         java/rmi/activation/ActivationID.java
17700         java/rmi/activation/ActivationInstantiator.java
17701         java/rmi/activation/ActivationMonitor.java
17702         java/rmi/activation/ActivationSystem.java
17703         java/rmi/activation/Activator.java
17704         java/rmi/activation/UnknownGroupException.java
17705         java/rmi/activation/UnknownObjectException.java
17706         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
17707         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
17708         java/rmi/registry/Registry.java
17709         java/rmi/registry/RegistryHandler.java
17710         java/rmi/server/ExportException.java
17711         java/rmi/server/LoaderHandler.java
17712         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
17713         java/rmi/server/Operation.java
17714         java/rmi/server/RMIClassLoader.java
17715         java/rmi/server/RMIClientSocketFactory.java
17716         java/rmi/server/RMIFailureHandler.java
17717         java/rmi/server/RMIServerSocketFactory.java
17718         java/rmi/server/RMISocketFactory.java
17719         java/rmi/server/RemoteCall.java
17720         java/rmi/server/RemoteObject.java
17721         java/rmi/server/RemoteRef.java
17722         java/rmi/server/RemoteServer.java
17723         java/rmi/server/RemoteStub.java
17724         java/rmi/server/ServerCloneException.java
17725         java/rmi/server/ServerNotActiveException.java
17726         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
17727         java/rmi/server/SkeletonMismatchException.java
17728         java/rmi/server/SkeletonNotFoundException.java
17729         java/rmi/server/SocketSecurityException.java
17730         java/rmi/server/UID.java
17731         java/rmi/server/UnicastRemoteObject.java
17732         java/rmi/server/Unreferenced.java
17733         java/security/AccessControlContext.java
17734         java/security/AccessControlException.java
17735         java/security/AccessController.java
17736         java/security/AlgorithmParameterGenerator.java
17737         java/security/AlgorithmParameterGeneratorSpi.java
17738         java/security/AlgorithmParameters.java
17739         java/security/AlgorithmParametersSpi.java
17740         java/security/AllPermission.java
17741         java/security/BasicPermission.java
17742         java/security/Certificate.java java/security/CodeSource.java
17743         java/security/DigestException.java
17744         java/security/DigestInputStream.java
17745         java/security/DigestOutputStream.java
17746         java/security/DomainCombiner.java
17747         java/security/DummyKeyPairGenerator.java
17748         java/security/DummyMessageDigest.java
17749         java/security/DummySignature.java
17750         java/security/GeneralSecurityException.java
17751         java/security/Guard.java java/security/GuardedObject.java
17752         java/security/Identity.java java/security/IdentityScope.java
17753         java/security/InvalidAlgorithmParameterException.java
17754         java/security/InvalidKeyException.java
17755         java/security/InvalidParameterException.java
17756         java/security/Key.java java/security/KeyException.java
17757         java/security/KeyFactory.java java/security/KeyFactorySpi.java
17758         java/security/KeyManagementException.java
17759         java/security/KeyPair.java java/security/KeyPairGenerator.java
17760         java/security/KeyPairGeneratorSpi.java
17761         java/security/KeyStore.java
17762         java/security/KeyStoreException.java
17763         java/security/KeyStoreSpi.java
17764         java/security/MessageDigest.java
17765         java/security/MessageDigestSpi.java
17766         java/security/NoSuchAlgorithmException.java
17767         java/security/NoSuchProviderException.java
17768         java/security/Permission.java
17769         java/security/PermissionCollection.java
17770         java/security/Permissions.java java/security/Policy.java
17771         java/security/Principal.java java/security/PrivateKey.java
17772         java/security/PrivilegedAction.java
17773         java/security/PrivilegedActionException.java
17774         java/security/PrivilegedExceptionAction.java
17775         java/security/ProtectionDomain.java
17776         java/security/Provider.java
17777         java/security/ProviderException.java
17778         java/security/PublicKey.java
17779         java/security/SecureClassLoader.java
17780         java/security/SecureRandom.java
17781         java/security/SecureRandomSpi.java java/security/Security.java
17782         java/security/SecurityPermission.java
17783         java/security/Signature.java
17784         java/security/SignatureException.java
17785         java/security/SignatureSpi.java
17786         java/security/SignedObject.java java/security/Signer.java
17787         java/security/UnrecoverableKeyException.java
17788         java/security/UnresolvedPermission.java
17789         java/security/acl/Acl.java java/security/acl/AclEntry.java
17790         java/security/acl/AclNotFoundException.java
17791         java/security/acl/Group.java
17792         java/security/acl/LastOwnerException.java
17793         java/security/acl/NotOwnerException.java
17794         java/security/acl/Owner.java java/security/acl/Permission.java
17795         java/security/cert/CRL.java
17796         java/security/cert/CRLException.java
17797         java/security/cert/Certificate.java
17798         java/security/cert/CertificateEncodingException.java
17799         java/security/cert/CertificateException.java
17800         java/security/cert/CertificateExpiredException.java
17801         java/security/cert/CertificateFactory.java
17802         java/security/cert/CertificateFactorySpi.java
17803         java/security/cert/CertificateNotYetValidException.java
17804         java/security/cert/CertificateParsingException.java
17805         java/security/cert/X509CRL.java
17806         java/security/cert/X509CRLEntry.java
17807         java/security/cert/X509Certificate.java
17808         java/security/cert/X509Extension.java
17809         java/security/interfaces/DSAKey.java
17810         java/security/interfaces/DSAKeyPairGenerator.java
17811         java/security/interfaces/DSAParams.java
17812         java/security/interfaces/DSAPrivateKey.java
17813         java/security/interfaces/DSAPublicKey.java
17814         java/security/interfaces/RSAKey.java
17815         java/security/interfaces/RSAPrivateCrtKey.java
17816         java/security/interfaces/RSAPrivateKey.java
17817         java/security/interfaces/RSAPublicKey.java
17818         java/security/spec/AlgorithmParameterSpec.java
17819         java/security/spec/DSAParameterSpec.java
17820         java/security/spec/DSAPrivateKeySpec.java
17821         java/security/spec/DSAPublicKeySpec.java
17822         java/security/spec/EncodedKeySpec.java
17823         java/security/spec/InvalidKeySpecException.java
17824         java/security/spec/InvalidParameterSpecException.java
17825         java/security/spec/KeySpec.java
17826         java/security/spec/PKCS8EncodedKeySpec.java
17827         java/security/spec/RSAKeyGenParameterSpec.java
17828         java/security/spec/RSAPrivateCrtKeySpec.java
17829         java/security/spec/RSAPrivateKeySpec.java
17830         java/security/spec/RSAPublicKeySpec.java
17831         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
17832         java/sql/BatchUpdateException.java java/sql/Blob.java
17833         java/sql/CallableStatement.java java/sql/Clob.java
17834         java/sql/Connection.java java/sql/DataTruncation.java
17835         java/sql/DatabaseMetaData.java java/sql/Date.java
17836         java/sql/Driver.java java/sql/DriverManager.java
17837         java/sql/DriverPropertyInfo.java
17838         java/sql/PreparedStatement.java java/sql/Ref.java
17839         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
17840         java/sql/SQLData.java java/sql/SQLException.java
17841         java/sql/SQLInput.java java/sql/SQLOutput.java
17842         java/sql/SQLWarning.java java/sql/Statement.java
17843         java/sql/Struct.java java/sql/Time.java
17844         java/sql/Timestamp.java java/sql/Types.java
17845         java/text/Annotation.java
17846         java/text/AttributedCharacterIterator.java
17847         java/text/AttributedString.java
17848         java/text/AttributedStringIterator.java
17849         java/text/BreakIterator.java java/text/CharacterIterator.java
17850         java/text/ChoiceFormat.java java/text/Collator.java
17851         java/text/DateFormat.java java/text/DateFormatSymbols.java
17852         java/text/DecimalFormat.java
17853         java/text/DecimalFormatSymbols.java
17854         java/text/FieldPosition.java java/text/Format.java
17855         java/text/MessageFormat.java java/text/NumberFormat.java
17856         java/text/ParseException.java java/text/ParsePosition.java
17857         java/text/SimpleDateFormat.java
17858         java/text/StringCharacterIterator.java
17859         java/util/AbstractCollection.java java/util/AbstractList.java
17860         java/util/AbstractMap.java
17861         java/util/AbstractSequentialList.java
17862         java/util/AbstractSet.java java/util/ArrayList.java
17863         java/util/Arrays.java java/util/BasicMapEntry.java
17864         java/util/BitSet.java java/util/Calendar.java
17865         java/util/Collection.java java/util/Collections.java
17866         java/util/Comparator.java
17867         java/util/ConcurrentModificationException.java
17868         java/util/Date.java java/util/Dictionary.java
17869         java/util/EmptyStackException.java java/util/Enumeration.java
17870         java/util/EventListener.java java/util/EventObject.java
17871         java/util/GregorianCalendar.java java/util/HashMap.java
17872         java/util/HashSet.java java/util/Hashtable.java
17873         java/util/IdentityHashMap.java java/util/Iterator.java
17874         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
17875         java/util/LinkedList.java java/util/List.java
17876         java/util/ListIterator.java java/util/ListResourceBundle.java
17877         java/util/Locale.java java/util/Map.java
17878         java/util/MissingResourceException.java
17879         java/util/NoSuchElementException.java
17880         java/util/Observable.java java/util/Observer.java
17881         java/util/Properties.java java/util/PropertyPermission.java
17882         java/util/PropertyResourceBundle.java java/util/Random.java
17883         java/util/RandomAccess.java java/util/ResourceBundle.java
17884         java/util/Set.java java/util/SimpleTimeZone.java
17885         java/util/SortedMap.java java/util/SortedSet.java
17886         java/util/Stack.java java/util/StringTokenizer.java
17887         java/util/TimeZone.java java/util/Timer.java
17888         java/util/TimerTask.java
17889         java/util/TooManyListenersException.java
17890         java/util/TreeMap.java java/util/TreeSet.java
17891         java/util/Vector.java java/util/WeakHashMap.java
17892         java/util/jar/Attributes.java java/util/jar/JarEntry.java
17893         java/util/jar/JarException.java java/util/jar/JarFile.java
17894         java/util/jar/JarInputStream.java
17895         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
17896         java/util/zip/Adler32.java java/util/zip/CRC32.java
17897         java/util/zip/CheckedInputStream.java
17898         java/util/zip/CheckedOutputStream.java
17899         java/util/zip/Checksum.java
17900         java/util/zip/DataFormatException.java
17901         java/util/zip/Deflater.java
17902         java/util/zip/DeflaterOutputStream.java
17903         java/util/zip/GZIPInputStream.java
17904         java/util/zip/GZIPOutputStream.java
17905         java/util/zip/Inflater.java
17906         java/util/zip/InflaterInputStream.java
17907         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
17908         java/util/zip/ZipException.java java/util/zip/ZipFile.java
17909         java/util/zip/ZipInputStream.java
17910         java/util/zip/ZipOutputStream.java
17911         javax/naming/BinaryRefAddr.java
17912         javax/naming/InvalidNameException.java javax/naming/Name.java
17913         javax/naming/NamingException.java javax/naming/RefAddr.java
17914         javax/naming/StringRefAddr.java: Add license clarification.
17915
17916 2002-01-22  Tom Tromey  <tromey@redhat.com>
17917
17918         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
17919         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
17920         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
17921         version.
17922         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
17923         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
17924         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
17925         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
17926         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
17927         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
17928         * java/awt/peer/FontPeer.java: Replace with Classpath version.
17929         * java/awt/peer/FramePeer.java: Replace with Classpath version.
17930         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
17931         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
17932         * java/awt/peer/ListPeer.java: Replace with Classpath version.
17933         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
17934         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
17935         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
17936         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
17937         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
17938         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
17939         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
17940         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
17941         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
17942         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
17943         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
17944         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
17945         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
17946         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
17947         (minimumSize, preferredSize, reshape): Likewise.
17948         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
17949         getColorModel): New methods.
17950         * java/awt/PopupMenu.java: Merged with Classpath.
17951         * java/awt/MenuBar.java: Merged with Classpath.
17952         * java/awt/SystemColor.java: Replace with Classpath version.
17953         * java/awt/Panel.java: Merged with Classpath.
17954         * java/awt/PaintContext.java: Updated copyright.
17955         * java/awt/MenuShortcut.java: Merged with Classpath.
17956         * java/awt/MenuContainer.java: Merged with Classpath.
17957         * java/awt/Menu.java: Merged with Classpath.
17958         * java/awt/MediaEntry.java: New file from Classpath.
17959         * java/awt/MediaTracker.java: New file from Classpath.
17960         * java/awt/List.java: Merged with Classpath version.
17961         * java/awt/Insets.java: Merged with Classpath version.
17962         * java/awt/ImageMediaEntry.java: New file from Classpath.
17963         * java/awt/Image.java: Replaced with Classpath version.
17964         * java/awt/FontMetrics.java: Merged with Classpath version.
17965         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
17966         constant.
17967         * java/awt/Font.java: Merged with Classpath version.
17968         * java/awt/Dialog.java: Merged with Classpath version.
17969         * java/awt/Color.java: Merged with Classpath version.
17970         * java/awt/Choice.java: Merged with Classpath version.
17971         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
17972         * java/awt/Adjustable.java: Replace with Classpath version.
17973         * java/awt/MenuItem.java (paramString): Don't include class name
17974         or brackets.  Call superclass paramString.
17975         * java/awt/MenuComponent.java (toString): Call paramString.
17976         (paramString): Compute string; don't call toString.
17977         * java/awt/Label.java (paramString): Don't include class name
17978         or brackets.  Call superclass paramString.
17979         * java/awt/Checkbox.java (paramString): Don't include class name
17980         or brackets.  Call superclass paramString.
17981         * java/awt/Button.java (paramString): Don't include class name or
17982         brackets.  Call superclass paramString.
17983         * java/awt/MenuComponent.java (getTreeLock): Now protected.
17984
17985 2002-01-20  Andreas Schwab  <schwab@suse.de>
17986
17987         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
17988         function and of parameter recv_func to ssize_t, as specified by
17989         POSIX.
17990
17991 2002-01-19  Per Bothner  <per@bothner.com>
17992
17993         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
17994         uncompressed_size in readiness for next entry.
17995
17996 2002-01-18  Tom Tromey  <tromey@redhat.com>
17997
17998         * java/net/natPlainSocketImpl.cc: Include
17999         IllegalArgumentException.h.
18000         (_Jv_recv): New template function.
18001         (BooleanClass): Removed.
18002         (read): Use _Jv_recv.
18003         (setOption): Use Boolean::class$.  Throw exception if object is
18004         not Boolean or Integer.
18005
18006 2002-01-17  Tom Tromey  <tromey@redhat.com>
18007
18008         * java/awt/MenuComponent.java: Merged with Classpath.
18009         * java/awt/MenuItem.java: Merged with Classpath.
18010         * java/awt/Button.java: Merged with Classpath.
18011
18012         * java/awt/ActiveEvent.java: Updated copyright.
18013
18014         * java/awt/AWTError.java: Replaced with Classpath version.
18015         * java/awt/AWTException.java: Replaced with Classpath version.
18016         * java/awt/IllegalComponentStateException.java: Replaced with
18017         Classpath version.
18018
18019 2002-01-16  Tom Tromey  <tromey@redhat.com>
18020
18021         * java/awt/Canvas.java (serialVersionUID): New constant.
18022         Updated copyright.  Added javadoc from Classpath.
18023         * java/awt/ItemSelectable.java: Replaced with Classpath version.
18024
18025         * java/awt/CheckboxGroup.java: Merged with Classpath.
18026         * java/awt/Checkbox.java: Merged with Classpath.
18027
18028         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
18029         Classpath.
18030         * java/awt/Point.java: Updated copyright.
18031
18032         * java/awt/Point.java (toString): Use getClass().getName().
18033         Added javadoc.
18034
18035         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
18036         commented code.
18037         (hash): Correctly compute initial value for `h'.
18038
18039         * java/awt/Label.java: Merged with Classpath.
18040
18041 2002-01-15  Tom Tromey  <tromey@redhat.com>
18042
18043         * java/awt/AWTPermission.java: Updated copyright.
18044
18045         * java/awt/LayoutManager2.java: Merged with Classpath.
18046         * java/awt/LayoutManager.java: Merged with Classpath.
18047         * java/awt/GridLayout.java: Updated copyright and javadoc.
18048         (getSize): Use `parent.ncomponents'.  Handle insets.
18049         (layoutContainer): Use `parent.ncomponents'.  Handle case where
18050         there are fewer children than columns.  Correctly compute size of
18051         each cell in the grid.  Handle case where there isn't enough
18052         space.
18053         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
18054         all users.
18055         (gotoComponent): Use parent.ncomponents.  Ensure child exists
18056         before calling setVisible() on it.  Last item is `num - 1', not
18057         `num'.
18058         (layoutContainer): Hoist invariants out of loop.
18059
18060         Start of AWT merge with Classpath:
18061         * Makefile.in: Rebuilt.
18062         * Makefile.am (awt_java_source_files): Reference files in
18063         gnu/java/awt, not gnu/gcj/awt.
18064         * java/awt/image/BufferedImage.java: Updated copyright.
18065         * java/awt/image/ComponentColorModel.java: Updated copyright.
18066         * java/awt/image/ComponentSampleModel.java: Updated copyright.
18067         * java/awt/image/DataBuffer.java: Updated copyright.
18068         * java/awt/image/DataBufferByte.java: Updated copyright.
18069         * java/awt/image/DataBufferInt.java: Updated copyright.
18070         * java/awt/image/DataBufferUShort.java: Updated copyright.
18071         * java/awt/image/IndexColorModel.java: Updated copyright.
18072         * java/awt/image/PackedColorModel.java: Updated copyright.
18073         * java/awt/image/Raster.java: Updated copyright.
18074         * java/awt/image/RasterOp.java: Updated copyright.
18075         * java/awt/image/SampleModel.java: Updated copyright.
18076         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
18077         * java/awt/image/WritableRaster.java: Updated copyright.
18078         * java/awt/color/ColorSpace.java: Updated copyright.
18079         * java/awt/color/ICC_ColorSpace.java: Updated copyright
18080         * java/awt/color/ICC_Profile.java: Updated copyright.
18081         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
18082         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
18083         * java/awt/event/HierarchyEvent.java: Updated copyright.
18084         * java/awt/event/HierarchyListener.java: Updated copyright.
18085         * java/awt/geom/AffineTransform.java: Updated copyright.
18086         * java/awt/geom/Dimension2D.java: Updated copyright.
18087         * java/awt/geom/Ellipse2D.java: Updated copyright.
18088         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
18089         * java/awt/geom/Line2D.java: Updated copyright.
18090         * java/awt/geom/NoninvertibleTransformException.java: Updated
18091         copyright.
18092         * java/awt/geom/PathIterator.java: Updated copyright.
18093         * java/awt/geom/Point2D.java: Updated copyright.
18094         * java/awt/geom/Rectangle2D.java: Updated copyright.
18095         * java/awt/geom/RectangularShape.java: Updated copyright.
18096         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
18097         * java/awt/Toolkit.java: Updated import for file moves.
18098         * java/awt/Rectangle.java: Updated copyright; added javadoc from
18099         Classpath.
18100         (hashCode): New method from Classpath.
18101         * java/awt/Graphics2D.java: Updated copyright.
18102         * java/awt/Transparency.java: Updated copyright.
18103         * java/awt/Paint.java: Updated copyright.
18104         * java/awt/Graphics.java: New version from Classpath.
18105         * java/awt/EventDispatchThread.java: Updated copyright.
18106         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
18107         children.
18108         (gotoComponent): Wrap around on next/previous.
18109         * gnu/gcj/awt/BitMaskExtent.java: Removed.
18110         * gnu/gcj/awt/Buffers.java: Removed.
18111         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
18112         * gnu/gcj/awt/GLightweightPeer.java: Removed.
18113         * gnu/java/awt/BitMaskExtent.java: Added.
18114         * gnu/java/awt/Buffers.java: Added.
18115         * gnu/java/awt/ComponentDataBlitOp.java: Added.
18116         * gnu/java/awt/GLightweightPeer.java: Added.
18117         * java/awt/geom/Line2D.java (clone): Ignore
18118         CloneNotSupportedException.
18119         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
18120         * java/awt/Frame.java: Merged with Classpath.
18121         * java/awt/RenderingHints.java: Copyright update.
18122         * java/awt/Paint.java: Copyright update.
18123         * java/awt/image/DirectColorModel.java: Merged with Classpath.
18124         * java/awt/image/ColorModel.java: Merged with Classpath.
18125         * java/awt/Window.java (show): New Implementation from Classpath.
18126         (isShowing): Use super.isShowing().
18127         * java/awt/EventQueue.java: Merged with Classpath.
18128         * java/awt/AWTEventMulticaster.java (save): Throw
18129         RuntimeException.
18130         (saveInternal): Likewise.
18131         * java/awt/AWTEvent.java: Now implements Serializable.
18132         * java/awt/Event.java: Copyright update.
18133         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
18134         * java/awt/image/BufferedImage.java: Copyright update.
18135         * java/awt/GraphicsConfiguration.java: Copyright update.
18136         * java/awt/Component.java: (addNotify): Don't call
18137         addNotifyContainerChildren().
18138         (addNotifyContainerChildren): Removed.
18139         (setPeer): New method from Classpath.
18140         (setTreeLock): Likewise.
18141         (setVisible): Rewrote.
18142         (show): Use it.
18143         (hide): Likewise.
18144         (validate): Set `valid'.
18145         (checkImage(Image,ImageObserver)): Implementation from Classpath.
18146         (createImage(ImageProducer)): Likewise.
18147         (prepareImage): Likewise.
18148         * java/awt/Container.java (addImpl): Handle case where constraint
18149         is not a String.  Post event via system event queue.
18150         (remove): Post event via system event queue.
18151         (validateTree): Only validate child if it is invalid.
18152         (getAlignmentX): Call super method as default.
18153         (getAlignmentY): Likewise.
18154         (addContainerListener): Now synchronized.
18155         (removeContainerListener): Likewise.
18156         (addNotifyContainerChildren): Now private.
18157         * java/awt/ComponentOrientation.java: Updated copyright.  Added
18158         @author.
18159         * java/awt/FlowLayout.java (serialVersionUID): New field.
18160         (setAlignment): Better exception message.
18161         (layoutContainer): Don't compute component's preferred size unless
18162         we're going to use it.
18163         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
18164         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
18165         (firstLine, lastLine, firstItem, lastItem): New fields.
18166         (addLayoutComponent): Handle case where constraints is null.
18167         Also, handle relative locations.
18168         (removeLayoutComponent): Handle relative locations.
18169         (MIN, MAX, PREF): New constants.
18170         (calcCompSize): New method.
18171         (calcSize): New method.
18172         (minimumLayoutSize): Use it.
18173         (preferredLayoutSize): Likewise.
18174         (maximumLayoutSize): Likewise.
18175         (toString): Include more information.
18176         (setBounds): New method.
18177         (layoutContainer): Use libgcj implementation; extended to handle
18178         relative locations.
18179
18180 2002-01-15  Tom Tromey  <tromey@redhat.com>
18181
18182         * java/lang/Float.java (equals): Preserve old code.
18183         * java/lang/Double.java (equals): Preserve old code.
18184
18185 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
18186
18187         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
18188         * java/lang/Float.java (equals, compare): Ditto.
18189
18190 2002-01-13  Mark Wielaard  <mark@klomp.org>
18191
18192         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
18193         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
18194         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
18195         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
18196
18197 2002-01-11  Mark Wielaard  <mark@klomp.org>
18198
18199         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
18200         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
18201         InetAddress.
18202         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
18203         * java/net/Socket.java: Merge with Classpath.
18204         * java/net/ServerSocket.java: Likewise.
18205
18206 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
18207
18208         * interpret.cc (NULLARRAYCHECK): New macro.
18209         (SAVE_PC): Just store `pc'.
18210         (find_exception): Subtract one from `pc' here.
18211         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
18212         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
18213         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
18214         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
18215         don't call SAVE_PC.
18216         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
18217         call SAVE_PC.
18218
18219 2002-01-11  Tom Tromey  <tromey@redhat.com>
18220
18221         * java/lang/natSystem.cc (init_properties): Only look for default
18222         locale if LC_MESSAGES is defined.
18223         * aclocal.m4, configure, include/config.h.in: Rebuilt.
18224         * configure.in: Call AM_LC_MESSAGES.
18225         * acinclude.m4 (AM_LC_MESSAGES): New macro.
18226
18227 2002-01-10  Tom Tromey  <tromey@redhat.com>
18228
18229         For PR libgcj/5303:
18230         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
18231         --version.  Recognize GNU-style long options.  Print GNU-style
18232         error messages.
18233         (usage): Print GNU-style help.  Exit with status 0.
18234         (error): New method.
18235         (run): Print error message if no class names found.
18236         (main): Don't print usage on error.
18237
18238 2002-01-09  Tom Tromey  <tromey@redhat.com>
18239
18240         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
18241         property.
18242         (help, version): Use println(), not println("").
18243
18244         For PR libgcj/5303:
18245         * gnu/gcj/convert/Convert.java (error): Program is called
18246         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
18247         -1.
18248         (main): Handle --help and --version.
18249         (help): New method.
18250         (version): Likewise.
18251
18252 2002-01-08  Tom Tromey  <tromey@redhat.com>
18253
18254         * Makefile.in: Rebuilt.
18255         * Makefile.am (ordinary_java_source_files): Added new files.
18256         * gnu/java/locale/LocaleInformation.java: Extend
18257         LocaleInformation_en.
18258         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
18259         and time/date formats.
18260         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
18261         generated.
18262         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
18263         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
18264         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
18265         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
18266         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
18267         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
18268         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
18269         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
18270         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
18271         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
18272         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
18273         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
18274         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
18275         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
18276         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
18277         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
18278         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
18279         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
18280         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
18281         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
18282         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
18283         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
18284         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
18285         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
18286         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
18287         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
18288         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
18289         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
18290         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
18291         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
18292         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
18293         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
18294         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
18295         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
18296         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
18297         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
18298         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
18299         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
18300         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
18301         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
18302         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
18303         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
18304         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
18305         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
18306         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
18307         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
18308         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
18309         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
18310         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
18311         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
18312         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
18313         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
18314         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
18315         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
18316         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
18317         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
18318         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
18319         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
18320         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
18321         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
18322         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
18323         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
18324         * gnu/java/locale/LocaleInformation_es_US.java: New file.
18325         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
18326         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
18327         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
18328         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
18329         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
18330         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
18331         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
18332         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
18333         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
18334         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
18335         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
18336         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
18337         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
18338         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
18339         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
18340         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
18341         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
18342         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
18343         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
18344         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
18345         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
18346         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
18347         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
18348         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
18349         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
18350         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
18351         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
18352         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
18353         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
18354         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
18355         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
18356         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
18357         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
18358         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
18359         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
18360         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
18361         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
18362         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
18363         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
18364         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
18365         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
18366         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
18367         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
18368         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
18369         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
18370         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
18371         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
18372         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
18373         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
18374         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
18375         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
18376         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
18377         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
18378         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
18379         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
18380         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
18381         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
18382         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
18383         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
18384         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
18385         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
18386         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
18387         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
18388         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
18389         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
18390         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
18391         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
18392
18393         For PR libgcj/5031:
18394         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
18395         choose default locale.
18396
18397         * Makefile.in: Rebuilt.
18398         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
18399
18400 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
18401
18402         * java/net/natPlainSocketImpl.cc: Added timeout handling for
18403         sockets.
18404         (close): New function closes the socket.
18405         (write): New functions for output to socket.
18406         (read): New functions for reading from socket.
18407         * java/net/PlainSocketImpl.java: Glue for new timeout
18408         implementation.
18409         (write): Call the native impl.
18410         (read): Likewise.
18411         (getInputStream): Get a stream to read from the socket.
18412         (getOutputStream): Get a stream to write to the socket.
18413
18414 2002-01-08  Tom Tromey  <tromey@redhat.com>
18415
18416         * resolve.cc (_Jv_PrepareClass): Enable verifier.
18417
18418 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
18419
18420         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
18421         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
18422
18423 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
18424
18425         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
18426         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
18427         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
18428         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
18429         insn_bastore, insn_castore, insn_sastore]: Use it.
18430         (continue1) [insn_arraylength]: Check for null array.
18431
18432 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
18433
18434         * configure, include/config.h.in: Rebuilt.
18435         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
18436         * configure.in: Call AC_STRUCT_TIMEZONE.
18437
18438 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
18439
18440         * configure.host: Disable the interpreter for Darwin.
18441
18442 2002-01-04  Tom Tromey  <tromey@redhat.com>
18443
18444         * java/lang/Thread.java (stop): No longer synchronized.
18445         (start): Likewise.
18446
18447 2002-01-02  Tom Tromey  <tromey@redhat.com>
18448
18449         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
18450         patch.
18451
18452 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
18453
18454         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
18455         PPC Darwin, not for all of Darwin.