OSDN Git Service

* name-lookup.c (qualified_lookup_using_namespace): Consider
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-01-09  Michael Koch  <konqueror@gmx.de>
2
3         * gnu/java/lang/ArrayHelper.java
4         (equalsArray): Removed.
5
6 2004-01-09  Andrew Haley  <aph@redhat.com>
7
8         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
9         a Utf8Const field before looking at its class.
10
11 2004-01-09  Michael Koch  <konqueror@gmx.de>
12
13         * javax/print/attribute/standard/DocumentName.java,
14         javax/print/attribute/standard/JobHoldUntil.java,
15         javax/print/attribute/standard/JobMessageFromOperator.java,
16         javax/print/attribute/standard/JobName.java,
17         javax/print/attribute/standard/JobOriginatingUserName.java,
18         javax/print/attribute/standard/OutputDeviceAssigned.java,
19         javax/print/attribute/standard/PrinterInfo.java,
20         javax/print/attribute/standard/PrinterLocation.java,
21         javax/print/attribute/standard/PrinterMakeAndModel.java,
22         javax/print/attribute/standard/PrinterMessageFromOperator.java,
23         javax/print/attribute/standard/PrinterName.java,
24         javax/print/attribute/standard/RequestingUserName.java: New files.
25         * Makefile.am (javax_source_files): Added new files.
26         * Makefile.in: Regenerated.
27
28 2004-01-09  Michael Koch  <konqueror@gmx.de>
29
30         * javax/swing/AbstractAction.java,
31         javax/swing/AbstractSet.java,
32         javax/swing/Action.java,
33         javax/swing/ActionMap.java,
34         javax/swing/BoundedRangeModel.java,
35         javax/swing/ButtonModel.java,
36         javax/swing/CellEditor.java,
37         javax/swing/CellRendererPane.java,
38         javax/swing/ComboBoxEditor.java,
39         javax/swing/DebugGraphics.java,
40         javax/swing/DefaultCellEditor.java,
41         javax/swing/DefaultCellRenderer.java,
42         javax/swing/DefaultComboBoxModel.java,
43         javax/swing/DefaultDesktopManager.java,
44         javax/swing/DefaultFocusManager.java,
45         javax/swing/DefaultListCellRenderer.java,
46         javax/swing/Icon.java,
47         javax/swing/JButton.java,
48         javax/swing/JCheckBoxMenuItem.java,
49         javax/swing/JDesktopPane.java,
50         javax/swing/JEditorPane.java,
51         javax/swing/JMenu.java,
52         javax/swing/JPanel.java,
53         javax/swing/JPasswordField.java,
54         javax/swing/JPopupMenu.java,
55         javax/swing/JProgressBar.java: Reworked imports.
56
57 2004-01-09  Michael Koch  <konqueror@gmx.de>
58
59         * java/awt/geom/PathIterator.java
60         (WIND_EVEN_ODD): Removed redundant modifiers.
61         (WIND_NON_ZERO): Likewise.
62         (SEG_MOVETO): Likewise.
63         (SEG_LINETO): Likewise.
64         (SEG_QUADTO): Likewise.
65         (SEG_CUBICTO): Likewise.
66         (SEG_CLOSE): Likewise.
67         * java/awt/image/SinglePixelPackedSampleModel.java:
68         Removed redundant semicolon.
69         * java/io/ObjectInputStream.java
70         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
71         * java/util/logging/Filter.java
72         (isLoggable): Removed redundant modifier.
73         * java/util/logging/LogManager.java:
74         Removed redundant semicolon.
75         * java/util/logging/XMLFormatter.java
76         (format): Removed unused variable "key".
77
78 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
79
80         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
81         New name for the former setFile native method.
82         (setFile): New method.
83         (setDirectory): Implemented.
84         (connectSignals): New native method.
85         (setFilenameFilter): Improve comment.
86         (getGraphics): Comment.
87         (gtkHideFileDialog): New method.
88         (gtkDisposeFileDialog): New method.
89         (gtkSetFilename): New method.
90         * java/awt/Dialog.java (show): Block on modal dialogs, but only
91         for FileDialog for now.
92         (hide): New method.
93         (dispose): New method.
94         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
95         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
96         deprecated creation functions.  Make dialog modal.  Add it to the
97         window group.
98         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
99         function.
100         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
101         Rename to...
102         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
103         name.
104         (window_closed): New function.
105         (ok_clicked): New function.
106         (cancel_clicked): New function.
107
108 2004-01-08  Michael Koch  <konqueror@gmx.de>
109
110         * javax/swing/JLayeredPane.java: Revert changes to standard
111         boilerplate, reworked imports.
112
113 2004-01-07  Tom Tromey  <tromey@redhat.com>
114
115         PR libgcj/13439:
116         * verify.cc (state::merge): Copy changed locals out of subroutine
117         in NO_STACK case.
118         (state::FLAG_CHANGED): New const.
119         (state::FLAG_UNUSED): Likewise.
120         (state::local_changed): Removed.  Updated all users.
121         (state::flags): New field.
122         (state::merge): Added jsr_semantics argument, more logic.
123         (push_jump_merge): Added jsr_semantics argument.
124         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
125         merging through the jsr instruction.
126
127 2004-01-07  Tom Tromey  <tromey@redhat.com>
128
129         * scripts/MakeDefaultMimeTypes.java: Use \n, not
130         backslash-newline.
131
132 2004-01-07  Graydon Hoare  <graydon@redhat.com>
133
134         * java/awt/Container.java (LightweightDispatcher): Implement.
135         (visitChild): Reuse graphics object.
136         (dispatchEventImpl): Optionally dispatch to lightweight.
137         (addNotifyContainerChildren): Build LightweightDispatcher.
138
139 2004-01-07  David Jee  <djee@redhat.com>
140
141         * java/awt/Container.java
142         (update): Clear only the clipped region, instead of clearing the
143         entire Container.
144         (visitChildren): Visit children in descending order.
145
146 2004-01-07  Michael Koch  <konqueror@gmx.de>
147
148         * java/lang/reflect/Array.java: Merged documentation with classpath.
149
150 2004-01-07  Michael Koch  <konqueror@gmx.de>
151
152         * java/text/CollationElementIterator.java
153         (textIndex): Renamed from index.
154         * java/text/CollationKey.java
155         (collator): New member.
156         (CollationKey): New argument for parent collator.
157         (equals): Check for same collator, source string and key array.
158         * java/text/RuleBasedCollator.java:
159         Reformated.
160         (RuleBasedCollator): Don't re-initialize frenchAccents with default
161         value.
162         (getCollationElementIterator): Rewritten.
163         (getCollationKey): Added new argument to CollationKey constructor.
164
165 2004-01-07  Michael Koch  <konqueror@gmx.de>
166
167         * gnu/java/nio/DatagramChannelImpl.java
168         (blocking): Removed.
169         (DatagramChannelImpl): Call configureBlocking().
170         (implConfigureBlocking): Dont initialize blocking.
171         * gnu/java/nio/ServerSocketChannelImpl.java
172         (blocking): Removed.
173         (ServerSocketChannelImpl): Call configureBlocking().
174         (implConfigureBlocking): Dont initialize blocking.
175         * gnu/java/nio/SocketChannelImpl.java
176         (blocking): Removed.
177         (SocketChannelImpl): Call configureBlocking().
178         (implConfigureBlocking): Dont initialize blocking.
179         (connect): Use isBlocking().
180         * java/nio/channels/spi/AbstractSelectableChannel.java
181         (configureBlocking): Use blockingLock() instead of LOCK.
182         Set blocking after successfully called implConfigureBlocking().
183         (register): Use blockingLock() instead of LOCK.
184
185 2004-01-07  Michael Koch  <konqueror@gmx.de>
186
187         * java/net/ServerSocket.java (isBound): Fixed documentation.
188
189 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
190
191         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
192         (changeEvent): Create event object on demand.
193         (DefaultBoundedRangeModel, toString, setValue, setExtent,
194         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
195         fireStateChanged): Re-written.
196         * javax/swing/event/EventListenerList.java: Reformatted, document
197         typical usage.
198         (toString): Implemented.
199         (getListeners): Re-written.
200         (remove): Re-written.
201         (add): Re-written.
202         (NO_LISTENERS): New singleton field.
203         (listenerList): Declare as transient; document.
204         (serialVersionUID): Document.
205         (getListenerCount(Class)): More efficient implementation,
206         also accepts null argument.  Improve Javadoc.
207         (getListenerCount()): Remove unnecessary cast; docfix.
208         * javax/swing/undo/UndoableEditSupport.java:
209         Re-format, document.
210         (UndoableEditSupport): Set realSource field. Improve documentation.
211         (_postEdit): Iterate over cloned listener vector.
212         (toString): Don't emit realSource.
213         (beginUpdate, endUpdate): Support nested updates.
214         (postEdit): Use compound edit if present.
215
216 2004-01-06  Graydon Hoare  <graydon@redhat.com>
217
218         * java/awt/Container.java (swapComponents): Add forgotten
219         function, required for JLayeredPane change.
220
221 2004-01-06  Michael Koch  <konqueror@gmx.de>
222
223         * java/text/CollationElementIterator.java: Reformated.
224         (CollationElementIterator): Changed order of arguments.
225         * java/text/RuleBasedCollator.java
226         (RuleBasedCollator): Merged class documentation.
227         (CollationElement): Added documentation.
228         (compare): Reformated, renamed arguments.
229         (equals): Likewise.
230         (getCollationElementIterator): Likewise.
231         (getCollationKey): Likewise.
232
233 2004-01-06  Graydon Hoare  <graydon@redhat.com>
234
235         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
236
237 2004-01-06  Michael Koch  <konqueror@gmx.de>
238
239         * gnu/java/net/protocol/file/Connection.java:
240         Reformated copyright.
241         (hdrHash): Removed.
242         (hdrVec): Removed.
243         (gotHeaders): Removed.
244         (getHeaderField): Removed.
245         (getHeaderField): Removed.
246         (getHeaderFieldKey): Removed.
247         (getKey): Removed.
248         (getField): Removed.
249         (getHeaders): Removed.
250
251 2004-01-06  Michael Koch  <konqueror@gmx.de>
252
253         * javax/print/attribute/standard/DateTimeAtCompleted.java,
254         javax/print/attribute/standard/DateTimeAtCreation.java,
255         javax/print/attribute/standard/DateTimeAtProcessing.java,
256         javax/print/attribute/standard/JobImpressionsCompleted.java,
257         javax/print/attribute/standard/JobKOctets.java,
258         javax/print/attribute/standard/JobKOctetsProcessed.java,
259         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
260         javax/print/attribute/standard/JobPrioritySupported.java: New files.
261         * Makefile.am (javax_source_files): Added new files.
262         * Makefile.in: Regenerated.
263
264 2004-01-06  Michael Koch  <konqueror@gmx.de>
265
266         * java/net/URLConnection.java
267         (contentHandler): Removed.
268         (locale): Removed.
269         (getHeaderFields): Return an empty map instead of null.
270         (getContent): Connect if needed, renamed "cType" to "type" and
271         "contentHandler" to "ch" and made it a local variable.
272         (getPermission): Don't use package in class name.
273         (setDefaultRequestProperty): Fixed typo in documentation.
274         (initializeDateFormats): Made locale a local variable.
275
276 2004-01-06  Michael Koch  <konqueror@gmx.de>
277
278         * java/lang/Package.java
279         (getPackage): Get the current class loader directly.
280         * java/lang/SecurityManager.java
281         (currentLoadedClass): Dont iterate over class contexts.
282         (classLoaderDepth): Don't check class loaders if everything is allowed.
283
284 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
285
286         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
287         (pre_event_handler): Set all insets to 0 when a Configure event
288         is received for a GtkPlug.
289         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
290         Make handle long, not int.
291         (EmbeddedWindow()): New constructor.
292         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
293         long, not int.
294         (setHandle): New method.
295         (getHandle): Return long, not int.
296         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
297         declaration.
298         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
299         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
300         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
301         argument to GdkNativeWindow.
302         (construct): New method.
303         (embed): New method.
304
305         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
306         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
307         (create(int, int)): New method.
308         (create): Call new create method.
309         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
310         methods.
311         (childResized): Remove native implementation.  Implement in
312         Java.
313         (getHScrollbarHeight, getVScrollbarWidth): Call
314         gtk_widget_size_request to get scrollbar dimensions.
315         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
316         call getVScrollbarWidth and getHScrollbarHeight when vertical
317         and horizontal scrollbars respectively are needed.
318         (doLayout): Enlarge child if it is smaller than the viewport.
319
320 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
321
322         * java/awt/Dialog.java (constructor): Accept null title as per spec.
323         * java/awt/FileDialog.java (constructor): Throw exception on invalid
324         argument as per spec.
325
326 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
327
328         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
329         (insert): Ditto.
330         (remove): Ditto.  Also, Check for valid argument.
331         (removeAll): Use peer interface method.
332         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
333         native add function.
334         (nativeRemove): New name for native remove function.
335         (getHistory): New native function.
336         (constructor): Generate ItemEvent.
337         (add): Ditto, if selection is changed.
338         (remove): Ditto, ditto.
339         (removeAll): Add implementation.
340         (handleEvent): Remove.  Dead code.
341         (choicePostItemEvent): Add comment.
342         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
343         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
344         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
345         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
346         comments and fix condition to change selection.
347         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
348         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
349         remove all capability.
350         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
351         (item_activate): Add cast to remove compiler warning.
352
353 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
354
355         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
356         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
357         (getPreferredSize): Call preferredSize.
358         (preferredSize): Call gtkWidgetGetPreferredDimensions.
359         (getMinimumSize): Call minimumSize.
360         (minimumSize): Call gtkWidgetGetPreferredDimensions.
361         (gtkWidgetGetDimensions): Return the peer widget's current size
362         request.
363         (gtkWidgetGetPreferredDimensions): Return the peer widget's
364         natural size request.
365
366 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
367
368         Thanks to Brian Gough <bjg@network-theory.com>
369         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
370         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
371
372 2004-01-04  Matthias Klose  <doko@debian.org>
373
374         * aclocal.m4: Rebuilt using "aclocal -I .".
375         * configure: Rebuilt.
376
377 2004-01-03  Per Bothner  <per@bothner.com>
378
379         * java/util/Date.java (parse):  Fix a number of problems.
380         (skipParens):  Remove no-longer-needed method.
381
382 2003-12-31  Michael Koch  <konqueror@gmx.de>
383
384         * gnu/java/net/protocol/http/Connection.java
385         (sendRequest): Dont encode output in default character encoding,
386         add correct version number to HTTP user agent string.
387
388 2003-12-31  Graydon Hoare  <graydon@redhat.com>
389
390         * configure.in: Add --enable-gtk-cairo check.
391         * configure: Regenerate.
392         * Makefile.am: Conditionally link against cairo.
393         * Makefile.in: Regenerate.
394         * acinclude.m4: Include PKG_CHECK_MODULES.
395         * aclocal.m4: Regenerate.
396         * gnu/java/awt/peer/gtk/GtkToolkit.java (useGraphics2D): New method.
397         (getFontMetrics, getClasspathFontPeer):
398         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics):
399         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
400         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (getGraphics):
401         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics):
402         Switch behavior depending on GtkToolkit.useGraphics2D().   
403         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Extend ClasspathFontPeer.
404         * java/awt/Font.java: Switch to peer model.
405         * jni/gtk-peer/gtkcairopeer.h: Definitions of cairo stuff.
406         * jni/gtk-peer/gdkfont.h: Include gtkcairopeer.h.
407         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Include gtkcairopeer.h.
408         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: Un-include gtkpeer.h. 
409
410 2003-12-31  Guilhem Lavaux  <guilhem@kaffe.org>
411
412         * java/io/ObjectOutputStream.java
413         (putFields): Reindented. Fixed behaviour: currentPutField should be
414         null
415         before calling this method.
416         (writeFields): Likewise.
417         (markFieldsWritten): Fixed the exception message.
418         (callWriteMethod): Ensure currentPutField is null.
419         (getBooleanField): Translate IllegalArgumentException into
420         InvalidClassException.
421         (getByteField): Likewise.
422         (getCharField): Likewise.
423         (getDoubleField): Likewise.
424         (getFloatField): Likewise.
425         (getIntField): Likewise.
426         (getLongField): Likewise.
427         (getShortField): Likewise.
428         (getObjectField): Check the type code before returning the object.
429         (getField): Translate NoSuchFieldException into InvalidClassException
430         directly.
431
432 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
433
434         * java/net/URL.java
435         (URL): Change context path to "/" if it is empty.
436
437 2003-12-31  Michael Koch  <konqueror@gmx.de>
438
439         * testsuite/libjava.mauve/xfails: Removed tests that pass now:
440         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
441         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
442         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
443         (number 26)
444         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
445         (number 54)
446         
447
448 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
449
450         * java/util/GregorianCalendar.java
451         (computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>.
452         Fixed the computation of DAY_OF_WEEK_IN_MONTH.
453         (computeTime): 12:00 midnight is AM and 12:00 noon is PM.
454
455 2003-12-30  Michael Koch  <konqueror@gmx.de>
456
457         * testsuite/libjava.mauve/xfails: Removed the following testcase
458         because it passes now:
459         FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict
460         (number 1)
461
462 2003-12-30  Michael Koch  <konqueror@gmx.de>
463
464         * java/io/ObjectInputStream.java,
465         java/io/ObjectOutputStream.java,
466         java/io/ObjectStreamClass.java:
467         Reformated, no functional code changes.
468
469 2003-12-30  Michael Koch  <konqueror@gmx.de>
470
471         * gnu/java/net/protocol/http/Connection.java
472         (outputStream): New field.
473         (bufferedOutputStream): New field.
474         (connect): Initialize outputStream and bufferedOutputStream.
475         (sendRequest): Create PrintWriter object from outputStream,
476         support HTTP 1.1, send missing HTTP headers and buffered output data
477         for POST method.
478         (getOutputStream): Set request method to POST if output stream is
479         used, return bufferedOutputStream.
480         (setRequestMethod): Allow HEAD and POST methods.
481         This fixes libgcj PR/6302 and libgcj PR/7752.
482
483 2003-12-30  Guilhem Lavaux <guilhem@kaffe.org>
484
485         * java/io/LineNumberReader.java
486         (countLines): Removed.
487         (fill): New private method.
488         (mark): Changed logic to use and matchedNewLine.
489         (reset): Likewise.
490         (read): Likewise.
491         (skipRedundantLF): Likewise.
492
493 2003-12-30  Michael Koch  <konqueror@gmx.de>
494
495         * gnu/java/net/protocol/http/Connection.java
496         (requestProperties): New field.
497         (addRequestProperty): New method.
498         (getRequestProperty): New method.
499         (setRequestProperty): New method.
500         (getRequestProperties): New method.
501
502 2003-12-28  Michael Koch  <konqueror@gmx.de>
503
504         * gnu/java/net/protocol/http/Connection.java
505         (inputStream): Made it a DataInputStream.
506         (requestProperties): Removed.
507         (hdrHash): Removed.
508         (hdrVec): Removed.
509         (headers): New field to store headers.
510         (connect): Initialize inputStream.
511         (receiveReply): Merged from classpath. The new algorithm is line based
512         instead of character based.
513         (getHeaderField): Use headers.
514         (getHeaderFields): Use headers.
515         (getKey): Removed.
516         (getField): Removed.
517         * gnu/java/net/HeaderFieldHelper.java: New file.
518         * Makefile.am (ordinary_java_source_files):
519         Added gnu/java/net/HeaderFieldHelper.java.
520         * Makefile.in: Regenerated.
521
522 2003-12-28  Guilhem Lavaux <guilhem@kaffe.org>
523
524         * java/io/LineNumberReader.java
525         (mark): Improved error checking.
526         (read): Likewise.
527         (skip): Likewise. Skip is now really eating the specified number of
528         characters.
529         * java/io/CharArrayReader.java (read): It should throw
530         IndexOutOfBoundsException and not ArrayIndexOutOfBoundsException (see
531         mauve).
532         * java/io/BufferedReader.java (readLine): Make readLine() really block
533         until either EOF is reached or a true error happens.
534
535 2003-12-27  Michael Koch  <konqueror@gmx.de>
536
537         * gnu/java/net/protocol/http/Connection.java
538         (getRequestProperty): Removed.
539         (setRequestProperty): Removed.
540
541 2003-12-27  Michael Koch  <konqueror@gmx.de>
542
543         * gnu/java/net/protocol/http/Connection.java
544         (connect): Call receiveReply().
545         (receiveReply): Renamed from getHttpHeaders().
546         (getOutputStream): Moved check on doOutput before check for connection
547         state.
548
549 2003-12-27  Michael Koch  <konqueror@gmx.de>
550
551         * javax/print/attribute/ResolutionSyntax.java,
552         javax/print/attribute/SetOfIntegerSyntax.java,
553         javax/print/attribute/Size2DSyntax.java,
554         javax/print/attribute/standard/Copies.java,
555         javax/print/attribute/standard/JobImpressions.java,
556         javax/print/attribute/standard/JobMediaSheets.java,
557         javax/print/attribute/standard/NumberOfDocuments.java,
558         javax/print/attribute/standard/NumberOfInterveningJobs.java,
559         javax/print/attribute/standard/PagesPerMinute.java,
560         javax/print/attribute/standard/PagesPerMinuteColor.java,
561         javax/print/attribute/standard/QueuedJobCount.java:
562         Fixed typo (s/then/than/).
563
564 2003-12-27  Guilhem Lavaux  <guilhem@kaffe.org>
565
566         * java/rmi/Naming.java (lookup): Check if the first character of the
567         filename returned by URL.getFile() is a '/', only if it is the case
568         we cut this first character and call the registry with the good name.
569         (bind): Likewise.
570         (rebind): Likewise.
571
572 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
573             Mark Wielaard  <mark@klomp.org>
574
575         * java/io/BufferedReader.java (BufferedReader):
576         Throw IllegalArgumentException when size <= 0.
577         (mark): Document and better exception message for negative
578         readLimit IllegalArgumentException.
579         (read(char[],int,int)): Throw IndexOutOfBoundsException
580         if offset and count are not valid regarding buf.
581         (skip): Throw IllegalArgumentException when count is negative.
582
583 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
584
585         * java/io/FileInputStream.java
586         (FileInputStream(String)): Call FileInputStream(File).
587         (FileInputStream(File)): Check whether the argument is a directory.
588
589 2003-12-26  Michael Koch  <konqueror@gmx.de>
590
591         * Makefile.am (rmi_java_source_files):
592         Added gnu/java/rmi/server/RMIVoidValue.java.
593         * Makefile.in: Regenerated.
594
595 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
596             Mark Wielaard  <mark@klomp.org>
597
598         * gnu/java/rmi/server/UnicastConnectionManager.java
599         (startScavenger): Set the client connection manager to daemon
600         state because it may block clients until TIMEOUT is reached
601         when they are exiting.
602
603         * gnu/java/rmi/RMIVoidValue.java: New file for a class representing
604         a void return.
605
606         * gnu/java/rmi/server/UnicastRemoteCall.java
607         (DummyOutputStream): Add a boolean before each written field to
608         know whether it is a primitive.
609         (releaseOutputStream): Flush parameters at write time.
610
611         * gnu/java/rmi/server/UnicastServerRef.java
612         (incomingMessageCall): Return a RMIVoidValue if no value is to be
613         returned.
614
615         * gnu/java/rmi/server/UnicastServer.java
616         (incomingMessageCall): Do not write a returned object if it is
617         a RMIVoidValue.
618
619 2003-12-25  Andreas Tobler  <a.tobler@schweiz.ch>
620
621         * libltdl/ltdl.c (HAVE_DYLD): Remove ifdef conditional for 
622         darwin. Fixed by fixinclude now.
623
624 2003-12-25  Michael Koch  <konqueror@gmx.de>
625
626         * java/net/ServerSocket.java bind():
627         If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as
628         address to bind to.
629
630 2003-12-23  Guilhem Lavaux <guilhem@kaffe.org>
631
632         * java/io/ObjectInputStream.java
633         (getField): Handle transient and non persistent fields.
634         (readClassDescriptor): Better error handling, use the right
635         class loader.
636         (readFields): Fields marked as not present in the stream
637         or not to be set are not read and set.
638         * java/io/ObjectInputStream.java
639         (readFields): Changed implementation of GetField.
640         (readClassDescriptor): Documented.
641         * java/io/ObjectOutputStream.java
642         (writeClassDescriptor): Added condition when to write class super
643         class information.
644
645 2003-12-22  Fernando Nasser  <fnasser@redhat.com>
646
647         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to...
648         (choicePostItemEvent): Change signature to more specific String object.
649         * java/awt/Choice.java (add): Generate ItemEvent for the first item
650         added.
651         (insert): Generate ItemEvent if insertion caused
652         selection to change.
653         (remove): Generate ItemEvent if removal cause selection to change.
654         (removeAll): Change algorithm to prevent generation of ItemEvents.
655         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
656         (connect_choice_item_selectable_hook): Change argument type.
657         Fix argument value.
658         Make sure resources are feed by registering callback.
659         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
660         above function.
661         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
662         (item_activate): Ditto.
663         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
664         menuitem.
665         (item_removed): New function.  Free resources.
666         * jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
667         name.
668         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
669         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
670         choicePostItemEvent.
671
672 2003-12-23  Michael Koch  <konqueror@gmx.de>
673
674         * javax/print/attribute/standard/Copies.java,
675         javax/print/attribute/standard/JobImpressions.java,
676         javax/print/attribute/standard/JobMediaSheets.java,
677         javax/print/attribute/standard/JobPriority.java,
678         javax/print/attribute/standard/NumberOfDocuments.java,
679         javax/print/attribute/standard/NumberOfInterveningJobs.java,
680         javax/print/attribute/standard/NumberUp.java,
681         javax/print/attribute/standard/PagesPerMinuteColor.java,
682         javax/print/attribute/standard/PagesPerMinute.java,
683         javax/print/attribute/standard/QueuedJobCount.java: New files.
684         * Makefile.am (ordinary_java_source_files): Added new files.
685         * Makefile.in: Regenerated.
686
687 2003-12-23  Michael Koch  <konqueror@gmx.de>
688
689         * javax/print/attribute/AttributeSetUtilities.java
690         (verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
691         * javax/print/attribute/HashAttributeSet.java
692         (HashAttributeSet): Call internal add methods, added missing
693         exceptions.
694         (add): Call addInternal, added exceptions to documentation.
695         (addInternal): New method.
696         (addAll): Call addAllInternal, added exception to documentation.
697         (addAllInternal): New method.
698         (clear): Added exception to documentation.
699         (remove): Likewise.
700         * javax/print/attribute/URISyntax.java
701         (serialVersionUID): Fixed value.
702
703 2003-12-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
704
705         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
706         (pre_event_handler): Don't dereference NULL focus_obj_ptr.
707
708 2003-12-21  Michael Koch  <konqueror@gmx.de>
709
710         * javax/print/attribute/AttributeSetUtilities.java,
711         javax/print/attribute/HashAttributeSet.java,
712         javax/print/attribute/HashDocAttributeSet.java,
713         javax/print/attribute/HashPrintJobAttributeSet.java,
714         javax/print/attribute/HashPrintRequestAttributeSet.java,
715         javax/print/attribute/HashPrintServiceAttributeSet.java: New files.
716         * Makefile.am (ordinary_java_source_files): Added new files.
717         * Makefile.in: Regenerated.
718
719 2003-12-21  Michael Koch  <konqueror@gmx.de>
720
721         * javax/print/attribute/EnumSyntax.java,
722         javax/print/attribute/SetOfIntegerSyntax.java: New files.
723         * Makefile.am (ordinary_java_source_files):
724         Added javax/print/attribute/EnumSyntax.java
725         and javax/print/attribute/SetOfIntegerSyntax.java.
726         * Makefile.in: Regenerated.
727
728 2003-12-21  Michael Koch  <konqueror@gmx.de>
729
730         * javax/print/attribute/PrintJobAttribute.java,
731         javax/print/attribute/PrintJobAttributeSet.java,
732         javax/print/attribute/PrintRequestAttribute.java,
733         javax/print/attribute/PrintServiceAttribute.java,
734         javax/print/attribute/PrintServiceAttributeSet.java,
735         javax/print/attribute/SupportedValuesAttribute.java: New files.
736         * Makefile.am (ordinary_java_source_files): Added new files.
737         * Makefile.in: Regenerated.
738
739 2003-12-21  Michael Koch  <konqueror@gmx.de>
740
741         * javax/print/attribute/DateTimeSyntax.java,
742         javax/print/attribute/DocAttribute.java,
743         javax/print/attribute/DocAttributeSet.java,
744         javax/print/attribute/IntegerSyntax.java,
745         javax/print/attribute/ResolutionSyntax.java,
746         javax/print/attribute/Size2DSyntax.java,
747         javax/print/attribute/TextSyntax.java,
748         javax/print/attribute/URISyntax.java,
749         javax/print/attribute/UnmodifiableSetException.java: New files.
750         * Makefile.am (ordinary_java_source_files): Added new files.
751         * Makefile.in: Regenerated.
752
753 2003-12-21  Michael Koch  <konqueror@gmx.de>
754
755         * gnu/java/net/PlainDatagramSocketImpl.java
756         (mcastGrp): Added documentation.
757
758 2003-12-20  Michael Koch  <konqueror@gmx.de>
759
760         * gnu/java/net/protocol/jar/Connection.java
761         (connectionCache): New field.
762         (connect): New method.
763         (getInputStream): New method.
764         (hdrHash): New field.
765         (hdrVec): New field.
766         (gotHeaders): New field.
767         (getHeaderField): New method.
768         (getHeaderFields): New method.
769         (getHeaderFieldKey): New method.
770         (getKey): New method.
771         (getField): New method.
772         (getHeaders): New method.
773         * java/net/JarURLConnection.java
774         (connectionCache): Removed.
775         (connect): Removed.
776         (getInputStream): Removed.
777         (hdrHash): Removed.
778         (hdrVec): Removed.
779         (gotHeaders): Removed.
780         (getHeaderField): Removed.
781         (getHeaderFields): Removed.
782         (getHeaderFieldKey): Removed.
783         (getKey): Removed.
784         (getField): Removed.
785         (getHeaders): Removed.
786
787 2003-12-20  Michael Koch  <konqueror@gmx.de>
788
789         * java/io/ObjectStreamField.java (isUnshared): Added documentation.
790
791 2003-12-20  Mohan Embar  <gnustuff@thisiscool.com>
792
793         * gnu/java/nio/SelectorImpl.java
794         (selectThreadMutex): New field.
795         (selectThread): New field.
796         (unhandledWakeup): New field.
797         (implCloseSelector): Added skeleton code which
798         synchronizes as per Sun JRE JavaDoc.
799         (keys): Throw ClosedSelectorException if selector
800         is closed.
801         (selectNow): Added comment that we're faking out
802         an immediate select with a one-microsecond-timeout one.
803         (select): Use 0 instead of -1 for infinite timeout.
804         (implSelect): Changed comment in declaration.
805         (select): Added synchronized to method declaration.
806         Added synchronization and wakeup support as per Sun
807         JRE JavaDoc.
808         (selectedKeys): Throw ClosedSelectorException if selector
809         is closed.
810         (wakeup): Implemented.
811         (deregisterCancelledKeys): Synchronize on cancelled key
812         set before deregistering.
813         (register): Synchronize on key set before registering.
814         * java/nio/channels/spi/AbstractSelector.java
815         Added import for java.nio.channels.ClosedSelectorException.
816         (close): Added synchronized to method declaration.
817         (cancelledKeys): Throw ClosedSelectorException if selector
818         is closed.
819         (cancelKey): Synchronize on cancelled key set before key.
820
821 2003-12-20  Michael Koch  <konqueror@gmx.de>
822
823         * Makefile.am (ordinary_java_source_files):
824         Added gnu.java.net.URLParseError.java.
825         * Makefile.in: Regenerated.
826
827 2003-12-20  Guilhem Lavaux <guilhem@kaffe.org>
828
829         * gnu/java/net/URLParseError.java: New file.
830         * gnu/java/net/protocol/jar/Handler.java
831         (parseURL): Throw URLParseError if needed, fix '/' handling.
832         * java/net/URL.java (URL): Catch URLParseError and
833         transform it into a MalformedURLException.
834
835 2003-12-19  Michael Koch  <konqueror@gmx.de>
836
837         * gnu/java/nio/ChannelOutputStream.java: New file.
838         * java/nio/channels/Channels.java
839         (newOutputStream): Implemented.
840         * Makefile.am (ordinary_java_source_files)
841         Added gnu/java/nio/ChannelOutputStream.java.
842         * Makefile.in: Regenerated.
843
844 2003-12-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
845
846         * java/awt/FlowLayout.java (layoutContainer): Let components
847         assume their preferred height.  Centre components vertically.
848
849 2003-12-19  Michael Koch  <konqueror@gmx.de>
850
851         * gnu/java/nio/ChannelInputStream.java: New file.
852         * java/nio/channels/Channels.java (newInputStream): Implemented.
853         * java/nio/channels/FileChannelImpl.java
854         (readImpl): Only put data into buffer if something was read.
855         * Makefile.am (ordinary_java_source_files):
856         Added gnu/java/nio/ChannelInputStream.java.
857         * Makefile.in: Regenerated.
858
859 2003-12-19  Michael Koch  <konqueror@gmx.de>
860
861         * gnu/java/nio/OutputStreamChannel.java: New file.
862         * java/nio/channels/Channels.java (newChannel): Implemented.
863         * Makefile.am (ordinary_java_source_files):
864         Added gnu/java/nio/OutputStreamChannel.java.
865         * Makefile.in: Regenerated.
866
867 2003-12-19  Michael Koch  <konqueror@gmx.de>
868
869         * Makefile.am (ordinary_java_source_files):
870         Added gnu.java.nio.InputStreamChannel. 
871         * Makefile.in: Regenerated.
872
873 2003-12-19  Michael Koch  <konqueror@gmx.de>
874
875         * gnu/java/nio/InputStreamChannel.java: New file.
876         * java/nio/channels/Channels.java (newChannel): Implemented.
877
878 2003-12-19  Michael Koch  <konqueror@gmx.de>
879
880         * java/util/SimpleTimeZone.java
881         (setStartRule): Reformated documentation.
882         (setEndRule): Reworked documentation.
883         (getDSTSavings): Fixed @since tag.
884         (setDSTSavings): New method.
885
886 2003-12-19  Michael Koch  <konqueror@gmx.de>
887
888         * java/text/NumberFormat.java: Sorted imports.
889         (getCurrency): New method.
890         (setCurrency): New method.
891         
892
893 2003-12-19  Michael Koch  <konqueror@gmx.de>
894
895         * java/text/MessageFormat.java
896         (MessageFormat): New constructor.
897
898 2003-12-19  Michael Koch  <konqueror@gmx.de>
899
900         * gnu/java/net/protocol/jar/Handler.java
901         (parseURL): New method.
902         (toExternalForm): New method.
903
904 2003-12-18  Fernando Nasser  <fnasser@redhat.com>
905
906         * java/awt/List.java (replaceItem): Prevent selection to move with
907         replace and minimize flickering.
908  
909 2003-12-18  Michael Koch  <konqueror@gmx.de>
910
911         * libltdl/ltdl.c: Define __private_extern__ if needed.
912
913 2003-12-18  Michael Koch  <konqueror@gmx.de>
914
915         * libltdl/.cvsignore: Ignore autom4te.cache
916         * libltdl/Makefile.in: Regenerated.
917         * libltdl/aclocal.m4: Regenerated.
918         * libltdl/acconfig.h: Removed (obsolete).
919         * libltdl/config-h.in: Regenerated.
920         * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
921         * libltdl/configure: Regenerated.
922
923 2003-12-18  Michael Koch  <konqueror@gmx.de>
924
925         * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
926         java.text.CollationElementIterator tests as they compile again.
927         * testsuite/libjava.mauve/xfails: Added failing
928         java.text.CollationElementIterator tests.
929
930 2003-12-18  Michael Koch  <konqueror@gmx.de>
931
932         * java/util/prefs/AbstractPreferences.java
933         (cachedChildren): New method.
934
935 2003-12-18  Michael Koch  <konqueror@gmx.de>
936
937         * java/util/TimeZone.java (getOffset): New method.
938
939 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
940  
941         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
942         of ActionEvents for mouse double-clicks.
943
944 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
945
946         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
947         null Graphics pointer returned by FileDialogPeer.
948
949 2003-12-17  Michael Koch  <konqueror@gmx.de>
950
951         * libltdl/stamp-h.in: Removed, not used anymore.
952
953 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
954
955         * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
956         Removed unused InterruptedIOException.h include.
957         * gnu/java/net/natPlainSocketImplWin32.cc
958         (connect): Reset and ignore our thread's interrupted
959         flag instead of testing and throwing an InterruptedIOException
960         if set.
961         (accept): Likewise + changed case of SocketTimeoutException
962         text.
963         (write): Likewise (for both overloads).
964         (doRead): Likewise.
965
966 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
967
968         * win32.cc (WSAEventWrapper): Implemented default
969         constructor and init() methods.
970         (_Jv_select): Removed.
971         * gnu/java/nio/natSelectorImplWin32.cc
972         (helper_put_filedescriptors): Removed.
973         (helper_get_filedescriptors): Removed.
974         (implSelect): Implemented in terms of WSAEventWrapper
975         and WSAWaitForMultipleEvents instead of _Jv_select().
976         Added support for thread interruption.
977         * include/win32.h (WSAEventWrapper): Minor formatting
978         changes; added default constructor declaration, init(),
979         getFD() and getEventHandle() methods.
980         (_Jv_select): Removed.
981
982 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
983
984         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
985         (peekData): Throw SocketTimeoutException instead of
986         InterruptedIOException on timeout.
987         (receive): Likewise.
988         * gnu/java/net/natPlainSocketImplPosix.cc
989         (read): Made a minor exception text case change.
990
991 2003-12-16  Michael Koch  <konqueror@gmx.de>
992
993         Fix for PR libgcj/13056.
994         * libltdl/configure.in,
995         libltdl/config.h.in: Removed.
996         * libltdl/configure.ac,
997         libltdl/config-h.in,
998         libltdl/install-sh,
999         libltdl/config.guess,
1000         libltdl/config.sub,
1001         libltdl/missing,
1002         libltdl/mkinstalldirs,
1003         libltdl/ltmain.sh: New files.
1004         * libltdl/Makefile.am,
1005         libltdl/acinclude.m4,
1006         libltdl/aclocal.m4,
1007         libltdl/ltdl.c,
1008         libltdl/ltdl.h,
1009         libltdl/README: Update to versions from libtool 1.5.
1010         libltdl/configure,
1011         * libltdl/Makefile.in: Regenerated.
1012         * java/lang/natRuntime.cc (find_symbol):
1013         Use type 'lt_ptr' instead of 'lt_ptr_t'.
1014
1015 2003-12-16  Michael Koch  <konqueror@gmx.de>
1016
1017         * java/awt/MenuComponent.java
1018         (serialVersionUID): Fixed value.
1019
1020 2003-12-16  Fernando Nasser  <fnasser@redhat.com>
1021
1022         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1023         (pre_event_handler): Handle GtkButton widgets differently as events
1024         go to its event_window.
1025         (connect_awt_hook): Remove compiler warning.
1026
1027 i2003-12-16  Guilhem Lavaux <guilhem@kaffe.org>
1028
1029         * java/io/ObjectInputStream.java
1030         (lookupClass): New method.
1031         (currentLoader): New method.
1032         (inputGetObjectStreamClasses): New method.
1033         (assignNewHandle): Documented.
1034         (currentClassLoader): Documented.
1035         * java/io/ObjectStreamClass.java
1036         (setClass): Changed API. Better handling of the imported/exported
1037         fields.
1038         (getSerialPersistentFields): Make it throw previously caught exceptions
1039         so they can handled in setClass.
1040
1041 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1042  
1043         * java/io/ObjectStreamField.java: A few methods were added in prevision
1044         of the upcoming upgrade of the serialization code. This also adds
1045         some missing documentation.
1046         (ObjectStreamField): We should throw a NullPointerException when 'name'
1047         is null.
1048
1049  2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1050   
1051         * java/io/ObjectInputStream.java (setBooleanField):
1052         Throw an InvalidClassException if the field hasn't the required type,
1053         documentation added.
1054         (setByteField) Likewise.
1055         (setCharField) Likewise.
1056         (setDoubleField) Likewise.
1057         (setFloatField) Likewise.
1058         (setIntField) Likewise.
1059         (setShortField) Likewise.
1060         (setLongField) Likewise.
1061         (setObjectField) Likewise.
1062
1063 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1064            Helmer Kraemer <hkraemer@freenet.de>
1065  
1066         * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
1067         Splitted the method so we can specify an explicit boot loader.
1068
1069 2003-12-15  Graydon Hoare  <graydon@redhat.com>
1070
1071         * jni/gtk-peer/gdkfont.h: New file.
1072         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
1073         include of cairo-xlib.h, add extra gdk_flush().
1074
1075 2003-12-12  Fernando Nasser  <fnasser@redhat.com>
1076
1077         * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
1078         native state table -- native_global_ref_table.
1079         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
1080         native_global_ref_table pointer.
1081         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1082         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
1083         global reference is deleted and memory allocated for pointer freed.
1084         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
1085         JNI global reference instead of JNI local reference.
1086         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1087         (pre_event_handler): Remove compilation warning.
1088         (connect_awt_hook): Use saved JNI global reference instead of creating
1089         a new one.
1090         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1091         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
1092         reference to the Java object.
1093         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
1094         unused variable declaration and add comment.
1095         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
1096         (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
1097         reference to the Java object.
1098         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
1099         (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
1100         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1101         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
1102         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
1103         JNI global reference instead of JNI local reference.
1104         (item_toggled): Add debug statement.
1105         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1106         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
1107         reference to the Java object.
1108         (connect_choice_item_selectable_hook): Use saved JNI global references
1109         instead of JNI local reference.
1110         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
1111         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
1112         global reference to the Java object.
1113         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1114         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
1115         reference to the Java object.
1116         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1117         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
1118         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1119         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
1120         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1121         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
1122         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
1123         (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
1124         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1125         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
1126         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1127         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
1128         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1129         (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
1130         (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
1131         JNI global reference instead of JNI local reference.
1132         (item_selected): Add debug statement.
1133         (item_unselected): Add debug statement.
1134         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1135         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
1136         reference to the Java object.
1137         Connect "activate" signal handler using global JNI reference.
1138         (connect_activate_hook): Removed in favor of inline code.
1139         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1140         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
1141         reference to the Java object.
1142         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
1143         JNI global reference instead of JNI local reference.  Add FIXME comment.
1144         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
1145         reference to the Java object.  Add FIXME comment.
1146         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
1147         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
1148         reference to the Java object.
1149         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
1150         JNI global reference instead of JNI local reference.
1151         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1152         (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
1153         saved JNI global reference instead of JNI local reference.
1154         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1155         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
1156         reference to the Java object.
1157         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
1158         JNI global reference instead of JNI local reference.
1159
1160 2003-12-11  Michael Koch  <konqueror@gmx.de>
1161
1162         * java/text/Format.java (serialVersionUID): Fixed value.
1163
1164 2003-12-11  Michael Koch  <konqueror@gmx.de>
1165
1166         * javax/naming/event/EventDirContext.java: Jalopied.
1167         (addNamingListener): Fixed typo in method name.
1168         
1169
1170 2003-12-11  Mohan Embar  <gnustuff@thisiscool.com>
1171
1172         * gnu/java/nio/SocketChannelImpl.java
1173         (write): Removed diagnostic trace.
1174         * gnu/java/nio/natSelectorImplPosix.cc: Added
1175         includes for java.lang.Thread and java.io.InterruptedIOException.
1176         (helper_put_filedescriptors): Don't put invalid file descriptors
1177         in select set.
1178         (helper_get_filedescriptors): Clear invalid file descriptors
1179         from select set.
1180         (helper_reset): New method for clearing our file descriptor
1181         array.
1182         (implSelect): Correctly calculate timeout if specified and
1183         legal.
1184         Intercept and deal with any java.io.InterruptedIOException
1185         thrown by _Jv_select().
1186
1187 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1188
1189         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1190         Most coded moved to pre_event_handler, with the modifications
1191         mentioned below.
1192         (pre_event_handler): New function.  Called on the Gtk "event" signal.
1193         Do not retrieve the jobject from the window property as it is already
1194         available as user data in the signal.
1195         Do not try and find the grab widget as it is already done by Gtk at
1196         this point.
1197         Do not search for Window ancestor as Gtk already sends the signal to it.
1198         Do not meddle with the activation state of peer widgets on each
1199         key press or release.
1200         Add CList to the special handling when looking for the focused widget.
1201         * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
1202         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
1203         New function.
1204         (connectSignals): New function.
1205         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
1206         Rename to...
1207         (connectSignals): New name.  Get rid of NewGlobalRef call.
1208         Use g_signal_connect instead of deprecated gtk_signal_connect.
1209         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1210         (connect_choice_item_selectable_hook): Use g_signal_connect instead of
1211         deprecated gtk_signal_connect.
1212         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
1213         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1214         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1215         (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
1216         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1217         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1218         function.
1219         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1220         function.
1221         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1222         function.
1223         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1224         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1225         function.
1226         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1227         function.
1228         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1229         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1230         function.
1231         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1232         function.
1233         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1234         function.
1235         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
1236         code.
1237         (item_select): Remove indirection.
1238         (item_unselect): Ditto.
1239         (connect_selectable_hook): Folded into connectSignals.
1240         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1241         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1242         function.
1243         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1244         function.
1245         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1246         function.
1247         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
1248         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1249         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1250         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1251         function.
1252         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1253         function.
1254         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare  and call
1255         connectJObject and connectSignals instead of connectHooks.
1256         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
1257         connectSignals.
1258         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
1259         and not connectHooks.
1260         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
1261         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
1262         and not connectHooks.
1263         * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
1264         connectSignals instead of connectHooks.
1265         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
1266         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
1267         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto. 
1268
1269 2003-12-09  Michael Koch  <konqueror@gmx.de>
1270
1271         * Makefile.am (nat_headers_install): New variable with header files to
1272         install automatically.
1273         (install-data-local): Install all headers listed in
1274         nat_headers_install. Install innert nat headers explicitely.
1275         * Makefile.in: Regenerated.
1276
1277 2003-12-09  Michael Koch  <konqueror@gmx.de>
1278
1279         * java/util/Calendar.java,
1280         java/util/IdentityHashMap.java,
1281         java/util/prefs/Preferences.java:
1282         Import used classes explicitely.
1283
1284 2003-12-09  Michael Koch  <konqueror@gmx.de>
1285
1286         * java/net/DatagramSocket.java
1287         (close): Directly return if socket is closed.
1288         * java/net/ServerSocket.java
1289         (close): Directly return if socket is closed.
1290         * java/net/Socket.java
1291         (close): Directly return if socket is closed.
1292
1293 2003-12-09  Michael Koch  <konqueror@gmx.de>
1294
1295         * gnu/java/nio/SelectorImpl.java
1296         (implSelect): Throws IOException.
1297         (select): Likewise.
1298
1299 2003-12-08  Kim Ho  <kho@redhat.com>
1300
1301         Fix for Checkbox states.
1302         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
1303         (currentState): New field.
1304         (nativeCreate): Add initial state parameter.
1305         (create): Changed to reflect new parameter.
1306         (setState): Fire only on changed states.
1307         (postItemEvent): Fire only on changed states. Also change the 
1308         Java Checkbox to reflect new state.
1309         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
1310         (nativeCreate): Add parameter and set active state.
1311
1312 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1313  
1314         * java/awt/datatransfer/StringSelection.java (getTransferData): Return
1315         object of type expected by specified DataFlavor.
1316
1317 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1318  
1319         * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
1320         error which was clipping off the first character of a parameter value.
1321
1322 2003-12-08  Olga Rodimina <rodimina@redhat.com>
1323
1324         * java/awt/Polygon.java
1325         (translate): Fixed error that caused polygon 
1326         to move right/left when up/down translation was required.
1327         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
1328         (getSelectionStart): Initialized start position to 0. 
1329         (getSelectionEnd): Initialized end position to 0.
1330         (getCaretPosition): Initialized caret position to 0.
1331         (getText): Initialized selected text to NULL 
1332
1333 2003-12-08  Michael Koch  <konqueror@gmx.de>
1334
1335         Fix for PR libgcj/13176.
1336         * java/io/PrintStream.java: Partly revert my previous patches to get
1337         (line_separator): New field.
1338         (converter): New field.
1339         (work): New field.
1340         (work_bytes): New field.
1341         (pw): Removed.
1342         (closed): Removed.
1343         (PrintStrean): Initialize converter and not pw.
1344         (checkError): Flush always, pw doesn't exist anymore.
1345         (close): Close underlying out stream.
1346         (print): New method.
1347         (writeChars): New method.
1348         (print): Use new internal print method.
1349         (println): Likewise.
1350
1351 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1352
1353         * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
1354         putAllInternal.
1355         (putAllInternal): Correct comment.
1356         * java/util/HashMap.java (HashMap(Map)): As above.
1357         (putAllInternal): As above.
1358
1359 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1360
1361         * java/util/Hashtable.java (internalContainsValue): Removed.
1362         (containsValue): Don't delegate to internalContainsValue.
1363
1364 2003-12-06  Michael Koch  <konqueror@gmx.de>
1365
1366         * javax/naming/directory/Attribute.java,
1367         javax/naming/directory/Attributes.java,
1368         javax/naming/directory/DirContext.java,
1369         javax/naming/directory/InitialDirContext.java,
1370         javax/naming/directory/SearchResult.java,
1371         javax/naming/event/EventContext.java,
1372         javax/naming/event/NamingEvent.java,
1373         javax/naming/event/NamingExceptionEvent.java,
1374         javax/naming/ldap/ControlFactory.java,
1375         javax/naming/ldap/ExtendedRequest.java,
1376         javax/naming/ldap/HasControls.java,
1377         javax/naming/ldap/InitialLdapContext.java,
1378         javax/naming/ldap/LdapContext.java,
1379         javax/naming/ldap/LdapReferralException.java,
1380         javax/naming/ldap/UnsolicitedNotification.java,
1381         javax/naming/ldap/UnsolicitedNotificationListener.java,
1382         javax/naming/spi/DirObjectFactory.java,
1383         javax/naming/spi/DirStateFactory.java,
1384         javax/naming/spi/DirectoryManager.java,
1385         javax/naming/spi/NamingManager.java,
1386         javax/naming/spi/ObjectFactoryBuilder.java,
1387         javax/naming/spi/ResolveResult.java,
1388         javax/naming/spi/Resolver.java,
1389         javax/naming/spi/StateFactory.java:
1390         Import used classes explicitely.
1391
1392 2003-12-05  Scott Gilbertson  <scottg@mantatest.com>
1393
1394         * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
1395         (clip): Removed field
1396         (clipRectangles): New field.
1397         (clone): Use new updateClip.
1398         (setClipRectangles): Use new updateClip.
1399         * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
1400
1401 2003-12-04  Michael Koch  <konqueror@gmx.de>
1402
1403         * java/io/FilePermission.java:
1404         Import used classes explicitely.
1405
1406 2003-12-04  Michael Koch  <konqueror@gmx.de>
1407
1408         * java/beans/BeanDescriptor.java,
1409         java/beans/EventSetDescriptor.java,
1410         java/beans/FeatureDescriptor.java,
1411         java/beans/IndexedPropertyDescriptor.java,
1412         java/beans/Introspector.java,
1413         java/beans/MethodDescriptor.java,
1414         java/beans/PropertyDescriptor.java,
1415         java/beans/SimpleBeanInfo.java: Explicitely import used classes.
1416         * java/beans/beancontext/BeanContextServicesSupport.java
1417         (serialVersionUID): New field.
1418
1419 2003-12-04  Michael Koch  <konqueror@gmx.de>
1420
1421         * java/awt/MenuComponent.java: Import java.io.Serialization.
1422         * java/awt/MenuItem.java: Likewise.
1423         * java/awt/TextComponent.java: Likewise.
1424         * java/awt/image/ImagingOpException.java
1425         (serialVersionUID): Fixed.
1426
1427 2003-12-04  Michael Koch  <konqueror@gmx.de>
1428
1429         * gnu/java/net/protocol/http/Connection.java
1430         (sendRequest): Merged writing http headers with classpath.
1431         (getInputStream): Merged documentation from classpath.
1432         (getHeaderField): Likewise.
1433         (getHeaderFieldKey): Likewise.
1434
1435 2003-12-04  Michael Koch  <konqueror@gmx.de>
1436
1437         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
1438
1439 2003-12-04  Michael Koch  <konqueror@gmx.de>
1440
1441         * java/net/DatagramPacket.java
1442         (length): Made packge-private to make it accessible via CNI.
1443         (maxlen): New field.
1444         (DatagramPacket): Cleaned up.
1445         (setSocketAddress): Add message to exception.
1446         (setData): Call other setData().
1447         (setData): Call setLength().
1448         (setLength): Initialize maxlen too.
1449         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
1450         Get maximal length from maxlen field, set length field directly.
1451         (receive): Likewise.
1452         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1453         Get maximal length from maxlen field, set length field directly.
1454         (receive): Likewise.
1455
1456 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
1457
1458         * gnu/java/nio/natSelectorImplPosix.cc
1459         (implSelect): A timeout of 0 means an infinite
1460         timeout.
1461
1462 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1463  
1464         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1465         of ActionEvents.
1466
1467 2003-12-03  Michael Koch  <konqueror@gmx.de>
1468
1469         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
1470         * java/lang/natClass.cc (getSigners): Likewise.
1471         (setSigners): Likewise.
1472
1473 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
1474
1475         * configure.in: Added new MinGW-specific configure flag
1476         --with-win32-nlsapi.
1477         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
1478         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
1479         is set to unicows.
1480         * configure: Rebuilt.
1481         * include/config.h.in: Rebuilt.
1482         * win32.cc (_Jv_Win32NewString): Implemented.
1483         (nativeToUnicode): New helper function defined only for
1484         non-UNICODE builds.
1485         (unicodeToNative): Likewise.
1486         (_Jv_Win32TempString): Implemented.
1487         (lots): Refactored using tchar.h macros.
1488         (WSAEventWrapper): Use _Jv_Win32NewString.
1489         (_Jv_platform_initialize): Use GetModuleFileNameA instead
1490         of GetModuleFileName.
1491         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
1492         Use temporary stack buffer instead of a heap buffer.
1493         * include/win32.h
1494         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
1495         defined; added tchar.h include.
1496         (_Jv_Win32TempString): Declared new helper class.
1497         (JV_TEMP_STRING_WIN32): New helper macro.
1498         (_Jv_Win32NewString): Declared new helper method.
1499         * java/io/natFileDescriptorWin32.cc (open): Use
1500         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1501         (write): Reformatted slightly.
1502         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
1503         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1504         (getCanonicalPath): Use _Jv_Win32NewString instead of
1505         JvNewStringUTF.
1506         (performList): Likewise.
1507         * java/lang/natWin32Process.cc (ChildProcessPipe):
1508         Use tchar.h macros.
1509         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
1510         and UNICODE environment flag for CreateProcess.
1511         * java/net/natNetworkInterfaceWin32.cc
1512         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
1513         _Jv_Win32NewString.
1514
1515 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
1516
1517         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1518         (initState): Mark obj parameter as unused.
1519         (stringWidth): Mark obj parameter as unused.  Initialize
1520         font_name properly.
1521
1522         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
1523         BufferedImageBuilder class static.
1524
1525 2003-12-02  Mark Wielaard  <mark@klomp.org>
1526
1527         * java/security/Security.java: Don't use &nbsp; in the api doc.
1528
1529 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1530
1531         Reported by: Jim Pick <jim@kaffe.org>
1532         * libraries/javalib/java/util/Hashtable.java
1533         (internalcontainsValue): New method.
1534         (contains): Delegate to internalContainsValue.
1535         
1536         Reported by: Mark Wielaard  <mark@klomp.org>
1537         * libraries/javalib/java/util/Hashtable.java
1538         (contains): Improved comment.
1539         
1540         Reported by: Jeroen Frijters  <jeroen@frijters.net>
1541         * libraries/javalib/java/util/Hashtable.java
1542         (containsValue): Delegate to contains(Object) to make sure older
1543         code overwriting it continues to work.
1544
1545 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1546
1547         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
1548         method. Handle mouse and key events that must generate
1549         ActionEvents.
1550         * java/awt/List.java (getSelectedIndex): Return -1
1551         if no list element is selected.
1552         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1553         Correct handling of mouse and key events so that List receives them.
1554         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1555         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
1556         multiple list elements. 
1557
1558 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1559
1560         * java/text/SimpleDateFormat.java (compileFormat):
1561         isLowerCase() and isUpperCase() allow too many characters.
1562         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
1563
1564 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1565
1566         * java/text/FieldPosition.java (equals): Fixed comment.
1567
1568 2003-12-02  Mark Wielaard  <mark@klomp.org>
1569
1570         Reported by Archie Cobbs:
1571         * java/security/DigestInputStream.java (read(byte[], int, int): Call
1572         digest.update() with temp, not len as lenght.
1573
1574 2003-12-02  Michael Koch  <konqueror@gmx.de>
1575
1576         * java/net/DatagramSocket.java
1577         (close): Close associated DatagramChannel object.
1578         * java/net/ServerSocket.java
1579         * java/net/Socket.java
1580         (close): Reset impl and bound before calling getChannel().close() to
1581         prevent from loops.
1582
1583 2003-12-02  Michael Koch  <konqueror@gmx.de>
1584
1585         * java/nio/channels/spi/AbstractInterruptibleChannel.java
1586         (opened): Removed.
1587         (closed): New field.
1588         (close): Check of channel is closed already.
1589         (isOpen): Return !closed.
1590
1591 2003-12-02  Michael Koch  <konqueror@gmx.de>
1592
1593         * gnu/java/nio/DatagramChannelImpl.java
1594         (blocking): Initialize with true by default.
1595         * gnu/java/nio/ServerSocketChannelImpl.java
1596         (serverSocket): Made private.
1597         (blocking): Likewise.
1598         (connected): Likewise.
1599         * gnu/java/nio/SocketChannelImpl.java
1600         (connectionPending): Made private.
1601         * gnu/java/nio/FileLockImpl.java
1602         (static): Load native library (needed for classpath).
1603         * gnu/java/nio/SelectorImpl.java
1604         (static): Load native library (needed for classpath).
1605
1606 2003-12-02  Michael Koch  <konqueror@gmx.de>
1607
1608         * gnu/java/net/protocol/file/Connection.java
1609         (getLastModified): Implement for file connections.
1610         (getContentLength): Likewise.
1611
1612 2003-12-02  Michael Koch  <konqueror@gmx.de>
1613
1614         * gnu/java/net/protocol/file/Connection.java:
1615         Some reformating.
1616         (file): Renamed from fileIn.
1617         (getPermission): Moved around.
1618
1619 2003-12-02  Michael Koch  <konqueror@gmx.de>
1620
1621         * gnu/java/net/protocol/jar/Connection.java
1622         (Connection): Made class final, merged documentation with classpath.
1623         (file_cache): Made private.
1624         (jar_file): Renamed from jarfile.
1625
1626 2003-12-02  Michael Koch  <konqueror@gmx.de>
1627
1628         * gnu/java/net/protocol/http/Connection.java
1629         (Connection): Initialize doOutput to false;
1630         (connect): Initialize inputStream, moved "send request" code to new
1631         method.
1632         (sendRequest): New method.
1633         (getHttpHeaders): Don't reinitialize inputStream.
1634
1635 2003-12-02  Michael Koch  <konqueror@gmx.de>
1636
1637         * gnu/java/net/protocol//http/Connection.java
1638         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
1639         (requestProperties): Initialize, documentation added.
1640         (inputStream): Renamed from bufferedIn.
1641         (Connection): Dont initialize requestProperties.
1642         (setDefaultRequestProperty): Removed.
1643         (getDefaultRequestProperty): Removed.
1644         (usingProxy): Documentation added.
1645         (getHttpHeaders): Likewise.
1646
1647 2003-12-02  Michael Koch  <konqueror@gmx.de>
1648
1649         * java/text/DateFormat.java:
1650         Explicitely import used classes.
1651
1652 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
1653
1654         * verify.cc (state::clean_subrs): Clear seen_subrs.
1655         (state::copy): Walk seen_subrs from copy, not `this'.
1656         Don't clear seen_subrs.
1657
1658 2003-12-01  Kim Ho <kho@redhat.com>
1659
1660         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
1661         Disable wrapping if TextArea has horizontal scroll bars.
1662
1663 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1664
1665         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1666         (awt_event_handler): Hard-code inset values.
1667
1668         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
1669         Pass font name, not XLFD, to initState.
1670         (stringWidth(String, int, String)): New method.
1671         (stringWidth(String)): Call new stringWidth.
1672         (getLeading): Always return 0.
1673         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1674         (initState): New Pango implementation.
1675         (stringWidth): Likewise.
1676
1677 2003-12-01  Olga Rodimina <rodimina@redhat.com>
1678
1679         * java/awt/TextComponent.java:
1680         (getSelectionStart): Updated javadocs.
1681         (getSelectionEnd): Ditto.
1682         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
1683         (getSelectionStart): Changed to return caret position if no
1684         text is selected
1685         (getSelectionEnd): Ditto.
1686
1687 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1688
1689         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
1690         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
1691         gnu/awt/gtk/GtkContainerPeer.java,
1692         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
1693         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
1694         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
1695         gnu/awt/gtk/natGtkComponentPeer.cc,
1696         gnu/awt/gtk/natGtkContainerPeer.cc,
1697         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
1698         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
1699         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
1700
1701         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1702         (closed): Mark loader parameter as unused.
1703
1704 2003-12-01  Michael Koch  <konqueror@gmx.de>
1705
1706         * gnu/java/net/protocol/http/Connection.java
1707         (Connection): Merged class documentation.
1708         (socket): Renamed from sock.
1709         (Connection): Made protected, documentation added.
1710         (connect): Give URL'S host instead of InetAddress to Socket
1711         constructor.
1712         (disconnect): Documentation added.
1713         (getOutputStream): Rewrapped.
1714
1715 2003-12-01  Michael Koch  <konqueror@gmx.de>
1716
1717         * gnu/java/net/protocol/file/Connection.java
1718         (fileIn): Documentation added.
1719         (inputStream): Likewise.
1720         (outputStream): Likewise.
1721         (Connection): Likewise.
1722         (connect): Simplified.
1723
1724 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1725
1726         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
1727         setProperties): Check that io is not null before calling
1728         io.imageUpdate.
1729         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
1730         Update javadocs.
1731         * java/awt/image/PixelGrabber.java: Fix implementation and
1732         update javadocs.
1733
1734 2003-12-01  Michael Koch  <konqueror@gmx.de>
1735
1736         * gnu/java/net/natPlainSocketImplPosix.cc
1737         bind(): Dont set SockedImpl.address field on succesful bind.
1738         * gnu/java/net/natPlainSocketImplWin32.cc
1739         bind(): Likewise.
1740
1741 2003-11-30  Jeff Sturm <jsturm@one-point.com>
1742
1743         * java/net/InetAddress.java:
1744         (static): Don'f force DNS request for ANY_IF address.
1745
1746 2003-11-30  Michael Koch  <konqueror@gmx.de>
1747
1748         * java/net/InetAddress.java,
1749         java/net/natInetAddressNoNet.cc,
1750         java/net/natInetAddressPosix.cc,
1751         java/net/natInetAddressWin32.cc:
1752         Reverted my last patch.
1753
1754 2003-11-28  Michael Koch  <konqueror@gmx.de>
1755
1756         * java/net/InetAddress.java
1757         (lookup): New method that doesnt lookup "0.0.0.0".
1758         (ImplLookup): Renamed from lookup.
1759         * java/net/natInetAddressNoNet.cc
1760         (ImplLookup): Renamed from lookup.
1761         * java/net/natInetAddressPosix.cc
1762         (ImplLookup): Renamed from lookup.
1763         * java/net/natInetAddressWin32.cc
1764         (ImplLookup): Renamed from lookup.
1765
1766 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1767
1768         * configure: Rebuilt.
1769         * configure.in: Require gtk and glib 2.2.0.
1770
1771 2003-11-27  Dalibor Topic <robilad@kaffe.org>
1772
1773         * java/text/FieldPosition.java (equals): Adapted to handle
1774         field_attribute. Added fast-circuit check for comparison to self.
1775         Replaced use of instanceof by getClass to fix symmetry for derived
1776         types.
1777         (toString): Adapted to handle field_attribute. Improved readability.
1778         (hashCode): New method.
1779
1780 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1781
1782         * java/text/FieldPosition.java (field_attribute): New field.
1783         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
1784         getFieldAttribute): New methods.
1785
1786 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1787
1788         * java/text/DecimalFormatSymbols.java (locale): New field.
1789         (DecimalFormatSymbols (Locale)): Set locale.
1790         (serialVersionOnStream): Upgraded to number 2.
1791         (readObject): Assign locale if it wasn't by the serializer.
1792
1793 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1794
1795         * java/text/FormatCharacterIterator.java: Documented the class and
1796
1797 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1798
1799         * java/text/FormatCharacterIterator.java: Fixed some typos.
1800
1801 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1802
1803         * java/text/NumberFormat.java:
1804         (getIntegerInstance) Added the java version in the comments.
1805
1806 2003-11-27  Mark Wielaard  <mark@klomp.org>
1807
1808         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
1809         (readResolve): Reformat.
1810
1811 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1812
1813         * java/text/NumberFormat.java
1814         (NumberFormat.Field): New implemented class to match Java 1.4. 
1815         (getIntegerInstance): Two new Java 1.4 methods.o
1816
1817 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1818
1819         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
1820         the leap day of the leap year twice.
1821         (computeFields): First week of month is 1 not 0.
1822
1823 2003-11-27  Mark Wielaard  <mark@klomp.org>
1824
1825         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
1826         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
1827
1828 2003-11-27  Michael Koch  <konqueror@gmx.de>
1829
1830         * javax/swing/UIDefaults.java:
1831         Reformated to match classpath's version.
1832
1833 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
1834
1835         * javax/swing/UIManager.java (getDefaults, getDimension,
1836         getIcon, getInsets, getInstalledLookAndFeels, getInt,
1837         getLookAndFeel, getString, getSystemLookAndFeelClassName):
1838         Declare as public.
1839
1840 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1841
1842         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
1843         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
1844         isSignificant): Likewise.
1845
1846 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1847
1848         * javax/swing/undo/CompoundEdit.java: Re-format, document.
1849         (inProgress): Set initial value to true.
1850         (undo, redo, die, canUndo, canRedo): Also call inherited
1851         implementation; simplify code structure.
1852         (getPresentationName, getUndoPresentationName,
1853         getRedoPresentationName): Make behavior dependent on lastEdit.
1854         (addEdit, isSignificant): Completely re-written.
1855
1856 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1857
1858         * javax/swing/undo/StateEdit.java: Re-format, document.
1859         (undo, redo): Also call inherited implementation.
1860
1861 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1862
1863         * javax/swing/undo/StateEditable.java: Re-format, document.
1864
1865 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1866
1867         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
1868         (AbstractUndoableEdit): Initialize hasBeenDone to true.
1869         (canUndo, canRedo): Simplify.
1870         (getUndoPresentationName, getRedoPresentationName): Support
1871         localized message; call getPresentationName() only once.
1872
1873 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
1874
1875         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
1876         (ZipFile(File,int)): Likewise.
1877
1878 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
1879
1880         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
1881         (putAllInternal): Likewise.
1882         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
1883         (putAllInternal): Likewise.
1884
1885 2003-11-26  Michael Koch  <konqueror@gmx.de>
1886
1887         * java/net/URLStreamHandler.java
1888         (parseURL): Added comment in catch statement.
1889         (canonicalizeFilename): Add documentation.
1890         (sameURL): Completed documentation.
1891         (equals): Likewise.
1892         (hostsEqual): Likewise.
1893         (getDefaulPort): Likewise.
1894         (hashCode): Likewise.
1895         (toExternalForm): Likewise.
1896         (getHostName): Fix empty hostname check, completed documentation.
1897
1898 2003-11-26  Tom Tromey  <tromey@redhat.com>
1899
1900         * java/lang/natDouble.cc (parseDouble): Reverted patch of
1901         2003-11-13.
1902
1903 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
1904             Mark Wielaard  <mark@klomp.org>
1905
1906         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
1907         ('@' should be checked to distinguish port from userinfo).
1908         (toExternalForm): Add @ userInfo if necessary.
1909
1910
1911 2003-11-26  Michael Koch  <konqueror@gmx.de>
1912
1913         * java/net/DatagramSocket.java
1914         (DategramSocket, bind): Moved binding code from DatagramSocket
1915         constructor to bind method.
1916
1917 2003-11-26  Michael Koch  <konqueror@gmx.de>
1918
1919         * java/net/DatagramSocket.java
1920         (impl): Made private.
1921         (bound): New private member variable.
1922         (DatagramSocket): Fixed documentation, use getImpl().
1923         (getImpl): New package-private method.
1924         (isClosed): Use getImpl().
1925         (getLocalAddress): Completed documentation, use getImpl().
1926         (getLocalPort): Use getImpl().
1927         (getSoTimeout): Likewise.
1928         (setSoTimeout): Likewise.
1929         (getSendBufferSize): Likewise.
1930         (setSendBufferSize): Likewise.
1931         (getReceiveBufferSize): Likewise.
1932         (setReceiveBufferSize): Likewise.
1933         (connect): Likewise.
1934         (disconnect): Likewise.
1935         (receive): Likewise.
1936         (send): Likewise.
1937         (setReuseAddress): Likewise.
1938         (setTrafficClass): Likewise.
1939         (bind): Added message to exception.
1940         (isClosed): Completed documentation.
1941         (getChannel): Likewise.
1942         (connect): Added missing exception, refined exception message.
1943         (isBound): Completed documentation, just return bound.
1944         (isConnected): Completed documentation.
1945         (getRemoteSocketAddress): Likewise.
1946         (getReuseAddress): Completed documentation, use getImpl().
1947         (setSoBroadcast): Likewise.
1948         (getSoBroadcast): Likewise.
1949         (getTrafficClass): Likewise.
1950         (getLocalSocketAddress): Simplified.
1951         * java/net/MulticastSocket.java
1952         (MulticastSocket): Removed comment not applying anymore.
1953         (getInterface): Use getImpl().
1954         (getTTL): Likewise.
1955         (getTimeToLive): Likewise.
1956         (setInterface): Likewise.
1957         (setNetworkInterface): Likewise.
1958         (getNetworkInterface): Likewise.
1959         (setLoopback): Likewise.
1960         (getLoopback): Likewise.
1961         (setTTL): Likewise.
1962         (setTimeToLive): Likewise.
1963         (joinGroup): Likewise.
1964         (leaveGroup): Likewise.
1965         (send): Likewise.
1966
1967 2003-11-26  Michael Koch  <konqueror@gmx.de>
1968
1969         * java/net/Socket.java
1970         (implCreated): Dont set default value explicitely, added
1971         documentation.
1972         (inputShutdown): Likewise.
1973         (outputShutdown): Likewise.
1974         (bound): New private member variable.
1975         (bind): Set bound to true.
1976         (close): Set bound to false.
1977         (isBound): Return bound.
1978         * java/net/ServerSocket.java
1979         (bound): New private member variable.
1980         (bind): Set bound to true.
1981         (close): Set bound to false.
1982         (isBound): Return bound.
1983
1984 2003-11-26  Michael Koch  <konqueror@gmx.de>
1985
1986         * java/net/URL.java
1987         (URL): Fixed documentation to be HTML compliant.
1988         (getContent): Completed documentation.
1989         (getFile): Likewise.
1990         (getPath): Likewise.
1991         (getAuthority): Likewise.
1992         (getHost): Likewise.
1993         (getDefaultPort): Likewise.
1994         (getProtocol): Likewise.
1995         (hashCode): Likewise.
1996         (openConnection): Likewise.
1997         (openStream): Likewise.
1998         (set): Likewise.
1999         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
2000
2001 2003-11-26  Michael Koch  <konqueror@gmx.de>
2002
2003         * java/net/InetSocketAddress.java
2004         (hostname): Made private, added documentation.
2005         (addr): Likewise.
2006         (port): Likewise.
2007         (equals): Completed documentation.
2008         (getAddress): Likewise.
2009         (getHostName): Likewise.
2010         (getPort): Likewise.
2011         (hashCode): Likewise.
2012         (isUnresolved): Likewise.
2013         (toString): Likewise.
2014
2015 2003-11-26  Michael Koch  <konqueror@gmx.de>
2016
2017         * gnu/java/net/protocol/file/Handler.java
2018         (Handler): New explicit constructor.
2019         (openConnection): Added documentation.
2020         * gnu/java/net/protocol/jar/Handler.java
2021         (Handler): New explicit constructor.
2022         (openConnection): Added documentation.
2023
2024 2003-11-26  Michael Koch  <konqueror@gmx.de>
2025
2026         * java/net/DatagramPacket.java
2027         (DatagramPacket): Fixed documentation to become legal HTML.
2028
2029 2003-11-25  Michael Koch  <konqueror@gmx.de>
2030
2031         * gcj/javaprims.h: Added missing java.util.Currency.
2032
2033 2003-11-25  Michael Koch  <konqueror@gmx.de>
2034
2035         * testsuite/libjava.mauve/xfails:
2036         Removed these two tests, they mystically pass now:
2037         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
2038         test_params failed - 5getInetAddress did not return proper values
2039         (number 1)
2040         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
2041         test_BasicServer failed - 11 exception was thrown :Illegal seek
2042         (number 1)
2043
2044 2003-11-25  Michael Koch  <konqueror@gmx.de>
2045
2046         * java/net/DatagramSocket.java
2047         (factory): Made private.
2048         (closed): Removed.
2049         (DatagramSocket): Check impl argument, use constructor with
2050         SocketAddress argument.
2051         (close): Set impl to null, use isClosed().
2052         (isClosed): Check for impl == null.
2053         (getLocalAddress): Use isClosed().
2054         (getLocalPort): Check if socket is closed.
2055         (getSoTimeout): Likewise.
2056         (setSoTimeout): Likewise.
2057         (getSendBufferSize): Likewise.
2058         (setSendBufferSize): Likewise.
2059         (getReceiveBufferSize): Likewise.
2060         (setReceiveBufferSize): Likewise.
2061         (receive): Likewise.
2062         (send): Likewise.
2063         (bind): Likewise.
2064         (connect): Likewise.
2065         (setReuseAddress): Likewise.
2066         (getReuseAddress): Likewise.
2067         (setBroadcast): Likewise.
2068         (getBroadcast): Likewise.
2069         (setTrafficClass): Likewise.
2070         (getTrafficClass): Likewise.
2071         * java/net/MulticastSocket.java
2072         (getInterface): Check if socket is closed.
2073         (getTTL): Likewise.
2074         (getTimeToLive): Likewise.
2075         (setInterface): Likewise.
2076         (setNetworkInterface): Likewise.
2077         (getNetworkInterface): Likewise.
2078         (setLoopbackMode): Likewise.
2079         (setTTL): Likewise.
2080         (setTimeToLive): Likewise.
2081         (joinGroup): Likewise.
2082         (leaveGroup): Likewise.
2083         (send): Likewise.
2084         * java/net/ServerSocket.java
2085         (closed): Removed.
2086         (close): Check if socket is closed, set impl to null.
2087         (isClosed): Check impl == null;
2088         (ServerSocket): Check impl argument.
2089         (getInetAddress): Check if socket is bound.
2090         (getLocalPort): Likewise.
2091         (getLocalSocketAddress): Likewise.
2092         (bind): Check if socket is closed.
2093         (implAccept): Likewise.
2094         (setSoTimeout): Likewise.
2095         (getSoTimeout): Likewise.
2096         (setReuseAddress): Likewise.
2097         (getReuseAddress): Likewise.
2098         (setReceiveBufferSize): Likewise.
2099         (getReceiveBufferSize): Likewise.
2100         (toString): Make output compliant to JDK 1.4.2.
2101         * java/net/Socket.java
2102         (closed): Removed.
2103         (Socket): Fixed documentation.
2104         (connect): Check if socket is closed, changed exception text,
2105         fixed documentation.
2106         (getInputStream): Check of socket is closed  and connected.
2107         (getOutputStream): Likewise.
2108         (bind): Check if socket is closed.
2109         (setTcpNoDelay): Likewise.
2110         (getTcpNoDelay): Likewise.
2111         (setSoLinger): Likewise.
2112         (getSoLinger): Likewise.
2113         (sendUrgentData): Likewise.
2114         (setOOBInline): Likewise.
2115         (getOOBInline): Likewise.
2116         (setSoTimeout): Likewise.
2117         (getSoTimeout): Likewise.
2118         (setSendBufferSize): Likewise.
2119         (getSendBufferSize): Likewise.
2120         (setReceiveBufferSize): Likewise.
2121         (getReceiveBufferSize): Likewise.
2122         (setKeepAlive): Likewise.
2123         (getKeepAlive): Likewise.
2124         (close): Likewise.
2125         (shutdownInput): Likewise.
2126         (shutdownOutput): Likewise.
2127         (getReuseAddress): Likewise.
2128         (getTrafficClass): Likewise.
2129         (setTrafficClass): Likewise.
2130         (isClosed): Check impl == null.
2131         (toString): Added missing ']'.
2132
2133 2003-11-24  Tom Tromey  <tromey@redhat.com>
2134
2135         * Makefile.in: Rebuilt.
2136         * Makefile.am (propdir): New macro.
2137         (install-data-local): Install logging.properties.
2138         (core_java_source_files): Added java.util.logging.*.
2139         * java/util/logging/logging.properties: New file.
2140
2141 2003-11-25  Michael Koch  <konqueror@gmx.de>
2142
2143         * java/net/DatagramSocket.java
2144         (DatagramSocket): Move binding code to bind(), simplify constructors.
2145         * java/net/MulticastSocket.java
2146         (MulticastSocket): Call parent constructor with null argument,
2147         bind socket after setReuseAddress is called, simplify constructors.
2148
2149 2003-11-24  Michael Koch  <konqueror@gmx.de>
2150
2151         * javax/swing/BoxLayout.java
2152         (serialVersionUIR): New member variable.
2153         (X_AXIS, Y_AXIS): Documentation added.
2154         (LINE_AXIS, PAGE_AXIS): New constants.
2155         (grid): Renamed from gridbag.
2156         (BoxLayout): Use new constants, throw exception if invalid value for
2157         way, added documentation.
2158         (BoxLayout): Removed.
2159         (addLayoutComponent): Use new constants, added documentation.
2160         (removeLayoutComponent): Likewise.
2161         (addLayoutContainer): Added documentation.
2162         (preferredLayoutSize): Added documentation, check given argument.
2163         (minimumLayoutSize): Likewise.
2164         (layoutContainer): Likewise.
2165         (getLayoutAlignmentX): Likewise.
2166         (getLayoutAlignmentY): Likewise.
2167         (invalidateLayout): Likewise.
2168         (maximumLayoutSize): Likewise.
2169
2170 2003-11-22  Michael Koch  <konqueror@gmx.de>
2171
2172         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2173         (peekData): Use offset and maximal free space in datagram packet.
2174         (receive): Likewise.
2175         (send): Use offset in datagram packet.
2176
2177 2003-11-22  Michael Koch  <konqueror@gmx.de>
2178
2179         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2180         (peekData): Use offset and maximal free space in datagram packet.
2181         (receive): Likewise.
2182         (send): Use offset in datagram packet.
2183
2184 2003-11-22  Michael Koch  <konqueror@gmx.de>
2185
2186         * gnu/java/nio/DatagramChannelImpl.java
2187         (getNativeFD): Use getPlainDatagramSocketImpl().
2188         * gnu/java/nio/NIODatagramSocket.java
2189         (getPlainDatagramSocketImpl): Renamed from getImpl().
2190         * gnu/java/nio/NIOSocket.java
2191         (getPlainSocketImpl): Renamed from getImpl().
2192         (setChannel): Use getPlainSocketImpl().
2193         * gnu/java/nio/SocketChannelImpl.java
2194         (SocketChannelImpl): Use getPlainSocketImpl().
2195         (getPlainSocketImpl): Renamed from getImpl().
2196         (getNativeFD): Use getPlainSocketImpl().
2197
2198 2003-11-18  Graydon Hoare  <graydon@redhat.com>
2199
2200         * javax/swing/JLayeredPane.java: Implement.
2201         * javax/swing/JFrame.java (getContentPane): Make public
2202         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
2203         Use JLayeredPane.FRAME_CONTENT_LAYER.
2204
2205 2003-11-21  Mark Wielaard  <mark@klomp.org>
2206
2207         * java/lang/Float.java (static): Removed.
2208
2209 2003-11-18  Graydon Hoare  <graydon@redhat.com>
2210
2211         * java/awt/font/TextLayout.java: Implement simple layouts
2212         using attributed strings and glyph vectors.
2213
2214 2003-11-17  Graydon Hoare  <graydon@redhat.com>
2215
2216         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
2217         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
2218         (GdkFontLineMetrics): New inner class.
2219         (getLineMetrics): Return new GdkFontLineMetrics.
2220         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
2221         (layoutGlyphVector): Create GdkGlyphVector.
2222         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
2223         (GdkGraphics2D): Initialize state via mathod calls.
2224         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
2225         (cairoTranslate, cairoScale, cairoRotate): Remove.
2226         (various methods): use setTransform for special transform cases.
2227         (DrawState): New inner class.
2228         (stateSave): New method.
2229         (stateRestore): New method.
2230         (various methods): use stateSave, stateRestore.
2231         (getClipInDevSpace): New method.
2232         (clip, clipRect, setClip, getClip, getClipBounds): 
2233         Follow spec more closely.
2234         (getTransform): Return clone of transform.
2235         (setStroke): Set linewidth to passed width / 2.0.
2236         (setPaintMode): Set SrcOver rather than Xor.
2237         (setColor): Set paint to passed color.
2238         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
2239         transform from image to user space.
2240         (drawRenderedImage, drawRenderableImage): Implement.
2241         (getFontRenderContext, getFontMetrics, drawString, getFont): 
2242         Implement
2243         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
2244         Implement.
2245         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
2246         Match changes to java side.
2247         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
2248         Release resources.
2249         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
2250         Don't use pango for metrics.
2251         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
2252         New file.
2253
2254 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
2255             Jim Pick  <jim@kaffe.org>
2256
2257         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
2258         methods.
2259
2260 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
2261
2262         * java/text/DecimalFormatSymbols.java (getCurrency,
2263         setCurrency): New methods.
2264
2265 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
2266
2267         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
2268         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
2269         Describe how the implementation works.
2270
2271 2003-11-19  Michael Koch  <konqueror@gmx.de>
2272
2273         * java/net/Socket.java
2274         (implCreated): New variable that indicates created impl.
2275         (getImpl): New method.
2276         (toString): Return more SUN compliant string representation.
2277         (various): Use getImpl() instead of impl.
2278
2279 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
2280
2281         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
2282         the right libgcc. Add -multiply_defined suppress and -bind_at_load
2283         flags.
2284
2285 2003-11-18  Tom Tromey  <tromey@redhat.com>
2286
2287         PR libgcj/13026:
2288         * verify.cc (state::copy): Only set local_changed if we're in a
2289         subroutine.  Correctly copy local variables which were modified
2290         by the subroutine.
2291         (push_jump_merge): Added more debugging output.
2292
2293         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
2294         is null.
2295
2296 2003-11-17  Graydon Hoare  <graydon@redhat.com>
2297
2298         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
2299         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
2300
2301 2003-11-16  Tom Tromey  <tromey@redhat.com>
2302
2303         PR libgcj/13062:
2304         * java/io/StreamTokenizer.java (commentChar): Clear other
2305         attributes for character.
2306         (quoteChar): Likewise.
2307
2308 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
2309
2310         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
2311         zero-length int arrays when layoutInfo is null.
2312         (getLayoutWeights): Return array of two zero-length double arrays when
2313         layoutInfo is null.
2314
2315 2003-11-13  Tom Tromey  <tromey@redhat.com>
2316
2317         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
2318         JvGetStringUTFRegion.
2319         * java/lang/natPosixProcess.cc (new_string): Pass length of string
2320         to JvGetStringUTFRegion.
2321         * java/lang/natDouble.cc (parseDouble): Pass length of string to
2322         JvGetStringUTFRegion.
2323         * java/lang/natWin32Process.cc (startProcess): Pass length of
2324         string to JvGetStringUTFRegion.
2325         * java/lang/natClass.cc (forName): Pass length of string to
2326         JvGetStringUTFRegion.
2327         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
2328         of string to JvGetStringUTFRegion.
2329         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
2330         JvGetStringUTFRegion.
2331         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
2332         to JvGetStringUTFRegion.
2333         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
2334         string to JvGetStringUTFRegion.
2335
2336 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
2337
2338         * gnu/java/nio/natSelectorImplPosix.cc
2339         (helper_put_filedescriptors): Change to static linkage.
2340         (helper_get_filedescriptors): Likewise.
2341
2342 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
2343
2344         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
2345         null check.
2346         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
2347         * java/awt/Component.java (prepareImage): Likewise.
2348
2349         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
2350         Rename to nativeSetAlignment.
2351
2352 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
2353
2354         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
2355         (JNI_GetCreatedJavaVMs): Likewise.
2356         (JNI_GetDefaultJavaVMInitArgs): Likewise.
2357         * include/jni.h (JNIIMPEXP): Remove definition
2358         and replace with...
2359         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
2360         symbols,
2361         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
2362
2363 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2364
2365         * Makefile.am: Add GdkPixbufDecoder.java and
2366         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
2367         * Makefile.in: Regenerate.
2368         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
2369         New constructor.
2370         (startProduction): Create ByteArrayInputStream when url and filename are
2371         null.
2372         (produce): Declare stream parameter as InputStream.
2373         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
2374         as InputStream.
2375         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
2376         (GdkPixbufDecoder(byte[],int,int)): New constructor.
2377         (produce): Declare stream parameter as InputStream.
2378         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
2379         if image is null.  Set image's observer before running PrepareImage
2380         thread.  Pass image to startProduction.
2381         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
2382         source's member functions.
2383         (observer): New field.
2384         (setObserver): New method.
2385         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
2386         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
2387         new GtkImage.
2388         (prepareImage): Implement.
2389         * java/awt/Component.java: Add static fields incrementalDraw and
2390         redrawRate.
2391         (imageUpdate): Implement.
2392         (createImage): Call Toolkit's createImage if peer is null.
2393         (prepareImage): Throw NPE if image is null.
2394         * java/awt/MediaTracker.java: Fix return value.
2395
2396 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2397
2398         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
2399         (create(String, float)): New method.
2400         (setText): Make native.
2401         (nativeSetAlignment): New method.
2402         (setAlignment): Call nativeSetAlignment.
2403         (getArgs): Remove method.
2404         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2405         (find_fg_color_widget, find_bg_color_widget): New functions.
2406         (gtkWidgetSetForeground): Call find_fg_color_widget.
2407         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
2408         prelight colors.
2409         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
2410         widget in event box.
2411         (setText, setAlignment): Implement new native methods.
2412
2413 2003-11-11  Michael Koch  <konqueror@gmx.de>
2414
2415         * java/awt/Font.java,
2416         java/awt/datatransfer/DataFlavor.java,
2417         java/math/BigInteger.java,
2418         java/net/Inet4Address.java,
2419         java/net/Inet6Address.java,
2420         java/rmi/MarshalledObject.java,
2421         java/rmi/server/RMIClassLoader.java,
2422         java/security/cert/CertStore.java,
2423         java/sql/Timestamp.java,
2424         java/text/SimpleDateFormat.java,
2425         javax/naming/CompoundName.java:
2426         Removed some redundant obj == null checks.
2427
2428 2003-11-11  Michael Koch  <konqueror@gmx.de>
2429
2430         * java/nio/ByteBuffer.java
2431         (equals): Remove redundant obj == null check.
2432
2433 2003-11-11  Michael Koch  <konqueror@gmx.de>
2434
2435         * gnu/java/nio/natPipeImpl.cc,
2436         gnu/java/nio/natSelectorImpl.cc: Removed
2437         * gnu/java/nio/natPipeImplEcos.cc,
2438         gnu/java/nio/natPipeImplPosix.cc,
2439         gnu/java/nio/natPipeImplWin32.cc,
2440         gnu/java/nio/natSelectorImplEcos.cc,
2441         gnu/java/nio/natSelectorImplPosix.cc,
2442         gnu/java/nio/natSelectorImplWin32.cc: New files
2443         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
2444         gnu/java/nio/natSelectorImpl.cc
2445         * configure: Regenerated.
2446
2447 2003-11-11  Micheal Koch  <konqueror@gmx.de>
2448
2449         * java/net/URLStreamHandler.java (toExternalForm): Print port only
2450         if host is printed too and port was really given to URL.
2451
2452 2003-11-10  Gary Benson  <gbenson@redhat.com>
2453
2454         * java/sql/Timestamp.java (valueOf): Correctly handle
2455         nanoseconds.
2456
2457 2003-11-09  Tom Tromey  <tromey@redhat.com>
2458
2459         * java/net/Inet4Address.java (serialVersionUID): Updated.
2460
2461 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2462
2463         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
2464         New fields.
2465
2466 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2467
2468         * java/io/ByteArrayOutputStream.java (resize):
2469         Fix off-by-one error.
2470
2471 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
2472
2473         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
2474         public.
2475
2476 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2477
2478         PR libgcj/12231
2479         * java/lang/Win32Process.java (hasExited) Changed from
2480         public to private.
2481         (startProcess): Likewise.
2482         (cleanup): Likewise.
2483         * java/lang/natWin32Process.cc (cleanup) Don't close
2484         input, output and error streams.
2485         (ChildProcessPipe): New helper class.
2486         (startProcess): Refactored to use ChildProcessPipe.
2487         Use CREATE_NO_WINDOW when launching child process.
2488
2489 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2490
2491         * include/win32.h (_Jv_platform_close_on_exec): Changed
2492         signature and declared extern.
2493         * win32.cc (_Jv_platform_close_on_exec): Implemented.
2494         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2495         (create): Use new signature of _Jv_platform_close_on_exec.
2496         * gnu/java/net/natPlainSocketImplWin32.cc 
2497         (create): Eliminated a few typecasts
2498         Use new signature of _Jv_platform_close_on_exec.
2499         (accept): Eliminated a few typecasts
2500         Use new signature of _Jv_platform_close_on_exec.
2501         * java/io/natFileDescriptorWin32.cc (open): Use
2502         _Jv_platform_close_on_exec.
2503
2504 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
2505
2506         * java/lang/natClass.cc (newInstance): Throw InstantiationException
2507         if class has no null-argument constructor.
2508
2509 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2510
2511         PR libgcj/12647:
2512         * win32-threads.cc (_Jv_CondWait): Respect mutex's
2513         refcount when releasing and reacquiring it.
2514
2515 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2516
2517         * win32.cc: (dirExists) Internal helper function to
2518         test for directory existence.
2519         (getUserHome) New helper function refactored out
2520         of _Jv_platform_initProperties. Uses USERPROFILE
2521         instead of HOMEDIR and attempts to support Win9X and NT.
2522         (_Jv_platform_initProperties) Use getUserHome.
2523
2524 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2525
2526         PR libgcj/11521:
2527         * gnu/java/net/natPlainSocketImplWin32.cc
2528         (bind): Don't use SO_REUSEADDR
2529
2530 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2531
2532         PR libgcj/6652:
2533         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
2534
2535 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
2536
2537         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
2538         dispatch for final methods.
2539
2540 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2541
2542         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
2543         word wrapping.
2544
2545 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
2546
2547         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
2548         scrolled window's size request.
2549
2550 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2551
2552         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
2553         * java/awt/geom/QuadCurve2D.java: Likewise.
2554
2555 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2556
2557         * java/awt/geom/CubicCurve2D.java: Added documentation.
2558         * java/awt/geom/QuadCurve2D.java: Likewise.
2559
2560         * java/awt/geom/doc-files/QuadCurve2D-4.png,
2561         java/awt/geom/doc-files/QuadCurve2D-5.png,
2562         java/awt/geom/doc-files/CubicCurve2D-4.png,
2563         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
2564
2565 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2566
2567         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
2568         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
2569         (subdivide(double[],int,double[],int,double[],int)): Implement.
2570
2571 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2572
2573         * java/awt/geom/doc-files/CubicCurve2D-1.png,
2574         java/awt/geom/doc-files/CubicCurve2D-2.png,
2575         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
2576
2577 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
2578
2579         * java/text/DecimalFormat.java
2580         (scanFormat) corrected so that '%' may appear in a pattern.
2581
2582 2003-10-29  Mark Wielaard  <mark@klomp.org>
2583
2584         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
2585         * java/text/DateFormat.java (Field): New public static inner class.
2586         * java/text/Format.java (Field): Likewise.
2587         (formatToCharacterIterator): New method.
2588         * java/text/FormatCharacterIterator.java: New file.
2589
2590 2003-10-29  Mark Wielaard  <mark@klomp.org>
2591
2592         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
2593         * java/util/Currency.java: New file.
2594
2595 2003-10-29  Michael Koch  <konqueror@gmx.de>
2596
2597         * Makefile.am (ordinary_java_source_files): Added
2598         java/text/FormatCharacterIterator.java and java/util/Currency.java.
2599         * Makefile.in: Regenerated.
2600
2601 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
2602
2603         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
2604         static methods.
2605
2606 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
2607
2608         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
2609         getObjectInstance() with Object, Name, Context and environment
2610         Hashtable from exception. Call fillInStackTrace() on exception when
2611         rethrown.
2612         * javax/naming/InitialContext.java (lookup(Name)): When a
2613         CannotProceedException is thrown use the ContinuationContext.
2614         (lookup(String)): Likewise.
2615         (close): Clear myProps and defaultInitCtx.
2616
2617 2003-10-29  Michael Koch  <konqueror@gmx.de>
2618
2619         * java/net/InetAddress.java
2620         (equals): Remove redundant obj == null check.
2621         * java/net/SocketPermission.java
2622         (equals): Likewise.
2623         * java/net/URL.java
2624         (equals): Likewise.
2625         (getURLStreamHandler): Likewise.
2626
2627 2003-10-29  Michael Koch  <konqueror@gmx.de>
2628
2629         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2630         (setOption): Directly return if no error occured.
2631         * gnu/java/net/natPlainSocketImplPosix.cc
2632         (setOption): Likewise.
2633
2634 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2635
2636         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
2637         vtable slot for final methods. Add FIXME comment.
2638
2639 2003-10-28  David S. Miller  <davem@redhat.com>
2640
2641         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
2642
2643 2003-10-26  Mark Wielaard  <mark@klomp.org>
2644
2645         Reported by Helmer Kraemer <hkraemer@freenet.de>
2646         * java/util/jar/JarInputStream.java (readManifest): Don't call
2647         closeEntry().
2648
2649         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
2650         (finish): Use inbufWrite().
2651         (write(int)): Likewise.
2652         (write(byte[],int,int)): Likewise.
2653
2654 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2655
2656         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
2657         Don't check for AccessibleObject. Update javadocs.
2658         
2659         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
2660
2661 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2662
2663         * java/lang/reflect/Constructor.java (toString): Avoid extra 
2664         whitespace on constructor with no modifiers.
2665         * java/lang/reflect/natConstructor.java (newInstance): Look up
2666         caller and perform accessibility check only if constructor is
2667         non-public and accessible flag is not set.
2668
2669 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2670
2671         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
2672         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
2673         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
2674         is_virtual_call argument.
2675         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
2676         natClass.cc.
2677         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
2678         _Jv_isVirtualMethod.
2679         * java/lang/reflect/natMethod.cc (invoke): Don't use 
2680         _Jv_LookupDeclaredMethod.
2681         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
2682         look up method in target object's vtable.
2683
2684 2003-10-25  Graydon Hoare  <graydon@redhat.com>
2685
2686         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
2687         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
2688         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
2689         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2690         New concrete implementation of ClasspathFontPeer, with native part.
2691         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2692         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2693         New class, with native part.
2694         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2695         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2696         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
2697
2698 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2699
2700         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
2701         on method with no modifiers.
2702
2703 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2704
2705         PR libgcj/11780:
2706         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
2707         accessibility check only if target is non-public and accessible flag
2708         is not set.
2709         * java/lang/reflect/natField.cc (getAddr): Likewise.
2710
2711 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
2712
2713         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
2714         Remove method.
2715         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
2716         New method.
2717         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
2718         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
2719         (dispose): Post WINDOW_CLOSED event.
2720         (addWindowFocusListener, addWindowStateListener): Assign result
2721         of multicaster add back to window listener.
2722         (removeWindowFocusListener, removeWindowStateListener): Assign
2723         result of multicaster remove back to window listener.
2724         (dispatchEventImpl): Add null checks for focus and state
2725         listeners.
2726         (processWindowEvent): Handle case where windowListener is null
2727         but state or focus listeners exist.
2728         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2729         glue for postWindowEvent.
2730         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2731         (window_delete_cb, window_destroy_cb, window_show_cb,
2732         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
2733         window_get_new_state): New functions.
2734         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
2735         macros.  Declare postWindowEventID.
2736
2737 2003-10-24  Anthony Green  <green@redhat.com>
2738
2739         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
2740         we have no interpreter.
2741
2742 2003-10-22  Andrew Haley  <aph@redhat.com>
2743
2744         * java/lang/natClass.cc (initializeClass): Call
2745         _Jv_linkExceptionClassTable.
2746         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
2747         _Jv_Defer_Resolution on a method whose ncode is NULL.
2748         (_Jv_linkExceptionClassTable): New function.
2749         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
2750         entry, look it up.
2751         * java/lang/Class.h (struct _Jv_CatchClass): New.
2752         (_Jv_linkExceptionClassTable): New friend.
2753         (_Jv_Defer_Resolution): New friend.
2754         (class Class.catch_classes): New field.
2755         * include/java-interp.h (Jv_Defer_Resolution): New method.
2756         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
2757         (_Jv_MethodBase.deferred): New field.
2758         (_Jv_Defer_Resolution): New function.
2759         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
2760         * exception.cc (get_ttype_entry): Change return type to void**.
2761         (PERSONALITY_FUNCTION): Remove all code related to using a
2762         Utf8Const* for a match type.  Change match type to be a pointer to
2763         a pointer, rather than a pointer to a Class.
2764         * defineclass.cc (handleCodeAttribute): Initialize
2765         method->deferred.
2766         (handleMethodsEnd): Likewise.
2767
2768 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2769
2770         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
2771         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
2772
2773 2003-10-22  Tom Tromey  <tromey@redhat.com>
2774
2775         PR libgcj/12416:
2776         * java/lang/Class.h: Updated.
2777         * java/lang/natClass.cc (_getFields): Removed.
2778         (getFields): Likewise.
2779         (getDeclaredFields): Added `public_only' parameter.
2780         * java/lang/Class.java (getFields): Now implemented in java; from
2781         Classpath.
2782         (getDeclaredFields): Likewise.
2783         (getDeclaredFields(boolean)): Declare.
2784         (_getFields): Removed.
2785         (internalGetFields): New method, from Classpath.
2786
2787         PR libgcj/12656:
2788         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
2789         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
2790
2791 2003-10-22  David Daney  <ddaney@avtrex.com)
2792
2793         * include/mips-signal.h: New file.
2794         * sysdep/dwarf2-backtrace.cc: New file.
2795         * sysdep/mips: New directory.
2796         * sysdep/mips/locks.h: New file.
2797         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
2798         added to libgcj.
2799         (extra_cc_source_files): Ditto.
2800         * configure.host(disable_dladdr):  New shell variable passed to
2801         configure.
2802         (mips*-*-linux*): sysdeps_dir=mips,
2803         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
2804         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
2805         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
2806         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
2807         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
2808         (EXTRA_CC_FILES): New, to support conditional addition of
2809         sysdep/dwarf2-backtrace.cc.
2810         * configure: Regenerated.
2811         * Makefile.in: Regenerated.
2812         * gcj/Makefile.in: Regenerated.
2813         * include/config.h.in: Regenerated.
2814         * include/Makefile.in: Regenerated.
2815         * testsuite/Makefile.in: Regenerated.
2816         
2817 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2818
2819         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
2820         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
2821
2822 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2823
2824         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
2825         * java/awt/geom/doc-files: New directory.
2826         * java/awt/geom/doc-files/QuadCurve2D-1.png,
2827         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
2828         
2829 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2830
2831         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
2832
2833 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2834
2835         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
2836
2837 2003-10-22  Michael Koch  <konqueror@gmx.de>
2838
2839         * java/io/File.java
2840         (equals): Removed redundant obj == null check.
2841         (createTempFile): Merged comments from classpath.
2842
2843 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2844
2845         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
2846         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
2847         (error): Synchronize on instance, not class.
2848
2849 2003-10-21  Mark Wielaard  <mark@klomp.org>
2850
2851         Reported by M.Negovanovic
2852         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
2853         method.
2854         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
2855
2856 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2857
2858         Fix for Classpath bug #6076.
2859         * java/awt/geom/GeneralPath.java (append): Re-written.
2860
2861 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2862
2863         Fix for Classpath bug #6089.
2864         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
2865         (getPathIterator, GeneralPathIterator): Re-written from scratch.
2866
2867 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2868
2869         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
2870         point, not start of subpath.  Fixes Classpath bug #6075.
2871
2872 2003-10-21  Michael Koch  <konqueror@gmx.de>
2873
2874         * java/nio/ByteOrder.java,
2875         java/nio/DirectByteBufferImpl.java,
2876         java/nio/channels/FileChannelImpl.java:
2877         Add code to load library with code for native methods if needed.
2878
2879 2003-10-21  Michael Koch  <konqueror@gmx.de>
2880
2881         * gnu/java/net/PlainDatagramSocketImpl.java,
2882         gnu/java/net/PlainSocketImpl.java,
2883         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
2884         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
2885         gnu/java/net/natPlainSocketImplPosix.cc,
2886         gnu/java/net/natPlainSocketImplWin32.cc:
2887         Renamed fnum to native_fd to match classpath more.
2888
2889 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
2890
2891         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
2892         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
2893         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
2894         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
2895         _Jv_PthreadCheckMonitor.  Simplify code.
2896         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
2897         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
2898         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
2899         * java/lang/Thread.java (holdsLock): New.
2900         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
2901         without JV_HASH_SYNCHRONIZATION.
2902         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
2903
2904 2003-10-20  Michael Koch  <konqueror@gmx.de>
2905
2906         * java/text/RuleBasedCollator.java
2907         (RuleBasedCollator): Check rules not empty, fixed search in already
2908         existing collation elements.
2909         (is_special): Removed common whitespace characters.
2910         (text_argument): Dont return on whitespaces, add characters between
2911         two ' to string buffer.
2912
2913 2003-10-18  Michael Koch  <konqueror@gmx.de>
2914
2915         * gnu/java/net/protocol/file/Connection.java,
2916         gnu/java/net/protocol/file/Handler.java,
2917         gnu/java/net/protocol/http/Connection.java,
2918         gnu/java/net/protocol/http/Handler.java,
2919         gnu/java/net/protocol/jar/Connection.java,
2920         gnu/java/net/protocol/jar/Handler.java:
2921         Merged copyright text from classpath to make
2922         it possible to merge the classes.
2923
2924 2003-10-18  Mark Wielaard  <mark@klomp.org>
2925
2926         Reported by M.Negovanovic
2927         * java/beans/IndexedPropertyDescriptor.java
2928         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
2929
2930 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
2931
2932         * win32.cc (_Jv_pipe): Implemented.
2933         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
2934         _Jv_pipe instead of ::pipe.
2935         * include/posix.h (_Jv_pipe): New inline.
2936         * include/win32.h (_Jv_pipe): New declaration.
2937         
2938 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2939
2940         * java/lang/StringBuffer.java (getChars): Fix array index checks.
2941         (append, substring, insert): Likewise.
2942         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
2943         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
2944         
2945 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2946
2947         * java/lang/natString.cc (getChars):
2948         Fix validation of array indexes.
2949         (getBytes, regionMatches, startsWith, valueOf): Likewise.
2950         * testsuite/libjava.lang/String_overflow.java: New file.
2951         * testsuite/libjava.lang/String_overflow.out: New file.
2952
2953 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2954
2955         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
2956         overflow a jint.
2957         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
2958         check for overflowing size_t, since the lower level functions
2959         take a jint.
2960         * testsuite/libjava.lang/newarray_overflow.java:  New file.
2961         * testsuite/libjava.lang/newarray_overflow.out:  New file.
2962         
2963 2003-10-15  Michael Koch  <konqueror@gmx.de>
2964
2965         * java/text/RuleBasedCollator.java
2966         (RuleBasedCollator): Moved around, documentation added.
2967         (compare): Documentation added.
2968         (equals): Likewise.
2969         (getCollationElementIterator): Likewise.
2970         (getCollationKey): Likewise.
2971         (getRules): Likewise.
2972         (hashCode): Likewise.
2973
2974 2003-10-15  Michael Koch  <konqueror@gmx.de>
2975
2976         * java/text/RuleBasedCollator.java
2977         (CollationElement): Renamed from RBCElement and moved into
2978         RuledBasedCollator as inner class.
2979
2980 2003-10-15  Michael Koch  <konqueror@gmx.de>
2981
2982         * java/text/CollationElementIterator.java
2983         (CollationElementIterator): Moved, documenatation added, call setText.
2984         (next): Reformated.
2985         (reset): Reformated.
2986         (setText): New method.
2987         (getOffset): New method.
2988         * java/text/CollationKey.java
2989         (getSourceString): Reformated.
2990         (hashCode): Reformated.
2991         (toByteArray): Reformated.
2992
2993 2003-10-15  Michael Koch  <konqueror@gmx.de>
2994
2995         * java/util/zip/InflaterInputStream.java
2996         (InflaterInputStream): Renamed infl to inf and bufsize to size,
2997         added description to exception, check for inf == null and size < 0.
2998
2999 2003-10-15  Michael Koch  <konqueror@gmx.de>
3000
3001         * java/text/AttributedCharacterIterator.java,
3002         java/text/CharacterIterator.java: Reformated.
3003
3004 2003-10-15  Michael Koch  <konqueror@gmx.de>
3005
3006         * javax/swing/UIDefaults.java (putDefaults):
3007         Readded accidently removed "public" modifier.
3008
3009 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
3010
3011         * interpret.cc (_Jv_InterpMethod::run): Don't
3012         use libffi types, they were meant to be internal.
3013         * gcj/javaprims.h (_Jv_ulong): New typedef.
3014
3015 2003-10-13  Tom Tromey  <tromey@redhat.com>
3016
3017         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
3018         (defineClass): Updated.
3019         (_Jv_NewClass): Likewise.
3020         * prims.cc (_Jv_InitPrimClass): Don't call
3021         _Jv_InitNewClassFields.
3022
3023 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
3024
3025         PR libgcj/12592
3026         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
3027         not just \n.
3028
3029 2003-10-13  Michael Koch  <konqueror@gmx.de>
3030
3031         * java/io/File.java: Reformated.
3032         (equals): Check for obj == null.
3033
3034 2003-10-13  Michael Koch  <konqueror@gmx.de>
3035
3036         * java/net/JarURLConnection.java
3037         (jarFileURL): Added dcoumentation.
3038         (jarFileURLConnection): Reformated documentation.
3039         (entryName): Renamed from "element", documentation rewritten.
3040         (connectionCache): Renamed from "conn_cache", documentation
3041         reformated.
3042         (JarURLConnection): Check URL protocol.
3043         (getEntryName): Use entryName.
3044         (connect): Use connectionCache.
3045         (getInputStream): Use entryName, fixed comment.
3046         (getJarEntry): Use entryName.
3047         (getHeaders): Use entryName.
3048         * java/net/URLConnection.java
3049         (addRequestProperty): Fixed documentation.
3050         (setDefaultRequestProptery): Added comment that it does nothing since
3051         JDK 1.3.
3052         (getDefaultRequestProperty): Likewise.
3053
3054 2003-10-13  Michael Koch  <konqueror@gmx.de>
3055
3056         * java/net/java/net/URLStreamHandlerFactory.java
3057         (createURLStreamHandler): Removed redundant "public" modifier.
3058         * java/sql/DatabaseMetaData.java:
3059         (DatabaseMetaData):  Readded accidently removed "public" modifier.
3060         * java/sql/ParameterMetaData.java:
3061         (ParameterMetaData): Readded accidently removed "public" modifier.
3062         * java/sql/PreparedStatement.java:
3063         (PreparedStatement): Readded accidently removed "public" modifier.
3064         * java/sql/Ref.java:
3065         (Ref): Readded accidently removed "public" modifier.
3066
3067 2003-10-13  Michael Koch  <konqueror@gmx.de>
3068
3069         * java/nio/Buffer.java
3070         (hasRemaining): Made implementation more clear.
3071         * java/nio/MappedByteBuffer.java
3072         (loaded): New member variable.
3073         (force): Added comment.
3074         (isLoaded): Return value of loaded.
3075         (load): Set loaded to true, added comment.
3076
3077 2003-10-12  Michael Koch  <konqueror@gmx.de>
3078
3079         * gnu/java/nio/PipeImpl.java
3080         (SourceChannelImpl): New inner class.
3081         (SinkChannelImpl): New inner class.
3082         (sink): New member variable.
3083         (source): New member variable.
3084         (PipeImpl): Add SelectorProvider argument, implemented.
3085         (nativeInit): New method.
3086         (sink): Return sink channel.
3087         (source): Return source channel.
3088         * gnu/java/nio/SelectorProviderImpl.java
3089         (openPipe): Give provider as argument to PipeImpl constructor.
3090         * java/nio/channels/spi/SelectorProvider.java
3091         (pr): Removed.
3092         (systemDefaultProvider): New member variable.
3093         (provider): Made it synchronized, use property
3094         java.nio.channels.spi.SelectorProvider.
3095         * gnu/java/nio/natPipeImpl.cc: New file.
3096         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
3097         * Makefile.in: Regenerated.
3098
3099 2003-10-12  Michael Koch  <konqueror@gmx.de>
3100
3101         * javax/swing/table/DefaultTableModel.java,
3102         javax/swing/table/TableCellEditor.java,
3103         javax/swing/table/TableCellRenderer.java,
3104         javax/swing/table/TableColumnModel.java,
3105         javax/swing/table/TableModel.java,
3106         javax/swing/text/AbstractDocument.java,
3107         javax/swing/text/Document.java,
3108         javax/swing/text/MutableAttributeSet.java,
3109         javax/swing/text/StyledDocument.java,
3110         javax/swing/text/ViewFactory.java,
3111         javax/swing/tree/DefaultMutableTreeNode.java,
3112         javax/swing/tree/MutableTreeNode.java,
3113         javax/swing/tree/RowMapper.java,
3114         javax/swing/tree/TreeCellEditor.java,
3115         javax/swing/tree/TreeCellRenderer.java,
3116         javax/swing/tree/TreeModel.java,
3117         javax/swing/tree/TreeNode.java,
3118         javax/swing/tree/TreeSelectionModel.java,
3119         javax/swing/undo/StateEditable.java,
3120         javax/swing/undo/UndoableEdit.java:
3121         Removed redundant modifiers.
3122
3123 2003-10-12  Michael Koch  <konqueror@gmx.de>
3124
3125         * javax/swing/event/AncestorListener.java,
3126         javax/swing/event/CaretListener.java,
3127         javax/swing/event/CellEditorListener.java,
3128         javax/swing/event/ChangeListener.java,
3129         javax/swing/event/DocumentEvent.java,
3130         javax/swing/event/DocumentListener.java,
3131         javax/swing/event/HyperlinkListener.java,
3132         javax/swing/event/InternalFrameListener.java,
3133         javax/swing/event/ListDataListener.java,
3134         javax/swing/event/ListSelectionListener.java,
3135         javax/swing/event/MenuDragMouseListener.java,
3136         javax/swing/event/MenuKeyListener.java,
3137         javax/swing/event/MenuListener.java,
3138         javax/swing/event/MouseInputListener.java,
3139         javax/swing/event/PopupMenuListener.java,
3140         javax/swing/event/TableColumnModelListener.java,
3141         javax/swing/event/TableModelListener.java,
3142         javax/swing/event/TreeExpansionListener.java,
3143         javax/swing/event/TreeModelListener.java,
3144         javax/swing/event/TreeSelectionListener.java,
3145         javax/swing/event/TreeWillExpandListener.java,
3146         javax/swing/event/UndoableEditListener.java,
3147         javax/swing/plaf/UIResource.java,
3148         javax/swing/plaf/metal/MetalLookAndFeel.java:
3149         Removed redundant modifiers.
3150
3151 2003-10-12  Michael Koch  <konqueror@gmx.de>
3152
3153         * javax/swing/Action.java,
3154         javax/swing/BoundedRangeModel.java,
3155         javax/swing/CellEditor.java,
3156         javax/swing/ComboBoxEditor.java,
3157         javax/swing/ComboBoxModel.java,
3158         javax/swing/DesktopManager.java,
3159         javax/swing/JComboBox.java,
3160         javax/swing/ListCellRenderer.java,
3161         javax/swing/ListSelectionModel.java,
3162         javax/swing/MenuElement.java,
3163         javax/swing/MutableComboBoxModel.java,
3164         javax/swing/Renderer.java,
3165         javax/swing/RootPaneContainer.java,
3166         javax/swing/ScrollPaneConstants.java,
3167         javax/swing/SingleSelectionModel.java,
3168         javax/swing/SpinnerModel.java,
3169         javax/swing/SwingConstants.java,
3170         javax/swing/UIDefaults.java,
3171         javax/swing/WindowConstants.java,
3172         javax/swing/border/Border.java,
3173         javax/swing/colorchooser/ColorSelectionModel.java:
3174         Removed redundant modifiers.
3175
3176 2003-10-11  Michael Koch  <konqueror@gmx.de>
3177
3178         * javax/transaction/Status.java,
3179         javax/transaction/Synchronization.java,
3180         javax/transaction/Transaction.java,
3181         javax/transaction/TransactionManager.java,
3182         javax/transaction/UserTransaction.java,
3183         javax/transaction/xa/XAResource.java,
3184         javax/transaction/xa/Xid.java:
3185         Removing redundant modifiers.
3186
3187 2003-10-11  Michael Koch  <konqueror@gmx.de>
3188
3189         * javax/print/attribute/Attribute.java,
3190         javax/print/attribute/AttributeSet.java,
3191         javax/print/attribute/PrintRequestAttributeSet.java:
3192         Removing redundant modifiers.
3193
3194 2003-10-11  Michael Koch  <konqueror@gmx.de>
3195
3196         * javax/sql/ConnectionEventListener.java,
3197         javax/sql/ConnectionPoolDataSource.java,
3198         javax/sql/DataSource.java,
3199         javax/sql/PooledConnection.java,
3200         javax/sql/RowSet.java,
3201         javax/sql/RowSetInternal.java,
3202         javax/sql/RowSetListener.java,
3203         javax/sql/RowSetMetaData.java,
3204         javax/sql/RowSetReader.java,
3205         javax/sql/RowSetWriter.java,
3206         javax/sql/XAConnection.java,
3207         javax/sql/XADataSource.java:
3208         Removing redundant modifiers.
3209
3210 2003-10-11  Michael Koch  <konqueror@gmx.de>
3211
3212         * javax/naming/Context.java,
3213         javax/naming/Name.java,
3214         javax/naming/NameParser.java,
3215         javax/naming/NamingEnumeration.java,
3216         javax/naming/Referenceable.java,
3217         javax/naming/directory/Attribute.java,
3218         javax/naming/directory/Attributes.java,
3219         javax/naming/directory/DirContext.java,
3220         javax/naming/event/EventContext.java,
3221         javax/naming/event/EventDirContext.java,
3222         javax/naming/event/NamespaceChangeListener.java,
3223         javax/naming/event/NamingListener.java,
3224         javax/naming/event/ObjectChangeListener.java,
3225         javax/naming/ldap/Control.java,
3226         javax/naming/ldap/ExtendedRequest.java,
3227         javax/naming/ldap/ExtendedResponse.java,
3228         javax/naming/ldap/HasControls.java,
3229         javax/naming/ldap/LdapContext.java,
3230         javax/naming/ldap/UnsolicitedNotification.java,
3231         javax/naming/ldap/UnsolicitedNotificationListener.java,
3232         javax/naming/spi/DirObjectFactory.java,
3233         javax/naming/spi/DirStateFactory.java,
3234         javax/naming/spi/InitialContextFactory.java,
3235         javax/naming/spi/InitialContextFactoryBuilder.java,
3236         javax/naming/spi/ObjectFactory.java,
3237         javax/naming/spi/ObjectFactoryBuilder.java,
3238         javax/naming/spi/Resolver.java,
3239         javax/naming/spi/StateFactory.java:
3240         Removing redundant modifiers.
3241
3242 2003-10-11  Michael Koch  <konqueror@gmx.de>
3243
3244         * java/security/Key.java,
3245         * java/security/PrivateKey.java,
3246         * java/security/PublicKey.java,
3247         * java/security/acl/Acl.java,
3248         * java/security/acl/AclEntry.java,
3249         * java/security/acl/Group.java,
3250         * java/security/acl/Owner.java,
3251         * java/security/acl/Permission.java,
3252         * java/security/cert/X509Extension.java,
3253         * java/security/interfaces/DSAKey.java,
3254         * java/security/interfaces/DSAKeyPairGenerator.java,
3255         * java/security/interfaces/DSAParams.java,
3256         * java/security/interfaces/DSAPrivateKey.java,
3257         * java/security/interfaces/DSAPublicKey.java,
3258         * java/security/interfaces/RSAKey.java,
3259         * java/security/interfaces/RSAPrivateCrtKey.java,
3260         * java/security/interfaces/RSAPrivateKey.java,
3261         * java/security/interfaces/RSAPublicKey.java:
3262         Removed redundant modifiers.
3263
3264 2003-10-11  Michael Koch  <konqueror@gmx.de>
3265
3266         * gnu/java/rmi/server/ProtocolConstants.java,
3267         gnu/java/security/der/DER.java:
3268         Removing redundant modifiers.
3269
3270 2003-10-11  Michael Koch  <konqueror@gmx.de>
3271
3272         * java/util/Map.java,
3273         java/util/Observer.java,
3274         java/util/zip/Checksum.java,
3275         java/util/zip/ZipConstants.java:
3276         Removed redundant modifiers.
3277
3278 2003-10-11  Michael Koch  <konqueror@gmx.de>
3279
3280         * java/text/AttributedCharacterIterator.java,
3281         java/text/CharacterIterator.java:
3282         Removed redundant modifiers.
3283
3284 2003-10-11  Michael Koch  <konqueror@gmx.de>
3285
3286         * java/sql/Array.java,
3287         java/sql/Blob.java,
3288         java/sql/CallableStatement.java,
3289         java/sql/Clob.java,
3290         java/sql/Connection.java,
3291         java/sql/DatabaseMetaData.java,
3292         java/sql/Driver.java,
3293         java/sql/ParameterMetaData.java,
3294         java/sql/PreparedStatement.java,
3295         java/sql/Ref.java,
3296         java/sql/ResultSet.java,
3297         java/sql/ResultSetMetaData.java,
3298         java/sql/SQLData.java,
3299         java/sql/SQLInput.java,
3300         java/sql/SQLOutput.java,
3301         java/sql/Savepoint.java,
3302         java/sql/Statement.java,
3303         java/sql/Struct.java:
3304         Removed redundant modifiers.
3305
3306 2003-10-11  Michael Koch  <konqueror@gmx.de>
3307
3308         * java/nio/channels/Channel.java,
3309         java/nio/channels/GatheringByteChannel.java,
3310         java/nio/channels/ReadableByteChannel.java,
3311         java/nio/channels/ScatteringByteChannel.java,
3312         java/nio/channels/WritableByteChannel.java:
3313         Removed redundant modifiers.
3314
3315 2003-10-11  Michael Koch  <konqueror@gmx.de>
3316
3317         * java/rmi/activation/ActivationInstantiator.java,
3318         java/rmi/activation/ActivationMonitor.java,
3319         java/rmi/activation/ActivationSystem.java,
3320         java/rmi/activation/Activator.java,
3321         java/rmi/dgc/DGC.java,
3322         java/rmi/registry/Registry.java,
3323         java/rmi/registry/RegistryHandler.java,
3324         java/rmi/server/LoaderHandler.java,
3325         java/rmi/server/RMIClientSocketFactory.java,
3326         java/rmi/server/RMIFailureHandler.java,
3327         java/rmi/server/RMIServerSocketFactory.java,
3328         java/rmi/server/RemoteCall.java,
3329         java/rmi/server/RemoteRef.java,
3330         java/rmi/server/ServerRef.java,
3331         java/rmi/server/Skeleton.java,
3332         java/rmi/server/Unreferenced.java:
3333         Removed redundant modifiers.
3334
3335 2003-10-11  Michael Koch  <konqueror@gmx.de>
3336
3337         * java/net/ContentHandlerFactory.java,
3338         java/net/DatagramSocketImplFactory.java,
3339         java/net/FileNameMap.java,
3340         java/net/SocketImplFactory.java,
3341         java/net/SocketOptions.java,
3342         java/net/URLStreamHandlerFactory.java:
3343         Removed redundant modifiers.
3344
3345 2003-10-11  Michael Koch  <konqueror@gmx.de>
3346
3347         * java/io/Externalizable.java,
3348         java/io/FileFilter.java,
3349         java/io/FilePermission.java,
3350         java/io/ObjectInput.java,
3351         java/io/ObjectInputValidation.java,
3352         java/io/ObjectOutput.java,
3353         java/io/ObjectStreamClass.java,
3354         java/io/ObjectStreamConstants.java,
3355         java/io/Serializable.java:
3356         Removed redundant modifiers.
3357
3358 2003-10-11  Ingo Proetel  <proetel@aicas.com>
3359
3360         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
3361         codebase and context classloader.
3362
3363 2003-10-11  Michael Koch  <konqueror@gmx.de>
3364
3365         * java/beans/beancontext/BeanContext.java,
3366         java/beans/beancontext/BeanContextChild.java,
3367         java/beans/beancontext/BeanContextChildComponentProxy.java,
3368         java/beans/beancontext/BeanContextChildSupport.java,
3369         java/beans/beancontext/BeanContextContainerProxy.java,
3370         java/beans/beancontext/BeanContextMembershipListener.java,
3371         java/beans/beancontext/BeanContextProxy.java,
3372         java/beans/beancontext/BeanContextServiceProvider.java,
3373         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
3374         java/beans/beancontext/BeanContextServiceRevokedListener.java,
3375         java/beans/beancontext/BeanContextServices.java,
3376         java/beans/beancontext/BeanContextServicesListener.java:
3377         Removed redundant modifiers.
3378
3379 2003-10-11  Michael Koch  <konqueror@gmx.de>
3380
3381         * java/beans/AppletInitializer.java,
3382         java/beans/BeanInfo.java,
3383         java/beans/Customizer.java,
3384         java/beans/DesignMode.java,
3385         java/beans/PropertyEditor.java,
3386         java/beans/Visibility.java:
3387         Removed redundant modifiers.
3388
3389 2003-10-11  Michael Koch  <konqueror@gmx.de>
3390
3391         * java/awt/print/Pageable.java,
3392         * java/awt/print/Printable.java,
3393         java/awt/print/PrinterGraphics.java:
3394         Removed redundant modifiers.
3395
3396 2003-10-11  Michael Koch  <konqueror@gmx.de>
3397
3398         * java/awt/peer/ButtonPeer.java,
3399         java/awt/peer/CheckboxMenuItemPeer.java,
3400         java/awt/peer/CheckboxPeer.java,
3401         java/awt/peer/ChoicePeer.java,
3402         java/awt/peer/ComponentPeer.java,
3403         java/awt/peer/ContainerPeer.java,
3404         java/awt/peer/DialogPeer.java,
3405         java/awt/peer/FileDialogPeer.java,
3406         java/awt/peer/FramePeer.java,
3407         java/awt/peer/LabelPeer.java,
3408         java/awt/peer/ListPeer.java,
3409         java/awt/peer/MenuBarPeer.java,
3410         java/awt/peer/MenuComponentPeer.java,
3411         java/awt/peer/MenuItemPeer.java,
3412         java/awt/peer/MenuPeer.java,
3413         java/awt/peer/PopupMenuPeer.java,
3414         java/awt/peer/RobotPeer.java,
3415         java/awt/peer/ScrollPanePeer.java,
3416         java/awt/peer/ScrollbarPeer.java,
3417         java/awt/peer/TextAreaPeer.java,
3418         java/awt/peer/TextComponentPeer.java,
3419         java/awt/peer/TextFieldPeer.java,
3420         java/awt/peer/WindowPeer.java:
3421         Removed redundant modifiers.
3422
3423 2003-10-11  Michael Koch  <konqueror@gmx.de>
3424
3425         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
3426         * gnu/java/nio/ServerSocketChannelImpl.java
3427         (serverSocket): Made it a NIOServerSocket.
3428         (impl): Removed.
3429         (ServerSocketChannelImpl): Initialize only serverSocket.
3430         (initServerSocket): Removed.
3431         (getNativeFD): Rewritten.
3432         (implConfigureBlocking): Set socket timeout and removed comment.
3433         (accept): Rewritten.
3434         * gnu/java/nio/SocketChannelImpl.java
3435         (impl): New variable.
3436         (connected): Removed.
3437         (SocketChannelImpl): Initialize impl too.
3438         (getImpl): New method.
3439         (isConnected): Rewritten.
3440         (read): Rewritten, set position in buffer correctly.
3441         (write): Set position in buffer correctly.
3442         * java/net/ServerSocket.java (getImpl): New method.
3443         * gnu/java/nio/NIOServerSocket.java,
3444         gnu/java/nio/natNIOServerSocket.cc: New files.
3445         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3446         * Makefile.am
3447         (ordinary_java_source_files):
3448         Added gnu/java/nio/NIOServerSocket.java.
3449         (nat_source_files):
3450         Removed gnu/java/nio/natServerSocketChannelImpl.cc
3451         and added gnu/java/nio/natNIOServerSocket.cc.
3452         * Makefile.in: Regenerated.
3453
3454 2003-10-11  Michael Koch  <konqueror@gmx.de>
3455
3456         * java/awt/ActiveEvent.java,
3457         java/awt/datatransfer/ClipboardOwner.java,
3458         java/awt/datatransfer/FlavorMap.java,
3459         java/awt/datatransfer/Transferable.java,
3460         java/awt/dnd/Autoscroll.java,
3461         java/awt/dnd/peer/DragSourceContextPeer.java,
3462         java/awt/dnd/peer/DropTargetContextPeer.java,
3463         java/awt/dnd/peer/DropTargetPeer.java,
3464         java/awt/font/MultipleMaster.java,
3465         java/awt/font/OpenType.java,
3466         java/awt/im/spi/InputMethodDescriptor.java,
3467         java/awt/image/ImageObserver.java,
3468         java/awt/image/ImageConsumer.java,
3469         java/awt/image/ImageProducer.java,
3470         java/awt/image/RGBImageFilter.java,
3471         java/awt/image/RasterOp.java,
3472         java/awt/image/renderable/RenderableImage.java:
3473         Removed redundant modifiers.
3474
3475 2003-10-11  Michael Koch  <konqueror@gmx.de>
3476
3477         * gnu/awt/j2d/DirectRasterGraphics.java,
3478         gnu/java/awt/EmbeddedWindowSupport.java:
3479         Removed redundant modifiers.
3480
3481 2003-10-09  Michael Koch  <konqueror@gmx.de>
3482
3483         * gnu/java/nio/SelectorImpl.java (register):
3484         Use ServerSocketChannelSelectionKey for server socket channels,
3485         removed unneeded comments.
3486         * gnu/java/nio/ServerSocketChannelImpl.java
3487         (ServerSocketChannelImpl): Made class public final.
3488         (impl): New member variable.
3489         (ServerSocketChannelImpl): Initialize member variables correctly.
3490         (initServerSocket): New method.
3491         (getNativeFD): Likewise.
3492         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
3493         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
3494         * Makefile.am (ordinary_java_source_files):
3495         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
3496         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
3497         * Makefile.in: Regenrated.
3498
3499 2003-10-09  Michael Koch  <konqueror@gmx.de>
3500
3501         * java/nio/channels/spi/AbstractSelectableChannel.java
3502         (registered): Made private.
3503         (blocking): Likewise.
3504         (LOCK): Likewise.
3505         (provider): Likewise.
3506         (keys): Made it a private LinkedList.
3507         (AbstractSelectableChannel): Initialize keys.
3508         (isRegistered): New implementation.
3509         (locate): Rewritten.
3510         (register): Rewritten.
3511         * java/nio/channels/spi/AbstractSelectionKey.java
3512         (ok): Removed.
3513         (cancelled): New member variable.
3514         (cancel): Rewritten.
3515         (isValid): Rewritten.
3516         * java/nio/channels/spi/AbstractSelector.java:
3517         Some methods moved.
3518         (closed): Make private.
3519         (provider): Likewise.
3520         (cancelledKeys): New member variable.
3521         (AbstractSelector): Initialize cancelledKeys.
3522         (cancelKey): New method.
3523
3524 2003-10-09  Tom Tromey  <tromey@redhat.com>
3525
3526         * java/lang/ClassLoader.java (setSigners): Implemented.
3527         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
3528         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
3529         Initialize new fields.
3530         * java/lang/Class.java (getSigners): Now native.
3531         (setSigners): Declare.
3532         * java/lang/natClass.cc (getSigners): New method.
3533         (getSigners): Likewise.
3534         * java/lang/Class.h (Class::signers): New field.
3535         (Class::setSigners): New method.
3536
3537 2003-10-09  Michael Koch  <konqueror@gmx.de>
3538
3539         * java/rmi/server/RMIClassLoader.java:
3540         Removed unused imports, little reformatings.
3541         (getClassLoader): New method, implementation was part of old loadCLass
3542         method.
3543         (loadClass): Simplified by moving functionality to new method and
3544         reworking the code a bit.
3545         (getClassAnnotation): Merged documentation from classpath.
3546
3547 2003-10-09  Michael Koch  <konqueror@gmx.de>
3548
3549         * java/math/BigInteger.java
3550         (add): Removed unused local variable len.
3551
3552 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3553
3554         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
3555         modality check.
3556         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3557         Initialize insets to use latest insets.
3558         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
3559         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
3560         field.
3561         (postConfigureEvent): Update latestInsets field when insets
3562         change.  Remove call to setSize.  Move validate call outside of
3563         if blocks.
3564         (setVisible): Call setBounds before showing window.
3565         (nativeSetVisible): New native method.
3566         * java/awt/Window.java (show): Show visible owned windows.
3567         (hide): Hide visible owned windows.
3568         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3569         (awt_event_handler): Implement modality using GTK grabs.
3570         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3571         (global_gtk_window_group): New global variable.
3572         (gtkInit): Initialize global_gtk_window_group.
3573         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3574         Clamp width and height values to at least 1.  Add this window to
3575         the global GTK window group.
3576         (setVisible): Rename to nativeSetVisible.
3577         (setup_window): Remove function.
3578         (setSize): Clamp width and height values to at least 1.
3579         (nativeSetBounds): Likewise.
3580         (gdk_window_get_root_geometry): Remove function.
3581         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
3582         and setup_window declarations.  Declare global_gtk_window_group.
3583
3584         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3585         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3586         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3587         (gtkWidgetSetForeground): New method.
3588         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3589         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3590         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
3591         (setBackground, setForeground): Implement.
3592         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3593         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3594         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3595         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3596         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3597         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3598         Position PangoLayout relative to text's baseline.
3599         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
3600
3601         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
3602         for CENTER and RIGHT alignments.
3603
3604 2003-10-08  Michael Koch  <konqueror@gmx.de>
3605
3606         * java/security/Security.java: Reformated.
3607
3608 2003-10-08  Michael Koch  <konqueror@gmx.de>
3609
3610         * java/text/SimpleDateFormat.java
3611         (compileFormat): Replace Character.isLetter() test with
3612         Character.isLowerCase() || Character.isUpperCase().
3613
3614 2003-10-08  Tom Tromey  <tromey@redhat.com>
3615
3616         * java/lang/StrictMath.java (toDegrees): Multiply before
3617         dividing.
3618         (toRadians): Likewise.
3619
3620 2003-10-08  C. Brian Jones  <cbj@gnu.org>
3621
3622         * java/lang/Math.java
3623         (toRadians): multiply before dividing to reduce decimal error
3624         (toDegrees): ditto
3625
3626 2003-10-08  Michael Koch  <konqueror@gmx.de>
3627
3628         * gnu/gcj/protocol/core/Connection.java,
3629         gnu/gcj/protocol/core/CoreInputStream.java,
3630         gnu/gcj/protocol/core/Handler.java,
3631         gnu/gcj/protocol/core/natCoreInputStream.cc,
3632         gnu/gcj/protocol/file/Connection.java,
3633         gnu/gcj/protocol/file/Handler.java,
3634         gnu/gcj/protocol/gcjlib/Connection.java,
3635         gnu/gcj/protocol/gcjlib/Handler.java,
3636         gnu/gcj/protocol/http/Connection.java,
3637         gnu/gcj/protocol/http/Handler.java,
3638         gnu/gcj/protocol/jar/Connection.java,
3639         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
3640         * gnu/java/net/protocol/core/Connection.java,
3641         gnu/java/net/protocol/core/CoreInputStream.java,
3642         gnu/java/net/protocol/core/Handler.java,
3643         gnu/java/net/protocol/core/natCoreInputStream.cc,
3644         gnu/java/net/protocol/file/Connection.java,
3645         gnu/java/net/protocol/file/Handler.java,
3646         gnu/java/net/protocol/gcjlib/Connection.java,
3647         gnu/java/net/protocol/gcjlib/Handler.java,
3648         gnu/java/net/protocol/http/Connection.java,
3649         gnu/java/net/protocol/http/Handler.java,
3650         gnu/java/net/protocol/jar/Connection.java,
3651         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
3652         * gnu/gcj/runtime/FirstThread.java,
3653         java/net/URL.java: Use moved protocol handlers.
3654         * Makefile.am
3655         (ordinary_java_source_files): Moved files.
3656         (nat_source_files): Likewise.
3657         * Makefile.in: Regenerated.
3658
3659 2003-10-08  Michael Koch  <konqueror@gmx.de>
3660
3661         * gnu/java/nio/SocketChannelImpl.java
3662         (read): Write only read data to buffer.
3663
3664 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3665
3666         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
3667         out.
3668         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
3669         (JCL_free): Attach "unused" attribute to env parameter.
3670         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
3671         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
3672         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3673         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
3674         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3675         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3676         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
3677         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
3678         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
3679         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3680         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
3681         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3682         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
3683         parameters.
3684         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
3685         (initNativeState): Pass 0 as info argument to
3686         gtk_selection_add_target.
3687         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3688         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
3689         unused method implementations.
3690         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3691         (awt_event_handler): Add break statement after default label.
3692         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
3693         (drawPixels): Remove unused variable i.
3694         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3695         (setEnabled): Remove method implementation.
3696         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3697         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
3698         argument.
3699         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
3700         unused function.
3701         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3702         (menu_pos): Assign TRUE to push_in.
3703         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
3704         argument.
3705         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
3706         (create): Remove unused variable layout.
3707         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3708         Pass window_widget, rather than window, to
3709         gtk_widget_set_size_request.
3710         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
3711         structure initialization with NULL values.
3712         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
3713
3714 2003-10-08  Michael Koch  <konqueror@gmx.de>
3715
3716         * java/util/LinkedList.java:
3717         Removed whitespace to match classpath's version again.
3718
3719 2003-10-08  Michael Koch  <konqueror@gmx.de>
3720
3721         * java/util/prefs/Preferences.java
3722         (defaultFactoryClass): Fixed class name.
3723         (getFactory): Create instance of class returned by Class.forName(),
3724         reformated code.
3725
3726 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
3727
3728         * javax/swing/table/AbstractTableModel.java
3729         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
3730         helped stop pulling my hair on this +1 then -1 tricky thing!
3731
3732 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
3733
3734         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
3735         Remove unused parameters.
3736         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
3737         Likewise.
3738         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3739         (keyevent_state_to_awt_mods): Export function.
3740         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3741         (getCaretPosition): Fix TextArea case.
3742         (textcomponent_commit_cb): Get exact event time and modifier
3743         state.
3744         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
3745
3746 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
3747
3748         * java/net/InetSocketAddress.java
3749         (InetSocketAddress): Made exception more clear.
3750         (equals): Handle case when addr is null.
3751         (toString): Likewise.
3752         * java/net/NetworkInterface.java
3753         (static): Load native library.
3754         (getNetworkInterfaces): Rewritten.
3755
3756 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3757
3758         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
3759         field.
3760         (initializeInsets): New method.
3761         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
3762         setBounds unconditionally.
3763         (setBounds): Convert coordinates if parent is a Window.
3764         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
3765         field to GtkComponentPeer.
3766         (GtkContainerPeer): Don't initialize insets.
3767         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3768         New method.
3769         (create): Call new GtkWindowPeer create method.
3770         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
3771         New method.
3772         (create): Call new GtkWindowPeer create method.
3773         (setBounds): Remove method.
3774         (postConfigureEvent): Likewise.
3775         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
3776         type constants with GDK window type constants.
3777         (create(int,boolean,int,int,GtkWindowPeer)): New method.
3778         (create(int,boolean)): Likewise.
3779         (create()): Call create(int,boolean).
3780         (nativeSetBounds): New native method declaration.
3781         (setBounds): Call native method declaration.
3782         (setSize): New native method declaration.
3783         (setBoundsCallback): Likewise.
3784         (postConfigureEvent): Handle change in insets.  Call setSize and
3785         setBoundsCallback methods.
3786         * java/awt/Window.java (Window): Set visible to false.
3787         (setBoundsCallback): New method.
3788         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3789         (gtkWidgetGetLocationOnScreen): If this component is not a
3790         container, adjust the location returned based on the peer's
3791         allocation.
3792         (set(String,boolean)): Revert change from 2003-09-19.
3793         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3794         (awt_event_handler): Fix inset calculation.
3795         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
3796         glue for Window.setBoundsCallback.
3797         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3798         Set up stacking order, window decorations and window manager
3799         hints.
3800         (setBoundsCallback): New method.
3801         (setSize): New method.
3802         (nativeSetBounds): New method.
3803         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
3804
3805 2003-10-02  Tom Tromey  <tromey@redhat.com>
3806
3807         * java/lang/VMClassLoader.java (loadClass): Now native.
3808         * java/lang/natClassLoader.cc (loadClass): Implement.
3809         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
3810
3811 2003-10-02  Michael Koch  <konqueror@gmx.de>
3812
3813         * java/net/InetAddress.java
3814         (zeros): Removed.
3815         (ANY_IF): Initalizie in static block.
3816         (static): Load library with native methods here and initialize ANY_IF.
3817         (isAnyLocalAddress): Check if equal to ANY_IF.
3818         (equals): Use addr directly instead of addr1. Simplify for loop.
3819         (toString): Rename "result" to "host" and add IP address allways.
3820         (getLocalHost): Merged documentation from classpath.
3821         * java/net/ServerSocket.java
3822         (ServerSocket): New package-private constructor used by java.nio.
3823         * java/net/URLConnection.java
3824         (getRequestProperties): Check if already connected.
3825
3826 2003-10-02  Michael Koch  <konqueror@gmx.de>
3827
3828         * java/nio/ByteBufferHelper.java:
3829         Rewrote all methods by suggestions from Eric Blake.
3830
3831 2003-10-02  Michael Koch  <konqueror@gmx.de>
3832
3833         * java/net/URL.java
3834         (DEFAULT_SEARCH_PATH): New static variable.
3835         (ph_cache): Made it a HashMap.
3836         (getURLStreamHandler): Rename propVal to ph_search_path and use
3837         DEFAULT_SEARCH_PATH.
3838
3839 2003-10-02  Michael Koch  <konqueror@gmx.de>
3840
3841         * javax/swing/table/AbstractTableModel.java
3842         (findColumnName): Prevent from NullPointerException if argument
3843         columnName is null.
3844
3845 2003-10-02  Michael Koch  <konqueror@gmx.de>
3846
3847         * javax/swing/table/AbstractTableModel.java:
3848         This patch is based on a patch done by Arnaud Vandyck
3849         <arnaud.vandyck@ulg.ac.be>.
3850         (getColumnName): Fixed method documentation.
3851         (findColumn): Likewise.
3852         (getColumnClass): Likewise.
3853         (isCellEditable): Likewise.
3854         (setValueAt): Likewise.
3855         (addTableModelListener): Likewise.
3856         (removeTableModelListener): Likewise.
3857         (getTableModelListeners): New method.
3858
3859 2003-10-02  Michael Koch  <konqueror@gmx.de>
3860
3861         * javax/swing/table/AbstractTableModel.java:
3862         Reformated.
3863
3864 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
3865
3866         Fix PR libgcj/12475
3867         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
3868         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
3869
3870 2003-10-01  Tom Tromey  <tromey@redhat.com>
3871
3872         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
3873
3874 2003-10-01  Andrew Haley  <aph@redhat.com>
3875
3876         * java/lang/natClass.cc (initializeClass): Check for otable and
3877         atable.
3878         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
3879         loops using for().  Search superinterfaces.  Check for fields as
3880         well as methods.  Initialize atable as well as otable: check for
3881         static methods as well as virtual methods.
3882         * java/lang/Class.h (struct _Jv_AddressTable): New.
3883         (atable): New.
3884         (atable_syms): New.
3885         * include/jvm.h (_Jv_equalUtf8Consts): constify.
3886         * prims.cc (_Jv_equalUtf8Consts): constify.
3887
3888 2003-09-29  Tom Tromey  <tromey@redhat.com>
3889
3890         PR libgcj/10596:
3891         * include/jvm.h (_Jv_FinalizeString,
3892         _Jv_RegisterStringFinalizer): Declare.
3893         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
3894         unintern.
3895         (intern): Updated.
3896         (_Jv_NewStringUtf8Const): Likewise.
3897         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3898         Add special case when finalizing a String.
3899         (in_hash): New function.
3900         (_Jv_RegisterStringFinalizer): Likewise.
3901         (maybe_add_finalize): Likewise.
3902
3903 2003-09-29  Michael Koch  <konqueror@gmx.de>
3904
3905         * java/net/InetAddress.java:
3906         (isMulticastAddress): Dont use local variable to store address length.
3907         Let the compiler optimize this.
3908         (getHostName): Merged dcoumentation from classpath.
3909         (getAddress): Likewise.
3910         (getHostAddress): Likewise.
3911         (hashCode): Likewise.
3912         (equals): Likewise.
3913         (toString): Likewise.
3914         (getByName): Likewise.
3915         (getAllByName): Likewise.
3916
3917 2003-09-29  Michael Koch  <konqueror@gmx.de>
3918
3919         * java/awt/image/IndexColorModel.java: Reformated.
3920
3921 2003-09-29  Michael Koch  <konqueror@gmx.de>
3922
3923         * java/net/InetAddress.java,
3924         java/net/URL.java: Reformated.
3925
3926 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
3927
3928         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
3929         significant bit of descriptor. Include the vtable and sync_info 
3930         fields.
3931
3932 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3933
3934         * java/text/DateFormat.java (format): Throw IllegalArgumentException
3935         if `obj' is not a Number or Date instance.
3936         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
3937         instead of Vector.
3938
3939 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3940
3941         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
3942         Don't call setTimeZone on calendar.
3943
3944 2003-09-27  Michael Koch  <konqueror@gmx.de>
3945
3946         * java/net/URL.java (getURLStreamHandler): Compile fixes.
3947
3948 2003-09-27  Michael Koch  <konqueror@gmx.de>
3949
3950         * java/net/URL.java (getURLStreamHandler):
3951         Check if we have to use cache before trying to retrieve handler from
3952         cache. Rename facName to clsName to match classpath more. Reformated
3953         some little pieces.
3954
3955 2003-09-27  Michael Koch  <konqueror@gmx.de>
3956
3957         * gnu/java/nio/SelectionKeyImpl.java
3958         (ch): Make package-private again. Jikes found this bug.
3959         Jeff Sturm submitted PR12426 for this to bugzilla
3960         to fix this bug in gcj.
3961
3962 2003-09-26  Michael Koch  <konqueror@gmx.de>
3963
3964         * java/rmi/server/RMIClassLoader.java:
3965         Reformatted file, no functional code changes.
3966
3967 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
3968
3969         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
3970         Save space for some pixels at the buffer end.  Added Javadoc.
3971
3972 2003-09-26  Tom Tromey  <tromey@redhat.com>
3973
3974         * java/io/ObjectOutputStream.java (writeFields): Fixed
3975         indentation.
3976         (putFields): Likewise.
3977
3978 2003-09-26  Michael Koch  <konqueror@gmx.de>
3979
3980         * java/nio/ByteBufferHelper.java:
3981         Totally reworked with help from Eric Blake.
3982
3983 2003-09-26  Tom Tromey  <tromey@redhat.com>
3984
3985         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
3986         * java/awt/geom/PathIterator.java: Documentation fixes.
3987
3988 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
3989
3990         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
3991         (select): Likewise.
3992         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
3993
3994 2003-09-25  Michael Koch  <konqueror@gmx.de>
3995
3996         * gnu/java/nio/DatagramChannelImpl.java
3997         (getNativeFD): New method.
3998         * gnu/java/nio/SelectionKeyImpl.java
3999         (SelectionKeyImpl): Class made abstract.
4000         (fd): Removed.
4001         (SelectionKeyImpl): Remove fd argument.
4002         (getNativeFD): New method.
4003         * gnu/java/nio/SocketChannelImpl.java
4004         (getNativeFD): New method.
4005         gnu/java/nio/DatagramChannelSelectionKey.java,
4006         * gnu/java/nio/SocketChannelSelectionKey.java:
4007         New files.
4008         * Makefile.am (ordinary_java_source_files):
4009         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
4010         gnu/java/nio/SocketChannelSelectionKey.java.
4011         * Makefile.in: Regenerated.
4012
4013 2003-09-25  Michael Koch  <konqueror@gmx.de>
4014
4015         * java/lang/reflect/Proxy.java
4016         (getProxyClass): Remove workaround for gcj 3.0.x.
4017
4018 2003-09-25  Michael Koch  <konqueror@gmx.de>
4019
4020         * gnu/java/net/PlainDatagramSocketImpl.java
4021         (finalize): Moved to directly after constructor.
4022         (getNativeFD): New method.
4023         * gnu/java/net/PlainSocketImpl.java
4024         (getNativeFD): New method.
4025
4026 2003-09-25  Ingo Proetel  <proetel@aicas.com>
4027
4028         * java/io/ObjectOutputStream.java:
4029         Allow putFields be called more than once.
4030
4031 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
4032
4033         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
4034         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
4035         * java/awt/image/BufferedImage.java (toString): Implement.
4036
4037 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
4038
4039         * aclocal.m4: Rebuilt.
4040         * configure: Rebuilt.
4041
4042 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
4043
4044         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
4045         field.
4046
4047 2003-09-25  Michael Koch  <konqueror@gmx.de>
4048
4049         * gnu/java/nio/SelectorImpl.java
4050         (implSelect): Renamed from java_do_select.
4051         (select): Call native implSelect() and add support for Thread
4052         interruption.
4053         * gnu/java/nio/natSelectorImpl.cc
4054         (implSelect): Renamed from java_do_select.
4055
4056 2003-09-25  Michael Koch  <konqueror@gmx.de>
4057
4058         * gnu/java/nio/SelectorImpl.java
4059         (selectNow): Made final, throws IOException.
4060         (select): Likewise.
4061         (getFDsAsArray): Made final.
4062         (selectedKeys): Likewise.
4063         (wakeup): Likewise.
4064         (deregisterCancelledKeys): Likewise.
4065         (register): Likewise.
4066         (ass): Removed.
4067         (add_selected): Removed.
4068         * gnu/java/nio/natSelectorImpl.cc:
4069         No need to include bstring.h or gcj/cni.h.
4070         (helper_put_filedescriptors): Rewritten.
4071         (helper_get_filedescriptors): Rewritten.
4072
4073 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
4074
4075         * java/awt/font/FontRenderContext.java (getTransform): Return
4076         copy of internal transform object. Add Javadoc.
4077         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
4078         winding rule as Sun J2SE.
4079         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
4080
4081 2003-09-25  Ingo Proetel  <proetel@aicas.com>
4082
4083         * java/rmi/Naming.java:
4084         Added comments, now accepts pseudo protocol "rmi".
4085
4086 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
4087
4088         * java/text/DecimalFormat.java (format): Don't immediatly round
4089         baseNumber to long.
4090         (setMinimumIntegerDigits): Call super.
4091         (setMinimumFractionDigits): Likewise.
4092         (setMaximumIntegerDigits): Likewise.
4093         (setMaximumFractionDigits): Likewise.
4094
4095 2003-09-25  Michael Koch  <konqueror@gmx.de>
4096
4097         * gnu/java/nio/DatagramChannelImpl.java
4098         (DatagramChannelImpl): Made class final.
4099         (blocking): Made private.
4100         (socket): Made it a NIODatagramSocket and private.
4101         (DatagramChannelImpl): create NIODatagramSocket instead of
4102         DatagramSocket.
4103         (implConfigureBlocking): Set socket timeout.
4104         (connect): Check that channel is not closed.
4105         (write): Implemented.
4106         (write): Rewritten.
4107         (read): Implemented.
4108         (read): Rewritten.
4109         (receive): Implemented.
4110         (send): Implemented.
4111         * gnu/java/nio/SelectionKeyImpl.java
4112         (readyOps): Made private.
4113         (interestOps): Made private.
4114         (impl): Made private.
4115         (ch): Made private.
4116         (readyOps): Check if selection key is valid.
4117         (interestOps): Likewise.
4118         * gnu/java/nio/SelectorImpl.java
4119         (closed): Removed.
4120         (keys): Made private.
4121         (selected): Made private.
4122         (finalize): New method.
4123         (implCloseSelector): Rewritten.
4124         (keys): Return unmodifiable Set.
4125         (deregisterCancelledKeys): Fixed typo in method name.
4126         * gnu/java/nio/SocketChannelImpl.java
4127         (SocketChannelImpl): Made class final.
4128         (socket): Made it a NIOSocket and private.
4129         (blocking): Made private.
4130         (connected): Made private.
4131         (connectionPending): New member variable.
4132         (SocketChannelImpl): New implementation.
4133         (finalizer): Use isConnected().
4134         (connect): Rewritten.
4135         (finishConnect): Throws IOException, implemented.
4136         (isConnectionPending): Return connectionPending.
4137         (read): Rewritten.
4138         (write): Rewritten.
4139         * gnu/java/nio/NIOConstants.java: New file.
4140         * Makefile.am (ordinary_java_source_files):
4141         Added gnu/java/nio/NIOConstants.java.
4142         * Makefile.in: Regenerated.
4143
4144 2003-09-25  Michael Koch  <konqueror@gmx.de>
4145
4146         * java/net/InetAddress.java:
4147         Reorder imports, remove implementation comment.
4148         (isMulticastAddress): Merged documentation from classpath.
4149         * java/net/URLConnection.java
4150         (setRequestProperty): Check key for null, fix documentation.
4151         (adREquestProperty): Check key for null, remove wrong implementation
4152         and replace it with comment to overwrite this method in subclasses,
4153         fix documentation.
4154
4155 2003-09-25  Tom Tromey  <tromey@redhat.com>
4156
4157         * java/lang/reflect/Proxy.java (generate): Uncomment protection
4158         domain code.
4159         * java/lang/natClassLoader.cc (defineClass): Added `loader'
4160         argument.
4161         (linkClass0): Now in VMClassLoader.
4162         (markClassErrorState0): Likewise.
4163         (getSystemClassLoaderInternal): New method.
4164         * java/lang/natClass.cc (initializeClass): Use
4165         VMClassLoader::resolveClass.
4166         * java/lang/ClassLoader.java: New version, from Classpath.
4167         * java/lang/Class.java (getProtectionDomain):
4168         protectionDomainPermission and unknownProtectionDomain now in
4169         VMClassLoader.
4170         * java/lang/Class.h: VMClassLoader now a friend class.
4171         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
4172         package-private.
4173         * gcj/javaprims.h: Regenerated class list.
4174         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
4175         * java/lang/VMClassLoader.java: New version from Classpath;
4176         modified for libgcj use.
4177
4178 2003-09-25  Michael Koch  <konqueror@gmx.de>
4179
4180         * java/nio/ByteBufferHelper.java:
4181         New file.
4182         * java/nio/ByteBufferImpl.java,
4183         java/nio/DirectByteBufferImpl.java,
4184         java/nio/MappedByteBufferImpl.java
4185         (getType,putType): Use new helper class ByteBufferHelper.
4186         * Makefile.am (ordinary_java_source_files):
4187         Added java/nio/ByteBufferHelper.java.
4188         * Makefile.in: Regenerated.
4189
4190 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
4191
4192         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
4193         PR libgcj/12388.
4194
4195 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
4196
4197         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
4198         Strings, even if buffer is already shared.
4199
4200 2003-09-24  Michael Koch  <konqueror@gmx.de>
4201
4202         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
4203
4204 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
4205
4206         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
4207         (write): Likewise.
4208         (SocketInputStream): Declare `read' and `write' methods native.
4209         Remove implementations which called back into PlainSocketImpl.
4210         Remove unneccessary overridden methods.
4211         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
4212         to inner class PlainSocketImpl.SocketInputStream.
4213         (write): Likewise.
4214         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
4215         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
4216         * gnu/java/net/SocketInputStream.java: Remove unused file.
4217         * gnu/java/net/SocketOutputStream.java: Likewise.
4218         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
4219         and SocketOutputStream.
4220         * Makefile.in: Rebuilt.
4221
4222 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
4223
4224         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
4225
4226         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
4227         markers.
4228
4229 2003-09-22  Anthony Green  <green@redhat.com>
4230
4231         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
4232         * configure: Rebuilt.
4233
4234 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
4235
4236         PR java/12350:
4237         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
4238
4239 2003-09-22  Michael Koch  <konqueror@gmx.de>
4240
4241         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
4242         compiler warning but produces a different one now.
4243
4244 2003-09-22  Michael Koch  <konqueror@gmx.de>
4245
4246         * java/net/InetAddress.java:
4247         Moves around some code, reformats and adds documentation.
4248         No functional changes.
4249
4250 2003-09-22  Michael Koch  <konqueror@gmx.de>
4251
4252         * java/net/JarURLConnection.java
4253         (JarURLConnection): Modifed code to match classpath more, fixed comment.
4254         (getCertificates): Made it more error prone.
4255         (getMainAttributes): Likewise.
4256         (getAttributes): Implemented.
4257         (getManifest): Reformatted code.
4258
4259 2003-09-20  Tom Tromey  <tromey@redhat.com>
4260
4261         * java/awt/Component.java: Indentation cleanup from Classpath.
4262
4263 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
4264
4265        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
4266        checking to follow 1.4.2 spec.
4267
4268 2003-08-11  Ingo Proetel  <proetel@aicas.com>
4269
4270         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
4271         is compatible in case client and server are running in the same VM
4272         (remerged from Classpath on 2003-09-20)
4273
4274 2003-09-19  David Daney <ddaney@avtrex.com>
4275
4276         * java/lang/ref/Reference.java (clear): Set referent to null and
4277         synchronize.
4278
4279 2003-09-19  Michael Koch  <konqueror@gmx.de>
4280
4281         * gnu/java/nio/NIODatagramSocket.java,
4282         gnu/java/nio/NIOSocket.java: New files.
4283         * Makefile.am (ordinary_java_source_files):
4284         Added gnu/java/nio/NIODatagramSocket.java and
4285         gnu/java/nio/NIOSocket.java.
4286         * Makefile.in: Regenerated.
4287
4288 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
4289
4290         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
4291         top-level GTK window.
4292         (getArgs): Add "title" property.
4293         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
4294         "allow_shrink" and "allow_grow" properties.
4295         * java/awt/Dialog.java: Initialize resizable to true and change
4296         comments accordingly.  Initialize visible to false in
4297         constructors.
4298         * java/awt/Frame.java (dispose): Remove method.
4299         * java/awt/Window.java (ownedWindows): New field.
4300         (Window(Window,GraphicsConfiguration)): Add a weak reference to
4301         owner's ownedWindows vector.
4302         (finalize): Remove method.
4303         (hide): Hide owned windows.
4304         (dispose): Dispose of owned windows.
4305         (getOwnedWindows): Implement.
4306         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
4307         unused GtkArg code.
4308         (set(String,boolean)): Clamp gboolean parameter to g_object_set
4309         to TRUE or FALSE.
4310         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4311         (create): Set window's size requisition.
4312         (connectHooks): Fix indentation.
4313         (setResizable): Remove function.
4314         (static setBounds): Likewise.
4315         (setBounds): Replace call to setBounds with GTK size requisition
4316         and resize calls.
4317
4318 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
4319
4320         * win32-threads.cc: (ensure_interrupt_event_initialized) New
4321         function for lazy initialization of an auto-reset event.
4322         (_Jv_CondWait) Added thread interrupt support.
4323         (_Jv_ThreadInitData) Added initialization of interrupt support
4324         members.
4325         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
4326         (_Jv_ThreadStart) Removed unused code.
4327         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
4328         to an external caller.
4329         (_Jv_ThreadInterrupt) Implemented.
4330         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
4331         event for interrupt support as well as a mutex which regulates
4332         access to this.
4333         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
4334         event to an external caller.
4335         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
4336         process.
4337         (waitFor) Added interrupt support.
4338
4339 2003-09-19  Michael Koch  <konqueror@gmx.de>
4340
4341         * java/net/DatagramSocket.java (getLocalAddress):
4342         Renamed result variable to localAddr.
4343         * java/net/MulticastSocket.java:
4344         No need to import gnu.java.net.PlainDatagramSocketImpl.
4345
4346 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
4347
4348         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
4349         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
4350
4351 2003-09-18  Tom Tromey  <tromey@redhat.com>
4352
4353         * javax/naming/InitialContext.java: Reindented.
4354
4355 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
4356             Helmer Kraemer <hkraemer@freenet.de>
4357
4358         * javax/naming/spi/NamingManager.java (getURLContext,
4359         getObjectInstance, getStateToBind): Always use current thread's
4360         context class loader when calling Class.forName.
4361
4362 2003-09-18  Michael Koch  <konqueror@gmx.de>
4363
4364         * java/util/Timer.java (finalize): Added "throws Throwable".
4365
4366 2003-09-18  Michael Koch  <konqueror@gmx.de>
4367
4368         * java/net/DatagramSocket.java
4369         (ch): Removed.
4370         (receive): Use getChannel() instead of ch.
4371         (send): Likewise.
4372         (getChannel): Return null.
4373         * java/net/ServerSocket.java
4374         (ch): Removed.
4375         (setChannel): Removed.
4376         (implAccept): Use getChannel() instead of ch.
4377         (close): Likewise.
4378         (getChannel): Return null.
4379         * java/net/Socket.java
4380         (ch): Removed.
4381         (connect): Use getChannel() instead of ch.
4382         (setChannel): Removed.
4383         (getChannel): Return null.
4384
4385 2003-09-18  Mark Wielaard  <mark@klomp.org>
4386
4387         Reported by Guilhem Lavaux and Julian Dolby
4388         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
4389         field "serialPersistentFields", not "getSerialPersistentFields".
4390
4391 2003-09-18  Ingo Proetel  <proetel@aicas.com>
4392
4393         * java/util/TimeZone.java: Initialize lazily.
4394         * java/util/Locale.java (readManifest): Fix check for country.
4395         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
4396         traceable 
4397         * java/util/Calendar.java: Make use of ResourceBundle better
4398         traceable.
4399
4400 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
4401
4402         * java/sql/Timestamp.java
4403         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
4404
4405 2003-09-18  David P Grove  <groved@us.ibm.com>
4406
4407         * java/io/LineNumberReader (read): Don't reset pos & limit when
4408         markPos is 0.
4409
4410 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
4411
4412         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
4413         constant.
4414         (computeArguments): use computeTypicalArguments.
4415
4416         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
4417         Compile_jikes.java and RMICException.java.
4418         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
4419         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
4420         * gnu/java/rmi/rmic/RMICException.java: Likewise.
4421  
4422         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
4423  
4424         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
4425         (computeTypicalArguments): New method.
4426         (compile): Print compiler output to System.out. Collect compiler
4427         error output and use it in exception message.
4428  
4429         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
4430         (destination): Initialize to null.
4431         (run): Replace file separator with '.' when processing class.
4432         (processClass): Replace '.' with file separator when compiling
4433         classes.
4434         (findClass): Use SystemClassLoader to load class.
4435         (generateStub): Use full class name for generated stub, that puts
4436         it in right path.  Replace '.' with file separator when generating
4437         stub file name. Write just the stub class name without package
4438         information as class name, and constructor name. Write only
4439         interface names for interfaces extending java.rmi.Remote as
4440         implemented.
4441         (generateSkel): Use full class name for generated skel, that puts
4442         it in right path.  Replace '.' with file separator when generating
4443         stub file name. Write just the stub class name without package
4444         information as class name.
4445
4446 2003-09-18  Michael Koch  <konqueror@gmx.de>
4447
4448         * Makefile.am (rmi_java_source_files):
4449         Added gnu/java/rmi/rmic/Compile_kjc.java,
4450         gnu/java/rmi/rmic/Compile_jikes.java and
4451         gnu/java/rmi/rmic/RMICException.java
4452         * Makefile.in: Regenerated.
4453
4454 2003-09-17  Graydon Hoare  <graydon@redhat.com>
4455
4456         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4457         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4458         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
4459         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
4460         New files.
4461
4462 2003-09-16  Graydon Hoare  <graydon@redhat.com>
4463
4464         * java/awt/BufferedImage.java (setData): Support non-component
4465         sample models.
4466         (getData): Same.
4467
4468 2003-09-10  Graydon Hoare  <graydon@redhat.com>
4469
4470         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
4471         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
4472
4473 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
4474
4475         * configure.in: Standardized help text case of
4476         --enable-hash-synchronization
4477         New configure switch --enable-libgcj-multifile and corresponding
4478         automake conditional ONESTEP.
4479         * configure: Rebuilt.
4480         * Makefile.am: Use automake conditional ONESTEP to determine
4481         whether classfiles should be compiled individually or all
4482         at once.
4483         * Makefile.in: Rebuilt.
4484
4485 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
4486
4487         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
4488         Remove method declaration.
4489         (create()): Call native create.
4490         (create(int)): New method.
4491         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4492         (create): Add window_id parameter.  Call gtk_plug_new with
4493         window_id parameter.
4494         (construct): Remove method implementation.
4495
4496 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
4497
4498         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
4499         (mostlyclean-local): New target patterned after clean-local
4500         which recursively deletes all libtool objects using 'libtool rm'.
4501         (clean-local): Slightly modified comment to alleviate monotony.
4502         (distclean-local): New target patterned after clean-local
4503         which recursively deletes all .d files.
4504         * Makefile.in: Rebuilt.
4505
4506 2003-09-11  Tom Tromey  <tromey@redhat.com>
4507
4508         * java/net/URLStreamHandler.java (parseURL): If original file
4509         ends with "/", so must canonical result.
4510         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
4511         with nul-termination and finding previous "/".
4512
4513 2003-09-11  Michael Koch  <konqueror@gmx.de>
4514
4515         * acconfig.h: Removed most items.
4516         * configure.in: Added descriptions to AC_DEFINE macros that where in
4517         acconfig.h before.
4518         * include/config.h.in: Regenerated.
4519
4520 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
4521
4522         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
4523         if one is installed. Improve Javadoc.
4524         (getSystemEventQueueImpl): Improve Javadoc.
4525
4526 2003-09-11  Tom Tromey  <tromey@redhat.com>
4527
4528         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
4529         file does not exist.
4530
4531 2003-09-10  Anthony Green  <green@redhat.com>
4532
4533         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
4534         Specify full name when referencing ::java::net::InetAddress.
4535         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
4536         Fix argument type.
4537
4538 2003-09-10  Michael Koch  <konqueror@gmx.de>
4539
4540         * acconfig.h (__NO_MATH_INLINES): Removed.
4541         * configure.in: Removed check for g++ math inlining bug from 2000.
4542         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
4543         libgcj_cxxflags.
4544         * configure: Regenerated.
4545
4546 2003-09-10  David Daney <ddaney@avtrex.com>
4547
4548         * java/util/Arrays.java (equals(all variants)): Quit using
4549         NullPointerException catching to detect null valued parameters.
4550
4551 2003-09-10  Michael Koch  <konqueror@gmx.de>
4552
4553         * java/net/DatagramSocket.java,
4554         java/net/MulticastSocket.java,
4555         java/net/ServerSocket.java,
4556         java/net/Socket.java:
4557         Use gnu.java.net.Plain*SocketImpl instead of
4558         java.net.PlainSocketImpl.
4559         * java/net/PlainDatagramSocketImpl.java,
4560         java/net/PlainSocketImpl.java,
4561         java/net/SocketInputStream.java,
4562         java/net/SocketOutputStream.java,
4563         java/net/natPlainDatagramSocketImplNoNet.cc,
4564         java/net/natPlainDatagramSocketImplPosix.cc,
4565         java/net/natPlainDatagramSocketImplWin32.cc,
4566         java/net/natPlainSocketImplNoNet.cc,
4567         java/net/natPlainSocketImplPosix.cc,
4568         java/net/natPlainSocketImplWin32.cc:
4569         Removed.
4570         * gnu/java/net/PlainDatagramSocketImpl.java,
4571         gnu/java/net/PlainSocketImpl.java,
4572         gnu/java/net/SocketInputStream.java,
4573         gnu/java/net/SocketOutputStream.java,
4574         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
4575         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
4576         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
4577         gnu/java/net/natPlainSocketImplNoNet.cc,
4578         gnu/java/net/natPlainSocketImplPosix.cc,
4579         gnu/java/net/natPlainSocketImplWin32.cc:
4580         New files (moved from java/net).
4581         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
4582         instead of java/net/natPlain*SocketImpl.cc.
4583         * configure: Regenerated.
4584         * Makefile.am: Moved files from java/net to gnu/java/net.
4585         * Makefile.in: Regenerated.
4586
4587 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
4588
4589         * configure: Regenerate.
4590
4591 2003-09-04  Tom Tromey  <tromey@redhat.com>
4592
4593         * configure.host: Removed erroneous comment.
4594
4595         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
4596         lvalue cast; use correct rvalue cast.
4597
4598 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
4599
4600         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
4601         and height arguments to GtkWindowPeer.create method call.
4602         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4603         (create(int,int,int)): New method.
4604         (create(int)): Add call to new create method.
4605         (create()): Add width and height arguments to create method
4606         call.
4607         (GtkWindowPeer): Remove call to setBounds.
4608         * java/awt/Frame.java (Frame(String)): Initialize visible field
4609         to false.
4610         (Frame(GraphicsConfiguration)): Likewise.
4611         (Frame(String,GraphicsConfiguration)): Likewise.
4612         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4613         Add width and height parameters.  Call
4614         gtk_window_set_default_size.
4615         (connectHooks): Remove unused name variable.
4616         (static setBounds): Call gtk_window_resize not
4617         gtk_widget_set_usize.
4618         (setBounds): Remove unused nchildren variable.
4619
4620 2003-08-31  Ingo Proetel  <proetel@aicas.com>
4621
4622         * java/util/logging/Logger.java: provide class and method information
4623         * java/util/logging/LogManager.java: create handlers
4624         * java/util/logging/SimpleFormatter.java: print souceClassName and
4625         sourceMethodName
4626
4627 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4628
4629         * win32.cc: fixed tab, indentation and whitespace
4630         inconsistencies
4631         removed jvm.h include
4632         added includes java/lang/UnsupportedOperationException.h,
4633         java/io/IOException.h, java/net/SocketException.h
4634         (WSAEventWrapper): class implementation
4635         (_Jv_WinStrError): implemented both overloads
4636         (_Jv_ThrowIOException): implemented both overloads
4637         (_Jv_ThrowSocketException): implemented both overloads
4638         (_Jv_select): implemented
4639         * include/win32.h: fixed tab, indentation and whitespace
4640         inconsistencies
4641         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
4642         added jvm.h include
4643         (WSAEventWrapper): added class declaration
4644         (_Jv_WinStrError): added both overload declarations
4645         (_Jv_ThrowIOException): added both overload declarations
4646         (_Jv_ThrowSocketException): added both overload declarations
4647         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
4648         (_Jv_select): added declaration
4649         (_Jv_socket): removed
4650         (_Jv_connect): removed
4651         (_Jv_close): removed
4652         (_Jv_bind): removed
4653         (_Jv_accept): removed
4654         (_Jv_listen): removed
4655         (_Jv_write): removed
4656         (_Jv_read): removed
4657         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
4658         whitespace inconsistencies
4659         replaced <windows.h> #include with <platform.h>
4660         removed jvm.h include
4661         (testCanUseGetHandleInfo): new function which tests whether Win32
4662         GetHandleInformation() call can be used with console buffer handles
4663         (only supported on >=WinNT 5.0)
4664         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
4665         (valid): rewrote implementation using GetHandleInformation()
4666         (sync):         changed exception throwing to use error string and exception
4667         helper methods declared in include/win32.h
4668         (open): likewise
4669         (write): likewise
4670         (setLength): likewise
4671         (close): likewise
4672         (seek): likewise
4673         (getFilePointer): likewise
4674         (read): likewise
4675         * java/io/natFileWin32.cc: fixed tab, indentation and
4676         whitespace inconsistencies
4677         replaced <windows.h> #include with <platform.h>
4678         removed jvm.h include
4679         (_access): use JV_TEMP_UTF_STRING
4680         (_stat): likewise
4681         (performMkDir): use JV_TEMP_UTF_STRING
4682         (performRenameTo): likewise
4683         (performDelete): likewise
4684         (performCreate): likewise
4685         (performSetReadOnly): likewise
4686         (performSetLastModified): likewise
4687         * java/lang/natWin32Process.cc: fixed tab, indentation and
4688         whitespace inconsistencies
4689         replaced <windows.h> #include with <platform.h>
4690         removed includes gcj/cni.h, jvm.h
4691         (new_string): removed
4692         (startProcess): use JV_TEMP_UTF_STRING,
4693         changed exception throwing to use error string and exception
4694         helper methods declared in include/win32.h
4695         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
4696         whitespace inconsistencies
4697         replaced <windows.h> #include with <platform.h>
4698         removed jvm.h include
4699         removed DISABLE_JAVA_NET conditional code
4700         removed POSIX conditional code not relevant to Win32
4701         (aton): use JV_TEMP_UTF_STRING
4702         removed POSIX conditional code not relevant to Win32
4703         (lookup): likewise
4704         (getLocalHostName): likewise
4705         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
4706         whitespace inconsistencies
4707         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
4708         removed DISABLE_JAVA_NET conditional code
4709         removed POSIX conditional code not relevant to Win32
4710         (winsock2GetRealNetworkInterfaces): new function to compute network
4711         interfaces via Winsock2 API
4712         (determineGetRealNetworkInterfacesFN): new function for returning
4713         a function pointer to the function used to compute network interfaces.
4714         (getRealNetworkInterfaces): implemented
4715         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
4716         whitespace inconsistencies
4717         removed gcj/cni.h include
4718         removed DISABLE_JAVA_NET conditional code
4719         removed POSIX conditional code not relevant to Win32
4720         changed net POSIXisms to Win32isms
4721         replaced _Jv socket-related calls with their real Win32 equivalents
4722         changed exception throwing to use error string and exception
4723         helper methods declared in include/win32.h
4724         (peekData): implemented timeout support
4725         (receive): likewise
4726         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
4727         whitespace inconsistencies
4728         removed gcj/cni.h and gcj/javaprims.h includes
4729         removed DISABLE_JAVA_NET conditional code
4730         removed POSIX conditional code not relevant to Win32
4731         changed net POSIXisms to Win32isms
4732         replaced _Jv socket-related calls with their real Win32
4733         equivalents
4734         changed exception throwing to use error string and exception
4735         helper methods declared in include/win32.h
4736         (throwConnectException): helper function for connect()
4737         (connect): implemented timeout support
4738         (accept): likewise
4739         (doRead): new helper function common to both read() method overloads,
4740         includes timeout support
4741         (read): implemented both overloads in terms of doRead()
4742         (available): implemented using ioctlsocket()
4743
4744 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4745
4746         * java/net/natInetAddressWin32.cc,
4747         java/net/natNetworkInterfaceWin32.cc,
4748         java/net/natPlainDatagramSocketImplWin32.cc,
4749         java/net/natPlainSocketImplWin32.cc:
4750         Readded code enclosed in DISABLE_JAVA_NET defines
4751         in preparation for MinGW cleanup / networking
4752         patch
4753
4754 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4755
4756         * Makefile.am: Fixed problems with parallel makes.
4757         (all_java_class_files): Readded definition.
4758         (all_java_class_files): New target which depends on
4759         libgcj-@gcc_version@.jar
4760         * Makefile.in: Rebuilt
4761
4762 2003-08-28  Tom Tromey  <tromey@redhat.com>
4763
4764         * Makefile.in: Rebuilt.
4765         * Makefile.am (ordinary_java_source_files): Added new files.
4766         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
4767         friend.
4768         * java/net/URLClassLoader.java (findClass): Don't use
4769         findURLResource.  Use loader's getClass method.
4770         (URLLoader.getClass): New method.
4771         (addURL): Handle `gcjlib' URLs.
4772         (SoURLLoader): New class.
4773         (SoResource): Likewise.
4774         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
4775         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
4776         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
4777         (_Jv_RegisterCoreHook): Declare.
4778         (_Jv_FindCore): Declare.
4779         * gnu/gcj/runtime/SharedLibHelper.java: New file.
4780         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
4781         typedef.
4782         (core_hook): New function.
4783         (struct SharedLibDummy) [saved_core]: New field.
4784         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
4785         (register_hook): Set protection domain and class loader on new
4786         class.
4787         (finalize): Free core chain.
4788         * gnu/gcj/Core.java (Core): New constructor.
4789         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
4790         SharedLibHelper.
4791         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
4792         (_Jv_create_core): New function.
4793         (create): Use it.
4794         (default_register_resource): New function.
4795         (_Jv_RegisterCoreHook): New global.
4796         (_Jv_RegisterResource): Use it.
4797         (core_chain_struct): Removed.
4798         (_Jv_FindCore): New function.
4799         (_Jv_FreeCoreChain): New function.
4800
4801 2003-08-29  Michael Koch  <konqueror@gmx.de>
4802
4803         * java/net/natInetAddressWin32.cc,
4804         java/net/natNetworkInterfaceWin32.cc,
4805         java/net/natPlainDatagramSocketImplWin32.cc,
4806         java/net/natPlainSocketImplWin32.cc:
4807         Removed code enclosed in DISABLE_JAVA_NET defines.
4808
4809 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
4810
4811         * Makefile.am: (write_entries_to_file) New parameterized
4812         function for writing entries to a file one line at a time.
4813         (all_java_class_files): Removed definition.
4814         (.java.class) Removed.target.
4815         (libgcj-@gcc_version@.jar): Changed dependency to
4816         $(all_java_source_files); added compilation step which compiles
4817         all changed source files in one pass.
4818         (libgcj.la) Refactored to use write_entries_to_file.
4819         (lib-gnu-awt-xlib.la) Likewise.
4820         (install-data-local) Likewise.
4821         (write-entries-to-file-check) New target which tests write_entries_to_file.
4822         (all-recursive): Changed dependency from $(all_java_class_files)
4823         to libgcj-@gcc_version@.jar
4824         * Makefile.in: Rebuilt.
4825
4826 2003-08-26  Tom Tromey  <tromey@redhat.com>
4827
4828         * java/lang/StrictMath.java: Typo fix.
4829         * java/lang/Math.java: Typo fix.
4830
4831 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
4832
4833         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
4834         of the removed Thread.
4835
4836 2003-08-26  Mark Wielaard  <mark@klomp.org>
4837
4838         Reported by David Holmes <dholmes@dltech.com.au>.
4839         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
4840         Collections.synchronizedMap.
4841         * java/lang/ThreadLocal.java (valueMap): Likewise.
4842
4843 2003-08-26  Mark Wielaard  <mark@klomp.org>
4844
4845         * java/security/acl/Acl.java: Fix broken p tag.
4846         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
4847         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
4848         * javax/swing/plaf/TreeUI.java: Likewise.
4849         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
4850         * java/util/Properties.java: Use the word umlaut, not &auml; in api
4851         documentation.
4852         * java/util/PropertyResourceBundle.java: Likewise and add closing code
4853         tag.
4854
4855 2003-08-26  Tom Tromey  <tromey@redhat.com>
4856
4857         * Makefile.in: Rebuilt.
4858         * Makefile.am: Removed all GNU-make-specific FIXME comments.
4859
4860         * java/lang/ref/Reference.java (get): Indentation fix.
4861         (clear): Comment fix.
4862         (enqueue): Likewise.
4863         (lock): Likewise.
4864         (referent): Likewise.
4865
4866 2003-08-26  Tom Tromey  <tromey@redhat.com>
4867
4868         PR java/12058:
4869         * java/lang/reflect/natArray.cc (set): Allow null as argument.
4870
4871         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
4872         (ProxyData.getPackage): New method.
4873         (ProxyData.getProxyData): Use package name, not Package.
4874         (ClassFactory.ClassFactory): Updated.
4875
4876 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
4877         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
4878         * Makefile.in: re-generated.
4879         * gnu/awt/j2d/IntegerGraphicsState.java
4880         (ScreenCoupledImage): new interface.
4881         (drawImage): detect ScreenCoupledImage instances.
4882         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
4883         * gnu/awt/xlib/XEventLoop.java
4884         (createEvent): re-formatted, and rearranged to avoid null pointer.
4885         * gnu/awt/xlib/XGraphics.java
4886         (drawImage): added XOffScreenImage handling.
4887         * gnu/awt/xlib/XOffScreenImage.java: new file.
4888         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
4889         * gnu/gcj/xlib/GC.java (copyArea): new native method.
4890         * gnu/gcj/xlib/XAnyEvent.java
4891         (TYPE_KEY_PRESS): new constant.
4892         (TYPE_KEY_RELEASE): new constant.
4893         (TYPE_MOTION_NOTIFY): new constant.
4894         (TYPE_ENTER_NOTIFY): new constant.
4895         (TYPE_LEAVE_NOTIFY): new constant.
4896         (TYPE_FOCUS_IN): new constant.
4897         (TYPE_FOCUS_OUT): new constant.
4898         (TYPE_KEYMAP_NOTIFY): new constant.
4899         (TYPE_GRAPHICS_EXPOSE): new constant.
4900         (TYPE_NO_EXPOSE): new constant.
4901         (TYPE_VISIBILITY_NOTIFY): new constant.
4902         (TYPE_CREATE_NOTIFY): new constant.
4903         (TYPE_DESTROY_NOTIFY): new constant.
4904         (TYPE_MAP_REQUEST): new constant.
4905         (TYPE_CONFIGURE_REQUEST): new constant.
4906         (TYPE_GRAVITY_NOTIFY): new constant.
4907         (TYPE_RESIZE_REQUEST): new constant.
4908         (TYPE_CIRCULATE_NOTIFY): new constant.
4909         (TYPE_CIRCULATE_REQUEST): new constant.
4910         (TYPE_PROPERTY_NOTIFY): new constant.
4911         (TYPE_SELECTION_CLEAR): new constant.
4912         (TYPE_SELECTION_REQUEST): new constant.
4913         (TYPE_SELECTION_NOTIFY): new constant.
4914         (TYPE_COLORMAP_NOTIFY): new constant.
4915         (TYPE_MAPPING_NOTIFY): new constant.
4916         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
4917         * gnu/gcj/xlib/natGC.cc (copyArea): new method
4918         * java/awt/Component.java (createImage): changed to use peer method.
4919
4920 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4921
4922         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
4923         name, not XLFD, to native drawString.
4924         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4925         Replace XLFD-based implementation with Pango-based
4926         implementation.
4927
4928 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4929
4930         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
4931         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
4932
4933 2003-08-21  David Daney  <ddaney@avtrex.com>
4934
4935         Fix for PR libgcj/12013:
4936         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4937         Check `cleared' field.
4938         * java/lang/ref/Reference.java (copy): Updated comments.
4939         (cleared): New field.
4940         (clear): Rewrote.
4941
4942 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
4943             Thomas Fitzsimmons  <fitzsim@redhat.com>
4944
4945         * Makefile.am (gtk_awt_peer_sources): Add
4946         gnu/java/awt/peer/GLightweightPeer.java.  Remove
4947         gnu/java/awt/GLightweightPeer.java.
4948         * gnu/java/awt/GLightweightPeer.java: Remove file.
4949         * gnu/java/awt/peer/GLightweightPeer.java: New file.
4950         * java/awt/Component.java (getToolkit): Add comment about
4951         lightweight components.
4952         * java/awt/Toolkit.java (createComponent): Return
4953         gnu.java.awt.peer.GLightweightPeer.
4954
4955 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
4956
4957         * configure.in: Fix detection of gcj when building with newlib.
4958         * configure: Regenerated.
4959
4960 2003-08-20  Graydon Hoare  <graydon@redhat.com>
4961
4962         * jni.cc: Replace "cheating" pointer-casting code with
4963         extract_from_jvalue<> template.
4964
4965 2003-08-20  Andrew Haley  <aph@redhat.com>
4966
4967         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
4968         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
4969         (classAt): Break out class lookup function into getClass().
4970         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
4971         handlers when using -fno-assume-compiled.
4972
4973 2003-08-20  Tom Tromey  <tromey@redhat.com>
4974
4975         Fix for PR libgcj/9125:
4976         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
4977         object outside of loop.  Respect lib_control setting.
4978         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
4979         field.
4980         (lib_control): New field.
4981         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
4982         (VMClassLoader): Initialize new field.
4983
4984         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4985         Set `list->reference' to DELETED_REFERENCE when removing dead
4986         object.
4987         (find_slot): Added an assert.
4988         (DELETED_REFERENCE): New define.
4989         (add_to_hash): Check for DELETED_REFERENCE.
4990         (remove_from_hash): Just return if found slot isn't ours.
4991
4992 2003-08-19  Andrew Haley  <aph@redhat.com>
4993
4994         * prims.cc (unblock_signal): New function.
4995         (catch_segv): Use it.
4996         (catch_fpe): Likewise.
4997
4998 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
4999
5000         PR libgcj/11575
5001         * java/io/natFileDescriptorWin32.cc (open): Set create
5002         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
5003         Honor EXCL when openning with WRITE flag. 
5004
5005 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
5006
5007         * include/jvm.h: New class _Jv_TempUTFString (helper class for
5008         getting a temporary C string from a jstring)
5009         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
5010         but uses a stack buffer if the string length is less than 256
5011         bytes.
5012
5013 2003-08-18  Tom Tromey  <tromey@redhat.com>
5014
5015         PR libgcj/11951:
5016         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
5017         void.  Throw VirtualMachineError if ffi fails.  Initialize return
5018         value.  Added is_jni_call argument; only wrap exception if not a
5019         JNI call.  Use descriptive message if operation not supported.
5020         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
5021         array class.
5022         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
5023         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
5024         _Jv_CallAnyMethodA.
5025         (_Jv_JNI_CallAnyMethodA): Likewise.
5026         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
5027         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
5028
5029 2003-08-13  Tom Tromey  <tromey@redhat.com>
5030
5031         * gij.cc (help): Document -? and -X.
5032
5033 2003-08-12  Graydon Hoare  <graydon@redhat.com>
5034
5035         * java/awt/Font.java: 
5036         Stub out more recent API. 
5037
5038 2003-08-12  Graydon Hoare  <graydon@redhat.com>
5039
5040         * java/awt/Color.java (getAlpha): 
5041         Prevent sign-extended alpha values.
5042
5043 2003-08-12  Tom Tromey  <tromey@redhat.com>
5044
5045         * gij.cc (main): Handle -? and -X.
5046
5047 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
5048
5049         * java/awt/Container.java
5050         (getPreferredSize): Call preferredSize.
5051         (preferredSize): Moved body of getPreferredSize here.
5052         (getMinimumSize): Call minimumSize.
5053         (minimumSize): Moved body of getMinimumSize here.
5054
5055 2003-08-11  Tom Tromey  <tromey@redhat.com>
5056
5057         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
5058         (postEvent): Removed FIXME comment.
5059         (isDispatchThread): Documented.
5060         (getCurrentEvent): New method.
5061         (dispatchEvent): Set currentEvent and lastWhen.
5062         (getMostRecentEventTime): Rewrote.
5063         (invokeLater): Documented.
5064
5065 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
5066
5067         * java/io/PrintStream.java (print): Always flush if auto_flush is
5068         set. Don't check for newline characters.
5069         (write (int)): Implement without using a temporary array.
5070         (write (byte[], int, int): Always flush if auto_flush is set. Don't
5071         check for newline characters.
5072         Fixes PR libgcj/11778.
5073
5074 2003-08-08  Andrew Haley  <aph@redhat.com>
5075
5076         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
5077         * Makefile.in: Rebuild.
5078         * java/lang/natRuntime.cc (insertSystemProperties): Add
5079         "sun.boot.class.path".
5080
5081 2003-08-07  Andrew Haley  <aph@redhat.com>
5082
5083         * java/io/PrintStream.java: Don't crash on a null string.
5084         
5085 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5086
5087         * configure.in: Don't initialize GCINCS to boehm-gc/include.
5088         * configure: Regenerate.
5089
5090 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
5091
5092         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
5093         SocketImpl. Update Javadoc.
5094         (bind): Call close() not impl.close() in event of exception.
5095         (connect): Likewise.
5096         Remove superfluous null checks throughout.
5097         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
5098         Don't create an extra socket. Fix for PR libgcj/10868.
5099         (bind): Clean up exception handling.
5100         Remove superfluous null checks throughout.
5101
5102 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
5103             Bryce McKinlay  <bryce@mckinlay.net.nz>
5104
5105         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
5106         ready-to-write argument to _Jv_Select. Reset the socket back to 
5107         non-blocking state after connecting.
5108         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
5109         Throw SocketTimeoutException not InterruptedIOException.
5110         (read): Throw SocketTimeoutException not InterruptedIOException.
5111
5112 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
5113
5114         * java/lang/Thread.java (Thread): Check for null "name" from
5115         start of private constructor, not after calling the private
5116         constructor.
5117
5118 2003-08-06  Tom Tromey  <tromey@redhat.com>
5119
5120         * java/io/FilePermission.java (equals): Use correct index for
5121         last character of path.
5122
5123 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
5124
5125         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
5126         * configure.in: Compare with_cross_host to build_alias, not build.
5127         * aclocal.m4: Regenerate.
5128         * configure: Regenerate.
5129
5130 2003-08-05  Tom Tromey  <tromey@redhat.com>
5131
5132         Fix for PR libgcj/11779:
5133         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
5134         class.
5135
5136         * java/lang/reflect/Method.java: Updated status comment.
5137         Imported javadoc from Classpath and re-ordered methods.
5138         * java/lang/reflect/Constructor.java: Reindented.  Updated
5139         status comment.  Imported javadoc from Classpath and re-ordered
5140         methods.
5141
5142 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
5143
5144         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
5145         Add keyLocation parameter.
5146         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
5147         string.
5148         (paramString): Generate keyChar string according to keyChar, not
5149         keyCode.
5150         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5151         (state_to_awt_mods): Handle ALT key.
5152         (keyevent_state_to_awt_mods): New function.
5153         (get_first_keyval_from_keymap): New function.
5154         (keysym_to_awt_keycode): Get virtual key code from keymap.
5155         Handle missing VK_ values.
5156         (keysym_to_awt_keylocation): New function.
5157         (keyevent_to_awt_keychar): New function.
5158         (generates_key_typed_event): Handle non-text-component case.
5159         Handle GDK_KP_Delete and GDK_KP_Enter.
5160         (awt_event_handler): Call new functions to get postKeyEvent
5161         parameters.
5162         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
5163         Update postKeyEvent method signature.
5164         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
5165         VK_ defines.
5166
5167 2003-08-05  Matthias Klose  <doko@debian.org>
5168
5169         * aclocal.m4: check for libart-config binary
5170           under the name libart2-config as well.
5171         * configure: regenerated.
5172
5173 2003-08-04  David P Grove  <groved@us.ibm.com>
5174
5175         * java/text/DecimalFormat.java (format): avoid ArithmeticException
5176         when groupingSize is 0.
5177         (parse): Likewise.
5178
5179 2003-08-04  Matthias Klose  <doko@debian.org>
5180
5181         * libart.m4: check for libart-config binary
5182           under the name libart2-config as well.
5183         * configure, aclocal.m4: regenerated.
5184
5185 2003-08-02  Michael Koch  <konqueror@gmx.de>
5186
5187         * java/nio/ByteBufferImpl.java
5188         (getChar): Check remaining bytes, fixed comment about endianess.
5189         (putChar): Likewise.
5190         (getShort): Likewise.
5191         (putShort): Likewise.
5192         (getInt): Check remaining bytes, fixed conversion, fixed comment about
5193         endianess.
5194         (putInt): Likewise.
5195         (getLong): Likewise.
5196         (putLong): Likewise.
5197         (getFloat): Likewise.
5198         (putFloat): Likewise.
5199         (getDouble): Likewise.
5200         (putDouble): Likewise.
5201         * java/nio/DirectByteBufferImpl.java
5202         (getChar): Wrapped code, fixed comment about endianess.
5203         (putchar): Likewise.
5204         (getShort): Likewise.
5205         (putShort): Likewise.
5206         (getInt): Fixed conversion, fixed comment about endianess.
5207         (putInt): Likewise.
5208         (getLong): Likewise.
5209         (putLong): Likewise.
5210         (getFloat): Likewise.
5211         (putFloat): Likewise.
5212         (getDouble): Likewise.
5213         (putDouble): Likewise.
5214         * java/nio/MappedByteBufferImpl.java
5215         (compact): Implemented.
5216         (getChar): Implemented.
5217         (putChar): Implemented.
5218         (getDouble): Implemented.
5219         (putdouble): Implemented.
5220         (getFloat): Implemented.
5221         (putFloat): Implemented.
5222         (getInt): Implemented.
5223         (putInt): Implemented.
5224         (getLong): Implemented.
5225         (putLong): Implemented.
5226         (getShort): Implemented.
5227         (putShort): Implemented.
5228         * java/nio/channels/FileChannelImpl.java
5229         (read): Set position where to access file.
5230         (write): Likewise.
5231         (transferTo): Flip buffer after read and before write.
5232         (transferFrom): Likewise.
5233
5234 2003-08-02  Michael Koch  <konqueror@gmx.de>
5235
5236         * gnu/java/lang/ArrayHelper.java
5237         (equalsArray): Reformated, added method documentation.
5238
5239 2003-08-02  Michael Koch  <konqueror@gmx.de>
5240
5241         * java/net/URL.java
5242         (URL): Added paragraph about the
5243         gnu.java.net.nocache_protocol_handlers property.
5244         (ph_cache): Renamed from handlers to match classpath's implementation.
5245         Reordered it with factory and serialVersionUID member variables.
5246         (cache_handlers): New member variable.
5247         (static): New static initializer to initialize cache_handlers from
5248         gnu.java.net.nocache_protocol_handlers property.
5249         (URL): Use ph_cache instead of handlers, reformatted some code to
5250         match classpath's implementation.
5251
5252 2003-08-01  Tom Tromey  <tromey@redhat.com>
5253
5254         Fix for PR libgcj/11241:
5255         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
5256         initialCapacity is 0, set it to 1.
5257
5258 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
5259
5260         * java/net/SocketImpl.java (toString): Display the remote address
5261         of an unconnected server socket as "0.0.0.0/0.0.0.0".
5262
5263 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
5264
5265         * javax/swing/border/BevelBorder.java,
5266         javax/swing/border/EtchedBorder.java,
5267         javax/swing/border/LineBorder.java,
5268         javax/swing/border/MatteBorder.java,
5269         javax/swing/border/SoftBevelBorder.java,
5270         javax/swing/plaf/BorderUIResource.java,
5271         javax/swing/plaf/ComponentUI.java,
5272         javax/swing/plaf/TreeUI.java,
5273         javax/swing/plaf/basic/BasicBorders.java,
5274         javax/swing/plaf/basic/BasicGraphicsUtils.java,
5275         javax/swing/plaf/basic/BasicTreeUI.java:
5276         Prepend "doc-files" to all paths to embedded Javadoc images, so
5277         that the generated documentation contains the correct URL.
5278
5279 2003-08-01  Tom Tromey  <tromey@redhat.com>
5280
5281         * configure: Rebuilt.
5282         * configure.in (tool_include_dir): Redefine to match gcc.
5283
5284 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
5285             Mark Wielaard  <mark@klomp.org>
5286             
5287         * java/math/BigDecimal (divide): Correctly handle
5288         ROUND_HALF_EVEN when amount is greater than 0.5.
5289         Simplify and optimize code.
5290
5291 2003-07-31  Tom Tromey  <tromey@redhat.com>
5292
5293         More for PR libgcj/11737:
5294         * java/io/ObjectInputStream.java (processResolution): Use
5295         getMethod.
5296         (getMethod): Make method accessible.
5297         (getField): Make field accessible.
5298         (setBooleanField): Don't call setAccessible here.
5299         (setByteField, setCharField, setDoubleField, setFloatField,
5300         setIntField, setLongField, setShortField, setObjectField):
5301         Likewise.
5302         (callReadMethod): Don't check whether method is null.  Catch
5303         NoSuchMethodException.
5304         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
5305         cause on thrown exceptions.
5306
5307 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
5308
5309         Fix for PR libgcj/11728:
5310         * java/util/HashMap.java (readObject): Set size.
5311
5312 2003-07-31  Tom Tromey  <tromey@redhat.com>
5313
5314         Fix for PR libgcj/11737:
5315         * java/io/ObjectOutputStream.java (getMethod): Make method
5316         accessible.
5317         (getField): Likewise.
5318         (writeObject): Use getMethod.
5319         Import PrivilegedAction and AccessController.
5320         (callWriteMethod): Don't check whether m is null.  Catch
5321         NoSuchMethodException.
5322
5323         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
5324         (containsAngle): Likewise.
5325         (getStartPoint): Rewrote.
5326         (getEndPoint): Likewise.
5327         (setAngleStart(Point2D)): Likewise.
5328
5329 2003-07-31  Roger Sayle  <roger@eyesopen.com>
5330             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5331
5332         * configure.in: Add new THREADCXXFLAGS variable.
5333         Handle POSIX threads on alpha*-dec-osf*.
5334         * configure: Regenerate.
5335         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
5336         * Makefile.in: Regenerate.
5337
5338 2003-07-08  Andrew Haley  <aph@redhat.com>
5339
5340         * include/i386-signal.h (RESTORE): New.
5341         (INIT_SEGV): Set restorer.
5342         (INIT_FPE): Likewise.
5343
5344 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
5345
5346         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
5347         than getXLFD.
5348         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
5349         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
5350         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5351         (gtkSetFont): Scale size parameter by PANGO_SCALE.
5352         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
5353         Likewise.
5354         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
5355         Likewise.
5356
5357 2003-07-29  Tom Tromey  <tromey@redhat.com>
5358
5359         * defineclass.cc (handleField): Throw exception if field name is
5360         duplicated.
5361         (handleMethod): Throw exception for duplicate method.
5362
5363 2003-07-29  Tom Tromey  <tromey@redhat.com>
5364
5365         * gnu/gcj/convert/natIconv.cc (write): Handle case where
5366         output buffer is too small.
5367
5368 2003-07-28  Tom Tromey  <tromey@redhat.com>
5369
5370         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
5371         New method.
5372         Include gnu/gcj/runtime/StringBuffer.h.
5373         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
5374         native method.
5375         (String(gnu.gcj.runtime.StringBuffer)): Use it.
5376
5377 2003-07-27  Anthony Green  <green@redhat.com>
5378
5379         * configure.in: Fix newlib check.
5380         * configure: Rebuilt.
5381
5382 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
5383
5384         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5385         Create vbox and layout for GtkPlug.
5386
5387 2003-07-27  Michael Koch  <konqueror@gmx.de>
5388
5389         * java/awt/Window.java
5390         (Window): Removed now unused constructor. It became oboslete with the
5391         new embedded window patch.
5392
5393 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
5394             Michael Koch  <konqueror@gmx.de>
5395
5396         * gnu/java/awt/EmbeddedWindow.java
5397         (EmbeddedWindow): Extends Frame instead of Window.
5398         (window_id): New member variable to store the native window handle.
5399         (create): Removed.
5400         (EmbeddedWindow): New constructor.
5401         (addNotify): New method.
5402         (getHandler): Likewise.
5403         (setWindowPeer): New native method.
5404         * gnu/java/awt/EmbeddedWindowSupport.java
5405         (EmbeddedWindowSupport): Fixed documentation.
5406         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
5407         WindowPeer, give it an EmbeddedWindow instance instead of the raw
5408         window data.
5409         * gnu/java/awt/natEmbeddedWindow.cc
5410         (create): Removed.
5411         (setWindowPeer): New method.
5412         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
5413         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
5414         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5415         New files
5416         * gnu/java/awt/peer/gtk/GtkToolkit.java
5417         (GtkToolkit): Implements EmbeddedWindowSupport.
5418         (createEmbeddedWindow): New method.
5419         * java/awt/Window.java
5420         (Window): Removed.
5421         * Makefile.am
5422         (java_source_files): Added EmbeddedWindowPeer.java.
5423         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
5424         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
5425         * Makefile.in: Regenerated.
5426
5427 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
5428
5429         * java/lang/Win32Process.java (ConcreteProcess): Surround
5430         a command line element with quotes if it contains an
5431         embedded space or tab.
5432         * java/lang/natWin32Process.cc (startProcess): Do not
5433         surround command line elements with quotes here.
5434
5435         * configure.host: Use -fcheck-references and 
5436         -fuse-divide-subroutine for MinGW until we fix
5437         win32_exception_handler( ) in win32.cc w.r.t. Win32 
5438         Structured Exception Handling (SEH).
5439
5440         * win32.cc (_Jv_platform_initProperties): Use generic names
5441         like "x86" for the "os.arch" property to be consistent with
5442         what Sun's JDK produces. Use the wProcessorArchitecture
5443         member of the Win32 SYSTEM_INFO structure, filled in a call 
5444         to GetSystemInfo( ), instead of dwProcessorType.
5445
5446 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
5447             Ranjit Mathew  <rmathew@hotmail.com>
5448
5449         * Makefile.am: Use cross-compiling gcjh from the path for
5450         a crossed-native build.
5451         * Makefile.in: Rebuilt.
5452         * configure.in: Include libltdl in non-newlib builds.
5453         Moved determination of gcj used to build libraries to
5454         its own section. Fixed cross-compilation issues for
5455         non-newlib builds.
5456         * configure: Rebuilt.
5457
5458 2003-07-25  Tom Tromey  <tromey@redhat.com>
5459
5460         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
5461         (write): Likewise.
5462         (read): Likewise.
5463         (read): Likewise.
5464
5465 2003-07-25  Mark Wielaard  <mark@klomp.org>
5466
5467         * java/lang/natRuntime.cc (_load): Add library name to
5468         UnsatisfiedLinkError when thrown.
5469
5470 2003-07-25  Mark Wielaard  <mark@klomp.org>
5471
5472         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
5473         added.
5474         * Makefile.in: Likewise.
5475
5476 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
5477
5478         * java/awt/Component.java
5479         (getPreferredSize): Call preferredSize.
5480         (preferredSize): Moved body of getPreferredSize here.
5481         (getMinimumSize): Call minimumSize.
5482         (minimumSize): Moved body of getMinimumSize here.
5483         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
5484         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
5485         pass -1
5486         * java/awt/Container.java
5487         (validate): Don't validate if there is no peer.
5488         (update): Clear background before calling paint.
5489         * java/awt/GridBagLayout.java
5490         Completed the implementation and fixed several bugs.
5491         * java/awt/MediaTracker.java
5492         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
5493         combine flags.
5494         * java/awt/Window.java
5495         (Window): Don't call setVisible(false). Windows are invisible by
5496         default and calling virtual methods from constructor causes
5497         compatibility problems (e.g. subclasses may assume that the peer
5498         already exists).
5499
5500 2003-07-25  Michael Koch  <konqueror@gmx.de>
5501
5502         * java/awt/GridBagLayout.java:
5503         Totally reworked and partly implemented.
5504         * java/awt/GridBagLayoutInfo.java:
5505         New file.
5506
5507 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
5508
5509         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
5510         Don't pack label in an event box.
5511
5512 2003-07-24  Tom Tromey  <tromey@redhat.com>
5513
5514         For PR libgcj/7482:
5515         * verify.cc (ref_intersection): New class.
5516         (type_val): Removed unresolved_reference_type,
5517         uninitialized_unresolved_reference_type.
5518         (is_assignable_from_slow): Rewrote.
5519         (type::data): Removed.
5520         (type::klass): New field.
5521         (type::type): Added verifier argument.
5522         (type::resolve): Removed.
5523         (type::set_uninitialized): Updated for change to type_val.
5524         (type::set_initialized): Likewise.
5525         (type::isinitialized): Likewise.
5526         (type::print): Likewise.
5527         (construct_primitive_array_type): Likewise.
5528         (type::compatible): Updated for change to type_val and to use
5529         ref_intersection.
5530         (type::isarray): Updated to use ref_intersection.
5531         (type::isinterface): Likewise.
5532         (type::element_type): Likewise.
5533         (type::to_array): Likewise.
5534         (type::verify_dimensions): Rewrote.
5535         (type::merge): Likewise.
5536         (check_class_constant): Updated for type constructor change.
5537         (check_constant): Likewise.
5538         (check_field_constant): Likewise.
5539         (get_one_type): Likewise.
5540         (initialize_stack): Likewise.
5541         (verify_instructions_0): Likewise.
5542         (verify_instructions_0) [op_invokeinterface]: Removed special
5543         case.
5544         (isect_list): New field.
5545         (_Jv_BytecodeVerifier): Initialize it.
5546         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
5547
5548 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
5549
5550         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
5551         unless field size is 2.
5552
5553 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
5554
5555         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5556         (connectHooks): New method.
5557         (handleEvent): Remove.
5558         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5559         (createHooks): Remove declaration.
5560         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5561         (generates_key_typed_event): Change to handle only certain
5562         keyvals.
5563         (awt_event_handler): Add special handling for GtkTextView.
5564         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5565         (textcomponent_commit_cb): New function.
5566         (textcomponent_changed_cb): Likewise.
5567         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5568         (connectHooks): Remove.
5569
5570 2003-07-23  Tom Tromey  <tromey@redhat.com>
5571
5572         * java/lang/natSystem.cc (arraycopy): Check for overflow.
5573
5574         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
5575
5576 2003-07-22  Tom Tromey  <tromey@redhat.com>
5577
5578         * boehm.cc (_Jv_BuildGCDescr): Wrote.
5579         Include limits.h.
5580
5581 2003-07-22  Tom Tromey  <tromey@redhat.com>
5582
5583         * java/awt/Window.java (getWarningString): Just return the
5584         string.
5585         (Window): Set warningString; check with security manager.
5586
5587 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
5588
5589         * gnu/awt/xlib/XGraphicsConfiguration.java
5590         (FontMetricsCache): Made static.
5591  
5592 2003-07-22  Tom Tromey  <tromey@redhat.com>
5593
5594         * java/net/URLEncoder.java (encode(String)): Use platform default
5595         encoding.
5596         (encode(String,String)): Convert to 2-digit upper-case hex
5597         number.
5598         (hex): New field.
5599
5600 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5601
5602         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5603         (create): Remove unused method implementation.
5604         (connectHooks): Remove debug messages.
5605
5606 2003-07-20  Anthony Green  <green@redhat.com>
5607
5608         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
5609         CloneNotSupportedException.
5610         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
5611         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
5612         * gnu/gcj/xlib/GC.java (clone): Ditto.
5613         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
5614         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
5615
5616         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
5617         handler.
5618         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
5619
5620 2003-07-20  Steve Pribyl <steve@netfuel.com.>
5621
5622         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
5623         String.  Put dlerror() message into exception.
5624         Include UnsatisfiedLinkError.
5625         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
5626         String.  Now native.
5627
5628 2003-07-20  Tom Tromey  <tromey@redhat.com>
5629
5630         * java/lang/Runtime.java: Comment fix.
5631         * java/lang/ClassLoader.java (isAncestorOf): New method.
5632         (getParent): Uncommented security check.  Use isAncestorOf.
5633         * include/jvm.h (_Jv_CheckAccess): Declare.
5634         * java/lang/reflect/natConstructor.cc (newInstance): Perform
5635         access check.
5636         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
5637         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
5638         class loader to _Jv_GetArrayClass.
5639         Include ArrayIndexOutOfBoundsException.h.
5640         * java/lang/reflect/Field.java: Update comment to reflect status.
5641         (equals): Fixed indentation.
5642         * java/lang/Class.h (Class): Declare memberAccessCheck, not
5643         checkMemberAccess.  Make _Jv_CheckAccess a friend.
5644         * java/lang/Class.java (memberAccessCheck): New method from
5645         Classpath.
5646         (checkMemberAccess): Removed.
5647         (getDeclaredMethod): Use memberAccessCheck.
5648         (getField): Likewise.
5649         (getMethod): Likewise.
5650         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
5651         (_Jv_SearchMethodInClass): Likewise.
5652         * prims.cc (_Jv_CheckAccess): New function.
5653         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
5654         (_Jv_JNI_GetAnyFieldID): Likewise.
5655         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
5656         (getClassLoader): Added security check.
5657         (getConstructor): Call memberAccessCheck.
5658         (getDeclaredClasses): Likewise.
5659         (getDeclaredField): Likewise.
5660         (getDeclaredFields): Likewise.
5661         (_getConstructors): Likewise.
5662         (getDeclaredConstructor): Likewise.
5663         (getDeclaredMethods): Likewise.
5664         (getFields): Likewise.
5665         (getMethods): Likewise.
5666         (newInstance): Likewise.
5667         (_Jv_MakeVTable): Put method name in exception.
5668         * java/lang/reflect/natMethod.cc (getType): Use
5669         getClassLoaderInternal.
5670         (_Jv_GetTypesFromSignature): Likewise.
5671         (invoke): Perform access check.
5672         (_Jv_CallAnyMethodA): Removed old FIXME comments.
5673         Include ArrayIndexOutOfBoundsException.h.
5674         * java/lang/reflect/natField.cc (getType): Use
5675         getClassLoaderInternal.
5676         (_Jv_CheckFieldAccessibility): Removed.
5677         (getAddr): Use _Jv_CheckAccess; find caller.
5678         Include ArrayIndexOutOfBoundsException.h.
5679
5680 2003-07-20  Michael Koch  <konqueror@gmx.de>
5681
5682         * java/net/URL.java
5683         (URL): Fixed documentation to name an argument correcty, Reformatted
5684         one method declaration.
5685         (getURLStreamHandler): Added documentation from classpath.
5686
5687 2003-07-19  Tom Tromey  <tromey@redhat.com>
5688
5689         * mauve-libgcj: Don't run CollationElementIterator tests.
5690
5691 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
5692
5693         * java/net/URLClassLoader.java (addURL): Moved implementation to
5694         private addURLImpl() to avoid calling addURL from the constructor.
5695         (addURLImpl): Contains the code that was previously in addURL.
5696         (addURLs): Call addURLImpl(), not addURL().
5697
5698 2003-07-18  Graydon Hoare  <graydon@redhat.com>
5699
5700         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
5701         Handle missing event cases, connect to "value-changed" signal.
5702
5703 2003-07-18  Graydon Hoare  <graydon@redhat.com>
5704
5705         * java/awt/geom/CubicCurve2D.java,
5706         java/awt/geom/Line2D.java,
5707         java/awt/geom/QuadCurve2D.java,
5708         java/awt/geom/Rectangle2D.java: 
5709         Fix path some calculations, make path iterators follow
5710         a consistent style.
5711
5712 2003-07-18  Mark Wielaard  <mark@klomp.org>
5713
5714         * java/util/logging/Handler.java (isLoggable): Check record level
5715         smaller or equal.
5716
5717 2003-07-17  Michael Koch  <konqueror@gmx.de>
5718
5719         * gnu/java/awt/peer/gtk/GtkToolkit.java:
5720         Reworked imports.
5721
5722 2003-07-14  Michael Koch  <konqueror@gmx.de>
5723
5724         * gnu/java/rmi/server/UnicastServerRef.java:
5725         New version from classpath.
5726
5727 2003-07-14  Michael Koch  <konqueror@gmx.de>
5728
5729         * java/awt/image/MemoryImageSource.java,
5730         java/beans/PropertyEditorManager.java,
5731         javax/naming/CompoundName.java,
5732         javax/naming/spi/NamingManager.java,
5733         javax/swing/AbstractButton.java,
5734         javax/swing/ButtonModel.java,
5735         javax/swing/SwingUtilities.java,
5736         javax/swing/UIManager.java,
5737         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5738         javax/swing/event/AncestorEvent.java,
5739         javax/swing/event/InternalFrameEvent.java,
5740         java/util/zip/ZipFile.java:
5741         New versions from classpath.
5742
5743 2003-07-13  Michael Koch  <konqueror@gmx.de>
5744
5745         * gnu/java/nio/FileChannelImpl.java,
5746         gnu/java/nio/natFileChannelImpl.cc: Removed.
5747         * java/io/FileInputStream.java,
5748         java/io/FileOutputStream.java,
5749         java/io/RandomAccessFile.java,
5750         java/nio/MappedByteBufferImpl.java:
5751         Import java.nio.channels.FileChannelImpl instead of
5752         gnu.java.nio.FileChannelImpl.
5753         * java/nio/channels/FileChannelImpl.java,
5754         java/nio/channels/natFileChannelImpl.cc:
5755         New files.
5756         * Makefile.am
5757         (ordinary_java_source_files):
5758         Removed gnu/java/nio/FileChannelImpl.java and added
5759         java/nio/channels/FileChannelImpl.java.
5760         (nat source_files):
5761         Removed gnu/java/nio/natFileChannelImpl.cc and added
5762         java/nio/channels/natFileChannelImpl.cc.
5763         * Makefile.in: Regenerated.
5764
5765 2003-07-13  Michael Koch  <konqueror@gmx.de>
5766
5767         * javax/swing/plaf/basic/BasicBorders.java,
5768         javax/swing/plaf/basic/BasicLabelUI.java,
5769         javax/swing/plaf/basic/BasicLookAndFeel.java,
5770         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5771         javax/swing/plaf/basic/BasicTextUI.java,
5772         javax/swing/plaf/metal/MetalLookAndFeel.java:
5773         New versions from classpath.
5774
5775 2003-07-13  Michael Koch  <konqueror@gmx.de>
5776
5777         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
5778         * gnu/java/awt/peer/gtk/GdkGraphics.java
5779         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
5780         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
5781         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
5782         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
5783         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
5784         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
5785         * gnu/java/awt/peer/gtk/GtkClipboard.java
5786         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
5787         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
5788         * gnu/java/awt/peer/gtk/GtkFramePeer.java
5789         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
5790         * gnu/java/awt/peer/gtk/GtkImage.java
5791         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5792         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
5793         * gnu/java/awt/peer/gtk/GtkListPeer.java
5794         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
5795         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
5796         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5797         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
5798         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
5799         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
5800         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
5801         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
5802         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
5803         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
5804         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5805         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5806
5807 2003-07-13  Michael Koch  <konqueror@gmx.de>
5808
5809         * gnu/java/locale/LocaleInformation_de.java
5810         * gnu/java/locale/LocaleInformation_en.java
5811         * gnu/java/locale/LocaleInformation_nl.java
5812
5813 2003-07-13  Michael Koch  <konqueror@gmx.de>
5814
5815         * gnu/java/awt/EmbeddedWindow.java,
5816         gnu/java/awt/EmbeddedWindowSupport.java,
5817         gnu/java/awt/natEmbeddedWindow.cc:
5818         New files.
5819         * java/awt/Window.java
5820         (Window): New constructor to support embedded windows.
5821         * Makefile.am
5822         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
5823         gnu/java/awt/EmbeddedWindowSupport.java.
5824         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
5825         * Makefile.in: Regenerated.
5826
5827 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
5828
5829         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
5830         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
5831         * java/awt/im/InputContext.java: Remove a redundant
5832         partial line.
5833
5834 2003-07-09  Tom Tromey  <tromey@redhat.com>
5835
5836         * Makefile.in: Rebuilt.
5837         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
5838
5839 2003-07-09  Mark Wielaard  <mark@klomp.org>
5840
5841         * java/io/ObjectOutputStream.java (writeObject): break after
5842         calling writeClassDescriptor().
5843
5844 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
5845
5846         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
5847
5848 2003-07-09  Michael Koch  <konqueror@gmx.de>
5849
5850         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5851         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5852         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5853         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
5854         Explicitly import used classes.
5855         * java/awt/Container.java: New version from classpath.
5856
5857 2003-07-09  Michael Koch  <konqueror@gmx.de>
5858
5859         * libgcj.pc.in: New file.
5860         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
5861         * Makefile.in: Regenerated.
5862         * configure: Regenrated.
5863         * configure.in: Create libgcj.pc from libgcj.pc.in.
5864
5865 2003-07-08  Mark Wielaard <mark@klomp.org>
5866
5867         * gcj/cni.h: CNI now expands to Compiled Native Interface.
5868
5869         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
5870         * java/lang/fdlibm.h: Likewise.
5871
5872 2003-07-07  Adam Megacz <adam@xwt.org>
5873
5874         * posix.cc: added #include<stdio.h>
5875                 
5876 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
5877
5878         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
5879         formatting.
5880
5881         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5882         (setCaretPosition, setEditable): Rely entirely on native
5883         implementation.
5884         (getArgs): Remove.
5885         (postTextEvent): New method.
5886         (handleEvent): New method.
5887         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
5888         method.
5889         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
5890         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5891         (keysym_to_awt_keycode): Fix range checks.
5892         (generates_key_typed_event): New function.
5893         (awt_event_handler): Post AWT_KEY_RELEASED events to event
5894         queue.
5895         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5896         (gtkInit): Store TextComponent's postTextEvent method ID.
5897         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5898         (setText): Post TEXT_VALUE_CHANGED event to event queue.
5899
5900 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5901
5902         * configure.in: Check for usleep declaration.
5903         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
5904         * configure: Regenerate.
5905         * include/config.h.in: Likewise.
5906         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
5907
5908 2003-07-01  Michael Koch  <konqueror@gmx.de>
5909
5910         * gnu/gcj/convert/natIconv.cc
5911         (iconv_init): Fixed possible memory leak by releasing allocated iconv
5912         handle.
5913
5914 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
5915
5916         * glib-2.0.m4: New file.
5917         * gtk-2.0.m4: New file.
5918         * glib.m4: Remove.
5919         * gtk.m4: Remove.
5920         * configure.in: Update AM_PATH_GTK macro call to
5921         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
5922         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5923         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5924         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5925         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5926         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5927         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5928         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5929         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5930         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5931         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5932         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5933         jni/gtk-peer/gthread-jni.c,
5934         jni/gtk-peer/gthread-jni.h:
5935         New versions from classpath.
5936         * aclocal.m4: Regenerate.
5937         * configure: Regenerate.
5938         * Makefile.in: Regenerate.
5939         * gcj/Makefile.in: Regenerate.
5940         * include/Makefile.in: Regenerate.
5941         * testsuite/Makefile.in: Regenerate.
5942
5943 2003-06-30  Gary Benson  <gbenson@redhat.com>
5944
5945         For PR libgcj/11349:
5946         * javax/naming/spi/NamingManager.java (getURLContext): Use
5947         correct name for factory class.
5948
5949 2003-06-28  Michael Koch  <konqueror@gmx.de>
5950
5951         * java/io/PrintStream.java
5952         (checkError): Call flush() instead of direct flushing of the Writer
5953         object.
5954         (print): Call print(String) instead of direct print method of the
5955         Writer Object.
5956         (println): Call println(String) instead of direct println method of the
5957         Writer Object.
5958         (write): Simplified.
5959
5960 2003-06-28  Michael Koch  <konqueror@gmx.de>
5961
5962         * java/net/ServerSocket.java
5963         (setChannel): New method.
5964         * java/net/Socket.java
5965         (setChannel): New method.
5966
5967 2003-06-27  Michael Koch  <konqueror@gmx.de>
5968
5969         * java/beans/beancontext/BeanContextSupport.java:
5970         New version from classpath.
5971
5972 2003-06-27  Michael Koch  <konqueror@gmx.de>
5973
5974         * java/awt/Window.java,
5975         java/awt/font/GraphicAttribute.java,
5976         java/awt/font/ImageGraphicAttribute.java,
5977         java/awt/image/DataBufferByte.java,
5978         java/awt/image/DataBufferInt.java,
5979         java/awt/image/DataBufferUShort.java,
5980         java/awt/image/DirectColorModel.java,
5981         java/awt/image/PixelGrabber.java:
5982         New versions from classpath.
5983
5984 2003-06-27  Michael Koch  <konqueror@gmx.de>
5985
5986         * java/security/Certificate.java
5987         (getGuarantor): Removed wrong @deprecated tag.
5988         (getPrincipal): Likewise.
5989         (getPublicKey): Likewise.
5990         (encode): Likewise.
5991         (decode): Likewise.
5992         (getFormat): Likewise.
5993         (toString): Likewise.
5994         * java/security/cert/PolicyQualifierInfo.java
5995         (PolicyQualifierInfo): Made final.
5996         * javax/security/auth/x500/X500Principal.java
5997         (serialVersionUID): New member variable.
5998
5999 2003-06-27  Michael Koch  <konqueror@gmx.de>
6000
6001         * java/text/Format.java
6002         (serialVersionUID): Fixed value.
6003
6004 2003-06-27  Michael Koch  <konqueror@gmx.de>
6005
6006         * java/net/Inet4Address.java
6007         (Inet4Address): Made package-private.
6008         * java/net/Inet6Address.java
6009         (Inet4Address): Made package-private.
6010
6011 2003-06-27  Michael Koch  <konqueror@gmx.de>
6012
6013         * java/io/RandomAccessFile.java
6014         (readLine): Removed wrong @deprecated tag.
6015         (getChannel): Made final.
6016
6017 2003-06-27  Michael Koch  <konqueror@gmx.de>
6018
6019         * gnu/java/nio/FileChannelImpl.java
6020         (write): Removed.
6021
6022 2003-06-27  Michael Koch  <konqueror@gmx.de>
6023
6024         * java/nio/ByteBufferImpl.java
6025         (ByteBufferImpl): Made it a package-private class
6026         * java/nio/CharBufferImpl.java
6027         (CharBufferImpl): Made it a package-private class
6028         * java/nio/DirectByteBufferImpl.java
6029         (DirectByteBufferImpl): Made it a package-private class
6030         * java/nio/DoubleBufferImpl.java
6031         (DoubleBufferImpl): Made it a package-private class
6032         * java/nio/FloatBufferImpl.java
6033         (FloatBufferImpl): Made it a package-private class
6034         * java/nio/IntBufferImpl.java
6035         (IntBufferImpl): Made it a package-private class
6036         * java/nio/LongBufferImpl.java
6037         (LongBufferImpl): Made it a package-private class
6038         * java/nio/ShortBufferImpl.java
6039         (ShortBufferImpl): Made it a package-private class
6040         * java/nio/channels/FileChannel.java
6041         (write): Made final.
6042         * java/nio/channels/ServerSocketChannel.java
6043         (ServerSocketChanne): Made protected.
6044
6045 2003-06-27  Michael Koch  <konqueror@gmx.de>
6046
6047         * javax/naming/CompositeName.java
6048         (serialVersionUID): New member variable.
6049         * javax/naming/CompoundName.java
6050         (serialVersionUID): New member variable.
6051         * javax/naming/InitialContext.java
6052         (InitialContext): Throws NamingException.
6053         (init): Likewise.
6054         * javax/naming/LinkRef.java
6055         (serialVersionUID): New member variable.
6056         (gteLinkName): Throws NamingException.
6057         * javax/naming/NamingException.java
6058         (serialVersionUID): New member variable.
6059         * javax/naming/NamingSecurityException.java
6060         (NamingSecurityException): Made abstract.
6061         (serialVersionUID): New member variable.
6062         * javax/naming/ReferralException.java
6063         (serialVersionUID): New member variable.
6064         * javax/naming/StringRefAddr.java
6065         (serialVersionUID): New member variable.
6066         * javax/naming/directory/BasicAttribute.java:
6067         Reworked imports.
6068         (serialVersionUID): New member variable.
6069         (get): Throws NamingException.
6070         (getAll): Throws NamingException.
6071         * javax/naming/directory/BasicAttributes.java:
6072         Reworked imports.
6073         (serialVersionUID): New member variable.
6074         * javax/naming/ldap/UnsolicitedNotificationEvent.java
6075         (serialVersionUID): New member variable.
6076
6077 2003-06-27  Michael Koch  <konqueror@gmx.de>
6078
6079         * Makefile.am
6080         (awt_java_source_files): Added new files:
6081         javax/swing/Popup.java,
6082         javax/swing/PopupFactory.java
6083         * Makefile.in: Regenerated.
6084
6085 2003-06-27  Michael Koch  <konqueror@gmx.de>
6086
6087         * javax/swing/JWindow.java,
6088         javax/swing/event/AncestorEvent.java,
6089         javax/swing/event/HyperlinkEvent.java,
6090         javax/swing/event/InternalFrameEvent.java,
6091         javax/swing/event/ListDataEvent.java,
6092         javax/swing/event/TableModelEvent.java,
6093         javax/swing/plaf/PopupMenuUI.java,
6094         javax/swing/plaf/SplitPaneUI.java,
6095         javax/swing/plaf/TabbedPaneUI.java,
6096         javax/swing/plaf/TextUI.java,
6097         javax/swing/plaf/TreeUI.java,
6098         javax/swing/plaf/basic/BasicTextUI.java,
6099         javax/swing/plaf/basic/BasicTreeUI.java:
6100         New versions from classpath.
6101         * javax/swing/Popup.java,
6102         javax/swing/PopupFactory.jav:
6103         New source files from classpath.
6104         * javax/swing/plaf/doc-files/TreeUI-1.png:
6105         New binary files from classpath.
6106
6107 2003-06-25  Michael Koch  <konqueror@gmx.de>
6108
6109         * Makefile.am
6110         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
6111         * Makefile.in: Regenerated.
6112
6113 2003-06-25  Michael Koch  <konqueror@gmx.de>
6114
6115         * javax/swing/plaf/ActionMapUIResource.java,
6116         javax/swing/plaf/BorderUIResource.java,
6117         javax/swing/plaf/ButtonUI.java,
6118         javax/swing/plaf/ColorChooserUI.java,
6119         javax/swing/plaf/ColorUIResource.java,
6120         javax/swing/plaf/ComboBoxUI.java,
6121         javax/swing/plaf/ComponentInputMapUIResource.java,
6122         javax/swing/plaf/ComponentUI.java,
6123         javax/swing/plaf/DesktopIconUI.java,
6124         javax/swing/plaf/DesktopPaneUI.java,
6125         javax/swing/plaf/DimensionUIResource.java,
6126         javax/swing/plaf/FileChooserUI.java,
6127         javax/swing/plaf/FontUIResource.java,
6128         javax/swing/plaf/IconUIResource.java,
6129         javax/swing/plaf/InputMapUIResource.java,
6130         javax/swing/plaf/InsetsUIResource.java,
6131         javax/swing/plaf/InternalFrameUI.java,
6132         javax/swing/plaf/LabelUI.java,
6133         javax/swing/plaf/ListUI.java,
6134         javax/swing/plaf/MenuBarUI.java,
6135         javax/swing/plaf/MenuItemUI.java,
6136         javax/swing/plaf/OptionPaneUI.java,
6137         javax/swing/plaf/PanelUI.java,
6138         javax/swing/plaf/ProgressBarUI.java,
6139         javax/swing/plaf/RootPaneUI.java,
6140         javax/swing/plaf/ScrollBarUI.java,
6141         javax/swing/plaf/ScrollPaneUI.java,
6142         javax/swing/plaf/SeparatorUI.java,
6143         javax/swing/plaf/SliderUI.java,
6144         javax/swing/plaf/TableHeaderUI.java,
6145         javax/swing/plaf/TableUI.java,
6146         javax/swing/plaf/ToolBarUI.java,
6147         javax/swing/plaf/ToolTipUI.java,
6148         javax/swing/plaf/ViewportUI.java:
6149         New versions from classpath.
6150         * javax/swing/plaf/SpinnerUI.java: 
6151         New file from classpath
6152
6153 2003-06-25  Michael Koch  <konqueror@gmx.de>
6154
6155         * java/awt/image/ColorModel.java:
6156         New version from classpath.
6157
6158 2003-06-25  Michael Koch  <konqueror@gmx.de>
6159
6160         * java/net/PlainDatagramSocketImpl.java:
6161         Partly merged with classpath, this mainly adds documentation.
6162
6163 2003-06-25  Michael Koch  <konqueror@gmx.de>
6164
6165         * java/io/ObjectInputStream.java
6166         (readClassDescriptor): New method.
6167         (readObject): Moved functionality to readClassDescriptor().
6168         * java/io/ObjectOutputStream.java
6169         (writeClassDescriptor): New method.
6170         (writeObject): Moved functionality to writeClassDescriptor().
6171
6172 2003-06-25  Michael Koch  <konqueror@gmx.de>
6173
6174         * javax/swing/plaf/basic/BasicListUI.java,
6175         javax/swing/plaf/basic/BasicOptionPaneUI.java:
6176         Added missing methods.
6177
6178 2003-06-25  Michael Koch  <konqueror@gmx.de>
6179
6180         * javax/swing/event/AncestorEvent.java
6181         javax/swing/event/HyperlinkEvent.java
6182         javax/swing/event/InternalFrameEvent.java
6183         javax/swing/event/ListDataEvent.java
6184         javax/swing/event/TableModelEvent.java:
6185         Compile fixes.
6186
6187 2003-06-24  Michael Koch  <konqueror@gmx.de>
6188
6189         * java/net/URL.java:
6190         Renamed "handler" to "ph" in the whole file to match classpaths
6191         version.
6192         * java/net/URLStreamHandler.java:
6193         (equals): Renamed "handler" to "ph".
6194
6195 2003-06-24  Michael Koch  <konqueror@gmx.de>
6196
6197         * javax/swing/event/AncestorEvent.java,
6198         javax/swing/event/HyperlinkEvent.java,
6199         javax/swing/event/InternalFrameEvent.java,
6200         javax/swing/event/ListDataEvent.java,
6201         javax/swing/event/TableModelEvent.java,
6202         javax/swing/event/TreeWillExpandListener.java,
6203         javax/swing/plaf/ComponentUI.java,
6204         javax/swing/plaf/DesktopIconUI.java,
6205         javax/swing/plaf/DesktopPaneUI.java,
6206         javax/swing/plaf/DimensionUIResource.java,
6207         javax/swing/plaf/FileChooserUI.java,
6208         javax/swing/plaf/FontUIResource.java,
6209         javax/swing/plaf/IconUIResource.java,
6210         javax/swing/plaf/InputMapUIResource.java,
6211         javax/swing/plaf/InsetsUIResource.java,
6212         javax/swing/plaf/InternalFrameUI.java,
6213         javax/swing/plaf/LabelUI.java,
6214         javax/swing/plaf/ListUI.java,
6215         javax/swing/plaf/MenuBarUI.java,
6216         javax/swing/plaf/MenuItemUI.java,
6217         javax/swing/plaf/OptionPaneUI.java,
6218         javax/swing/plaf/PanelUI.java,
6219         javax/swing/plaf/ProgressBarUI.java,
6220         javax/swing/plaf/doc-files/ComponentUI-1.dia,
6221         javax/swing/plaf/doc-files/ComponentUI-1.png:
6222         New versions from classpath.
6223
6224 2003-06-24  Michael Koch  <konqueror@gmx.de>
6225
6226         * java/nio/Buffer.java
6227         (cap): Made package-private.
6228         (pos): Likewise.
6229         (limit): Likewise.
6230         (mark): Likewise.
6231
6232 2003-06-24  Michael Koch  <konqueror@gmx.de>
6233
6234         * java/net/SocketImpl.java
6235         (shutdownInput): Made it non-abstract method throwing an exception
6236         like in SUNs JRE.
6237         (shutdownOutput): Likewise.
6238         * java/net/SocketInputStream.java,
6239         java/net/SocketOutputStream.java:
6240         New files from classpath.
6241
6242 2003-06-24  Michael Koch  <konqueror@gmx.de>
6243
6244         * java/awt/Font.java,
6245         java/awt/Window.java,
6246         java/awt/color/ColorSpace.java,
6247         java/awt/datatransfer/StringSelection.java,
6248         java/awt/image/ColorModel.java:
6249         New versions from classpath.
6250
6251 2003-06-24  Michael Koch  <konqueror@gmx.de>
6252
6253         * Makefile.am
6254         (awt_java_source_files): Added new files:
6255         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
6256         javax/swing/plaf/basic/BasicSplitPaneUI.java
6257         * Makefile.in: Regenerated.
6258
6259 2003-06-24  Michael Koch  <konqueror@gmx.de>
6260
6261         * javax/swing/text/JTextComponent.java:
6262         New version from classpath.
6263
6264 2003-06-24  Michael Koch  <konqueror@gmx.de>
6265
6266         * javax/swing/Timer.java,
6267         javax/swing/plaf/ActionMapUIResource.java,
6268         javax/swing/plaf/ButtonUI.java,
6269         javax/swing/plaf/ColorChooserUI.java,
6270         javax/swing/plaf/ColorUIResource.java,
6271         javax/swing/plaf/ComboBoxUI.java,
6272         javax/swing/plaf/ComponentInputMapUIResource.java,
6273         javax/swing/plaf/basic/BasicBorders.java:
6274         New versions from classpath.
6275         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
6276         javax/swing/plaf/basic/BasicSplitPaneUI.java:
6277         New file from classpath.
6278         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
6279         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
6280         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
6281         javax/swing/plaf/doc-files/ComponentUI-1.dia,
6282         javax/swing/plaf/doc-files/ComponentUI-1.png:
6283         New binary files from classpath.
6284
6285 2003-06-24  Michael Koch  <konqueror@gmx.de>
6286
6287         * java/io/LineNumberReader.java
6288         (skip): Dont do line number accounting here as this is already done in
6289         read(), simplified.
6290
6291 2003-06-21  Michael Koch  <konqueror@gmx.de>
6292
6293         * java/io/File.java
6294         (static): Load javaio lib if existing (only in classpath).
6295         (File): Revised documentation to show the correct argument name.
6296         (createTempFile): Partly merged with classpath.
6297         (compareTo): Simplified.
6298         (lastModified): Throw exception if time < 0.
6299         (deleteOnExit): Revised documentation.
6300
6301 2003-06-21  Michael Koch  <konqueror@gmx.de>
6302
6303         * java/net/PlainSocketImpl.java:
6304         Reformatted.
6305         (PlainSocketImpl): Merged class documentaion with classpath.
6306         (in): Moved.
6307         (out): Moved.
6308         (PlainSocketImpl): New empty constructor.
6309         (finalize): Moved.
6310         (setOption): Merged documentation from classpath.
6311         (getOption): Likewise.
6312         (create): Likewise.
6313         (connect): Likewise.
6314         (bind): Likewise.
6315         (listen): Likewise.
6316         (accept): Likewise.
6317         (available): Likewise.
6318         (close): Likewise.
6319         (read): Likewise.
6320         (write): Likewise.
6321         (getInputStream): Made synchronozed to get sure that only one stream
6322         object can be created for this socket, merged documentation from
6323         classpath.
6324         (getOutputStream): Likewise.
6325
6326 2003-06-21  Michael Koch  <konqueror@gmx.de>
6327
6328         * java/net/PlainSocketImpl.java:
6329         Reformatting.
6330         (static): New implicit method.
6331         (read): Made package private.
6332         (write): Likewise.
6333
6334 2003-06-21  Michael Koch  <konqueror@gmx.de>
6335
6336         * java/util/SimpleTimeZone.java:
6337         Removed unneeded import, reformatting.
6338
6339 2003-06-21  Michael Koch  <konqueror@gmx.de>
6340
6341         * java/text/DateFormat.java,
6342         java/text/SimpleDateFormat.java,
6343         java/util/Locale.java:
6344         New versions from classpath.
6345
6346 2003-06-21  Michael Koch  <konqueror@gmx.de>
6347
6348         * javax/swing/SpinnerModel.java:
6349         New file from classpath.
6350         * javax/swing/border/LineBorder.java,
6351         javax/swing/border/SoftBevelBorder.java,
6352         javax/swing/plaf/BorderUIResource.java,
6353         javax/swing/plaf/basic/BasicBorders.java:
6354         New versions from classpath.
6355         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
6356         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
6357         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
6358         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
6359         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
6360         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
6361         New binary files from classpath.
6362
6363 2003-06-21  Michael Koch  <konqueror@gmx.de>
6364
6365         * java/util/logging/LogRecord.java,
6366         java/util/logging/Logger.java,
6367         java/util/logging/SocketHandler.java,
6368         java/util/logging/SimpleFormatter.java,
6369         java/util/logging/Formatter.java,
6370         java/util/logging/ErrorManager.java,
6371         java/util/logging/Handler.java,
6372         java/util/logging/FileHandler.java,
6373         java/util/logging/LogManager.java,
6374         java/util/logging/Level.java,
6375         java/util/logging/ConsoleHandler.java,
6376         java/util/logging/StreamHandler.java,
6377         java/util/logging/LoggingPermission.java,
6378         java/util/logging/Filter.java,
6379         java/util/logging/MemoryHandler.java,
6380         java/util/logging/XMLFormatter.java:
6381         New files from classpath.
6382
6383 2003-06-20  Michael Koch  <konqueror@gmx.de>
6384
6385         * java/io/ObjectStreamField.java
6386         (unshared): new member variable.
6387         (ObjectStreamField): New constructor.
6388         (isUnshared): New method.
6389
6390 2003-06-20  Michael Koch  <konqueror@gmx.de>
6391
6392         * java/net/URLStreamHandler.java
6393         (hostsEqual): Rewritten.
6394
6395 2003-06-20  Michael Koch  <konqueror@gmx.de>
6396
6397         * gnu/java/nio/MappedByteFileBuffer.java,
6398         gnu/java/nio/natMappedByteFileBuffer.cc:
6399         Removed
6400         * java/nio/MappedByteBufferImpl.java:
6401         New file.
6402         * gnu/java/nio/FileChannelImpl.java:
6403         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
6404         * Makefile.am
6405         (ordinary_java_source_files): Removed
6406         gnu/java/nio/MappedByteFileBuffer.java and added
6407         java/nio/MappedByteBufferImpl.java.
6408         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
6409         * Makefile.in: Regenerated.
6410
6411 2003-06-19  Michael Koch  <konqueror@gmx.de>
6412
6413         * gnu/java/nio/DatagramChannelImpl.java
6414         (fd): Removed.
6415         (blocking): New member variable.
6416         (socket): Likewise.
6417         (DatagramChannelImpl): Throws IOException, initialize socket.
6418         (socket):Implemented.
6419         (implCloseSelectableChannel): Throws IOException, implemented.
6420         (implConfigureBlocking): Likewise.
6421         (connect): Likewise.
6422         (disconnect): Likewise.
6423         (isConnected): Likewise.
6424         (write): Likewise.
6425         (read): Likewise.
6426         (receive): Throws IOException.
6427         (send): Likewise.
6428         * gnu/java/nio/SocketChannelImpl.java
6429         (read): Implemented.
6430         (write): Implemented.
6431
6432 2003-06-19  Michael Koch  <konqueror@gmx.de>
6433
6434         * javax/swing/JComponent.java,
6435         javax/swing/JInternalFrame.java,
6436         javax/swing/MenuSelectionManager.java,
6437         javax/swing/SwingUtilities.java,
6438         javax/swing/ToggleButtonModel.java:
6439         New versions from classpath.
6440
6441 2003-06-19  Michael Koch  <konqueror@gmx.de>
6442
6443         * java/text/CollationElementIterator.java
6444         (NULLORDER): Initialize with -1 as JDK documentation says.
6445
6446 2003-06-19  Michael Koch  <konqueror@gmx.de>
6447
6448         * java/net/HttpURLConnection.java,
6449         java/net/Inet4Address.java,
6450         java/net/Inet6Address.java,
6451         java/net/SocketImpl.java,
6452         java/net/URLClassLoader.java:
6453         Reworked import statements.
6454         * java/net/InetAddress.java
6455         (getByAddress): Simplified.
6456         * java/net/ServerSocket.java
6457         (ServerSocket): Moved special handling during bind operation to
6458         bind().
6459         (bind): Handle different cases when trying to bind a socket.
6460         * java/net/URLConnection.java
6461         (getHeaderFieldDate): Merged with classpath.
6462         (getHeaderFieldInt): Likewise.
6463
6464 2003-06-19  Michael Koch  <konqueror@gmx.de>
6465
6466         * java/util/zip/InflaterInputStream.java
6467         (InflaterInputStream): Throw NullPointerException if in is null (as
6468         JDK does).
6469
6470 2003-06-19  Michael Koch  <konqueror@gmx.de>
6471
6472         * java/awt/Font.java
6473         javax/swing/UIManager.java
6474         javax/swing/border/AbstractBorder.java
6475         javax/swing/border/BevelBorder.java
6476         javax/swing/border/Border.java
6477         javax/swing/border/CompoundBorder.java
6478         javax/swing/border/EmptyBorder.java
6479         javax/swing/border/EtchedBorder.java
6480         javax/swing/border/LineBorder.java
6481         javax/swing/border/MatteBorder.java
6482         javax/swing/border/TitledBorder.java
6483         javax/swing/plaf/BorderUIResource.java
6484         javax/swing/plaf/basic/BasicBorders.java
6485         javax/swing/plaf/basic/BasicButtonUI.java
6486         javax/swing/plaf/basic/BasicCheckBoxUI.java
6487         javax/swing/plaf/basic/BasicGraphicsUtils.java
6488         javax/swing/plaf/basic/BasicLabelUI.java
6489         javax/swing/plaf/basic/BasicRadioButtonUI.java
6490         javax/swing/plaf/basic/BasicToggleButtonUI.java:
6491         New versions from classpath.
6492         * javax/swing/border/SoftBevelBorder.java:
6493         New file from classpath.
6494         * javax/swing/border/doc-files/LineBorder-1.png,
6495         javax/swing/border/doc-files/BevelBorder-1.png,
6496         javax/swing/border/doc-files/BevelBorder-2.png,
6497         javax/swing/border/doc-files/BevelBorder-3.png,
6498         javax/swing/border/doc-files/EmptyBorder-1.png,
6499         javax/swing/border/doc-files/EtchedBorder-1.png,
6500         javax/swing/border/doc-files/EtchedBorder-2.png,
6501         javax/swing/border/doc-files/MatteBorder-1.png,
6502         javax/swing/border/doc-files/MatteBorder-2.png,
6503         javax/swing/border/doc-files/MatteBorder-3.png,
6504         javax/swing/border/doc-files/MatteBorder-4.png,
6505         javax/swing/border/doc-files/MatteBorder-5.png,
6506         javax/swing/border/doc-files/MatteBorder-6.png,
6507         javax/swing/border/doc-files/SoftBevelBorder-1.png,
6508         javax/swing/border/doc-files/SoftBevelBorder-2.png,
6509         javax/swing/border/doc-files/SoftBevelBorder-3.png,
6510         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
6511         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
6512         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
6513         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
6514         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
6515         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
6516         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
6517         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
6518         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
6519         New binary files from classpath.
6520         * Makefile.am
6521         (awt_java_source_files): Added
6522         javax/swing/border/SoftBevelBorder.java.
6523         * Makefile.in: Regenerated.
6524
6525 2003-06-19  Michael Koch  <konqueror@gmx.de>
6526
6527         * gnu/java/security/x509/X509Certificate.java
6528         (writeReplace): Merged from classpath.
6529
6530 2003-06-19  Michael Koch  <konqueror@gmx.de>
6531
6532         * gnu/java/nio/FileChannelImpl.java
6533         (map_address): Made public.
6534         (FileChannelImpl): Merged with classpath.
6535         * gnu/java/nio/natFileChannelImpl.cc
6536         (nio_mmap_file): Commented out unused arguments.
6537         (nio_unmmap_file): Likewise.
6538         (niu_msync): Likewise.
6539
6540 2003-06-19  Michael Koch  <konqueror@gmx.de>
6541
6542         * java/awt/image/IndexColorModel.java:
6543         New version from classpath.
6544
6545 2003-06-18  Tom Tromey  <tromey@redhat.com>
6546
6547         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
6548         on arrays.
6549         (isLoopbackAddress): Likewise.
6550         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
6551         on arrays.
6552
6553 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
6554
6555         * java/lang/natVMSecurityManager.cc (getClassContext):
6556         Use maxlen instead of len for loop bound.
6557
6558 2003-06-18  Michael Koch  <konqueror@gmx.de>
6559
6560         * gnu/java/nio/SelectorImpl.java
6561         (register): Use fd with value 0 for now, will be fixed later.
6562         * gnu/java/nio/ServerSocketChannelImpl.java
6563         (fd): Removed.
6564         (local_port): Removed.
6565         (InetSocketAddress): Removed.
6566         (ServerSocketChannelImpl): Just initialize internal socket object.
6567         (implCloseSelectableChannel): Close internal socket object.
6568         (implConfigureBlocking): Added comment.
6569         (accept): Use jaba.net stuff to accept socket.
6570         * gnu/java/nio/SocketChannelImpl.java
6571         (fd): Removed.
6572         (local_port): Removed.
6573         (InetSocketAddress): Removed.
6574         (SocketCreate): Removed.
6575         (SocketConnect): Removed.
6576         (SocketBind): Removed.
6577         (SocketListen): Removed.
6578         (SocketAvailable): Removed.
6579         (SocketClose): Removed.
6580         (SocketRead): Removed.
6581         (SocketWrite): Removed.
6582         (SocketChannelImpl): Just initialize internal socket object.
6583         (implCloseSelectableChannel): Close internal socket object.
6584         (implConfigureBlocking): Fixed implementation, added comment.
6585         (connect): Use internal socket object to connect.
6586         (socket): No need for sanity checks.
6587         (read): Comment out some stuff, this will be reimplemented in the next
6588         commit.
6589         (write): Likewise.
6590         * gnu/java/nio/natFileChannelImpl.cc
6591         (nio_mmap_file): Line wrapped.
6592         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
6593         * Makefile.am
6594         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
6595         * Makefile.in: Regenerated.
6596
6597 2003-06-18  Michael Koch  <konqueror@gmx.de>
6598
6599         * java/util/Locale.java
6600         (equals): Merged from classpath.
6601
6602 2003-06-18  Michael Koch  <konqueror@gmx.de>
6603
6604         * java/net/InetAddress.java:
6605         Reformatted to better match classpath's version.
6606         * java/net/URL.java
6607         (equals): Simplified.
6608         * java/net/URLConnection.java
6609         (setDoInput): Revised documentation.
6610         (getDefaultUseCaches): Likewise.
6611         (setRequestProperty): Added @since tag.
6612
6613 2003-06-17  Michael Koch  <konqueror@gmx.de>
6614
6615         * java/net/InetSocketAddress.java
6616         (InetSocketAddress): Use wildcard address if addr is null.
6617         (InetSocketAddress): Dont duplicate implementation.
6618         (InetSocketAddress): Throw exception when hostname is null.
6619         * java/net/Socket.java:
6620         Reworked imports.
6621         (Socket): Throw exception when raddr is null, handle case when laddr
6622         is null.
6623
6624 2003-06-17  Michael Koch  <konqueror@gmx.de>
6625
6626         * java/nio/DirectByteBufferImpl.java
6627         (address): Made package private.
6628         (DirectByteBufferImpl): New constructor.
6629         * java/nio/natDirectByteBufferImpl.cc
6630         (allocateImpl): Moved to java.nio namespace, implemented.
6631         (freeImpl): Likewise.
6632         (getImpl): Likewise.
6633         (putImpl): Likewise.
6634         * jni.cc
6635         (_Jv_JNI_NewDirectByteBuffer): Implemented.
6636         (_Jv_JNI_GetDirectBufferAddress): Implemented.
6637         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
6638
6639 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6640
6641         * include/powerpc-signal.h: New File.
6642         * configure.in: Use it.
6643         * configure: Regenerated.
6644
6645 2003-06-17  Michael Koch  <konqueror@gmx.de>
6646
6647         * java/util/Locale.java
6648         (getDisplayLanguage): Made it final.
6649         (getDisplayCountry): Likewise.
6650         (getDisplayVariant): Likewise.
6651         (getDisplayName): Likewise.
6652
6653 2003-06-17  Michael Koch  <konqueror@gmx.de>
6654
6655         * java/util/PropertyResourceBundle.java:
6656         Removed unneeded import.
6657
6658 2003-06-17  Michael Koch  <konqueror@gmx.de>
6659
6660         * java/util/prefs/AbstractPreferences.java,
6661         java/util/prefs/PreferencesFactory.java:
6662         Reworked imports, removed unused imports.
6663         * java/util/prefs/Preferences.java
6664         (systemNodeForPackage): Method takes a Class not an Object.
6665         (userNodeForPackage): Likewise.
6666         (nodeForPackage): Likewise.
6667
6668 2003-06-17  Michael Koch  <konqueror@gmx.de>
6669
6670         * gnu/java/security/x509/X509Certificate.java:
6671         Explicitely import used classes.
6672
6673 2003-06-17  Michael Koch  <konqueror@gmx.de>
6674
6675         * java/util/zip/ZipEntry.java,
6676         java/util/zip/ZipFile.java,
6677         java/util/zip/ZipInputStream.java,
6678         java/util/zip/ZipOutputStream.java:
6679         Reworked imports, only import used classes.
6680
6681 2003-06-17  Michael Koch  <konqueror@gmx.de>
6682
6683         * gnu/java/lang/ArrayHelper.java,
6684         gnu/java/lang/ClassHelper.java:
6685         Reformatted to match classpath's versions.
6686
6687 2003-06-14  Michael Koch  <konqueror@gmx.de>
6688
6689         * gnu/java/nio/FileChannelImpl.java
6690         (map_address): Removed incorrect comment.        
6691         * gnu/java/nio/SelectorImpl.java
6692         (register): Remove code duplication and code for file channel handling.        
6693         * gnu/java/nio/ServerSocketChannelImpl.java
6694         (serverSocket): Renamed from sock_object.
6695         (ServerSocketChannel): Initialize serverSocket.
6696         (socket): Return serverSocket.
6697         * gnu/java/nio/SocketChannelImpl.java
6698         (socket): Renamed from sock_object.
6699         (isConnectionPenging): Simplified.
6700         (socket): Return socket.
6701 2003-06-14  Michael Koch  <konqueror@gmx.de>
6702
6703         * java/security/BasicPermission.java:
6704         New version from classpath.
6705
6706 2003-06-14  Michael Koch  <konqueror@gmx.de>
6707
6708         * javax/naming/directory/Attribute.java:
6709         New version from classpath.
6710
6711 2003-06-14  Michael Koch  <konqueror@gmx.de>
6712
6713         * java/io/BufferedReader.java,
6714         java/io/FileOutputStream.java:
6715         New versions from classpath.
6716
6717 2003-06-12  Andrew Haley  <aph@redhat.com>
6718
6719         * prims.cc (catch_segv): Create exception in handler.
6720         (catch_fpe): Likewise.  
6721         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
6722         (_Jv_ThrowSignal): Remove.
6723
6724         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
6725         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
6726         to nullp and arithexception.
6727         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6728         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6729         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6730         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6731         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6732
6733 2003-06-11  Andrew Haley  <aph@redhat.com>
6734
6735         * jni.cc (_Jv_JNI_check_types): New.
6736         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
6737         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
6738         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
6739         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
6740         
6741         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
6742         infinite loop.
6743
6744 2003-06-11  Tom Tromey  <tromey@redhat.com>
6745
6746         * java/lang/ClassLoader.java (loadClass): Not deprecated.
6747         * java/io/PrintStream.java: Not deprecated.
6748
6749 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
6750
6751         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
6752         (fillOval): implemented
6753         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
6754         (fillArc): implemented.
6755         * gnu/gcj/xlib/GC.java (drawArc): added native method.
6756         (fillArc): added native method.
6757         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
6758         (fillArc): added native method.
6759
6760 2003-06-11  Michael Koch  <konqueror@gmx.de>
6761
6762         * java/awt/im/InputSubset.java:
6763         New version from classpath.
6764
6765 2003-06-11  Michael Koch  <konqueror@gmx.de>
6766
6767         * javax/swing/AbstractAction.java,
6768         javax/swing/AbstractButton.java,
6769         javax/swing/AbstractCellEditor.java,
6770         javax/swing/AbstractListModel.java,
6771         javax/swing/BorderFactory.java,
6772         javax/swing/Box.java,
6773         javax/swing/BoxLayout.java,
6774         javax/swing/ButtonGroup.java,
6775         javax/swing/DefaultButtonModel.java,
6776         javax/swing/DefaultListModel.java,
6777         javax/swing/DefaultListSelectionModel.java,
6778         javax/swing/FocusManager.java,
6779         javax/swing/ImageIcon.java,
6780         javax/swing/InputMap.java,
6781         javax/swing/JApplet.java,
6782         javax/swing/JButton.java,
6783         javax/swing/JCheckBox.java,
6784         javax/swing/JCheckBoxMenuItem.java,
6785         javax/swing/JColorChooser.java,
6786         javax/swing/JComboBox.java,
6787         javax/swing/JComponent.java,
6788         javax/swing/JDesktopPane.java,
6789         javax/swing/JDialog.java,
6790         javax/swing/JEditorPane.java,
6791         javax/swing/JFileChooser.java,
6792         javax/swing/JFormattedTextField.java,
6793         javax/swing/JFrame.java,
6794         javax/swing/JLabel.java,
6795         javax/swing/JLayeredPane.java,
6796         javax/swing/JList.java,
6797         javax/swing/JMenuBar.java,
6798         javax/swing/JMenuItem.java,
6799         javax/swing/JOptionPane.java,
6800         javax/swing/JPanel.java,
6801         javax/swing/JPasswordField.java,
6802         javax/swing/JPopupMenu.java,
6803         javax/swing/JProgressBar.java,
6804         javax/swing/JRadioButton.java,
6805         javax/swing/JRadioButtonMenuItem.java,
6806         javax/swing/JRootPane.java,
6807         javax/swing/JScrollBar.java,
6808         javax/swing/JScrollPane.java,
6809         javax/swing/JSeparator.java,
6810         javax/swing/JSlider.java,
6811         javax/swing/JTabbedPane.java,
6812         javax/swing/JTable.java,
6813         javax/swing/JTextField.java,
6814         javax/swing/JToggleButton.java,
6815         javax/swing/JToolBar.java,
6816         javax/swing/JToolTip.java,
6817         javax/swing/JTree.java,
6818         javax/swing/JViewport.java,
6819         javax/swing/JWindow.java,
6820         javax/swing/KeyStroke.java,
6821         javax/swing/ListSelectionModel.java,
6822         javax/swing/LookAndFeel.java,
6823         javax/swing/RepaintManager.java,
6824         javax/swing/ScrollPaneLayout.java,
6825         javax/swing/SizeRequirements.java,
6826         javax/swing/SwingConstants.java,
6827         javax/swing/Timer.java,
6828         javax/swing/UIDefaults.java,
6829         javax/swing/UIManager.java,
6830         javax/swing/border/AbstractBorder.java,
6831         javax/swing/border/CompoundBorder.java,
6832         javax/swing/colorchooser/AbstractColorChooserPanel.java,
6833         javax/swing/colorchooser/ColorChooserComponentFactory.java,
6834         javax/swing/colorchooser/ColorSelectionModel.java,
6835         javax/swing/colorchooser/DefaultColorSelectionModel.java,
6836         javax/swing/event/AncestorEvent.java,
6837         javax/swing/event/HyperlinkEvent.java,
6838         javax/swing/event/InternalFrameAdapter.java,
6839         javax/swing/event/InternalFrameEvent.java,
6840         javax/swing/event/ListDataEvent.java,
6841         javax/swing/event/MouseInputAdapter.java,
6842         javax/swing/event/SwingPropertyChangeSupport.java,
6843         javax/swing/event/TableModelEvent.java,
6844         javax/swing/event/TreeWillExpandListener.java,
6845         javax/swing/event/UndoableEditEvent.java,
6846         javax/swing/filechooser/FileFilter.java,
6847         javax/swing/filechooser/FileSystemView.java,
6848         javax/swing/filechooser/FileView.java,
6849         javax/swing/plaf/BorderUIResource.java,
6850         javax/swing/plaf/basic/BasicDefaults.java,
6851         javax/swing/table/AbstractTableModel.java,
6852         javax/swing/table/DefaultTableCellRenderer.java,
6853         javax/swing/table/DefaultTableColumnModel.java,
6854         javax/swing/table/DefaultTableModel.java,
6855         javax/swing/table/TableColumn.java,
6856         javax/swing/text/JTextComponent.java,
6857         javax/swing/tree/AbstractLayoutCache.java,
6858         javax/swing/tree/DefaultMutableTreeNode.java,
6859         javax/swing/tree/DefaultTreeCellEditor.java,
6860         javax/swing/tree/DefaultTreeCellRenderer.java,
6861         javax/swing/tree/DefaultTreeModel.java,
6862         javax/swing/tree/DefaultTreeSelectionModel.java,
6863         javax/swing/tree/FixedHeightLayoutCache.java,
6864         javax/swing/tree/TreeCellEditor.java,
6865         javax/swing/tree/TreeModel.java,
6866         javax/swing/tree/TreeNode.java,
6867         javax/swing/tree/TreePath.java,
6868         javax/swing/tree/TreeSelectionModel.java,
6869         javax/swing/tree/VariableHeightLayoutCache.java,
6870         javax/swing/undo/AbstractUndoableEdit.java,
6871         javax/swing/undo/CompoundEdit.java,
6872         javax/swing/undo/StateEdit.java,
6873         javax/swing/undo/UndoManager.java,
6874         javax/swing/undo/UndoableEditSupport.java:
6875         New versions from classpath.
6876         * javax/swing/table/JTableHeader.java:
6877         New file from classpath.
6878         * Makefile.am
6879         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
6880         * Makefile.in: Regenerated.
6881
6882 2003-06-11  Michael Koch  <konqueror@gmx.de>
6883
6884         * java/nio/MappedByteBuffer.java,
6885         java/nio/channels/Channels.java,
6886         java/nio/channels/ServerSocketChannel.java,
6887         java/nio/channels/spi/AbstractSelector.java:
6888         Removed unneeded imports.
6889
6890 2003-06-11  Michael Koch  <konqueror@gmx.de>
6891
6892         * java/net/DatagramSocket.java:
6893         Partly merged with classpath.
6894
6895 2003-06-11  Michael Koch  <konqueror@gmx.de>
6896
6897         * java/awt/Frame.java,
6898         java/awt/Graphics.java,
6899         java/awt/Menu.java,
6900         java/awt/Robot.java,
6901         java/awt/image/ColorModel.java:
6902         New versions from classpath.
6903
6904 2003-06-10  Michael Koch  <konqueror@gmx.de>
6905
6906         * java/io/PrintStream.java:
6907         Merged version from classpath.
6908         (close): Removed sychronized keyword. This class is not garantied to
6909         be thread-safe.
6910         (write): Likewise.
6911
6912 2003-06-09  Tom Tromey  <tromey@redhat.com>
6913
6914         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
6915         field.
6916         (getDescent): Likewise, for "descent".
6917
6918 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
6919
6920         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
6921         (getMaxDescent): adjusted return value.
6922         (getAscent): modified to use metrics for 'O'.
6923         (getDescent): modified to use metrics for 'y'.
6924
6925 2003-06-08  Anthony Green  <green@redhat.com>
6926
6927         * java/net/URLStreamHandler.java (sameFile): Fix port value
6928         comparison.
6929         * java/net/URL.java (handler): Make package private.
6930         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
6931
6932 2003-06-07  Tom Tromey  <tromey@redhat.com>
6933
6934         For PR libgcj/11085:
6935         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
6936         Limit number of characters in numeric field when required.
6937         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
6938         Respect maximumIntegerDigits.
6939
6940 2003-06-08  Michael Koch  <konqueror@gmx.de>
6941
6942         * java/net/Socket.java
6943         (Socket): Dont initialize inputShutdown and outputShutdown twice,
6944         call bind() and connect() to actually do the bind and connect tasks.
6945         (bind): Connect to canonical address if bindpoint is null, create
6946         socket and bind it to bindpoint.
6947         (connect): Check for exceptions.
6948
6949 2003-06-08  Michael Koch  <konqueror@gmx.de>
6950
6951         * java/net/DatagramSocket.java
6952         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
6953         into the Multicast constructors.
6954         * java/net/DatagramSocketImpl.java
6955         (getOption): Removed.
6956         (setOption): Removed.
6957         * java/net/MulticastSocket.java
6958         (MulticastSocket): Call setReuseAddress (true).
6959         * java/net/SocketImpl.java
6960         (getOption): Removed.
6961         (setOption): Removed.
6962
6963 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
6964
6965         PR libgcj/10886:
6966         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
6967         Test for empty vector.
6968
6969 2003-06-06  Mark Wielaard  <mark@klomp.org>
6970
6971         * java/security/Security.java (secprops): Initialize.
6972         (loadProviders): Return boolean.
6973         (static): Check result of loadProvider calls. If necessary
6974         display WARNING and fallback to Gnu provider.
6975
6976 2002-06-06  James Clark  <jjc@jclark.com>
6977
6978         Fix for PR libgcj/8738:
6979         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
6980         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
6981         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
6982         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
6983         (write): Always decrease avail when count is increased.
6984         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
6985         and whether output buffer is full before increasing size.
6986
6987 2002-06-06  Mark Wielaard  <mark@klomp dot org>
6988
6989         * java/io/PrintStream.java (writeChars(char[],int, int)):
6990         Check converter.havePendingBytes().
6991         (writeChars(String,int,int)): Likewise.
6992         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
6993         Check converter.havePendingBytes() and flush buffer when stalled.
6994
6995 2003-06-07  Michael Koch  <konqueror@gmx.de>
6996
6997         * include/posix.h
6998         (O_DSYNC): Define O_DSYNC on platforms not
6999         supporting O_FSYNC (newlib).
7000
7001 2003-06-06  Mark Wielaard  <mark@klomp.org>
7002
7003         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
7004         AWTError.
7005
7006 2003-06-06  Michael Koch  <konqueror@gmx.de>
7007
7008         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7009         More compile fixes from my stupid work yesterday.
7010
7011 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
7012
7013         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
7014         if _IEEE_LIBM is undefined.
7015
7016 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
7017
7018         * libjava/include/posix.h (O_SYNC): Define if not available
7019         and a reasonable, perhaps more conservative, replacement exists.
7020         (O_DSYNC): Likewise.
7021         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
7022
7023 2003-06-05  Michael Koch  <konqueror@gmx.de>
7024
7025         * javax/swing/plaf/BorderUIResource.java,
7026         javax/swing/plaf/basic/BasicDefaults.java,
7027         javax/swing/plaf/basic/BasicOptionPaneUI.java:
7028         More compile fixes for latest Border commit. I should not commit
7029         something in this heat here ...
7030
7031 2003-06-05  Michael Koch  <konqueror@gmx.de>
7032
7033         * javax/swing/border/BevelBorder.java
7034         (BevelBorder): Removed.
7035         * javax/swing/border/EmptyBorder.java:
7036         Reformatted.
7037         (EmptyBorder): Removed.
7038         (getBorderInsets): Dont use l, r, t and b.
7039         * javax/swing/border/EtchedBorder.java
7040         (EtchedBorder): Removed.
7041         * javax/swing/border/LineBorder.java
7042         (LineBorder): Removed.
7043         * javax/swing/border/MatteBorder.java
7044         (MatteBorder): Removed.
7045         * javax/swing/border/TitledBorder.java
7046         (defaultBorder): Use other default for now.
7047         (defaultFont): Likewise.
7048         (defaultColor): Likewise.
7049
7050 2003-06-05  Michael Koch  <konqueror@gmx.de>
7051
7052         * javax/swing/border/Border.java:
7053         New version from classpath.
7054
7055 2003-06-05  Michael Koch  <konqueror@gmx.de>
7056
7057         * javax/swing/border/AbstractBorder.java,
7058         javax/swing/border/BevelBorder.java,
7059         javax/swing/border/CompoundBorder.java,
7060         javax/swing/border/EmptyBorder.java,
7061         javax/swing/border/EtchedBorder.java,
7062         javax/swing/border/LineBorder.java,
7063         javax/swing/border/MatteBorder.java,
7064         javax/swing/border/TitledBorder.java:
7065         New versions from Classpath.
7066
7067 2003-06-05  Michael Koch  <konqueror@gmx.de>
7068
7069         * java/awt/Button.java,
7070         java/awt/Checkbox.java,
7071         java/awt/CheckboxMenuItem.java,
7072         java/awt/Choice.java,
7073         java/awt/Container.java,
7074         java/awt/Dialog.java,
7075         java/awt/EventQueue.java,
7076         java/awt/FileDialog.java,
7077         java/awt/Frame.java,
7078         java/awt/Label.java,
7079         java/awt/List.java,
7080         java/awt/Menu.java,
7081         java/awt/MenuItem.java,
7082         java/awt/Panel.java,
7083         java/awt/PopupMenu.java,
7084         java/awt/Rectangle.java,
7085         java/awt/ScrollPane.java,
7086         java/awt/Scrollbar.java,
7087         java/awt/TextArea.java,
7088         java/awt/TextField.java,
7089         java/awt/Window.java,
7090         java/awt/datatransfer/DataFlavor.java,
7091         java/awt/dnd/DragSource.java,
7092         java/awt/dnd/DragSourceContext.java,
7093         java/awt/event/HierarchyEvent.java,
7094         java/awt/event/MouseWheelEvent.java,
7095         java/awt/im/InputContext.java,
7096         java/awt/image/BufferedImage.java,
7097         java/awt/image/ComponentColorModel.java,
7098         java/awt/image/Raster.java,
7099         java/awt/image/WritableRaster.java,
7100         java/awt/peer/ComponentPeer.java,
7101         java/awt/print/PageFormat.java,
7102         java/awt/print/PrinterJob.java:
7103         New versions from Classpath.
7104
7105 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
7106
7107         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
7108         numberFormat.setParseIntegerOnly(true).
7109
7110 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
7111
7112         * include/posix-threads.h: Include <machine/pal.h> on OSF.
7113
7114 2003-06-03  Andrew Haley  <aph@redhat.com>
7115
7116         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
7117         stack volatile to prevent optimization from removing it.
7118
7119 2003-05-27  Michael Koch  <konqueror@gmx.de>
7120
7121         * java/util/zip/Deflater.java
7122         (FILTERED): Merged documentation from classpath.
7123         * java/util/zip/DeflaterOutputStream.java
7124         (DeflaterOutputStream): Merged documentation and argument validity
7125         check from classpath.
7126         (deflate): Merged documentation from classpath.
7127         (finish): Likewise.
7128         * java/util/zip/Inflater.java
7129         (Inflater): Merged class documentation from classpath.
7130         (zstream): Reordered.
7131         (is_finished): Reordered.
7132         (dict_needed): Reordered.
7133         (Inflater): Reordered, merged documentation from classpath.
7134         (end): Likewise.
7135         (finalize): Merged documentation from classpath.
7136         (finished): Likewise.
7137         (getAdler): Likewise.
7138         (getRemaining): Likewise.
7139         (getTotalIn): Likewise.
7140         (getTotalOut): Likewise.
7141         (inflate): Likewise.
7142         (needsDictionary): Likewise.
7143         (needsInput): Likewise.
7144         (reset): Likewise.
7145         (setDictionary): Likewise.
7146         (setInput): Likewise.
7147
7148 2003-05-27  Michael Koch  <konqueror@gmx.de>
7149
7150         * java/net/URLConnection.java
7151         (getHeaderFieldInt): Merged with classpath.
7152
7153 2003-05-27  Michael Koch  <konqueror@gmx.de>
7154
7155         * java/io/PrintStream.java
7156         (PrintStream): Reformatted.
7157         (PrintStream): New method, merged from classpath.
7158         (write): Reformatted.
7159
7160 2003-05-27  Michael Koch  <konqueror@gmx.de>
7161
7162         * java/lang/System.java:
7163         Explicitely import needed classes.
7164
7165 2003-05-26  Michael Koch  <konqueror@gmx.de>
7166
7167         * java/net/NetPermission.java,
7168         java/net/NetworkInterface.java,
7169         java/net/PasswordAuthentication.java,
7170         java/net/SocketPermission.java:
7171         New versions from classpath.
7172
7173 2003-05-25  Michael Koch  <konqueror@gmx.de>
7174
7175         * java/io/PushbackInputStream.java,
7176         java/net/Authenticator.java,
7177         java/net/ContentHandler.java,
7178         java/net/ContentHandlerFactory.java,
7179         java/net/DatagramSocket.java,
7180         java/net/DatagramSocketImpl.java,
7181         java/net/DatagramSocketImplFactory.java,
7182         java/net/FileNameMap.java,
7183         java/net/SocketImplFactory.java,
7184         java/net/SocketOptions.java,
7185         java/net/URLStreamHandlerFactory.java:
7186         Merged new versions from classpath.
7187
7188 2003-05-25  Michael Koch  <konqueror@gmx.de>
7189
7190         * java/awt/Checkbox.java,
7191         java/awt/Dialog.java,
7192         java/awt/Font.java,
7193         java/awt/Frame.java,
7194         java/awt/ScrollPaneAdjustable.java,
7195         java/awt/Scrollbar.java,
7196         java/awt/Window.java:
7197         New versions from classpath.
7198
7199 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
7200
7201         PR libgcj/10838:
7202         * java/io/ObjectInputStream (enableResolveObject):
7203         Fixed spelling of permission name.
7204
7205 2003-05-20  Michael Koch  <konqueror@gmx.de>
7206
7207         * java/io/DataInputStream.java
7208         (convertFromUTF): Merged comment from classpath.
7209         * java/io/PrintStream.java
7210         (error_occured): Renamed from error, merged comment from classpath.
7211         (PrintStream): No need to initialized error.
7212         (checkError): Replace error with error_occurred.
7213         (setError): Likewise.
7214
7215 2003-05-20  Michael Koch  <konqueror@gmx.de>
7216
7217         * java/io/DataInputStream.java:
7218         Reformatted, Replaced < and & with html entitites in documentation.
7219         * java/io/File.java:
7220         Reformatted.
7221         * java/io/PrintWriter.java:
7222         Moved class documentation.
7223
7224 2003-05-20  Michael Koch  <konqueror@gmx.de>
7225
7226         * gnu/java/nio/ByteBufferImpl.java,
7227         gnu/java/nio/CharBufferImpl.java,
7228         gnu/java/nio/CharViewBufferImpl.java,
7229         gnu/java/nio/DirectByteBufferImpl.java,
7230         gnu/java/nio/DoubleBufferImpl.java,
7231         gnu/java/nio/DoubleViewBufferImpl.java,
7232         gnu/java/nio/FloatBufferImpl.java,
7233         gnu/java/nio/FloatViewBufferImpl.java,
7234         gnu/java/nio/IntBufferImpl.java,
7235         gnu/java/nio/IntViewBufferImpl.java,
7236         gnu/java/nio/LongBufferImpl.java,
7237         gnu/java/nio/LongViewBufferImpl.java,
7238         gnu/java/nio/natDirectByteBufferImpl.cc,
7239         gnu/java/nio/ShortBufferImpl.java,
7240         gnu/java/nio/ShortViewBufferImpl.java:
7241         Moved files to java/nio.
7242         * gnu/java/nio/SocketChannelImpl.java
7243         
7244         * java/nio/ByteBuffer.java,
7245         java/nio/CharBuffer.java,
7246         java/nio/DoubleBuffer.java,
7247         java/nio/FloatBuffer.java,
7248         java/nio/IntBuffer.java,
7249         java/nio/LongBuffer.java,
7250         java/nio/ShortBuffer.java:
7251         Dont import anything.
7252         * java/nio/ByteBufferImpl.java,
7253         java/nio/CharBufferImpl.java,
7254         java/nio/CharViewBufferImpl.java,
7255         java/nio/DirectByteBufferImpl.java,
7256         java/nio/DoubleBufferImpl.java,
7257         java/nio/DoubleViewBufferImpl.java,
7258         java/nio/FloatBufferImpl.java,
7259         java/nio/FloatViewBufferImpl.java,
7260         java/nio/IntBufferImpl.java,
7261         java/nio/IntViewBufferImpl.java,
7262         java/nio/LongBufferImpl.java,
7263         java/nio/LongViewBufferImpl.java,
7264         java/nio/natDirectByteBufferImpl.cc,
7265         java/nio/ShortBufferImpl.java,
7266         java/nio/ShortViewBufferImpl.java:
7267         Moved from gnu/java/nio.
7268         * Makefile.am
7269         (ordinary_java_source_files): Moved files from gnu/java/nio to
7270         java/nio.
7271         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
7272         to java/nio.
7273         * Makefile.in: Regenerated.
7274
7275 2003-05-19  Michael Koch  <konqueror@gmx.de>
7276
7277         * java/util/Calendar.java
7278         (get): Not final anymore since JDK 1.4
7279         (set): Likewise.
7280
7281 2003-05-19  Michael Koch  <konqueror@gmx.de>
7282
7283         * java/text/CollationKey.java:
7284         Merged copyright and dat from classpath.
7285         * java/text/RuleBasedCollator.java:
7286         Merged class documentation from classpath.
7287
7288 2003-05-19  Michael Koch  <konqueror@gmx.de>
7289
7290         * java/nio/CharBuffer.java
7291         (toString): Compile fix.
7292
7293 2003-05-19  Michael Koch  <konqueror@gmx.de>
7294
7295         * gnu/java/nio/ByteBufferImpl.java
7296         (putLong): Fixed conversion to bytes.
7297         (putDouble): Fixed conversion to bytes.
7298         * gnu/java/nio/DirectByteBufferImpl.java
7299         (putLong): Fixed conversion to bytes.
7300         (putDouble): Fixed conversion to bytes.
7301         * gnu/java/nio/FileLockImpl.java
7302         (isValid): Reformatted.
7303         * java/nio/Buffer.java
7304         (Buffer): Fixed off-by-one bug in handling mark.
7305         * java/nio/ByteBuffer.java:
7306         Added newline.
7307         * java/nio/CharBuffer.java
7308         (toString): Don't use relative get to get string data.
7309
7310 2003-05-16  Michael Koch  <konqueror@gmx.de>
7311
7312         * java/io/natFileDescriptorPosix.cc
7313         (open): Commented out the O_SYNC and O_DSYNC usage until its better
7314         tested.
7315
7316 2003-05-14  Michael Koch  <konqueror@gmx.de>
7317
7318         * gnu/java/nio/FileLockImpl.java
7319         (released): New member variable.
7320         (FileLockImpl): Initialize released.
7321         (releaseImpl): New native method.
7322         (release): Implemented.
7323         * gnu/java/nio/SelectorImpl.java: Reformatted.
7324         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
7325         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
7326         (accept): Throws IOException.
7327         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
7328         (implConfigureBlocking): Throws IOException.
7329         (connect): Likewise.
7330         (read): Likewise.
7331         (write): Likewise.
7332         * gnu/java/nio/natFileLockImpl.cc: New file.
7333         * java/nio/channels/FileLock.java: Reformatted.
7334         * Makefile.am:
7335         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
7336         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
7337         * Makefile.in: Regenerated.
7338
7339 2003-05-13  Michael Koch  <konqueror@gmx.de>
7340
7341         * gnu/java/nio/CharViewBufferImpl.java
7342         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
7343         (get): Shift bits to the right direction.
7344         (put): Likewise.
7345         * gnu/java/nio/DoubleViewBufferImpl.java
7346         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
7347         (get): Shift bits to the right direction.
7348         (put): Likewise.
7349         * gnu/java/nio/FloatViewBufferImpl.java
7350         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
7351         (get): Shift bits to the right direction.
7352         (put): Likewise.
7353         * gnu/java/nio/IntViewBufferImpl.java
7354         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
7355         (get): Shift bits to the right direction.
7356         (put): Likewise.
7357         * gnu/java/nio/LongViewBufferImpl.java
7358         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
7359         (get): Shift bits to the right direction.
7360         (put): Likewise.
7361         * gnu/java/nio/ShortViewBufferImpl.java
7362         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
7363         (get): Shift bits to the right direction.
7364         (put): Likewise.
7365
7366 2003-05-13  Michael Koch  <konqueror@gmx.de>
7367
7368         * gnu/java/nio/natDirectByteBufferImpl.cc
7369         (allocateImpl): jlong -> RawData*.
7370         (freeImpl): Likewise.
7371
7372 2003-05-13  Michael Koch  <konqueror@gmx.de>
7373
7374         * java/nio/channels/FileChannel.java
7375         (MapMode.m): Made it package-private to match JDK 1.4.
7376         * java/nio/charset/Charset.java
7377         (decode): Made it final to match JDK 1.4.
7378
7379 2003-05-13  Michael Koch  <konqueror@gmx.de>
7380
7381        * java/io/FileDescriptor.java
7382        (SYNC): New constant.
7383        (DSYNC): Likewise.
7384        (getLength): Renamed from lenght() to match classpath's
7385        FileDescriptor.java.
7386        * java/io/RandomAccessFile.java
7387        (RandomAccessFile): Removed unneeded mode check, implemented mode
7388        "rws" and "rwd", merged documentation from classpath.
7389        (setLength): Reformatted.
7390        (length): Use new getLength() of FileDescriptor.
7391        * java/io/natFileDescriptorEcos.cc
7392        (getLength): Renamed from length().
7393        * java/io/natFileDescriptorPosix.cc
7394        (open): Implemented support for SYNC and DSYNC.
7395        (seek): Use getLength() instead of length().
7396        (getLength): Renamed from length().
7397        * java/io/natFileDescriptorWin32.cc
7398        (getLength): Renamed from length().
7399        (seek): Use getLength() instead of length().
7400        (available): Likewise.
7401        * gnu/java/nio/natFileChannelImpl.cc
7402        (size): Use getLength() instead of length().
7403
7404 2003-05-13  Michael Koch  <konqueror@gmx.de>
7405
7406         * gnu/java/nio/ByteBufferImpl.java
7407         (ByteBufferImpl): All constructors revised.
7408         (slice): Reimplemented.
7409         (duplicate): Reimplemented.
7410         (asReadOnlyBuffer): Reimplemented.
7411         * java/nio/ByteBuffer.java:
7412         Reformatted.
7413         (array_offset): Renamed from "offset" to match all other buffer
7414         classes.
7415         (ByteBuffer): All constructors revised.
7416         (allocateDirect): Implemented.
7417         (allocate): New implementation, documentation reworked.
7418         (wrap): Likewise.
7419         (get): Documentation reworked.
7420         (put): New implementation, documentation reworked.
7421         (hasArray): Documentation reworked.
7422         (arrayOffset): Likewise.
7423         (hashCode): Likewise.
7424         (equals): Likewise.
7425         (compareTo): Likewise.
7426         (order): Likewise.
7427         (compact): Likewise.
7428         (isDirect): Likewise.
7429         (slice): Likewise.
7430         (duplicate): Likewise.
7431         (asReadOnlyBuffer): Likewise.
7432         * Makefile.am
7433         (ordinary_java_source_files):
7434         Added gnu/java/nio/DirectByteBufferImpl.java.
7435         (nat_source_files):
7436         Added gnu/java/nio/natDirectByteBufferImpl.cc.
7437         * Makefile.in: Regenerated.
7438
7439 2003-05-12  Michael Koch  <konqueror@gmx.de>
7440
7441         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
7442         (nio_get_*): Removed.
7443         (nio_put_*): Removed.
7444         (as*Buffer): Implemented.
7445         (compact): Implemented.
7446         (get): Documentation added.
7447         (put): Documentation added.
7448         (get*): Newly implemented.
7449         (put*): Newly implemented.
7450         * gnu/java/nio/CharBufferImpl.java: Reformatted.
7451         (CharBufferImpl): Revised.
7452         (slice): New implementation.
7453         (duplicate): New implementation.
7454         (compact): New implementation.
7455         (asReadOnlyBuffer): New implementation.
7456         (get): Documentation revised.
7457         (order): Return native byte order.
7458         * gnu/java/nio/DirectByteBufferImpl.java
7459         (allocateDirect): objects can be null not 0.
7460         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
7461         (DoubleBufferImpl): Revised.
7462         (slice): New implementation.
7463         (duplicate): New implementation.
7464         (compact): New implementation.
7465         (asReadOnlyBuffer): New implementation.
7466         (get): Documentation revised.
7467         (order): Return native byte order.
7468         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
7469         (FloatBufferImpl): Revised.
7470         (slice): New implementation.
7471         (duplicate): New implementation.
7472         (compact): New implementation.
7473         (asReadOnlyBuffer): New implementation.
7474         (get): Documentation revised.
7475         (order): Return native byte order.
7476         * gnu/java/nio/IntBufferImpl.java: Reformatted.
7477         (IntBufferImpl): Revised.
7478         (slice): New implementation.
7479         (duplicate): New implementation.
7480         (compact): New implementation.
7481         (asReadOnlyBuffer): New implementation.
7482         (get): Documentation revised.
7483         (order): Return native byte order.
7484         * gnu/java/nio/LongBufferImpl.java: Reformatted.
7485         (LongBufferImpl): Revised.
7486         (slice): New implementation.
7487         (duplicate): New implementation.
7488         (compact): New implementation.
7489         (asReadOnlyBuffer): New implementation.
7490         (get): Documentation revised.
7491         (order): Return native byte order.
7492         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
7493         (ShortBufferImpl): Revised.
7494         (slice): New implementation.
7495         (duplicate): New implementation.
7496         (compact): New implementation.
7497         (asReadOnlyBuffer): New implementation.
7498         (get): Documentation revised.
7499         (order): Return native byte order.
7500         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
7501         (CharBuffer): Revised.
7502         (order): Removed.
7503         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
7504         (DoubleBuffer): Revised.
7505         (allocateDirect): Removed.
7506         (order): Removed.
7507         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
7508         (FloatBuffer): Revised.
7509         (allocateDirect): Removed.
7510         (order): Removed.
7511         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
7512         (IntBuffer): Revised.
7513         (allocateDirect): Removed.
7514         (order): Removed.
7515         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
7516         (LongBuffer): Revised.
7517         (allocateDirect): Removed.
7518         (order): Removed.
7519         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
7520         (ShortBuffer): Revised.
7521         (allocateDirect): Removed.
7522         (order): Removed.
7523         * gnu/java/nio/natByteBufferImpl.cc: Removed.
7524         * gnu/java/nio/natCharBufferImpl.cc: Removed.
7525         * Makefile.am
7526         (ordinary_java_source_files): Added the following files:
7527         gnu/java/nio/CharViewBufferImpl.java,
7528         gnu/java/nio/DoubleViewBufferImpl.java,
7529         gnu/java/nio/FloatViewBufferImpl.java,
7530         gnu/java/nio/IntViewBufferImpl.java,
7531         gnu/java/nio/LongViewBufferImpl.java,
7532         gnu/java/nio/ShortViewBufferImpl.java
7533         (nat_source_files): Removed the following files:
7534         gnu/java/nio/natByteBufferImpl.cc,
7535         gnu/java/nio/natCharBufferImpl.cc
7536         * Makefile.in: Regenerated.
7537
7538 2003-05-12  Michael Koch  <konqueror@gmx.de>
7539
7540         * gnu/java/nio/CharViewBufferImpl.java,
7541         gnu/java/nio/DirectByteBufferImpl.java,
7542         gnu/java/nio/DoubleViewBufferImpl.java,
7543         gnu/java/nio/FloatViewBufferImpl.java,
7544         gnu/java/nio/IntViewBufferImpl.java,
7545         gnu/java/nio/LongViewBufferImpl.java,
7546         gnu/java/nio/ShortViewBufferImpl.java,
7547         gnu/java/nio/natDirectByteBufferImpl.cc:
7548         New files, not yet to be compiled.
7549
7550 2003-05-10  Michael Koch  <konqueror@gmx.de>
7551
7552         * javax/swing/plaf/ButtonUI.java,
7553         javax/swing/plaf/ColorUIResource.java,
7554         javax/swing/plaf/ComponentUI.java,
7555         javax/swing/plaf/DimensionUIResource.java,
7556         javax/swing/plaf/FontUIResource.java,
7557         javax/swing/plaf/IconUIResource.java,
7558         javax/swing/plaf/InsetsUIResource.java,
7559         javax/swing/plaf/LabelUI.java,
7560         javax/swing/plaf/ListUI.java,
7561         javax/swing/plaf/OptionPaneUI.java,
7562         javax/swing/plaf/PanelUI.java,
7563         javax/swing/plaf/TabbedPaneUI.java,
7564         javax/swing/plaf/TextUI.java,
7565         javax/swing/plaf/TreeUI.java,
7566         javax/swing/plaf/ViewportUI.java,
7567         javax/swing/plaf/basic/BasicBorders.java,
7568         javax/swing/plaf/basic/BasicButtonUI.java,
7569         javax/swing/plaf/basic/BasicCheckBoxUI.java,
7570         javax/swing/plaf/basic/BasicDefaults.java,
7571         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7572         javax/swing/plaf/basic/BasicIconFactory.java,
7573         javax/swing/plaf/basic/BasicLabelUI.java,
7574         javax/swing/plaf/basic/BasicListUI.java,
7575         javax/swing/plaf/basic/BasicOptionPaneUI.java,
7576         javax/swing/plaf/basic/BasicPanelUI.java,
7577         javax/swing/plaf/basic/BasicRadioButtonUI.java,
7578         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7579         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7580         javax/swing/plaf/basic/BasicTextUI.java,
7581         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7582         javax/swing/plaf/basic/BasicTreeUI.java,
7583         javax/swing/plaf/basic/BasicViewportUI.java,
7584         javax/swing/plaf/metal/MetalLookAndFeel.java:
7585         New versions from classpath. This adds copyrights to all files and
7586         some serialVersionUIDs.
7587
7588 2003-05-10  Michael Koch  <konqueror@gmx.de>
7589
7590         * java/nio/CharBuffer.java
7591         (offset): Make it package-private.
7592         (backing_buffer): Likewise.
7593         * java/nio/DoubleBuffer.java
7594         (offset): Make it package-private.
7595         (backing_buffer): Likewise.
7596         (put): Reformatted.
7597         * java/nio/FloatBuffer.java
7598         (offset): Make it package-private.
7599         (backing_buffer): Likewise.
7600         * java/nio/IntBuffer.java
7601         (offset): Make it package-private.
7602         (backing_buffer): Likewise.
7603         * java/nio/LongBuffer.java
7604         (offset): Make it package-private.
7605         (backing_buffer): Likewise.
7606         * java/nio/ShortBuffer.java
7607         (offset): Make it package-private.
7608         (backing_buffer): Likewise.
7609
7610 2003-05-10  Michael Koch  <konqueror@gmx.de>
7611
7612         * java/nio/CharBuffer.java
7613         (put): Fixed precondtion check.
7614         (toString): Make it work without backing array.
7615         (put): Skip one level of method calling.
7616
7617 2003-05-10  Michael Koch  <konqueror@gmx.de>
7618
7619         * java/security/Identity.java,
7620         java/security/IdentityScope.java,
7621         java/security/Key.java,
7622         java/security/KeyPair.java,
7623         java/security/PrivateKey.java,
7624         java/security/Provider.java,
7625         java/security/PublicKey.java,
7626         java/security/SecureRandom.java,
7627         java/security/SecureRandomSpi.java,
7628         java/security/SignedObject.java,
7629         java/security/Signer.java,
7630         java/security/cert/Certificate.java,
7631         java/security/cert/PKIXCertPathBuilderResult.java,
7632         java/security/cert/X509Certificate.java:
7633         New versions from classpath.
7634
7635 2003-05-09  Tom Tromey  <tromey@redhat.com>
7636
7637         * Makefile.in: Rebuilt.
7638         * Makefile.am (nat_source_files): Removed old files.
7639         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
7640         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
7641         * gnu/java/nio/natIntBufferImpl.cc: Removed.
7642         * gnu/java/nio/natLongBufferImpl.cc: Removed.
7643         * gnu/java/nio/natShortBufferImpl.cc: Removed.
7644
7645 2003-05-09  Michael Koch  <konqueror@gmx.de>
7646
7647         * gnu/java/nio/ByteBufferImpl.java
7648         (nio_cast): Removed.
7649         (ByteBufferImpl): Removed.
7650         (nio_get_Byte): Removed.
7651         (nio_put_Byte): Removed.
7652         (asByteBuffer): Removed.
7653         (asCharBuffer): Removed implementation and throw exception.
7654         (asShortBuffer): Likewise.
7655         (asIntBuffer): Likewise.
7656         (asLongBuffer): Likewise.
7657         (asFloatBuffer): Likewise.
7658         (asDoubleBuffer): Likewise.
7659         * gnu/java/nio/CharBufferImpl.java
7660         (CharBufferImpl): Removed.
7661         (nio_get_Byte): Removed.
7662         (nio_put_Byte): Removed.
7663         (asByteBuffer): Removed.
7664         * gnu/java/nio/DoubleBufferImpl.java
7665         (DoubleBufferImpl): Removed.
7666         (nio_get_Byte): Removed.
7667         (nio_put_Byte): Removed.
7668         (asByteBuffer): Removed.
7669         * gnu/java/nio/FloatBufferImpl.java
7670         (FloatBufferImpl): Removed.
7671         (nio_get_Byte): Removed.
7672         (nio_put_Byte): Removed.
7673         (asByteBuffer): Removed.
7674         * gnu/java/nio/IntBufferImpl.java
7675         (IntBufferImpl): Removed.
7676         (nio_get_Byte): Removed.
7677         (nio_put_Byte): Removed.
7678         (asByteBuffer): Removed.
7679         * gnu/java/nio/LongBufferImpl.java
7680         (LongBufferImpl): Removed.
7681         (nio_get_Byte): Removed.
7682         (nio_put_Byte): Removed.
7683         (asByteBuffer): Removed.
7684         * gnu/java/nio/ShortBufferImpl.java
7685         (ShortBufferImpl): Removed.
7686         (nio_get_Byte): Removed.
7687         (nio_put_Byte): Removed.
7688         (asByteBuffer): Removed.
7689         * gnu/java/nio/natByteBufferImpl.cc
7690         (nio_cast): Removed.
7691         (nio_get_Byte): Removed.
7692         (nio_put_Byte): Removed.
7693         * gnu/java/nio/natCharBufferImpl.cc
7694         (nio_get_Byte): Removed.
7695         (nio_put_Byte): Removed.
7696
7697 2003-05-09  Michael Koch  <konqueror@gmx.de>
7698
7699         * java/net/JarURLConnection.java
7700         (getJarEntry): Merged documentation from classpath.
7701         (getJarFile): Likewise.
7702         (getMainAttributes): Likewise.
7703         (getAttributes): Likewise.
7704         (getManifest): Likewise.
7705         (getCertificates): Reformatted.
7706         * java/net/URLConnection.java:
7707         Little classpath merge.
7708
7709 2003-05-09  Michael Koch  <konqueror@gmx.de>
7710
7711         * java/io/DataOutputStream.java
7712         (writeShort): Made it synchronized.
7713         (writeChar): Likewise.
7714         (writeInt): Likewise.
7715         (writeLong): Liekwise.
7716         (writeUTF): Made it synchronized, renamed argument to match classpath.
7717         * java/io/InputStreamReader.java
7718         (converter): Added documentation.
7719         (read): Merged documentation from classpath.
7720         * java/io/OutputStreamWriter.java
7721         (OutputStreamWriter): Merged documentation from classpath.
7722         (close): Reformatted.
7723         (getEncoding): Likewise.
7724         (flush): Likewise.
7725         (write): Merged documentation from classpath, reformatted.
7726
7727 2003-05-08  Tom Tromey  <tromey@redhat.com>
7728
7729         * configure.host <powerpc64*-*>: Set with_libffi_default and
7730         libgcj_interpreter to "yes".
7731
7732 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
7733
7734         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
7735         
7736 2003-05-06  Tom Tromey  <tromey@redhat.com>
7737
7738         * verify.cc: Reverted previous patch.
7739
7740 2003-05-06  Michael Koch  <konqueror@gmx.de>
7741
7742         * java/io/DataOutputStream.java
7743         (write): Renamed argument to "value", merged documentation from
7744         classpath.
7745         (writeBoolean): Likewise.
7746         (writeByte): Likewise.
7747         (writeShort): Likewise.
7748         (writeChar): Likewise.
7749         (writeInt): Likewise.
7750         (writeLong): Likewise.
7751         (writeFloat): Likewise.
7752         (writeDouble): Likewise.
7753         (writeBytes): Likewise.
7754         (writeChars): Likewise.
7755         (writeUTF): Likewise.
7756         * java/io/File.java
7757         (performDelete): Added documentation.
7758         (performList): Likewise.
7759         (performMkdir): Likewise.
7760         (performSetReadOnly): Likewise.
7761         (performRenameTo): Likewise.
7762         (performSetLastModified): Likewise.
7763         (delete): Made it sychronized.
7764         (renameTo): Made it sychronized.
7765         (equals): Reformatted.
7766         (isHidden): Likewise.
7767         (listFiles): Likewise.
7768         (setReadOnly): Likewise.
7769         (listRoots): Likewise.
7770         (setLastModified): Likewise.
7771         (checkRead): Likewise.
7772         (checkWrite): Likewise.
7773         * java/io/FileInputStream.java
7774         (skip): Made it sychronized, merged from classpath.
7775         * java/io/FileOutputStream.java
7776         (write): Merged from classpath.
7777         * java/io/InputStreamReader.java:
7778         (InputStreamReader): Merged documentation from classpath.
7779
7780 2003-05-05  Michael Koch  <konqueror@gmx.de>
7781
7782         * java/net/NetworkInterface.java
7783         (networkInterfaces): Removed.
7784         (getByName): Use getRealNetworkInterfaces() instead of
7785         networkInterfaces.
7786         (getByInetAddress): Likewise.
7787         (getNetworkInterfaces): Likewise.
7788         (toString): Fix output of addresses of an interface.
7789
7790 2003-05-05  Michael Koch  <konqueror@gmx.de>
7791
7792         * java/io/DataInputStream.java:
7793         Merged new documentation from classpath.
7794
7795 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
7796
7797         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
7798         "version".
7799         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
7800         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
7801         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
7802         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
7803         * gnu/awt/gtk/GtkMainThread.java: Likewise.
7804         * gnu/awt/gtk/GtkToolkit.java: Likewise.
7805         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
7806         * java/security/Key.java: Likewise.
7807         * java/security/PrivateKey.java: Likewise.
7808         * java/security/Provider.java: Likewise.
7809         * java/security/PublicKey.java: Likewise.
7810
7811 2003-05-02  Michael Koch  <konqueror@gmx.de>
7812
7813         * java/net/URI.java
7814         (create): Doesnt throws any exceptions.
7815         * java/net/URLConnection.java
7816         (URLConnection): Commend added.
7817         (getExpiration): The header field is called "expires" not
7818         "expiration".
7819         (getHeaderField): Merged documentation with classpath.
7820         (getHeaderFieldInt): Likewise.
7821         (getHeaderFieldDate): Likewise.
7822         (getHeaderFieldKey): Likewise.
7823         (getPermission): Likewise.
7824         (setDefaultUseCaches): Likewise.
7825         (setRequestProperty): Likewise.
7826         (addRequestProperty): Likewise.
7827         (getRequestProperty): Likewise.
7828         (getRequestProperties): Likewise.
7829         (setDefaultRequestProperty): Likewise.
7830         (getDefaultRequestProperty): Likewise.
7831         (guessContentTypeFromStream): Likewise.
7832         (getFileNameMap): Likewise.
7833         (setFileNameMap): Likewise.
7834         (setDoInput): Merged implementation and documentation with classpath.
7835         (setDoOutput): Likewise.
7836         (setAllowUserInteraction): Likewise.
7837         (setDefaultAllowUserInteraction): Likewise.
7838         (setContentHandlerFactory): Made it synchronized, merged documentation
7839         with classpath.
7840         (guessContentTypeFromName): Renamed argument fname to filename to
7841         match classpath, merged documentation with classpath.
7842
7843 2003-05-02  Michael Koch  <konqueror@gmx.de>
7844
7845         * java/net/JarURLConnection.java
7846         (JarURLConnection): Class documentation merged with classpath.
7847         (getJarFileURL): Moved and documentation merged with classpath.
7848         (getEntryName): Likewise.
7849         (JarURLConnection): Documentation merged with classpath.
7850         (getJarEntry): Likewise.
7851         (getJarFile): Likewise.
7852         * java/net/PlainDatagramSocketImpl.java:
7853         Class documentation moved.
7854         * java/net/URLConnection.java
7855         (fileNameMap): Moved and documentation merged with classpath.
7856         (factory): Likewise.
7857         (defaultAllowUserInteraction): Likewis.
7858         (defaultUseCaches): Likewise.
7859         (allowUserInteraction): Likewise.
7860         (connected): Likewise.
7861         (url): Likewise.
7862         (connect): Documentation merged with classpath.
7863         (getURL): Likewise.
7864         (getContentLength): Likewise.
7865         (getContentType): Likewise.
7866         (getContentEncoding): Likewise.
7867         (getExpiration): Likewise.
7868         (getDate): Likewise.
7869         (getLastModified): Likewise.
7870         (getHeaderField): Likewise.
7871         (getContent): Likewise.
7872         (getPermission): Likewise.
7873         (getInputStream): Likewise.
7874         (getOutputStream): Likewise.
7875         (toString): Likewise.
7876         (getDoInput): Likewise.
7877         (getDoOutput): Likewise.
7878         (setAllowUserInteraction): Likewise.
7879         (getAllowUserInteraction): Likewise.
7880         (setDefaultAllowUserInteraction): Likewise.
7881         (getDefaultAllowUserInteraction): Likewise.
7882         (setUseCaches): Likewise.
7883         (getUseCaches): Likewise.
7884         (setIfModifiedSince): Likewise.
7885         (getIfModifiedSince): Likewise.
7886         (setDefaultRequestProperty): Likewise.
7887         (getDefaultRequestProperty): Likewise.
7888         (setContentHandlerFactory): Likewise.
7889         (setFileNameMap): Likewise.
7890
7891 2003-05-02  Michael Koch  <konqueror@gmx.de>
7892
7893         * java/net/InetAddress.java:
7894         Merged class documentation with classpath.
7895         * java/net/JarURLConnection.java:
7896         Explicitely import all used classes.
7897         * java/net/URL.java:
7898         Reformatting.
7899         * java/net/ServerSocket.java,
7900         java/net/Socket.java:
7901         New versions from classpath.
7902
7903 2003-05-02  Michael Koch  <konqueror@gmx.de>
7904
7905         * gnu/java/nio/FileChannelImpl.java
7906         (read): New implementation.
7907         (implRead): New methods.
7908         (write): New implementation, call other write insteal of read method.
7909         (implWrite): New methods.
7910         (map): Added comment.
7911         (transferFrom): Implemented.
7912         (transferTo): Implemented.
7913         (lock): Added checks to throw exceptions.
7914         (truncate): Added check to throw exception.
7915         * gnu/java/nio/natFileChannelImpl.cc
7916         (implRead): New method.
7917         (implWrite): New method.
7918         * java/nio/ByteBuffer.java
7919         (hashCode): Fixed comment.
7920         (get): Fixed exception documentation.
7921         (put): Fixed exception documentation.
7922         * java/nio/CharBuffer.java:
7923         Added comment for later optimizations.
7924
7925 2003-04-30  Tom Tromey  <tromey@redhat.com>
7926
7927         PR libgcj/10582:
7928         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
7929         Removed.
7930         (type::compatible): Use _Jv_IsAssignableFrom.
7931         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
7932         (_Jv_IsAssignableFrom): Work even when source or target class is
7933         not prepared.
7934
7935 2003-04-30  Michael Koch  <konqueror@gmx.de>
7936
7937         * java/text/BreakIterator.java
7938         (clone): New method.
7939
7940 2003-04-30  Michael Koch  <konqueror@gmx.de>
7941
7942         * java/text/CollationElementIterator.java,
7943         java/text/CollationKey.java,
7944         java/text/RuleBasedCollator.java:
7945         Merged copyright and documentation from classpath and
7946         rearranged some code. No code changes done.
7947
7948 2003-04-30  Michael Koch  <konqueror@gmx.de>
7949
7950         * java/util/regex/Matcher.java
7951         (pattern): New member variable.
7952         (appendReplacement): New method.
7953         (appendTail): New method.
7954         (end): New method.
7955         (find): New method.
7956         (group): New method.
7957         (replaceFirst): Added documentation.
7958         (replaceAll): Added documentation.
7959         (groupCount): New method.
7960         (lookingAt): New method.
7961         (matches): New method.
7962         (reset): New method.
7963         (start): New method.
7964         * java/util/regex/Pattern.java
7965         (serialVersionUID): New constant.
7966         (CANON_EQ): New constant.
7967         (CASE_INSENSITIVE): New constant.
7968         (COMMENTS): New constant.
7969         (DOTALL): New constant.
7970         (MULTILINE): New constant.
7971         (UNICODE_CASE): New constant.
7972         (UNIX_LINES): New constant.
7973         (regex): New member variable.
7974         (flags): New member variable.
7975         (Pattern): New method.
7976         (compile): Documentation added.
7977         (flags): New method.
7978         (matches): Documentation added.
7979         (matcher): Documentation added.
7980         (split): Documentation added.
7981         (pattern): New method.
7982
7983 2003-04-30  Michael Koch  <konqueror@gmx.de>
7984
7985         * gnu/java/security/Engine.java,
7986         gnu/java/security/OID.java,
7987         gnu/java/security/der/BitString.java,
7988         gnu/java/security/der/DER.java,
7989         gnu/java/security/der/DERReader.java,
7990         gnu/java/security/der/DERValue.java,
7991         gnu/java/security/der/DERWriter.java,
7992         gnu/java/security/provider/DSAKeyFactory.java,
7993         gnu/java/security/provider/X509CertificateFactory.java,
7994         gnu/java/security/x509/X500DistinguishedName.java,
7995         gnu/java/security/x509/X509CRL.java,
7996         gnu/java/security/x509/X509CRLEntry.java,
7997         gnu/java/security/x509/X509Certificate.java,
7998         java/security/cert/CRLSelector.java,
7999         java/security/cert/CertPathBuilder.java,
8000         java/security/cert/CertPathBuilderResult.java,
8001         java/security/cert/CertPathBuilderSpi.java,
8002         java/security/cert/CertPathParameters.java,
8003         java/security/cert/CertPathValidator.java,
8004         java/security/cert/CertPathValidatorResult.java,
8005         java/security/cert/CertPathValidatorSpi.java,
8006         java/security/cert/CertSelector.java,
8007         java/security/cert/CertStore.java,
8008         java/security/cert/CertStoreParameters.java,
8009         java/security/cert/CertStoreSpi.java,
8010         java/security/cert/CollectionCertStoreParameters.java,
8011         java/security/cert/LDAPCertStoreParameters.java,
8012         java/security/cert/PKIXBuilderParameters.java,
8013         java/security/cert/PKIXCertPathBuilderResult.java,
8014         java/security/cert/PKIXCertPathChecker.java,
8015         java/security/cert/PKIXCertPathValidatorResult.java,
8016         java/security/cert/PKIXParameters.java,
8017         java/security/cert/PolicyNode.java,
8018         java/security/cert/PolicyQualifierInfo.java,
8019         java/security/cert/TrustAnchor.java,
8020         javax/security/auth/x500/X500Principal.java:
8021         New files from classpath.
8022         * gnu/java/io/ASN1ParsingException.java,
8023         gnu/java/io/Base64InputStream.java,
8024         gnu/java/security/der/DEREncodingException.java,
8025         gnu/java/security/provider/DSAParameters.java,
8026         gnu/java/security/provider/DSASignature.java,
8027         gnu/java/security/provider/Gnu.java,
8028         gnu/java/security/provider/GnuDSAPrivateKey.java,
8029         gnu/java/security/provider/GnuDSAPublicKey.java,
8030         java/security/AlgorithmParameterGenerator.java,
8031         java/security/AlgorithmParameters.java,
8032         java/security/KeyFactory.java,
8033         java/security/KeyPairGenerator.java,
8034         java/security/KeyStore.java,
8035         java/security/MessageDigest.java,
8036         java/security/SecureClassLoader.java,
8037         java/security/SecureRandom.java,
8038         java/security/Security.java,
8039         java/security/Signature.java,
8040         java/security/cert/Certificate.java,
8041         java/security/cert/CertificateFactory.java,
8042         java/security/cert/CertificateFactorySpi.java,
8043         java/security/cert/X509CRL.java,
8044         java/security/cert/X509Certificate.java,
8045         java/security/spec/DSAPublicKeySpec.java:
8046         New versions from classpath.
8047         * gnu/java/security/provider/DERReader.java,
8048         gnu/java/security/provider/DERWriter.java,
8049         java/security/Engine.java: Removed.
8050         * Makefile.am
8051         (java_source_files, javax_source_files): Added new files.
8052         * Makefile.in: Regenerated.
8053
8054 2003-04-29  Michael Koch  <konqueror@gmx.de>
8055
8056         * javax/swing/JTable.java
8057         (AUTO_RESIZE_ALL_COLUMNS): New constant.
8058         (AUTO_RESIZE_LAST_COLUMN): New constant.
8059         (AUTO_RESIZE_NEXT_COLUMN): New constant.
8060         (AUTO_RESIZE_OFF): New constant.
8061         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
8062         (JTable): New method.
8063         (columnAdded): New method.
8064         (columnMarginChanged): New method.
8065         (columnMoved): New method.
8066         (columnRemoved): New method.
8067         (columnSelectionChanged): New method.
8068         (editingCanceled): New method.
8069         (editingStopped): New method.
8070         (getColumnModel): New method.
8071         (getPreferredScrollableViewportSize): New method.
8072         (getScrollableBlockIncrement): New method.
8073         (getScrollableTracksViewportHeight): New method.
8074         (getScrollableTracksViewportWidth): New method.
8075         (getScrollableUnitIncrement): New method.
8076         (getSelectedRow): New method.
8077         (getSelectionModel): New method.
8078         (tableChanged): New method.
8079         (setModel): New method.
8080         (setSelectionMode): New method.
8081         (setSelectionModel): New method.
8082         (setShowGrid): New method.
8083         (valueChanged): New method.
8084         * javax/swing/text/DefaultEditorKit.java
8085         (backwardAction): New constant.
8086         (beepAction): New constant.
8087         (beginAction): New constant.
8088         (beginLineAction): New constant.
8089         (beginParagraphAction): New constant.
8090         (beginWordAction): New constant.
8091         (copyAction): New constant.
8092         (cutAction): New constant.
8093         (defaultKeyTypedAction): New constant.
8094         (deleteNextCharAction): New constant.
8095         (deletePrevCharAction): New constant.
8096         (downAction): New constant.
8097         (endAction): New constant.
8098         (endLineAction): New constant.
8099         (endOfLineStringProperty): New constant.
8100         (endParagraphAction): New constant.
8101         (endWordAction): New constant.
8102         (forwardAction): New constant.
8103         (insertBreakAction): New constant.
8104         (insertContentAction): New constant.
8105         (insertTabAction): New constant.
8106         (nextWordAction): New constant.
8107         (pageDownAction): New constant.
8108         (pageUpAction): New constant.
8109         (pasteAction): New constant.
8110         (previousWordAction): New constant.
8111         (readOnlyAction): New constant.
8112         (selectAllAction): New constant.
8113         (selectionBackwardAction): New constant.
8114         (selectionBeginAction): New constant.
8115         (selectionBeginLineAction): New constant.
8116         (selectionBeginParagraphAction): New constant.
8117         (selectionBeginWordAction): New constant.
8118         (selectionDownAction): New constant.
8119         (selectionEndAction): New constant.
8120         (selectionEndLineAction): New constant.
8121         (selectionEndParagraphAction): New constant.
8122         (selectionEndWordAction): New constant.
8123         (selectionForwardAction): New constant.
8124         (selectionNextWordAction): New constant.
8125         (selectionPreviousWordAction): New constant.
8126         (selectionUpAction): New constant.
8127         (selectLineAction): New constant.
8128         (selectParagraphAction): New constant.
8129         (selectWordAction): New constant.
8130         (upAction): New constant.
8131         (writableAction): New constant.
8132
8133 2003-04-29  Michael Koch  <konqueror@gmx.de>
8134
8135         * java/util/PropertyPermission.java:
8136         New version from classpath
8137         * java/util/ResourceBundle.java:
8138         Partly merged from classpath
8139         (getObject): Reformated.
8140         (tryBundle): Set foundBundle = null if no bundle found.
8141
8142 2003-04-29  Michael Koch  <konqueror@gmx.de>
8143
8144         * javax/swing/AbstractListModel.java,
8145         javax/swing/DefaultBoundedRangeModel.java,
8146         javax/swing/DefaultSingleSelectionModel.java:
8147         New Versions from classpath.
8148
8149 2003-04-29  Michael Koch  <konqueror@gmx.de>
8150
8151         * java/awt/Window.java
8152         (show): Call super.show() instead of setVisible() to avoid endless
8153         loop.
8154         (hide): Call super.hide() instead of setVisible() to avoid endless
8155         loop.
8156
8157 2003-04-29  Michael Koch  <konqueror@gmx.de>
8158
8159         * java/util/zip/Deflater.java,
8160         java/util/zip/DeflaterOutputStream.java:
8161         Partly merged with classpath.
8162
8163 2003-04-27  Tom Tromey  <tromey@redhat.com>
8164
8165         * java/lang/natString.cc (_Jv_AllocString): Initialize
8166         cachedHashCode.
8167         (init): Likewise.
8168         (_Jv_NewStringUtf8Const): Likewise.
8169
8170 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
8171
8172         * include/jvm.h: (_Jv_GetNbArgs) added
8173         (_Jv_GetSafeArg) added
8174         (_Jv_SetArgs) added
8175         * prims.cc: (_Jv_GetNbArgs) implemented
8176         (_Jv_GetSafeArg) implemented
8177         (_Jv_SetArgs) implemented
8178         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
8179         setting _Jv_argc and _Jv_argv
8180         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
8181         instead of _Jv_argv
8182         * java/lang/natRuntime.cc: (insertSystemProperties) use
8183         _Jv_GetSafeArg() instead of _Jv_argv
8184
8185 2003-04-23  Tom Tromey  <tromey@redhat.com>
8186
8187         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
8188         required by this object.  Search superclasses to find required
8189         alignment.
8190         (get_alignment_from_class): Use alignment of type as it appears
8191         in a struct.
8192         (ALIGNOF): New macro.
8193         (struct aligner): New helper structure.
8194
8195 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
8196
8197         * java/awt/Container.java (addImpl): Enable paint events if adding
8198         a lightweight to a heavyweight.
8199         (addNotify): Ensure that peer is created before
8200         addNotifyContainerChildren.
8201         (addNotifyContainerChildren): Enable paint events if a heavyweight
8202         container contains a lightweight.
8203
8204 2003-04-20  Tom Tromey  <tromey@redhat.com>
8205
8206         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
8207         java/io/DataInput.java, java/io/DataOutput.java: Imports from
8208         Classpath.
8209
8210 2003-04-19  Tom Tromey  <tromey@redhat.com>
8211
8212         * java/sql/Date.java, java/sql/DriverManager.java,
8213         java/sql/Time.java, java/sql/Timestamp.java: New versions from
8214         Classpath.
8215
8216         * Makefile.in: Rebuilt.
8217         * Makefile.am (ordinary_java_source_files): Added new files.
8218         * java/security/AlgorithmParameterGenerator.java,
8219         java/security/AlgorithmParameters.java, java/security/Engine.java,
8220         java/security/Identity.java, java/security/IdentityScope.java,
8221         java/security/KeyFactory.java,
8222         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
8223         java/security/MessageDigest.java, java/security/Policy.java,
8224         java/security/ProtectionDomain.java,
8225         java/security/SecureRandom.java, java/security/Security.java,
8226         java/security/Signature.java, java/security/SignatureSpi.java,
8227         java/security/SignedObject.java, java/security/Signer.java,
8228         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
8229         java/security/spec/PSSParameterSpec.java,
8230         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
8231         java/security/spec/RSAOtherPrimeInfo.java: New versions from
8232         Classpath.
8233
8234 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8235
8236         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
8237         (dispose): Null metrics.
8238         * gnu/awt/xlib/XToolkit.java (sync): Implement.
8239         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
8240         finalize.
8241         (finalize): Call dispose.
8242         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
8243         (gcCachedCount): New field.
8244         (finalize): New method.
8245         (putGCInCache): New method.
8246         (getGCFromCache): New method.
8247         * gnu/gcj/xlib/GC.java (GC): Make protected.
8248         (clone): Get new GC from cache if possible.
8249         (create): New static method.
8250         (dispose): Save old GC in cache.
8251         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
8252         deleting.
8253         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
8254         is null.
8255         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
8256         * java/awt/Container.java (visitChild): Dispose gfx2 when
8257         finished.
8258
8259 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
8260
8261         * java/math/BigInteger.java (probablePrime): New.
8262         * java/math/BigDecimal.java (unscaledValue): New.
8263
8264 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
8265
8266         * java/io/File.java (getAbsolutePath): On Windows, take care
8267         of paths like "C:", "G:foo\bar", etc.
8268         (getName): Make it work correctly on Windows.
8269         (getParent): Make it work correctly on Windows. For UNIX,
8270         fix bug that causes "/" to be returned as the parent of "/",
8271         instead of null as returned by Sun's JRE.
8272
8273         * java/io/natFileWin32.cc: Change copyright owner to FSF.
8274
8275 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8276
8277         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
8278         inner class.
8279         (CACHE_SIZE_PER_DISPLAY): New field
8280         (fontMetricsCache): New field
8281         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
8282         loading ISO10646-1 fonts.
8283
8284 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8285
8286         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
8287         characters.
8288         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
8289         characters.
8290
8291 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
8292
8293         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
8294         floating point.
8295
8296 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
8297
8298         * configure.host (*-linux*): Don't set slow_pthread_self if primary
8299         installed libpthread is either linuxthreads with floating stacks or
8300         NPTL.
8301
8302 2003-04-14  Tom Tromey  <tromey@redhat.com>
8303
8304         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
8305         of alignment.
8306
8307 2003-04-10  Tom Tromey  <tromey@redhat.com>
8308
8309         * verify.cc (pop64): Removed.
8310         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
8311         exception if top-of-stack is narrow.
8312         (initialize_stack): Check to ensure that <init> is not static and
8313         <clinit> is.
8314
8315 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
8316
8317         * java/io/ObjectStreamException
8318         * java/io/FileFilter
8319         * java/io/FilenameFilter
8320         * java/io/ObjectInput
8321         * java/io/ObjectOutput
8322         * java/io/ObjectStreamConstants
8323         Minor doc fixes, format fixes, spelling corrections, etc.
8324         * java/io/DataInput
8325         Corrected code samples in Javadocs to match reality
8326         * java/io/DataOutput
8327         * java/io/ObjectInputValidation
8328         Major documentation fixes - all Javadocs re-written or updated
8329
8330 2003-04-06  Michael Koch  <konqueror@gmx.de>
8331
8332         * java/net/URLConnection.java:
8333         Import classes directly.
8334         (URLConnection): Merged class documentation with classpath.
8335         (url): Moved, documentation from classpath added.
8336         (doInput): Moved, documentation from classpath added.
8337         (doOutput): Moved, documentation from classpath added.
8338         (allowUserInteraction): Moved.
8339         (useCaches): Moved, documentation from classpath added.
8340         (ifModifiedSince): Moved, documentation from classpath added.
8341         (connected): Moved, documentation from classpath added.
8342
8343 2003-04-06  Michael Koch  <konqueror@gmx.de>
8344
8345         * java/io/FileInputStream.java
8346         (skip): Renamed some variables to match classpath, added
8347         checks from classpath.
8348
8349 2003-03-31  Michael Koch  <konqueror@gmx.de>
8350
8351         * javax/swing/AbstractAction.java
8352         (AbstractAction): Reformatted.
8353         (serialVersionUID): New private member variable.
8354         * javax/swing/plaf/BorderUIResource.java
8355         (serialVersionUID): New private member variable.
8356         * javax/swing/plaf/basic/BasicLookAndFeel.java
8357         (serialVersionUID): New private member variable.
8358
8359 2003-03-31  Michael Koch  <konqueror@gmx.de>
8360
8361         * java/sql/Date.java
8362         (valueOf): Deprecated, reformatted.
8363         (toString): Deprecated, reformatted.
8364         * java/sql/Time.java
8365         (valueOf): Deprecated, reformatted.
8366         (toString): Deprecated, reformatted.
8367
8368 2003-03-31  Michael Koch  <konqueror@gmx.de>
8369
8370         * java/rmi/dgc/VMID.java
8371         (isUnique): Deprecated.
8372
8373 2003-03-31  Michael Koch  <konqueror@gmx.de>
8374
8375         * java/io/File.java
8376         (separator): Merged documentation from classpath.
8377         (separatorChar): Merged documentation from classpath.
8378         (pathSeparator): Merged documentation from classpath.
8379         (pathSeparatorChar): Merged documentation from classpath.
8380         (path): Merged documentation from classpath.
8381         (canRead): Merged documentation from classpath.
8382         (canWrite): Merged documentation from classpath.
8383         (createNewFile): Merged documentation from classpath.
8384         (delete): Merged documentation from classpath.
8385         (equals): Merged documentation from classpath.
8386         (exists): Merged documentation from classpath.
8387         (File): Renamed p to name to match classpath, merged documentation
8388         from classpath.
8389         (getAbsolutePath): Merged documentation from classpath.
8390         (getCanonicalPath): Merged documentation from classpath.
8391         (getCanonicalFile): Merged documentation from classpath.
8392         (getName): Merged documentation from classpath.
8393         (getParent): Merged documentation from classpath.
8394         (getParentFile): Merged documentation from classpath.
8395         (getPath): Merged documentation from classpath.
8396         (hashCode): Merged documentation from classpath.
8397         (isAbsolute): Merged documentation from classpath.
8398         (isDirectory): Merged documentation from classpath.
8399         (isFile): Merged documentation from classpath.
8400         (isHidden): Merged documentation from classpath.
8401         (lastModified): Merged documentation from classpath.
8402         (length): Merged documentation from classpath.
8403         (list): Merged documentation from classpath.
8404         (listFiles): Merged documentation from classpath.
8405         (toString): Merged documentation from classpath.
8406         (toURL): Merged documentation from classpath.
8407         (mkdir): Merged documentation from classpath.
8408         (mkdirs): Merged documentation from classpath.
8409         (createTempFile): Merged documentation from classpath.
8410         (setReadOnly): Merged documentation from classpath.
8411         (listRoots): Merged documentation from classpath.
8412         (compareTo): Merged documentation from classpath.
8413         (renameTo): Merged documentation from classpath.
8414         (setLastModified): Merged documentation from classpath.
8415         * java/io/PrintStream.java
8416         (auto_flush): Merged documentation from classpath.
8417         (PrintStream): Merged documentation from classpath.
8418         (checkError): Merged documentation from classpath.
8419         (setError): Merged documentation from classpath.
8420         (close): Merged documentation from classpath.
8421         (flush): Merged documentation from classpath.
8422         (print): Merged documentation from classpath.
8423         (println):  Merged documentation from classpath.
8424         (write): Renamed count to len to match classpath,
8425         merged documentation from classpath.
8426         * java/io/RandomAccessFile.java
8427         (readShort): Merged documentation from classpath.
8428         (readUnsignedByte): Merged documentation from classpath.
8429         (readUnsignedShort): Merged documentation from classpath.
8430         (readUTF): Merged documentation from classpath.
8431         (seek): Reformatted, merged documentation from classpath.
8432         (skipBytes): Renamed some variables to match classpath, reformatted,
8433         merged documentation from classpath.
8434         (write): Merged documentation from classpath.
8435         (writeBoolean): Merged documentation from classpath.
8436         (writeByte): Merged documentation from classpath.
8437         (writeShort): Merged documentation from classpath.
8438         (writeChar): Merged documentation from classpath.
8439         (writeInt): Merged documentation from classpath.
8440         (writeLong): Merged documentation from classpath.
8441         (writeFloat): Merged documentation from classpath.
8442         (writeDouble): Merged documentation from classpath.
8443         (writeBytes): Merged documentation from classpath.
8444         (writeChars): Merged documentation from classpath.
8445         (writeUTF): Reformatted.
8446         (getChannel): Reformatted.
8447
8448 2003-03-31  Michael Koch  <konqueror@gmx.de>
8449
8450         * java/awt/font/TextAttribute.java
8451         (readResolve): Throws java.io.InvalidObjectException.
8452
8453 2003-03-31  Michael Koch  <konqueror@gmx.de>
8454
8455         * java/rmi/server/LoaderHandler.java
8456         (loadClass): Deprecated.
8457         (getSecurityContext): Deprecated.
8458         * java/rmi/server/LogStream.java
8459         (getDefaultStream): Deprecated.
8460         (setDefaultStream): Deprecated.
8461         (getOutputStream): Deprecated.
8462         (setOutputStream): Deprecated.
8463         (write): Deprecated.
8464         (toString): Deprecated.
8465         (parseLevel): Deprecated.
8466         * java/rmi/server/Operation.java
8467         (Operation): Deprecated.
8468         (getOperation): Deprecated.
8469         (toString): Deprecated.
8470         * java/rmi/server/RemoteCall.java
8471         (getOutputStream): Deprecated.
8472         (releaseOutputStream): Deprecated.
8473         (getInputStream): Deprecated.
8474         (releaseInputStream): Deprecated.
8475         (getResultStream): Deprecated.
8476         (executeCall): Deprecated.
8477         (done): Deprecated.
8478         * java/rmi/server/RemoteRef.java
8479         (invoke): Deprecated.
8480         (newCall): Deprecated.
8481         (done): Deprecated.
8482         * java/rmi/server/RemoteStub.java
8483         (setRef): Deprecated.
8484         * java/rmi/server/Skeleton.java:
8485         No need to import java.lang.Exception explicitly.
8486         (dispatch): Deprecated.
8487         (getOperations): Deprecated.
8488
8489 2003-03-31  Michael Koch  <konqueror@gmx.de>
8490
8491         * java/rmi/dgc/VMID.java,
8492         java/rmi/registry/RegistryHandler.java,
8493         java/rmi/server/LogStream.java,
8494         java/rmi/server/Operation.java,
8495         java/rmi/server/RemoteCall.java,
8496         java/rmi/server/RemoteRef.java,
8497         java/rmi/server/RemoteStub.java:
8498         Reformatted.
8499
8500 2003-03-31  Michael Koch  <konqueror@gmx.de>
8501
8502         * javax/swing/AbstractCellEditor.java,
8503         javax/swing/AbstractListModel.java,
8504         javax/swing/ActionMap.java,
8505         javax/swing/BorderFactory.java,
8506         javax/swing/ButtonGroup.java,
8507         javax/swing/DefaultBoundedRangeModel.java,
8508         javax/swing/DefaultButtonModel.java,
8509         javax/swing/DefaultCellEditor.java,
8510         javax/swing/DefaultComboBoxModel.java,
8511         javax/swing/DefaultDesktopManager.java,
8512         javax/swing/DefaultListCellRenderer.java,
8513         javax/swing/DefaultSingleSelectionModel.java,
8514         javax/swing/InputMap.java,
8515         javax/swing/JComponent.java,
8516         javax/swing/JMenu.java,
8517         javax/swing/JSlider.java,
8518         javax/swing/KeyStroke.java,
8519         javax/swing/OverlayLayout.java,
8520         javax/swing/ScrollPaneLayout.java,
8521         javax/swing/SizeRequirements.java,
8522         javax/swing/UIManager.java,
8523         javax/swing/ViewportLayout.java,
8524         javax/swing/border/AbstractBorder.java,
8525         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8526         javax/swing/event/EventListenerList.java,
8527         javax/swing/table/AbstractTableModel.java,
8528         javax/swing/table/DefaultTableCellRenderer.java,
8529         javax/swing/table/DefaultTableColumnModel.java,
8530         javax/swing/table/DefaultTableModel.java,
8531         javax/swing/table/TableColumn.java,
8532         javax/swing/text/StyledEditorKit.java,
8533         javax/swing/tree/DefaultMutableTreeNode.java,
8534         javax/swing/tree/DefaultTreeModel.java,
8535         javax/swing/tree/DefaultTreeSelectionModel.java,
8536         javax/swing/tree/TreePath.java,
8537         javax/swing/undo/AbstractUndoableEdit.java,
8538         javax/swing/undo/StateEdit.java,
8539         javax/swing/undo/StateEditable.java,
8540         javax/swing/undo/UndoableEditSupport.java:
8541         Merges from classpath.
8542
8543 2003-03-30  Tom Tromey  <tromey@redhat.com>
8544
8545         * java/lang/String.java (data, boffset, count): Documented.
8546         (String(byte[],String)): Reformatted.
8547         (String(byte[])): Likewise.
8548         (lastIndexOf(int)): Likewise.
8549         (lastIndexOf(String)): Likewise.
8550         (substring(int)): Renamed argument to match Classpath.
8551         (String(StringBuffer)): Don't share buffer if it is nearly empty.
8552
8553         * java/lang/String.java: Miscellaneous minor formatting changes
8554         to match Classpath more closely.
8555
8556 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
8557             Tom Tromey  <tromey@redhat.com>
8558
8559         * java/lang/natString.cc (hashCode): Use cachedHashCode.
8560         (init()): Removed.
8561         (charAt): Put index in exception.
8562         (contentEquals): New method.
8563         Include StringBuffer.h.
8564         * java/lang/String.java (cachedHashCode): New field.
8565         (String()): Follow classpath implementation.
8566         (init()): Removed.
8567         (contentEquals): Declare.
8568         (subSequence): Don't declare IndexOutIfBoundsException in throws
8569         clause.
8570         (matches, replaceFirst, replaceAll, split): New methods from
8571         Classpath.
8572
8573 2003-03-29  Tom Tromey  <tromey@redhat.com>
8574
8575         * java/lang/String.java: Reordered to follow Classpath; merged in
8576         javadoc.
8577
8578         * java/text/MessageFormat.java: Removed some whitespace.
8579
8580         * Makefile.in: Rebuilt.
8581         * Makefile.am (awt_java_source_files): Added new files.
8582         * gnu/javax/rmi/PortableServer.java,
8583         gnu/javax/rmi/CORBA/DelegateFactory.java,
8584         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
8585         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
8586         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
8587         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
8588         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
8589         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
8590         javax/rmi/PortableRemoteObject.java,
8591         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
8592         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8593         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
8594         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
8595         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
8596         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
8597
8598         * java/lang/natClass.cc (newInstance): Put method name in
8599         exception.
8600         (getConstructor): Likewise.
8601         (getDeclaredConstructor): Likewise.
8602         (getPrivateMethod): Likewise.
8603
8604 2003-03-28  Tom Tromey  <tromey@redhat.com>
8605
8606         * java/lang/reflect/Proxy.java: New version from Classpath.
8607         * java/lang/Package.java: New version from Classpath.
8608
8609 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
8610
8611         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
8612         * configure: Regenerate.
8613
8614 2003-03-28  Michael Koch  <konqueror@gmx.de>
8615
8616         * java/io/File.java:
8617         Import needed classes instead of whole packages, merged class
8618         documentation with classpath, moved constants and variables to top of
8619         class.
8620         * java/io/PrintStream.java:
8621         Merged class documentation with classpath, moved constants and
8622         variables to top of class.
8623         * java/io/RandomAccessFile.java
8624         (RandomAccessFile): Merged with classpath.
8625         (read): Merged with classpath).
8626         (read*): Reformatted.
8627
8628 2003-03-28  Michael Koch  <konqueror@gmx.de>
8629
8630         * java/io/FileDescriptor.java
8631         (finalize): Throws Throwable, not IOException.
8632         * java/io/ObjectOutputStream.java
8633         (PutField.put): Doesnt throws anything.
8634
8635 2003­03-28  Michael Koch  <konqueror@gmx.de>
8636
8637         * java/io/FileOutputStream.java:
8638         Merged class documentation and authors with classpath.
8639         (FileOutputStream): Partly merged with classpath.
8640         (write): Merged with classpath.
8641         (getChannel): Make it synchronized instead of explicit block in this
8642         method.
8643         * java/io/RandomAccessFile.java:
8644         Merged class documentation and authors with classpath.
8645
8646 2003-03-26  Tom Tromey  <tromey@redhat.com>
8647
8648         * java/lang/natRuntime.cc (insertSystemProperties): Set
8649         gnu.classpath.home.url.
8650         * Makefile.in: Rebuilt.
8651         * Makefile.am: Define LIBDIR.
8652
8653 2003-03-25  Michael Koch  <konqueror@gmx.de>
8654
8655         * java/io/FileInputStream.java
8656         (read): Renamed b to buf and off to offset.
8657         * java/io/FileOutputStream.java
8658         (ch): Documentation added.
8659         (FileOutputStream): Documentation added.
8660         (getFD): Documentation added.
8661         (write): Documentation added.
8662         (close): Documentation added.
8663         (getChannel): Documentation added.
8664
8665 2003-03-24  Michael Koch  <konqueror@gmx.de>
8666
8667         * java/io/DataOutputStream.java
8668         (write): Merged from classpath.
8669         * java/io/File.java:
8670         Merged copyrigth with classpath.
8671         * java/io/FileInputStream.java
8672         (getChannel): Made it synchronized instead of using a synchronized
8673         block.
8674         * java/io/FileOutputStream.java: Reformatted.
8675         * java/io/InputStreamReader.java
8676         (InputStreamReader): Renamed enc to encoding_name.
8677         (close): Merged documentation from classpath.
8678         (getEncoding): Merged documentation from classpath.
8679         (ready): Merged documentation from classpath.
8680         (read): Merged documentation from classpath.
8681         * java/io/LineNumberReader.java
8682         (lineNumber): Made it private.
8683         (LineNumberReader): Use Constant instead of a direct value.
8684         * java/io/OutputStreamWriter.java
8685         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
8686         documentation from classpath.
8687         (close): Merged documentation from classpath.
8688         (flush): Merged documentation from classpath.
8689         (write): Merged documentation from classpath.
8690         * java/io/PrintStream.java: Reformatted.
8691
8692 2003-03-24  Michael Koch  <konqueror@gmx.de>
8693
8694         * javax/swing/text/ComponentView.java
8695         (getComponent): Must be final.
8696         * javax/swing/tree/DefaultTreeCellRenderer.java:
8697         Reformatted.
8698         * javax/swing/undo/StateEditable.java:
8699         Reformatted.
8700
8701 2003-03-24  Michael Koch  <konqueror@gmx.de>
8702
8703         * java/rmi/activation/ActivationInstantiator.java:
8704         Reformatted.
8705         * java/rmi/activation/Activator.java:
8706         Reformatted.
8707         * java/rmi/registry/RegistryHandler.java:
8708         Remerged from classpath.
8709
8710 2003-03-24  Michael Koch  <konqueror@gmx.de>
8711
8712         * java/util/Date.java:
8713         Fixed documentation starting tag to make javadoc happy.
8714         * java/util/regex/Pattern.java
8715         (Pattern): Implements Serializable.
8716         * java/util/PatternSyntaxException.java
8717         (serialVersionUID): New member variable.
8718
8719 2003-03-24  Michael Koch  <koqnueror@gmx.de>
8720
8721         * java/awt/ContainerOrderFocusTraversalPolicy.java
8722         (getFirstComponent): Implemented.
8723         (getLastComponent): Implemented.
8724         (getDefaultComponent): Implemented.
8725         (setImplicitDownCycleTraversal): Fixed implementation.
8726         * java/awt/Robot.java
8727         (Robot): Added documentation.
8728         * java/awt/Toolkit.java
8729         (getFontList): Deprecated.
8730         (getFontMetrics): Deprecated.
8731         (getPrintJob): Added documentation.
8732         (getSystemSelection): Added documentation.
8733         (getLockingKeyState): Added documentation.
8734         (setLockingKeyState): Added documentation.
8735         (createCustomCursor): Added documentation.
8736         (getBestCursorSize): Added documentation.
8737         (getMaximumCursorColors): Added documentation.
8738         (isFrameStateSupported): Added documentation.
8739
8740 2003-03-24  Michael Koch  <konqueror@gmx.de>
8741
8742         * java/io/RandomAccessFile.java:
8743         More little merges with classpath. No code changes.
8744
8745 2003-03-24  Michael Koch  <konqueror@gmx.de>
8746
8747         * java/net/natInetAddressNoNet.cc:
8748         Include stddef.h.
8749         * java/net/natPlainDatagramSocketImplNoNet.cc:
8750         Fixed inlcude of java/net/DatagramPacket.h.
8751         * java/net/natPlainSocketImplNoNet.cc:
8752         Include some missing classes.
8753
8754 2003-03-24  Michael Koch  <konqueror@gmx.de>
8755
8756         * java/awt/dnd/DropTarget.java
8757         (DropTargetAutoScroller): According to the online documentation, this
8758         is protected, but in reality it is public.
8759         * java/awt/dnd/DropTargetContext.java
8760         (TransferableProxy): According to the online documentation, this
8761         is protected, but in reality it is public.
8762
8763 2003-03-24  Michael Koch  <konqueror@gmx.de>
8764
8765         * java/io/DataInputStream.java
8766         (): Wrapped documentation line.
8767         (): Fixed @return tag.
8768         * java/io/DataOutputStream.java
8769         (written): Moved to top of class.
8770         (all methods): Merged documentation from classpath.
8771         * java/io/File.java:
8772         Merged copyright year with classpath.
8773         * java/io/FileInputStream.java
8774         (all methods): Merged documentation from classpath.
8775         * java/io/LineNumberReader.java
8776         (getLineNumber): Fixed @return tag.
8777         * java/io/ObjectInputStream.java.
8778         Reformatted.
8779         * java/io/ObjectOutputStream.java:
8780         Reformatted, fixed some @see tags.
8781         * java/io/OutputStreamWriter.java:
8782         Deleted empty line.
8783         * java/io/Writer.java:
8784         Reformatted.
8785
8786 2003-03-24  Michael Koch  <konqueror@gmx.de>
8787
8788         * java/awt/Frame.java
8789         (DEFAULT_CURSOR): Fixed @deprecated tag.
8790         (setCursor): Fixed @deprecated tag.
8791
8792 2003-03-24  Michael Koch  <konqueror@gmx.de>
8793
8794         * java/beans/beancontext/BeanContextEvent.java:
8795         Reformated.
8796
8797 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
8798
8799         * java/lang/natStringBuffer.cc (regionMatches): New function.
8800         * java/lang/String.java (count): Now package-private.
8801         * java/lang/StringBuffer.java: Merged with Classpath.
8802
8803 2003-03-23  Michael Koch  <konqueror@gmx.de>
8804
8805         * java/io/BufferedOutputStream.java:
8806         Reformated.
8807         * java/io/BufferedReader.java:
8808         Reformated.
8809         * java/io/ByteArrayOutputStream.java
8810         (size): Fixed @see tag.
8811         * java/io/CharArrayWriter.java
8812         (size): Fixed @see tag.
8813         * java/io/DataInput.java:
8814         Reformated.
8815         * java/io/DataOutput.java:
8816         Reformated.
8817         * java/io/DataOutputStream.java:
8818         Merged copyright years with classpath.
8819         * java/io/Externalizable.java:
8820         Reformated.
8821         * java/io/FileFilter.java:
8822         Reformated.
8823         * java/io/FileInputStream.java:
8824         Merged copyright years with classpath.
8825         * java/io/FileOutputStream.java:
8826         Merged copyright years with classpath.
8827         * java/io/FilePermission.java
8828         (FilePermission): Replaced @XXX with FIXME:.
8829         * java/io/FileWriter.java:
8830         Reformated.
8831         * java/io/FilenameFilter.java:
8832         Reformated.
8833         * java/io/FilterInputStream.java:
8834         Reformated.
8835         * java/io/FilterOutputStream.java:
8836         Reformated.
8837         * java/io/FilterReader.java:
8838         Reformated.
8839         * java/io/FilterWriter.java:
8840         Reformated.
8841         * java/io/LineNumberInputStream.java
8842         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
8843         happy.
8844         (getLineNumber): Fixed @return tag.
8845         * java/io/ObjectInput.java:
8846         Reformated.
8847         * java/io/ObjectOutput.java:
8848         Reformated.
8849         * java/io/ObjectStreamClass.java:
8850         Reformated.
8851         * java/io/PrintStream.java:
8852         Merged copyright years with classpath.
8853         * java/io/PushbackReader.java
8854         (PushbackReader): Replaced @code with @param.
8855         * java/io/SerializablePermission.java:
8856         Reformated.
8857         * java/io/StreamTokenizer.java
8858         (resetSyntax): Fixed @see tag.
8859
8860 2003-03-22  Richard Henderson  <rth@redhat.com>
8861
8862         * sysdep/ia64/locks.h: Include ia64intrin.h.
8863         (compare_and_swap): Use __sync_bool_compare_and_swap.
8864         (compare_and_swap_release): Expose ar.ccv assignment.
8865
8866 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
8867
8868         * include/posix.h: Add suffix for darwin dynamic libraries.
8869
8870 2003-03-21  Michael Koch  <konqueror@gmx.de>
8871
8872         * javax/swing/Action.java
8873         (ACCELERATOR_KEY): New constant.
8874         (ACTION_COMMAND_KEY): Likewise.
8875         (MNEMONIC_KEY): Likewise.
8876         * javax/swing/UnsupportedLookAndFeelException.java
8877         (UnsupportedLookAndFeelException): Must be public.
8878         * javax/swing/WindowConstants.java
8879         (EXIT_ON_CLOSE): New constant.
8880         * javax/swing/text/BadLocationException.java
8881         (offset): New member variable.
8882         (BadLocationException): New implementation, documentation added.
8883         (offsetRequested): New method.
8884         * javax/swing/text/Caret.java:
8885         Reformated.
8886         * javax/swing/text/Document.java:
8887         Reformated.
8888
8889 2003-03-21  Michael Koch  <konqueror@gmx.de>
8890
8891         * java/rmi/activation/Activatable.java
8892         (serialVersionUID): New member variable.
8893         * java/rmi/activation/ActivationGroup.java
8894         (serialVersionUID): New member variable.
8895         * java/rmi/activation/ActivationGroupDesc.java
8896         (serialVersionUID): New member variable.
8897         * java/rmi/registry/Registry.java:
8898         Reformated.
8899         (Registry): Deprecated.
8900         * java/rmi/server/LoaderHandler.java
8901         Reformated.
8902         (LoaderHandler): Deprecated.
8903         * java/rmi/server/LogStream.java
8904         Reformated.
8905         (LogStream): Deprecated.
8906         * java/rmi/server/Operation.java
8907         (Operation): Deprecated.
8908         * java/rmi/server/RMIFailureHandler.java:
8909         Reformated.
8910         * java/rmi/server/RMISocketFactory.java:
8911         Reformated.
8912         * java/rmi/server/RemoteCall.java
8913         (RemoteCall): Deprecated.
8914         * java/rmi/server/RemoteStub.java:
8915         Reformated.
8916         * java/rmi/server/Skeleton.java
8917         Reformated.
8918         (Skeleton): Deprecated.
8919
8920 2003-03-21  Michael Koch  <konqueror@gmx.de>
8921
8922         * java/io/LineNumberReader.java
8923         (LineNumberReader): Merged documentation with classpath.
8924         (getLineNumber): Likewise.
8925         (setLineNumber): Likewise.
8926         (mark): Likewise.
8927         (reset): Likewise.
8928         (read): Likewise.
8929         (readLine): Likewise.
8930         (skip): Likewise.
8931
8932 2003-03-21  Michael Koch  <konqueror@gmx.de>
8933
8934         * java/rmi/RMISecurityManager.java
8935         (checkAccept): Removed.
8936         (checkAccess): Likewise.
8937         (checkAccess): Likewise.
8938         (checkAwtEventQueueAccess): Likewise.
8939         (checkConnect): Likewise.
8940         (checkCreateClassLoader): Likewise.
8941         (checkDelete): Likewise.
8942         (checkExec): Likewise.
8943         (checkExit): Likewise.
8944         (checkLink): Likewise.
8945         (checkListen): Likewise.
8946         (checkMemberAccess): Likewise.
8947         (checkMulticast): Likewise.
8948         (checkPackageAccess): Likewise.
8949         (checkPackageDefinition): Likewise.
8950         (checkPermission): Likewise.
8951         (checkPrintJobAccess): Likewise.
8952         (checkPropertiesAccess): Likewise.
8953         (checkPropertyAccess): Likewise.
8954         (checkRead): Likewise.
8955         (checkSecurityAccess): Likewise.
8956         (checkSetFactory): Likewise.
8957         (checkSystemClipboardAccess): Likewise.
8958         (checkTopLevelWindow): Likewise.
8959         (checkWrite): Likewise.
8960
8961 2003-03-20  Michael Koch  <konqueror@gmx.de>
8962
8963         * gnu/java/nio/FileChannelImpl.java
8964         (address): Removed.
8965         (map_address): New member variable.
8966         (length): Make it package private.
8967         (fd): Make it package private.
8968         (buf): Make it package private.
8969         (file_obj): Make it package private.
8970         (FileChannelImpl): New constructor.
8971         (nio_mmap_file): Use RawData instead of long.
8972         (nio_munmap_file): Use RawData instead of long.
8973         (nio_msync): Use RawData instead of long.
8974         (implCloseChannel): New implementation using map_address.
8975         (read): Reformated.
8976         (map): Implemented.
8977         (create_direct_mapped_buffer): Implemented, use RawData, throws
8978         IOException.
8979         (force): Use map_address instead of address.
8980         * gnu/java/nio/MappedByteFileBuffer.java
8981         (address): Removed.
8982         (map_address): New member variable.
8983         (MappedByteFileBuffer): Use map_address instead of address, reformated.
8984         (several methods): Use map_address instead of address, replaced long
8985         with RawData where appropriate.
8986         * gnu/java/nio/natFileChannelImpl.cc
8987         (nio_mmap_file): Replaced long with RawData.
8988         (nio_munmap_file): Replaced long with RawData.
8989         (nio_msync): Replaced long with RawData.
8990         * gnu/java/nio/natMappedByteFileBuffer.cc
8991         (several methods): Replaced long with RawData where appropriate.
8992
8993 2003-03-20  Michael Koch  <konqueror@gmx.de>
8994
8995         * java/net/InetAddress.java,
8996         java/net/JarURLConnection.java,
8997         java/net/PlainDatagramSocketImpl.java,
8998         java/net/PlainSocketImpl.java,
8999         java/net/URLConnection.java:
9000         Merged copyright statements with classpath for easier merging.
9001
9002 2003-03-20  Michael Koch  <konqueror@gmx.de>
9003
9004         * java/io/FileInputStream.java
9005         (getChannel): New implementation.
9006         * java/io/FileOutputStream.java
9007         (ch): New member variable.
9008         (getChannel): Implemented.
9009         * java/io/RandomAccessFile.java
9010         (RandomAccessFile): Throws FileNotFoundException instead of
9011         IOException.
9012         (getChannel): New method.
9013         (ch): New member variable.
9014
9015 2003-03-20  Michael Koch  <konqueror@gmx.de>
9016
9017         * java/io/DataOutputStream.java,
9018         java/io/File.java,
9019         java/io/FileInputStream.java,
9020         java/io/FileOutputStream.java,
9021         java/io/InputStreamReader.java,
9022         java/io/LineNumberReader.java,
9023         java/io/OutputStreamWriter.java,
9024         java/io/PrintStream.java,
9025         java/io/RandomAccessFile.java:
9026         Merged copyright statements with classpath for easier merging.
9027
9028 2003-03-19  Michael Koch  <konqueror@gmx.de>
9029
9030         * java/lang/Process.java:
9031         Merged from classpath.
9032
9033 2003-03-19  Michael Koch  <konqueror@gmx.de>
9034
9035         * java/io/FileOutputStream.java
9036         (FileOutputStream): New constructor, merged from classpath.
9037         * java/io/FileWriter.java
9038         (FileWriter): New constructor, merged from classpath.
9039
9040 2003-03-18  Michael Koch  <konqueror@gmx.de>
9041
9042         * java/awt/ScrollPane.java
9043         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
9044         (getViewportSize): Likewise.
9045         (addNotify): Likewise.
9046         (removeNotify): Likewise.
9047         * java/awt/ScrollPaneAdjustable.java
9048         (ScrollPaneAdjustable): No longer extends Scrollbar.
9049         * java/beans/beancontext/BeanContextServices.java:
9050         Reformated.
9051         (getService): Added throws TooManyListenersException;
9052         * java/beans/beancontext/BeanContextServicesSupport.java:
9053         Reformated.
9054
9055 2003-03-18  Michael Koch  <konqueror@gmx.de>
9056
9057         * java/io/BufferedOutputStream.java,
9058         java/io/DataInput.java,
9059         java/io/DataInputStream.java,
9060         java/io/DataOutput.java,
9061         java/io/Externalizable.java:
9062         More merges from classpath.
9063
9064 2003-03-18  Michael Koch  <konqueror@gmx.de>
9065
9066         * configure.in: Fixed links to platform dependant java.net files.
9067         * configure: Regenerated.
9068         * java/net/natInetAddress.cc,
9069         java/net/natNetworkInterface.cc,
9070         java/net/natPlainDatagramSocketImpl.cc,
9071         java/net/natPlainSocketImpl.cc:
9072         Removed.
9073
9074 2003-03-18  Michael Koch  <konqueror@gmx.de>
9075
9076         * configure.in: Create links to architecture dependent files,
9077         introduced PLATFORMNET variable (set to NoNet for newlib usage).
9078         * configure: Regenerated.
9079         * java/net/natInetAddressNoNet.cc,
9080         java/net/natInetAddressPosix.cc,
9081         java/net/natInetAddressWin32.cc,
9082         java/net/natNetworkInterfaceNoNet.cc,
9083         java/net/natNetworkInterfacePosix.cc,
9084         java/net/natNetworkInterfaceWin32.cc,
9085         java/net/natPlainDatagramSocketImplNoNet.cc,
9086         java/net/natPlainDatagramSocketImplPosix.cc,
9087         java/net/natPlainDatagramSocketImplWin32.cc,
9088         java/net/natPlainSocketImplNoNet.cc,
9089         java/net/natPlainSocketImplPosix.cc,
9090         java/net/natPlainSocketImplWin32.cc: New files.
9091
9092 2003-03-18  Michael Koch  <konqueror@gmx.de>
9093
9094         * java/io/BufferedReader.java,
9095         java/io/BufferedWriter.java,
9096         java/io/ByteArrayOutputStream.java,
9097         java/io/FileFilter.java,
9098         java/io/FilePermission.java,
9099         java/io/FileReader.java,
9100         java/io/FileWriter.java,
9101         java/io/FilenameFilter.java,
9102         java/io/FilterInputStream.java,
9103         java/io/FilterOutputStream.java,
9104         java/io/FilterReader.java,
9105         java/io/FilterWriter.java,
9106         java/io/ObjectInput.java,
9107         java/io/ObjectInputValidation.java,
9108         java/io/ObjectOutput.java,
9109         java/io/ObjectStreamField.java,
9110         java/io/PipedInputStream.java,
9111         java/io/PipedReader.java,
9112         java/io/PrintWriter.java,
9113         java/io/PushbackReader.java,
9114         java/io/Reader.java,
9115         java/io/SerializablePermission.java,
9116         java/io/StringReader.java,
9117         java/io/Writer.java:
9118         Merged from classpath.
9119
9120 2003-03-17  Michael Koch  <konqueror@gmx.de>
9121
9122         * java/awt/ScrollPaneAdjustable.java:
9123         Compile fixes.
9124         
9125 2003-03-17  Michael Koch  <konqueror@gmx.de>
9126
9127         * java/net/DatagramSocket.java
9128         (connect): Fixed comment.
9129         * java/nio/ByteBuffer.java
9130         (hasArray): Fixed comment.
9131
9132 2003-03-17  Michael Koch  <konqueror@gmx.de>
9133
9134         * java/beans/Beans.java:
9135         Explicitely import classes not packages.
9136         * java/beans/FeatureDescriptor.java
9137         (preferred): New member variable.
9138         (isPreferred): New method.
9139         (setPreferred): New method.
9140         * java/beans/PropertyEditorManager.java:
9141         Explicitely import used classes.
9142         * java/beans/beancontext/BeanContextChild.java:
9143         Added line wrapping.
9144         * java/beans/beancontext/BeanContextChildSupport.java:
9145         Reindented.
9146         * java/beans/beancontext/BeanContextEvent.java:
9147         Reindented.
9148
9149 2003-03-17  Michael Koch  <konqueror@gmx.de>
9150
9151         * java/awt/Dialog.java
9152         (Dialog): New constructor, changed implementations, added
9153         documentation.
9154         * java/awt/ScrollPaneAdjustable.java
9155         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
9156         Serializable.
9157         (serialVersionUID): New member variable.
9158         (sp): New member variable.
9159         (orientation): New member variable.
9160         (value): New member variable.
9161         (minimum): New member variable.
9162         (maximum): New member variable.
9163         (visibleAmount): New member variable.
9164         (unitIncrement): New member variable.
9165         (blockIncrement): New member variable.
9166         (AdjustmentListener): New member variable.
9167         (ScrollPaneAdjustable): New implementation.
9168         (addAdjustmentListener): New method.
9169         (removeAdjustmentListener): New method.
9170         (getAdjustmentListeners): New method.
9171         (getBlockIncrement): New method.
9172         (getMaximum): New method.
9173         (getMinimum): New method.
9174         (getOrientation): New method.
9175         (getUnitIncrement): New method.
9176         (getValue): New method.
9177         (getVisibleAmount): New method.
9178         (setBlockIncrement): New method.
9179         (setMaximum): Implemented.
9180         (setMinimum): Implemented.
9181         (setUnitIncrement): New method.
9182         (setValue): New method.
9183         (setVisibleAmount): Implemented. 
9184         (paramString): New stubbed method.
9185         * java/awt/Window.java
9186         (show): Call setVisible().
9187         (hide): Call setVisible().
9188         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
9189         and WINDOW_STATE_CHANGED.
9190         (processWindowFocusEvent): New method.
9191         (processWindowStateEvent): New method.
9192         (postEvent): Deprecated.
9193         (applyResourceBundle): Deprecated.
9194         * java/awt/datatransfer/DataFlavor.java
9195         (DataFlavor): Doesn't thow ClassNotFoundException.
9196
9197 2003-03-17  Michael Koch
9198
9199         * javax/print/attribute/Attribute.java,
9200         javax/print/attribute/AttributeSet.java,
9201         javax/print/attribute/PrintRequestAttributeSet.java:
9202         New files.
9203         * Makefile.am
9204         (javax_source_files): Added new files:
9205         javax/print/attribute/Attribute.java
9206         javax/print/attribute/AttributeSet.java
9207         javax/print/attribute/PrintRequestAttributeSet.java
9208         * Makefile.in: Regenerated.
9209
9210 2003-03-17  Michael Koch
9211
9212         * javax/print/attribute/Attribute.java,
9213         javax/print/attribute/AttributeSet.java,
9214         javax/print/attribute/PrintRequestAttributeSet.java:
9215         New files.
9216         * Makefile.am
9217         (awt_java_source_files): Added new files:
9218         javax/print/attribute/Attribute.java
9219         javax/print/attribute/AttributeSet.java
9220         javax/print/attribute/PrintRequestAttributeSet.java
9221         * Makefile.in: Regenerated.
9222
9223 2003-03-16  Tom Tromey  <tromey@redhat.com>
9224
9225         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
9226         Include platform.h.
9227         * java/lang/natRuntime.cc (insertSystemProperties): Use
9228         _Jv_platform_path_separator.
9229         (nativeGetLibname): Use _Jv_platform_file_separator.
9230         (_load): Use _Jv_platform_onload_names.
9231         (onload_names): New global.
9232         * include/win32.h (_Jv_platform_file_separator): New define.
9233         (_Jv_platform_path_separator): Likewise.
9234         (_Jv_platform_onload_names): Likewise.
9235         (_Jv_platform_ffi_abi): Likewise.
9236         * include/posix.h (_Jv_platform_file_separator): New define.
9237         (_Jv_platform_path_separator): Likewise.
9238         (_Jv_platform_onload_names): Likewise.
9239         (_Jv_platform_ffi_abi): Likewise.
9240
9241 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
9242
9243         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
9244
9245 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
9246
9247         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
9248         hierarchy loop.
9249         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
9250         list to Object,ObjectStreamClass, moved callReadMethod code up into
9251         readObject and added Class argument to all setXxxField calls.
9252         (callReadMethod): Changed Class argument to ObjectStreamClass to be
9253         consistent with ObjectOutputStream and to facilitate caching the
9254         Method in the future.
9255         (setBooleanField): Added Class argument.
9256         (setByteField): Likewise.
9257         (setCharField): Likewise.
9258         (setDoubleField): Likewise.
9259         (setFloatField): Likewise.
9260         (setIntField): Likewise.
9261         (setLongField): Likewise.
9262         (setShortField): Likewise.
9263         (setObjectField): Likewise.
9264         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
9265         class hierarchy loop.
9266         (defaultWriteObject): Call writeFields with new argument list.
9267         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
9268         list to Object,ObjectStreamClass, moved callWriteMethod up into
9269         writeObject and added Class argument to all getXxxField calls.
9270         (callWriteMethod): Added ObjectStreamClass argument to be able to
9271         get the proper class to call getMethod on (each class can have (or
9272         not have) its own writeObject method).
9273         (getBooleanField): Added Class argument.
9274         (getByteField): Likewise.
9275         (getCharField): Likewise.
9276         (getDoubleField): Likewise.
9277         (getFloatField): Likewise.
9278         (getIntField): Likewise.
9279         (getLongField): Likewise.
9280         (getShortField): Likewise.
9281         (getObjectField): Likewise.
9282         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
9283         facilitate caching the Method object in the future.
9284
9285 2003-03-12  Andreas Schwab  <schwab@suse.de>
9286
9287         * configure.in: Avoid trailing /. in toolexeclibdir.
9288         * configure: Rebuilt.
9289
9290 2003-03-11  Michael Koch  <konqueror@gmx.de>
9291
9292         * gnu/java/nio/ByteBufferImpl.java
9293         (putInt): Use limit() instead of limit.
9294         * gnu/java/nio/CharBufferImpl.java
9295         (slice): Fixed implementation.
9296         (subSequence): Better bounds checking.
9297         * gnu/java/nio/MappedByteFileBuffer.java:
9298         Import all needed classes directly.
9299         * java/nio/ByteBuffer.java
9300         (hashCode): New dummy method.
9301         * java/nio/CharBuffer.java
9302         (array_offset): New member variable.
9303         (hasArray): Fixed documentation.
9304         (arrayOffset): Return array_offset.
9305
9306 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
9307
9308         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
9309         setter; made return value of getter const char* instead of char*
9310         * prims.cc: removed all references to _Jv_ThisExecutable().
9311         These are in the platform-specific sections now.
9312         * posix.cc: define platform-specific _Jv_ThisExecutable().
9313         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
9314         * win32.cc: define platform-specific _Jv_ThisExecutable()
9315         using GetModuleFilename()
9316         * java/lang/natRuntime.cc: set gnu.gcj.progname property
9317         to argv[0] instead of _Jv_ThisExecutable()
9318
9319 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
9320
9321         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
9322         that is set if we are using addr2name.awk instead of addr2line.
9323         (NameFinder): Set usingAddr2name if using addr2name.awk.
9324         (getExternalLabel): New native method to convert a method 
9325         name to an external label.
9326         (lookup): Convert name given by addr2line to an external label
9327         before demangling.
9328
9329         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
9330         constant representing the prefix attached to method names to
9331         convert them to an external label.
9332         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
9333         using LABEL_PREFIX.
9334
9335 2003-03-10  Tom Tromey  <tromey@redhat.com>
9336
9337         * Makefile.in: Rebuilt.
9338         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
9339         (JC1FLAGS): Removed -Wno-deprecated.
9340
9341 2003-03-10  Michael Koch  <konqueror@gmx.de>
9342
9343         * java/nio/ByteOrder.java
9344         (nativeOrder): Working implementation, added documentation.
9345         (toString): Added documentation.
9346
9347 2003-03-10  Michael Koch  <konqueror@gmx.de>
9348
9349         * java/net/DatagramSocket.java,
9350         java/net/MulticastSocket.java,
9351         java/net/Socket.java,
9352         java/net/URL.java,
9353         java/net/URLConnection.java:
9354         Fixed some documentation tags to make javadoc and friends happy.
9355
9356 2003-03-10  Michael Koch  <koqnueror@gmx.de>
9357
9358         * java/beans/beancontext/BeanContextServicesSupport.java,
9359         java/beans/beancontext/BeanContextSupport.java: New files.
9360         * Makefile.am
9361         (awt_source_files): Added new files.
9362         * Makefile.in: Regenerated.
9363
9364 2003-03-10  Michael Koch  <konqueror@gmx.de>
9365
9366         * java/awt/FocusTraversalPolicy.java
9367         (FocusTraversalPolicy): Documentation added.
9368         (getComponentAfter): Documentation added.
9369         (getComponentBefore): Documentation added.
9370         (getFirstComponent): Documentation added.
9371         (getLastComponent): Documentation added.
9372         (getDefaultComponent): Documentation added.
9373         (getInitialComponent): Documentation added.
9374         * java/awt/ScrollPaneAdjustable.java
9375         (sp): New member variable.
9376         (orientation): New member variable.
9377         (value): New member variable.
9378         (minimum): New member variable.
9379         (maximum): New member variable.
9380         (visibleAmount): New member variable.
9381         (unitIncrement): New member variable.
9382         (blockIncrement): New member variable.
9383         (adjustmentListener): New member variable.
9384         (ScrollPaneAdjustable): Rewrote.
9385         (addAdjustmentListener): New method.
9386         (removeAdjustmentListener): New method.
9387         (getAdjustmentListeners): New method.
9388         (getBlockIncrement): New method.
9389         (getMaximum): New method.
9390         (getMinimum): New method.
9391         (getOrientation): New method.
9392         (getUnitIncrement): New method.
9393         (getValue): New method.
9394         (getVisibleAmount): New method.
9395         (setBlockIncrement): New method.
9396         (setUnitIncrement): New method.
9397         (setMaximum): Implemented.
9398         (setMinimum): Implemented.
9399         (setValue): New method.
9400         (setVisibleAmount): Implemented.
9401         (paramString): New method.
9402         * java/awt/Window.java
9403         (show): Use setVisible(true) instead of super.show().
9404         (hide): Use sevVisible(false) instead of super.hide().
9405         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
9406         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
9407         (postEvent): Deprecated.
9408         (applyResourceBundle): Deprecated.
9409         (processWindowFocusEvent): New method.
9410         (processWindowStateEvent): New method.
9411         * java/awt/datatransfer/DataFlavor.java: Reindented.
9412         * java/awt/font/TextHitInfo.java
9413         (charIndex): New member variable.
9414         (leadingEdge): New member variable.
9415         (TextHitInfo): New constructor.
9416         (getCharIndex): Implemented.
9417         (isLeadingEdge): Implemented.
9418         (getInsertionIndex): Implemented.
9419         (hashCode): Access charIndex directly.
9420         (equals): Reformated.
9421         (leading): Implemented.
9422         (trailing): Implemented.
9423         (beforeOffset): Implemented.
9424         (afterOffset): Implemented.
9425         (getOtherHit): Implemented.
9426         (getOffsetHit): Implemented.
9427         (toString): Implemented.
9428         * java/awt/image/BufferedImage.java
9429         (BufferedImage): Implements WritableRenderedImage.
9430         (observers): New member variable.
9431         (addTileObserver): New method.
9432         (removeTileObserver): New method.
9433
9434 2003-03-09  Tom Tromey  <tromey@redhat.com>
9435
9436         PR libgcj/9934:
9437         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
9438         to lseek.  Return 0 if we can't compute the value.
9439
9440 2003-03-03  Michael Koch  <konqueror@gmx.de>
9441
9442         * java/net/NetworkInterface.java: Merged with classpath.
9443
9444 2003-03-03  Tom Tromey  <tromey@redhat.com>
9445
9446         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
9447         of bytecode.
9448         (handle_ret_insn): Fail if returning to jsr that appears at end of
9449         bytecode.
9450
9451 2003-03-03  Michael Koch  <konqueror@gmx.de>
9452
9453         * Makefile.am
9454         (ordinary_java_source_files):
9455         Added gnu/java/nio/MappedByteFileBuffer.java.
9456         (nat_source_files):
9457         Added gnu/java/nio/natMappedByteFileBuffer.cc.
9458         * Makefile.in: Regenerated.
9459
9460 2003-03-03  Michael Koch  <konqueror@gmx.de>
9461
9462         * java/net/DatagramSocket.java
9463         (connect): Merged comment from classpath.
9464         (receive): Merged documentation from classpath.
9465         * java/net/Socket.java
9466         (setSoTimeout): Clarified documentation.
9467         * java/net/URL.java
9468         (getPath): Merged from classpath.
9469         (getUserInfo): Merged from classpath.
9470         (getQuery): Merged from classpath.
9471         * java/net/URLStreamHandler.java
9472         (toExternalForm): Merged from classpath.
9473
9474 2003-03-02  Mark Wielaard  <mark@klomp.org>
9475
9476         * java/util/Properties.java (load): Only skip line if the first
9477         character is a comment, whitespaces don't count.
9478
9479 2003-03-02  Michael Koch  <konqueror@gmx.de>
9480
9481         * java/net/NetPermission.java:
9482         Merged copyright with classpath.
9483
9484 2003-03-02  Michael Koch  <konqueror@gmx.de>
9485
9486         * java/lang/Package.java:
9487         Remerged from classpath.
9488
9489 2003-03-02  Michael Koch  <konqueror@gmx.de>
9490
9491         * java/net/HttpURLConnection.java
9492         (HTTP_SERVER_ERROR): Deprecated.
9493         * java/net/MulticastSocket.java
9494         (send): Replaced checkMulticast with appropriate checkPermission call,
9495         deprecated.
9496         * java/net/URLDecoder.java
9497         (decode): Deprecated.
9498         * java/net/URLEncoder.java
9499         (encode): Deprecated.
9500
9501 2003-03-02  Michael Koch  <konqueror@gmx.de>
9502
9503         * javax/swing/text/Caret.java
9504         (getMagicCaretPosition): Fixed typo in method name.
9505         * javax/swing/text/DefaultCaret.java
9506         (getMagicCaretPosition): Fixed typo in method name.
9507
9508 2003-03-02  Michael Koch  <konqueror@gmx.de>
9509
9510         * java/awt/List.java
9511         (setMultipleSelections): Deprecated.
9512         (delItem): Deprecated.
9513         * java/awt/MenuComponent.java
9514         (getPeer): Deprecated.
9515         * java/awt/ScrollPane.java
9516         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
9517         * java/awt/dnd/MouseDragGestureRecognizer.java
9518         (mouseClicked): Added comment.
9519         (mousePressed): Added comment.
9520         (mouseReleased): Added comment.
9521         (mouseEntered): Added comment.
9522         (mouseExited): Added comment.
9523         (mouseDragged): Added comment.
9524         (mouseMoved): Added comment.
9525         * java/awt/event/KeyEvent.java
9526         (KeyEvent): Deprecated.
9527         (setModifiers): Deprecated.
9528         
9529 2003-03-02  Michael Koch  <konqueror@gmx.de>
9530
9531         * gnu/java/nio/FileChannelImpl.java
9532         (fd): Type FileDescriptor instead of int.
9533         (lengthInternal): Removed.
9534         (FileChannelImpl): Fixed arguments, check type of file object.
9535         (size): Made it native.
9536         (implPosition): New native method.
9537         (implTruncate): New native method.
9538         (position): Implemented.
9539         (truncate): Implemented.
9540         (nio_mmap_file): Changed arguments.
9541         (nio_munmap_file): Changed arguments.
9542         (nio_msync): Changed arguments.
9543         * gnu/java/nio/natFileChannelImpl.cc
9544         (lengthInternal): Removed.
9545         (size): New method.
9546         (implPosition): New method.
9547         (implTruncate): New method.
9548         (nio_mmap_file): Changed arguments.
9549         (nio_munmap_file): Changed arguments.
9550         (nio_msync): Changed arguments.
9551
9552 2003-03-02  Michael Koch  <konqueror@gmx.de>
9553
9554         * java/awt/dnd/DropTargetContext.java:
9555         Compile fix: Forgot to commit import.
9556         
9557 2003-03-02  Michael Koch  <konqueror@gmx.de>
9558
9559         * java/awt/Component.java,
9560         java/awt/ScrollPane.java:
9561         Fixed typos.
9562
9563 2003-03-02  Michael Koch  <konqueror@gmx.de>
9564
9565         * java/awt/dnd/DnDEventMulticaster.java: New file.
9566         * java/awt/dnd/DragSource.java
9567         (flavorMap): New member variable.
9568         (dragSourceListener): New member variable.
9569         (dragSourceMotionListener): New member variable.
9570         (getFlavorMap): Implemented.
9571         (createDragGestureRecognizer): Implemented.
9572         (addDragSourceListener): Implemented.
9573         (removeDragSourceListener): Implemented.
9574         (getDragSourceListeners): Implemented.
9575         (addDragSourceMotionListener): Implemented.
9576         (removeDragSourceMotionListener): Implemented.
9577         (getDragSourceMotionListeners): Implemented.
9578         (getListeners): Implemented.
9579         * java/awt/dnd/DragSourceContext.java
9580         (peer): New member variable.
9581         (cursor): New member variable.
9582         (transferable): New member variable.
9583         (trigger): New member variable.
9584         (dragSourceListener): New member variable.
9585         (image): New member variable.
9586         (offset): New member variable.
9587         (DragSourceContext): Implemented.
9588         (getDragSource): Implemented.
9589         (getComponent): Implemented.
9590         (getTrigger): Implemented.
9591         (getSourceActions): Implemented.
9592         (setCursor): Implemented.
9593         (getCursor): Implemented.
9594         (addDragSourceListener): Implemented.
9595         (removeDragSourceListener): Implemented.
9596         (getTransferable): Implemented.
9597         * java/awt/dnd/DropTarget.java
9598         (DropTargetAutoScroller.component): New member variable.
9599         (DropTargetAutoScroller.point): New member variable.
9600         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
9601         (DropTargetAutoScroller.updateLocation): Implemented.
9602         (active): Renamed from isActive, defaults to true now.
9603         (component): New member variable.
9604         (flavorMap): New member variable.
9605         (actions): New member variable.
9606         (dropTargetContext): New member variable.
9607         (dropTargetListener): New member variable.
9608         (DropTarget): Implemented.
9609         (getComponent): Implemented.
9610         (setComponent): Implemented.
9611         (setDefaultActions): Implemented.
9612         (getDefaultActions): Implemented.
9613         (setActive): Use active instead of isActive.
9614         (isActive): Use active instead of isActive.
9615         (addDropTargetListener): Implemented.
9616         (removeDropTargetListener): Implemented.
9617         (getFlavorMap): Implemented.
9618         (setFlavorMap): Implemented.
9619         (getDropTargetContext): Implemented.
9620         (createDropTargetContext): Implemented.
9621         (createDropTargetAutoScroller): Implemented.
9622         * java/awt/dnd/DropTargetContext.java
9623         (TransferableProxy.getTransferDataFlavors): Implemented.
9624         (TransferableProxy.isDataFlavorSupported): Implemented.
9625         (TransferableProxy.getTransferData): Implemented.
9626         (dropTarget):  New member variable.
9627         (dtcp): New member variable.
9628         (DropTargetContext): New package private constructor.
9629         (getDropTarget): Implemented.
9630         (getComponent): Implemented.
9631         (addNotify): Implemented.
9632         (removeNotify): Implemented.
9633         (getCurrentDataFlavorsAsList): Implemented.
9634         (isDataFlavorSupported): Implemented.
9635         * java/awt/dnd/MouseDragGestureRecognizer.java
9636         (registerListeners): Implemented.
9637         (unregisterListeners): Implemented.
9638         * Makefile.am
9639         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
9640         * Makefile.in: Regenerated.
9641
9642 2003-03-02  Michael Koch  <konqueror@gmx.de>
9643
9644         * java/awt/Component.java
9645         (eventTypeEnabled): New method.
9646         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
9647         * java/awt/Container.java
9648         (changeSupport): New member variable.
9649         (addPropertyChangeListener): New methods.
9650         * java/awt/ContainerOrderFocusTraversalPolicy.java
9651         (ContainerOrderFocusTraversalPolicy): Added comment.
9652         (getComponentAfter): Throw exception, documentation added.
9653         (getComponentBefore): Throw exception, documentation added.
9654         (getFirstComponent): Throw exception, documentation added.
9655         (getLastComponent): Throw exception, documentation added.
9656         (getDefaultComponent): Throw exception, documentation added.
9657         * java/awt/EventQueue.java: Reindented.
9658         * java/awt/FocusTraversalPolicy.java:
9659         (FocusTraversalPolicy): Added comment.
9660         (getComponentAfter): Documentation added.
9661         (getComponentBefore): Documentation added.
9662         (getFirstComponent): Documentation added.
9663         (getLastComponent): Documentation added.
9664         (getDefaultComponent): Documentation added.
9665         (getInitialComponent): Documentation added.
9666         * java/awt/ScrollPane.java
9667         (wheelScrollingEnabled): New member variable.
9668         (ScrollPane): Initialize wheelScollingEnabled.
9669         (eventTypeEnabled): New method.
9670         (isWheelScrollingEnabled): New method.
9671         (setWheelScrollingEnabled): New method.
9672
9673 2003-03-02  Michael Koch  <konqueror@gmx.de>
9674
9675         * java/net/DatagramSocket.java
9676         (closed): New member variable.
9677         (close): Use closed variable.
9678         (getInetAddress): No need to call isConnected().
9679         (getPort): No need to call isConnected().
9680         (disconnect): Reset remoteAddress and remotePort, fixed typo.
9681         (isClosed): Reimplemented.
9682         
9683 2003-03-02  Michael Koch  <konqueror@gmx.de>
9684
9685         * configure.in: Added check for memory mapping of files.
9686         * configure: Regenerated.
9687         * config.h.in: Regenerated.
9688
9689 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
9690
9691         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
9692         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
9693
9694 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
9695
9696         * java/io/File.java (normalizePath): Remove trailing separator
9697         on Windows only if path is not of the form "x:\".
9698
9699         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
9700         (java::io::File::attr): Change formatting a bit and use
9701         WIN32_EPOCH_MILLIS instead of magic numbers.
9702         (java::io::File::isAbsolute): Path must have at least 3 
9703         characters for a UNC network path.
9704         (java::io::File::init_native): Define.
9705         (java::io::File::performCreate): Likewise.
9706         (java::io::File::performSetReadOnly): Likewise.
9707         (java::io::File::performSetLastModified): Likewise.
9708         (java::io::File::performListRoots): Likewise.
9709
9710 2003-03-01  Tom Tromey  <tromey@redhat.com>
9711
9712         * java/lang/natObject.cc: Don't include assert.h.
9713         (heavy_lock_obj_finalization_proc): Use JvAssert.
9714         (remove_all_heavy): Likewise.
9715         (_Jv_MonitorEnter): Likewise.
9716         (_Jv_MonitorExit): Likewise.
9717         (wait): Likewise.
9718
9719 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
9720
9721         * java/io/File (getAbsolutePath): Prefix drive specifier on
9722         Windows for paths starting with a '\'.
9723         (toURL): Make URL more consistent with what Sun's JDK returns.
9724
9725         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
9726         true only if the path is a UNC network path or it starts with a
9727         drive specifier.
9728
9729         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
9730         Be prepared to handle either '/' or '\\' in the file path for
9731         Windows if using the "file" protocol.
9732         Canonicalise the file path if using a relative path in the given
9733         context and the "file" protocol.
9734
9735 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
9736
9737         * java/lang/natWin32Process.cc (startProcess): Double-quote each
9738         program array element passed to CreateProcess.
9739
9740 2003-03-01  Tom Tromey  <tromey@redhat.com>
9741
9742         * java/rmi/registry/RegistryHandler.java: Deprecate.
9743
9744 2003-03-01  Tom Tromey  <tromey@redhat.com>
9745
9746         * javax/accessibility/AccessibleEditableText.java,
9747         javax/accessibility/AccessibleHyperlink.java: New versions from
9748         Classpath.
9749
9750         * gnu/java/locale/LocaleInformation_af_ZA.java,
9751         gnu/java/locale/LocaleInformation_ar_AE.java,
9752         gnu/java/locale/LocaleInformation_ar_BH.java,
9753         gnu/java/locale/LocaleInformation_ar_DZ.java,
9754         gnu/java/locale/LocaleInformation_ar_EG.java,
9755         gnu/java/locale/LocaleInformation_ar_IN.java,
9756         gnu/java/locale/LocaleInformation_ar_IQ.java,
9757         gnu/java/locale/LocaleInformation_ar_JO.java,
9758         gnu/java/locale/LocaleInformation_ar_KW.java,
9759         gnu/java/locale/LocaleInformation_ar_LB.java,
9760         gnu/java/locale/LocaleInformation_ar_LY.java,
9761         gnu/java/locale/LocaleInformation_ar_MA.java,
9762         gnu/java/locale/LocaleInformation_ar_OM.java,
9763         gnu/java/locale/LocaleInformation_ar_QA.java,
9764         gnu/java/locale/LocaleInformation_ar_SD.java,
9765         gnu/java/locale/LocaleInformation_ar_SY.java,
9766         gnu/java/locale/LocaleInformation_ar_TN.java,
9767         gnu/java/locale/LocaleInformation_ar_YE.java,
9768         gnu/java/locale/LocaleInformation_be_BY.java,
9769         gnu/java/locale/LocaleInformation_bn_IN.java,
9770         gnu/java/locale/LocaleInformation_br_FR.java,
9771         gnu/java/locale/LocaleInformation_bs_BA.java,
9772         gnu/java/locale/LocaleInformation_ca_ES.java,
9773         gnu/java/locale/LocaleInformation_cs_CZ.java,
9774         gnu/java/locale/LocaleInformation_cy_GB.java,
9775         gnu/java/locale/LocaleInformation_da_DK.java,
9776         gnu/java/locale/LocaleInformation_de_AT.java,
9777         gnu/java/locale/LocaleInformation_de_BE.java,
9778         gnu/java/locale/LocaleInformation_de_CH.java,
9779         gnu/java/locale/LocaleInformation_de_DE.java,
9780         gnu/java/locale/LocaleInformation_de_LU.java,
9781         gnu/java/locale/LocaleInformation_el_GR.java,
9782         gnu/java/locale/LocaleInformation_en_AU.java,
9783         gnu/java/locale/LocaleInformation_en_BW.java,
9784         gnu/java/locale/LocaleInformation_en_CA.java,
9785         gnu/java/locale/LocaleInformation_en_DK.java,
9786         gnu/java/locale/LocaleInformation_en_GB.java,
9787         gnu/java/locale/LocaleInformation_en_HK.java,
9788         gnu/java/locale/LocaleInformation_en_IE.java,
9789         gnu/java/locale/LocaleInformation_en_IN.java,
9790         gnu/java/locale/LocaleInformation_en_NZ.java,
9791         gnu/java/locale/LocaleInformation_en_PH.java,
9792         gnu/java/locale/LocaleInformation_en_SG.java,
9793         gnu/java/locale/LocaleInformation_en_US.java,
9794         gnu/java/locale/LocaleInformation_en_ZA.java,
9795         gnu/java/locale/LocaleInformation_en_ZW.java,
9796         gnu/java/locale/LocaleInformation_es_AR.java,
9797         gnu/java/locale/LocaleInformation_es_BO.java,
9798         gnu/java/locale/LocaleInformation_es_CL.java,
9799         gnu/java/locale/LocaleInformation_es_CO.java,
9800         gnu/java/locale/LocaleInformation_es_CR.java,
9801         gnu/java/locale/LocaleInformation_es_DO.java,
9802         gnu/java/locale/LocaleInformation_es_EC.java,
9803         gnu/java/locale/LocaleInformation_es_ES.java,
9804         gnu/java/locale/LocaleInformation_es_GT.java,
9805         gnu/java/locale/LocaleInformation_es_HN.java,
9806         gnu/java/locale/LocaleInformation_es_MX.java,
9807         gnu/java/locale/LocaleInformation_es_NI.java,
9808         gnu/java/locale/LocaleInformation_es_PA.java,
9809         gnu/java/locale/LocaleInformation_es_PE.java,
9810         gnu/java/locale/LocaleInformation_es_PR.java,
9811         gnu/java/locale/LocaleInformation_es_PY.java,
9812         gnu/java/locale/LocaleInformation_es_SV.java,
9813         gnu/java/locale/LocaleInformation_es_US.java,
9814         gnu/java/locale/LocaleInformation_es_UY.java,
9815         gnu/java/locale/LocaleInformation_es_VE.java,
9816         gnu/java/locale/LocaleInformation_et_EE.java,
9817         gnu/java/locale/LocaleInformation_eu_ES.java,
9818         gnu/java/locale/LocaleInformation_fa_IR.java,
9819         gnu/java/locale/LocaleInformation_fi_FI.java,
9820         gnu/java/locale/LocaleInformation_fo_FO.java,
9821         gnu/java/locale/LocaleInformation_fr_BE.java,
9822         gnu/java/locale/LocaleInformation_fr_CA.java,
9823         gnu/java/locale/LocaleInformation_fr_CH.java,
9824         gnu/java/locale/LocaleInformation_fr_FR.java,
9825         gnu/java/locale/LocaleInformation_fr_LU.java,
9826         gnu/java/locale/LocaleInformation_ga_IE.java,
9827         gnu/java/locale/LocaleInformation_gd_GB.java,
9828         gnu/java/locale/LocaleInformation_gl_ES.java,
9829         gnu/java/locale/LocaleInformation_gv_GB.java,
9830         gnu/java/locale/LocaleInformation_he_IL.java,
9831         gnu/java/locale/LocaleInformation_hi_IN.java,
9832         gnu/java/locale/LocaleInformation_hr_HR.java,
9833         gnu/java/locale/LocaleInformation_hu_HU.java,
9834         gnu/java/locale/LocaleInformation_id_ID.java,
9835         gnu/java/locale/LocaleInformation_it_CH.java,
9836         gnu/java/locale/LocaleInformation_it_IT.java,
9837         gnu/java/locale/LocaleInformation_iw_IL.java,
9838         gnu/java/locale/LocaleInformation_ja_JP.java,
9839         gnu/java/locale/LocaleInformation_ka_GE.java,
9840         gnu/java/locale/LocaleInformation_kl_GL.java,
9841         gnu/java/locale/LocaleInformation_ko_KR.java,
9842         gnu/java/locale/LocaleInformation_kw_GB.java,
9843         gnu/java/locale/LocaleInformation_lt_LT.java,
9844         gnu/java/locale/LocaleInformation_lv_LV.java,
9845         gnu/java/locale/LocaleInformation_mi_NZ.java,
9846         gnu/java/locale/LocaleInformation_mk_MK.java,
9847         gnu/java/locale/LocaleInformation_mr_IN.java,
9848         gnu/java/locale/LocaleInformation_mt_MT.java,
9849         gnu/java/locale/LocaleInformation_nl_BE.java,
9850         gnu/java/locale/LocaleInformation_nl_NL.java,
9851         gnu/java/locale/LocaleInformation_nn_NO.java,
9852         gnu/java/locale/LocaleInformation_no_NO.java,
9853         gnu/java/locale/LocaleInformation_oc_FR.java,
9854         gnu/java/locale/LocaleInformation_pl_PL.java,
9855         gnu/java/locale/LocaleInformation_pt_BR.java,
9856         gnu/java/locale/LocaleInformation_pt_PT.java,
9857         gnu/java/locale/LocaleInformation_ro_RO.java,
9858         gnu/java/locale/LocaleInformation_ru_RU.java,
9859         gnu/java/locale/LocaleInformation_ru_UA.java,
9860         gnu/java/locale/LocaleInformation_se_NO.java,
9861         gnu/java/locale/LocaleInformation_sk_SK.java,
9862         gnu/java/locale/LocaleInformation_sl_SI.java,
9863         gnu/java/locale/LocaleInformation_sq_AL.java,
9864         gnu/java/locale/LocaleInformation_sr_YU.java,
9865         gnu/java/locale/LocaleInformation_sv_FI.java,
9866         gnu/java/locale/LocaleInformation_sv_SE.java,
9867         gnu/java/locale/LocaleInformation_ta_IN.java,
9868         gnu/java/locale/LocaleInformation_te_IN.java,
9869         gnu/java/locale/LocaleInformation_tg_TJ.java,
9870         gnu/java/locale/LocaleInformation_tl_PH.java,
9871         gnu/java/locale/LocaleInformation_tr_TR.java,
9872         gnu/java/locale/LocaleInformation_uk_UA.java,
9873         gnu/java/locale/LocaleInformation_ur_PK.java,
9874         gnu/java/locale/LocaleInformation_uz_UZ.java,
9875         gnu/java/locale/LocaleInformation_vi_VN.java,
9876         gnu/java/locale/LocaleInformation_yi_US.java,
9877         gnu/java/locale/LocaleInformation_zh_CN.java,
9878         gnu/java/locale/LocaleInformation_zh_HK.java,
9879         gnu/java/locale/LocaleInformation_zh_SG.java,
9880         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
9881         info; from Classpath.
9882
9883         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
9884         isPaintPending): New methods.
9885         * gnu/awt/xlib/XFramePeer.java (getState, setState,
9886         setMaximizedBounds): New methods.
9887         (beginLayout, endLayout, isPaintPending): Likewise.
9888         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
9889         (requestFocus): Likewise.
9890         (isObscured): Likewise.
9891         (canDetermineObscurity): Likewise.
9892         (coalescePaintEvent): Likewise.
9893         (updateCursorImmediately): Likewise.
9894         (createVolatileImage): Likewise.
9895         (handlesWheelScrolling): Likewise.
9896         (createBuffers): Likewise.
9897         (getBackBuffer): Likewise.
9898         (flip): Likewise.
9899         (destroyBuffers): Likewise.
9900
9901         * Makefile.in: Rebuilt.
9902         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
9903         RobotPeer.java.
9904         * gnu/java/awt/GLightweightPeer.java,
9905         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9906         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9907         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9908         gnu/java/awt/peer/gtk/GtkFramePeer.java,
9909         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
9910         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9911         java/awt/dnd/peer/DragSourceContextPeer.java,
9912         java/awt/dnd/peer/DropTargetContextPeer.java,
9913         java/awt/peer/ButtonPeer.java,
9914         java/awt/peer/CheckboxMenuItemPeer.java,
9915         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
9916         java/awt/peer/ComponentPeer.java,
9917         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
9918         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
9919         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
9920         java/awt/peer/MenuBarPeer.java,
9921         java/awt/peer/MenuComponentPeer.java,
9922         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
9923         java/awt/peer/PopupMenuPeer.java,
9924         java/awt/peer/ScrollPanePeer.java,
9925         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
9926         java/awt/peer/TextComponentPeer.java,
9927         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
9928         New versions from Classpath.
9929         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
9930         * java/awt/peer/RobotPeer.java: Likewise.
9931
9932 2003-03-01  Mark Wielaard  <mark@klomp.org>
9933
9934         * java/io/ObjectInputStream.java: Reindent.
9935         * java/io/ObjectOutputStream.java: Likewise.
9936
9937 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
9938
9939         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
9940         jvalue for each argument. Simplify.
9941         * testsuite/libjava.jni/calls.c (docall),
9942         testsuite/libjava.jni/calls.java (longpb_f): check for argument
9943         misalignment.
9944
9945 2003-02-28  Mark Wielaard  <mark@klomp.org>
9946
9947         * Makefile.am (nat_source_files): Remove
9948         java/io/natObjectOutputStream.cc.
9949         * Makefile.in: Regenerated.
9950         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
9951         * java/io/ObjectStreamField.java (typename): New field.
9952         (ObjectStreamField(String, Class)): Initialize new field.
9953         (ObjectStreamField(String, String)): New Constructor.
9954         (getTypeCode): Use new field.
9955         (getTypeString): Use new field.
9956         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
9957         ObjectStreamExceptions. Remember and reset old BlockDataMode.
9958         Handle reading of Proxy classes. Never drain(), just write
9959         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
9960         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
9961         (flush): Call flush(), not just drain().
9962         (writeBoolean): Always use blockDataOutput.
9963         (writeByte): Likewise.
9964         (writeShort): Likewise.
9965         (writeChar): Likewise.
9966         (writeInt): Likewise.
9967         (writeLong): Likewise.
9968         (writeFloat): Likewise.
9969         (writeDouble): Likewise.
9970         (writeBytes): Likewise.
9971         (putfield (put(String,Object))): Throw IllegalArgumentException if
9972         field cannot be found.
9973         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
9974         (writeArraySizeAndElements): Write byte[] in one go.
9975         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
9976         set BlockDataMode to false.
9977         (annotateProxyClass): New method.
9978         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
9979         (getField): No longer native.
9980         (getMethod): Likewise.
9981         (setBlockDataMode): Always drain() on switch, return old mode.
9982         (static): New static code block.
9983         * java/io/natObjectOutputStream.cc: Removed.
9984         * java/io/ObjectInputStream.java (getField): No longer native.
9985         (getMethod): Likewise.
9986         (readObject): Remember and reset old BlockDataMode. Track whether
9987         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
9988         TC_LONGSTRING.
9989         (defaultReadObject): Set BlockDataMode to false during readFields.
9990         (resolveClass): Create new SecurityManager if necessary.
9991         Use Class.forName() if null ClassLoader found.
9992         (read(byte[],int,int): Copy remaining bytes to data before calling
9993         readNextBlock().
9994         (readFields): Set and reset BlockDataMode on call_read_method.
9995         Catch NoSuchFieldErrors.
9996         (setBlockDataMode): Return old mode.
9997         (static): New static code block.
9998         * java/io/natObjectInputStream.cc (getField): Removed.
9999         (getMethod): Likewise.
10000
10001 2003-02-27  Michael Koch  <konqueror@gmx.de>
10002
10003         * java/beans/Beans.java,
10004         java/beans/FeatureDescriptor.java
10005         java/beans/PropertyEditorManager.java:
10006         Reformated to GNU style.
10007
10008 2003-02-25  Michael Koch  <konqueror@gmx.de>
10009
10010         * gnu/java/nio/MappedByteFileBuffer.java,
10011         gnu/java/nio/natMappedByteFileBuffer.cc:
10012         New files, both are not compiled yet to get not noncompiling CVS.
10013
10014 2003-02-24  Tom Tromey  <tromey@redhat.com>
10015
10016         * java/util/prefs/AbstractPreferences.java (isUserNode):
10017         Implemented.
10018
10019 2003-02-24  Tom Tromey  <tromey@redhat.com>
10020
10021         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
10022         Deprecate.
10023         * java/lang/Thread.java (resume): Deprecate.
10024         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
10025         in @deprecated.
10026
10027 2003-02-23  Tom Tromey  <tromey@redhat.com>
10028
10029         * Makefile.in: Rebuilt.
10030         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
10031
10032 2003-02-23  Tom Tromey  <tromey@redhat.com>
10033
10034         * java/lang/natRuntime.cc (libraries_size, libraries_count,
10035         libraries): Removed.
10036         (add_library): Removed.
10037         (_load): Don't call add_library.
10038         (loadLibraryInternal): Likewise.
10039         (init): Likewise.
10040         (lookup_data): New struct.
10041         (find_symbol): New function.
10042         (_Jv_FindSymbolInExecutable): Use it.
10043
10044 2002-02-21  Anthony Green  <green@redhat.com>
10045
10046         * java/lang/Thread.java (Thread): New constructor taking stack
10047         size parameter (ignored for now).
10048         * Many methods: Merged GNU Classpath documentation.
10049
10050         * java/lang/Class.java (finalize): throws a Throwable.
10051
10052 2003-02-21  Mark Wielaard  <mark@klomp.org>
10053
10054         * java/util/zip/ZipEntry.java (setComment): Don't check length when
10055         argument is null.
10056
10057 2003-02-21  Mark Wielaard  <mark@klomp.org>
10058
10059         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
10060         then 65535 chars throw IllegalArgumentException.
10061
10062 2003-02-21  Mark Wielaard  <mark@klomp.org>
10063
10064         * java/util/zip/ZipFile.java (finalize): New method.
10065
10066 2003-02-21  Michael Koch  <konqueror@gmx.de>
10067
10068         * gnu/java/nio/natSocketChannelImpl.cc:
10069         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
10070         <cato@df.lth.se> for pointing to it.
10071
10072 2003-02-20  Raif S. Naffah <raif@fl.net.au>
10073
10074         * java/math/BigInteger.java (euclidInv): Take result array as an
10075         argument.  Updated all callers.
10076         (modInverse): Removed unused variables.
10077
10078 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
10079
10080         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
10081         config.status.
10082         * configure: Rebuilt.
10083
10084 2003-02-19  Michael Koch  <konqueror@gmx.de>
10085
10086         * gnu/java/nio/natSocketChannelImpl.cc:
10087         Added support for platforms without network support.
10088
10089 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10090
10091         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
10092         after config.h.  Use <> for consistency.
10093         * java/lang/natObject.cc: Likewise.
10094         * java/lang/natRuntime.cc: Likewise.
10095         * java/lang/natSystem.cc: Likewise.
10096         * java/util/natTimeZone.cc: Likewise.
10097         * win32.cc: Likewise.
10098         * include/posix.h (fcntl, socket, connect, close, bind, accept,
10099         listen, write, read): Undef to avoid interference from OS macros.
10100
10101 2003-02-19  Michael Koch  <konqueror@gmx.de>
10102
10103         * gnu/java/nio/ByteBufferImpl.java
10104         (ByteBufferImpl): Renamed two variables.
10105         * gnu/java/nio/CharBufferImpl.java
10106         (CharBufferImpl): Renamed two variables.
10107         * gnu/java/nio/DoubleBufferImpl.java
10108         (DoubleBufferImpl): Renamed two variables.
10109         * gnu/java/nio/FloatBufferImpl.java
10110         (FloatBufferImpl): Renamed two variables.
10111         * gnu/java/nio/IntBufferImpl.java
10112         (IntBufferImpl): Renamed two variables.
10113         * gnu/java/nio/LongBufferImpl.java
10114         (LongBufferImpl): Renamed two variables.
10115         * gnu/java/nio/ShortBufferImpl.java
10116         (ShortBufferImpl): Renamed two variables.
10117         * java/nio/CharBuffer.java
10118         (wrap): Fixed arguments to CharBufferImpl constructor.
10119         (hasArray): Only not read-only buffers have backing arrays.
10120         (length): Documentation added.
10121         (subSequence): Documentation added.
10122         * java/nio/DoubleBuffer.java
10123         (hasArray): Only not read-only buffers have backing arrays.
10124         * java/nio/FloatBuffer.java
10125         (hasArray): Only not read-only buffers have backing arrays.
10126         * java/nio/IntBuffer.java
10127         (hasArray): Only not read-only buffers have backing arrays.
10128         * java/nio/LongBuffer.java
10129         (hasArray): Only not read-only buffers have backing arrays.
10130         * java/nio/ShortBuffer.java
10131         (hasArray): Only not read-only buffers have backing arrays.
10132         
10133 2003-02-19  Michael Koch  <konqueror@gmx.de>
10134
10135         * javax/accessibility/AccessibleContext.java
10136         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
10137
10138 2003-02-19  Michael Koch  <konqueror@gmx.de>
10139
10140         * java/awt/ScrollPaneAdjustable.java: Reformated.
10141
10142 2003-02-19  Michael Koch <konqueror@gmx.de>
10143
10144         * gnu/awt/j2d/Graphics2DImpl.java
10145         (getFontRenderContext): New method.
10146         (drawGlyphVector): New method.
10147         * java/awt/Graphics2D.java
10148         (getFontRenderContext): New abstract method.
10149         (drawGlyphVector): New abstract method.
10150         
10151 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
10152
10153         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
10154         if necessary.
10155         
10156         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10157         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10158         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10159         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10160         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10161         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10162         (setFont, gtkSetFont): add.
10163         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
10164         Propagate font to peer.  (setFont): add FIXME comment.
10165
10166         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10167         (gtkTextGetSize): fix height, width computation.
10168
10169         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
10170         Make X font name a bit less bogus.
10171
10172         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10173         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
10174
10175         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
10176         (processAdjustmentEvent): Adjust value.
10177
10178         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
10179         logic errors.
10180
10181         * java/awt/Component.java (setVisible, show, hide): Call show and
10182         hide methods in subclasses.
10183         (getPreferredSize): don't set prefSize before we have peer.
10184
10185         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
10186         Guess (0,0) if we don't have peer.
10187
10188
10189 2003-02-18  Michael Koch  <konqueror@gmx.de>
10190
10191         * java/nio/channels/FileChannel.java
10192         (toString): New implementation, added documentation.
10193         (map): Added exception documentation.
10194         (size): Added exception documentation.
10195         (write): New methods, documentation work.
10196         (read): New methods, documentation work.
10197         (implCloseChannel): Rewrote exception documentation.
10198         (force): Throws IOException, added documentation.
10199         (lock): New methods.
10200         (tryLock): New methods.
10201         (position): New methods.
10202         (transferTo): New method.
10203         (transferFrom): New method.
10204         (truncate): New method.
10205         * java/nio/channels/spi/SelectorProvider.java
10206         (provider): Implemented.
10207         * Makefile.am
10208         (ordinary_java_source_files): Added the following files:
10209         gnu/java/nio/DatagramChannelImpl.java
10210         gnu/java/nio/FileChannelImpl.java
10211         gnu/java/nio/PipeImpl.java
10212         gnu/java/nio/SelectionKeyImpl.java
10213         gnu/java/nio/SelectorImpl.java
10214         gnu/java/nio/SelectorProviderImpl.java
10215         gnu/java/nio/ServerSocketChannelImpl.java
10216         gnu/java/nio/SocketChannelImpl.java
10217         java/nio/channels/FileLock.java
10218         (nat_java_source_files): Added the following files:
10219         gnu/java/nio/natFileChannelImpl.cc
10220         gnu/java/nio/natSelectorImpl.cc
10221         gnu/java/nio/natSocketChannelImpl.cc
10222         * Makefile.in: Regenerated.
10223
10224 2003-02-17  Tom Tromey  <tromey@redhat.com>
10225
10226         * java/awt/image/ColorModel.java: Re-merged with Classpath.
10227         * java/awt/image/ImageFilter.java: Likewise.
10228
10229 2003-02-17  Raif S. Naffah <raif@fl.net.au>
10230
10231         * java/math/BigInteger.java (euclidInv): Return array of
10232         `BigInteger's.  Changed all callers.
10233
10234 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
10235
10236         * java/util/Properties.java (store): Move the code formerly in
10237         list(), into this method.
10238         (list (PrintStream)): Just call list (PrintWriter) with a 
10239         PrintWriter object constructed from the given PrintStream object.
10240         (list (PrintWriter)): Emulate the output of Properties.list()
10241         as found in JDK 1.3/1.4.
10242
10243 2003-02-17  Michael Koch  <konqueror@gmx.de>
10244
10245         * java/net/DatagramSocket.java
10246         (connect): Merged with classpath.
10247         (disconnect): Merged documentation with classpath.
10248         (receice): Merged documentation with classpath.
10249         (send): Merged documentation with classpath.
10250         
10251 2003-02-17  Michael Koch  <konqueror@gmx.de>
10252
10253         * java/awt/dnd/DragSourceContext.java
10254         (addDragSourceListener): Added documentation.
10255         * java/awt/dnd/DragSourceDragEvent.java
10256         (serialVersionUID): New member variable.
10257         (getDropAction): Reformated.
10258         * java/awt/dnd/DragSourceDropEvent.java
10259         (serialVersionUID): New member variable.
10260         (dropSuccess): Renamed from success for serialization issues.
10261         * java/awt/dnd/DragSourceEvent.java
10262         (serialVersionUID): New member variable.
10263         * java/awt/dnd/DropTarget.java
10264         (serialVersionUID): New member variable.
10265         (DropTarget): Implemented, documentation reworked.
10266         (setComponent): Documentation added.
10267         (getComponent): Documentation added.
10268         (setDefaultActions): Documentation added.
10269         (getDefaultActions): Documentation added.
10270         (addDropTargetListener): Documentation added.
10271         * java/awt/dnd/DropTargetContext.java
10272         (DropTargetContext): Documentation added.
10273         (TransferableProxy.TransferableProxy): New method.
10274         (dropComplete): Fixed documentation.
10275         (getTransferable): Fixed documentation.
10276         (createTransferableProxy): Implemented.
10277         * java/awt/dnd/DropTargetDragEvent.java
10278         (DropTargetDragEvent): Documentation added.
10279         (serialVersionUID): New member variable.
10280         (DropTargetDragEvent): Throw exceptions, documentation added.
10281         (acceptDrag): Implemented.
10282         (getCurrentDataFlavors): Implemented.3yy
10283         (getCurrentDataFlavorsAsList): Implemented.
10284         (isDataFlavorSupported): Implemented.
10285         (rejectDrag): Implemented.
10286         * java/awt/dnd/DropTargetDropEvent.java
10287         (DropTargetDropEvent): Documentation added.
10288         (serialVersionUID): New member variable.
10289         (actions): Renamed from srcActions for serialization issues.
10290         (isLocalTx): Renamed from isLocalTx for serialization issues.
10291         (DropTargetDropEvent): New implementation, throw exceptions,
10292         documentation added.
10293         (getCurrentDataFlavors): Implemented.
10294         (getCurrentDataFlavorsAsList): Implemented.
10295         (isDataFlavorSupported): Implemented.
10296         (getSourceActions): Implemented.
10297         (getDropAction): Implemented.
10298         (getTransferable): Implemented.
10299         (acceptDrop): Implemented.
10300         (rejectDrop): Implemented.
10301         * java/awt/dnd/DropTargetListener.java
10302         (drop): Fixed documentation.
10303         * java/awt/dnd/MouseDragGestureRecognizer.java
10304         (MouseDragGestureRecognizer): Documentation added.
10305
10306 2003-02-17  Michael Koch  <konqueror@gmx.de>
10307
10308         * java/awt/font/FontRenderContext.java,
10309         java/awt/font/ShapeGraphicAttribute.java,
10310         java/awt/font/MultipleMaster.java,
10311         java/awt/font/TransformAttribute.java,
10312         java/awt/font/GlyphJustificationInfo.java,
10313         java/awt/font/LineBreakMeasurer.java,
10314         java/awt/font/TextMeasurer.java,
10315         java/awt/font/TextLayout.java,
10316         java/awt/font/LineMetrics.java,
10317         java/awt/font/TextAttribute.java,
10318         java/awt/font/GlyphMetrics.java,
10319         java/awt/font/OpenType.java,
10320         java/awt/font/GlyphVector.java,
10321         java/awt/font/GraphicAttribute.java,
10322         java/awt/font/ImageGraphicAttribute.java,
10323         java/awt/font/NumericShaper.java: New files.
10324         * Makefile.am
10325         (awt_java_source_files): Added the following files:
10326         java/awt/font/FontRenderContext.java
10327         java/awt/font/ShapeGraphicAttribute.java
10328         java/awt/font/MultipleMaster.java
10329         java/awt/font/TransformAttribute.java
10330         java/awt/font/GlyphJustificationInfo.java
10331         java/awt/font/LineBreakMeasurer.java
10332         java/awt/font/TextMeasurer.java
10333         java/awt/font/TextLayout.java
10334         java/awt/font/LineMetrics.java
10335         java/awt/font/TextAttribute.java
10336         java/awt/font/GlyphMetrics.java
10337         java/awt/font/OpenType.java
10338         java/awt/font/GlyphVector.java
10339         java/awt/font/GraphicAttribute.java
10340         java/awt/font/ImageGraphicAttribute.java
10341         java/awt/font/NumericShaper.java
10342         * Makefile.in: Regenerated.
10343
10344 2003-02-17  Michael Koch  <konqueror@gmx.de>
10345
10346         * java/awt/print/Paper.java
10347         (Paper): Implements Cloneable.
10348         * java/awt/print/PrinterJob.java
10349         (setJobName): Return value must be void.
10350         (print): Throws PrinterException.
10351         
10352 2003-02-16  Tom Tromey  <tromey@redhat.com>
10353
10354         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
10355         variable.
10356
10357 2003-02-15  Michael Koch  <konqueror@gmx.de>
10358
10359         * java/awt/datatransfer/DataFlavor.java
10360         (isRepresentationClassByteBuffer): Removed try-catch block.
10361         (isRepresentationClassCharBuffer): Removed try-catch block.
10362         (isRepresentationClassReader): Removed try-catch block.
10363
10364 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10365
10366         * java/nio/charset/Charset.java
10367         (isRegistered): Fixed method args and implementation.
10368         * java/nio/charset/CharsetEncoder.java
10369         (unmappableCharacterAction): New method.
10370
10371 2003-02-15  Michael Koch  <konqueror@gmx.de>
10372
10373         * java/awt/CheckboxMenuItem.java
10374         (CheckBoxMenuItem): Dont implement Serializable.
10375         (getListeners): New method,
10376         (getItemListeners): New method.
10377         * java/awt/Choice.java
10378         (getListeners): New method,
10379         (getItemListeners): New method.
10380         * java/awt/Container.java
10381         (getListeners): Added exception documentation.
10382         (setFocusTraversalKeys): Throw exceptions, added documentattion.
10383         (getFocusTraversalKeys): Added documentation.
10384         (areFocusTraversalKeysSet): Added documentation.
10385         (applyComponentOrientation): Added documentation.
10386         * java/awt/ContainerOrderFocusTraversalPolicy.java
10387         (implicitDownCycleTraversal): Renamed from downCycle for
10388         serialization.
10389         (ContainerOrderFocusTraversalPolicy): Added documentation.
10390         (accept): Reformated.
10391         * java/awt/Dialog.java
10392         (Dialog): Dont implement Serializable.
10393         (Dialog): Added documentation.
10394         * java/awt/Font.java
10395         (Font): Dont use absolute class name.
10396         * java/awt/Frame.java
10397         (Frame): Font implement Serializable.
10398         * java/awt/List.java
10399         (getListeners): New method,
10400         (getActionListeners): New method.       
10401         (getItemListeners): New method.
10402         * java/awt/Menu.java
10403         (countItems): New deprecated method.
10404         * java/awt/Scrollbar.java
10405         (getListeners): New method,
10406         (getAdjustmentListeners): New method,
10407         * java/awt/TextComponent.java
10408         (getListeners): New method,
10409         (getTextListeners): New method,
10410         * java/awt/TextField.java
10411         (getListeners): New method,
10412         (getActionListeners): New method.       
10413         * java/awt/Window.java
10414         (windowFocusListener): New member variable.
10415         (windowStateListener): New member variable.
10416         (getWindowFocusListeners): New method.
10417         (getWindowStateListeners): New method.
10418         (addWindowFocusListener): New method.
10419         (addWindowStateListener): New method.
10420         (removeWindowFocusListener): New method.
10421         (removeWindowStateListener): New method.
10422         * java/awt/datatransfer/DataFlavor.java
10423         (isRepresentationClassByteBuffer): New method.
10424         (isRepresentationClassCharBuffer): New method.
10425         (isRepresentationClassReader): New method.
10426
10427 2003-02-14  Mark Wielaard  <mark@klomp.org>
10428
10429         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
10430         zero when there is an exponent and the significant is zero.
10431         (divide): Always set scale to newScale even in special ZERO case.
10432
10433 2003-02-14  Tom Tromey  <tromey@redhat.com>
10434
10435         * java/lang/System.java (properties): Use Properties.clone.
10436         (setProperties): Likewise.
10437
10438 2003-02-14  Michael Koch  <konqueror@gmx.de>
10439
10440         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
10441         * gnu/java/nio/ServerSocketChannelImpl.java
10442         (SocketAccept): Removed.
10443         (accept): Commented out use of SocketAccept.
10444
10445 2003-02-13  Tom Tromey  <tromey@redhat.com>
10446
10447         * verify.cc (state::seen_subrs): New field.
10448         (state::state): Initialize it.
10449         (state::clean_subrs): New method.
10450         (state::~state): Call it.
10451         (state::copy): Copy subroutine list.
10452         (state::add_subr): New method.
10453         (state::merge): Only register a change if the current subroutine
10454         hasn't yet been noted.
10455
10456 2003-02-13  Mark Wielaard  <mark@klomp.org>
10457
10458         * java/io/InputStreamReader.java (getEncoding): Return null when
10459         closed.
10460         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
10461
10462 2003-02-13  Mark Wielaard  <mark@klomp.org>
10463  
10464         * java/util/zip/InflaterInputStream.java (read): Return zero when len
10465         is zero.
10466
10467 2003-02-13  Mark Wielaard  <mark@klomp.org>
10468
10469         * java/io/BufferedOutputStream.java (write(int)): Only flush when
10470         next byte cannot be buffered.
10471
10472 2003-02-13  Michael Koch  <konqueror@gmx.de>
10473  
10474         * java/awt/Label.java
10475         (Label): Don't implement Serializable directly.
10476         (addNotify): Fixed typo in documentation.
10477         * java/awt/List.java
10478         (List): Don't implement Serializable directly.
10479         * java/awt/PopupMenu.java
10480         (PopupMenu): Don't implement Serializable directly.
10481         * java/awt/ScrollPane.java
10482         (ScrollPane): Don't implement Serializable directly.
10483         * java/awt/Scrollbar.java
10484         (Scrollbar): Don't implement Serializable directly.
10485         * java/awt/TextArea.java
10486         (preferredSize): Fixed method arguments.
10487         * java/awt/TextField.java
10488         (TextField): Don't implement Serializable directly.
10489         * java/awt/color/ICC_ColorSpace.java
10490         (fromCIOXYZ): Documentation added.
10491         (getMinValue): Documentation added.
10492         (getMaxValue): Documentation added.
10493         * java/awt/datatransfer/DataFlavor.java
10494         (isMimeTypeEqual): May not be final.
10495         (clone): Throws CloneNotSupportedException.
10496         (getReaderForText): Don't throws UnsupportedEncodingException.
10497
10498 2003-02-13  Michael Koch  <konqueror@gmx.de>
10499  
10500         * gnu/java/awt/peer/gtk/GdkGraphics.java
10501         (drawString): New stubbed method.
10502         * java/awt/Graphics.java
10503         (drawString): New method.
10504
10505 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
10506
10507         PR libgcj/9271:
10508         * java/security/SecureRandom.java (next): Avoid bias in results.
10509
10510 2003-02-13  Michael  <konqueror@gmx.de>
10511
10512         * gnu/java/nio/FileChannelImpl.java
10513         (lengthInternal): Must be native.
10514         (size): Check if channel is already closed.
10515         (implCloseChannel): Reformated.
10516         (read): w was unused, removed it.
10517         (read): Removed.
10518         (read): New method.
10519         (write): New method.
10520         (map): Check arguments.
10521         (force): Throws IOException, check if channel is closed.
10522         (transferTo): New method.
10523         (transferFrom): New method.
10524         (lock): New method.
10525         (tryLock): New method.
10526         (position): New method.
10527         (truncate): New method.
10528         (nio_mmap_file): Uncommented.
10529         (nio_munmap_file): Uncommented.
10530         (nio_msync): Uncommented.
10531         * gnu/java/nio/natFileChannelImpl.cc: New file.
10532         
10533 2003-02-13  Michael Koch  <konqueror@gmx.de>
10534
10535         * java/nio/ByteBuffer.java
10536         (endian): New member variable.
10537         (get): New methods.
10538         (equals): New method.
10539         (compareTo): New method.
10540         (order): New methods.
10541         (compact): New method.
10542         (isDirect): New method.
10543         (slice): New method.
10544         (duplicate): New method.
10545         (asReadOnlyBuffer): New method.
10546         (asCharBuffer): New method.
10547         (asDoubleBuffer): New method.
10548         (asFloatBuffer): New method.
10549         (asIntBuffer): New method.
10550         (asLongBuffer): New method.
10551         (asShortBuffer): New method.
10552         (get*): New methods.
10553         (put*): New methods.
10554         (toString): New method.
10555         * java/nio/CharBuffer.java
10556         (CharBuffer): Implement Comparable instead of Cloneable.
10557         (get): May not be final.
10558         (put): May not be final.
10559         
10560 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
10561
10562         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
10563         lastIndexOf( ) instead of indexOf( ) to find the colon before
10564         the line number, because Win32 file names might contain a 
10565         drive letter and a colon at the start of an absolute path.
10566
10567 2003-02-13  Michael Koch  <konqueror@gmx.de>
10568
10569         * gnu/java/nio/natSocketChannelImpl.cc
10570         (SocketConnect): This is not implemented yet.
10571         (SocketBind): This is not implemented yet.
10572
10573 2003-02-13  Michael Koch  <konqueror@gmx.de>
10574
10575         * gnu/java/nio/natByteBufferImpl.cc,
10576         gnu/java/nio/natCharBufferImpl.cc,
10577         gnu/java/nio/natDoubleBufferImpl.cc,
10578         gnu/java/nio/natFloatBufferImpl.cc,
10579         gnu/java/nio/natIntBufferImpl.cc,
10580         gnu/java/nio/natLongBufferImpl.cc,
10581         gnu/java/nio/natShortBufferImpl.cc:
10582         Added copyright and license.
10583         * java/nio/DoubleBuffer.java,
10584         java/nio/FloatBuffer.java,
10585         java/nio/IntBuffer.java,
10586         java/nio/LongBuffer.java,
10587         java/nio/ShortBuffer.java
10588         (array): Throw exceptions.
10589         (arrayOffset): Throw exceptions.
10590
10591 2003-02-13  Michael Koch  <konqueror@gmx.de>
10592  
10593         * gnu/java/util/prefs/FileBasedFactory.java,
10594         gnu/java/util/prefs/MemmoryBasedFactory.java,
10595         gnu/java/util/prefs/MemoryBasedPreferences.java,
10596         gnu/java/util/prefs/NodeReader.java,
10597         gnu/java/util/prefs/NodeWriter.java,
10598         java/util/prefs/AbstractPreferences.java,
10599         java/util/prefs/BackingStoreException.java,
10600         java/util/prefs/InvalidPreferencesFormatException.java,
10601         java/util/prefs/NodeChangeEvent.java,
10602         java/util/prefs/NodeChangeListener.java,
10603         java/util/prefs/PreferenceChangeEvent.java,
10604         java/util/prefs/PreferenceChangeListener.java,
10605         java/util/prefs/Preferences.java,
10606         java/util/prefs/PreferencesFactory.java:
10607         New files, all merged from classpath.
10608         * Makefile.am
10609         (ordinary_java_source_files): Added the following files:
10610         gnu/java/util/prefs/FileBasedFactory.java,
10611         gnu/java/util/prefs/MemmoryBasedFactory.java,
10612         gnu/java/util/prefs/MemoryBasedPreferences.java,
10613         gnu/java/util/prefs/NodeReader.java,
10614         gnu/java/util/prefs/NodeWriter.java,
10615         (core_java_source_files): Added the following files:
10616         java/util/prefs/AbstractPreferences.java,
10617         java/util/prefs/BackingStoreException.java,
10618         java/util/prefs/InvalidPreferencesFormatException.java,
10619         java/util/prefs/NodeChangeEvent.java,
10620         java/util/prefs/NodeChangeListener.java,
10621         java/util/prefs/PreferenceChangeEvent.java,
10622         java/util/prefs/PreferenceChangeListener.java,
10623         java/util/prefs/Preferences.java,
10624         java/util/prefs/PreferencesFactory.java
10625         * Makefile.in: Regenerated.
10626  
10627 2003-02-13  Michael Koch  <konqueror@gmx.de>
10628
10629         * java/net/NetPermission.java
10630         (NetPermission): Make doucmentation match the method declaration.
10631         * java/net/NetworkInterface.java
10632         (equals): Reformated for GNU coding style.
10633         * java/net/ServerSocket.java: Merged with classpath.
10634         * java/net/Socket.java: Partly merged with classpath (Added some @since).
10635         * java/net/SocketImpl.java
10636         (localPort): Merged with classpath (initialize with -1).
10637         * java/net/SocketPermission.java: Merged with classpath (reindented).
10638         * java/net/URLDecoder.java: Merged with classpath (reindented).
10639
10640 2003-02-13  Michael Koch  <konqueror@gmx.de>
10641
10642         * java/awt/GridBagConstraints.java
10643         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
10644         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
10645         * java/awt/KeyboardFocusManager.java
10646         (setGlobalCurrentFocusCycleRoot): Must be public.
10647         * java/awt/MenuComponent.java
10648         (MenuComponent): Must be public.
10649         * java/awt/Toolkit.java:
10650         Added some empty lines to make documentation more readable.
10651         (getFontPeer): Added @deprecated.
10652         (getColorModel): Added exception documentation.
10653         (getProperty): Fixed documentation.
10654  
10655 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
10656
10657         * configure.host (alpha*-*): Default to -mieee.
10658         * configure.in (IEEESPEC): New.
10659         * libgcj.spec.in (jc1): Add IEEESPEC.
10660         * configure: Rebuild.
10661
10662 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
10663
10664         * include/win32.h: Include ws2tcpip.h instead of
10665         winsock.h to obtain definition of the socklen_t type.
10666         Remove IP_TOS definition - not needed with ws2tcpip.h
10667         (_Jv_connect): Correct slight formatting error.
10668
10669 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
10670
10671         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
10672         size of the arguments for a JNI function. For Win32,
10673         modify to search for all forms of possible exported
10674         names of an stdcall JNI function.
10675         (_Jv_JNIMethod::call): Modify to calculate the size
10676         of the arguments passed to a JNI function and pass
10677         it to _Jv_LookupJNIMethod.
10678
10679 2003-02-12  Michael Koch  <konqueror@gmx.de>
10680
10681         * java/nio/channels/Channels.java: New file.
10682         * Makefile.am
10683         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
10684         * Makefile.in: Regenerated.
10685
10686 2003-02-12  Michael Koch  <konqueror@gmx.de>
10687
10688         * java/nio/ByteBuffer.java
10689         (allocate): Implemented.
10690         (wrap): Implemented.
10691         * java/nio/CharBuffer.java:
10692         Some documentation added and reworked.
10693         (endian): Removed.
10694         (allocate): Implemented.
10695         (wrap): Implemented.
10696         (array): Throw exceptions.
10697         (arrayOffset): Throw exceptions.
10698         (toString): Implemented.
10699         (length): Implemented.
10700         (put): Implemented.
10701         (charAt): Implemented.
10702
10703 2003-02-11  John Leuner  <jewel@debian.org>
10704
10705         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
10706         reads from end of file.
10707
10708 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
10709
10710         * java/io/natFileDescriptorWin32.cc 
10711         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
10712         returns with Win32 error code ERROR_BROKEN_PIPE.
10713
10714 2003-02-11  Michael Koch  <konqueror@gmx.de>
10715
10716         * Makefile.in
10717         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
10718
10719 2003-02-11  Michael Koch  <konqueror@gmx.de>
10720
10721         * gnu/java/nio/ByteBufferImpl.java:
10722         Reformated and removed some code.
10723         (backing_buffer): Removed.      
10724         (array_offset): Removed.
10725         (ro): Renamed to readOnly.
10726         (ByteBufferImpl): Use parent constructor, initialize readOnly.
10727         * gnu/java/nio/CharBufferImpl.java:
10728         Reformated and removed some code.
10729         (array_offset): Removed.
10730         (ro): Renamed to readOnly.
10731         (CharBufferImpl): Use parent constructor, initialize readOnly.
10732         (inc_pos): Removed.
10733         (order): New method.
10734         * gnu/java/nio/DoubleBufferImpl.java:
10735         Reformated and removed some code.
10736         (array_offset): Removed.
10737         (ro): Renamed to readOnly.
10738         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
10739         (inc_pos): Removed.
10740         (order): New method.
10741         * gnu/java/nio/FloatBufferImpl.java:
10742         Reformated and removed some code.
10743         (array_offset): Removed.
10744         (ro): Renamed to readOnly.
10745         (FloatBufferImpl): Use parent constructor, initialize readOnly.
10746         (inc_pos): Removed.
10747         (order): New method.
10748         * gnu/java/nio/IntBufferImpl.java:
10749         Reformated and removed some code.
10750         (array_offset): Removed.
10751         (ro): Renamed to readOnly.
10752         (IntBufferImpl): Use parent constructor, initialize readOnly.
10753         (inc_pos): Removed.
10754         (order): New method.
10755         * gnu/java/nio/LongBufferImpl.java:
10756         Reformated and removed some code.
10757         (array_offset): Removed.
10758         (ro): Renamed to readOnly.
10759         (LongBufferImpl): Use parent constructor, initialize readOnly.
10760         (inc_pos): Removed.
10761         (order): New method.
10762         * gnu/java/nio/ShortBufferImpl.java:
10763         Reformated and removed some code.
10764         (array_offset): Removed.
10765         (ro): Renamed to readOnly.
10766         (ShortBufferImpl): Use parent constructor, initialize readOnly.
10767         (inc_pos): Removed.
10768         (order): New method.
10769         * Makefile.am
10770         (ordinary_java_source_files): Added the following files:
10771         gnu/java/nio/ByteBufferImpl.java
10772         gnu/java/nio/CharBufferImpl.java
10773         gnu/java/nio/DoubleBufferImpl.java
10774         gnu/java/nio/FloatBufferImpl.java
10775         gnu/java/nio/IntBufferImpl.java
10776         gnu/java/nio/LongBufferImpl.java
10777         gnu/java/nio/ShortBufferImpl.java
10778         java/nio/DoubleBuffer.java
10779         java/nio/FloatBuffer.java
10780         java/nio/IntBuffer.java
10781         java/nio/LongBuffer.java
10782         java/nio/ShortBuffer.java
10783         (nat_source_files): Added the following files:
10784         gnu/java/nio/natByteBufferImpl.cc
10785         gnu/java/nio/natCharBufferImpl.cc
10786         gnu/java/nio/natDoubleBufferImpl.cc
10787         gnu/java/nio/natFloatBufferImpl.cc
10788         gnu/java/nio/natIntBufferImpl.cc
10789         gnu/java/nio/natLongBufferImpl.cc
10790         gnu/java/nio/natShortBufferImpl.cc
10791         * Makefile.in: Regenerated.
10792
10793 2003-02-11  Michael Koch  <konqueror@gmx.de>
10794
10795         * gnu/java/nio/natCharBufferImpl.cc
10796         (nio_cast): Removed.
10797         (nio_put_*): Removed.
10798         (nio_get_*): Removed.
10799         * gnu/java/nio/natDoubleBufferImpl.cc
10800         (nio_cast): Removed.
10801         (nio_put_*): Removed.
10802         (nio_get_*): Removed.
10803         * gnu/java/nio/natFloatBufferImpl.cc
10804         (nio_cast): Removed.
10805         (nio_put_*): Removed.
10806         (nio_get_*): Removed.
10807         * gnu/java/nio/natIntBufferImpl.cc
10808         (nio_cast): Removed.
10809         (nio_put_*): Removed.
10810         (nio_get_*): Removed.
10811         * gnu/java/nio/natLongBufferImpl.cc
10812         (nio_cast): Removed.
10813         (nio_put_*): Removed.
10814         (nio_get_*): Removed.
10815         * gnu/java/nio/natShortBufferImpl.cc
10816         (nio_cast): Removed.
10817         (nio_put_*): Removed.
10818         (nio_get_*): Removed.
10819         * gnu/java/nio/SelectorProviderImpl.java
10820         (openDatagramChannel): Throws IOException.
10821         (openPipe): Throws IOException.
10822         (openSelector): Throws IOException.
10823         (openServerSocketChannel): Throws IOException.
10824         (openSocketChannel): Throws IOException.
10825         * gnu/java/nio/ServerSocketChannelImpl.java
10826         (ServerSocketChannelImpl): Throws IOException.
10827         (implCloseSelectableChannel): Throws IOException.
10828         (implConfigureBlocking): Throws IOException.
10829         * java/nio/ByteBuffer.java
10830         (readOnly): Removed.
10831         (hasArray): Use isReadOnly() instead of readOnly.
10832         (array): Use isReadOnly() instead of readOnly.
10833         (arrayOffset): Use isReadOnly() instead of readOnly.
10834         * java/nio/CharBuffer.java
10835         (CharBuffer): Implements Cloneable and CharSequence.
10836
10837 2003-02-11  Michael Koch  <konqueror@gmx.de>
10838
10839         * java/nio/DoubleBuffer.java
10840         (DoubleBuffer): Implements Comparable.
10841         (endian): Removed.
10842         (array_offset): New member variable.
10843         (DoubleBuffer): New constuctor.
10844         (get): May not be final.
10845         (put): May not be final.
10846         (arrayOffset): Implemented.
10847         (order): Made abstract.
10848         (order): Removed.
10849         (as*Buffer): Removed.
10850         (get*): Removed.
10851         (put*): Removed.
10852         * java/nio/FloatBuffer.java
10853         (FloatBuffer): Implements Comparable.
10854         (endian): Removed.
10855         (array_offset): New member variable.
10856         (FloatBuffer): New constuctor.
10857         (get): May not be final.
10858         (put): May not be final.
10859         (arrayOffset): Implemented.
10860         (order): Made abstract.
10861         (order): Removed.
10862         (as*Buffer): Removed.
10863         (get*): Removed.
10864         (put*): Removed.
10865         * java/nio/IntBuffer.java
10866         (IntBuffer): Implements Comparable.
10867         (endian): Removed.
10868         (array_offset): New member variable.
10869         (IntBuffer): New constuctor.
10870         (get): May not be final.
10871         (put): May not be final.
10872         (arrayOffset): Implemented.
10873         (order): Made abstract.
10874         (order): Removed.
10875         (as*Buffer): Removed.
10876         (get*): Removed.
10877         (put*): Removed.
10878         * java/nio/LongBuffer.java
10879         (LongBuffer): Implements Comparable.
10880         (endian): Removed.
10881         (array_offset): New member variable.
10882         (LongBuffer): New constuctor.
10883         (get): May not be final.
10884         (put): May not be final.
10885         (arrayOffset): Implemented.
10886         (order): Made abstract.
10887         (order): Removed.
10888         (as*Buffer): Removed.
10889         (get*): Removed.
10890         (put*): Removed.
10891         * java/nio/ShortBuffer.java
10892         (ShortBuffer): Implements Comparable.
10893         (endian): Removed.
10894         (array_offset): New member variable.
10895         (ShortBuffer): New constuctor.
10896         (get): May not be final.
10897         (put): May not be final.
10898         (arrayOffset): Implemented.
10899         (order): Made abstract.
10900         (order): Removed.
10901         (as*Buffer): Removed.
10902         (get*): Removed.
10903         (put*): Removed.
10904
10905 2003-02-11   Michael Koch  <konqueror@gmx.de>
10906
10907         * java/nio/channels/SelectionKey.java
10908         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
10909         values.
10910
10911 2003-02-11  Michael Koch  <konqueror@gmx.de>
10912
10913         * java/nio/channels/DatagramChannel.java
10914         (write): Throws IOException.
10915         (connect): Throws IOException.
10916         (disconnect): Throws IOException.
10917         (read): Throws IOException.
10918         (receive): Throws IOException.
10919         (send): Throws IOException.
10920         * java/nio/channels/Pipe.java
10921         (open): Throws IOException.
10922         * java/nio/channels/SelectableChannel.java
10923         (configureBlocking): Throws IOException.
10924         * java/nio/channels/ServerSocketChannel.java
10925         (accept): Throws IOException.
10926         * java/nio/channels/SocketChannel.java
10927         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
10928         GatheringByteChannel.
10929         (read): Throws IOException.
10930         (write): Throws IOException.
10931         (finishConnect): Throws IOException.
10932         * java/nio/channels/spi/AbstractInterruptibleChannel.java
10933         (end): Throws AsynchronousCloseException.
10934         * java/nio/channels/spi/AbstractSelectableChannel.java
10935         (configureBlocking): Throws IOException.
10936         (implCloseChannel): Throws IOException.
10937         (implCloseSelectableChannel): Throws IOException.
10938         (implConfigureBlocking): Throws IOException.
10939         * java/nio/channels/spi/SelectorProvider.java
10940         (openDatagramChannel): Throws IOException.
10941         (openPipe): Throws IOException.
10942         (openSelector): Throws IOException.
10943         (openServerSocketChannel): Throws IOException.
10944         (openSocketChannel): Throws IOException.
10945
10946 2003-02-11  Michael Koch  <konqueror@gmx.de>
10947
10948         * gnu/java/nio/FileLockImpl.java,
10949         java/nio/channels/FileLock.java: New files.
10950
10951 2003-02-11  Michael Koch  <konqueror@gmx.de>
10952
10953         * java/nio/charset/IllegalCharsetNameException.java
10954         (serialVersionUID): New member variable.
10955         (charsetName): New member variable.
10956         (IllegalCharsetException): New implementation.
10957         (getCharsetName): New implementation.
10958         * java/nio/charset/UnsupportedCharsetException.java
10959         (serialVersionUID): New member variable.
10960         (charsetName): New member variable.
10961         (UnsupportedCharsetException): New implementation.
10962         (getCharsetName): New implementation.
10963
10964 2003-02-10  Tom Tromey  <tromey@redhat.com>
10965
10966         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
10967         (ex): Renamed from sqlException.
10968
10969 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
10970
10971         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
10972         method used to ensure seeding has occurred and that a specific 
10973         seed can be set and used.
10974
10975 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
10976
10977         * java/lang/Win32Process.java (destroy): Declare as native.
10978         (hasExited): New native method.
10979         (exitValue): Define.
10980         (getErrorStream): Likewise.
10981         (getInputStream): Likewise.
10982         (getOutputStream): Likewise.
10983         (waitFor): Declare as native.
10984         (startProcess): New native method.
10985         (cleanup): Likewise.
10986         (ConcreteProcess): Define.
10987         (outputStream, inputStream, errorStream): New members.
10988         (procHandle, exitCode): Likewise.
10989
10990         * java/lang/natWin32Process.cc
10991         (java::lang::ConcreteProcess::cleanup): Define.
10992         (java::lang::ConcreteProcess::destroy): Likewise.
10993         (java::lang::ConcreteProcess::hasExited): Likewise.
10994         (java::lang::ConcreteProcess::waitFor): Likewise.
10995         (new_string): Likewise.
10996         (java::lang::ConcreteProcess::startProcess): Likewise.
10997
10998 2003-02-10  Raif S. Naffah <raif@fl.net.au>
10999
11000         * java/math/BigInteger.java:
11001         Updated notice to include years 2002 and 3.
11002         Added 2 private (int) arrays with values from the HAC (Handbook of
11003         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
11004         and t[] that contains nbr. of tests --used in isProbablePrime().
11005
11006         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
11007
11008         * java/math/BigInteger.java (make(int[],int), add(int,int),
11009         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
11010         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
11011         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
11012         make(long).
11013
11014         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
11015         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
11016         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
11017         BIs and returns void.
11018         (modInverse(BI)): Use new signatures of euclidInv().
11019
11020         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
11021         static small primes instead of remainder().
11022         Use pre-computed max nbr of trials based on bitlength of BI to test.
11023         Use pre-computed small primes for the trial tests instead of random
11024         numbers.
11025
11026         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
11027         not used.
11028
11029         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
11030         invoacation of MPN.chars_per_word().  not used.
11031
11032         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
11033         local var and used where needed.
11034
11035         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
11036         Combined declaration with initialisation of locals.
11037         Removed unused var.
11038
11039         * java/math/BigInteger.java: Style changes
11040         (pow(int)): Removed 'else' keyword.
11041         (toString(int)): idem.
11042         (doubleValue()): idem.
11043         (bitLength()): idem.
11044         (equals(Object)): Use static methods name in same class w/o prepending
11045         class name.
11046         (doubleValue()): idem.
11047         (setNegative(BI)): idem.
11048         (negate()): idem.
11049         (and(BI,int)): idem.
11050         (and(BI)): idem.
11051         (gcd(BI)): idem.
11052         (byteArrayToIntArray()): Removed casting to (int). this is
11053         std. behaviour.
11054         (canonicalize()): idem.
11055         (alloc(int)): Always instantiate a new BI.
11056
11057 2003-02-10  Tom Tromey  <tromey@redhat.com>
11058
11059         * java/sql/Timestamp.java (compareTo(Object)): New method.
11060         (compareTo(Timestamp)): Likewise.
11061         (serialVersionUID): Updated.
11062
11063 2003-02-07  Mark Wielaard  <mark@klomp.org>
11064
11065         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
11066         when verify is true.
11067         (JarFile(File, boolean)): Likewise.
11068         (manifestRead): Set manifestRead field correctly.
11069
11070 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11071
11072         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
11073         tests; see patch #1016 on Savannah.
11074
11075 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11076
11077         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
11078         (toString): do not return Strings starting with . and - erroneously.
11079         Improves Mauve results to 12 of 600 instead of 16 of 338 on
11080         DiagBigDecimal.
11081
11082 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11083
11084         * java/beans/PropertyDescriptor.java
11085         (PropertyDescriptor(String, Class)): Sanity check getter and setter
11086         methods.
11087         (PropertyDescriptor(String, Class, String, String)): Likewise.
11088         (PropertyDescriptor(String, Method, Method): Factor out getter and
11089         setter method sanity checks into new method.
11090         (findMethods): Don't do parameter sanity checking of get method here.
11091         (checkMethods): New method.
11092
11093 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11094
11095         * java/beans/PropertyDescriptor.java: Reformat.
11096
11097 2003-02-04  Tom Tromey  <tromey@redhat.com>
11098
11099         * java/io/PipedOutputStream.java (flush): Declare as throwing
11100         IOException.
11101         (close): Likewise.
11102         * java/io/PipedWriter.java (close): Declare as throwing
11103         IOException.
11104         * java/io/StringWriter.java (close): Declare as throwing
11105         IOException.
11106
11107 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
11108
11109         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
11110         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
11111         could also have been exported as "JNI_OnLoad@8" (MinGW) or
11112         "_JNI_OnLoad@8" (MSVC).
11113
11114 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
11115
11116         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
11117         convention on Win32 to invoke native JNI methods.
11118
11119 2003-02-03  Andrew Haley  <aph@redhat.com>
11120
11121         * configure.host (x86_64): Enable interpreter.
11122
11123 2003-02-03  Andrew Haley  <aph@redhat.com>
11124
11125         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
11126         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
11127         * configure.in (BACKTRACESPEC): New.
11128         * configure: Regenerate.
11129
11130 2003-02-02  Tom Tromey  <tromey@redhat.com>
11131
11132         * configure: Rebuilt.
11133         * configure.in (TOOLKIT) [xlib]: Set correctly.
11134
11135         * Makefile.in: Rebuilt.
11136         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
11137         libstdc++.
11138
11139 2003-01-31  Mark WIelaard  <mark@klomp.org>
11140
11141         * Makefile.in: Rebuilt.
11142         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
11143
11144 2003-01-31  Tom Tromey  <tromey@redhat.com>
11145
11146         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
11147         cast to element type.
11148         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
11149         (_Jv_JNI_GetObjectArrayElement): Likewise.
11150
11151         * Makefile.in: Rebuilt.
11152         * Makefile.am (cond_x_ltlibrary): Renamed library to
11153         lib-gnu-awt-xlib.la.
11154         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
11155         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
11156         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
11157         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
11158         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
11159         (lib_gnu_awt_xlib_la_LINK): Likewise.
11160         (install-exec-hook): Removed.
11161         (lib-gnu-awt-xlib.la): Renamed.
11162
11163 2003-01-31  Tom Tromey  <tromey@redhat.com>
11164
11165         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11166         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
11167         aclocal.m4 and lost in some merge.
11168
11169         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
11170         Don't try to find graphics configuration.
11171         * java/awt/Toolkit.java (default_toolkit_name): Use new
11172         Configuration entry.
11173         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
11174         New global.
11175         * configure: Rebuilt.
11176         * configure.in (TOOLKIT): New subst.
11177         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
11178         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
11179         directory.  Make output directories for .c files.
11180         * Makefile.in: Rebuilt.
11181         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
11182         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
11183         (all_java_source_files): Added new sources.
11184         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
11185         (gtk_c_files): New macro.
11186         (gtk_c_source_files): New macro.
11187         (cond_gtk_ltlibrary): New macro.
11188         ($(gtk_c_files)): New target.
11189         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
11190         (gtk_awt_peer_sources): New macro.
11191         (gtk_c_headers): New macro.
11192         ($(gtk_c_headers)): New target.
11193         (ACLOCAL_AMFLAGS): New macro.
11194         * gtk.m4, glib.m4, libart.m4: New files.
11195         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
11196         gnu/java/awt/peer/gtk/GdkGraphics.java,
11197         gnu/java/awt/peer/gtk/GtkArg.java,
11198         gnu/java/awt/peer/gtk/GtkArgList.java,
11199         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
11200         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
11201         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
11202         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
11203         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
11204         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
11205         gnu/java/awt/peer/gtk/GtkClipboard.java,
11206         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11207         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
11208         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
11209         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
11210         gnu/java/awt/peer/gtk/GtkFontPeer.java,
11211         gnu/java/awt/peer/gtk/GtkFramePeer.java,
11212         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
11213         gnu/java/awt/peer/gtk/GtkImage.java,
11214         gnu/java/awt/peer/gtk/GtkImagePainter.java,
11215         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
11216         gnu/java/awt/peer/gtk/GtkListPeer.java,
11217         gnu/java/awt/peer/gtk/GtkMainThread.java,
11218         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
11219         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
11220         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
11221         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
11222         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
11223         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
11224         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
11225         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
11226         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11227         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11228         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
11229         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11230         gnu/java/awt/peer/gtk/GtkToolkit.java,
11231         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11232         gnu/java/awt/peer/gtk/TestAWT.java,
11233         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
11234         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
11235         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
11236         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
11237         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
11238         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
11239         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
11240         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
11241         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
11242         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
11243         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
11244         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
11245         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
11246         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
11247         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
11248         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
11249         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
11250         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
11251         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
11252         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
11253         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
11254         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
11255         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
11256         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
11257         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
11258         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
11259         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
11260         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
11261         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
11262         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
11263         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
11264         jni/classpath/native_state.c, jni/classpath/native_state.h,
11265         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
11266
11267 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
11268
11269         * java/util/Properties.java (load): Ignore backslash before EOF.
11270
11271 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
11272
11273         * java/lang/natClass.cc (initializeClass): Check tables when
11274         (state == JV_STATE_IN_PROGRESS).
11275         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
11276         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
11277         interpreted classes.
11278         (linkClass0): Use _Jv_WaitForState.
11279
11280 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
11281
11282         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
11283         object when finished.
11284
11285 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
11286
11287         * libjava/configure.host: Disable can_unwind_signal on darwin.
11288
11289 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
11290
11291         Fixes PR java/9254:
11292         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
11293         additionally containing id of the owner thread as well as
11294         the number of nested times the thread has acquired the mutex.
11295         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
11296         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
11297         (_Jv_MutexUnlock): Check if really the owner thread, reset
11298         owner thread id to 0 before leaving, if leaving for the last
11299         time.
11300         (_Jv_MutexLock): Set owner thread id in the mutex and increment
11301         refcount.
11302         (_Jv_ThreadYield): Yield using a call to Sleep(0).
11303         * win32-threads.cc (_Jv_CondWait): Check if really owner of
11304         the passed mutex.
11305         Pass handle of the broadcast event, instead of a pointer to it
11306         in Win32 ResetEvent( ) call.
11307         Remove incorrect return values.
11308         (_Jv_CondDestroy): Close both event handles and delete
11309         critical section.
11310         (_Jv_CondNotify): Check if really the owner thread.
11311         (_Jv_CondNotifyAll): Check if really the owner thread.
11312         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
11313         (really_start): Use SetEvent( ) to signal daemon_cond.
11314         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
11315         WaitForSingleObject( ) instead to wait for daemon_cond to be
11316         signalled.
11317
11318 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
11319
11320         * configure.in: Specifically define HAVE_BACKTRACE if building
11321         for MinGW.
11322         * include/win32.h: Remove HAVE_BACKTRACE definition.
11323         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
11324         * configure: Rebuilt.
11325
11326 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
11327
11328         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
11329         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
11330         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
11331         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
11332         * Makefile.in, configure: Rebuilt.
11333
11334 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
11335
11336         Fixes PR java/9253:
11337         * java/io/natFileWin32.cc (performList): Append only "*.*"
11338         if the canonical file path already has a "\" at the end.
11339
11340 2003-01-24  Tom Tromey  <tromey@redhat.com>
11341
11342         * defineclass.cc (handleMethodsEnd): Precompute code for static
11343         method.
11344         (handleCodeAttribute): Likewise.
11345         * resolve.cc (ncode): Use run_class for unsynchronized static
11346         methods.
11347         * include/java-interp.h (class _Jv_InterpMethod): Declare
11348         run_class.
11349         * interpret.cc (run_synch_class): Initialize class.
11350         (run) [insn_invokestatic]: Don't initialize class.
11351         [insn_anewarray]: Likewise.
11352         [insn_multianewarray]: Likewise.
11353         (run_class): New function.
11354
11355 2003-01-24  Tom Tromey  <tromey@redhat.com>
11356
11357         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
11358         comment.
11359
11360 2003-01-22  Andrew Haley  <aph@redhat.com>
11361
11362         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
11363         * configure.host (CHECKREFSPEC): Define for x86_64.
11364
11365 2003-01-21  Tom Tromey  <tromey@redhat.com>
11366
11367         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
11368         search at 2, not 3.
11369
11370 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
11371
11372         * java/io/natFileWin32.cc (isAbsolute): Check path length before
11373         looking at any characters.
11374         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
11375         be used.
11376         (isAbsolute): Check path's length as well.
11377
11378 2003-01-17  Mark Wielaard  <mark@klomp.org>
11379
11380         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
11381         (nat_source_files): Add natVMObjectStreamClass.cc.
11382         * Makefile.in: Regenerated.
11383         * gcj/javaprims.h (namespace java): Regenerated.
11384         * java/io/ObjectStreamClass.java (getClassUID): Call
11385         VMObjectStreamClass.hasClassInitializer().
11386         (hasClassInitializer): Removed.
11387         * java/io/VMObjectStreamClass.java: New class.
11388         * java/io/natVMObjectStreamClass.cc: New file.
11389         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
11390
11391 2003-01-16  Mark Wielaard  <mark@klomp.org>
11392
11393         * java/net/SocketImpl.java (toString): Don't explicitly call
11394         toString() on possible null address.
11395
11396 2003-01-16  Michael Koch  <konqueror@gmx.de>
11397
11398         * java/net/MulticastSocket.java
11399         (setInterface): Reindented.
11400
11401 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11402
11403         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
11404         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
11405         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
11406         translateY arguments.  Implement.
11407         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
11408         down translation arguments.
11409         (drawPolyline, drawPolygon): Fix incorrect tests.
11410         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
11411         translateX and translateY arguments.
11412
11413 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11414
11415         * Makefile.in: Rebuilt.
11416         * Makefile.am (xlib_includes): New macro.
11417         (INCLUDES): Use it.
11418
11419 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11420
11421         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
11422         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
11423         16-bit display mode.
11424
11425 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11426
11427         * java/awt/CardLayout.java (show): Rewrote.
11428         (gotoComponent): Removed `target' argument.  Simplified code.
11429         Don't pre-compute `choice' unless `what' is FIRST or LAST.
11430         Changed all callers.
11431         (NONE): Removed.
11432         
11433 2003-01-14  Michael Koch  <konqueror@gmx.de>
11434
11435         * java/net/InetSocketAddress.java
11436         (serialVersionUID): New member variable.
11437         * java/net/NetPermission.java
11438         (NetPermission): Dont implement java.io.Serialization directly.
11439         * java/net/SocketAddress.java:
11440         (serialVersionUID): Documentation added.
11441         
11442 2003-01-14  Michael Koch  <konqueror@gmx.de>
11443
11444         * java/awt/Label.java
11445         (Label): Implements javax.accessibility.Accessible;
11446         * java/awt/List.java
11447         (List): Implements javax.accessibility.Accessible;
11448         * java/awt/ScrollPane.java
11449         (ScrollPane): Implements javax.accessibility.Accessible;
11450         * java/awt/Scrollbar.java
11451         (Scrollbar): Implements javax.accessibility.Accessible;
11452         * java/awt/TextComponent.java
11453         (setCaretPosition): Throw exception, documentation added.
11454         * java/awt/Toolkit.java:
11455         Added some newlines in method documentations.
11456         (createButton): Exception documentation added.
11457         (createTextField): Exception documentation added.
11458         (createLabel): Exception documentation added.
11459         (createList): Exception documentation added.
11460         (createCheckbox): Exception documentation added.
11461         (createScrollbar): Exception documentation added.
11462         (createScrollPane): Exception documentation added.
11463         (createTextArea): Exception documentation added.
11464         (createChoice): Exception documentation added.
11465         (createFrame): Exception documentation added.
11466         (createWindow): Exception documentation added.
11467         (createDialog): Exception documentation added.
11468         (createMenuBar): Exception documentation added.
11469         (createMenu): Exception documentation added.
11470         (createMenuItem): Exception documentation added.
11471         (createFileDialog): Exception documentation added.
11472         (createCheckboxMenuItem): Exception documentation added.
11473         (loadSystemColors): Exception documentation added.
11474         (setDynamicLayout): Exception documentation added.
11475         (isDynamicLayoutSet): Exception documentation added.
11476         (isDynamicLayoutActive): Exception documentation added.
11477         (getScreenSize): Exception documentation added.
11478         (getScreenResolution): Exception documentation added.
11479         (getScreenInsets): Exception documentation added.
11480         (getColorModel): Exception documentation added.
11481         (getSystemClipboard): Exception documentation added.
11482         (getSystemSelection): Exception documentation added.
11483         (getMenuShortcutKeyMask): Exception documentation added.
11484         (getSystemEventQueue): Exception documentation added.
11485         * java/awt/Window.java:
11486         Reindented some code.
11487         (Window): Centralized implementation, documentation added.
11488         (finalize): Documentation added.
11489         (hide): Fixed typo in comment.
11490         (getWindowListeners): Documentation added.
11491         * java/awt/color/ColorSpace.java
11492         (toRGB): Documentation added.
11493         * java/awt/color/ICC_ColorSpace.java
11494         (ICC_ColorSpace): Documentation added.
11495         (toRGB): Throw exception, documentation added.
11496         (fromRGB): Throw exception, documentation added.
11497         (toCIEXYZ): Documentation added.
11498         (fromCIEXYZ): Documentation added.
11499         (getMinValue): Documentation added.
11500         (getMaxValue): Documentation added.
11501         * java/awt/geom/Dimension2D.java
11502         (clone): Documentation added.
11503         * java/awt/geom/GeneralPath.java
11504         (clone): Documentation added.
11505         * java/awt/geom/Line2D.java
11506         (clone): Documentation added.
11507         * java/awt/geom/QuadCurve2D.java
11508         (clone): Documentation added.
11509         * java/awt/image/ColorModel.java
11510         (ColorModel): Throw exception, documentation added.
11511         * java/awt/image/ImageFilter.java
11512         (clone): Doesnt throw CloneNotSupportedException.
11513
11514 2003-01-14  Andrew Haley  <aph@redhat.com>
11515
11516         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
11517         in a try block.
11518
11519 2003-01-10  Andrew Haley  <aph@redhat.com>
11520
11521         * include/dwarf2-signal.h: Remove x86_64.
11522         * configure.host (x86_64 DIVIDESPEC): Remove.
11523         * include/x86_64-signal.h: New file.
11524         * configure.in: Regenerate.
11525
11526 2003-01-10  Michael Koch  <konqueror@gmx.de>
11527
11528         * java/net/DatagramSocket.java
11529         (ch): Description added.
11530         (remotePort): Initialize with -1.
11531         (connect): Doesnt throws SocketException.
11532         * java/net/MulticastSocket.java
11533         (setInterface): Merge with Classpath.
11534         * java/net/ServerSocket.java
11535         (closed): New member variable.
11536         (bind): Check if socket is closed.
11537         (close): Close an associated channel too, set new value to closed.
11538         (isBound): Reindented.
11539         (isClosed): Implemented.
11540         * java/net/Socket.java
11541         (closed): New member variable.
11542         (bind): Check if socket is closed.
11543         (connect): Check if socket is closed.
11544         (close): Close an associated channel too, set new value to closed.
11545         (isClosed): Implemented.
11546
11547 2003-01-10  Michael Koch  <konqueror@gmx.de>
11548
11549         * java/awt/DisplayMode.java
11550         (equals): Fixed argument type and implementation.
11551
11552 2003-01-07  Tom Tromey  <tromey@redhat.com>
11553
11554         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
11555         JV_HASH_SYNCHRONIZATION.
11556         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
11557         JV_HASH_SYNCHRONIZATION.
11558
11559 2003-01-07  Michael Koch  <konqueror@gmx.de>
11560  
11561         * java/net/DatagramSocket.java:
11562         Added classpath license info.
11563         (DatagramSocket): Merged description with classpath.
11564         (close): Merged description with classpath.
11565         (getChannel): Merged description with classpath.
11566         (getInetAddress): Merged description with classpath.
11567         (getPort): Merged description with classpath.
11568         (getLocalAddress): Merged description with classpath.
11569         (getLocalPort): Merged description with classpath.
11570         (getSoTimeout): Merged description with classpath.
11571         (setSoTimeout): Merged description with classpath.
11572         (getSendBufferSize): Merged description with classpath.
11573         (setSendBufferSize): Merged description with classpath.
11574         (getReceiveBufferSize): Merged description with classpath.
11575         (setReceiveBufferSize): Merged description with classpath.
11576         
11577 2003-01-04  Tom Tromey  <tromey@redhat.com>
11578
11579         * java/awt/List.java: Merged with Classpath.
11580
11581 2003-01-03  Mark Wielaard  <mark@klomp.org>
11582
11583         * java/io/FileDescriptor.java (position): New private field.
11584         * java/io/natFileDescriptorPosix.cc (write): Up position.
11585         (setLength): Use and set position.
11586         (seek): Set position.
11587         (getFilePointer): Return position.
11588         (read): Up position.
11589
11590 2003-01-03  Mark Wielaard  <mark@klomp.org>
11591
11592         Merge with Classpath:
11593         * java/io/ObjectStreamClass.java (lookup): Split method and call
11594         lookupForClassObject().
11595         (lookupForClassObject): New method.
11596         (isProxyClass): New field.
11597         (setClass): Set isProxyClass, add object to classLookupTable, set
11598         superClass and calculateOffsets.
11599         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
11600         and not a proxy class.
11601         (setFields): Set accessible true for serialPersistentFields.
11602         (getClassUID): Same for suid. And check if suid is of type long.
11603         (hasClassInitializer): Don't throw NoSuchMethodError.
11604
11605 2003-01-03  Mark Wielaard  <mark@klomp.org>
11606
11607         * java/io/FileInputStream.java (finalize): Don't explicitly
11608         finalize FileDescriptor.
11609
11610 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
11611
11612         * configure.host (sparc*-*): Enable bytecode interpreter.
11613
11614 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
11615
11616         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
11617         Don't throw RemoteException.
11618         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
11619         throw RemoteException.
11620
11621 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
11622
11623         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
11624         proxyHost): New static fields.
11625         (<clinit>): Initialize new fields.
11626         (connect): Use proxy if necessary.
11627         (usingProxy): Implement.
11628
11629 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
11630
11631         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
11632         (TreeIterator.remove): Prefer IllegalStateException over
11633         ConcurrentModificationException, to match Sun.
11634
11635 2002-12-22  Anthony Green  <green@redhat.com>
11636
11637         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
11638
11639 2003-01-02  Mark Wielaard  <mark@klomp.org>
11640
11641         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
11642         public.
11643         (HTTP_USE_PROXY): Add field.
11644         (getResponseVals): Only set responseCode when not yet explicitly
11645         set by subclass.
11646
11647 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
11648             Mark Wielaard  <mark@klomp.org>
11649
11650         * java/util/zip/ZipFile.java (entries): Now HashMap.
11651         (readLeShort(DataInput, byte[])): Read from given byte array.
11652         (readLeInt(DataInput, byte[]): Likewise.
11653         (readLeShort(byte[] b, int off)): New method.
11654         (readLeInt(byte[] b, int off)): Likewise.
11655         (readEntries): Use byte arrays to read info in bigger chunks.
11656         (getEntries): Return HashMap.
11657         (getEntry): Use HashMap.
11658         (locBuf): New private field.
11659         (checkLocalHeader): Use locBuf to read info in one chunk.
11660         (getInputStream): Use entries HashMap, wrap PartialInputStream
11661         in BufferedInputStream.
11662         (ZipEntryEnumeration): Use HashMap and Interator.
11663
11664 2003-01-02  Mark Wielaard  <mark@klomp.org>
11665             Jeroen Frijters  <jeroen@sumatra.nl>
11666
11667         * java/net/URLClassLoader.java (Resource.getCodeSource):
11668         Fix check certs == null.
11669         (getCanonicalFileURL): Removed method.
11670         (JarURLLoader): Don't call removed method.
11671         (FileURLLoader): Likewise.
11672         (FileURLLoader.getResource): Don't canonicalize file name.
11673
11674 2003-01-01  Tom Tromey  <tromey@redhat.com>
11675
11676         * Makefile.in: Rebuilt.
11677         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
11678         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
11679         java/awt/BufferCapabilities.java, java/awt/Button.java,
11680         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
11681         java/awt/Container.java, java/awt/Cursor.java,
11682         java/awt/EventQueue.java, java/awt/FileDialog.java,
11683         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
11684         java/awt/MenuBar.java, java/awt/MenuComponent.java,
11685         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
11686         java/awt/Scrollbar.java, java/awt/TextArea.java,
11687         java/awt/TextField.java, java/awt/color/CMMException.java,
11688         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
11689         java/awt/color/ProfileDataException.java,
11690         java/awt/datatransfer/Clipboard.java,
11691         java/awt/datatransfer/DataFlavor.java,
11692         java/awt/datatransfer/FlavorMap.java,
11693         java/awt/datatransfer/SystemFlavorMap.java,
11694         java/awt/dnd/DragGestureEvent.java,
11695         java/awt/dnd/DragGestureRecognizer.java,
11696         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
11697         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
11698         java/awt/im/InputMethodHighlight.java,
11699         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
11700         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
11701
11702         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
11703         `op' to BufferedImageOp.
11704
11705 2002-12-31  Tom Tromey  <tromey@redhat.com>
11706
11707         Fix for PR libgcj/7416:
11708         * javax/naming/InitialContext.java (init): Use
11709         gnu.classpath.home.url.
11710         * java/security/Security.java: Use new properties.
11711         (loadProviders): Accept base url; use it.
11712         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
11713         gnu.classpath.home.url.
11714         (gnu.classpath.home.url): Define.
11715         (gnu.classpath.vm.shortname): Likewise.
11716
11717 2002-12-31  Tom Tromey  <tromey@redhat.com>
11718             Ranjit Mathew  <rmathew@hotmail.com>
11719
11720         Fix for PR libgcj/8997:
11721         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
11722         Include platform.h.
11723         * include/posix.h (_Jv_platform_usleep): New function.
11724         * include/win32.h (_Jv_platform_usleep): New function.
11725
11726 2002-12-29  Tom Tromey  <tromey@redhat.com>
11727
11728         * gcj/javaprims.h: Updated.
11729         * scripts/classes.pl (scan): Removed stray semicolon.
11730
11731 2002-12-30  Mark Wielaard  <mark@klomp.org>
11732
11733         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
11734         if zero or smaller.
11735
11736 2002-12-30  Mark Wielaard  <mark@klomp.org>
11737
11738         * java/util/Properties (formatForOutput): Don't fall through to
11739         default case after escaping character.
11740
11741 2002-12-30  Mark Wielaard  <mark@klomp.org>
11742
11743         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
11744         against count.
11745
11746 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
11747
11748         * boehm.cc: Remove stray semicolon.
11749         * interpret.cc: Likewise.
11750         * prims.cc: Likewise.
11751         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
11752         earlier to ensure default arguments are processed.
11753         * gcj/array.h (JArray): Add forward declaration.
11754         (elements): Likewise.
11755         * gcj/javaprim.h: Remove stray semicolons.
11756         * include/bohm-gc.h: Likewise.
11757         * include/jni.h: Likewise.
11758         * include/jvm.h: Likewise.
11759         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
11760         
11761 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
11762
11763         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
11764         of catch_type.
11765         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
11766         idt tables after initializing superclass.
11767         * java/lang/natClassLoader.cc (uaddr): New typedef.
11768         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
11769         if they are constant pool indicies.  Don't link vtable, otable yet.
11770
11771 2002-12-21  Anthony Green  <green@redhat.com>
11772
11773         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
11774         libraries.
11775         * Makefile.in: Rebuilt.
11776
11777 2002-12-19  Anthony Green  <green@redhat.com>
11778
11779         * Makefile.am (ordinary_java_source_files): Add
11780         org/xml/sax/helpers/NewInstance.java.
11781         * Makefile.in: Rebuilt.
11782         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
11783         org/xml/sax/helpers/package.html: New files.
11784         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
11785         http://www.saxproject.org.
11786
11787 2002-12-19  Andrew Haley  <aph@redhat.com>
11788
11789         * java/util/natResourceBundle.cc: Include
11790         ArrayIndexOutOfBoundsException.h.
11791         (getCallingClassLoader): Don't put upper bound on stack search.
11792         Catch ArrayIndexOutOfBoundsException.
11793
11794 2002-12-19  Tom Tromey  <tromey@redhat.com>
11795
11796         * libtool-version: Increased `current'.
11797
11798 2002-12-19  Tom Tromey  <tromey@redhat.com>
11799
11800         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
11801         comment.
11802         * java/lang/ClassLoader.java (defineClass): Use chained
11803         exception when rethrowing.
11804         * defineclass.cc (handleClassBegin): Mark class as interpreted.
11805         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
11806         constants.
11807         * resolve.cc (_Jv_PrepareMissingMethods): New function.
11808         (_Jv_PrepareClass): Use it.
11809         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
11810         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
11811         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
11812         (Class): _Jv_PrepareMissingMethods now friend.
11813         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
11814         Record `NULL' for system class loader.
11815         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
11816         system class loader.
11817         (_Jv_FindClassInCache): Likewise.
11818         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
11819         (_Jv_FindClass): Special case system class loader.
11820         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
11821         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
11822         vtable slots.
11823         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
11824         in a final class.
11825         (_getDeclaredMethod): Don't return synthetic methods.
11826         (getDeclaredMethods): Likewise.
11827         (_getMethod): Likewise.
11828         (_getMethods): Likewise.
11829
11830 2002-12-18  Raif Naffah  <raif@fl.net.au>
11831
11832         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
11833         canonical form after divide().
11834         (modInverse): Likewise.
11835
11836 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
11837             Mark Wielaard  <mark@klomp.org>
11838
11839         * java/security/SecurityRandom (digest): Removed field.
11840         (SecureRandom): Check all providers for case-insensitive SecureRandom
11841         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
11842         if necessary.
11843         (getInstance(String,Provider,boolean): New method.
11844         (getInstance(String)): Use new method.
11845         (getInstance(String,String)): Likewise.
11846         (getInstance(String,Provider)): Likewise.
11847
11848 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
11849
11850         * java/security/Security.java (loadProviders): Increment i only once.
11851
11852 2002-12-12  Mark Wielaard  <mark@klomp.org>
11853
11854         * java/lang/ClassLoader.java (resolveClass0): Transform
11855         ClassNotFoundException to NoClassDefFoundError. Transform all other
11856         throwables to LinkageError.
11857
11858 2002-12-11  Tom Tromey  <tromey@redhat.com>
11859
11860         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
11861
11862         * java/lang/ClassLoader.java (loadedClasses): New field.
11863         (defineClass): Fixed indentation.  Put new class in
11864         loadedClasses.
11865         (findLoadedClass): Implement here.
11866         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
11867
11868 2002-12-10  Tom Tromey  <tromey@redhat.com>
11869
11870         * Makefile.in: Rebuilt.
11871         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11872         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
11873         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
11874         * java/lang/natClassLoader.cc
11875         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
11876
11877 2002-12-10  Mark Wielaard  <mark@klomp.org>
11878             Tom Tromey  <tromey@redhat.com>
11879
11880         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
11881         (JarURLLoader): Use it.
11882         (FileURLLoader): Likewise.
11883         (JarURLResource.getURL): Use chained exception.
11884         (FileResource.getURL): Likewise.
11885         (FileURLLoader.getResource): Use canonical file name.
11886         (addURL): Indentation fix.
11887
11888 2002-12-10  Tom Tromey  <tromey@redhat.com>
11889
11890         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
11891         From Laurent Bardet <l.bardet@magic.fr>.
11892
11893 2002-12-09  Tom Tromey  <tromey@redhat.com>
11894
11895         * include/win32.h (_Jv_platform_solib_prefix): New define.
11896         (_Jv_platform_solib_suffix): Likewise.
11897         * include/posix.h (_Jv_platform_solib_prefix): New define.
11898         (_Jv_platform_solib_suffix): Likewise.
11899         * java/lang/natRuntime.cc: Include StackTrace.h.
11900         (_load): Use findLibrary and new platform defines.
11901         (nativeGetLibname): Use new platform defines.
11902
11903         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
11904         `t' won't be null.
11905
11906 2002-12-08  Mark Wielaard  <mark@klomp.org>
11907
11908         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
11909         cache remote jar files.
11910         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
11911         add File.separator to URL when it is a directory.
11912         * java/lang/ClassLoader.java: Add Classpath javadoc.
11913         (parent): final.
11914         (getParent): Add (disabled) security check.
11915         (findLibrary): New default method.
11916         * java/net/JarURLConnection.java (getManifest): Implement.
11917         (getInputStream): Only create InputStream when entry exists.
11918         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
11919         when they exist.
11920         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
11921
11922 2002-12-08  Mark Wielaard  <mark@klomp.org>
11923
11924         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
11925         (lastDefaultLocale): New field.
11926         (getBundle): When Locale.getDefault != lastDefaultLocale reset
11927         resourceBundleCache.
11928
11929 2002-12-06  Mark Wielaard  <mark@klomp.org>
11930
11931         * java/net/InetAddress.java (toString): Use hostname when not null,
11932         don't do an explicit reverse getHostName() lookup.
11933         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
11934         NullPointerException.
11935
11936 2002-12-06  Tom Tromey  <tromey@redhat.com>
11937
11938         * include/java-interp.h (class _Jv_InterpMethod): Added
11939         JV_MARKOBJ_DECL.
11940         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
11941         mark `prepared' field of interpreted method.
11942         * interpret.cc (compile): Use _Jv_AllocBytes.
11943
11944 2002-12-05  Andrew Haley  <aph@redhat.com>
11945
11946         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
11947         #ifdef (HAVE_BACKTRACE) around the whole function body.
11948
11949 2002-12-05  Tom Tromey  <tromey@redhat.com>
11950
11951         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
11952         * resolve.cc: Don't include AbstractMethodError.h.
11953         (_Jv_abstractMethodError): Removed.
11954         * defineclass.cc (handleMethodsBegin): Initialize method index to
11955         -1.
11956         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
11957         method index for "new" final method.
11958         (_Jv_SetVTableEntries): Compare index against -1 instead of using
11959         isVirtualMethod.  Added `flags' argument.
11960         (_Jv_MakeVTable): Throw exception for abstract method in concrete
11961         class.
11962
11963 2002-12-04  Tom Tromey  <tromey@redhat.com>
11964
11965         * java/net/SocketPermission.java (hashCode): Rewrote.
11966
11967 2002-12-04  Tom Tromey  <tromey@redhat.com>
11968
11969         * Makefile.in: Rebuilt.
11970         * Makefile.am (nat_source_files): Added natVMSecurityManager,
11971         natResourceBundle.
11972         * java/util/ResourceBundle.java (Security): Removed.
11973         (getCallingClassLoader): Now native.
11974         * java/util/natResourceBundle.cc: New file.
11975         * java/lang/natVMSecurityManager.cc: New file.
11976         * java/lang/VMSecurityManager.java (getClassContext): Now native.
11977
11978 2002-12-03  Mark Wielaard  <mark@klomp.org>
11979
11980         * java/util/jar/JarFile.java (manifest): Not final.
11981         (manifestRead): New field.
11982         (JarFile): Don't read Manifest in constructor.
11983         (getManifest): New method.
11984         (JarEnumeration.nextElement): Use new method.
11985         (getEntry): Likewise.
11986         * java/util/zip/ZipFile.java (name): Final.
11987         (raf): Likewsie.
11988         (entries): Change type to Hashtable.
11989         (closed): New field.
11990         (ZipFile): Don't read enties in constructor.
11991         (readEntries): Use Hashtable.
11992         (close): Set new close flag and set entries to null inside
11993         synchronized block.
11994         (entries): Contruct enumeration using new getEntries() method and
11995         entries Hashtable.
11996         (getEntryIndex): Removed.
11997         (getEntries): New method.
11998         (getEntry): Use new getEntries() method and entries Hastable.
11999         (getInputStream): Likewise.
12000         (size): Return getEntries().size().
12001         (ZipEntryEnumeration): Wrap entries Hashtable elements.
12002         * java/util/zip/ZipEntry.java (cal): Don't initialize.
12003         (time): Removed
12004         (dostime): New field.
12005         (zipFileIndex): Removed.
12006         (ZipEntry(ZipEntry)): Copy dostime.
12007         (setDOSTime): Now final and doesn't convert dos time.
12008         (getDOSTime): Likewise.
12009         (setTime): Convert dos time.
12010         (getTime): Likewise.
12011         (getCalendar): New method.
12012         (setExtra): Use setTime().
12013         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
12014
12015 2002-12-03  Tom Tromey  <tromey@redhat.com>
12016
12017         * java/lang/Character.java (forDigit): Formatting fix.
12018
12019 2002-12-03  Raif Naffah  <raif@fl.net.au>
12020
12021         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
12022         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
12023         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
12024
12025 2002-12-03  Andrew Haley  <aph@redhat.com>
12026
12027         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
12028         _Jv_PushClass.
12029         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
12030         (_Jv_PopClass): New.
12031         (_Jv_PushClass): New.
12032         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
12033         discover the ClassLoader of our caller.
12034         (_Jv_CheckArrayStore): Don't check that a class is assignment
12035         compatible with Object.
12036         * java/lang/natVMTHrowable.cc: Delete.
12037         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
12038         java.lang.VMThrowable.
12039         (StackTrace(), StackTrace(int)): New constructors.
12040         (classAt, methodAt, update, methodAtAddress): New methods.
12041         (map): New field.
12042         * java/lang/VMThrowable.java: Use StackTrace instead of
12043         natVMTHrowable.
12044         * java/lang/Class.h (getClassLoaderInternal): New.
12045         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
12046         Be friendly with gnu::gcj::runtime::StackTrace.
12047         (Object.chain): New field.
12048         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
12049         gnu::gcj::runtime::StackTrace.
12050         * gnu/gcj/runtime/natStackTrace.cc: New file.
12051         * gnu/gcj/runtime/MethodRef.java: New file.
12052         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
12053         instead of getClassLoader().
12054         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
12055         java::lang::VMThrowable.
12056         * Makefile.am (core_java_source_files): Add MethodRef.java,
12057         StackTrace.java.
12058         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
12059         * Makefile.in: Rebuild.
12060
12061 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
12062
12063         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
12064         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
12065         yes also for sh-linux* and sh[34]*-linux*.
12066         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
12067         set SIGNAL_HANDLER to use DWARF2 exception for them.
12068         * configure: Regenerate.
12069
12070 2002-12-02  Tom Tromey  <tromey@redhat.com>
12071
12072         * jni.cc: Added `name' argument.
12073         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
12074         `const char *' argument.
12075         (class _Jv_JNIEnv) [DefineClass]: Likewise.
12076
12077 2002-12-01  Tom Tromey  <tromey@redhat.com>
12078
12079         Bug compatibility, for PR libgcj/8738:
12080         * java/io/CharArrayWriter.java (close): Do nothing.
12081         (flush): Likewise.
12082         (reset): Don't touch `closed'.
12083         (write(int)): Don't throw IOException.
12084         (write(char[],int,int)): Likewise.
12085         (write(String,int,int)): Likewise.
12086         (closed): Removed.
12087
12088 2002-12-01  Mark Wielaard  <mark@klomp.org>
12089
12090         * java/lang/SecurityManager.java: Remerge comments, indenting and
12091         checkXXX methods with Classpath.
12092
12093 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
12094
12095         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
12096         getNormalizedComponents): Fix calculation which was using one too
12097         many bits in the unnormalized format.
12098
12099 2002-11-29  Gary Benson  <gbenson@redhat.com>
12100
12101         For PR libgcj/8759:
12102         * java/beans/Introspector.java (flushCaches): New method.
12103         (flushFromCaches): Likewise.
12104
12105 2002-11-29  Michael Koch <konqueror@gmx.de>
12106
12107         * java/nio/channels/DatagramChannel.java
12108         (open): Added exception documentation.
12109         (write): Added exception documentation.
12110         (connect): Added exception documentation.
12111         (disconnect): Added exception documentation.
12112         (isConnected): Added exception documentation.
12113         (read): Added exception documentation.
12114         (receive): Added exception documentation.
12115         (send): Added exception documentation.
12116         (validOps): Added exception documentation.
12117         * java/nio/channels/SocketChannel.java
12118         (open): Added exception documentation.
12119         (read): Added exception documentation.
12120         (write): Added exception documentation.
12121         (connect): Added exception documentation.
12122         (finishConnect): Added exception documentation.
12123
12124 2002-11-29  Michael Koch <konqueror@gmx.de>
12125
12126         * gnu/java/nio/DatagramChannelImpl:
12127         (fd): New member variable to store file descriptor of socket.
12128         * gnu/java/nio/SelectionKeyImpl.java:
12129         (ops): Removed.
12130         (readyOps): New member variable.
12131         (interestOps): New member variable.
12132         (readyOps): Implemented.
12133         (readyOps): New method to set member variable readyOps.
12134         (interestOps): Replaced ops by interestOps.
12135         * gnu/java/nio/SelectorImpl.java:
12136         (SelectorImpl): Initialize key sets.
12137         (select): Call select with -1 instead of Long.MAX_VALUE).
12138         (java_do_select): Make it a native method.
12139         (getFDsAsArray): New helper method.
12140         (select): Remove canceled keys, give only interested file discriptors
12141         to java_do_select, set ready ops.
12142         (add): No need to initialize keys set here.
12143         (add_selected): No need to initialize selected set here.
12144         (deregisterCanceledKeys): New helper method.
12145         (register): Set interest ops, set attachments, added handling of datagram
12146         channels.
12147         * gnu/java/nio/ServerSocketChannelImpl:
12148         (SocketAccept): Renamed from NioSocketAccept.
12149         (implConfigureBlocking): Implemented.
12150         (accept): Use SocketAccept instead of NioSocketAccept.
12151         * gnu/java/nio/SocketChannelImpl:
12152         Reactivate native methods.
12153
12154 2002-11-29  Michael Koch <konqueror@gmx.de>
12155
12156         * gnu/java/nio/natByteBufferImpl.cc,
12157         gnu/java/nio/natCharBufferImpl.cc,
12158         gnu/java/nio/natDoubleBufferImpl.cc,
12159         gnu/java/nio/natFloatBufferImpl.cc,
12160         gnu/java/nio/natIntBufferImpl.cc,
12161         gnu/java/nio/natLongBufferImpl.cc,
12162         gnu/java/nio/natSelectorImpl.cc,
12163         gnu/java/nio/natServerSocketChannelImpl.cc,
12164         gnu/java/nio/natShortBufferImpl.cc,
12165         gnu/java/nio/natSocketChannelImpl.cc:
12166         New files that implement native functionalities.
12167
12168 2002-11-29  Michael Koch <konqueror@gmx.de>
12169
12170         * gnu/java/nio/ByteBufferImpl.java
12171         (ByteBufferImpl): Moved position() after limit.
12172         (nio_*): Use native implementation.
12173         * gnu/java/nio/CharBufferImpl.java:
12174         Reformated.
12175         (endian): New member variable string endianess of buffer.
12176         (CharBufferImpl): Moved position() after limit.
12177         (nio_*): Use native implementation.
12178         (subSequence): Implemented.
12179         * gnu/java/nio/DoubleBufferImpl.java
12180         (DoubleBufferImpl): Moved position() after limit.
12181         (nio_*): Use native implementation.
12182         * gnu/java/nio/FloatBufferImpl.java
12183         Reformated.
12184         (FloatBufferImpl): Moved position() after limit.
12185         (nio_*): Use native implementation.
12186         * gnu/java/nio/IntBufferImpl.java
12187         Added needed imports, Reformated.
12188         (IntBufferImpl): Moved position() after limit.
12189         (nio_*): Use native implementation.
12190         * gnu/java/nio/LongBufferImpl.java
12191         Reformated.
12192         (LongBufferImpl): Moved position() after limit.
12193         (nio_*): Use native implementation.
12194         * gnu/java/nio/ShortBufferImpl.java
12195         Reformated.
12196         (ShortBufferImpl): Moved position() after limit.
12197         (nio_*): Use native implementation.
12198
12199 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
12200
12201         * java/util/Locale.java (toString): Improve efficiency if country
12202         and variant are both empty.
12203
12204 2002-11-26  Tom Tromey  <tromey@redhat.com>
12205
12206         * verify.cc (pop_init_ref): New method.
12207         (verify_instructions_0) [op_iaload, op_laload, op_faload,
12208         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
12209         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
12210         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
12211         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
12212         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
12213         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
12214         let `this' argument be uninitialized.  Don't let `null' be passed
12215         as `this' to construtor.
12216
12217 2002-11-26  Mark Wielaard  <mark@klomp.org>
12218
12219         * javax/transaction/HeuristicCommitException.java: Classpath merge.
12220         * javax/transaction/HeuristicMixedException.java: Likewise.
12221         * javax/transaction/HeuristicRollbackException.java: Likewise.
12222         * javax/transaction/InvalidTransactionException.java: Likewise.
12223         * javax/transaction/NotSupportedException.java: Likewise.
12224         * javax/transaction/RollbackException.java: Likewise.
12225         * javax/transaction/Status.java: Likewise.
12226         * javax/transaction/Synchronization.java: Likewise.
12227         * javax/transaction/SystemException.java: Likewise.
12228         * javax/transaction/Transaction.java: Likewise.
12229         * javax/transaction/TransactionManager.java: Likewise.
12230         * javax/transaction/TransactionRequiredException.java: Likewise.
12231         * javax/transaction/TransactionRolledbackException.java: Likewise.
12232         * javax/transaction/UserTransaction.java: Likewise.
12233         * javax/transaction/xa/XAException.java: Likewise.
12234         * javax/transaction/xa/XAResource.java: Likewise.
12235         * javax/transaction/xa/Xid.java: Likewise.
12236
12237 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
12238
12239         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
12240         define.
12241         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
12242         * include/posix.h (socklen_t): Define if not already defined.
12243
12244 2002-11-25  Tom Tromey  <tromey@redhat.com>
12245
12246         * verify.cc (type::compatible): Backed out broken change.
12247
12248         * verify.cc (type::compatible): Check initialization status
12249         first.
12250         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
12251         Don't use NULLCHECK.
12252
12253 2002-11-23  H.J. Lu <hjl@gnu.org>
12254
12255         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
12256         Include ../config/accross.m4.
12257         * aclocal.m4; Rebuild.
12258         * configure: Likewise.
12259
12260 2002-11-23  Mark Wielaard  <mark@klomp.org>
12261
12262         * javax/naming/AuthenticationException.java: Update copyright header.
12263         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
12264         * javax/naming/Binding.java: Likewise.
12265         * javax/naming/CannotProceedException.java: Likewise.
12266         * javax/naming/CommunicationException.java: Likewise.
12267         * javax/naming/CompositeName.java: Likewise.
12268         * javax/naming/CompoundName.java: Likewise.
12269         * javax/naming/ConfigurationException.java: Likewise.
12270         * javax/naming/Context.java: Likewise.
12271         * javax/naming/ContextNotEmptyException.java: Likewise.
12272         * javax/naming/InitialContext.java: Likewise.
12273         * javax/naming/InsufficientResourcesException.java: Likewise.
12274         * javax/naming/InterruptedNamingException.java: Likewise.
12275         * javax/naming/LimitExceededException.java: Likewise.
12276         * javax/naming/LinkException.java: Likewise.
12277         * javax/naming/LinkLoopException.java: Likewise.
12278         * javax/naming/LinkRef.java: Likewise.
12279         * javax/naming/MalformedLinkException.java: Likewise.
12280         * javax/naming/NameAlreadyBoundException.java: Likewise.
12281         * javax/naming/NameClassPair.java: Likewise.
12282         * javax/naming/NameNotFoundException.java: Likewise.
12283         * javax/naming/NameParser.java: Likewise.
12284         * javax/naming/NamingEnumeration.java: Likewise.
12285         * javax/naming/NamingSecurityException.java: Likewise.
12286         * javax/naming/NoInitialContextException.java: Likewise.
12287         * javax/naming/NoPermissionException.java: Likewise.
12288         * javax/naming/NotContextException.java: Likewise.
12289         * javax/naming/OperationNotSupportedException.java: Likewise.
12290         * javax/naming/PartialResultException.java: Likewise.
12291         * javax/naming/Reference.java: Likewise.
12292         * javax/naming/Referenceable.java: Likewise.
12293         * javax/naming/ReferralException.java: Likewise.
12294         * javax/naming/ServiceUnavailableException.java: Likewise.
12295         * javax/naming/SizeLimitExceededException.java: Likewise.
12296         * javax/naming/TimeLimitExceededException.java: Likewise.
12297         * javax/naming/directory/Attribute.java: Likewise.
12298         * javax/naming/directory/AttributeInUseException.java: Likewise.
12299         * javax/naming/directory/AttributeModificationException.java: Likewise.
12300         * javax/naming/directory/Attributes.java: Likewise.
12301         * javax/naming/directory/BasicAttribute.java: Likewise.
12302         * javax/naming/directory/BasicAttributes.java: Likewise.
12303         * javax/naming/directory/DirContext.java: Likewise.
12304         * javax/naming/directory/InitialDirContext.java: Likewise.
12305         * javax/naming/directory/InvalidAttributeIdentifierException.java:
12306         Likewise.
12307         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
12308         * javax/naming/directory/InvalidAttributesException.java: Likewise.
12309         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
12310         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
12311         * javax/naming/directory/ModificationItem.java: Likewise.
12312         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
12313         * javax/naming/directory/SchemaViolationException.java: Likewise.
12314         * javax/naming/directory/SearchControls.java: Likewise.
12315         * javax/naming/directory/SearchResult.java: Likewise.
12316         * javax/naming/event/EventContext.java: Likewise.
12317         * javax/naming/event/EventDirContext.java: Likewise.
12318         * javax/naming/event/NamespaceChangeListener.java: Likewise.
12319         * javax/naming/event/NamingEvent.java: Likewise.
12320         * javax/naming/event/NamingExceptionEvent.java: Likewise.
12321         * javax/naming/event/NamingListener.java: Likewise.
12322         * javax/naming/event/ObjectChangeListener.java: Likewise.
12323         * javax/naming/ldap/Control.java: Likewise.
12324         * javax/naming/ldap/ControlFactory.java: Likewise.
12325         * javax/naming/ldap/ExtendedRequest.java: Likewise.
12326         * javax/naming/ldap/ExtendedResponse.java: Likewise.
12327         * javax/naming/ldap/HasControls.java: Likewise.
12328         * javax/naming/ldap/InitialLdapContext.java: Likewise.
12329         * javax/naming/ldap/LdapContext.java: Likewise.
12330         * javax/naming/ldap/LdapReferralException.java: Likewise.
12331         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
12332         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
12333         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
12334         * javax/naming/spi/DirObjectFactory.java: Likewise.
12335         * javax/naming/spi/DirStateFactory.java: Likewise.
12336         * javax/naming/spi/DirectoryManager.java: Likewise.
12337         * javax/naming/spi/InitialContextFactory.java: Likewise.
12338         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
12339         * javax/naming/spi/NamingManager.java: Likewise.
12340         * javax/naming/spi/ObjectFactory.java: Likewise.
12341         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
12342         * javax/naming/spi/ResolveResult.java: Likewise.
12343         * javax/naming/spi/Resolver.java: Likewise.
12344         * javax/naming/spi/StateFactory.java: Likewise.
12345
12346         * javax/naming/spi/NamingManager.java (ofb): Package private.
12347
12348 2002-11-21  Mark Wielaard  <mark@klomp.org>
12349
12350         * java/net/URL.java: Merge with Classpath (partly).
12351         * java/net/URLStreamHandler: Merge with Classpath.
12352
12353 2002-11-22  Michael Koch <konqueror@gmx.de>
12354
12355         * include/posix.h:
12356         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12357         * include/win32.h:
12358         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12359         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
12360
12361 2002-11-21  Michael Koch <konqueror@gmx.de>
12362
12363         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
12364         Only the new network functions should be in it.
12365
12366 2002-11-21  Michael Koch <konqueror@gmx.de>
12367
12368         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12369         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12370
12371 2002-11-21  Michael Koch <konqueror@gmx.de>
12372
12373         * java/nio/channels/AsynchronousCloseException.java,
12374         java/nio/channels/CancelledKeyException.java,
12375         java/nio/channels/ClosedByInterruptException.java,
12376         java/nio/channels/ConnectionPendingException.java,
12377         java/nio/channels/FileLockInterruptionException.java,
12378         java/nio/channels/IllegalSelectorException.java,
12379         java/nio/channels/NoConnectionPendingException.java,
12380         java/nio/channels/NonReadableChannelException.java,
12381         java/nio/channels/NonWritableChannelException.java,
12382         java/nio/channels/NotYetBoundException.java,
12383         java/nio/channels/NotYetConnectedException.java,
12384         java/nio/channels/OverlappingFileLockException.java,
12385         java/nio/channels/UnresolvedAddressException.java,
12386         java/nio/channels/UnsupportedAddressTypeException.java:
12387         New files.
12388         * Makefile.am (ordinary_java_source_files): Added new files.
12389         * Makefile.in: Regenerated.
12390
12391 2002-11-21  Michael Koch <konqueror@gmx.de>
12392
12393         * include/posix.h
12394         (_Jv_socket): New method.
12395         (_Jv_connect): New method.
12396         (_Jv_close): New method.
12397         (_Jv_platform_close_on_exec): Prefixed system function with "::".
12398         (_Jv_bind): New method.
12399         (_Jv_listen): New method.
12400         (_Jv_write): New method.
12401         (_Jv_read): New method.
12402         * include/win32.h
12403         (_Jv_socket): New method.
12404         (_Jv_connect): New method.
12405         (_Jv_close): New method.
12406         (_Jv_bind): New method.
12407         (_Jv_listen): New method.
12408         (_Jv_write): New method.
12409         (_Jv_read): New method.
12410         * java/net/natNetworkInterface.cc:
12411         Include platform.h, removed inclusion of socket.h
12412         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
12413         ::close() by _Jv_close().
12414         * java/net/natPlainDatagramSocketImpl.cc:
12415         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
12416         added some new lines to make code more readable.
12417         (create): Replaced ::socket() by _Jv_socket().
12418         (close): Replaced NATIVE_CLOSE() by _Jv_close().
12419         * java/net/natPlainSocketImpl.cc:
12420         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
12421         removed include of socket.h, removed some windows defines
12422         (now in include/win32.h).
12423         (create): Replaced ::socket() by _Jv_socket().
12424         (close): Replaced NATIVE_CLOSE() by _Jv_close().
12425         (write): Replaced ::read by _Jv_write().
12426         (read): Replaced ::read by _Jv_read().
12427
12428 2002-11-20  Michael Koch <konqueror@gmx.de>
12429
12430         * Makefile.am (ordinary_java_source_files):
12431         Added java/nio/channels/FileChannel.java.
12432         * Makefile.in: Regenerated.
12433
12434 2002-11-20  Michael Koch <konqueror@gmx.de>
12435
12436         * java/io/FileInputStream.java
12437         (getChannel): New method.
12438         * java/io/FileOutputStream.java
12439         (getChannel): New method.
12440         * java/net/ServerSocket.java
12441         (bind): Removed duplicate code and called another bind method instead.
12442         * java/nio/channels/SelectionKey.java
12443         (isValid): Removed wrong exception documentation.
12444         * java/nio/channels/ServerSocketChannel.java
12445         (accept): Added exception documentation.
12446         (open): Fixed typo, added exception documentation.
12447         * java/nio/channels/spi/AbstractSelectableChannel.java
12448         (implCloseChannel): Added exception documentation.
12449         (add): Reformated.
12450         (register): Added exception documentation.
12451
12452 2002-11-20  Andreas Jaeger  <aj@suse.de>
12453
12454         * configure: Regenerated with new libtool.m4.
12455
12456 2002-11-19  Tom Tromey  <tromey@redhat.com>
12457
12458         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
12459         `referent'.
12460         (finalize_referred_to_object): Don't modify `referent' or `copy'
12461         fields.
12462         (add_to_hash): Correctly set `n->next' when updating list.
12463         * java/lang/ref/Reference.java (enqueue): Return false if already
12464         enqueued.
12465
12466 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
12467
12468         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
12469         to function and function pointer declarations in accordance with
12470         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
12471         based on whether __GCJ_JNI_IMPL__ has been defined or not.
12472         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
12473         JNI function definitions.
12474
12475 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12476
12477         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
12478         that was causing CoderResults to be cached, not WeakReferences
12479         to CoderResults.
12480
12481 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
12482
12483         * java/security/KeyStore.java (getInstance): Fix
12484         comment and throw IllegalArgumentException if
12485         given provider is null.
12486         (getInstance): New method for jdk1.4 compatibility.
12487
12488 2002-11-18  Michael Koch <konqueror@gmx.de>
12489
12490         * java/net/PlainSocketImpl.java: Fix imports.
12491
12492 2002-11-18  Michael Koch <konqueror@gmx.de>
12493
12494         * java/nio/channels/SelectionKey.java
12495         (isValid): Added exception documentation.
12496         * java/nio/channels/Selector.java
12497         (open): Declare "throws IOException".
12498
12499 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12500
12501         * java/nio/charset/Charset.java
12502         (<clinit>): New method.
12503         (encode): Synchronize use of cached encoder object.
12504         (decode): Synchronize use of cached encoder object.
12505
12506 2002-11-18  Michael Koch <konqueror@gmx.de>
12507
12508         * gnu/java/nio/ByteBufferImpl.java,
12509         gnu/java/nio/CharBufferImpl.java,
12510         gnu/java/nio/DatagramChannelImpl.java,
12511         gnu/java/nio/DoubleBufferImpl.java,
12512         gnu/java/nio/FileChannelImpl.java,
12513         gnu/java/nio/FloatBufferImpl.java,
12514         gnu/java/nio/IntBufferImpl.java,
12515         gnu/java/nio/LongBufferImpl.java,
12516         gnu/java/nio/PipeImpl.java,
12517         gnu/java/nio/SelectionKeyImpl.java,
12518         gnu/java/nio/SelectorImpl.java,
12519         gnu/java/nio/SelectorProviderImpl.java,
12520         gnu/java/nio/ServerSocketChannelImpl.java,
12521         gnu/java/nio/ShortBufferImpl.java,
12522         gnu/java/nio/SocketChannelImpl.java,
12523         java/nio/DoubleBuffer.java,
12524         java/nio/FloatBuffer.java,
12525         java/nio/IntBuffer.java,
12526         java/nio/LongBuffer.java,
12527         java/nio/ShortBuffer.java,
12528         java/nio/channels/FileChannel.java: New files.
12529
12530 2002-11-18  Michael Koch <konqueror@gmx.de>
12531
12532         * Makefile.am (ordinary_java_source_files):
12533         Added java/nio/ReadOnlyBufferException.java and
12534         java/nio/channels/ClosedSelectorException.java.
12535         * Makefile.in: Regenerated.
12536
12537 2002-11-18  Michael Koch <konqueror@gmx.de>
12538
12539         * java/net/PlainSocketImpl.java: Reworked imports.
12540         * java/net/ServerSocket.java
12541         (ServerSocket): Create socket.
12542         * java/net/SocketAddress.java: Documentation added.
12543         * java/net/natPlainSocketImpl.cc: Reindented.
12544         * java/nio/ReadOnlyBufferException.java: New file
12545         * java/nio/channels/ClosedChannelException.java: Documentation added.
12546         * java/nio/channels/ClosedSelectorException.java: New file.
12547
12548 2002-11-17  Mark Wielaard  <mark@klomp.org>
12549
12550         * java/net/HttpURLConnection.java ((getPermission): Take port
12551         into consideration.
12552         (getErrorStream): Implement.
12553
12554 2002-11-17  Mark Wielaard  <mark@klomp.org>
12555
12556         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
12557
12558 2002-11-16  Mark Wielaard  <mark@klomp.org>
12559
12560         Integrate work by Raif S. Naffah (raif@fl.net.au)
12561         * java/security/DummyKeyPairGenerator.java (clone): New method.
12562         * java/security/DummyMessageDigest.java (clone): New method.
12563         (engineUpdate): Now public.
12564         (engineReset): Likewise.
12565         (engineDigest): Likewise.
12566         (engineGetDigestLength): New method.
12567         * java/security/DummySignature.java (clone): New method.
12568         * java/security/KeyPairGenerator.java (provider): Now package private.
12569         (getInstance(String)): Use getInstance(String,Provider).
12570         (getInstance(String,String): Use getInstance(String,Provider)
12571         (getInstance(String,Provider): New method.
12572         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
12573         * java/security/KeyPairGeneratorSpi.java (clone): New method.
12574         * java/security/MessageDigest.java (provider): Now package private.
12575         (getInstance(String): Use getInstance(String,Provider).
12576         (getInstance(String,String): Use getInstance(String,Provider)
12577         (getInstance(String,Provider): New method.
12578         * java/security/Provider.java (toCanonicalKey): New method.
12579         (get): New method that uses toCanonicalKey().
12580         (put): Use toCanonicalKey().
12581         (remove): Likewise.
12582         * java/security/Security.java (insertProviderAt): Provider index is one
12583         based, not zero based.
12584         (addProvider): Likewise.
12585         (removeProvider): Likewise.
12586         * java/security/Signature.java (provider): Now package private.
12587         (getInstance(String)): Use getInstance(String,Provider).
12588         (getInstance(String,String): Use getInstance(String,Provider)
12589         (getInstance(String,Provider): New method.
12590         (getInstance(String,String,Provider): Don't cast DummySignature.
12591
12592 2002-11-15  Tom Tromey  <tromey@redhat.com>
12593
12594         For PR libgcj/8593:
12595         * java/util/zip/GZIPInputStream.java (read): Check file size.
12596         Look in inflater for remaining input bytes.
12597         (read4): Added buf and offset arguments.
12598
12599 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
12600
12601         * java/applet/AppletContext.java: Fix typo and remove redundant
12602         modifiers.
12603
12604 2002-11-14  Tom Tromey  <tromey@redhat.com>
12605
12606         * java/lang/natRuntime.cc (insertSystemProperties): Set
12607         gnu.classpath.home.
12608
12609 2002-11-13  Michael Koch <konqueror@gmx.de>
12610
12611         * java/nio/ByteBuffer.java
12612         (allocate): New method.
12613         (wrap): New method.
12614         (put): New method.
12615         (get): New method.
12616
12617 2002-11-13  Michael Koch <konqueror@gmx.de>
12618
12619         * java/nio/channels/AlreadyConnectedException.java:
12620         Removed unneeded import.
12621         (AlreadyConnectedException): Documentation added.
12622         * java/nio/channels/Pipe.java
12623         (SinkChannel.SinkChannel): Documentation added.
12624         (SinkChannel.validOps): New method.
12625         (SourceChannel.SourceChannel): Documentation added.
12626         (SourceChannel.validOps): New method.
12627         (Pipe): Documentation added.
12628         (open): Documentation added.
12629         (SinkChannel.channel): Documentation added.
12630         (SourceChannel.channel): Documentation added.
12631         * java/nio/channel/SelectableChannel.java
12632         (SelectableChannel): Documentation added.
12633         (blockingLock): Documentation added.
12634         (configureBlocking):Documentation added.
12635         (isBlocking):Documentation added.
12636         (isRegistered):Documentation added.
12637         (keyFor):Documentation added.
12638         (provider):Documentation added.
12639         (register): Documentation added.
12640         (validOps): Documentation added.
12641         * jaba/nio/channels/SelectionKey.java
12642         (SelectionKey): Documentation added.
12643         (attach): Documentation added.
12644         (attachment): Documentation added.
12645         (isAcceptable): Documentation added.
12646         (isConnetable): Documentation added.
12647         (isReadable): Documentation added.
12648         (isWritable): Documentation added.
12649         (cancel): Documentation added.
12650         (channel): Documentation added.
12651         (interestOps): Documentation added.
12652         (isValid): Documentation added.
12653         (readyOps): Documentation added.
12654         (selector): Documentation added.
12655         * jaba/nio/channels/Selector.java
12656         (Selector): Documentation added.
12657         (open): Documentation added.
12658         (close): Documentation added.
12659         (isOpen): Documentation added.
12660         (keys): Documentation added.
12661         (provider): Documentation added.
12662         (select): Documentation added.
12663         (selectedKeys): Documentation added.
12664         (selectNow): Documentation added.
12665         (wakeup): Documentation added.
12666         * java/nio/channels/spi/AbstractInterruptibleChannel.java
12667         (AbstractInterruptibleChannel): Documentation added.
12668         (opened): Default to true;
12669         (begin): Documentation added.
12670         (close): Set opened to false, documentation added.
12671         (isOpen): Documentation added.
12672         * java/nio/channels/spi/AbstractSelectionKey.java
12673         (AbstractSelectionKey): Documentation added.
12674         (cancel): Documentation added.
12675         (isValid): Documentation added.
12676         * java/nio/channels/spi/AbstractSelector.java
12677         (AbstractSelector): Documentation added.
12678         (begin): Documentation added.
12679         (close): Documentation added.
12680         (isOpen): Documentation added.
12681         (deregister): Documentation added.
12682         (end): Documentation added.
12683         (provider): Documentation added.
12684         (implCloseSelector): Documentation added.
12685         (register): Documentation added.
12686         * java/nio/channels/spi/SelectorProvider.java
12687         (SelectorProvider): Documentation added.
12688         (openDatagramChannel): Documentation added.
12689         (openPipe): Documentation added.
12690         (openSelector): Documentation added.
12691         (openServerSocketChannel): Documentation added.
12692         (openSocketChannel): Documentation added.
12693         (provider): Documentation added.
12694
12695 2002-11-12  Michael Koch <konqueror@gmx.de>
12696
12697         * java/nio/Buffer.java: Implemented.
12698         * java/nio/CharBuffer.java: New file.
12699         * java/nio/InvalidMarkException.java: New file.
12700         * java/nio/channels/DatagramChannel.java: Implemented.
12701         * java/nio/channels/ServerSocketChannel.java: Implemented.
12702         * java/nio/channels/SocketChannel.java: Implemented.
12703         * java/nio/channels/spi/AbstractChannel.java: Removed.
12704         * java/nio/channels/spi/AbstractSelectableChannel.java:
12705         Implemented.
12706         * java/nio/charset/Charset.java:
12707         Merge from Classpath.
12708         * java/nio/charset/CharsetDecoder.java: New file.
12709         * java/nio/charset/CharsetEncoder.java: New file.
12710         * java/nio/charset/CoderResult.java: New file.
12711         * Makefile.am (ordinary_java_source_files): Added new files.
12712         * Makefile.in: Regenerated.
12713
12714 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12715
12716         * gnu/java/nio/charset/ISO_8859_1.java,
12717         gnu/java/nio/charset/Provider.java,
12718         gnu/java/nio/charset/US_ASCII.java,
12719         gnu/java/nio/charset/UTF_16.java,
12720         gnu/java/nio/charset/UTF_16BE.java,
12721         gnu/java/nio/charset/UTF_16Decoder.java,
12722         gnu/java/nio/charset/UTF_16Encoder.java,
12723         gnu/java/nio/charset/UTF_16LE.java,
12724         gnu/java/nio/charset/UTF_8.java: New files.
12725
12726 2002-11-11  Michael Koch <konqueror@gmx.de>
12727
12728         * java/nio/charset/CharacterCodingException.java:
12729         This class must be public.
12730         * java/nio/charset/CoderMalfunctionError.java:
12731         This class must be public.
12732         * java/nio/charset/CodingErrorAction.java:
12733         This class must be public.
12734         * java/nio/charset/IllegalCharsetNameException.java:
12735         This class must be public, better implementation.
12736         * java/nio/charset/MalformedInputException.java:
12737         This class must be public, better implementation.
12738         * java/nio/charset/UnmappableCharacterException.java:
12739         This class must be public, better implementation.
12740         * java/nio/charset/UnsupportedCharsetException.java:
12741         This class must be public, better implementation.
12742
12743 2002-11-11  Michael Koch <konqueror@gmx.de>
12744
12745         * java/nio/BufferOverflowException.java,
12746         java/nio/BufferUnderflowException.java: New file.
12747         * Makefile.am (ordinary_java_source_files):
12748         Added new files.
12749         * Makefile.in: Regenerated.
12750
12751 2002-11-10  Tom Tromey  <tromey@redhat.com>
12752
12753         * java/awt/Container.java (validate): Use tree lock.
12754         (getComponent): Likewise.
12755         (getComponents): Likewise.
12756         (addImpl): Likewise.
12757         (remove): Likewise.
12758         (removeAll): Likewise.
12759         (processEvent): Fixed indentation.
12760         (getComponentAt): Use tree lock.
12761         (findComponentAt): Likewise.
12762         (removeNotify): Likewise.
12763         (isAncestorOf): Likewise.
12764         (list): Likewise.
12765         (visitChildren): Likewise.
12766         (findNextFocusComponent): Likewise.
12767         (addNotifyContainerChildren): Likewise.
12768         (getAccessibleChildrenCount): Likewise.
12769         (getAccessibleChild): Likewise.
12770
12771         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
12772         (getSize): Likewise.
12773         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
12774         (getSize): Likewise.
12775         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
12776         (calcSize): Likewise.
12777         * java/awt/CardLayout.java (getSize): Use tree lock.
12778         (gotoComponent): Likewise.
12779         (layoutContainer): Likewise.
12780
12781         * java/io/natFileDescriptorWin32.cc (read): Handle case where
12782         count is 0.
12783         * java/io/natFileDescriptorPosix.cc (read): Handle case where
12784         count is 0.
12785
12786         * java/io/Externalizable.java, java/io/FilePermission.java,
12787         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
12788         java/io/SerializablePermission.java, java/text/Format.java,
12789         java/util/AbstractMap.java, java/util/HashMap.java,
12790         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
12791         versions from Classpath.
12792
12793 2002-11-10  Anthony Green  <green@redhat.com>
12794
12795         * java/util/jar/Attributes.java (Name): Fix name check.
12796
12797 2002-11-10  Mark Wielaard  <mark@klomp.org>
12798
12799         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
12800         with getName() as message.
12801         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
12802         type as message.
12803
12804         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
12805         unused.
12806
12807 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
12808
12809         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
12810         for Win32. JNICALL has been defined to __stdcall to be compatible
12811         with Sun's JDKs.
12812
12813 2002-11-10  Tom Tromey  <tromey@redhat.com>
12814
12815         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
12816         (setRows): Check newRows, not rows.
12817
12818         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
12819
12820 2002-11-09  Tom Tromey  <tromey@redhat.com>
12821
12822         * java/applet/Applet.java, java/applet/AppletContext.java,
12823         java/applet/AppletStub.java, java/applet/AudioClip.java,
12824         java/awt/CardLayout.java,
12825         java/awt/ContainerOrderFocusTraversalPolicy.java,
12826         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
12827         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
12828         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
12829         java/awt/color/ICC_ColorSpace.java,
12830         java/awt/color/ICC_Profile.java,
12831         java/awt/color/ICC_ProfileGray.java,
12832         java/awt/color/ICC_ProfileRGB.java,
12833         java/awt/datatransfer/DataFlavor.java,
12834         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
12835         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
12836         New versions from Classpath.
12837         * Makefile.in: Rebuilt.
12838         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
12839         ICC_ProfileRGB.
12840
12841         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
12842         display policy.
12843
12844         * java/awt/List.java (processEvent): Added missing `else's.
12845
12846         * java/awt/Window.java (show): validate() before showing.  Make
12847         parent displayable.
12848         (isDisplayable): New method.
12849
12850 2002-11-07  Mark Wielaard  <mark@klomp.org>
12851
12852         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
12853         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
12854
12855         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
12856         annotation.
12857         (loadClass): Take String as codebases.
12858         (getClassAnnotation): Use MyClassLoader annotations.
12859         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
12860         call exportObject(this).
12861
12862         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
12863         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
12864         (setAnnotation): Don't set locBytesStream and locStream.
12865         (replaceObject): Removed.
12866         (flush): Don't test locStream.
12867         (getLocBytes): LikeWise.
12868         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
12869         (leaseCache): New field.
12870         (dirty): Use leaseCache.
12871         (LeaseRecord): New inner class.
12872         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
12873         explicitly call exportObject().
12874         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
12875         false to communicate with Sun JDK130.
12876         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
12877         * gnu/java/rmi/server/RMIObjectInputStream.java
12878         (UnicastConnectionManager): Removed field.
12879         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
12880         Use UnicastServer.getExportedRef().
12881         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
12882         (expireTime): Likewise.
12883         (CONNECTION_TIMEOUT): Likewise.
12884         (disconnect): Call sock.close().
12885         (isExpired): New method.
12886         (resetTime): Likewise.
12887         (run): Use do while loop and catch Exception for discardConnection().
12888         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
12889         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
12890         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
12891         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
12892         (exportObject): Use refcache.
12893         (unexportObject): Likewise.
12894         (getExportedRef): New method.
12895         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
12896         constructor.
12897         (exportObject): Save manager.serverobj.
12898         (getStub): New method.
12899
12900 2002-11-07  Mark Wielaard  <mark@klomp.org>
12901
12902         * java/lang/reflect/natField.cc (getBoolean): Use getType().
12903         (getByte): Likewise.
12904         (getShort): Likewise.
12905         (getInt): Likewise.
12906         (getLong): Likewise.
12907         (getFloat): Likewise.
12908         (getDouble): Likewise.
12909         (get): Likewise.
12910         (setChar): Likewise.
12911         (setByte): Likewise.
12912         (setShort): Likewise.
12913         (setInt): Likewise.
12914         (setLong): Likewise.
12915         (setFloat): Likewise.
12916         (setDouble): Likewise.
12917
12918 2002-11-07  Michael Koch <konqueror@gmx.de>
12919
12920         * java/awt/Choice.java,
12921         java/awt/Container.java,
12922         java/awt/GridBagLayout.java:
12923         Fixed documentation.
12924         * java/awt/peer/ContainerPeer.java:
12925         Reindented.
12926
12927 2002-11-07  Michael Koch <konqueror@gmx.de>
12928
12929         * java/awt/color/ICC_Profile.java:
12930         Added missing constants.
12931         * java/awt/color/ICC_ColorSpace.java
12932         (getMinValue): Added dummy implementation.
12933         (getMaxValue): Added dummy implementation.
12934         * java/awt/datatransfer/DataFlavor.java
12935         (imageFlavor): Added.
12936         (isMimeTypeEqual): Must be final.
12937         (getDefaultRepresentationClass): Must be non-static.
12938         (getDefaultRepresentationClassAsString): Must be non-static.
12939         * java/awt/dnd/DragSourceContext.java
12940         (dragExit): Corrected argument.
12941         (dragDropEnd): Corrected argument.
12942         * java/awt/dnd/DragSourceListener.java.java
12943         (dragExit): Corrected argument.
12944         (dragDropEnd): Corrected argument.
12945         * java/awt/font/TextHitInfo.java
12946         (toString): Added stubbed implementation.
12947         * java/awt/geom/PathIterator.java:
12948         The constants must be static.
12949         * java/awt/image/VolatileImage.java
12950         (IMAGE_INCOMPATIBLE): Fixed typo.
12951         * java/awt/image/renderable/RenderableImage.java
12952         (HINTS_OBSERVED): Must be static.
12953         * java/beans/BeanInfo.java:
12954         Constants must be final.
12955
12956 2002-11-06  Tom Tromey  <tromey@redhat.com>
12957
12958         From svens@it.uu.se.  For PR libgcj/8481.
12959         * java/util/Random.java (nextInt(int)): Only use 31 bits.
12960
12961 2002-11-06  Tom Tromey  <tromey@redhat.com>
12962
12963         * jni.cc (array_from_valist): Assume that jlong won't be
12964         promoted.
12965
12966 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
12967
12968         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
12969         Return 20.
12970         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
12971         Return 16.
12972
12973 2002-11-03  Tom Tromey  <tromey@redhat.com>
12974
12975         * java/lang/ClassLoader.java (loadClass): Call loadClass on
12976         VMClassLoader, not findClass.
12977
12978 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
12979
12980         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
12981         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
12982         _Jv_DetermineVTableIndex, to determine vtable offset.
12983         (_Jv_DetermineVTableIndex): Remove.
12984         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
12985
12986         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
12987
12988 2002-11-03  Tom Tromey  <tromey@redhat.com>
12989
12990         * java/nio/channels/AlreadyConnectedException.java: Extend
12991         IllegalStateException, per spec.
12992
12993 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
12994
12995         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
12996
12997 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12998
12999         * java/util/ArrayList.java (readObject, writeObject): Only read/write
13000         size items.
13001
13002 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
13003
13004         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
13005         initial estimated size to avoid enlarge buffer frequently.
13006
13007 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
13008
13009         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
13010         ClassLoader when null.
13011         (ProxyType.hashCode): Loader null check no longer needed.
13012         (ProxyType.sameTypes): New method.
13013         (ProxyType.equals): Use new method.
13014
13015 2002-10-31  Mark Wielaard  <mark@klomp.org>
13016
13017         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
13018         length of String.
13019         * java/net/URLEncoder.java (encode): Likewise.
13020
13021 2002-10-31  Mark Wielaard  <mark@klomp.org>
13022
13023         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
13024         when stream is closed.
13025         (closeEntry): Likewise.
13026         (read): Likewise.
13027         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
13028         ZipException when no entry active.
13029         (closeEntry): Likewise.
13030         (write): Likewise.
13031
13032 2002-11-02  Tom Tromey  <tromey@redhat.com>
13033
13034         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
13035         * java/lang/natClass.cc (initializeClass): Don't return just
13036         because self==thread.
13037
13038         For PR java/8415:
13039         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
13040         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
13041
13042 2002-11-02  Andreas Schwab  <schwab@suse.de>
13043
13044         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
13045         pass GCJFLAGS.
13046         (FLAGS_TO_PASS): Define.
13047         * Makefile.in: Regenerated.
13048
13049 2002-11-01  Michael Koch  <konqueror@gmx.de>
13050
13051         * java/nio/ByteOrder.java: New file.
13052         * java/nio/channels/DatagramChannel.java:
13053         (DatagramChannel): New constructor.
13054         * java/nio/channels/Pipe.java: New file.
13055         * java/nio/channels/SelectableChannel.java: New file.
13056         * java/nio/channels/SelectionKey.java: New file.
13057         * java/nio/channels/Selector.java: New file.
13058         * java/nio/channels/ServerSocketChannel.java
13059         (ServerSocketChannel): New constructor.
13060         * java/nio/channels/SocketChannel.java
13061         (SocketChannel): New constructor.
13062         * java/nio/channels/Pipe.java: New file.
13063         * java/nio/channels/spi/AbstractChannel.java: New file.
13064         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
13065         * java/nio/channels/spi/AbstractSelectableChannel.java:
13066         License added
13067         (AbstractSelectableChannel): New stubbed method.
13068         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
13069         * java/nio/channels/spi/AbstractSelector.java: New file.
13070         * java/nio/channels/spi/SelectorProvider.java: New file.
13071         * java/nio/charset/Charset.java: New file.
13072         * java/nio/charset/CoderMalfunctionError.java: New file.
13073         * java/nio/charset/CodingErrorAction.java: New file.
13074         * java/nio/charset/spi/CharsetProvider.java
13075         (charsetForName): Uncommented.
13076         * Makefile.am (java_native_source_files): Added new files.
13077         * Makefile.in: Regenerated.
13078
13079 2002-11-01  Michael Koch  <konqueror@gmx.de>
13080
13081         * java/net/InetAddress.java:
13082         (isAnyLocalAddress): Implemented.
13083         (isLoopbackAddress): Implemented, comment added.
13084         (isLinkLocalAddress): Implemented, documentation added.
13085         (isSiteLocalAddress): Implemented, documentation added.
13086         (isMCGlobal): Implemented, documentation added.
13087         (isMCNodeLocal): Implemented, documentation added.
13088         (isMCLinkLocal): Implemented, documentation added.
13089         (isMCSiteLocal): Implemented, documentation added.
13090         (isMCOrgLocal): Implemented, documentation added.
13091         (getHostName): Documentation added.
13092         (getCanonicalHostName): Implemented, documentation added.
13093         (getAddress): Documentation added.
13094         (hashCode): Documentation added.
13095         (equals): Documentation added.
13096         (toString): Fixed implementation.
13097         (getByAddress): Use Inet4Address and Inet6Address.
13098         (lookup): New linewrap.
13099         (getByName): SecurityManager check added, support Inet4Address and
13100         Inet6address, comments added.
13101         (getAllByName): SecurityManager check added, comments added.
13102         * java/net/Inet6Address.java:
13103         (Inet6Address): Initialize parent class with addr instead of null.
13104         * java/net/URL.java
13105         (equals): Documentation added.
13106         (getFile): Documentation added.
13107         (hashCode): Documentation added.
13108         * java/net/natInetAddress.cc:
13109         (aton): Fix IPv6 support.
13110         * java/net/natPlainDatagramSocketImpl.cc:
13111         (peek): Throw PortUnreachableException when suitable.
13112         (peekData): Throw PortUnreachableException when suitable.
13113         (send): Throw PortUnreachableException when suitable.
13114         (receive): Throw PortUnreachableException when suitable.
13115
13116 2002-10-27  Mark Wielaard  <mark@klomp.org>
13117
13118         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
13119         argument.
13120         (readLeShort): Likewise and use byte[].
13121         (readLeInt): Likewise.
13122         (readEntries): Use new versions of methods and use byte[] for reading
13123         a complete zip entry. Add ZipFile name to exceptions.
13124         (entries): Add ZipFile name to exceptions.
13125         (getEntry): Likewise.
13126         (checkLocalHeader): Use new versions of methods and add ZipFile name
13127         to exceptions.
13128
13129 2002-10-31  Mark Anderson  <mark@panonet.net>
13130
13131         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
13132         added
13133
13134 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
13135
13136         * configure.in: Disable hash sync when not using threads.
13137         * configure: Regenerated.
13138
13139 2002-10-24  Tom Tromey  <tromey@redhat.com>
13140
13141         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
13142         (_Jv_FindSymbolInExecutable): Removed argument name.
13143         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
13144         java.library.path is set.
13145
13146         * gij.cc (help): Document --showversion.
13147         (version): Don't exit.
13148         (main): Handle --showversion.  Exit if --version given.
13149
13150 2002-10-23  Tom Tromey  <tromey@redhat.com>
13151
13152         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
13153         (array_from_valist): Correctly handle promotion for jint, jlong,
13154         jfloat, and jdouble.
13155
13156 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
13157
13158         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
13159         GetFileAttributesEx( ) to find file length and modification times,
13160         as the latter is not present on Windows 95.
13161
13162 2002-10-21  Michael Koch  <konqueror@gmx.de>
13163
13164         * java/net/URL.java
13165         (URL): Activate SecurityManager checks.
13166         (equals): Use URLStreamHandler implementation instead of doing it
13167         alone. This allows special protocol stream handlers to change default
13168         behaviour.
13169         (hashCode): Use URLStreamHandler implementation instead of doing it
13170         alone. This allows special protocol stream handlers to change default
13171         behaviour.
13172         * java/net/URLStreamHandler.java
13173         (equals): Implemented default URL equality check.
13174         (hostsEqual): Implemented default URL equality check.
13175         (hashCode): Implemented default URL hashCode algorithm.
13176         * java/net/natPlainDatagramSocketImpl.cc:
13177         No lines longer then 80 characters.
13178
13179 2002-10-20  Adam Megacz <adam@xwt.org>
13180
13181         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
13182         * configure.in: enabled hash sync on Win32
13183         * include/win32-threads.h (_Jv_ThreadId_t): added.
13184         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
13185         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
13186         removed some posix-isms, use Thread::sleep() instead of usleep,
13187         added code to clear bottom three bits if platform has a broken
13188         linker.
13189         * include/win32-threads.h (_Jv_ThreadId_t): added.
13190
13191 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
13192
13193         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
13194         runtime property "gnu.gcj.progname" containing the name used to
13195         invoke the current Java program (similar to argv[0] for C
13196         programs).
13197
13198 2002-10-15  Tom Tromey  <tromey@redhat.com>
13199
13200         Fix for PR libgcj/8234:
13201         * java/util/zip/natInflater.cc (reset): Reset avail_in.
13202         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
13203
13204 2002-10-13  Mark Wielaard  <mark@klomp.org>
13205
13206         * mauve-libgcj: Enable Mauve tests that compile now.
13207
13208 2002-10-11  Mark Wielaard  <mark@klomp.org>
13209
13210         Fix for PR libgcj/8142
13211         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
13212         loading native modules.
13213
13214 2002-10-10  Michael Koch  <konqueror@gmx.de>
13215
13216         * javax/swing/AbstractListModel.java
13217         (getListDataListeners): New stubbed method.
13218         javax/swing/DefaultBoundedRangeModel.java
13219         (getChangeListeners): New stubbed method.
13220         javax/swing/DefaultSingleSelectionModel.java
13221         (getChangeListeners): New stubbed method.
13222
13223 2002-10-10  Michael Koch  <konqueror@gmx.de>
13224
13225         * gcj/.cvsignore: New file to ignore files generated during build.
13226         * include/.cvsignore: New file to ignore files generated during build.
13227
13228 2002-10-10  Michael Koch  <konqueror@gmx.de>
13229
13230         * java/net/HttpURLConnection.java
13231         (getPermission): New method.
13232         (getErrorStream): New stub method.
13233         (getHeaderFieldDate): New stub method.
13234         * java/net/Inet4Address.java:
13235         (isLinkLocalAddress): Typo fixed.
13236         * java/net/InetAddress.java:
13237         (readResolve): New stubbed method (for serialization).
13238         (isAnyLocalAddress): New stubbed method.
13239         (isLoopbackAddress): New stubbed method.
13240         (isLinkLocalAddress): New stubbed method.
13241         (isSiteLocalAddress): New stubbed method.
13242         (isMCGlobal): New stubbed method.
13243         (isMCNodeGlobal): New stubbed method.
13244         (isMCLinkLocal): New stubbed method.
13245         (isMCSiteLocal): New stubbed method.
13246         (isMCOrgLocal): New stubbed method.
13247         (getCanonicalHostName): New stubbed method.
13248         (getByAddress): Create instances of Inet4Address/Inet6Address,
13249         instead of InetAddress, documentation added.
13250         * java/net/MulticastSocket.java
13251         (getInterface): Removed FIXME.
13252         (getNetworkInterface): New method.
13253         (setNetworkInterface): New method.
13254         * java/net/NetworkInterface.java:
13255         (toString): Use property "line.separator" instead of "\n".
13256         * java/net/URLConnection.java
13257         (getContent): New stubbed method.
13258         * java/net/URLStreamHandler.java:
13259         (equals): New stubbed method.
13260         (hostsEqual): New stubbed method.
13261         (hashCode): New stubbed method.
13262         * java/net/natNetworkInterface.cc:
13263         (getRealNetworkInterfaces): Create Inet4Address object
13264         instead of InetAddress.
13265
13266 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
13267
13268         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
13269         unsigned long temporary to implement insn_iushr shifts.
13270
13271 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
13272
13273         * configure.host [s390*-*]: Enable Java interpreter.
13274         Enable hash synchronization.  Add sysdeps dir.
13275         * sysdep/s390/locks.h: New file.
13276
13277 2002-10-06  Mark Wielaard  <mark@klomp.org>
13278
13279         * java/lang/Thread.java (setDaemon): Check startable_flag,
13280         not isAlive().
13281
13282 2002-10-07  Michael Koch  <konqueror@gmx.de>
13283
13284         * java/nio/Buffer.java: New stub file.
13285         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
13286         of class Charset.
13287         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
13288         * Makefile.in: Regenerated.
13289
13290 2002-10-07  Michael Koch  <konqueror@gmx.de>
13291
13292         * java/nio/ByteBuffer.java:
13293         removed import of not commited class.
13294
13295 2002-10-07  Michael Koch  <konqueror@gmx.de>
13296
13297         * java/nio/ByteBuffer.java,
13298         java/nio/MappedByteBuffer.java:
13299         New files, forgot to add these dummies.
13300         * Makefile.am (java_native_source_files): Added new files.
13301         * Makefile.in: Regenerated.
13302
13303 2002-10-07  Michael Koch  <konqueror@gmx.de>
13304
13305         * java/nio/channels/AlreadyConnectedException.java,
13306         java/nio/channels/ClosedChannelException.java,
13307         java/nio/channels/ReadableByteChannel.java,
13308         java/nio/channels/InterruptibleChannel.java,
13309         java/nio/channels/Channel.java,
13310         java/nio/channels/ByteChannel.java,
13311         java/nio/channels/GatheringByteChannel.java,
13312         java/nio/channels/ScatteringByteChannel.java,
13313         java/nio/channels/WritableByteChannel.java,
13314         java/nio/charset/CharacterCodingException.java,
13315         java/nio/charset/IllegalCharsetNameException.java,
13316         java/nio/charset/MalformedInputException.java,
13317         java/nio/charset/UnmappableCharacterException.java,
13318         java/nio/charset/UnsupportedCharsetException.java,
13319         java/nio/charset/spi/CharsetProvider.java: New file.
13320         These files are exceptions or interfaces,
13321         no real or abstract classes.
13322         * Makefile.am (java_native_source_files): Added new files.
13323         * Makefile.in: Regenerated.
13324
13325 2002-10-05  Michael Koch  <konqueror@gmx.de>
13326
13327         * java/net/InetAddress.java
13328         (getByAddress): Fixed documentation.
13329         (getByAddress): New method.
13330         * java/net/Inet4Address.java: New file.
13331         * java/net/URL.java
13332         (URL): Documentation added.
13333         (getContent): Documentation added.
13334         (getContent): New stubbed method.
13335         (getQuery): New method.
13336         (openConnection): Documentation added.
13337         (openStream): Documentation added.
13338         (setURLStreamHandlerFactory): Documentation added.
13339         * java/net/URI.java: New stub file.
13340         * Makefile.am
13341         (java_native_source_files): Added java/net/Inet4Address.java,
13342         java/net/Inet6Address.java and java/net/URI.java.
13343         * Makefile.in: Regenerated.
13344
13345 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
13346
13347         * java/lang/ProtectionDomain.java (linesep): Remove field.
13348         (toString): Use System.getProperty("line.separator").
13349
13350 2002-10-04  Michael Koch  <konqueror@gmx.de>
13351
13352         * java/security/Identity.java: Added serialVersionUID.
13353         * java/security/KeyPair.java: Added serialVersionUID.
13354         * java/security/Provider.java: Added serialVersionUID.
13355         * java/security/SecureRandom.java: Added serialVersionUID.
13356         * java/security/SecureRandomSpi.java: Added serialVersionUID.
13357         * java/security/SignedObject.java: Added serialVersionUID.
13358         * java/security/cert/Certificate.java: Added serialVersionUID.
13359
13360 2002-10-04  Mark Wielaard <mark@klomp.org>
13361
13362         * java/security/Security.java: Use java.home or gnu.classpath.home
13363         to load providers.
13364         (loadProviders): Extra dir argument.
13365         (getProvider): Return null when not found.
13366
13367 2002-10-04  Mark Wielaard  <mark@klomp.org>
13368
13369         * java/lang/Throwable.java: Remerge with Classpath.
13370
13371 2002-10-04  Michael Koch  <konqueror@gmx.de>
13372
13373         * java/net/InetAddress.java:
13374         (isMulticastAddress): Added documentation.
13375         (getHostAddress): Added documentation.
13376         (toString): Added documentation.
13377         (getByAddress): Fixed documentation.
13378         (getByName): Added documentation.
13379         (getAllByName): Added documentation.
13380         (getLocalHost): Added documentation.
13381
13382 2002-10-04  Michael Koch  <konqueror@gmx.de>
13383
13384         * java/beans/beancontext/BeanContextChildSupport.java:
13385         Added serialVersionUID.
13386         * java/text/Collator.java: (compare): Made documentation HTML-aware.
13387         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
13388         * javax/naming/Name.java: Added serialVersionUID.
13389
13390 2002-10-03  Adam Megacz <adam@xwt.org>
13391
13392         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
13393         some functionality that isn't supported yet on WIN32.
13394
13395 2002-10-03  Tom Tromey  <tromey@redhat.com>
13396
13397         * Makefile.in: Rebuilt.
13398         * Makefile.am (awt_java_source_files): Added new files.
13399
13400 2002-10-03  Michael Koch  <konqueror@gmx.de>
13401
13402         * java/net/InetAddress.java
13403         (class InetAddress): Removed final keyword.
13404         (equals): Fixed typo.
13405         (getByAddress): New method.
13406
13407 2002-10-03  Michael Koch  <konqueror@gmx.de>
13408
13409         * java/awt/dnd/Autoscroll.java:
13410         New file, merge from Classpath.
13411         * java/awt/dnd/DragSourceAdapter.java:
13412         (dragExit): Fixed typos in argument type.
13413         (dragDropEnd): Fixed typos in argument type.
13414         * java/awt/dnd/DragSourceDropEvent.java:
13415         New file, merge from Classpath.
13416         * java/awt/dnd/DropTarget.java:
13417         Added stubs, merge from Classpath.
13418         * java/awt/dnd/DropTargetAdapter.java:
13419         New file, merge from Classpath.
13420         * java/awt/dnd/DropTargetContext.java:
13421         New file, merge from Classpath.
13422         * java/awt/dnd/DropTargetDragEvent.java:
13423         New file, merge from Classpath.
13424         * java/awt/dnd/DropTargetDropEvent.java:
13425         New file, merge from Classpath.
13426         * java/awt/dnd/DropTargetEvent.java:
13427         New file, merge from Classpath.
13428         * java/awt/dnd/DropTargetListener.java:
13429         New file, merge from Classpath.
13430         * java/awt/dnd/MouseDragGestureRecognizer.java:
13431         New file, merge from Classpath.
13432         * java/awt/dnd/peer/DropTargetContextPeer.java:
13433         New file, merge from Classpath.
13434
13435 2002-10-03  Michael Koch  <konqueror@gmx.de>
13436
13437         * java/net/DatagramPacket.java
13438         (setLength): Fixed typo and be HTML-aware.
13439         * java/net/InetSocketAddress.java
13440         (InetSocketAddress): Correct initialization of hostname, fixed typo.
13441         (equals): Added comment about equality of InetSocketAddress objects.
13442         * java/net/ServerSocket.java
13443         (accept): Added checks.
13444         (isClosed): New stubbed method.
13445         * java/net/SocketOptions.java: Reindention.
13446         * java/net/SocketPermission
13447         (SocketPermission): Documentation fixed.
13448
13449 2002-10-03  Michael Koch  <konqueror@gmx.de>
13450
13451         * java/net/DatagramSocket.java
13452         (receive): Check with SecurityManager AFTER the packet is received,
13453         check if connected to multicast address, documentation added.
13454         (send): Only check SecurityManager if connected, check address of
13455         packet to send.
13456         (connect): Implemented, documentation added.
13457         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
13458         * java/net/InetSocketAddress.java
13459         (whole file): Reindented.
13460         (hostname): New attribute.
13461         (InetSocketAddress): Initialize new attribute.
13462         (getAddress): Documentation added.
13463         (getHostName): Documentation added.
13464         (getPort): Documentation added.
13465         (hashCode): Documentation added.
13466         (isUnresolved): Documentation added.
13467         (toString): Conform to output of JDK 1.4.1, documentation added.
13468         * java/net/MulticastSocket.java
13469         (joinGroup): Removed FIXME, documentation added.
13470         (leaveGroup): Removed FIXME, documentation added.
13471         (send): Documentation added.
13472         * java/net/Socket.java
13473         (inputShutdown): New variable.
13474         (outputShutdown): New variable.
13475         (Socket): Initialize new variables.
13476         (getRemoteSocketAddress): Check if connected.
13477         (shutdownInput): Set new variable.
13478         (shutdownOutput): Set new variable.
13479         (isConnected): New method.
13480         (isClosed): New method.
13481         (isInputShutdown): New method.
13482         (isOutputShutdown): New method.
13483         * java/net/URLStreamHandler.java
13484         (URLStreamHandler): New method.
13485         (openConnection): Added documentation.
13486         (parseURL): Added documentation.
13487         (getHostAddress): New method.
13488         (getDefaultPort): New method.
13489
13490 2002-10-02  Tom Tromey  <tromey@redhat.com>
13491
13492         * java/rmi/activation/ActivationDesc.java,
13493         java/rmi/activation/ActivationGroupDesc.java,
13494         java/rmi/activation/ActivationGroupID.java,
13495         java/rmi/activation/ActivationID.java: New versions from
13496         Classpath.
13497
13498 2002-09-30  Bo Thorsen  <bo@suse.de>
13499
13500         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
13501
13502 2002-09-30  Tom Tromey  <tromey@redhat.com>
13503
13504         * java/io/ObjectInputStream.java (resolveProxyClass): New method
13505         from Classpath.
13506         * Makefile.in: Rebuilt.
13507         * Makefile.am (rmi_java_source_files): Added new files.
13508         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
13509         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
13510         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
13511         Classpath.
13512         * gnu/java/rmi/dgc/DGCImpl.java,
13513         gnu/java/rmi/dgc/DGCImpl_Skel.java,
13514         gnu/java/rmi/dgc/DGCImpl_Stub.java,
13515         gnu/java/rmi/registry/RegistryImpl_Skel.java,
13516         gnu/java/rmi/registry/RegistryImpl_Stub.java,
13517         gnu/java/rmi/server/RMIHashes.java,
13518         gnu/java/rmi/server/RMIObjectInputStream.java,
13519         gnu/java/rmi/server/RMIObjectOutputStream.java,
13520         gnu/java/rmi/server/UnicastConnection.java,
13521         gnu/java/rmi/server/UnicastConnectionManager.java,
13522         gnu/java/rmi/server/UnicastRef.java,
13523         gnu/java/rmi/server/UnicastServer.java,
13524         gnu/java/rmi/server/UnicastServerRef.java,
13525         java/rmi/MarshalledObject.java,
13526         java/rmi/server/RMIClassLoader.java,
13527         java/rmi/server/RemoteObject.java,
13528         java/rmi/server/UnicastRemoteObject.java,
13529         java/security/SecureClassLoader.java: Merged from Classpath.
13530
13531 2002-09-29  Anthony Green  <green@redhat.com>
13532
13533         * java/lang/reflect/UndeclaredThrowableException.java: New file.
13534         Imported from GNU Classpath.
13535         * java/lang/reflect/natProxy.cc: New file.
13536         * java/lang/reflect/InvocationHandler.java: New file.  Imported
13537         from GNU Classpath.
13538         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
13539         Classpath.
13540         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
13541         Classpath.
13542         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
13543         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
13544         New statics.
13545         * gcj/javaprims.h ("Java"): Add new classes.
13546         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
13547         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
13548         java/lang/reflect/Proxy$$ProxyType.h): And this.
13549         (inner_nat_headers): Add these new headers.
13550         (ordinary_java_source_files): Add new files.
13551         (nat_source_files): Add new file.
13552         * Makefile.in: Rebuilt.
13553
13554 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
13555
13556         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
13557         a single configuration.
13558
13559 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13560
13561         * java/util/TimeZone.java (getDSTSavings): New method.
13562         Fixes PR libgcj/7786.
13563
13564 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13565
13566         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
13567         to see if `the_method == 0' before looking up vtable index.
13568         Fixes PR libgcj/7709.
13569
13570 2002-09-25  Tom Tromey  <tromey@redhat.com>
13571
13572         * java/lang/natClassLoader.cc:
13573         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
13574         * resolve.cc: Include NoClassDefFoundError.h, not
13575         ClassNotFoundException.h.
13576         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
13577
13578         * defineclass.cc: Don't include ClassNotFoundException.h.
13579
13580         * resolve.cc: Include StringBuffer.
13581         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
13582
13583         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
13584         allocated but not initialized.
13585
13586 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13587
13588         Fix for PR libgcj/7766:
13589         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
13590         (getNextEntry): Set it.
13591         (closeEntry): Likewise.
13592         (read): Likewise.
13593         (close): Likewise.
13594         (available): Use it.
13595
13596 2002-09-25  Michael Koch  <konqueror@gmx.de>
13597
13598         * java/net/DatagramSocket.java
13599         (DatagramSocket): Initialize new instance variables.
13600         (close): Reset new instance variables.
13601         (getLocalAddress): Remove unneeded SecurityManager usage.
13602         (getLocalPort): Check if socket is already bound.
13603         (isConnected): New method.
13604         (getInetAddress): Implemented.
13605         (getPort): Better Implementation, documentation fixed.
13606         (getRemoteSocketAddress): New method.
13607         * java/net/JarURLConnection.java
13608         (element): Typo fixed.
13609         (getMainAttributes): New method.
13610         (getAttributes): New method (stub only).
13611         (getManifest): New method (stub only).
13612         * java/net/NetPermission.java: Added serialVersionsUID.
13613         * java/net/Socket.java
13614         (connect): Check blocking mode of associated channel,
13615         documentation added.
13616         (getLocalSocketAddress): Better implementation.
13617         (getRemoteSocketAddress): Implemented.
13618         (isBound): New method.
13619         (setSendBufferSize): Documentation added.
13620         * java/net/SocketAddress.java: Added serialVersionsUID.
13621         * java/net/SocketPermission.java: Added serialVersionsUID.
13622         * java/net/URL.java
13623         (URL): Wrap for shorter lines, initialize new instance variables,
13624         documentation added.
13625         (equals): Check new instance variables too.
13626         (getContent): Documentation added.
13627         (getPath): Documentation added.
13628         (getAuthority): New method.
13629         (getHost): Documentation added.
13630         (getPort): Documentation added.
13631         (getDefaultPort): New method.
13632         (getProtocol): Documentation added.
13633         (getUserInfo): Documentation added.
13634         (set): Initialize new instance variables, documentation added.
13635         * java/net/URLStreamHandler.java
13636         (setURL): New method.
13637         * java/net/natPlainDatagramSocketImpl.cc
13638         (connect): Fix exception name.
13639         (disconnect): Fix exception name.
13640
13641 2002-09-25  Michael Koch  <konqueror@gmx.de>
13642
13643         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
13644         * java/nio/channels/DatagramChannel.java:
13645         extends AbstractSelectableChannel
13646         * java/nio/channels/ServerSocketChannel.java:
13647         extends AbstractSelectableChannel
13648         * java/nio/channels/SocketChannel.java:
13649         extends AbstractSelectableChannel
13650         * Makefile.am (ordinary_java_source_files):
13651         java/nio/channels/spi/AbstractSelectableChannel.java added.
13652         * Makefile.in: Regenerated.
13653
13654 2002-09-25  Michael Koch  <konqueror@gmx.de>
13655
13656         * java/net/DatagramSocket.java
13657         (DatagramSocket): Exception documentation added.
13658         (bind): Exception documentation added, addded SecurityManager check,
13659         added SocketAddress type check.
13660         (getSoTimeout): Check impl.
13661         (receive): Fix SecurityManager check, check impl, documentation added.
13662         (send): Check channel mode, documentation added.
13663         (connect): New method.
13664         (disconnect): Implemented.
13665         (getLocalSocketAddress): New method.
13666         (getReceiveBufferSize): Check impl.
13667         (setReuseAddress): Check impl.
13668         (getReuseAddress): Check impl.
13669         (setBroadcast): Check impl.
13670         (getBroadcast): Check impl.
13671         (setTrafficClass): Check impl, Documentation cleared.
13672         (getTrafficClass): Check impl.
13673         (getSendBufferSize): Check impl.
13674         (setReceiveBufferSize): Check impl, documentation added.
13675         (setSendBufferSize): Documentation added.
13676         (setDatagramSocketImplFactory): New method.
13677         * java/net/HttpURLConnection.java
13678         (HTTP_INTERNAL_ERROR): The correct code is 500.
13679         (HTTP_NOT_IMPLEMENTED): Added new constant.
13680         (setFollowRedirects): Documentation added.
13681         (getInstanceFollowRedirects): New method.
13682         (setInstanceFollowRedirects): New method.
13683         (setRequestMethod): Documentation added.
13684         (getResponseCode): Documentation added.
13685         (getResponseMessage): Documentation added.
13686         * java/net/JarURLConnection.java
13687         (JarURLConnection): protected since JDK 1.4.
13688         (getJarEntry): java.io.IOException to IOException, documentation added.
13689         (getJarFile): Documentation added.
13690         * java/net/ServerSocket.java
13691         (ServerSocket): Private to public, exception added.
13692         (ServerSocket): java.io.IOException to IOException, documentation added.
13693         (bind): Check socket address type, documentation added.
13694         (bind): java.io.IOException to IOException, documentation added.
13695         (accept): Documentation added.
13696         (implAccept): Check ch is not non-blocking, documentation added.
13697         (setSoTimeout): Documentation fixed.
13698         (setReceiveBufferSize): Documentation added.
13699         * java/net/Socket.java
13700         (Socket): Documentation added.
13701         (bind): Documentation added.
13702         (connect): Check socket address type, documentation added.
13703         (getRemoteSocketAddress): New method.
13704         (getLocalSocketAddress): New method.
13705         (setSoLinger): Documentation added.
13706         (getReuseAddress): New method.
13707         (setReuseAddress): New method.
13708         (getTrafficClass): New method.
13709         (setTrafficClass): New method.
13710         * java/net/URLStreamHandler.java
13711         (openConnection): java.io.IOException to IOException.
13712         (parseURL): Documentation added.
13713         (sameFile): public to protected, documentation added.
13714         (setURL): Documentation added.
13715         * java/nio/IllegalBlockingModeException.java: New file.
13716         * Makefile.am (ordinary_java_source_files):
13717         added java/nio/IllegalBlockingModeException.java
13718         * Makefile.in: Regenerated.
13719
13720 2002-09-25  Michael Koch  <konqueror@gmx.de>
13721
13722         * java/net/DatagramPacket
13723         (DatagramPacket): Exception documentation added.
13724         (setData): Likewise.
13725         (setSocketAddress): Likewise.
13726         * java/net/DatagramSocketImpl.java
13727         (peek): Documentation addded.
13728         (peekData): Documentation addded.
13729         (send): Documentation addded.
13730         (receive): Documentation addded.
13731         (connect): New method.
13732         (disconnect): New method.
13733         (joinGroup): New abstract method.
13734         (leaveGroup): New abstract method.
13735         * java/net/InetSocketAddress.java
13736         (InetSocketAddress): Documentation added.
13737         (equals): final keyword added.
13738         (getAddress): final keyword added.
13739         (getHostName): final keyword added.
13740         (getPort): final keyword added.
13741         (hashCode): final keyword added.
13742         (isUnresolved): final keyword added.
13743         * java/net/MulticastSocket.java
13744         (MulticastSocket): Documentation added.
13745         (MulticastSocket): New method.
13746         (joinGroup): Documentation added.
13747         (joinGroup): New method.
13748         (leaveGroup): Documentation added.
13749         (leaveGroup): New method.
13750         (send): Documentation added.
13751         * java/net/NetworkInterface.java
13752         (getByName): Documentation added.
13753         (getByInetAddress): Documentation added.
13754         (getNetworkInterfaces): Documentation added.
13755         * java/net/PlainDatagramSocketImpl.java
13756         (connect): New method.
13757         (disconnect): New method.
13758         * java/net/SocketImpl.java
13759         (create): Documentation added.
13760         (shutdownInput): Convert public to protected, as it always was.
13761         (shutdownOutput): Convert public to protected, as it always was.
13762         * java/net/SocketOptions.java
13763         (whole file): Reintented.
13764         * java/net/URLClassLoader.java
13765         (URLClassLoader): SecurityManager check added, documentation added.
13766         (findResources): Documentation added.
13767         (findClass): Documentation added.
13768         (newInstance): More correct method arguments.
13769         * java/net/URLConnection.java
13770         (connect): Documentation added.
13771         (getContent): Documentation added.
13772         (getPermission): Documentation added.
13773         (getInputStream): Documentation added.
13774         (getOutputStream): Documentation added.
13775         (setDoInput): Throw correct exception, documentation added.
13776         (setDoOutput): Throw correct exception, documentation added.
13777         (setAllowUserInteraction): Throw correct exception, documentation added.
13778         (setUseCaches): Throw correct exception, documentation added.
13779         (setIfModifiedSince): Throw correct exception, documentation added.
13780         (setRequestProperty): Throw exception, documentation added.
13781         (addRequestProperty): Throw exception, documentation added.
13782         (getRequestProperty): Throw exception, documentation added.
13783         (getRequestProperties): Documentation added.
13784         (setContentHandlerFactory): Documentation added.
13785         (guessContentTypeFromName): protected to public.
13786         (setFileNameMap): Documentation added.
13787         * java/net/URLDecoder.java
13788         (URLDecoder): New method.
13789         (decode): Documentation added.
13790         (whole file): Reindented.
13791         * java/net/URLEncoder.java
13792         (encode): Documentation added.
13793         * java/net/natPlainDatagramSocketImpl.cc
13794         (connect): New method.
13795         (disconnect): New method.
13796         * javax/naming/RefAddr:
13797         (addrType): addrType was never final.
13798         (equals): Fix typo in method name.
13799         * javax/naming/BinaryRefAddr:
13800         (equals): Fix typo in method name.
13801
13802 2002-09-22  Tom Tromey  <tromey@redhat.com>
13803
13804         Fix for PR libgcj/6576:
13805         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
13806         didn't find a given bundle.
13807         (getBundle): Don't require base bundle.
13808         (setParent): Removed old comment.
13809         (tryLocalBundle): Try components even if preceding components were
13810         empty.
13811
13812 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13813
13814         * Makefile.am (all-multi): Fix multilib parallel build.
13815
13816 2002-09-21  Michael Koch  <konqueror@gmx.de>
13817
13818         * java/net/Socket.java
13819         (sendUrgentData): New method.
13820         (getChannel): New method.
13821         * java/net/ServerSocket.java
13822         (getChannel): New method.
13823         (isBound): New method.
13824         * java/net/DatagramSocket.java
13825         (DatagramSocket): Two new methods.
13826         (bind): New method.
13827         (getChannel): New method.
13828         (isBound): New method.
13829         (send): Added newline to to make shorter lines.
13830         * java/net/PlainDatagramSocketImpl.java
13831         (mcastGrp): Added argument.
13832         (join): Use new mcastGrp.
13833         (leave): Use new mcastGrp.
13834         (joinGroup): New method.
13835         (leaveGroup): New method.
13836         * java/net/natPlainDatagramSocketImpl.cc
13837         (mcastGrp): Added argument, no yet really implemented.
13838         (getOption): Added newline for shorter lines.
13839         * java/net/natPlainSocketImpl.cc
13840         (read, setOption, getOption): Added newline for shorter lines.
13841
13842 2002-09-19  Tom Tromey  <tromey@redhat.com>
13843
13844        * java/lang/ClassLoader.java (resolveClass0): Set cause for
13845        newly-created exception.
13846
13847 2002-09-18  Michael Koch  <konqueror@gmx.de>
13848
13849         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
13850         java/util/regex/PatternSyntaxException.java:
13851         Merge with classpath, new files.
13852         * Makefile.am (core_java_source_files):
13853         Added java/util/regex/Matcher.java,
13854         java/util/regex/Pattern.java,
13855         java/util/regex/PatternSyntaxException.java
13856         * Makefile.in: Regenerated.
13857         * include/config.h.in: Added HAVE_NET_IF_H.
13858         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
13859         Removed #if 0 ... #endif.
13860
13861 2002-09-17  Michael Koch  <konqueror@gmx.de>
13862
13863         * java/net/natNetworkInterface.cc:
13864         Removed unneed and yet wrong includes.
13865
13866 2002-09-17  Michael Koch  <konqueror@gmx.de>
13867
13868         * java/net/NetworkInterface.java: New file.
13869         * java/net/natNetworkInterface.java: New file.
13870         * configure.in: Added check for net/if.h.
13871         * configure: Regenerated.
13872         * Makefile.am
13873         (ordinary_java_source_files): Added NetworkInterface.java.
13874         (nat_source_files): Added natNetworkInterface.cc.
13875         * Makefile.in: Regenerated.
13876
13877 2002-09-16  Tom Tromey  <tromey@redhat.com>
13878
13879         * java/net/URLClassLoader.java (findClass): Code source for a
13880         class from a jar is not necessarily a jar: URL.
13881
13882 2002-09-16  Michael Koch  <konqueror@gmx.de>
13883
13884         * java/lang/AssertionError.java:
13885         Merge with classpath, fixes HTML.
13886         * java/rmi/server/LogStream.java:
13887         Merge with classpath, fixes some constants.
13888         * java/net/server/RemoteServer.java:
13889         Merge with classpath, adds serialVersionUID.
13890         * javax/naming/BinaryRefAddr.java:
13891         Merge with classpath, s/equal/equals/.
13892         * javax/naming/NamingException.java:
13893         Merge with classpath, fixed typo.
13894         * javax/naming/RefAddr.java:
13895         Merge with classpath, s/equal/equals/.
13896         * java/awt/Toolkit.java:
13897         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
13898         and typo fixed.
13899
13900 2002-09-15  Adam Megacz <adam@xwt.org>
13901
13902         * java/net/natPlainSocketImpl.cc: fixed typo.
13903
13904 2002-09-15  Adam Megacz <adam@xwt.org>
13905
13906         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
13907         which don't work on Win32 (yet).
13908
13909 2002-09-14  Adam Megacz <adam@xwt.org>
13910
13911         * java/net/natPlainDatagramSocket.cc: removed #include
13912         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
13913         * include/win32.h: included definition for IP_TOS to satisfy
13914         natPlainDatagramSocket.cc
13915
13916 2002-09-13  Michael Koch  <konqueror@gmx.de>
13917
13918         * java/net/DatagramPacket.java (DatagramPacket):
13919         Added linebreak for 80 chars per line.
13920         * java/net/JarURLConection.java
13921         (getInputStreami, getJarEntry): Likewise.
13922         * java/net/SocketPErmission.java
13923         (SocketPermission class docu, implies): Likewise.
13924         * java/net/URLClassLoader.java (findResources): Likewise.
13925         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
13926
13927 2002-09-13  Michael Koch  <konqueror@gmx.de>
13928
13929         * java/nio/channels/DatagramChannel.java,
13930         java/nio/channels/ServerSocketChannel.java
13931         java/nio/channels/SocketChannel.java:
13932         New dummy files to make java.net fully JDK 1.4 compatible
13933         * Makefile.am (ordinary_java_source_files): Added
13934         java/net/DatagramSocketImplFactory.java (long forgotten),
13935         java/nio/SocketChannel.java,
13936         java/nio/ServerSocketChannel.java,
13937         java/nio/DatagramChannel.java
13938         * Makefile.in: Regenrated.
13939
13940 2002-09-12  Michael Koch  <konqueror@gmx.de>
13941
13942         * java/net/DatagramSocketImpl.java
13943         (peekData): New method.
13944         * java/net/PlainDatagramSocketImpl.java
13945         (peekData): New method.
13946         * java/net/natPlainDatagramSocketImpl.cc
13947         (peekData): New method.
13948         * java/net/URLConnection
13949         (getPermission): New method.
13950         (addRequestProperty): New method.
13951         (getRequestProperties): New method.
13952         (guessContentTypeFromStream): New method, not really implemented.
13953         (URLConnection): Added/updated documentation.
13954         (connect): Added/updated documentation.
13955         (getURL): Added/updated documentation.
13956         (getContentLength): Added/updated documentation.
13957         (getContentType: Added/updated documentation.
13958         (getContentEncoding): Added/updated documentation.
13959         (getExpiration): Added/updated documentation.
13960         (getDate): Added/updated documentation.
13961         (getLastModified): Added/updated documentation.
13962         (getHeaderField): Added/updated documentation.
13963         (getHeaderFields): Added/updated documentation.
13964         (getHeaderFieldInt): Added/updated documentation.
13965         (getHeaderFieldDate): Added/updated documentation.
13966         (getHeaderFieldKey): Added/updated documentation.
13967         (getContent): Added/updated documentation.
13968         (getInputStream): Added/updated documentation.
13969         (getOutputStream): Added/updated documentation.
13970         (toString): Added/updated documentation.
13971         (setDoInput): Added/updated documentation.
13972         (getDoInput): Added/updated documentation.
13973         (setDoOutput): Added/updated documentation.
13974         (getDoOutput): Added/updated documentation.
13975         (setAllowUserInteraction): Added/updated documentation.
13976         (getAllowUserInteraction): Added/updated documentation.
13977         (setDefaultAllowUserInteraction): Added/updated documentation.
13978         (getDefaultAllowUserInteraction): Added/updated documentation.
13979         (setUseCaches): Added/updated documentation.
13980         (getUseCaches): Added/updated documentation.
13981         (setIfModifiedSince): Added/updated documentation.
13982         (getIfModifiedSince): Added/updated documentation.
13983         (getDefaultUseCaches): Added/updated documentation.
13984         (setDefaultUseCaches): Added/updated documentation.
13985         (setRequestProperty): Added/updated documentation.
13986         (getRequestProperty): Added/updated documentation.
13987         (setDefaultRequestProperty): Added/updated documentation.
13988         (getDefaultRequestProperty): Added/updated documentation.
13989         (setContentHandlerFactory): Added/updated documentation.
13990         (guessContentTypeFromName): Added/updated documentation.
13991         (getFileNameMap): Added/updated documentation.
13992         (setFileNameMap): Added/updated documentation.
13993
13994 2002-09-11  Michael Koch  <konqueror@gmx.de>
13995
13996         * java/net/Socket.java
13997         (Socket): protected to public (since JDK 1.4). Added @specnote.
13998         (bind): New method.
13999         (connect): Two new methods.
14000         (getKeepalive): Get correct socket option.
14001         (setKeepalive): Set correct socket option.
14002         (getOOBInline): New method.
14003         (setOOBInline): New method.
14004         * java/net/ServerSocket.java
14005         (bind): Two new methods.
14006         (getInetAddress): Reimplemented, catch exception.
14007         (getLocalSocketAddress): New method.
14008         (setReuseAddress): New method.
14009         (getReuseAdress): New method.
14010         (setReceiveBufferSize): New method.
14011         (getReceiveBufferSize): New method.
14012         (toString): Made string JDK 1.4 compliant.
14013
14014 2002-09-10  Michael Koch  <konqueror@gmx.de>
14015
14016         * java/net/SocketImpl.java
14017         (connect): New method.
14018         (supportsUrgentData): New method.
14019         (sendUrgentData): New method.
14020         * java/net/PlainSocketImpl.java
14021         (connect): One new method and two new implementation.
14022         (sendUrgentData): New method.
14023         * java/natPlainSocketImpl.cc
14024         (connect): Arguments changed, added support for timeouts.
14025         (getOption): Another __java_boolean to jboolean.
14026
14027 2002-09-07  Adam Megacz <adam@xwt.org>
14028
14029         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
14030         definition of IP_TOS.
14031
14032 2002-09-04  Michael Koch  <konqueror@gmx.de>
14033
14034         * java/net/DatagramSocket.java
14035         (DatagramSocket): Added documentation.
14036         (close): Likewise.
14037         (getLocalAddress): Likewise.
14038         (getLocalPort): Likewise.
14039         (receive): Likewise.
14040         (send): Likewise.
14041         (setSoTimeout): Likewise.
14042         (connect): New method.
14043         (disconnect): New method.
14044         (getInetAddress): New method (FIXME)
14045         (getPort): New method.
14046         (setReuseAddress): New method.
14047         (getReuseAddress): New method.
14048         (setBroadcast): New method.
14049         (getBroadcast): New method.
14050         (setTrafficClass): New method.
14051         (getTrafficClass): New method.
14052         * java/net/MulticastSocket.java):
14053         (getTTL): Added @see in documentation.
14054         (setTTL): Added @see in documentation.
14055         (setLoopbackMode): New method.
14056         (getLoopbackMode): New method.
14057         * java/net/PlainSocketImpl.java:
14058         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14059         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14060         * java/net/PlainDatagramSocketImpl.java
14061         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14062         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14063         * java/net/natPlainSocketImpl.cc
14064         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14065         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14066         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14067         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14068         This should also fix SO_KEEPALIVE
14069         * java/net/natPlainDatagramSocketImpl.cc
14070         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14071         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14072         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14073         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14074
14075 2002-09-04  Michael Koch  <konqueror@gmx.de>
14076
14077         * java/net/SocketOptions.java: added static variables to be JDK 1.4
14078         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
14079         IP_MULTICAST_LOOP, IP_TOS
14080
14081 2002-09-03  Tom Tromey  <tromey@redhat.com>
14082
14083         * java/lang/Class.h (_getDeclaredMethod): Declare.
14084         (_getMethod): Now private.
14085         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
14086         getDeclaredMethod.  Now returns NULL on failure.
14087         * java/lang/Class.java (_getDeclaredMethod): Declare.
14088         (getDeclaredMethod): No longer native; implements access checks.
14089
14090 2002-09-01  Mark Wielaard  <mark@klomp.org>
14091
14092         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
14093         (sanitizeStack): Correctly reset unknown and interpreter counters,
14094         detect interpreter runtime frames.
14095         (demangleInterpreterMethod): New method.
14096         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
14097         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
14098         filling in addrs[].
14099
14100 2002-09-02  Michael Koch  <konqueror@gmx.de>
14101
14102         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
14103         re-indented documentation.
14104
14105 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14106
14107         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
14108         public, per 1.4 spec.  Fixes PR libgcj/7785.
14109
14110 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
14111
14112         * Makefile.in: Rebuilt.
14113         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
14114
14115 2002-08-29  Tom Tromey  <tromey@redhat.com>
14116
14117         * java/net/JarURLConnection.java (getCertificates): New method
14118         from Classpath.
14119         * java/net/URLClassLoader.java (URLClassLoader): Extends
14120         SecureClassLoader.
14121         (definePackage): New method from Classpath.
14122         (getPermissions): Likewise.
14123         (newInstance): Likewise.
14124         (findClass): Construct CodeSource for new class (from Classpath).
14125         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
14126         methods.
14127         * java/net/URL.java (getUserInfo): New method.
14128         (set(String,String,int,String,String,String,String,String)): New
14129         method.
14130         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
14131         (shutdownInput, shutdownOutput): Declare.
14132         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
14133         Define.
14134         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
14135         (getOption): Likewise.
14136         (shutdownInput): New method.
14137         (shutdownOutput): Likewise.
14138         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
14139         keepalive.
14140         (getOption): Likewise.
14141         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
14142         * java/net/Socket.java (setKeepAlive): New method.
14143         (getKeepAlive): Likewise.
14144         (shutdownInput, shutdownOutput): New methods.
14145
14146 2002-08-29  Michael Koch  <konqueror@gmx.de>
14147
14148         * java/net/DatagramPacket.java: updated to JDK 1.4 API
14149         new methods are:
14150         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
14151           address),
14152         DatagramPacket(byte[] buf, int length, SocketAddress address),
14153         void setSocketAddress(SocketAddress address)
14154         public SocketAddress getSocketAddress()
14155
14156 2002-08-29  Tom Tromey  <tromey@redhat.com>
14157
14158         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
14159         ftruncate is missing.
14160         * configure, include/config.h.in: Rebuilt.
14161         * acconfig.h (HAVE_FTRUNCATE): Mention.
14162         * configure.in: Check for ftruncate.
14163
14164 2002-08-29  Tom Tromey  <tromey@redhat.com>
14165
14166         * include/jvm.h (struct _Jv_frame_info): New structure.
14167         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
14168         java-interp.h.
14169         (lookupInterp): New method.
14170         (getAddrAsString): Use _Jv_frame_info.
14171         (dladdrLookup): Likewise.
14172         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
14173         interpreted frame.
14174         (lookupInterp): Declare.
14175         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
14176         (fillInStackTrace): Collect information on interpreted frames.
14177         Use _Jv_frame_info.
14178         * interpret.cc: Include Thread.h.
14179         (run): Create and push _Jv_MethodChain object.
14180         (_Jv_EndOfInterpreter): New global.
14181         * java/lang/Thread.java (interp_frame): New field.
14182         * include/java-interp.h (struct _Jv_MethodChain): New structure.
14183         Include NameFinder.h.
14184
14185 2002-08-28  Tom Tromey  <tromey@redhat.com>
14186
14187         * java/lang/Class.h: Include Package.h.
14188         (Class::getProtectionDomain): Declare.
14189         (Class::getPackage): Declare.
14190
14191 2002-08-28  Michael Koch <konqueror@gmx.de>
14192
14193         * java/net/InetSocketAddress.java: Added some documentation and argument
14194         checks for the port numbers.
14195         * java/net/DatagramSocketImplFactory.java: New file.
14196
14197 2002-08-28  Michael Koch <konqueror@gmx.de>
14198
14199         * java/net/Authenticator.java: added some documentation.
14200
14201 2002-08-27  Tom Tromey  <tromey@redhat.com>
14202
14203         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
14204         class.
14205         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
14206
14207 2002-08-27  Michael Koch <konqueror@gmx.de>
14208
14209         * java/net/BindException.java,
14210         java/net/JarURLConnection.java,
14211         java/net/FileNameMap.java,
14212         java/net/HttpURLConnection.java,
14213         java/net/InetSocketAddress.java,
14214         java/net/DatagramPacket.java,
14215         java/net/DatagramSocket.java,
14216         java/net/DatagramSocketImpl.java,
14217         java/net/MulticastSocket.java,
14218         java/net/PasswordAuthentication.java,
14219         java/net/ServerSocket.java,
14220         java/net/Socket.java,
14221         java/net/URLClassLoader.java,
14222         java/net/URLConnection.java: add/update of some @since/@deprecated
14223
14224 2002-08-27  Tony Kimball <alk@pobox.com>
14225             Tom Tromey  <tromey@redhat.com>
14226
14227         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
14228         define.
14229         (::close): Removed.
14230         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
14231         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
14232         (::close): Removed.
14233         (PlainSocketImpl::close): Use NATIVE_CLOSE.
14234         * include/win32.h (getcwd): Removed declaration.  Include io.h.
14235
14236 2002-08-25  Adam Megacz <adam@xwt.org>
14237
14238         * include/win32.h (getcwd): copied function declaration as
14239         temporary fix for header confusion.
14240
14241 2002-08-24  Mark Wielaard <mark@klomp.org>
14242
14243         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
14244         (core_java_source_files): Add VMThrowable.java and NameFinder.java
14245         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
14246         and natNameFinder.cc.
14247         * Makefile.in: Regenerate.
14248         * prims.cc: Use trace_enabled from VMThrowable.
14249         * name-finder.cc: Removed.
14250         * gcj/javaprims.h: Add class VMThrowable.
14251         * gnu/gcj/runtime/NameFinder.java: New file.
14252         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
14253         * include/name-finder.h: Removed.
14254         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
14255         method stackTraceString().
14256         (printStackTrace (PrintWriter)): Likewise.
14257         (stackTraceString): Complete rewrite of old printStackTrace using
14258         StringBuffer.
14259         (stackTraceStringBuffer): New helper method for stackTraceString().
14260         (fillInStackTrace): Delegate to VMTrowable.
14261         (getStackTrace): Likewise.
14262         (getStackTrace0): Removed.
14263         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
14264         (setStackTrace): Copy given array.
14265         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
14266         * java/lang/VMThrowable.java: New class.
14267         * java/lang/natVMThrowable.cc: New file.
14268
14269 2003-08-23  Michael Koch  <konqueror@gmx.de>
14270
14271         * java/net/URLConnection.java,
14272         java/netJarURLConnection.java,
14273         gnu/gcj/protocol/core/Connection.java,
14274         gnu/gcj/protocol/file/Connection.java,
14275         gnu/gcj/protocol/http/Connection.java: Added implementation of
14276         getHeaderFields().
14277
14278 2002-08-22  Tom Tromey  <tromey@redhat.com>
14279
14280         * gij.cc (help): Document -cp and -classpath.
14281         (main): Handle -classpath.
14282
14283 2002-08-21  Tom Tromey  <tromey@redhat.com>
14284
14285         * Makefile.in: Rebuilt.
14286         * Makefile.am (ordinary_java_source_files): Added
14287         SocketAddress.java, InetSocketAddress.java.
14288         * java/net/PortUnreachableException.java: Merged with Classpath.
14289         * java/net/SocketTimeoutException.java: Likewise.
14290         * java/net/URISyntaxException.java: Likewise.
14291         * java/net/SocketAddress.java: New class from Classpath.
14292         * java/net/InetSocketAddress.java: Likewise.
14293
14294 2003-08-21  Michael Koch  <konqueror@gmx.de>
14295
14296         * java/net/Authenticator.java: updated JDK 1.4
14297         * java/net/ContentHandler.java: updated JDK 1.4
14298
14299 2002-08-20  Michael Koch  <konqueror@gmx.de>
14300
14301         * java/net/URISyntaxException.java: New file.
14302         * java/net/SocketTimeoutException.java: New file.
14303         * java/net/PortUnreachableException.java: New file.
14304         * Makefile.am: Updated.
14305         * Makefile.in: Rebuilt.
14306
14307 2002-08-18  Mark Wielaard  <mark@klomp.org>
14308
14309         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
14310         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
14311         MessageDigestSpi (fixes Classpath bug #783).
14312
14313 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14314
14315         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
14316         (startProcess): Allocate path for chdir in async-signal-safe way.
14317
14318 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14319
14320         Fix for PR libgcj/7570 and PR libgcj/7578:
14321         * java/lang/natPosixProcess.cc: Include java/io/File.h.
14322         (startProcess): Handle new `dir' argument.
14323         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
14324         argument.
14325         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
14326         argument.
14327         (startProcess): Likewise.
14328         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
14329         argument.
14330         * java/lang/Runtime.java (execInternal): Added `dir' argument.
14331         (exec): Don't create new environment if ENV==null.  Pass DIR to
14332         execInternal.
14333         * java/lang/natRuntime.cc: Include java/io/File.h.
14334         (execInternal): Added `dir' argument.
14335
14336 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
14337
14338         * java/io/RandomAccessFile.java (skipBytes): Return number of
14339         bytes skipped.
14340
14341 2002-08-01  Mark Wielaard  <mark@klomp.org>
14342
14343         Reenable patch since shared library troubles on powerpc are solved:
14344         * gnu/java/security/provider/Gnu.java: Reference all implementation
14345         classes by using Class.getName().
14346         * gnu/java/security/der/DEREncodingException.java,
14347         gnu/java/security/provider/DERReader.java,
14348         gnu/java/security/provider/DERWriter.java,
14349         gnu/java/security/provider/DSAKeyPairGenerator.java,
14350         gnu/java/security/provider/DSAParameterGenerator.java,
14351         gnu/java/security/provider/DSAParameters.java,
14352         gnu/java/security/provider/DSASignature.java,
14353         gnu/java/security/provider/GnuDSAPrivateKey.java,
14354         gnu/java/security/provider/GnuDSAPublicKey.java,
14355         gnu/java/security/provider/MD5.java,
14356         gnu/java/security/util/Prime.java: New classes
14357         * Makefile.am (ordinary_java_source_files): Add above files.
14358         * Makefile.in: Regenerate.
14359         * gnu/java/security/provider/DefaultPolicy.java
14360         (getPermissions): Don't maintain static class variable of Permissions.
14361         * gnu/java/security/provider/SHA.java
14362         (engineUpdate): algorithm change.
14363         (engineDigest): algorithm change.
14364
14365 2002-08-09  Mark Wielaard  <mark@klomp.org>
14366
14367         * java/awt/image/MemoryImageSource.java: Change constructor to take
14368         int[] not byte[].
14369         * java/awt/Graphics2D.java: Uncomment methods that can now be
14370         compiled.
14371         * java/awt/GridBagLayout.java: New stub implementation.
14372         * javax/swing/text/html/HTML.java: Stub implementation.
14373         * javax/swing/text/html/parser/ParserDelegator.java: New stub
14374         implementation.
14375
14376         * Makefile.am: Add new files.
14377         * Makefile.in: Rebuilt.
14378
14379 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14380
14381         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
14382         methods in Graphics2D.
14383
14384 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14385
14386         AWT/Swing merge from GNU Classpath.
14387
14388         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
14389         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
14390         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
14391         java/awt/color/ProfileDataException.java,
14392         java/awt/CompositeContext.java, java/awt/Composite.java,
14393         java/awt/ContainerOrderFocusTraversalPolicy.java,
14394         java/awt/datatransfer/FlavorTable.java,
14395         java/awt/DefaultFocusTraversalPolicy.java,
14396         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
14397         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
14398         java/awt/dnd/DragGestureListener.java,
14399         java/awt/dnd/DragGestureRecognizer.java,
14400         java/awt/dnd/DragSourceAdapter.java,
14401         java/awt/dnd/DragSourceContext.java,
14402         java/awt/dnd/DragSourceDragEvent.java,
14403         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
14404         java/awt/dnd/DragSourceListener.java,
14405         java/awt/dnd/DragSourceMotionListener.java,
14406         java/awt/dnd/DropTarget.java,
14407         java/awt/dnd/InvalidDnDOperationException.java,
14408         java/awt/dnd/peer/DragSourceContextPeer.java,
14409         java/awt/event/AWTEventListenerProxy.java,
14410         java/awt/event/MouseWheelEvent.java,
14411         java/awt/event/MouseWheelListener.java,
14412         java/awt/event/WindowFocusListener.java,
14413         java/awt/event/WindowStateListener.java,
14414         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
14415         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
14416         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
14417         java/awt/geom/FlatteningPathIterator.java,
14418         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
14419         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
14420         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
14421         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
14422         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
14423         java/awt/image/ImagingOpException.java,
14424         java/awt/image/RasterFormatException.java,
14425         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
14426         java/awt/image/VolatileImage.java,
14427         java/awt/image/WritableRenderedImage.java,
14428         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
14429         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
14430         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
14431         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
14432         java/awt/PageAttributes.java, java/awt/print/Book.java,
14433         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
14434         java/awt/print/Paper.java, java/awt/print/Printable.java,
14435         java/awt/print/PrinterAbortException.java,
14436         java/awt/print/PrinterException.java,
14437         java/awt/print/PrinterGraphics.java,
14438         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
14439         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
14440         java/awt/Stroke.java, java/awt/TexturePaint.java,
14441         javax/accessibility/AccessibleAction.java,
14442         javax/accessibility/AccessibleBundle.java,
14443         javax/accessibility/AccessibleComponent.java,
14444         javax/accessibility/AccessibleContext.java,
14445         javax/accessibility/AccessibleEditableText.java,
14446         javax/accessibility/AccessibleExtendedComponent.java,
14447         javax/accessibility/AccessibleExtendedTable.java,
14448         javax/accessibility/AccessibleHyperlink.java,
14449         javax/accessibility/AccessibleHypertext.java,
14450         javax/accessibility/AccessibleIcon.java,
14451         javax/accessibility/Accessible.java,
14452         javax/accessibility/AccessibleKeyBinding.java,
14453         javax/accessibility/AccessibleRelation.java,
14454         javax/accessibility/AccessibleRelationSet.java,
14455         javax/accessibility/AccessibleResourceBundle.java,
14456         javax/accessibility/AccessibleRole.java,
14457         javax/accessibility/AccessibleSelection.java,
14458         javax/accessibility/AccessibleState.java,
14459         javax/accessibility/AccessibleStateSet.java,
14460         javax/accessibility/AccessibleTable.java,
14461         javax/accessibility/AccessibleTableModelChange.java,
14462         javax/accessibility/AccessibleText.java,
14463         javax/accessibility/AccessibleValue.java,
14464         javax/swing/AbstractAction.java,
14465         javax/swing/AbstractButton.java,
14466         javax/swing/AbstractCellEditor.java,
14467         javax/swing/AbstractListModel.java,
14468         javax/swing/AbstractSet.java, javax/swing/Action.java,
14469         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
14470         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
14471         javax/swing/border/CompoundBorder.java,
14472         javax/swing/border/EmptyBorder.java,
14473         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
14474         javax/swing/border/LineBorder.java,
14475         javax/swing/border/MatteBorder.java,
14476         javax/swing/border/TitledBorder.java,
14477         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
14478         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
14479         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
14480         javax/swing/CellRendererPane.java,
14481         javax/swing/colorchooser/AbstractColorChooserPanel.java,
14482         javax/swing/colorchooser/ColorChooserComponentFactory.java,
14483         javax/swing/colorchooser/ColorSelectionModel.java,
14484         javax/swing/colorchooser/DefaultColorSelectionModel.java,
14485         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
14486         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
14487         javax/swing/DefaultBoundedRangeModel.java,
14488         javax/swing/DefaultButtonModel.java,
14489         javax/swing/DefaultCellEditor.java,
14490         javax/swing/DefaultCellRenderer.java,
14491         javax/swing/DefaultComboBoxModel.java,
14492         javax/swing/DefaultDesktopManager.java,
14493         javax/swing/DefaultFocusManager.java,
14494         javax/swing/DefaultListCellRenderer.java,
14495         javax/swing/DefaultListModel.java,
14496         javax/swing/DefaultListSelectionModel.java,
14497         javax/swing/DefaultSingleSelectionModel.java,
14498         javax/swing/DesktopManager.java,
14499         javax/swing/event/AncestorEvent.java,
14500         javax/swing/event/AncestorListener.java,
14501         javax/swing/event/CaretEvent.java,
14502         javax/swing/event/CaretListener.java,
14503         javax/swing/event/CellEditorListener.java,
14504         javax/swing/event/ChangeEvent.java,
14505         javax/swing/event/ChangeListener.java,
14506         javax/swing/event/DocumentEvent.java,
14507         javax/swing/event/DocumentListener.java,
14508         javax/swing/event/EventListenerList.java,
14509         javax/swing/event/HyperlinkEvent.java,
14510         javax/swing/event/HyperlinkListener.java,
14511         javax/swing/event/InternalFrameAdapter.java,
14512         javax/swing/event/InternalFrameEvent.java,
14513         javax/swing/event/InternalFrameListener.java,
14514         javax/swing/event/ListDataEvent.java,
14515         javax/swing/event/ListDataListener.java,
14516         javax/swing/event/ListSelectionEvent.java,
14517         javax/swing/event/ListSelectionListener.java,
14518         javax/swing/event/MenuDragMouseEvent.java,
14519         javax/swing/event/MenuDragMouseListener.java,
14520         javax/swing/event/MenuEvent.java,
14521         javax/swing/event/MenuKeyEvent.java,
14522         javax/swing/event/MenuKeyListener.java,
14523         javax/swing/event/MenuListener.java,
14524         javax/swing/event/MouseInputAdapter.java,
14525         javax/swing/event/MouseInputListener.java,
14526         javax/swing/event/PopupMenuEvent.java,
14527         javax/swing/event/PopupMenuListener.java,
14528         javax/swing/event/SwingPropertyChangeSupport.java,
14529         javax/swing/event/TableColumnModelEvent.java,
14530         javax/swing/event/TableColumnModelListener.java,
14531         javax/swing/event/TableModelEvent.java,
14532         javax/swing/event/TableModelListener.java,
14533         javax/swing/event/TreeExpansionEvent.java,
14534         javax/swing/event/TreeExpansionListener.java,
14535         javax/swing/event/TreeModelEvent.java,
14536         javax/swing/event/TreeModelListener.java,
14537         javax/swing/event/TreeSelectionEvent.java,
14538         javax/swing/event/TreeSelectionListener.java,
14539         javax/swing/event/TreeWillExpandListener.java,
14540         javax/swing/event/UndoableEditEvent.java,
14541         javax/swing/event/UndoableEditListener.java,
14542         javax/swing/filechooser/FileFilter.java,
14543         javax/swing/filechooser/FileSystemView.java,
14544         javax/swing/filechooser/FileView.java,
14545         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
14546         javax/swing/Icon.java, javax/swing/ImageIcon.java,
14547         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
14548         javax/swing/JApplet.java, javax/swing/JButton.java,
14549         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
14550         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
14551         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
14552         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
14553         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
14554         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
14555         javax/swing/JLayeredPane.java, javax/swing/JList.java,
14556         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
14557         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
14558         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
14559         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
14560         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
14561         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
14562         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
14563         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
14564         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
14565         javax/swing/JTextField.java, javax/swing/JTextPane.java,
14566         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
14567         javax/swing/JToolTip.java, javax/swing/JTree.java,
14568         javax/swing/JViewport.java, javax/swing/JWindow.java,
14569         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
14570         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
14571         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
14572         javax/swing/MenuSelectionManager.java,
14573         javax/swing/MutableComboBoxModel.java,
14574         javax/swing/OverlayLayout.java,
14575         javax/swing/plaf/ActionMapUIResource.java,
14576         javax/swing/plaf/basic/BasicBorders.java,
14577         javax/swing/plaf/basic/BasicButtonUI.java,
14578         javax/swing/plaf/basic/BasicCheckBoxUI.java,
14579         javax/swing/plaf/basic/BasicDefaults.java,
14580         javax/swing/plaf/basic/BasicGraphicsUtils.java,
14581         javax/swing/plaf/basic/BasicIconFactory.java,
14582         javax/swing/plaf/basic/BasicLabelUI.java,
14583         javax/swing/plaf/basic/BasicListUI.java,
14584         javax/swing/plaf/basic/BasicLookAndFeel.java,
14585         javax/swing/plaf/basic/BasicOptionPaneUI.java,
14586         javax/swing/plaf/basic/BasicPanelUI.java,
14587         javax/swing/plaf/basic/BasicRadioButtonUI.java,
14588         javax/swing/plaf/basic/BasicScrollPaneUI.java,
14589         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
14590         javax/swing/plaf/basic/BasicTextUI.java,
14591         javax/swing/plaf/basic/BasicToggleButtonUI.java,
14592         javax/swing/plaf/basic/BasicTreeUI.java,
14593         javax/swing/plaf/basic/BasicViewportUI.java,
14594         javax/swing/plaf/BorderUIResource.java,
14595         javax/swing/plaf/ButtonUI.java,
14596         javax/swing/plaf/ColorChooserUI.java,
14597         javax/swing/plaf/ColorUIResource.java,
14598         javax/swing/plaf/ComboBoxUI.java,
14599         javax/swing/plaf/ComponentInputMapUIResource.java,
14600         javax/swing/plaf/ComponentUI.java,
14601         javax/swing/plaf/DesktopIconUI.java,
14602         javax/swing/plaf/DesktopPaneUI.java,
14603         javax/swing/plaf/DimensionUIResource.java,
14604         javax/swing/plaf/FileChooserUI.java,
14605         javax/swing/plaf/FontUIResource.java,
14606         javax/swing/plaf/IconUIResource.java,
14607         javax/swing/plaf/InputMapUIResource.java,
14608         javax/swing/plaf/InsetsUIResource.java,
14609         javax/swing/plaf/InternalFrameUI.java,
14610         javax/swing/plaf/LabelUI.java,
14611         javax/swing/plaf/ListUI.java,
14612         javax/swing/plaf/MenuBarUI.java,
14613         javax/swing/plaf/MenuItemUI.java,
14614         javax/swing/plaf/OptionPaneUI.java,
14615         javax/swing/plaf/PanelUI.java,
14616         javax/swing/plaf/PopupMenuUI.java,
14617         javax/swing/plaf/ProgressBarUI.java,
14618         javax/swing/plaf/RootPaneUI.java,
14619         javax/swing/plaf/ScrollBarUI.java,
14620         javax/swing/plaf/ScrollPaneUI.java,
14621         javax/swing/plaf/SeparatorUI.java,
14622         javax/swing/plaf/SliderUI.java,
14623         javax/swing/plaf/SplitPaneUI.java,
14624         javax/swing/plaf/TabbedPaneUI.java,
14625         javax/swing/plaf/TableHeaderUI.java,
14626         javax/swing/plaf/TableUI.java,
14627         javax/swing/plaf/TextUI.java,
14628         javax/swing/plaf/ToolBarUI.java,
14629         javax/swing/plaf/ToolTipUI.java,
14630         javax/swing/plaf/TreeUI.java,
14631         javax/swing/plaf/UIResource.java,
14632         javax/swing/plaf/ViewportUI.java,
14633         javax/swing/ProgressMonitorInputStream.java,
14634         javax/swing/ProgressMonitor.java,
14635         javax/swing/Renderer.java,
14636         javax/swing/RepaintManager.java,
14637         javax/swing/RootPaneContainer.java,
14638         javax/swing/Scrollable.java,
14639         javax/swing/ScrollPaneConstants.java,
14640         javax/swing/ScrollPaneLayout.java,
14641         javax/swing/SingleSelectionModel.java,
14642         javax/swing/SizeRequirements.java,
14643         javax/swing/SizeSequence.java,
14644         javax/swing/SwingConstants.java,
14645         javax/swing/SwingUtilities.java,
14646         javax/swing/table/AbstractTableModel.java,
14647         javax/swing/table/DefaultTableCellRenderer.java,
14648         javax/swing/table/DefaultTableColumnModel.java,
14649         javax/swing/table/DefaultTableModel.java,
14650         javax/swing/table/TableCellEditor.java,
14651         javax/swing/table/TableCellRenderer.java,
14652         javax/swing/table/TableColumn.java,
14653         javax/swing/table/TableColumnModel.java,
14654         javax/swing/table/TableModel.java,
14655         javax/swing/text/AbstractDocument.java,
14656         javax/swing/text/AttributeSet.java,
14657         javax/swing/text/BadLocationException.java,
14658         javax/swing/text/Caret.java,
14659         javax/swing/text/CharacterIterator.java,
14660         javax/swing/text/ComponentView.java,
14661         javax/swing/text/DefaultCaret.java,
14662         javax/swing/text/DefaultEditorKit.java,
14663         javax/swing/text/Document.java,
14664         javax/swing/text/EditorKit.java,
14665         javax/swing/text/Element.java,
14666         javax/swing/text/GapContent.java,
14667         javax/swing/text/JTextComponent.java,
14668         javax/swing/text/Keymap.java,
14669         javax/swing/text/MutableAttributeSet.java,
14670         javax/swing/text/PlainDocument.java,
14671         javax/swing/text/PlainEditorKit.java,
14672         javax/swing/text/Position.java,
14673         javax/swing/text/Segment.java,
14674         javax/swing/text/StyledDocument.java,
14675         javax/swing/text/StyledEditorKit.java,
14676         javax/swing/text/Style.java,
14677         javax/swing/text/TextAction.java,
14678         javax/swing/text/ViewFactory.java,
14679         javax/swing/text/View.java,
14680         javax/swing/Timer.java,
14681         javax/swing/ToggleButtonModel.java,
14682         javax/swing/ToolTipManager.java,
14683         javax/swing/tree/AbstractLayoutCache.java,
14684         javax/swing/tree/DefaultMutableTreeNode.java,
14685         javax/swing/tree/DefaultTreeCellEditor.java,
14686         javax/swing/tree/DefaultTreeCellRenderer.java,
14687         javax/swing/tree/DefaultTreeModel.java,
14688         javax/swing/tree/DefaultTreeSelectionModel.java,
14689         javax/swing/tree/ExpandVetoException.java,
14690         javax/swing/tree/FixedHeightLayoutCache.java,
14691         javax/swing/tree/MutableTreeNode.java,
14692         javax/swing/tree/RowMapper.java,
14693         javax/swing/tree/TreeCellEditor.java,
14694         javax/swing/tree/TreeCellRenderer.java,
14695         javax/swing/tree/TreeModel.java,
14696         javax/swing/tree/TreeNode.java,
14697         javax/swing/tree/TreePath.java,
14698         javax/swing/tree/TreeSelectionModel.java,
14699         javax/swing/tree/VariableHeightLayoutCache.java,
14700         javax/swing/UIDefaults.java,
14701         javax/swing/UIManager.java,
14702         javax/swing/undo/AbstractUndoableEdit.java,
14703         javax/swing/undo/CannotRedoException.java,
14704         javax/swing/undo/CannotUndoException.java,
14705         javax/swing/undo/CompoundEdit.java,
14706         javax/swing/undo/StateEditable.java,
14707         javax/swing/undo/StateEdit.java,
14708         javax/swing/undo/UndoableEdit.java,
14709         javax/swing/undo/UndoableEditSupport.java,
14710         javax/swing/undo/UndoManager.java,
14711         javax/swing/UnsupportedLookAndFeelException.java,
14712         javax/swing/ViewportLayout.java,
14713         javax/swing/WindowConstants.java: New files, from GNU Classpath.
14714
14715         * java/awt/ActiveEvent.java,
14716         java/awt/Adjustable.java, java/awt/AWTError.java,
14717         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
14718         java/awt/AWTException.java, java/awt/AWTPermission.java,
14719         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
14720         java/awt/Color.java, java/awt/Component.java,
14721         java/awt/ComponentOrientation.java, java/awt/Container.java,
14722         java/awt/datatransfer/MimeTypeParseException.java,
14723         java/awt/datatransfer/Transferable.java,
14724         java/awt/datatransfer/UnsupportedFlavorException.java,
14725         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
14726         java/awt/event/ActionListener.java,
14727         java/awt/event/AdjustmentEvent.java,
14728         java/awt/event/AdjustmentListener.java,
14729         java/awt/event/AWTEventListener.java,
14730         java/awt/event/ComponentAdapter.java,
14731         java/awt/event/ComponentEvent.java,
14732         java/awt/event/ComponentListener.java,
14733         java/awt/event/ContainerAdapter.java,
14734         java/awt/event/ContainerEvent.java,
14735         java/awt/event/ContainerListener.java,
14736         java/awt/event/FocusAdapter.java,
14737         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
14738         java/awt/event/HierarchyBoundsAdapter.java,
14739         java/awt/event/HierarchyBoundsListener.java,
14740         java/awt/event/HierarchyEvent.java,
14741         java/awt/event/HierarchyListener.java,
14742         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
14743         java/awt/event/InputMethodListener.java,
14744         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
14745         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
14746         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
14747         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
14748         java/awt/event/MouseListener.java,
14749         java/awt/event/MouseMotionAdapter.java,
14750         java/awt/event/MouseMotionListener.java,
14751         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
14752         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
14753         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
14754         java/awt/event/WindowListener.java, java/awt/Font.java,
14755         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
14756         java/awt/geom/Ellipse2D.java,
14757         java/awt/geom/IllegalPathStateException.java,
14758         java/awt/geom/Line2D.java,
14759         java/awt/geom/NoninvertibleTransformException.java,
14760         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
14761         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
14762         java/awt/geom/RoundRectangle2D.java,
14763         java/awt/GraphicsConfiguration.java,
14764         java/awt/IllegalComponentStateException.java,
14765         java/awt/image/IndexColorModel.java,
14766         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
14767         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
14768         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
14769         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
14770         java/awt/MenuItem.java, java/awt/PaintContext.java,
14771         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
14772         java/awt/Polygon.java, java/awt/PrintGraphics.java,
14773         java/awt/PrintJob.java, java/awt/Rectangle.java,
14774         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
14775         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
14776         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
14777
14778         * java/awt/im/spi/InputMethod.java,
14779         java/awt/im/spi/InputMethodContext.java,
14780         java/awt/im/spi/InputMethodDescriptor.java,
14781         java/awt/image/renderable/ContextualRenderedImageFactory.java,
14782         java/awt/image/renderable/ParameterBlock.java,
14783         java/awt/image/renderable/RenderContext.java,
14784         java/awt/image/renderable/RenderableImage.java,
14785         java/awt/image/renderable/RenderableImageOp.java,
14786         java/awt/image/renderable/RenderableImageProducer.java,
14787         java/awt/image/renderable/RenderedImageFactory.java: New files from
14788         classpath.
14789
14790         * gnu/java/awt/EventModifier.java,
14791         gnu/java/awt/image/ImageDecoder.java,
14792         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
14793
14794         * gnu/awt/xlib/XGraphicsConfiguration.java,
14795         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
14796         API.
14797
14798         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
14799         GNU Classpath.
14800
14801         * Makefile.am: Add new files.
14802         * Makefile.in: Rebuilt.
14803
14804 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14805
14806         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
14807         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
14808         findResource, getResources, findResources): Add javadoc from classpath.
14809         (getSystemResources): Implemented.
14810
14811 2002-08-01  Mark Wielaard  <mark@klomp.org>
14812
14813         Revert patch that breaks libgcj shared library on powerpc:
14814         * gnu/java/security/provider/Gnu.java: Reverse referencing all
14815         implementation classes by using Class.getName(). Uses Strings again.
14816         * gnu/java/security/der/DEREncodingException.java,
14817         gnu/java/security/provider/DERReader.java,
14818         gnu/java/security/provider/DERWriter.java,
14819         gnu/java/security/provider/DSAKeyPairGenerator.java,
14820         gnu/java/security/provider/DSAParameterGenerator.java,
14821         gnu/java/security/provider/DSAParameters.java,
14822         gnu/java/security/provider/DSASignature.java,
14823         gnu/java/security/provider/GnuDSAPrivateKey.java,
14824         gnu/java/security/provider/GnuDSAPublicKey.java,
14825         gnu/java/security/provider/MD5.java,
14826         gnu/java/security/util/Prime.java: Removed.
14827         * Makefile.am (ordinary_java_source_files): Remove above files.
14828         * Makefile.in: Regenerate.
14829         * gnu/java/security/provider/DefaultPolicy.java
14830         (getPermissions): Revert to maintaining static class variable of
14831         Permissions.
14832         * gnu/java/security/provider/SHA.java
14833         (engineUpdate): Revert algorithm change.
14834         (engineDigest): Revert algorithm change.
14835
14836 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
14837
14838         * configure.host: Add SH support.
14839         * sysdep/sh/locks.h: New file.
14840
14841 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14842
14843         * java/awt/Frame.java (Frame): Remove println calls.
14844
14845 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
14846
14847         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
14848         * configure: Rebuilt.
14849
14850 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
14851
14852         * sysdep/powerpc/locks.h: Formatting.
14853         (_LARX): Define.
14854         (_STCX): Define.
14855         (compare_and_swap): Use _LARX and _STCX.
14856         (compare_and_swap_release): Likewise.
14857
14858 2002-07-26  Tom Tromey  <tromey@redhat.com>
14859
14860         * java/net/Authenticator.java: New version from Classpath.
14861         * java/net/DatagramSocketImpl.java: New version from Classpath.
14862
14863 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
14864
14865         * configure.host: Add powerpc64*-* entry.
14866
14867 2002-07-26  Tom Tromey  <tromey@redhat.com>
14868
14869         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
14870         fcntl.h.
14871
14872 2002-07-24  Tom Tromey  <tromey@redhat.com>
14873
14874         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
14875         argument to _load.
14876
14877 2002-07-24  Tom Tromey  <tromey@redhat.com>
14878             Tony Kimball <alk@pobox.com>
14879
14880         * java/io/natFileDescriptorWin32.cc (setLength): New method.
14881         * java/io/natFileDescriptorPosix.cc (setLength): New method.
14882         * java/io/RandomAccessFile.java (setLength): New method.
14883         * java/io/natFileDescriptorEcos.cc (setLength): New method.
14884         * java/io/FileDescriptor.java (setLength): New method.
14885
14886 2002-07-24  Mark Wielaard  <mark@klomp.org>
14887
14888         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
14889         * java/io/ObjectInputStream.java (setBooleanField): Before setting
14890         field call setAccessible(true).
14891         (setByteField): Likewise.
14892         (setCharField): Likewise.
14893         (setDoubleField): Likewise.
14894         (setFloatField): Likewise.
14895         (setIntField): Likewise.
14896         (setLongField): Likewise.
14897         (setShortField): Likewise.
14898         (setObjectField): Likewise.
14899
14900 2002-07-24  Tom Tromey  <tromey@redhat.com>
14901
14902         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
14903         use toString() to format array element.
14904
14905 2002-07-23  Mark Wielaard  <mark@klomp.org>
14906
14907         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
14908         MessageDigestSpi (fixes Classpath bug #783).
14909
14910 2002-07-21  Mark Wielaard  <mark@klomp.org>
14911
14912         * gnu/java/security/provider/Gnu.java: Reference all implementation
14913         classes by using Class.getName().
14914
14915 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
14916
14917         * java/lang/ieeefp.h: Add x86-64 support.
14918         * configure.in: Likewise.
14919         * configure.host: Likewise.
14920         * configure: Regenerated.
14921         * sysdep/x86-64/locks.h: New file with x86-64 locks.
14922
14923 2002-07-16  Mark Wielaard  <mark@klomp.org>
14924
14925         * java/io/StreamTokenizer.java (pushBack): Update documentation.
14926         (whitespaceChars): call resetChar().
14927
14928 2002-07-15  Tom Tromey  <tromey@redhat.com>
14929
14930         * Makefile.in: Rebuilt.
14931         * Makefile.am (awt_java_source_files): Added new files.
14932         * java/beans/ExceptionListener.java: Merged with Classpath.
14933         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
14934         * java/beans/PropertyChangeListener.java: Merged with Classpath.
14935         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
14936         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
14937         * java/beans/VetoableChangeListener.java: Merged with Classpath.
14938         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
14939         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
14940
14941 2002-07-14  Mark Wielaard  <mark@klomp.org>
14942
14943         * gnu/java/security/der/DEREncodingException.java,
14944         gnu/java/security/provider/DERReader.java,
14945         gnu/java/security/provider/DERWriter.java,
14946         gnu/java/security/provider/DSAKeyPairGenerator.java,
14947         gnu/java/security/provider/DSAParameterGenerator.java,
14948         gnu/java/security/provider/DSAParameters.java,
14949         gnu/java/security/provider/DSASignature.java,
14950         gnu/java/security/provider/GnuDSAPrivateKey.java,
14951         gnu/java/security/provider/GnuDSAPublicKey.java,
14952         gnu/java/security/provider/MD5.java,
14953         gnu/java/security/util/Prime.java: New files from Classpath.
14954         * Makefile.am (ordinary_java_source_files): Add new files.
14955         * Makefile.in: Regenerate.
14956
14957 2002-07-14  C. Brian Jones <cbj@gnu.org>
14958
14959         * gnu/java/security/provider/DefaultPolicy.java
14960         (getPermissions): do not maintain static class variable of
14961         Permissions
14962         * gnu/java/security/provider/SHA.java
14963         (engineUpdate): algorithm change
14964         (engineDigest): algorithm change
14965
14966 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
14967
14968         For PR libgcj/7292:
14969         * java/lang/Character.java (toString(char)): Now static.
14970
14971 2002-07-12  Mark Wielaard  <mark@klomp.org>
14972
14973         * java/lang/natThrowable.cc (printRawStackTrace): removed.
14974         (getStackTrace0): new method.
14975         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
14976         (printStackTrace(PrintWriter)): replace with pure java implementation.
14977         (printRawStackTrace): removed.
14978         (getStackTrace0): new method.
14979         * java/lang/StackTraceElement.java (toString): add extra whitespace.
14980         * gcj/javaprims.h: regenerate class list.
14981         * include/name-finder.h (lookup): new returns StackTraceElement*.
14982         (method_name, file_name): fields removed.
14983         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
14984         (~_Jv_name_finder): close new descriptors.
14985         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
14986         (createStackTraceElement): new method.
14987         (lookup): returns StackTraceElement*, uses createStackTraceElement().
14988
14989 2002-07-10  Tom Tromey  <tromey@redhat.com>
14990
14991         * configure: Rebuilt.
14992         * configure.in: Use `test' after `&&'.  From Chris Faylor.
14993
14994 2002-07-08  Mark Wielaard  <mark@klomp.org>
14995
14996         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
14997         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
14998         java.sql.DatabaseMetaData.TestJdbc20
14999
15000 2002-07-05  Tony Kimball  <alk@pobox.com>
15001
15002         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
15003
15004 2002-07-04  Tom Tromey  <tromey@redhat.com>
15005             Jeff Sturm  <jsturm@one-point.com>
15006
15007         Fix for PR libgcj/7060:
15008         * java/lang/Class.h (_getMethod): Renamed from getMethod.
15009         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
15010         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
15011         * java/lang/Class.java (getMethod): New Java implementation;
15012         complies with spec.
15013         (_getMethod): New native method.
15014
15015 2002-07-02  Tom Tromey  <tromey@redhat.com>
15016             David Hovemeyer  <daveho@cs.umd.edu>
15017
15018         * java/text/ChoiceFormat.java
15019         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
15020         in check loop.
15021         * java/text/MessageFormat.java
15022         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
15023         to MessageFormat.
15024
15025 2002-07-01  Tom Tromey  <tromey@redhat.com>
15026
15027         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
15028         StringTokenizer on null string.  For PR libgcj/7180.
15029         From daveho@cs.umd.edu.
15030
15031 2002-06-24  Tom Tromey  <tromey@redhat.com>
15032
15033         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
15034         (IntegerClass): Likewise.
15035         * java/lang/natClass.cc (CloneableClass): Removed.
15036         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
15037         ConstructorClass): Likewise.
15038         * java/lang/natClassLoader.cc (CloneableClass): Removed.
15039         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
15040         SerializableClass): Likewise.
15041         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
15042         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
15043         LongClass, FloatClass, DoubleClass): Likewise.
15044
15045         * verify.cc (branch_prepass): Updated for change to exception
15046         handler type.
15047         (verify_instructions_0): Likewise.
15048         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
15049         (handleExceptionTableEntry): Updated for change to exception
15050         handler type.
15051         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
15052         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
15053         (union _Jv_InterpPC): New.
15054         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
15055         (class _Jv_InterpMethod): Added new `prepared' field.
15056         (class _Jv_InterpMethod): Added `compile' method.  Removed
15057         `continue1' and `find_exception'.  Changed arguments to `run'.
15058         * interpret.cc (union insn_slot): New.
15059         (find_exception): Removed.
15060         (run_normal): Removed most logic.
15061         (run_synch_object): Likewise; also, use JvSynchronize.
15062         (run_synch_class): Likewise.
15063         (run): Removed.
15064         (continue1): Renamed as `run'.  Compile bytecode if required.
15065         Add new code to allow refinement of direct-threaded code at
15066         runtime.  Handle exceptions.
15067         (SAVE_PC): Removed.
15068         (compile): New method.
15069         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
15070         (NULLARRAYCHECK): Don't use SAVE_PC.
15071         (pc_t): New typedef.
15072         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
15073         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
15074
15075 2002-06-23  Tom Tromey  <tromey@redhat.com>
15076
15077         * configure: Rebuilt.
15078         * configure.in (INTERPRETER): New subst.
15079         (AM_RUNTESTFLAGS): Don't subst.
15080
15081         * Makefile.in: Rebuilt.
15082         * Makefile.am ($(srcdir)/java/lang/Object.h,
15083         $(srcdir)/java/lang/Class.h): Added dummy targets.
15084
15085 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15086
15087         Reformat JDBC classes and add new JDK 1.4 classes and methods.
15088
15089         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
15090         java/sql/Savepoint.java: New files.
15091         * java/sql/Array.java, java/sql/BatchUpdateException.java,
15092         java/sql/Blob.java, java/sql/CallableStatement.java,
15093         java/sql/Clob.java, java/sql/Connection.java,
15094         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
15095         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
15096         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
15097         java/sql/Ref.java, java/sql/ResultSet.java,
15098         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
15099         java/sql/SQLException.java, java/sql/SQLInput.java,
15100         java/sql/SQLOutput.java, java/sql/SQLWarning.java
15101         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
15102         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
15103         (JDK 1.4) specification.
15104         * javax/sql/ConnectionEvent.java,
15105         javax/sql/ConnectionEventListener.java,
15106         javax/sql/ConnectionPoolDataSource.java,
15107         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
15108         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
15109         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
15110         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
15111         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
15112         javax/sql/XADataSource.java: New files.
15113         * Makefile.am: Add new files.
15114         * Makefile.in: Rebuilt.
15115
15116 2002-06-20  Tom Tromey  <tromey@redhat.com>
15117
15118         For PR libgcj/7073:
15119         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
15120         exists.
15121         * defineclass.cc (handleClassBegin): Superclass for interface is
15122         `null'.
15123
15124 2002-06-18  Tom Tromey  <tromey@redhat.com>
15125
15126         * gcj/javaprims.h: Updated class declaration list.
15127         * Makefile.in: Rebuilt.
15128         * Makefile.am (core_java_source_files): Removed
15129         BasicMapEntry.java.
15130         * java/util/BasicMapEntry.java: Removed.
15131
15132 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
15133
15134         * java/net/natPlainDatagramSocketImpl.cc (receive):
15135         Check bounds of argument to FD_SET.
15136         (setOption): Throw exception if socket is closed.
15137
15138         * java/net/natPlainSocketImpl.cc (accept, read):
15139         Check bounds of argument to FD_SET.
15140         (setOption): Throw exception if socket is closed.
15141
15142 2002-06-18  Tom Tromey  <tromey@redhat.com>
15143
15144         * gcj/javaprims.h: Updated class declaration list.
15145         * Makefile.in: Rebuilt.
15146         * Makefile.am (core_java_source_files): Added
15147         PropertyPermissionCollection.java.
15148         * java/lang/Thread.java (group, name): Now package-private.
15149         * java/lang/ThreadGroup.java: Re-merge with Classpath.
15150         * java/util/AbstractList.java: Likewise.
15151         * java/util/AbstractMap.java: Likewise.
15152         * java/util/Calendar.java: Likewise.
15153         * java/util/Collections.java: Likewise.
15154         * java/util/HashMap.java: Likewise.
15155         * java/util/Hashtable.java: Likewise.
15156         * java/util/LinkedHashMap.java: Likewise.
15157         * java/util/LinkedList.java: Likewise.
15158         * java/util/List.java: Likewise.
15159         * java/util/ListResourceBundle.java: Likewise.
15160         * java/util/Map.java: Likewise.
15161         * java/util/Observable.java: Likewise.
15162         * java/util/Properties.java: Likewise.
15163         * java/util/PropertyPermission.java: Likewise.
15164         * java/util/PropertyPermissionCollection.java: Likewise.
15165         * java/util/PropertyResourceBundle.java: Likewise.
15166         * java/util/Random.java: Likewise.
15167         * java/util/SimpleTimeZone.java: Likewise.
15168         * java/util/StringTokenizer.java: Likewise.
15169         * java/util/TimerTask.java: Likewise.
15170         * java/util/TreeMap.java: Likewise.
15171         * java/util/WeakHashMap.java: Likewise.
15172         * java/util/jar/Attributes.java: Likewise.
15173         * java/util/jar/JarException.java: Likewise.
15174         * java/util/jar/Manifest.java: Likewise.
15175
15176 2002-06-17  Tom Tromey  <tromey@redhat.com>
15177
15178         * gcj/javaprims.h: Updated class declaration list.
15179         * Makefile.in: Rebuilt.
15180         * Makefile.am (core_java_source_files): Added new file.
15181         * java/util/EventListenerProxy.java: New file.
15182         * java/util/EventListener.java: Re-merge with Classpath.
15183         * java/util/EventObject.java: Re-merge with Classpath.
15184
15185 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
15186
15187         * java/lang/ClassNotFoundException.java: New Classpath version.
15188
15189 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
15190
15191         * java/rmi/activation/ActivateFailedException.java: Remerge from
15192         Classpath version.
15193         * java/rmi/activation/ActivationException.java: Ditto.
15194         * java/rmi/activation/UnknownGroupException.java: Ditto.
15195         * java/rmi/activation/UnknownObjectException.java: Ditto.
15196         * java/rmi/server/ExportException: Ditto.
15197         * java/rmi/server/ServerCloneException: Ditto.
15198         * java/rmi/server/ServerNotActiveException: Ditto.
15199         * java/rmi/server/SkeletonMismatchException: Ditto.
15200         * java/rmi/server/SkeletonNotFoundException: Ditto.
15201         * java/rmi/server/SocketSecurityException: Ditto.
15202
15203 2002-06-16  Tom Tromey  <tromey@redhat.com>
15204
15205         * gcj/javaprims.h: Updated class declaration list.
15206
15207         * java/io/LineNumberInputStream.java: Merged with Classpath.
15208
15209         * java/lang/RuntimeException.java: Re-merge with Classpath.
15210         * java/util/ArrayList.java: Likewise.
15211         * java/util/Arrays.java: Likewise.
15212         * java/util/BitSet.java: Likewise.
15213         * java/util/Dictionary.java: Likewise.
15214         * java/util/IdentityHashMap.java: Likewise.
15215         * java/util/MissingResourceException.java: Likewise.
15216         * java/util/Observer.java: Likewise.
15217         * java/util/TooManyListenersException.java: Likewise.
15218         * java/util/zip/DataFormatException.java: Likewise.
15219         * java/util/zip/ZipException.java: Likewise.
15220
15221 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
15222
15223         * java/rmi/AccessException.java: Remerge from Classpath.
15224         * java/rmi/AlreadyBoundException.java: Ditto.
15225         * java/rmi/ConnectException.java: Ditto.
15226         * java/rmi/ConnectIOException.java: Ditto.
15227         * java/rmi/MarshalException.java: Ditto.
15228         * java/rmi/NoSuchObjectException.java: Ditto.
15229         * java/rmi/NotBoundException.java: Ditto.
15230         * java/rmi/RemoteException.java: Ditto.
15231         * java/rmi/RMISecurityException.java: Ditto.
15232         * java/rmi/ServerError.java: Ditto.
15233         * java/rmi/ServerException.java: Ditto.
15234         * java/rmi/ServerRuntimeException.java: Ditto.
15235         * java/rmi/StubNotFoundException.java: Ditto.
15236         * java/rmi/UnexpectedExcpetion.java: Ditto.
15237         * java/rmi/UnknownHostException.java: Ditto.
15238         * java/rmi/UnmarshalException.java: Ditto.
15239
15240 2002-06-15  Tom Tromey  <tromey@redhat.com>
15241
15242         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
15243         * java/lang/ArithmeticException.java: Likewise.
15244         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
15245         * java/lang/ArrayStoreException.java: Likewise.
15246         * java/lang/Byte.java: Likewise.
15247         * java/lang/CharSequence.java: Likewise.
15248         * java/lang/ClassCastException.java: Likewise.
15249         * java/lang/ClassCircularityError.java: Likewise.
15250         * java/lang/ClassFormatError.java: Likewise.
15251         * java/lang/CloneNotSupportedException.java: Likewise.
15252         * java/lang/Cloneable.java: Likewise.
15253         * java/lang/Comparable.java: Likewise.
15254         * java/lang/Compiler.java: Likewise.
15255         * java/lang/Error.java: Likewise.
15256         * java/lang/ExceptionInInitializerError.java: Likewise.
15257         * java/lang/IllegalAccessError.java: Likewise.
15258         * java/lang/IllegalAccessException.java: Likewise.
15259         * java/lang/IllegalArgumentException.java: Likewise.
15260         * java/lang/IllegalMonitorStateException.java: Likewise.
15261         * java/lang/IllegalStateException.java: Likewise.
15262         * java/lang/IllegalThreadStateException.java: Likewise.
15263         * java/lang/IncompatibleClassChangeError.java: Likewise.
15264         * java/lang/IndexOutOfBoundsException.java: Likewise.
15265         * java/lang/InheritableThreadLocal.java: Likewise.
15266         * java/lang/InstantiationError.java: Likewise.
15267         * java/lang/InstantiationException.java: Likewise.
15268         * java/lang/InternalError.java: Likewise.
15269         * java/lang/InterruptedException.java: Likewise.
15270         * java/lang/LinkageError.java: Likewise.
15271         * java/lang/NegativeArraySizeException.java: Likewise.
15272         * java/lang/NoClassDefFoundError.java: Likewise.
15273         * java/lang/NoSuchFieldError.java: Likewise.
15274         * java/lang/NoSuchFieldException.java: Likewise.
15275         * java/lang/NoSuchMethodError.java: Likewise.
15276         * java/lang/NoSuchMethodException.java: Likewise.
15277         * java/lang/NullPointerException.java: Likewise.
15278         * java/lang/NumberFormatException.java: Likewise.
15279         * java/lang/OutOfMemoryError.java: Likewise.
15280         * java/lang/Process.java: Likewise.
15281         * java/lang/Runnable.java: Likewise.
15282         * java/lang/RuntimePermission.java: Likewise.
15283         * java/lang/SecurityException.java: Likewise.
15284         * java/lang/Short.java: Likewise.
15285         * java/lang/StackOverflowError.java: Likewise.
15286         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
15287         * java/lang/ThreadDeath.java: Likewise.
15288         * java/lang/ThreadLocal.java: Likewise.
15289         * java/lang/UnknownError.java: Likewise.
15290         * java/lang/UnsatisfiedLinkError.java: Likewise.
15291         * java/lang/UnsupportedClassVersionError.java: Likewise.
15292         * java/lang/UnsupportedOperationException.java: Likewise.
15293         * java/lang/VerifyError.java: Likewise.
15294         * java/lang/VirtualMachineError.java: Likewise.
15295         * java/lang/reflect/InvocationTargetException.java: Likewise.
15296         * java/net/BindException.java: Likewise.
15297         * java/net/ConnectException.java: Likewise.
15298         * java/net/MalformedURLException.java: Likewise.
15299         * java/net/NoRouteToHostException.java: Likewise.
15300         * java/net/ProtocolException.java: Likewise.
15301         * java/net/SocketException.java: Likewise.
15302         * java/net/UnknownHostException.java: Likewise.
15303         * java/net/UnknownServiceException.java: Likewise.
15304
15305         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
15306         * java/io/CharConversionException.java: Likewise.
15307         * java/io/EOFException.java: Likewise.
15308         * java/io/FileNotFoundException.java: Likewise.
15309         * java/io/IOException.java: Likewise.
15310         * java/io/InterruptedIOException.java: Likewise.
15311         * java/io/InvalidClassException.java: Likewise.
15312         * java/io/InvalidObjectException.java: Likewise.
15313         * java/io/NotActiveException.java: Likewise.
15314         * java/io/NotSerializableException.java: Likewise.
15315         * java/io/ObjectStreamException.java: Likewise.
15316         * java/io/ObjectStreamConstants.java: Likewise.
15317         * java/io/OptionalDataException.java: Likewise.
15318         * java/io/PipedInputStream.java: Likewise.
15319         * java/io/PushbackInputStream.java: Likewise.
15320         * java/io/StreamCorruptedException.java: Likewise.
15321         * java/io/SyncFailedException.java: Likewise.
15322         * java/io/UTFDataFormatException.java: Likewise.
15323         * java/io/UnsupportedEncodingException.java: Likewise.
15324         * java/io/WriteAbortedException.java: Likewise.
15325
15326 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
15327
15328         * java/text/ChoiceFormat.java: Update comments from Classpath.
15329         * java/text/ParseException.java (serialVersionUID): New
15330         field from Classpath.
15331         * java/text/ParseException.java: Update formatting & comments
15332         from Classpath.
15333
15334 2002-06-15  Tom Tromey  <tromey@redhat.com>
15335
15336         * java/util/zip/InflaterInputStream.java (read): Loop if data has
15337         been read but none output by inflater.
15338         * java/util/zip/natDeflater.cc (reset): Set is_finished.
15339         * java/util/zip/natInflater.cc (reset): Set dist_needed and
15340         is_finished.
15341         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
15342         version.
15343         * java/util/zip/ZipFile.java: Replaced with Classpath version.
15344         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
15345         * java/util/zip/ZipInputStream.java: Replaced with Classpath
15346         version.
15347         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
15348
15349 2002-06-13  Tom Tromey  <tromey@redhat.com>
15350
15351         * java/lang/natString.cc (init): Handle case where DONT_COPY is
15352         true and OFFSET!=0.
15353         * java/lang/String.java (String(char[],int,int,boolean): New
15354         constructor.
15355         * java/lang/Long.java: Imported new version from Classpath.
15356         * java/lang/Number.java: Likewise.
15357         * java/lang/Integer.java: Likewise.
15358         * java/lang/Long.java: Likewise.
15359         * java/lang/Float.java: Likewise.
15360         * java/lang/Boolean.java: Likewise.
15361         * java/lang/Double.java: Likewise.
15362         * java/lang/Void.java: Likewise.
15363
15364 2002-06-12  Tom Tromey  <tromey@redhat.com>
15365
15366         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
15367         Fixes PR libgcj/6652.
15368
15369 2002-06-10  Tom Tromey  <tromey@redhat.com>
15370
15371         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
15372         (Class::getPackagePortion): Likewise.
15373         * java/lang/Class.java (desiredAssertionStatus): New method from
15374         Classpath.
15375         (getPackagePortion): Likewise.
15376         * java/lang/VMClassLoader.java (defaultAssertionStatus,
15377         packageAssertionStatus, classAssertionStatus): New methods from
15378         Classpath.
15379         * java/lang/ClassLoader.java (defaultAssertionStatus,
15380         systemPackageAssertionStatus, packageAssertionStatus,
15381         systemClassAssertionStatus, classAssertionStatus): New fields from
15382         Classpath.
15383         (setDefaultAssertionStatus, setPackageAssertionStatus,
15384         setClassAssertionStatus, clearAssertionStatus): New methods from
15385         Classpath.
15386         * Makefile.in: Rebuilt.
15387         * Makefile.am (core_java_source_files): Added AssertionError.java.
15388         * java/lang/AssertionError.java: New from Classpath.
15389
15390 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15391
15392         * configure.host: Disable hash synchronization and slow_pthread_self
15393         for cygwin.
15394
15395 2002-06-06  Adam Megacz <adam@xwt.org>
15396
15397         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
15398         locking, just like the Sun JVM does.
15399
15400 2002-06-05  H.J. Lu  (hjl@gnu.org)
15401
15402         * Makefile.am (libgcj_convenience.la): Revert the last change.
15403         (libgcj.la): Likewise.
15404         * Makefile.in: Regenerated.
15405
15406 2002-06-04  H.J. Lu  (hjl@gnu.org)
15407
15408         * Makefile.am (libgcj_convenience.la): New target.
15409         (libgcj.la): Depend on libgcj_convenience.la.
15410         * Makefile.in: Regenerated.
15411
15412 2002-06-04  H.J. Lu  (hjl@gnu.org)
15413
15414         * configure.in (--with-newlib): New option:
15415         Check ${with_newlib} instead of ${with_cross_host} for newlib.
15416         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
15417         Linux.
15418         * configure: Regenerated.
15419
15420 2002-06-04  Tom Tromey  <tromey@redhat.com>
15421
15422         * java/util/natTimeZone.cc: Include <stdio.h>.
15423
15424 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
15425
15426         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
15427         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
15428         Set SIGNAL_HANDLER=include/s390-linux.h.
15429         * configure: Regenerate.
15430         * include/s390-linux.h: New file.
15431
15432 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15433
15434         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
15435         not "stackTrace".
15436
15437 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15438
15439         Merge JDK 1.4 java.security changes from classpath.
15440
15441         * java/security/AccessControlException.java: Merge from Classpath.
15442         * java/security/AccessController.java: Likewise.
15443         * java/security/AllPermission.java: Likewise.
15444         * java/security/BasicPermission.java: Likewise.
15445         * java/security/Certificate.java: Likewise.
15446         * java/security/CodeSource.java: Likewise.
15447         * java/security/DigestException.java: Likewise.
15448         * java/security/DigestOutputStream.java: Likewise.
15449         * java/security/DomainCombiner.java: Likewise.
15450         * java/security/GeneralSecurityException.java: Likewise.
15451         * java/security/Guard.java: Likewise.
15452         * java/security/GuardedObject.java: Likewise.
15453         * java/security/InvalidAlgorithmParameterException.java: Likewise.
15454         * java/security/InvalidKeyException.java: Likewise.
15455         * java/security/InvalidParameterException.java: Likewise.
15456         * java/security/Key.java: Likewise.
15457         * java/security/KeyException.java: Likewise.
15458         * java/security/KeyManagementException.java: Likewise.
15459         * java/security/KeyStoreException.java: Likewise.
15460         * java/security/MessageDigest.java: Likewise.
15461         * java/security/NoSuchAlgorithmException.java: Likewise.
15462         * java/security/NoSuchProviderException.java: Likewise.
15463         * java/security/Permission.java: Likewise.
15464         * java/security/PermissionCollection.java: Likewise.
15465         * java/security/Permissions.java: Likewise.
15466         * java/security/Policy.java: Likewise.
15467         * java/security/Principal.java: Likewise.
15468         * java/security/PrivateKey.java: Likewise.
15469         * java/security/PrivilegedAction.java: Likewise.
15470         * java/security/PrivilegedActionException.java: Likewise.
15471         * java/security/PrivilegedExceptionAction.java: Likewise.
15472         * java/security/ProtectionDomain.java: Likewise.
15473         * java/security/ProviderException.java: Likewise.
15474         * java/security/PublicKey.java: Likewise.
15475         * java/security/SecureClassLoader.java: Likewise.
15476         * java/security/SecurityPermission.java: Likewise.
15477         * java/security/SignatureException.java: Likewise.
15478         * java/security/UnrecoverableKeyException.java: Likewise.
15479         * java/security/UnresolvedPermission.java: Likewise.
15480         * java/security/acl/AclNotFoundException.java: Likewise.
15481         * java/security/acl/LastOwnerException.java: Likewise.
15482         * java/security/acl/NotOwnerException.java: Likewise.
15483         * java/security/cert/CRLException.java: Likewise.
15484         * java/security/cert/CertificateEncodingException.java: Likewise.
15485         * java/security/cert/CertificateException.java: Likewise.
15486         * java/security/cert/CertificateExpiredException.java: Likewise.
15487         * java/security/cert/CertificateFactory.java: Likewise.
15488         * java/security/cert/CertificateNotYetValidException.java: Likewise.
15489         * java/security/cert/CertificateParsingException.java: Likewise.
15490         * java/security/spec/InvalidKeySpecException.java: Likewise.
15491         * java/security/spec/InvalidParameterSpecException.java: Likewise.
15492
15493         * java/security/cert/CertPath.java: New file.
15494         * java/security/cert/CertPathBuilderException.java: New file.
15495         * java/security/cert/CertPathValidatorException.java: New file.
15496         * java/security/cert/CertStoreException.java: New file.
15497
15498         * Makefile.am: Add new CertPath classes.
15499         * Makefile.in: Rebuilt.
15500
15501         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
15502
15503 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15504
15505         Merge JDK 1.4 exception chaining support from classpath.
15506
15507         * java/lang/Throwable.java: Merge 1.4 support from classpath.
15508         (stackTraceBytes): Rename from stackTrace.
15509         * java/lang/Exception.java: Merge from classpath.
15510         * java/lang/StackTraceElement: New file from classpath.
15511         * gcj/javaprims.h: Rebuild CNI namespace declarations.
15512         * Makefile.am: Add StackTraceElement.
15513         * Makefile.in: Rebuilt.
15514
15515 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15516
15517         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
15518         they build first.
15519         * Makefile.in: Rebuilt.
15520
15521 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15522
15523         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
15524         * configure.in: Likewise.
15525         * aclocal.m4: Regenerate.
15526         * configure: Regenerate.
15527
15528 2002-05-13  Tom Tromey  <tromey@redhat.com>
15529
15530         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
15531         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
15532         Include platform.h.
15533
15534         Fixes PR libgcj/6389:
15535         * Makefile.in: Rebuilt.
15536         * Makefile.am (nat_source_files): Added natTimeZone.cc.
15537         * java/util/natTimeZone.cc: New file.
15538         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
15539         * java/lang/System.java: Merged with Classpath.
15540         * java/lang/Runtime.java: Merged with Classpath.
15541         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
15542         security check.
15543         (setIn0): Renamed from setIn; don't run security check.
15544         (setOut0): Renamed from setOut; don't run security check.
15545         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
15546         init_properties): Moved to natRuntime.cc.
15547         Moved many includes to natRuntime.cc.
15548         (isWordsBigEndian): New method.
15549         * java/lang/natRuntime.cc: Include Long.h, also other includes
15550         previously in natSystem.cc.
15551         (maxMemory): New function.
15552         (exitInternal): Renamed from `_exit'.
15553         (exit): Removed.
15554         (init): Don't set finalize_on_exit.
15555         (exitInternal): Use `finalizeOnExit'.
15556         (file_encoding, getpwuid_adaptor): New functions from
15557         natSystem.cc.
15558         (insertSystemProperties): New method, renamed from
15559         System::init_properties.  Don't set user.timezone.
15560         (_load): Don't call checkLink.
15561         (execInternal): New method.
15562         (availableProcessors): Likewise.
15563         (nativeGetLibname): Likewise.
15564
15565 2002-05-11  Mark Wielaard  <mark@klomp.org>
15566
15567         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
15568         space characters.
15569         (previous_internal): Likewise.
15570
15571 2002-05-09  Tom Tromey  <tromey@redhat.com>
15572
15573         * jni.cc (_Jv_JNIFunctions): Fixed typo.
15574
15575         * java/util/ResourceBundle.java: New version from Classpath.
15576         * java/util/Locale.java: Likewise.
15577
15578 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
15579
15580         * testsuite/lib/libjava.exp (libjava_arguments): Append all
15581         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
15582         LD_LIBRARY_PATH.
15583
15584 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
15585
15586         * libjava/Makefile.am (all_java_source_files): New variable.
15587         (all_java_class_files): Likewise.
15588         .java.class: New rule.
15589         (CLEANFILES): Remove tmp-list.
15590         * libjava/Makefile.in: Regenerated.
15591
15592 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
15593
15594         * testsuite/lib/libjava.exp (test_libjava_from_javac):
15595         Append .exe to executable names.  Fix for cygwin.
15596
15597 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
15598
15599         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
15600         script entry, and set LD to it when configuring multilibs.
15601         * configure: Rebuilt.
15602
15603 2002-05-07  Tom Tromey  <tromey@redhat.com>
15604
15605         * java/lang/natString.cc (unintern): Fixed typo.
15606
15607 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
15608
15609         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
15610         with -no-install on *-*-cygwin*.
15611
15612 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
15613
15614         * testsuite/lib/libjava.exp (test_libjava_from_source):
15615         Add comment explaining last patch
15616
15617 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
15618
15619         * testsuite/lib/libjava.exp (test_libjava_from_source):
15620         Append .exe to executable names.  If no suffix is present,
15621         then ".exe" is added by default on win32.  Harmless
15622         elsewhere so always do it.
15623
15624 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
15625             Tom Tromey  <tromey@redhat.com>
15626
15627         * java/lang/natSystem.cc (getSystemTimeZone): Use
15628         HAVE_UNDERSCORE_TIMEZONE.
15629         * include/config.h.in: Rebuilt.
15630         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
15631         * aclocal.m4, configure: Rebuilt.
15632         * acinclude.m4: Run AC_EXEEXT.
15633         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
15634         Add test for `_timezone'.
15635
15636 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
15637
15638         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15639         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
15640         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15641         * Makefile.in: Rebuilt.
15642
15643 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
15644
15645         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
15646         use sigaction instead of __libc_sigaction.
15647
15648 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15649
15650         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
15651         (libjava_init): Use it to find libgcj.spec.
15652         (libjava_arguments): Likewise.
15653
15654 2002-05-02  David S. Miller  <davem@redhat.com>
15655
15656         PR bootstrap/6525
15657         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
15658         __libc_sigaction on Sparc.
15659
15660 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
15661
15662         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
15663         sys/filio.h, if present.
15664
15665 2002-04-30  Tom Tromey  <tromey@redhat.com>
15666
15667         * java/io/BufferedReader.java (fill): Handle case where markPos
15668         point to ignored \n.  Fixes PR libgcj/6301.
15669
15670 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
15671
15672         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
15673
15674 2002-04-29  Adam King <aking@dreammechanics.com>
15675
15676         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
15677         of file in APPEND mode.
15678
15679 2002-04-25  David S. Miller  <davem@redhat.com>
15680
15681         PR target/6422
15682         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
15683         program counter to next program counter minus 8.  Update
15684         comments in this macro to explain why.
15685
15686 2002-04-26  Tom Tromey  <tromey@redhat.com>
15687
15688         * verify.cc (construct_primitive_array_type) [void_type]: New
15689         case.
15690         (branch_prepass): Added dummy entries for unused instruction
15691         values.
15692         (verify_instructions_0): Likewise.
15693         * interpret.cc (continue1): Comment fix.
15694         * include/java-insns.h (op_xxxunusedxxx1): Removed.
15695         * Makefile.in: Rebuilt.
15696         * Makefile.am: Added -Wswitch-enum.
15697
15698 2002-04-24  Tom Tromey  <tromey@redhat.com>
15699
15700         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
15701         correct length of UTF-8 encoded name.  Strip leading `/'.
15702         (_Jv_RegisterResource): Use _Jv_Malloc.
15703
15704 2002-04-23  Adam Megacz <adam@xwt.org>
15705
15706         * win32.cc, include/win32.cc (backtrace): Added this function
15707         because Win32 does not supply it.
15708
15709 2002-04-21  David S. Miller  <davem@redhat.com>
15710
15711         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
15712         magic instruction reading sequence.
15713
15714 2002-04-21  Mark Wielaard  <mark@klomp.org>
15715
15716         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
15717
15718 2002-04-19  David S. Miller  <davem@redhat.com>
15719
15720         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
15721         arg.
15722         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
15723         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
15724         on Sparc too.
15725         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
15726         for 64-bit sparc.
15727         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
15728         * sysdeps/sparc/locks.h: New file.
15729         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
15730         on all sparc Solaris configurations.  Set to
15731         include/dwarf2-signal.h on sparc Linux.
15732         * configure: Regenerate
15733         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
15734
15735 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
15736
15737         * configure: Rebuilt.
15738         * configure.in (backtrace): Function doesn't work on IA-64.
15739
15740 2002-04-17  Adam King <aking@dreammechanics.com>
15741
15742         * java/io/File.java (normalizePath): Add Win32 support for auto
15743         conversion of a '/' path separator to Win32's '\' separator.
15744
15745 2002-04-16  Tom Tromey  <tromey@redhat.com>
15746
15747         Fix for PR libgcj/6081:
15748         * Makefile.in: Rebuilt.
15749         * Makefile.am (install-data-local): Use GNU make trick to avoid
15750         shell limit.
15751
15752 2002-04-16  Adam King <aking@dreammechanics.com>
15753             Tom Tromey  <tromey@redhat.com>
15754
15755         * java/io/natFileWin32.cc (performList): Return the correct array
15756         type.  Don't duplicate the creation of a File since it's already
15757         done earlier in the method and the existing code would cause a
15758         ArrayStoreException.  Don't use fixed-size array.
15759         (_access, _stat, attr, getCanonicalPath, performMkdir,
15760         performRenameTo): Don't use fixed-size array.
15761         (getCanonicalPath): Use throw, not _Jv_Throw.
15762
15763 2002-04-15  DJ Delorie  <dj@redhat.com>
15764
15765         * configure.in: Allow building in $srcdir.
15766         * configure: Regenerated.
15767
15768 2002-04-14  Mark Wielaard <mark@klomp.org>
15769
15770         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
15771         * java/net/natSocketImpl.cc (close): Likewise.
15772
15773 2002-04-14  Mark Wielaard <mark@klomp.org>
15774
15775         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
15776
15777 2002-04-13  Adam King <aking@dreammechanics.com>
15778
15779         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
15780         the f/F/d/D modifiers.
15781
15782 2002-04-12  Anthony Green  <green@redhat.com>
15783
15784         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
15785         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
15786         * Makefile.in: Rebuilt.
15787         * configure.in: Substitute gcc_version.
15788         * configure: Rebuilt.
15789
15790 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15791
15792         * configure.host: Set can_unwind_signal on hosts which support it.
15793         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
15794         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
15795         exceptions and can_unwind_signal isn't set.
15796         * configure: Rebuilt.
15797
15798 2002-04-11  Tom Tromey  <tromey@redhat.com>
15799
15800         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
15801
15802 2002-04-11  Adam King <aking@dreammechanics.com>
15803             Tom Tromey  <tromey@redhat.com>
15804
15805         * include/jvm.h (_Jv_ThrowBadArrayIndex,
15806         _Jv_ThrowNullPointerException): Mark as noreturn.
15807         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
15808         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
15809         fixes.
15810
15811 2002-04-10  Tom Tromey  <tromey@redhat.com>
15812
15813         * Makefile.in: Rebuilt.
15814         * Makefile.am (java/lang/Thread.h): Mark
15815         _Jv_AttachCurrentThreadAsDaemon as friend.
15816         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
15817         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
15818         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
15819         function.
15820         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
15821         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
15822         (_Jv_JNI_InvokeFunctions): Added
15823         _Jv_JNI_AttachCurrentThreadAsDaemon.
15824         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
15825         (JNI_GetDefaultJavaVMInitArgs): Likewise.
15826         (JNI_CreateJavaVM): Likewise.
15827         (_Jv_JNI_AttachCurrentThread): Likewise.
15828         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
15829         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
15830         (_Jv_JNIFunctions): Initialize new fields.
15831         (_Jv_JNI_NewDirectByteBuffer): New function.
15832         (_Jv_JNI_GetDirectBufferAddress): Likewise.
15833         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
15834         * include/jni.h (JNI_VERSION_1_4): New macro.
15835         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
15836         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
15837         (JNINativeInterface::NewDirectByteBuffer): New field.
15838         (JNINativeInterface::GetDirectBufferAddress): New field.
15839         (JNINativeInterface::GetDirectBufferCapacity): New field.
15840         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
15841         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
15842         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
15843
15844 2002-04-09  Tom Tromey  <tromey@redhat.com>
15845
15846         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
15847
15848 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
15849
15850         Fix for PR libgcj/6187:
15851         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
15852         distance.
15853
15854 2002-04-07  Mark Wielaard <mark@klomp.org>
15855
15856         * java/util/AbstractMap.java (putAll): Use entrySet size.
15857         (toString): Explicitly use getKey() and getValue().
15858
15859 2002-04-07  Mark Wielaard <mark@klomp.org>
15860
15861         * java/util/Hashtable.java (contains): Remove NullPointer check.
15862         (containsValue): Add NullPointer check.
15863         (remove): Always throw NullPointerException when key
15864         is null.
15865
15866 2002-04-07  Adam King <aking@dreammechanics.com>
15867
15868         * java/lang/natSystem.cc (init_properties): Call new function
15869         _Jv_platform_initProperties.
15870         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
15871         support for the System properties os.name, os.arch, os.version,
15872         user.name, user.home, and user.dir.
15873         * include/posix.h, include/win32.h, posix.cc: New function
15874         _Jv_platform_initProperties.
15875
15876 2002-04-06  Mark Wielaard <mark@klomp.org>
15877
15878         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
15879
15880 2002-04-06  Mark Wielaard <mark@klomp.org>
15881
15882         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
15883         all of the remaining elements.
15884         * java/util/Vector.java (addAll(int,Collection)): Likewise.
15885         (removeRange): If toIndex == fromIndex do
15886         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
15887         (removeAll): Always throw NullPointerException when collection is
15888         null.
15889         (retrainAll): Likewise.
15890
15891 2002-04-05  Mark Wielaard <mark@klomp.org>
15892
15893         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
15894         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
15895
15896 2002-04-05  Adam Megacz <adam@xwt.org>
15897
15898         * exception.cc (abort): added static modifier
15899
15900 2002-04-04  Adam Megacz <adam@xwt.org>
15901
15902         * include/win32.h (_Jv_platform_close_on_exec): added inline
15903         modifier.
15904
15905 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
15906
15907         * configure.host: Add case statement to support generic port
15908         properties.  Add *-*-freebsd* section.
15909
15910 2002-04-04  Mark Wielaard  <mark@klomp.org>
15911
15912         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
15913         test.
15914         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
15915         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
15916         that depend on awt code and BufferedByteOutputStream.interrupt.
15917
15918 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15919
15920         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
15921         incorrect "hi" value when count > 40.
15922
15923 2002-04-03  Mark Wielaard  <mark@klomp.org>
15924
15925         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
15926         ordering.
15927
15928 2002-04-02  Tom Tromey  <tromey@redhat.com>
15929
15930         * java/lang/natClassLoader.cc (findClass): Compare against `3',
15931         not `0'.
15932
15933 2002-04-02  Mark Wielaard  <mark@klomp.org>
15934
15935         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
15936         list of testsuite crashers.
15937
15938 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15939
15940         * java/util/IdentityHashMap.java (put): Set new threshold correctly
15941         when resizing table.
15942
15943 2002-04-01  Mark Wielaard  <mark@klomp.org>
15944
15945         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
15946         NegativeArraySizeException
15947         (clear(int)): Use sign extended shift.
15948         (flip(int)): Likewise.
15949         (get(int)): Likewise.
15950         (nextClearBit(int)): Likewise.
15951         (nextSetBit(int)): Likewise.
15952         (set(int)): Likewise.
15953
15954 2002-04-01  Mark Wielaard  <mark@klomp.org>
15955
15956         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
15957         that can be compiled now and add testsuite crashers to ignore list.
15958
15959 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
15960
15961         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
15962
15963         * libgcj.spec.in: Override libgcc, not lib.
15964         * libgcj-test.spec.in: Likewise.
15965
15966 2002-03-29  Tom Tromey  <tromey@redhat.com>
15967
15968         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
15969         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
15970
15971 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
15972
15973         * java/net/PlainDatagramSocketImpl.java
15974         (close): Use native implementation.
15975         (finalize): New method.
15976
15977         * java/net/PlainSocketImpl.java (finalize): New method.
15978
15979         * java/net/natPlainDatagramSocketImpl.cc
15980         (java/io/FileDescriptor.h): Don't include.
15981         (close): Implement method here.
15982         (create): Don't assign fd.
15983
15984         * java/net/natPlainSocketImpl.cc
15985         (java/io/FileDescriptor.h): Don't include.
15986         (create): Don't assign fd.
15987         (accept): Likewise.
15988         (close): Synchronize.
15989
15990 2002-03-27  Richard Henderson  <rth@redhat.com>
15991
15992         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
15993
15994 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15995
15996         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15997         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
15998         instead of syscall on IA-64.
15999         Add FIXME comment.
16000
16001 2002-03-27  Anthony Green  <green@redhat.com>
16002
16003         * libgcj.spec.in: Add CHECKREFSPEC.
16004         * configure.in: Ditto.
16005         * configure.host: Ditto.  Check references for xscale-elf.
16006         * configure: Rebuilt.
16007
16008 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
16009
16010         * include/dwarf2-signal.h: Temporarily back out last change.
16011
16012 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
16013
16014         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
16015
16016 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
16017
16018         * configure.in, configure: enable dwarf2-exception-style
16019         exception handling on IA-64.
16020         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
16021         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
16022         Add FIXME comment.
16023
16024 2002-03-25  Tom Tromey  <tromey@redhat.com>
16025
16026         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
16027         (jv_convert_LDFLAGS): Likewise.
16028         (gij_LDFLAGS): Likewise.
16029         (rmic_LDFLAGS): Likewise.
16030         (rmiregistry_LDFLAGS): Likewise.
16031         * configure.in (THREADLDFLAGS): New subst; set correctly for
16032         *BSD.
16033
16034 2002-03-25  Tom Tromey  <tromey@redhat.com>
16035
16036         For PR libgcj/5303:
16037         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
16038         and --version.
16039         (help): New method.
16040         (version): Likewise.
16041         * gnu/gcj/convert/Convert.java (version): Removed extraneous
16042         "GNU".
16043         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
16044         "GNU".
16045
16046 2002-03-25  Tom Tromey  <tromey@redhat.com>
16047
16048         * java/awt/Component.java (processEvent): Check ComponentEvent
16049         after KeyEvent.
16050
16051 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16052
16053         * java/io/PushbackReader.java: Reformat.
16054
16055         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
16056         calculate correct number of bytes skipped.
16057
16058         Based on patch from Intel's ORP team:
16059         * java/io/PushbackInputStream.java (available): Calculate correct
16060         number of bytes in buffer.
16061         (read): Remove redundant bound check. Return bytes from both the
16062         buffer and the stream.
16063
16064 2002-03-24  Tom Tromey  <tromey@redhat.com>
16065
16066         * java/awt/TextComponent.java (TextComponent): Editable by
16067         default.
16068
16069         * java/awt/MenuItem.java (eventMask): No longer private.
16070         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
16071         superclass if we didn't handle event.
16072         * java/awt/Checkbox.java (dispatchEventImpl): New method.
16073         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
16074         * java/awt/Choice.java (dispatchEventImpl): New method.
16075         * java/awt/List.java (dispatchEventImpl): New method.
16076         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
16077         * java/awt/TextComponent.java (dispatchEventImpl): New method.
16078         * java/awt/TextField.java (dispatchEventImpl): New method.
16079
16080 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
16081
16082         * java/beans/IntrospectionException.java: Update to 1.4.
16083         * java/beans/PropertyVetoException.java: Ditto.
16084
16085 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
16086
16087         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
16088         Arrays.equals instead of ArrayHelper.equalsArray.
16089
16090 2002-03-24  C. Brian Jones <cbj@gnu.org>
16091
16092         * java/beans/Introspector.java: added new static final fields
16093         introduced in 1.2, lots of other updates remain to be done
16094
16095 2002-03-24  C. Brian Jones <cbj@gnu.org>
16096
16097         * java/beans/Introspector.java: reformatting
16098
16099 2002-03-24  C. Brian Jones <cbj@gnu.org>
16100
16101         * java/beans/Introspector.java: default beanInfoSearchPath will
16102         not include sun.beans.infos given we provide no such package and
16103         the API doesn't really require it; gnu.java.beans.info is the
16104         default.
16105
16106 2002-03-24  Mark Wielaard  <mark@klomp.org>
16107
16108         Thanks to Orp developers
16109         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
16110         switch TRUE and FALSE return values.
16111
16112 2002-03-23  Tom Tromey  <tromey@redhat.com>
16113
16114         * include/name-finder.h (_Jv_name_finder::myclose): New method.
16115         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
16116
16117 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
16118
16119         * java/util/GregorianCalendar.java (minimums, maximums): Correct
16120         MONTH entry.  Fixes PR libgcj/6045.
16121
16122 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
16123
16124         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
16125
16126 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16127
16128         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
16129         not release_set.
16130         * sysdep/powerpc/locks.h (write_barrier): New function.
16131         * sysdep/i386/locks.h (write_barrier): New function.
16132
16133 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
16134
16135         * include/jni.h Use correct C comments.
16136
16137 2002-03-18  Tom Tromey  <tromey@redhat.com>
16138
16139         * include/jni.h (JNIIMPORT): New macro.
16140         (JNIEXPORT): Likewise.
16141         (JNICALL): Likewise.
16142
16143 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16144
16145         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
16146         systems.
16147
16148 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
16149
16150         * include/i386-signal.h (old_i386_kernel_sigaction): New.
16151         INIT_SEGV: Use old_i386_kernel_sigaction.
16152         INIT_FP: Likewise.
16153
16154 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16155
16156         * java/lang/natSystem.cc (init_properties): Update VM version
16157         properties.
16158         * configure.in: Set GCJVERSION.
16159         * acconfig.h: Add GCJVERSION.
16160         * configure: Rebuilt.
16161         * include/config.h.in: Rebuilt.
16162
16163 2002-03-17  Anthony Green  <green@redhat.com>
16164
16165         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
16166
16167 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16168
16169         Build a single libgcj.so, without separate gc and zlib libraries.
16170         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
16171         SYS_ZLIBS if system zlib is used.
16172         * configure: Rebuilt.
16173         * Makefile.am: Use boehm-gc and zlib convenience libraries.
16174         * Makefile.in: Rebuilt.
16175         * libtool-version: Increment .so version number.
16176
16177         * Makefile.am: Escape quotes in echo.
16178         * Makefile.in: Rebuilt.
16179
16180 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16181
16182         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
16183         * Makefile.in: Rebuilt.
16184
16185 2002-03-15  Anthony Green  <green@redhat.com>
16186
16187         * configure.host (FILE): New macro for specifing File
16188         implementation.
16189         * configure: Rebuilt.
16190         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
16191
16192 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
16193
16194         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
16195         already implicitly brought in from libgcj.la.
16196         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
16197         * Makefile.in: Rebuilt.
16198
16199 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
16200
16201         * THANKS: Fix punctuation, alphabetization.
16202
16203 2002-03-15  Tom Tromey  <tromey@redhat.com>
16204             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16205
16206         Fix for PR libgcj/5944.
16207         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
16208
16209 2002-03-15  Anthony Green  <green@redhat.com>
16210
16211         * configure.in (tool_include_dir): Define.
16212         * configure: Rebuilt.
16213         * gcj/Makefile.am: Install libgcj-config.h relative to
16214         tool_include_dir.
16215         * gcj/Makefile: Rebuilt.
16216         * gcj/libgcj-config.h: Add warning comment.
16217
16218 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
16219
16220         * configure.host (powerpc*-darwin*): Enable interpreter.
16221
16222 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16223
16224         * include/posix.h: Add multiple include header protection.
16225         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
16226
16227 2002-03-10  Adam Megacz <adam@xwt.org>
16228
16229         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
16230
16231 2002-03-10  Tom Tromey  <tromey@redhat.com>
16232
16233         * java/awt/GridLayout.java (layoutContainer): Handle case where
16234         there are no items in container.
16235
16236         * java/lang/Win32Process.java: Added comment.
16237         * include/posix.h (_Jv_platform_close_on_exec): New function.
16238         Include fcntl.h.
16239         * include/win32.h (_Jv_platform_close_on_exec): New function.
16240         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
16241         flag.
16242         (accept): Likewise.
16243         * java/net/natPlainDatagramSocketImpl.cc (create): Set
16244         close-on-exec flag.
16245         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
16246         flag.
16247
16248 2002-03-09  Tom Tromey  <tromey@redhat.com>
16249
16250         * verify.cc (state::NO_STACK): New constant.
16251         (state::is_unmerged_ret_state): Handle case where stacktop is
16252         NO_STACK.
16253         (state::merge): Handle NO_STACK merges.
16254         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
16255         for instruction following jsr.
16256         (stacktop, stackdepth): Removed unused variables.
16257         (pop_jump): Ignore case where all remaining states are skipped.
16258
16259 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16260
16261         * java/awt/ImageMediaEntry: Removed.
16262         * java/awt/MediaEntry: Removed.
16263
16264 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16265
16266         Hashtable synchronization for PowerPC.
16267         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
16268         slow_pthread_self. Set up symlink for sysdeps directory.
16269         * configure: Rebuild.
16270         * configure.host: Document more shell variables. Set sysdeps_dir
16271         for most platforms. Set slow_pthread_self for i686. Set
16272         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
16273         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
16274         that memory barrier is emitted where required.
16275         * prims.cc: 64-bit align static primitive class instances.
16276         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
16277         read_barrier() to enforce ordering of reads.
16278         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
16279         primitives for PowerPC.
16280         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
16281         moved from natObject.cc.
16282         * sysdep/alpha/locks.h: Likewise.
16283         * sysdep/ia64/locks.h: Likewise.
16284         * sysdep/generic/locks.h: Likewise.
16285         * java/lang/natObject.cc: Move thread synchronization primitives to
16286         system-dependent headers.
16287
16288 2002-03-09  Adam Megacz  <adam@xwt.org>
16289
16290         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
16291         bytes read and no failure code returned.
16292
16293 2002-03-09  Adam Megacz  <adam@xwt.org>
16294
16295         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
16296         definitions to simulate -mthreads.
16297
16298 2002-03-09  Adam Megacz  <adam@xwt.org>
16299
16300         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
16301         avoid precision loss.
16302
16303 2002-03-09  Per Bothner  <per@bothner.com>
16304
16305         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
16306         * gnu/gcj/xlib/XImage.java:  Likewise.
16307         * gnu/gcj/xlib/XColor.java:  Likewise.
16308
16309 2002-03-09  Adam Megacz  <adam@xwt.org>
16310
16311         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
16312         IOException so that Throwable.printStackTrace fails correctly.
16313
16314 2002-03-08  Adam Megacz  <adam@xwt.org>
16315
16316         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
16317         fixed.
16318
16319 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16320
16321         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
16322         truncated to int.
16323
16324 2002-03-08  Tom Tromey  <tromey@redhat.com>
16325
16326         * include/jni.h: Include stdio.h.
16327
16328 2002-03-08  Tom Tromey  <tromey@redhat.com>
16329
16330         * posix.cc (internal_gettimeofday): New function.
16331         (_Jv_select): Use it.
16332
16333 2002-03-07  Adam Megacz  <adam@xwt.org>
16334
16335         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
16336         WIN32, and added thunks for read(), write(), and close().
16337         * java/net/natPlainSocketImpl.cc (accept, read, read):
16338         Disabled timeouts on WIN32 pending discussion.
16339
16340 2002-03-07  Adam Megacz  <adam@xwt.org>
16341
16342         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
16343         returns jlong. Added implementation
16344         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
16345         returns jlong.
16346         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
16347         returns jlong.
16348         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
16349         returns jlong.
16350         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
16351         _Jv_platform_gettimeofday signature.
16352
16353 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16354
16355         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
16356         (read): Call recv() directly, not _Jv_recv().
16357
16358 2002-03-06  Tom Tromey  <tromey@redhat.com>
16359
16360         * java/io/natFileDescriptorEcos.cc (init): Don't use
16361         GetStdHandle.
16362         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
16363         is negative.
16364         (init): Don't use GetStdHandle.
16365
16366         * include/config.h.in: Rebuilt.
16367         * configure: Rebuilt.
16368         * Makefile.in: Rebuilt.
16369
16370 2002-03-06  Adam Megacz  <adam@xwt.org>
16371
16372         * java/io/FileDescriptor.java: Initialize in/out/err in init().
16373         * java/io/natFileDescriptorWin32.cc (init()): Added function.
16374         * java/io/natFileDescriptorPosix.cc (init()): Added function.
16375         * java/io/natFileDescriptorEcos.cc (init()): Added function.
16376
16377 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
16378
16379         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
16380         the code for generating include/java-chartables.h.
16381         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
16382         merge with Classpath.
16383         * scripts/unicode-muncher.pl: Copy from Classpath.
16384         * scritps/MakeCharTables.java: New file.
16385         * gnu/gcj/convert/Blocks-3.txt: New file.
16386         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
16387         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
16388         * gnu/java/lang/CharData.java: Copy from Classpath.
16389         * Makefile.am (ordinary_java_source_files): Add
16390         gnu/java/lang/CharData.java.
16391         * configure.in: Remove --enable-fast-character option.
16392         * java/lang/Character.java: Merge algorithms and Javadoc with
16393         Classpath.
16394         * java/lang/natCharacter.cc: Implement Unicode lookup table more
16395         efficiently.
16396         * include/java-chardecomp.h: Regenerate.
16397         * include/java-chartables.h: Regenerate.
16398
16399 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16400
16401         * java/awt/MediaTracker.java: Implemented.
16402         * Makefile.am: Add MediaTracker.
16403         * Makefile.in: Rebuilt.
16404
16405 2002-03-05  Tom Tromey  <tromey@redhat.com>
16406
16407         * java/lang/natPosixProcess.cc (fail): Removed.
16408         (startProcess): Simplified error-handling.  Preserve
16409         LD_LIBRARY_PATH across exec.
16410
16411         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
16412         AbstractMethodError.
16413
16414 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16415
16416         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
16417         * Makefile.in: Rebuilt.
16418
16419 2002-03-03 Mark Wielaard <mark@klomp.org>
16420
16421         * java/util/Timer (TaskQueue.stop): set elements to zero.
16422
16423 2002-02-28  Anthony Green  <green@redhat.com>
16424
16425         * java/lang/reflect/natMethod.cc (result): Add void* element.
16426         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
16427         constructor test.
16428
16429 2002-02-27  Adam Megacz <adam@xwt.org>
16430
16431         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
16432         '#undef STRICT'.
16433
16434 2002-02-26  Tom Tromey  <tromey@redhat.com>
16435
16436         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
16437         * gij.cc (version): Use __VERSION__.
16438         * include/config.h.in: Rebuilt.
16439         * acconfig.h (GCJVERSION): Removed.
16440         * configure: Rebuilt.
16441         * configure.in (GCJVERSION): Removed.
16442
16443 2002-02-26  Andreas Schwab  <schwab@suse.de>
16444
16445         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
16446         glibcpp_CXX, since libjava uses even another CXX.
16447         * aclocal.m4, configure: Regenerated.
16448
16449 2002-02-26  Tom Tromey  <tromey@redhat.com>
16450
16451         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
16452         `1'.
16453
16454 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16455
16456         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
16457         dependency tracking for .java files.
16458         * Makefile.in: Rebuilt.
16459
16460 2002-02-24  Adam Megacz  <adam@xwt.org>
16461
16462         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
16463         typo. Sorry.
16464
16465 2002-02-24  Adam Megacz  <adam@xwt.org>
16466
16467         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
16468         for Win32, changed #ifdefs to check WIN32 instead of the
16469         (now-obsolete) USE_WINSOCK, and removed support for socket
16470         timeouts on Win32 pending further discussion.
16471
16472 2002-02-24  Adam Megacz  <adam@xwt.org>
16473
16474         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
16475         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
16476         delete
16477
16478 2002-02-24  Adam Megacz  <adam@xwt.org>
16479
16480         * java/lang/Win32Process.java: Created a dummy class to allow
16481         build process to run to completion.
16482
16483 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
16484
16485         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
16486         Define ffi_result union for ffi_call result.  Cast
16487         ffi_result members to jvalue.
16488
16489 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
16490
16491         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
16492         * testsuite/Makefile.in: Likewise.
16493
16494 2002-02-20  Per Bothner  <per@bothner.com>
16495
16496         * java/net/URL.java (getPath):  New JDK 1.3 method.
16497
16498         * java/net/URLStreamHandler.java (parseURL):
16499         It is wrong to prepend '/' to the file part of a relative url.
16500
16501         * java/net/URLStreamHandler.java (parseURL):
16502         Minor optizations - append '/' rather than "/".
16503
16504         * java/net/URLStreamHandler.java (parseURL):
16505         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
16506         We probably should canonicalize for a context-relative url, though.
16507         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
16508         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
16509         (sameFile):  New method.  Uses canonicalizeFilename.
16510
16511 2002-02-22  Tom Tromey  <tromey@redhat.com>
16512
16513         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
16514         java.vendor and java.vm.vendor.
16515         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
16516         recent copyright date.
16517         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
16518         * gij.cc (version): Print `Inc'.
16519
16520 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16521
16522         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
16523         * aclocal.m4, configure: Rebuilt.
16524
16525 2002-02-20  Per Bothner  <per@bothner.com>
16526
16527         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
16528         and/or output streams immediately here, instead of using File.exists.
16529         (inputStream, outputStream):  New fields to save open streams.
16530         (getInputStream, getOutputStream):  Use already-opened streams.
16531
16532 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16533
16534         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
16535         Use it.
16536         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
16537         * aclocal.m4, configure, Makefile.in: Rebuilt.
16538
16539 2002-02-19  Tom Tromey  <tromey@redhat.com>
16540
16541         Fix for PR libgcj/5696:
16542         * verify.cc (is_assignable_from_slow): Never call
16543         _Jv_IsAssignableFrom.
16544         (verify_instructions_0): Added new debug statement.
16545         (state::print): Print information about whether local has
16546         changed.
16547         (state::merge): Don't call note_variable when merging locals.
16548         (state::set_exception): Removed old FIXME comment.
16549
16550 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16551
16552         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
16553         enable SO_BROADCAST.
16554
16555 2002-02-18  Jason Merrill  <jason@redhat.com>
16556
16557         * name-finder.cc (toHex): Use word mode, not long long.
16558
16559         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
16560
16561 2002-02-15  Tom Tromey  <tromey@redhat.com>
16562
16563         Fix for PR libgcj/5695:
16564         * verify.cc (is_assignable_from_slow): Check to see if target is
16565         an Object before checking to see if source is an interface.
16566         (verify_instructions_0) [op_invokeinterface]: Handle case where
16567         we're making an interface call on Object.
16568
16569 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16570
16571         * Makefile.in: Rebuilt with Eric's change below.
16572
16573         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
16574         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
16575         Removed functions which are now implemented in Math.java.
16576
16577 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16578
16579         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
16580         * Makefile.am (core_java_source_files): Add
16581         java/lang/StrictMath.java.
16582         * java/lang/Math.java: Merge with Classpath.
16583         * java/lang/StrictMath.java: New file - merge with Classpath.
16584
16585 2002-02-14  Mark Wielaard  <mark@klomp.org>
16586
16587         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
16588         package as a workaround for gcj 3.0.x
16589
16590 2002-02-14  Mark Wielaard <mark@klomp.org>
16591
16592         * java/security/BasicPermission.java: extends with fully qualified
16593         classname as workaround for gcj 3.0.4.
16594
16595 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16596
16597         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
16598         around gcj bug of wrong emitted qualifier for inherited method.
16599         * java/net/SocketImpl.java (setOption, getOption): Ditto.
16600         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
16601         constructor to reduce amount of emitted bytecode. While this
16602         happens to work around a jikes 1.15 bug, it is still a useful
16603         patch even for correct compilers.
16604         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
16605         * gnu/java/rmi/server/UnicastRemoteCall.java
16606         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
16607
16608 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16609
16610         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
16611         * java/net/SocketImpl.java: Ditto.
16612         * java/rmi/server/RMIClassLoader.java: Ditto.
16613         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
16614
16615 2002-02-14  Mark Wielaard <mark@klomp.org>
16616
16617         Thanks to Takashi Okamoto
16618         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
16619         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
16620         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
16621
16622 2002-02-13  Todd Stock  <toddastock@yahoo.com>
16623
16624         Fix for PR libgcj/5670:
16625         * verify.cc (is_assignable_from_slow): If `source' is interface,
16626         recursively look for merge with `target'.
16627
16628 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
16629
16630         * include/jni.h: Fix typo.
16631
16632 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
16633
16634         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
16635         correctly.
16636
16637 2002-02-13  Todd Stock  <toddastock@yahoo.com>
16638
16639         Fix for PR libgcj/5671:
16640         * verify.cc (state::merge): Handle case where we're merging
16641         against an interface.
16642
16643 2002-02-12  Tom Tromey  <tromey@redhat.com>
16644
16645         * exception.cc (std::abort): Mark as noreturn.
16646
16647 2002-02-12  Adam Megacz <adam@xwt.org>
16648
16649         * java/lang/Win32Process.java: Filled in a placeholder
16650         implementation so Win32 will build.
16651
16652 2002-02-12  Adam Megacz <adam@xwt.org>
16653
16654         * java/io/natFilePosix.cc: Copied this from natFile.cc.
16655         * java/io/natFile.cc: Removed from repository.
16656         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
16657
16658 2002-02-12  Adam Megacz <adam@xwt.org>
16659
16660         * win32.cc: Added two #includes to make win32.cc compile.
16661
16662 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16663
16664         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
16665         declarations.
16666         (_Jv_InitGC): Don't bother locking, as this is always called from a
16667         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
16668
16669 2002-02-11  Adam Megacz <adam@xwt.org>
16670
16671         * include/win32.h: Added _Jv_platform_gettimeofday.
16672         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
16673
16674 2002-02-11  Adam Megacz <adam@xwt.org>
16675
16676         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
16677         Added #undef STRICT to make windows.h and
16678         java/lang/reflect/Modifier.h cooperate.
16679
16680 2002-02-11  Adam Megacz <adam@xwt.org>
16681
16682         * java/io/natFileWin32.cc: Created a placeholder class with lots
16683         of FIXMEs.
16684
16685 2002-02-11  Adam Megacz <adam@xwt.org>
16686
16687         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
16688         std::abort() to simply abort(). Also added "fake" std::abort() so
16689         we can #include unwind-pe.h without having to link against
16690         libstdc++-v3.
16691
16692 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
16693
16694         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
16695
16696 2002-02-08  Tom Tromey  <tromey@redhat.com>
16697
16698         * interpret.cc (convert): New function.
16699         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
16700         convert.
16701         Include Long.h.
16702
16703 2002-02-08  Anthony Green  <green@redhat.com>
16704
16705         * configure.host: Add support for xscale-elf embedded target.
16706
16707 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
16708
16709         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
16710         dereferenced.
16711         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
16712         frame.
16713
16714 2002-02-07  Tom Tromey  <tromey@redhat.com>
16715
16716         * java/io/natFile.cc (_access): Use __builtin_alloca.
16717         (_stat): Likewise.
16718         (attr): Likewise.
16719         (getCanonicalPath): Likewise.
16720         (performList): Likewise.
16721         (performMkdir): Likewise.
16722         (performSetReadOnly): Likewise.
16723         (performRenameTo): Likewise.
16724         (performSetLastModified): Likewise.
16725         (performCreate): Likewise.
16726         (performDelete): Likewise.
16727
16728 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16729
16730         * HACKING: Fix URL for the automake-gcj.
16731
16732 2002-02-07  Tom Tromey  <tromey@redhat.com>
16733
16734         * java/lang/natThrowable.cc: Updated copyright.
16735         * java/io/natFileWin32.cc: Updated copyright.
16736         * java/io/natFileDescriptorWin32.cc: Updated copyright.
16737         * win32-threads.cc: Updated copyright.
16738         * name-finder.cc: Updated copyright.
16739         * include/name-finder.h: Updated copyright.
16740
16741         * include/name-finder.h: Conditionally include sys/wait.h.
16742         * include/config.h.in: Rebuilt.
16743
16744         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
16745         Size buffer based on real size of string.
16746         (_stat): Likewise.
16747         (attr): Likewise.
16748         (getCanonicalPath): Likewise.
16749         (performList): Likewise.
16750         (performMkdir): Likewise.
16751         (performSetReadOnly): Likewise.
16752         (unixroot): Removed.
16753         (performRenameTo): Likewise.
16754         (performSetLastModified): Likewise.
16755         (performCreate): Likewise.
16756         (performDelete): Likewise.
16757         (performListRoots): Always return new array.
16758
16759         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
16760         * win32.cc (win32_exception_handler): Now static.
16761         * include/win32.h (_Jv_platform_initialize): Declare.
16762         (win32_exception_handler): Don't declare.
16763         * java/lang/natSystem.cc (currentTimeMillis): Use
16764         _Jv_platform_gettimeofday.
16765         * posix.cc (_Jv_platform_gettimeofday): Renamed.
16766         (_Jv_select): Use new name.
16767         (_Jv_platform_initialize): New function.
16768         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
16769         _Jv_gettimeofday.
16770         (_Jv_platform_initialize): Declare.
16771
16772         * configure: Rebuilt.
16773         * configure.in: Removed unnecessary parens.
16774
16775 2002-02-06  Adam Megacz <adam@xwt.org>
16776
16777        * configure.in: Changed mingw) to *mingw*).
16778        * win32.cc: Created this file.
16779        * win32.h: Created this file.
16780        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
16781        win32_exception_handler from prims.cc to win32.cc, added
16782        header in win32.h.
16783        * prims.cc: removed some #ifdef-WIN32'd headers which are no
16784        longer needed now that we have platform.h
16785
16786 2002-02-06  Adam Megacz <adam@xwt.org>
16787
16788         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
16789         use uint<n>_t instead of LONG and BYTE
16790
16791 2002-02-06  Adam Megacz <adam@xwt.org>
16792
16793         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
16794
16795 2002-02-06  Anthony Green  <green@redhat.com>
16796
16797         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
16798         Implement missing method stubs.
16799         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
16800         targets.
16801         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
16802         concept of timezones.
16803         (init_properties): Don't refer to _Jv_Environment_Properties
16804         when this feature is not available.
16805         * include/config.h.in: Rebuilt.
16806         * acconfig.h: Add DISABLE_MAIN_ARGS.
16807         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
16808         * configure: Rebuilt.
16809         * configure.in: Add --disable-main-args option.  Test for
16810           opendir function.  Replace AC_CHECK_SIZEOF with
16811           AC_COMPILE_CHECK_SIZEOF.
16812         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
16813         * aclocal.m4: Rebuilt.
16814         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
16815
16816 2002-02-06  Tom Tromey  <tromey@redhat.com>
16817
16818         * verify.cc (require_array_type): If argument is a null array of
16819         references, return null as the element type.
16820
16821 2002-02-06  Mark Wielaard  <mark@klomp.org>
16822
16823         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
16824         duplicate of a wide type.
16825
16826 2002-02-06  Tom Tromey  <tromey@redhat.com>
16827
16828         * verify.cc (type::isnull): New method.
16829         (require_array_type): Handle case where array is null.
16830         (verify_instructions_0) [op_arraylength]: Likewise.
16831
16832 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16833
16834         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
16835         Symlink PLATFORMH to platform.h.
16836         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
16837         PLATFORMOBJS.
16838         * java/lang/natSystem.cc: #include platform.h not posix.h.
16839         * Makefile.in: Rebuilt with libgcj automake.
16840         * configure: Rebuilt.
16841
16842 2002-02-05  Richard Henderson  <rth@redhat.com>
16843
16844         * Makefile.in: Undo munging last change.
16845
16846 2002-02-04  Adam Megacz <adam@xwt.org>
16847
16848         * win32.cc: Created it.
16849         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
16850         which is set to posix.cc or win32.cc.
16851         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
16852
16853 2002-02-04  Adam Megacz <adam@xwt.org>
16854
16855         * configure.in: Corrected mingw case branches; added * before
16856         and after.
16857
16858 2002-02-04  Adam Megacz <adam@xwt.org>
16859
16860         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
16861         if compiling for win32
16862
16863 2002-02-04  Adam Megacz <adam@xwt.org>
16864
16865         * win32-threads.cc: #undef STRICT after gc.h inclusion
16866
16867 2002-02-02  Tom Tromey  <tromey@redhat.com>
16868
16869         * Makefile.in: Rebuilt.
16870
16871 2002-02-02  Jason Merrill  <jason@redhat.com>
16872
16873         * Makefile.am (clean-nat): New target.
16874
16875 2002-02-02  Tom Tromey  <tromey@redhat.com>
16876
16877         * java/io/natFile.cc: Removed old "FIXME" comments.
16878
16879 2002-02-01  Tom Tromey  <tromey@redhat.com>
16880
16881         * java/lang/natPosixProcess.cc (myclose): New function.
16882         (fail): Use it.
16883         (startProcess): Likewise.
16884
16885 2002-02-01  Adam Megacz <adam@xwt.org>
16886
16887         * prims.cc: Added #undef STRICT after #include<windows.h>.
16888
16889 2002-02-01  Adam Megacz <adam@xwt.org>
16890
16891         * prims.cc
16892         (_Jv_CreateJavaVM): We now use WIN32 instead of
16893         USE_WIN32_SIGNALLING and USE_WINSOCK.
16894         (win32_exception_handler): Now throws an exception out of
16895         the signal handler; assumes SJLJ.
16896
16897 2002-02-01  Adam Megacz <adam@xwt.org>
16898
16899         * win32-threads.cc:
16900         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
16901         wait() algorithm to make it safe.
16902         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
16903         Added lazy creation of Win32 Events for better performance
16904         (really_start): This now uses GC_CreateThread so boehm-gc
16905         knows about new threads even when statically linked.
16906
16907 2002-02-01  Adam Megacz <adam@xwt.org>
16908
16909         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
16910         enable safer wait() algorithm.
16911         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
16912         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
16913         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
16914         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
16915         instead of mutex.
16916         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
16917
16918 2002-02-01  Adam Megacz <adam@xwt.org>
16919
16920         * configure.in: Added support for mingw.
16921         * java/lang/Win32Process.java: Created as empty file.
16922         * java/lang/natWin32Process.cc: Created as empty file.
16923
16924 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
16925
16926         PR java/4972
16927         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
16928         for libiconv in LIBICONV variable.
16929         * configure: Regenerated.
16930
16931 2002-01-31  Tom Tromey  <tromey@redhat.com>
16932
16933         * verify.cc (state::enter_subroutine): New method.
16934         (handle_jsr_insn): Use it.
16935         (state::merge): When processing a `ret', correctly use
16936         subroutine's state to determine which local variables have
16937         changed.
16938         (push_exception_jump): Don't let stack overflow.
16939
16940 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
16941
16942         * gnu/gcj/convert/Convert.java: Only include one copyright year in
16943         --version output.
16944
16945 2002-01-30  Tom Tromey  <tromey@redhat.com>
16946
16947         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
16948         parameter for `recv' return type.
16949
16950         * verify.cc (handle_ret_insn): Check for subroutine merge here...
16951         (state::merge): ... not here.
16952         (subr_entry_info): New structure.
16953         (entry_points): New field.
16954         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
16955         entry_points.
16956
16957 2002-01-29  Tom Tromey  <tromey@redhat.com>
16958
16959         * java/awt/List.java (addNotify): Correctly check to see if peer
16960         does not exist.
16961
16962         * java/awt/GridLayout.java (layoutContainer): Use number of rows
16963         to compute height of each cell, and number of columns to compute
16964         width of each cell.
16965         * java/awt/Window.java (getOwnedWindows): Don't return null.
16966         * java/awt/FlowLayout.java (layoutContainer): Set width and height
16967         of component.  Increment x using horizontal gap, not vertical
16968         gap.
16969
16970 2002-01-28  Tom Tromey  <tromey@redhat.com>
16971
16972         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
16973         `nargs' byte is number of words, not number of arguments.
16974
16975 2002-01-27  Tom Tromey  <tromey@redhat.com>
16976
16977         * java/awt/event/MouseEvent.java (modifiers): Removed field.
16978         (when): Likewise.
16979         * java/awt/event/InputEvent.java (modifiers, when): Now
16980         package-private.
16981
16982         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
16983         and to-do list.
16984         (state::merge): Use current class' class loader.
16985         (state::print): Print subroutine.
16986         (state::merge): Don't look at subroutine of unmerged `ret'.
16987
16988 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
16989
16990         * nogc.cc: Remove warnings.
16991         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
16992         New functions.
16993
16994 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16995
16996         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
16997         int, int):  Remove empty "if" statement to work around compiler bug.
16998         (newPixels(int[], ColorModel, int, int): Likewise.
16999
17000 2002-01-25  Per Bothner  <per@bothner.com>
17001
17002         * verify.cc (verify_fail):  Change from being a top-level function
17003         to e method of _Jv_BytecodeVerifier.  Emit current method name.
17004         Pass the current verifier to type: and state: methods as needed,
17005         for better error messages, and for resolve.
17006         (resolve):  Pass current class's loader for Class.forName and
17007         _Jv_FindClassFromSignature, rather than using the default loader.
17008         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
17009         (get_type_val_for_signature):  Make non-static.
17010         (various methods):  Pass start_PC implicitly, not explicitly.
17011
17012 2002-01-25  Tom Tromey  <tromey@redhat.com>
17013
17014         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
17015         loop termination condition.
17016         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
17017         width.
17018
17019 2002-01-24  Tom Tromey  <tromey@redhat.com>
17020
17021         * java/awt/Shape.java: Merged with Classpath.
17022         * java/awt/Scrollbar.java: Merged with Classpath.
17023
17024         * java/awt/Container.java (addNotify): Unconditionally call
17025         addNotifyContainerChildren and superclass addNotify.
17026
17027         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
17028         getAlpha, not getBlue.
17029
17030 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17031
17032         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
17033
17034         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
17035         (grabPixels(long)): Wait to be notified that the ImageProducer has
17036         completed.
17037
17038 2002-01-24  Per Bothner  <per@bothner.com>
17039
17040         * verify.cc (is_assignable_from_slow): If target is an interface,
17041         we must still check the source's superclass before giving up.
17042
17043 2002-01-24  Tom Tromey  <tromey@redhat.com>
17044
17045         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
17046
17047 2002-01-23  Tom Tromey  <tromey@redhat.com>
17048
17049         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
17050         `else'.
17051
17052         * Makefile.in: Rebuilt.
17053         * Makefile.am (awt_java_source_files): Added new files.
17054         * java/awt/Toolkit.java: Merged with Classpath.
17055         * java/awt/PrintGraphics.java: New file from Classpath.
17056         * java/awt/PrintJob.java: New file from Classpath.
17057         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
17058         * java/awt/datatransfer/ClipboardOwner.java: New file from
17059         Classpath.
17060         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
17061         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
17062         * java/awt/datatransfer/MimeTypeParseException.java: New file from
17063         Classpath.
17064         * java/awt/datatransfer/StringSelection.java: New file from
17065         Classpath.
17066         * java/awt/datatransfer/SystemFlavorMap.java: New file from
17067         Classpath.
17068         * java/awt/datatransfer/Transferable.java: New file from
17069         Classpath.
17070         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
17071         from Classpath.
17072
17073         * Makefile.in: Rebuilt.
17074         * Makefile.am (awt_java_source_files): Added new files.
17075         * java/awt/image/AreaAveragingScaleFilter.java: New file from
17076         Classpath.
17077         * java/awt/image/CropImageFilter.java: New file from Classpath.
17078         * java/awt/image/FilteredImageSource.java: New file from
17079         Classpath.
17080         * java/awt/image/ImageFilter.java: New file from Classpath.
17081         * java/awt/image/MemoryImageSource.java: New file from Classpath.
17082         * java/awt/image/PixelGrabber.java: New file from Classpath.
17083         * java/awt/image/RGBImageFilter.java: New file from Classpath.
17084         * java/awt/image/ReplicateScaleFilter.java: New file from
17085         Classpath.
17086         * java/awt/image/ImageProducer.java: Replaced with Classpath
17087         version.
17088         * java/awt/image/ImageObserver.java: Replaced with Classpath
17089         version.
17090         * java/awt/image/ImageConsumer.java: Replaced with Classpath
17091         version.
17092         * java/awt/GridBagConstraints.java (clone): Catch
17093         CloneNotSupportedException.
17094
17095 2002-01-23  Per Bothner  <per@bothner.com>
17096
17097         * java/lang/reflect/natField.cc (setAddr):  New function.
17098         Calls getAddr and then checks that the field isn't final.
17099         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
17100         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
17101         (set):  Call setAddr before check that new value has right type,
17102         to better match specified semantics.
17103
17104 2002-01-22  Tom Tromey  <tromey@redhat.com>
17105
17106         * java/awt/TextField.java: Replaced with Classpath version.
17107         * java/awt/TextArea.java: Replaced with Classpath version.
17108         * java/awt/TextComponent.java: Replaced with Classpath version.
17109
17110         * java/awt/GridBagConstraints.java: Updated copyright.
17111
17112 2002-01-22  Mark Wielaard <mark@klomp.org>
17113
17114         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
17115         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
17116         java/awt/Dialog.java java/awt/FileDialog.java
17117         java/awt/Font.java java/awt/FontMetrics.java
17118         java/awt/Image.java java/awt/ImageMediaEntry.java
17119         java/awt/Insets.java java/awt/List.java
17120         java/awt/MediaEntry.java java/awt/MediaTracker.java
17121         java/awt/Menu.java java/awt/MenuBar.java
17122         java/awt/MenuContainer.java java/awt/MenuShortcut.java
17123         java/awt/PaintContext.java java/awt/Panel.java
17124         java/awt/PopupMenu.java java/awt/SystemColor.java
17125         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
17126         java/awt/peer/CheckboxMenuItemPeer.java
17127         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
17128         java/awt/peer/ComponentPeer.java
17129         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
17130         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
17131         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
17132         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
17133         java/awt/peer/MenuBarPeer.java
17134         java/awt/peer/MenuComponentPeer.java
17135         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
17136         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
17137         java/awt/peer/ScrollPanePeer.java
17138         java/awt/peer/ScrollbarPeer.java
17139         java/awt/peer/TextAreaPeer.java
17140         java/awt/peer/TextComponentPeer.java
17141         java/awt/peer/TextFieldPeer.java
17142         java/awt/peer/WindowPeer.java: Add license clarification.
17143
17144 2002-01-22  Mark Wielaard <mark@klomp.org>
17145
17146         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
17147         gnu/gcj/runtime/StringBuffer.java
17148         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
17149         gnu/java/awt/ComponentDataBlitOp.java
17150         gnu/java/awt/GLightweightPeer.java
17151         gnu/java/beans/BeanInfoEmbryo.java
17152         gnu/java/beans/EmptyBeanInfo.java
17153         gnu/java/beans/ExplicitBeanInfo.java
17154         gnu/java/beans/IntrospectionIncubator.java
17155         gnu/java/beans/editors/ColorEditor.java
17156         gnu/java/beans/editors/FontEditor.java
17157         gnu/java/beans/editors/NativeBooleanEditor.java
17158         gnu/java/beans/editors/NativeByteEditor.java
17159         gnu/java/beans/editors/NativeDoubleEditor.java
17160         gnu/java/beans/editors/NativeFloatEditor.java
17161         gnu/java/beans/editors/NativeIntEditor.java
17162         gnu/java/beans/editors/NativeLongEditor.java
17163         gnu/java/beans/editors/NativeShortEditor.java
17164         gnu/java/beans/editors/StringEditor.java
17165         gnu/java/beans/info/ComponentBeanInfo.java
17166         gnu/java/io/ClassLoaderObjectInputStream.java
17167         gnu/java/io/NullOutputStream.java
17168         gnu/java/io/ObjectIdentityWrapper.java
17169         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
17170         gnu/java/lang/reflect/TypeSignature.java
17171         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
17172         gnu/java/locale/Calendar_en.java
17173         gnu/java/locale/Calendar_nl.java
17174         gnu/java/locale/LocaleInformation.java
17175         gnu/java/locale/LocaleInformation_de.java
17176         gnu/java/locale/LocaleInformation_en.java
17177         gnu/java/locale/LocaleInformation_nl.java
17178         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
17179         gnu/java/rmi/registry/RegistryImpl.java
17180         gnu/java/rmi/rmic/Compile_gcj.java
17181         gnu/java/rmi/rmic/Compiler.java
17182         gnu/java/rmi/rmic/CompilerProcess.java
17183         gnu/java/rmi/rmic/RMIC.java
17184         gnu/java/rmi/rmic/TabbedWriter.java
17185         gnu/java/rmi/server/ProtocolConstants.java
17186         gnu/java/rmi/server/RMIDefaultSocketFactory.java
17187         gnu/java/rmi/server/RMIHashes.java
17188         gnu/java/rmi/server/RMIObjectInputStream.java
17189         gnu/java/rmi/server/RMIObjectOutputStream.java
17190         gnu/java/rmi/server/UnicastConnection.java
17191         gnu/java/rmi/server/UnicastConnectionManager.java
17192         gnu/java/rmi/server/UnicastRef.java
17193         gnu/java/rmi/server/UnicastRemoteCall.java
17194         gnu/java/rmi/server/UnicastRemoteStub.java
17195         gnu/java/rmi/server/UnicastServer.java
17196         gnu/java/rmi/server/UnicastServerRef.java
17197         gnu/java/security/provider/DefaultPolicy.java
17198         gnu/java/security/provider/Gnu.java
17199         gnu/java/security/provider/SHA.java
17200         gnu/java/security/provider/SHA1PRNG.java
17201         gnu/java/text/BaseBreakIterator.java
17202         gnu/java/text/CharacterBreakIterator.java
17203         gnu/java/text/LineBreakIterator.java
17204         gnu/java/text/SentenceBreakIterator.java
17205         gnu/java/text/WordBreakIterator.java
17206         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
17207         java/applet/AppletContext.java java/applet/AppletStub.java
17208         java/applet/AudioClip.java java/awt/AWTError.java
17209         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
17210         java/awt/AWTException.java java/awt/AWTPermission.java
17211         java/awt/ActiveEvent.java java/awt/BorderLayout.java
17212         java/awt/Button.java java/awt/Canvas.java
17213         java/awt/CardLayout.java java/awt/Checkbox.java
17214         java/awt/CheckboxGroup.java java/awt/Component.java
17215         java/awt/ComponentOrientation.java java/awt/Container.java
17216         java/awt/Dimension.java java/awt/Event.java
17217         java/awt/EventDispatchThread.java java/awt/EventQueue.java
17218         java/awt/FlowLayout.java java/awt/Frame.java
17219         java/awt/Graphics.java java/awt/Graphics2D.java
17220         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
17221         java/awt/IllegalComponentStateException.java
17222         java/awt/ItemSelectable.java java/awt/Label.java
17223         java/awt/LayoutManager.java java/awt/LayoutManager2.java
17224         java/awt/MenuComponent.java java/awt/MenuItem.java
17225         java/awt/Paint.java java/awt/Point.java
17226         java/awt/Rectangle.java java/awt/RenderingHints.java
17227         java/awt/Transparency.java java/awt/Window.java
17228         java/awt/color/ColorSpace.java
17229         java/awt/color/ICC_ColorSpace.java
17230         java/awt/color/ICC_Profile.java
17231         java/awt/event/HierarchyBoundsAdapter.java
17232         java/awt/event/HierarchyBoundsListener.java
17233         java/awt/event/HierarchyEvent.java
17234         java/awt/event/HierarchyListener.java
17235         java/awt/geom/AffineTransform.java
17236         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
17237         java/awt/geom/IllegalPathStateException.java
17238         java/awt/geom/Line2D.java
17239         java/awt/geom/NoninvertibleTransformException.java
17240         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
17241         java/awt/geom/Rectangle2D.java
17242         java/awt/geom/RectangularShape.java
17243         java/awt/geom/RoundRectangle2D.java
17244         java/awt/image/BufferedImage.java
17245         java/awt/image/ColorModel.java
17246         java/awt/image/ComponentColorModel.java
17247         java/awt/image/ComponentSampleModel.java
17248         java/awt/image/DataBuffer.java
17249         java/awt/image/DataBufferByte.java
17250         java/awt/image/DataBufferInt.java
17251         java/awt/image/DataBufferUShort.java
17252         java/awt/image/DirectColorModel.java
17253         java/awt/image/PackedColorModel.java
17254         java/awt/image/Raster.java java/awt/image/RasterOp.java
17255         java/awt/image/SampleModel.java
17256         java/awt/image/SinglePixelPackedSampleModel.java
17257         java/awt/image/WritableRaster.java
17258         java/beans/AppletInitializer.java
17259         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
17260         java/beans/Beans.java java/beans/Customizer.java
17261         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
17262         java/beans/FeatureDescriptor.java
17263         java/beans/IndexedPropertyDescriptor.java
17264         java/beans/IntrospectionException.java
17265         java/beans/Introspector.java java/beans/MethodDescriptor.java
17266         java/beans/ParameterDescriptor.java
17267         java/beans/PropertyChangeEvent.java
17268         java/beans/PropertyChangeListener.java
17269         java/beans/PropertyChangeSupport.java
17270         java/beans/PropertyDescriptor.java
17271         java/beans/PropertyEditor.java
17272         java/beans/PropertyEditorManager.java
17273         java/beans/PropertyEditorSupport.java
17274         java/beans/PropertyVetoException.java
17275         java/beans/SimpleBeanInfo.java
17276         java/beans/VetoableChangeListener.java
17277         java/beans/VetoableChangeSupport.java
17278         java/beans/Visibility.java
17279         java/beans/beancontext/BeanContext.java
17280         java/beans/beancontext/BeanContextChild.java
17281         java/beans/beancontext/BeanContextChildComponentProxy.java
17282         java/beans/beancontext/BeanContextChildSupport.java
17283         java/beans/beancontext/BeanContextContainerProxy.java
17284         java/beans/beancontext/BeanContextEvent.java
17285         java/beans/beancontext/BeanContextMembershipEvent.java
17286         java/beans/beancontext/BeanContextMembershipListener.java
17287         java/beans/beancontext/BeanContextProxy.java
17288         java/beans/beancontext/BeanContextServiceAvailableEvent.java
17289         java/beans/beancontext/BeanContextServiceProvider.java
17290         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
17291         java/beans/beancontext/BeanContextServiceRevokedEvent.java
17292         java/beans/beancontext/BeanContextServiceRevokedListener.java
17293         java/beans/beancontext/BeanContextServices.java
17294         java/beans/beancontext/BeanContextServicesListener.java
17295         java/io/BufferedInputStream.java
17296         java/io/BufferedOutputStream.java java/io/BufferedReader.java
17297         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
17298         java/io/ByteArrayOutputStream.java
17299         java/io/CharArrayReader.java java/io/CharArrayWriter.java
17300         java/io/CharConversionException.java java/io/DataInput.java
17301         java/io/DataInputStream.java java/io/DataOutput.java
17302         java/io/EOFException.java java/io/Externalizable.java
17303         java/io/FileFilter.java java/io/FileNotFoundException.java
17304         java/io/FilePermission.java java/io/FileReader.java
17305         java/io/FileWriter.java java/io/FilenameFilter.java
17306         java/io/FilterInputStream.java java/io/FilterOutputStream.java
17307         java/io/FilterReader.java java/io/FilterWriter.java
17308         java/io/IOException.java java/io/InputStream.java
17309         java/io/InterruptedIOException.java
17310         java/io/InvalidClassException.java
17311         java/io/InvalidObjectException.java
17312         java/io/NotActiveException.java
17313         java/io/NotSerializableException.java java/io/ObjectInput.java
17314         java/io/ObjectInputStream.java
17315         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
17316         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
17317         java/io/ObjectStreamConstants.java
17318         java/io/ObjectStreamException.java
17319         java/io/ObjectStreamField.java
17320         java/io/OptionalDataException.java java/io/OutputStream.java
17321         java/io/PipedInputStream.java java/io/PipedOutputStream.java
17322         java/io/PipedReader.java java/io/PipedWriter.java
17323         java/io/PrintWriter.java java/io/PushbackInputStream.java
17324         java/io/PushbackReader.java java/io/Reader.java
17325         java/io/SequenceInputStream.java java/io/Serializable.java
17326         java/io/SerializablePermission.java
17327         java/io/StreamCorruptedException.java
17328         java/io/StreamTokenizer.java
17329         java/io/StringBufferInputStream.java java/io/StringReader.java
17330         java/io/StringWriter.java java/io/SyncFailedException.java
17331         java/io/UTFDataFormatException.java
17332         java/io/UnsupportedEncodingException.java
17333         java/io/WriteAbortedException.java java/io/Writer.java
17334         java/lang/AbstractMethodError.java
17335         java/lang/ArithmeticException.java
17336         java/lang/ArrayIndexOutOfBoundsException.java
17337         java/lang/ArrayStoreException.java java/lang/Boolean.java
17338         java/lang/Byte.java java/lang/CharSequence.java
17339         java/lang/ClassCastException.java
17340         java/lang/ClassCircularityError.java
17341         java/lang/ClassFormatError.java
17342         java/lang/ClassNotFoundException.java
17343         java/lang/CloneNotSupportedException.java
17344         java/lang/Cloneable.java java/lang/Comparable.java
17345         java/lang/Compiler.java java/lang/Double.java
17346         java/lang/Error.java java/lang/Exception.java
17347         java/lang/ExceptionInInitializerError.java
17348         java/lang/Float.java java/lang/IllegalAccessError.java
17349         java/lang/IllegalAccessException.java
17350         java/lang/IllegalArgumentException.java
17351         java/lang/IllegalMonitorStateException.java
17352         java/lang/IllegalStateException.java
17353         java/lang/IllegalThreadStateException.java
17354         java/lang/IncompatibleClassChangeError.java
17355         java/lang/IndexOutOfBoundsException.java
17356         java/lang/InheritableThreadLocal.java
17357         java/lang/InstantiationError.java
17358         java/lang/InstantiationException.java java/lang/Integer.java
17359         java/lang/InternalError.java
17360         java/lang/InterruptedException.java
17361         java/lang/LinkageError.java java/lang/Long.java
17362         java/lang/NegativeArraySizeException.java
17363         java/lang/NoClassDefFoundError.java
17364         java/lang/NoSuchFieldError.java
17365         java/lang/NoSuchFieldException.java
17366         java/lang/NoSuchMethodError.java
17367         java/lang/NoSuchMethodException.java
17368         java/lang/NullPointerException.java java/lang/Number.java
17369         java/lang/NumberFormatException.java
17370         java/lang/OutOfMemoryError.java java/lang/Package.java
17371         java/lang/Process.java java/lang/Runnable.java
17372         java/lang/RuntimeException.java
17373         java/lang/RuntimePermission.java
17374         java/lang/SecurityException.java
17375         java/lang/SecurityManager.java java/lang/Short.java
17376         java/lang/StackOverflowError.java java/lang/StringBuffer.java
17377         java/lang/StringIndexOutOfBoundsException.java
17378         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
17379         java/lang/ThreadLocal.java java/lang/UnknownError.java
17380         java/lang/UnsatisfiedLinkError.java
17381         java/lang/UnsupportedClassVersionError.java
17382         java/lang/UnsupportedOperationException.java
17383         java/lang/VerifyError.java java/lang/VirtualMachineError.java
17384         java/lang/Void.java java/lang/ref/PhantomReference.java
17385         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
17386         java/lang/ref/SoftReference.java
17387         java/lang/ref/WeakReference.java
17388         java/lang/reflect/AccessibleObject.java
17389         java/lang/reflect/InvocationTargetException.java
17390         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
17391         java/lang/reflect/ReflectPermission.java
17392         java/math/BigDecimal.java java/math/BigInteger.java
17393         java/net/Authenticator.java java/net/BindException.java
17394         java/net/ConnectException.java java/net/ContentHandler.java
17395         java/net/ContentHandlerFactory.java
17396         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
17397         java/net/FileNameMap.java java/net/MalformedURLException.java
17398         java/net/MulticastSocket.java java/net/NetPermission.java
17399         java/net/NoRouteToHostException.java
17400         java/net/PasswordAuthentication.java
17401         java/net/ProtocolException.java java/net/ServerSocket.java
17402         java/net/Socket.java java/net/SocketException.java
17403         java/net/SocketImpl.java java/net/SocketImplFactory.java
17404         java/net/SocketOptions.java java/net/SocketPermission.java
17405         java/net/URLDecoder.java java/net/URLEncoder.java
17406         java/net/URLStreamHandlerFactory.java
17407         java/net/UnknownHostException.java
17408         java/net/UnknownServiceException.java
17409         java/rmi/AccessException.java
17410         java/rmi/AlreadyBoundException.java
17411         java/rmi/ConnectException.java
17412         java/rmi/ConnectIOException.java
17413         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
17414         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
17415         java/rmi/NotBoundException.java
17416         java/rmi/RMISecurityException.java
17417         java/rmi/RMISecurityManager.java java/rmi/Remote.java
17418         java/rmi/RemoteException.java java/rmi/ServerError.java
17419         java/rmi/ServerException.java
17420         java/rmi/ServerRuntimeException.java
17421         java/rmi/StubNotFoundException.java
17422         java/rmi/UnexpectedException.java
17423         java/rmi/UnknownHostException.java
17424         java/rmi/UnmarshalException.java
17425         java/rmi/activation/Activatable.java
17426         java/rmi/activation/ActivateFailedException.java
17427         java/rmi/activation/ActivationDesc.java
17428         java/rmi/activation/ActivationException.java
17429         java/rmi/activation/ActivationGroup.java
17430         java/rmi/activation/ActivationGroupDesc.java
17431         java/rmi/activation/ActivationGroupID.java
17432         java/rmi/activation/ActivationID.java
17433         java/rmi/activation/ActivationInstantiator.java
17434         java/rmi/activation/ActivationMonitor.java
17435         java/rmi/activation/ActivationSystem.java
17436         java/rmi/activation/Activator.java
17437         java/rmi/activation/UnknownGroupException.java
17438         java/rmi/activation/UnknownObjectException.java
17439         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
17440         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
17441         java/rmi/registry/Registry.java
17442         java/rmi/registry/RegistryHandler.java
17443         java/rmi/server/ExportException.java
17444         java/rmi/server/LoaderHandler.java
17445         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
17446         java/rmi/server/Operation.java
17447         java/rmi/server/RMIClassLoader.java
17448         java/rmi/server/RMIClientSocketFactory.java
17449         java/rmi/server/RMIFailureHandler.java
17450         java/rmi/server/RMIServerSocketFactory.java
17451         java/rmi/server/RMISocketFactory.java
17452         java/rmi/server/RemoteCall.java
17453         java/rmi/server/RemoteObject.java
17454         java/rmi/server/RemoteRef.java
17455         java/rmi/server/RemoteServer.java
17456         java/rmi/server/RemoteStub.java
17457         java/rmi/server/ServerCloneException.java
17458         java/rmi/server/ServerNotActiveException.java
17459         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
17460         java/rmi/server/SkeletonMismatchException.java
17461         java/rmi/server/SkeletonNotFoundException.java
17462         java/rmi/server/SocketSecurityException.java
17463         java/rmi/server/UID.java
17464         java/rmi/server/UnicastRemoteObject.java
17465         java/rmi/server/Unreferenced.java
17466         java/security/AccessControlContext.java
17467         java/security/AccessControlException.java
17468         java/security/AccessController.java
17469         java/security/AlgorithmParameterGenerator.java
17470         java/security/AlgorithmParameterGeneratorSpi.java
17471         java/security/AlgorithmParameters.java
17472         java/security/AlgorithmParametersSpi.java
17473         java/security/AllPermission.java
17474         java/security/BasicPermission.java
17475         java/security/Certificate.java java/security/CodeSource.java
17476         java/security/DigestException.java
17477         java/security/DigestInputStream.java
17478         java/security/DigestOutputStream.java
17479         java/security/DomainCombiner.java
17480         java/security/DummyKeyPairGenerator.java
17481         java/security/DummyMessageDigest.java
17482         java/security/DummySignature.java
17483         java/security/GeneralSecurityException.java
17484         java/security/Guard.java java/security/GuardedObject.java
17485         java/security/Identity.java java/security/IdentityScope.java
17486         java/security/InvalidAlgorithmParameterException.java
17487         java/security/InvalidKeyException.java
17488         java/security/InvalidParameterException.java
17489         java/security/Key.java java/security/KeyException.java
17490         java/security/KeyFactory.java java/security/KeyFactorySpi.java
17491         java/security/KeyManagementException.java
17492         java/security/KeyPair.java java/security/KeyPairGenerator.java
17493         java/security/KeyPairGeneratorSpi.java
17494         java/security/KeyStore.java
17495         java/security/KeyStoreException.java
17496         java/security/KeyStoreSpi.java
17497         java/security/MessageDigest.java
17498         java/security/MessageDigestSpi.java
17499         java/security/NoSuchAlgorithmException.java
17500         java/security/NoSuchProviderException.java
17501         java/security/Permission.java
17502         java/security/PermissionCollection.java
17503         java/security/Permissions.java java/security/Policy.java
17504         java/security/Principal.java java/security/PrivateKey.java
17505         java/security/PrivilegedAction.java
17506         java/security/PrivilegedActionException.java
17507         java/security/PrivilegedExceptionAction.java
17508         java/security/ProtectionDomain.java
17509         java/security/Provider.java
17510         java/security/ProviderException.java
17511         java/security/PublicKey.java
17512         java/security/SecureClassLoader.java
17513         java/security/SecureRandom.java
17514         java/security/SecureRandomSpi.java java/security/Security.java
17515         java/security/SecurityPermission.java
17516         java/security/Signature.java
17517         java/security/SignatureException.java
17518         java/security/SignatureSpi.java
17519         java/security/SignedObject.java java/security/Signer.java
17520         java/security/UnrecoverableKeyException.java
17521         java/security/UnresolvedPermission.java
17522         java/security/acl/Acl.java java/security/acl/AclEntry.java
17523         java/security/acl/AclNotFoundException.java
17524         java/security/acl/Group.java
17525         java/security/acl/LastOwnerException.java
17526         java/security/acl/NotOwnerException.java
17527         java/security/acl/Owner.java java/security/acl/Permission.java
17528         java/security/cert/CRL.java
17529         java/security/cert/CRLException.java
17530         java/security/cert/Certificate.java
17531         java/security/cert/CertificateEncodingException.java
17532         java/security/cert/CertificateException.java
17533         java/security/cert/CertificateExpiredException.java
17534         java/security/cert/CertificateFactory.java
17535         java/security/cert/CertificateFactorySpi.java
17536         java/security/cert/CertificateNotYetValidException.java
17537         java/security/cert/CertificateParsingException.java
17538         java/security/cert/X509CRL.java
17539         java/security/cert/X509CRLEntry.java
17540         java/security/cert/X509Certificate.java
17541         java/security/cert/X509Extension.java
17542         java/security/interfaces/DSAKey.java
17543         java/security/interfaces/DSAKeyPairGenerator.java
17544         java/security/interfaces/DSAParams.java
17545         java/security/interfaces/DSAPrivateKey.java
17546         java/security/interfaces/DSAPublicKey.java
17547         java/security/interfaces/RSAKey.java
17548         java/security/interfaces/RSAPrivateCrtKey.java
17549         java/security/interfaces/RSAPrivateKey.java
17550         java/security/interfaces/RSAPublicKey.java
17551         java/security/spec/AlgorithmParameterSpec.java
17552         java/security/spec/DSAParameterSpec.java
17553         java/security/spec/DSAPrivateKeySpec.java
17554         java/security/spec/DSAPublicKeySpec.java
17555         java/security/spec/EncodedKeySpec.java
17556         java/security/spec/InvalidKeySpecException.java
17557         java/security/spec/InvalidParameterSpecException.java
17558         java/security/spec/KeySpec.java
17559         java/security/spec/PKCS8EncodedKeySpec.java
17560         java/security/spec/RSAKeyGenParameterSpec.java
17561         java/security/spec/RSAPrivateCrtKeySpec.java
17562         java/security/spec/RSAPrivateKeySpec.java
17563         java/security/spec/RSAPublicKeySpec.java
17564         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
17565         java/sql/BatchUpdateException.java java/sql/Blob.java
17566         java/sql/CallableStatement.java java/sql/Clob.java
17567         java/sql/Connection.java java/sql/DataTruncation.java
17568         java/sql/DatabaseMetaData.java java/sql/Date.java
17569         java/sql/Driver.java java/sql/DriverManager.java
17570         java/sql/DriverPropertyInfo.java
17571         java/sql/PreparedStatement.java java/sql/Ref.java
17572         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
17573         java/sql/SQLData.java java/sql/SQLException.java
17574         java/sql/SQLInput.java java/sql/SQLOutput.java
17575         java/sql/SQLWarning.java java/sql/Statement.java
17576         java/sql/Struct.java java/sql/Time.java
17577         java/sql/Timestamp.java java/sql/Types.java
17578         java/text/Annotation.java
17579         java/text/AttributedCharacterIterator.java
17580         java/text/AttributedString.java
17581         java/text/AttributedStringIterator.java
17582         java/text/BreakIterator.java java/text/CharacterIterator.java
17583         java/text/ChoiceFormat.java java/text/Collator.java
17584         java/text/DateFormat.java java/text/DateFormatSymbols.java
17585         java/text/DecimalFormat.java
17586         java/text/DecimalFormatSymbols.java
17587         java/text/FieldPosition.java java/text/Format.java
17588         java/text/MessageFormat.java java/text/NumberFormat.java
17589         java/text/ParseException.java java/text/ParsePosition.java
17590         java/text/SimpleDateFormat.java
17591         java/text/StringCharacterIterator.java
17592         java/util/AbstractCollection.java java/util/AbstractList.java
17593         java/util/AbstractMap.java
17594         java/util/AbstractSequentialList.java
17595         java/util/AbstractSet.java java/util/ArrayList.java
17596         java/util/Arrays.java java/util/BasicMapEntry.java
17597         java/util/BitSet.java java/util/Calendar.java
17598         java/util/Collection.java java/util/Collections.java
17599         java/util/Comparator.java
17600         java/util/ConcurrentModificationException.java
17601         java/util/Date.java java/util/Dictionary.java
17602         java/util/EmptyStackException.java java/util/Enumeration.java
17603         java/util/EventListener.java java/util/EventObject.java
17604         java/util/GregorianCalendar.java java/util/HashMap.java
17605         java/util/HashSet.java java/util/Hashtable.java
17606         java/util/IdentityHashMap.java java/util/Iterator.java
17607         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
17608         java/util/LinkedList.java java/util/List.java
17609         java/util/ListIterator.java java/util/ListResourceBundle.java
17610         java/util/Locale.java java/util/Map.java
17611         java/util/MissingResourceException.java
17612         java/util/NoSuchElementException.java
17613         java/util/Observable.java java/util/Observer.java
17614         java/util/Properties.java java/util/PropertyPermission.java
17615         java/util/PropertyResourceBundle.java java/util/Random.java
17616         java/util/RandomAccess.java java/util/ResourceBundle.java
17617         java/util/Set.java java/util/SimpleTimeZone.java
17618         java/util/SortedMap.java java/util/SortedSet.java
17619         java/util/Stack.java java/util/StringTokenizer.java
17620         java/util/TimeZone.java java/util/Timer.java
17621         java/util/TimerTask.java
17622         java/util/TooManyListenersException.java
17623         java/util/TreeMap.java java/util/TreeSet.java
17624         java/util/Vector.java java/util/WeakHashMap.java
17625         java/util/jar/Attributes.java java/util/jar/JarEntry.java
17626         java/util/jar/JarException.java java/util/jar/JarFile.java
17627         java/util/jar/JarInputStream.java
17628         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
17629         java/util/zip/Adler32.java java/util/zip/CRC32.java
17630         java/util/zip/CheckedInputStream.java
17631         java/util/zip/CheckedOutputStream.java
17632         java/util/zip/Checksum.java
17633         java/util/zip/DataFormatException.java
17634         java/util/zip/Deflater.java
17635         java/util/zip/DeflaterOutputStream.java
17636         java/util/zip/GZIPInputStream.java
17637         java/util/zip/GZIPOutputStream.java
17638         java/util/zip/Inflater.java
17639         java/util/zip/InflaterInputStream.java
17640         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
17641         java/util/zip/ZipException.java java/util/zip/ZipFile.java
17642         java/util/zip/ZipInputStream.java
17643         java/util/zip/ZipOutputStream.java
17644         javax/naming/BinaryRefAddr.java
17645         javax/naming/InvalidNameException.java javax/naming/Name.java
17646         javax/naming/NamingException.java javax/naming/RefAddr.java
17647         javax/naming/StringRefAddr.java: Add license clarification.
17648
17649 2002-01-22  Tom Tromey  <tromey@redhat.com>
17650
17651         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
17652         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
17653         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
17654         version.
17655         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
17656         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
17657         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
17658         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
17659         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
17660         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
17661         * java/awt/peer/FontPeer.java: Replace with Classpath version.
17662         * java/awt/peer/FramePeer.java: Replace with Classpath version.
17663         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
17664         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
17665         * java/awt/peer/ListPeer.java: Replace with Classpath version.
17666         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
17667         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
17668         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
17669         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
17670         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
17671         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
17672         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
17673         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
17674         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
17675         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
17676         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
17677         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
17678         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
17679         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
17680         (minimumSize, preferredSize, reshape): Likewise.
17681         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
17682         getColorModel): New methods.
17683         * java/awt/PopupMenu.java: Merged with Classpath.
17684         * java/awt/MenuBar.java: Merged with Classpath.
17685         * java/awt/SystemColor.java: Replace with Classpath version.
17686         * java/awt/Panel.java: Merged with Classpath.
17687         * java/awt/PaintContext.java: Updated copyright.
17688         * java/awt/MenuShortcut.java: Merged with Classpath.
17689         * java/awt/MenuContainer.java: Merged with Classpath.
17690         * java/awt/Menu.java: Merged with Classpath.
17691         * java/awt/MediaEntry.java: New file from Classpath.
17692         * java/awt/MediaTracker.java: New file from Classpath.
17693         * java/awt/List.java: Merged with Classpath version.
17694         * java/awt/Insets.java: Merged with Classpath version.
17695         * java/awt/ImageMediaEntry.java: New file from Classpath.
17696         * java/awt/Image.java: Replaced with Classpath version.
17697         * java/awt/FontMetrics.java: Merged with Classpath version.
17698         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
17699         constant.
17700         * java/awt/Font.java: Merged with Classpath version.
17701         * java/awt/Dialog.java: Merged with Classpath version.
17702         * java/awt/Color.java: Merged with Classpath version.
17703         * java/awt/Choice.java: Merged with Classpath version.
17704         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
17705         * java/awt/Adjustable.java: Replace with Classpath version.
17706         * java/awt/MenuItem.java (paramString): Don't include class name
17707         or brackets.  Call superclass paramString.
17708         * java/awt/MenuComponent.java (toString): Call paramString.
17709         (paramString): Compute string; don't call toString.
17710         * java/awt/Label.java (paramString): Don't include class name
17711         or brackets.  Call superclass paramString.
17712         * java/awt/Checkbox.java (paramString): Don't include class name
17713         or brackets.  Call superclass paramString.
17714         * java/awt/Button.java (paramString): Don't include class name or
17715         brackets.  Call superclass paramString.
17716         * java/awt/MenuComponent.java (getTreeLock): Now protected.
17717
17718 2002-01-20  Andreas Schwab  <schwab@suse.de>
17719
17720         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
17721         function and of parameter recv_func to ssize_t, as specified by
17722         POSIX.
17723
17724 2002-01-19  Per Bothner  <per@bothner.com>
17725
17726         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
17727         uncompressed_size in readiness for next entry.
17728
17729 2002-01-18  Tom Tromey  <tromey@redhat.com>
17730
17731         * java/net/natPlainSocketImpl.cc: Include
17732         IllegalArgumentException.h.
17733         (_Jv_recv): New template function.
17734         (BooleanClass): Removed.
17735         (read): Use _Jv_recv.
17736         (setOption): Use Boolean::class$.  Throw exception if object is
17737         not Boolean or Integer.
17738
17739 2002-01-17  Tom Tromey  <tromey@redhat.com>
17740
17741         * java/awt/MenuComponent.java: Merged with Classpath.
17742         * java/awt/MenuItem.java: Merged with Classpath.
17743         * java/awt/Button.java: Merged with Classpath.
17744
17745         * java/awt/ActiveEvent.java: Updated copyright.
17746
17747         * java/awt/AWTError.java: Replaced with Classpath version.
17748         * java/awt/AWTException.java: Replaced with Classpath version.
17749         * java/awt/IllegalComponentStateException.java: Replaced with
17750         Classpath version.
17751
17752 2002-01-16  Tom Tromey  <tromey@redhat.com>
17753
17754         * java/awt/Canvas.java (serialVersionUID): New constant.
17755         Updated copyright.  Added javadoc from Classpath.
17756         * java/awt/ItemSelectable.java: Replaced with Classpath version.
17757
17758         * java/awt/CheckboxGroup.java: Merged with Classpath.
17759         * java/awt/Checkbox.java: Merged with Classpath.
17760
17761         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
17762         Classpath.
17763         * java/awt/Point.java: Updated copyright.
17764
17765         * java/awt/Point.java (toString): Use getClass().getName().
17766         Added javadoc.
17767
17768         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
17769         commented code.
17770         (hash): Correctly compute initial value for `h'.
17771
17772         * java/awt/Label.java: Merged with Classpath.
17773
17774 2002-01-15  Tom Tromey  <tromey@redhat.com>
17775
17776         * java/awt/AWTPermission.java: Updated copyright.
17777
17778         * java/awt/LayoutManager2.java: Merged with Classpath.
17779         * java/awt/LayoutManager.java: Merged with Classpath.
17780         * java/awt/GridLayout.java: Updated copyright and javadoc.
17781         (getSize): Use `parent.ncomponents'.  Handle insets.
17782         (layoutContainer): Use `parent.ncomponents'.  Handle case where
17783         there are fewer children than columns.  Correctly compute size of
17784         each cell in the grid.  Handle case where there isn't enough
17785         space.
17786         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
17787         all users.
17788         (gotoComponent): Use parent.ncomponents.  Ensure child exists
17789         before calling setVisible() on it.  Last item is `num - 1', not
17790         `num'.
17791         (layoutContainer): Hoist invariants out of loop.
17792
17793         Start of AWT merge with Classpath:
17794         * Makefile.in: Rebuilt.
17795         * Makefile.am (awt_java_source_files): Reference files in
17796         gnu/java/awt, not gnu/gcj/awt.
17797         * java/awt/image/BufferedImage.java: Updated copyright.
17798         * java/awt/image/ComponentColorModel.java: Updated copyright.
17799         * java/awt/image/ComponentSampleModel.java: Updated copyright.
17800         * java/awt/image/DataBuffer.java: Updated copyright.
17801         * java/awt/image/DataBufferByte.java: Updated copyright.
17802         * java/awt/image/DataBufferInt.java: Updated copyright.
17803         * java/awt/image/DataBufferUShort.java: Updated copyright.
17804         * java/awt/image/IndexColorModel.java: Updated copyright.
17805         * java/awt/image/PackedColorModel.java: Updated copyright.
17806         * java/awt/image/Raster.java: Updated copyright.
17807         * java/awt/image/RasterOp.java: Updated copyright.
17808         * java/awt/image/SampleModel.java: Updated copyright.
17809         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
17810         * java/awt/image/WritableRaster.java: Updated copyright.
17811         * java/awt/color/ColorSpace.java: Updated copyright.
17812         * java/awt/color/ICC_ColorSpace.java: Updated copyright
17813         * java/awt/color/ICC_Profile.java: Updated copyright.
17814         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
17815         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
17816         * java/awt/event/HierarchyEvent.java: Updated copyright.
17817         * java/awt/event/HierarchyListener.java: Updated copyright.
17818         * java/awt/geom/AffineTransform.java: Updated copyright.
17819         * java/awt/geom/Dimension2D.java: Updated copyright.
17820         * java/awt/geom/Ellipse2D.java: Updated copyright.
17821         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
17822         * java/awt/geom/Line2D.java: Updated copyright.
17823         * java/awt/geom/NoninvertibleTransformException.java: Updated
17824         copyright.
17825         * java/awt/geom/PathIterator.java: Updated copyright.
17826         * java/awt/geom/Point2D.java: Updated copyright.
17827         * java/awt/geom/Rectangle2D.java: Updated copyright.
17828         * java/awt/geom/RectangularShape.java: Updated copyright.
17829         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
17830         * java/awt/Toolkit.java: Updated import for file moves.
17831         * java/awt/Rectangle.java: Updated copyright; added javadoc from
17832         Classpath.
17833         (hashCode): New method from Classpath.
17834         * java/awt/Graphics2D.java: Updated copyright.
17835         * java/awt/Transparency.java: Updated copyright.
17836         * java/awt/Paint.java: Updated copyright.
17837         * java/awt/Graphics.java: New version from Classpath.
17838         * java/awt/EventDispatchThread.java: Updated copyright.
17839         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
17840         children.
17841         (gotoComponent): Wrap around on next/previous.
17842         * gnu/gcj/awt/BitMaskExtent.java: Removed.
17843         * gnu/gcj/awt/Buffers.java: Removed.
17844         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
17845         * gnu/gcj/awt/GLightweightPeer.java: Removed.
17846         * gnu/java/awt/BitMaskExtent.java: Added.
17847         * gnu/java/awt/Buffers.java: Added.
17848         * gnu/java/awt/ComponentDataBlitOp.java: Added.
17849         * gnu/java/awt/GLightweightPeer.java: Added.
17850         * java/awt/geom/Line2D.java (clone): Ignore
17851         CloneNotSupportedException.
17852         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
17853         * java/awt/Frame.java: Merged with Classpath.
17854         * java/awt/RenderingHints.java: Copyright update.
17855         * java/awt/Paint.java: Copyright update.
17856         * java/awt/image/DirectColorModel.java: Merged with Classpath.
17857         * java/awt/image/ColorModel.java: Merged with Classpath.
17858         * java/awt/Window.java (show): New Implementation from Classpath.
17859         (isShowing): Use super.isShowing().
17860         * java/awt/EventQueue.java: Merged with Classpath.
17861         * java/awt/AWTEventMulticaster.java (save): Throw
17862         RuntimeException.
17863         (saveInternal): Likewise.
17864         * java/awt/AWTEvent.java: Now implements Serializable.
17865         * java/awt/Event.java: Copyright update.
17866         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
17867         * java/awt/image/BufferedImage.java: Copyright update.
17868         * java/awt/GraphicsConfiguration.java: Copyright update.
17869         * java/awt/Component.java: (addNotify): Don't call
17870         addNotifyContainerChildren().
17871         (addNotifyContainerChildren): Removed.
17872         (setPeer): New method from Classpath.
17873         (setTreeLock): Likewise.
17874         (setVisible): Rewrote.
17875         (show): Use it.
17876         (hide): Likewise.
17877         (validate): Set `valid'.
17878         (checkImage(Image,ImageObserver)): Implementation from Classpath.
17879         (createImage(ImageProducer)): Likewise.
17880         (prepareImage): Likewise.
17881         * java/awt/Container.java (addImpl): Handle case where constraint
17882         is not a String.  Post event via system event queue.
17883         (remove): Post event via system event queue.
17884         (validateTree): Only validate child if it is invalid.
17885         (getAlignmentX): Call super method as default.
17886         (getAlignmentY): Likewise.
17887         (addContainerListener): Now synchronized.
17888         (removeContainerListener): Likewise.
17889         (addNotifyContainerChildren): Now private.
17890         * java/awt/ComponentOrientation.java: Updated copyright.  Added
17891         @author.
17892         * java/awt/FlowLayout.java (serialVersionUID): New field.
17893         (setAlignment): Better exception message.
17894         (layoutContainer): Don't compute component's preferred size unless
17895         we're going to use it.
17896         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
17897         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
17898         (firstLine, lastLine, firstItem, lastItem): New fields.
17899         (addLayoutComponent): Handle case where constraints is null.
17900         Also, handle relative locations.
17901         (removeLayoutComponent): Handle relative locations.
17902         (MIN, MAX, PREF): New constants.
17903         (calcCompSize): New method.
17904         (calcSize): New method.
17905         (minimumLayoutSize): Use it.
17906         (preferredLayoutSize): Likewise.
17907         (maximumLayoutSize): Likewise.
17908         (toString): Include more information.
17909         (setBounds): New method.
17910         (layoutContainer): Use libgcj implementation; extended to handle
17911         relative locations.
17912
17913 2002-01-15  Tom Tromey  <tromey@redhat.com>
17914
17915         * java/lang/Float.java (equals): Preserve old code.
17916         * java/lang/Double.java (equals): Preserve old code.
17917
17918 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
17919
17920         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
17921         * java/lang/Float.java (equals, compare): Ditto.
17922
17923 2002-01-13  Mark Wielaard  <mark@klomp.org>
17924
17925         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
17926         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
17927         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
17928         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
17929
17930 2002-01-11  Mark Wielaard  <mark@klomp.org>
17931
17932         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
17933         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
17934         InetAddress.
17935         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
17936         * java/net/Socket.java: Merge with Classpath.
17937         * java/net/ServerSocket.java: Likewise.
17938
17939 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
17940
17941         * interpret.cc (NULLARRAYCHECK): New macro.
17942         (SAVE_PC): Just store `pc'.
17943         (find_exception): Subtract one from `pc' here.
17944         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17945         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17946         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17947         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
17948         don't call SAVE_PC.
17949         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
17950         call SAVE_PC.
17951
17952 2002-01-11  Tom Tromey  <tromey@redhat.com>
17953
17954         * java/lang/natSystem.cc (init_properties): Only look for default
17955         locale if LC_MESSAGES is defined.
17956         * aclocal.m4, configure, include/config.h.in: Rebuilt.
17957         * configure.in: Call AM_LC_MESSAGES.
17958         * acinclude.m4 (AM_LC_MESSAGES): New macro.
17959
17960 2002-01-10  Tom Tromey  <tromey@redhat.com>
17961
17962         For PR libgcj/5303:
17963         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
17964         --version.  Recognize GNU-style long options.  Print GNU-style
17965         error messages.
17966         (usage): Print GNU-style help.  Exit with status 0.
17967         (error): New method.
17968         (run): Print error message if no class names found.
17969         (main): Don't print usage on error.
17970
17971 2002-01-09  Tom Tromey  <tromey@redhat.com>
17972
17973         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
17974         property.
17975         (help, version): Use println(), not println("").
17976
17977         For PR libgcj/5303:
17978         * gnu/gcj/convert/Convert.java (error): Program is called
17979         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
17980         -1.
17981         (main): Handle --help and --version.
17982         (help): New method.
17983         (version): Likewise.
17984
17985 2002-01-08  Tom Tromey  <tromey@redhat.com>
17986
17987         * Makefile.in: Rebuilt.
17988         * Makefile.am (ordinary_java_source_files): Added new files.
17989         * gnu/java/locale/LocaleInformation.java: Extend
17990         LocaleInformation_en.
17991         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
17992         and time/date formats.
17993         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
17994         generated.
17995         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
17996         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
17997         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
17998         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
17999         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
18000         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
18001         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
18002         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
18003         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
18004         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
18005         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
18006         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
18007         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
18008         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
18009         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
18010         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
18011         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
18012         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
18013         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
18014         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
18015         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
18016         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
18017         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
18018         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
18019         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
18020         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
18021         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
18022         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
18023         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
18024         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
18025         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
18026         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
18027         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
18028         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
18029         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
18030         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
18031         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
18032         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
18033         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
18034         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
18035         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
18036         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
18037         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
18038         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
18039         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
18040         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
18041         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
18042         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
18043         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
18044         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
18045         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
18046         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
18047         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
18048         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
18049         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
18050         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
18051         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
18052         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
18053         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
18054         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
18055         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
18056         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
18057         * gnu/java/locale/LocaleInformation_es_US.java: New file.
18058         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
18059         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
18060         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
18061         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
18062         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
18063         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
18064         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
18065         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
18066         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
18067         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
18068         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
18069         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
18070         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
18071         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
18072         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
18073         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
18074         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
18075         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
18076         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
18077         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
18078         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
18079         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
18080         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
18081         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
18082         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
18083         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
18084         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
18085         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
18086         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
18087         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
18088         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
18089         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
18090         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
18091         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
18092         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
18093         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
18094         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
18095         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
18096         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
18097         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
18098         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
18099         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
18100         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
18101         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
18102         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
18103         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
18104         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
18105         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
18106         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
18107         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
18108         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
18109         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
18110         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
18111         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
18112         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
18113         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
18114         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
18115         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
18116         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
18117         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
18118         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
18119         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
18120         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
18121         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
18122         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
18123         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
18124         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
18125
18126         For PR libgcj/5031:
18127         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
18128         choose default locale.
18129
18130         * Makefile.in: Rebuilt.
18131         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
18132
18133 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
18134
18135         * java/net/natPlainSocketImpl.cc: Added timeout handling for
18136         sockets.
18137         (close): New function closes the socket.
18138         (write): New functions for output to socket.
18139         (read): New functions for reading from socket.
18140         * java/net/PlainSocketImpl.java: Glue for new timeout
18141         implementation.
18142         (write): Call the native impl.
18143         (read): Likewise.
18144         (getInputStream): Get a stream to read from the socket.
18145         (getOutputStream): Get a stream to write to the socket.
18146
18147 2002-01-08  Tom Tromey  <tromey@redhat.com>
18148
18149         * resolve.cc (_Jv_PrepareClass): Enable verifier.
18150
18151 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
18152
18153         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
18154         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
18155
18156 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
18157
18158         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
18159         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
18160         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
18161         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
18162         insn_bastore, insn_castore, insn_sastore]: Use it.
18163         (continue1) [insn_arraylength]: Check for null array.
18164
18165 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
18166
18167         * configure, include/config.h.in: Rebuilt.
18168         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
18169         * configure.in: Call AC_STRUCT_TIMEZONE.
18170
18171 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
18172
18173         * configure.host: Disable the interpreter for Darwin.
18174
18175 2002-01-04  Tom Tromey  <tromey@redhat.com>
18176
18177         * java/lang/Thread.java (stop): No longer synchronized.
18178         (start): Likewise.
18179
18180 2002-01-02  Tom Tromey  <tromey@redhat.com>
18181
18182         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
18183         patch.
18184
18185 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
18186
18187         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
18188         PPC Darwin, not for all of Darwin.