OSDN Git Service

2004-01-06 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-01-06  Michael Koch  <konqueror@gmx.de>
2
3         * gnu/java/net/protocol/file/Connection.java:
4         Reformated copyright.
5         (hdrHash): Removed.
6         (hdrVec): Removed.
7         (gotHeaders): Removed.
8         (getHeaderField): Removed.
9         (getHeaderField): Removed.
10         (getHeaderFieldKey): Removed.
11         (getKey): Removed.
12         (getField): Removed.
13         (getHeaders): Removed.
14
15 2004-01-06  Michael Koch  <konqueror@gmx.de>
16
17         * javax/print/attribute/standard/DateTimeAtCompleted.java,
18         javax/print/attribute/standard/DateTimeAtCreation.java,
19         javax/print/attribute/standard/DateTimeAtProcessing.java,
20         javax/print/attribute/standard/JobImpressionsCompleted.java,
21         javax/print/attribute/standard/JobKOctets.java,
22         javax/print/attribute/standard/JobKOctetsProcessed.java,
23         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
24         javax/print/attribute/standard/JobPrioritySupported.java: New files.
25         * Makefile.am (javax_source_files): Added new files.
26         * Makefile.in: Regenerated.
27 2004-01-06  Michael Koch  <konqueror@gmx.de>
28
29         * java/net/URLConnection.java
30         (contentHandler): Removed.
31         (locale): Removed.
32         (getHeaderFields): Return an empty map instead of null.
33         (getContent): Connect if needed, renamed "cType" to "type" and
34         "contentHandler" to "ch" and made it a local variable.
35         (getPermission): Don't use package in class name.
36         (setDefaultRequestProperty): Fixed typo in documentation.
37         (initializeDateFormats): Made locale a local variable.
38
39 2004-01-06  Michael Koch  <konqueror@gmx.de>
40
41         * java/lang/Package.java
42         (getPackage): Get the current class loader directly.
43         * java/lang/SecurityManager.java
44         (currentLoadedClass): Dont iterate over class contexts.
45         (classLoaderDepth): Don't check class loaders if everything is allowed.
46
47 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
48
49         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
50         (pre_event_handler): Set all insets to 0 when a Configure event
51         is received for a GtkPlug.
52         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
53         Make handle long, not int.
54         (EmbeddedWindow()): New constructor.
55         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
56         long, not int.
57         (setHandle): New method.
58         (getHandle): Return long, not int.
59         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
60         declaration.
61         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
62         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
63         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
64         argument to GdkNativeWindow.
65         (construct): New method.
66         (embed): New method.
67
68         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
69         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
70         (create(int, int)): New method.
71         (create): Call new create method.
72         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
73         methods.
74         (childResized): Remove native implementation.  Implement in
75         Java.
76         (getHScrollbarHeight, getVScrollbarWidth): Call
77         gtk_widget_size_request to get scrollbar dimensions.
78         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
79         call getVScrollbarWidth and getHScrollbarHeight when vertical
80         and horizontal scrollbars respectively are needed.
81         (doLayout): Enlarge child if it is smaller than the viewport.
82
83 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
84
85         * java/awt/Dialog.java (constructor): Accept null title as per spec.
86         * java/awt/FileDialog.java (constructor): Throw exception on invalid
87         argument as per spec.
88
89 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
90
91         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
92         (insert): Ditto.
93         (remove): Ditto.  Also, Check for valid argument.
94         (removeAll): Use peer interface method.
95         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
96         native add function.
97         (nativeRemove): New name for native remove function.
98         (getHistory): New native function.
99         (constructor): Generate ItemEvent.
100         (add): Ditto, if selection is changed.
101         (remove): Ditto, ditto.
102         (removeAll): Add implementation.
103         (handleEvent): Remove.  Dead code.
104         (choicePostItemEvent): Add comment.
105         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
106         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
107         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
108         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
109         comments and fix condition to change selection.
110         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
111         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
112         remove all capability.
113         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
114         (item_activate): Add cast to remove compiler warning.
115
116 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
117
118         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
119         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
120         (getPreferredSize): Call preferredSize.
121         (preferredSize): Call gtkWidgetGetPreferredDimensions.
122         (getMinimumSize): Call minimumSize.
123         (minimumSize): Call gtkWidgetGetPreferredDimensions.
124         (gtkWidgetGetDimensions): Return the peer widget's current size
125         request.
126         (gtkWidgetGetPreferredDimensions): Return the peer widget's
127         natural size request.
128
129 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
130
131         Thanks to Brian Gough <bjg@network-theory.com>
132         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
133         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
134
135 2004-01-04  Matthias Klose  <doko@debian.org>
136
137         * aclocal.m4: Rebuilt using "aclocal -I .".
138         * configure: Rebuilt.
139
140 2004-01-03  Per Bothner  <per@bothner.com>
141
142         * java/util/Date.java (parse):  Fix a number of problems.
143         (skipParens):  Remove no-longer-needed method.
144
145 2003-12-31  Michael Koch  <konqueror@gmx.de>
146
147         * gnu/java/net/protocol/http/Connection.java
148         (sendRequest): Dont encode output in default character encoding,
149         add correct version number to HTTP user agent string.
150
151 2003-12-31  Guilhem Lavaux  <guilhem@kaffe.org>
152
153         * java/io/ObjectOutputStream.java
154         (putFields): Reindented. Fixed behaviour: currentPutField should be
155         null
156         before calling this method.
157         (writeFields): Likewise.
158         (markFieldsWritten): Fixed the exception message.
159         (callWriteMethod): Ensure currentPutField is null.
160         (getBooleanField): Translate IllegalArgumentException into
161         InvalidClassException.
162         (getByteField): Likewise.
163         (getCharField): Likewise.
164         (getDoubleField): Likewise.
165         (getFloatField): Likewise.
166         (getIntField): Likewise.
167         (getLongField): Likewise.
168         (getShortField): Likewise.
169         (getObjectField): Check the type code before returning the object.
170         (getField): Translate NoSuchFieldException into InvalidClassException
171         directly.
172
173 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
174
175         * java/net/URL.java
176         (URL): Change context path to "/" if it is empty.
177
178 2003-12-31  Michael Koch  <konqueror@gmx.de>
179
180         * testsuite/libjava.mauve/xfails: Removed tests that pass now:
181         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
182         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
183         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
184         (number 26)
185         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
186         (number 54)
187         
188
189 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
190
191         * java/util/GregorianCalendar.java
192         (computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>.
193         Fixed the computation of DAY_OF_WEEK_IN_MONTH.
194         (computeTime): 12:00 midnight is AM and 12:00 noon is PM.
195
196 2003-12-30  Michael Koch  <konqueror@gmx.de>
197
198         * testsuite/libjava.mauve/xfails: Removed the following testcase
199         because it passes now:
200         FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict
201         (number 1)
202
203 2003-12-30  Michael Koch  <konqueror@gmx.de>
204
205         * java/io/ObjectInputStream.java,
206         java/io/ObjectOutputStream.java,
207         java/io/ObjectStreamClass.java:
208         Reformated, no functional code changes.
209
210 2003-12-30  Michael Koch  <konqueror@gmx.de>
211
212         * gnu/java/net/protocol/http/Connection.java
213         (outputStream): New field.
214         (bufferedOutputStream): New field.
215         (connect): Initialize outputStream and bufferedOutputStream.
216         (sendRequest): Create PrintWriter object from outputStream,
217         support HTTP 1.1, send missing HTTP headers and buffered output data
218         for POST method.
219         (getOutputStream): Set request method to POST if output stream is
220         used, return bufferedOutputStream.
221         (setRequestMethod): Allow HEAD and POST methods.
222         This fixes libgcj PR/6302 and libgcj PR/7752.
223
224 2003-12-30  Guilhem Lavaux <guilhem@kaffe.org>
225
226         * java/io/LineNumberReader.java
227         (countLines): Removed.
228         (fill): New private method.
229         (mark): Changed logic to use and matchedNewLine.
230         (reset): Likewise.
231         (read): Likewise.
232         (skipRedundantLF): Likewise.
233
234 2003-12-30  Michael Koch  <konqueror@gmx.de>
235
236         * gnu/java/net/protocol/http/Connection.java
237         (requestProperties): New field.
238         (addRequestProperty): New method.
239         (getRequestProperty): New method.
240         (setRequestProperty): New method.
241         (getRequestProperties): New method.
242
243 2003-12-28  Michael Koch  <konqueror@gmx.de>
244
245         * gnu/java/net/protocol/http/Connection.java
246         (inputStream): Made it a DataInputStream.
247         (requestProperties): Removed.
248         (hdrHash): Removed.
249         (hdrVec): Removed.
250         (headers): New field to store headers.
251         (connect): Initialize inputStream.
252         (receiveReply): Merged from classpath. The new algorithm is line based
253         instead of character based.
254         (getHeaderField): Use headers.
255         (getHeaderFields): Use headers.
256         (getKey): Removed.
257         (getField): Removed.
258         * gnu/java/net/HeaderFieldHelper.java: New file.
259         * Makefile.am (ordinary_java_source_files):
260         Added gnu/java/net/HeaderFieldHelper.java.
261         * Makefile.in: Regenerated.
262
263 2003-12-28  Guilhem Lavaux <guilhem@kaffe.org>
264
265         * java/io/LineNumberReader.java
266         (mark): Improved error checking.
267         (read): Likewise.
268         (skip): Likewise. Skip is now really eating the specified number of
269         characters.
270         * java/io/CharArrayReader.java (read): It should throw
271         IndexOutOfBoundsException and not ArrayIndexOutOfBoundsException (see
272         mauve).
273         * java/io/BufferedReader.java (readLine): Make readLine() really block
274         until either EOF is reached or a true error happens.
275
276 2003-12-27  Michael Koch  <konqueror@gmx.de>
277
278         * gnu/java/net/protocol/http/Connection.java
279         (getRequestProperty): Removed.
280         (setRequestProperty): Removed.
281
282 2003-12-27  Michael Koch  <konqueror@gmx.de>
283
284         * gnu/java/net/protocol/http/Connection.java
285         (connect): Call receiveReply().
286         (receiveReply): Renamed from getHttpHeaders().
287         (getOutputStream): Moved check on doOutput before check for connection
288         state.
289
290 2003-12-27  Michael Koch  <konqueror@gmx.de>
291
292         * javax/print/attribute/ResolutionSyntax.java,
293         javax/print/attribute/SetOfIntegerSyntax.java,
294         javax/print/attribute/Size2DSyntax.java,
295         javax/print/attribute/standard/Copies.java,
296         javax/print/attribute/standard/JobImpressions.java,
297         javax/print/attribute/standard/JobMediaSheets.java,
298         javax/print/attribute/standard/NumberOfDocuments.java,
299         javax/print/attribute/standard/NumberOfInterveningJobs.java,
300         javax/print/attribute/standard/PagesPerMinute.java,
301         javax/print/attribute/standard/PagesPerMinuteColor.java,
302         javax/print/attribute/standard/QueuedJobCount.java:
303         Fixed typo (s/then/than/).
304
305 2003-12-27  Guilhem Lavaux  <guilhem@kaffe.org>
306
307         * java/rmi/Naming.java (lookup): Check if the first character of the
308         filename returned by URL.getFile() is a '/', only if it is the case
309         we cut this first character and call the registry with the good name.
310         (bind): Likewise.
311         (rebind): Likewise.
312
313 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
314             Mark Wielaard  <mark@klomp.org>
315
316         * java/io/BufferedReader.java (BufferedReader):
317         Throw IllegalArgumentException when size <= 0.
318         (mark): Document and better exception message for negative
319         readLimit IllegalArgumentException.
320         (read(char[],int,int)): Throw IndexOutOfBoundsException
321         if offset and count are not valid regarding buf.
322         (skip): Throw IllegalArgumentException when count is negative.
323
324 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
325
326         * java/io/FileInputStream.java
327         (FileInputStream(String)): Call FileInputStream(File).
328         (FileInputStream(File)): Check whether the argument is a directory.
329
330 2003-12-26  Michael Koch  <konqueror@gmx.de>
331
332         * Makefile.am (rmi_java_source_files):
333         Added gnu/java/rmi/server/RMIVoidValue.java.
334         * Makefile.in: Regenerated.
335
336 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
337             Mark Wielaard  <mark@klomp.org>
338
339         * gnu/java/rmi/server/UnicastConnectionManager.java
340         (startScavenger): Set the client connection manager to daemon
341         state because it may block clients until TIMEOUT is reached
342         when they are exiting.
343
344         * gnu/java/rmi/RMIVoidValue.java: New file for a class representing
345         a void return.
346
347         * gnu/java/rmi/server/UnicastRemoteCall.java
348         (DummyOutputStream): Add a boolean before each written field to
349         know whether it is a primitive.
350         (releaseOutputStream): Flush parameters at write time.
351
352         * gnu/java/rmi/server/UnicastServerRef.java
353         (incomingMessageCall): Return a RMIVoidValue if no value is to be
354         returned.
355
356         * gnu/java/rmi/server/UnicastServer.java
357         (incomingMessageCall): Do not write a returned object if it is
358         a RMIVoidValue.
359
360 2003-12-25  Andreas Tobler  <a.tobler@schweiz.ch>
361
362         * libltdl/ltdl.c (HAVE_DYLD): Remove ifdef conditional for 
363         darwin. Fixed by fixinclude now.
364
365 2003-12-25  Michael Koch  <konqueror@gmx.de>
366
367         * java/net/ServerSocket.java bind():
368         If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as
369         address to bind to.
370
371 2003-12-23  Guilhem Lavaux <guilhem@kaffe.org>
372
373         * java/io/ObjectInputStream.java
374         (getField): Handle transient and non persistent fields.
375         (readClassDescriptor): Better error handling, use the right
376         class loader.
377         (readFields): Fields marked as not present in the stream
378         or not to be set are not read and set.
379         * java/io/ObjectInputStream.java
380         (readFields): Changed implementation of GetField.
381         (readClassDescriptor): Documented.
382         * java/io/ObjectOutputStream.java
383         (writeClassDescriptor): Added condition when to write class super
384         class information.
385
386 2003-12-22  Fernando Nasser  <fnasser@redhat.com>
387
388         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to...
389         (choicePostItemEvent): Change signature to more specific String object.
390         * java/awt/Choice.java (add): Generate ItemEvent for the first item
391         added.
392         (insert): Generate ItemEvent if insertion caused
393         selection to change.
394         (remove): Generate ItemEvent if removal cause selection to change.
395         (removeAll): Change algorithm to prevent generation of ItemEvents.
396         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
397         (connect_choice_item_selectable_hook): Change argument type.
398         Fix argument value.
399         Make sure resources are feed by registering callback.
400         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
401         above function.
402         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
403         (item_activate): Ditto.
404         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
405         menuitem.
406         (item_removed): New function.  Free resources.
407         * jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
408         name.
409         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
410         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
411         choicePostItemEvent.
412
413 2003-12-23  Michael Koch  <konqueror@gmx.de>
414
415         * javax/print/attribute/standard/Copies.java,
416         javax/print/attribute/standard/JobImpressions.java,
417         javax/print/attribute/standard/JobMediaSheets.java,
418         javax/print/attribute/standard/JobPriority.java,
419         javax/print/attribute/standard/NumberOfDocuments.java,
420         javax/print/attribute/standard/NumberOfInterveningJobs.java,
421         javax/print/attribute/standard/NumberUp.java,
422         javax/print/attribute/standard/PagesPerMinuteColor.java,
423         javax/print/attribute/standard/PagesPerMinute.java,
424         javax/print/attribute/standard/QueuedJobCount.java: New files.
425         * Makefile.am (ordinary_java_source_files): Added new files.
426         * Makefile.in: Regenerated.
427
428 2003-12-23  Michael Koch  <konqueror@gmx.de>
429
430         * javax/print/attribute/AttributeSetUtilities.java
431         (verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
432         * javax/print/attribute/HashAttributeSet.java
433         (HashAttributeSet): Call internal add methods, added missing
434         exceptions.
435         (add): Call addInternal, added exceptions to documentation.
436         (addInternal): New method.
437         (addAll): Call addAllInternal, added exception to documentation.
438         (addAllInternal): New method.
439         (clear): Added exception to documentation.
440         (remove): Likewise.
441         * javax/print/attribute/URISyntax.java
442         (serialVersionUID): Fixed value.
443
444 2003-12-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
445
446         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
447         (pre_event_handler): Don't dereference NULL focus_obj_ptr.
448
449 2003-12-21  Michael Koch  <konqueror@gmx.de>
450
451         * javax/print/attribute/AttributeSetUtilities.java,
452         javax/print/attribute/HashAttributeSet.java,
453         javax/print/attribute/HashDocAttributeSet.java,
454         javax/print/attribute/HashPrintJobAttributeSet.java,
455         javax/print/attribute/HashPrintRequestAttributeSet.java,
456         javax/print/attribute/HashPrintServiceAttributeSet.java: New files.
457         * Makefile.am (ordinary_java_source_files): Added new files.
458         * Makefile.in: Regenerated.
459
460 2003-12-21  Michael Koch  <konqueror@gmx.de>
461
462         * javax/print/attribute/EnumSyntax.java,
463         javax/print/attribute/SetOfIntegerSyntax.java: New files.
464         * Makefile.am (ordinary_java_source_files):
465         Added javax/print/attribute/EnumSyntax.java
466         and javax/print/attribute/SetOfIntegerSyntax.java.
467         * Makefile.in: Regenerated.
468
469 2003-12-21  Michael Koch  <konqueror@gmx.de>
470
471         * javax/print/attribute/PrintJobAttribute.java,
472         javax/print/attribute/PrintJobAttributeSet.java,
473         javax/print/attribute/PrintRequestAttribute.java,
474         javax/print/attribute/PrintServiceAttribute.java,
475         javax/print/attribute/PrintServiceAttributeSet.java,
476         javax/print/attribute/SupportedValuesAttribute.java: New files.
477         * Makefile.am (ordinary_java_source_files): Added new files.
478         * Makefile.in: Regenerated.
479
480 2003-12-21  Michael Koch  <konqueror@gmx.de>
481
482         * javax/print/attribute/DateTimeSyntax.java,
483         javax/print/attribute/DocAttribute.java,
484         javax/print/attribute/DocAttributeSet.java,
485         javax/print/attribute/IntegerSyntax.java,
486         javax/print/attribute/ResolutionSyntax.java,
487         javax/print/attribute/Size2DSyntax.java,
488         javax/print/attribute/TextSyntax.java,
489         javax/print/attribute/URISyntax.java,
490         javax/print/attribute/UnmodifiableSetException.java: New files.
491         * Makefile.am (ordinary_java_source_files): Added new files.
492         * Makefile.in: Regenerated.
493
494 2003-12-21  Michael Koch  <konqueror@gmx.de>
495
496         * gnu/java/net/PlainDatagramSocketImpl.java
497         (mcastGrp): Added documentation.
498
499 2003-12-20  Michael Koch  <konqueror@gmx.de>
500
501         * gnu/java/net/protocol/jar/Connection.java
502         (connectionCache): New field.
503         (connect): New method.
504         (getInputStream): New method.
505         (hdrHash): New field.
506         (hdrVec): New field.
507         (gotHeaders): New field.
508         (getHeaderField): New method.
509         (getHeaderFields): New method.
510         (getHeaderFieldKey): New method.
511         (getKey): New method.
512         (getField): New method.
513         (getHeaders): New method.
514         * java/net/JarURLConnection.java
515         (connectionCache): Removed.
516         (connect): Removed.
517         (getInputStream): Removed.
518         (hdrHash): Removed.
519         (hdrVec): Removed.
520         (gotHeaders): Removed.
521         (getHeaderField): Removed.
522         (getHeaderFields): Removed.
523         (getHeaderFieldKey): Removed.
524         (getKey): Removed.
525         (getField): Removed.
526         (getHeaders): Removed.
527
528 2003-12-20  Michael Koch  <konqueror@gmx.de>
529
530         * java/io/ObjectStreamField.java (isUnshared): Added documentation.
531
532 2003-12-20  Mohan Embar  <gnustuff@thisiscool.com>
533
534         * gnu/java/nio/SelectorImpl.java
535         (selectThreadMutex): New field.
536         (selectThread): New field.
537         (unhandledWakeup): New field.
538         (implCloseSelector): Added skeleton code which
539         synchronizes as per Sun JRE JavaDoc.
540         (keys): Throw ClosedSelectorException if selector
541         is closed.
542         (selectNow): Added comment that we're faking out
543         an immediate select with a one-microsecond-timeout one.
544         (select): Use 0 instead of -1 for infinite timeout.
545         (implSelect): Changed comment in declaration.
546         (select): Added synchronized to method declaration.
547         Added synchronization and wakeup support as per Sun
548         JRE JavaDoc.
549         (selectedKeys): Throw ClosedSelectorException if selector
550         is closed.
551         (wakeup): Implemented.
552         (deregisterCancelledKeys): Synchronize on cancelled key
553         set before deregistering.
554         (register): Synchronize on key set before registering.
555         * java/nio/channels/spi/AbstractSelector.java
556         Added import for java.nio.channels.ClosedSelectorException.
557         (close): Added synchronized to method declaration.
558         (cancelledKeys): Throw ClosedSelectorException if selector
559         is closed.
560         (cancelKey): Synchronize on cancelled key set before key.
561
562 2003-12-20  Michael Koch  <konqueror@gmx.de>
563
564         * Makefile.am (ordinary_java_source_files):
565         Added gnu.java.net.URLParseError.java.
566         * Makefile.in: Regenerated.
567
568 2003-12-20  Guilhem Lavaux <guilhem@kaffe.org>
569
570         * gnu/java/net/URLParseError.java: New file.
571         * gnu/java/net/protocol/jar/Handler.java
572         (parseURL): Throw URLParseError if needed, fix '/' handling.
573         * java/net/URL.java (URL): Catch URLParseError and
574         transform it into a MalformedURLException.
575
576 2003-12-19  Michael Koch  <konqueror@gmx.de>
577
578         * gnu/java/nio/ChannelOutputStream.java: New file.
579         * java/nio/channels/Channels.java
580         (newOutputStream): Implemented.
581         * Makefile.am (ordinary_java_source_files)
582         Added gnu/java/nio/ChannelOutputStream.java.
583         * Makefile.in: Regenerated.
584
585 2003-12-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
586
587         * java/awt/FlowLayout.java (layoutContainer): Let components
588         assume their preferred height.  Centre components vertically.
589
590 2003-12-19  Michael Koch  <konqueror@gmx.de>
591
592         * gnu/java/nio/ChannelInputStream.java: New file.
593         * java/nio/channels/Channels.java (newInputStream): Implemented.
594         * java/nio/channels/FileChannelImpl.java
595         (readImpl): Only put data into buffer if something was read.
596         * Makefile.am (ordinary_java_source_files):
597         Added gnu/java/nio/ChannelInputStream.java.
598         * Makefile.in: Regenerated.
599
600 2003-12-19  Michael Koch  <konqueror@gmx.de>
601
602         * gnu/java/nio/OutputStreamChannel.java: New file.
603         * java/nio/channels/Channels.java (newChannel): Implemented.
604         * Makefile.am (ordinary_java_source_files):
605         Added gnu/java/nio/OutputStreamChannel.java.
606         * Makefile.in: Regenerated.
607
608 2003-12-19  Michael Koch  <konqueror@gmx.de>
609
610         * Makefile.am (ordinary_java_source_files):
611         Added gnu.java.nio.InputStreamChannel. 
612         * Makefile.in: Regenerated.
613
614 2003-12-19  Michael Koch  <konqueror@gmx.de>
615
616         * gnu/java/nio/InputStreamChannel.java: New file.
617         * java/nio/channels/Channels.java (newChannel): Implemented.
618
619 2003-12-19  Michael Koch  <konqueror@gmx.de>
620
621         * java/util/SimpleTimeZone.java
622         (setStartRule): Reformated documentation.
623         (setEndRule): Reworked documentation.
624         (getDSTSavings): Fixed @since tag.
625         (setDSTSavings): New method.
626
627 2003-12-19  Michael Koch  <konqueror@gmx.de>
628
629         * java/text/NumberFormat.java: Sorted imports.
630         (getCurrency): New method.
631         (setCurrency): New method.
632         
633
634 2003-12-19  Michael Koch  <konqueror@gmx.de>
635
636         * java/text/MessageFormat.java
637         (MessageFormat): New constructor.
638
639 2003-12-19  Michael Koch  <konqueror@gmx.de>
640
641         * gnu/java/net/protocol/jar/Handler.java
642         (parseURL): New method.
643         (toExternalForm): New method.
644
645 2003-12-18  Fernando Nasser  <fnasser@redhat.com>
646
647         * java/awt/List.java (replaceItem): Prevent selection to move with
648         replace and minimize flickering.
649  
650 2003-12-18  Michael Koch  <konqueror@gmx.de>
651
652         * libltdl/ltdl.c: Define __private_extern__ if needed.
653
654 2003-12-18  Michael Koch  <konqueror@gmx.de>
655
656         * libltdl/.cvsignore: Ignore autom4te.cache
657         * libltdl/Makefile.in: Regenerated.
658         * libltdl/aclocal.m4: Regenerated.
659         * libltdl/acconfig.h: Removed (obsolete).
660         * libltdl/config-h.in: Regenerated.
661         * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
662         * libltdl/configure: Regenerated.
663
664 2003-12-18  Michael Koch  <konqueror@gmx.de>
665
666         * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
667         java.text.CollationElementIterator tests as they compile again.
668         * testsuite/libjava.mauve/xfails: Added failing
669         java.text.CollationElementIterator tests.
670
671 2003-12-18  Michael Koch  <konqueror@gmx.de>
672
673         * java/util/prefs/AbstractPreferences.java
674         (cachedChildren): New method.
675
676 2003-12-18  Michael Koch  <konqueror@gmx.de>
677
678         * java/util/TimeZone.java (getOffset): New method.
679
680 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
681  
682         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
683         of ActionEvents for mouse double-clicks.
684
685 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
686
687         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
688         null Graphics pointer returned by FileDialogPeer.
689
690 2003-12-17  Michael Koch  <konqueror@gmx.de>
691
692         * libltdl/stamp-h.in: Removed, not used anymore.
693
694 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
695
696         * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
697         Removed unused InterruptedIOException.h include.
698         * gnu/java/net/natPlainSocketImplWin32.cc
699         (connect): Reset and ignore our thread's interrupted
700         flag instead of testing and throwing an InterruptedIOException
701         if set.
702         (accept): Likewise + changed case of SocketTimeoutException
703         text.
704         (write): Likewise (for both overloads).
705         (doRead): Likewise.
706
707 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
708
709         * win32.cc (WSAEventWrapper): Implemented default
710         constructor and init() methods.
711         (_Jv_select): Removed.
712         * gnu/java/nio/natSelectorImplWin32.cc
713         (helper_put_filedescriptors): Removed.
714         (helper_get_filedescriptors): Removed.
715         (implSelect): Implemented in terms of WSAEventWrapper
716         and WSAWaitForMultipleEvents instead of _Jv_select().
717         Added support for thread interruption.
718         * include/win32.h (WSAEventWrapper): Minor formatting
719         changes; added default constructor declaration, init(),
720         getFD() and getEventHandle() methods.
721         (_Jv_select): Removed.
722
723 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
724
725         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
726         (peekData): Throw SocketTimeoutException instead of
727         InterruptedIOException on timeout.
728         (receive): Likewise.
729         * gnu/java/net/natPlainSocketImplPosix.cc
730         (read): Made a minor exception text case change.
731
732 2003-12-16  Michael Koch  <konqueror@gmx.de>
733
734         Fix for PR libgcj/13056.
735         * libltdl/configure.in,
736         libltdl/config.h.in: Removed.
737         * libltdl/configure.ac,
738         libltdl/config-h.in,
739         libltdl/install-sh,
740         libltdl/config.guess,
741         libltdl/config.sub,
742         libltdl/missing,
743         libltdl/mkinstalldirs,
744         libltdl/ltmain.sh: New files.
745         * libltdl/Makefile.am,
746         libltdl/acinclude.m4,
747         libltdl/aclocal.m4,
748         libltdl/ltdl.c,
749         libltdl/ltdl.h,
750         libltdl/README: Update to versions from libtool 1.5.
751         libltdl/configure,
752         * libltdl/Makefile.in: Regenerated.
753         * java/lang/natRuntime.cc (find_symbol):
754         Use type 'lt_ptr' instead of 'lt_ptr_t'.
755
756 2003-12-16  Michael Koch  <konqueror@gmx.de>
757
758         * java/awt/MenuComponent.java
759         (serialVersionUID): Fixed value.
760
761 2003-12-16  Fernando Nasser  <fnasser@redhat.com>
762
763         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
764         (pre_event_handler): Handle GtkButton widgets differently as events
765         go to its event_window.
766         (connect_awt_hook): Remove compiler warning.
767
768 i2003-12-16  Guilhem Lavaux <guilhem@kaffe.org>
769
770         * java/io/ObjectInputStream.java
771         (lookupClass): New method.
772         (currentLoader): New method.
773         (inputGetObjectStreamClasses): New method.
774         (assignNewHandle): Documented.
775         (currentClassLoader): Documented.
776         * java/io/ObjectStreamClass.java
777         (setClass): Changed API. Better handling of the imported/exported
778         fields.
779         (getSerialPersistentFields): Make it throw previously caught exceptions
780         so they can handled in setClass.
781
782 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
783  
784         * java/io/ObjectStreamField.java: A few methods were added in prevision
785         of the upcoming upgrade of the serialization code. This also adds
786         some missing documentation.
787         (ObjectStreamField): We should throw a NullPointerException when 'name'
788         is null.
789
790  2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
791   
792         * java/io/ObjectInputStream.java (setBooleanField):
793         Throw an InvalidClassException if the field hasn't the required type,
794         documentation added.
795         (setByteField) Likewise.
796         (setCharField) Likewise.
797         (setDoubleField) Likewise.
798         (setFloatField) Likewise.
799         (setIntField) Likewise.
800         (setShortField) Likewise.
801         (setLongField) Likewise.
802         (setObjectField) Likewise.
803
804 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
805            Helmer Kraemer <hkraemer@freenet.de>
806  
807         * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
808         Splitted the method so we can specify an explicit boot loader.
809
810 2003-12-15  Graydon Hoare  <graydon@redhat.com>
811
812         * jni/gtk-peer/gdkfont.h: New file.
813         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
814         include of cairo-xlib.h, add extra gdk_flush().
815
816 2003-12-12  Fernando Nasser  <fnasser@redhat.com>
817
818         * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
819         native state table -- native_global_ref_table.
820         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
821         native_global_ref_table pointer.
822         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
823         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
824         global reference is deleted and memory allocated for pointer freed.
825         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
826         JNI global reference instead of JNI local reference.
827         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
828         (pre_event_handler): Remove compilation warning.
829         (connect_awt_hook): Use saved JNI global reference instead of creating
830         a new one.
831         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
832         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
833         reference to the Java object.
834         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
835         unused variable declaration and add comment.
836         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
837         (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
838         reference to the Java object.
839         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
840         (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
841         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
842         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
843         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
844         JNI global reference instead of JNI local reference.
845         (item_toggled): Add debug statement.
846         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
847         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
848         reference to the Java object.
849         (connect_choice_item_selectable_hook): Use saved JNI global references
850         instead of JNI local reference.
851         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
852         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
853         global reference to the Java object.
854         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
855         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
856         reference to the Java object.
857         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
858         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
859         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
860         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
861         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
862         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
863         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
864         (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
865         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
866         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
867         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
868         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
869         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
870         (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
871         (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
872         JNI global reference instead of JNI local reference.
873         (item_selected): Add debug statement.
874         (item_unselected): Add debug statement.
875         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
876         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
877         reference to the Java object.
878         Connect "activate" signal handler using global JNI reference.
879         (connect_activate_hook): Removed in favor of inline code.
880         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
881         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
882         reference to the Java object.
883         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
884         JNI global reference instead of JNI local reference.  Add FIXME comment.
885         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
886         reference to the Java object.  Add FIXME comment.
887         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
888         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
889         reference to the Java object.
890         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
891         JNI global reference instead of JNI local reference.
892         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
893         (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
894         saved JNI global reference instead of JNI local reference.
895         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
896         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
897         reference to the Java object.
898         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
899         JNI global reference instead of JNI local reference.
900
901 2003-12-11  Michael Koch  <konqueror@gmx.de>
902
903         * java/text/Format.java (serialVersionUID): Fixed value.
904
905 2003-12-11  Michael Koch  <konqueror@gmx.de>
906
907         * javax/naming/event/EventDirContext.java: Jalopied.
908         (addNamingListener): Fixed typo in method name.
909         
910
911 2003-12-11  Mohan Embar  <gnustuff@thisiscool.com>
912
913         * gnu/java/nio/SocketChannelImpl.java
914         (write): Removed diagnostic trace.
915         * gnu/java/nio/natSelectorImplPosix.cc: Added
916         includes for java.lang.Thread and java.io.InterruptedIOException.
917         (helper_put_filedescriptors): Don't put invalid file descriptors
918         in select set.
919         (helper_get_filedescriptors): Clear invalid file descriptors
920         from select set.
921         (helper_reset): New method for clearing our file descriptor
922         array.
923         (implSelect): Correctly calculate timeout if specified and
924         legal.
925         Intercept and deal with any java.io.InterruptedIOException
926         thrown by _Jv_select().
927
928 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
929
930         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
931         Most coded moved to pre_event_handler, with the modifications
932         mentioned below.
933         (pre_event_handler): New function.  Called on the Gtk "event" signal.
934         Do not retrieve the jobject from the window property as it is already
935         available as user data in the signal.
936         Do not try and find the grab widget as it is already done by Gtk at
937         this point.
938         Do not search for Window ancestor as Gtk already sends the signal to it.
939         Do not meddle with the activation state of peer widgets on each
940         key press or release.
941         Add CList to the special handling when looking for the focused widget.
942         * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
943         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
944         New function.
945         (connectSignals): New function.
946         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
947         Rename to...
948         (connectSignals): New name.  Get rid of NewGlobalRef call.
949         Use g_signal_connect instead of deprecated gtk_signal_connect.
950         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
951         (connect_choice_item_selectable_hook): Use g_signal_connect instead of
952         deprecated gtk_signal_connect.
953         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
954         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
955         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
956         (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
957         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
958         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
959         function.
960         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
961         function.
962         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
963         function.
964         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
965         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
966         function.
967         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
968         function.
969         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
970         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
971         function.
972         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
973         function.
974         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
975         function.
976         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
977         code.
978         (item_select): Remove indirection.
979         (item_unselect): Ditto.
980         (connect_selectable_hook): Folded into connectSignals.
981         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
982         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
983         function.
984         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
985         function.
986         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
987         function.
988         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
989         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
990         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
991         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
992         function.
993         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
994         function.
995         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare  and call
996         connectJObject and connectSignals instead of connectHooks.
997         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
998         connectSignals.
999         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
1000         and not connectHooks.
1001         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
1002         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
1003         and not connectHooks.
1004         * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
1005         connectSignals instead of connectHooks.
1006         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
1007         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
1008         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto. 
1009
1010 2003-12-09  Michael Koch  <konqueror@gmx.de>
1011
1012         * Makefile.am (nat_headers_install): New variable with header files to
1013         install automatically.
1014         (install-data-local): Install all headers listed in
1015         nat_headers_install. Install innert nat headers explicitely.
1016         * Makefile.in: Regenerated.
1017
1018 2003-12-09  Michael Koch  <konqueror@gmx.de>
1019
1020         * java/util/Calendar.java,
1021         java/util/IdentityHashMap.java,
1022         java/util/prefs/Preferences.java:
1023         Import used classes explicitely.
1024
1025 2003-12-09  Michael Koch  <konqueror@gmx.de>
1026
1027         * java/net/DatagramSocket.java
1028         (close): Directly return if socket is closed.
1029         * java/net/ServerSocket.java
1030         (close): Directly return if socket is closed.
1031         * java/net/Socket.java
1032         (close): Directly return if socket is closed.
1033
1034 2003-12-09  Michael Koch  <konqueror@gmx.de>
1035
1036         * gnu/java/nio/SelectorImpl.java
1037         (implSelect): Throws IOException.
1038         (select): Likewise.
1039
1040 2003-12-08  Kim Ho  <kho@redhat.com>
1041
1042         Fix for Checkbox states.
1043         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
1044         (currentState): New field.
1045         (nativeCreate): Add initial state parameter.
1046         (create): Changed to reflect new parameter.
1047         (setState): Fire only on changed states.
1048         (postItemEvent): Fire only on changed states. Also change the 
1049         Java Checkbox to reflect new state.
1050         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
1051         (nativeCreate): Add parameter and set active state.
1052
1053 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1054  
1055         * java/awt/datatransfer/StringSelection.java (getTransferData): Return
1056         object of type expected by specified DataFlavor.
1057
1058 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1059  
1060         * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
1061         error which was clipping off the first character of a parameter value.
1062
1063 2003-12-08  Olga Rodimina <rodimina@redhat.com>
1064
1065         * java/awt/Polygon.java
1066         (translate): Fixed error that caused polygon 
1067         to move right/left when up/down translation was required.
1068         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
1069         (getSelectionStart): Initialized start position to 0. 
1070         (getSelectionEnd): Initialized end position to 0.
1071         (getCaretPosition): Initialized caret position to 0.
1072         (getText): Initialized selected text to NULL 
1073
1074 2003-12-08  Michael Koch  <konqueror@gmx.de>
1075
1076         Fix for PR libgcj/13176.
1077         * java/io/PrintStream.java: Partly revert my previous patches to get
1078         (line_separator): New field.
1079         (converter): New field.
1080         (work): New field.
1081         (work_bytes): New field.
1082         (pw): Removed.
1083         (closed): Removed.
1084         (PrintStrean): Initialize converter and not pw.
1085         (checkError): Flush always, pw doesn't exist anymore.
1086         (close): Close underlying out stream.
1087         (print): New method.
1088         (writeChars): New method.
1089         (print): Use new internal print method.
1090         (println): Likewise.
1091
1092 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1093
1094         * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
1095         putAllInternal.
1096         (putAllInternal): Correct comment.
1097         * java/util/HashMap.java (HashMap(Map)): As above.
1098         (putAllInternal): As above.
1099
1100 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1101
1102         * java/util/Hashtable.java (internalContainsValue): Removed.
1103         (containsValue): Don't delegate to internalContainsValue.
1104
1105 2003-12-06  Michael Koch  <konqueror@gmx.de>
1106
1107         * javax/naming/directory/Attribute.java,
1108         javax/naming/directory/Attributes.java,
1109         javax/naming/directory/DirContext.java,
1110         javax/naming/directory/InitialDirContext.java,
1111         javax/naming/directory/SearchResult.java,
1112         javax/naming/event/EventContext.java,
1113         javax/naming/event/NamingEvent.java,
1114         javax/naming/event/NamingExceptionEvent.java,
1115         javax/naming/ldap/ControlFactory.java,
1116         javax/naming/ldap/ExtendedRequest.java,
1117         javax/naming/ldap/HasControls.java,
1118         javax/naming/ldap/InitialLdapContext.java,
1119         javax/naming/ldap/LdapContext.java,
1120         javax/naming/ldap/LdapReferralException.java,
1121         javax/naming/ldap/UnsolicitedNotification.java,
1122         javax/naming/ldap/UnsolicitedNotificationListener.java,
1123         javax/naming/spi/DirObjectFactory.java,
1124         javax/naming/spi/DirStateFactory.java,
1125         javax/naming/spi/DirectoryManager.java,
1126         javax/naming/spi/NamingManager.java,
1127         javax/naming/spi/ObjectFactoryBuilder.java,
1128         javax/naming/spi/ResolveResult.java,
1129         javax/naming/spi/Resolver.java,
1130         javax/naming/spi/StateFactory.java:
1131         Import used classes explicitely.
1132
1133 2003-12-05  Scott Gilbertson  <scottg@mantatest.com>
1134
1135         * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
1136         (clip): Removed field
1137         (clipRectangles): New field.
1138         (clone): Use new updateClip.
1139         (setClipRectangles): Use new updateClip.
1140         * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
1141
1142 2003-12-04  Michael Koch  <konqueror@gmx.de>
1143
1144         * java/io/FilePermission.java:
1145         Import used classes explicitely.
1146
1147 2003-12-04  Michael Koch  <konqueror@gmx.de>
1148
1149         * java/beans/BeanDescriptor.java,
1150         java/beans/EventSetDescriptor.java,
1151         java/beans/FeatureDescriptor.java,
1152         java/beans/IndexedPropertyDescriptor.java,
1153         java/beans/Introspector.java,
1154         java/beans/MethodDescriptor.java,
1155         java/beans/PropertyDescriptor.java,
1156         java/beans/SimpleBeanInfo.java: Explicitely import used classes.
1157         * java/beans/beancontext/BeanContextServicesSupport.java
1158         (serialVersionUID): New field.
1159
1160 2003-12-04  Michael Koch  <konqueror@gmx.de>
1161
1162         * java/awt/MenuComponent.java: Import java.io.Serialization.
1163         * java/awt/MenuItem.java: Likewise.
1164         * java/awt/TextComponent.java: Likewise.
1165         * java/awt/image/ImagingOpException.java
1166         (serialVersionUID): Fixed.
1167
1168 2003-12-04  Michael Koch  <konqueror@gmx.de>
1169
1170         * gnu/java/net/protocol/http/Connection.java
1171         (sendRequest): Merged writing http headers with classpath.
1172         (getInputStream): Merged documentation from classpath.
1173         (getHeaderField): Likewise.
1174         (getHeaderFieldKey): Likewise.
1175
1176 2003-12-04  Michael Koch  <konqueror@gmx.de>
1177
1178         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
1179
1180 2003-12-04  Michael Koch  <konqueror@gmx.de>
1181
1182         * java/net/DatagramPacket.java
1183         (length): Made packge-private to make it accessible via CNI.
1184         (maxlen): New field.
1185         (DatagramPacket): Cleaned up.
1186         (setSocketAddress): Add message to exception.
1187         (setData): Call other setData().
1188         (setData): Call setLength().
1189         (setLength): Initialize maxlen too.
1190         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
1191         Get maximal length from maxlen field, set length field directly.
1192         (receive): Likewise.
1193         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1194         Get maximal length from maxlen field, set length field directly.
1195         (receive): Likewise.
1196
1197 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
1198
1199         * gnu/java/nio/natSelectorImplPosix.cc
1200         (implSelect): A timeout of 0 means an infinite
1201         timeout.
1202
1203 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1204  
1205         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1206         of ActionEvents.
1207
1208 2003-12-03  Michael Koch  <konqueror@gmx.de>
1209
1210         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
1211         * java/lang/natClass.cc (getSigners): Likewise.
1212         (setSigners): Likewise.
1213
1214 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
1215
1216         * configure.in: Added new MinGW-specific configure flag
1217         --with-win32-nlsapi.
1218         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
1219         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
1220         is set to unicows.
1221         * configure: Rebuilt.
1222         * include/config.h.in: Rebuilt.
1223         * win32.cc (_Jv_Win32NewString): Implemented.
1224         (nativeToUnicode): New helper function defined only for
1225         non-UNICODE builds.
1226         (unicodeToNative): Likewise.
1227         (_Jv_Win32TempString): Implemented.
1228         (lots): Refactored using tchar.h macros.
1229         (WSAEventWrapper): Use _Jv_Win32NewString.
1230         (_Jv_platform_initialize): Use GetModuleFileNameA instead
1231         of GetModuleFileName.
1232         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
1233         Use temporary stack buffer instead of a heap buffer.
1234         * include/win32.h
1235         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
1236         defined; added tchar.h include.
1237         (_Jv_Win32TempString): Declared new helper class.
1238         (JV_TEMP_STRING_WIN32): New helper macro.
1239         (_Jv_Win32NewString): Declared new helper method.
1240         * java/io/natFileDescriptorWin32.cc (open): Use
1241         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1242         (write): Reformatted slightly.
1243         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
1244         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1245         (getCanonicalPath): Use _Jv_Win32NewString instead of
1246         JvNewStringUTF.
1247         (performList): Likewise.
1248         * java/lang/natWin32Process.cc (ChildProcessPipe):
1249         Use tchar.h macros.
1250         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
1251         and UNICODE environment flag for CreateProcess.
1252         * java/net/natNetworkInterfaceWin32.cc
1253         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
1254         _Jv_Win32NewString.
1255
1256 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
1257
1258         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1259         (initState): Mark obj parameter as unused.
1260         (stringWidth): Mark obj parameter as unused.  Initialize
1261         font_name properly.
1262
1263         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
1264         BufferedImageBuilder class static.
1265
1266 2003-12-02  Mark Wielaard  <mark@klomp.org>
1267
1268         * java/security/Security.java: Don't use &nbsp; in the api doc.
1269
1270 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1271
1272         Reported by: Jim Pick <jim@kaffe.org>
1273         * libraries/javalib/java/util/Hashtable.java
1274         (internalcontainsValue): New method.
1275         (contains): Delegate to internalContainsValue.
1276         
1277         Reported by: Mark Wielaard  <mark@klomp.org>
1278         * libraries/javalib/java/util/Hashtable.java
1279         (contains): Improved comment.
1280         
1281         Reported by: Jeroen Frijters  <jeroen@frijters.net>
1282         * libraries/javalib/java/util/Hashtable.java
1283         (containsValue): Delegate to contains(Object) to make sure older
1284         code overwriting it continues to work.
1285
1286 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1287
1288         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
1289         method. Handle mouse and key events that must generate
1290         ActionEvents.
1291         * java/awt/List.java (getSelectedIndex): Return -1
1292         if no list element is selected.
1293         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1294         Correct handling of mouse and key events so that List receives them.
1295         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1296         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
1297         multiple list elements. 
1298
1299 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1300
1301         * java/text/SimpleDateFormat.java (compileFormat):
1302         isLowerCase() and isUpperCase() allow too many characters.
1303         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
1304
1305 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1306
1307         * java/text/FieldPosition.java (equals): Fixed comment.
1308
1309 2003-12-02  Mark Wielaard  <mark@klomp.org>
1310
1311         Reported by Archie Cobbs:
1312         * java/security/DigestInputStream.java (read(byte[], int, int): Call
1313         digest.update() with temp, not len as lenght.
1314
1315 2003-12-02  Michael Koch  <konqueror@gmx.de>
1316
1317         * java/net/DatagramSocket.java
1318         (close): Close associated DatagramChannel object.
1319         * java/net/ServerSocket.java
1320         * java/net/Socket.java
1321         (close): Reset impl and bound before calling getChannel().close() to
1322         prevent from loops.
1323
1324 2003-12-02  Michael Koch  <konqueror@gmx.de>
1325
1326         * java/nio/channels/spi/AbstractInterruptibleChannel.java
1327         (opened): Removed.
1328         (closed): New field.
1329         (close): Check of channel is closed already.
1330         (isOpen): Return !closed.
1331
1332 2003-12-02  Michael Koch  <konqueror@gmx.de>
1333
1334         * gnu/java/nio/DatagramChannelImpl.java
1335         (blocking): Initialize with true by default.
1336         * gnu/java/nio/ServerSocketChannelImpl.java
1337         (serverSocket): Made private.
1338         (blocking): Likewise.
1339         (connected): Likewise.
1340         * gnu/java/nio/SocketChannelImpl.java
1341         (connectionPending): Made private.
1342         * gnu/java/nio/FileLockImpl.java
1343         (static): Load native library (needed for classpath).
1344         * gnu/java/nio/SelectorImpl.java
1345         (static): Load native library (needed for classpath).
1346
1347 2003-12-02  Michael Koch  <konqueror@gmx.de>
1348
1349         * gnu/java/net/protocol/file/Connection.java
1350         (getLastModified): Implement for file connections.
1351         (getContentLength): Likewise.
1352
1353 2003-12-02  Michael Koch  <konqueror@gmx.de>
1354
1355         * gnu/java/net/protocol/file/Connection.java:
1356         Some reformating.
1357         (file): Renamed from fileIn.
1358         (getPermission): Moved around.
1359
1360 2003-12-02  Michael Koch  <konqueror@gmx.de>
1361
1362         * gnu/java/net/protocol/jar/Connection.java
1363         (Connection): Made class final, merged documentation with classpath.
1364         (file_cache): Made private.
1365         (jar_file): Renamed from jarfile.
1366
1367 2003-12-02  Michael Koch  <konqueror@gmx.de>
1368
1369         * gnu/java/net/protocol/http/Connection.java
1370         (Connection): Initialize doOutput to false;
1371         (connect): Initialize inputStream, moved "send request" code to new
1372         method.
1373         (sendRequest): New method.
1374         (getHttpHeaders): Don't reinitialize inputStream.
1375
1376 2003-12-02  Michael Koch  <konqueror@gmx.de>
1377
1378         * gnu/java/net/protocol//http/Connection.java
1379         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
1380         (requestProperties): Initialize, documentation added.
1381         (inputStream): Renamed from bufferedIn.
1382         (Connection): Dont initialize requestProperties.
1383         (setDefaultRequestProperty): Removed.
1384         (getDefaultRequestProperty): Removed.
1385         (usingProxy): Documentation added.
1386         (getHttpHeaders): Likewise.
1387
1388 2003-12-02  Michael Koch  <konqueror@gmx.de>
1389
1390         * java/text/DateFormat.java:
1391         Explicitely import used classes.
1392
1393 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
1394
1395         * verify.cc (state::clean_subrs): Clear seen_subrs.
1396         (state::copy): Walk seen_subrs from copy, not `this'.
1397         Don't clear seen_subrs.
1398
1399 2003-12-01  Kim Ho <kho@redhat.com>
1400
1401         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
1402         Disable wrapping if TextArea has horizontal scroll bars.
1403
1404 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1405
1406         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1407         (awt_event_handler): Hard-code inset values.
1408
1409         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
1410         Pass font name, not XLFD, to initState.
1411         (stringWidth(String, int, String)): New method.
1412         (stringWidth(String)): Call new stringWidth.
1413         (getLeading): Always return 0.
1414         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1415         (initState): New Pango implementation.
1416         (stringWidth): Likewise.
1417
1418 2003-12-01  Olga Rodimina <rodimina@redhat.com>
1419
1420         * java/awt/TextComponent.java:
1421         (getSelectionStart): Updated javadocs.
1422         (getSelectionEnd): Ditto.
1423         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
1424         (getSelectionStart): Changed to return caret position if no
1425         text is selected
1426         (getSelectionEnd): Ditto.
1427
1428 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1429
1430         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
1431         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
1432         gnu/awt/gtk/GtkContainerPeer.java,
1433         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
1434         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
1435         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
1436         gnu/awt/gtk/natGtkComponentPeer.cc,
1437         gnu/awt/gtk/natGtkContainerPeer.cc,
1438         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
1439         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
1440         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
1441
1442         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1443         (closed): Mark loader parameter as unused.
1444
1445 2003-12-01  Michael Koch  <konqueror@gmx.de>
1446
1447         * gnu/java/net/protocol/http/Connection.java
1448         (Connection): Merged class documentation.
1449         (socket): Renamed from sock.
1450         (Connection): Made protected, documentation added.
1451         (connect): Give URL'S host instead of InetAddress to Socket
1452         constructor.
1453         (disconnect): Documentation added.
1454         (getOutputStream): Rewrapped.
1455
1456 2003-12-01  Michael Koch  <konqueror@gmx.de>
1457
1458         * gnu/java/net/protocol/file/Connection.java
1459         (fileIn): Documentation added.
1460         (inputStream): Likewise.
1461         (outputStream): Likewise.
1462         (Connection): Likewise.
1463         (connect): Simplified.
1464
1465 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1466
1467         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
1468         setProperties): Check that io is not null before calling
1469         io.imageUpdate.
1470         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
1471         Update javadocs.
1472         * java/awt/image/PixelGrabber.java: Fix implementation and
1473         update javadocs.
1474
1475 2003-12-01  Michael Koch  <konqueror@gmx.de>
1476
1477         * gnu/java/net/natPlainSocketImplPosix.cc
1478         bind(): Dont set SockedImpl.address field on succesful bind.
1479         * gnu/java/net/natPlainSocketImplWin32.cc
1480         bind(): Likewise.
1481
1482 2003-11-30  Jeff Sturm <jsturm@one-point.com>
1483
1484         * java/net/InetAddress.java:
1485         (static): Don'f force DNS request for ANY_IF address.
1486
1487 2003-11-30  Michael Koch  <konqueror@gmx.de>
1488
1489         * java/net/InetAddress.java,
1490         java/net/natInetAddressNoNet.cc,
1491         java/net/natInetAddressPosix.cc,
1492         java/net/natInetAddressWin32.cc:
1493         Reverted my last patch.
1494
1495 2003-11-28  Michael Koch  <konqueror@gmx.de>
1496
1497         * java/net/InetAddress.java
1498         (lookup): New method that doesnt lookup "0.0.0.0".
1499         (ImplLookup): Renamed from lookup.
1500         * java/net/natInetAddressNoNet.cc
1501         (ImplLookup): Renamed from lookup.
1502         * java/net/natInetAddressPosix.cc
1503         (ImplLookup): Renamed from lookup.
1504         * java/net/natInetAddressWin32.cc
1505         (ImplLookup): Renamed from lookup.
1506
1507 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1508
1509         * configure: Rebuilt.
1510         * configure.in: Require gtk and glib 2.2.0.
1511
1512 2003-11-27  Dalibor Topic <robilad@kaffe.org>
1513
1514         * java/text/FieldPosition.java (equals): Adapted to handle
1515         field_attribute. Added fast-circuit check for comparison to self.
1516         Replaced use of instanceof by getClass to fix symmetry for derived
1517         types.
1518         (toString): Adapted to handle field_attribute. Improved readability.
1519         (hashCode): New method.
1520
1521 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1522
1523         * java/text/FieldPosition.java (field_attribute): New field.
1524         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
1525         getFieldAttribute): New methods.
1526
1527 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1528
1529         * java/text/DecimalFormatSymbols.java (locale): New field.
1530         (DecimalFormatSymbols (Locale)): Set locale.
1531         (serialVersionOnStream): Upgraded to number 2.
1532         (readObject): Assign locale if it wasn't by the serializer.
1533
1534 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1535
1536         * java/text/FormatCharacterIterator.java: Documented the class and
1537
1538 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1539
1540         * java/text/FormatCharacterIterator.java: Fixed some typos.
1541
1542 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1543
1544         * java/text/NumberFormat.java:
1545         (getIntegerInstance) Added the java version in the comments.
1546
1547 2003-11-27  Mark Wielaard  <mark@klomp.org>
1548
1549         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
1550         (readResolve): Reformat.
1551
1552 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1553
1554         * java/text/NumberFormat.java
1555         (NumberFormat.Field): New implemented class to match Java 1.4. 
1556         (getIntegerInstance): Two new Java 1.4 methods.o
1557
1558 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1559
1560         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
1561         the leap day of the leap year twice.
1562         (computeFields): First week of month is 1 not 0.
1563
1564 2003-11-27  Mark Wielaard  <mark@klomp.org>
1565
1566         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
1567         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
1568
1569 2003-11-27  Michael Koch  <konqueror@gmx.de>
1570
1571         * javax/swing/UIDefaults.java:
1572         Reformated to match classpath's version.
1573
1574 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
1575
1576         * javax/swing/UIManager.java (getDefaults, getDimension,
1577         getIcon, getInsets, getInstalledLookAndFeels, getInt,
1578         getLookAndFeel, getString, getSystemLookAndFeelClassName):
1579         Declare as public.
1580
1581 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1582
1583         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
1584         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
1585         isSignificant): Likewise.
1586
1587 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1588
1589         * javax/swing/undo/CompoundEdit.java: Re-format, document.
1590         (inProgress): Set initial value to true.
1591         (undo, redo, die, canUndo, canRedo): Also call inherited
1592         implementation; simplify code structure.
1593         (getPresentationName, getUndoPresentationName,
1594         getRedoPresentationName): Make behavior dependent on lastEdit.
1595         (addEdit, isSignificant): Completely re-written.
1596
1597 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1598
1599         * javax/swing/undo/StateEdit.java: Re-format, document.
1600         (undo, redo): Also call inherited implementation.
1601
1602 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1603
1604         * javax/swing/undo/StateEditable.java: Re-format, document.
1605
1606 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1607
1608         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
1609         (AbstractUndoableEdit): Initialize hasBeenDone to true.
1610         (canUndo, canRedo): Simplify.
1611         (getUndoPresentationName, getRedoPresentationName): Support
1612         localized message; call getPresentationName() only once.
1613
1614 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
1615
1616         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
1617         (ZipFile(File,int)): Likewise.
1618
1619 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
1620
1621         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
1622         (putAllInternal): Likewise.
1623         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
1624         (putAllInternal): Likewise.
1625
1626 2003-11-26  Michael Koch  <konqueror@gmx.de>
1627
1628         * java/net/URLStreamHandler.java
1629         (parseURL): Added comment in catch statement.
1630         (canonicalizeFilename): Add documentation.
1631         (sameURL): Completed documentation.
1632         (equals): Likewise.
1633         (hostsEqual): Likewise.
1634         (getDefaulPort): Likewise.
1635         (hashCode): Likewise.
1636         (toExternalForm): Likewise.
1637         (getHostName): Fix empty hostname check, completed documentation.
1638
1639 2003-11-26  Tom Tromey  <tromey@redhat.com>
1640
1641         * java/lang/natDouble.cc (parseDouble): Reverted patch of
1642         2003-11-13.
1643
1644 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
1645             Mark Wielaard  <mark@klomp.org>
1646
1647         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
1648         ('@' should be checked to distinguish port from userinfo).
1649         (toExternalForm): Add @ userInfo if necessary.
1650
1651
1652 2003-11-26  Michael Koch  <konqueror@gmx.de>
1653
1654         * java/net/DatagramSocket.java
1655         (DategramSocket, bind): Moved binding code from DatagramSocket
1656         constructor to bind method.
1657
1658 2003-11-26  Michael Koch  <konqueror@gmx.de>
1659
1660         * java/net/DatagramSocket.java
1661         (impl): Made private.
1662         (bound): New private member variable.
1663         (DatagramSocket): Fixed documentation, use getImpl().
1664         (getImpl): New package-private method.
1665         (isClosed): Use getImpl().
1666         (getLocalAddress): Completed documentation, use getImpl().
1667         (getLocalPort): Use getImpl().
1668         (getSoTimeout): Likewise.
1669         (setSoTimeout): Likewise.
1670         (getSendBufferSize): Likewise.
1671         (setSendBufferSize): Likewise.
1672         (getReceiveBufferSize): Likewise.
1673         (setReceiveBufferSize): Likewise.
1674         (connect): Likewise.
1675         (disconnect): Likewise.
1676         (receive): Likewise.
1677         (send): Likewise.
1678         (setReuseAddress): Likewise.
1679         (setTrafficClass): Likewise.
1680         (bind): Added message to exception.
1681         (isClosed): Completed documentation.
1682         (getChannel): Likewise.
1683         (connect): Added missing exception, refined exception message.
1684         (isBound): Completed documentation, just return bound.
1685         (isConnected): Completed documentation.
1686         (getRemoteSocketAddress): Likewise.
1687         (getReuseAddress): Completed documentation, use getImpl().
1688         (setSoBroadcast): Likewise.
1689         (getSoBroadcast): Likewise.
1690         (getTrafficClass): Likewise.
1691         (getLocalSocketAddress): Simplified.
1692         * java/net/MulticastSocket.java
1693         (MulticastSocket): Removed comment not applying anymore.
1694         (getInterface): Use getImpl().
1695         (getTTL): Likewise.
1696         (getTimeToLive): Likewise.
1697         (setInterface): Likewise.
1698         (setNetworkInterface): Likewise.
1699         (getNetworkInterface): Likewise.
1700         (setLoopback): Likewise.
1701         (getLoopback): Likewise.
1702         (setTTL): Likewise.
1703         (setTimeToLive): Likewise.
1704         (joinGroup): Likewise.
1705         (leaveGroup): Likewise.
1706         (send): Likewise.
1707
1708 2003-11-26  Michael Koch  <konqueror@gmx.de>
1709
1710         * java/net/Socket.java
1711         (implCreated): Dont set default value explicitely, added
1712         documentation.
1713         (inputShutdown): Likewise.
1714         (outputShutdown): Likewise.
1715         (bound): New private member variable.
1716         (bind): Set bound to true.
1717         (close): Set bound to false.
1718         (isBound): Return bound.
1719         * java/net/ServerSocket.java
1720         (bound): New private member variable.
1721         (bind): Set bound to true.
1722         (close): Set bound to false.
1723         (isBound): Return bound.
1724
1725 2003-11-26  Michael Koch  <konqueror@gmx.de>
1726
1727         * java/net/URL.java
1728         (URL): Fixed documentation to be HTML compliant.
1729         (getContent): Completed documentation.
1730         (getFile): Likewise.
1731         (getPath): Likewise.
1732         (getAuthority): Likewise.
1733         (getHost): Likewise.
1734         (getDefaultPort): Likewise.
1735         (getProtocol): Likewise.
1736         (hashCode): Likewise.
1737         (openConnection): Likewise.
1738         (openStream): Likewise.
1739         (set): Likewise.
1740         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
1741
1742 2003-11-26  Michael Koch  <konqueror@gmx.de>
1743
1744         * java/net/InetSocketAddress.java
1745         (hostname): Made private, added documentation.
1746         (addr): Likewise.
1747         (port): Likewise.
1748         (equals): Completed documentation.
1749         (getAddress): Likewise.
1750         (getHostName): Likewise.
1751         (getPort): Likewise.
1752         (hashCode): Likewise.
1753         (isUnresolved): Likewise.
1754         (toString): Likewise.
1755
1756 2003-11-26  Michael Koch  <konqueror@gmx.de>
1757
1758         * gnu/java/net/protocol/file/Handler.java
1759         (Handler): New explicit constructor.
1760         (openConnection): Added documentation.
1761         * gnu/java/net/protocol/jar/Handler.java
1762         (Handler): New explicit constructor.
1763         (openConnection): Added documentation.
1764
1765 2003-11-26  Michael Koch  <konqueror@gmx.de>
1766
1767         * java/net/DatagramPacket.java
1768         (DatagramPacket): Fixed documentation to become legal HTML.
1769
1770 2003-11-25  Michael Koch  <konqueror@gmx.de>
1771
1772         * gcj/javaprims.h: Added missing java.util.Currency.
1773
1774 2003-11-25  Michael Koch  <konqueror@gmx.de>
1775
1776         * testsuite/libjava.mauve/xfails:
1777         Removed these two tests, they mystically pass now:
1778         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
1779         test_params failed - 5getInetAddress did not return proper values
1780         (number 1)
1781         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
1782         test_BasicServer failed - 11 exception was thrown :Illegal seek
1783         (number 1)
1784
1785 2003-11-25  Michael Koch  <konqueror@gmx.de>
1786
1787         * java/net/DatagramSocket.java
1788         (factory): Made private.
1789         (closed): Removed.
1790         (DatagramSocket): Check impl argument, use constructor with
1791         SocketAddress argument.
1792         (close): Set impl to null, use isClosed().
1793         (isClosed): Check for impl == null.
1794         (getLocalAddress): Use isClosed().
1795         (getLocalPort): Check if socket is closed.
1796         (getSoTimeout): Likewise.
1797         (setSoTimeout): Likewise.
1798         (getSendBufferSize): Likewise.
1799         (setSendBufferSize): Likewise.
1800         (getReceiveBufferSize): Likewise.
1801         (setReceiveBufferSize): Likewise.
1802         (receive): Likewise.
1803         (send): Likewise.
1804         (bind): Likewise.
1805         (connect): Likewise.
1806         (setReuseAddress): Likewise.
1807         (getReuseAddress): Likewise.
1808         (setBroadcast): Likewise.
1809         (getBroadcast): Likewise.
1810         (setTrafficClass): Likewise.
1811         (getTrafficClass): Likewise.
1812         * java/net/MulticastSocket.java
1813         (getInterface): Check if socket is closed.
1814         (getTTL): Likewise.
1815         (getTimeToLive): Likewise.
1816         (setInterface): Likewise.
1817         (setNetworkInterface): Likewise.
1818         (getNetworkInterface): Likewise.
1819         (setLoopbackMode): Likewise.
1820         (setTTL): Likewise.
1821         (setTimeToLive): Likewise.
1822         (joinGroup): Likewise.
1823         (leaveGroup): Likewise.
1824         (send): Likewise.
1825         * java/net/ServerSocket.java
1826         (closed): Removed.
1827         (close): Check if socket is closed, set impl to null.
1828         (isClosed): Check impl == null;
1829         (ServerSocket): Check impl argument.
1830         (getInetAddress): Check if socket is bound.
1831         (getLocalPort): Likewise.
1832         (getLocalSocketAddress): Likewise.
1833         (bind): Check if socket is closed.
1834         (implAccept): Likewise.
1835         (setSoTimeout): Likewise.
1836         (getSoTimeout): Likewise.
1837         (setReuseAddress): Likewise.
1838         (getReuseAddress): Likewise.
1839         (setReceiveBufferSize): Likewise.
1840         (getReceiveBufferSize): Likewise.
1841         (toString): Make output compliant to JDK 1.4.2.
1842         * java/net/Socket.java
1843         (closed): Removed.
1844         (Socket): Fixed documentation.
1845         (connect): Check if socket is closed, changed exception text,
1846         fixed documentation.
1847         (getInputStream): Check of socket is closed  and connected.
1848         (getOutputStream): Likewise.
1849         (bind): Check if socket is closed.
1850         (setTcpNoDelay): Likewise.
1851         (getTcpNoDelay): Likewise.
1852         (setSoLinger): Likewise.
1853         (getSoLinger): Likewise.
1854         (sendUrgentData): Likewise.
1855         (setOOBInline): Likewise.
1856         (getOOBInline): Likewise.
1857         (setSoTimeout): Likewise.
1858         (getSoTimeout): Likewise.
1859         (setSendBufferSize): Likewise.
1860         (getSendBufferSize): Likewise.
1861         (setReceiveBufferSize): Likewise.
1862         (getReceiveBufferSize): Likewise.
1863         (setKeepAlive): Likewise.
1864         (getKeepAlive): Likewise.
1865         (close): Likewise.
1866         (shutdownInput): Likewise.
1867         (shutdownOutput): Likewise.
1868         (getReuseAddress): Likewise.
1869         (getTrafficClass): Likewise.
1870         (setTrafficClass): Likewise.
1871         (isClosed): Check impl == null.
1872         (toString): Added missing ']'.
1873
1874 2003-11-24  Tom Tromey  <tromey@redhat.com>
1875
1876         * Makefile.in: Rebuilt.
1877         * Makefile.am (propdir): New macro.
1878         (install-data-local): Install logging.properties.
1879         (core_java_source_files): Added java.util.logging.*.
1880         * java/util/logging/logging.properties: New file.
1881
1882 2003-11-25  Michael Koch  <konqueror@gmx.de>
1883
1884         * java/net/DatagramSocket.java
1885         (DatagramSocket): Move binding code to bind(), simplify constructors.
1886         * java/net/MulticastSocket.java
1887         (MulticastSocket): Call parent constructor with null argument,
1888         bind socket after setReuseAddress is called, simplify constructors.
1889
1890 2003-11-24  Michael Koch  <konqueror@gmx.de>
1891
1892         * javax/swing/BoxLayout.java
1893         (serialVersionUIR): New member variable.
1894         (X_AXIS, Y_AXIS): Documentation added.
1895         (LINE_AXIS, PAGE_AXIS): New constants.
1896         (grid): Renamed from gridbag.
1897         (BoxLayout): Use new constants, throw exception if invalid value for
1898         way, added documentation.
1899         (BoxLayout): Removed.
1900         (addLayoutComponent): Use new constants, added documentation.
1901         (removeLayoutComponent): Likewise.
1902         (addLayoutContainer): Added documentation.
1903         (preferredLayoutSize): Added documentation, check given argument.
1904         (minimumLayoutSize): Likewise.
1905         (layoutContainer): Likewise.
1906         (getLayoutAlignmentX): Likewise.
1907         (getLayoutAlignmentY): Likewise.
1908         (invalidateLayout): Likewise.
1909         (maximumLayoutSize): Likewise.
1910
1911 2003-11-22  Michael Koch  <konqueror@gmx.de>
1912
1913         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1914         (peekData): Use offset and maximal free space in datagram packet.
1915         (receive): Likewise.
1916         (send): Use offset in datagram packet.
1917
1918 2003-11-22  Michael Koch  <konqueror@gmx.de>
1919
1920         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1921         (peekData): Use offset and maximal free space in datagram packet.
1922         (receive): Likewise.
1923         (send): Use offset in datagram packet.
1924
1925 2003-11-22  Michael Koch  <konqueror@gmx.de>
1926
1927         * gnu/java/nio/DatagramChannelImpl.java
1928         (getNativeFD): Use getPlainDatagramSocketImpl().
1929         * gnu/java/nio/NIODatagramSocket.java
1930         (getPlainDatagramSocketImpl): Renamed from getImpl().
1931         * gnu/java/nio/NIOSocket.java
1932         (getPlainSocketImpl): Renamed from getImpl().
1933         (setChannel): Use getPlainSocketImpl().
1934         * gnu/java/nio/SocketChannelImpl.java
1935         (SocketChannelImpl): Use getPlainSocketImpl().
1936         (getPlainSocketImpl): Renamed from getImpl().
1937         (getNativeFD): Use getPlainSocketImpl().
1938
1939 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1940
1941         * javax/swing/JLayeredPane.java: Implement.
1942         * javax/swing/JFrame.java (getContentPane): Make public
1943         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
1944         Use JLayeredPane.FRAME_CONTENT_LAYER.
1945
1946 2003-11-21  Mark Wielaard  <mark@klomp.org>
1947
1948         * java/lang/Float.java (static): Removed.
1949
1950 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1951
1952         * java/awt/font/TextLayout.java: Implement simple layouts
1953         using attributed strings and glyph vectors.
1954
1955 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1956
1957         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
1958         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
1959         (GdkFontLineMetrics): New inner class.
1960         (getLineMetrics): Return new GdkFontLineMetrics.
1961         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
1962         (layoutGlyphVector): Create GdkGlyphVector.
1963         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
1964         (GdkGraphics2D): Initialize state via mathod calls.
1965         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
1966         (cairoTranslate, cairoScale, cairoRotate): Remove.
1967         (various methods): use setTransform for special transform cases.
1968         (DrawState): New inner class.
1969         (stateSave): New method.
1970         (stateRestore): New method.
1971         (various methods): use stateSave, stateRestore.
1972         (getClipInDevSpace): New method.
1973         (clip, clipRect, setClip, getClip, getClipBounds): 
1974         Follow spec more closely.
1975         (getTransform): Return clone of transform.
1976         (setStroke): Set linewidth to passed width / 2.0.
1977         (setPaintMode): Set SrcOver rather than Xor.
1978         (setColor): Set paint to passed color.
1979         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
1980         transform from image to user space.
1981         (drawRenderedImage, drawRenderableImage): Implement.
1982         (getFontRenderContext, getFontMetrics, drawString, getFont): 
1983         Implement
1984         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
1985         Implement.
1986         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
1987         Match changes to java side.
1988         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
1989         Release resources.
1990         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
1991         Don't use pango for metrics.
1992         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
1993         New file.
1994
1995 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
1996             Jim Pick  <jim@kaffe.org>
1997
1998         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
1999         methods.
2000
2001 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
2002
2003         * java/text/DecimalFormatSymbols.java (getCurrency,
2004         setCurrency): New methods.
2005
2006 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
2007
2008         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
2009         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
2010         Describe how the implementation works.
2011
2012 2003-11-19  Michael Koch  <konqueror@gmx.de>
2013
2014         * java/net/Socket.java
2015         (implCreated): New variable that indicates created impl.
2016         (getImpl): New method.
2017         (toString): Return more SUN compliant string representation.
2018         (various): Use getImpl() instead of impl.
2019
2020 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
2021
2022         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
2023         the right libgcc. Add -multiply_defined suppress and -bind_at_load
2024         flags.
2025
2026 2003-11-18  Tom Tromey  <tromey@redhat.com>
2027
2028         PR libgcj/13026:
2029         * verify.cc (state::copy): Only set local_changed if we're in a
2030         subroutine.  Correctly copy local variables which were modified
2031         by the subroutine.
2032         (push_jump_merge): Added more debugging output.
2033
2034         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
2035         is null.
2036
2037 2003-11-17  Graydon Hoare  <graydon@redhat.com>
2038
2039         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
2040         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
2041
2042 2003-11-16  Tom Tromey  <tromey@redhat.com>
2043
2044         PR libgcj/13062:
2045         * java/io/StreamTokenizer.java (commentChar): Clear other
2046         attributes for character.
2047         (quoteChar): Likewise.
2048
2049 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
2050
2051         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
2052         zero-length int arrays when layoutInfo is null.
2053         (getLayoutWeights): Return array of two zero-length double arrays when
2054         layoutInfo is null.
2055
2056 2003-11-13  Tom Tromey  <tromey@redhat.com>
2057
2058         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
2059         JvGetStringUTFRegion.
2060         * java/lang/natPosixProcess.cc (new_string): Pass length of string
2061         to JvGetStringUTFRegion.
2062         * java/lang/natDouble.cc (parseDouble): Pass length of string to
2063         JvGetStringUTFRegion.
2064         * java/lang/natWin32Process.cc (startProcess): Pass length of
2065         string to JvGetStringUTFRegion.
2066         * java/lang/natClass.cc (forName): Pass length of string to
2067         JvGetStringUTFRegion.
2068         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
2069         of string to JvGetStringUTFRegion.
2070         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
2071         JvGetStringUTFRegion.
2072         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
2073         to JvGetStringUTFRegion.
2074         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
2075         string to JvGetStringUTFRegion.
2076
2077 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
2078
2079         * gnu/java/nio/natSelectorImplPosix.cc
2080         (helper_put_filedescriptors): Change to static linkage.
2081         (helper_get_filedescriptors): Likewise.
2082
2083 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
2084
2085         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
2086         null check.
2087         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
2088         * java/awt/Component.java (prepareImage): Likewise.
2089
2090         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
2091         Rename to nativeSetAlignment.
2092
2093 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
2094
2095         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
2096         (JNI_GetCreatedJavaVMs): Likewise.
2097         (JNI_GetDefaultJavaVMInitArgs): Likewise.
2098         * include/jni.h (JNIIMPEXP): Remove definition
2099         and replace with...
2100         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
2101         symbols,
2102         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
2103
2104 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2105
2106         * Makefile.am: Add GdkPixbufDecoder.java and
2107         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
2108         * Makefile.in: Regenerate.
2109         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
2110         New constructor.
2111         (startProduction): Create ByteArrayInputStream when url and filename are
2112         null.
2113         (produce): Declare stream parameter as InputStream.
2114         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
2115         as InputStream.
2116         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
2117         (GdkPixbufDecoder(byte[],int,int)): New constructor.
2118         (produce): Declare stream parameter as InputStream.
2119         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
2120         if image is null.  Set image's observer before running PrepareImage
2121         thread.  Pass image to startProduction.
2122         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
2123         source's member functions.
2124         (observer): New field.
2125         (setObserver): New method.
2126         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
2127         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
2128         new GtkImage.
2129         (prepareImage): Implement.
2130         * java/awt/Component.java: Add static fields incrementalDraw and
2131         redrawRate.
2132         (imageUpdate): Implement.
2133         (createImage): Call Toolkit's createImage if peer is null.
2134         (prepareImage): Throw NPE if image is null.
2135         * java/awt/MediaTracker.java: Fix return value.
2136
2137 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2138
2139         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
2140         (create(String, float)): New method.
2141         (setText): Make native.
2142         (nativeSetAlignment): New method.
2143         (setAlignment): Call nativeSetAlignment.
2144         (getArgs): Remove method.
2145         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2146         (find_fg_color_widget, find_bg_color_widget): New functions.
2147         (gtkWidgetSetForeground): Call find_fg_color_widget.
2148         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
2149         prelight colors.
2150         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
2151         widget in event box.
2152         (setText, setAlignment): Implement new native methods.
2153
2154 2003-11-11  Michael Koch  <konqueror@gmx.de>
2155
2156         * java/awt/Font.java,
2157         java/awt/datatransfer/DataFlavor.java,
2158         java/math/BigInteger.java,
2159         java/net/Inet4Address.java,
2160         java/net/Inet6Address.java,
2161         java/rmi/MarshalledObject.java,
2162         java/rmi/server/RMIClassLoader.java,
2163         java/security/cert/CertStore.java,
2164         java/sql/Timestamp.java,
2165         java/text/SimpleDateFormat.java,
2166         javax/naming/CompoundName.java:
2167         Removed some redundant obj == null checks.
2168
2169 2003-11-11  Michael Koch  <konqueror@gmx.de>
2170
2171         * java/nio/ByteBuffer.java
2172         (equals): Remove redundant obj == null check.
2173
2174 2003-11-11  Michael Koch  <konqueror@gmx.de>
2175
2176         * gnu/java/nio/natPipeImpl.cc,
2177         gnu/java/nio/natSelectorImpl.cc: Removed
2178         * gnu/java/nio/natPipeImplEcos.cc,
2179         gnu/java/nio/natPipeImplPosix.cc,
2180         gnu/java/nio/natPipeImplWin32.cc,
2181         gnu/java/nio/natSelectorImplEcos.cc,
2182         gnu/java/nio/natSelectorImplPosix.cc,
2183         gnu/java/nio/natSelectorImplWin32.cc: New files
2184         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
2185         gnu/java/nio/natSelectorImpl.cc
2186         * configure: Regenerated.
2187
2188 2003-11-11  Micheal Koch  <konqueror@gmx.de>
2189
2190         * java/net/URLStreamHandler.java (toExternalForm): Print port only
2191         if host is printed too and port was really given to URL.
2192
2193 2003-11-10  Gary Benson  <gbenson@redhat.com>
2194
2195         * java/sql/Timestamp.java (valueOf): Correctly handle
2196         nanoseconds.
2197
2198 2003-11-09  Tom Tromey  <tromey@redhat.com>
2199
2200         * java/net/Inet4Address.java (serialVersionUID): Updated.
2201
2202 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2203
2204         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
2205         New fields.
2206
2207 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2208
2209         * java/io/ByteArrayOutputStream.java (resize):
2210         Fix off-by-one error.
2211
2212 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
2213
2214         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
2215         public.
2216
2217 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2218
2219         PR libgcj/12231
2220         * java/lang/Win32Process.java (hasExited) Changed from
2221         public to private.
2222         (startProcess): Likewise.
2223         (cleanup): Likewise.
2224         * java/lang/natWin32Process.cc (cleanup) Don't close
2225         input, output and error streams.
2226         (ChildProcessPipe): New helper class.
2227         (startProcess): Refactored to use ChildProcessPipe.
2228         Use CREATE_NO_WINDOW when launching child process.
2229
2230 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2231
2232         * include/win32.h (_Jv_platform_close_on_exec): Changed
2233         signature and declared extern.
2234         * win32.cc (_Jv_platform_close_on_exec): Implemented.
2235         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2236         (create): Use new signature of _Jv_platform_close_on_exec.
2237         * gnu/java/net/natPlainSocketImplWin32.cc 
2238         (create): Eliminated a few typecasts
2239         Use new signature of _Jv_platform_close_on_exec.
2240         (accept): Eliminated a few typecasts
2241         Use new signature of _Jv_platform_close_on_exec.
2242         * java/io/natFileDescriptorWin32.cc (open): Use
2243         _Jv_platform_close_on_exec.
2244
2245 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
2246
2247         * java/lang/natClass.cc (newInstance): Throw InstantiationException
2248         if class has no null-argument constructor.
2249
2250 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2251
2252         PR libgcj/12647:
2253         * win32-threads.cc (_Jv_CondWait): Respect mutex's
2254         refcount when releasing and reacquiring it.
2255
2256 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2257
2258         * win32.cc: (dirExists) Internal helper function to
2259         test for directory existence.
2260         (getUserHome) New helper function refactored out
2261         of _Jv_platform_initProperties. Uses USERPROFILE
2262         instead of HOMEDIR and attempts to support Win9X and NT.
2263         (_Jv_platform_initProperties) Use getUserHome.
2264
2265 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2266
2267         PR libgcj/11521:
2268         * gnu/java/net/natPlainSocketImplWin32.cc
2269         (bind): Don't use SO_REUSEADDR
2270
2271 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2272
2273         PR libgcj/6652:
2274         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
2275
2276 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
2277
2278         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
2279         dispatch for final methods.
2280
2281 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2282
2283         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
2284         word wrapping.
2285
2286 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
2287
2288         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
2289         scrolled window's size request.
2290
2291 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2292
2293         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
2294         * java/awt/geom/QuadCurve2D.java: Likewise.
2295
2296 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2297
2298         * java/awt/geom/CubicCurve2D.java: Added documentation.
2299         * java/awt/geom/QuadCurve2D.java: Likewise.
2300
2301         * java/awt/geom/doc-files/QuadCurve2D-4.png,
2302         java/awt/geom/doc-files/QuadCurve2D-5.png,
2303         java/awt/geom/doc-files/CubicCurve2D-4.png,
2304         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
2305
2306 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2307
2308         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
2309         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
2310         (subdivide(double[],int,double[],int,double[],int)): Implement.
2311
2312 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2313
2314         * java/awt/geom/doc-files/CubicCurve2D-1.png,
2315         java/awt/geom/doc-files/CubicCurve2D-2.png,
2316         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
2317
2318 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
2319
2320         * java/text/DecimalFormat.java
2321         (scanFormat) corrected so that '%' may appear in a pattern.
2322
2323 2003-10-29  Mark Wielaard  <mark@klomp.org>
2324
2325         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
2326         * java/text/DateFormat.java (Field): New public static inner class.
2327         * java/text/Format.java (Field): Likewise.
2328         (formatToCharacterIterator): New method.
2329         * java/text/FormatCharacterIterator.java: New file.
2330
2331 2003-10-29  Mark Wielaard  <mark@klomp.org>
2332
2333         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
2334         * java/util/Currency.java: New file.
2335
2336 2003-10-29  Michael Koch  <konqueror@gmx.de>
2337
2338         * Makefile.am (ordinary_java_source_files): Added
2339         java/text/FormatCharacterIterator.java and java/util/Currency.java.
2340         * Makefile.in: Regenerated.
2341
2342 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
2343
2344         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
2345         static methods.
2346
2347 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
2348
2349         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
2350         getObjectInstance() with Object, Name, Context and environment
2351         Hashtable from exception. Call fillInStackTrace() on exception when
2352         rethrown.
2353         * javax/naming/InitialContext.java (lookup(Name)): When a
2354         CannotProceedException is thrown use the ContinuationContext.
2355         (lookup(String)): Likewise.
2356         (close): Clear myProps and defaultInitCtx.
2357
2358 2003-10-29  Michael Koch  <konqueror@gmx.de>
2359
2360         * java/net/InetAddress.java
2361         (equals): Remove redundant obj == null check.
2362         * java/net/SocketPermission.java
2363         (equals): Likewise.
2364         * java/net/URL.java
2365         (equals): Likewise.
2366         (getURLStreamHandler): Likewise.
2367
2368 2003-10-29  Michael Koch  <konqueror@gmx.de>
2369
2370         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2371         (setOption): Directly return if no error occured.
2372         * gnu/java/net/natPlainSocketImplPosix.cc
2373         (setOption): Likewise.
2374
2375 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2376
2377         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
2378         vtable slot for final methods. Add FIXME comment.
2379
2380 2003-10-28  David S. Miller  <davem@redhat.com>
2381
2382         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
2383
2384 2003-10-26  Mark Wielaard  <mark@klomp.org>
2385
2386         Reported by Helmer Kraemer <hkraemer@freenet.de>
2387         * java/util/jar/JarInputStream.java (readManifest): Don't call
2388         closeEntry().
2389
2390         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
2391         (finish): Use inbufWrite().
2392         (write(int)): Likewise.
2393         (write(byte[],int,int)): Likewise.
2394
2395 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2396
2397         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
2398         Don't check for AccessibleObject. Update javadocs.
2399         
2400         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
2401
2402 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2403
2404         * java/lang/reflect/Constructor.java (toString): Avoid extra 
2405         whitespace on constructor with no modifiers.
2406         * java/lang/reflect/natConstructor.java (newInstance): Look up
2407         caller and perform accessibility check only if constructor is
2408         non-public and accessible flag is not set.
2409
2410 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2411
2412         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
2413         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
2414         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
2415         is_virtual_call argument.
2416         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
2417         natClass.cc.
2418         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
2419         _Jv_isVirtualMethod.
2420         * java/lang/reflect/natMethod.cc (invoke): Don't use 
2421         _Jv_LookupDeclaredMethod.
2422         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
2423         look up method in target object's vtable.
2424
2425 2003-10-25  Graydon Hoare  <graydon@redhat.com>
2426
2427         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
2428         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
2429         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
2430         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2431         New concrete implementation of ClasspathFontPeer, with native part.
2432         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2433         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2434         New class, with native part.
2435         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2436         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2437         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
2438
2439 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2440
2441         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
2442         on method with no modifiers.
2443
2444 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2445
2446         PR libgcj/11780:
2447         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
2448         accessibility check only if target is non-public and accessible flag
2449         is not set.
2450         * java/lang/reflect/natField.cc (getAddr): Likewise.
2451
2452 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
2453
2454         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
2455         Remove method.
2456         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
2457         New method.
2458         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
2459         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
2460         (dispose): Post WINDOW_CLOSED event.
2461         (addWindowFocusListener, addWindowStateListener): Assign result
2462         of multicaster add back to window listener.
2463         (removeWindowFocusListener, removeWindowStateListener): Assign
2464         result of multicaster remove back to window listener.
2465         (dispatchEventImpl): Add null checks for focus and state
2466         listeners.
2467         (processWindowEvent): Handle case where windowListener is null
2468         but state or focus listeners exist.
2469         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2470         glue for postWindowEvent.
2471         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2472         (window_delete_cb, window_destroy_cb, window_show_cb,
2473         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
2474         window_get_new_state): New functions.
2475         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
2476         macros.  Declare postWindowEventID.
2477
2478 2003-10-24  Anthony Green  <green@redhat.com>
2479
2480         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
2481         we have no interpreter.
2482
2483 2003-10-22  Andrew Haley  <aph@redhat.com>
2484
2485         * java/lang/natClass.cc (initializeClass): Call
2486         _Jv_linkExceptionClassTable.
2487         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
2488         _Jv_Defer_Resolution on a method whose ncode is NULL.
2489         (_Jv_linkExceptionClassTable): New function.
2490         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
2491         entry, look it up.
2492         * java/lang/Class.h (struct _Jv_CatchClass): New.
2493         (_Jv_linkExceptionClassTable): New friend.
2494         (_Jv_Defer_Resolution): New friend.
2495         (class Class.catch_classes): New field.
2496         * include/java-interp.h (Jv_Defer_Resolution): New method.
2497         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
2498         (_Jv_MethodBase.deferred): New field.
2499         (_Jv_Defer_Resolution): New function.
2500         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
2501         * exception.cc (get_ttype_entry): Change return type to void**.
2502         (PERSONALITY_FUNCTION): Remove all code related to using a
2503         Utf8Const* for a match type.  Change match type to be a pointer to
2504         a pointer, rather than a pointer to a Class.
2505         * defineclass.cc (handleCodeAttribute): Initialize
2506         method->deferred.
2507         (handleMethodsEnd): Likewise.
2508
2509 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2510
2511         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
2512         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
2513
2514 2003-10-22  Tom Tromey  <tromey@redhat.com>
2515
2516         PR libgcj/12416:
2517         * java/lang/Class.h: Updated.
2518         * java/lang/natClass.cc (_getFields): Removed.
2519         (getFields): Likewise.
2520         (getDeclaredFields): Added `public_only' parameter.
2521         * java/lang/Class.java (getFields): Now implemented in java; from
2522         Classpath.
2523         (getDeclaredFields): Likewise.
2524         (getDeclaredFields(boolean)): Declare.
2525         (_getFields): Removed.
2526         (internalGetFields): New method, from Classpath.
2527
2528         PR libgcj/12656:
2529         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
2530         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
2531
2532 2003-10-22  David Daney  <ddaney@avtrex.com)
2533
2534         * include/mips-signal.h: New file.
2535         * sysdep/dwarf2-backtrace.cc: New file.
2536         * sysdep/mips: New directory.
2537         * sysdep/mips/locks.h: New file.
2538         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
2539         added to libgcj.
2540         (extra_cc_source_files): Ditto.
2541         * configure.host(disable_dladdr):  New shell variable passed to
2542         configure.
2543         (mips*-*-linux*): sysdeps_dir=mips,
2544         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
2545         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
2546         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
2547         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
2548         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
2549         (EXTRA_CC_FILES): New, to support conditional addition of
2550         sysdep/dwarf2-backtrace.cc.
2551         * configure: Regenerated.
2552         * Makefile.in: Regenerated.
2553         * gcj/Makefile.in: Regenerated.
2554         * include/config.h.in: Regenerated.
2555         * include/Makefile.in: Regenerated.
2556         * testsuite/Makefile.in: Regenerated.
2557         
2558 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2559
2560         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
2561         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
2562
2563 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2564
2565         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
2566         * java/awt/geom/doc-files: New directory.
2567         * java/awt/geom/doc-files/QuadCurve2D-1.png,
2568         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
2569         
2570 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2571
2572         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
2573
2574 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2575
2576         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
2577
2578 2003-10-22  Michael Koch  <konqueror@gmx.de>
2579
2580         * java/io/File.java
2581         (equals): Removed redundant obj == null check.
2582         (createTempFile): Merged comments from classpath.
2583
2584 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2585
2586         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
2587         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
2588         (error): Synchronize on instance, not class.
2589
2590 2003-10-21  Mark Wielaard  <mark@klomp.org>
2591
2592         Reported by M.Negovanovic
2593         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
2594         method.
2595         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
2596
2597 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2598
2599         Fix for Classpath bug #6076.
2600         * java/awt/geom/GeneralPath.java (append): Re-written.
2601
2602 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2603
2604         Fix for Classpath bug #6089.
2605         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
2606         (getPathIterator, GeneralPathIterator): Re-written from scratch.
2607
2608 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2609
2610         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
2611         point, not start of subpath.  Fixes Classpath bug #6075.
2612
2613 2003-10-21  Michael Koch  <konqueror@gmx.de>
2614
2615         * java/nio/ByteOrder.java,
2616         java/nio/DirectByteBufferImpl.java,
2617         java/nio/channels/FileChannelImpl.java:
2618         Add code to load library with code for native methods if needed.
2619
2620 2003-10-21  Michael Koch  <konqueror@gmx.de>
2621
2622         * gnu/java/net/PlainDatagramSocketImpl.java,
2623         gnu/java/net/PlainSocketImpl.java,
2624         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
2625         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
2626         gnu/java/net/natPlainSocketImplPosix.cc,
2627         gnu/java/net/natPlainSocketImplWin32.cc:
2628         Renamed fnum to native_fd to match classpath more.
2629
2630 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
2631
2632         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
2633         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
2634         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
2635         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
2636         _Jv_PthreadCheckMonitor.  Simplify code.
2637         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
2638         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
2639         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
2640         * java/lang/Thread.java (holdsLock): New.
2641         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
2642         without JV_HASH_SYNCHRONIZATION.
2643         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
2644
2645 2003-10-20  Michael Koch  <konqueror@gmx.de>
2646
2647         * java/text/RuleBasedCollator.java
2648         (RuleBasedCollator): Check rules not empty, fixed search in already
2649         existing collation elements.
2650         (is_special): Removed common whitespace characters.
2651         (text_argument): Dont return on whitespaces, add characters between
2652         two ' to string buffer.
2653
2654 2003-10-18  Michael Koch  <konqueror@gmx.de>
2655
2656         * gnu/java/net/protocol/file/Connection.java,
2657         gnu/java/net/protocol/file/Handler.java,
2658         gnu/java/net/protocol/http/Connection.java,
2659         gnu/java/net/protocol/http/Handler.java,
2660         gnu/java/net/protocol/jar/Connection.java,
2661         gnu/java/net/protocol/jar/Handler.java:
2662         Merged copyright text from classpath to make
2663         it possible to merge the classes.
2664
2665 2003-10-18  Mark Wielaard  <mark@klomp.org>
2666
2667         Reported by M.Negovanovic
2668         * java/beans/IndexedPropertyDescriptor.java
2669         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
2670
2671 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
2672
2673         * win32.cc (_Jv_pipe): Implemented.
2674         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
2675         _Jv_pipe instead of ::pipe.
2676         * include/posix.h (_Jv_pipe): New inline.
2677         * include/win32.h (_Jv_pipe): New declaration.
2678         
2679 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2680
2681         * java/lang/StringBuffer.java (getChars): Fix array index checks.
2682         (append, substring, insert): Likewise.
2683         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
2684         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
2685         
2686 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2687
2688         * java/lang/natString.cc (getChars):
2689         Fix validation of array indexes.
2690         (getBytes, regionMatches, startsWith, valueOf): Likewise.
2691         * testsuite/libjava.lang/String_overflow.java: New file.
2692         * testsuite/libjava.lang/String_overflow.out: New file.
2693
2694 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2695
2696         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
2697         overflow a jint.
2698         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
2699         check for overflowing size_t, since the lower level functions
2700         take a jint.
2701         * testsuite/libjava.lang/newarray_overflow.java:  New file.
2702         * testsuite/libjava.lang/newarray_overflow.out:  New file.
2703         
2704 2003-10-15  Michael Koch  <konqueror@gmx.de>
2705
2706         * java/text/RuleBasedCollator.java
2707         (RuleBasedCollator): Moved around, documentation added.
2708         (compare): Documentation added.
2709         (equals): Likewise.
2710         (getCollationElementIterator): Likewise.
2711         (getCollationKey): Likewise.
2712         (getRules): Likewise.
2713         (hashCode): Likewise.
2714
2715 2003-10-15  Michael Koch  <konqueror@gmx.de>
2716
2717         * java/text/RuleBasedCollator.java
2718         (CollationElement): Renamed from RBCElement and moved into
2719         RuledBasedCollator as inner class.
2720
2721 2003-10-15  Michael Koch  <konqueror@gmx.de>
2722
2723         * java/text/CollationElementIterator.java
2724         (CollationElementIterator): Moved, documenatation added, call setText.
2725         (next): Reformated.
2726         (reset): Reformated.
2727         (setText): New method.
2728         (getOffset): New method.
2729         * java/text/CollationKey.java
2730         (getSourceString): Reformated.
2731         (hashCode): Reformated.
2732         (toByteArray): Reformated.
2733
2734 2003-10-15  Michael Koch  <konqueror@gmx.de>
2735
2736         * java/util/zip/InflaterInputStream.java
2737         (InflaterInputStream): Renamed infl to inf and bufsize to size,
2738         added description to exception, check for inf == null and size < 0.
2739
2740 2003-10-15  Michael Koch  <konqueror@gmx.de>
2741
2742         * java/text/AttributedCharacterIterator.java,
2743         java/text/CharacterIterator.java: Reformated.
2744
2745 2003-10-15  Michael Koch  <konqueror@gmx.de>
2746
2747         * javax/swing/UIDefaults.java (putDefaults):
2748         Readded accidently removed "public" modifier.
2749
2750 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
2751
2752         * interpret.cc (_Jv_InterpMethod::run): Don't
2753         use libffi types, they were meant to be internal.
2754         * gcj/javaprims.h (_Jv_ulong): New typedef.
2755
2756 2003-10-13  Tom Tromey  <tromey@redhat.com>
2757
2758         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
2759         (defineClass): Updated.
2760         (_Jv_NewClass): Likewise.
2761         * prims.cc (_Jv_InitPrimClass): Don't call
2762         _Jv_InitNewClassFields.
2763
2764 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
2765
2766         PR libgcj/12592
2767         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
2768         not just \n.
2769
2770 2003-10-13  Michael Koch  <konqueror@gmx.de>
2771
2772         * java/io/File.java: Reformated.
2773         (equals): Check for obj == null.
2774
2775 2003-10-13  Michael Koch  <konqueror@gmx.de>
2776
2777         * java/net/JarURLConnection.java
2778         (jarFileURL): Added dcoumentation.
2779         (jarFileURLConnection): Reformated documentation.
2780         (entryName): Renamed from "element", documentation rewritten.
2781         (connectionCache): Renamed from "conn_cache", documentation
2782         reformated.
2783         (JarURLConnection): Check URL protocol.
2784         (getEntryName): Use entryName.
2785         (connect): Use connectionCache.
2786         (getInputStream): Use entryName, fixed comment.
2787         (getJarEntry): Use entryName.
2788         (getHeaders): Use entryName.
2789         * java/net/URLConnection.java
2790         (addRequestProperty): Fixed documentation.
2791         (setDefaultRequestProptery): Added comment that it does nothing since
2792         JDK 1.3.
2793         (getDefaultRequestProperty): Likewise.
2794
2795 2003-10-13  Michael Koch  <konqueror@gmx.de>
2796
2797         * java/net/java/net/URLStreamHandlerFactory.java
2798         (createURLStreamHandler): Removed redundant "public" modifier.
2799         * java/sql/DatabaseMetaData.java:
2800         (DatabaseMetaData):  Readded accidently removed "public" modifier.
2801         * java/sql/ParameterMetaData.java:
2802         (ParameterMetaData): Readded accidently removed "public" modifier.
2803         * java/sql/PreparedStatement.java:
2804         (PreparedStatement): Readded accidently removed "public" modifier.
2805         * java/sql/Ref.java:
2806         (Ref): Readded accidently removed "public" modifier.
2807
2808 2003-10-13  Michael Koch  <konqueror@gmx.de>
2809
2810         * java/nio/Buffer.java
2811         (hasRemaining): Made implementation more clear.
2812         * java/nio/MappedByteBuffer.java
2813         (loaded): New member variable.
2814         (force): Added comment.
2815         (isLoaded): Return value of loaded.
2816         (load): Set loaded to true, added comment.
2817
2818 2003-10-12  Michael Koch  <konqueror@gmx.de>
2819
2820         * gnu/java/nio/PipeImpl.java
2821         (SourceChannelImpl): New inner class.
2822         (SinkChannelImpl): New inner class.
2823         (sink): New member variable.
2824         (source): New member variable.
2825         (PipeImpl): Add SelectorProvider argument, implemented.
2826         (nativeInit): New method.
2827         (sink): Return sink channel.
2828         (source): Return source channel.
2829         * gnu/java/nio/SelectorProviderImpl.java
2830         (openPipe): Give provider as argument to PipeImpl constructor.
2831         * java/nio/channels/spi/SelectorProvider.java
2832         (pr): Removed.
2833         (systemDefaultProvider): New member variable.
2834         (provider): Made it synchronized, use property
2835         java.nio.channels.spi.SelectorProvider.
2836         * gnu/java/nio/natPipeImpl.cc: New file.
2837         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
2838         * Makefile.in: Regenerated.
2839
2840 2003-10-12  Michael Koch  <konqueror@gmx.de>
2841
2842         * javax/swing/table/DefaultTableModel.java,
2843         javax/swing/table/TableCellEditor.java,
2844         javax/swing/table/TableCellRenderer.java,
2845         javax/swing/table/TableColumnModel.java,
2846         javax/swing/table/TableModel.java,
2847         javax/swing/text/AbstractDocument.java,
2848         javax/swing/text/Document.java,
2849         javax/swing/text/MutableAttributeSet.java,
2850         javax/swing/text/StyledDocument.java,
2851         javax/swing/text/ViewFactory.java,
2852         javax/swing/tree/DefaultMutableTreeNode.java,
2853         javax/swing/tree/MutableTreeNode.java,
2854         javax/swing/tree/RowMapper.java,
2855         javax/swing/tree/TreeCellEditor.java,
2856         javax/swing/tree/TreeCellRenderer.java,
2857         javax/swing/tree/TreeModel.java,
2858         javax/swing/tree/TreeNode.java,
2859         javax/swing/tree/TreeSelectionModel.java,
2860         javax/swing/undo/StateEditable.java,
2861         javax/swing/undo/UndoableEdit.java:
2862         Removed redundant modifiers.
2863
2864 2003-10-12  Michael Koch  <konqueror@gmx.de>
2865
2866         * javax/swing/event/AncestorListener.java,
2867         javax/swing/event/CaretListener.java,
2868         javax/swing/event/CellEditorListener.java,
2869         javax/swing/event/ChangeListener.java,
2870         javax/swing/event/DocumentEvent.java,
2871         javax/swing/event/DocumentListener.java,
2872         javax/swing/event/HyperlinkListener.java,
2873         javax/swing/event/InternalFrameListener.java,
2874         javax/swing/event/ListDataListener.java,
2875         javax/swing/event/ListSelectionListener.java,
2876         javax/swing/event/MenuDragMouseListener.java,
2877         javax/swing/event/MenuKeyListener.java,
2878         javax/swing/event/MenuListener.java,
2879         javax/swing/event/MouseInputListener.java,
2880         javax/swing/event/PopupMenuListener.java,
2881         javax/swing/event/TableColumnModelListener.java,
2882         javax/swing/event/TableModelListener.java,
2883         javax/swing/event/TreeExpansionListener.java,
2884         javax/swing/event/TreeModelListener.java,
2885         javax/swing/event/TreeSelectionListener.java,
2886         javax/swing/event/TreeWillExpandListener.java,
2887         javax/swing/event/UndoableEditListener.java,
2888         javax/swing/plaf/UIResource.java,
2889         javax/swing/plaf/metal/MetalLookAndFeel.java:
2890         Removed redundant modifiers.
2891
2892 2003-10-12  Michael Koch  <konqueror@gmx.de>
2893
2894         * javax/swing/Action.java,
2895         javax/swing/BoundedRangeModel.java,
2896         javax/swing/CellEditor.java,
2897         javax/swing/ComboBoxEditor.java,
2898         javax/swing/ComboBoxModel.java,
2899         javax/swing/DesktopManager.java,
2900         javax/swing/JComboBox.java,
2901         javax/swing/ListCellRenderer.java,
2902         javax/swing/ListSelectionModel.java,
2903         javax/swing/MenuElement.java,
2904         javax/swing/MutableComboBoxModel.java,
2905         javax/swing/Renderer.java,
2906         javax/swing/RootPaneContainer.java,
2907         javax/swing/ScrollPaneConstants.java,
2908         javax/swing/SingleSelectionModel.java,
2909         javax/swing/SpinnerModel.java,
2910         javax/swing/SwingConstants.java,
2911         javax/swing/UIDefaults.java,
2912         javax/swing/WindowConstants.java,
2913         javax/swing/border/Border.java,
2914         javax/swing/colorchooser/ColorSelectionModel.java:
2915         Removed redundant modifiers.
2916
2917 2003-10-11  Michael Koch  <konqueror@gmx.de>
2918
2919         * javax/transaction/Status.java,
2920         javax/transaction/Synchronization.java,
2921         javax/transaction/Transaction.java,
2922         javax/transaction/TransactionManager.java,
2923         javax/transaction/UserTransaction.java,
2924         javax/transaction/xa/XAResource.java,
2925         javax/transaction/xa/Xid.java:
2926         Removing redundant modifiers.
2927
2928 2003-10-11  Michael Koch  <konqueror@gmx.de>
2929
2930         * javax/print/attribute/Attribute.java,
2931         javax/print/attribute/AttributeSet.java,
2932         javax/print/attribute/PrintRequestAttributeSet.java:
2933         Removing redundant modifiers.
2934
2935 2003-10-11  Michael Koch  <konqueror@gmx.de>
2936
2937         * javax/sql/ConnectionEventListener.java,
2938         javax/sql/ConnectionPoolDataSource.java,
2939         javax/sql/DataSource.java,
2940         javax/sql/PooledConnection.java,
2941         javax/sql/RowSet.java,
2942         javax/sql/RowSetInternal.java,
2943         javax/sql/RowSetListener.java,
2944         javax/sql/RowSetMetaData.java,
2945         javax/sql/RowSetReader.java,
2946         javax/sql/RowSetWriter.java,
2947         javax/sql/XAConnection.java,
2948         javax/sql/XADataSource.java:
2949         Removing redundant modifiers.
2950
2951 2003-10-11  Michael Koch  <konqueror@gmx.de>
2952
2953         * javax/naming/Context.java,
2954         javax/naming/Name.java,
2955         javax/naming/NameParser.java,
2956         javax/naming/NamingEnumeration.java,
2957         javax/naming/Referenceable.java,
2958         javax/naming/directory/Attribute.java,
2959         javax/naming/directory/Attributes.java,
2960         javax/naming/directory/DirContext.java,
2961         javax/naming/event/EventContext.java,
2962         javax/naming/event/EventDirContext.java,
2963         javax/naming/event/NamespaceChangeListener.java,
2964         javax/naming/event/NamingListener.java,
2965         javax/naming/event/ObjectChangeListener.java,
2966         javax/naming/ldap/Control.java,
2967         javax/naming/ldap/ExtendedRequest.java,
2968         javax/naming/ldap/ExtendedResponse.java,
2969         javax/naming/ldap/HasControls.java,
2970         javax/naming/ldap/LdapContext.java,
2971         javax/naming/ldap/UnsolicitedNotification.java,
2972         javax/naming/ldap/UnsolicitedNotificationListener.java,
2973         javax/naming/spi/DirObjectFactory.java,
2974         javax/naming/spi/DirStateFactory.java,
2975         javax/naming/spi/InitialContextFactory.java,
2976         javax/naming/spi/InitialContextFactoryBuilder.java,
2977         javax/naming/spi/ObjectFactory.java,
2978         javax/naming/spi/ObjectFactoryBuilder.java,
2979         javax/naming/spi/Resolver.java,
2980         javax/naming/spi/StateFactory.java:
2981         Removing redundant modifiers.
2982
2983 2003-10-11  Michael Koch  <konqueror@gmx.de>
2984
2985         * java/security/Key.java,
2986         * java/security/PrivateKey.java,
2987         * java/security/PublicKey.java,
2988         * java/security/acl/Acl.java,
2989         * java/security/acl/AclEntry.java,
2990         * java/security/acl/Group.java,
2991         * java/security/acl/Owner.java,
2992         * java/security/acl/Permission.java,
2993         * java/security/cert/X509Extension.java,
2994         * java/security/interfaces/DSAKey.java,
2995         * java/security/interfaces/DSAKeyPairGenerator.java,
2996         * java/security/interfaces/DSAParams.java,
2997         * java/security/interfaces/DSAPrivateKey.java,
2998         * java/security/interfaces/DSAPublicKey.java,
2999         * java/security/interfaces/RSAKey.java,
3000         * java/security/interfaces/RSAPrivateCrtKey.java,
3001         * java/security/interfaces/RSAPrivateKey.java,
3002         * java/security/interfaces/RSAPublicKey.java:
3003         Removed redundant modifiers.
3004
3005 2003-10-11  Michael Koch  <konqueror@gmx.de>
3006
3007         * gnu/java/rmi/server/ProtocolConstants.java,
3008         gnu/java/security/der/DER.java:
3009         Removing redundant modifiers.
3010
3011 2003-10-11  Michael Koch  <konqueror@gmx.de>
3012
3013         * java/util/Map.java,
3014         java/util/Observer.java,
3015         java/util/zip/Checksum.java,
3016         java/util/zip/ZipConstants.java:
3017         Removed redundant modifiers.
3018
3019 2003-10-11  Michael Koch  <konqueror@gmx.de>
3020
3021         * java/text/AttributedCharacterIterator.java,
3022         java/text/CharacterIterator.java:
3023         Removed redundant modifiers.
3024
3025 2003-10-11  Michael Koch  <konqueror@gmx.de>
3026
3027         * java/sql/Array.java,
3028         java/sql/Blob.java,
3029         java/sql/CallableStatement.java,
3030         java/sql/Clob.java,
3031         java/sql/Connection.java,
3032         java/sql/DatabaseMetaData.java,
3033         java/sql/Driver.java,
3034         java/sql/ParameterMetaData.java,
3035         java/sql/PreparedStatement.java,
3036         java/sql/Ref.java,
3037         java/sql/ResultSet.java,
3038         java/sql/ResultSetMetaData.java,
3039         java/sql/SQLData.java,
3040         java/sql/SQLInput.java,
3041         java/sql/SQLOutput.java,
3042         java/sql/Savepoint.java,
3043         java/sql/Statement.java,
3044         java/sql/Struct.java:
3045         Removed redundant modifiers.
3046
3047 2003-10-11  Michael Koch  <konqueror@gmx.de>
3048
3049         * java/nio/channels/Channel.java,
3050         java/nio/channels/GatheringByteChannel.java,
3051         java/nio/channels/ReadableByteChannel.java,
3052         java/nio/channels/ScatteringByteChannel.java,
3053         java/nio/channels/WritableByteChannel.java:
3054         Removed redundant modifiers.
3055
3056 2003-10-11  Michael Koch  <konqueror@gmx.de>
3057
3058         * java/rmi/activation/ActivationInstantiator.java,
3059         java/rmi/activation/ActivationMonitor.java,
3060         java/rmi/activation/ActivationSystem.java,
3061         java/rmi/activation/Activator.java,
3062         java/rmi/dgc/DGC.java,
3063         java/rmi/registry/Registry.java,
3064         java/rmi/registry/RegistryHandler.java,
3065         java/rmi/server/LoaderHandler.java,
3066         java/rmi/server/RMIClientSocketFactory.java,
3067         java/rmi/server/RMIFailureHandler.java,
3068         java/rmi/server/RMIServerSocketFactory.java,
3069         java/rmi/server/RemoteCall.java,
3070         java/rmi/server/RemoteRef.java,
3071         java/rmi/server/ServerRef.java,
3072         java/rmi/server/Skeleton.java,
3073         java/rmi/server/Unreferenced.java:
3074         Removed redundant modifiers.
3075
3076 2003-10-11  Michael Koch  <konqueror@gmx.de>
3077
3078         * java/net/ContentHandlerFactory.java,
3079         java/net/DatagramSocketImplFactory.java,
3080         java/net/FileNameMap.java,
3081         java/net/SocketImplFactory.java,
3082         java/net/SocketOptions.java,
3083         java/net/URLStreamHandlerFactory.java:
3084         Removed redundant modifiers.
3085
3086 2003-10-11  Michael Koch  <konqueror@gmx.de>
3087
3088         * java/io/Externalizable.java,
3089         java/io/FileFilter.java,
3090         java/io/FilePermission.java,
3091         java/io/ObjectInput.java,
3092         java/io/ObjectInputValidation.java,
3093         java/io/ObjectOutput.java,
3094         java/io/ObjectStreamClass.java,
3095         java/io/ObjectStreamConstants.java,
3096         java/io/Serializable.java:
3097         Removed redundant modifiers.
3098
3099 2003-10-11  Ingo Proetel  <proetel@aicas.com>
3100
3101         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
3102         codebase and context classloader.
3103
3104 2003-10-11  Michael Koch  <konqueror@gmx.de>
3105
3106         * java/beans/beancontext/BeanContext.java,
3107         java/beans/beancontext/BeanContextChild.java,
3108         java/beans/beancontext/BeanContextChildComponentProxy.java,
3109         java/beans/beancontext/BeanContextChildSupport.java,
3110         java/beans/beancontext/BeanContextContainerProxy.java,
3111         java/beans/beancontext/BeanContextMembershipListener.java,
3112         java/beans/beancontext/BeanContextProxy.java,
3113         java/beans/beancontext/BeanContextServiceProvider.java,
3114         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
3115         java/beans/beancontext/BeanContextServiceRevokedListener.java,
3116         java/beans/beancontext/BeanContextServices.java,
3117         java/beans/beancontext/BeanContextServicesListener.java:
3118         Removed redundant modifiers.
3119
3120 2003-10-11  Michael Koch  <konqueror@gmx.de>
3121
3122         * java/beans/AppletInitializer.java,
3123         java/beans/BeanInfo.java,
3124         java/beans/Customizer.java,
3125         java/beans/DesignMode.java,
3126         java/beans/PropertyEditor.java,
3127         java/beans/Visibility.java:
3128         Removed redundant modifiers.
3129
3130 2003-10-11  Michael Koch  <konqueror@gmx.de>
3131
3132         * java/awt/print/Pageable.java,
3133         * java/awt/print/Printable.java,
3134         java/awt/print/PrinterGraphics.java:
3135         Removed redundant modifiers.
3136
3137 2003-10-11  Michael Koch  <konqueror@gmx.de>
3138
3139         * java/awt/peer/ButtonPeer.java,
3140         java/awt/peer/CheckboxMenuItemPeer.java,
3141         java/awt/peer/CheckboxPeer.java,
3142         java/awt/peer/ChoicePeer.java,
3143         java/awt/peer/ComponentPeer.java,
3144         java/awt/peer/ContainerPeer.java,
3145         java/awt/peer/DialogPeer.java,
3146         java/awt/peer/FileDialogPeer.java,
3147         java/awt/peer/FramePeer.java,
3148         java/awt/peer/LabelPeer.java,
3149         java/awt/peer/ListPeer.java,
3150         java/awt/peer/MenuBarPeer.java,
3151         java/awt/peer/MenuComponentPeer.java,
3152         java/awt/peer/MenuItemPeer.java,
3153         java/awt/peer/MenuPeer.java,
3154         java/awt/peer/PopupMenuPeer.java,
3155         java/awt/peer/RobotPeer.java,
3156         java/awt/peer/ScrollPanePeer.java,
3157         java/awt/peer/ScrollbarPeer.java,
3158         java/awt/peer/TextAreaPeer.java,
3159         java/awt/peer/TextComponentPeer.java,
3160         java/awt/peer/TextFieldPeer.java,
3161         java/awt/peer/WindowPeer.java:
3162         Removed redundant modifiers.
3163
3164 2003-10-11  Michael Koch  <konqueror@gmx.de>
3165
3166         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
3167         * gnu/java/nio/ServerSocketChannelImpl.java
3168         (serverSocket): Made it a NIOServerSocket.
3169         (impl): Removed.
3170         (ServerSocketChannelImpl): Initialize only serverSocket.
3171         (initServerSocket): Removed.
3172         (getNativeFD): Rewritten.
3173         (implConfigureBlocking): Set socket timeout and removed comment.
3174         (accept): Rewritten.
3175         * gnu/java/nio/SocketChannelImpl.java
3176         (impl): New variable.
3177         (connected): Removed.
3178         (SocketChannelImpl): Initialize impl too.
3179         (getImpl): New method.
3180         (isConnected): Rewritten.
3181         (read): Rewritten, set position in buffer correctly.
3182         (write): Set position in buffer correctly.
3183         * java/net/ServerSocket.java (getImpl): New method.
3184         * gnu/java/nio/NIOServerSocket.java,
3185         gnu/java/nio/natNIOServerSocket.cc: New files.
3186         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3187         * Makefile.am
3188         (ordinary_java_source_files):
3189         Added gnu/java/nio/NIOServerSocket.java.
3190         (nat_source_files):
3191         Removed gnu/java/nio/natServerSocketChannelImpl.cc
3192         and added gnu/java/nio/natNIOServerSocket.cc.
3193         * Makefile.in: Regenerated.
3194
3195 2003-10-11  Michael Koch  <konqueror@gmx.de>
3196
3197         * java/awt/ActiveEvent.java,
3198         java/awt/datatransfer/ClipboardOwner.java,
3199         java/awt/datatransfer/FlavorMap.java,
3200         java/awt/datatransfer/Transferable.java,
3201         java/awt/dnd/Autoscroll.java,
3202         java/awt/dnd/peer/DragSourceContextPeer.java,
3203         java/awt/dnd/peer/DropTargetContextPeer.java,
3204         java/awt/dnd/peer/DropTargetPeer.java,
3205         java/awt/font/MultipleMaster.java,
3206         java/awt/font/OpenType.java,
3207         java/awt/im/spi/InputMethodDescriptor.java,
3208         java/awt/image/ImageObserver.java,
3209         java/awt/image/ImageConsumer.java,
3210         java/awt/image/ImageProducer.java,
3211         java/awt/image/RGBImageFilter.java,
3212         java/awt/image/RasterOp.java,
3213         java/awt/image/renderable/RenderableImage.java:
3214         Removed redundant modifiers.
3215
3216 2003-10-11  Michael Koch  <konqueror@gmx.de>
3217
3218         * gnu/awt/j2d/DirectRasterGraphics.java,
3219         gnu/java/awt/EmbeddedWindowSupport.java:
3220         Removed redundant modifiers.
3221
3222 2003-10-09  Michael Koch  <konqueror@gmx.de>
3223
3224         * gnu/java/nio/SelectorImpl.java (register):
3225         Use ServerSocketChannelSelectionKey for server socket channels,
3226         removed unneeded comments.
3227         * gnu/java/nio/ServerSocketChannelImpl.java
3228         (ServerSocketChannelImpl): Made class public final.
3229         (impl): New member variable.
3230         (ServerSocketChannelImpl): Initialize member variables correctly.
3231         (initServerSocket): New method.
3232         (getNativeFD): Likewise.
3233         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
3234         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
3235         * Makefile.am (ordinary_java_source_files):
3236         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
3237         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
3238         * Makefile.in: Regenrated.
3239
3240 2003-10-09  Michael Koch  <konqueror@gmx.de>
3241
3242         * java/nio/channels/spi/AbstractSelectableChannel.java
3243         (registered): Made private.
3244         (blocking): Likewise.
3245         (LOCK): Likewise.
3246         (provider): Likewise.
3247         (keys): Made it a private LinkedList.
3248         (AbstractSelectableChannel): Initialize keys.
3249         (isRegistered): New implementation.
3250         (locate): Rewritten.
3251         (register): Rewritten.
3252         * java/nio/channels/spi/AbstractSelectionKey.java
3253         (ok): Removed.
3254         (cancelled): New member variable.
3255         (cancel): Rewritten.
3256         (isValid): Rewritten.
3257         * java/nio/channels/spi/AbstractSelector.java:
3258         Some methods moved.
3259         (closed): Make private.
3260         (provider): Likewise.
3261         (cancelledKeys): New member variable.
3262         (AbstractSelector): Initialize cancelledKeys.
3263         (cancelKey): New method.
3264
3265 2003-10-09  Tom Tromey  <tromey@redhat.com>
3266
3267         * java/lang/ClassLoader.java (setSigners): Implemented.
3268         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
3269         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
3270         Initialize new fields.
3271         * java/lang/Class.java (getSigners): Now native.
3272         (setSigners): Declare.
3273         * java/lang/natClass.cc (getSigners): New method.
3274         (getSigners): Likewise.
3275         * java/lang/Class.h (Class::signers): New field.
3276         (Class::setSigners): New method.
3277
3278 2003-10-09  Michael Koch  <konqueror@gmx.de>
3279
3280         * java/rmi/server/RMIClassLoader.java:
3281         Removed unused imports, little reformatings.
3282         (getClassLoader): New method, implementation was part of old loadCLass
3283         method.
3284         (loadClass): Simplified by moving functionality to new method and
3285         reworking the code a bit.
3286         (getClassAnnotation): Merged documentation from classpath.
3287
3288 2003-10-09  Michael Koch  <konqueror@gmx.de>
3289
3290         * java/math/BigInteger.java
3291         (add): Removed unused local variable len.
3292
3293 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3294
3295         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
3296         modality check.
3297         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3298         Initialize insets to use latest insets.
3299         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
3300         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
3301         field.
3302         (postConfigureEvent): Update latestInsets field when insets
3303         change.  Remove call to setSize.  Move validate call outside of
3304         if blocks.
3305         (setVisible): Call setBounds before showing window.
3306         (nativeSetVisible): New native method.
3307         * java/awt/Window.java (show): Show visible owned windows.
3308         (hide): Hide visible owned windows.
3309         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3310         (awt_event_handler): Implement modality using GTK grabs.
3311         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3312         (global_gtk_window_group): New global variable.
3313         (gtkInit): Initialize global_gtk_window_group.
3314         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3315         Clamp width and height values to at least 1.  Add this window to
3316         the global GTK window group.
3317         (setVisible): Rename to nativeSetVisible.
3318         (setup_window): Remove function.
3319         (setSize): Clamp width and height values to at least 1.
3320         (nativeSetBounds): Likewise.
3321         (gdk_window_get_root_geometry): Remove function.
3322         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
3323         and setup_window declarations.  Declare global_gtk_window_group.
3324
3325         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3326         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3327         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3328         (gtkWidgetSetForeground): New method.
3329         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3330         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3331         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
3332         (setBackground, setForeground): Implement.
3333         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3334         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3335         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3336         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3337         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3338         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3339         Position PangoLayout relative to text's baseline.
3340         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
3341
3342         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
3343         for CENTER and RIGHT alignments.
3344
3345 2003-10-08  Michael Koch  <konqueror@gmx.de>
3346
3347         * java/security/Security.java: Reformated.
3348
3349 2003-10-08  Michael Koch  <konqueror@gmx.de>
3350
3351         * java/text/SimpleDateFormat.java
3352         (compileFormat): Replace Character.isLetter() test with
3353         Character.isLowerCase() || Character.isUpperCase().
3354
3355 2003-10-08  Tom Tromey  <tromey@redhat.com>
3356
3357         * java/lang/StrictMath.java (toDegrees): Multiply before
3358         dividing.
3359         (toRadians): Likewise.
3360
3361 2003-10-08  C. Brian Jones  <cbj@gnu.org>
3362
3363         * java/lang/Math.java
3364         (toRadians): multiply before dividing to reduce decimal error
3365         (toDegrees): ditto
3366
3367 2003-10-08  Michael Koch  <konqueror@gmx.de>
3368
3369         * gnu/gcj/protocol/core/Connection.java,
3370         gnu/gcj/protocol/core/CoreInputStream.java,
3371         gnu/gcj/protocol/core/Handler.java,
3372         gnu/gcj/protocol/core/natCoreInputStream.cc,
3373         gnu/gcj/protocol/file/Connection.java,
3374         gnu/gcj/protocol/file/Handler.java,
3375         gnu/gcj/protocol/gcjlib/Connection.java,
3376         gnu/gcj/protocol/gcjlib/Handler.java,
3377         gnu/gcj/protocol/http/Connection.java,
3378         gnu/gcj/protocol/http/Handler.java,
3379         gnu/gcj/protocol/jar/Connection.java,
3380         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
3381         * gnu/java/net/protocol/core/Connection.java,
3382         gnu/java/net/protocol/core/CoreInputStream.java,
3383         gnu/java/net/protocol/core/Handler.java,
3384         gnu/java/net/protocol/core/natCoreInputStream.cc,
3385         gnu/java/net/protocol/file/Connection.java,
3386         gnu/java/net/protocol/file/Handler.java,
3387         gnu/java/net/protocol/gcjlib/Connection.java,
3388         gnu/java/net/protocol/gcjlib/Handler.java,
3389         gnu/java/net/protocol/http/Connection.java,
3390         gnu/java/net/protocol/http/Handler.java,
3391         gnu/java/net/protocol/jar/Connection.java,
3392         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
3393         * gnu/gcj/runtime/FirstThread.java,
3394         java/net/URL.java: Use moved protocol handlers.
3395         * Makefile.am
3396         (ordinary_java_source_files): Moved files.
3397         (nat_source_files): Likewise.
3398         * Makefile.in: Regenerated.
3399
3400 2003-10-08  Michael Koch  <konqueror@gmx.de>
3401
3402         * gnu/java/nio/SocketChannelImpl.java
3403         (read): Write only read data to buffer.
3404
3405 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3406
3407         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
3408         out.
3409         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
3410         (JCL_free): Attach "unused" attribute to env parameter.
3411         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
3412         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
3413         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3414         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
3415         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3416         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3417         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
3418         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
3419         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
3420         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3421         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
3422         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3423         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
3424         parameters.
3425         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
3426         (initNativeState): Pass 0 as info argument to
3427         gtk_selection_add_target.
3428         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3429         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
3430         unused method implementations.
3431         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3432         (awt_event_handler): Add break statement after default label.
3433         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
3434         (drawPixels): Remove unused variable i.
3435         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3436         (setEnabled): Remove method implementation.
3437         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3438         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
3439         argument.
3440         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
3441         unused function.
3442         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3443         (menu_pos): Assign TRUE to push_in.
3444         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
3445         argument.
3446         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
3447         (create): Remove unused variable layout.
3448         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3449         Pass window_widget, rather than window, to
3450         gtk_widget_set_size_request.
3451         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
3452         structure initialization with NULL values.
3453         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
3454
3455 2003-10-08  Michael Koch  <konqueror@gmx.de>
3456
3457         * java/util/LinkedList.java:
3458         Removed whitespace to match classpath's version again.
3459
3460 2003-10-08  Michael Koch  <konqueror@gmx.de>
3461
3462         * java/util/prefs/Preferences.java
3463         (defaultFactoryClass): Fixed class name.
3464         (getFactory): Create instance of class returned by Class.forName(),
3465         reformated code.
3466
3467 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
3468
3469         * javax/swing/table/AbstractTableModel.java
3470         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
3471         helped stop pulling my hair on this +1 then -1 tricky thing!
3472
3473 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
3474
3475         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
3476         Remove unused parameters.
3477         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
3478         Likewise.
3479         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3480         (keyevent_state_to_awt_mods): Export function.
3481         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3482         (getCaretPosition): Fix TextArea case.
3483         (textcomponent_commit_cb): Get exact event time and modifier
3484         state.
3485         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
3486
3487 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
3488
3489         * java/net/InetSocketAddress.java
3490         (InetSocketAddress): Made exception more clear.
3491         (equals): Handle case when addr is null.
3492         (toString): Likewise.
3493         * java/net/NetworkInterface.java
3494         (static): Load native library.
3495         (getNetworkInterfaces): Rewritten.
3496
3497 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3498
3499         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
3500         field.
3501         (initializeInsets): New method.
3502         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
3503         setBounds unconditionally.
3504         (setBounds): Convert coordinates if parent is a Window.
3505         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
3506         field to GtkComponentPeer.
3507         (GtkContainerPeer): Don't initialize insets.
3508         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3509         New method.
3510         (create): Call new GtkWindowPeer create method.
3511         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
3512         New method.
3513         (create): Call new GtkWindowPeer create method.
3514         (setBounds): Remove method.
3515         (postConfigureEvent): Likewise.
3516         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
3517         type constants with GDK window type constants.
3518         (create(int,boolean,int,int,GtkWindowPeer)): New method.
3519         (create(int,boolean)): Likewise.
3520         (create()): Call create(int,boolean).
3521         (nativeSetBounds): New native method declaration.
3522         (setBounds): Call native method declaration.
3523         (setSize): New native method declaration.
3524         (setBoundsCallback): Likewise.
3525         (postConfigureEvent): Handle change in insets.  Call setSize and
3526         setBoundsCallback methods.
3527         * java/awt/Window.java (Window): Set visible to false.
3528         (setBoundsCallback): New method.
3529         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3530         (gtkWidgetGetLocationOnScreen): If this component is not a
3531         container, adjust the location returned based on the peer's
3532         allocation.
3533         (set(String,boolean)): Revert change from 2003-09-19.
3534         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3535         (awt_event_handler): Fix inset calculation.
3536         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
3537         glue for Window.setBoundsCallback.
3538         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3539         Set up stacking order, window decorations and window manager
3540         hints.
3541         (setBoundsCallback): New method.
3542         (setSize): New method.
3543         (nativeSetBounds): New method.
3544         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
3545
3546 2003-10-02  Tom Tromey  <tromey@redhat.com>
3547
3548         * java/lang/VMClassLoader.java (loadClass): Now native.
3549         * java/lang/natClassLoader.cc (loadClass): Implement.
3550         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
3551
3552 2003-10-02  Michael Koch  <konqueror@gmx.de>
3553
3554         * java/net/InetAddress.java
3555         (zeros): Removed.
3556         (ANY_IF): Initalizie in static block.
3557         (static): Load library with native methods here and initialize ANY_IF.
3558         (isAnyLocalAddress): Check if equal to ANY_IF.
3559         (equals): Use addr directly instead of addr1. Simplify for loop.
3560         (toString): Rename "result" to "host" and add IP address allways.
3561         (getLocalHost): Merged documentation from classpath.
3562         * java/net/ServerSocket.java
3563         (ServerSocket): New package-private constructor used by java.nio.
3564         * java/net/URLConnection.java
3565         (getRequestProperties): Check if already connected.
3566
3567 2003-10-02  Michael Koch  <konqueror@gmx.de>
3568
3569         * java/nio/ByteBufferHelper.java:
3570         Rewrote all methods by suggestions from Eric Blake.
3571
3572 2003-10-02  Michael Koch  <konqueror@gmx.de>
3573
3574         * java/net/URL.java
3575         (DEFAULT_SEARCH_PATH): New static variable.
3576         (ph_cache): Made it a HashMap.
3577         (getURLStreamHandler): Rename propVal to ph_search_path and use
3578         DEFAULT_SEARCH_PATH.
3579
3580 2003-10-02  Michael Koch  <konqueror@gmx.de>
3581
3582         * javax/swing/table/AbstractTableModel.java
3583         (findColumnName): Prevent from NullPointerException if argument
3584         columnName is null.
3585
3586 2003-10-02  Michael Koch  <konqueror@gmx.de>
3587
3588         * javax/swing/table/AbstractTableModel.java:
3589         This patch is based on a patch done by Arnaud Vandyck
3590         <arnaud.vandyck@ulg.ac.be>.
3591         (getColumnName): Fixed method documentation.
3592         (findColumn): Likewise.
3593         (getColumnClass): Likewise.
3594         (isCellEditable): Likewise.
3595         (setValueAt): Likewise.
3596         (addTableModelListener): Likewise.
3597         (removeTableModelListener): Likewise.
3598         (getTableModelListeners): New method.
3599
3600 2003-10-02  Michael Koch  <konqueror@gmx.de>
3601
3602         * javax/swing/table/AbstractTableModel.java:
3603         Reformated.
3604
3605 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
3606
3607         Fix PR libgcj/12475
3608         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
3609         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
3610
3611 2003-10-01  Tom Tromey  <tromey@redhat.com>
3612
3613         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
3614
3615 2003-10-01  Andrew Haley  <aph@redhat.com>
3616
3617         * java/lang/natClass.cc (initializeClass): Check for otable and
3618         atable.
3619         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
3620         loops using for().  Search superinterfaces.  Check for fields as
3621         well as methods.  Initialize atable as well as otable: check for
3622         static methods as well as virtual methods.
3623         * java/lang/Class.h (struct _Jv_AddressTable): New.
3624         (atable): New.
3625         (atable_syms): New.
3626         * include/jvm.h (_Jv_equalUtf8Consts): constify.
3627         * prims.cc (_Jv_equalUtf8Consts): constify.
3628
3629 2003-09-29  Tom Tromey  <tromey@redhat.com>
3630
3631         PR libgcj/10596:
3632         * include/jvm.h (_Jv_FinalizeString,
3633         _Jv_RegisterStringFinalizer): Declare.
3634         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
3635         unintern.
3636         (intern): Updated.
3637         (_Jv_NewStringUtf8Const): Likewise.
3638         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3639         Add special case when finalizing a String.
3640         (in_hash): New function.
3641         (_Jv_RegisterStringFinalizer): Likewise.
3642         (maybe_add_finalize): Likewise.
3643
3644 2003-09-29  Michael Koch  <konqueror@gmx.de>
3645
3646         * java/net/InetAddress.java:
3647         (isMulticastAddress): Dont use local variable to store address length.
3648         Let the compiler optimize this.
3649         (getHostName): Merged dcoumentation from classpath.
3650         (getAddress): Likewise.
3651         (getHostAddress): Likewise.
3652         (hashCode): Likewise.
3653         (equals): Likewise.
3654         (toString): Likewise.
3655         (getByName): Likewise.
3656         (getAllByName): Likewise.
3657
3658 2003-09-29  Michael Koch  <konqueror@gmx.de>
3659
3660         * java/awt/image/IndexColorModel.java: Reformated.
3661
3662 2003-09-29  Michael Koch  <konqueror@gmx.de>
3663
3664         * java/net/InetAddress.java,
3665         java/net/URL.java: Reformated.
3666
3667 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
3668
3669         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
3670         significant bit of descriptor. Include the vtable and sync_info 
3671         fields.
3672
3673 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3674
3675         * java/text/DateFormat.java (format): Throw IllegalArgumentException
3676         if `obj' is not a Number or Date instance.
3677         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
3678         instead of Vector.
3679
3680 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3681
3682         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
3683         Don't call setTimeZone on calendar.
3684
3685 2003-09-27  Michael Koch  <konqueror@gmx.de>
3686
3687         * java/net/URL.java (getURLStreamHandler): Compile fixes.
3688
3689 2003-09-27  Michael Koch  <konqueror@gmx.de>
3690
3691         * java/net/URL.java (getURLStreamHandler):
3692         Check if we have to use cache before trying to retrieve handler from
3693         cache. Rename facName to clsName to match classpath more. Reformated
3694         some little pieces.
3695
3696 2003-09-27  Michael Koch  <konqueror@gmx.de>
3697
3698         * gnu/java/nio/SelectionKeyImpl.java
3699         (ch): Make package-private again. Jikes found this bug.
3700         Jeff Sturm submitted PR12426 for this to bugzilla
3701         to fix this bug in gcj.
3702
3703 2003-09-26  Michael Koch  <konqueror@gmx.de>
3704
3705         * java/rmi/server/RMIClassLoader.java:
3706         Reformatted file, no functional code changes.
3707
3708 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
3709
3710         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
3711         Save space for some pixels at the buffer end.  Added Javadoc.
3712
3713 2003-09-26  Tom Tromey  <tromey@redhat.com>
3714
3715         * java/io/ObjectOutputStream.java (writeFields): Fixed
3716         indentation.
3717         (putFields): Likewise.
3718
3719 2003-09-26  Michael Koch  <konqueror@gmx.de>
3720
3721         * java/nio/ByteBufferHelper.java:
3722         Totally reworked with help from Eric Blake.
3723
3724 2003-09-26  Tom Tromey  <tromey@redhat.com>
3725
3726         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
3727         * java/awt/geom/PathIterator.java: Documentation fixes.
3728
3729 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
3730
3731         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
3732         (select): Likewise.
3733         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
3734
3735 2003-09-25  Michael Koch  <konqueror@gmx.de>
3736
3737         * gnu/java/nio/DatagramChannelImpl.java
3738         (getNativeFD): New method.
3739         * gnu/java/nio/SelectionKeyImpl.java
3740         (SelectionKeyImpl): Class made abstract.
3741         (fd): Removed.
3742         (SelectionKeyImpl): Remove fd argument.
3743         (getNativeFD): New method.
3744         * gnu/java/nio/SocketChannelImpl.java
3745         (getNativeFD): New method.
3746         gnu/java/nio/DatagramChannelSelectionKey.java,
3747         * gnu/java/nio/SocketChannelSelectionKey.java:
3748         New files.
3749         * Makefile.am (ordinary_java_source_files):
3750         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
3751         gnu/java/nio/SocketChannelSelectionKey.java.
3752         * Makefile.in: Regenerated.
3753
3754 2003-09-25  Michael Koch  <konqueror@gmx.de>
3755
3756         * java/lang/reflect/Proxy.java
3757         (getProxyClass): Remove workaround for gcj 3.0.x.
3758
3759 2003-09-25  Michael Koch  <konqueror@gmx.de>
3760
3761         * gnu/java/net/PlainDatagramSocketImpl.java
3762         (finalize): Moved to directly after constructor.
3763         (getNativeFD): New method.
3764         * gnu/java/net/PlainSocketImpl.java
3765         (getNativeFD): New method.
3766
3767 2003-09-25  Ingo Proetel  <proetel@aicas.com>
3768
3769         * java/io/ObjectOutputStream.java:
3770         Allow putFields be called more than once.
3771
3772 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
3773
3774         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
3775         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
3776         * java/awt/image/BufferedImage.java (toString): Implement.
3777
3778 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
3779
3780         * aclocal.m4: Rebuilt.
3781         * configure: Rebuilt.
3782
3783 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
3784
3785         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
3786         field.
3787
3788 2003-09-25  Michael Koch  <konqueror@gmx.de>
3789
3790         * gnu/java/nio/SelectorImpl.java
3791         (implSelect): Renamed from java_do_select.
3792         (select): Call native implSelect() and add support for Thread
3793         interruption.
3794         * gnu/java/nio/natSelectorImpl.cc
3795         (implSelect): Renamed from java_do_select.
3796
3797 2003-09-25  Michael Koch  <konqueror@gmx.de>
3798
3799         * gnu/java/nio/SelectorImpl.java
3800         (selectNow): Made final, throws IOException.
3801         (select): Likewise.
3802         (getFDsAsArray): Made final.
3803         (selectedKeys): Likewise.
3804         (wakeup): Likewise.
3805         (deregisterCancelledKeys): Likewise.
3806         (register): Likewise.
3807         (ass): Removed.
3808         (add_selected): Removed.
3809         * gnu/java/nio/natSelectorImpl.cc:
3810         No need to include bstring.h or gcj/cni.h.
3811         (helper_put_filedescriptors): Rewritten.
3812         (helper_get_filedescriptors): Rewritten.
3813
3814 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
3815
3816         * java/awt/font/FontRenderContext.java (getTransform): Return
3817         copy of internal transform object. Add Javadoc.
3818         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
3819         winding rule as Sun J2SE.
3820         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
3821
3822 2003-09-25  Ingo Proetel  <proetel@aicas.com>
3823
3824         * java/rmi/Naming.java:
3825         Added comments, now accepts pseudo protocol "rmi".
3826
3827 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
3828
3829         * java/text/DecimalFormat.java (format): Don't immediatly round
3830         baseNumber to long.
3831         (setMinimumIntegerDigits): Call super.
3832         (setMinimumFractionDigits): Likewise.
3833         (setMaximumIntegerDigits): Likewise.
3834         (setMaximumFractionDigits): Likewise.
3835
3836 2003-09-25  Michael Koch  <konqueror@gmx.de>
3837
3838         * gnu/java/nio/DatagramChannelImpl.java
3839         (DatagramChannelImpl): Made class final.
3840         (blocking): Made private.
3841         (socket): Made it a NIODatagramSocket and private.
3842         (DatagramChannelImpl): create NIODatagramSocket instead of
3843         DatagramSocket.
3844         (implConfigureBlocking): Set socket timeout.
3845         (connect): Check that channel is not closed.
3846         (write): Implemented.
3847         (write): Rewritten.
3848         (read): Implemented.
3849         (read): Rewritten.
3850         (receive): Implemented.
3851         (send): Implemented.
3852         * gnu/java/nio/SelectionKeyImpl.java
3853         (readyOps): Made private.
3854         (interestOps): Made private.
3855         (impl): Made private.
3856         (ch): Made private.
3857         (readyOps): Check if selection key is valid.
3858         (interestOps): Likewise.
3859         * gnu/java/nio/SelectorImpl.java
3860         (closed): Removed.
3861         (keys): Made private.
3862         (selected): Made private.
3863         (finalize): New method.
3864         (implCloseSelector): Rewritten.
3865         (keys): Return unmodifiable Set.
3866         (deregisterCancelledKeys): Fixed typo in method name.
3867         * gnu/java/nio/SocketChannelImpl.java
3868         (SocketChannelImpl): Made class final.
3869         (socket): Made it a NIOSocket and private.
3870         (blocking): Made private.
3871         (connected): Made private.
3872         (connectionPending): New member variable.
3873         (SocketChannelImpl): New implementation.
3874         (finalizer): Use isConnected().
3875         (connect): Rewritten.
3876         (finishConnect): Throws IOException, implemented.
3877         (isConnectionPending): Return connectionPending.
3878         (read): Rewritten.
3879         (write): Rewritten.
3880         * gnu/java/nio/NIOConstants.java: New file.
3881         * Makefile.am (ordinary_java_source_files):
3882         Added gnu/java/nio/NIOConstants.java.
3883         * Makefile.in: Regenerated.
3884
3885 2003-09-25  Michael Koch  <konqueror@gmx.de>
3886
3887         * java/net/InetAddress.java:
3888         Reorder imports, remove implementation comment.
3889         (isMulticastAddress): Merged documentation from classpath.
3890         * java/net/URLConnection.java
3891         (setRequestProperty): Check key for null, fix documentation.
3892         (adREquestProperty): Check key for null, remove wrong implementation
3893         and replace it with comment to overwrite this method in subclasses,
3894         fix documentation.
3895
3896 2003-09-25  Tom Tromey  <tromey@redhat.com>
3897
3898         * java/lang/reflect/Proxy.java (generate): Uncomment protection
3899         domain code.
3900         * java/lang/natClassLoader.cc (defineClass): Added `loader'
3901         argument.
3902         (linkClass0): Now in VMClassLoader.
3903         (markClassErrorState0): Likewise.
3904         (getSystemClassLoaderInternal): New method.
3905         * java/lang/natClass.cc (initializeClass): Use
3906         VMClassLoader::resolveClass.
3907         * java/lang/ClassLoader.java: New version, from Classpath.
3908         * java/lang/Class.java (getProtectionDomain):
3909         protectionDomainPermission and unknownProtectionDomain now in
3910         VMClassLoader.
3911         * java/lang/Class.h: VMClassLoader now a friend class.
3912         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
3913         package-private.
3914         * gcj/javaprims.h: Regenerated class list.
3915         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
3916         * java/lang/VMClassLoader.java: New version from Classpath;
3917         modified for libgcj use.
3918
3919 2003-09-25  Michael Koch  <konqueror@gmx.de>
3920
3921         * java/nio/ByteBufferHelper.java:
3922         New file.
3923         * java/nio/ByteBufferImpl.java,
3924         java/nio/DirectByteBufferImpl.java,
3925         java/nio/MappedByteBufferImpl.java
3926         (getType,putType): Use new helper class ByteBufferHelper.
3927         * Makefile.am (ordinary_java_source_files):
3928         Added java/nio/ByteBufferHelper.java.
3929         * Makefile.in: Regenerated.
3930
3931 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
3932
3933         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
3934         PR libgcj/12388.
3935
3936 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3937
3938         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
3939         Strings, even if buffer is already shared.
3940
3941 2003-09-24  Michael Koch  <konqueror@gmx.de>
3942
3943         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
3944
3945 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3946
3947         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
3948         (write): Likewise.
3949         (SocketInputStream): Declare `read' and `write' methods native.
3950         Remove implementations which called back into PlainSocketImpl.
3951         Remove unneccessary overridden methods.
3952         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
3953         to inner class PlainSocketImpl.SocketInputStream.
3954         (write): Likewise.
3955         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
3956         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
3957         * gnu/java/net/SocketInputStream.java: Remove unused file.
3958         * gnu/java/net/SocketOutputStream.java: Likewise.
3959         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
3960         and SocketOutputStream.
3961         * Makefile.in: Rebuilt.
3962
3963 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
3964
3965         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
3966
3967         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
3968         markers.
3969
3970 2003-09-22  Anthony Green  <green@redhat.com>
3971
3972         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
3973         * configure: Rebuilt.
3974
3975 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
3976
3977         PR java/12350:
3978         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
3979
3980 2003-09-22  Michael Koch  <konqueror@gmx.de>
3981
3982         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
3983         compiler warning but produces a different one now.
3984
3985 2003-09-22  Michael Koch  <konqueror@gmx.de>
3986
3987         * java/net/InetAddress.java:
3988         Moves around some code, reformats and adds documentation.
3989         No functional changes.
3990
3991 2003-09-22  Michael Koch  <konqueror@gmx.de>
3992
3993         * java/net/JarURLConnection.java
3994         (JarURLConnection): Modifed code to match classpath more, fixed comment.
3995         (getCertificates): Made it more error prone.
3996         (getMainAttributes): Likewise.
3997         (getAttributes): Implemented.
3998         (getManifest): Reformatted code.
3999
4000 2003-09-20  Tom Tromey  <tromey@redhat.com>
4001
4002         * java/awt/Component.java: Indentation cleanup from Classpath.
4003
4004 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
4005
4006        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
4007        checking to follow 1.4.2 spec.
4008
4009 2003-08-11  Ingo Proetel  <proetel@aicas.com>
4010
4011         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
4012         is compatible in case client and server are running in the same VM
4013         (remerged from Classpath on 2003-09-20)
4014
4015 2003-09-19  David Daney <ddaney@avtrex.com>
4016
4017         * java/lang/ref/Reference.java (clear): Set referent to null and
4018         synchronize.
4019
4020 2003-09-19  Michael Koch  <konqueror@gmx.de>
4021
4022         * gnu/java/nio/NIODatagramSocket.java,
4023         gnu/java/nio/NIOSocket.java: New files.
4024         * Makefile.am (ordinary_java_source_files):
4025         Added gnu/java/nio/NIODatagramSocket.java and
4026         gnu/java/nio/NIOSocket.java.
4027         * Makefile.in: Regenerated.
4028
4029 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
4030
4031         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
4032         top-level GTK window.
4033         (getArgs): Add "title" property.
4034         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
4035         "allow_shrink" and "allow_grow" properties.
4036         * java/awt/Dialog.java: Initialize resizable to true and change
4037         comments accordingly.  Initialize visible to false in
4038         constructors.
4039         * java/awt/Frame.java (dispose): Remove method.
4040         * java/awt/Window.java (ownedWindows): New field.
4041         (Window(Window,GraphicsConfiguration)): Add a weak reference to
4042         owner's ownedWindows vector.
4043         (finalize): Remove method.
4044         (hide): Hide owned windows.
4045         (dispose): Dispose of owned windows.
4046         (getOwnedWindows): Implement.
4047         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
4048         unused GtkArg code.
4049         (set(String,boolean)): Clamp gboolean parameter to g_object_set
4050         to TRUE or FALSE.
4051         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4052         (create): Set window's size requisition.
4053         (connectHooks): Fix indentation.
4054         (setResizable): Remove function.
4055         (static setBounds): Likewise.
4056         (setBounds): Replace call to setBounds with GTK size requisition
4057         and resize calls.
4058
4059 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
4060
4061         * win32-threads.cc: (ensure_interrupt_event_initialized) New
4062         function for lazy initialization of an auto-reset event.
4063         (_Jv_CondWait) Added thread interrupt support.
4064         (_Jv_ThreadInitData) Added initialization of interrupt support
4065         members.
4066         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
4067         (_Jv_ThreadStart) Removed unused code.
4068         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
4069         to an external caller.
4070         (_Jv_ThreadInterrupt) Implemented.
4071         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
4072         event for interrupt support as well as a mutex which regulates
4073         access to this.
4074         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
4075         event to an external caller.
4076         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
4077         process.
4078         (waitFor) Added interrupt support.
4079
4080 2003-09-19  Michael Koch  <konqueror@gmx.de>
4081
4082         * java/net/DatagramSocket.java (getLocalAddress):
4083         Renamed result variable to localAddr.
4084         * java/net/MulticastSocket.java:
4085         No need to import gnu.java.net.PlainDatagramSocketImpl.
4086
4087 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
4088
4089         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
4090         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
4091
4092 2003-09-18  Tom Tromey  <tromey@redhat.com>
4093
4094         * javax/naming/InitialContext.java: Reindented.
4095
4096 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
4097             Helmer Kraemer <hkraemer@freenet.de>
4098
4099         * javax/naming/spi/NamingManager.java (getURLContext,
4100         getObjectInstance, getStateToBind): Always use current thread's
4101         context class loader when calling Class.forName.
4102
4103 2003-09-18  Michael Koch  <konqueror@gmx.de>
4104
4105         * java/util/Timer.java (finalize): Added "throws Throwable".
4106
4107 2003-09-18  Michael Koch  <konqueror@gmx.de>
4108
4109         * java/net/DatagramSocket.java
4110         (ch): Removed.
4111         (receive): Use getChannel() instead of ch.
4112         (send): Likewise.
4113         (getChannel): Return null.
4114         * java/net/ServerSocket.java
4115         (ch): Removed.
4116         (setChannel): Removed.
4117         (implAccept): Use getChannel() instead of ch.
4118         (close): Likewise.
4119         (getChannel): Return null.
4120         * java/net/Socket.java
4121         (ch): Removed.
4122         (connect): Use getChannel() instead of ch.
4123         (setChannel): Removed.
4124         (getChannel): Return null.
4125
4126 2003-09-18  Mark Wielaard  <mark@klomp.org>
4127
4128         Reported by Guilhem Lavaux and Julian Dolby
4129         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
4130         field "serialPersistentFields", not "getSerialPersistentFields".
4131
4132 2003-09-18  Ingo Proetel  <proetel@aicas.com>
4133
4134         * java/util/TimeZone.java: Initialize lazily.
4135         * java/util/Locale.java (readManifest): Fix check for country.
4136         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
4137         traceable 
4138         * java/util/Calendar.java: Make use of ResourceBundle better
4139         traceable.
4140
4141 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
4142
4143         * java/sql/Timestamp.java
4144         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
4145
4146 2003-09-18  David P Grove  <groved@us.ibm.com>
4147
4148         * java/io/LineNumberReader (read): Don't reset pos & limit when
4149         markPos is 0.
4150
4151 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
4152
4153         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
4154         constant.
4155         (computeArguments): use computeTypicalArguments.
4156
4157         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
4158         Compile_jikes.java and RMICException.java.
4159         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
4160         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
4161         * gnu/java/rmi/rmic/RMICException.java: Likewise.
4162  
4163         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
4164  
4165         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
4166         (computeTypicalArguments): New method.
4167         (compile): Print compiler output to System.out. Collect compiler
4168         error output and use it in exception message.
4169  
4170         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
4171         (destination): Initialize to null.
4172         (run): Replace file separator with '.' when processing class.
4173         (processClass): Replace '.' with file separator when compiling
4174         classes.
4175         (findClass): Use SystemClassLoader to load class.
4176         (generateStub): Use full class name for generated stub, that puts
4177         it in right path.  Replace '.' with file separator when generating
4178         stub file name. Write just the stub class name without package
4179         information as class name, and constructor name. Write only
4180         interface names for interfaces extending java.rmi.Remote as
4181         implemented.
4182         (generateSkel): Use full class name for generated skel, that puts
4183         it in right path.  Replace '.' with file separator when generating
4184         stub file name. Write just the stub class name without package
4185         information as class name.
4186
4187 2003-09-18  Michael Koch  <konqueror@gmx.de>
4188
4189         * Makefile.am (rmi_java_source_files):
4190         Added gnu/java/rmi/rmic/Compile_kjc.java,
4191         gnu/java/rmi/rmic/Compile_jikes.java and
4192         gnu/java/rmi/rmic/RMICException.java
4193         * Makefile.in: Regenerated.
4194
4195 2003-09-17  Graydon Hoare  <graydon@redhat.com>
4196
4197         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4198         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4199         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
4200         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
4201         New files.
4202
4203 2003-09-16  Graydon Hoare  <graydon@redhat.com>
4204
4205         * java/awt/BufferedImage.java (setData): Support non-component
4206         sample models.
4207         (getData): Same.
4208
4209 2003-09-10  Graydon Hoare  <graydon@redhat.com>
4210
4211         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
4212         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
4213
4214 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
4215
4216         * configure.in: Standardized help text case of
4217         --enable-hash-synchronization
4218         New configure switch --enable-libgcj-multifile and corresponding
4219         automake conditional ONESTEP.
4220         * configure: Rebuilt.
4221         * Makefile.am: Use automake conditional ONESTEP to determine
4222         whether classfiles should be compiled individually or all
4223         at once.
4224         * Makefile.in: Rebuilt.
4225
4226 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
4227
4228         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
4229         Remove method declaration.
4230         (create()): Call native create.
4231         (create(int)): New method.
4232         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4233         (create): Add window_id parameter.  Call gtk_plug_new with
4234         window_id parameter.
4235         (construct): Remove method implementation.
4236
4237 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
4238
4239         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
4240         (mostlyclean-local): New target patterned after clean-local
4241         which recursively deletes all libtool objects using 'libtool rm'.
4242         (clean-local): Slightly modified comment to alleviate monotony.
4243         (distclean-local): New target patterned after clean-local
4244         which recursively deletes all .d files.
4245         * Makefile.in: Rebuilt.
4246
4247 2003-09-11  Tom Tromey  <tromey@redhat.com>
4248
4249         * java/net/URLStreamHandler.java (parseURL): If original file
4250         ends with "/", so must canonical result.
4251         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
4252         with nul-termination and finding previous "/".
4253
4254 2003-09-11  Michael Koch  <konqueror@gmx.de>
4255
4256         * acconfig.h: Removed most items.
4257         * configure.in: Added descriptions to AC_DEFINE macros that where in
4258         acconfig.h before.
4259         * include/config.h.in: Regenerated.
4260
4261 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
4262
4263         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
4264         if one is installed. Improve Javadoc.
4265         (getSystemEventQueueImpl): Improve Javadoc.
4266
4267 2003-09-11  Tom Tromey  <tromey@redhat.com>
4268
4269         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
4270         file does not exist.
4271
4272 2003-09-10  Anthony Green  <green@redhat.com>
4273
4274         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
4275         Specify full name when referencing ::java::net::InetAddress.
4276         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
4277         Fix argument type.
4278
4279 2003-09-10  Michael Koch  <konqueror@gmx.de>
4280
4281         * acconfig.h (__NO_MATH_INLINES): Removed.
4282         * configure.in: Removed check for g++ math inlining bug from 2000.
4283         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
4284         libgcj_cxxflags.
4285         * configure: Regenerated.
4286
4287 2003-09-10  David Daney <ddaney@avtrex.com>
4288
4289         * java/util/Arrays.java (equals(all variants)): Quit using
4290         NullPointerException catching to detect null valued parameters.
4291
4292 2003-09-10  Michael Koch  <konqueror@gmx.de>
4293
4294         * java/net/DatagramSocket.java,
4295         java/net/MulticastSocket.java,
4296         java/net/ServerSocket.java,
4297         java/net/Socket.java:
4298         Use gnu.java.net.Plain*SocketImpl instead of
4299         java.net.PlainSocketImpl.
4300         * java/net/PlainDatagramSocketImpl.java,
4301         java/net/PlainSocketImpl.java,
4302         java/net/SocketInputStream.java,
4303         java/net/SocketOutputStream.java,
4304         java/net/natPlainDatagramSocketImplNoNet.cc,
4305         java/net/natPlainDatagramSocketImplPosix.cc,
4306         java/net/natPlainDatagramSocketImplWin32.cc,
4307         java/net/natPlainSocketImplNoNet.cc,
4308         java/net/natPlainSocketImplPosix.cc,
4309         java/net/natPlainSocketImplWin32.cc:
4310         Removed.
4311         * gnu/java/net/PlainDatagramSocketImpl.java,
4312         gnu/java/net/PlainSocketImpl.java,
4313         gnu/java/net/SocketInputStream.java,
4314         gnu/java/net/SocketOutputStream.java,
4315         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
4316         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
4317         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
4318         gnu/java/net/natPlainSocketImplNoNet.cc,
4319         gnu/java/net/natPlainSocketImplPosix.cc,
4320         gnu/java/net/natPlainSocketImplWin32.cc:
4321         New files (moved from java/net).
4322         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
4323         instead of java/net/natPlain*SocketImpl.cc.
4324         * configure: Regenerated.
4325         * Makefile.am: Moved files from java/net to gnu/java/net.
4326         * Makefile.in: Regenerated.
4327
4328 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
4329
4330         * configure: Regenerate.
4331
4332 2003-09-04  Tom Tromey  <tromey@redhat.com>
4333
4334         * configure.host: Removed erroneous comment.
4335
4336         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
4337         lvalue cast; use correct rvalue cast.
4338
4339 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
4340
4341         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
4342         and height arguments to GtkWindowPeer.create method call.
4343         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4344         (create(int,int,int)): New method.
4345         (create(int)): Add call to new create method.
4346         (create()): Add width and height arguments to create method
4347         call.
4348         (GtkWindowPeer): Remove call to setBounds.
4349         * java/awt/Frame.java (Frame(String)): Initialize visible field
4350         to false.
4351         (Frame(GraphicsConfiguration)): Likewise.
4352         (Frame(String,GraphicsConfiguration)): Likewise.
4353         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4354         Add width and height parameters.  Call
4355         gtk_window_set_default_size.
4356         (connectHooks): Remove unused name variable.
4357         (static setBounds): Call gtk_window_resize not
4358         gtk_widget_set_usize.
4359         (setBounds): Remove unused nchildren variable.
4360
4361 2003-08-31  Ingo Proetel  <proetel@aicas.com>
4362
4363         * java/util/logging/Logger.java: provide class and method information
4364         * java/util/logging/LogManager.java: create handlers
4365         * java/util/logging/SimpleFormatter.java: print souceClassName and
4366         sourceMethodName
4367
4368 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4369
4370         * win32.cc: fixed tab, indentation and whitespace
4371         inconsistencies
4372         removed jvm.h include
4373         added includes java/lang/UnsupportedOperationException.h,
4374         java/io/IOException.h, java/net/SocketException.h
4375         (WSAEventWrapper): class implementation
4376         (_Jv_WinStrError): implemented both overloads
4377         (_Jv_ThrowIOException): implemented both overloads
4378         (_Jv_ThrowSocketException): implemented both overloads
4379         (_Jv_select): implemented
4380         * include/win32.h: fixed tab, indentation and whitespace
4381         inconsistencies
4382         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
4383         added jvm.h include
4384         (WSAEventWrapper): added class declaration
4385         (_Jv_WinStrError): added both overload declarations
4386         (_Jv_ThrowIOException): added both overload declarations
4387         (_Jv_ThrowSocketException): added both overload declarations
4388         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
4389         (_Jv_select): added declaration
4390         (_Jv_socket): removed
4391         (_Jv_connect): removed
4392         (_Jv_close): removed
4393         (_Jv_bind): removed
4394         (_Jv_accept): removed
4395         (_Jv_listen): removed
4396         (_Jv_write): removed
4397         (_Jv_read): removed
4398         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
4399         whitespace inconsistencies
4400         replaced <windows.h> #include with <platform.h>
4401         removed jvm.h include
4402         (testCanUseGetHandleInfo): new function which tests whether Win32
4403         GetHandleInformation() call can be used with console buffer handles
4404         (only supported on >=WinNT 5.0)
4405         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
4406         (valid): rewrote implementation using GetHandleInformation()
4407         (sync):         changed exception throwing to use error string and exception
4408         helper methods declared in include/win32.h
4409         (open): likewise
4410         (write): likewise
4411         (setLength): likewise
4412         (close): likewise
4413         (seek): likewise
4414         (getFilePointer): likewise
4415         (read): likewise
4416         * java/io/natFileWin32.cc: fixed tab, indentation and
4417         whitespace inconsistencies
4418         replaced <windows.h> #include with <platform.h>
4419         removed jvm.h include
4420         (_access): use JV_TEMP_UTF_STRING
4421         (_stat): likewise
4422         (performMkDir): use JV_TEMP_UTF_STRING
4423         (performRenameTo): likewise
4424         (performDelete): likewise
4425         (performCreate): likewise
4426         (performSetReadOnly): likewise
4427         (performSetLastModified): likewise
4428         * java/lang/natWin32Process.cc: fixed tab, indentation and
4429         whitespace inconsistencies
4430         replaced <windows.h> #include with <platform.h>
4431         removed includes gcj/cni.h, jvm.h
4432         (new_string): removed
4433         (startProcess): use JV_TEMP_UTF_STRING,
4434         changed exception throwing to use error string and exception
4435         helper methods declared in include/win32.h
4436         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
4437         whitespace inconsistencies
4438         replaced <windows.h> #include with <platform.h>
4439         removed jvm.h include
4440         removed DISABLE_JAVA_NET conditional code
4441         removed POSIX conditional code not relevant to Win32
4442         (aton): use JV_TEMP_UTF_STRING
4443         removed POSIX conditional code not relevant to Win32
4444         (lookup): likewise
4445         (getLocalHostName): likewise
4446         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
4447         whitespace inconsistencies
4448         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
4449         removed DISABLE_JAVA_NET conditional code
4450         removed POSIX conditional code not relevant to Win32
4451         (winsock2GetRealNetworkInterfaces): new function to compute network
4452         interfaces via Winsock2 API
4453         (determineGetRealNetworkInterfacesFN): new function for returning
4454         a function pointer to the function used to compute network interfaces.
4455         (getRealNetworkInterfaces): implemented
4456         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
4457         whitespace inconsistencies
4458         removed gcj/cni.h include
4459         removed DISABLE_JAVA_NET conditional code
4460         removed POSIX conditional code not relevant to Win32
4461         changed net POSIXisms to Win32isms
4462         replaced _Jv socket-related calls with their real Win32 equivalents
4463         changed exception throwing to use error string and exception
4464         helper methods declared in include/win32.h
4465         (peekData): implemented timeout support
4466         (receive): likewise
4467         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
4468         whitespace inconsistencies
4469         removed gcj/cni.h and gcj/javaprims.h includes
4470         removed DISABLE_JAVA_NET conditional code
4471         removed POSIX conditional code not relevant to Win32
4472         changed net POSIXisms to Win32isms
4473         replaced _Jv socket-related calls with their real Win32
4474         equivalents
4475         changed exception throwing to use error string and exception
4476         helper methods declared in include/win32.h
4477         (throwConnectException): helper function for connect()
4478         (connect): implemented timeout support
4479         (accept): likewise
4480         (doRead): new helper function common to both read() method overloads,
4481         includes timeout support
4482         (read): implemented both overloads in terms of doRead()
4483         (available): implemented using ioctlsocket()
4484
4485 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4486
4487         * java/net/natInetAddressWin32.cc,
4488         java/net/natNetworkInterfaceWin32.cc,
4489         java/net/natPlainDatagramSocketImplWin32.cc,
4490         java/net/natPlainSocketImplWin32.cc:
4491         Readded code enclosed in DISABLE_JAVA_NET defines
4492         in preparation for MinGW cleanup / networking
4493         patch
4494
4495 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4496
4497         * Makefile.am: Fixed problems with parallel makes.
4498         (all_java_class_files): Readded definition.
4499         (all_java_class_files): New target which depends on
4500         libgcj-@gcc_version@.jar
4501         * Makefile.in: Rebuilt
4502
4503 2003-08-28  Tom Tromey  <tromey@redhat.com>
4504
4505         * Makefile.in: Rebuilt.
4506         * Makefile.am (ordinary_java_source_files): Added new files.
4507         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
4508         friend.
4509         * java/net/URLClassLoader.java (findClass): Don't use
4510         findURLResource.  Use loader's getClass method.
4511         (URLLoader.getClass): New method.
4512         (addURL): Handle `gcjlib' URLs.
4513         (SoURLLoader): New class.
4514         (SoResource): Likewise.
4515         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
4516         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
4517         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
4518         (_Jv_RegisterCoreHook): Declare.
4519         (_Jv_FindCore): Declare.
4520         * gnu/gcj/runtime/SharedLibHelper.java: New file.
4521         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
4522         typedef.
4523         (core_hook): New function.
4524         (struct SharedLibDummy) [saved_core]: New field.
4525         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
4526         (register_hook): Set protection domain and class loader on new
4527         class.
4528         (finalize): Free core chain.
4529         * gnu/gcj/Core.java (Core): New constructor.
4530         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
4531         SharedLibHelper.
4532         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
4533         (_Jv_create_core): New function.
4534         (create): Use it.
4535         (default_register_resource): New function.
4536         (_Jv_RegisterCoreHook): New global.
4537         (_Jv_RegisterResource): Use it.
4538         (core_chain_struct): Removed.
4539         (_Jv_FindCore): New function.
4540         (_Jv_FreeCoreChain): New function.
4541
4542 2003-08-29  Michael Koch  <konqueror@gmx.de>
4543
4544         * java/net/natInetAddressWin32.cc,
4545         java/net/natNetworkInterfaceWin32.cc,
4546         java/net/natPlainDatagramSocketImplWin32.cc,
4547         java/net/natPlainSocketImplWin32.cc:
4548         Removed code enclosed in DISABLE_JAVA_NET defines.
4549
4550 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
4551
4552         * Makefile.am: (write_entries_to_file) New parameterized
4553         function for writing entries to a file one line at a time.
4554         (all_java_class_files): Removed definition.
4555         (.java.class) Removed.target.
4556         (libgcj-@gcc_version@.jar): Changed dependency to
4557         $(all_java_source_files); added compilation step which compiles
4558         all changed source files in one pass.
4559         (libgcj.la) Refactored to use write_entries_to_file.
4560         (lib-gnu-awt-xlib.la) Likewise.
4561         (install-data-local) Likewise.
4562         (write-entries-to-file-check) New target which tests write_entries_to_file.
4563         (all-recursive): Changed dependency from $(all_java_class_files)
4564         to libgcj-@gcc_version@.jar
4565         * Makefile.in: Rebuilt.
4566
4567 2003-08-26  Tom Tromey  <tromey@redhat.com>
4568
4569         * java/lang/StrictMath.java: Typo fix.
4570         * java/lang/Math.java: Typo fix.
4571
4572 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
4573
4574         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
4575         of the removed Thread.
4576
4577 2003-08-26  Mark Wielaard  <mark@klomp.org>
4578
4579         Reported by David Holmes <dholmes@dltech.com.au>.
4580         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
4581         Collections.synchronizedMap.
4582         * java/lang/ThreadLocal.java (valueMap): Likewise.
4583
4584 2003-08-26  Mark Wielaard  <mark@klomp.org>
4585
4586         * java/security/acl/Acl.java: Fix broken p tag.
4587         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
4588         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
4589         * javax/swing/plaf/TreeUI.java: Likewise.
4590         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
4591         * java/util/Properties.java: Use the word umlaut, not &auml; in api
4592         documentation.
4593         * java/util/PropertyResourceBundle.java: Likewise and add closing code
4594         tag.
4595
4596 2003-08-26  Tom Tromey  <tromey@redhat.com>
4597
4598         * Makefile.in: Rebuilt.
4599         * Makefile.am: Removed all GNU-make-specific FIXME comments.
4600
4601         * java/lang/ref/Reference.java (get): Indentation fix.
4602         (clear): Comment fix.
4603         (enqueue): Likewise.
4604         (lock): Likewise.
4605         (referent): Likewise.
4606
4607 2003-08-26  Tom Tromey  <tromey@redhat.com>
4608
4609         PR java/12058:
4610         * java/lang/reflect/natArray.cc (set): Allow null as argument.
4611
4612         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
4613         (ProxyData.getPackage): New method.
4614         (ProxyData.getProxyData): Use package name, not Package.
4615         (ClassFactory.ClassFactory): Updated.
4616
4617 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
4618         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
4619         * Makefile.in: re-generated.
4620         * gnu/awt/j2d/IntegerGraphicsState.java
4621         (ScreenCoupledImage): new interface.
4622         (drawImage): detect ScreenCoupledImage instances.
4623         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
4624         * gnu/awt/xlib/XEventLoop.java
4625         (createEvent): re-formatted, and rearranged to avoid null pointer.
4626         * gnu/awt/xlib/XGraphics.java
4627         (drawImage): added XOffScreenImage handling.
4628         * gnu/awt/xlib/XOffScreenImage.java: new file.
4629         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
4630         * gnu/gcj/xlib/GC.java (copyArea): new native method.
4631         * gnu/gcj/xlib/XAnyEvent.java
4632         (TYPE_KEY_PRESS): new constant.
4633         (TYPE_KEY_RELEASE): new constant.
4634         (TYPE_MOTION_NOTIFY): new constant.
4635         (TYPE_ENTER_NOTIFY): new constant.
4636         (TYPE_LEAVE_NOTIFY): new constant.
4637         (TYPE_FOCUS_IN): new constant.
4638         (TYPE_FOCUS_OUT): new constant.
4639         (TYPE_KEYMAP_NOTIFY): new constant.
4640         (TYPE_GRAPHICS_EXPOSE): new constant.
4641         (TYPE_NO_EXPOSE): new constant.
4642         (TYPE_VISIBILITY_NOTIFY): new constant.
4643         (TYPE_CREATE_NOTIFY): new constant.
4644         (TYPE_DESTROY_NOTIFY): new constant.
4645         (TYPE_MAP_REQUEST): new constant.
4646         (TYPE_CONFIGURE_REQUEST): new constant.
4647         (TYPE_GRAVITY_NOTIFY): new constant.
4648         (TYPE_RESIZE_REQUEST): new constant.
4649         (TYPE_CIRCULATE_NOTIFY): new constant.
4650         (TYPE_CIRCULATE_REQUEST): new constant.
4651         (TYPE_PROPERTY_NOTIFY): new constant.
4652         (TYPE_SELECTION_CLEAR): new constant.
4653         (TYPE_SELECTION_REQUEST): new constant.
4654         (TYPE_SELECTION_NOTIFY): new constant.
4655         (TYPE_COLORMAP_NOTIFY): new constant.
4656         (TYPE_MAPPING_NOTIFY): new constant.
4657         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
4658         * gnu/gcj/xlib/natGC.cc (copyArea): new method
4659         * java/awt/Component.java (createImage): changed to use peer method.
4660
4661 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4662
4663         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
4664         name, not XLFD, to native drawString.
4665         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4666         Replace XLFD-based implementation with Pango-based
4667         implementation.
4668
4669 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4670
4671         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
4672         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
4673
4674 2003-08-21  David Daney  <ddaney@avtrex.com>
4675
4676         Fix for PR libgcj/12013:
4677         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4678         Check `cleared' field.
4679         * java/lang/ref/Reference.java (copy): Updated comments.
4680         (cleared): New field.
4681         (clear): Rewrote.
4682
4683 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
4684             Thomas Fitzsimmons  <fitzsim@redhat.com>
4685
4686         * Makefile.am (gtk_awt_peer_sources): Add
4687         gnu/java/awt/peer/GLightweightPeer.java.  Remove
4688         gnu/java/awt/GLightweightPeer.java.
4689         * gnu/java/awt/GLightweightPeer.java: Remove file.
4690         * gnu/java/awt/peer/GLightweightPeer.java: New file.
4691         * java/awt/Component.java (getToolkit): Add comment about
4692         lightweight components.
4693         * java/awt/Toolkit.java (createComponent): Return
4694         gnu.java.awt.peer.GLightweightPeer.
4695
4696 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
4697
4698         * configure.in: Fix detection of gcj when building with newlib.
4699         * configure: Regenerated.
4700
4701 2003-08-20  Graydon Hoare  <graydon@redhat.com>
4702
4703         * jni.cc: Replace "cheating" pointer-casting code with
4704         extract_from_jvalue<> template.
4705
4706 2003-08-20  Andrew Haley  <aph@redhat.com>
4707
4708         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
4709         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
4710         (classAt): Break out class lookup function into getClass().
4711         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
4712         handlers when using -fno-assume-compiled.
4713
4714 2003-08-20  Tom Tromey  <tromey@redhat.com>
4715
4716         Fix for PR libgcj/9125:
4717         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
4718         object outside of loop.  Respect lib_control setting.
4719         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
4720         field.
4721         (lib_control): New field.
4722         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
4723         (VMClassLoader): Initialize new field.
4724
4725         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4726         Set `list->reference' to DELETED_REFERENCE when removing dead
4727         object.
4728         (find_slot): Added an assert.
4729         (DELETED_REFERENCE): New define.
4730         (add_to_hash): Check for DELETED_REFERENCE.
4731         (remove_from_hash): Just return if found slot isn't ours.
4732
4733 2003-08-19  Andrew Haley  <aph@redhat.com>
4734
4735         * prims.cc (unblock_signal): New function.
4736         (catch_segv): Use it.
4737         (catch_fpe): Likewise.
4738
4739 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
4740
4741         PR libgcj/11575
4742         * java/io/natFileDescriptorWin32.cc (open): Set create
4743         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
4744         Honor EXCL when openning with WRITE flag. 
4745
4746 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
4747
4748         * include/jvm.h: New class _Jv_TempUTFString (helper class for
4749         getting a temporary C string from a jstring)
4750         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
4751         but uses a stack buffer if the string length is less than 256
4752         bytes.
4753
4754 2003-08-18  Tom Tromey  <tromey@redhat.com>
4755
4756         PR libgcj/11951:
4757         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
4758         void.  Throw VirtualMachineError if ffi fails.  Initialize return
4759         value.  Added is_jni_call argument; only wrap exception if not a
4760         JNI call.  Use descriptive message if operation not supported.
4761         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
4762         array class.
4763         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
4764         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
4765         _Jv_CallAnyMethodA.
4766         (_Jv_JNI_CallAnyMethodA): Likewise.
4767         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
4768         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
4769
4770 2003-08-13  Tom Tromey  <tromey@redhat.com>
4771
4772         * gij.cc (help): Document -? and -X.
4773
4774 2003-08-12  Graydon Hoare  <graydon@redhat.com>
4775
4776         * java/awt/Font.java: 
4777         Stub out more recent API. 
4778
4779 2003-08-12  Graydon Hoare  <graydon@redhat.com>
4780
4781         * java/awt/Color.java (getAlpha): 
4782         Prevent sign-extended alpha values.
4783
4784 2003-08-12  Tom Tromey  <tromey@redhat.com>
4785
4786         * gij.cc (main): Handle -? and -X.
4787
4788 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
4789
4790         * java/awt/Container.java
4791         (getPreferredSize): Call preferredSize.
4792         (preferredSize): Moved body of getPreferredSize here.
4793         (getMinimumSize): Call minimumSize.
4794         (minimumSize): Moved body of getMinimumSize here.
4795
4796 2003-08-11  Tom Tromey  <tromey@redhat.com>
4797
4798         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
4799         (postEvent): Removed FIXME comment.
4800         (isDispatchThread): Documented.
4801         (getCurrentEvent): New method.
4802         (dispatchEvent): Set currentEvent and lastWhen.
4803         (getMostRecentEventTime): Rewrote.
4804         (invokeLater): Documented.
4805
4806 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
4807
4808         * java/io/PrintStream.java (print): Always flush if auto_flush is
4809         set. Don't check for newline characters.
4810         (write (int)): Implement without using a temporary array.
4811         (write (byte[], int, int): Always flush if auto_flush is set. Don't
4812         check for newline characters.
4813         Fixes PR libgcj/11778.
4814
4815 2003-08-08  Andrew Haley  <aph@redhat.com>
4816
4817         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
4818         * Makefile.in: Rebuild.
4819         * java/lang/natRuntime.cc (insertSystemProperties): Add
4820         "sun.boot.class.path".
4821
4822 2003-08-07  Andrew Haley  <aph@redhat.com>
4823
4824         * java/io/PrintStream.java: Don't crash on a null string.
4825         
4826 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4827
4828         * configure.in: Don't initialize GCINCS to boehm-gc/include.
4829         * configure: Regenerate.
4830
4831 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4832
4833         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
4834         SocketImpl. Update Javadoc.
4835         (bind): Call close() not impl.close() in event of exception.
4836         (connect): Likewise.
4837         Remove superfluous null checks throughout.
4838         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
4839         Don't create an extra socket. Fix for PR libgcj/10868.
4840         (bind): Clean up exception handling.
4841         Remove superfluous null checks throughout.
4842
4843 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
4844             Bryce McKinlay  <bryce@mckinlay.net.nz>
4845
4846         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
4847         ready-to-write argument to _Jv_Select. Reset the socket back to 
4848         non-blocking state after connecting.
4849         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
4850         Throw SocketTimeoutException not InterruptedIOException.
4851         (read): Throw SocketTimeoutException not InterruptedIOException.
4852
4853 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4854
4855         * java/lang/Thread.java (Thread): Check for null "name" from
4856         start of private constructor, not after calling the private
4857         constructor.
4858
4859 2003-08-06  Tom Tromey  <tromey@redhat.com>
4860
4861         * java/io/FilePermission.java (equals): Use correct index for
4862         last character of path.
4863
4864 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
4865
4866         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
4867         * configure.in: Compare with_cross_host to build_alias, not build.
4868         * aclocal.m4: Regenerate.
4869         * configure: Regenerate.
4870
4871 2003-08-05  Tom Tromey  <tromey@redhat.com>
4872
4873         Fix for PR libgcj/11779:
4874         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
4875         class.
4876
4877         * java/lang/reflect/Method.java: Updated status comment.
4878         Imported javadoc from Classpath and re-ordered methods.
4879         * java/lang/reflect/Constructor.java: Reindented.  Updated
4880         status comment.  Imported javadoc from Classpath and re-ordered
4881         methods.
4882
4883 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
4884
4885         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
4886         Add keyLocation parameter.
4887         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
4888         string.
4889         (paramString): Generate keyChar string according to keyChar, not
4890         keyCode.
4891         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4892         (state_to_awt_mods): Handle ALT key.
4893         (keyevent_state_to_awt_mods): New function.
4894         (get_first_keyval_from_keymap): New function.
4895         (keysym_to_awt_keycode): Get virtual key code from keymap.
4896         Handle missing VK_ values.
4897         (keysym_to_awt_keylocation): New function.
4898         (keyevent_to_awt_keychar): New function.
4899         (generates_key_typed_event): Handle non-text-component case.
4900         Handle GDK_KP_Delete and GDK_KP_Enter.
4901         (awt_event_handler): Call new functions to get postKeyEvent
4902         parameters.
4903         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
4904         Update postKeyEvent method signature.
4905         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
4906         VK_ defines.
4907
4908 2003-08-05  Matthias Klose  <doko@debian.org>
4909
4910         * aclocal.m4: check for libart-config binary
4911           under the name libart2-config as well.
4912         * configure: regenerated.
4913
4914 2003-08-04  David P Grove  <groved@us.ibm.com>
4915
4916         * java/text/DecimalFormat.java (format): avoid ArithmeticException
4917         when groupingSize is 0.
4918         (parse): Likewise.
4919
4920 2003-08-04  Matthias Klose  <doko@debian.org>
4921
4922         * libart.m4: check for libart-config binary
4923           under the name libart2-config as well.
4924         * configure, aclocal.m4: regenerated.
4925
4926 2003-08-02  Michael Koch  <konqueror@gmx.de>
4927
4928         * java/nio/ByteBufferImpl.java
4929         (getChar): Check remaining bytes, fixed comment about endianess.
4930         (putChar): Likewise.
4931         (getShort): Likewise.
4932         (putShort): Likewise.
4933         (getInt): Check remaining bytes, fixed conversion, fixed comment about
4934         endianess.
4935         (putInt): Likewise.
4936         (getLong): Likewise.
4937         (putLong): Likewise.
4938         (getFloat): Likewise.
4939         (putFloat): Likewise.
4940         (getDouble): Likewise.
4941         (putDouble): Likewise.
4942         * java/nio/DirectByteBufferImpl.java
4943         (getChar): Wrapped code, fixed comment about endianess.
4944         (putchar): Likewise.
4945         (getShort): Likewise.
4946         (putShort): Likewise.
4947         (getInt): Fixed conversion, fixed comment about endianess.
4948         (putInt): Likewise.
4949         (getLong): Likewise.
4950         (putLong): Likewise.
4951         (getFloat): Likewise.
4952         (putFloat): Likewise.
4953         (getDouble): Likewise.
4954         (putDouble): Likewise.
4955         * java/nio/MappedByteBufferImpl.java
4956         (compact): Implemented.
4957         (getChar): Implemented.
4958         (putChar): Implemented.
4959         (getDouble): Implemented.
4960         (putdouble): Implemented.
4961         (getFloat): Implemented.
4962         (putFloat): Implemented.
4963         (getInt): Implemented.
4964         (putInt): Implemented.
4965         (getLong): Implemented.
4966         (putLong): Implemented.
4967         (getShort): Implemented.
4968         (putShort): Implemented.
4969         * java/nio/channels/FileChannelImpl.java
4970         (read): Set position where to access file.
4971         (write): Likewise.
4972         (transferTo): Flip buffer after read and before write.
4973         (transferFrom): Likewise.
4974
4975 2003-08-02  Michael Koch  <konqueror@gmx.de>
4976
4977         * gnu/java/lang/ArrayHelper.java
4978         (equalsArray): Reformated, added method documentation.
4979
4980 2003-08-02  Michael Koch  <konqueror@gmx.de>
4981
4982         * java/net/URL.java
4983         (URL): Added paragraph about the
4984         gnu.java.net.nocache_protocol_handlers property.
4985         (ph_cache): Renamed from handlers to match classpath's implementation.
4986         Reordered it with factory and serialVersionUID member variables.
4987         (cache_handlers): New member variable.
4988         (static): New static initializer to initialize cache_handlers from
4989         gnu.java.net.nocache_protocol_handlers property.
4990         (URL): Use ph_cache instead of handlers, reformatted some code to
4991         match classpath's implementation.
4992
4993 2003-08-01  Tom Tromey  <tromey@redhat.com>
4994
4995         Fix for PR libgcj/11241:
4996         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
4997         initialCapacity is 0, set it to 1.
4998
4999 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
5000
5001         * java/net/SocketImpl.java (toString): Display the remote address
5002         of an unconnected server socket as "0.0.0.0/0.0.0.0".
5003
5004 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
5005
5006         * javax/swing/border/BevelBorder.java,
5007         javax/swing/border/EtchedBorder.java,
5008         javax/swing/border/LineBorder.java,
5009         javax/swing/border/MatteBorder.java,
5010         javax/swing/border/SoftBevelBorder.java,
5011         javax/swing/plaf/BorderUIResource.java,
5012         javax/swing/plaf/ComponentUI.java,
5013         javax/swing/plaf/TreeUI.java,
5014         javax/swing/plaf/basic/BasicBorders.java,
5015         javax/swing/plaf/basic/BasicGraphicsUtils.java,
5016         javax/swing/plaf/basic/BasicTreeUI.java:
5017         Prepend "doc-files" to all paths to embedded Javadoc images, so
5018         that the generated documentation contains the correct URL.
5019
5020 2003-08-01  Tom Tromey  <tromey@redhat.com>
5021
5022         * configure: Rebuilt.
5023         * configure.in (tool_include_dir): Redefine to match gcc.
5024
5025 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
5026             Mark Wielaard  <mark@klomp.org>
5027             
5028         * java/math/BigDecimal (divide): Correctly handle
5029         ROUND_HALF_EVEN when amount is greater than 0.5.
5030         Simplify and optimize code.
5031
5032 2003-07-31  Tom Tromey  <tromey@redhat.com>
5033
5034         More for PR libgcj/11737:
5035         * java/io/ObjectInputStream.java (processResolution): Use
5036         getMethod.
5037         (getMethod): Make method accessible.
5038         (getField): Make field accessible.
5039         (setBooleanField): Don't call setAccessible here.
5040         (setByteField, setCharField, setDoubleField, setFloatField,
5041         setIntField, setLongField, setShortField, setObjectField):
5042         Likewise.
5043         (callReadMethod): Don't check whether method is null.  Catch
5044         NoSuchMethodException.
5045         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
5046         cause on thrown exceptions.
5047
5048 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
5049
5050         Fix for PR libgcj/11728:
5051         * java/util/HashMap.java (readObject): Set size.
5052
5053 2003-07-31  Tom Tromey  <tromey@redhat.com>
5054
5055         Fix for PR libgcj/11737:
5056         * java/io/ObjectOutputStream.java (getMethod): Make method
5057         accessible.
5058         (getField): Likewise.
5059         (writeObject): Use getMethod.
5060         Import PrivilegedAction and AccessController.
5061         (callWriteMethod): Don't check whether m is null.  Catch
5062         NoSuchMethodException.
5063
5064         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
5065         (containsAngle): Likewise.
5066         (getStartPoint): Rewrote.
5067         (getEndPoint): Likewise.
5068         (setAngleStart(Point2D)): Likewise.
5069
5070 2003-07-31  Roger Sayle  <roger@eyesopen.com>
5071             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5072
5073         * configure.in: Add new THREADCXXFLAGS variable.
5074         Handle POSIX threads on alpha*-dec-osf*.
5075         * configure: Regenerate.
5076         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
5077         * Makefile.in: Regenerate.
5078
5079 2003-07-08  Andrew Haley  <aph@redhat.com>
5080
5081         * include/i386-signal.h (RESTORE): New.
5082         (INIT_SEGV): Set restorer.
5083         (INIT_FPE): Likewise.
5084
5085 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
5086
5087         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
5088         than getXLFD.
5089         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
5090         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
5091         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5092         (gtkSetFont): Scale size parameter by PANGO_SCALE.
5093         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
5094         Likewise.
5095         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
5096         Likewise.
5097
5098 2003-07-29  Tom Tromey  <tromey@redhat.com>
5099
5100         * defineclass.cc (handleField): Throw exception if field name is
5101         duplicated.
5102         (handleMethod): Throw exception for duplicate method.
5103
5104 2003-07-29  Tom Tromey  <tromey@redhat.com>
5105
5106         * gnu/gcj/convert/natIconv.cc (write): Handle case where
5107         output buffer is too small.
5108
5109 2003-07-28  Tom Tromey  <tromey@redhat.com>
5110
5111         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
5112         New method.
5113         Include gnu/gcj/runtime/StringBuffer.h.
5114         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
5115         native method.
5116         (String(gnu.gcj.runtime.StringBuffer)): Use it.
5117
5118 2003-07-27  Anthony Green  <green@redhat.com>
5119
5120         * configure.in: Fix newlib check.
5121         * configure: Rebuilt.
5122
5123 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
5124
5125         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5126         Create vbox and layout for GtkPlug.
5127
5128 2003-07-27  Michael Koch  <konqueror@gmx.de>
5129
5130         * java/awt/Window.java
5131         (Window): Removed now unused constructor. It became oboslete with the
5132         new embedded window patch.
5133
5134 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
5135             Michael Koch  <konqueror@gmx.de>
5136
5137         * gnu/java/awt/EmbeddedWindow.java
5138         (EmbeddedWindow): Extends Frame instead of Window.
5139         (window_id): New member variable to store the native window handle.
5140         (create): Removed.
5141         (EmbeddedWindow): New constructor.
5142         (addNotify): New method.
5143         (getHandler): Likewise.
5144         (setWindowPeer): New native method.
5145         * gnu/java/awt/EmbeddedWindowSupport.java
5146         (EmbeddedWindowSupport): Fixed documentation.
5147         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
5148         WindowPeer, give it an EmbeddedWindow instance instead of the raw
5149         window data.
5150         * gnu/java/awt/natEmbeddedWindow.cc
5151         (create): Removed.
5152         (setWindowPeer): New method.
5153         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
5154         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
5155         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5156         New files
5157         * gnu/java/awt/peer/gtk/GtkToolkit.java
5158         (GtkToolkit): Implements EmbeddedWindowSupport.
5159         (createEmbeddedWindow): New method.
5160         * java/awt/Window.java
5161         (Window): Removed.
5162         * Makefile.am
5163         (java_source_files): Added EmbeddedWindowPeer.java.
5164         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
5165         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
5166         * Makefile.in: Regenerated.
5167
5168 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
5169
5170         * java/lang/Win32Process.java (ConcreteProcess): Surround
5171         a command line element with quotes if it contains an
5172         embedded space or tab.
5173         * java/lang/natWin32Process.cc (startProcess): Do not
5174         surround command line elements with quotes here.
5175
5176         * configure.host: Use -fcheck-references and 
5177         -fuse-divide-subroutine for MinGW until we fix
5178         win32_exception_handler( ) in win32.cc w.r.t. Win32 
5179         Structured Exception Handling (SEH).
5180
5181         * win32.cc (_Jv_platform_initProperties): Use generic names
5182         like "x86" for the "os.arch" property to be consistent with
5183         what Sun's JDK produces. Use the wProcessorArchitecture
5184         member of the Win32 SYSTEM_INFO structure, filled in a call 
5185         to GetSystemInfo( ), instead of dwProcessorType.
5186
5187 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
5188             Ranjit Mathew  <rmathew@hotmail.com>
5189
5190         * Makefile.am: Use cross-compiling gcjh from the path for
5191         a crossed-native build.
5192         * Makefile.in: Rebuilt.
5193         * configure.in: Include libltdl in non-newlib builds.
5194         Moved determination of gcj used to build libraries to
5195         its own section. Fixed cross-compilation issues for
5196         non-newlib builds.
5197         * configure: Rebuilt.
5198
5199 2003-07-25  Tom Tromey  <tromey@redhat.com>
5200
5201         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
5202         (write): Likewise.
5203         (read): Likewise.
5204         (read): Likewise.
5205
5206 2003-07-25  Mark Wielaard  <mark@klomp.org>
5207
5208         * java/lang/natRuntime.cc (_load): Add library name to
5209         UnsatisfiedLinkError when thrown.
5210
5211 2003-07-25  Mark Wielaard  <mark@klomp.org>
5212
5213         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
5214         added.
5215         * Makefile.in: Likewise.
5216
5217 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
5218
5219         * java/awt/Component.java
5220         (getPreferredSize): Call preferredSize.
5221         (preferredSize): Moved body of getPreferredSize here.
5222         (getMinimumSize): Call minimumSize.
5223         (minimumSize): Moved body of getMinimumSize here.
5224         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
5225         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
5226         pass -1
5227         * java/awt/Container.java
5228         (validate): Don't validate if there is no peer.
5229         (update): Clear background before calling paint.
5230         * java/awt/GridBagLayout.java
5231         Completed the implementation and fixed several bugs.
5232         * java/awt/MediaTracker.java
5233         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
5234         combine flags.
5235         * java/awt/Window.java
5236         (Window): Don't call setVisible(false). Windows are invisible by
5237         default and calling virtual methods from constructor causes
5238         compatibility problems (e.g. subclasses may assume that the peer
5239         already exists).
5240
5241 2003-07-25  Michael Koch  <konqueror@gmx.de>
5242
5243         * java/awt/GridBagLayout.java:
5244         Totally reworked and partly implemented.
5245         * java/awt/GridBagLayoutInfo.java:
5246         New file.
5247
5248 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
5249
5250         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
5251         Don't pack label in an event box.
5252
5253 2003-07-24  Tom Tromey  <tromey@redhat.com>
5254
5255         For PR libgcj/7482:
5256         * verify.cc (ref_intersection): New class.
5257         (type_val): Removed unresolved_reference_type,
5258         uninitialized_unresolved_reference_type.
5259         (is_assignable_from_slow): Rewrote.
5260         (type::data): Removed.
5261         (type::klass): New field.
5262         (type::type): Added verifier argument.
5263         (type::resolve): Removed.
5264         (type::set_uninitialized): Updated for change to type_val.
5265         (type::set_initialized): Likewise.
5266         (type::isinitialized): Likewise.
5267         (type::print): Likewise.
5268         (construct_primitive_array_type): Likewise.
5269         (type::compatible): Updated for change to type_val and to use
5270         ref_intersection.
5271         (type::isarray): Updated to use ref_intersection.
5272         (type::isinterface): Likewise.
5273         (type::element_type): Likewise.
5274         (type::to_array): Likewise.
5275         (type::verify_dimensions): Rewrote.
5276         (type::merge): Likewise.
5277         (check_class_constant): Updated for type constructor change.
5278         (check_constant): Likewise.
5279         (check_field_constant): Likewise.
5280         (get_one_type): Likewise.
5281         (initialize_stack): Likewise.
5282         (verify_instructions_0): Likewise.
5283         (verify_instructions_0) [op_invokeinterface]: Removed special
5284         case.
5285         (isect_list): New field.
5286         (_Jv_BytecodeVerifier): Initialize it.
5287         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
5288
5289 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
5290
5291         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
5292         unless field size is 2.
5293
5294 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
5295
5296         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5297         (connectHooks): New method.
5298         (handleEvent): Remove.
5299         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5300         (createHooks): Remove declaration.
5301         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5302         (generates_key_typed_event): Change to handle only certain
5303         keyvals.
5304         (awt_event_handler): Add special handling for GtkTextView.
5305         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5306         (textcomponent_commit_cb): New function.
5307         (textcomponent_changed_cb): Likewise.
5308         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5309         (connectHooks): Remove.
5310
5311 2003-07-23  Tom Tromey  <tromey@redhat.com>
5312
5313         * java/lang/natSystem.cc (arraycopy): Check for overflow.
5314
5315         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
5316
5317 2003-07-22  Tom Tromey  <tromey@redhat.com>
5318
5319         * boehm.cc (_Jv_BuildGCDescr): Wrote.
5320         Include limits.h.
5321
5322 2003-07-22  Tom Tromey  <tromey@redhat.com>
5323
5324         * java/awt/Window.java (getWarningString): Just return the
5325         string.
5326         (Window): Set warningString; check with security manager.
5327
5328 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
5329
5330         * gnu/awt/xlib/XGraphicsConfiguration.java
5331         (FontMetricsCache): Made static.
5332  
5333 2003-07-22  Tom Tromey  <tromey@redhat.com>
5334
5335         * java/net/URLEncoder.java (encode(String)): Use platform default
5336         encoding.
5337         (encode(String,String)): Convert to 2-digit upper-case hex
5338         number.
5339         (hex): New field.
5340
5341 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5342
5343         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5344         (create): Remove unused method implementation.
5345         (connectHooks): Remove debug messages.
5346
5347 2003-07-20  Anthony Green  <green@redhat.com>
5348
5349         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
5350         CloneNotSupportedException.
5351         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
5352         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
5353         * gnu/gcj/xlib/GC.java (clone): Ditto.
5354         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
5355         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
5356
5357         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
5358         handler.
5359         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
5360
5361 2003-07-20  Steve Pribyl <steve@netfuel.com.>
5362
5363         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
5364         String.  Put dlerror() message into exception.
5365         Include UnsatisfiedLinkError.
5366         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
5367         String.  Now native.
5368
5369 2003-07-20  Tom Tromey  <tromey@redhat.com>
5370
5371         * java/lang/Runtime.java: Comment fix.
5372         * java/lang/ClassLoader.java (isAncestorOf): New method.
5373         (getParent): Uncommented security check.  Use isAncestorOf.
5374         * include/jvm.h (_Jv_CheckAccess): Declare.
5375         * java/lang/reflect/natConstructor.cc (newInstance): Perform
5376         access check.
5377         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
5378         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
5379         class loader to _Jv_GetArrayClass.
5380         Include ArrayIndexOutOfBoundsException.h.
5381         * java/lang/reflect/Field.java: Update comment to reflect status.
5382         (equals): Fixed indentation.
5383         * java/lang/Class.h (Class): Declare memberAccessCheck, not
5384         checkMemberAccess.  Make _Jv_CheckAccess a friend.
5385         * java/lang/Class.java (memberAccessCheck): New method from
5386         Classpath.
5387         (checkMemberAccess): Removed.
5388         (getDeclaredMethod): Use memberAccessCheck.
5389         (getField): Likewise.
5390         (getMethod): Likewise.
5391         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
5392         (_Jv_SearchMethodInClass): Likewise.
5393         * prims.cc (_Jv_CheckAccess): New function.
5394         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
5395         (_Jv_JNI_GetAnyFieldID): Likewise.
5396         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
5397         (getClassLoader): Added security check.
5398         (getConstructor): Call memberAccessCheck.
5399         (getDeclaredClasses): Likewise.
5400         (getDeclaredField): Likewise.
5401         (getDeclaredFields): Likewise.
5402         (_getConstructors): Likewise.
5403         (getDeclaredConstructor): Likewise.
5404         (getDeclaredMethods): Likewise.
5405         (getFields): Likewise.
5406         (getMethods): Likewise.
5407         (newInstance): Likewise.
5408         (_Jv_MakeVTable): Put method name in exception.
5409         * java/lang/reflect/natMethod.cc (getType): Use
5410         getClassLoaderInternal.
5411         (_Jv_GetTypesFromSignature): Likewise.
5412         (invoke): Perform access check.
5413         (_Jv_CallAnyMethodA): Removed old FIXME comments.
5414         Include ArrayIndexOutOfBoundsException.h.
5415         * java/lang/reflect/natField.cc (getType): Use
5416         getClassLoaderInternal.
5417         (_Jv_CheckFieldAccessibility): Removed.
5418         (getAddr): Use _Jv_CheckAccess; find caller.
5419         Include ArrayIndexOutOfBoundsException.h.
5420
5421 2003-07-20  Michael Koch  <konqueror@gmx.de>
5422
5423         * java/net/URL.java
5424         (URL): Fixed documentation to name an argument correcty, Reformatted
5425         one method declaration.
5426         (getURLStreamHandler): Added documentation from classpath.
5427
5428 2003-07-19  Tom Tromey  <tromey@redhat.com>
5429
5430         * mauve-libgcj: Don't run CollationElementIterator tests.
5431
5432 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
5433
5434         * java/net/URLClassLoader.java (addURL): Moved implementation to
5435         private addURLImpl() to avoid calling addURL from the constructor.
5436         (addURLImpl): Contains the code that was previously in addURL.
5437         (addURLs): Call addURLImpl(), not addURL().
5438
5439 2003-07-18  Graydon Hoare  <graydon@redhat.com>
5440
5441         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
5442         Handle missing event cases, connect to "value-changed" signal.
5443
5444 2003-07-18  Graydon Hoare  <graydon@redhat.com>
5445
5446         * java/awt/geom/CubicCurve2D.java,
5447         java/awt/geom/Line2D.java,
5448         java/awt/geom/QuadCurve2D.java,
5449         java/awt/geom/Rectangle2D.java: 
5450         Fix path some calculations, make path iterators follow
5451         a consistent style.
5452
5453 2003-07-18  Mark Wielaard  <mark@klomp.org>
5454
5455         * java/util/logging/Handler.java (isLoggable): Check record level
5456         smaller or equal.
5457
5458 2003-07-17  Michael Koch  <konqueror@gmx.de>
5459
5460         * gnu/java/awt/peer/gtk/GtkToolkit.java:
5461         Reworked imports.
5462
5463 2003-07-14  Michael Koch  <konqueror@gmx.de>
5464
5465         * gnu/java/rmi/server/UnicastServerRef.java:
5466         New version from classpath.
5467
5468 2003-07-14  Michael Koch  <konqueror@gmx.de>
5469
5470         * java/awt/image/MemoryImageSource.java,
5471         java/beans/PropertyEditorManager.java,
5472         javax/naming/CompoundName.java,
5473         javax/naming/spi/NamingManager.java,
5474         javax/swing/AbstractButton.java,
5475         javax/swing/ButtonModel.java,
5476         javax/swing/SwingUtilities.java,
5477         javax/swing/UIManager.java,
5478         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5479         javax/swing/event/AncestorEvent.java,
5480         javax/swing/event/InternalFrameEvent.java,
5481         java/util/zip/ZipFile.java:
5482         New versions from classpath.
5483
5484 2003-07-13  Michael Koch  <konqueror@gmx.de>
5485
5486         * gnu/java/nio/FileChannelImpl.java,
5487         gnu/java/nio/natFileChannelImpl.cc: Removed.
5488         * java/io/FileInputStream.java,
5489         java/io/FileOutputStream.java,
5490         java/io/RandomAccessFile.java,
5491         java/nio/MappedByteBufferImpl.java:
5492         Import java.nio.channels.FileChannelImpl instead of
5493         gnu.java.nio.FileChannelImpl.
5494         * java/nio/channels/FileChannelImpl.java,
5495         java/nio/channels/natFileChannelImpl.cc:
5496         New files.
5497         * Makefile.am
5498         (ordinary_java_source_files):
5499         Removed gnu/java/nio/FileChannelImpl.java and added
5500         java/nio/channels/FileChannelImpl.java.
5501         (nat source_files):
5502         Removed gnu/java/nio/natFileChannelImpl.cc and added
5503         java/nio/channels/natFileChannelImpl.cc.
5504         * Makefile.in: Regenerated.
5505
5506 2003-07-13  Michael Koch  <konqueror@gmx.de>
5507
5508         * javax/swing/plaf/basic/BasicBorders.java,
5509         javax/swing/plaf/basic/BasicLabelUI.java,
5510         javax/swing/plaf/basic/BasicLookAndFeel.java,
5511         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5512         javax/swing/plaf/basic/BasicTextUI.java,
5513         javax/swing/plaf/metal/MetalLookAndFeel.java:
5514         New versions from classpath.
5515
5516 2003-07-13  Michael Koch  <konqueror@gmx.de>
5517
5518         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
5519         * gnu/java/awt/peer/gtk/GdkGraphics.java
5520         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
5521         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
5522         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
5523         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
5524         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
5525         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
5526         * gnu/java/awt/peer/gtk/GtkClipboard.java
5527         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
5528         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
5529         * gnu/java/awt/peer/gtk/GtkFramePeer.java
5530         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
5531         * gnu/java/awt/peer/gtk/GtkImage.java
5532         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5533         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
5534         * gnu/java/awt/peer/gtk/GtkListPeer.java
5535         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
5536         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
5537         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5538         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
5539         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
5540         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
5541         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
5542         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
5543         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
5544         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
5545         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5546         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5547
5548 2003-07-13  Michael Koch  <konqueror@gmx.de>
5549
5550         * gnu/java/locale/LocaleInformation_de.java
5551         * gnu/java/locale/LocaleInformation_en.java
5552         * gnu/java/locale/LocaleInformation_nl.java
5553
5554 2003-07-13  Michael Koch  <konqueror@gmx.de>
5555
5556         * gnu/java/awt/EmbeddedWindow.java,
5557         gnu/java/awt/EmbeddedWindowSupport.java,
5558         gnu/java/awt/natEmbeddedWindow.cc:
5559         New files.
5560         * java/awt/Window.java
5561         (Window): New constructor to support embedded windows.
5562         * Makefile.am
5563         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
5564         gnu/java/awt/EmbeddedWindowSupport.java.
5565         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
5566         * Makefile.in: Regenerated.
5567
5568 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
5569
5570         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
5571         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
5572         * java/awt/im/InputContext.java: Remove a redundant
5573         partial line.
5574
5575 2003-07-09  Tom Tromey  <tromey@redhat.com>
5576
5577         * Makefile.in: Rebuilt.
5578         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
5579
5580 2003-07-09  Mark Wielaard  <mark@klomp.org>
5581
5582         * java/io/ObjectOutputStream.java (writeObject): break after
5583         calling writeClassDescriptor().
5584
5585 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
5586
5587         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
5588
5589 2003-07-09  Michael Koch  <konqueror@gmx.de>
5590
5591         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5592         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5593         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5594         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
5595         Explicitly import used classes.
5596         * java/awt/Container.java: New version from classpath.
5597
5598 2003-07-09  Michael Koch  <konqueror@gmx.de>
5599
5600         * libgcj.pc.in: New file.
5601         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
5602         * Makefile.in: Regenerated.
5603         * configure: Regenrated.
5604         * configure.in: Create libgcj.pc from libgcj.pc.in.
5605
5606 2003-07-08  Mark Wielaard <mark@klomp.org>
5607
5608         * gcj/cni.h: CNI now expands to Compiled Native Interface.
5609
5610         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
5611         * java/lang/fdlibm.h: Likewise.
5612
5613 2003-07-07  Adam Megacz <adam@xwt.org>
5614
5615         * posix.cc: added #include<stdio.h>
5616                 
5617 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
5618
5619         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
5620         formatting.
5621
5622         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5623         (setCaretPosition, setEditable): Rely entirely on native
5624         implementation.
5625         (getArgs): Remove.
5626         (postTextEvent): New method.
5627         (handleEvent): New method.
5628         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
5629         method.
5630         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
5631         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5632         (keysym_to_awt_keycode): Fix range checks.
5633         (generates_key_typed_event): New function.
5634         (awt_event_handler): Post AWT_KEY_RELEASED events to event
5635         queue.
5636         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5637         (gtkInit): Store TextComponent's postTextEvent method ID.
5638         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5639         (setText): Post TEXT_VALUE_CHANGED event to event queue.
5640
5641 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5642
5643         * configure.in: Check for usleep declaration.
5644         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
5645         * configure: Regenerate.
5646         * include/config.h.in: Likewise.
5647         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
5648
5649 2003-07-01  Michael Koch  <konqueror@gmx.de>
5650
5651         * gnu/gcj/convert/natIconv.cc
5652         (iconv_init): Fixed possible memory leak by releasing allocated iconv
5653         handle.
5654
5655 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
5656
5657         * glib-2.0.m4: New file.
5658         * gtk-2.0.m4: New file.
5659         * glib.m4: Remove.
5660         * gtk.m4: Remove.
5661         * configure.in: Update AM_PATH_GTK macro call to
5662         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
5663         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5664         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5665         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5666         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5667         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5668         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5669         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5670         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5671         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5672         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5673         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5674         jni/gtk-peer/gthread-jni.c,
5675         jni/gtk-peer/gthread-jni.h:
5676         New versions from classpath.
5677         * aclocal.m4: Regenerate.
5678         * configure: Regenerate.
5679         * Makefile.in: Regenerate.
5680         * gcj/Makefile.in: Regenerate.
5681         * include/Makefile.in: Regenerate.
5682         * testsuite/Makefile.in: Regenerate.
5683
5684 2003-06-30  Gary Benson  <gbenson@redhat.com>
5685
5686         For PR libgcj/11349:
5687         * javax/naming/spi/NamingManager.java (getURLContext): Use
5688         correct name for factory class.
5689
5690 2003-06-28  Michael Koch  <konqueror@gmx.de>
5691
5692         * java/io/PrintStream.java
5693         (checkError): Call flush() instead of direct flushing of the Writer
5694         object.
5695         (print): Call print(String) instead of direct print method of the
5696         Writer Object.
5697         (println): Call println(String) instead of direct println method of the
5698         Writer Object.
5699         (write): Simplified.
5700
5701 2003-06-28  Michael Koch  <konqueror@gmx.de>
5702
5703         * java/net/ServerSocket.java
5704         (setChannel): New method.
5705         * java/net/Socket.java
5706         (setChannel): New method.
5707
5708 2003-06-27  Michael Koch  <konqueror@gmx.de>
5709
5710         * java/beans/beancontext/BeanContextSupport.java:
5711         New version from classpath.
5712
5713 2003-06-27  Michael Koch  <konqueror@gmx.de>
5714
5715         * java/awt/Window.java,
5716         java/awt/font/GraphicAttribute.java,
5717         java/awt/font/ImageGraphicAttribute.java,
5718         java/awt/image/DataBufferByte.java,
5719         java/awt/image/DataBufferInt.java,
5720         java/awt/image/DataBufferUShort.java,
5721         java/awt/image/DirectColorModel.java,
5722         java/awt/image/PixelGrabber.java:
5723         New versions from classpath.
5724
5725 2003-06-27  Michael Koch  <konqueror@gmx.de>
5726
5727         * java/security/Certificate.java
5728         (getGuarantor): Removed wrong @deprecated tag.
5729         (getPrincipal): Likewise.
5730         (getPublicKey): Likewise.
5731         (encode): Likewise.
5732         (decode): Likewise.
5733         (getFormat): Likewise.
5734         (toString): Likewise.
5735         * java/security/cert/PolicyQualifierInfo.java
5736         (PolicyQualifierInfo): Made final.
5737         * javax/security/auth/x500/X500Principal.java
5738         (serialVersionUID): New member variable.
5739
5740 2003-06-27  Michael Koch  <konqueror@gmx.de>
5741
5742         * java/text/Format.java
5743         (serialVersionUID): Fixed value.
5744
5745 2003-06-27  Michael Koch  <konqueror@gmx.de>
5746
5747         * java/net/Inet4Address.java
5748         (Inet4Address): Made package-private.
5749         * java/net/Inet6Address.java
5750         (Inet4Address): Made package-private.
5751
5752 2003-06-27  Michael Koch  <konqueror@gmx.de>
5753
5754         * java/io/RandomAccessFile.java
5755         (readLine): Removed wrong @deprecated tag.
5756         (getChannel): Made final.
5757
5758 2003-06-27  Michael Koch  <konqueror@gmx.de>
5759
5760         * gnu/java/nio/FileChannelImpl.java
5761         (write): Removed.
5762
5763 2003-06-27  Michael Koch  <konqueror@gmx.de>
5764
5765         * java/nio/ByteBufferImpl.java
5766         (ByteBufferImpl): Made it a package-private class
5767         * java/nio/CharBufferImpl.java
5768         (CharBufferImpl): Made it a package-private class
5769         * java/nio/DirectByteBufferImpl.java
5770         (DirectByteBufferImpl): Made it a package-private class
5771         * java/nio/DoubleBufferImpl.java
5772         (DoubleBufferImpl): Made it a package-private class
5773         * java/nio/FloatBufferImpl.java
5774         (FloatBufferImpl): Made it a package-private class
5775         * java/nio/IntBufferImpl.java
5776         (IntBufferImpl): Made it a package-private class
5777         * java/nio/LongBufferImpl.java
5778         (LongBufferImpl): Made it a package-private class
5779         * java/nio/ShortBufferImpl.java
5780         (ShortBufferImpl): Made it a package-private class
5781         * java/nio/channels/FileChannel.java
5782         (write): Made final.
5783         * java/nio/channels/ServerSocketChannel.java
5784         (ServerSocketChanne): Made protected.
5785
5786 2003-06-27  Michael Koch  <konqueror@gmx.de>
5787
5788         * javax/naming/CompositeName.java
5789         (serialVersionUID): New member variable.
5790         * javax/naming/CompoundName.java
5791         (serialVersionUID): New member variable.
5792         * javax/naming/InitialContext.java
5793         (InitialContext): Throws NamingException.
5794         (init): Likewise.
5795         * javax/naming/LinkRef.java
5796         (serialVersionUID): New member variable.
5797         (gteLinkName): Throws NamingException.
5798         * javax/naming/NamingException.java
5799         (serialVersionUID): New member variable.
5800         * javax/naming/NamingSecurityException.java
5801         (NamingSecurityException): Made abstract.
5802         (serialVersionUID): New member variable.
5803         * javax/naming/ReferralException.java
5804         (serialVersionUID): New member variable.
5805         * javax/naming/StringRefAddr.java
5806         (serialVersionUID): New member variable.
5807         * javax/naming/directory/BasicAttribute.java:
5808         Reworked imports.
5809         (serialVersionUID): New member variable.
5810         (get): Throws NamingException.
5811         (getAll): Throws NamingException.
5812         * javax/naming/directory/BasicAttributes.java:
5813         Reworked imports.
5814         (serialVersionUID): New member variable.
5815         * javax/naming/ldap/UnsolicitedNotificationEvent.java
5816         (serialVersionUID): New member variable.
5817
5818 2003-06-27  Michael Koch  <konqueror@gmx.de>
5819
5820         * Makefile.am
5821         (awt_java_source_files): Added new files:
5822         javax/swing/Popup.java,
5823         javax/swing/PopupFactory.java
5824         * Makefile.in: Regenerated.
5825
5826 2003-06-27  Michael Koch  <konqueror@gmx.de>
5827
5828         * javax/swing/JWindow.java,
5829         javax/swing/event/AncestorEvent.java,
5830         javax/swing/event/HyperlinkEvent.java,
5831         javax/swing/event/InternalFrameEvent.java,
5832         javax/swing/event/ListDataEvent.java,
5833         javax/swing/event/TableModelEvent.java,
5834         javax/swing/plaf/PopupMenuUI.java,
5835         javax/swing/plaf/SplitPaneUI.java,
5836         javax/swing/plaf/TabbedPaneUI.java,
5837         javax/swing/plaf/TextUI.java,
5838         javax/swing/plaf/TreeUI.java,
5839         javax/swing/plaf/basic/BasicTextUI.java,
5840         javax/swing/plaf/basic/BasicTreeUI.java:
5841         New versions from classpath.
5842         * javax/swing/Popup.java,
5843         javax/swing/PopupFactory.jav:
5844         New source files from classpath.
5845         * javax/swing/plaf/doc-files/TreeUI-1.png:
5846         New binary files from classpath.
5847
5848 2003-06-25  Michael Koch  <konqueror@gmx.de>
5849
5850         * Makefile.am
5851         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
5852         * Makefile.in: Regenerated.
5853
5854 2003-06-25  Michael Koch  <konqueror@gmx.de>
5855
5856         * javax/swing/plaf/ActionMapUIResource.java,
5857         javax/swing/plaf/BorderUIResource.java,
5858         javax/swing/plaf/ButtonUI.java,
5859         javax/swing/plaf/ColorChooserUI.java,
5860         javax/swing/plaf/ColorUIResource.java,
5861         javax/swing/plaf/ComboBoxUI.java,
5862         javax/swing/plaf/ComponentInputMapUIResource.java,
5863         javax/swing/plaf/ComponentUI.java,
5864         javax/swing/plaf/DesktopIconUI.java,
5865         javax/swing/plaf/DesktopPaneUI.java,
5866         javax/swing/plaf/DimensionUIResource.java,
5867         javax/swing/plaf/FileChooserUI.java,
5868         javax/swing/plaf/FontUIResource.java,
5869         javax/swing/plaf/IconUIResource.java,
5870         javax/swing/plaf/InputMapUIResource.java,
5871         javax/swing/plaf/InsetsUIResource.java,
5872         javax/swing/plaf/InternalFrameUI.java,
5873         javax/swing/plaf/LabelUI.java,
5874         javax/swing/plaf/ListUI.java,
5875         javax/swing/plaf/MenuBarUI.java,
5876         javax/swing/plaf/MenuItemUI.java,
5877         javax/swing/plaf/OptionPaneUI.java,
5878         javax/swing/plaf/PanelUI.java,
5879         javax/swing/plaf/ProgressBarUI.java,
5880         javax/swing/plaf/RootPaneUI.java,
5881         javax/swing/plaf/ScrollBarUI.java,
5882         javax/swing/plaf/ScrollPaneUI.java,
5883         javax/swing/plaf/SeparatorUI.java,
5884         javax/swing/plaf/SliderUI.java,
5885         javax/swing/plaf/TableHeaderUI.java,
5886         javax/swing/plaf/TableUI.java,
5887         javax/swing/plaf/ToolBarUI.java,
5888         javax/swing/plaf/ToolTipUI.java,
5889         javax/swing/plaf/ViewportUI.java:
5890         New versions from classpath.
5891         * javax/swing/plaf/SpinnerUI.java: 
5892         New file from classpath
5893
5894 2003-06-25  Michael Koch  <konqueror@gmx.de>
5895
5896         * java/awt/image/ColorModel.java:
5897         New version from classpath.
5898
5899 2003-06-25  Michael Koch  <konqueror@gmx.de>
5900
5901         * java/net/PlainDatagramSocketImpl.java:
5902         Partly merged with classpath, this mainly adds documentation.
5903
5904 2003-06-25  Michael Koch  <konqueror@gmx.de>
5905
5906         * java/io/ObjectInputStream.java
5907         (readClassDescriptor): New method.
5908         (readObject): Moved functionality to readClassDescriptor().
5909         * java/io/ObjectOutputStream.java
5910         (writeClassDescriptor): New method.
5911         (writeObject): Moved functionality to writeClassDescriptor().
5912
5913 2003-06-25  Michael Koch  <konqueror@gmx.de>
5914
5915         * javax/swing/plaf/basic/BasicListUI.java,
5916         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5917         Added missing methods.
5918
5919 2003-06-25  Michael Koch  <konqueror@gmx.de>
5920
5921         * javax/swing/event/AncestorEvent.java
5922         javax/swing/event/HyperlinkEvent.java
5923         javax/swing/event/InternalFrameEvent.java
5924         javax/swing/event/ListDataEvent.java
5925         javax/swing/event/TableModelEvent.java:
5926         Compile fixes.
5927
5928 2003-06-24  Michael Koch  <konqueror@gmx.de>
5929
5930         * java/net/URL.java:
5931         Renamed "handler" to "ph" in the whole file to match classpaths
5932         version.
5933         * java/net/URLStreamHandler.java:
5934         (equals): Renamed "handler" to "ph".
5935
5936 2003-06-24  Michael Koch  <konqueror@gmx.de>
5937
5938         * javax/swing/event/AncestorEvent.java,
5939         javax/swing/event/HyperlinkEvent.java,
5940         javax/swing/event/InternalFrameEvent.java,
5941         javax/swing/event/ListDataEvent.java,
5942         javax/swing/event/TableModelEvent.java,
5943         javax/swing/event/TreeWillExpandListener.java,
5944         javax/swing/plaf/ComponentUI.java,
5945         javax/swing/plaf/DesktopIconUI.java,
5946         javax/swing/plaf/DesktopPaneUI.java,
5947         javax/swing/plaf/DimensionUIResource.java,
5948         javax/swing/plaf/FileChooserUI.java,
5949         javax/swing/plaf/FontUIResource.java,
5950         javax/swing/plaf/IconUIResource.java,
5951         javax/swing/plaf/InputMapUIResource.java,
5952         javax/swing/plaf/InsetsUIResource.java,
5953         javax/swing/plaf/InternalFrameUI.java,
5954         javax/swing/plaf/LabelUI.java,
5955         javax/swing/plaf/ListUI.java,
5956         javax/swing/plaf/MenuBarUI.java,
5957         javax/swing/plaf/MenuItemUI.java,
5958         javax/swing/plaf/OptionPaneUI.java,
5959         javax/swing/plaf/PanelUI.java,
5960         javax/swing/plaf/ProgressBarUI.java,
5961         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5962         javax/swing/plaf/doc-files/ComponentUI-1.png:
5963         New versions from classpath.
5964
5965 2003-06-24  Michael Koch  <konqueror@gmx.de>
5966
5967         * java/nio/Buffer.java
5968         (cap): Made package-private.
5969         (pos): Likewise.
5970         (limit): Likewise.
5971         (mark): Likewise.
5972
5973 2003-06-24  Michael Koch  <konqueror@gmx.de>
5974
5975         * java/net/SocketImpl.java
5976         (shutdownInput): Made it non-abstract method throwing an exception
5977         like in SUNs JRE.
5978         (shutdownOutput): Likewise.
5979         * java/net/SocketInputStream.java,
5980         java/net/SocketOutputStream.java:
5981         New files from classpath.
5982
5983 2003-06-24  Michael Koch  <konqueror@gmx.de>
5984
5985         * java/awt/Font.java,
5986         java/awt/Window.java,
5987         java/awt/color/ColorSpace.java,
5988         java/awt/datatransfer/StringSelection.java,
5989         java/awt/image/ColorModel.java:
5990         New versions from classpath.
5991
5992 2003-06-24  Michael Koch  <konqueror@gmx.de>
5993
5994         * Makefile.am
5995         (awt_java_source_files): Added new files:
5996         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5997         javax/swing/plaf/basic/BasicSplitPaneUI.java
5998         * Makefile.in: Regenerated.
5999
6000 2003-06-24  Michael Koch  <konqueror@gmx.de>
6001
6002         * javax/swing/text/JTextComponent.java:
6003         New version from classpath.
6004
6005 2003-06-24  Michael Koch  <konqueror@gmx.de>
6006
6007         * javax/swing/Timer.java,
6008         javax/swing/plaf/ActionMapUIResource.java,
6009         javax/swing/plaf/ButtonUI.java,
6010         javax/swing/plaf/ColorChooserUI.java,
6011         javax/swing/plaf/ColorUIResource.java,
6012         javax/swing/plaf/ComboBoxUI.java,
6013         javax/swing/plaf/ComponentInputMapUIResource.java,
6014         javax/swing/plaf/basic/BasicBorders.java:
6015         New versions from classpath.
6016         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
6017         javax/swing/plaf/basic/BasicSplitPaneUI.java:
6018         New file from classpath.
6019         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
6020         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
6021         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
6022         javax/swing/plaf/doc-files/ComponentUI-1.dia,
6023         javax/swing/plaf/doc-files/ComponentUI-1.png:
6024         New binary files from classpath.
6025
6026 2003-06-24  Michael Koch  <konqueror@gmx.de>
6027
6028         * java/io/LineNumberReader.java
6029         (skip): Dont do line number accounting here as this is already done in
6030         read(), simplified.
6031
6032 2003-06-21  Michael Koch  <konqueror@gmx.de>
6033
6034         * java/io/File.java
6035         (static): Load javaio lib if existing (only in classpath).
6036         (File): Revised documentation to show the correct argument name.
6037         (createTempFile): Partly merged with classpath.
6038         (compareTo): Simplified.
6039         (lastModified): Throw exception if time < 0.
6040         (deleteOnExit): Revised documentation.
6041
6042 2003-06-21  Michael Koch  <konqueror@gmx.de>
6043
6044         * java/net/PlainSocketImpl.java:
6045         Reformatted.
6046         (PlainSocketImpl): Merged class documentaion with classpath.
6047         (in): Moved.
6048         (out): Moved.
6049         (PlainSocketImpl): New empty constructor.
6050         (finalize): Moved.
6051         (setOption): Merged documentation from classpath.
6052         (getOption): Likewise.
6053         (create): Likewise.
6054         (connect): Likewise.
6055         (bind): Likewise.
6056         (listen): Likewise.
6057         (accept): Likewise.
6058         (available): Likewise.
6059         (close): Likewise.
6060         (read): Likewise.
6061         (write): Likewise.
6062         (getInputStream): Made synchronozed to get sure that only one stream
6063         object can be created for this socket, merged documentation from
6064         classpath.
6065         (getOutputStream): Likewise.
6066
6067 2003-06-21  Michael Koch  <konqueror@gmx.de>
6068
6069         * java/net/PlainSocketImpl.java:
6070         Reformatting.
6071         (static): New implicit method.
6072         (read): Made package private.
6073         (write): Likewise.
6074
6075 2003-06-21  Michael Koch  <konqueror@gmx.de>
6076
6077         * java/util/SimpleTimeZone.java:
6078         Removed unneeded import, reformatting.
6079
6080 2003-06-21  Michael Koch  <konqueror@gmx.de>
6081
6082         * java/text/DateFormat.java,
6083         java/text/SimpleDateFormat.java,
6084         java/util/Locale.java:
6085         New versions from classpath.
6086
6087 2003-06-21  Michael Koch  <konqueror@gmx.de>
6088
6089         * javax/swing/SpinnerModel.java:
6090         New file from classpath.
6091         * javax/swing/border/LineBorder.java,
6092         javax/swing/border/SoftBevelBorder.java,
6093         javax/swing/plaf/BorderUIResource.java,
6094         javax/swing/plaf/basic/BasicBorders.java:
6095         New versions from classpath.
6096         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
6097         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
6098         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
6099         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
6100         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
6101         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
6102         New binary files from classpath.
6103
6104 2003-06-21  Michael Koch  <konqueror@gmx.de>
6105
6106         * java/util/logging/LogRecord.java,
6107         java/util/logging/Logger.java,
6108         java/util/logging/SocketHandler.java,
6109         java/util/logging/SimpleFormatter.java,
6110         java/util/logging/Formatter.java,
6111         java/util/logging/ErrorManager.java,
6112         java/util/logging/Handler.java,
6113         java/util/logging/FileHandler.java,
6114         java/util/logging/LogManager.java,
6115         java/util/logging/Level.java,
6116         java/util/logging/ConsoleHandler.java,
6117         java/util/logging/StreamHandler.java,
6118         java/util/logging/LoggingPermission.java,
6119         java/util/logging/Filter.java,
6120         java/util/logging/MemoryHandler.java,
6121         java/util/logging/XMLFormatter.java:
6122         New files from classpath.
6123
6124 2003-06-20  Michael Koch  <konqueror@gmx.de>
6125
6126         * java/io/ObjectStreamField.java
6127         (unshared): new member variable.
6128         (ObjectStreamField): New constructor.
6129         (isUnshared): New method.
6130
6131 2003-06-20  Michael Koch  <konqueror@gmx.de>
6132
6133         * java/net/URLStreamHandler.java
6134         (hostsEqual): Rewritten.
6135
6136 2003-06-20  Michael Koch  <konqueror@gmx.de>
6137
6138         * gnu/java/nio/MappedByteFileBuffer.java,
6139         gnu/java/nio/natMappedByteFileBuffer.cc:
6140         Removed
6141         * java/nio/MappedByteBufferImpl.java:
6142         New file.
6143         * gnu/java/nio/FileChannelImpl.java:
6144         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
6145         * Makefile.am
6146         (ordinary_java_source_files): Removed
6147         gnu/java/nio/MappedByteFileBuffer.java and added
6148         java/nio/MappedByteBufferImpl.java.
6149         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
6150         * Makefile.in: Regenerated.
6151
6152 2003-06-19  Michael Koch  <konqueror@gmx.de>
6153
6154         * gnu/java/nio/DatagramChannelImpl.java
6155         (fd): Removed.
6156         (blocking): New member variable.
6157         (socket): Likewise.
6158         (DatagramChannelImpl): Throws IOException, initialize socket.
6159         (socket):Implemented.
6160         (implCloseSelectableChannel): Throws IOException, implemented.
6161         (implConfigureBlocking): Likewise.
6162         (connect): Likewise.
6163         (disconnect): Likewise.
6164         (isConnected): Likewise.
6165         (write): Likewise.
6166         (read): Likewise.
6167         (receive): Throws IOException.
6168         (send): Likewise.
6169         * gnu/java/nio/SocketChannelImpl.java
6170         (read): Implemented.
6171         (write): Implemented.
6172
6173 2003-06-19  Michael Koch  <konqueror@gmx.de>
6174
6175         * javax/swing/JComponent.java,
6176         javax/swing/JInternalFrame.java,
6177         javax/swing/MenuSelectionManager.java,
6178         javax/swing/SwingUtilities.java,
6179         javax/swing/ToggleButtonModel.java:
6180         New versions from classpath.
6181
6182 2003-06-19  Michael Koch  <konqueror@gmx.de>
6183
6184         * java/text/CollationElementIterator.java
6185         (NULLORDER): Initialize with -1 as JDK documentation says.
6186
6187 2003-06-19  Michael Koch  <konqueror@gmx.de>
6188
6189         * java/net/HttpURLConnection.java,
6190         java/net/Inet4Address.java,
6191         java/net/Inet6Address.java,
6192         java/net/SocketImpl.java,
6193         java/net/URLClassLoader.java:
6194         Reworked import statements.
6195         * java/net/InetAddress.java
6196         (getByAddress): Simplified.
6197         * java/net/ServerSocket.java
6198         (ServerSocket): Moved special handling during bind operation to
6199         bind().
6200         (bind): Handle different cases when trying to bind a socket.
6201         * java/net/URLConnection.java
6202         (getHeaderFieldDate): Merged with classpath.
6203         (getHeaderFieldInt): Likewise.
6204
6205 2003-06-19  Michael Koch  <konqueror@gmx.de>
6206
6207         * java/util/zip/InflaterInputStream.java
6208         (InflaterInputStream): Throw NullPointerException if in is null (as
6209         JDK does).
6210
6211 2003-06-19  Michael Koch  <konqueror@gmx.de>
6212
6213         * java/awt/Font.java
6214         javax/swing/UIManager.java
6215         javax/swing/border/AbstractBorder.java
6216         javax/swing/border/BevelBorder.java
6217         javax/swing/border/Border.java
6218         javax/swing/border/CompoundBorder.java
6219         javax/swing/border/EmptyBorder.java
6220         javax/swing/border/EtchedBorder.java
6221         javax/swing/border/LineBorder.java
6222         javax/swing/border/MatteBorder.java
6223         javax/swing/border/TitledBorder.java
6224         javax/swing/plaf/BorderUIResource.java
6225         javax/swing/plaf/basic/BasicBorders.java
6226         javax/swing/plaf/basic/BasicButtonUI.java
6227         javax/swing/plaf/basic/BasicCheckBoxUI.java
6228         javax/swing/plaf/basic/BasicGraphicsUtils.java
6229         javax/swing/plaf/basic/BasicLabelUI.java
6230         javax/swing/plaf/basic/BasicRadioButtonUI.java
6231         javax/swing/plaf/basic/BasicToggleButtonUI.java:
6232         New versions from classpath.
6233         * javax/swing/border/SoftBevelBorder.java:
6234         New file from classpath.
6235         * javax/swing/border/doc-files/LineBorder-1.png,
6236         javax/swing/border/doc-files/BevelBorder-1.png,
6237         javax/swing/border/doc-files/BevelBorder-2.png,
6238         javax/swing/border/doc-files/BevelBorder-3.png,
6239         javax/swing/border/doc-files/EmptyBorder-1.png,
6240         javax/swing/border/doc-files/EtchedBorder-1.png,
6241         javax/swing/border/doc-files/EtchedBorder-2.png,
6242         javax/swing/border/doc-files/MatteBorder-1.png,
6243         javax/swing/border/doc-files/MatteBorder-2.png,
6244         javax/swing/border/doc-files/MatteBorder-3.png,
6245         javax/swing/border/doc-files/MatteBorder-4.png,
6246         javax/swing/border/doc-files/MatteBorder-5.png,
6247         javax/swing/border/doc-files/MatteBorder-6.png,
6248         javax/swing/border/doc-files/SoftBevelBorder-1.png,
6249         javax/swing/border/doc-files/SoftBevelBorder-2.png,
6250         javax/swing/border/doc-files/SoftBevelBorder-3.png,
6251         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
6252         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
6253         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
6254         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
6255         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
6256         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
6257         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
6258         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
6259         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
6260         New binary files from classpath.
6261         * Makefile.am
6262         (awt_java_source_files): Added
6263         javax/swing/border/SoftBevelBorder.java.
6264         * Makefile.in: Regenerated.
6265
6266 2003-06-19  Michael Koch  <konqueror@gmx.de>
6267
6268         * gnu/java/security/x509/X509Certificate.java
6269         (writeReplace): Merged from classpath.
6270
6271 2003-06-19  Michael Koch  <konqueror@gmx.de>
6272
6273         * gnu/java/nio/FileChannelImpl.java
6274         (map_address): Made public.
6275         (FileChannelImpl): Merged with classpath.
6276         * gnu/java/nio/natFileChannelImpl.cc
6277         (nio_mmap_file): Commented out unused arguments.
6278         (nio_unmmap_file): Likewise.
6279         (niu_msync): Likewise.
6280
6281 2003-06-19  Michael Koch  <konqueror@gmx.de>
6282
6283         * java/awt/image/IndexColorModel.java:
6284         New version from classpath.
6285
6286 2003-06-18  Tom Tromey  <tromey@redhat.com>
6287
6288         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
6289         on arrays.
6290         (isLoopbackAddress): Likewise.
6291         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
6292         on arrays.
6293
6294 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
6295
6296         * java/lang/natVMSecurityManager.cc (getClassContext):
6297         Use maxlen instead of len for loop bound.
6298
6299 2003-06-18  Michael Koch  <konqueror@gmx.de>
6300
6301         * gnu/java/nio/SelectorImpl.java
6302         (register): Use fd with value 0 for now, will be fixed later.
6303         * gnu/java/nio/ServerSocketChannelImpl.java
6304         (fd): Removed.
6305         (local_port): Removed.
6306         (InetSocketAddress): Removed.
6307         (ServerSocketChannelImpl): Just initialize internal socket object.
6308         (implCloseSelectableChannel): Close internal socket object.
6309         (implConfigureBlocking): Added comment.
6310         (accept): Use jaba.net stuff to accept socket.
6311         * gnu/java/nio/SocketChannelImpl.java
6312         (fd): Removed.
6313         (local_port): Removed.
6314         (InetSocketAddress): Removed.
6315         (SocketCreate): Removed.
6316         (SocketConnect): Removed.
6317         (SocketBind): Removed.
6318         (SocketListen): Removed.
6319         (SocketAvailable): Removed.
6320         (SocketClose): Removed.
6321         (SocketRead): Removed.
6322         (SocketWrite): Removed.
6323         (SocketChannelImpl): Just initialize internal socket object.
6324         (implCloseSelectableChannel): Close internal socket object.
6325         (implConfigureBlocking): Fixed implementation, added comment.
6326         (connect): Use internal socket object to connect.
6327         (socket): No need for sanity checks.
6328         (read): Comment out some stuff, this will be reimplemented in the next
6329         commit.
6330         (write): Likewise.
6331         * gnu/java/nio/natFileChannelImpl.cc
6332         (nio_mmap_file): Line wrapped.
6333         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
6334         * Makefile.am
6335         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
6336         * Makefile.in: Regenerated.
6337
6338 2003-06-18  Michael Koch  <konqueror@gmx.de>
6339
6340         * java/util/Locale.java
6341         (equals): Merged from classpath.
6342
6343 2003-06-18  Michael Koch  <konqueror@gmx.de>
6344
6345         * java/net/InetAddress.java:
6346         Reformatted to better match classpath's version.
6347         * java/net/URL.java
6348         (equals): Simplified.
6349         * java/net/URLConnection.java
6350         (setDoInput): Revised documentation.
6351         (getDefaultUseCaches): Likewise.
6352         (setRequestProperty): Added @since tag.
6353
6354 2003-06-17  Michael Koch  <konqueror@gmx.de>
6355
6356         * java/net/InetSocketAddress.java
6357         (InetSocketAddress): Use wildcard address if addr is null.
6358         (InetSocketAddress): Dont duplicate implementation.
6359         (InetSocketAddress): Throw exception when hostname is null.
6360         * java/net/Socket.java:
6361         Reworked imports.
6362         (Socket): Throw exception when raddr is null, handle case when laddr
6363         is null.
6364
6365 2003-06-17  Michael Koch  <konqueror@gmx.de>
6366
6367         * java/nio/DirectByteBufferImpl.java
6368         (address): Made package private.
6369         (DirectByteBufferImpl): New constructor.
6370         * java/nio/natDirectByteBufferImpl.cc
6371         (allocateImpl): Moved to java.nio namespace, implemented.
6372         (freeImpl): Likewise.
6373         (getImpl): Likewise.
6374         (putImpl): Likewise.
6375         * jni.cc
6376         (_Jv_JNI_NewDirectByteBuffer): Implemented.
6377         (_Jv_JNI_GetDirectBufferAddress): Implemented.
6378         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
6379
6380 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6381
6382         * include/powerpc-signal.h: New File.
6383         * configure.in: Use it.
6384         * configure: Regenerated.
6385
6386 2003-06-17  Michael Koch  <konqueror@gmx.de>
6387
6388         * java/util/Locale.java
6389         (getDisplayLanguage): Made it final.
6390         (getDisplayCountry): Likewise.
6391         (getDisplayVariant): Likewise.
6392         (getDisplayName): Likewise.
6393
6394 2003-06-17  Michael Koch  <konqueror@gmx.de>
6395
6396         * java/util/PropertyResourceBundle.java:
6397         Removed unneeded import.
6398
6399 2003-06-17  Michael Koch  <konqueror@gmx.de>
6400
6401         * java/util/prefs/AbstractPreferences.java,
6402         java/util/prefs/PreferencesFactory.java:
6403         Reworked imports, removed unused imports.
6404         * java/util/prefs/Preferences.java
6405         (systemNodeForPackage): Method takes a Class not an Object.
6406         (userNodeForPackage): Likewise.
6407         (nodeForPackage): Likewise.
6408
6409 2003-06-17  Michael Koch  <konqueror@gmx.de>
6410
6411         * gnu/java/security/x509/X509Certificate.java:
6412         Explicitely import used classes.
6413
6414 2003-06-17  Michael Koch  <konqueror@gmx.de>
6415
6416         * java/util/zip/ZipEntry.java,
6417         java/util/zip/ZipFile.java,
6418         java/util/zip/ZipInputStream.java,
6419         java/util/zip/ZipOutputStream.java:
6420         Reworked imports, only import used classes.
6421
6422 2003-06-17  Michael Koch  <konqueror@gmx.de>
6423
6424         * gnu/java/lang/ArrayHelper.java,
6425         gnu/java/lang/ClassHelper.java:
6426         Reformatted to match classpath's versions.
6427
6428 2003-06-14  Michael Koch  <konqueror@gmx.de>
6429
6430         * gnu/java/nio/FileChannelImpl.java
6431         (map_address): Removed incorrect comment.        
6432         * gnu/java/nio/SelectorImpl.java
6433         (register): Remove code duplication and code for file channel handling.        
6434         * gnu/java/nio/ServerSocketChannelImpl.java
6435         (serverSocket): Renamed from sock_object.
6436         (ServerSocketChannel): Initialize serverSocket.
6437         (socket): Return serverSocket.
6438         * gnu/java/nio/SocketChannelImpl.java
6439         (socket): Renamed from sock_object.
6440         (isConnectionPenging): Simplified.
6441         (socket): Return socket.
6442 2003-06-14  Michael Koch  <konqueror@gmx.de>
6443
6444         * java/security/BasicPermission.java:
6445         New version from classpath.
6446
6447 2003-06-14  Michael Koch  <konqueror@gmx.de>
6448
6449         * javax/naming/directory/Attribute.java:
6450         New version from classpath.
6451
6452 2003-06-14  Michael Koch  <konqueror@gmx.de>
6453
6454         * java/io/BufferedReader.java,
6455         java/io/FileOutputStream.java:
6456         New versions from classpath.
6457
6458 2003-06-12  Andrew Haley  <aph@redhat.com>
6459
6460         * prims.cc (catch_segv): Create exception in handler.
6461         (catch_fpe): Likewise.  
6462         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
6463         (_Jv_ThrowSignal): Remove.
6464
6465         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
6466         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
6467         to nullp and arithexception.
6468         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6469         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6470         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6471         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6472         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6473
6474 2003-06-11  Andrew Haley  <aph@redhat.com>
6475
6476         * jni.cc (_Jv_JNI_check_types): New.
6477         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
6478         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
6479         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
6480         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
6481         
6482         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
6483         infinite loop.
6484
6485 2003-06-11  Tom Tromey  <tromey@redhat.com>
6486
6487         * java/lang/ClassLoader.java (loadClass): Not deprecated.
6488         * java/io/PrintStream.java: Not deprecated.
6489
6490 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
6491
6492         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
6493         (fillOval): implemented
6494         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
6495         (fillArc): implemented.
6496         * gnu/gcj/xlib/GC.java (drawArc): added native method.
6497         (fillArc): added native method.
6498         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
6499         (fillArc): added native method.
6500
6501 2003-06-11  Michael Koch  <konqueror@gmx.de>
6502
6503         * java/awt/im/InputSubset.java:
6504         New version from classpath.
6505
6506 2003-06-11  Michael Koch  <konqueror@gmx.de>
6507
6508         * javax/swing/AbstractAction.java,
6509         javax/swing/AbstractButton.java,
6510         javax/swing/AbstractCellEditor.java,
6511         javax/swing/AbstractListModel.java,
6512         javax/swing/BorderFactory.java,
6513         javax/swing/Box.java,
6514         javax/swing/BoxLayout.java,
6515         javax/swing/ButtonGroup.java,
6516         javax/swing/DefaultButtonModel.java,
6517         javax/swing/DefaultListModel.java,
6518         javax/swing/DefaultListSelectionModel.java,
6519         javax/swing/FocusManager.java,
6520         javax/swing/ImageIcon.java,
6521         javax/swing/InputMap.java,
6522         javax/swing/JApplet.java,
6523         javax/swing/JButton.java,
6524         javax/swing/JCheckBox.java,
6525         javax/swing/JCheckBoxMenuItem.java,
6526         javax/swing/JColorChooser.java,
6527         javax/swing/JComboBox.java,
6528         javax/swing/JComponent.java,
6529         javax/swing/JDesktopPane.java,
6530         javax/swing/JDialog.java,
6531         javax/swing/JEditorPane.java,
6532         javax/swing/JFileChooser.java,
6533         javax/swing/JFormattedTextField.java,
6534         javax/swing/JFrame.java,
6535         javax/swing/JLabel.java,
6536         javax/swing/JLayeredPane.java,
6537         javax/swing/JList.java,
6538         javax/swing/JMenuBar.java,
6539         javax/swing/JMenuItem.java,
6540         javax/swing/JOptionPane.java,
6541         javax/swing/JPanel.java,
6542         javax/swing/JPasswordField.java,
6543         javax/swing/JPopupMenu.java,
6544         javax/swing/JProgressBar.java,
6545         javax/swing/JRadioButton.java,
6546         javax/swing/JRadioButtonMenuItem.java,
6547         javax/swing/JRootPane.java,
6548         javax/swing/JScrollBar.java,
6549         javax/swing/JScrollPane.java,
6550         javax/swing/JSeparator.java,
6551         javax/swing/JSlider.java,
6552         javax/swing/JTabbedPane.java,
6553         javax/swing/JTable.java,
6554         javax/swing/JTextField.java,
6555         javax/swing/JToggleButton.java,
6556         javax/swing/JToolBar.java,
6557         javax/swing/JToolTip.java,
6558         javax/swing/JTree.java,
6559         javax/swing/JViewport.java,
6560         javax/swing/JWindow.java,
6561         javax/swing/KeyStroke.java,
6562         javax/swing/ListSelectionModel.java,
6563         javax/swing/LookAndFeel.java,
6564         javax/swing/RepaintManager.java,
6565         javax/swing/ScrollPaneLayout.java,
6566         javax/swing/SizeRequirements.java,
6567         javax/swing/SwingConstants.java,
6568         javax/swing/Timer.java,
6569         javax/swing/UIDefaults.java,
6570         javax/swing/UIManager.java,
6571         javax/swing/border/AbstractBorder.java,
6572         javax/swing/border/CompoundBorder.java,
6573         javax/swing/colorchooser/AbstractColorChooserPanel.java,
6574         javax/swing/colorchooser/ColorChooserComponentFactory.java,
6575         javax/swing/colorchooser/ColorSelectionModel.java,
6576         javax/swing/colorchooser/DefaultColorSelectionModel.java,
6577         javax/swing/event/AncestorEvent.java,
6578         javax/swing/event/HyperlinkEvent.java,
6579         javax/swing/event/InternalFrameAdapter.java,
6580         javax/swing/event/InternalFrameEvent.java,
6581         javax/swing/event/ListDataEvent.java,
6582         javax/swing/event/MouseInputAdapter.java,
6583         javax/swing/event/SwingPropertyChangeSupport.java,
6584         javax/swing/event/TableModelEvent.java,
6585         javax/swing/event/TreeWillExpandListener.java,
6586         javax/swing/event/UndoableEditEvent.java,
6587         javax/swing/filechooser/FileFilter.java,
6588         javax/swing/filechooser/FileSystemView.java,
6589         javax/swing/filechooser/FileView.java,
6590         javax/swing/plaf/BorderUIResource.java,
6591         javax/swing/plaf/basic/BasicDefaults.java,
6592         javax/swing/table/AbstractTableModel.java,
6593         javax/swing/table/DefaultTableCellRenderer.java,
6594         javax/swing/table/DefaultTableColumnModel.java,
6595         javax/swing/table/DefaultTableModel.java,
6596         javax/swing/table/TableColumn.java,
6597         javax/swing/text/JTextComponent.java,
6598         javax/swing/tree/AbstractLayoutCache.java,
6599         javax/swing/tree/DefaultMutableTreeNode.java,
6600         javax/swing/tree/DefaultTreeCellEditor.java,
6601         javax/swing/tree/DefaultTreeCellRenderer.java,
6602         javax/swing/tree/DefaultTreeModel.java,
6603         javax/swing/tree/DefaultTreeSelectionModel.java,
6604         javax/swing/tree/FixedHeightLayoutCache.java,
6605         javax/swing/tree/TreeCellEditor.java,
6606         javax/swing/tree/TreeModel.java,
6607         javax/swing/tree/TreeNode.java,
6608         javax/swing/tree/TreePath.java,
6609         javax/swing/tree/TreeSelectionModel.java,
6610         javax/swing/tree/VariableHeightLayoutCache.java,
6611         javax/swing/undo/AbstractUndoableEdit.java,
6612         javax/swing/undo/CompoundEdit.java,
6613         javax/swing/undo/StateEdit.java,
6614         javax/swing/undo/UndoManager.java,
6615         javax/swing/undo/UndoableEditSupport.java:
6616         New versions from classpath.
6617         * javax/swing/table/JTableHeader.java:
6618         New file from classpath.
6619         * Makefile.am
6620         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
6621         * Makefile.in: Regenerated.
6622
6623 2003-06-11  Michael Koch  <konqueror@gmx.de>
6624
6625         * java/nio/MappedByteBuffer.java,
6626         java/nio/channels/Channels.java,
6627         java/nio/channels/ServerSocketChannel.java,
6628         java/nio/channels/spi/AbstractSelector.java:
6629         Removed unneeded imports.
6630
6631 2003-06-11  Michael Koch  <konqueror@gmx.de>
6632
6633         * java/net/DatagramSocket.java:
6634         Partly merged with classpath.
6635
6636 2003-06-11  Michael Koch  <konqueror@gmx.de>
6637
6638         * java/awt/Frame.java,
6639         java/awt/Graphics.java,
6640         java/awt/Menu.java,
6641         java/awt/Robot.java,
6642         java/awt/image/ColorModel.java:
6643         New versions from classpath.
6644
6645 2003-06-10  Michael Koch  <konqueror@gmx.de>
6646
6647         * java/io/PrintStream.java:
6648         Merged version from classpath.
6649         (close): Removed sychronized keyword. This class is not garantied to
6650         be thread-safe.
6651         (write): Likewise.
6652
6653 2003-06-09  Tom Tromey  <tromey@redhat.com>
6654
6655         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
6656         field.
6657         (getDescent): Likewise, for "descent".
6658
6659 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
6660
6661         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
6662         (getMaxDescent): adjusted return value.
6663         (getAscent): modified to use metrics for 'O'.
6664         (getDescent): modified to use metrics for 'y'.
6665
6666 2003-06-08  Anthony Green  <green@redhat.com>
6667
6668         * java/net/URLStreamHandler.java (sameFile): Fix port value
6669         comparison.
6670         * java/net/URL.java (handler): Make package private.
6671         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
6672
6673 2003-06-07  Tom Tromey  <tromey@redhat.com>
6674
6675         For PR libgcj/11085:
6676         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
6677         Limit number of characters in numeric field when required.
6678         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
6679         Respect maximumIntegerDigits.
6680
6681 2003-06-08  Michael Koch  <konqueror@gmx.de>
6682
6683         * java/net/Socket.java
6684         (Socket): Dont initialize inputShutdown and outputShutdown twice,
6685         call bind() and connect() to actually do the bind and connect tasks.
6686         (bind): Connect to canonical address if bindpoint is null, create
6687         socket and bind it to bindpoint.
6688         (connect): Check for exceptions.
6689
6690 2003-06-08  Michael Koch  <konqueror@gmx.de>
6691
6692         * java/net/DatagramSocket.java
6693         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
6694         into the Multicast constructors.
6695         * java/net/DatagramSocketImpl.java
6696         (getOption): Removed.
6697         (setOption): Removed.
6698         * java/net/MulticastSocket.java
6699         (MulticastSocket): Call setReuseAddress (true).
6700         * java/net/SocketImpl.java
6701         (getOption): Removed.
6702         (setOption): Removed.
6703
6704 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
6705
6706         PR libgcj/10886:
6707         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
6708         Test for empty vector.
6709
6710 2003-06-06  Mark Wielaard  <mark@klomp.org>
6711
6712         * java/security/Security.java (secprops): Initialize.
6713         (loadProviders): Return boolean.
6714         (static): Check result of loadProvider calls. If necessary
6715         display WARNING and fallback to Gnu provider.
6716
6717 2002-06-06  James Clark  <jjc@jclark.com>
6718
6719         Fix for PR libgcj/8738:
6720         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
6721         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
6722         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
6723         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
6724         (write): Always decrease avail when count is increased.
6725         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
6726         and whether output buffer is full before increasing size.
6727
6728 2002-06-06  Mark Wielaard  <mark@klomp dot org>
6729
6730         * java/io/PrintStream.java (writeChars(char[],int, int)):
6731         Check converter.havePendingBytes().
6732         (writeChars(String,int,int)): Likewise.
6733         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
6734         Check converter.havePendingBytes() and flush buffer when stalled.
6735
6736 2003-06-07  Michael Koch  <konqueror@gmx.de>
6737
6738         * include/posix.h
6739         (O_DSYNC): Define O_DSYNC on platforms not
6740         supporting O_FSYNC (newlib).
6741
6742 2003-06-06  Mark Wielaard  <mark@klomp.org>
6743
6744         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
6745         AWTError.
6746
6747 2003-06-06  Michael Koch  <konqueror@gmx.de>
6748
6749         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6750         More compile fixes from my stupid work yesterday.
6751
6752 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
6753
6754         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
6755         if _IEEE_LIBM is undefined.
6756
6757 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
6758
6759         * libjava/include/posix.h (O_SYNC): Define if not available
6760         and a reasonable, perhaps more conservative, replacement exists.
6761         (O_DSYNC): Likewise.
6762         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
6763
6764 2003-06-05  Michael Koch  <konqueror@gmx.de>
6765
6766         * javax/swing/plaf/BorderUIResource.java,
6767         javax/swing/plaf/basic/BasicDefaults.java,
6768         javax/swing/plaf/basic/BasicOptionPaneUI.java:
6769         More compile fixes for latest Border commit. I should not commit
6770         something in this heat here ...
6771
6772 2003-06-05  Michael Koch  <konqueror@gmx.de>
6773
6774         * javax/swing/border/BevelBorder.java
6775         (BevelBorder): Removed.
6776         * javax/swing/border/EmptyBorder.java:
6777         Reformatted.
6778         (EmptyBorder): Removed.
6779         (getBorderInsets): Dont use l, r, t and b.
6780         * javax/swing/border/EtchedBorder.java
6781         (EtchedBorder): Removed.
6782         * javax/swing/border/LineBorder.java
6783         (LineBorder): Removed.
6784         * javax/swing/border/MatteBorder.java
6785         (MatteBorder): Removed.
6786         * javax/swing/border/TitledBorder.java
6787         (defaultBorder): Use other default for now.
6788         (defaultFont): Likewise.
6789         (defaultColor): Likewise.
6790
6791 2003-06-05  Michael Koch  <konqueror@gmx.de>
6792
6793         * javax/swing/border/Border.java:
6794         New version from classpath.
6795
6796 2003-06-05  Michael Koch  <konqueror@gmx.de>
6797
6798         * javax/swing/border/AbstractBorder.java,
6799         javax/swing/border/BevelBorder.java,
6800         javax/swing/border/CompoundBorder.java,
6801         javax/swing/border/EmptyBorder.java,
6802         javax/swing/border/EtchedBorder.java,
6803         javax/swing/border/LineBorder.java,
6804         javax/swing/border/MatteBorder.java,
6805         javax/swing/border/TitledBorder.java:
6806         New versions from Classpath.
6807
6808 2003-06-05  Michael Koch  <konqueror@gmx.de>
6809
6810         * java/awt/Button.java,
6811         java/awt/Checkbox.java,
6812         java/awt/CheckboxMenuItem.java,
6813         java/awt/Choice.java,
6814         java/awt/Container.java,
6815         java/awt/Dialog.java,
6816         java/awt/EventQueue.java,
6817         java/awt/FileDialog.java,
6818         java/awt/Frame.java,
6819         java/awt/Label.java,
6820         java/awt/List.java,
6821         java/awt/Menu.java,
6822         java/awt/MenuItem.java,
6823         java/awt/Panel.java,
6824         java/awt/PopupMenu.java,
6825         java/awt/Rectangle.java,
6826         java/awt/ScrollPane.java,
6827         java/awt/Scrollbar.java,
6828         java/awt/TextArea.java,
6829         java/awt/TextField.java,
6830         java/awt/Window.java,
6831         java/awt/datatransfer/DataFlavor.java,
6832         java/awt/dnd/DragSource.java,
6833         java/awt/dnd/DragSourceContext.java,
6834         java/awt/event/HierarchyEvent.java,
6835         java/awt/event/MouseWheelEvent.java,
6836         java/awt/im/InputContext.java,
6837         java/awt/image/BufferedImage.java,
6838         java/awt/image/ComponentColorModel.java,
6839         java/awt/image/Raster.java,
6840         java/awt/image/WritableRaster.java,
6841         java/awt/peer/ComponentPeer.java,
6842         java/awt/print/PageFormat.java,
6843         java/awt/print/PrinterJob.java:
6844         New versions from Classpath.
6845
6846 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
6847
6848         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
6849         numberFormat.setParseIntegerOnly(true).
6850
6851 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
6852
6853         * include/posix-threads.h: Include <machine/pal.h> on OSF.
6854
6855 2003-06-03  Andrew Haley  <aph@redhat.com>
6856
6857         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
6858         stack volatile to prevent optimization from removing it.
6859
6860 2003-05-27  Michael Koch  <konqueror@gmx.de>
6861
6862         * java/util/zip/Deflater.java
6863         (FILTERED): Merged documentation from classpath.
6864         * java/util/zip/DeflaterOutputStream.java
6865         (DeflaterOutputStream): Merged documentation and argument validity
6866         check from classpath.
6867         (deflate): Merged documentation from classpath.
6868         (finish): Likewise.
6869         * java/util/zip/Inflater.java
6870         (Inflater): Merged class documentation from classpath.
6871         (zstream): Reordered.
6872         (is_finished): Reordered.
6873         (dict_needed): Reordered.
6874         (Inflater): Reordered, merged documentation from classpath.
6875         (end): Likewise.
6876         (finalize): Merged documentation from classpath.
6877         (finished): Likewise.
6878         (getAdler): Likewise.
6879         (getRemaining): Likewise.
6880         (getTotalIn): Likewise.
6881         (getTotalOut): Likewise.
6882         (inflate): Likewise.
6883         (needsDictionary): Likewise.
6884         (needsInput): Likewise.
6885         (reset): Likewise.
6886         (setDictionary): Likewise.
6887         (setInput): Likewise.
6888
6889 2003-05-27  Michael Koch  <konqueror@gmx.de>
6890
6891         * java/net/URLConnection.java
6892         (getHeaderFieldInt): Merged with classpath.
6893
6894 2003-05-27  Michael Koch  <konqueror@gmx.de>
6895
6896         * java/io/PrintStream.java
6897         (PrintStream): Reformatted.
6898         (PrintStream): New method, merged from classpath.
6899         (write): Reformatted.
6900
6901 2003-05-27  Michael Koch  <konqueror@gmx.de>
6902
6903         * java/lang/System.java:
6904         Explicitely import needed classes.
6905
6906 2003-05-26  Michael Koch  <konqueror@gmx.de>
6907
6908         * java/net/NetPermission.java,
6909         java/net/NetworkInterface.java,
6910         java/net/PasswordAuthentication.java,
6911         java/net/SocketPermission.java:
6912         New versions from classpath.
6913
6914 2003-05-25  Michael Koch  <konqueror@gmx.de>
6915
6916         * java/io/PushbackInputStream.java,
6917         java/net/Authenticator.java,
6918         java/net/ContentHandler.java,
6919         java/net/ContentHandlerFactory.java,
6920         java/net/DatagramSocket.java,
6921         java/net/DatagramSocketImpl.java,
6922         java/net/DatagramSocketImplFactory.java,
6923         java/net/FileNameMap.java,
6924         java/net/SocketImplFactory.java,
6925         java/net/SocketOptions.java,
6926         java/net/URLStreamHandlerFactory.java:
6927         Merged new versions from classpath.
6928
6929 2003-05-25  Michael Koch  <konqueror@gmx.de>
6930
6931         * java/awt/Checkbox.java,
6932         java/awt/Dialog.java,
6933         java/awt/Font.java,
6934         java/awt/Frame.java,
6935         java/awt/ScrollPaneAdjustable.java,
6936         java/awt/Scrollbar.java,
6937         java/awt/Window.java:
6938         New versions from classpath.
6939
6940 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
6941
6942         PR libgcj/10838:
6943         * java/io/ObjectInputStream (enableResolveObject):
6944         Fixed spelling of permission name.
6945
6946 2003-05-20  Michael Koch  <konqueror@gmx.de>
6947
6948         * java/io/DataInputStream.java
6949         (convertFromUTF): Merged comment from classpath.
6950         * java/io/PrintStream.java
6951         (error_occured): Renamed from error, merged comment from classpath.
6952         (PrintStream): No need to initialized error.
6953         (checkError): Replace error with error_occurred.
6954         (setError): Likewise.
6955
6956 2003-05-20  Michael Koch  <konqueror@gmx.de>
6957
6958         * java/io/DataInputStream.java:
6959         Reformatted, Replaced < and & with html entitites in documentation.
6960         * java/io/File.java:
6961         Reformatted.
6962         * java/io/PrintWriter.java:
6963         Moved class documentation.
6964
6965 2003-05-20  Michael Koch  <konqueror@gmx.de>
6966
6967         * gnu/java/nio/ByteBufferImpl.java,
6968         gnu/java/nio/CharBufferImpl.java,
6969         gnu/java/nio/CharViewBufferImpl.java,
6970         gnu/java/nio/DirectByteBufferImpl.java,
6971         gnu/java/nio/DoubleBufferImpl.java,
6972         gnu/java/nio/DoubleViewBufferImpl.java,
6973         gnu/java/nio/FloatBufferImpl.java,
6974         gnu/java/nio/FloatViewBufferImpl.java,
6975         gnu/java/nio/IntBufferImpl.java,
6976         gnu/java/nio/IntViewBufferImpl.java,
6977         gnu/java/nio/LongBufferImpl.java,
6978         gnu/java/nio/LongViewBufferImpl.java,
6979         gnu/java/nio/natDirectByteBufferImpl.cc,
6980         gnu/java/nio/ShortBufferImpl.java,
6981         gnu/java/nio/ShortViewBufferImpl.java:
6982         Moved files to java/nio.
6983         * gnu/java/nio/SocketChannelImpl.java
6984         
6985         * java/nio/ByteBuffer.java,
6986         java/nio/CharBuffer.java,
6987         java/nio/DoubleBuffer.java,
6988         java/nio/FloatBuffer.java,
6989         java/nio/IntBuffer.java,
6990         java/nio/LongBuffer.java,
6991         java/nio/ShortBuffer.java:
6992         Dont import anything.
6993         * java/nio/ByteBufferImpl.java,
6994         java/nio/CharBufferImpl.java,
6995         java/nio/CharViewBufferImpl.java,
6996         java/nio/DirectByteBufferImpl.java,
6997         java/nio/DoubleBufferImpl.java,
6998         java/nio/DoubleViewBufferImpl.java,
6999         java/nio/FloatBufferImpl.java,
7000         java/nio/FloatViewBufferImpl.java,
7001         java/nio/IntBufferImpl.java,
7002         java/nio/IntViewBufferImpl.java,
7003         java/nio/LongBufferImpl.java,
7004         java/nio/LongViewBufferImpl.java,
7005         java/nio/natDirectByteBufferImpl.cc,
7006         java/nio/ShortBufferImpl.java,
7007         java/nio/ShortViewBufferImpl.java:
7008         Moved from gnu/java/nio.
7009         * Makefile.am
7010         (ordinary_java_source_files): Moved files from gnu/java/nio to
7011         java/nio.
7012         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
7013         to java/nio.
7014         * Makefile.in: Regenerated.
7015
7016 2003-05-19  Michael Koch  <konqueror@gmx.de>
7017
7018         * java/util/Calendar.java
7019         (get): Not final anymore since JDK 1.4
7020         (set): Likewise.
7021
7022 2003-05-19  Michael Koch  <konqueror@gmx.de>
7023
7024         * java/text/CollationKey.java:
7025         Merged copyright and dat from classpath.
7026         * java/text/RuleBasedCollator.java:
7027         Merged class documentation from classpath.
7028
7029 2003-05-19  Michael Koch  <konqueror@gmx.de>
7030
7031         * java/nio/CharBuffer.java
7032         (toString): Compile fix.
7033
7034 2003-05-19  Michael Koch  <konqueror@gmx.de>
7035
7036         * gnu/java/nio/ByteBufferImpl.java
7037         (putLong): Fixed conversion to bytes.
7038         (putDouble): Fixed conversion to bytes.
7039         * gnu/java/nio/DirectByteBufferImpl.java
7040         (putLong): Fixed conversion to bytes.
7041         (putDouble): Fixed conversion to bytes.
7042         * gnu/java/nio/FileLockImpl.java
7043         (isValid): Reformatted.
7044         * java/nio/Buffer.java
7045         (Buffer): Fixed off-by-one bug in handling mark.
7046         * java/nio/ByteBuffer.java:
7047         Added newline.
7048         * java/nio/CharBuffer.java
7049         (toString): Don't use relative get to get string data.
7050
7051 2003-05-16  Michael Koch  <konqueror@gmx.de>
7052
7053         * java/io/natFileDescriptorPosix.cc
7054         (open): Commented out the O_SYNC and O_DSYNC usage until its better
7055         tested.
7056
7057 2003-05-14  Michael Koch  <konqueror@gmx.de>
7058
7059         * gnu/java/nio/FileLockImpl.java
7060         (released): New member variable.
7061         (FileLockImpl): Initialize released.
7062         (releaseImpl): New native method.
7063         (release): Implemented.
7064         * gnu/java/nio/SelectorImpl.java: Reformatted.
7065         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
7066         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
7067         (accept): Throws IOException.
7068         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
7069         (implConfigureBlocking): Throws IOException.
7070         (connect): Likewise.
7071         (read): Likewise.
7072         (write): Likewise.
7073         * gnu/java/nio/natFileLockImpl.cc: New file.
7074         * java/nio/channels/FileLock.java: Reformatted.
7075         * Makefile.am:
7076         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
7077         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
7078         * Makefile.in: Regenerated.
7079
7080 2003-05-13  Michael Koch  <konqueror@gmx.de>
7081
7082         * gnu/java/nio/CharViewBufferImpl.java
7083         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
7084         (get): Shift bits to the right direction.
7085         (put): Likewise.
7086         * gnu/java/nio/DoubleViewBufferImpl.java
7087         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
7088         (get): Shift bits to the right direction.
7089         (put): Likewise.
7090         * gnu/java/nio/FloatViewBufferImpl.java
7091         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
7092         (get): Shift bits to the right direction.
7093         (put): Likewise.
7094         * gnu/java/nio/IntViewBufferImpl.java
7095         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
7096         (get): Shift bits to the right direction.
7097         (put): Likewise.
7098         * gnu/java/nio/LongViewBufferImpl.java
7099         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
7100         (get): Shift bits to the right direction.
7101         (put): Likewise.
7102         * gnu/java/nio/ShortViewBufferImpl.java
7103         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
7104         (get): Shift bits to the right direction.
7105         (put): Likewise.
7106
7107 2003-05-13  Michael Koch  <konqueror@gmx.de>
7108
7109         * gnu/java/nio/natDirectByteBufferImpl.cc
7110         (allocateImpl): jlong -> RawData*.
7111         (freeImpl): Likewise.
7112
7113 2003-05-13  Michael Koch  <konqueror@gmx.de>
7114
7115         * java/nio/channels/FileChannel.java
7116         (MapMode.m): Made it package-private to match JDK 1.4.
7117         * java/nio/charset/Charset.java
7118         (decode): Made it final to match JDK 1.4.
7119
7120 2003-05-13  Michael Koch  <konqueror@gmx.de>
7121
7122        * java/io/FileDescriptor.java
7123        (SYNC): New constant.
7124        (DSYNC): Likewise.
7125        (getLength): Renamed from lenght() to match classpath's
7126        FileDescriptor.java.
7127        * java/io/RandomAccessFile.java
7128        (RandomAccessFile): Removed unneeded mode check, implemented mode
7129        "rws" and "rwd", merged documentation from classpath.
7130        (setLength): Reformatted.
7131        (length): Use new getLength() of FileDescriptor.
7132        * java/io/natFileDescriptorEcos.cc
7133        (getLength): Renamed from length().
7134        * java/io/natFileDescriptorPosix.cc
7135        (open): Implemented support for SYNC and DSYNC.
7136        (seek): Use getLength() instead of length().
7137        (getLength): Renamed from length().
7138        * java/io/natFileDescriptorWin32.cc
7139        (getLength): Renamed from length().
7140        (seek): Use getLength() instead of length().
7141        (available): Likewise.
7142        * gnu/java/nio/natFileChannelImpl.cc
7143        (size): Use getLength() instead of length().
7144
7145 2003-05-13  Michael Koch  <konqueror@gmx.de>
7146
7147         * gnu/java/nio/ByteBufferImpl.java
7148         (ByteBufferImpl): All constructors revised.
7149         (slice): Reimplemented.
7150         (duplicate): Reimplemented.
7151         (asReadOnlyBuffer): Reimplemented.
7152         * java/nio/ByteBuffer.java:
7153         Reformatted.
7154         (array_offset): Renamed from "offset" to match all other buffer
7155         classes.
7156         (ByteBuffer): All constructors revised.
7157         (allocateDirect): Implemented.
7158         (allocate): New implementation, documentation reworked.
7159         (wrap): Likewise.
7160         (get): Documentation reworked.
7161         (put): New implementation, documentation reworked.
7162         (hasArray): Documentation reworked.
7163         (arrayOffset): Likewise.
7164         (hashCode): Likewise.
7165         (equals): Likewise.
7166         (compareTo): Likewise.
7167         (order): Likewise.
7168         (compact): Likewise.
7169         (isDirect): Likewise.
7170         (slice): Likewise.
7171         (duplicate): Likewise.
7172         (asReadOnlyBuffer): Likewise.
7173         * Makefile.am
7174         (ordinary_java_source_files):
7175         Added gnu/java/nio/DirectByteBufferImpl.java.
7176         (nat_source_files):
7177         Added gnu/java/nio/natDirectByteBufferImpl.cc.
7178         * Makefile.in: Regenerated.
7179
7180 2003-05-12  Michael Koch  <konqueror@gmx.de>
7181
7182         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
7183         (nio_get_*): Removed.
7184         (nio_put_*): Removed.
7185         (as*Buffer): Implemented.
7186         (compact): Implemented.
7187         (get): Documentation added.
7188         (put): Documentation added.
7189         (get*): Newly implemented.
7190         (put*): Newly implemented.
7191         * gnu/java/nio/CharBufferImpl.java: Reformatted.
7192         (CharBufferImpl): Revised.
7193         (slice): New implementation.
7194         (duplicate): New implementation.
7195         (compact): New implementation.
7196         (asReadOnlyBuffer): New implementation.
7197         (get): Documentation revised.
7198         (order): Return native byte order.
7199         * gnu/java/nio/DirectByteBufferImpl.java
7200         (allocateDirect): objects can be null not 0.
7201         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
7202         (DoubleBufferImpl): Revised.
7203         (slice): New implementation.
7204         (duplicate): New implementation.
7205         (compact): New implementation.
7206         (asReadOnlyBuffer): New implementation.
7207         (get): Documentation revised.
7208         (order): Return native byte order.
7209         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
7210         (FloatBufferImpl): Revised.
7211         (slice): New implementation.
7212         (duplicate): New implementation.
7213         (compact): New implementation.
7214         (asReadOnlyBuffer): New implementation.
7215         (get): Documentation revised.
7216         (order): Return native byte order.
7217         * gnu/java/nio/IntBufferImpl.java: Reformatted.
7218         (IntBufferImpl): Revised.
7219         (slice): New implementation.
7220         (duplicate): New implementation.
7221         (compact): New implementation.
7222         (asReadOnlyBuffer): New implementation.
7223         (get): Documentation revised.
7224         (order): Return native byte order.
7225         * gnu/java/nio/LongBufferImpl.java: Reformatted.
7226         (LongBufferImpl): Revised.
7227         (slice): New implementation.
7228         (duplicate): New implementation.
7229         (compact): New implementation.
7230         (asReadOnlyBuffer): New implementation.
7231         (get): Documentation revised.
7232         (order): Return native byte order.
7233         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
7234         (ShortBufferImpl): Revised.
7235         (slice): New implementation.
7236         (duplicate): New implementation.
7237         (compact): New implementation.
7238         (asReadOnlyBuffer): New implementation.
7239         (get): Documentation revised.
7240         (order): Return native byte order.
7241         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
7242         (CharBuffer): Revised.
7243         (order): Removed.
7244         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
7245         (DoubleBuffer): Revised.
7246         (allocateDirect): Removed.
7247         (order): Removed.
7248         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
7249         (FloatBuffer): Revised.
7250         (allocateDirect): Removed.
7251         (order): Removed.
7252         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
7253         (IntBuffer): Revised.
7254         (allocateDirect): Removed.
7255         (order): Removed.
7256         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
7257         (LongBuffer): Revised.
7258         (allocateDirect): Removed.
7259         (order): Removed.
7260         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
7261         (ShortBuffer): Revised.
7262         (allocateDirect): Removed.
7263         (order): Removed.
7264         * gnu/java/nio/natByteBufferImpl.cc: Removed.
7265         * gnu/java/nio/natCharBufferImpl.cc: Removed.
7266         * Makefile.am
7267         (ordinary_java_source_files): Added the following files:
7268         gnu/java/nio/CharViewBufferImpl.java,
7269         gnu/java/nio/DoubleViewBufferImpl.java,
7270         gnu/java/nio/FloatViewBufferImpl.java,
7271         gnu/java/nio/IntViewBufferImpl.java,
7272         gnu/java/nio/LongViewBufferImpl.java,
7273         gnu/java/nio/ShortViewBufferImpl.java
7274         (nat_source_files): Removed the following files:
7275         gnu/java/nio/natByteBufferImpl.cc,
7276         gnu/java/nio/natCharBufferImpl.cc
7277         * Makefile.in: Regenerated.
7278
7279 2003-05-12  Michael Koch  <konqueror@gmx.de>
7280
7281         * gnu/java/nio/CharViewBufferImpl.java,
7282         gnu/java/nio/DirectByteBufferImpl.java,
7283         gnu/java/nio/DoubleViewBufferImpl.java,
7284         gnu/java/nio/FloatViewBufferImpl.java,
7285         gnu/java/nio/IntViewBufferImpl.java,
7286         gnu/java/nio/LongViewBufferImpl.java,
7287         gnu/java/nio/ShortViewBufferImpl.java,
7288         gnu/java/nio/natDirectByteBufferImpl.cc:
7289         New files, not yet to be compiled.
7290
7291 2003-05-10  Michael Koch  <konqueror@gmx.de>
7292
7293         * javax/swing/plaf/ButtonUI.java,
7294         javax/swing/plaf/ColorUIResource.java,
7295         javax/swing/plaf/ComponentUI.java,
7296         javax/swing/plaf/DimensionUIResource.java,
7297         javax/swing/plaf/FontUIResource.java,
7298         javax/swing/plaf/IconUIResource.java,
7299         javax/swing/plaf/InsetsUIResource.java,
7300         javax/swing/plaf/LabelUI.java,
7301         javax/swing/plaf/ListUI.java,
7302         javax/swing/plaf/OptionPaneUI.java,
7303         javax/swing/plaf/PanelUI.java,
7304         javax/swing/plaf/TabbedPaneUI.java,
7305         javax/swing/plaf/TextUI.java,
7306         javax/swing/plaf/TreeUI.java,
7307         javax/swing/plaf/ViewportUI.java,
7308         javax/swing/plaf/basic/BasicBorders.java,
7309         javax/swing/plaf/basic/BasicButtonUI.java,
7310         javax/swing/plaf/basic/BasicCheckBoxUI.java,
7311         javax/swing/plaf/basic/BasicDefaults.java,
7312         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7313         javax/swing/plaf/basic/BasicIconFactory.java,
7314         javax/swing/plaf/basic/BasicLabelUI.java,
7315         javax/swing/plaf/basic/BasicListUI.java,
7316         javax/swing/plaf/basic/BasicOptionPaneUI.java,
7317         javax/swing/plaf/basic/BasicPanelUI.java,
7318         javax/swing/plaf/basic/BasicRadioButtonUI.java,
7319         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7320         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7321         javax/swing/plaf/basic/BasicTextUI.java,
7322         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7323         javax/swing/plaf/basic/BasicTreeUI.java,
7324         javax/swing/plaf/basic/BasicViewportUI.java,
7325         javax/swing/plaf/metal/MetalLookAndFeel.java:
7326         New versions from classpath. This adds copyrights to all files and
7327         some serialVersionUIDs.
7328
7329 2003-05-10  Michael Koch  <konqueror@gmx.de>
7330
7331         * java/nio/CharBuffer.java
7332         (offset): Make it package-private.
7333         (backing_buffer): Likewise.
7334         * java/nio/DoubleBuffer.java
7335         (offset): Make it package-private.
7336         (backing_buffer): Likewise.
7337         (put): Reformatted.
7338         * java/nio/FloatBuffer.java
7339         (offset): Make it package-private.
7340         (backing_buffer): Likewise.
7341         * java/nio/IntBuffer.java
7342         (offset): Make it package-private.
7343         (backing_buffer): Likewise.
7344         * java/nio/LongBuffer.java
7345         (offset): Make it package-private.
7346         (backing_buffer): Likewise.
7347         * java/nio/ShortBuffer.java
7348         (offset): Make it package-private.
7349         (backing_buffer): Likewise.
7350
7351 2003-05-10  Michael Koch  <konqueror@gmx.de>
7352
7353         * java/nio/CharBuffer.java
7354         (put): Fixed precondtion check.
7355         (toString): Make it work without backing array.
7356         (put): Skip one level of method calling.
7357
7358 2003-05-10  Michael Koch  <konqueror@gmx.de>
7359
7360         * java/security/Identity.java,
7361         java/security/IdentityScope.java,
7362         java/security/Key.java,
7363         java/security/KeyPair.java,
7364         java/security/PrivateKey.java,
7365         java/security/Provider.java,
7366         java/security/PublicKey.java,
7367         java/security/SecureRandom.java,
7368         java/security/SecureRandomSpi.java,
7369         java/security/SignedObject.java,
7370         java/security/Signer.java,
7371         java/security/cert/Certificate.java,
7372         java/security/cert/PKIXCertPathBuilderResult.java,
7373         java/security/cert/X509Certificate.java:
7374         New versions from classpath.
7375
7376 2003-05-09  Tom Tromey  <tromey@redhat.com>
7377
7378         * Makefile.in: Rebuilt.
7379         * Makefile.am (nat_source_files): Removed old files.
7380         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
7381         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
7382         * gnu/java/nio/natIntBufferImpl.cc: Removed.
7383         * gnu/java/nio/natLongBufferImpl.cc: Removed.
7384         * gnu/java/nio/natShortBufferImpl.cc: Removed.
7385
7386 2003-05-09  Michael Koch  <konqueror@gmx.de>
7387
7388         * gnu/java/nio/ByteBufferImpl.java
7389         (nio_cast): Removed.
7390         (ByteBufferImpl): Removed.
7391         (nio_get_Byte): Removed.
7392         (nio_put_Byte): Removed.
7393         (asByteBuffer): Removed.
7394         (asCharBuffer): Removed implementation and throw exception.
7395         (asShortBuffer): Likewise.
7396         (asIntBuffer): Likewise.
7397         (asLongBuffer): Likewise.
7398         (asFloatBuffer): Likewise.
7399         (asDoubleBuffer): Likewise.
7400         * gnu/java/nio/CharBufferImpl.java
7401         (CharBufferImpl): Removed.
7402         (nio_get_Byte): Removed.
7403         (nio_put_Byte): Removed.
7404         (asByteBuffer): Removed.
7405         * gnu/java/nio/DoubleBufferImpl.java
7406         (DoubleBufferImpl): Removed.
7407         (nio_get_Byte): Removed.
7408         (nio_put_Byte): Removed.
7409         (asByteBuffer): Removed.
7410         * gnu/java/nio/FloatBufferImpl.java
7411         (FloatBufferImpl): Removed.
7412         (nio_get_Byte): Removed.
7413         (nio_put_Byte): Removed.
7414         (asByteBuffer): Removed.
7415         * gnu/java/nio/IntBufferImpl.java
7416         (IntBufferImpl): Removed.
7417         (nio_get_Byte): Removed.
7418         (nio_put_Byte): Removed.
7419         (asByteBuffer): Removed.
7420         * gnu/java/nio/LongBufferImpl.java
7421         (LongBufferImpl): Removed.
7422         (nio_get_Byte): Removed.
7423         (nio_put_Byte): Removed.
7424         (asByteBuffer): Removed.
7425         * gnu/java/nio/ShortBufferImpl.java
7426         (ShortBufferImpl): Removed.
7427         (nio_get_Byte): Removed.
7428         (nio_put_Byte): Removed.
7429         (asByteBuffer): Removed.
7430         * gnu/java/nio/natByteBufferImpl.cc
7431         (nio_cast): Removed.
7432         (nio_get_Byte): Removed.
7433         (nio_put_Byte): Removed.
7434         * gnu/java/nio/natCharBufferImpl.cc
7435         (nio_get_Byte): Removed.
7436         (nio_put_Byte): Removed.
7437
7438 2003-05-09  Michael Koch  <konqueror@gmx.de>
7439
7440         * java/net/JarURLConnection.java
7441         (getJarEntry): Merged documentation from classpath.
7442         (getJarFile): Likewise.
7443         (getMainAttributes): Likewise.
7444         (getAttributes): Likewise.
7445         (getManifest): Likewise.
7446         (getCertificates): Reformatted.
7447         * java/net/URLConnection.java:
7448         Little classpath merge.
7449
7450 2003-05-09  Michael Koch  <konqueror@gmx.de>
7451
7452         * java/io/DataOutputStream.java
7453         (writeShort): Made it synchronized.
7454         (writeChar): Likewise.
7455         (writeInt): Likewise.
7456         (writeLong): Liekwise.
7457         (writeUTF): Made it synchronized, renamed argument to match classpath.
7458         * java/io/InputStreamReader.java
7459         (converter): Added documentation.
7460         (read): Merged documentation from classpath.
7461         * java/io/OutputStreamWriter.java
7462         (OutputStreamWriter): Merged documentation from classpath.
7463         (close): Reformatted.
7464         (getEncoding): Likewise.
7465         (flush): Likewise.
7466         (write): Merged documentation from classpath, reformatted.
7467
7468 2003-05-08  Tom Tromey  <tromey@redhat.com>
7469
7470         * configure.host <powerpc64*-*>: Set with_libffi_default and
7471         libgcj_interpreter to "yes".
7472
7473 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
7474
7475         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
7476         
7477 2003-05-06  Tom Tromey  <tromey@redhat.com>
7478
7479         * verify.cc: Reverted previous patch.
7480
7481 2003-05-06  Michael Koch  <konqueror@gmx.de>
7482
7483         * java/io/DataOutputStream.java
7484         (write): Renamed argument to "value", merged documentation from
7485         classpath.
7486         (writeBoolean): Likewise.
7487         (writeByte): Likewise.
7488         (writeShort): Likewise.
7489         (writeChar): Likewise.
7490         (writeInt): Likewise.
7491         (writeLong): Likewise.
7492         (writeFloat): Likewise.
7493         (writeDouble): Likewise.
7494         (writeBytes): Likewise.
7495         (writeChars): Likewise.
7496         (writeUTF): Likewise.
7497         * java/io/File.java
7498         (performDelete): Added documentation.
7499         (performList): Likewise.
7500         (performMkdir): Likewise.
7501         (performSetReadOnly): Likewise.
7502         (performRenameTo): Likewise.
7503         (performSetLastModified): Likewise.
7504         (delete): Made it sychronized.
7505         (renameTo): Made it sychronized.
7506         (equals): Reformatted.
7507         (isHidden): Likewise.
7508         (listFiles): Likewise.
7509         (setReadOnly): Likewise.
7510         (listRoots): Likewise.
7511         (setLastModified): Likewise.
7512         (checkRead): Likewise.
7513         (checkWrite): Likewise.
7514         * java/io/FileInputStream.java
7515         (skip): Made it sychronized, merged from classpath.
7516         * java/io/FileOutputStream.java
7517         (write): Merged from classpath.
7518         * java/io/InputStreamReader.java:
7519         (InputStreamReader): Merged documentation from classpath.
7520
7521 2003-05-05  Michael Koch  <konqueror@gmx.de>
7522
7523         * java/net/NetworkInterface.java
7524         (networkInterfaces): Removed.
7525         (getByName): Use getRealNetworkInterfaces() instead of
7526         networkInterfaces.
7527         (getByInetAddress): Likewise.
7528         (getNetworkInterfaces): Likewise.
7529         (toString): Fix output of addresses of an interface.
7530
7531 2003-05-05  Michael Koch  <konqueror@gmx.de>
7532
7533         * java/io/DataInputStream.java:
7534         Merged new documentation from classpath.
7535
7536 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
7537
7538         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
7539         "version".
7540         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
7541         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
7542         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
7543         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
7544         * gnu/awt/gtk/GtkMainThread.java: Likewise.
7545         * gnu/awt/gtk/GtkToolkit.java: Likewise.
7546         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
7547         * java/security/Key.java: Likewise.
7548         * java/security/PrivateKey.java: Likewise.
7549         * java/security/Provider.java: Likewise.
7550         * java/security/PublicKey.java: Likewise.
7551
7552 2003-05-02  Michael Koch  <konqueror@gmx.de>
7553
7554         * java/net/URI.java
7555         (create): Doesnt throws any exceptions.
7556         * java/net/URLConnection.java
7557         (URLConnection): Commend added.
7558         (getExpiration): The header field is called "expires" not
7559         "expiration".
7560         (getHeaderField): Merged documentation with classpath.
7561         (getHeaderFieldInt): Likewise.
7562         (getHeaderFieldDate): Likewise.
7563         (getHeaderFieldKey): Likewise.
7564         (getPermission): Likewise.
7565         (setDefaultUseCaches): Likewise.
7566         (setRequestProperty): Likewise.
7567         (addRequestProperty): Likewise.
7568         (getRequestProperty): Likewise.
7569         (getRequestProperties): Likewise.
7570         (setDefaultRequestProperty): Likewise.
7571         (getDefaultRequestProperty): Likewise.
7572         (guessContentTypeFromStream): Likewise.
7573         (getFileNameMap): Likewise.
7574         (setFileNameMap): Likewise.
7575         (setDoInput): Merged implementation and documentation with classpath.
7576         (setDoOutput): Likewise.
7577         (setAllowUserInteraction): Likewise.
7578         (setDefaultAllowUserInteraction): Likewise.
7579         (setContentHandlerFactory): Made it synchronized, merged documentation
7580         with classpath.
7581         (guessContentTypeFromName): Renamed argument fname to filename to
7582         match classpath, merged documentation with classpath.
7583
7584 2003-05-02  Michael Koch  <konqueror@gmx.de>
7585
7586         * java/net/JarURLConnection.java
7587         (JarURLConnection): Class documentation merged with classpath.
7588         (getJarFileURL): Moved and documentation merged with classpath.
7589         (getEntryName): Likewise.
7590         (JarURLConnection): Documentation merged with classpath.
7591         (getJarEntry): Likewise.
7592         (getJarFile): Likewise.
7593         * java/net/PlainDatagramSocketImpl.java:
7594         Class documentation moved.
7595         * java/net/URLConnection.java
7596         (fileNameMap): Moved and documentation merged with classpath.
7597         (factory): Likewise.
7598         (defaultAllowUserInteraction): Likewis.
7599         (defaultUseCaches): Likewise.
7600         (allowUserInteraction): Likewise.
7601         (connected): Likewise.
7602         (url): Likewise.
7603         (connect): Documentation merged with classpath.
7604         (getURL): Likewise.
7605         (getContentLength): Likewise.
7606         (getContentType): Likewise.
7607         (getContentEncoding): Likewise.
7608         (getExpiration): Likewise.
7609         (getDate): Likewise.
7610         (getLastModified): Likewise.
7611         (getHeaderField): Likewise.
7612         (getContent): Likewise.
7613         (getPermission): Likewise.
7614         (getInputStream): Likewise.
7615         (getOutputStream): Likewise.
7616         (toString): Likewise.
7617         (getDoInput): Likewise.
7618         (getDoOutput): Likewise.
7619         (setAllowUserInteraction): Likewise.
7620         (getAllowUserInteraction): Likewise.
7621         (setDefaultAllowUserInteraction): Likewise.
7622         (getDefaultAllowUserInteraction): Likewise.
7623         (setUseCaches): Likewise.
7624         (getUseCaches): Likewise.
7625         (setIfModifiedSince): Likewise.
7626         (getIfModifiedSince): Likewise.
7627         (setDefaultRequestProperty): Likewise.
7628         (getDefaultRequestProperty): Likewise.
7629         (setContentHandlerFactory): Likewise.
7630         (setFileNameMap): Likewise.
7631
7632 2003-05-02  Michael Koch  <konqueror@gmx.de>
7633
7634         * java/net/InetAddress.java:
7635         Merged class documentation with classpath.
7636         * java/net/JarURLConnection.java:
7637         Explicitely import all used classes.
7638         * java/net/URL.java:
7639         Reformatting.
7640         * java/net/ServerSocket.java,
7641         java/net/Socket.java:
7642         New versions from classpath.
7643
7644 2003-05-02  Michael Koch  <konqueror@gmx.de>
7645
7646         * gnu/java/nio/FileChannelImpl.java
7647         (read): New implementation.
7648         (implRead): New methods.
7649         (write): New implementation, call other write insteal of read method.
7650         (implWrite): New methods.
7651         (map): Added comment.
7652         (transferFrom): Implemented.
7653         (transferTo): Implemented.
7654         (lock): Added checks to throw exceptions.
7655         (truncate): Added check to throw exception.
7656         * gnu/java/nio/natFileChannelImpl.cc
7657         (implRead): New method.
7658         (implWrite): New method.
7659         * java/nio/ByteBuffer.java
7660         (hashCode): Fixed comment.
7661         (get): Fixed exception documentation.
7662         (put): Fixed exception documentation.
7663         * java/nio/CharBuffer.java:
7664         Added comment for later optimizations.
7665
7666 2003-04-30  Tom Tromey  <tromey@redhat.com>
7667
7668         PR libgcj/10582:
7669         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
7670         Removed.
7671         (type::compatible): Use _Jv_IsAssignableFrom.
7672         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
7673         (_Jv_IsAssignableFrom): Work even when source or target class is
7674         not prepared.
7675
7676 2003-04-30  Michael Koch  <konqueror@gmx.de>
7677
7678         * java/text/BreakIterator.java
7679         (clone): New method.
7680
7681 2003-04-30  Michael Koch  <konqueror@gmx.de>
7682
7683         * java/text/CollationElementIterator.java,
7684         java/text/CollationKey.java,
7685         java/text/RuleBasedCollator.java:
7686         Merged copyright and documentation from classpath and
7687         rearranged some code. No code changes done.
7688
7689 2003-04-30  Michael Koch  <konqueror@gmx.de>
7690
7691         * java/util/regex/Matcher.java
7692         (pattern): New member variable.
7693         (appendReplacement): New method.
7694         (appendTail): New method.
7695         (end): New method.
7696         (find): New method.
7697         (group): New method.
7698         (replaceFirst): Added documentation.
7699         (replaceAll): Added documentation.
7700         (groupCount): New method.
7701         (lookingAt): New method.
7702         (matches): New method.
7703         (reset): New method.
7704         (start): New method.
7705         * java/util/regex/Pattern.java
7706         (serialVersionUID): New constant.
7707         (CANON_EQ): New constant.
7708         (CASE_INSENSITIVE): New constant.
7709         (COMMENTS): New constant.
7710         (DOTALL): New constant.
7711         (MULTILINE): New constant.
7712         (UNICODE_CASE): New constant.
7713         (UNIX_LINES): New constant.
7714         (regex): New member variable.
7715         (flags): New member variable.
7716         (Pattern): New method.
7717         (compile): Documentation added.
7718         (flags): New method.
7719         (matches): Documentation added.
7720         (matcher): Documentation added.
7721         (split): Documentation added.
7722         (pattern): New method.
7723
7724 2003-04-30  Michael Koch  <konqueror@gmx.de>
7725
7726         * gnu/java/security/Engine.java,
7727         gnu/java/security/OID.java,
7728         gnu/java/security/der/BitString.java,
7729         gnu/java/security/der/DER.java,
7730         gnu/java/security/der/DERReader.java,
7731         gnu/java/security/der/DERValue.java,
7732         gnu/java/security/der/DERWriter.java,
7733         gnu/java/security/provider/DSAKeyFactory.java,
7734         gnu/java/security/provider/X509CertificateFactory.java,
7735         gnu/java/security/x509/X500DistinguishedName.java,
7736         gnu/java/security/x509/X509CRL.java,
7737         gnu/java/security/x509/X509CRLEntry.java,
7738         gnu/java/security/x509/X509Certificate.java,
7739         java/security/cert/CRLSelector.java,
7740         java/security/cert/CertPathBuilder.java,
7741         java/security/cert/CertPathBuilderResult.java,
7742         java/security/cert/CertPathBuilderSpi.java,
7743         java/security/cert/CertPathParameters.java,
7744         java/security/cert/CertPathValidator.java,
7745         java/security/cert/CertPathValidatorResult.java,
7746         java/security/cert/CertPathValidatorSpi.java,
7747         java/security/cert/CertSelector.java,
7748         java/security/cert/CertStore.java,
7749         java/security/cert/CertStoreParameters.java,
7750         java/security/cert/CertStoreSpi.java,
7751         java/security/cert/CollectionCertStoreParameters.java,
7752         java/security/cert/LDAPCertStoreParameters.java,
7753         java/security/cert/PKIXBuilderParameters.java,
7754         java/security/cert/PKIXCertPathBuilderResult.java,
7755         java/security/cert/PKIXCertPathChecker.java,
7756         java/security/cert/PKIXCertPathValidatorResult.java,
7757         java/security/cert/PKIXParameters.java,
7758         java/security/cert/PolicyNode.java,
7759         java/security/cert/PolicyQualifierInfo.java,
7760         java/security/cert/TrustAnchor.java,
7761         javax/security/auth/x500/X500Principal.java:
7762         New files from classpath.
7763         * gnu/java/io/ASN1ParsingException.java,
7764         gnu/java/io/Base64InputStream.java,
7765         gnu/java/security/der/DEREncodingException.java,
7766         gnu/java/security/provider/DSAParameters.java,
7767         gnu/java/security/provider/DSASignature.java,
7768         gnu/java/security/provider/Gnu.java,
7769         gnu/java/security/provider/GnuDSAPrivateKey.java,
7770         gnu/java/security/provider/GnuDSAPublicKey.java,
7771         java/security/AlgorithmParameterGenerator.java,
7772         java/security/AlgorithmParameters.java,
7773         java/security/KeyFactory.java,
7774         java/security/KeyPairGenerator.java,
7775         java/security/KeyStore.java,
7776         java/security/MessageDigest.java,
7777         java/security/SecureClassLoader.java,
7778         java/security/SecureRandom.java,
7779         java/security/Security.java,
7780         java/security/Signature.java,
7781         java/security/cert/Certificate.java,
7782         java/security/cert/CertificateFactory.java,
7783         java/security/cert/CertificateFactorySpi.java,
7784         java/security/cert/X509CRL.java,
7785         java/security/cert/X509Certificate.java,
7786         java/security/spec/DSAPublicKeySpec.java:
7787         New versions from classpath.
7788         * gnu/java/security/provider/DERReader.java,
7789         gnu/java/security/provider/DERWriter.java,
7790         java/security/Engine.java: Removed.
7791         * Makefile.am
7792         (java_source_files, javax_source_files): Added new files.
7793         * Makefile.in: Regenerated.
7794
7795 2003-04-29  Michael Koch  <konqueror@gmx.de>
7796
7797         * javax/swing/JTable.java
7798         (AUTO_RESIZE_ALL_COLUMNS): New constant.
7799         (AUTO_RESIZE_LAST_COLUMN): New constant.
7800         (AUTO_RESIZE_NEXT_COLUMN): New constant.
7801         (AUTO_RESIZE_OFF): New constant.
7802         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
7803         (JTable): New method.
7804         (columnAdded): New method.
7805         (columnMarginChanged): New method.
7806         (columnMoved): New method.
7807         (columnRemoved): New method.
7808         (columnSelectionChanged): New method.
7809         (editingCanceled): New method.
7810         (editingStopped): New method.
7811         (getColumnModel): New method.
7812         (getPreferredScrollableViewportSize): New method.
7813         (getScrollableBlockIncrement): New method.
7814         (getScrollableTracksViewportHeight): New method.
7815         (getScrollableTracksViewportWidth): New method.
7816         (getScrollableUnitIncrement): New method.
7817         (getSelectedRow): New method.
7818         (getSelectionModel): New method.
7819         (tableChanged): New method.
7820         (setModel): New method.
7821         (setSelectionMode): New method.
7822         (setSelectionModel): New method.
7823         (setShowGrid): New method.
7824         (valueChanged): New method.
7825         * javax/swing/text/DefaultEditorKit.java
7826         (backwardAction): New constant.
7827         (beepAction): New constant.
7828         (beginAction): New constant.
7829         (beginLineAction): New constant.
7830         (beginParagraphAction): New constant.
7831         (beginWordAction): New constant.
7832         (copyAction): New constant.
7833         (cutAction): New constant.
7834         (defaultKeyTypedAction): New constant.
7835         (deleteNextCharAction): New constant.
7836         (deletePrevCharAction): New constant.
7837         (downAction): New constant.
7838         (endAction): New constant.
7839         (endLineAction): New constant.
7840         (endOfLineStringProperty): New constant.
7841         (endParagraphAction): New constant.
7842         (endWordAction): New constant.
7843         (forwardAction): New constant.
7844         (insertBreakAction): New constant.
7845         (insertContentAction): New constant.
7846         (insertTabAction): New constant.
7847         (nextWordAction): New constant.
7848         (pageDownAction): New constant.
7849         (pageUpAction): New constant.
7850         (pasteAction): New constant.
7851         (previousWordAction): New constant.
7852         (readOnlyAction): New constant.
7853         (selectAllAction): New constant.
7854         (selectionBackwardAction): New constant.
7855         (selectionBeginAction): New constant.
7856         (selectionBeginLineAction): New constant.
7857         (selectionBeginParagraphAction): New constant.
7858         (selectionBeginWordAction): New constant.
7859         (selectionDownAction): New constant.
7860         (selectionEndAction): New constant.
7861         (selectionEndLineAction): New constant.
7862         (selectionEndParagraphAction): New constant.
7863         (selectionEndWordAction): New constant.
7864         (selectionForwardAction): New constant.
7865         (selectionNextWordAction): New constant.
7866         (selectionPreviousWordAction): New constant.
7867         (selectionUpAction): New constant.
7868         (selectLineAction): New constant.
7869         (selectParagraphAction): New constant.
7870         (selectWordAction): New constant.
7871         (upAction): New constant.
7872         (writableAction): New constant.
7873
7874 2003-04-29  Michael Koch  <konqueror@gmx.de>
7875
7876         * java/util/PropertyPermission.java:
7877         New version from classpath
7878         * java/util/ResourceBundle.java:
7879         Partly merged from classpath
7880         (getObject): Reformated.
7881         (tryBundle): Set foundBundle = null if no bundle found.
7882
7883 2003-04-29  Michael Koch  <konqueror@gmx.de>
7884
7885         * javax/swing/AbstractListModel.java,
7886         javax/swing/DefaultBoundedRangeModel.java,
7887         javax/swing/DefaultSingleSelectionModel.java:
7888         New Versions from classpath.
7889
7890 2003-04-29  Michael Koch  <konqueror@gmx.de>
7891
7892         * java/awt/Window.java
7893         (show): Call super.show() instead of setVisible() to avoid endless
7894         loop.
7895         (hide): Call super.hide() instead of setVisible() to avoid endless
7896         loop.
7897
7898 2003-04-29  Michael Koch  <konqueror@gmx.de>
7899
7900         * java/util/zip/Deflater.java,
7901         java/util/zip/DeflaterOutputStream.java:
7902         Partly merged with classpath.
7903
7904 2003-04-27  Tom Tromey  <tromey@redhat.com>
7905
7906         * java/lang/natString.cc (_Jv_AllocString): Initialize
7907         cachedHashCode.
7908         (init): Likewise.
7909         (_Jv_NewStringUtf8Const): Likewise.
7910
7911 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
7912
7913         * include/jvm.h: (_Jv_GetNbArgs) added
7914         (_Jv_GetSafeArg) added
7915         (_Jv_SetArgs) added
7916         * prims.cc: (_Jv_GetNbArgs) implemented
7917         (_Jv_GetSafeArg) implemented
7918         (_Jv_SetArgs) implemented
7919         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
7920         setting _Jv_argc and _Jv_argv
7921         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
7922         instead of _Jv_argv
7923         * java/lang/natRuntime.cc: (insertSystemProperties) use
7924         _Jv_GetSafeArg() instead of _Jv_argv
7925
7926 2003-04-23  Tom Tromey  <tromey@redhat.com>
7927
7928         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
7929         required by this object.  Search superclasses to find required
7930         alignment.
7931         (get_alignment_from_class): Use alignment of type as it appears
7932         in a struct.
7933         (ALIGNOF): New macro.
7934         (struct aligner): New helper structure.
7935
7936 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
7937
7938         * java/awt/Container.java (addImpl): Enable paint events if adding
7939         a lightweight to a heavyweight.
7940         (addNotify): Ensure that peer is created before
7941         addNotifyContainerChildren.
7942         (addNotifyContainerChildren): Enable paint events if a heavyweight
7943         container contains a lightweight.
7944
7945 2003-04-20  Tom Tromey  <tromey@redhat.com>
7946
7947         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
7948         java/io/DataInput.java, java/io/DataOutput.java: Imports from
7949         Classpath.
7950
7951 2003-04-19  Tom Tromey  <tromey@redhat.com>
7952
7953         * java/sql/Date.java, java/sql/DriverManager.java,
7954         java/sql/Time.java, java/sql/Timestamp.java: New versions from
7955         Classpath.
7956
7957         * Makefile.in: Rebuilt.
7958         * Makefile.am (ordinary_java_source_files): Added new files.
7959         * java/security/AlgorithmParameterGenerator.java,
7960         java/security/AlgorithmParameters.java, java/security/Engine.java,
7961         java/security/Identity.java, java/security/IdentityScope.java,
7962         java/security/KeyFactory.java,
7963         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
7964         java/security/MessageDigest.java, java/security/Policy.java,
7965         java/security/ProtectionDomain.java,
7966         java/security/SecureRandom.java, java/security/Security.java,
7967         java/security/Signature.java, java/security/SignatureSpi.java,
7968         java/security/SignedObject.java, java/security/Signer.java,
7969         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
7970         java/security/spec/PSSParameterSpec.java,
7971         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
7972         java/security/spec/RSAOtherPrimeInfo.java: New versions from
7973         Classpath.
7974
7975 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7976
7977         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
7978         (dispose): Null metrics.
7979         * gnu/awt/xlib/XToolkit.java (sync): Implement.
7980         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
7981         finalize.
7982         (finalize): Call dispose.
7983         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
7984         (gcCachedCount): New field.
7985         (finalize): New method.
7986         (putGCInCache): New method.
7987         (getGCFromCache): New method.
7988         * gnu/gcj/xlib/GC.java (GC): Make protected.
7989         (clone): Get new GC from cache if possible.
7990         (create): New static method.
7991         (dispose): Save old GC in cache.
7992         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
7993         deleting.
7994         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
7995         is null.
7996         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
7997         * java/awt/Container.java (visitChild): Dispose gfx2 when
7998         finished.
7999
8000 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
8001
8002         * java/math/BigInteger.java (probablePrime): New.
8003         * java/math/BigDecimal.java (unscaledValue): New.
8004
8005 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
8006
8007         * java/io/File.java (getAbsolutePath): On Windows, take care
8008         of paths like "C:", "G:foo\bar", etc.
8009         (getName): Make it work correctly on Windows.
8010         (getParent): Make it work correctly on Windows. For UNIX,
8011         fix bug that causes "/" to be returned as the parent of "/",
8012         instead of null as returned by Sun's JRE.
8013
8014         * java/io/natFileWin32.cc: Change copyright owner to FSF.
8015
8016 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8017
8018         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
8019         inner class.
8020         (CACHE_SIZE_PER_DISPLAY): New field
8021         (fontMetricsCache): New field
8022         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
8023         loading ISO10646-1 fonts.
8024
8025 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8026
8027         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
8028         characters.
8029         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
8030         characters.
8031
8032 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
8033
8034         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
8035         floating point.
8036
8037 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
8038
8039         * configure.host (*-linux*): Don't set slow_pthread_self if primary
8040         installed libpthread is either linuxthreads with floating stacks or
8041         NPTL.
8042
8043 2003-04-14  Tom Tromey  <tromey@redhat.com>
8044
8045         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
8046         of alignment.
8047
8048 2003-04-10  Tom Tromey  <tromey@redhat.com>
8049
8050         * verify.cc (pop64): Removed.
8051         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
8052         exception if top-of-stack is narrow.
8053         (initialize_stack): Check to ensure that <init> is not static and
8054         <clinit> is.
8055
8056 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
8057
8058         * java/io/ObjectStreamException
8059         * java/io/FileFilter
8060         * java/io/FilenameFilter
8061         * java/io/ObjectInput
8062         * java/io/ObjectOutput
8063         * java/io/ObjectStreamConstants
8064         Minor doc fixes, format fixes, spelling corrections, etc.
8065         * java/io/DataInput
8066         Corrected code samples in Javadocs to match reality
8067         * java/io/DataOutput
8068         * java/io/ObjectInputValidation
8069         Major documentation fixes - all Javadocs re-written or updated
8070
8071 2003-04-06  Michael Koch  <konqueror@gmx.de>
8072
8073         * java/net/URLConnection.java:
8074         Import classes directly.
8075         (URLConnection): Merged class documentation with classpath.
8076         (url): Moved, documentation from classpath added.
8077         (doInput): Moved, documentation from classpath added.
8078         (doOutput): Moved, documentation from classpath added.
8079         (allowUserInteraction): Moved.
8080         (useCaches): Moved, documentation from classpath added.
8081         (ifModifiedSince): Moved, documentation from classpath added.
8082         (connected): Moved, documentation from classpath added.
8083
8084 2003-04-06  Michael Koch  <konqueror@gmx.de>
8085
8086         * java/io/FileInputStream.java
8087         (skip): Renamed some variables to match classpath, added
8088         checks from classpath.
8089
8090 2003-03-31  Michael Koch  <konqueror@gmx.de>
8091
8092         * javax/swing/AbstractAction.java
8093         (AbstractAction): Reformatted.
8094         (serialVersionUID): New private member variable.
8095         * javax/swing/plaf/BorderUIResource.java
8096         (serialVersionUID): New private member variable.
8097         * javax/swing/plaf/basic/BasicLookAndFeel.java
8098         (serialVersionUID): New private member variable.
8099
8100 2003-03-31  Michael Koch  <konqueror@gmx.de>
8101
8102         * java/sql/Date.java
8103         (valueOf): Deprecated, reformatted.
8104         (toString): Deprecated, reformatted.
8105         * java/sql/Time.java
8106         (valueOf): Deprecated, reformatted.
8107         (toString): Deprecated, reformatted.
8108
8109 2003-03-31  Michael Koch  <konqueror@gmx.de>
8110
8111         * java/rmi/dgc/VMID.java
8112         (isUnique): Deprecated.
8113
8114 2003-03-31  Michael Koch  <konqueror@gmx.de>
8115
8116         * java/io/File.java
8117         (separator): Merged documentation from classpath.
8118         (separatorChar): Merged documentation from classpath.
8119         (pathSeparator): Merged documentation from classpath.
8120         (pathSeparatorChar): Merged documentation from classpath.
8121         (path): Merged documentation from classpath.
8122         (canRead): Merged documentation from classpath.
8123         (canWrite): Merged documentation from classpath.
8124         (createNewFile): Merged documentation from classpath.
8125         (delete): Merged documentation from classpath.
8126         (equals): Merged documentation from classpath.
8127         (exists): Merged documentation from classpath.
8128         (File): Renamed p to name to match classpath, merged documentation
8129         from classpath.
8130         (getAbsolutePath): Merged documentation from classpath.
8131         (getCanonicalPath): Merged documentation from classpath.
8132         (getCanonicalFile): Merged documentation from classpath.
8133         (getName): Merged documentation from classpath.
8134         (getParent): Merged documentation from classpath.
8135         (getParentFile): Merged documentation from classpath.
8136         (getPath): Merged documentation from classpath.
8137         (hashCode): Merged documentation from classpath.
8138         (isAbsolute): Merged documentation from classpath.
8139         (isDirectory): Merged documentation from classpath.
8140         (isFile): Merged documentation from classpath.
8141         (isHidden): Merged documentation from classpath.
8142         (lastModified): Merged documentation from classpath.
8143         (length): Merged documentation from classpath.
8144         (list): Merged documentation from classpath.
8145         (listFiles): Merged documentation from classpath.
8146         (toString): Merged documentation from classpath.
8147         (toURL): Merged documentation from classpath.
8148         (mkdir): Merged documentation from classpath.
8149         (mkdirs): Merged documentation from classpath.
8150         (createTempFile): Merged documentation from classpath.
8151         (setReadOnly): Merged documentation from classpath.
8152         (listRoots): Merged documentation from classpath.
8153         (compareTo): Merged documentation from classpath.
8154         (renameTo): Merged documentation from classpath.
8155         (setLastModified): Merged documentation from classpath.
8156         * java/io/PrintStream.java
8157         (auto_flush): Merged documentation from classpath.
8158         (PrintStream): Merged documentation from classpath.
8159         (checkError): Merged documentation from classpath.
8160         (setError): Merged documentation from classpath.
8161         (close): Merged documentation from classpath.
8162         (flush): Merged documentation from classpath.
8163         (print): Merged documentation from classpath.
8164         (println):  Merged documentation from classpath.
8165         (write): Renamed count to len to match classpath,
8166         merged documentation from classpath.
8167         * java/io/RandomAccessFile.java
8168         (readShort): Merged documentation from classpath.
8169         (readUnsignedByte): Merged documentation from classpath.
8170         (readUnsignedShort): Merged documentation from classpath.
8171         (readUTF): Merged documentation from classpath.
8172         (seek): Reformatted, merged documentation from classpath.
8173         (skipBytes): Renamed some variables to match classpath, reformatted,
8174         merged documentation from classpath.
8175         (write): Merged documentation from classpath.
8176         (writeBoolean): Merged documentation from classpath.
8177         (writeByte): Merged documentation from classpath.
8178         (writeShort): Merged documentation from classpath.
8179         (writeChar): Merged documentation from classpath.
8180         (writeInt): Merged documentation from classpath.
8181         (writeLong): Merged documentation from classpath.
8182         (writeFloat): Merged documentation from classpath.
8183         (writeDouble): Merged documentation from classpath.
8184         (writeBytes): Merged documentation from classpath.
8185         (writeChars): Merged documentation from classpath.
8186         (writeUTF): Reformatted.
8187         (getChannel): Reformatted.
8188
8189 2003-03-31  Michael Koch  <konqueror@gmx.de>
8190
8191         * java/awt/font/TextAttribute.java
8192         (readResolve): Throws java.io.InvalidObjectException.
8193
8194 2003-03-31  Michael Koch  <konqueror@gmx.de>
8195
8196         * java/rmi/server/LoaderHandler.java
8197         (loadClass): Deprecated.
8198         (getSecurityContext): Deprecated.
8199         * java/rmi/server/LogStream.java
8200         (getDefaultStream): Deprecated.
8201         (setDefaultStream): Deprecated.
8202         (getOutputStream): Deprecated.
8203         (setOutputStream): Deprecated.
8204         (write): Deprecated.
8205         (toString): Deprecated.
8206         (parseLevel): Deprecated.
8207         * java/rmi/server/Operation.java
8208         (Operation): Deprecated.
8209         (getOperation): Deprecated.
8210         (toString): Deprecated.
8211         * java/rmi/server/RemoteCall.java
8212         (getOutputStream): Deprecated.
8213         (releaseOutputStream): Deprecated.
8214         (getInputStream): Deprecated.
8215         (releaseInputStream): Deprecated.
8216         (getResultStream): Deprecated.
8217         (executeCall): Deprecated.
8218         (done): Deprecated.
8219         * java/rmi/server/RemoteRef.java
8220         (invoke): Deprecated.
8221         (newCall): Deprecated.
8222         (done): Deprecated.
8223         * java/rmi/server/RemoteStub.java
8224         (setRef): Deprecated.
8225         * java/rmi/server/Skeleton.java:
8226         No need to import java.lang.Exception explicitly.
8227         (dispatch): Deprecated.
8228         (getOperations): Deprecated.
8229
8230 2003-03-31  Michael Koch  <konqueror@gmx.de>
8231
8232         * java/rmi/dgc/VMID.java,
8233         java/rmi/registry/RegistryHandler.java,
8234         java/rmi/server/LogStream.java,
8235         java/rmi/server/Operation.java,
8236         java/rmi/server/RemoteCall.java,
8237         java/rmi/server/RemoteRef.java,
8238         java/rmi/server/RemoteStub.java:
8239         Reformatted.
8240
8241 2003-03-31  Michael Koch  <konqueror@gmx.de>
8242
8243         * javax/swing/AbstractCellEditor.java,
8244         javax/swing/AbstractListModel.java,
8245         javax/swing/ActionMap.java,
8246         javax/swing/BorderFactory.java,
8247         javax/swing/ButtonGroup.java,
8248         javax/swing/DefaultBoundedRangeModel.java,
8249         javax/swing/DefaultButtonModel.java,
8250         javax/swing/DefaultCellEditor.java,
8251         javax/swing/DefaultComboBoxModel.java,
8252         javax/swing/DefaultDesktopManager.java,
8253         javax/swing/DefaultListCellRenderer.java,
8254         javax/swing/DefaultSingleSelectionModel.java,
8255         javax/swing/InputMap.java,
8256         javax/swing/JComponent.java,
8257         javax/swing/JMenu.java,
8258         javax/swing/JSlider.java,
8259         javax/swing/KeyStroke.java,
8260         javax/swing/OverlayLayout.java,
8261         javax/swing/ScrollPaneLayout.java,
8262         javax/swing/SizeRequirements.java,
8263         javax/swing/UIManager.java,
8264         javax/swing/ViewportLayout.java,
8265         javax/swing/border/AbstractBorder.java,
8266         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8267         javax/swing/event/EventListenerList.java,
8268         javax/swing/table/AbstractTableModel.java,
8269         javax/swing/table/DefaultTableCellRenderer.java,
8270         javax/swing/table/DefaultTableColumnModel.java,
8271         javax/swing/table/DefaultTableModel.java,
8272         javax/swing/table/TableColumn.java,
8273         javax/swing/text/StyledEditorKit.java,
8274         javax/swing/tree/DefaultMutableTreeNode.java,
8275         javax/swing/tree/DefaultTreeModel.java,
8276         javax/swing/tree/DefaultTreeSelectionModel.java,
8277         javax/swing/tree/TreePath.java,
8278         javax/swing/undo/AbstractUndoableEdit.java,
8279         javax/swing/undo/StateEdit.java,
8280         javax/swing/undo/StateEditable.java,
8281         javax/swing/undo/UndoableEditSupport.java:
8282         Merges from classpath.
8283
8284 2003-03-30  Tom Tromey  <tromey@redhat.com>
8285
8286         * java/lang/String.java (data, boffset, count): Documented.
8287         (String(byte[],String)): Reformatted.
8288         (String(byte[])): Likewise.
8289         (lastIndexOf(int)): Likewise.
8290         (lastIndexOf(String)): Likewise.
8291         (substring(int)): Renamed argument to match Classpath.
8292         (String(StringBuffer)): Don't share buffer if it is nearly empty.
8293
8294         * java/lang/String.java: Miscellaneous minor formatting changes
8295         to match Classpath more closely.
8296
8297 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
8298             Tom Tromey  <tromey@redhat.com>
8299
8300         * java/lang/natString.cc (hashCode): Use cachedHashCode.
8301         (init()): Removed.
8302         (charAt): Put index in exception.
8303         (contentEquals): New method.
8304         Include StringBuffer.h.
8305         * java/lang/String.java (cachedHashCode): New field.
8306         (String()): Follow classpath implementation.
8307         (init()): Removed.
8308         (contentEquals): Declare.
8309         (subSequence): Don't declare IndexOutIfBoundsException in throws
8310         clause.
8311         (matches, replaceFirst, replaceAll, split): New methods from
8312         Classpath.
8313
8314 2003-03-29  Tom Tromey  <tromey@redhat.com>
8315
8316         * java/lang/String.java: Reordered to follow Classpath; merged in
8317         javadoc.
8318
8319         * java/text/MessageFormat.java: Removed some whitespace.
8320
8321         * Makefile.in: Rebuilt.
8322         * Makefile.am (awt_java_source_files): Added new files.
8323         * gnu/javax/rmi/PortableServer.java,
8324         gnu/javax/rmi/CORBA/DelegateFactory.java,
8325         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
8326         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
8327         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
8328         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
8329         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
8330         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
8331         javax/rmi/PortableRemoteObject.java,
8332         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
8333         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8334         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
8335         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
8336         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
8337         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
8338
8339         * java/lang/natClass.cc (newInstance): Put method name in
8340         exception.
8341         (getConstructor): Likewise.
8342         (getDeclaredConstructor): Likewise.
8343         (getPrivateMethod): Likewise.
8344
8345 2003-03-28  Tom Tromey  <tromey@redhat.com>
8346
8347         * java/lang/reflect/Proxy.java: New version from Classpath.
8348         * java/lang/Package.java: New version from Classpath.
8349
8350 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
8351
8352         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
8353         * configure: Regenerate.
8354
8355 2003-03-28  Michael Koch  <konqueror@gmx.de>
8356
8357         * java/io/File.java:
8358         Import needed classes instead of whole packages, merged class
8359         documentation with classpath, moved constants and variables to top of
8360         class.
8361         * java/io/PrintStream.java:
8362         Merged class documentation with classpath, moved constants and
8363         variables to top of class.
8364         * java/io/RandomAccessFile.java
8365         (RandomAccessFile): Merged with classpath.
8366         (read): Merged with classpath).
8367         (read*): Reformatted.
8368
8369 2003-03-28  Michael Koch  <konqueror@gmx.de>
8370
8371         * java/io/FileDescriptor.java
8372         (finalize): Throws Throwable, not IOException.
8373         * java/io/ObjectOutputStream.java
8374         (PutField.put): Doesnt throws anything.
8375
8376 2003­03-28  Michael Koch  <konqueror@gmx.de>
8377
8378         * java/io/FileOutputStream.java:
8379         Merged class documentation and authors with classpath.
8380         (FileOutputStream): Partly merged with classpath.
8381         (write): Merged with classpath.
8382         (getChannel): Make it synchronized instead of explicit block in this
8383         method.
8384         * java/io/RandomAccessFile.java:
8385         Merged class documentation and authors with classpath.
8386
8387 2003-03-26  Tom Tromey  <tromey@redhat.com>
8388
8389         * java/lang/natRuntime.cc (insertSystemProperties): Set
8390         gnu.classpath.home.url.
8391         * Makefile.in: Rebuilt.
8392         * Makefile.am: Define LIBDIR.
8393
8394 2003-03-25  Michael Koch  <konqueror@gmx.de>
8395
8396         * java/io/FileInputStream.java
8397         (read): Renamed b to buf and off to offset.
8398         * java/io/FileOutputStream.java
8399         (ch): Documentation added.
8400         (FileOutputStream): Documentation added.
8401         (getFD): Documentation added.
8402         (write): Documentation added.
8403         (close): Documentation added.
8404         (getChannel): Documentation added.
8405
8406 2003-03-24  Michael Koch  <konqueror@gmx.de>
8407
8408         * java/io/DataOutputStream.java
8409         (write): Merged from classpath.
8410         * java/io/File.java:
8411         Merged copyrigth with classpath.
8412         * java/io/FileInputStream.java
8413         (getChannel): Made it synchronized instead of using a synchronized
8414         block.
8415         * java/io/FileOutputStream.java: Reformatted.
8416         * java/io/InputStreamReader.java
8417         (InputStreamReader): Renamed enc to encoding_name.
8418         (close): Merged documentation from classpath.
8419         (getEncoding): Merged documentation from classpath.
8420         (ready): Merged documentation from classpath.
8421         (read): Merged documentation from classpath.
8422         * java/io/LineNumberReader.java
8423         (lineNumber): Made it private.
8424         (LineNumberReader): Use Constant instead of a direct value.
8425         * java/io/OutputStreamWriter.java
8426         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
8427         documentation from classpath.
8428         (close): Merged documentation from classpath.
8429         (flush): Merged documentation from classpath.
8430         (write): Merged documentation from classpath.
8431         * java/io/PrintStream.java: Reformatted.
8432
8433 2003-03-24  Michael Koch  <konqueror@gmx.de>
8434
8435         * javax/swing/text/ComponentView.java
8436         (getComponent): Must be final.
8437         * javax/swing/tree/DefaultTreeCellRenderer.java:
8438         Reformatted.
8439         * javax/swing/undo/StateEditable.java:
8440         Reformatted.
8441
8442 2003-03-24  Michael Koch  <konqueror@gmx.de>
8443
8444         * java/rmi/activation/ActivationInstantiator.java:
8445         Reformatted.
8446         * java/rmi/activation/Activator.java:
8447         Reformatted.
8448         * java/rmi/registry/RegistryHandler.java:
8449         Remerged from classpath.
8450
8451 2003-03-24  Michael Koch  <konqueror@gmx.de>
8452
8453         * java/util/Date.java:
8454         Fixed documentation starting tag to make javadoc happy.
8455         * java/util/regex/Pattern.java
8456         (Pattern): Implements Serializable.
8457         * java/util/PatternSyntaxException.java
8458         (serialVersionUID): New member variable.
8459
8460 2003-03-24  Michael Koch  <koqnueror@gmx.de>
8461
8462         * java/awt/ContainerOrderFocusTraversalPolicy.java
8463         (getFirstComponent): Implemented.
8464         (getLastComponent): Implemented.
8465         (getDefaultComponent): Implemented.
8466         (setImplicitDownCycleTraversal): Fixed implementation.
8467         * java/awt/Robot.java
8468         (Robot): Added documentation.
8469         * java/awt/Toolkit.java
8470         (getFontList): Deprecated.
8471         (getFontMetrics): Deprecated.
8472         (getPrintJob): Added documentation.
8473         (getSystemSelection): Added documentation.
8474         (getLockingKeyState): Added documentation.
8475         (setLockingKeyState): Added documentation.
8476         (createCustomCursor): Added documentation.
8477         (getBestCursorSize): Added documentation.
8478         (getMaximumCursorColors): Added documentation.
8479         (isFrameStateSupported): Added documentation.
8480
8481 2003-03-24  Michael Koch  <konqueror@gmx.de>
8482
8483         * java/io/RandomAccessFile.java:
8484         More little merges with classpath. No code changes.
8485
8486 2003-03-24  Michael Koch  <konqueror@gmx.de>
8487
8488         * java/net/natInetAddressNoNet.cc:
8489         Include stddef.h.
8490         * java/net/natPlainDatagramSocketImplNoNet.cc:
8491         Fixed inlcude of java/net/DatagramPacket.h.
8492         * java/net/natPlainSocketImplNoNet.cc:
8493         Include some missing classes.
8494
8495 2003-03-24  Michael Koch  <konqueror@gmx.de>
8496
8497         * java/awt/dnd/DropTarget.java
8498         (DropTargetAutoScroller): According to the online documentation, this
8499         is protected, but in reality it is public.
8500         * java/awt/dnd/DropTargetContext.java
8501         (TransferableProxy): According to the online documentation, this
8502         is protected, but in reality it is public.
8503
8504 2003-03-24  Michael Koch  <konqueror@gmx.de>
8505
8506         * java/io/DataInputStream.java
8507         (): Wrapped documentation line.
8508         (): Fixed @return tag.
8509         * java/io/DataOutputStream.java
8510         (written): Moved to top of class.
8511         (all methods): Merged documentation from classpath.
8512         * java/io/File.java:
8513         Merged copyright year with classpath.
8514         * java/io/FileInputStream.java
8515         (all methods): Merged documentation from classpath.
8516         * java/io/LineNumberReader.java
8517         (getLineNumber): Fixed @return tag.
8518         * java/io/ObjectInputStream.java.
8519         Reformatted.
8520         * java/io/ObjectOutputStream.java:
8521         Reformatted, fixed some @see tags.
8522         * java/io/OutputStreamWriter.java:
8523         Deleted empty line.
8524         * java/io/Writer.java:
8525         Reformatted.
8526
8527 2003-03-24  Michael Koch  <konqueror@gmx.de>
8528
8529         * java/awt/Frame.java
8530         (DEFAULT_CURSOR): Fixed @deprecated tag.
8531         (setCursor): Fixed @deprecated tag.
8532
8533 2003-03-24  Michael Koch  <konqueror@gmx.de>
8534
8535         * java/beans/beancontext/BeanContextEvent.java:
8536         Reformated.
8537
8538 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
8539
8540         * java/lang/natStringBuffer.cc (regionMatches): New function.
8541         * java/lang/String.java (count): Now package-private.
8542         * java/lang/StringBuffer.java: Merged with Classpath.
8543
8544 2003-03-23  Michael Koch  <konqueror@gmx.de>
8545
8546         * java/io/BufferedOutputStream.java:
8547         Reformated.
8548         * java/io/BufferedReader.java:
8549         Reformated.
8550         * java/io/ByteArrayOutputStream.java
8551         (size): Fixed @see tag.
8552         * java/io/CharArrayWriter.java
8553         (size): Fixed @see tag.
8554         * java/io/DataInput.java:
8555         Reformated.
8556         * java/io/DataOutput.java:
8557         Reformated.
8558         * java/io/DataOutputStream.java:
8559         Merged copyright years with classpath.
8560         * java/io/Externalizable.java:
8561         Reformated.
8562         * java/io/FileFilter.java:
8563         Reformated.
8564         * java/io/FileInputStream.java:
8565         Merged copyright years with classpath.
8566         * java/io/FileOutputStream.java:
8567         Merged copyright years with classpath.
8568         * java/io/FilePermission.java
8569         (FilePermission): Replaced @XXX with FIXME:.
8570         * java/io/FileWriter.java:
8571         Reformated.
8572         * java/io/FilenameFilter.java:
8573         Reformated.
8574         * java/io/FilterInputStream.java:
8575         Reformated.
8576         * java/io/FilterOutputStream.java:
8577         Reformated.
8578         * java/io/FilterReader.java:
8579         Reformated.
8580         * java/io/FilterWriter.java:
8581         Reformated.
8582         * java/io/LineNumberInputStream.java
8583         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
8584         happy.
8585         (getLineNumber): Fixed @return tag.
8586         * java/io/ObjectInput.java:
8587         Reformated.
8588         * java/io/ObjectOutput.java:
8589         Reformated.
8590         * java/io/ObjectStreamClass.java:
8591         Reformated.
8592         * java/io/PrintStream.java:
8593         Merged copyright years with classpath.
8594         * java/io/PushbackReader.java
8595         (PushbackReader): Replaced @code with @param.
8596         * java/io/SerializablePermission.java:
8597         Reformated.
8598         * java/io/StreamTokenizer.java
8599         (resetSyntax): Fixed @see tag.
8600
8601 2003-03-22  Richard Henderson  <rth@redhat.com>
8602
8603         * sysdep/ia64/locks.h: Include ia64intrin.h.
8604         (compare_and_swap): Use __sync_bool_compare_and_swap.
8605         (compare_and_swap_release): Expose ar.ccv assignment.
8606
8607 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
8608
8609         * include/posix.h: Add suffix for darwin dynamic libraries.
8610
8611 2003-03-21  Michael Koch  <konqueror@gmx.de>
8612
8613         * javax/swing/Action.java
8614         (ACCELERATOR_KEY): New constant.
8615         (ACTION_COMMAND_KEY): Likewise.
8616         (MNEMONIC_KEY): Likewise.
8617         * javax/swing/UnsupportedLookAndFeelException.java
8618         (UnsupportedLookAndFeelException): Must be public.
8619         * javax/swing/WindowConstants.java
8620         (EXIT_ON_CLOSE): New constant.
8621         * javax/swing/text/BadLocationException.java
8622         (offset): New member variable.
8623         (BadLocationException): New implementation, documentation added.
8624         (offsetRequested): New method.
8625         * javax/swing/text/Caret.java:
8626         Reformated.
8627         * javax/swing/text/Document.java:
8628         Reformated.
8629
8630 2003-03-21  Michael Koch  <konqueror@gmx.de>
8631
8632         * java/rmi/activation/Activatable.java
8633         (serialVersionUID): New member variable.
8634         * java/rmi/activation/ActivationGroup.java
8635         (serialVersionUID): New member variable.
8636         * java/rmi/activation/ActivationGroupDesc.java
8637         (serialVersionUID): New member variable.
8638         * java/rmi/registry/Registry.java:
8639         Reformated.
8640         (Registry): Deprecated.
8641         * java/rmi/server/LoaderHandler.java
8642         Reformated.
8643         (LoaderHandler): Deprecated.
8644         * java/rmi/server/LogStream.java
8645         Reformated.
8646         (LogStream): Deprecated.
8647         * java/rmi/server/Operation.java
8648         (Operation): Deprecated.
8649         * java/rmi/server/RMIFailureHandler.java:
8650         Reformated.
8651         * java/rmi/server/RMISocketFactory.java:
8652         Reformated.
8653         * java/rmi/server/RemoteCall.java
8654         (RemoteCall): Deprecated.
8655         * java/rmi/server/RemoteStub.java:
8656         Reformated.
8657         * java/rmi/server/Skeleton.java
8658         Reformated.
8659         (Skeleton): Deprecated.
8660
8661 2003-03-21  Michael Koch  <konqueror@gmx.de>
8662
8663         * java/io/LineNumberReader.java
8664         (LineNumberReader): Merged documentation with classpath.
8665         (getLineNumber): Likewise.
8666         (setLineNumber): Likewise.
8667         (mark): Likewise.
8668         (reset): Likewise.
8669         (read): Likewise.
8670         (readLine): Likewise.
8671         (skip): Likewise.
8672
8673 2003-03-21  Michael Koch  <konqueror@gmx.de>
8674
8675         * java/rmi/RMISecurityManager.java
8676         (checkAccept): Removed.
8677         (checkAccess): Likewise.
8678         (checkAccess): Likewise.
8679         (checkAwtEventQueueAccess): Likewise.
8680         (checkConnect): Likewise.
8681         (checkCreateClassLoader): Likewise.
8682         (checkDelete): Likewise.
8683         (checkExec): Likewise.
8684         (checkExit): Likewise.
8685         (checkLink): Likewise.
8686         (checkListen): Likewise.
8687         (checkMemberAccess): Likewise.
8688         (checkMulticast): Likewise.
8689         (checkPackageAccess): Likewise.
8690         (checkPackageDefinition): Likewise.
8691         (checkPermission): Likewise.
8692         (checkPrintJobAccess): Likewise.
8693         (checkPropertiesAccess): Likewise.
8694         (checkPropertyAccess): Likewise.
8695         (checkRead): Likewise.
8696         (checkSecurityAccess): Likewise.
8697         (checkSetFactory): Likewise.
8698         (checkSystemClipboardAccess): Likewise.
8699         (checkTopLevelWindow): Likewise.
8700         (checkWrite): Likewise.
8701
8702 2003-03-20  Michael Koch  <konqueror@gmx.de>
8703
8704         * gnu/java/nio/FileChannelImpl.java
8705         (address): Removed.
8706         (map_address): New member variable.
8707         (length): Make it package private.
8708         (fd): Make it package private.
8709         (buf): Make it package private.
8710         (file_obj): Make it package private.
8711         (FileChannelImpl): New constructor.
8712         (nio_mmap_file): Use RawData instead of long.
8713         (nio_munmap_file): Use RawData instead of long.
8714         (nio_msync): Use RawData instead of long.
8715         (implCloseChannel): New implementation using map_address.
8716         (read): Reformated.
8717         (map): Implemented.
8718         (create_direct_mapped_buffer): Implemented, use RawData, throws
8719         IOException.
8720         (force): Use map_address instead of address.
8721         * gnu/java/nio/MappedByteFileBuffer.java
8722         (address): Removed.
8723         (map_address): New member variable.
8724         (MappedByteFileBuffer): Use map_address instead of address, reformated.
8725         (several methods): Use map_address instead of address, replaced long
8726         with RawData where appropriate.
8727         * gnu/java/nio/natFileChannelImpl.cc
8728         (nio_mmap_file): Replaced long with RawData.
8729         (nio_munmap_file): Replaced long with RawData.
8730         (nio_msync): Replaced long with RawData.
8731         * gnu/java/nio/natMappedByteFileBuffer.cc
8732         (several methods): Replaced long with RawData where appropriate.
8733
8734 2003-03-20  Michael Koch  <konqueror@gmx.de>
8735
8736         * java/net/InetAddress.java,
8737         java/net/JarURLConnection.java,
8738         java/net/PlainDatagramSocketImpl.java,
8739         java/net/PlainSocketImpl.java,
8740         java/net/URLConnection.java:
8741         Merged copyright statements with classpath for easier merging.
8742
8743 2003-03-20  Michael Koch  <konqueror@gmx.de>
8744
8745         * java/io/FileInputStream.java
8746         (getChannel): New implementation.
8747         * java/io/FileOutputStream.java
8748         (ch): New member variable.
8749         (getChannel): Implemented.
8750         * java/io/RandomAccessFile.java
8751         (RandomAccessFile): Throws FileNotFoundException instead of
8752         IOException.
8753         (getChannel): New method.
8754         (ch): New member variable.
8755
8756 2003-03-20  Michael Koch  <konqueror@gmx.de>
8757
8758         * java/io/DataOutputStream.java,
8759         java/io/File.java,
8760         java/io/FileInputStream.java,
8761         java/io/FileOutputStream.java,
8762         java/io/InputStreamReader.java,
8763         java/io/LineNumberReader.java,
8764         java/io/OutputStreamWriter.java,
8765         java/io/PrintStream.java,
8766         java/io/RandomAccessFile.java:
8767         Merged copyright statements with classpath for easier merging.
8768
8769 2003-03-19  Michael Koch  <konqueror@gmx.de>
8770
8771         * java/lang/Process.java:
8772         Merged from classpath.
8773
8774 2003-03-19  Michael Koch  <konqueror@gmx.de>
8775
8776         * java/io/FileOutputStream.java
8777         (FileOutputStream): New constructor, merged from classpath.
8778         * java/io/FileWriter.java
8779         (FileWriter): New constructor, merged from classpath.
8780
8781 2003-03-18  Michael Koch  <konqueror@gmx.de>
8782
8783         * java/awt/ScrollPane.java
8784         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
8785         (getViewportSize): Likewise.
8786         (addNotify): Likewise.
8787         (removeNotify): Likewise.
8788         * java/awt/ScrollPaneAdjustable.java
8789         (ScrollPaneAdjustable): No longer extends Scrollbar.
8790         * java/beans/beancontext/BeanContextServices.java:
8791         Reformated.
8792         (getService): Added throws TooManyListenersException;
8793         * java/beans/beancontext/BeanContextServicesSupport.java:
8794         Reformated.
8795
8796 2003-03-18  Michael Koch  <konqueror@gmx.de>
8797
8798         * java/io/BufferedOutputStream.java,
8799         java/io/DataInput.java,
8800         java/io/DataInputStream.java,
8801         java/io/DataOutput.java,
8802         java/io/Externalizable.java:
8803         More merges from classpath.
8804
8805 2003-03-18  Michael Koch  <konqueror@gmx.de>
8806
8807         * configure.in: Fixed links to platform dependant java.net files.
8808         * configure: Regenerated.
8809         * java/net/natInetAddress.cc,
8810         java/net/natNetworkInterface.cc,
8811         java/net/natPlainDatagramSocketImpl.cc,
8812         java/net/natPlainSocketImpl.cc:
8813         Removed.
8814
8815 2003-03-18  Michael Koch  <konqueror@gmx.de>
8816
8817         * configure.in: Create links to architecture dependent files,
8818         introduced PLATFORMNET variable (set to NoNet for newlib usage).
8819         * configure: Regenerated.
8820         * java/net/natInetAddressNoNet.cc,
8821         java/net/natInetAddressPosix.cc,
8822         java/net/natInetAddressWin32.cc,
8823         java/net/natNetworkInterfaceNoNet.cc,
8824         java/net/natNetworkInterfacePosix.cc,
8825         java/net/natNetworkInterfaceWin32.cc,
8826         java/net/natPlainDatagramSocketImplNoNet.cc,
8827         java/net/natPlainDatagramSocketImplPosix.cc,
8828         java/net/natPlainDatagramSocketImplWin32.cc,
8829         java/net/natPlainSocketImplNoNet.cc,
8830         java/net/natPlainSocketImplPosix.cc,
8831         java/net/natPlainSocketImplWin32.cc: New files.
8832
8833 2003-03-18  Michael Koch  <konqueror@gmx.de>
8834
8835         * java/io/BufferedReader.java,
8836         java/io/BufferedWriter.java,
8837         java/io/ByteArrayOutputStream.java,
8838         java/io/FileFilter.java,
8839         java/io/FilePermission.java,
8840         java/io/FileReader.java,
8841         java/io/FileWriter.java,
8842         java/io/FilenameFilter.java,
8843         java/io/FilterInputStream.java,
8844         java/io/FilterOutputStream.java,
8845         java/io/FilterReader.java,
8846         java/io/FilterWriter.java,
8847         java/io/ObjectInput.java,
8848         java/io/ObjectInputValidation.java,
8849         java/io/ObjectOutput.java,
8850         java/io/ObjectStreamField.java,
8851         java/io/PipedInputStream.java,
8852         java/io/PipedReader.java,
8853         java/io/PrintWriter.java,
8854         java/io/PushbackReader.java,
8855         java/io/Reader.java,
8856         java/io/SerializablePermission.java,
8857         java/io/StringReader.java,
8858         java/io/Writer.java:
8859         Merged from classpath.
8860
8861 2003-03-17  Michael Koch  <konqueror@gmx.de>
8862
8863         * java/awt/ScrollPaneAdjustable.java:
8864         Compile fixes.
8865         
8866 2003-03-17  Michael Koch  <konqueror@gmx.de>
8867
8868         * java/net/DatagramSocket.java
8869         (connect): Fixed comment.
8870         * java/nio/ByteBuffer.java
8871         (hasArray): Fixed comment.
8872
8873 2003-03-17  Michael Koch  <konqueror@gmx.de>
8874
8875         * java/beans/Beans.java:
8876         Explicitely import classes not packages.
8877         * java/beans/FeatureDescriptor.java
8878         (preferred): New member variable.
8879         (isPreferred): New method.
8880         (setPreferred): New method.
8881         * java/beans/PropertyEditorManager.java:
8882         Explicitely import used classes.
8883         * java/beans/beancontext/BeanContextChild.java:
8884         Added line wrapping.
8885         * java/beans/beancontext/BeanContextChildSupport.java:
8886         Reindented.
8887         * java/beans/beancontext/BeanContextEvent.java:
8888         Reindented.
8889
8890 2003-03-17  Michael Koch  <konqueror@gmx.de>
8891
8892         * java/awt/Dialog.java
8893         (Dialog): New constructor, changed implementations, added
8894         documentation.
8895         * java/awt/ScrollPaneAdjustable.java
8896         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
8897         Serializable.
8898         (serialVersionUID): New member variable.
8899         (sp): New member variable.
8900         (orientation): New member variable.
8901         (value): New member variable.
8902         (minimum): New member variable.
8903         (maximum): New member variable.
8904         (visibleAmount): New member variable.
8905         (unitIncrement): New member variable.
8906         (blockIncrement): New member variable.
8907         (AdjustmentListener): New member variable.
8908         (ScrollPaneAdjustable): New implementation.
8909         (addAdjustmentListener): New method.
8910         (removeAdjustmentListener): New method.
8911         (getAdjustmentListeners): New method.
8912         (getBlockIncrement): New method.
8913         (getMaximum): New method.
8914         (getMinimum): New method.
8915         (getOrientation): New method.
8916         (getUnitIncrement): New method.
8917         (getValue): New method.
8918         (getVisibleAmount): New method.
8919         (setBlockIncrement): New method.
8920         (setMaximum): Implemented.
8921         (setMinimum): Implemented.
8922         (setUnitIncrement): New method.
8923         (setValue): New method.
8924         (setVisibleAmount): Implemented. 
8925         (paramString): New stubbed method.
8926         * java/awt/Window.java
8927         (show): Call setVisible().
8928         (hide): Call setVisible().
8929         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
8930         and WINDOW_STATE_CHANGED.
8931         (processWindowFocusEvent): New method.
8932         (processWindowStateEvent): New method.
8933         (postEvent): Deprecated.
8934         (applyResourceBundle): Deprecated.
8935         * java/awt/datatransfer/DataFlavor.java
8936         (DataFlavor): Doesn't thow ClassNotFoundException.
8937
8938 2003-03-17  Michael Koch
8939
8940         * javax/print/attribute/Attribute.java,
8941         javax/print/attribute/AttributeSet.java,
8942         javax/print/attribute/PrintRequestAttributeSet.java:
8943         New files.
8944         * Makefile.am
8945         (javax_source_files): Added new files:
8946         javax/print/attribute/Attribute.java
8947         javax/print/attribute/AttributeSet.java
8948         javax/print/attribute/PrintRequestAttributeSet.java
8949         * Makefile.in: Regenerated.
8950
8951 2003-03-17  Michael Koch
8952
8953         * javax/print/attribute/Attribute.java,
8954         javax/print/attribute/AttributeSet.java,
8955         javax/print/attribute/PrintRequestAttributeSet.java:
8956         New files.
8957         * Makefile.am
8958         (awt_java_source_files): Added new files:
8959         javax/print/attribute/Attribute.java
8960         javax/print/attribute/AttributeSet.java
8961         javax/print/attribute/PrintRequestAttributeSet.java
8962         * Makefile.in: Regenerated.
8963
8964 2003-03-16  Tom Tromey  <tromey@redhat.com>
8965
8966         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
8967         Include platform.h.
8968         * java/lang/natRuntime.cc (insertSystemProperties): Use
8969         _Jv_platform_path_separator.
8970         (nativeGetLibname): Use _Jv_platform_file_separator.
8971         (_load): Use _Jv_platform_onload_names.
8972         (onload_names): New global.
8973         * include/win32.h (_Jv_platform_file_separator): New define.
8974         (_Jv_platform_path_separator): Likewise.
8975         (_Jv_platform_onload_names): Likewise.
8976         (_Jv_platform_ffi_abi): Likewise.
8977         * include/posix.h (_Jv_platform_file_separator): New define.
8978         (_Jv_platform_path_separator): Likewise.
8979         (_Jv_platform_onload_names): Likewise.
8980         (_Jv_platform_ffi_abi): Likewise.
8981
8982 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
8983
8984         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
8985
8986 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
8987
8988         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
8989         hierarchy loop.
8990         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
8991         list to Object,ObjectStreamClass, moved callReadMethod code up into
8992         readObject and added Class argument to all setXxxField calls.
8993         (callReadMethod): Changed Class argument to ObjectStreamClass to be
8994         consistent with ObjectOutputStream and to facilitate caching the
8995         Method in the future.
8996         (setBooleanField): Added Class argument.
8997         (setByteField): Likewise.
8998         (setCharField): Likewise.
8999         (setDoubleField): Likewise.
9000         (setFloatField): Likewise.
9001         (setIntField): Likewise.
9002         (setLongField): Likewise.
9003         (setShortField): Likewise.
9004         (setObjectField): Likewise.
9005         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
9006         class hierarchy loop.
9007         (defaultWriteObject): Call writeFields with new argument list.
9008         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
9009         list to Object,ObjectStreamClass, moved callWriteMethod up into
9010         writeObject and added Class argument to all getXxxField calls.
9011         (callWriteMethod): Added ObjectStreamClass argument to be able to
9012         get the proper class to call getMethod on (each class can have (or
9013         not have) its own writeObject method).
9014         (getBooleanField): Added Class argument.
9015         (getByteField): Likewise.
9016         (getCharField): Likewise.
9017         (getDoubleField): Likewise.
9018         (getFloatField): Likewise.
9019         (getIntField): Likewise.
9020         (getLongField): Likewise.
9021         (getShortField): Likewise.
9022         (getObjectField): Likewise.
9023         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
9024         facilitate caching the Method object in the future.
9025
9026 2003-03-12  Andreas Schwab  <schwab@suse.de>
9027
9028         * configure.in: Avoid trailing /. in toolexeclibdir.
9029         * configure: Rebuilt.
9030
9031 2003-03-11  Michael Koch  <konqueror@gmx.de>
9032
9033         * gnu/java/nio/ByteBufferImpl.java
9034         (putInt): Use limit() instead of limit.
9035         * gnu/java/nio/CharBufferImpl.java
9036         (slice): Fixed implementation.
9037         (subSequence): Better bounds checking.
9038         * gnu/java/nio/MappedByteFileBuffer.java:
9039         Import all needed classes directly.
9040         * java/nio/ByteBuffer.java
9041         (hashCode): New dummy method.
9042         * java/nio/CharBuffer.java
9043         (array_offset): New member variable.
9044         (hasArray): Fixed documentation.
9045         (arrayOffset): Return array_offset.
9046
9047 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
9048
9049         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
9050         setter; made return value of getter const char* instead of char*
9051         * prims.cc: removed all references to _Jv_ThisExecutable().
9052         These are in the platform-specific sections now.
9053         * posix.cc: define platform-specific _Jv_ThisExecutable().
9054         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
9055         * win32.cc: define platform-specific _Jv_ThisExecutable()
9056         using GetModuleFilename()
9057         * java/lang/natRuntime.cc: set gnu.gcj.progname property
9058         to argv[0] instead of _Jv_ThisExecutable()
9059
9060 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
9061
9062         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
9063         that is set if we are using addr2name.awk instead of addr2line.
9064         (NameFinder): Set usingAddr2name if using addr2name.awk.
9065         (getExternalLabel): New native method to convert a method 
9066         name to an external label.
9067         (lookup): Convert name given by addr2line to an external label
9068         before demangling.
9069
9070         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
9071         constant representing the prefix attached to method names to
9072         convert them to an external label.
9073         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
9074         using LABEL_PREFIX.
9075
9076 2003-03-10  Tom Tromey  <tromey@redhat.com>
9077
9078         * Makefile.in: Rebuilt.
9079         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
9080         (JC1FLAGS): Removed -Wno-deprecated.
9081
9082 2003-03-10  Michael Koch  <konqueror@gmx.de>
9083
9084         * java/nio/ByteOrder.java
9085         (nativeOrder): Working implementation, added documentation.
9086         (toString): Added documentation.
9087
9088 2003-03-10  Michael Koch  <konqueror@gmx.de>
9089
9090         * java/net/DatagramSocket.java,
9091         java/net/MulticastSocket.java,
9092         java/net/Socket.java,
9093         java/net/URL.java,
9094         java/net/URLConnection.java:
9095         Fixed some documentation tags to make javadoc and friends happy.
9096
9097 2003-03-10  Michael Koch  <koqnueror@gmx.de>
9098
9099         * java/beans/beancontext/BeanContextServicesSupport.java,
9100         java/beans/beancontext/BeanContextSupport.java: New files.
9101         * Makefile.am
9102         (awt_source_files): Added new files.
9103         * Makefile.in: Regenerated.
9104
9105 2003-03-10  Michael Koch  <konqueror@gmx.de>
9106
9107         * java/awt/FocusTraversalPolicy.java
9108         (FocusTraversalPolicy): Documentation added.
9109         (getComponentAfter): Documentation added.
9110         (getComponentBefore): Documentation added.
9111         (getFirstComponent): Documentation added.
9112         (getLastComponent): Documentation added.
9113         (getDefaultComponent): Documentation added.
9114         (getInitialComponent): Documentation added.
9115         * java/awt/ScrollPaneAdjustable.java
9116         (sp): New member variable.
9117         (orientation): New member variable.
9118         (value): New member variable.
9119         (minimum): New member variable.
9120         (maximum): New member variable.
9121         (visibleAmount): New member variable.
9122         (unitIncrement): New member variable.
9123         (blockIncrement): New member variable.
9124         (adjustmentListener): New member variable.
9125         (ScrollPaneAdjustable): Rewrote.
9126         (addAdjustmentListener): New method.
9127         (removeAdjustmentListener): New method.
9128         (getAdjustmentListeners): New method.
9129         (getBlockIncrement): New method.
9130         (getMaximum): New method.
9131         (getMinimum): New method.
9132         (getOrientation): New method.
9133         (getUnitIncrement): New method.
9134         (getValue): New method.
9135         (getVisibleAmount): New method.
9136         (setBlockIncrement): New method.
9137         (setUnitIncrement): New method.
9138         (setMaximum): Implemented.
9139         (setMinimum): Implemented.
9140         (setValue): New method.
9141         (setVisibleAmount): Implemented.
9142         (paramString): New method.
9143         * java/awt/Window.java
9144         (show): Use setVisible(true) instead of super.show().
9145         (hide): Use sevVisible(false) instead of super.hide().
9146         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
9147         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
9148         (postEvent): Deprecated.
9149         (applyResourceBundle): Deprecated.
9150         (processWindowFocusEvent): New method.
9151         (processWindowStateEvent): New method.
9152         * java/awt/datatransfer/DataFlavor.java: Reindented.
9153         * java/awt/font/TextHitInfo.java
9154         (charIndex): New member variable.
9155         (leadingEdge): New member variable.
9156         (TextHitInfo): New constructor.
9157         (getCharIndex): Implemented.
9158         (isLeadingEdge): Implemented.
9159         (getInsertionIndex): Implemented.
9160         (hashCode): Access charIndex directly.
9161         (equals): Reformated.
9162         (leading): Implemented.
9163         (trailing): Implemented.
9164         (beforeOffset): Implemented.
9165         (afterOffset): Implemented.
9166         (getOtherHit): Implemented.
9167         (getOffsetHit): Implemented.
9168         (toString): Implemented.
9169         * java/awt/image/BufferedImage.java
9170         (BufferedImage): Implements WritableRenderedImage.
9171         (observers): New member variable.
9172         (addTileObserver): New method.
9173         (removeTileObserver): New method.
9174
9175 2003-03-09  Tom Tromey  <tromey@redhat.com>
9176
9177         PR libgcj/9934:
9178         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
9179         to lseek.  Return 0 if we can't compute the value.
9180
9181 2003-03-03  Michael Koch  <konqueror@gmx.de>
9182
9183         * java/net/NetworkInterface.java: Merged with classpath.
9184
9185 2003-03-03  Tom Tromey  <tromey@redhat.com>
9186
9187         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
9188         of bytecode.
9189         (handle_ret_insn): Fail if returning to jsr that appears at end of
9190         bytecode.
9191
9192 2003-03-03  Michael Koch  <konqueror@gmx.de>
9193
9194         * Makefile.am
9195         (ordinary_java_source_files):
9196         Added gnu/java/nio/MappedByteFileBuffer.java.
9197         (nat_source_files):
9198         Added gnu/java/nio/natMappedByteFileBuffer.cc.
9199         * Makefile.in: Regenerated.
9200
9201 2003-03-03  Michael Koch  <konqueror@gmx.de>
9202
9203         * java/net/DatagramSocket.java
9204         (connect): Merged comment from classpath.
9205         (receive): Merged documentation from classpath.
9206         * java/net/Socket.java
9207         (setSoTimeout): Clarified documentation.
9208         * java/net/URL.java
9209         (getPath): Merged from classpath.
9210         (getUserInfo): Merged from classpath.
9211         (getQuery): Merged from classpath.
9212         * java/net/URLStreamHandler.java
9213         (toExternalForm): Merged from classpath.
9214
9215 2003-03-02  Mark Wielaard  <mark@klomp.org>
9216
9217         * java/util/Properties.java (load): Only skip line if the first
9218         character is a comment, whitespaces don't count.
9219
9220 2003-03-02  Michael Koch  <konqueror@gmx.de>
9221
9222         * java/net/NetPermission.java:
9223         Merged copyright with classpath.
9224
9225 2003-03-02  Michael Koch  <konqueror@gmx.de>
9226
9227         * java/lang/Package.java:
9228         Remerged from classpath.
9229
9230 2003-03-02  Michael Koch  <konqueror@gmx.de>
9231
9232         * java/net/HttpURLConnection.java
9233         (HTTP_SERVER_ERROR): Deprecated.
9234         * java/net/MulticastSocket.java
9235         (send): Replaced checkMulticast with appropriate checkPermission call,
9236         deprecated.
9237         * java/net/URLDecoder.java
9238         (decode): Deprecated.
9239         * java/net/URLEncoder.java
9240         (encode): Deprecated.
9241
9242 2003-03-02  Michael Koch  <konqueror@gmx.de>
9243
9244         * javax/swing/text/Caret.java
9245         (getMagicCaretPosition): Fixed typo in method name.
9246         * javax/swing/text/DefaultCaret.java
9247         (getMagicCaretPosition): Fixed typo in method name.
9248
9249 2003-03-02  Michael Koch  <konqueror@gmx.de>
9250
9251         * java/awt/List.java
9252         (setMultipleSelections): Deprecated.
9253         (delItem): Deprecated.
9254         * java/awt/MenuComponent.java
9255         (getPeer): Deprecated.
9256         * java/awt/ScrollPane.java
9257         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
9258         * java/awt/dnd/MouseDragGestureRecognizer.java
9259         (mouseClicked): Added comment.
9260         (mousePressed): Added comment.
9261         (mouseReleased): Added comment.
9262         (mouseEntered): Added comment.
9263         (mouseExited): Added comment.
9264         (mouseDragged): Added comment.
9265         (mouseMoved): Added comment.
9266         * java/awt/event/KeyEvent.java
9267         (KeyEvent): Deprecated.
9268         (setModifiers): Deprecated.
9269         
9270 2003-03-02  Michael Koch  <konqueror@gmx.de>
9271
9272         * gnu/java/nio/FileChannelImpl.java
9273         (fd): Type FileDescriptor instead of int.
9274         (lengthInternal): Removed.
9275         (FileChannelImpl): Fixed arguments, check type of file object.
9276         (size): Made it native.
9277         (implPosition): New native method.
9278         (implTruncate): New native method.
9279         (position): Implemented.
9280         (truncate): Implemented.
9281         (nio_mmap_file): Changed arguments.
9282         (nio_munmap_file): Changed arguments.
9283         (nio_msync): Changed arguments.
9284         * gnu/java/nio/natFileChannelImpl.cc
9285         (lengthInternal): Removed.
9286         (size): New method.
9287         (implPosition): New method.
9288         (implTruncate): New method.
9289         (nio_mmap_file): Changed arguments.
9290         (nio_munmap_file): Changed arguments.
9291         (nio_msync): Changed arguments.
9292
9293 2003-03-02  Michael Koch  <konqueror@gmx.de>
9294
9295         * java/awt/dnd/DropTargetContext.java:
9296         Compile fix: Forgot to commit import.
9297         
9298 2003-03-02  Michael Koch  <konqueror@gmx.de>
9299
9300         * java/awt/Component.java,
9301         java/awt/ScrollPane.java:
9302         Fixed typos.
9303
9304 2003-03-02  Michael Koch  <konqueror@gmx.de>
9305
9306         * java/awt/dnd/DnDEventMulticaster.java: New file.
9307         * java/awt/dnd/DragSource.java
9308         (flavorMap): New member variable.
9309         (dragSourceListener): New member variable.
9310         (dragSourceMotionListener): New member variable.
9311         (getFlavorMap): Implemented.
9312         (createDragGestureRecognizer): Implemented.
9313         (addDragSourceListener): Implemented.
9314         (removeDragSourceListener): Implemented.
9315         (getDragSourceListeners): Implemented.
9316         (addDragSourceMotionListener): Implemented.
9317         (removeDragSourceMotionListener): Implemented.
9318         (getDragSourceMotionListeners): Implemented.
9319         (getListeners): Implemented.
9320         * java/awt/dnd/DragSourceContext.java
9321         (peer): New member variable.
9322         (cursor): New member variable.
9323         (transferable): New member variable.
9324         (trigger): New member variable.
9325         (dragSourceListener): New member variable.
9326         (image): New member variable.
9327         (offset): New member variable.
9328         (DragSourceContext): Implemented.
9329         (getDragSource): Implemented.
9330         (getComponent): Implemented.
9331         (getTrigger): Implemented.
9332         (getSourceActions): Implemented.
9333         (setCursor): Implemented.
9334         (getCursor): Implemented.
9335         (addDragSourceListener): Implemented.
9336         (removeDragSourceListener): Implemented.
9337         (getTransferable): Implemented.
9338         * java/awt/dnd/DropTarget.java
9339         (DropTargetAutoScroller.component): New member variable.
9340         (DropTargetAutoScroller.point): New member variable.
9341         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
9342         (DropTargetAutoScroller.updateLocation): Implemented.
9343         (active): Renamed from isActive, defaults to true now.
9344         (component): New member variable.
9345         (flavorMap): New member variable.
9346         (actions): New member variable.
9347         (dropTargetContext): New member variable.
9348         (dropTargetListener): New member variable.
9349         (DropTarget): Implemented.
9350         (getComponent): Implemented.
9351         (setComponent): Implemented.
9352         (setDefaultActions): Implemented.
9353         (getDefaultActions): Implemented.
9354         (setActive): Use active instead of isActive.
9355         (isActive): Use active instead of isActive.
9356         (addDropTargetListener): Implemented.
9357         (removeDropTargetListener): Implemented.
9358         (getFlavorMap): Implemented.
9359         (setFlavorMap): Implemented.
9360         (getDropTargetContext): Implemented.
9361         (createDropTargetContext): Implemented.
9362         (createDropTargetAutoScroller): Implemented.
9363         * java/awt/dnd/DropTargetContext.java
9364         (TransferableProxy.getTransferDataFlavors): Implemented.
9365         (TransferableProxy.isDataFlavorSupported): Implemented.
9366         (TransferableProxy.getTransferData): Implemented.
9367         (dropTarget):  New member variable.
9368         (dtcp): New member variable.
9369         (DropTargetContext): New package private constructor.
9370         (getDropTarget): Implemented.
9371         (getComponent): Implemented.
9372         (addNotify): Implemented.
9373         (removeNotify): Implemented.
9374         (getCurrentDataFlavorsAsList): Implemented.
9375         (isDataFlavorSupported): Implemented.
9376         * java/awt/dnd/MouseDragGestureRecognizer.java
9377         (registerListeners): Implemented.
9378         (unregisterListeners): Implemented.
9379         * Makefile.am
9380         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
9381         * Makefile.in: Regenerated.
9382
9383 2003-03-02  Michael Koch  <konqueror@gmx.de>
9384
9385         * java/awt/Component.java
9386         (eventTypeEnabled): New method.
9387         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
9388         * java/awt/Container.java
9389         (changeSupport): New member variable.
9390         (addPropertyChangeListener): New methods.
9391         * java/awt/ContainerOrderFocusTraversalPolicy.java
9392         (ContainerOrderFocusTraversalPolicy): Added comment.
9393         (getComponentAfter): Throw exception, documentation added.
9394         (getComponentBefore): Throw exception, documentation added.
9395         (getFirstComponent): Throw exception, documentation added.
9396         (getLastComponent): Throw exception, documentation added.
9397         (getDefaultComponent): Throw exception, documentation added.
9398         * java/awt/EventQueue.java: Reindented.
9399         * java/awt/FocusTraversalPolicy.java:
9400         (FocusTraversalPolicy): Added comment.
9401         (getComponentAfter): Documentation added.
9402         (getComponentBefore): Documentation added.
9403         (getFirstComponent): Documentation added.
9404         (getLastComponent): Documentation added.
9405         (getDefaultComponent): Documentation added.
9406         (getInitialComponent): Documentation added.
9407         * java/awt/ScrollPane.java
9408         (wheelScrollingEnabled): New member variable.
9409         (ScrollPane): Initialize wheelScollingEnabled.
9410         (eventTypeEnabled): New method.
9411         (isWheelScrollingEnabled): New method.
9412         (setWheelScrollingEnabled): New method.
9413
9414 2003-03-02  Michael Koch  <konqueror@gmx.de>
9415
9416         * java/net/DatagramSocket.java
9417         (closed): New member variable.
9418         (close): Use closed variable.
9419         (getInetAddress): No need to call isConnected().
9420         (getPort): No need to call isConnected().
9421         (disconnect): Reset remoteAddress and remotePort, fixed typo.
9422         (isClosed): Reimplemented.
9423         
9424 2003-03-02  Michael Koch  <konqueror@gmx.de>
9425
9426         * configure.in: Added check for memory mapping of files.
9427         * configure: Regenerated.
9428         * config.h.in: Regenerated.
9429
9430 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
9431
9432         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
9433         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
9434
9435 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
9436
9437         * java/io/File.java (normalizePath): Remove trailing separator
9438         on Windows only if path is not of the form "x:\".
9439
9440         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
9441         (java::io::File::attr): Change formatting a bit and use
9442         WIN32_EPOCH_MILLIS instead of magic numbers.
9443         (java::io::File::isAbsolute): Path must have at least 3 
9444         characters for a UNC network path.
9445         (java::io::File::init_native): Define.
9446         (java::io::File::performCreate): Likewise.
9447         (java::io::File::performSetReadOnly): Likewise.
9448         (java::io::File::performSetLastModified): Likewise.
9449         (java::io::File::performListRoots): Likewise.
9450
9451 2003-03-01  Tom Tromey  <tromey@redhat.com>
9452
9453         * java/lang/natObject.cc: Don't include assert.h.
9454         (heavy_lock_obj_finalization_proc): Use JvAssert.
9455         (remove_all_heavy): Likewise.
9456         (_Jv_MonitorEnter): Likewise.
9457         (_Jv_MonitorExit): Likewise.
9458         (wait): Likewise.
9459
9460 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
9461
9462         * java/io/File (getAbsolutePath): Prefix drive specifier on
9463         Windows for paths starting with a '\'.
9464         (toURL): Make URL more consistent with what Sun's JDK returns.
9465
9466         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
9467         true only if the path is a UNC network path or it starts with a
9468         drive specifier.
9469
9470         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
9471         Be prepared to handle either '/' or '\\' in the file path for
9472         Windows if using the "file" protocol.
9473         Canonicalise the file path if using a relative path in the given
9474         context and the "file" protocol.
9475
9476 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
9477
9478         * java/lang/natWin32Process.cc (startProcess): Double-quote each
9479         program array element passed to CreateProcess.
9480
9481 2003-03-01  Tom Tromey  <tromey@redhat.com>
9482
9483         * java/rmi/registry/RegistryHandler.java: Deprecate.
9484
9485 2003-03-01  Tom Tromey  <tromey@redhat.com>
9486
9487         * javax/accessibility/AccessibleEditableText.java,
9488         javax/accessibility/AccessibleHyperlink.java: New versions from
9489         Classpath.
9490
9491         * gnu/java/locale/LocaleInformation_af_ZA.java,
9492         gnu/java/locale/LocaleInformation_ar_AE.java,
9493         gnu/java/locale/LocaleInformation_ar_BH.java,
9494         gnu/java/locale/LocaleInformation_ar_DZ.java,
9495         gnu/java/locale/LocaleInformation_ar_EG.java,
9496         gnu/java/locale/LocaleInformation_ar_IN.java,
9497         gnu/java/locale/LocaleInformation_ar_IQ.java,
9498         gnu/java/locale/LocaleInformation_ar_JO.java,
9499         gnu/java/locale/LocaleInformation_ar_KW.java,
9500         gnu/java/locale/LocaleInformation_ar_LB.java,
9501         gnu/java/locale/LocaleInformation_ar_LY.java,
9502         gnu/java/locale/LocaleInformation_ar_MA.java,
9503         gnu/java/locale/LocaleInformation_ar_OM.java,
9504         gnu/java/locale/LocaleInformation_ar_QA.java,
9505         gnu/java/locale/LocaleInformation_ar_SD.java,
9506         gnu/java/locale/LocaleInformation_ar_SY.java,
9507         gnu/java/locale/LocaleInformation_ar_TN.java,
9508         gnu/java/locale/LocaleInformation_ar_YE.java,
9509         gnu/java/locale/LocaleInformation_be_BY.java,
9510         gnu/java/locale/LocaleInformation_bn_IN.java,
9511         gnu/java/locale/LocaleInformation_br_FR.java,
9512         gnu/java/locale/LocaleInformation_bs_BA.java,
9513         gnu/java/locale/LocaleInformation_ca_ES.java,
9514         gnu/java/locale/LocaleInformation_cs_CZ.java,
9515         gnu/java/locale/LocaleInformation_cy_GB.java,
9516         gnu/java/locale/LocaleInformation_da_DK.java,
9517         gnu/java/locale/LocaleInformation_de_AT.java,
9518         gnu/java/locale/LocaleInformation_de_BE.java,
9519         gnu/java/locale/LocaleInformation_de_CH.java,
9520         gnu/java/locale/LocaleInformation_de_DE.java,
9521         gnu/java/locale/LocaleInformation_de_LU.java,
9522         gnu/java/locale/LocaleInformation_el_GR.java,
9523         gnu/java/locale/LocaleInformation_en_AU.java,
9524         gnu/java/locale/LocaleInformation_en_BW.java,
9525         gnu/java/locale/LocaleInformation_en_CA.java,
9526         gnu/java/locale/LocaleInformation_en_DK.java,
9527         gnu/java/locale/LocaleInformation_en_GB.java,
9528         gnu/java/locale/LocaleInformation_en_HK.java,
9529         gnu/java/locale/LocaleInformation_en_IE.java,
9530         gnu/java/locale/LocaleInformation_en_IN.java,
9531         gnu/java/locale/LocaleInformation_en_NZ.java,
9532         gnu/java/locale/LocaleInformation_en_PH.java,
9533         gnu/java/locale/LocaleInformation_en_SG.java,
9534         gnu/java/locale/LocaleInformation_en_US.java,
9535         gnu/java/locale/LocaleInformation_en_ZA.java,
9536         gnu/java/locale/LocaleInformation_en_ZW.java,
9537         gnu/java/locale/LocaleInformation_es_AR.java,
9538         gnu/java/locale/LocaleInformation_es_BO.java,
9539         gnu/java/locale/LocaleInformation_es_CL.java,
9540         gnu/java/locale/LocaleInformation_es_CO.java,
9541         gnu/java/locale/LocaleInformation_es_CR.java,
9542         gnu/java/locale/LocaleInformation_es_DO.java,
9543         gnu/java/locale/LocaleInformation_es_EC.java,
9544         gnu/java/locale/LocaleInformation_es_ES.java,
9545         gnu/java/locale/LocaleInformation_es_GT.java,
9546         gnu/java/locale/LocaleInformation_es_HN.java,
9547         gnu/java/locale/LocaleInformation_es_MX.java,
9548         gnu/java/locale/LocaleInformation_es_NI.java,
9549         gnu/java/locale/LocaleInformation_es_PA.java,
9550         gnu/java/locale/LocaleInformation_es_PE.java,
9551         gnu/java/locale/LocaleInformation_es_PR.java,
9552         gnu/java/locale/LocaleInformation_es_PY.java,
9553         gnu/java/locale/LocaleInformation_es_SV.java,
9554         gnu/java/locale/LocaleInformation_es_US.java,
9555         gnu/java/locale/LocaleInformation_es_UY.java,
9556         gnu/java/locale/LocaleInformation_es_VE.java,
9557         gnu/java/locale/LocaleInformation_et_EE.java,
9558         gnu/java/locale/LocaleInformation_eu_ES.java,
9559         gnu/java/locale/LocaleInformation_fa_IR.java,
9560         gnu/java/locale/LocaleInformation_fi_FI.java,
9561         gnu/java/locale/LocaleInformation_fo_FO.java,
9562         gnu/java/locale/LocaleInformation_fr_BE.java,
9563         gnu/java/locale/LocaleInformation_fr_CA.java,
9564         gnu/java/locale/LocaleInformation_fr_CH.java,
9565         gnu/java/locale/LocaleInformation_fr_FR.java,
9566         gnu/java/locale/LocaleInformation_fr_LU.java,
9567         gnu/java/locale/LocaleInformation_ga_IE.java,
9568         gnu/java/locale/LocaleInformation_gd_GB.java,
9569         gnu/java/locale/LocaleInformation_gl_ES.java,
9570         gnu/java/locale/LocaleInformation_gv_GB.java,
9571         gnu/java/locale/LocaleInformation_he_IL.java,
9572         gnu/java/locale/LocaleInformation_hi_IN.java,
9573         gnu/java/locale/LocaleInformation_hr_HR.java,
9574         gnu/java/locale/LocaleInformation_hu_HU.java,
9575         gnu/java/locale/LocaleInformation_id_ID.java,
9576         gnu/java/locale/LocaleInformation_it_CH.java,
9577         gnu/java/locale/LocaleInformation_it_IT.java,
9578         gnu/java/locale/LocaleInformation_iw_IL.java,
9579         gnu/java/locale/LocaleInformation_ja_JP.java,
9580         gnu/java/locale/LocaleInformation_ka_GE.java,
9581         gnu/java/locale/LocaleInformation_kl_GL.java,
9582         gnu/java/locale/LocaleInformation_ko_KR.java,
9583         gnu/java/locale/LocaleInformation_kw_GB.java,
9584         gnu/java/locale/LocaleInformation_lt_LT.java,
9585         gnu/java/locale/LocaleInformation_lv_LV.java,
9586         gnu/java/locale/LocaleInformation_mi_NZ.java,
9587         gnu/java/locale/LocaleInformation_mk_MK.java,
9588         gnu/java/locale/LocaleInformation_mr_IN.java,
9589         gnu/java/locale/LocaleInformation_mt_MT.java,
9590         gnu/java/locale/LocaleInformation_nl_BE.java,
9591         gnu/java/locale/LocaleInformation_nl_NL.java,
9592         gnu/java/locale/LocaleInformation_nn_NO.java,
9593         gnu/java/locale/LocaleInformation_no_NO.java,
9594         gnu/java/locale/LocaleInformation_oc_FR.java,
9595         gnu/java/locale/LocaleInformation_pl_PL.java,
9596         gnu/java/locale/LocaleInformation_pt_BR.java,
9597         gnu/java/locale/LocaleInformation_pt_PT.java,
9598         gnu/java/locale/LocaleInformation_ro_RO.java,
9599         gnu/java/locale/LocaleInformation_ru_RU.java,
9600         gnu/java/locale/LocaleInformation_ru_UA.java,
9601         gnu/java/locale/LocaleInformation_se_NO.java,
9602         gnu/java/locale/LocaleInformation_sk_SK.java,
9603         gnu/java/locale/LocaleInformation_sl_SI.java,
9604         gnu/java/locale/LocaleInformation_sq_AL.java,
9605         gnu/java/locale/LocaleInformation_sr_YU.java,
9606         gnu/java/locale/LocaleInformation_sv_FI.java,
9607         gnu/java/locale/LocaleInformation_sv_SE.java,
9608         gnu/java/locale/LocaleInformation_ta_IN.java,
9609         gnu/java/locale/LocaleInformation_te_IN.java,
9610         gnu/java/locale/LocaleInformation_tg_TJ.java,
9611         gnu/java/locale/LocaleInformation_tl_PH.java,
9612         gnu/java/locale/LocaleInformation_tr_TR.java,
9613         gnu/java/locale/LocaleInformation_uk_UA.java,
9614         gnu/java/locale/LocaleInformation_ur_PK.java,
9615         gnu/java/locale/LocaleInformation_uz_UZ.java,
9616         gnu/java/locale/LocaleInformation_vi_VN.java,
9617         gnu/java/locale/LocaleInformation_yi_US.java,
9618         gnu/java/locale/LocaleInformation_zh_CN.java,
9619         gnu/java/locale/LocaleInformation_zh_HK.java,
9620         gnu/java/locale/LocaleInformation_zh_SG.java,
9621         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
9622         info; from Classpath.
9623
9624         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
9625         isPaintPending): New methods.
9626         * gnu/awt/xlib/XFramePeer.java (getState, setState,
9627         setMaximizedBounds): New methods.
9628         (beginLayout, endLayout, isPaintPending): Likewise.
9629         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
9630         (requestFocus): Likewise.
9631         (isObscured): Likewise.
9632         (canDetermineObscurity): Likewise.
9633         (coalescePaintEvent): Likewise.
9634         (updateCursorImmediately): Likewise.
9635         (createVolatileImage): Likewise.
9636         (handlesWheelScrolling): Likewise.
9637         (createBuffers): Likewise.
9638         (getBackBuffer): Likewise.
9639         (flip): Likewise.
9640         (destroyBuffers): Likewise.
9641
9642         * Makefile.in: Rebuilt.
9643         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
9644         RobotPeer.java.
9645         * gnu/java/awt/GLightweightPeer.java,
9646         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9647         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9648         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9649         gnu/java/awt/peer/gtk/GtkFramePeer.java,
9650         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
9651         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9652         java/awt/dnd/peer/DragSourceContextPeer.java,
9653         java/awt/dnd/peer/DropTargetContextPeer.java,
9654         java/awt/peer/ButtonPeer.java,
9655         java/awt/peer/CheckboxMenuItemPeer.java,
9656         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
9657         java/awt/peer/ComponentPeer.java,
9658         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
9659         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
9660         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
9661         java/awt/peer/MenuBarPeer.java,
9662         java/awt/peer/MenuComponentPeer.java,
9663         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
9664         java/awt/peer/PopupMenuPeer.java,
9665         java/awt/peer/ScrollPanePeer.java,
9666         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
9667         java/awt/peer/TextComponentPeer.java,
9668         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
9669         New versions from Classpath.
9670         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
9671         * java/awt/peer/RobotPeer.java: Likewise.
9672
9673 2003-03-01  Mark Wielaard  <mark@klomp.org>
9674
9675         * java/io/ObjectInputStream.java: Reindent.
9676         * java/io/ObjectOutputStream.java: Likewise.
9677
9678 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
9679
9680         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
9681         jvalue for each argument. Simplify.
9682         * testsuite/libjava.jni/calls.c (docall),
9683         testsuite/libjava.jni/calls.java (longpb_f): check for argument
9684         misalignment.
9685
9686 2003-02-28  Mark Wielaard  <mark@klomp.org>
9687
9688         * Makefile.am (nat_source_files): Remove
9689         java/io/natObjectOutputStream.cc.
9690         * Makefile.in: Regenerated.
9691         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
9692         * java/io/ObjectStreamField.java (typename): New field.
9693         (ObjectStreamField(String, Class)): Initialize new field.
9694         (ObjectStreamField(String, String)): New Constructor.
9695         (getTypeCode): Use new field.
9696         (getTypeString): Use new field.
9697         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
9698         ObjectStreamExceptions. Remember and reset old BlockDataMode.
9699         Handle reading of Proxy classes. Never drain(), just write
9700         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
9701         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
9702         (flush): Call flush(), not just drain().
9703         (writeBoolean): Always use blockDataOutput.
9704         (writeByte): Likewise.
9705         (writeShort): Likewise.
9706         (writeChar): Likewise.
9707         (writeInt): Likewise.
9708         (writeLong): Likewise.
9709         (writeFloat): Likewise.
9710         (writeDouble): Likewise.
9711         (writeBytes): Likewise.
9712         (putfield (put(String,Object))): Throw IllegalArgumentException if
9713         field cannot be found.
9714         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
9715         (writeArraySizeAndElements): Write byte[] in one go.
9716         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
9717         set BlockDataMode to false.
9718         (annotateProxyClass): New method.
9719         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
9720         (getField): No longer native.
9721         (getMethod): Likewise.
9722         (setBlockDataMode): Always drain() on switch, return old mode.
9723         (static): New static code block.
9724         * java/io/natObjectOutputStream.cc: Removed.
9725         * java/io/ObjectInputStream.java (getField): No longer native.
9726         (getMethod): Likewise.
9727         (readObject): Remember and reset old BlockDataMode. Track whether
9728         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
9729         TC_LONGSTRING.
9730         (defaultReadObject): Set BlockDataMode to false during readFields.
9731         (resolveClass): Create new SecurityManager if necessary.
9732         Use Class.forName() if null ClassLoader found.
9733         (read(byte[],int,int): Copy remaining bytes to data before calling
9734         readNextBlock().
9735         (readFields): Set and reset BlockDataMode on call_read_method.
9736         Catch NoSuchFieldErrors.
9737         (setBlockDataMode): Return old mode.
9738         (static): New static code block.
9739         * java/io/natObjectInputStream.cc (getField): Removed.
9740         (getMethod): Likewise.
9741
9742 2003-02-27  Michael Koch  <konqueror@gmx.de>
9743
9744         * java/beans/Beans.java,
9745         java/beans/FeatureDescriptor.java
9746         java/beans/PropertyEditorManager.java:
9747         Reformated to GNU style.
9748
9749 2003-02-25  Michael Koch  <konqueror@gmx.de>
9750
9751         * gnu/java/nio/MappedByteFileBuffer.java,
9752         gnu/java/nio/natMappedByteFileBuffer.cc:
9753         New files, both are not compiled yet to get not noncompiling CVS.
9754
9755 2003-02-24  Tom Tromey  <tromey@redhat.com>
9756
9757         * java/util/prefs/AbstractPreferences.java (isUserNode):
9758         Implemented.
9759
9760 2003-02-24  Tom Tromey  <tromey@redhat.com>
9761
9762         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
9763         Deprecate.
9764         * java/lang/Thread.java (resume): Deprecate.
9765         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
9766         in @deprecated.
9767
9768 2003-02-23  Tom Tromey  <tromey@redhat.com>
9769
9770         * Makefile.in: Rebuilt.
9771         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
9772
9773 2003-02-23  Tom Tromey  <tromey@redhat.com>
9774
9775         * java/lang/natRuntime.cc (libraries_size, libraries_count,
9776         libraries): Removed.
9777         (add_library): Removed.
9778         (_load): Don't call add_library.
9779         (loadLibraryInternal): Likewise.
9780         (init): Likewise.
9781         (lookup_data): New struct.
9782         (find_symbol): New function.
9783         (_Jv_FindSymbolInExecutable): Use it.
9784
9785 2002-02-21  Anthony Green  <green@redhat.com>
9786
9787         * java/lang/Thread.java (Thread): New constructor taking stack
9788         size parameter (ignored for now).
9789         * Many methods: Merged GNU Classpath documentation.
9790
9791         * java/lang/Class.java (finalize): throws a Throwable.
9792
9793 2003-02-21  Mark Wielaard  <mark@klomp.org>
9794
9795         * java/util/zip/ZipEntry.java (setComment): Don't check length when
9796         argument is null.
9797
9798 2003-02-21  Mark Wielaard  <mark@klomp.org>
9799
9800         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
9801         then 65535 chars throw IllegalArgumentException.
9802
9803 2003-02-21  Mark Wielaard  <mark@klomp.org>
9804
9805         * java/util/zip/ZipFile.java (finalize): New method.
9806
9807 2003-02-21  Michael Koch  <konqueror@gmx.de>
9808
9809         * gnu/java/nio/natSocketChannelImpl.cc:
9810         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
9811         <cato@df.lth.se> for pointing to it.
9812
9813 2003-02-20  Raif S. Naffah <raif@fl.net.au>
9814
9815         * java/math/BigInteger.java (euclidInv): Take result array as an
9816         argument.  Updated all callers.
9817         (modInverse): Removed unused variables.
9818
9819 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
9820
9821         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
9822         config.status.
9823         * configure: Rebuilt.
9824
9825 2003-02-19  Michael Koch  <konqueror@gmx.de>
9826
9827         * gnu/java/nio/natSocketChannelImpl.cc:
9828         Added support for platforms without network support.
9829
9830 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9831
9832         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
9833         after config.h.  Use <> for consistency.
9834         * java/lang/natObject.cc: Likewise.
9835         * java/lang/natRuntime.cc: Likewise.
9836         * java/lang/natSystem.cc: Likewise.
9837         * java/util/natTimeZone.cc: Likewise.
9838         * win32.cc: Likewise.
9839         * include/posix.h (fcntl, socket, connect, close, bind, accept,
9840         listen, write, read): Undef to avoid interference from OS macros.
9841
9842 2003-02-19  Michael Koch  <konqueror@gmx.de>
9843
9844         * gnu/java/nio/ByteBufferImpl.java
9845         (ByteBufferImpl): Renamed two variables.
9846         * gnu/java/nio/CharBufferImpl.java
9847         (CharBufferImpl): Renamed two variables.
9848         * gnu/java/nio/DoubleBufferImpl.java
9849         (DoubleBufferImpl): Renamed two variables.
9850         * gnu/java/nio/FloatBufferImpl.java
9851         (FloatBufferImpl): Renamed two variables.
9852         * gnu/java/nio/IntBufferImpl.java
9853         (IntBufferImpl): Renamed two variables.
9854         * gnu/java/nio/LongBufferImpl.java
9855         (LongBufferImpl): Renamed two variables.
9856         * gnu/java/nio/ShortBufferImpl.java
9857         (ShortBufferImpl): Renamed two variables.
9858         * java/nio/CharBuffer.java
9859         (wrap): Fixed arguments to CharBufferImpl constructor.
9860         (hasArray): Only not read-only buffers have backing arrays.
9861         (length): Documentation added.
9862         (subSequence): Documentation added.
9863         * java/nio/DoubleBuffer.java
9864         (hasArray): Only not read-only buffers have backing arrays.
9865         * java/nio/FloatBuffer.java
9866         (hasArray): Only not read-only buffers have backing arrays.
9867         * java/nio/IntBuffer.java
9868         (hasArray): Only not read-only buffers have backing arrays.
9869         * java/nio/LongBuffer.java
9870         (hasArray): Only not read-only buffers have backing arrays.
9871         * java/nio/ShortBuffer.java
9872         (hasArray): Only not read-only buffers have backing arrays.
9873         
9874 2003-02-19  Michael Koch  <konqueror@gmx.de>
9875
9876         * javax/accessibility/AccessibleContext.java
9877         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
9878
9879 2003-02-19  Michael Koch  <konqueror@gmx.de>
9880
9881         * java/awt/ScrollPaneAdjustable.java: Reformated.
9882
9883 2003-02-19  Michael Koch <konqueror@gmx.de>
9884
9885         * gnu/awt/j2d/Graphics2DImpl.java
9886         (getFontRenderContext): New method.
9887         (drawGlyphVector): New method.
9888         * java/awt/Graphics2D.java
9889         (getFontRenderContext): New abstract method.
9890         (drawGlyphVector): New abstract method.
9891         
9892 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
9893
9894         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
9895         if necessary.
9896         
9897         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9898         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9899         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9900         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9901         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9902         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
9903         (setFont, gtkSetFont): add.
9904         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
9905         Propagate font to peer.  (setFont): add FIXME comment.
9906
9907         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9908         (gtkTextGetSize): fix height, width computation.
9909
9910         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
9911         Make X font name a bit less bogus.
9912
9913         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9914         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
9915
9916         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
9917         (processAdjustmentEvent): Adjust value.
9918
9919         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
9920         logic errors.
9921
9922         * java/awt/Component.java (setVisible, show, hide): Call show and
9923         hide methods in subclasses.
9924         (getPreferredSize): don't set prefSize before we have peer.
9925
9926         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
9927         Guess (0,0) if we don't have peer.
9928
9929
9930 2003-02-18  Michael Koch  <konqueror@gmx.de>
9931
9932         * java/nio/channels/FileChannel.java
9933         (toString): New implementation, added documentation.
9934         (map): Added exception documentation.
9935         (size): Added exception documentation.
9936         (write): New methods, documentation work.
9937         (read): New methods, documentation work.
9938         (implCloseChannel): Rewrote exception documentation.
9939         (force): Throws IOException, added documentation.
9940         (lock): New methods.
9941         (tryLock): New methods.
9942         (position): New methods.
9943         (transferTo): New method.
9944         (transferFrom): New method.
9945         (truncate): New method.
9946         * java/nio/channels/spi/SelectorProvider.java
9947         (provider): Implemented.
9948         * Makefile.am
9949         (ordinary_java_source_files): Added the following files:
9950         gnu/java/nio/DatagramChannelImpl.java
9951         gnu/java/nio/FileChannelImpl.java
9952         gnu/java/nio/PipeImpl.java
9953         gnu/java/nio/SelectionKeyImpl.java
9954         gnu/java/nio/SelectorImpl.java
9955         gnu/java/nio/SelectorProviderImpl.java
9956         gnu/java/nio/ServerSocketChannelImpl.java
9957         gnu/java/nio/SocketChannelImpl.java
9958         java/nio/channels/FileLock.java
9959         (nat_java_source_files): Added the following files:
9960         gnu/java/nio/natFileChannelImpl.cc
9961         gnu/java/nio/natSelectorImpl.cc
9962         gnu/java/nio/natSocketChannelImpl.cc
9963         * Makefile.in: Regenerated.
9964
9965 2003-02-17  Tom Tromey  <tromey@redhat.com>
9966
9967         * java/awt/image/ColorModel.java: Re-merged with Classpath.
9968         * java/awt/image/ImageFilter.java: Likewise.
9969
9970 2003-02-17  Raif S. Naffah <raif@fl.net.au>
9971
9972         * java/math/BigInteger.java (euclidInv): Return array of
9973         `BigInteger's.  Changed all callers.
9974
9975 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
9976
9977         * java/util/Properties.java (store): Move the code formerly in
9978         list(), into this method.
9979         (list (PrintStream)): Just call list (PrintWriter) with a 
9980         PrintWriter object constructed from the given PrintStream object.
9981         (list (PrintWriter)): Emulate the output of Properties.list()
9982         as found in JDK 1.3/1.4.
9983
9984 2003-02-17  Michael Koch  <konqueror@gmx.de>
9985
9986         * java/net/DatagramSocket.java
9987         (connect): Merged with classpath.
9988         (disconnect): Merged documentation with classpath.
9989         (receice): Merged documentation with classpath.
9990         (send): Merged documentation with classpath.
9991         
9992 2003-02-17  Michael Koch  <konqueror@gmx.de>
9993
9994         * java/awt/dnd/DragSourceContext.java
9995         (addDragSourceListener): Added documentation.
9996         * java/awt/dnd/DragSourceDragEvent.java
9997         (serialVersionUID): New member variable.
9998         (getDropAction): Reformated.
9999         * java/awt/dnd/DragSourceDropEvent.java
10000         (serialVersionUID): New member variable.
10001         (dropSuccess): Renamed from success for serialization issues.
10002         * java/awt/dnd/DragSourceEvent.java
10003         (serialVersionUID): New member variable.
10004         * java/awt/dnd/DropTarget.java
10005         (serialVersionUID): New member variable.
10006         (DropTarget): Implemented, documentation reworked.
10007         (setComponent): Documentation added.
10008         (getComponent): Documentation added.
10009         (setDefaultActions): Documentation added.
10010         (getDefaultActions): Documentation added.
10011         (addDropTargetListener): Documentation added.
10012         * java/awt/dnd/DropTargetContext.java
10013         (DropTargetContext): Documentation added.
10014         (TransferableProxy.TransferableProxy): New method.
10015         (dropComplete): Fixed documentation.
10016         (getTransferable): Fixed documentation.
10017         (createTransferableProxy): Implemented.
10018         * java/awt/dnd/DropTargetDragEvent.java
10019         (DropTargetDragEvent): Documentation added.
10020         (serialVersionUID): New member variable.
10021         (DropTargetDragEvent): Throw exceptions, documentation added.
10022         (acceptDrag): Implemented.
10023         (getCurrentDataFlavors): Implemented.3yy
10024         (getCurrentDataFlavorsAsList): Implemented.
10025         (isDataFlavorSupported): Implemented.
10026         (rejectDrag): Implemented.
10027         * java/awt/dnd/DropTargetDropEvent.java
10028         (DropTargetDropEvent): Documentation added.
10029         (serialVersionUID): New member variable.
10030         (actions): Renamed from srcActions for serialization issues.
10031         (isLocalTx): Renamed from isLocalTx for serialization issues.
10032         (DropTargetDropEvent): New implementation, throw exceptions,
10033         documentation added.
10034         (getCurrentDataFlavors): Implemented.
10035         (getCurrentDataFlavorsAsList): Implemented.
10036         (isDataFlavorSupported): Implemented.
10037         (getSourceActions): Implemented.
10038         (getDropAction): Implemented.
10039         (getTransferable): Implemented.
10040         (acceptDrop): Implemented.
10041         (rejectDrop): Implemented.
10042         * java/awt/dnd/DropTargetListener.java
10043         (drop): Fixed documentation.
10044         * java/awt/dnd/MouseDragGestureRecognizer.java
10045         (MouseDragGestureRecognizer): Documentation added.
10046
10047 2003-02-17  Michael Koch  <konqueror@gmx.de>
10048
10049         * java/awt/font/FontRenderContext.java,
10050         java/awt/font/ShapeGraphicAttribute.java,
10051         java/awt/font/MultipleMaster.java,
10052         java/awt/font/TransformAttribute.java,
10053         java/awt/font/GlyphJustificationInfo.java,
10054         java/awt/font/LineBreakMeasurer.java,
10055         java/awt/font/TextMeasurer.java,
10056         java/awt/font/TextLayout.java,
10057         java/awt/font/LineMetrics.java,
10058         java/awt/font/TextAttribute.java,
10059         java/awt/font/GlyphMetrics.java,
10060         java/awt/font/OpenType.java,
10061         java/awt/font/GlyphVector.java,
10062         java/awt/font/GraphicAttribute.java,
10063         java/awt/font/ImageGraphicAttribute.java,
10064         java/awt/font/NumericShaper.java: New files.
10065         * Makefile.am
10066         (awt_java_source_files): Added the following files:
10067         java/awt/font/FontRenderContext.java
10068         java/awt/font/ShapeGraphicAttribute.java
10069         java/awt/font/MultipleMaster.java
10070         java/awt/font/TransformAttribute.java
10071         java/awt/font/GlyphJustificationInfo.java
10072         java/awt/font/LineBreakMeasurer.java
10073         java/awt/font/TextMeasurer.java
10074         java/awt/font/TextLayout.java
10075         java/awt/font/LineMetrics.java
10076         java/awt/font/TextAttribute.java
10077         java/awt/font/GlyphMetrics.java
10078         java/awt/font/OpenType.java
10079         java/awt/font/GlyphVector.java
10080         java/awt/font/GraphicAttribute.java
10081         java/awt/font/ImageGraphicAttribute.java
10082         java/awt/font/NumericShaper.java
10083         * Makefile.in: Regenerated.
10084
10085 2003-02-17  Michael Koch  <konqueror@gmx.de>
10086
10087         * java/awt/print/Paper.java
10088         (Paper): Implements Cloneable.
10089         * java/awt/print/PrinterJob.java
10090         (setJobName): Return value must be void.
10091         (print): Throws PrinterException.
10092         
10093 2003-02-16  Tom Tromey  <tromey@redhat.com>
10094
10095         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
10096         variable.
10097
10098 2003-02-15  Michael Koch  <konqueror@gmx.de>
10099
10100         * java/awt/datatransfer/DataFlavor.java
10101         (isRepresentationClassByteBuffer): Removed try-catch block.
10102         (isRepresentationClassCharBuffer): Removed try-catch block.
10103         (isRepresentationClassReader): Removed try-catch block.
10104
10105 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10106
10107         * java/nio/charset/Charset.java
10108         (isRegistered): Fixed method args and implementation.
10109         * java/nio/charset/CharsetEncoder.java
10110         (unmappableCharacterAction): New method.
10111
10112 2003-02-15  Michael Koch  <konqueror@gmx.de>
10113
10114         * java/awt/CheckboxMenuItem.java
10115         (CheckBoxMenuItem): Dont implement Serializable.
10116         (getListeners): New method,
10117         (getItemListeners): New method.
10118         * java/awt/Choice.java
10119         (getListeners): New method,
10120         (getItemListeners): New method.
10121         * java/awt/Container.java
10122         (getListeners): Added exception documentation.
10123         (setFocusTraversalKeys): Throw exceptions, added documentattion.
10124         (getFocusTraversalKeys): Added documentation.
10125         (areFocusTraversalKeysSet): Added documentation.
10126         (applyComponentOrientation): Added documentation.
10127         * java/awt/ContainerOrderFocusTraversalPolicy.java
10128         (implicitDownCycleTraversal): Renamed from downCycle for
10129         serialization.
10130         (ContainerOrderFocusTraversalPolicy): Added documentation.
10131         (accept): Reformated.
10132         * java/awt/Dialog.java
10133         (Dialog): Dont implement Serializable.
10134         (Dialog): Added documentation.
10135         * java/awt/Font.java
10136         (Font): Dont use absolute class name.
10137         * java/awt/Frame.java
10138         (Frame): Font implement Serializable.
10139         * java/awt/List.java
10140         (getListeners): New method,
10141         (getActionListeners): New method.       
10142         (getItemListeners): New method.
10143         * java/awt/Menu.java
10144         (countItems): New deprecated method.
10145         * java/awt/Scrollbar.java
10146         (getListeners): New method,
10147         (getAdjustmentListeners): New method,
10148         * java/awt/TextComponent.java
10149         (getListeners): New method,
10150         (getTextListeners): New method,
10151         * java/awt/TextField.java
10152         (getListeners): New method,
10153         (getActionListeners): New method.       
10154         * java/awt/Window.java
10155         (windowFocusListener): New member variable.
10156         (windowStateListener): New member variable.
10157         (getWindowFocusListeners): New method.
10158         (getWindowStateListeners): New method.
10159         (addWindowFocusListener): New method.
10160         (addWindowStateListener): New method.
10161         (removeWindowFocusListener): New method.
10162         (removeWindowStateListener): New method.
10163         * java/awt/datatransfer/DataFlavor.java
10164         (isRepresentationClassByteBuffer): New method.
10165         (isRepresentationClassCharBuffer): New method.
10166         (isRepresentationClassReader): New method.
10167
10168 2003-02-14  Mark Wielaard  <mark@klomp.org>
10169
10170         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
10171         zero when there is an exponent and the significant is zero.
10172         (divide): Always set scale to newScale even in special ZERO case.
10173
10174 2003-02-14  Tom Tromey  <tromey@redhat.com>
10175
10176         * java/lang/System.java (properties): Use Properties.clone.
10177         (setProperties): Likewise.
10178
10179 2003-02-14  Michael Koch  <konqueror@gmx.de>
10180
10181         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
10182         * gnu/java/nio/ServerSocketChannelImpl.java
10183         (SocketAccept): Removed.
10184         (accept): Commented out use of SocketAccept.
10185
10186 2003-02-13  Tom Tromey  <tromey@redhat.com>
10187
10188         * verify.cc (state::seen_subrs): New field.
10189         (state::state): Initialize it.
10190         (state::clean_subrs): New method.
10191         (state::~state): Call it.
10192         (state::copy): Copy subroutine list.
10193         (state::add_subr): New method.
10194         (state::merge): Only register a change if the current subroutine
10195         hasn't yet been noted.
10196
10197 2003-02-13  Mark Wielaard  <mark@klomp.org>
10198
10199         * java/io/InputStreamReader.java (getEncoding): Return null when
10200         closed.
10201         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
10202
10203 2003-02-13  Mark Wielaard  <mark@klomp.org>
10204  
10205         * java/util/zip/InflaterInputStream.java (read): Return zero when len
10206         is zero.
10207
10208 2003-02-13  Mark Wielaard  <mark@klomp.org>
10209
10210         * java/io/BufferedOutputStream.java (write(int)): Only flush when
10211         next byte cannot be buffered.
10212
10213 2003-02-13  Michael Koch  <konqueror@gmx.de>
10214  
10215         * java/awt/Label.java
10216         (Label): Don't implement Serializable directly.
10217         (addNotify): Fixed typo in documentation.
10218         * java/awt/List.java
10219         (List): Don't implement Serializable directly.
10220         * java/awt/PopupMenu.java
10221         (PopupMenu): Don't implement Serializable directly.
10222         * java/awt/ScrollPane.java
10223         (ScrollPane): Don't implement Serializable directly.
10224         * java/awt/Scrollbar.java
10225         (Scrollbar): Don't implement Serializable directly.
10226         * java/awt/TextArea.java
10227         (preferredSize): Fixed method arguments.
10228         * java/awt/TextField.java
10229         (TextField): Don't implement Serializable directly.
10230         * java/awt/color/ICC_ColorSpace.java
10231         (fromCIOXYZ): Documentation added.
10232         (getMinValue): Documentation added.
10233         (getMaxValue): Documentation added.
10234         * java/awt/datatransfer/DataFlavor.java
10235         (isMimeTypeEqual): May not be final.
10236         (clone): Throws CloneNotSupportedException.
10237         (getReaderForText): Don't throws UnsupportedEncodingException.
10238
10239 2003-02-13  Michael Koch  <konqueror@gmx.de>
10240  
10241         * gnu/java/awt/peer/gtk/GdkGraphics.java
10242         (drawString): New stubbed method.
10243         * java/awt/Graphics.java
10244         (drawString): New method.
10245
10246 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
10247
10248         PR libgcj/9271:
10249         * java/security/SecureRandom.java (next): Avoid bias in results.
10250
10251 2003-02-13  Michael  <konqueror@gmx.de>
10252
10253         * gnu/java/nio/FileChannelImpl.java
10254         (lengthInternal): Must be native.
10255         (size): Check if channel is already closed.
10256         (implCloseChannel): Reformated.
10257         (read): w was unused, removed it.
10258         (read): Removed.
10259         (read): New method.
10260         (write): New method.
10261         (map): Check arguments.
10262         (force): Throws IOException, check if channel is closed.
10263         (transferTo): New method.
10264         (transferFrom): New method.
10265         (lock): New method.
10266         (tryLock): New method.
10267         (position): New method.
10268         (truncate): New method.
10269         (nio_mmap_file): Uncommented.
10270         (nio_munmap_file): Uncommented.
10271         (nio_msync): Uncommented.
10272         * gnu/java/nio/natFileChannelImpl.cc: New file.
10273         
10274 2003-02-13  Michael Koch  <konqueror@gmx.de>
10275
10276         * java/nio/ByteBuffer.java
10277         (endian): New member variable.
10278         (get): New methods.
10279         (equals): New method.
10280         (compareTo): New method.
10281         (order): New methods.
10282         (compact): New method.
10283         (isDirect): New method.
10284         (slice): New method.
10285         (duplicate): New method.
10286         (asReadOnlyBuffer): New method.
10287         (asCharBuffer): New method.
10288         (asDoubleBuffer): New method.
10289         (asFloatBuffer): New method.
10290         (asIntBuffer): New method.
10291         (asLongBuffer): New method.
10292         (asShortBuffer): New method.
10293         (get*): New methods.
10294         (put*): New methods.
10295         (toString): New method.
10296         * java/nio/CharBuffer.java
10297         (CharBuffer): Implement Comparable instead of Cloneable.
10298         (get): May not be final.
10299         (put): May not be final.
10300         
10301 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
10302
10303         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
10304         lastIndexOf( ) instead of indexOf( ) to find the colon before
10305         the line number, because Win32 file names might contain a 
10306         drive letter and a colon at the start of an absolute path.
10307
10308 2003-02-13  Michael Koch  <konqueror@gmx.de>
10309
10310         * gnu/java/nio/natSocketChannelImpl.cc
10311         (SocketConnect): This is not implemented yet.
10312         (SocketBind): This is not implemented yet.
10313
10314 2003-02-13  Michael Koch  <konqueror@gmx.de>
10315
10316         * gnu/java/nio/natByteBufferImpl.cc,
10317         gnu/java/nio/natCharBufferImpl.cc,
10318         gnu/java/nio/natDoubleBufferImpl.cc,
10319         gnu/java/nio/natFloatBufferImpl.cc,
10320         gnu/java/nio/natIntBufferImpl.cc,
10321         gnu/java/nio/natLongBufferImpl.cc,
10322         gnu/java/nio/natShortBufferImpl.cc:
10323         Added copyright and license.
10324         * java/nio/DoubleBuffer.java,
10325         java/nio/FloatBuffer.java,
10326         java/nio/IntBuffer.java,
10327         java/nio/LongBuffer.java,
10328         java/nio/ShortBuffer.java
10329         (array): Throw exceptions.
10330         (arrayOffset): Throw exceptions.
10331
10332 2003-02-13  Michael Koch  <konqueror@gmx.de>
10333  
10334         * gnu/java/util/prefs/FileBasedFactory.java,
10335         gnu/java/util/prefs/MemmoryBasedFactory.java,
10336         gnu/java/util/prefs/MemoryBasedPreferences.java,
10337         gnu/java/util/prefs/NodeReader.java,
10338         gnu/java/util/prefs/NodeWriter.java,
10339         java/util/prefs/AbstractPreferences.java,
10340         java/util/prefs/BackingStoreException.java,
10341         java/util/prefs/InvalidPreferencesFormatException.java,
10342         java/util/prefs/NodeChangeEvent.java,
10343         java/util/prefs/NodeChangeListener.java,
10344         java/util/prefs/PreferenceChangeEvent.java,
10345         java/util/prefs/PreferenceChangeListener.java,
10346         java/util/prefs/Preferences.java,
10347         java/util/prefs/PreferencesFactory.java:
10348         New files, all merged from classpath.
10349         * Makefile.am
10350         (ordinary_java_source_files): Added the following files:
10351         gnu/java/util/prefs/FileBasedFactory.java,
10352         gnu/java/util/prefs/MemmoryBasedFactory.java,
10353         gnu/java/util/prefs/MemoryBasedPreferences.java,
10354         gnu/java/util/prefs/NodeReader.java,
10355         gnu/java/util/prefs/NodeWriter.java,
10356         (core_java_source_files): Added the following files:
10357         java/util/prefs/AbstractPreferences.java,
10358         java/util/prefs/BackingStoreException.java,
10359         java/util/prefs/InvalidPreferencesFormatException.java,
10360         java/util/prefs/NodeChangeEvent.java,
10361         java/util/prefs/NodeChangeListener.java,
10362         java/util/prefs/PreferenceChangeEvent.java,
10363         java/util/prefs/PreferenceChangeListener.java,
10364         java/util/prefs/Preferences.java,
10365         java/util/prefs/PreferencesFactory.java
10366         * Makefile.in: Regenerated.
10367  
10368 2003-02-13  Michael Koch  <konqueror@gmx.de>
10369
10370         * java/net/NetPermission.java
10371         (NetPermission): Make doucmentation match the method declaration.
10372         * java/net/NetworkInterface.java
10373         (equals): Reformated for GNU coding style.
10374         * java/net/ServerSocket.java: Merged with classpath.
10375         * java/net/Socket.java: Partly merged with classpath (Added some @since).
10376         * java/net/SocketImpl.java
10377         (localPort): Merged with classpath (initialize with -1).
10378         * java/net/SocketPermission.java: Merged with classpath (reindented).
10379         * java/net/URLDecoder.java: Merged with classpath (reindented).
10380
10381 2003-02-13  Michael Koch  <konqueror@gmx.de>
10382
10383         * java/awt/GridBagConstraints.java
10384         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
10385         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
10386         * java/awt/KeyboardFocusManager.java
10387         (setGlobalCurrentFocusCycleRoot): Must be public.
10388         * java/awt/MenuComponent.java
10389         (MenuComponent): Must be public.
10390         * java/awt/Toolkit.java:
10391         Added some empty lines to make documentation more readable.
10392         (getFontPeer): Added @deprecated.
10393         (getColorModel): Added exception documentation.
10394         (getProperty): Fixed documentation.
10395  
10396 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
10397
10398         * configure.host (alpha*-*): Default to -mieee.
10399         * configure.in (IEEESPEC): New.
10400         * libgcj.spec.in (jc1): Add IEEESPEC.
10401         * configure: Rebuild.
10402
10403 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
10404
10405         * include/win32.h: Include ws2tcpip.h instead of
10406         winsock.h to obtain definition of the socklen_t type.
10407         Remove IP_TOS definition - not needed with ws2tcpip.h
10408         (_Jv_connect): Correct slight formatting error.
10409
10410 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
10411
10412         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
10413         size of the arguments for a JNI function. For Win32,
10414         modify to search for all forms of possible exported
10415         names of an stdcall JNI function.
10416         (_Jv_JNIMethod::call): Modify to calculate the size
10417         of the arguments passed to a JNI function and pass
10418         it to _Jv_LookupJNIMethod.
10419
10420 2003-02-12  Michael Koch  <konqueror@gmx.de>
10421
10422         * java/nio/channels/Channels.java: New file.
10423         * Makefile.am
10424         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
10425         * Makefile.in: Regenerated.
10426
10427 2003-02-12  Michael Koch  <konqueror@gmx.de>
10428
10429         * java/nio/ByteBuffer.java
10430         (allocate): Implemented.
10431         (wrap): Implemented.
10432         * java/nio/CharBuffer.java:
10433         Some documentation added and reworked.
10434         (endian): Removed.
10435         (allocate): Implemented.
10436         (wrap): Implemented.
10437         (array): Throw exceptions.
10438         (arrayOffset): Throw exceptions.
10439         (toString): Implemented.
10440         (length): Implemented.
10441         (put): Implemented.
10442         (charAt): Implemented.
10443
10444 2003-02-11  John Leuner  <jewel@debian.org>
10445
10446         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
10447         reads from end of file.
10448
10449 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
10450
10451         * java/io/natFileDescriptorWin32.cc 
10452         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
10453         returns with Win32 error code ERROR_BROKEN_PIPE.
10454
10455 2003-02-11  Michael Koch  <konqueror@gmx.de>
10456
10457         * Makefile.in
10458         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
10459
10460 2003-02-11  Michael Koch  <konqueror@gmx.de>
10461
10462         * gnu/java/nio/ByteBufferImpl.java:
10463         Reformated and removed some code.
10464         (backing_buffer): Removed.      
10465         (array_offset): Removed.
10466         (ro): Renamed to readOnly.
10467         (ByteBufferImpl): Use parent constructor, initialize readOnly.
10468         * gnu/java/nio/CharBufferImpl.java:
10469         Reformated and removed some code.
10470         (array_offset): Removed.
10471         (ro): Renamed to readOnly.
10472         (CharBufferImpl): Use parent constructor, initialize readOnly.
10473         (inc_pos): Removed.
10474         (order): New method.
10475         * gnu/java/nio/DoubleBufferImpl.java:
10476         Reformated and removed some code.
10477         (array_offset): Removed.
10478         (ro): Renamed to readOnly.
10479         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
10480         (inc_pos): Removed.
10481         (order): New method.
10482         * gnu/java/nio/FloatBufferImpl.java:
10483         Reformated and removed some code.
10484         (array_offset): Removed.
10485         (ro): Renamed to readOnly.
10486         (FloatBufferImpl): Use parent constructor, initialize readOnly.
10487         (inc_pos): Removed.
10488         (order): New method.
10489         * gnu/java/nio/IntBufferImpl.java:
10490         Reformated and removed some code.
10491         (array_offset): Removed.
10492         (ro): Renamed to readOnly.
10493         (IntBufferImpl): Use parent constructor, initialize readOnly.
10494         (inc_pos): Removed.
10495         (order): New method.
10496         * gnu/java/nio/LongBufferImpl.java:
10497         Reformated and removed some code.
10498         (array_offset): Removed.
10499         (ro): Renamed to readOnly.
10500         (LongBufferImpl): Use parent constructor, initialize readOnly.
10501         (inc_pos): Removed.
10502         (order): New method.
10503         * gnu/java/nio/ShortBufferImpl.java:
10504         Reformated and removed some code.
10505         (array_offset): Removed.
10506         (ro): Renamed to readOnly.
10507         (ShortBufferImpl): Use parent constructor, initialize readOnly.
10508         (inc_pos): Removed.
10509         (order): New method.
10510         * Makefile.am
10511         (ordinary_java_source_files): Added the following files:
10512         gnu/java/nio/ByteBufferImpl.java
10513         gnu/java/nio/CharBufferImpl.java
10514         gnu/java/nio/DoubleBufferImpl.java
10515         gnu/java/nio/FloatBufferImpl.java
10516         gnu/java/nio/IntBufferImpl.java
10517         gnu/java/nio/LongBufferImpl.java
10518         gnu/java/nio/ShortBufferImpl.java
10519         java/nio/DoubleBuffer.java
10520         java/nio/FloatBuffer.java
10521         java/nio/IntBuffer.java
10522         java/nio/LongBuffer.java
10523         java/nio/ShortBuffer.java
10524         (nat_source_files): Added the following files:
10525         gnu/java/nio/natByteBufferImpl.cc
10526         gnu/java/nio/natCharBufferImpl.cc
10527         gnu/java/nio/natDoubleBufferImpl.cc
10528         gnu/java/nio/natFloatBufferImpl.cc
10529         gnu/java/nio/natIntBufferImpl.cc
10530         gnu/java/nio/natLongBufferImpl.cc
10531         gnu/java/nio/natShortBufferImpl.cc
10532         * Makefile.in: Regenerated.
10533
10534 2003-02-11  Michael Koch  <konqueror@gmx.de>
10535
10536         * gnu/java/nio/natCharBufferImpl.cc
10537         (nio_cast): Removed.
10538         (nio_put_*): Removed.
10539         (nio_get_*): Removed.
10540         * gnu/java/nio/natDoubleBufferImpl.cc
10541         (nio_cast): Removed.
10542         (nio_put_*): Removed.
10543         (nio_get_*): Removed.
10544         * gnu/java/nio/natFloatBufferImpl.cc
10545         (nio_cast): Removed.
10546         (nio_put_*): Removed.
10547         (nio_get_*): Removed.
10548         * gnu/java/nio/natIntBufferImpl.cc
10549         (nio_cast): Removed.
10550         (nio_put_*): Removed.
10551         (nio_get_*): Removed.
10552         * gnu/java/nio/natLongBufferImpl.cc
10553         (nio_cast): Removed.
10554         (nio_put_*): Removed.
10555         (nio_get_*): Removed.
10556         * gnu/java/nio/natShortBufferImpl.cc
10557         (nio_cast): Removed.
10558         (nio_put_*): Removed.
10559         (nio_get_*): Removed.
10560         * gnu/java/nio/SelectorProviderImpl.java
10561         (openDatagramChannel): Throws IOException.
10562         (openPipe): Throws IOException.
10563         (openSelector): Throws IOException.
10564         (openServerSocketChannel): Throws IOException.
10565         (openSocketChannel): Throws IOException.
10566         * gnu/java/nio/ServerSocketChannelImpl.java
10567         (ServerSocketChannelImpl): Throws IOException.
10568         (implCloseSelectableChannel): Throws IOException.
10569         (implConfigureBlocking): Throws IOException.
10570         * java/nio/ByteBuffer.java
10571         (readOnly): Removed.
10572         (hasArray): Use isReadOnly() instead of readOnly.
10573         (array): Use isReadOnly() instead of readOnly.
10574         (arrayOffset): Use isReadOnly() instead of readOnly.
10575         * java/nio/CharBuffer.java
10576         (CharBuffer): Implements Cloneable and CharSequence.
10577
10578 2003-02-11  Michael Koch  <konqueror@gmx.de>
10579
10580         * java/nio/DoubleBuffer.java
10581         (DoubleBuffer): Implements Comparable.
10582         (endian): Removed.
10583         (array_offset): New member variable.
10584         (DoubleBuffer): New constuctor.
10585         (get): May not be final.
10586         (put): May not be final.
10587         (arrayOffset): Implemented.
10588         (order): Made abstract.
10589         (order): Removed.
10590         (as*Buffer): Removed.
10591         (get*): Removed.
10592         (put*): Removed.
10593         * java/nio/FloatBuffer.java
10594         (FloatBuffer): Implements Comparable.
10595         (endian): Removed.
10596         (array_offset): New member variable.
10597         (FloatBuffer): New constuctor.
10598         (get): May not be final.
10599         (put): May not be final.
10600         (arrayOffset): Implemented.
10601         (order): Made abstract.
10602         (order): Removed.
10603         (as*Buffer): Removed.
10604         (get*): Removed.
10605         (put*): Removed.
10606         * java/nio/IntBuffer.java
10607         (IntBuffer): Implements Comparable.
10608         (endian): Removed.
10609         (array_offset): New member variable.
10610         (IntBuffer): New constuctor.
10611         (get): May not be final.
10612         (put): May not be final.
10613         (arrayOffset): Implemented.
10614         (order): Made abstract.
10615         (order): Removed.
10616         (as*Buffer): Removed.
10617         (get*): Removed.
10618         (put*): Removed.
10619         * java/nio/LongBuffer.java
10620         (LongBuffer): Implements Comparable.
10621         (endian): Removed.
10622         (array_offset): New member variable.
10623         (LongBuffer): New constuctor.
10624         (get): May not be final.
10625         (put): May not be final.
10626         (arrayOffset): Implemented.
10627         (order): Made abstract.
10628         (order): Removed.
10629         (as*Buffer): Removed.
10630         (get*): Removed.
10631         (put*): Removed.
10632         * java/nio/ShortBuffer.java
10633         (ShortBuffer): Implements Comparable.
10634         (endian): Removed.
10635         (array_offset): New member variable.
10636         (ShortBuffer): New constuctor.
10637         (get): May not be final.
10638         (put): May not be final.
10639         (arrayOffset): Implemented.
10640         (order): Made abstract.
10641         (order): Removed.
10642         (as*Buffer): Removed.
10643         (get*): Removed.
10644         (put*): Removed.
10645
10646 2003-02-11   Michael Koch  <konqueror@gmx.de>
10647
10648         * java/nio/channels/SelectionKey.java
10649         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
10650         values.
10651
10652 2003-02-11  Michael Koch  <konqueror@gmx.de>
10653
10654         * java/nio/channels/DatagramChannel.java
10655         (write): Throws IOException.
10656         (connect): Throws IOException.
10657         (disconnect): Throws IOException.
10658         (read): Throws IOException.
10659         (receive): Throws IOException.
10660         (send): Throws IOException.
10661         * java/nio/channels/Pipe.java
10662         (open): Throws IOException.
10663         * java/nio/channels/SelectableChannel.java
10664         (configureBlocking): Throws IOException.
10665         * java/nio/channels/ServerSocketChannel.java
10666         (accept): Throws IOException.
10667         * java/nio/channels/SocketChannel.java
10668         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
10669         GatheringByteChannel.
10670         (read): Throws IOException.
10671         (write): Throws IOException.
10672         (finishConnect): Throws IOException.
10673         * java/nio/channels/spi/AbstractInterruptibleChannel.java
10674         (end): Throws AsynchronousCloseException.
10675         * java/nio/channels/spi/AbstractSelectableChannel.java
10676         (configureBlocking): Throws IOException.
10677         (implCloseChannel): Throws IOException.
10678         (implCloseSelectableChannel): Throws IOException.
10679         (implConfigureBlocking): Throws IOException.
10680         * java/nio/channels/spi/SelectorProvider.java
10681         (openDatagramChannel): Throws IOException.
10682         (openPipe): Throws IOException.
10683         (openSelector): Throws IOException.
10684         (openServerSocketChannel): Throws IOException.
10685         (openSocketChannel): Throws IOException.
10686
10687 2003-02-11  Michael Koch  <konqueror@gmx.de>
10688
10689         * gnu/java/nio/FileLockImpl.java,
10690         java/nio/channels/FileLock.java: New files.
10691
10692 2003-02-11  Michael Koch  <konqueror@gmx.de>
10693
10694         * java/nio/charset/IllegalCharsetNameException.java
10695         (serialVersionUID): New member variable.
10696         (charsetName): New member variable.
10697         (IllegalCharsetException): New implementation.
10698         (getCharsetName): New implementation.
10699         * java/nio/charset/UnsupportedCharsetException.java
10700         (serialVersionUID): New member variable.
10701         (charsetName): New member variable.
10702         (UnsupportedCharsetException): New implementation.
10703         (getCharsetName): New implementation.
10704
10705 2003-02-10  Tom Tromey  <tromey@redhat.com>
10706
10707         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
10708         (ex): Renamed from sqlException.
10709
10710 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
10711
10712         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
10713         method used to ensure seeding has occurred and that a specific 
10714         seed can be set and used.
10715
10716 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
10717
10718         * java/lang/Win32Process.java (destroy): Declare as native.
10719         (hasExited): New native method.
10720         (exitValue): Define.
10721         (getErrorStream): Likewise.
10722         (getInputStream): Likewise.
10723         (getOutputStream): Likewise.
10724         (waitFor): Declare as native.
10725         (startProcess): New native method.
10726         (cleanup): Likewise.
10727         (ConcreteProcess): Define.
10728         (outputStream, inputStream, errorStream): New members.
10729         (procHandle, exitCode): Likewise.
10730
10731         * java/lang/natWin32Process.cc
10732         (java::lang::ConcreteProcess::cleanup): Define.
10733         (java::lang::ConcreteProcess::destroy): Likewise.
10734         (java::lang::ConcreteProcess::hasExited): Likewise.
10735         (java::lang::ConcreteProcess::waitFor): Likewise.
10736         (new_string): Likewise.
10737         (java::lang::ConcreteProcess::startProcess): Likewise.
10738
10739 2003-02-10  Raif S. Naffah <raif@fl.net.au>
10740
10741         * java/math/BigInteger.java:
10742         Updated notice to include years 2002 and 3.
10743         Added 2 private (int) arrays with values from the HAC (Handbook of
10744         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
10745         and t[] that contains nbr. of tests --used in isProbablePrime().
10746
10747         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
10748
10749         * java/math/BigInteger.java (make(int[],int), add(int,int),
10750         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
10751         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
10752         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
10753         make(long).
10754
10755         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
10756         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
10757         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
10758         BIs and returns void.
10759         (modInverse(BI)): Use new signatures of euclidInv().
10760
10761         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
10762         static small primes instead of remainder().
10763         Use pre-computed max nbr of trials based on bitlength of BI to test.
10764         Use pre-computed small primes for the trial tests instead of random
10765         numbers.
10766
10767         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
10768         not used.
10769
10770         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
10771         invoacation of MPN.chars_per_word().  not used.
10772
10773         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
10774         local var and used where needed.
10775
10776         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
10777         Combined declaration with initialisation of locals.
10778         Removed unused var.
10779
10780         * java/math/BigInteger.java: Style changes
10781         (pow(int)): Removed 'else' keyword.
10782         (toString(int)): idem.
10783         (doubleValue()): idem.
10784         (bitLength()): idem.
10785         (equals(Object)): Use static methods name in same class w/o prepending
10786         class name.
10787         (doubleValue()): idem.
10788         (setNegative(BI)): idem.
10789         (negate()): idem.
10790         (and(BI,int)): idem.
10791         (and(BI)): idem.
10792         (gcd(BI)): idem.
10793         (byteArrayToIntArray()): Removed casting to (int). this is
10794         std. behaviour.
10795         (canonicalize()): idem.
10796         (alloc(int)): Always instantiate a new BI.
10797
10798 2003-02-10  Tom Tromey  <tromey@redhat.com>
10799
10800         * java/sql/Timestamp.java (compareTo(Object)): New method.
10801         (compareTo(Timestamp)): Likewise.
10802         (serialVersionUID): Updated.
10803
10804 2003-02-07  Mark Wielaard  <mark@klomp.org>
10805
10806         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
10807         when verify is true.
10808         (JarFile(File, boolean)): Likewise.
10809         (manifestRead): Set manifestRead field correctly.
10810
10811 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10812
10813         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
10814         tests; see patch #1016 on Savannah.
10815
10816 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10817
10818         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
10819         (toString): do not return Strings starting with . and - erroneously.
10820         Improves Mauve results to 12 of 600 instead of 16 of 338 on
10821         DiagBigDecimal.
10822
10823 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10824
10825         * java/beans/PropertyDescriptor.java
10826         (PropertyDescriptor(String, Class)): Sanity check getter and setter
10827         methods.
10828         (PropertyDescriptor(String, Class, String, String)): Likewise.
10829         (PropertyDescriptor(String, Method, Method): Factor out getter and
10830         setter method sanity checks into new method.
10831         (findMethods): Don't do parameter sanity checking of get method here.
10832         (checkMethods): New method.
10833
10834 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10835
10836         * java/beans/PropertyDescriptor.java: Reformat.
10837
10838 2003-02-04  Tom Tromey  <tromey@redhat.com>
10839
10840         * java/io/PipedOutputStream.java (flush): Declare as throwing
10841         IOException.
10842         (close): Likewise.
10843         * java/io/PipedWriter.java (close): Declare as throwing
10844         IOException.
10845         * java/io/StringWriter.java (close): Declare as throwing
10846         IOException.
10847
10848 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10849
10850         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
10851         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
10852         could also have been exported as "JNI_OnLoad@8" (MinGW) or
10853         "_JNI_OnLoad@8" (MSVC).
10854
10855 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10856
10857         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
10858         convention on Win32 to invoke native JNI methods.
10859
10860 2003-02-03  Andrew Haley  <aph@redhat.com>
10861
10862         * configure.host (x86_64): Enable interpreter.
10863
10864 2003-02-03  Andrew Haley  <aph@redhat.com>
10865
10866         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
10867         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
10868         * configure.in (BACKTRACESPEC): New.
10869         * configure: Regenerate.
10870
10871 2003-02-02  Tom Tromey  <tromey@redhat.com>
10872
10873         * configure: Rebuilt.
10874         * configure.in (TOOLKIT) [xlib]: Set correctly.
10875
10876         * Makefile.in: Rebuilt.
10877         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
10878         libstdc++.
10879
10880 2003-01-31  Mark WIelaard  <mark@klomp.org>
10881
10882         * Makefile.in: Rebuilt.
10883         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
10884
10885 2003-01-31  Tom Tromey  <tromey@redhat.com>
10886
10887         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
10888         cast to element type.
10889         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
10890         (_Jv_JNI_GetObjectArrayElement): Likewise.
10891
10892         * Makefile.in: Rebuilt.
10893         * Makefile.am (cond_x_ltlibrary): Renamed library to
10894         lib-gnu-awt-xlib.la.
10895         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
10896         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
10897         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
10898         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
10899         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
10900         (lib_gnu_awt_xlib_la_LINK): Likewise.
10901         (install-exec-hook): Removed.
10902         (lib-gnu-awt-xlib.la): Renamed.
10903
10904 2003-01-31  Tom Tromey  <tromey@redhat.com>
10905
10906         * aclocal.m4, configure, include/config.h.in: Rebuilt.
10907         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
10908         aclocal.m4 and lost in some merge.
10909
10910         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
10911         Don't try to find graphics configuration.
10912         * java/awt/Toolkit.java (default_toolkit_name): Use new
10913         Configuration entry.
10914         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
10915         New global.
10916         * configure: Rebuilt.
10917         * configure.in (TOOLKIT): New subst.
10918         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
10919         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
10920         directory.  Make output directories for .c files.
10921         * Makefile.in: Rebuilt.
10922         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
10923         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
10924         (all_java_source_files): Added new sources.
10925         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
10926         (gtk_c_files): New macro.
10927         (gtk_c_source_files): New macro.
10928         (cond_gtk_ltlibrary): New macro.
10929         ($(gtk_c_files)): New target.
10930         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
10931         (gtk_awt_peer_sources): New macro.
10932         (gtk_c_headers): New macro.
10933         ($(gtk_c_headers)): New target.
10934         (ACLOCAL_AMFLAGS): New macro.
10935         * gtk.m4, glib.m4, libart.m4: New files.
10936         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
10937         gnu/java/awt/peer/gtk/GdkGraphics.java,
10938         gnu/java/awt/peer/gtk/GtkArg.java,
10939         gnu/java/awt/peer/gtk/GtkArgList.java,
10940         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10941         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
10942         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
10943         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
10944         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
10945         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10946         gnu/java/awt/peer/gtk/GtkClipboard.java,
10947         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10948         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10949         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
10950         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
10951         gnu/java/awt/peer/gtk/GtkFontPeer.java,
10952         gnu/java/awt/peer/gtk/GtkFramePeer.java,
10953         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
10954         gnu/java/awt/peer/gtk/GtkImage.java,
10955         gnu/java/awt/peer/gtk/GtkImagePainter.java,
10956         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
10957         gnu/java/awt/peer/gtk/GtkListPeer.java,
10958         gnu/java/awt/peer/gtk/GtkMainThread.java,
10959         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
10960         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
10961         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
10962         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
10963         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
10964         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
10965         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10966         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
10967         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
10968         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10969         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10970         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10971         gnu/java/awt/peer/gtk/GtkToolkit.java,
10972         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10973         gnu/java/awt/peer/gtk/TestAWT.java,
10974         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
10975         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
10976         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
10977         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10978         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
10979         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
10980         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
10981         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
10982         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
10983         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
10984         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
10985         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
10986         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
10987         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
10988         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
10989         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
10990         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
10991         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
10992         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
10993         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
10994         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
10995         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
10996         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
10997         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10998         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
10999         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
11000         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
11001         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
11002         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
11003         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
11004         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
11005         jni/classpath/native_state.c, jni/classpath/native_state.h,
11006         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
11007
11008 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
11009
11010         * java/util/Properties.java (load): Ignore backslash before EOF.
11011
11012 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
11013
11014         * java/lang/natClass.cc (initializeClass): Check tables when
11015         (state == JV_STATE_IN_PROGRESS).
11016         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
11017         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
11018         interpreted classes.
11019         (linkClass0): Use _Jv_WaitForState.
11020
11021 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
11022
11023         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
11024         object when finished.
11025
11026 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
11027
11028         * libjava/configure.host: Disable can_unwind_signal on darwin.
11029
11030 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
11031
11032         Fixes PR java/9254:
11033         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
11034         additionally containing id of the owner thread as well as
11035         the number of nested times the thread has acquired the mutex.
11036         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
11037         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
11038         (_Jv_MutexUnlock): Check if really the owner thread, reset
11039         owner thread id to 0 before leaving, if leaving for the last
11040         time.
11041         (_Jv_MutexLock): Set owner thread id in the mutex and increment
11042         refcount.
11043         (_Jv_ThreadYield): Yield using a call to Sleep(0).
11044         * win32-threads.cc (_Jv_CondWait): Check if really owner of
11045         the passed mutex.
11046         Pass handle of the broadcast event, instead of a pointer to it
11047         in Win32 ResetEvent( ) call.
11048         Remove incorrect return values.
11049         (_Jv_CondDestroy): Close both event handles and delete
11050         critical section.
11051         (_Jv_CondNotify): Check if really the owner thread.
11052         (_Jv_CondNotifyAll): Check if really the owner thread.
11053         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
11054         (really_start): Use SetEvent( ) to signal daemon_cond.
11055         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
11056         WaitForSingleObject( ) instead to wait for daemon_cond to be
11057         signalled.
11058
11059 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
11060
11061         * configure.in: Specifically define HAVE_BACKTRACE if building
11062         for MinGW.
11063         * include/win32.h: Remove HAVE_BACKTRACE definition.
11064         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
11065         * configure: Rebuilt.
11066
11067 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
11068
11069         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
11070         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
11071         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
11072         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
11073         * Makefile.in, configure: Rebuilt.
11074
11075 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
11076
11077         Fixes PR java/9253:
11078         * java/io/natFileWin32.cc (performList): Append only "*.*"
11079         if the canonical file path already has a "\" at the end.
11080
11081 2003-01-24  Tom Tromey  <tromey@redhat.com>
11082
11083         * defineclass.cc (handleMethodsEnd): Precompute code for static
11084         method.
11085         (handleCodeAttribute): Likewise.
11086         * resolve.cc (ncode): Use run_class for unsynchronized static
11087         methods.
11088         * include/java-interp.h (class _Jv_InterpMethod): Declare
11089         run_class.
11090         * interpret.cc (run_synch_class): Initialize class.
11091         (run) [insn_invokestatic]: Don't initialize class.
11092         [insn_anewarray]: Likewise.
11093         [insn_multianewarray]: Likewise.
11094         (run_class): New function.
11095
11096 2003-01-24  Tom Tromey  <tromey@redhat.com>
11097
11098         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
11099         comment.
11100
11101 2003-01-22  Andrew Haley  <aph@redhat.com>
11102
11103         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
11104         * configure.host (CHECKREFSPEC): Define for x86_64.
11105
11106 2003-01-21  Tom Tromey  <tromey@redhat.com>
11107
11108         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
11109         search at 2, not 3.
11110
11111 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
11112
11113         * java/io/natFileWin32.cc (isAbsolute): Check path length before
11114         looking at any characters.
11115         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
11116         be used.
11117         (isAbsolute): Check path's length as well.
11118
11119 2003-01-17  Mark Wielaard  <mark@klomp.org>
11120
11121         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
11122         (nat_source_files): Add natVMObjectStreamClass.cc.
11123         * Makefile.in: Regenerated.
11124         * gcj/javaprims.h (namespace java): Regenerated.
11125         * java/io/ObjectStreamClass.java (getClassUID): Call
11126         VMObjectStreamClass.hasClassInitializer().
11127         (hasClassInitializer): Removed.
11128         * java/io/VMObjectStreamClass.java: New class.
11129         * java/io/natVMObjectStreamClass.cc: New file.
11130         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
11131
11132 2003-01-16  Mark Wielaard  <mark@klomp.org>
11133
11134         * java/net/SocketImpl.java (toString): Don't explicitly call
11135         toString() on possible null address.
11136
11137 2003-01-16  Michael Koch  <konqueror@gmx.de>
11138
11139         * java/net/MulticastSocket.java
11140         (setInterface): Reindented.
11141
11142 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11143
11144         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
11145         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
11146         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
11147         translateY arguments.  Implement.
11148         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
11149         down translation arguments.
11150         (drawPolyline, drawPolygon): Fix incorrect tests.
11151         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
11152         translateX and translateY arguments.
11153
11154 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11155
11156         * Makefile.in: Rebuilt.
11157         * Makefile.am (xlib_includes): New macro.
11158         (INCLUDES): Use it.
11159
11160 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11161
11162         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
11163         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
11164         16-bit display mode.
11165
11166 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11167
11168         * java/awt/CardLayout.java (show): Rewrote.
11169         (gotoComponent): Removed `target' argument.  Simplified code.
11170         Don't pre-compute `choice' unless `what' is FIRST or LAST.
11171         Changed all callers.
11172         (NONE): Removed.
11173         
11174 2003-01-14  Michael Koch  <konqueror@gmx.de>
11175
11176         * java/net/InetSocketAddress.java
11177         (serialVersionUID): New member variable.
11178         * java/net/NetPermission.java
11179         (NetPermission): Dont implement java.io.Serialization directly.
11180         * java/net/SocketAddress.java:
11181         (serialVersionUID): Documentation added.
11182         
11183 2003-01-14  Michael Koch  <konqueror@gmx.de>
11184
11185         * java/awt/Label.java
11186         (Label): Implements javax.accessibility.Accessible;
11187         * java/awt/List.java
11188         (List): Implements javax.accessibility.Accessible;
11189         * java/awt/ScrollPane.java
11190         (ScrollPane): Implements javax.accessibility.Accessible;
11191         * java/awt/Scrollbar.java
11192         (Scrollbar): Implements javax.accessibility.Accessible;
11193         * java/awt/TextComponent.java
11194         (setCaretPosition): Throw exception, documentation added.
11195         * java/awt/Toolkit.java:
11196         Added some newlines in method documentations.
11197         (createButton): Exception documentation added.
11198         (createTextField): Exception documentation added.
11199         (createLabel): Exception documentation added.
11200         (createList): Exception documentation added.
11201         (createCheckbox): Exception documentation added.
11202         (createScrollbar): Exception documentation added.
11203         (createScrollPane): Exception documentation added.
11204         (createTextArea): Exception documentation added.
11205         (createChoice): Exception documentation added.
11206         (createFrame): Exception documentation added.
11207         (createWindow): Exception documentation added.
11208         (createDialog): Exception documentation added.
11209         (createMenuBar): Exception documentation added.
11210         (createMenu): Exception documentation added.
11211         (createMenuItem): Exception documentation added.
11212         (createFileDialog): Exception documentation added.
11213         (createCheckboxMenuItem): Exception documentation added.
11214         (loadSystemColors): Exception documentation added.
11215         (setDynamicLayout): Exception documentation added.
11216         (isDynamicLayoutSet): Exception documentation added.
11217         (isDynamicLayoutActive): Exception documentation added.
11218         (getScreenSize): Exception documentation added.
11219         (getScreenResolution): Exception documentation added.
11220         (getScreenInsets): Exception documentation added.
11221         (getColorModel): Exception documentation added.
11222         (getSystemClipboard): Exception documentation added.
11223         (getSystemSelection): Exception documentation added.
11224         (getMenuShortcutKeyMask): Exception documentation added.
11225         (getSystemEventQueue): Exception documentation added.
11226         * java/awt/Window.java:
11227         Reindented some code.
11228         (Window): Centralized implementation, documentation added.
11229         (finalize): Documentation added.
11230         (hide): Fixed typo in comment.
11231         (getWindowListeners): Documentation added.
11232         * java/awt/color/ColorSpace.java
11233         (toRGB): Documentation added.
11234         * java/awt/color/ICC_ColorSpace.java
11235         (ICC_ColorSpace): Documentation added.
11236         (toRGB): Throw exception, documentation added.
11237         (fromRGB): Throw exception, documentation added.
11238         (toCIEXYZ): Documentation added.
11239         (fromCIEXYZ): Documentation added.
11240         (getMinValue): Documentation added.
11241         (getMaxValue): Documentation added.
11242         * java/awt/geom/Dimension2D.java
11243         (clone): Documentation added.
11244         * java/awt/geom/GeneralPath.java
11245         (clone): Documentation added.
11246         * java/awt/geom/Line2D.java
11247         (clone): Documentation added.
11248         * java/awt/geom/QuadCurve2D.java
11249         (clone): Documentation added.
11250         * java/awt/image/ColorModel.java
11251         (ColorModel): Throw exception, documentation added.
11252         * java/awt/image/ImageFilter.java
11253         (clone): Doesnt throw CloneNotSupportedException.
11254
11255 2003-01-14  Andrew Haley  <aph@redhat.com>
11256
11257         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
11258         in a try block.
11259
11260 2003-01-10  Andrew Haley  <aph@redhat.com>
11261
11262         * include/dwarf2-signal.h: Remove x86_64.
11263         * configure.host (x86_64 DIVIDESPEC): Remove.
11264         * include/x86_64-signal.h: New file.
11265         * configure.in: Regenerate.
11266
11267 2003-01-10  Michael Koch  <konqueror@gmx.de>
11268
11269         * java/net/DatagramSocket.java
11270         (ch): Description added.
11271         (remotePort): Initialize with -1.
11272         (connect): Doesnt throws SocketException.
11273         * java/net/MulticastSocket.java
11274         (setInterface): Merge with Classpath.
11275         * java/net/ServerSocket.java
11276         (closed): New member variable.
11277         (bind): Check if socket is closed.
11278         (close): Close an associated channel too, set new value to closed.
11279         (isBound): Reindented.
11280         (isClosed): Implemented.
11281         * java/net/Socket.java
11282         (closed): New member variable.
11283         (bind): Check if socket is closed.
11284         (connect): Check if socket is closed.
11285         (close): Close an associated channel too, set new value to closed.
11286         (isClosed): Implemented.
11287
11288 2003-01-10  Michael Koch  <konqueror@gmx.de>
11289
11290         * java/awt/DisplayMode.java
11291         (equals): Fixed argument type and implementation.
11292
11293 2003-01-07  Tom Tromey  <tromey@redhat.com>
11294
11295         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
11296         JV_HASH_SYNCHRONIZATION.
11297         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
11298         JV_HASH_SYNCHRONIZATION.
11299
11300 2003-01-07  Michael Koch  <konqueror@gmx.de>
11301  
11302         * java/net/DatagramSocket.java:
11303         Added classpath license info.
11304         (DatagramSocket): Merged description with classpath.
11305         (close): Merged description with classpath.
11306         (getChannel): Merged description with classpath.
11307         (getInetAddress): Merged description with classpath.
11308         (getPort): Merged description with classpath.
11309         (getLocalAddress): Merged description with classpath.
11310         (getLocalPort): Merged description with classpath.
11311         (getSoTimeout): Merged description with classpath.
11312         (setSoTimeout): Merged description with classpath.
11313         (getSendBufferSize): Merged description with classpath.
11314         (setSendBufferSize): Merged description with classpath.
11315         (getReceiveBufferSize): Merged description with classpath.
11316         (setReceiveBufferSize): Merged description with classpath.
11317         
11318 2003-01-04  Tom Tromey  <tromey@redhat.com>
11319
11320         * java/awt/List.java: Merged with Classpath.
11321
11322 2003-01-03  Mark Wielaard  <mark@klomp.org>
11323
11324         * java/io/FileDescriptor.java (position): New private field.
11325         * java/io/natFileDescriptorPosix.cc (write): Up position.
11326         (setLength): Use and set position.
11327         (seek): Set position.
11328         (getFilePointer): Return position.
11329         (read): Up position.
11330
11331 2003-01-03  Mark Wielaard  <mark@klomp.org>
11332
11333         Merge with Classpath:
11334         * java/io/ObjectStreamClass.java (lookup): Split method and call
11335         lookupForClassObject().
11336         (lookupForClassObject): New method.
11337         (isProxyClass): New field.
11338         (setClass): Set isProxyClass, add object to classLookupTable, set
11339         superClass and calculateOffsets.
11340         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
11341         and not a proxy class.
11342         (setFields): Set accessible true for serialPersistentFields.
11343         (getClassUID): Same for suid. And check if suid is of type long.
11344         (hasClassInitializer): Don't throw NoSuchMethodError.
11345
11346 2003-01-03  Mark Wielaard  <mark@klomp.org>
11347
11348         * java/io/FileInputStream.java (finalize): Don't explicitly
11349         finalize FileDescriptor.
11350
11351 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
11352
11353         * configure.host (sparc*-*): Enable bytecode interpreter.
11354
11355 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
11356
11357         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
11358         Don't throw RemoteException.
11359         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
11360         throw RemoteException.
11361
11362 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
11363
11364         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
11365         proxyHost): New static fields.
11366         (<clinit>): Initialize new fields.
11367         (connect): Use proxy if necessary.
11368         (usingProxy): Implement.
11369
11370 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
11371
11372         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
11373         (TreeIterator.remove): Prefer IllegalStateException over
11374         ConcurrentModificationException, to match Sun.
11375
11376 2002-12-22  Anthony Green  <green@redhat.com>
11377
11378         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
11379
11380 2003-01-02  Mark Wielaard  <mark@klomp.org>
11381
11382         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
11383         public.
11384         (HTTP_USE_PROXY): Add field.
11385         (getResponseVals): Only set responseCode when not yet explicitly
11386         set by subclass.
11387
11388 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
11389             Mark Wielaard  <mark@klomp.org>
11390
11391         * java/util/zip/ZipFile.java (entries): Now HashMap.
11392         (readLeShort(DataInput, byte[])): Read from given byte array.
11393         (readLeInt(DataInput, byte[]): Likewise.
11394         (readLeShort(byte[] b, int off)): New method.
11395         (readLeInt(byte[] b, int off)): Likewise.
11396         (readEntries): Use byte arrays to read info in bigger chunks.
11397         (getEntries): Return HashMap.
11398         (getEntry): Use HashMap.
11399         (locBuf): New private field.
11400         (checkLocalHeader): Use locBuf to read info in one chunk.
11401         (getInputStream): Use entries HashMap, wrap PartialInputStream
11402         in BufferedInputStream.
11403         (ZipEntryEnumeration): Use HashMap and Interator.
11404
11405 2003-01-02  Mark Wielaard  <mark@klomp.org>
11406             Jeroen Frijters  <jeroen@sumatra.nl>
11407
11408         * java/net/URLClassLoader.java (Resource.getCodeSource):
11409         Fix check certs == null.
11410         (getCanonicalFileURL): Removed method.
11411         (JarURLLoader): Don't call removed method.
11412         (FileURLLoader): Likewise.
11413         (FileURLLoader.getResource): Don't canonicalize file name.
11414
11415 2003-01-01  Tom Tromey  <tromey@redhat.com>
11416
11417         * Makefile.in: Rebuilt.
11418         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
11419         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
11420         java/awt/BufferCapabilities.java, java/awt/Button.java,
11421         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
11422         java/awt/Container.java, java/awt/Cursor.java,
11423         java/awt/EventQueue.java, java/awt/FileDialog.java,
11424         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
11425         java/awt/MenuBar.java, java/awt/MenuComponent.java,
11426         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
11427         java/awt/Scrollbar.java, java/awt/TextArea.java,
11428         java/awt/TextField.java, java/awt/color/CMMException.java,
11429         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
11430         java/awt/color/ProfileDataException.java,
11431         java/awt/datatransfer/Clipboard.java,
11432         java/awt/datatransfer/DataFlavor.java,
11433         java/awt/datatransfer/FlavorMap.java,
11434         java/awt/datatransfer/SystemFlavorMap.java,
11435         java/awt/dnd/DragGestureEvent.java,
11436         java/awt/dnd/DragGestureRecognizer.java,
11437         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
11438         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
11439         java/awt/im/InputMethodHighlight.java,
11440         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
11441         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
11442
11443         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
11444         `op' to BufferedImageOp.
11445
11446 2002-12-31  Tom Tromey  <tromey@redhat.com>
11447
11448         Fix for PR libgcj/7416:
11449         * javax/naming/InitialContext.java (init): Use
11450         gnu.classpath.home.url.
11451         * java/security/Security.java: Use new properties.
11452         (loadProviders): Accept base url; use it.
11453         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
11454         gnu.classpath.home.url.
11455         (gnu.classpath.home.url): Define.
11456         (gnu.classpath.vm.shortname): Likewise.
11457
11458 2002-12-31  Tom Tromey  <tromey@redhat.com>
11459             Ranjit Mathew  <rmathew@hotmail.com>
11460
11461         Fix for PR libgcj/8997:
11462         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
11463         Include platform.h.
11464         * include/posix.h (_Jv_platform_usleep): New function.
11465         * include/win32.h (_Jv_platform_usleep): New function.
11466
11467 2002-12-29  Tom Tromey  <tromey@redhat.com>
11468
11469         * gcj/javaprims.h: Updated.
11470         * scripts/classes.pl (scan): Removed stray semicolon.
11471
11472 2002-12-30  Mark Wielaard  <mark@klomp.org>
11473
11474         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
11475         if zero or smaller.
11476
11477 2002-12-30  Mark Wielaard  <mark@klomp.org>
11478
11479         * java/util/Properties (formatForOutput): Don't fall through to
11480         default case after escaping character.
11481
11482 2002-12-30  Mark Wielaard  <mark@klomp.org>
11483
11484         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
11485         against count.
11486
11487 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
11488
11489         * boehm.cc: Remove stray semicolon.
11490         * interpret.cc: Likewise.
11491         * prims.cc: Likewise.
11492         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
11493         earlier to ensure default arguments are processed.
11494         * gcj/array.h (JArray): Add forward declaration.
11495         (elements): Likewise.
11496         * gcj/javaprim.h: Remove stray semicolons.
11497         * include/bohm-gc.h: Likewise.
11498         * include/jni.h: Likewise.
11499         * include/jvm.h: Likewise.
11500         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
11501         
11502 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
11503
11504         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
11505         of catch_type.
11506         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
11507         idt tables after initializing superclass.
11508         * java/lang/natClassLoader.cc (uaddr): New typedef.
11509         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
11510         if they are constant pool indicies.  Don't link vtable, otable yet.
11511
11512 2002-12-21  Anthony Green  <green@redhat.com>
11513
11514         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
11515         libraries.
11516         * Makefile.in: Rebuilt.
11517
11518 2002-12-19  Anthony Green  <green@redhat.com>
11519
11520         * Makefile.am (ordinary_java_source_files): Add
11521         org/xml/sax/helpers/NewInstance.java.
11522         * Makefile.in: Rebuilt.
11523         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
11524         org/xml/sax/helpers/package.html: New files.
11525         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
11526         http://www.saxproject.org.
11527
11528 2002-12-19  Andrew Haley  <aph@redhat.com>
11529
11530         * java/util/natResourceBundle.cc: Include
11531         ArrayIndexOutOfBoundsException.h.
11532         (getCallingClassLoader): Don't put upper bound on stack search.
11533         Catch ArrayIndexOutOfBoundsException.
11534
11535 2002-12-19  Tom Tromey  <tromey@redhat.com>
11536
11537         * libtool-version: Increased `current'.
11538
11539 2002-12-19  Tom Tromey  <tromey@redhat.com>
11540
11541         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
11542         comment.
11543         * java/lang/ClassLoader.java (defineClass): Use chained
11544         exception when rethrowing.
11545         * defineclass.cc (handleClassBegin): Mark class as interpreted.
11546         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
11547         constants.
11548         * resolve.cc (_Jv_PrepareMissingMethods): New function.
11549         (_Jv_PrepareClass): Use it.
11550         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
11551         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
11552         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
11553         (Class): _Jv_PrepareMissingMethods now friend.
11554         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
11555         Record `NULL' for system class loader.
11556         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
11557         system class loader.
11558         (_Jv_FindClassInCache): Likewise.
11559         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
11560         (_Jv_FindClass): Special case system class loader.
11561         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
11562         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
11563         vtable slots.
11564         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
11565         in a final class.
11566         (_getDeclaredMethod): Don't return synthetic methods.
11567         (getDeclaredMethods): Likewise.
11568         (_getMethod): Likewise.
11569         (_getMethods): Likewise.
11570
11571 2002-12-18  Raif Naffah  <raif@fl.net.au>
11572
11573         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
11574         canonical form after divide().
11575         (modInverse): Likewise.
11576
11577 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
11578             Mark Wielaard  <mark@klomp.org>
11579
11580         * java/security/SecurityRandom (digest): Removed field.
11581         (SecureRandom): Check all providers for case-insensitive SecureRandom
11582         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
11583         if necessary.
11584         (getInstance(String,Provider,boolean): New method.
11585         (getInstance(String)): Use new method.
11586         (getInstance(String,String)): Likewise.
11587         (getInstance(String,Provider)): Likewise.
11588
11589 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
11590
11591         * java/security/Security.java (loadProviders): Increment i only once.
11592
11593 2002-12-12  Mark Wielaard  <mark@klomp.org>
11594
11595         * java/lang/ClassLoader.java (resolveClass0): Transform
11596         ClassNotFoundException to NoClassDefFoundError. Transform all other
11597         throwables to LinkageError.
11598
11599 2002-12-11  Tom Tromey  <tromey@redhat.com>
11600
11601         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
11602
11603         * java/lang/ClassLoader.java (loadedClasses): New field.
11604         (defineClass): Fixed indentation.  Put new class in
11605         loadedClasses.
11606         (findLoadedClass): Implement here.
11607         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
11608
11609 2002-12-10  Tom Tromey  <tromey@redhat.com>
11610
11611         * Makefile.in: Rebuilt.
11612         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11613         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
11614         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
11615         * java/lang/natClassLoader.cc
11616         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
11617
11618 2002-12-10  Mark Wielaard  <mark@klomp.org>
11619             Tom Tromey  <tromey@redhat.com>
11620
11621         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
11622         (JarURLLoader): Use it.
11623         (FileURLLoader): Likewise.
11624         (JarURLResource.getURL): Use chained exception.
11625         (FileResource.getURL): Likewise.
11626         (FileURLLoader.getResource): Use canonical file name.
11627         (addURL): Indentation fix.
11628
11629 2002-12-10  Tom Tromey  <tromey@redhat.com>
11630
11631         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
11632         From Laurent Bardet <l.bardet@magic.fr>.
11633
11634 2002-12-09  Tom Tromey  <tromey@redhat.com>
11635
11636         * include/win32.h (_Jv_platform_solib_prefix): New define.
11637         (_Jv_platform_solib_suffix): Likewise.
11638         * include/posix.h (_Jv_platform_solib_prefix): New define.
11639         (_Jv_platform_solib_suffix): Likewise.
11640         * java/lang/natRuntime.cc: Include StackTrace.h.
11641         (_load): Use findLibrary and new platform defines.
11642         (nativeGetLibname): Use new platform defines.
11643
11644         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
11645         `t' won't be null.
11646
11647 2002-12-08  Mark Wielaard  <mark@klomp.org>
11648
11649         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
11650         cache remote jar files.
11651         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
11652         add File.separator to URL when it is a directory.
11653         * java/lang/ClassLoader.java: Add Classpath javadoc.
11654         (parent): final.
11655         (getParent): Add (disabled) security check.
11656         (findLibrary): New default method.
11657         * java/net/JarURLConnection.java (getManifest): Implement.
11658         (getInputStream): Only create InputStream when entry exists.
11659         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
11660         when they exist.
11661         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
11662
11663 2002-12-08  Mark Wielaard  <mark@klomp.org>
11664
11665         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
11666         (lastDefaultLocale): New field.
11667         (getBundle): When Locale.getDefault != lastDefaultLocale reset
11668         resourceBundleCache.
11669
11670 2002-12-06  Mark Wielaard  <mark@klomp.org>
11671
11672         * java/net/InetAddress.java (toString): Use hostname when not null,
11673         don't do an explicit reverse getHostName() lookup.
11674         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
11675         NullPointerException.
11676
11677 2002-12-06  Tom Tromey  <tromey@redhat.com>
11678
11679         * include/java-interp.h (class _Jv_InterpMethod): Added
11680         JV_MARKOBJ_DECL.
11681         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
11682         mark `prepared' field of interpreted method.
11683         * interpret.cc (compile): Use _Jv_AllocBytes.
11684
11685 2002-12-05  Andrew Haley  <aph@redhat.com>
11686
11687         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
11688         #ifdef (HAVE_BACKTRACE) around the whole function body.
11689
11690 2002-12-05  Tom Tromey  <tromey@redhat.com>
11691
11692         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
11693         * resolve.cc: Don't include AbstractMethodError.h.
11694         (_Jv_abstractMethodError): Removed.
11695         * defineclass.cc (handleMethodsBegin): Initialize method index to
11696         -1.
11697         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
11698         method index for "new" final method.
11699         (_Jv_SetVTableEntries): Compare index against -1 instead of using
11700         isVirtualMethod.  Added `flags' argument.
11701         (_Jv_MakeVTable): Throw exception for abstract method in concrete
11702         class.
11703
11704 2002-12-04  Tom Tromey  <tromey@redhat.com>
11705
11706         * java/net/SocketPermission.java (hashCode): Rewrote.
11707
11708 2002-12-04  Tom Tromey  <tromey@redhat.com>
11709
11710         * Makefile.in: Rebuilt.
11711         * Makefile.am (nat_source_files): Added natVMSecurityManager,
11712         natResourceBundle.
11713         * java/util/ResourceBundle.java (Security): Removed.
11714         (getCallingClassLoader): Now native.
11715         * java/util/natResourceBundle.cc: New file.
11716         * java/lang/natVMSecurityManager.cc: New file.
11717         * java/lang/VMSecurityManager.java (getClassContext): Now native.
11718
11719 2002-12-03  Mark Wielaard  <mark@klomp.org>
11720
11721         * java/util/jar/JarFile.java (manifest): Not final.
11722         (manifestRead): New field.
11723         (JarFile): Don't read Manifest in constructor.
11724         (getManifest): New method.
11725         (JarEnumeration.nextElement): Use new method.
11726         (getEntry): Likewise.
11727         * java/util/zip/ZipFile.java (name): Final.
11728         (raf): Likewsie.
11729         (entries): Change type to Hashtable.
11730         (closed): New field.
11731         (ZipFile): Don't read enties in constructor.
11732         (readEntries): Use Hashtable.
11733         (close): Set new close flag and set entries to null inside
11734         synchronized block.
11735         (entries): Contruct enumeration using new getEntries() method and
11736         entries Hashtable.
11737         (getEntryIndex): Removed.
11738         (getEntries): New method.
11739         (getEntry): Use new getEntries() method and entries Hastable.
11740         (getInputStream): Likewise.
11741         (size): Return getEntries().size().
11742         (ZipEntryEnumeration): Wrap entries Hashtable elements.
11743         * java/util/zip/ZipEntry.java (cal): Don't initialize.
11744         (time): Removed
11745         (dostime): New field.
11746         (zipFileIndex): Removed.
11747         (ZipEntry(ZipEntry)): Copy dostime.
11748         (setDOSTime): Now final and doesn't convert dos time.
11749         (getDOSTime): Likewise.
11750         (setTime): Convert dos time.
11751         (getTime): Likewise.
11752         (getCalendar): New method.
11753         (setExtra): Use setTime().
11754         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
11755
11756 2002-12-03  Tom Tromey  <tromey@redhat.com>
11757
11758         * java/lang/Character.java (forDigit): Formatting fix.
11759
11760 2002-12-03  Raif Naffah  <raif@fl.net.au>
11761
11762         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
11763         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
11764         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
11765
11766 2002-12-03  Andrew Haley  <aph@redhat.com>
11767
11768         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
11769         _Jv_PushClass.
11770         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
11771         (_Jv_PopClass): New.
11772         (_Jv_PushClass): New.
11773         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
11774         discover the ClassLoader of our caller.
11775         (_Jv_CheckArrayStore): Don't check that a class is assignment
11776         compatible with Object.
11777         * java/lang/natVMTHrowable.cc: Delete.
11778         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
11779         java.lang.VMThrowable.
11780         (StackTrace(), StackTrace(int)): New constructors.
11781         (classAt, methodAt, update, methodAtAddress): New methods.
11782         (map): New field.
11783         * java/lang/VMThrowable.java: Use StackTrace instead of
11784         natVMTHrowable.
11785         * java/lang/Class.h (getClassLoaderInternal): New.
11786         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
11787         Be friendly with gnu::gcj::runtime::StackTrace.
11788         (Object.chain): New field.
11789         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
11790         gnu::gcj::runtime::StackTrace.
11791         * gnu/gcj/runtime/natStackTrace.cc: New file.
11792         * gnu/gcj/runtime/MethodRef.java: New file.
11793         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
11794         instead of getClassLoader().
11795         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
11796         java::lang::VMThrowable.
11797         * Makefile.am (core_java_source_files): Add MethodRef.java,
11798         StackTrace.java.
11799         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
11800         * Makefile.in: Rebuild.
11801
11802 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
11803
11804         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
11805         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
11806         yes also for sh-linux* and sh[34]*-linux*.
11807         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
11808         set SIGNAL_HANDLER to use DWARF2 exception for them.
11809         * configure: Regenerate.
11810
11811 2002-12-02  Tom Tromey  <tromey@redhat.com>
11812
11813         * jni.cc: Added `name' argument.
11814         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
11815         `const char *' argument.
11816         (class _Jv_JNIEnv) [DefineClass]: Likewise.
11817
11818 2002-12-01  Tom Tromey  <tromey@redhat.com>
11819
11820         Bug compatibility, for PR libgcj/8738:
11821         * java/io/CharArrayWriter.java (close): Do nothing.
11822         (flush): Likewise.
11823         (reset): Don't touch `closed'.
11824         (write(int)): Don't throw IOException.
11825         (write(char[],int,int)): Likewise.
11826         (write(String,int,int)): Likewise.
11827         (closed): Removed.
11828
11829 2002-12-01  Mark Wielaard  <mark@klomp.org>
11830
11831         * java/lang/SecurityManager.java: Remerge comments, indenting and
11832         checkXXX methods with Classpath.
11833
11834 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
11835
11836         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
11837         getNormalizedComponents): Fix calculation which was using one too
11838         many bits in the unnormalized format.
11839
11840 2002-11-29  Gary Benson  <gbenson@redhat.com>
11841
11842         For PR libgcj/8759:
11843         * java/beans/Introspector.java (flushCaches): New method.
11844         (flushFromCaches): Likewise.
11845
11846 2002-11-29  Michael Koch <konqueror@gmx.de>
11847
11848         * java/nio/channels/DatagramChannel.java
11849         (open): Added exception documentation.
11850         (write): Added exception documentation.
11851         (connect): Added exception documentation.
11852         (disconnect): Added exception documentation.
11853         (isConnected): Added exception documentation.
11854         (read): Added exception documentation.
11855         (receive): Added exception documentation.
11856         (send): Added exception documentation.
11857         (validOps): Added exception documentation.
11858         * java/nio/channels/SocketChannel.java
11859         (open): Added exception documentation.
11860         (read): Added exception documentation.
11861         (write): Added exception documentation.
11862         (connect): Added exception documentation.
11863         (finishConnect): Added exception documentation.
11864
11865 2002-11-29  Michael Koch <konqueror@gmx.de>
11866
11867         * gnu/java/nio/DatagramChannelImpl:
11868         (fd): New member variable to store file descriptor of socket.
11869         * gnu/java/nio/SelectionKeyImpl.java:
11870         (ops): Removed.
11871         (readyOps): New member variable.
11872         (interestOps): New member variable.
11873         (readyOps): Implemented.
11874         (readyOps): New method to set member variable readyOps.
11875         (interestOps): Replaced ops by interestOps.
11876         * gnu/java/nio/SelectorImpl.java:
11877         (SelectorImpl): Initialize key sets.
11878         (select): Call select with -1 instead of Long.MAX_VALUE).
11879         (java_do_select): Make it a native method.
11880         (getFDsAsArray): New helper method.
11881         (select): Remove canceled keys, give only interested file discriptors
11882         to java_do_select, set ready ops.
11883         (add): No need to initialize keys set here.
11884         (add_selected): No need to initialize selected set here.
11885         (deregisterCanceledKeys): New helper method.
11886         (register): Set interest ops, set attachments, added handling of datagram
11887         channels.
11888         * gnu/java/nio/ServerSocketChannelImpl:
11889         (SocketAccept): Renamed from NioSocketAccept.
11890         (implConfigureBlocking): Implemented.
11891         (accept): Use SocketAccept instead of NioSocketAccept.
11892         * gnu/java/nio/SocketChannelImpl:
11893         Reactivate native methods.
11894
11895 2002-11-29  Michael Koch <konqueror@gmx.de>
11896
11897         * gnu/java/nio/natByteBufferImpl.cc,
11898         gnu/java/nio/natCharBufferImpl.cc,
11899         gnu/java/nio/natDoubleBufferImpl.cc,
11900         gnu/java/nio/natFloatBufferImpl.cc,
11901         gnu/java/nio/natIntBufferImpl.cc,
11902         gnu/java/nio/natLongBufferImpl.cc,
11903         gnu/java/nio/natSelectorImpl.cc,
11904         gnu/java/nio/natServerSocketChannelImpl.cc,
11905         gnu/java/nio/natShortBufferImpl.cc,
11906         gnu/java/nio/natSocketChannelImpl.cc:
11907         New files that implement native functionalities.
11908
11909 2002-11-29  Michael Koch <konqueror@gmx.de>
11910
11911         * gnu/java/nio/ByteBufferImpl.java
11912         (ByteBufferImpl): Moved position() after limit.
11913         (nio_*): Use native implementation.
11914         * gnu/java/nio/CharBufferImpl.java:
11915         Reformated.
11916         (endian): New member variable string endianess of buffer.
11917         (CharBufferImpl): Moved position() after limit.
11918         (nio_*): Use native implementation.
11919         (subSequence): Implemented.
11920         * gnu/java/nio/DoubleBufferImpl.java
11921         (DoubleBufferImpl): Moved position() after limit.
11922         (nio_*): Use native implementation.
11923         * gnu/java/nio/FloatBufferImpl.java
11924         Reformated.
11925         (FloatBufferImpl): Moved position() after limit.
11926         (nio_*): Use native implementation.
11927         * gnu/java/nio/IntBufferImpl.java
11928         Added needed imports, Reformated.
11929         (IntBufferImpl): Moved position() after limit.
11930         (nio_*): Use native implementation.
11931         * gnu/java/nio/LongBufferImpl.java
11932         Reformated.
11933         (LongBufferImpl): Moved position() after limit.
11934         (nio_*): Use native implementation.
11935         * gnu/java/nio/ShortBufferImpl.java
11936         Reformated.
11937         (ShortBufferImpl): Moved position() after limit.
11938         (nio_*): Use native implementation.
11939
11940 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
11941
11942         * java/util/Locale.java (toString): Improve efficiency if country
11943         and variant are both empty.
11944
11945 2002-11-26  Tom Tromey  <tromey@redhat.com>
11946
11947         * verify.cc (pop_init_ref): New method.
11948         (verify_instructions_0) [op_iaload, op_laload, op_faload,
11949         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
11950         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
11951         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
11952         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
11953         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
11954         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
11955         let `this' argument be uninitialized.  Don't let `null' be passed
11956         as `this' to construtor.
11957
11958 2002-11-26  Mark Wielaard  <mark@klomp.org>
11959
11960         * javax/transaction/HeuristicCommitException.java: Classpath merge.
11961         * javax/transaction/HeuristicMixedException.java: Likewise.
11962         * javax/transaction/HeuristicRollbackException.java: Likewise.
11963         * javax/transaction/InvalidTransactionException.java: Likewise.
11964         * javax/transaction/NotSupportedException.java: Likewise.
11965         * javax/transaction/RollbackException.java: Likewise.
11966         * javax/transaction/Status.java: Likewise.
11967         * javax/transaction/Synchronization.java: Likewise.
11968         * javax/transaction/SystemException.java: Likewise.
11969         * javax/transaction/Transaction.java: Likewise.
11970         * javax/transaction/TransactionManager.java: Likewise.
11971         * javax/transaction/TransactionRequiredException.java: Likewise.
11972         * javax/transaction/TransactionRolledbackException.java: Likewise.
11973         * javax/transaction/UserTransaction.java: Likewise.
11974         * javax/transaction/xa/XAException.java: Likewise.
11975         * javax/transaction/xa/XAResource.java: Likewise.
11976         * javax/transaction/xa/Xid.java: Likewise.
11977
11978 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
11979
11980         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
11981         define.
11982         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
11983         * include/posix.h (socklen_t): Define if not already defined.
11984
11985 2002-11-25  Tom Tromey  <tromey@redhat.com>
11986
11987         * verify.cc (type::compatible): Backed out broken change.
11988
11989         * verify.cc (type::compatible): Check initialization status
11990         first.
11991         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
11992         Don't use NULLCHECK.
11993
11994 2002-11-23  H.J. Lu <hjl@gnu.org>
11995
11996         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
11997         Include ../config/accross.m4.
11998         * aclocal.m4; Rebuild.
11999         * configure: Likewise.
12000
12001 2002-11-23  Mark Wielaard  <mark@klomp.org>
12002
12003         * javax/naming/AuthenticationException.java: Update copyright header.
12004         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
12005         * javax/naming/Binding.java: Likewise.
12006         * javax/naming/CannotProceedException.java: Likewise.
12007         * javax/naming/CommunicationException.java: Likewise.
12008         * javax/naming/CompositeName.java: Likewise.
12009         * javax/naming/CompoundName.java: Likewise.
12010         * javax/naming/ConfigurationException.java: Likewise.
12011         * javax/naming/Context.java: Likewise.
12012         * javax/naming/ContextNotEmptyException.java: Likewise.
12013         * javax/naming/InitialContext.java: Likewise.
12014         * javax/naming/InsufficientResourcesException.java: Likewise.
12015         * javax/naming/InterruptedNamingException.java: Likewise.
12016         * javax/naming/LimitExceededException.java: Likewise.
12017         * javax/naming/LinkException.java: Likewise.
12018         * javax/naming/LinkLoopException.java: Likewise.
12019         * javax/naming/LinkRef.java: Likewise.
12020         * javax/naming/MalformedLinkException.java: Likewise.
12021         * javax/naming/NameAlreadyBoundException.java: Likewise.
12022         * javax/naming/NameClassPair.java: Likewise.
12023         * javax/naming/NameNotFoundException.java: Likewise.
12024         * javax/naming/NameParser.java: Likewise.
12025         * javax/naming/NamingEnumeration.java: Likewise.
12026         * javax/naming/NamingSecurityException.java: Likewise.
12027         * javax/naming/NoInitialContextException.java: Likewise.
12028         * javax/naming/NoPermissionException.java: Likewise.
12029         * javax/naming/NotContextException.java: Likewise.
12030         * javax/naming/OperationNotSupportedException.java: Likewise.
12031         * javax/naming/PartialResultException.java: Likewise.
12032         * javax/naming/Reference.java: Likewise.
12033         * javax/naming/Referenceable.java: Likewise.
12034         * javax/naming/ReferralException.java: Likewise.
12035         * javax/naming/ServiceUnavailableException.java: Likewise.
12036         * javax/naming/SizeLimitExceededException.java: Likewise.
12037         * javax/naming/TimeLimitExceededException.java: Likewise.
12038         * javax/naming/directory/Attribute.java: Likewise.
12039         * javax/naming/directory/AttributeInUseException.java: Likewise.
12040         * javax/naming/directory/AttributeModificationException.java: Likewise.
12041         * javax/naming/directory/Attributes.java: Likewise.
12042         * javax/naming/directory/BasicAttribute.java: Likewise.
12043         * javax/naming/directory/BasicAttributes.java: Likewise.
12044         * javax/naming/directory/DirContext.java: Likewise.
12045         * javax/naming/directory/InitialDirContext.java: Likewise.
12046         * javax/naming/directory/InvalidAttributeIdentifierException.java:
12047         Likewise.
12048         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
12049         * javax/naming/directory/InvalidAttributesException.java: Likewise.
12050         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
12051         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
12052         * javax/naming/directory/ModificationItem.java: Likewise.
12053         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
12054         * javax/naming/directory/SchemaViolationException.java: Likewise.
12055         * javax/naming/directory/SearchControls.java: Likewise.
12056         * javax/naming/directory/SearchResult.java: Likewise.
12057         * javax/naming/event/EventContext.java: Likewise.
12058         * javax/naming/event/EventDirContext.java: Likewise.
12059         * javax/naming/event/NamespaceChangeListener.java: Likewise.
12060         * javax/naming/event/NamingEvent.java: Likewise.
12061         * javax/naming/event/NamingExceptionEvent.java: Likewise.
12062         * javax/naming/event/NamingListener.java: Likewise.
12063         * javax/naming/event/ObjectChangeListener.java: Likewise.
12064         * javax/naming/ldap/Control.java: Likewise.
12065         * javax/naming/ldap/ControlFactory.java: Likewise.
12066         * javax/naming/ldap/ExtendedRequest.java: Likewise.
12067         * javax/naming/ldap/ExtendedResponse.java: Likewise.
12068         * javax/naming/ldap/HasControls.java: Likewise.
12069         * javax/naming/ldap/InitialLdapContext.java: Likewise.
12070         * javax/naming/ldap/LdapContext.java: Likewise.
12071         * javax/naming/ldap/LdapReferralException.java: Likewise.
12072         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
12073         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
12074         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
12075         * javax/naming/spi/DirObjectFactory.java: Likewise.
12076         * javax/naming/spi/DirStateFactory.java: Likewise.
12077         * javax/naming/spi/DirectoryManager.java: Likewise.
12078         * javax/naming/spi/InitialContextFactory.java: Likewise.
12079         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
12080         * javax/naming/spi/NamingManager.java: Likewise.
12081         * javax/naming/spi/ObjectFactory.java: Likewise.
12082         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
12083         * javax/naming/spi/ResolveResult.java: Likewise.
12084         * javax/naming/spi/Resolver.java: Likewise.
12085         * javax/naming/spi/StateFactory.java: Likewise.
12086
12087         * javax/naming/spi/NamingManager.java (ofb): Package private.
12088
12089 2002-11-21  Mark Wielaard  <mark@klomp.org>
12090
12091         * java/net/URL.java: Merge with Classpath (partly).
12092         * java/net/URLStreamHandler: Merge with Classpath.
12093
12094 2002-11-22  Michael Koch <konqueror@gmx.de>
12095
12096         * include/posix.h:
12097         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12098         * include/win32.h:
12099         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12100         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
12101
12102 2002-11-21  Michael Koch <konqueror@gmx.de>
12103
12104         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
12105         Only the new network functions should be in it.
12106
12107 2002-11-21  Michael Koch <konqueror@gmx.de>
12108
12109         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12110         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12111
12112 2002-11-21  Michael Koch <konqueror@gmx.de>
12113
12114         * java/nio/channels/AsynchronousCloseException.java,
12115         java/nio/channels/CancelledKeyException.java,
12116         java/nio/channels/ClosedByInterruptException.java,
12117         java/nio/channels/ConnectionPendingException.java,
12118         java/nio/channels/FileLockInterruptionException.java,
12119         java/nio/channels/IllegalSelectorException.java,
12120         java/nio/channels/NoConnectionPendingException.java,
12121         java/nio/channels/NonReadableChannelException.java,
12122         java/nio/channels/NonWritableChannelException.java,
12123         java/nio/channels/NotYetBoundException.java,
12124         java/nio/channels/NotYetConnectedException.java,
12125         java/nio/channels/OverlappingFileLockException.java,
12126         java/nio/channels/UnresolvedAddressException.java,
12127         java/nio/channels/UnsupportedAddressTypeException.java:
12128         New files.
12129         * Makefile.am (ordinary_java_source_files): Added new files.
12130         * Makefile.in: Regenerated.
12131
12132 2002-11-21  Michael Koch <konqueror@gmx.de>
12133
12134         * include/posix.h
12135         (_Jv_socket): New method.
12136         (_Jv_connect): New method.
12137         (_Jv_close): New method.
12138         (_Jv_platform_close_on_exec): Prefixed system function with "::".
12139         (_Jv_bind): New method.
12140         (_Jv_listen): New method.
12141         (_Jv_write): New method.
12142         (_Jv_read): New method.
12143         * include/win32.h
12144         (_Jv_socket): New method.
12145         (_Jv_connect): New method.
12146         (_Jv_close): New method.
12147         (_Jv_bind): New method.
12148         (_Jv_listen): New method.
12149         (_Jv_write): New method.
12150         (_Jv_read): New method.
12151         * java/net/natNetworkInterface.cc:
12152         Include platform.h, removed inclusion of socket.h
12153         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
12154         ::close() by _Jv_close().
12155         * java/net/natPlainDatagramSocketImpl.cc:
12156         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
12157         added some new lines to make code more readable.
12158         (create): Replaced ::socket() by _Jv_socket().
12159         (close): Replaced NATIVE_CLOSE() by _Jv_close().
12160         * java/net/natPlainSocketImpl.cc:
12161         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
12162         removed include of socket.h, removed some windows defines
12163         (now in include/win32.h).
12164         (create): Replaced ::socket() by _Jv_socket().
12165         (close): Replaced NATIVE_CLOSE() by _Jv_close().
12166         (write): Replaced ::read by _Jv_write().
12167         (read): Replaced ::read by _Jv_read().
12168
12169 2002-11-20  Michael Koch <konqueror@gmx.de>
12170
12171         * Makefile.am (ordinary_java_source_files):
12172         Added java/nio/channels/FileChannel.java.
12173         * Makefile.in: Regenerated.
12174
12175 2002-11-20  Michael Koch <konqueror@gmx.de>
12176
12177         * java/io/FileInputStream.java
12178         (getChannel): New method.
12179         * java/io/FileOutputStream.java
12180         (getChannel): New method.
12181         * java/net/ServerSocket.java
12182         (bind): Removed duplicate code and called another bind method instead.
12183         * java/nio/channels/SelectionKey.java
12184         (isValid): Removed wrong exception documentation.
12185         * java/nio/channels/ServerSocketChannel.java
12186         (accept): Added exception documentation.
12187         (open): Fixed typo, added exception documentation.
12188         * java/nio/channels/spi/AbstractSelectableChannel.java
12189         (implCloseChannel): Added exception documentation.
12190         (add): Reformated.
12191         (register): Added exception documentation.
12192
12193 2002-11-20  Andreas Jaeger  <aj@suse.de>
12194
12195         * configure: Regenerated with new libtool.m4.
12196
12197 2002-11-19  Tom Tromey  <tromey@redhat.com>
12198
12199         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
12200         `referent'.
12201         (finalize_referred_to_object): Don't modify `referent' or `copy'
12202         fields.
12203         (add_to_hash): Correctly set `n->next' when updating list.
12204         * java/lang/ref/Reference.java (enqueue): Return false if already
12205         enqueued.
12206
12207 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
12208
12209         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
12210         to function and function pointer declarations in accordance with
12211         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
12212         based on whether __GCJ_JNI_IMPL__ has been defined or not.
12213         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
12214         JNI function definitions.
12215
12216 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12217
12218         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
12219         that was causing CoderResults to be cached, not WeakReferences
12220         to CoderResults.
12221
12222 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
12223
12224         * java/security/KeyStore.java (getInstance): Fix
12225         comment and throw IllegalArgumentException if
12226         given provider is null.
12227         (getInstance): New method for jdk1.4 compatibility.
12228
12229 2002-11-18  Michael Koch <konqueror@gmx.de>
12230
12231         * java/net/PlainSocketImpl.java: Fix imports.
12232
12233 2002-11-18  Michael Koch <konqueror@gmx.de>
12234
12235         * java/nio/channels/SelectionKey.java
12236         (isValid): Added exception documentation.
12237         * java/nio/channels/Selector.java
12238         (open): Declare "throws IOException".
12239
12240 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12241
12242         * java/nio/charset/Charset.java
12243         (<clinit>): New method.
12244         (encode): Synchronize use of cached encoder object.
12245         (decode): Synchronize use of cached encoder object.
12246
12247 2002-11-18  Michael Koch <konqueror@gmx.de>
12248
12249         * gnu/java/nio/ByteBufferImpl.java,
12250         gnu/java/nio/CharBufferImpl.java,
12251         gnu/java/nio/DatagramChannelImpl.java,
12252         gnu/java/nio/DoubleBufferImpl.java,
12253         gnu/java/nio/FileChannelImpl.java,
12254         gnu/java/nio/FloatBufferImpl.java,
12255         gnu/java/nio/IntBufferImpl.java,
12256         gnu/java/nio/LongBufferImpl.java,
12257         gnu/java/nio/PipeImpl.java,
12258         gnu/java/nio/SelectionKeyImpl.java,
12259         gnu/java/nio/SelectorImpl.java,
12260         gnu/java/nio/SelectorProviderImpl.java,
12261         gnu/java/nio/ServerSocketChannelImpl.java,
12262         gnu/java/nio/ShortBufferImpl.java,
12263         gnu/java/nio/SocketChannelImpl.java,
12264         java/nio/DoubleBuffer.java,
12265         java/nio/FloatBuffer.java,
12266         java/nio/IntBuffer.java,
12267         java/nio/LongBuffer.java,
12268         java/nio/ShortBuffer.java,
12269         java/nio/channels/FileChannel.java: New files.
12270
12271 2002-11-18  Michael Koch <konqueror@gmx.de>
12272
12273         * Makefile.am (ordinary_java_source_files):
12274         Added java/nio/ReadOnlyBufferException.java and
12275         java/nio/channels/ClosedSelectorException.java.
12276         * Makefile.in: Regenerated.
12277
12278 2002-11-18  Michael Koch <konqueror@gmx.de>
12279
12280         * java/net/PlainSocketImpl.java: Reworked imports.
12281         * java/net/ServerSocket.java
12282         (ServerSocket): Create socket.
12283         * java/net/SocketAddress.java: Documentation added.
12284         * java/net/natPlainSocketImpl.cc: Reindented.
12285         * java/nio/ReadOnlyBufferException.java: New file
12286         * java/nio/channels/ClosedChannelException.java: Documentation added.
12287         * java/nio/channels/ClosedSelectorException.java: New file.
12288
12289 2002-11-17  Mark Wielaard  <mark@klomp.org>
12290
12291         * java/net/HttpURLConnection.java ((getPermission): Take port
12292         into consideration.
12293         (getErrorStream): Implement.
12294
12295 2002-11-17  Mark Wielaard  <mark@klomp.org>
12296
12297         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
12298
12299 2002-11-16  Mark Wielaard  <mark@klomp.org>
12300
12301         Integrate work by Raif S. Naffah (raif@fl.net.au)
12302         * java/security/DummyKeyPairGenerator.java (clone): New method.
12303         * java/security/DummyMessageDigest.java (clone): New method.
12304         (engineUpdate): Now public.
12305         (engineReset): Likewise.
12306         (engineDigest): Likewise.
12307         (engineGetDigestLength): New method.
12308         * java/security/DummySignature.java (clone): New method.
12309         * java/security/KeyPairGenerator.java (provider): Now package private.
12310         (getInstance(String)): Use getInstance(String,Provider).
12311         (getInstance(String,String): Use getInstance(String,Provider)
12312         (getInstance(String,Provider): New method.
12313         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
12314         * java/security/KeyPairGeneratorSpi.java (clone): New method.
12315         * java/security/MessageDigest.java (provider): Now package private.
12316         (getInstance(String): Use getInstance(String,Provider).
12317         (getInstance(String,String): Use getInstance(String,Provider)
12318         (getInstance(String,Provider): New method.
12319         * java/security/Provider.java (toCanonicalKey): New method.
12320         (get): New method that uses toCanonicalKey().
12321         (put): Use toCanonicalKey().
12322         (remove): Likewise.
12323         * java/security/Security.java (insertProviderAt): Provider index is one
12324         based, not zero based.
12325         (addProvider): Likewise.
12326         (removeProvider): Likewise.
12327         * java/security/Signature.java (provider): Now package private.
12328         (getInstance(String)): Use getInstance(String,Provider).
12329         (getInstance(String,String): Use getInstance(String,Provider)
12330         (getInstance(String,Provider): New method.
12331         (getInstance(String,String,Provider): Don't cast DummySignature.
12332
12333 2002-11-15  Tom Tromey  <tromey@redhat.com>
12334
12335         For PR libgcj/8593:
12336         * java/util/zip/GZIPInputStream.java (read): Check file size.
12337         Look in inflater for remaining input bytes.
12338         (read4): Added buf and offset arguments.
12339
12340 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
12341
12342         * java/applet/AppletContext.java: Fix typo and remove redundant
12343         modifiers.
12344
12345 2002-11-14  Tom Tromey  <tromey@redhat.com>
12346
12347         * java/lang/natRuntime.cc (insertSystemProperties): Set
12348         gnu.classpath.home.
12349
12350 2002-11-13  Michael Koch <konqueror@gmx.de>
12351
12352         * java/nio/ByteBuffer.java
12353         (allocate): New method.
12354         (wrap): New method.
12355         (put): New method.
12356         (get): New method.
12357
12358 2002-11-13  Michael Koch <konqueror@gmx.de>
12359
12360         * java/nio/channels/AlreadyConnectedException.java:
12361         Removed unneeded import.
12362         (AlreadyConnectedException): Documentation added.
12363         * java/nio/channels/Pipe.java
12364         (SinkChannel.SinkChannel): Documentation added.
12365         (SinkChannel.validOps): New method.
12366         (SourceChannel.SourceChannel): Documentation added.
12367         (SourceChannel.validOps): New method.
12368         (Pipe): Documentation added.
12369         (open): Documentation added.
12370         (SinkChannel.channel): Documentation added.
12371         (SourceChannel.channel): Documentation added.
12372         * java/nio/channel/SelectableChannel.java
12373         (SelectableChannel): Documentation added.
12374         (blockingLock): Documentation added.
12375         (configureBlocking):Documentation added.
12376         (isBlocking):Documentation added.
12377         (isRegistered):Documentation added.
12378         (keyFor):Documentation added.
12379         (provider):Documentation added.
12380         (register): Documentation added.
12381         (validOps): Documentation added.
12382         * jaba/nio/channels/SelectionKey.java
12383         (SelectionKey): Documentation added.
12384         (attach): Documentation added.
12385         (attachment): Documentation added.
12386         (isAcceptable): Documentation added.
12387         (isConnetable): Documentation added.
12388         (isReadable): Documentation added.
12389         (isWritable): Documentation added.
12390         (cancel): Documentation added.
12391         (channel): Documentation added.
12392         (interestOps): Documentation added.
12393         (isValid): Documentation added.
12394         (readyOps): Documentation added.
12395         (selector): Documentation added.
12396         * jaba/nio/channels/Selector.java
12397         (Selector): Documentation added.
12398         (open): Documentation added.
12399         (close): Documentation added.
12400         (isOpen): Documentation added.
12401         (keys): Documentation added.
12402         (provider): Documentation added.
12403         (select): Documentation added.
12404         (selectedKeys): Documentation added.
12405         (selectNow): Documentation added.
12406         (wakeup): Documentation added.
12407         * java/nio/channels/spi/AbstractInterruptibleChannel.java
12408         (AbstractInterruptibleChannel): Documentation added.
12409         (opened): Default to true;
12410         (begin): Documentation added.
12411         (close): Set opened to false, documentation added.
12412         (isOpen): Documentation added.
12413         * java/nio/channels/spi/AbstractSelectionKey.java
12414         (AbstractSelectionKey): Documentation added.
12415         (cancel): Documentation added.
12416         (isValid): Documentation added.
12417         * java/nio/channels/spi/AbstractSelector.java
12418         (AbstractSelector): Documentation added.
12419         (begin): Documentation added.
12420         (close): Documentation added.
12421         (isOpen): Documentation added.
12422         (deregister): Documentation added.
12423         (end): Documentation added.
12424         (provider): Documentation added.
12425         (implCloseSelector): Documentation added.
12426         (register): Documentation added.
12427         * java/nio/channels/spi/SelectorProvider.java
12428         (SelectorProvider): Documentation added.
12429         (openDatagramChannel): Documentation added.
12430         (openPipe): Documentation added.
12431         (openSelector): Documentation added.
12432         (openServerSocketChannel): Documentation added.
12433         (openSocketChannel): Documentation added.
12434         (provider): Documentation added.
12435
12436 2002-11-12  Michael Koch <konqueror@gmx.de>
12437
12438         * java/nio/Buffer.java: Implemented.
12439         * java/nio/CharBuffer.java: New file.
12440         * java/nio/InvalidMarkException.java: New file.
12441         * java/nio/channels/DatagramChannel.java: Implemented.
12442         * java/nio/channels/ServerSocketChannel.java: Implemented.
12443         * java/nio/channels/SocketChannel.java: Implemented.
12444         * java/nio/channels/spi/AbstractChannel.java: Removed.
12445         * java/nio/channels/spi/AbstractSelectableChannel.java:
12446         Implemented.
12447         * java/nio/charset/Charset.java:
12448         Merge from Classpath.
12449         * java/nio/charset/CharsetDecoder.java: New file.
12450         * java/nio/charset/CharsetEncoder.java: New file.
12451         * java/nio/charset/CoderResult.java: New file.
12452         * Makefile.am (ordinary_java_source_files): Added new files.
12453         * Makefile.in: Regenerated.
12454
12455 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12456
12457         * gnu/java/nio/charset/ISO_8859_1.java,
12458         gnu/java/nio/charset/Provider.java,
12459         gnu/java/nio/charset/US_ASCII.java,
12460         gnu/java/nio/charset/UTF_16.java,
12461         gnu/java/nio/charset/UTF_16BE.java,
12462         gnu/java/nio/charset/UTF_16Decoder.java,
12463         gnu/java/nio/charset/UTF_16Encoder.java,
12464         gnu/java/nio/charset/UTF_16LE.java,
12465         gnu/java/nio/charset/UTF_8.java: New files.
12466
12467 2002-11-11  Michael Koch <konqueror@gmx.de>
12468
12469         * java/nio/charset/CharacterCodingException.java:
12470         This class must be public.
12471         * java/nio/charset/CoderMalfunctionError.java:
12472         This class must be public.
12473         * java/nio/charset/CodingErrorAction.java:
12474         This class must be public.
12475         * java/nio/charset/IllegalCharsetNameException.java:
12476         This class must be public, better implementation.
12477         * java/nio/charset/MalformedInputException.java:
12478         This class must be public, better implementation.
12479         * java/nio/charset/UnmappableCharacterException.java:
12480         This class must be public, better implementation.
12481         * java/nio/charset/UnsupportedCharsetException.java:
12482         This class must be public, better implementation.
12483
12484 2002-11-11  Michael Koch <konqueror@gmx.de>
12485
12486         * java/nio/BufferOverflowException.java,
12487         java/nio/BufferUnderflowException.java: New file.
12488         * Makefile.am (ordinary_java_source_files):
12489         Added new files.
12490         * Makefile.in: Regenerated.
12491
12492 2002-11-10  Tom Tromey  <tromey@redhat.com>
12493
12494         * java/awt/Container.java (validate): Use tree lock.
12495         (getComponent): Likewise.
12496         (getComponents): Likewise.
12497         (addImpl): Likewise.
12498         (remove): Likewise.
12499         (removeAll): Likewise.
12500         (processEvent): Fixed indentation.
12501         (getComponentAt): Use tree lock.
12502         (findComponentAt): Likewise.
12503         (removeNotify): Likewise.
12504         (isAncestorOf): Likewise.
12505         (list): Likewise.
12506         (visitChildren): Likewise.
12507         (findNextFocusComponent): Likewise.
12508         (addNotifyContainerChildren): Likewise.
12509         (getAccessibleChildrenCount): Likewise.
12510         (getAccessibleChild): Likewise.
12511
12512         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
12513         (getSize): Likewise.
12514         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
12515         (getSize): Likewise.
12516         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
12517         (calcSize): Likewise.
12518         * java/awt/CardLayout.java (getSize): Use tree lock.
12519         (gotoComponent): Likewise.
12520         (layoutContainer): Likewise.
12521
12522         * java/io/natFileDescriptorWin32.cc (read): Handle case where
12523         count is 0.
12524         * java/io/natFileDescriptorPosix.cc (read): Handle case where
12525         count is 0.
12526
12527         * java/io/Externalizable.java, java/io/FilePermission.java,
12528         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
12529         java/io/SerializablePermission.java, java/text/Format.java,
12530         java/util/AbstractMap.java, java/util/HashMap.java,
12531         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
12532         versions from Classpath.
12533
12534 2002-11-10  Anthony Green  <green@redhat.com>
12535
12536         * java/util/jar/Attributes.java (Name): Fix name check.
12537
12538 2002-11-10  Mark Wielaard  <mark@klomp.org>
12539
12540         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
12541         with getName() as message.
12542         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
12543         type as message.
12544
12545         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
12546         unused.
12547
12548 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
12549
12550         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
12551         for Win32. JNICALL has been defined to __stdcall to be compatible
12552         with Sun's JDKs.
12553
12554 2002-11-10  Tom Tromey  <tromey@redhat.com>
12555
12556         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
12557         (setRows): Check newRows, not rows.
12558
12559         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
12560
12561 2002-11-09  Tom Tromey  <tromey@redhat.com>
12562
12563         * java/applet/Applet.java, java/applet/AppletContext.java,
12564         java/applet/AppletStub.java, java/applet/AudioClip.java,
12565         java/awt/CardLayout.java,
12566         java/awt/ContainerOrderFocusTraversalPolicy.java,
12567         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
12568         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
12569         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
12570         java/awt/color/ICC_ColorSpace.java,
12571         java/awt/color/ICC_Profile.java,
12572         java/awt/color/ICC_ProfileGray.java,
12573         java/awt/color/ICC_ProfileRGB.java,
12574         java/awt/datatransfer/DataFlavor.java,
12575         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
12576         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
12577         New versions from Classpath.
12578         * Makefile.in: Rebuilt.
12579         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
12580         ICC_ProfileRGB.
12581
12582         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
12583         display policy.
12584
12585         * java/awt/List.java (processEvent): Added missing `else's.
12586
12587         * java/awt/Window.java (show): validate() before showing.  Make
12588         parent displayable.
12589         (isDisplayable): New method.
12590
12591 2002-11-07  Mark Wielaard  <mark@klomp.org>
12592
12593         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
12594         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
12595
12596         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
12597         annotation.
12598         (loadClass): Take String as codebases.
12599         (getClassAnnotation): Use MyClassLoader annotations.
12600         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
12601         call exportObject(this).
12602
12603         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
12604         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
12605         (setAnnotation): Don't set locBytesStream and locStream.
12606         (replaceObject): Removed.
12607         (flush): Don't test locStream.
12608         (getLocBytes): LikeWise.
12609         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
12610         (leaseCache): New field.
12611         (dirty): Use leaseCache.
12612         (LeaseRecord): New inner class.
12613         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
12614         explicitly call exportObject().
12615         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
12616         false to communicate with Sun JDK130.
12617         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
12618         * gnu/java/rmi/server/RMIObjectInputStream.java
12619         (UnicastConnectionManager): Removed field.
12620         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
12621         Use UnicastServer.getExportedRef().
12622         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
12623         (expireTime): Likewise.
12624         (CONNECTION_TIMEOUT): Likewise.
12625         (disconnect): Call sock.close().
12626         (isExpired): New method.
12627         (resetTime): Likewise.
12628         (run): Use do while loop and catch Exception for discardConnection().
12629         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
12630         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
12631         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
12632         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
12633         (exportObject): Use refcache.
12634         (unexportObject): Likewise.
12635         (getExportedRef): New method.
12636         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
12637         constructor.
12638         (exportObject): Save manager.serverobj.
12639         (getStub): New method.
12640
12641 2002-11-07  Mark Wielaard  <mark@klomp.org>
12642
12643         * java/lang/reflect/natField.cc (getBoolean): Use getType().
12644         (getByte): Likewise.
12645         (getShort): Likewise.
12646         (getInt): Likewise.
12647         (getLong): Likewise.
12648         (getFloat): Likewise.
12649         (getDouble): Likewise.
12650         (get): Likewise.
12651         (setChar): Likewise.
12652         (setByte): Likewise.
12653         (setShort): Likewise.
12654         (setInt): Likewise.
12655         (setLong): Likewise.
12656         (setFloat): Likewise.
12657         (setDouble): Likewise.
12658
12659 2002-11-07  Michael Koch <konqueror@gmx.de>
12660
12661         * java/awt/Choice.java,
12662         java/awt/Container.java,
12663         java/awt/GridBagLayout.java:
12664         Fixed documentation.
12665         * java/awt/peer/ContainerPeer.java:
12666         Reindented.
12667
12668 2002-11-07  Michael Koch <konqueror@gmx.de>
12669
12670         * java/awt/color/ICC_Profile.java:
12671         Added missing constants.
12672         * java/awt/color/ICC_ColorSpace.java
12673         (getMinValue): Added dummy implementation.
12674         (getMaxValue): Added dummy implementation.
12675         * java/awt/datatransfer/DataFlavor.java
12676         (imageFlavor): Added.
12677         (isMimeTypeEqual): Must be final.
12678         (getDefaultRepresentationClass): Must be non-static.
12679         (getDefaultRepresentationClassAsString): Must be non-static.
12680         * java/awt/dnd/DragSourceContext.java
12681         (dragExit): Corrected argument.
12682         (dragDropEnd): Corrected argument.
12683         * java/awt/dnd/DragSourceListener.java.java
12684         (dragExit): Corrected argument.
12685         (dragDropEnd): Corrected argument.
12686         * java/awt/font/TextHitInfo.java
12687         (toString): Added stubbed implementation.
12688         * java/awt/geom/PathIterator.java:
12689         The constants must be static.
12690         * java/awt/image/VolatileImage.java
12691         (IMAGE_INCOMPATIBLE): Fixed typo.
12692         * java/awt/image/renderable/RenderableImage.java
12693         (HINTS_OBSERVED): Must be static.
12694         * java/beans/BeanInfo.java:
12695         Constants must be final.
12696
12697 2002-11-06  Tom Tromey  <tromey@redhat.com>
12698
12699         From svens@it.uu.se.  For PR libgcj/8481.
12700         * java/util/Random.java (nextInt(int)): Only use 31 bits.
12701
12702 2002-11-06  Tom Tromey  <tromey@redhat.com>
12703
12704         * jni.cc (array_from_valist): Assume that jlong won't be
12705         promoted.
12706
12707 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
12708
12709         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
12710         Return 20.
12711         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
12712         Return 16.
12713
12714 2002-11-03  Tom Tromey  <tromey@redhat.com>
12715
12716         * java/lang/ClassLoader.java (loadClass): Call loadClass on
12717         VMClassLoader, not findClass.
12718
12719 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
12720
12721         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
12722         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
12723         _Jv_DetermineVTableIndex, to determine vtable offset.
12724         (_Jv_DetermineVTableIndex): Remove.
12725         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
12726
12727         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
12728
12729 2002-11-03  Tom Tromey  <tromey@redhat.com>
12730
12731         * java/nio/channels/AlreadyConnectedException.java: Extend
12732         IllegalStateException, per spec.
12733
12734 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
12735
12736         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
12737
12738 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12739
12740         * java/util/ArrayList.java (readObject, writeObject): Only read/write
12741         size items.
12742
12743 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12744
12745         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
12746         initial estimated size to avoid enlarge buffer frequently.
12747
12748 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12749
12750         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
12751         ClassLoader when null.
12752         (ProxyType.hashCode): Loader null check no longer needed.
12753         (ProxyType.sameTypes): New method.
12754         (ProxyType.equals): Use new method.
12755
12756 2002-10-31  Mark Wielaard  <mark@klomp.org>
12757
12758         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
12759         length of String.
12760         * java/net/URLEncoder.java (encode): Likewise.
12761
12762 2002-10-31  Mark Wielaard  <mark@klomp.org>
12763
12764         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
12765         when stream is closed.
12766         (closeEntry): Likewise.
12767         (read): Likewise.
12768         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
12769         ZipException when no entry active.
12770         (closeEntry): Likewise.
12771         (write): Likewise.
12772
12773 2002-11-02  Tom Tromey  <tromey@redhat.com>
12774
12775         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
12776         * java/lang/natClass.cc (initializeClass): Don't return just
12777         because self==thread.
12778
12779         For PR java/8415:
12780         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
12781         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
12782
12783 2002-11-02  Andreas Schwab  <schwab@suse.de>
12784
12785         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
12786         pass GCJFLAGS.
12787         (FLAGS_TO_PASS): Define.
12788         * Makefile.in: Regenerated.
12789
12790 2002-11-01  Michael Koch  <konqueror@gmx.de>
12791
12792         * java/nio/ByteOrder.java: New file.
12793         * java/nio/channels/DatagramChannel.java:
12794         (DatagramChannel): New constructor.
12795         * java/nio/channels/Pipe.java: New file.
12796         * java/nio/channels/SelectableChannel.java: New file.
12797         * java/nio/channels/SelectionKey.java: New file.
12798         * java/nio/channels/Selector.java: New file.
12799         * java/nio/channels/ServerSocketChannel.java
12800         (ServerSocketChannel): New constructor.
12801         * java/nio/channels/SocketChannel.java
12802         (SocketChannel): New constructor.
12803         * java/nio/channels/Pipe.java: New file.
12804         * java/nio/channels/spi/AbstractChannel.java: New file.
12805         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
12806         * java/nio/channels/spi/AbstractSelectableChannel.java:
12807         License added
12808         (AbstractSelectableChannel): New stubbed method.
12809         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
12810         * java/nio/channels/spi/AbstractSelector.java: New file.
12811         * java/nio/channels/spi/SelectorProvider.java: New file.
12812         * java/nio/charset/Charset.java: New file.
12813         * java/nio/charset/CoderMalfunctionError.java: New file.
12814         * java/nio/charset/CodingErrorAction.java: New file.
12815         * java/nio/charset/spi/CharsetProvider.java
12816         (charsetForName): Uncommented.
12817         * Makefile.am (java_native_source_files): Added new files.
12818         * Makefile.in: Regenerated.
12819
12820 2002-11-01  Michael Koch  <konqueror@gmx.de>
12821
12822         * java/net/InetAddress.java:
12823         (isAnyLocalAddress): Implemented.
12824         (isLoopbackAddress): Implemented, comment added.
12825         (isLinkLocalAddress): Implemented, documentation added.
12826         (isSiteLocalAddress): Implemented, documentation added.
12827         (isMCGlobal): Implemented, documentation added.
12828         (isMCNodeLocal): Implemented, documentation added.
12829         (isMCLinkLocal): Implemented, documentation added.
12830         (isMCSiteLocal): Implemented, documentation added.
12831         (isMCOrgLocal): Implemented, documentation added.
12832         (getHostName): Documentation added.
12833         (getCanonicalHostName): Implemented, documentation added.
12834         (getAddress): Documentation added.
12835         (hashCode): Documentation added.
12836         (equals): Documentation added.
12837         (toString): Fixed implementation.
12838         (getByAddress): Use Inet4Address and Inet6Address.
12839         (lookup): New linewrap.
12840         (getByName): SecurityManager check added, support Inet4Address and
12841         Inet6address, comments added.
12842         (getAllByName): SecurityManager check added, comments added.
12843         * java/net/Inet6Address.java:
12844         (Inet6Address): Initialize parent class with addr instead of null.
12845         * java/net/URL.java
12846         (equals): Documentation added.
12847         (getFile): Documentation added.
12848         (hashCode): Documentation added.
12849         * java/net/natInetAddress.cc:
12850         (aton): Fix IPv6 support.
12851         * java/net/natPlainDatagramSocketImpl.cc:
12852         (peek): Throw PortUnreachableException when suitable.
12853         (peekData): Throw PortUnreachableException when suitable.
12854         (send): Throw PortUnreachableException when suitable.
12855         (receive): Throw PortUnreachableException when suitable.
12856
12857 2002-10-27  Mark Wielaard  <mark@klomp.org>
12858
12859         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
12860         argument.
12861         (readLeShort): Likewise and use byte[].
12862         (readLeInt): Likewise.
12863         (readEntries): Use new versions of methods and use byte[] for reading
12864         a complete zip entry. Add ZipFile name to exceptions.
12865         (entries): Add ZipFile name to exceptions.
12866         (getEntry): Likewise.
12867         (checkLocalHeader): Use new versions of methods and add ZipFile name
12868         to exceptions.
12869
12870 2002-10-31  Mark Anderson  <mark@panonet.net>
12871
12872         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
12873         added
12874
12875 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
12876
12877         * configure.in: Disable hash sync when not using threads.
12878         * configure: Regenerated.
12879
12880 2002-10-24  Tom Tromey  <tromey@redhat.com>
12881
12882         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
12883         (_Jv_FindSymbolInExecutable): Removed argument name.
12884         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
12885         java.library.path is set.
12886
12887         * gij.cc (help): Document --showversion.
12888         (version): Don't exit.
12889         (main): Handle --showversion.  Exit if --version given.
12890
12891 2002-10-23  Tom Tromey  <tromey@redhat.com>
12892
12893         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
12894         (array_from_valist): Correctly handle promotion for jint, jlong,
12895         jfloat, and jdouble.
12896
12897 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
12898
12899         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
12900         GetFileAttributesEx( ) to find file length and modification times,
12901         as the latter is not present on Windows 95.
12902
12903 2002-10-21  Michael Koch  <konqueror@gmx.de>
12904
12905         * java/net/URL.java
12906         (URL): Activate SecurityManager checks.
12907         (equals): Use URLStreamHandler implementation instead of doing it
12908         alone. This allows special protocol stream handlers to change default
12909         behaviour.
12910         (hashCode): Use URLStreamHandler implementation instead of doing it
12911         alone. This allows special protocol stream handlers to change default
12912         behaviour.
12913         * java/net/URLStreamHandler.java
12914         (equals): Implemented default URL equality check.
12915         (hostsEqual): Implemented default URL equality check.
12916         (hashCode): Implemented default URL hashCode algorithm.
12917         * java/net/natPlainDatagramSocketImpl.cc:
12918         No lines longer then 80 characters.
12919
12920 2002-10-20  Adam Megacz <adam@xwt.org>
12921
12922         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
12923         * configure.in: enabled hash sync on Win32
12924         * include/win32-threads.h (_Jv_ThreadId_t): added.
12925         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
12926         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
12927         removed some posix-isms, use Thread::sleep() instead of usleep,
12928         added code to clear bottom three bits if platform has a broken
12929         linker.
12930         * include/win32-threads.h (_Jv_ThreadId_t): added.
12931
12932 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
12933
12934         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
12935         runtime property "gnu.gcj.progname" containing the name used to
12936         invoke the current Java program (similar to argv[0] for C
12937         programs).
12938
12939 2002-10-15  Tom Tromey  <tromey@redhat.com>
12940
12941         Fix for PR libgcj/8234:
12942         * java/util/zip/natInflater.cc (reset): Reset avail_in.
12943         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
12944
12945 2002-10-13  Mark Wielaard  <mark@klomp.org>
12946
12947         * mauve-libgcj: Enable Mauve tests that compile now.
12948
12949 2002-10-11  Mark Wielaard  <mark@klomp.org>
12950
12951         Fix for PR libgcj/8142
12952         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
12953         loading native modules.
12954
12955 2002-10-10  Michael Koch  <konqueror@gmx.de>
12956
12957         * javax/swing/AbstractListModel.java
12958         (getListDataListeners): New stubbed method.
12959         javax/swing/DefaultBoundedRangeModel.java
12960         (getChangeListeners): New stubbed method.
12961         javax/swing/DefaultSingleSelectionModel.java
12962         (getChangeListeners): New stubbed method.
12963
12964 2002-10-10  Michael Koch  <konqueror@gmx.de>
12965
12966         * gcj/.cvsignore: New file to ignore files generated during build.
12967         * include/.cvsignore: New file to ignore files generated during build.
12968
12969 2002-10-10  Michael Koch  <konqueror@gmx.de>
12970
12971         * java/net/HttpURLConnection.java
12972         (getPermission): New method.
12973         (getErrorStream): New stub method.
12974         (getHeaderFieldDate): New stub method.
12975         * java/net/Inet4Address.java:
12976         (isLinkLocalAddress): Typo fixed.
12977         * java/net/InetAddress.java:
12978         (readResolve): New stubbed method (for serialization).
12979         (isAnyLocalAddress): New stubbed method.
12980         (isLoopbackAddress): New stubbed method.
12981         (isLinkLocalAddress): New stubbed method.
12982         (isSiteLocalAddress): New stubbed method.
12983         (isMCGlobal): New stubbed method.
12984         (isMCNodeGlobal): New stubbed method.
12985         (isMCLinkLocal): New stubbed method.
12986         (isMCSiteLocal): New stubbed method.
12987         (isMCOrgLocal): New stubbed method.
12988         (getCanonicalHostName): New stubbed method.
12989         (getByAddress): Create instances of Inet4Address/Inet6Address,
12990         instead of InetAddress, documentation added.
12991         * java/net/MulticastSocket.java
12992         (getInterface): Removed FIXME.
12993         (getNetworkInterface): New method.
12994         (setNetworkInterface): New method.
12995         * java/net/NetworkInterface.java:
12996         (toString): Use property "line.separator" instead of "\n".
12997         * java/net/URLConnection.java
12998         (getContent): New stubbed method.
12999         * java/net/URLStreamHandler.java:
13000         (equals): New stubbed method.
13001         (hostsEqual): New stubbed method.
13002         (hashCode): New stubbed method.
13003         * java/net/natNetworkInterface.cc:
13004         (getRealNetworkInterfaces): Create Inet4Address object
13005         instead of InetAddress.
13006
13007 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
13008
13009         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
13010         unsigned long temporary to implement insn_iushr shifts.
13011
13012 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
13013
13014         * configure.host [s390*-*]: Enable Java interpreter.
13015         Enable hash synchronization.  Add sysdeps dir.
13016         * sysdep/s390/locks.h: New file.
13017
13018 2002-10-06  Mark Wielaard  <mark@klomp.org>
13019
13020         * java/lang/Thread.java (setDaemon): Check startable_flag,
13021         not isAlive().
13022
13023 2002-10-07  Michael Koch  <konqueror@gmx.de>
13024
13025         * java/nio/Buffer.java: New stub file.
13026         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
13027         of class Charset.
13028         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
13029         * Makefile.in: Regenerated.
13030
13031 2002-10-07  Michael Koch  <konqueror@gmx.de>
13032
13033         * java/nio/ByteBuffer.java:
13034         removed import of not commited class.
13035
13036 2002-10-07  Michael Koch  <konqueror@gmx.de>
13037
13038         * java/nio/ByteBuffer.java,
13039         java/nio/MappedByteBuffer.java:
13040         New files, forgot to add these dummies.
13041         * Makefile.am (java_native_source_files): Added new files.
13042         * Makefile.in: Regenerated.
13043
13044 2002-10-07  Michael Koch  <konqueror@gmx.de>
13045
13046         * java/nio/channels/AlreadyConnectedException.java,
13047         java/nio/channels/ClosedChannelException.java,
13048         java/nio/channels/ReadableByteChannel.java,
13049         java/nio/channels/InterruptibleChannel.java,
13050         java/nio/channels/Channel.java,
13051         java/nio/channels/ByteChannel.java,
13052         java/nio/channels/GatheringByteChannel.java,
13053         java/nio/channels/ScatteringByteChannel.java,
13054         java/nio/channels/WritableByteChannel.java,
13055         java/nio/charset/CharacterCodingException.java,
13056         java/nio/charset/IllegalCharsetNameException.java,
13057         java/nio/charset/MalformedInputException.java,
13058         java/nio/charset/UnmappableCharacterException.java,
13059         java/nio/charset/UnsupportedCharsetException.java,
13060         java/nio/charset/spi/CharsetProvider.java: New file.
13061         These files are exceptions or interfaces,
13062         no real or abstract classes.
13063         * Makefile.am (java_native_source_files): Added new files.
13064         * Makefile.in: Regenerated.
13065
13066 2002-10-05  Michael Koch  <konqueror@gmx.de>
13067
13068         * java/net/InetAddress.java
13069         (getByAddress): Fixed documentation.
13070         (getByAddress): New method.
13071         * java/net/Inet4Address.java: New file.
13072         * java/net/URL.java
13073         (URL): Documentation added.
13074         (getContent): Documentation added.
13075         (getContent): New stubbed method.
13076         (getQuery): New method.
13077         (openConnection): Documentation added.
13078         (openStream): Documentation added.
13079         (setURLStreamHandlerFactory): Documentation added.
13080         * java/net/URI.java: New stub file.
13081         * Makefile.am
13082         (java_native_source_files): Added java/net/Inet4Address.java,
13083         java/net/Inet6Address.java and java/net/URI.java.
13084         * Makefile.in: Regenerated.
13085
13086 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
13087
13088         * java/lang/ProtectionDomain.java (linesep): Remove field.
13089         (toString): Use System.getProperty("line.separator").
13090
13091 2002-10-04  Michael Koch  <konqueror@gmx.de>
13092
13093         * java/security/Identity.java: Added serialVersionUID.
13094         * java/security/KeyPair.java: Added serialVersionUID.
13095         * java/security/Provider.java: Added serialVersionUID.
13096         * java/security/SecureRandom.java: Added serialVersionUID.
13097         * java/security/SecureRandomSpi.java: Added serialVersionUID.
13098         * java/security/SignedObject.java: Added serialVersionUID.
13099         * java/security/cert/Certificate.java: Added serialVersionUID.
13100
13101 2002-10-04  Mark Wielaard <mark@klomp.org>
13102
13103         * java/security/Security.java: Use java.home or gnu.classpath.home
13104         to load providers.
13105         (loadProviders): Extra dir argument.
13106         (getProvider): Return null when not found.
13107
13108 2002-10-04  Mark Wielaard  <mark@klomp.org>
13109
13110         * java/lang/Throwable.java: Remerge with Classpath.
13111
13112 2002-10-04  Michael Koch  <konqueror@gmx.de>
13113
13114         * java/net/InetAddress.java:
13115         (isMulticastAddress): Added documentation.
13116         (getHostAddress): Added documentation.
13117         (toString): Added documentation.
13118         (getByAddress): Fixed documentation.
13119         (getByName): Added documentation.
13120         (getAllByName): Added documentation.
13121         (getLocalHost): Added documentation.
13122
13123 2002-10-04  Michael Koch  <konqueror@gmx.de>
13124
13125         * java/beans/beancontext/BeanContextChildSupport.java:
13126         Added serialVersionUID.
13127         * java/text/Collator.java: (compare): Made documentation HTML-aware.
13128         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
13129         * javax/naming/Name.java: Added serialVersionUID.
13130
13131 2002-10-03  Adam Megacz <adam@xwt.org>
13132
13133         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
13134         some functionality that isn't supported yet on WIN32.
13135
13136 2002-10-03  Tom Tromey  <tromey@redhat.com>
13137
13138         * Makefile.in: Rebuilt.
13139         * Makefile.am (awt_java_source_files): Added new files.
13140
13141 2002-10-03  Michael Koch  <konqueror@gmx.de>
13142
13143         * java/net/InetAddress.java
13144         (class InetAddress): Removed final keyword.
13145         (equals): Fixed typo.
13146         (getByAddress): New method.
13147
13148 2002-10-03  Michael Koch  <konqueror@gmx.de>
13149
13150         * java/awt/dnd/Autoscroll.java:
13151         New file, merge from Classpath.
13152         * java/awt/dnd/DragSourceAdapter.java:
13153         (dragExit): Fixed typos in argument type.
13154         (dragDropEnd): Fixed typos in argument type.
13155         * java/awt/dnd/DragSourceDropEvent.java:
13156         New file, merge from Classpath.
13157         * java/awt/dnd/DropTarget.java:
13158         Added stubs, merge from Classpath.
13159         * java/awt/dnd/DropTargetAdapter.java:
13160         New file, merge from Classpath.
13161         * java/awt/dnd/DropTargetContext.java:
13162         New file, merge from Classpath.
13163         * java/awt/dnd/DropTargetDragEvent.java:
13164         New file, merge from Classpath.
13165         * java/awt/dnd/DropTargetDropEvent.java:
13166         New file, merge from Classpath.
13167         * java/awt/dnd/DropTargetEvent.java:
13168         New file, merge from Classpath.
13169         * java/awt/dnd/DropTargetListener.java:
13170         New file, merge from Classpath.
13171         * java/awt/dnd/MouseDragGestureRecognizer.java:
13172         New file, merge from Classpath.
13173         * java/awt/dnd/peer/DropTargetContextPeer.java:
13174         New file, merge from Classpath.
13175
13176 2002-10-03  Michael Koch  <konqueror@gmx.de>
13177
13178         * java/net/DatagramPacket.java
13179         (setLength): Fixed typo and be HTML-aware.
13180         * java/net/InetSocketAddress.java
13181         (InetSocketAddress): Correct initialization of hostname, fixed typo.
13182         (equals): Added comment about equality of InetSocketAddress objects.
13183         * java/net/ServerSocket.java
13184         (accept): Added checks.
13185         (isClosed): New stubbed method.
13186         * java/net/SocketOptions.java: Reindention.
13187         * java/net/SocketPermission
13188         (SocketPermission): Documentation fixed.
13189
13190 2002-10-03  Michael Koch  <konqueror@gmx.de>
13191
13192         * java/net/DatagramSocket.java
13193         (receive): Check with SecurityManager AFTER the packet is received,
13194         check if connected to multicast address, documentation added.
13195         (send): Only check SecurityManager if connected, check address of
13196         packet to send.
13197         (connect): Implemented, documentation added.
13198         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
13199         * java/net/InetSocketAddress.java
13200         (whole file): Reindented.
13201         (hostname): New attribute.
13202         (InetSocketAddress): Initialize new attribute.
13203         (getAddress): Documentation added.
13204         (getHostName): Documentation added.
13205         (getPort): Documentation added.
13206         (hashCode): Documentation added.
13207         (isUnresolved): Documentation added.
13208         (toString): Conform to output of JDK 1.4.1, documentation added.
13209         * java/net/MulticastSocket.java
13210         (joinGroup): Removed FIXME, documentation added.
13211         (leaveGroup): Removed FIXME, documentation added.
13212         (send): Documentation added.
13213         * java/net/Socket.java
13214         (inputShutdown): New variable.
13215         (outputShutdown): New variable.
13216         (Socket): Initialize new variables.
13217         (getRemoteSocketAddress): Check if connected.
13218         (shutdownInput): Set new variable.
13219         (shutdownOutput): Set new variable.
13220         (isConnected): New method.
13221         (isClosed): New method.
13222         (isInputShutdown): New method.
13223         (isOutputShutdown): New method.
13224         * java/net/URLStreamHandler.java
13225         (URLStreamHandler): New method.
13226         (openConnection): Added documentation.
13227         (parseURL): Added documentation.
13228         (getHostAddress): New method.
13229         (getDefaultPort): New method.
13230
13231 2002-10-02  Tom Tromey  <tromey@redhat.com>
13232
13233         * java/rmi/activation/ActivationDesc.java,
13234         java/rmi/activation/ActivationGroupDesc.java,
13235         java/rmi/activation/ActivationGroupID.java,
13236         java/rmi/activation/ActivationID.java: New versions from
13237         Classpath.
13238
13239 2002-09-30  Bo Thorsen  <bo@suse.de>
13240
13241         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
13242
13243 2002-09-30  Tom Tromey  <tromey@redhat.com>
13244
13245         * java/io/ObjectInputStream.java (resolveProxyClass): New method
13246         from Classpath.
13247         * Makefile.in: Rebuilt.
13248         * Makefile.am (rmi_java_source_files): Added new files.
13249         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
13250         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
13251         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
13252         Classpath.
13253         * gnu/java/rmi/dgc/DGCImpl.java,
13254         gnu/java/rmi/dgc/DGCImpl_Skel.java,
13255         gnu/java/rmi/dgc/DGCImpl_Stub.java,
13256         gnu/java/rmi/registry/RegistryImpl_Skel.java,
13257         gnu/java/rmi/registry/RegistryImpl_Stub.java,
13258         gnu/java/rmi/server/RMIHashes.java,
13259         gnu/java/rmi/server/RMIObjectInputStream.java,
13260         gnu/java/rmi/server/RMIObjectOutputStream.java,
13261         gnu/java/rmi/server/UnicastConnection.java,
13262         gnu/java/rmi/server/UnicastConnectionManager.java,
13263         gnu/java/rmi/server/UnicastRef.java,
13264         gnu/java/rmi/server/UnicastServer.java,
13265         gnu/java/rmi/server/UnicastServerRef.java,
13266         java/rmi/MarshalledObject.java,
13267         java/rmi/server/RMIClassLoader.java,
13268         java/rmi/server/RemoteObject.java,
13269         java/rmi/server/UnicastRemoteObject.java,
13270         java/security/SecureClassLoader.java: Merged from Classpath.
13271
13272 2002-09-29  Anthony Green  <green@redhat.com>
13273
13274         * java/lang/reflect/UndeclaredThrowableException.java: New file.
13275         Imported from GNU Classpath.
13276         * java/lang/reflect/natProxy.cc: New file.
13277         * java/lang/reflect/InvocationHandler.java: New file.  Imported
13278         from GNU Classpath.
13279         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
13280         Classpath.
13281         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
13282         Classpath.
13283         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
13284         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
13285         New statics.
13286         * gcj/javaprims.h ("Java"): Add new classes.
13287         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
13288         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
13289         java/lang/reflect/Proxy$$ProxyType.h): And this.
13290         (inner_nat_headers): Add these new headers.
13291         (ordinary_java_source_files): Add new files.
13292         (nat_source_files): Add new file.
13293         * Makefile.in: Rebuilt.
13294
13295 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
13296
13297         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
13298         a single configuration.
13299
13300 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13301
13302         * java/util/TimeZone.java (getDSTSavings): New method.
13303         Fixes PR libgcj/7786.
13304
13305 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13306
13307         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
13308         to see if `the_method == 0' before looking up vtable index.
13309         Fixes PR libgcj/7709.
13310
13311 2002-09-25  Tom Tromey  <tromey@redhat.com>
13312
13313         * java/lang/natClassLoader.cc:
13314         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
13315         * resolve.cc: Include NoClassDefFoundError.h, not
13316         ClassNotFoundException.h.
13317         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
13318
13319         * defineclass.cc: Don't include ClassNotFoundException.h.
13320
13321         * resolve.cc: Include StringBuffer.
13322         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
13323
13324         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
13325         allocated but not initialized.
13326
13327 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13328
13329         Fix for PR libgcj/7766:
13330         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
13331         (getNextEntry): Set it.
13332         (closeEntry): Likewise.
13333         (read): Likewise.
13334         (close): Likewise.
13335         (available): Use it.
13336
13337 2002-09-25  Michael Koch  <konqueror@gmx.de>
13338
13339         * java/net/DatagramSocket.java
13340         (DatagramSocket): Initialize new instance variables.
13341         (close): Reset new instance variables.
13342         (getLocalAddress): Remove unneeded SecurityManager usage.
13343         (getLocalPort): Check if socket is already bound.
13344         (isConnected): New method.
13345         (getInetAddress): Implemented.
13346         (getPort): Better Implementation, documentation fixed.
13347         (getRemoteSocketAddress): New method.
13348         * java/net/JarURLConnection.java
13349         (element): Typo fixed.
13350         (getMainAttributes): New method.
13351         (getAttributes): New method (stub only).
13352         (getManifest): New method (stub only).
13353         * java/net/NetPermission.java: Added serialVersionsUID.
13354         * java/net/Socket.java
13355         (connect): Check blocking mode of associated channel,
13356         documentation added.
13357         (getLocalSocketAddress): Better implementation.
13358         (getRemoteSocketAddress): Implemented.
13359         (isBound): New method.
13360         (setSendBufferSize): Documentation added.
13361         * java/net/SocketAddress.java: Added serialVersionsUID.
13362         * java/net/SocketPermission.java: Added serialVersionsUID.
13363         * java/net/URL.java
13364         (URL): Wrap for shorter lines, initialize new instance variables,
13365         documentation added.
13366         (equals): Check new instance variables too.
13367         (getContent): Documentation added.
13368         (getPath): Documentation added.
13369         (getAuthority): New method.
13370         (getHost): Documentation added.
13371         (getPort): Documentation added.
13372         (getDefaultPort): New method.
13373         (getProtocol): Documentation added.
13374         (getUserInfo): Documentation added.
13375         (set): Initialize new instance variables, documentation added.
13376         * java/net/URLStreamHandler.java
13377         (setURL): New method.
13378         * java/net/natPlainDatagramSocketImpl.cc
13379         (connect): Fix exception name.
13380         (disconnect): Fix exception name.
13381
13382 2002-09-25  Michael Koch  <konqueror@gmx.de>
13383
13384         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
13385         * java/nio/channels/DatagramChannel.java:
13386         extends AbstractSelectableChannel
13387         * java/nio/channels/ServerSocketChannel.java:
13388         extends AbstractSelectableChannel
13389         * java/nio/channels/SocketChannel.java:
13390         extends AbstractSelectableChannel
13391         * Makefile.am (ordinary_java_source_files):
13392         java/nio/channels/spi/AbstractSelectableChannel.java added.
13393         * Makefile.in: Regenerated.
13394
13395 2002-09-25  Michael Koch  <konqueror@gmx.de>
13396
13397         * java/net/DatagramSocket.java
13398         (DatagramSocket): Exception documentation added.
13399         (bind): Exception documentation added, addded SecurityManager check,
13400         added SocketAddress type check.
13401         (getSoTimeout): Check impl.
13402         (receive): Fix SecurityManager check, check impl, documentation added.
13403         (send): Check channel mode, documentation added.
13404         (connect): New method.
13405         (disconnect): Implemented.
13406         (getLocalSocketAddress): New method.
13407         (getReceiveBufferSize): Check impl.
13408         (setReuseAddress): Check impl.
13409         (getReuseAddress): Check impl.
13410         (setBroadcast): Check impl.
13411         (getBroadcast): Check impl.
13412         (setTrafficClass): Check impl, Documentation cleared.
13413         (getTrafficClass): Check impl.
13414         (getSendBufferSize): Check impl.
13415         (setReceiveBufferSize): Check impl, documentation added.
13416         (setSendBufferSize): Documentation added.
13417         (setDatagramSocketImplFactory): New method.
13418         * java/net/HttpURLConnection.java
13419         (HTTP_INTERNAL_ERROR): The correct code is 500.
13420         (HTTP_NOT_IMPLEMENTED): Added new constant.
13421         (setFollowRedirects): Documentation added.
13422         (getInstanceFollowRedirects): New method.
13423         (setInstanceFollowRedirects): New method.
13424         (setRequestMethod): Documentation added.
13425         (getResponseCode): Documentation added.
13426         (getResponseMessage): Documentation added.
13427         * java/net/JarURLConnection.java
13428         (JarURLConnection): protected since JDK 1.4.
13429         (getJarEntry): java.io.IOException to IOException, documentation added.
13430         (getJarFile): Documentation added.
13431         * java/net/ServerSocket.java
13432         (ServerSocket): Private to public, exception added.
13433         (ServerSocket): java.io.IOException to IOException, documentation added.
13434         (bind): Check socket address type, documentation added.
13435         (bind): java.io.IOException to IOException, documentation added.
13436         (accept): Documentation added.
13437         (implAccept): Check ch is not non-blocking, documentation added.
13438         (setSoTimeout): Documentation fixed.
13439         (setReceiveBufferSize): Documentation added.
13440         * java/net/Socket.java
13441         (Socket): Documentation added.
13442         (bind): Documentation added.
13443         (connect): Check socket address type, documentation added.
13444         (getRemoteSocketAddress): New method.
13445         (getLocalSocketAddress): New method.
13446         (setSoLinger): Documentation added.
13447         (getReuseAddress): New method.
13448         (setReuseAddress): New method.
13449         (getTrafficClass): New method.
13450         (setTrafficClass): New method.
13451         * java/net/URLStreamHandler.java
13452         (openConnection): java.io.IOException to IOException.
13453         (parseURL): Documentation added.
13454         (sameFile): public to protected, documentation added.
13455         (setURL): Documentation added.
13456         * java/nio/IllegalBlockingModeException.java: New file.
13457         * Makefile.am (ordinary_java_source_files):
13458         added java/nio/IllegalBlockingModeException.java
13459         * Makefile.in: Regenerated.
13460
13461 2002-09-25  Michael Koch  <konqueror@gmx.de>
13462
13463         * java/net/DatagramPacket
13464         (DatagramPacket): Exception documentation added.
13465         (setData): Likewise.
13466         (setSocketAddress): Likewise.
13467         * java/net/DatagramSocketImpl.java
13468         (peek): Documentation addded.
13469         (peekData): Documentation addded.
13470         (send): Documentation addded.
13471         (receive): Documentation addded.
13472         (connect): New method.
13473         (disconnect): New method.
13474         (joinGroup): New abstract method.
13475         (leaveGroup): New abstract method.
13476         * java/net/InetSocketAddress.java
13477         (InetSocketAddress): Documentation added.
13478         (equals): final keyword added.
13479         (getAddress): final keyword added.
13480         (getHostName): final keyword added.
13481         (getPort): final keyword added.
13482         (hashCode): final keyword added.
13483         (isUnresolved): final keyword added.
13484         * java/net/MulticastSocket.java
13485         (MulticastSocket): Documentation added.
13486         (MulticastSocket): New method.
13487         (joinGroup): Documentation added.
13488         (joinGroup): New method.
13489         (leaveGroup): Documentation added.
13490         (leaveGroup): New method.
13491         (send): Documentation added.
13492         * java/net/NetworkInterface.java
13493         (getByName): Documentation added.
13494         (getByInetAddress): Documentation added.
13495         (getNetworkInterfaces): Documentation added.
13496         * java/net/PlainDatagramSocketImpl.java
13497         (connect): New method.
13498         (disconnect): New method.
13499         * java/net/SocketImpl.java
13500         (create): Documentation added.
13501         (shutdownInput): Convert public to protected, as it always was.
13502         (shutdownOutput): Convert public to protected, as it always was.
13503         * java/net/SocketOptions.java
13504         (whole file): Reintented.
13505         * java/net/URLClassLoader.java
13506         (URLClassLoader): SecurityManager check added, documentation added.
13507         (findResources): Documentation added.
13508         (findClass): Documentation added.
13509         (newInstance): More correct method arguments.
13510         * java/net/URLConnection.java
13511         (connect): Documentation added.
13512         (getContent): Documentation added.
13513         (getPermission): Documentation added.
13514         (getInputStream): Documentation added.
13515         (getOutputStream): Documentation added.
13516         (setDoInput): Throw correct exception, documentation added.
13517         (setDoOutput): Throw correct exception, documentation added.
13518         (setAllowUserInteraction): Throw correct exception, documentation added.
13519         (setUseCaches): Throw correct exception, documentation added.
13520         (setIfModifiedSince): Throw correct exception, documentation added.
13521         (setRequestProperty): Throw exception, documentation added.
13522         (addRequestProperty): Throw exception, documentation added.
13523         (getRequestProperty): Throw exception, documentation added.
13524         (getRequestProperties): Documentation added.
13525         (setContentHandlerFactory): Documentation added.
13526         (guessContentTypeFromName): protected to public.
13527         (setFileNameMap): Documentation added.
13528         * java/net/URLDecoder.java
13529         (URLDecoder): New method.
13530         (decode): Documentation added.
13531         (whole file): Reindented.
13532         * java/net/URLEncoder.java
13533         (encode): Documentation added.
13534         * java/net/natPlainDatagramSocketImpl.cc
13535         (connect): New method.
13536         (disconnect): New method.
13537         * javax/naming/RefAddr:
13538         (addrType): addrType was never final.
13539         (equals): Fix typo in method name.
13540         * javax/naming/BinaryRefAddr:
13541         (equals): Fix typo in method name.
13542
13543 2002-09-22  Tom Tromey  <tromey@redhat.com>
13544
13545         Fix for PR libgcj/6576:
13546         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
13547         didn't find a given bundle.
13548         (getBundle): Don't require base bundle.
13549         (setParent): Removed old comment.
13550         (tryLocalBundle): Try components even if preceding components were
13551         empty.
13552
13553 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13554
13555         * Makefile.am (all-multi): Fix multilib parallel build.
13556
13557 2002-09-21  Michael Koch  <konqueror@gmx.de>
13558
13559         * java/net/Socket.java
13560         (sendUrgentData): New method.
13561         (getChannel): New method.
13562         * java/net/ServerSocket.java
13563         (getChannel): New method.
13564         (isBound): New method.
13565         * java/net/DatagramSocket.java
13566         (DatagramSocket): Two new methods.
13567         (bind): New method.
13568         (getChannel): New method.
13569         (isBound): New method.
13570         (send): Added newline to to make shorter lines.
13571         * java/net/PlainDatagramSocketImpl.java
13572         (mcastGrp): Added argument.
13573         (join): Use new mcastGrp.
13574         (leave): Use new mcastGrp.
13575         (joinGroup): New method.
13576         (leaveGroup): New method.
13577         * java/net/natPlainDatagramSocketImpl.cc
13578         (mcastGrp): Added argument, no yet really implemented.
13579         (getOption): Added newline for shorter lines.
13580         * java/net/natPlainSocketImpl.cc
13581         (read, setOption, getOption): Added newline for shorter lines.
13582
13583 2002-09-19  Tom Tromey  <tromey@redhat.com>
13584
13585        * java/lang/ClassLoader.java (resolveClass0): Set cause for
13586        newly-created exception.
13587
13588 2002-09-18  Michael Koch  <konqueror@gmx.de>
13589
13590         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
13591         java/util/regex/PatternSyntaxException.java:
13592         Merge with classpath, new files.
13593         * Makefile.am (core_java_source_files):
13594         Added java/util/regex/Matcher.java,
13595         java/util/regex/Pattern.java,
13596         java/util/regex/PatternSyntaxException.java
13597         * Makefile.in: Regenerated.
13598         * include/config.h.in: Added HAVE_NET_IF_H.
13599         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
13600         Removed #if 0 ... #endif.
13601
13602 2002-09-17  Michael Koch  <konqueror@gmx.de>
13603
13604         * java/net/natNetworkInterface.cc:
13605         Removed unneed and yet wrong includes.
13606
13607 2002-09-17  Michael Koch  <konqueror@gmx.de>
13608
13609         * java/net/NetworkInterface.java: New file.
13610         * java/net/natNetworkInterface.java: New file.
13611         * configure.in: Added check for net/if.h.
13612         * configure: Regenerated.
13613         * Makefile.am
13614         (ordinary_java_source_files): Added NetworkInterface.java.
13615         (nat_source_files): Added natNetworkInterface.cc.
13616         * Makefile.in: Regenerated.
13617
13618 2002-09-16  Tom Tromey  <tromey@redhat.com>
13619
13620         * java/net/URLClassLoader.java (findClass): Code source for a
13621         class from a jar is not necessarily a jar: URL.
13622
13623 2002-09-16  Michael Koch  <konqueror@gmx.de>
13624
13625         * java/lang/AssertionError.java:
13626         Merge with classpath, fixes HTML.
13627         * java/rmi/server/LogStream.java:
13628         Merge with classpath, fixes some constants.
13629         * java/net/server/RemoteServer.java:
13630         Merge with classpath, adds serialVersionUID.
13631         * javax/naming/BinaryRefAddr.java:
13632         Merge with classpath, s/equal/equals/.
13633         * javax/naming/NamingException.java:
13634         Merge with classpath, fixed typo.
13635         * javax/naming/RefAddr.java:
13636         Merge with classpath, s/equal/equals/.
13637         * java/awt/Toolkit.java:
13638         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
13639         and typo fixed.
13640
13641 2002-09-15  Adam Megacz <adam@xwt.org>
13642
13643         * java/net/natPlainSocketImpl.cc: fixed typo.
13644
13645 2002-09-15  Adam Megacz <adam@xwt.org>
13646
13647         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
13648         which don't work on Win32 (yet).
13649
13650 2002-09-14  Adam Megacz <adam@xwt.org>
13651
13652         * java/net/natPlainDatagramSocket.cc: removed #include
13653         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
13654         * include/win32.h: included definition for IP_TOS to satisfy
13655         natPlainDatagramSocket.cc
13656
13657 2002-09-13  Michael Koch  <konqueror@gmx.de>
13658
13659         * java/net/DatagramPacket.java (DatagramPacket):
13660         Added linebreak for 80 chars per line.
13661         * java/net/JarURLConection.java
13662         (getInputStreami, getJarEntry): Likewise.
13663         * java/net/SocketPErmission.java
13664         (SocketPermission class docu, implies): Likewise.
13665         * java/net/URLClassLoader.java (findResources): Likewise.
13666         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
13667
13668 2002-09-13  Michael Koch  <konqueror@gmx.de>
13669
13670         * java/nio/channels/DatagramChannel.java,
13671         java/nio/channels/ServerSocketChannel.java
13672         java/nio/channels/SocketChannel.java:
13673         New dummy files to make java.net fully JDK 1.4 compatible
13674         * Makefile.am (ordinary_java_source_files): Added
13675         java/net/DatagramSocketImplFactory.java (long forgotten),
13676         java/nio/SocketChannel.java,
13677         java/nio/ServerSocketChannel.java,
13678         java/nio/DatagramChannel.java
13679         * Makefile.in: Regenrated.
13680
13681 2002-09-12  Michael Koch  <konqueror@gmx.de>
13682
13683         * java/net/DatagramSocketImpl.java
13684         (peekData): New method.
13685         * java/net/PlainDatagramSocketImpl.java
13686         (peekData): New method.
13687         * java/net/natPlainDatagramSocketImpl.cc
13688         (peekData): New method.
13689         * java/net/URLConnection
13690         (getPermission): New method.
13691         (addRequestProperty): New method.
13692         (getRequestProperties): New method.
13693         (guessContentTypeFromStream): New method, not really implemented.
13694         (URLConnection): Added/updated documentation.
13695         (connect): Added/updated documentation.
13696         (getURL): Added/updated documentation.
13697         (getContentLength): Added/updated documentation.
13698         (getContentType: Added/updated documentation.
13699         (getContentEncoding): Added/updated documentation.
13700         (getExpiration): Added/updated documentation.
13701         (getDate): Added/updated documentation.
13702         (getLastModified): Added/updated documentation.
13703         (getHeaderField): Added/updated documentation.
13704         (getHeaderFields): Added/updated documentation.
13705         (getHeaderFieldInt): Added/updated documentation.
13706         (getHeaderFieldDate): Added/updated documentation.
13707         (getHeaderFieldKey): Added/updated documentation.
13708         (getContent): Added/updated documentation.
13709         (getInputStream): Added/updated documentation.
13710         (getOutputStream): Added/updated documentation.
13711         (toString): Added/updated documentation.
13712         (setDoInput): Added/updated documentation.
13713         (getDoInput): Added/updated documentation.
13714         (setDoOutput): Added/updated documentation.
13715         (getDoOutput): Added/updated documentation.
13716         (setAllowUserInteraction): Added/updated documentation.
13717         (getAllowUserInteraction): Added/updated documentation.
13718         (setDefaultAllowUserInteraction): Added/updated documentation.
13719         (getDefaultAllowUserInteraction): Added/updated documentation.
13720         (setUseCaches): Added/updated documentation.
13721         (getUseCaches): Added/updated documentation.
13722         (setIfModifiedSince): Added/updated documentation.
13723         (getIfModifiedSince): Added/updated documentation.
13724         (getDefaultUseCaches): Added/updated documentation.
13725         (setDefaultUseCaches): Added/updated documentation.
13726         (setRequestProperty): Added/updated documentation.
13727         (getRequestProperty): Added/updated documentation.
13728         (setDefaultRequestProperty): Added/updated documentation.
13729         (getDefaultRequestProperty): Added/updated documentation.
13730         (setContentHandlerFactory): Added/updated documentation.
13731         (guessContentTypeFromName): Added/updated documentation.
13732         (getFileNameMap): Added/updated documentation.
13733         (setFileNameMap): Added/updated documentation.
13734
13735 2002-09-11  Michael Koch  <konqueror@gmx.de>
13736
13737         * java/net/Socket.java
13738         (Socket): protected to public (since JDK 1.4). Added @specnote.
13739         (bind): New method.
13740         (connect): Two new methods.
13741         (getKeepalive): Get correct socket option.
13742         (setKeepalive): Set correct socket option.
13743         (getOOBInline): New method.
13744         (setOOBInline): New method.
13745         * java/net/ServerSocket.java
13746         (bind): Two new methods.
13747         (getInetAddress): Reimplemented, catch exception.
13748         (getLocalSocketAddress): New method.
13749         (setReuseAddress): New method.
13750         (getReuseAdress): New method.
13751         (setReceiveBufferSize): New method.
13752         (getReceiveBufferSize): New method.
13753         (toString): Made string JDK 1.4 compliant.
13754
13755 2002-09-10  Michael Koch  <konqueror@gmx.de>
13756
13757         * java/net/SocketImpl.java
13758         (connect): New method.
13759         (supportsUrgentData): New method.
13760         (sendUrgentData): New method.
13761         * java/net/PlainSocketImpl.java
13762         (connect): One new method and two new implementation.
13763         (sendUrgentData): New method.
13764         * java/natPlainSocketImpl.cc
13765         (connect): Arguments changed, added support for timeouts.
13766         (getOption): Another __java_boolean to jboolean.
13767
13768 2002-09-07  Adam Megacz <adam@xwt.org>
13769
13770         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
13771         definition of IP_TOS.
13772
13773 2002-09-04  Michael Koch  <konqueror@gmx.de>
13774
13775         * java/net/DatagramSocket.java
13776         (DatagramSocket): Added documentation.
13777         (close): Likewise.
13778         (getLocalAddress): Likewise.
13779         (getLocalPort): Likewise.
13780         (receive): Likewise.
13781         (send): Likewise.
13782         (setSoTimeout): Likewise.
13783         (connect): New method.
13784         (disconnect): New method.
13785         (getInetAddress): New method (FIXME)
13786         (getPort): New method.
13787         (setReuseAddress): New method.
13788         (getReuseAddress): New method.
13789         (setBroadcast): New method.
13790         (getBroadcast): New method.
13791         (setTrafficClass): New method.
13792         (getTrafficClass): New method.
13793         * java/net/MulticastSocket.java):
13794         (getTTL): Added @see in documentation.
13795         (setTTL): Added @see in documentation.
13796         (setLoopbackMode): New method.
13797         (getLoopbackMode): New method.
13798         * java/net/PlainSocketImpl.java:
13799         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
13800         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13801         * java/net/PlainDatagramSocketImpl.java
13802         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
13803         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13804         * java/net/natPlainSocketImpl.cc
13805         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13806         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13807         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13808         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13809         This should also fix SO_KEEPALIVE
13810         * java/net/natPlainDatagramSocketImpl.cc
13811         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13812         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13813         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13814         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13815
13816 2002-09-04  Michael Koch  <konqueror@gmx.de>
13817
13818         * java/net/SocketOptions.java: added static variables to be JDK 1.4
13819         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
13820         IP_MULTICAST_LOOP, IP_TOS
13821
13822 2002-09-03  Tom Tromey  <tromey@redhat.com>
13823
13824         * java/lang/Class.h (_getDeclaredMethod): Declare.
13825         (_getMethod): Now private.
13826         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
13827         getDeclaredMethod.  Now returns NULL on failure.
13828         * java/lang/Class.java (_getDeclaredMethod): Declare.
13829         (getDeclaredMethod): No longer native; implements access checks.
13830
13831 2002-09-01  Mark Wielaard  <mark@klomp.org>
13832
13833         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
13834         (sanitizeStack): Correctly reset unknown and interpreter counters,
13835         detect interpreter runtime frames.
13836         (demangleInterpreterMethod): New method.
13837         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
13838         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
13839         filling in addrs[].
13840
13841 2002-09-02  Michael Koch  <konqueror@gmx.de>
13842
13843         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
13844         re-indented documentation.
13845
13846 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13847
13848         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
13849         public, per 1.4 spec.  Fixes PR libgcj/7785.
13850
13851 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
13852
13853         * Makefile.in: Rebuilt.
13854         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
13855
13856 2002-08-29  Tom Tromey  <tromey@redhat.com>
13857
13858         * java/net/JarURLConnection.java (getCertificates): New method
13859         from Classpath.
13860         * java/net/URLClassLoader.java (URLClassLoader): Extends
13861         SecureClassLoader.
13862         (definePackage): New method from Classpath.
13863         (getPermissions): Likewise.
13864         (newInstance): Likewise.
13865         (findClass): Construct CodeSource for new class (from Classpath).
13866         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
13867         methods.
13868         * java/net/URL.java (getUserInfo): New method.
13869         (set(String,String,int,String,String,String,String,String)): New
13870         method.
13871         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
13872         (shutdownInput, shutdownOutput): Declare.
13873         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
13874         Define.
13875         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
13876         (getOption): Likewise.
13877         (shutdownInput): New method.
13878         (shutdownOutput): Likewise.
13879         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
13880         keepalive.
13881         (getOption): Likewise.
13882         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
13883         * java/net/Socket.java (setKeepAlive): New method.
13884         (getKeepAlive): Likewise.
13885         (shutdownInput, shutdownOutput): New methods.
13886
13887 2002-08-29  Michael Koch  <konqueror@gmx.de>
13888
13889         * java/net/DatagramPacket.java: updated to JDK 1.4 API
13890         new methods are:
13891         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
13892           address),
13893         DatagramPacket(byte[] buf, int length, SocketAddress address),
13894         void setSocketAddress(SocketAddress address)
13895         public SocketAddress getSocketAddress()
13896
13897 2002-08-29  Tom Tromey  <tromey@redhat.com>
13898
13899         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
13900         ftruncate is missing.
13901         * configure, include/config.h.in: Rebuilt.
13902         * acconfig.h (HAVE_FTRUNCATE): Mention.
13903         * configure.in: Check for ftruncate.
13904
13905 2002-08-29  Tom Tromey  <tromey@redhat.com>
13906
13907         * include/jvm.h (struct _Jv_frame_info): New structure.
13908         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
13909         java-interp.h.
13910         (lookupInterp): New method.
13911         (getAddrAsString): Use _Jv_frame_info.
13912         (dladdrLookup): Likewise.
13913         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
13914         interpreted frame.
13915         (lookupInterp): Declare.
13916         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
13917         (fillInStackTrace): Collect information on interpreted frames.
13918         Use _Jv_frame_info.
13919         * interpret.cc: Include Thread.h.
13920         (run): Create and push _Jv_MethodChain object.
13921         (_Jv_EndOfInterpreter): New global.
13922         * java/lang/Thread.java (interp_frame): New field.
13923         * include/java-interp.h (struct _Jv_MethodChain): New structure.
13924         Include NameFinder.h.
13925
13926 2002-08-28  Tom Tromey  <tromey@redhat.com>
13927
13928         * java/lang/Class.h: Include Package.h.
13929         (Class::getProtectionDomain): Declare.
13930         (Class::getPackage): Declare.
13931
13932 2002-08-28  Michael Koch <konqueror@gmx.de>
13933
13934         * java/net/InetSocketAddress.java: Added some documentation and argument
13935         checks for the port numbers.
13936         * java/net/DatagramSocketImplFactory.java: New file.
13937
13938 2002-08-28  Michael Koch <konqueror@gmx.de>
13939
13940         * java/net/Authenticator.java: added some documentation.
13941
13942 2002-08-27  Tom Tromey  <tromey@redhat.com>
13943
13944         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
13945         class.
13946         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
13947
13948 2002-08-27  Michael Koch <konqueror@gmx.de>
13949
13950         * java/net/BindException.java,
13951         java/net/JarURLConnection.java,
13952         java/net/FileNameMap.java,
13953         java/net/HttpURLConnection.java,
13954         java/net/InetSocketAddress.java,
13955         java/net/DatagramPacket.java,
13956         java/net/DatagramSocket.java,
13957         java/net/DatagramSocketImpl.java,
13958         java/net/MulticastSocket.java,
13959         java/net/PasswordAuthentication.java,
13960         java/net/ServerSocket.java,
13961         java/net/Socket.java,
13962         java/net/URLClassLoader.java,
13963         java/net/URLConnection.java: add/update of some @since/@deprecated
13964
13965 2002-08-27  Tony Kimball <alk@pobox.com>
13966             Tom Tromey  <tromey@redhat.com>
13967
13968         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
13969         define.
13970         (::close): Removed.
13971         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
13972         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
13973         (::close): Removed.
13974         (PlainSocketImpl::close): Use NATIVE_CLOSE.
13975         * include/win32.h (getcwd): Removed declaration.  Include io.h.
13976
13977 2002-08-25  Adam Megacz <adam@xwt.org>
13978
13979         * include/win32.h (getcwd): copied function declaration as
13980         temporary fix for header confusion.
13981
13982 2002-08-24  Mark Wielaard <mark@klomp.org>
13983
13984         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
13985         (core_java_source_files): Add VMThrowable.java and NameFinder.java
13986         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
13987         and natNameFinder.cc.
13988         * Makefile.in: Regenerate.
13989         * prims.cc: Use trace_enabled from VMThrowable.
13990         * name-finder.cc: Removed.
13991         * gcj/javaprims.h: Add class VMThrowable.
13992         * gnu/gcj/runtime/NameFinder.java: New file.
13993         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
13994         * include/name-finder.h: Removed.
13995         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
13996         method stackTraceString().
13997         (printStackTrace (PrintWriter)): Likewise.
13998         (stackTraceString): Complete rewrite of old printStackTrace using
13999         StringBuffer.
14000         (stackTraceStringBuffer): New helper method for stackTraceString().
14001         (fillInStackTrace): Delegate to VMTrowable.
14002         (getStackTrace): Likewise.
14003         (getStackTrace0): Removed.
14004         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
14005         (setStackTrace): Copy given array.
14006         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
14007         * java/lang/VMThrowable.java: New class.
14008         * java/lang/natVMThrowable.cc: New file.
14009
14010 2003-08-23  Michael Koch  <konqueror@gmx.de>
14011
14012         * java/net/URLConnection.java,
14013         java/netJarURLConnection.java,
14014         gnu/gcj/protocol/core/Connection.java,
14015         gnu/gcj/protocol/file/Connection.java,
14016         gnu/gcj/protocol/http/Connection.java: Added implementation of
14017         getHeaderFields().
14018
14019 2002-08-22  Tom Tromey  <tromey@redhat.com>
14020
14021         * gij.cc (help): Document -cp and -classpath.
14022         (main): Handle -classpath.
14023
14024 2002-08-21  Tom Tromey  <tromey@redhat.com>
14025
14026         * Makefile.in: Rebuilt.
14027         * Makefile.am (ordinary_java_source_files): Added
14028         SocketAddress.java, InetSocketAddress.java.
14029         * java/net/PortUnreachableException.java: Merged with Classpath.
14030         * java/net/SocketTimeoutException.java: Likewise.
14031         * java/net/URISyntaxException.java: Likewise.
14032         * java/net/SocketAddress.java: New class from Classpath.
14033         * java/net/InetSocketAddress.java: Likewise.
14034
14035 2003-08-21  Michael Koch  <konqueror@gmx.de>
14036
14037         * java/net/Authenticator.java: updated JDK 1.4
14038         * java/net/ContentHandler.java: updated JDK 1.4
14039
14040 2002-08-20  Michael Koch  <konqueror@gmx.de>
14041
14042         * java/net/URISyntaxException.java: New file.
14043         * java/net/SocketTimeoutException.java: New file.
14044         * java/net/PortUnreachableException.java: New file.
14045         * Makefile.am: Updated.
14046         * Makefile.in: Rebuilt.
14047
14048 2002-08-18  Mark Wielaard  <mark@klomp.org>
14049
14050         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
14051         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
14052         MessageDigestSpi (fixes Classpath bug #783).
14053
14054 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14055
14056         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
14057         (startProcess): Allocate path for chdir in async-signal-safe way.
14058
14059 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14060
14061         Fix for PR libgcj/7570 and PR libgcj/7578:
14062         * java/lang/natPosixProcess.cc: Include java/io/File.h.
14063         (startProcess): Handle new `dir' argument.
14064         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
14065         argument.
14066         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
14067         argument.
14068         (startProcess): Likewise.
14069         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
14070         argument.
14071         * java/lang/Runtime.java (execInternal): Added `dir' argument.
14072         (exec): Don't create new environment if ENV==null.  Pass DIR to
14073         execInternal.
14074         * java/lang/natRuntime.cc: Include java/io/File.h.
14075         (execInternal): Added `dir' argument.
14076
14077 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
14078
14079         * java/io/RandomAccessFile.java (skipBytes): Return number of
14080         bytes skipped.
14081
14082 2002-08-01  Mark Wielaard  <mark@klomp.org>
14083
14084         Reenable patch since shared library troubles on powerpc are solved:
14085         * gnu/java/security/provider/Gnu.java: Reference all implementation
14086         classes by using Class.getName().
14087         * gnu/java/security/der/DEREncodingException.java,
14088         gnu/java/security/provider/DERReader.java,
14089         gnu/java/security/provider/DERWriter.java,
14090         gnu/java/security/provider/DSAKeyPairGenerator.java,
14091         gnu/java/security/provider/DSAParameterGenerator.java,
14092         gnu/java/security/provider/DSAParameters.java,
14093         gnu/java/security/provider/DSASignature.java,
14094         gnu/java/security/provider/GnuDSAPrivateKey.java,
14095         gnu/java/security/provider/GnuDSAPublicKey.java,
14096         gnu/java/security/provider/MD5.java,
14097         gnu/java/security/util/Prime.java: New classes
14098         * Makefile.am (ordinary_java_source_files): Add above files.
14099         * Makefile.in: Regenerate.
14100         * gnu/java/security/provider/DefaultPolicy.java
14101         (getPermissions): Don't maintain static class variable of Permissions.
14102         * gnu/java/security/provider/SHA.java
14103         (engineUpdate): algorithm change.
14104         (engineDigest): algorithm change.
14105
14106 2002-08-09  Mark Wielaard  <mark@klomp.org>
14107
14108         * java/awt/image/MemoryImageSource.java: Change constructor to take
14109         int[] not byte[].
14110         * java/awt/Graphics2D.java: Uncomment methods that can now be
14111         compiled.
14112         * java/awt/GridBagLayout.java: New stub implementation.
14113         * javax/swing/text/html/HTML.java: Stub implementation.
14114         * javax/swing/text/html/parser/ParserDelegator.java: New stub
14115         implementation.
14116
14117         * Makefile.am: Add new files.
14118         * Makefile.in: Rebuilt.
14119
14120 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14121
14122         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
14123         methods in Graphics2D.
14124
14125 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14126
14127         AWT/Swing merge from GNU Classpath.
14128
14129         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
14130         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
14131         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
14132         java/awt/color/ProfileDataException.java,
14133         java/awt/CompositeContext.java, java/awt/Composite.java,
14134         java/awt/ContainerOrderFocusTraversalPolicy.java,
14135         java/awt/datatransfer/FlavorTable.java,
14136         java/awt/DefaultFocusTraversalPolicy.java,
14137         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
14138         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
14139         java/awt/dnd/DragGestureListener.java,
14140         java/awt/dnd/DragGestureRecognizer.java,
14141         java/awt/dnd/DragSourceAdapter.java,
14142         java/awt/dnd/DragSourceContext.java,
14143         java/awt/dnd/DragSourceDragEvent.java,
14144         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
14145         java/awt/dnd/DragSourceListener.java,
14146         java/awt/dnd/DragSourceMotionListener.java,
14147         java/awt/dnd/DropTarget.java,
14148         java/awt/dnd/InvalidDnDOperationException.java,
14149         java/awt/dnd/peer/DragSourceContextPeer.java,
14150         java/awt/event/AWTEventListenerProxy.java,
14151         java/awt/event/MouseWheelEvent.java,
14152         java/awt/event/MouseWheelListener.java,
14153         java/awt/event/WindowFocusListener.java,
14154         java/awt/event/WindowStateListener.java,
14155         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
14156         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
14157         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
14158         java/awt/geom/FlatteningPathIterator.java,
14159         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
14160         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
14161         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
14162         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
14163         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
14164         java/awt/image/ImagingOpException.java,
14165         java/awt/image/RasterFormatException.java,
14166         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
14167         java/awt/image/VolatileImage.java,
14168         java/awt/image/WritableRenderedImage.java,
14169         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
14170         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
14171         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
14172         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
14173         java/awt/PageAttributes.java, java/awt/print/Book.java,
14174         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
14175         java/awt/print/Paper.java, java/awt/print/Printable.java,
14176         java/awt/print/PrinterAbortException.java,
14177         java/awt/print/PrinterException.java,
14178         java/awt/print/PrinterGraphics.java,
14179         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
14180         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
14181         java/awt/Stroke.java, java/awt/TexturePaint.java,
14182         javax/accessibility/AccessibleAction.java,
14183         javax/accessibility/AccessibleBundle.java,
14184         javax/accessibility/AccessibleComponent.java,
14185         javax/accessibility/AccessibleContext.java,
14186         javax/accessibility/AccessibleEditableText.java,
14187         javax/accessibility/AccessibleExtendedComponent.java,
14188         javax/accessibility/AccessibleExtendedTable.java,
14189         javax/accessibility/AccessibleHyperlink.java,
14190         javax/accessibility/AccessibleHypertext.java,
14191         javax/accessibility/AccessibleIcon.java,
14192         javax/accessibility/Accessible.java,
14193         javax/accessibility/AccessibleKeyBinding.java,
14194         javax/accessibility/AccessibleRelation.java,
14195         javax/accessibility/AccessibleRelationSet.java,
14196         javax/accessibility/AccessibleResourceBundle.java,
14197         javax/accessibility/AccessibleRole.java,
14198         javax/accessibility/AccessibleSelection.java,
14199         javax/accessibility/AccessibleState.java,
14200         javax/accessibility/AccessibleStateSet.java,
14201         javax/accessibility/AccessibleTable.java,
14202         javax/accessibility/AccessibleTableModelChange.java,
14203         javax/accessibility/AccessibleText.java,
14204         javax/accessibility/AccessibleValue.java,
14205         javax/swing/AbstractAction.java,
14206         javax/swing/AbstractButton.java,
14207         javax/swing/AbstractCellEditor.java,
14208         javax/swing/AbstractListModel.java,
14209         javax/swing/AbstractSet.java, javax/swing/Action.java,
14210         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
14211         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
14212         javax/swing/border/CompoundBorder.java,
14213         javax/swing/border/EmptyBorder.java,
14214         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
14215         javax/swing/border/LineBorder.java,
14216         javax/swing/border/MatteBorder.java,
14217         javax/swing/border/TitledBorder.java,
14218         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
14219         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
14220         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
14221         javax/swing/CellRendererPane.java,
14222         javax/swing/colorchooser/AbstractColorChooserPanel.java,
14223         javax/swing/colorchooser/ColorChooserComponentFactory.java,
14224         javax/swing/colorchooser/ColorSelectionModel.java,
14225         javax/swing/colorchooser/DefaultColorSelectionModel.java,
14226         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
14227         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
14228         javax/swing/DefaultBoundedRangeModel.java,
14229         javax/swing/DefaultButtonModel.java,
14230         javax/swing/DefaultCellEditor.java,
14231         javax/swing/DefaultCellRenderer.java,
14232         javax/swing/DefaultComboBoxModel.java,
14233         javax/swing/DefaultDesktopManager.java,
14234         javax/swing/DefaultFocusManager.java,
14235         javax/swing/DefaultListCellRenderer.java,
14236         javax/swing/DefaultListModel.java,
14237         javax/swing/DefaultListSelectionModel.java,
14238         javax/swing/DefaultSingleSelectionModel.java,
14239         javax/swing/DesktopManager.java,
14240         javax/swing/event/AncestorEvent.java,
14241         javax/swing/event/AncestorListener.java,
14242         javax/swing/event/CaretEvent.java,
14243         javax/swing/event/CaretListener.java,
14244         javax/swing/event/CellEditorListener.java,
14245         javax/swing/event/ChangeEvent.java,
14246         javax/swing/event/ChangeListener.java,
14247         javax/swing/event/DocumentEvent.java,
14248         javax/swing/event/DocumentListener.java,
14249         javax/swing/event/EventListenerList.java,
14250         javax/swing/event/HyperlinkEvent.java,
14251         javax/swing/event/HyperlinkListener.java,
14252         javax/swing/event/InternalFrameAdapter.java,
14253         javax/swing/event/InternalFrameEvent.java,
14254         javax/swing/event/InternalFrameListener.java,
14255         javax/swing/event/ListDataEvent.java,
14256         javax/swing/event/ListDataListener.java,
14257         javax/swing/event/ListSelectionEvent.java,
14258         javax/swing/event/ListSelectionListener.java,
14259         javax/swing/event/MenuDragMouseEvent.java,
14260         javax/swing/event/MenuDragMouseListener.java,
14261         javax/swing/event/MenuEvent.java,
14262         javax/swing/event/MenuKeyEvent.java,
14263         javax/swing/event/MenuKeyListener.java,
14264         javax/swing/event/MenuListener.java,
14265         javax/swing/event/MouseInputAdapter.java,
14266         javax/swing/event/MouseInputListener.java,
14267         javax/swing/event/PopupMenuEvent.java,
14268         javax/swing/event/PopupMenuListener.java,
14269         javax/swing/event/SwingPropertyChangeSupport.java,
14270         javax/swing/event/TableColumnModelEvent.java,
14271         javax/swing/event/TableColumnModelListener.java,
14272         javax/swing/event/TableModelEvent.java,
14273         javax/swing/event/TableModelListener.java,
14274         javax/swing/event/TreeExpansionEvent.java,
14275         javax/swing/event/TreeExpansionListener.java,
14276         javax/swing/event/TreeModelEvent.java,
14277         javax/swing/event/TreeModelListener.java,
14278         javax/swing/event/TreeSelectionEvent.java,
14279         javax/swing/event/TreeSelectionListener.java,
14280         javax/swing/event/TreeWillExpandListener.java,
14281         javax/swing/event/UndoableEditEvent.java,
14282         javax/swing/event/UndoableEditListener.java,
14283         javax/swing/filechooser/FileFilter.java,
14284         javax/swing/filechooser/FileSystemView.java,
14285         javax/swing/filechooser/FileView.java,
14286         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
14287         javax/swing/Icon.java, javax/swing/ImageIcon.java,
14288         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
14289         javax/swing/JApplet.java, javax/swing/JButton.java,
14290         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
14291         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
14292         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
14293         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
14294         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
14295         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
14296         javax/swing/JLayeredPane.java, javax/swing/JList.java,
14297         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
14298         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
14299         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
14300         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
14301         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
14302         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
14303         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
14304         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
14305         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
14306         javax/swing/JTextField.java, javax/swing/JTextPane.java,
14307         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
14308         javax/swing/JToolTip.java, javax/swing/JTree.java,
14309         javax/swing/JViewport.java, javax/swing/JWindow.java,
14310         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
14311         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
14312         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
14313         javax/swing/MenuSelectionManager.java,
14314         javax/swing/MutableComboBoxModel.java,
14315         javax/swing/OverlayLayout.java,
14316         javax/swing/plaf/ActionMapUIResource.java,
14317         javax/swing/plaf/basic/BasicBorders.java,
14318         javax/swing/plaf/basic/BasicButtonUI.java,
14319         javax/swing/plaf/basic/BasicCheckBoxUI.java,
14320         javax/swing/plaf/basic/BasicDefaults.java,
14321         javax/swing/plaf/basic/BasicGraphicsUtils.java,
14322         javax/swing/plaf/basic/BasicIconFactory.java,
14323         javax/swing/plaf/basic/BasicLabelUI.java,
14324         javax/swing/plaf/basic/BasicListUI.java,
14325         javax/swing/plaf/basic/BasicLookAndFeel.java,
14326         javax/swing/plaf/basic/BasicOptionPaneUI.java,
14327         javax/swing/plaf/basic/BasicPanelUI.java,
14328         javax/swing/plaf/basic/BasicRadioButtonUI.java,
14329         javax/swing/plaf/basic/BasicScrollPaneUI.java,
14330         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
14331         javax/swing/plaf/basic/BasicTextUI.java,
14332         javax/swing/plaf/basic/BasicToggleButtonUI.java,
14333         javax/swing/plaf/basic/BasicTreeUI.java,
14334         javax/swing/plaf/basic/BasicViewportUI.java,
14335         javax/swing/plaf/BorderUIResource.java,
14336         javax/swing/plaf/ButtonUI.java,
14337         javax/swing/plaf/ColorChooserUI.java,
14338         javax/swing/plaf/ColorUIResource.java,
14339         javax/swing/plaf/ComboBoxUI.java,
14340         javax/swing/plaf/ComponentInputMapUIResource.java,
14341         javax/swing/plaf/ComponentUI.java,
14342         javax/swing/plaf/DesktopIconUI.java,
14343         javax/swing/plaf/DesktopPaneUI.java,
14344         javax/swing/plaf/DimensionUIResource.java,
14345         javax/swing/plaf/FileChooserUI.java,
14346         javax/swing/plaf/FontUIResource.java,
14347         javax/swing/plaf/IconUIResource.java,
14348         javax/swing/plaf/InputMapUIResource.java,
14349         javax/swing/plaf/InsetsUIResource.java,
14350         javax/swing/plaf/InternalFrameUI.java,
14351         javax/swing/plaf/LabelUI.java,
14352         javax/swing/plaf/ListUI.java,
14353         javax/swing/plaf/MenuBarUI.java,
14354         javax/swing/plaf/MenuItemUI.java,
14355         javax/swing/plaf/OptionPaneUI.java,
14356         javax/swing/plaf/PanelUI.java,
14357         javax/swing/plaf/PopupMenuUI.java,
14358         javax/swing/plaf/ProgressBarUI.java,
14359         javax/swing/plaf/RootPaneUI.java,
14360         javax/swing/plaf/ScrollBarUI.java,
14361         javax/swing/plaf/ScrollPaneUI.java,
14362         javax/swing/plaf/SeparatorUI.java,
14363         javax/swing/plaf/SliderUI.java,
14364         javax/swing/plaf/SplitPaneUI.java,
14365         javax/swing/plaf/TabbedPaneUI.java,
14366         javax/swing/plaf/TableHeaderUI.java,
14367         javax/swing/plaf/TableUI.java,
14368         javax/swing/plaf/TextUI.java,
14369         javax/swing/plaf/ToolBarUI.java,
14370         javax/swing/plaf/ToolTipUI.java,
14371         javax/swing/plaf/TreeUI.java,
14372         javax/swing/plaf/UIResource.java,
14373         javax/swing/plaf/ViewportUI.java,
14374         javax/swing/ProgressMonitorInputStream.java,
14375         javax/swing/ProgressMonitor.java,
14376         javax/swing/Renderer.java,
14377         javax/swing/RepaintManager.java,
14378         javax/swing/RootPaneContainer.java,
14379         javax/swing/Scrollable.java,
14380         javax/swing/ScrollPaneConstants.java,
14381         javax/swing/ScrollPaneLayout.java,
14382         javax/swing/SingleSelectionModel.java,
14383         javax/swing/SizeRequirements.java,
14384         javax/swing/SizeSequence.java,
14385         javax/swing/SwingConstants.java,
14386         javax/swing/SwingUtilities.java,
14387         javax/swing/table/AbstractTableModel.java,
14388         javax/swing/table/DefaultTableCellRenderer.java,
14389         javax/swing/table/DefaultTableColumnModel.java,
14390         javax/swing/table/DefaultTableModel.java,
14391         javax/swing/table/TableCellEditor.java,
14392         javax/swing/table/TableCellRenderer.java,
14393         javax/swing/table/TableColumn.java,
14394         javax/swing/table/TableColumnModel.java,
14395         javax/swing/table/TableModel.java,
14396         javax/swing/text/AbstractDocument.java,
14397         javax/swing/text/AttributeSet.java,
14398         javax/swing/text/BadLocationException.java,
14399         javax/swing/text/Caret.java,
14400         javax/swing/text/CharacterIterator.java,
14401         javax/swing/text/ComponentView.java,
14402         javax/swing/text/DefaultCaret.java,
14403         javax/swing/text/DefaultEditorKit.java,
14404         javax/swing/text/Document.java,
14405         javax/swing/text/EditorKit.java,
14406         javax/swing/text/Element.java,
14407         javax/swing/text/GapContent.java,
14408         javax/swing/text/JTextComponent.java,
14409         javax/swing/text/Keymap.java,
14410         javax/swing/text/MutableAttributeSet.java,
14411         javax/swing/text/PlainDocument.java,
14412         javax/swing/text/PlainEditorKit.java,
14413         javax/swing/text/Position.java,
14414         javax/swing/text/Segment.java,
14415         javax/swing/text/StyledDocument.java,
14416         javax/swing/text/StyledEditorKit.java,
14417         javax/swing/text/Style.java,
14418         javax/swing/text/TextAction.java,
14419         javax/swing/text/ViewFactory.java,
14420         javax/swing/text/View.java,
14421         javax/swing/Timer.java,
14422         javax/swing/ToggleButtonModel.java,
14423         javax/swing/ToolTipManager.java,
14424         javax/swing/tree/AbstractLayoutCache.java,
14425         javax/swing/tree/DefaultMutableTreeNode.java,
14426         javax/swing/tree/DefaultTreeCellEditor.java,
14427         javax/swing/tree/DefaultTreeCellRenderer.java,
14428         javax/swing/tree/DefaultTreeModel.java,
14429         javax/swing/tree/DefaultTreeSelectionModel.java,
14430         javax/swing/tree/ExpandVetoException.java,
14431         javax/swing/tree/FixedHeightLayoutCache.java,
14432         javax/swing/tree/MutableTreeNode.java,
14433         javax/swing/tree/RowMapper.java,
14434         javax/swing/tree/TreeCellEditor.java,
14435         javax/swing/tree/TreeCellRenderer.java,
14436         javax/swing/tree/TreeModel.java,
14437         javax/swing/tree/TreeNode.java,
14438         javax/swing/tree/TreePath.java,
14439         javax/swing/tree/TreeSelectionModel.java,
14440         javax/swing/tree/VariableHeightLayoutCache.java,
14441         javax/swing/UIDefaults.java,
14442         javax/swing/UIManager.java,
14443         javax/swing/undo/AbstractUndoableEdit.java,
14444         javax/swing/undo/CannotRedoException.java,
14445         javax/swing/undo/CannotUndoException.java,
14446         javax/swing/undo/CompoundEdit.java,
14447         javax/swing/undo/StateEditable.java,
14448         javax/swing/undo/StateEdit.java,
14449         javax/swing/undo/UndoableEdit.java,
14450         javax/swing/undo/UndoableEditSupport.java,
14451         javax/swing/undo/UndoManager.java,
14452         javax/swing/UnsupportedLookAndFeelException.java,
14453         javax/swing/ViewportLayout.java,
14454         javax/swing/WindowConstants.java: New files, from GNU Classpath.
14455
14456         * java/awt/ActiveEvent.java,
14457         java/awt/Adjustable.java, java/awt/AWTError.java,
14458         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
14459         java/awt/AWTException.java, java/awt/AWTPermission.java,
14460         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
14461         java/awt/Color.java, java/awt/Component.java,
14462         java/awt/ComponentOrientation.java, java/awt/Container.java,
14463         java/awt/datatransfer/MimeTypeParseException.java,
14464         java/awt/datatransfer/Transferable.java,
14465         java/awt/datatransfer/UnsupportedFlavorException.java,
14466         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
14467         java/awt/event/ActionListener.java,
14468         java/awt/event/AdjustmentEvent.java,
14469         java/awt/event/AdjustmentListener.java,
14470         java/awt/event/AWTEventListener.java,
14471         java/awt/event/ComponentAdapter.java,
14472         java/awt/event/ComponentEvent.java,
14473         java/awt/event/ComponentListener.java,
14474         java/awt/event/ContainerAdapter.java,
14475         java/awt/event/ContainerEvent.java,
14476         java/awt/event/ContainerListener.java,
14477         java/awt/event/FocusAdapter.java,
14478         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
14479         java/awt/event/HierarchyBoundsAdapter.java,
14480         java/awt/event/HierarchyBoundsListener.java,
14481         java/awt/event/HierarchyEvent.java,
14482         java/awt/event/HierarchyListener.java,
14483         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
14484         java/awt/event/InputMethodListener.java,
14485         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
14486         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
14487         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
14488         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
14489         java/awt/event/MouseListener.java,
14490         java/awt/event/MouseMotionAdapter.java,
14491         java/awt/event/MouseMotionListener.java,
14492         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
14493         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
14494         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
14495         java/awt/event/WindowListener.java, java/awt/Font.java,
14496         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
14497         java/awt/geom/Ellipse2D.java,
14498         java/awt/geom/IllegalPathStateException.java,
14499         java/awt/geom/Line2D.java,
14500         java/awt/geom/NoninvertibleTransformException.java,
14501         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
14502         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
14503         java/awt/geom/RoundRectangle2D.java,
14504         java/awt/GraphicsConfiguration.java,
14505         java/awt/IllegalComponentStateException.java,
14506         java/awt/image/IndexColorModel.java,
14507         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
14508         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
14509         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
14510         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
14511         java/awt/MenuItem.java, java/awt/PaintContext.java,
14512         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
14513         java/awt/Polygon.java, java/awt/PrintGraphics.java,
14514         java/awt/PrintJob.java, java/awt/Rectangle.java,
14515         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
14516         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
14517         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
14518
14519         * java/awt/im/spi/InputMethod.java,
14520         java/awt/im/spi/InputMethodContext.java,
14521         java/awt/im/spi/InputMethodDescriptor.java,
14522         java/awt/image/renderable/ContextualRenderedImageFactory.java,
14523         java/awt/image/renderable/ParameterBlock.java,
14524         java/awt/image/renderable/RenderContext.java,
14525         java/awt/image/renderable/RenderableImage.java,
14526         java/awt/image/renderable/RenderableImageOp.java,
14527         java/awt/image/renderable/RenderableImageProducer.java,
14528         java/awt/image/renderable/RenderedImageFactory.java: New files from
14529         classpath.
14530
14531         * gnu/java/awt/EventModifier.java,
14532         gnu/java/awt/image/ImageDecoder.java,
14533         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
14534
14535         * gnu/awt/xlib/XGraphicsConfiguration.java,
14536         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
14537         API.
14538
14539         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
14540         GNU Classpath.
14541
14542         * Makefile.am: Add new files.
14543         * Makefile.in: Rebuilt.
14544
14545 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14546
14547         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
14548         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
14549         findResource, getResources, findResources): Add javadoc from classpath.
14550         (getSystemResources): Implemented.
14551
14552 2002-08-01  Mark Wielaard  <mark@klomp.org>
14553
14554         Revert patch that breaks libgcj shared library on powerpc:
14555         * gnu/java/security/provider/Gnu.java: Reverse referencing all
14556         implementation classes by using Class.getName(). Uses Strings again.
14557         * gnu/java/security/der/DEREncodingException.java,
14558         gnu/java/security/provider/DERReader.java,
14559         gnu/java/security/provider/DERWriter.java,
14560         gnu/java/security/provider/DSAKeyPairGenerator.java,
14561         gnu/java/security/provider/DSAParameterGenerator.java,
14562         gnu/java/security/provider/DSAParameters.java,
14563         gnu/java/security/provider/DSASignature.java,
14564         gnu/java/security/provider/GnuDSAPrivateKey.java,
14565         gnu/java/security/provider/GnuDSAPublicKey.java,
14566         gnu/java/security/provider/MD5.java,
14567         gnu/java/security/util/Prime.java: Removed.
14568         * Makefile.am (ordinary_java_source_files): Remove above files.
14569         * Makefile.in: Regenerate.
14570         * gnu/java/security/provider/DefaultPolicy.java
14571         (getPermissions): Revert to maintaining static class variable of
14572         Permissions.
14573         * gnu/java/security/provider/SHA.java
14574         (engineUpdate): Revert algorithm change.
14575         (engineDigest): Revert algorithm change.
14576
14577 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
14578
14579         * configure.host: Add SH support.
14580         * sysdep/sh/locks.h: New file.
14581
14582 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14583
14584         * java/awt/Frame.java (Frame): Remove println calls.
14585
14586 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
14587
14588         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
14589         * configure: Rebuilt.
14590
14591 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
14592
14593         * sysdep/powerpc/locks.h: Formatting.
14594         (_LARX): Define.
14595         (_STCX): Define.
14596         (compare_and_swap): Use _LARX and _STCX.
14597         (compare_and_swap_release): Likewise.
14598
14599 2002-07-26  Tom Tromey  <tromey@redhat.com>
14600
14601         * java/net/Authenticator.java: New version from Classpath.
14602         * java/net/DatagramSocketImpl.java: New version from Classpath.
14603
14604 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
14605
14606         * configure.host: Add powerpc64*-* entry.
14607
14608 2002-07-26  Tom Tromey  <tromey@redhat.com>
14609
14610         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
14611         fcntl.h.
14612
14613 2002-07-24  Tom Tromey  <tromey@redhat.com>
14614
14615         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
14616         argument to _load.
14617
14618 2002-07-24  Tom Tromey  <tromey@redhat.com>
14619             Tony Kimball <alk@pobox.com>
14620
14621         * java/io/natFileDescriptorWin32.cc (setLength): New method.
14622         * java/io/natFileDescriptorPosix.cc (setLength): New method.
14623         * java/io/RandomAccessFile.java (setLength): New method.
14624         * java/io/natFileDescriptorEcos.cc (setLength): New method.
14625         * java/io/FileDescriptor.java (setLength): New method.
14626
14627 2002-07-24  Mark Wielaard  <mark@klomp.org>
14628
14629         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
14630         * java/io/ObjectInputStream.java (setBooleanField): Before setting
14631         field call setAccessible(true).
14632         (setByteField): Likewise.
14633         (setCharField): Likewise.
14634         (setDoubleField): Likewise.
14635         (setFloatField): Likewise.
14636         (setIntField): Likewise.
14637         (setLongField): Likewise.
14638         (setShortField): Likewise.
14639         (setObjectField): Likewise.
14640
14641 2002-07-24  Tom Tromey  <tromey@redhat.com>
14642
14643         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
14644         use toString() to format array element.
14645
14646 2002-07-23  Mark Wielaard  <mark@klomp.org>
14647
14648         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
14649         MessageDigestSpi (fixes Classpath bug #783).
14650
14651 2002-07-21  Mark Wielaard  <mark@klomp.org>
14652
14653         * gnu/java/security/provider/Gnu.java: Reference all implementation
14654         classes by using Class.getName().
14655
14656 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
14657
14658         * java/lang/ieeefp.h: Add x86-64 support.
14659         * configure.in: Likewise.
14660         * configure.host: Likewise.
14661         * configure: Regenerated.
14662         * sysdep/x86-64/locks.h: New file with x86-64 locks.
14663
14664 2002-07-16  Mark Wielaard  <mark@klomp.org>
14665
14666         * java/io/StreamTokenizer.java (pushBack): Update documentation.
14667         (whitespaceChars): call resetChar().
14668
14669 2002-07-15  Tom Tromey  <tromey@redhat.com>
14670
14671         * Makefile.in: Rebuilt.
14672         * Makefile.am (awt_java_source_files): Added new files.
14673         * java/beans/ExceptionListener.java: Merged with Classpath.
14674         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
14675         * java/beans/PropertyChangeListener.java: Merged with Classpath.
14676         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
14677         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
14678         * java/beans/VetoableChangeListener.java: Merged with Classpath.
14679         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
14680         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
14681
14682 2002-07-14  Mark Wielaard  <mark@klomp.org>
14683
14684         * gnu/java/security/der/DEREncodingException.java,
14685         gnu/java/security/provider/DERReader.java,
14686         gnu/java/security/provider/DERWriter.java,
14687         gnu/java/security/provider/DSAKeyPairGenerator.java,
14688         gnu/java/security/provider/DSAParameterGenerator.java,
14689         gnu/java/security/provider/DSAParameters.java,
14690         gnu/java/security/provider/DSASignature.java,
14691         gnu/java/security/provider/GnuDSAPrivateKey.java,
14692         gnu/java/security/provider/GnuDSAPublicKey.java,
14693         gnu/java/security/provider/MD5.java,
14694         gnu/java/security/util/Prime.java: New files from Classpath.
14695         * Makefile.am (ordinary_java_source_files): Add new files.
14696         * Makefile.in: Regenerate.
14697
14698 2002-07-14  C. Brian Jones <cbj@gnu.org>
14699
14700         * gnu/java/security/provider/DefaultPolicy.java
14701         (getPermissions): do not maintain static class variable of
14702         Permissions
14703         * gnu/java/security/provider/SHA.java
14704         (engineUpdate): algorithm change
14705         (engineDigest): algorithm change
14706
14707 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
14708
14709         For PR libgcj/7292:
14710         * java/lang/Character.java (toString(char)): Now static.
14711
14712 2002-07-12  Mark Wielaard  <mark@klomp.org>
14713
14714         * java/lang/natThrowable.cc (printRawStackTrace): removed.
14715         (getStackTrace0): new method.
14716         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
14717         (printStackTrace(PrintWriter)): replace with pure java implementation.
14718         (printRawStackTrace): removed.
14719         (getStackTrace0): new method.
14720         * java/lang/StackTraceElement.java (toString): add extra whitespace.
14721         * gcj/javaprims.h: regenerate class list.
14722         * include/name-finder.h (lookup): new returns StackTraceElement*.
14723         (method_name, file_name): fields removed.
14724         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
14725         (~_Jv_name_finder): close new descriptors.
14726         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
14727         (createStackTraceElement): new method.
14728         (lookup): returns StackTraceElement*, uses createStackTraceElement().
14729
14730 2002-07-10  Tom Tromey  <tromey@redhat.com>
14731
14732         * configure: Rebuilt.
14733         * configure.in: Use `test' after `&&'.  From Chris Faylor.
14734
14735 2002-07-08  Mark Wielaard  <mark@klomp.org>
14736
14737         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
14738         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
14739         java.sql.DatabaseMetaData.TestJdbc20
14740
14741 2002-07-05  Tony Kimball  <alk@pobox.com>
14742
14743         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
14744
14745 2002-07-04  Tom Tromey  <tromey@redhat.com>
14746             Jeff Sturm  <jsturm@one-point.com>
14747
14748         Fix for PR libgcj/7060:
14749         * java/lang/Class.h (_getMethod): Renamed from getMethod.
14750         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
14751         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
14752         * java/lang/Class.java (getMethod): New Java implementation;
14753         complies with spec.
14754         (_getMethod): New native method.
14755
14756 2002-07-02  Tom Tromey  <tromey@redhat.com>
14757             David Hovemeyer  <daveho@cs.umd.edu>
14758
14759         * java/text/ChoiceFormat.java
14760         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
14761         in check loop.
14762         * java/text/MessageFormat.java
14763         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
14764         to MessageFormat.
14765
14766 2002-07-01  Tom Tromey  <tromey@redhat.com>
14767
14768         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
14769         StringTokenizer on null string.  For PR libgcj/7180.
14770         From daveho@cs.umd.edu.
14771
14772 2002-06-24  Tom Tromey  <tromey@redhat.com>
14773
14774         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
14775         (IntegerClass): Likewise.
14776         * java/lang/natClass.cc (CloneableClass): Removed.
14777         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
14778         ConstructorClass): Likewise.
14779         * java/lang/natClassLoader.cc (CloneableClass): Removed.
14780         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
14781         SerializableClass): Likewise.
14782         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
14783         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
14784         LongClass, FloatClass, DoubleClass): Likewise.
14785
14786         * verify.cc (branch_prepass): Updated for change to exception
14787         handler type.
14788         (verify_instructions_0): Likewise.
14789         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
14790         (handleExceptionTableEntry): Updated for change to exception
14791         handler type.
14792         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
14793         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
14794         (union _Jv_InterpPC): New.
14795         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
14796         (class _Jv_InterpMethod): Added new `prepared' field.
14797         (class _Jv_InterpMethod): Added `compile' method.  Removed
14798         `continue1' and `find_exception'.  Changed arguments to `run'.
14799         * interpret.cc (union insn_slot): New.
14800         (find_exception): Removed.
14801         (run_normal): Removed most logic.
14802         (run_synch_object): Likewise; also, use JvSynchronize.
14803         (run_synch_class): Likewise.
14804         (run): Removed.
14805         (continue1): Renamed as `run'.  Compile bytecode if required.
14806         Add new code to allow refinement of direct-threaded code at
14807         runtime.  Handle exceptions.
14808         (SAVE_PC): Removed.
14809         (compile): New method.
14810         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
14811         (NULLARRAYCHECK): Don't use SAVE_PC.
14812         (pc_t): New typedef.
14813         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
14814         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
14815
14816 2002-06-23  Tom Tromey  <tromey@redhat.com>
14817
14818         * configure: Rebuilt.
14819         * configure.in (INTERPRETER): New subst.
14820         (AM_RUNTESTFLAGS): Don't subst.
14821
14822         * Makefile.in: Rebuilt.
14823         * Makefile.am ($(srcdir)/java/lang/Object.h,
14824         $(srcdir)/java/lang/Class.h): Added dummy targets.
14825
14826 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14827
14828         Reformat JDBC classes and add new JDK 1.4 classes and methods.
14829
14830         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
14831         java/sql/Savepoint.java: New files.
14832         * java/sql/Array.java, java/sql/BatchUpdateException.java,
14833         java/sql/Blob.java, java/sql/CallableStatement.java,
14834         java/sql/Clob.java, java/sql/Connection.java,
14835         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
14836         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
14837         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
14838         java/sql/Ref.java, java/sql/ResultSet.java,
14839         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
14840         java/sql/SQLException.java, java/sql/SQLInput.java,
14841         java/sql/SQLOutput.java, java/sql/SQLWarning.java
14842         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
14843         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
14844         (JDK 1.4) specification.
14845         * javax/sql/ConnectionEvent.java,
14846         javax/sql/ConnectionEventListener.java,
14847         javax/sql/ConnectionPoolDataSource.java,
14848         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
14849         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
14850         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
14851         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
14852         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
14853         javax/sql/XADataSource.java: New files.
14854         * Makefile.am: Add new files.
14855         * Makefile.in: Rebuilt.
14856
14857 2002-06-20  Tom Tromey  <tromey@redhat.com>
14858
14859         For PR libgcj/7073:
14860         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
14861         exists.
14862         * defineclass.cc (handleClassBegin): Superclass for interface is
14863         `null'.
14864
14865 2002-06-18  Tom Tromey  <tromey@redhat.com>
14866
14867         * gcj/javaprims.h: Updated class declaration list.
14868         * Makefile.in: Rebuilt.
14869         * Makefile.am (core_java_source_files): Removed
14870         BasicMapEntry.java.
14871         * java/util/BasicMapEntry.java: Removed.
14872
14873 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
14874
14875         * java/net/natPlainDatagramSocketImpl.cc (receive):
14876         Check bounds of argument to FD_SET.
14877         (setOption): Throw exception if socket is closed.
14878
14879         * java/net/natPlainSocketImpl.cc (accept, read):
14880         Check bounds of argument to FD_SET.
14881         (setOption): Throw exception if socket is closed.
14882
14883 2002-06-18  Tom Tromey  <tromey@redhat.com>
14884
14885         * gcj/javaprims.h: Updated class declaration list.
14886         * Makefile.in: Rebuilt.
14887         * Makefile.am (core_java_source_files): Added
14888         PropertyPermissionCollection.java.
14889         * java/lang/Thread.java (group, name): Now package-private.
14890         * java/lang/ThreadGroup.java: Re-merge with Classpath.
14891         * java/util/AbstractList.java: Likewise.
14892         * java/util/AbstractMap.java: Likewise.
14893         * java/util/Calendar.java: Likewise.
14894         * java/util/Collections.java: Likewise.
14895         * java/util/HashMap.java: Likewise.
14896         * java/util/Hashtable.java: Likewise.
14897         * java/util/LinkedHashMap.java: Likewise.
14898         * java/util/LinkedList.java: Likewise.
14899         * java/util/List.java: Likewise.
14900         * java/util/ListResourceBundle.java: Likewise.
14901         * java/util/Map.java: Likewise.
14902         * java/util/Observable.java: Likewise.
14903         * java/util/Properties.java: Likewise.
14904         * java/util/PropertyPermission.java: Likewise.
14905         * java/util/PropertyPermissionCollection.java: Likewise.
14906         * java/util/PropertyResourceBundle.java: Likewise.
14907         * java/util/Random.java: Likewise.
14908         * java/util/SimpleTimeZone.java: Likewise.
14909         * java/util/StringTokenizer.java: Likewise.
14910         * java/util/TimerTask.java: Likewise.
14911         * java/util/TreeMap.java: Likewise.
14912         * java/util/WeakHashMap.java: Likewise.
14913         * java/util/jar/Attributes.java: Likewise.
14914         * java/util/jar/JarException.java: Likewise.
14915         * java/util/jar/Manifest.java: Likewise.
14916
14917 2002-06-17  Tom Tromey  <tromey@redhat.com>
14918
14919         * gcj/javaprims.h: Updated class declaration list.
14920         * Makefile.in: Rebuilt.
14921         * Makefile.am (core_java_source_files): Added new file.
14922         * java/util/EventListenerProxy.java: New file.
14923         * java/util/EventListener.java: Re-merge with Classpath.
14924         * java/util/EventObject.java: Re-merge with Classpath.
14925
14926 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14927
14928         * java/lang/ClassNotFoundException.java: New Classpath version.
14929
14930 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14931
14932         * java/rmi/activation/ActivateFailedException.java: Remerge from
14933         Classpath version.
14934         * java/rmi/activation/ActivationException.java: Ditto.
14935         * java/rmi/activation/UnknownGroupException.java: Ditto.
14936         * java/rmi/activation/UnknownObjectException.java: Ditto.
14937         * java/rmi/server/ExportException: Ditto.
14938         * java/rmi/server/ServerCloneException: Ditto.
14939         * java/rmi/server/ServerNotActiveException: Ditto.
14940         * java/rmi/server/SkeletonMismatchException: Ditto.
14941         * java/rmi/server/SkeletonNotFoundException: Ditto.
14942         * java/rmi/server/SocketSecurityException: Ditto.
14943
14944 2002-06-16  Tom Tromey  <tromey@redhat.com>
14945
14946         * gcj/javaprims.h: Updated class declaration list.
14947
14948         * java/io/LineNumberInputStream.java: Merged with Classpath.
14949
14950         * java/lang/RuntimeException.java: Re-merge with Classpath.
14951         * java/util/ArrayList.java: Likewise.
14952         * java/util/Arrays.java: Likewise.
14953         * java/util/BitSet.java: Likewise.
14954         * java/util/Dictionary.java: Likewise.
14955         * java/util/IdentityHashMap.java: Likewise.
14956         * java/util/MissingResourceException.java: Likewise.
14957         * java/util/Observer.java: Likewise.
14958         * java/util/TooManyListenersException.java: Likewise.
14959         * java/util/zip/DataFormatException.java: Likewise.
14960         * java/util/zip/ZipException.java: Likewise.
14961
14962 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
14963
14964         * java/rmi/AccessException.java: Remerge from Classpath.
14965         * java/rmi/AlreadyBoundException.java: Ditto.
14966         * java/rmi/ConnectException.java: Ditto.
14967         * java/rmi/ConnectIOException.java: Ditto.
14968         * java/rmi/MarshalException.java: Ditto.
14969         * java/rmi/NoSuchObjectException.java: Ditto.
14970         * java/rmi/NotBoundException.java: Ditto.
14971         * java/rmi/RemoteException.java: Ditto.
14972         * java/rmi/RMISecurityException.java: Ditto.
14973         * java/rmi/ServerError.java: Ditto.
14974         * java/rmi/ServerException.java: Ditto.
14975         * java/rmi/ServerRuntimeException.java: Ditto.
14976         * java/rmi/StubNotFoundException.java: Ditto.
14977         * java/rmi/UnexpectedExcpetion.java: Ditto.
14978         * java/rmi/UnknownHostException.java: Ditto.
14979         * java/rmi/UnmarshalException.java: Ditto.
14980
14981 2002-06-15  Tom Tromey  <tromey@redhat.com>
14982
14983         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
14984         * java/lang/ArithmeticException.java: Likewise.
14985         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
14986         * java/lang/ArrayStoreException.java: Likewise.
14987         * java/lang/Byte.java: Likewise.
14988         * java/lang/CharSequence.java: Likewise.
14989         * java/lang/ClassCastException.java: Likewise.
14990         * java/lang/ClassCircularityError.java: Likewise.
14991         * java/lang/ClassFormatError.java: Likewise.
14992         * java/lang/CloneNotSupportedException.java: Likewise.
14993         * java/lang/Cloneable.java: Likewise.
14994         * java/lang/Comparable.java: Likewise.
14995         * java/lang/Compiler.java: Likewise.
14996         * java/lang/Error.java: Likewise.
14997         * java/lang/ExceptionInInitializerError.java: Likewise.
14998         * java/lang/IllegalAccessError.java: Likewise.
14999         * java/lang/IllegalAccessException.java: Likewise.
15000         * java/lang/IllegalArgumentException.java: Likewise.
15001         * java/lang/IllegalMonitorStateException.java: Likewise.
15002         * java/lang/IllegalStateException.java: Likewise.
15003         * java/lang/IllegalThreadStateException.java: Likewise.
15004         * java/lang/IncompatibleClassChangeError.java: Likewise.
15005         * java/lang/IndexOutOfBoundsException.java: Likewise.
15006         * java/lang/InheritableThreadLocal.java: Likewise.
15007         * java/lang/InstantiationError.java: Likewise.
15008         * java/lang/InstantiationException.java: Likewise.
15009         * java/lang/InternalError.java: Likewise.
15010         * java/lang/InterruptedException.java: Likewise.
15011         * java/lang/LinkageError.java: Likewise.
15012         * java/lang/NegativeArraySizeException.java: Likewise.
15013         * java/lang/NoClassDefFoundError.java: Likewise.
15014         * java/lang/NoSuchFieldError.java: Likewise.
15015         * java/lang/NoSuchFieldException.java: Likewise.
15016         * java/lang/NoSuchMethodError.java: Likewise.
15017         * java/lang/NoSuchMethodException.java: Likewise.
15018         * java/lang/NullPointerException.java: Likewise.
15019         * java/lang/NumberFormatException.java: Likewise.
15020         * java/lang/OutOfMemoryError.java: Likewise.
15021         * java/lang/Process.java: Likewise.
15022         * java/lang/Runnable.java: Likewise.
15023         * java/lang/RuntimePermission.java: Likewise.
15024         * java/lang/SecurityException.java: Likewise.
15025         * java/lang/Short.java: Likewise.
15026         * java/lang/StackOverflowError.java: Likewise.
15027         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
15028         * java/lang/ThreadDeath.java: Likewise.
15029         * java/lang/ThreadLocal.java: Likewise.
15030         * java/lang/UnknownError.java: Likewise.
15031         * java/lang/UnsatisfiedLinkError.java: Likewise.
15032         * java/lang/UnsupportedClassVersionError.java: Likewise.
15033         * java/lang/UnsupportedOperationException.java: Likewise.
15034         * java/lang/VerifyError.java: Likewise.
15035         * java/lang/VirtualMachineError.java: Likewise.
15036         * java/lang/reflect/InvocationTargetException.java: Likewise.
15037         * java/net/BindException.java: Likewise.
15038         * java/net/ConnectException.java: Likewise.
15039         * java/net/MalformedURLException.java: Likewise.
15040         * java/net/NoRouteToHostException.java: Likewise.
15041         * java/net/ProtocolException.java: Likewise.
15042         * java/net/SocketException.java: Likewise.
15043         * java/net/UnknownHostException.java: Likewise.
15044         * java/net/UnknownServiceException.java: Likewise.
15045
15046         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
15047         * java/io/CharConversionException.java: Likewise.
15048         * java/io/EOFException.java: Likewise.
15049         * java/io/FileNotFoundException.java: Likewise.
15050         * java/io/IOException.java: Likewise.
15051         * java/io/InterruptedIOException.java: Likewise.
15052         * java/io/InvalidClassException.java: Likewise.
15053         * java/io/InvalidObjectException.java: Likewise.
15054         * java/io/NotActiveException.java: Likewise.
15055         * java/io/NotSerializableException.java: Likewise.
15056         * java/io/ObjectStreamException.java: Likewise.
15057         * java/io/ObjectStreamConstants.java: Likewise.
15058         * java/io/OptionalDataException.java: Likewise.
15059         * java/io/PipedInputStream.java: Likewise.
15060         * java/io/PushbackInputStream.java: Likewise.
15061         * java/io/StreamCorruptedException.java: Likewise.
15062         * java/io/SyncFailedException.java: Likewise.
15063         * java/io/UTFDataFormatException.java: Likewise.
15064         * java/io/UnsupportedEncodingException.java: Likewise.
15065         * java/io/WriteAbortedException.java: Likewise.
15066
15067 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
15068
15069         * java/text/ChoiceFormat.java: Update comments from Classpath.
15070         * java/text/ParseException.java (serialVersionUID): New
15071         field from Classpath.
15072         * java/text/ParseException.java: Update formatting & comments
15073         from Classpath.
15074
15075 2002-06-15  Tom Tromey  <tromey@redhat.com>
15076
15077         * java/util/zip/InflaterInputStream.java (read): Loop if data has
15078         been read but none output by inflater.
15079         * java/util/zip/natDeflater.cc (reset): Set is_finished.
15080         * java/util/zip/natInflater.cc (reset): Set dist_needed and
15081         is_finished.
15082         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
15083         version.
15084         * java/util/zip/ZipFile.java: Replaced with Classpath version.
15085         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
15086         * java/util/zip/ZipInputStream.java: Replaced with Classpath
15087         version.
15088         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
15089
15090 2002-06-13  Tom Tromey  <tromey@redhat.com>
15091
15092         * java/lang/natString.cc (init): Handle case where DONT_COPY is
15093         true and OFFSET!=0.
15094         * java/lang/String.java (String(char[],int,int,boolean): New
15095         constructor.
15096         * java/lang/Long.java: Imported new version from Classpath.
15097         * java/lang/Number.java: Likewise.
15098         * java/lang/Integer.java: Likewise.
15099         * java/lang/Long.java: Likewise.
15100         * java/lang/Float.java: Likewise.
15101         * java/lang/Boolean.java: Likewise.
15102         * java/lang/Double.java: Likewise.
15103         * java/lang/Void.java: Likewise.
15104
15105 2002-06-12  Tom Tromey  <tromey@redhat.com>
15106
15107         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
15108         Fixes PR libgcj/6652.
15109
15110 2002-06-10  Tom Tromey  <tromey@redhat.com>
15111
15112         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
15113         (Class::getPackagePortion): Likewise.
15114         * java/lang/Class.java (desiredAssertionStatus): New method from
15115         Classpath.
15116         (getPackagePortion): Likewise.
15117         * java/lang/VMClassLoader.java (defaultAssertionStatus,
15118         packageAssertionStatus, classAssertionStatus): New methods from
15119         Classpath.
15120         * java/lang/ClassLoader.java (defaultAssertionStatus,
15121         systemPackageAssertionStatus, packageAssertionStatus,
15122         systemClassAssertionStatus, classAssertionStatus): New fields from
15123         Classpath.
15124         (setDefaultAssertionStatus, setPackageAssertionStatus,
15125         setClassAssertionStatus, clearAssertionStatus): New methods from
15126         Classpath.
15127         * Makefile.in: Rebuilt.
15128         * Makefile.am (core_java_source_files): Added AssertionError.java.
15129         * java/lang/AssertionError.java: New from Classpath.
15130
15131 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15132
15133         * configure.host: Disable hash synchronization and slow_pthread_self
15134         for cygwin.
15135
15136 2002-06-06  Adam Megacz <adam@xwt.org>
15137
15138         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
15139         locking, just like the Sun JVM does.
15140
15141 2002-06-05  H.J. Lu  (hjl@gnu.org)
15142
15143         * Makefile.am (libgcj_convenience.la): Revert the last change.
15144         (libgcj.la): Likewise.
15145         * Makefile.in: Regenerated.
15146
15147 2002-06-04  H.J. Lu  (hjl@gnu.org)
15148
15149         * Makefile.am (libgcj_convenience.la): New target.
15150         (libgcj.la): Depend on libgcj_convenience.la.
15151         * Makefile.in: Regenerated.
15152
15153 2002-06-04  H.J. Lu  (hjl@gnu.org)
15154
15155         * configure.in (--with-newlib): New option:
15156         Check ${with_newlib} instead of ${with_cross_host} for newlib.
15157         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
15158         Linux.
15159         * configure: Regenerated.
15160
15161 2002-06-04  Tom Tromey  <tromey@redhat.com>
15162
15163         * java/util/natTimeZone.cc: Include <stdio.h>.
15164
15165 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
15166
15167         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
15168         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
15169         Set SIGNAL_HANDLER=include/s390-linux.h.
15170         * configure: Regenerate.
15171         * include/s390-linux.h: New file.
15172
15173 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15174
15175         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
15176         not "stackTrace".
15177
15178 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15179
15180         Merge JDK 1.4 java.security changes from classpath.
15181
15182         * java/security/AccessControlException.java: Merge from Classpath.
15183         * java/security/AccessController.java: Likewise.
15184         * java/security/AllPermission.java: Likewise.
15185         * java/security/BasicPermission.java: Likewise.
15186         * java/security/Certificate.java: Likewise.
15187         * java/security/CodeSource.java: Likewise.
15188         * java/security/DigestException.java: Likewise.
15189         * java/security/DigestOutputStream.java: Likewise.
15190         * java/security/DomainCombiner.java: Likewise.
15191         * java/security/GeneralSecurityException.java: Likewise.
15192         * java/security/Guard.java: Likewise.
15193         * java/security/GuardedObject.java: Likewise.
15194         * java/security/InvalidAlgorithmParameterException.java: Likewise.
15195         * java/security/InvalidKeyException.java: Likewise.
15196         * java/security/InvalidParameterException.java: Likewise.
15197         * java/security/Key.java: Likewise.
15198         * java/security/KeyException.java: Likewise.
15199         * java/security/KeyManagementException.java: Likewise.
15200         * java/security/KeyStoreException.java: Likewise.
15201         * java/security/MessageDigest.java: Likewise.
15202         * java/security/NoSuchAlgorithmException.java: Likewise.
15203         * java/security/NoSuchProviderException.java: Likewise.
15204         * java/security/Permission.java: Likewise.
15205         * java/security/PermissionCollection.java: Likewise.
15206         * java/security/Permissions.java: Likewise.
15207         * java/security/Policy.java: Likewise.
15208         * java/security/Principal.java: Likewise.
15209         * java/security/PrivateKey.java: Likewise.
15210         * java/security/PrivilegedAction.java: Likewise.
15211         * java/security/PrivilegedActionException.java: Likewise.
15212         * java/security/PrivilegedExceptionAction.java: Likewise.
15213         * java/security/ProtectionDomain.java: Likewise.
15214         * java/security/ProviderException.java: Likewise.
15215         * java/security/PublicKey.java: Likewise.
15216         * java/security/SecureClassLoader.java: Likewise.
15217         * java/security/SecurityPermission.java: Likewise.
15218         * java/security/SignatureException.java: Likewise.
15219         * java/security/UnrecoverableKeyException.java: Likewise.
15220         * java/security/UnresolvedPermission.java: Likewise.
15221         * java/security/acl/AclNotFoundException.java: Likewise.
15222         * java/security/acl/LastOwnerException.java: Likewise.
15223         * java/security/acl/NotOwnerException.java: Likewise.
15224         * java/security/cert/CRLException.java: Likewise.
15225         * java/security/cert/CertificateEncodingException.java: Likewise.
15226         * java/security/cert/CertificateException.java: Likewise.
15227         * java/security/cert/CertificateExpiredException.java: Likewise.
15228         * java/security/cert/CertificateFactory.java: Likewise.
15229         * java/security/cert/CertificateNotYetValidException.java: Likewise.
15230         * java/security/cert/CertificateParsingException.java: Likewise.
15231         * java/security/spec/InvalidKeySpecException.java: Likewise.
15232         * java/security/spec/InvalidParameterSpecException.java: Likewise.
15233
15234         * java/security/cert/CertPath.java: New file.
15235         * java/security/cert/CertPathBuilderException.java: New file.
15236         * java/security/cert/CertPathValidatorException.java: New file.
15237         * java/security/cert/CertStoreException.java: New file.
15238
15239         * Makefile.am: Add new CertPath classes.
15240         * Makefile.in: Rebuilt.
15241
15242         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
15243
15244 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15245
15246         Merge JDK 1.4 exception chaining support from classpath.
15247
15248         * java/lang/Throwable.java: Merge 1.4 support from classpath.
15249         (stackTraceBytes): Rename from stackTrace.
15250         * java/lang/Exception.java: Merge from classpath.
15251         * java/lang/StackTraceElement: New file from classpath.
15252         * gcj/javaprims.h: Rebuild CNI namespace declarations.
15253         * Makefile.am: Add StackTraceElement.
15254         * Makefile.in: Rebuilt.
15255
15256 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15257
15258         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
15259         they build first.
15260         * Makefile.in: Rebuilt.
15261
15262 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15263
15264         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
15265         * configure.in: Likewise.
15266         * aclocal.m4: Regenerate.
15267         * configure: Regenerate.
15268
15269 2002-05-13  Tom Tromey  <tromey@redhat.com>
15270
15271         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
15272         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
15273         Include platform.h.
15274
15275         Fixes PR libgcj/6389:
15276         * Makefile.in: Rebuilt.
15277         * Makefile.am (nat_source_files): Added natTimeZone.cc.
15278         * java/util/natTimeZone.cc: New file.
15279         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
15280         * java/lang/System.java: Merged with Classpath.
15281         * java/lang/Runtime.java: Merged with Classpath.
15282         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
15283         security check.
15284         (setIn0): Renamed from setIn; don't run security check.
15285         (setOut0): Renamed from setOut; don't run security check.
15286         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
15287         init_properties): Moved to natRuntime.cc.
15288         Moved many includes to natRuntime.cc.
15289         (isWordsBigEndian): New method.
15290         * java/lang/natRuntime.cc: Include Long.h, also other includes
15291         previously in natSystem.cc.
15292         (maxMemory): New function.
15293         (exitInternal): Renamed from `_exit'.
15294         (exit): Removed.
15295         (init): Don't set finalize_on_exit.
15296         (exitInternal): Use `finalizeOnExit'.
15297         (file_encoding, getpwuid_adaptor): New functions from
15298         natSystem.cc.
15299         (insertSystemProperties): New method, renamed from
15300         System::init_properties.  Don't set user.timezone.
15301         (_load): Don't call checkLink.
15302         (execInternal): New method.
15303         (availableProcessors): Likewise.
15304         (nativeGetLibname): Likewise.
15305
15306 2002-05-11  Mark Wielaard  <mark@klomp.org>
15307
15308         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
15309         space characters.
15310         (previous_internal): Likewise.
15311
15312 2002-05-09  Tom Tromey  <tromey@redhat.com>
15313
15314         * jni.cc (_Jv_JNIFunctions): Fixed typo.
15315
15316         * java/util/ResourceBundle.java: New version from Classpath.
15317         * java/util/Locale.java: Likewise.
15318
15319 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
15320
15321         * testsuite/lib/libjava.exp (libjava_arguments): Append all
15322         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
15323         LD_LIBRARY_PATH.
15324
15325 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
15326
15327         * libjava/Makefile.am (all_java_source_files): New variable.
15328         (all_java_class_files): Likewise.
15329         .java.class: New rule.
15330         (CLEANFILES): Remove tmp-list.
15331         * libjava/Makefile.in: Regenerated.
15332
15333 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
15334
15335         * testsuite/lib/libjava.exp (test_libjava_from_javac):
15336         Append .exe to executable names.  Fix for cygwin.
15337
15338 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
15339
15340         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
15341         script entry, and set LD to it when configuring multilibs.
15342         * configure: Rebuilt.
15343
15344 2002-05-07  Tom Tromey  <tromey@redhat.com>
15345
15346         * java/lang/natString.cc (unintern): Fixed typo.
15347
15348 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
15349
15350         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
15351         with -no-install on *-*-cygwin*.
15352
15353 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
15354
15355         * testsuite/lib/libjava.exp (test_libjava_from_source):
15356         Add comment explaining last patch
15357
15358 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
15359
15360         * testsuite/lib/libjava.exp (test_libjava_from_source):
15361         Append .exe to executable names.  If no suffix is present,
15362         then ".exe" is added by default on win32.  Harmless
15363         elsewhere so always do it.
15364
15365 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
15366             Tom Tromey  <tromey@redhat.com>
15367
15368         * java/lang/natSystem.cc (getSystemTimeZone): Use
15369         HAVE_UNDERSCORE_TIMEZONE.
15370         * include/config.h.in: Rebuilt.
15371         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
15372         * aclocal.m4, configure: Rebuilt.
15373         * acinclude.m4: Run AC_EXEEXT.
15374         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
15375         Add test for `_timezone'.
15376
15377 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
15378
15379         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15380         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
15381         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15382         * Makefile.in: Rebuilt.
15383
15384 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
15385
15386         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
15387         use sigaction instead of __libc_sigaction.
15388
15389 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15390
15391         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
15392         (libjava_init): Use it to find libgcj.spec.
15393         (libjava_arguments): Likewise.
15394
15395 2002-05-02  David S. Miller  <davem@redhat.com>
15396
15397         PR bootstrap/6525
15398         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
15399         __libc_sigaction on Sparc.
15400
15401 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
15402
15403         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
15404         sys/filio.h, if present.
15405
15406 2002-04-30  Tom Tromey  <tromey@redhat.com>
15407
15408         * java/io/BufferedReader.java (fill): Handle case where markPos
15409         point to ignored \n.  Fixes PR libgcj/6301.
15410
15411 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
15412
15413         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
15414
15415 2002-04-29  Adam King <aking@dreammechanics.com>
15416
15417         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
15418         of file in APPEND mode.
15419
15420 2002-04-25  David S. Miller  <davem@redhat.com>
15421
15422         PR target/6422
15423         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
15424         program counter to next program counter minus 8.  Update
15425         comments in this macro to explain why.
15426
15427 2002-04-26  Tom Tromey  <tromey@redhat.com>
15428
15429         * verify.cc (construct_primitive_array_type) [void_type]: New
15430         case.
15431         (branch_prepass): Added dummy entries for unused instruction
15432         values.
15433         (verify_instructions_0): Likewise.
15434         * interpret.cc (continue1): Comment fix.
15435         * include/java-insns.h (op_xxxunusedxxx1): Removed.
15436         * Makefile.in: Rebuilt.
15437         * Makefile.am: Added -Wswitch-enum.
15438
15439 2002-04-24  Tom Tromey  <tromey@redhat.com>
15440
15441         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
15442         correct length of UTF-8 encoded name.  Strip leading `/'.
15443         (_Jv_RegisterResource): Use _Jv_Malloc.
15444
15445 2002-04-23  Adam Megacz <adam@xwt.org>
15446
15447         * win32.cc, include/win32.cc (backtrace): Added this function
15448         because Win32 does not supply it.
15449
15450 2002-04-21  David S. Miller  <davem@redhat.com>
15451
15452         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
15453         magic instruction reading sequence.
15454
15455 2002-04-21  Mark Wielaard  <mark@klomp.org>
15456
15457         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
15458
15459 2002-04-19  David S. Miller  <davem@redhat.com>
15460
15461         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
15462         arg.
15463         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
15464         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
15465         on Sparc too.
15466         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
15467         for 64-bit sparc.
15468         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
15469         * sysdeps/sparc/locks.h: New file.
15470         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
15471         on all sparc Solaris configurations.  Set to
15472         include/dwarf2-signal.h on sparc Linux.
15473         * configure: Regenerate
15474         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
15475
15476 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
15477
15478         * configure: Rebuilt.
15479         * configure.in (backtrace): Function doesn't work on IA-64.
15480
15481 2002-04-17  Adam King <aking@dreammechanics.com>
15482
15483         * java/io/File.java (normalizePath): Add Win32 support for auto
15484         conversion of a '/' path separator to Win32's '\' separator.
15485
15486 2002-04-16  Tom Tromey  <tromey@redhat.com>
15487
15488         Fix for PR libgcj/6081:
15489         * Makefile.in: Rebuilt.
15490         * Makefile.am (install-data-local): Use GNU make trick to avoid
15491         shell limit.
15492
15493 2002-04-16  Adam King <aking@dreammechanics.com>
15494             Tom Tromey  <tromey@redhat.com>
15495
15496         * java/io/natFileWin32.cc (performList): Return the correct array
15497         type.  Don't duplicate the creation of a File since it's already
15498         done earlier in the method and the existing code would cause a
15499         ArrayStoreException.  Don't use fixed-size array.
15500         (_access, _stat, attr, getCanonicalPath, performMkdir,
15501         performRenameTo): Don't use fixed-size array.
15502         (getCanonicalPath): Use throw, not _Jv_Throw.
15503
15504 2002-04-15  DJ Delorie  <dj@redhat.com>
15505
15506         * configure.in: Allow building in $srcdir.
15507         * configure: Regenerated.
15508
15509 2002-04-14  Mark Wielaard <mark@klomp.org>
15510
15511         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
15512         * java/net/natSocketImpl.cc (close): Likewise.
15513
15514 2002-04-14  Mark Wielaard <mark@klomp.org>
15515
15516         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
15517
15518 2002-04-13  Adam King <aking@dreammechanics.com>
15519
15520         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
15521         the f/F/d/D modifiers.
15522
15523 2002-04-12  Anthony Green  <green@redhat.com>
15524
15525         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
15526         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
15527         * Makefile.in: Rebuilt.
15528         * configure.in: Substitute gcc_version.
15529         * configure: Rebuilt.
15530
15531 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15532
15533         * configure.host: Set can_unwind_signal on hosts which support it.
15534         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
15535         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
15536         exceptions and can_unwind_signal isn't set.
15537         * configure: Rebuilt.
15538
15539 2002-04-11  Tom Tromey  <tromey@redhat.com>
15540
15541         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
15542
15543 2002-04-11  Adam King <aking@dreammechanics.com>
15544             Tom Tromey  <tromey@redhat.com>
15545
15546         * include/jvm.h (_Jv_ThrowBadArrayIndex,
15547         _Jv_ThrowNullPointerException): Mark as noreturn.
15548         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
15549         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
15550         fixes.
15551
15552 2002-04-10  Tom Tromey  <tromey@redhat.com>
15553
15554         * Makefile.in: Rebuilt.
15555         * Makefile.am (java/lang/Thread.h): Mark
15556         _Jv_AttachCurrentThreadAsDaemon as friend.
15557         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
15558         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
15559         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
15560         function.
15561         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
15562         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
15563         (_Jv_JNI_InvokeFunctions): Added
15564         _Jv_JNI_AttachCurrentThreadAsDaemon.
15565         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
15566         (JNI_GetDefaultJavaVMInitArgs): Likewise.
15567         (JNI_CreateJavaVM): Likewise.
15568         (_Jv_JNI_AttachCurrentThread): Likewise.
15569         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
15570         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
15571         (_Jv_JNIFunctions): Initialize new fields.
15572         (_Jv_JNI_NewDirectByteBuffer): New function.
15573         (_Jv_JNI_GetDirectBufferAddress): Likewise.
15574         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
15575         * include/jni.h (JNI_VERSION_1_4): New macro.
15576         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
15577         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
15578         (JNINativeInterface::NewDirectByteBuffer): New field.
15579         (JNINativeInterface::GetDirectBufferAddress): New field.
15580         (JNINativeInterface::GetDirectBufferCapacity): New field.
15581         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
15582         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
15583         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
15584
15585 2002-04-09  Tom Tromey  <tromey@redhat.com>
15586
15587         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
15588
15589 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
15590
15591         Fix for PR libgcj/6187:
15592         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
15593         distance.
15594
15595 2002-04-07  Mark Wielaard <mark@klomp.org>
15596
15597         * java/util/AbstractMap.java (putAll): Use entrySet size.
15598         (toString): Explicitly use getKey() and getValue().
15599
15600 2002-04-07  Mark Wielaard <mark@klomp.org>
15601
15602         * java/util/Hashtable.java (contains): Remove NullPointer check.
15603         (containsValue): Add NullPointer check.
15604         (remove): Always throw NullPointerException when key
15605         is null.
15606
15607 2002-04-07  Adam King <aking@dreammechanics.com>
15608
15609         * java/lang/natSystem.cc (init_properties): Call new function
15610         _Jv_platform_initProperties.
15611         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
15612         support for the System properties os.name, os.arch, os.version,
15613         user.name, user.home, and user.dir.
15614         * include/posix.h, include/win32.h, posix.cc: New function
15615         _Jv_platform_initProperties.
15616
15617 2002-04-06  Mark Wielaard <mark@klomp.org>
15618
15619         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
15620
15621 2002-04-06  Mark Wielaard <mark@klomp.org>
15622
15623         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
15624         all of the remaining elements.
15625         * java/util/Vector.java (addAll(int,Collection)): Likewise.
15626         (removeRange): If toIndex == fromIndex do
15627         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
15628         (removeAll): Always throw NullPointerException when collection is
15629         null.
15630         (retrainAll): Likewise.
15631
15632 2002-04-05  Mark Wielaard <mark@klomp.org>
15633
15634         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
15635         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
15636
15637 2002-04-05  Adam Megacz <adam@xwt.org>
15638
15639         * exception.cc (abort): added static modifier
15640
15641 2002-04-04  Adam Megacz <adam@xwt.org>
15642
15643         * include/win32.h (_Jv_platform_close_on_exec): added inline
15644         modifier.
15645
15646 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
15647
15648         * configure.host: Add case statement to support generic port
15649         properties.  Add *-*-freebsd* section.
15650
15651 2002-04-04  Mark Wielaard  <mark@klomp.org>
15652
15653         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
15654         test.
15655         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
15656         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
15657         that depend on awt code and BufferedByteOutputStream.interrupt.
15658
15659 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15660
15661         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
15662         incorrect "hi" value when count > 40.
15663
15664 2002-04-03  Mark Wielaard  <mark@klomp.org>
15665
15666         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
15667         ordering.
15668
15669 2002-04-02  Tom Tromey  <tromey@redhat.com>
15670
15671         * java/lang/natClassLoader.cc (findClass): Compare against `3',
15672         not `0'.
15673
15674 2002-04-02  Mark Wielaard  <mark@klomp.org>
15675
15676         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
15677         list of testsuite crashers.
15678
15679 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15680
15681         * java/util/IdentityHashMap.java (put): Set new threshold correctly
15682         when resizing table.
15683
15684 2002-04-01  Mark Wielaard  <mark@klomp.org>
15685
15686         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
15687         NegativeArraySizeException
15688         (clear(int)): Use sign extended shift.
15689         (flip(int)): Likewise.
15690         (get(int)): Likewise.
15691         (nextClearBit(int)): Likewise.
15692         (nextSetBit(int)): Likewise.
15693         (set(int)): Likewise.
15694
15695 2002-04-01  Mark Wielaard  <mark@klomp.org>
15696
15697         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
15698         that can be compiled now and add testsuite crashers to ignore list.
15699
15700 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
15701
15702         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
15703
15704         * libgcj.spec.in: Override libgcc, not lib.
15705         * libgcj-test.spec.in: Likewise.
15706
15707 2002-03-29  Tom Tromey  <tromey@redhat.com>
15708
15709         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
15710         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
15711
15712 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
15713
15714         * java/net/PlainDatagramSocketImpl.java
15715         (close): Use native implementation.
15716         (finalize): New method.
15717
15718         * java/net/PlainSocketImpl.java (finalize): New method.
15719
15720         * java/net/natPlainDatagramSocketImpl.cc
15721         (java/io/FileDescriptor.h): Don't include.
15722         (close): Implement method here.
15723         (create): Don't assign fd.
15724
15725         * java/net/natPlainSocketImpl.cc
15726         (java/io/FileDescriptor.h): Don't include.
15727         (create): Don't assign fd.
15728         (accept): Likewise.
15729         (close): Synchronize.
15730
15731 2002-03-27  Richard Henderson  <rth@redhat.com>
15732
15733         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
15734
15735 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15736
15737         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15738         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
15739         instead of syscall on IA-64.
15740         Add FIXME comment.
15741
15742 2002-03-27  Anthony Green  <green@redhat.com>
15743
15744         * libgcj.spec.in: Add CHECKREFSPEC.
15745         * configure.in: Ditto.
15746         * configure.host: Ditto.  Check references for xscale-elf.
15747         * configure: Rebuilt.
15748
15749 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
15750
15751         * include/dwarf2-signal.h: Temporarily back out last change.
15752
15753 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
15754
15755         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
15756
15757 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15758
15759         * configure.in, configure: enable dwarf2-exception-style
15760         exception handling on IA-64.
15761         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15762         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
15763         Add FIXME comment.
15764
15765 2002-03-25  Tom Tromey  <tromey@redhat.com>
15766
15767         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
15768         (jv_convert_LDFLAGS): Likewise.
15769         (gij_LDFLAGS): Likewise.
15770         (rmic_LDFLAGS): Likewise.
15771         (rmiregistry_LDFLAGS): Likewise.
15772         * configure.in (THREADLDFLAGS): New subst; set correctly for
15773         *BSD.
15774
15775 2002-03-25  Tom Tromey  <tromey@redhat.com>
15776
15777         For PR libgcj/5303:
15778         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
15779         and --version.
15780         (help): New method.
15781         (version): Likewise.
15782         * gnu/gcj/convert/Convert.java (version): Removed extraneous
15783         "GNU".
15784         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
15785         "GNU".
15786
15787 2002-03-25  Tom Tromey  <tromey@redhat.com>
15788
15789         * java/awt/Component.java (processEvent): Check ComponentEvent
15790         after KeyEvent.
15791
15792 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15793
15794         * java/io/PushbackReader.java: Reformat.
15795
15796         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
15797         calculate correct number of bytes skipped.
15798
15799         Based on patch from Intel's ORP team:
15800         * java/io/PushbackInputStream.java (available): Calculate correct
15801         number of bytes in buffer.
15802         (read): Remove redundant bound check. Return bytes from both the
15803         buffer and the stream.
15804
15805 2002-03-24  Tom Tromey  <tromey@redhat.com>
15806
15807         * java/awt/TextComponent.java (TextComponent): Editable by
15808         default.
15809
15810         * java/awt/MenuItem.java (eventMask): No longer private.
15811         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
15812         superclass if we didn't handle event.
15813         * java/awt/Checkbox.java (dispatchEventImpl): New method.
15814         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
15815         * java/awt/Choice.java (dispatchEventImpl): New method.
15816         * java/awt/List.java (dispatchEventImpl): New method.
15817         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
15818         * java/awt/TextComponent.java (dispatchEventImpl): New method.
15819         * java/awt/TextField.java (dispatchEventImpl): New method.
15820
15821 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
15822
15823         * java/beans/IntrospectionException.java: Update to 1.4.
15824         * java/beans/PropertyVetoException.java: Ditto.
15825
15826 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
15827
15828         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
15829         Arrays.equals instead of ArrayHelper.equalsArray.
15830
15831 2002-03-24  C. Brian Jones <cbj@gnu.org>
15832
15833         * java/beans/Introspector.java: added new static final fields
15834         introduced in 1.2, lots of other updates remain to be done
15835
15836 2002-03-24  C. Brian Jones <cbj@gnu.org>
15837
15838         * java/beans/Introspector.java: reformatting
15839
15840 2002-03-24  C. Brian Jones <cbj@gnu.org>
15841
15842         * java/beans/Introspector.java: default beanInfoSearchPath will
15843         not include sun.beans.infos given we provide no such package and
15844         the API doesn't really require it; gnu.java.beans.info is the
15845         default.
15846
15847 2002-03-24  Mark Wielaard  <mark@klomp.org>
15848
15849         Thanks to Orp developers
15850         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
15851         switch TRUE and FALSE return values.
15852
15853 2002-03-23  Tom Tromey  <tromey@redhat.com>
15854
15855         * include/name-finder.h (_Jv_name_finder::myclose): New method.
15856         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
15857
15858 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
15859
15860         * java/util/GregorianCalendar.java (minimums, maximums): Correct
15861         MONTH entry.  Fixes PR libgcj/6045.
15862
15863 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
15864
15865         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
15866
15867 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15868
15869         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
15870         not release_set.
15871         * sysdep/powerpc/locks.h (write_barrier): New function.
15872         * sysdep/i386/locks.h (write_barrier): New function.
15873
15874 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
15875
15876         * include/jni.h Use correct C comments.
15877
15878 2002-03-18  Tom Tromey  <tromey@redhat.com>
15879
15880         * include/jni.h (JNIIMPORT): New macro.
15881         (JNIEXPORT): Likewise.
15882         (JNICALL): Likewise.
15883
15884 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15885
15886         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
15887         systems.
15888
15889 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
15890
15891         * include/i386-signal.h (old_i386_kernel_sigaction): New.
15892         INIT_SEGV: Use old_i386_kernel_sigaction.
15893         INIT_FP: Likewise.
15894
15895 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15896
15897         * java/lang/natSystem.cc (init_properties): Update VM version
15898         properties.
15899         * configure.in: Set GCJVERSION.
15900         * acconfig.h: Add GCJVERSION.
15901         * configure: Rebuilt.
15902         * include/config.h.in: Rebuilt.
15903
15904 2002-03-17  Anthony Green  <green@redhat.com>
15905
15906         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
15907
15908 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15909
15910         Build a single libgcj.so, without separate gc and zlib libraries.
15911         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
15912         SYS_ZLIBS if system zlib is used.
15913         * configure: Rebuilt.
15914         * Makefile.am: Use boehm-gc and zlib convenience libraries.
15915         * Makefile.in: Rebuilt.
15916         * libtool-version: Increment .so version number.
15917
15918         * Makefile.am: Escape quotes in echo.
15919         * Makefile.in: Rebuilt.
15920
15921 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15922
15923         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
15924         * Makefile.in: Rebuilt.
15925
15926 2002-03-15  Anthony Green  <green@redhat.com>
15927
15928         * configure.host (FILE): New macro for specifing File
15929         implementation.
15930         * configure: Rebuilt.
15931         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
15932
15933 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
15934
15935         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
15936         already implicitly brought in from libgcj.la.
15937         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15938         * Makefile.in: Rebuilt.
15939
15940 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
15941
15942         * THANKS: Fix punctuation, alphabetization.
15943
15944 2002-03-15  Tom Tromey  <tromey@redhat.com>
15945             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15946
15947         Fix for PR libgcj/5944.
15948         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
15949
15950 2002-03-15  Anthony Green  <green@redhat.com>
15951
15952         * configure.in (tool_include_dir): Define.
15953         * configure: Rebuilt.
15954         * gcj/Makefile.am: Install libgcj-config.h relative to
15955         tool_include_dir.
15956         * gcj/Makefile: Rebuilt.
15957         * gcj/libgcj-config.h: Add warning comment.
15958
15959 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
15960
15961         * configure.host (powerpc*-darwin*): Enable interpreter.
15962
15963 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15964
15965         * include/posix.h: Add multiple include header protection.
15966         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
15967
15968 2002-03-10  Adam Megacz <adam@xwt.org>
15969
15970         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
15971
15972 2002-03-10  Tom Tromey  <tromey@redhat.com>
15973
15974         * java/awt/GridLayout.java (layoutContainer): Handle case where
15975         there are no items in container.
15976
15977         * java/lang/Win32Process.java: Added comment.
15978         * include/posix.h (_Jv_platform_close_on_exec): New function.
15979         Include fcntl.h.
15980         * include/win32.h (_Jv_platform_close_on_exec): New function.
15981         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
15982         flag.
15983         (accept): Likewise.
15984         * java/net/natPlainDatagramSocketImpl.cc (create): Set
15985         close-on-exec flag.
15986         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
15987         flag.
15988
15989 2002-03-09  Tom Tromey  <tromey@redhat.com>
15990
15991         * verify.cc (state::NO_STACK): New constant.
15992         (state::is_unmerged_ret_state): Handle case where stacktop is
15993         NO_STACK.
15994         (state::merge): Handle NO_STACK merges.
15995         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
15996         for instruction following jsr.
15997         (stacktop, stackdepth): Removed unused variables.
15998         (pop_jump): Ignore case where all remaining states are skipped.
15999
16000 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16001
16002         * java/awt/ImageMediaEntry: Removed.
16003         * java/awt/MediaEntry: Removed.
16004
16005 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16006
16007         Hashtable synchronization for PowerPC.
16008         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
16009         slow_pthread_self. Set up symlink for sysdeps directory.
16010         * configure: Rebuild.
16011         * configure.host: Document more shell variables. Set sysdeps_dir
16012         for most platforms. Set slow_pthread_self for i686. Set
16013         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
16014         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
16015         that memory barrier is emitted where required.
16016         * prims.cc: 64-bit align static primitive class instances.
16017         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
16018         read_barrier() to enforce ordering of reads.
16019         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
16020         primitives for PowerPC.
16021         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
16022         moved from natObject.cc.
16023         * sysdep/alpha/locks.h: Likewise.
16024         * sysdep/ia64/locks.h: Likewise.
16025         * sysdep/generic/locks.h: Likewise.
16026         * java/lang/natObject.cc: Move thread synchronization primitives to
16027         system-dependent headers.
16028
16029 2002-03-09  Adam Megacz  <adam@xwt.org>
16030
16031         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
16032         bytes read and no failure code returned.
16033
16034 2002-03-09  Adam Megacz  <adam@xwt.org>
16035
16036         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
16037         definitions to simulate -mthreads.
16038
16039 2002-03-09  Adam Megacz  <adam@xwt.org>
16040
16041         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
16042         avoid precision loss.
16043
16044 2002-03-09  Per Bothner  <per@bothner.com>
16045
16046         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
16047         * gnu/gcj/xlib/XImage.java:  Likewise.
16048         * gnu/gcj/xlib/XColor.java:  Likewise.
16049
16050 2002-03-09  Adam Megacz  <adam@xwt.org>
16051
16052         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
16053         IOException so that Throwable.printStackTrace fails correctly.
16054
16055 2002-03-08  Adam Megacz  <adam@xwt.org>
16056
16057         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
16058         fixed.
16059
16060 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16061
16062         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
16063         truncated to int.
16064
16065 2002-03-08  Tom Tromey  <tromey@redhat.com>
16066
16067         * include/jni.h: Include stdio.h.
16068
16069 2002-03-08  Tom Tromey  <tromey@redhat.com>
16070
16071         * posix.cc (internal_gettimeofday): New function.
16072         (_Jv_select): Use it.
16073
16074 2002-03-07  Adam Megacz  <adam@xwt.org>
16075
16076         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
16077         WIN32, and added thunks for read(), write(), and close().
16078         * java/net/natPlainSocketImpl.cc (accept, read, read):
16079         Disabled timeouts on WIN32 pending discussion.
16080
16081 2002-03-07  Adam Megacz  <adam@xwt.org>
16082
16083         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
16084         returns jlong. Added implementation
16085         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
16086         returns jlong.
16087         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
16088         returns jlong.
16089         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
16090         returns jlong.
16091         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
16092         _Jv_platform_gettimeofday signature.
16093
16094 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16095
16096         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
16097         (read): Call recv() directly, not _Jv_recv().
16098
16099 2002-03-06  Tom Tromey  <tromey@redhat.com>
16100
16101         * java/io/natFileDescriptorEcos.cc (init): Don't use
16102         GetStdHandle.
16103         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
16104         is negative.
16105         (init): Don't use GetStdHandle.
16106
16107         * include/config.h.in: Rebuilt.
16108         * configure: Rebuilt.
16109         * Makefile.in: Rebuilt.
16110
16111 2002-03-06  Adam Megacz  <adam@xwt.org>
16112
16113         * java/io/FileDescriptor.java: Initialize in/out/err in init().
16114         * java/io/natFileDescriptorWin32.cc (init()): Added function.
16115         * java/io/natFileDescriptorPosix.cc (init()): Added function.
16116         * java/io/natFileDescriptorEcos.cc (init()): Added function.
16117
16118 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
16119
16120         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
16121         the code for generating include/java-chartables.h.
16122         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
16123         merge with Classpath.
16124         * scripts/unicode-muncher.pl: Copy from Classpath.
16125         * scritps/MakeCharTables.java: New file.
16126         * gnu/gcj/convert/Blocks-3.txt: New file.
16127         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
16128         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
16129         * gnu/java/lang/CharData.java: Copy from Classpath.
16130         * Makefile.am (ordinary_java_source_files): Add
16131         gnu/java/lang/CharData.java.
16132         * configure.in: Remove --enable-fast-character option.
16133         * java/lang/Character.java: Merge algorithms and Javadoc with
16134         Classpath.
16135         * java/lang/natCharacter.cc: Implement Unicode lookup table more
16136         efficiently.
16137         * include/java-chardecomp.h: Regenerate.
16138         * include/java-chartables.h: Regenerate.
16139
16140 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16141
16142         * java/awt/MediaTracker.java: Implemented.
16143         * Makefile.am: Add MediaTracker.
16144         * Makefile.in: Rebuilt.
16145
16146 2002-03-05  Tom Tromey  <tromey@redhat.com>
16147
16148         * java/lang/natPosixProcess.cc (fail): Removed.
16149         (startProcess): Simplified error-handling.  Preserve
16150         LD_LIBRARY_PATH across exec.
16151
16152         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
16153         AbstractMethodError.
16154
16155 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16156
16157         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
16158         * Makefile.in: Rebuilt.
16159
16160 2002-03-03 Mark Wielaard <mark@klomp.org>
16161
16162         * java/util/Timer (TaskQueue.stop): set elements to zero.
16163
16164 2002-02-28  Anthony Green  <green@redhat.com>
16165
16166         * java/lang/reflect/natMethod.cc (result): Add void* element.
16167         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
16168         constructor test.
16169
16170 2002-02-27  Adam Megacz <adam@xwt.org>
16171
16172         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
16173         '#undef STRICT'.
16174
16175 2002-02-26  Tom Tromey  <tromey@redhat.com>
16176
16177         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
16178         * gij.cc (version): Use __VERSION__.
16179         * include/config.h.in: Rebuilt.
16180         * acconfig.h (GCJVERSION): Removed.
16181         * configure: Rebuilt.
16182         * configure.in (GCJVERSION): Removed.
16183
16184 2002-02-26  Andreas Schwab  <schwab@suse.de>
16185
16186         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
16187         glibcpp_CXX, since libjava uses even another CXX.
16188         * aclocal.m4, configure: Regenerated.
16189
16190 2002-02-26  Tom Tromey  <tromey@redhat.com>
16191
16192         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
16193         `1'.
16194
16195 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16196
16197         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
16198         dependency tracking for .java files.
16199         * Makefile.in: Rebuilt.
16200
16201 2002-02-24  Adam Megacz  <adam@xwt.org>
16202
16203         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
16204         typo. Sorry.
16205
16206 2002-02-24  Adam Megacz  <adam@xwt.org>
16207
16208         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
16209         for Win32, changed #ifdefs to check WIN32 instead of the
16210         (now-obsolete) USE_WINSOCK, and removed support for socket
16211         timeouts on Win32 pending further discussion.
16212
16213 2002-02-24  Adam Megacz  <adam@xwt.org>
16214
16215         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
16216         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
16217         delete
16218
16219 2002-02-24  Adam Megacz  <adam@xwt.org>
16220
16221         * java/lang/Win32Process.java: Created a dummy class to allow
16222         build process to run to completion.
16223
16224 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
16225
16226         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
16227         Define ffi_result union for ffi_call result.  Cast
16228         ffi_result members to jvalue.
16229
16230 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
16231
16232         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
16233         * testsuite/Makefile.in: Likewise.
16234
16235 2002-02-20  Per Bothner  <per@bothner.com>
16236
16237         * java/net/URL.java (getPath):  New JDK 1.3 method.
16238
16239         * java/net/URLStreamHandler.java (parseURL):
16240         It is wrong to prepend '/' to the file part of a relative url.
16241
16242         * java/net/URLStreamHandler.java (parseURL):
16243         Minor optizations - append '/' rather than "/".
16244
16245         * java/net/URLStreamHandler.java (parseURL):
16246         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
16247         We probably should canonicalize for a context-relative url, though.
16248         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
16249         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
16250         (sameFile):  New method.  Uses canonicalizeFilename.
16251
16252 2002-02-22  Tom Tromey  <tromey@redhat.com>
16253
16254         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
16255         java.vendor and java.vm.vendor.
16256         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
16257         recent copyright date.
16258         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
16259         * gij.cc (version): Print `Inc'.
16260
16261 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16262
16263         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
16264         * aclocal.m4, configure: Rebuilt.
16265
16266 2002-02-20  Per Bothner  <per@bothner.com>
16267
16268         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
16269         and/or output streams immediately here, instead of using File.exists.
16270         (inputStream, outputStream):  New fields to save open streams.
16271         (getInputStream, getOutputStream):  Use already-opened streams.
16272
16273 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16274
16275         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
16276         Use it.
16277         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
16278         * aclocal.m4, configure, Makefile.in: Rebuilt.
16279
16280 2002-02-19  Tom Tromey  <tromey@redhat.com>
16281
16282         Fix for PR libgcj/5696:
16283         * verify.cc (is_assignable_from_slow): Never call
16284         _Jv_IsAssignableFrom.
16285         (verify_instructions_0): Added new debug statement.
16286         (state::print): Print information about whether local has
16287         changed.
16288         (state::merge): Don't call note_variable when merging locals.
16289         (state::set_exception): Removed old FIXME comment.
16290
16291 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16292
16293         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
16294         enable SO_BROADCAST.
16295
16296 2002-02-18  Jason Merrill  <jason@redhat.com>
16297
16298         * name-finder.cc (toHex): Use word mode, not long long.
16299
16300         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
16301
16302 2002-02-15  Tom Tromey  <tromey@redhat.com>
16303
16304         Fix for PR libgcj/5695:
16305         * verify.cc (is_assignable_from_slow): Check to see if target is
16306         an Object before checking to see if source is an interface.
16307         (verify_instructions_0) [op_invokeinterface]: Handle case where
16308         we're making an interface call on Object.
16309
16310 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16311
16312         * Makefile.in: Rebuilt with Eric's change below.
16313
16314         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
16315         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
16316         Removed functions which are now implemented in Math.java.
16317
16318 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16319
16320         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
16321         * Makefile.am (core_java_source_files): Add
16322         java/lang/StrictMath.java.
16323         * java/lang/Math.java: Merge with Classpath.
16324         * java/lang/StrictMath.java: New file - merge with Classpath.
16325
16326 2002-02-14  Mark Wielaard  <mark@klomp.org>
16327
16328         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
16329         package as a workaround for gcj 3.0.x
16330
16331 2002-02-14  Mark Wielaard <mark@klomp.org>
16332
16333         * java/security/BasicPermission.java: extends with fully qualified
16334         classname as workaround for gcj 3.0.4.
16335
16336 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16337
16338         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
16339         around gcj bug of wrong emitted qualifier for inherited method.
16340         * java/net/SocketImpl.java (setOption, getOption): Ditto.
16341         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
16342         constructor to reduce amount of emitted bytecode. While this
16343         happens to work around a jikes 1.15 bug, it is still a useful
16344         patch even for correct compilers.
16345         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
16346         * gnu/java/rmi/server/UnicastRemoteCall.java
16347         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
16348
16349 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16350
16351         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
16352         * java/net/SocketImpl.java: Ditto.
16353         * java/rmi/server/RMIClassLoader.java: Ditto.
16354         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
16355
16356 2002-02-14  Mark Wielaard <mark@klomp.org>
16357
16358         Thanks to Takashi Okamoto
16359         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
16360         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
16361         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
16362
16363 2002-02-13  Todd Stock  <toddastock@yahoo.com>
16364
16365         Fix for PR libgcj/5670:
16366         * verify.cc (is_assignable_from_slow): If `source' is interface,
16367         recursively look for merge with `target'.
16368
16369 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
16370
16371         * include/jni.h: Fix typo.
16372
16373 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
16374
16375         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
16376         correctly.
16377
16378 2002-02-13  Todd Stock  <toddastock@yahoo.com>
16379
16380         Fix for PR libgcj/5671:
16381         * verify.cc (state::merge): Handle case where we're merging
16382         against an interface.
16383
16384 2002-02-12  Tom Tromey  <tromey@redhat.com>
16385
16386         * exception.cc (std::abort): Mark as noreturn.
16387
16388 2002-02-12  Adam Megacz <adam@xwt.org>
16389
16390         * java/lang/Win32Process.java: Filled in a placeholder
16391         implementation so Win32 will build.
16392
16393 2002-02-12  Adam Megacz <adam@xwt.org>
16394
16395         * java/io/natFilePosix.cc: Copied this from natFile.cc.
16396         * java/io/natFile.cc: Removed from repository.
16397         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
16398
16399 2002-02-12  Adam Megacz <adam@xwt.org>
16400
16401         * win32.cc: Added two #includes to make win32.cc compile.
16402
16403 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16404
16405         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
16406         declarations.
16407         (_Jv_InitGC): Don't bother locking, as this is always called from a
16408         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
16409
16410 2002-02-11  Adam Megacz <adam@xwt.org>
16411
16412         * include/win32.h: Added _Jv_platform_gettimeofday.
16413         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
16414
16415 2002-02-11  Adam Megacz <adam@xwt.org>
16416
16417         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
16418         Added #undef STRICT to make windows.h and
16419         java/lang/reflect/Modifier.h cooperate.
16420
16421 2002-02-11  Adam Megacz <adam@xwt.org>
16422
16423         * java/io/natFileWin32.cc: Created a placeholder class with lots
16424         of FIXMEs.
16425
16426 2002-02-11  Adam Megacz <adam@xwt.org>
16427
16428         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
16429         std::abort() to simply abort(). Also added "fake" std::abort() so
16430         we can #include unwind-pe.h without having to link against
16431         libstdc++-v3.
16432
16433 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
16434
16435         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
16436
16437 2002-02-08  Tom Tromey  <tromey@redhat.com>
16438
16439         * interpret.cc (convert): New function.
16440         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
16441         convert.
16442         Include Long.h.
16443
16444 2002-02-08  Anthony Green  <green@redhat.com>
16445
16446         * configure.host: Add support for xscale-elf embedded target.
16447
16448 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
16449
16450         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
16451         dereferenced.
16452         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
16453         frame.
16454
16455 2002-02-07  Tom Tromey  <tromey@redhat.com>
16456
16457         * java/io/natFile.cc (_access): Use __builtin_alloca.
16458         (_stat): Likewise.
16459         (attr): Likewise.
16460         (getCanonicalPath): Likewise.
16461         (performList): Likewise.
16462         (performMkdir): Likewise.
16463         (performSetReadOnly): Likewise.
16464         (performRenameTo): Likewise.
16465         (performSetLastModified): Likewise.
16466         (performCreate): Likewise.
16467         (performDelete): Likewise.
16468
16469 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16470
16471         * HACKING: Fix URL for the automake-gcj.
16472
16473 2002-02-07  Tom Tromey  <tromey@redhat.com>
16474
16475         * java/lang/natThrowable.cc: Updated copyright.
16476         * java/io/natFileWin32.cc: Updated copyright.
16477         * java/io/natFileDescriptorWin32.cc: Updated copyright.
16478         * win32-threads.cc: Updated copyright.
16479         * name-finder.cc: Updated copyright.
16480         * include/name-finder.h: Updated copyright.
16481
16482         * include/name-finder.h: Conditionally include sys/wait.h.
16483         * include/config.h.in: Rebuilt.
16484
16485         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
16486         Size buffer based on real size of string.
16487         (_stat): Likewise.
16488         (attr): Likewise.
16489         (getCanonicalPath): Likewise.
16490         (performList): Likewise.
16491         (performMkdir): Likewise.
16492         (performSetReadOnly): Likewise.
16493         (unixroot): Removed.
16494         (performRenameTo): Likewise.
16495         (performSetLastModified): Likewise.
16496         (performCreate): Likewise.
16497         (performDelete): Likewise.
16498         (performListRoots): Always return new array.
16499
16500         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
16501         * win32.cc (win32_exception_handler): Now static.
16502         * include/win32.h (_Jv_platform_initialize): Declare.
16503         (win32_exception_handler): Don't declare.
16504         * java/lang/natSystem.cc (currentTimeMillis): Use
16505         _Jv_platform_gettimeofday.
16506         * posix.cc (_Jv_platform_gettimeofday): Renamed.
16507         (_Jv_select): Use new name.
16508         (_Jv_platform_initialize): New function.
16509         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
16510         _Jv_gettimeofday.
16511         (_Jv_platform_initialize): Declare.
16512
16513         * configure: Rebuilt.
16514         * configure.in: Removed unnecessary parens.
16515
16516 2002-02-06  Adam Megacz <adam@xwt.org>
16517
16518        * configure.in: Changed mingw) to *mingw*).
16519        * win32.cc: Created this file.
16520        * win32.h: Created this file.
16521        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
16522        win32_exception_handler from prims.cc to win32.cc, added
16523        header in win32.h.
16524        * prims.cc: removed some #ifdef-WIN32'd headers which are no
16525        longer needed now that we have platform.h
16526
16527 2002-02-06  Adam Megacz <adam@xwt.org>
16528
16529         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
16530         use uint<n>_t instead of LONG and BYTE
16531
16532 2002-02-06  Adam Megacz <adam@xwt.org>
16533
16534         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
16535
16536 2002-02-06  Anthony Green  <green@redhat.com>
16537
16538         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
16539         Implement missing method stubs.
16540         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
16541         targets.
16542         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
16543         concept of timezones.
16544         (init_properties): Don't refer to _Jv_Environment_Properties
16545         when this feature is not available.
16546         * include/config.h.in: Rebuilt.
16547         * acconfig.h: Add DISABLE_MAIN_ARGS.
16548         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
16549         * configure: Rebuilt.
16550         * configure.in: Add --disable-main-args option.  Test for
16551           opendir function.  Replace AC_CHECK_SIZEOF with
16552           AC_COMPILE_CHECK_SIZEOF.
16553         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
16554         * aclocal.m4: Rebuilt.
16555         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
16556
16557 2002-02-06  Tom Tromey  <tromey@redhat.com>
16558
16559         * verify.cc (require_array_type): If argument is a null array of
16560         references, return null as the element type.
16561
16562 2002-02-06  Mark Wielaard  <mark@klomp.org>
16563
16564         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
16565         duplicate of a wide type.
16566
16567 2002-02-06  Tom Tromey  <tromey@redhat.com>
16568
16569         * verify.cc (type::isnull): New method.
16570         (require_array_type): Handle case where array is null.
16571         (verify_instructions_0) [op_arraylength]: Likewise.
16572
16573 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16574
16575         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
16576         Symlink PLATFORMH to platform.h.
16577         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
16578         PLATFORMOBJS.
16579         * java/lang/natSystem.cc: #include platform.h not posix.h.
16580         * Makefile.in: Rebuilt with libgcj automake.
16581         * configure: Rebuilt.
16582
16583 2002-02-05  Richard Henderson  <rth@redhat.com>
16584
16585         * Makefile.in: Undo munging last change.
16586
16587 2002-02-04  Adam Megacz <adam@xwt.org>
16588
16589         * win32.cc: Created it.
16590         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
16591         which is set to posix.cc or win32.cc.
16592         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
16593
16594 2002-02-04  Adam Megacz <adam@xwt.org>
16595
16596         * configure.in: Corrected mingw case branches; added * before
16597         and after.
16598
16599 2002-02-04  Adam Megacz <adam@xwt.org>
16600
16601         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
16602         if compiling for win32
16603
16604 2002-02-04  Adam Megacz <adam@xwt.org>
16605
16606         * win32-threads.cc: #undef STRICT after gc.h inclusion
16607
16608 2002-02-02  Tom Tromey  <tromey@redhat.com>
16609
16610         * Makefile.in: Rebuilt.
16611
16612 2002-02-02  Jason Merrill  <jason@redhat.com>
16613
16614         * Makefile.am (clean-nat): New target.
16615
16616 2002-02-02  Tom Tromey  <tromey@redhat.com>
16617
16618         * java/io/natFile.cc: Removed old "FIXME" comments.
16619
16620 2002-02-01  Tom Tromey  <tromey@redhat.com>
16621
16622         * java/lang/natPosixProcess.cc (myclose): New function.
16623         (fail): Use it.
16624         (startProcess): Likewise.
16625
16626 2002-02-01  Adam Megacz <adam@xwt.org>
16627
16628         * prims.cc: Added #undef STRICT after #include<windows.h>.
16629
16630 2002-02-01  Adam Megacz <adam@xwt.org>
16631
16632         * prims.cc
16633         (_Jv_CreateJavaVM): We now use WIN32 instead of
16634         USE_WIN32_SIGNALLING and USE_WINSOCK.
16635         (win32_exception_handler): Now throws an exception out of
16636         the signal handler; assumes SJLJ.
16637
16638 2002-02-01  Adam Megacz <adam@xwt.org>
16639
16640         * win32-threads.cc:
16641         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
16642         wait() algorithm to make it safe.
16643         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
16644         Added lazy creation of Win32 Events for better performance
16645         (really_start): This now uses GC_CreateThread so boehm-gc
16646         knows about new threads even when statically linked.
16647
16648 2002-02-01  Adam Megacz <adam@xwt.org>
16649
16650         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
16651         enable safer wait() algorithm.
16652         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
16653         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
16654         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
16655         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
16656         instead of mutex.
16657         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
16658
16659 2002-02-01  Adam Megacz <adam@xwt.org>
16660
16661         * configure.in: Added support for mingw.
16662         * java/lang/Win32Process.java: Created as empty file.
16663         * java/lang/natWin32Process.cc: Created as empty file.
16664
16665 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
16666
16667         PR java/4972
16668         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
16669         for libiconv in LIBICONV variable.
16670         * configure: Regenerated.
16671
16672 2002-01-31  Tom Tromey  <tromey@redhat.com>
16673
16674         * verify.cc (state::enter_subroutine): New method.
16675         (handle_jsr_insn): Use it.
16676         (state::merge): When processing a `ret', correctly use
16677         subroutine's state to determine which local variables have
16678         changed.
16679         (push_exception_jump): Don't let stack overflow.
16680
16681 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
16682
16683         * gnu/gcj/convert/Convert.java: Only include one copyright year in
16684         --version output.
16685
16686 2002-01-30  Tom Tromey  <tromey@redhat.com>
16687
16688         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
16689         parameter for `recv' return type.
16690
16691         * verify.cc (handle_ret_insn): Check for subroutine merge here...
16692         (state::merge): ... not here.
16693         (subr_entry_info): New structure.
16694         (entry_points): New field.
16695         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
16696         entry_points.
16697
16698 2002-01-29  Tom Tromey  <tromey@redhat.com>
16699
16700         * java/awt/List.java (addNotify): Correctly check to see if peer
16701         does not exist.
16702
16703         * java/awt/GridLayout.java (layoutContainer): Use number of rows
16704         to compute height of each cell, and number of columns to compute
16705         width of each cell.
16706         * java/awt/Window.java (getOwnedWindows): Don't return null.
16707         * java/awt/FlowLayout.java (layoutContainer): Set width and height
16708         of component.  Increment x using horizontal gap, not vertical
16709         gap.
16710
16711 2002-01-28  Tom Tromey  <tromey@redhat.com>
16712
16713         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
16714         `nargs' byte is number of words, not number of arguments.
16715
16716 2002-01-27  Tom Tromey  <tromey@redhat.com>
16717
16718         * java/awt/event/MouseEvent.java (modifiers): Removed field.
16719         (when): Likewise.
16720         * java/awt/event/InputEvent.java (modifiers, when): Now
16721         package-private.
16722
16723         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
16724         and to-do list.
16725         (state::merge): Use current class' class loader.
16726         (state::print): Print subroutine.
16727         (state::merge): Don't look at subroutine of unmerged `ret'.
16728
16729 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
16730
16731         * nogc.cc: Remove warnings.
16732         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
16733         New functions.
16734
16735 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16736
16737         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
16738         int, int):  Remove empty "if" statement to work around compiler bug.
16739         (newPixels(int[], ColorModel, int, int): Likewise.
16740
16741 2002-01-25  Per Bothner  <per@bothner.com>
16742
16743         * verify.cc (verify_fail):  Change from being a top-level function
16744         to e method of _Jv_BytecodeVerifier.  Emit current method name.
16745         Pass the current verifier to type: and state: methods as needed,
16746         for better error messages, and for resolve.
16747         (resolve):  Pass current class's loader for Class.forName and
16748         _Jv_FindClassFromSignature, rather than using the default loader.
16749         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
16750         (get_type_val_for_signature):  Make non-static.
16751         (various methods):  Pass start_PC implicitly, not explicitly.
16752
16753 2002-01-25  Tom Tromey  <tromey@redhat.com>
16754
16755         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
16756         loop termination condition.
16757         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
16758         width.
16759
16760 2002-01-24  Tom Tromey  <tromey@redhat.com>
16761
16762         * java/awt/Shape.java: Merged with Classpath.
16763         * java/awt/Scrollbar.java: Merged with Classpath.
16764
16765         * java/awt/Container.java (addNotify): Unconditionally call
16766         addNotifyContainerChildren and superclass addNotify.
16767
16768         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
16769         getAlpha, not getBlue.
16770
16771 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16772
16773         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
16774
16775         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
16776         (grabPixels(long)): Wait to be notified that the ImageProducer has
16777         completed.
16778
16779 2002-01-24  Per Bothner  <per@bothner.com>
16780
16781         * verify.cc (is_assignable_from_slow): If target is an interface,
16782         we must still check the source's superclass before giving up.
16783
16784 2002-01-24  Tom Tromey  <tromey@redhat.com>
16785
16786         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
16787
16788 2002-01-23  Tom Tromey  <tromey@redhat.com>
16789
16790         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
16791         `else'.
16792
16793         * Makefile.in: Rebuilt.
16794         * Makefile.am (awt_java_source_files): Added new files.
16795         * java/awt/Toolkit.java: Merged with Classpath.
16796         * java/awt/PrintGraphics.java: New file from Classpath.
16797         * java/awt/PrintJob.java: New file from Classpath.
16798         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
16799         * java/awt/datatransfer/ClipboardOwner.java: New file from
16800         Classpath.
16801         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
16802         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
16803         * java/awt/datatransfer/MimeTypeParseException.java: New file from
16804         Classpath.
16805         * java/awt/datatransfer/StringSelection.java: New file from
16806         Classpath.
16807         * java/awt/datatransfer/SystemFlavorMap.java: New file from
16808         Classpath.
16809         * java/awt/datatransfer/Transferable.java: New file from
16810         Classpath.
16811         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
16812         from Classpath.
16813
16814         * Makefile.in: Rebuilt.
16815         * Makefile.am (awt_java_source_files): Added new files.
16816         * java/awt/image/AreaAveragingScaleFilter.java: New file from
16817         Classpath.
16818         * java/awt/image/CropImageFilter.java: New file from Classpath.
16819         * java/awt/image/FilteredImageSource.java: New file from
16820         Classpath.
16821         * java/awt/image/ImageFilter.java: New file from Classpath.
16822         * java/awt/image/MemoryImageSource.java: New file from Classpath.
16823         * java/awt/image/PixelGrabber.java: New file from Classpath.
16824         * java/awt/image/RGBImageFilter.java: New file from Classpath.
16825         * java/awt/image/ReplicateScaleFilter.java: New file from
16826         Classpath.
16827         * java/awt/image/ImageProducer.java: Replaced with Classpath
16828         version.
16829         * java/awt/image/ImageObserver.java: Replaced with Classpath
16830         version.
16831         * java/awt/image/ImageConsumer.java: Replaced with Classpath
16832         version.
16833         * java/awt/GridBagConstraints.java (clone): Catch
16834         CloneNotSupportedException.
16835
16836 2002-01-23  Per Bothner  <per@bothner.com>
16837
16838         * java/lang/reflect/natField.cc (setAddr):  New function.
16839         Calls getAddr and then checks that the field isn't final.
16840         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
16841         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
16842         (set):  Call setAddr before check that new value has right type,
16843         to better match specified semantics.
16844
16845 2002-01-22  Tom Tromey  <tromey@redhat.com>
16846
16847         * java/awt/TextField.java: Replaced with Classpath version.
16848         * java/awt/TextArea.java: Replaced with Classpath version.
16849         * java/awt/TextComponent.java: Replaced with Classpath version.
16850
16851         * java/awt/GridBagConstraints.java: Updated copyright.
16852
16853 2002-01-22  Mark Wielaard <mark@klomp.org>
16854
16855         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
16856         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
16857         java/awt/Dialog.java java/awt/FileDialog.java
16858         java/awt/Font.java java/awt/FontMetrics.java
16859         java/awt/Image.java java/awt/ImageMediaEntry.java
16860         java/awt/Insets.java java/awt/List.java
16861         java/awt/MediaEntry.java java/awt/MediaTracker.java
16862         java/awt/Menu.java java/awt/MenuBar.java
16863         java/awt/MenuContainer.java java/awt/MenuShortcut.java
16864         java/awt/PaintContext.java java/awt/Panel.java
16865         java/awt/PopupMenu.java java/awt/SystemColor.java
16866         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
16867         java/awt/peer/CheckboxMenuItemPeer.java
16868         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
16869         java/awt/peer/ComponentPeer.java
16870         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
16871         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
16872         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
16873         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
16874         java/awt/peer/MenuBarPeer.java
16875         java/awt/peer/MenuComponentPeer.java
16876         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
16877         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
16878         java/awt/peer/ScrollPanePeer.java
16879         java/awt/peer/ScrollbarPeer.java
16880         java/awt/peer/TextAreaPeer.java
16881         java/awt/peer/TextComponentPeer.java
16882         java/awt/peer/TextFieldPeer.java
16883         java/awt/peer/WindowPeer.java: Add license clarification.
16884
16885 2002-01-22  Mark Wielaard <mark@klomp.org>
16886
16887         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
16888         gnu/gcj/runtime/StringBuffer.java
16889         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
16890         gnu/java/awt/ComponentDataBlitOp.java
16891         gnu/java/awt/GLightweightPeer.java
16892         gnu/java/beans/BeanInfoEmbryo.java
16893         gnu/java/beans/EmptyBeanInfo.java
16894         gnu/java/beans/ExplicitBeanInfo.java
16895         gnu/java/beans/IntrospectionIncubator.java
16896         gnu/java/beans/editors/ColorEditor.java
16897         gnu/java/beans/editors/FontEditor.java
16898         gnu/java/beans/editors/NativeBooleanEditor.java
16899         gnu/java/beans/editors/NativeByteEditor.java
16900         gnu/java/beans/editors/NativeDoubleEditor.java
16901         gnu/java/beans/editors/NativeFloatEditor.java
16902         gnu/java/beans/editors/NativeIntEditor.java
16903         gnu/java/beans/editors/NativeLongEditor.java
16904         gnu/java/beans/editors/NativeShortEditor.java
16905         gnu/java/beans/editors/StringEditor.java
16906         gnu/java/beans/info/ComponentBeanInfo.java
16907         gnu/java/io/ClassLoaderObjectInputStream.java
16908         gnu/java/io/NullOutputStream.java
16909         gnu/java/io/ObjectIdentityWrapper.java
16910         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
16911         gnu/java/lang/reflect/TypeSignature.java
16912         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
16913         gnu/java/locale/Calendar_en.java
16914         gnu/java/locale/Calendar_nl.java
16915         gnu/java/locale/LocaleInformation.java
16916         gnu/java/locale/LocaleInformation_de.java
16917         gnu/java/locale/LocaleInformation_en.java
16918         gnu/java/locale/LocaleInformation_nl.java
16919         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
16920         gnu/java/rmi/registry/RegistryImpl.java
16921         gnu/java/rmi/rmic/Compile_gcj.java
16922         gnu/java/rmi/rmic/Compiler.java
16923         gnu/java/rmi/rmic/CompilerProcess.java
16924         gnu/java/rmi/rmic/RMIC.java
16925         gnu/java/rmi/rmic/TabbedWriter.java
16926         gnu/java/rmi/server/ProtocolConstants.java
16927         gnu/java/rmi/server/RMIDefaultSocketFactory.java
16928         gnu/java/rmi/server/RMIHashes.java
16929         gnu/java/rmi/server/RMIObjectInputStream.java
16930         gnu/java/rmi/server/RMIObjectOutputStream.java
16931         gnu/java/rmi/server/UnicastConnection.java
16932         gnu/java/rmi/server/UnicastConnectionManager.java
16933         gnu/java/rmi/server/UnicastRef.java
16934         gnu/java/rmi/server/UnicastRemoteCall.java
16935         gnu/java/rmi/server/UnicastRemoteStub.java
16936         gnu/java/rmi/server/UnicastServer.java
16937         gnu/java/rmi/server/UnicastServerRef.java
16938         gnu/java/security/provider/DefaultPolicy.java
16939         gnu/java/security/provider/Gnu.java
16940         gnu/java/security/provider/SHA.java
16941         gnu/java/security/provider/SHA1PRNG.java
16942         gnu/java/text/BaseBreakIterator.java
16943         gnu/java/text/CharacterBreakIterator.java
16944         gnu/java/text/LineBreakIterator.java
16945         gnu/java/text/SentenceBreakIterator.java
16946         gnu/java/text/WordBreakIterator.java
16947         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
16948         java/applet/AppletContext.java java/applet/AppletStub.java
16949         java/applet/AudioClip.java java/awt/AWTError.java
16950         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
16951         java/awt/AWTException.java java/awt/AWTPermission.java
16952         java/awt/ActiveEvent.java java/awt/BorderLayout.java
16953         java/awt/Button.java java/awt/Canvas.java
16954         java/awt/CardLayout.java java/awt/Checkbox.java
16955         java/awt/CheckboxGroup.java java/awt/Component.java
16956         java/awt/ComponentOrientation.java java/awt/Container.java
16957         java/awt/Dimension.java java/awt/Event.java
16958         java/awt/EventDispatchThread.java java/awt/EventQueue.java
16959         java/awt/FlowLayout.java java/awt/Frame.java
16960         java/awt/Graphics.java java/awt/Graphics2D.java
16961         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
16962         java/awt/IllegalComponentStateException.java
16963         java/awt/ItemSelectable.java java/awt/Label.java
16964         java/awt/LayoutManager.java java/awt/LayoutManager2.java
16965         java/awt/MenuComponent.java java/awt/MenuItem.java
16966         java/awt/Paint.java java/awt/Point.java
16967         java/awt/Rectangle.java java/awt/RenderingHints.java
16968         java/awt/Transparency.java java/awt/Window.java
16969         java/awt/color/ColorSpace.java
16970         java/awt/color/ICC_ColorSpace.java
16971         java/awt/color/ICC_Profile.java
16972         java/awt/event/HierarchyBoundsAdapter.java
16973         java/awt/event/HierarchyBoundsListener.java
16974         java/awt/event/HierarchyEvent.java
16975         java/awt/event/HierarchyListener.java
16976         java/awt/geom/AffineTransform.java
16977         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
16978         java/awt/geom/IllegalPathStateException.java
16979         java/awt/geom/Line2D.java
16980         java/awt/geom/NoninvertibleTransformException.java
16981         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
16982         java/awt/geom/Rectangle2D.java
16983         java/awt/geom/RectangularShape.java
16984         java/awt/geom/RoundRectangle2D.java
16985         java/awt/image/BufferedImage.java
16986         java/awt/image/ColorModel.java
16987         java/awt/image/ComponentColorModel.java
16988         java/awt/image/ComponentSampleModel.java
16989         java/awt/image/DataBuffer.java
16990         java/awt/image/DataBufferByte.java
16991         java/awt/image/DataBufferInt.java
16992         java/awt/image/DataBufferUShort.java
16993         java/awt/image/DirectColorModel.java
16994         java/awt/image/PackedColorModel.java
16995         java/awt/image/Raster.java java/awt/image/RasterOp.java
16996         java/awt/image/SampleModel.java
16997         java/awt/image/SinglePixelPackedSampleModel.java
16998         java/awt/image/WritableRaster.java
16999         java/beans/AppletInitializer.java
17000         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
17001         java/beans/Beans.java java/beans/Customizer.java
17002         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
17003         java/beans/FeatureDescriptor.java
17004         java/beans/IndexedPropertyDescriptor.java
17005         java/beans/IntrospectionException.java
17006         java/beans/Introspector.java java/beans/MethodDescriptor.java
17007         java/beans/ParameterDescriptor.java
17008         java/beans/PropertyChangeEvent.java
17009         java/beans/PropertyChangeListener.java
17010         java/beans/PropertyChangeSupport.java
17011         java/beans/PropertyDescriptor.java
17012         java/beans/PropertyEditor.java
17013         java/beans/PropertyEditorManager.java
17014         java/beans/PropertyEditorSupport.java
17015         java/beans/PropertyVetoException.java
17016         java/beans/SimpleBeanInfo.java
17017         java/beans/VetoableChangeListener.java
17018         java/beans/VetoableChangeSupport.java
17019         java/beans/Visibility.java
17020         java/beans/beancontext/BeanContext.java
17021         java/beans/beancontext/BeanContextChild.java
17022         java/beans/beancontext/BeanContextChildComponentProxy.java
17023         java/beans/beancontext/BeanContextChildSupport.java
17024         java/beans/beancontext/BeanContextContainerProxy.java
17025         java/beans/beancontext/BeanContextEvent.java
17026         java/beans/beancontext/BeanContextMembershipEvent.java
17027         java/beans/beancontext/BeanContextMembershipListener.java
17028         java/beans/beancontext/BeanContextProxy.java
17029         java/beans/beancontext/BeanContextServiceAvailableEvent.java
17030         java/beans/beancontext/BeanContextServiceProvider.java
17031         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
17032         java/beans/beancontext/BeanContextServiceRevokedEvent.java
17033         java/beans/beancontext/BeanContextServiceRevokedListener.java
17034         java/beans/beancontext/BeanContextServices.java
17035         java/beans/beancontext/BeanContextServicesListener.java
17036         java/io/BufferedInputStream.java
17037         java/io/BufferedOutputStream.java java/io/BufferedReader.java
17038         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
17039         java/io/ByteArrayOutputStream.java
17040         java/io/CharArrayReader.java java/io/CharArrayWriter.java
17041         java/io/CharConversionException.java java/io/DataInput.java
17042         java/io/DataInputStream.java java/io/DataOutput.java
17043         java/io/EOFException.java java/io/Externalizable.java
17044         java/io/FileFilter.java java/io/FileNotFoundException.java
17045         java/io/FilePermission.java java/io/FileReader.java
17046         java/io/FileWriter.java java/io/FilenameFilter.java
17047         java/io/FilterInputStream.java java/io/FilterOutputStream.java
17048         java/io/FilterReader.java java/io/FilterWriter.java
17049         java/io/IOException.java java/io/InputStream.java
17050         java/io/InterruptedIOException.java
17051         java/io/InvalidClassException.java
17052         java/io/InvalidObjectException.java
17053         java/io/NotActiveException.java
17054         java/io/NotSerializableException.java java/io/ObjectInput.java
17055         java/io/ObjectInputStream.java
17056         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
17057         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
17058         java/io/ObjectStreamConstants.java
17059         java/io/ObjectStreamException.java
17060         java/io/ObjectStreamField.java
17061         java/io/OptionalDataException.java java/io/OutputStream.java
17062         java/io/PipedInputStream.java java/io/PipedOutputStream.java
17063         java/io/PipedReader.java java/io/PipedWriter.java
17064         java/io/PrintWriter.java java/io/PushbackInputStream.java
17065         java/io/PushbackReader.java java/io/Reader.java
17066         java/io/SequenceInputStream.java java/io/Serializable.java
17067         java/io/SerializablePermission.java
17068         java/io/StreamCorruptedException.java
17069         java/io/StreamTokenizer.java
17070         java/io/StringBufferInputStream.java java/io/StringReader.java
17071         java/io/StringWriter.java java/io/SyncFailedException.java
17072         java/io/UTFDataFormatException.java
17073         java/io/UnsupportedEncodingException.java
17074         java/io/WriteAbortedException.java java/io/Writer.java
17075         java/lang/AbstractMethodError.java
17076         java/lang/ArithmeticException.java
17077         java/lang/ArrayIndexOutOfBoundsException.java
17078         java/lang/ArrayStoreException.java java/lang/Boolean.java
17079         java/lang/Byte.java java/lang/CharSequence.java
17080         java/lang/ClassCastException.java
17081         java/lang/ClassCircularityError.java
17082         java/lang/ClassFormatError.java
17083         java/lang/ClassNotFoundException.java
17084         java/lang/CloneNotSupportedException.java
17085         java/lang/Cloneable.java java/lang/Comparable.java
17086         java/lang/Compiler.java java/lang/Double.java
17087         java/lang/Error.java java/lang/Exception.java
17088         java/lang/ExceptionInInitializerError.java
17089         java/lang/Float.java java/lang/IllegalAccessError.java
17090         java/lang/IllegalAccessException.java
17091         java/lang/IllegalArgumentException.java
17092         java/lang/IllegalMonitorStateException.java
17093         java/lang/IllegalStateException.java
17094         java/lang/IllegalThreadStateException.java
17095         java/lang/IncompatibleClassChangeError.java
17096         java/lang/IndexOutOfBoundsException.java
17097         java/lang/InheritableThreadLocal.java
17098         java/lang/InstantiationError.java
17099         java/lang/InstantiationException.java java/lang/Integer.java
17100         java/lang/InternalError.java
17101         java/lang/InterruptedException.java
17102         java/lang/LinkageError.java java/lang/Long.java
17103         java/lang/NegativeArraySizeException.java
17104         java/lang/NoClassDefFoundError.java
17105         java/lang/NoSuchFieldError.java
17106         java/lang/NoSuchFieldException.java
17107         java/lang/NoSuchMethodError.java
17108         java/lang/NoSuchMethodException.java
17109         java/lang/NullPointerException.java java/lang/Number.java
17110         java/lang/NumberFormatException.java
17111         java/lang/OutOfMemoryError.java java/lang/Package.java
17112         java/lang/Process.java java/lang/Runnable.java
17113         java/lang/RuntimeException.java
17114         java/lang/RuntimePermission.java
17115         java/lang/SecurityException.java
17116         java/lang/SecurityManager.java java/lang/Short.java
17117         java/lang/StackOverflowError.java java/lang/StringBuffer.java
17118         java/lang/StringIndexOutOfBoundsException.java
17119         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
17120         java/lang/ThreadLocal.java java/lang/UnknownError.java
17121         java/lang/UnsatisfiedLinkError.java
17122         java/lang/UnsupportedClassVersionError.java
17123         java/lang/UnsupportedOperationException.java
17124         java/lang/VerifyError.java java/lang/VirtualMachineError.java
17125         java/lang/Void.java java/lang/ref/PhantomReference.java
17126         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
17127         java/lang/ref/SoftReference.java
17128         java/lang/ref/WeakReference.java
17129         java/lang/reflect/AccessibleObject.java
17130         java/lang/reflect/InvocationTargetException.java
17131         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
17132         java/lang/reflect/ReflectPermission.java
17133         java/math/BigDecimal.java java/math/BigInteger.java
17134         java/net/Authenticator.java java/net/BindException.java
17135         java/net/ConnectException.java java/net/ContentHandler.java
17136         java/net/ContentHandlerFactory.java
17137         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
17138         java/net/FileNameMap.java java/net/MalformedURLException.java
17139         java/net/MulticastSocket.java java/net/NetPermission.java
17140         java/net/NoRouteToHostException.java
17141         java/net/PasswordAuthentication.java
17142         java/net/ProtocolException.java java/net/ServerSocket.java
17143         java/net/Socket.java java/net/SocketException.java
17144         java/net/SocketImpl.java java/net/SocketImplFactory.java
17145         java/net/SocketOptions.java java/net/SocketPermission.java
17146         java/net/URLDecoder.java java/net/URLEncoder.java
17147         java/net/URLStreamHandlerFactory.java
17148         java/net/UnknownHostException.java
17149         java/net/UnknownServiceException.java
17150         java/rmi/AccessException.java
17151         java/rmi/AlreadyBoundException.java
17152         java/rmi/ConnectException.java
17153         java/rmi/ConnectIOException.java
17154         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
17155         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
17156         java/rmi/NotBoundException.java
17157         java/rmi/RMISecurityException.java
17158         java/rmi/RMISecurityManager.java java/rmi/Remote.java
17159         java/rmi/RemoteException.java java/rmi/ServerError.java
17160         java/rmi/ServerException.java
17161         java/rmi/ServerRuntimeException.java
17162         java/rmi/StubNotFoundException.java
17163         java/rmi/UnexpectedException.java
17164         java/rmi/UnknownHostException.java
17165         java/rmi/UnmarshalException.java
17166         java/rmi/activation/Activatable.java
17167         java/rmi/activation/ActivateFailedException.java
17168         java/rmi/activation/ActivationDesc.java
17169         java/rmi/activation/ActivationException.java
17170         java/rmi/activation/ActivationGroup.java
17171         java/rmi/activation/ActivationGroupDesc.java
17172         java/rmi/activation/ActivationGroupID.java
17173         java/rmi/activation/ActivationID.java
17174         java/rmi/activation/ActivationInstantiator.java
17175         java/rmi/activation/ActivationMonitor.java
17176         java/rmi/activation/ActivationSystem.java
17177         java/rmi/activation/Activator.java
17178         java/rmi/activation/UnknownGroupException.java
17179         java/rmi/activation/UnknownObjectException.java
17180         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
17181         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
17182         java/rmi/registry/Registry.java
17183         java/rmi/registry/RegistryHandler.java
17184         java/rmi/server/ExportException.java
17185         java/rmi/server/LoaderHandler.java
17186         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
17187         java/rmi/server/Operation.java
17188         java/rmi/server/RMIClassLoader.java
17189         java/rmi/server/RMIClientSocketFactory.java
17190         java/rmi/server/RMIFailureHandler.java
17191         java/rmi/server/RMIServerSocketFactory.java
17192         java/rmi/server/RMISocketFactory.java
17193         java/rmi/server/RemoteCall.java
17194         java/rmi/server/RemoteObject.java
17195         java/rmi/server/RemoteRef.java
17196         java/rmi/server/RemoteServer.java
17197         java/rmi/server/RemoteStub.java
17198         java/rmi/server/ServerCloneException.java
17199         java/rmi/server/ServerNotActiveException.java
17200         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
17201         java/rmi/server/SkeletonMismatchException.java
17202         java/rmi/server/SkeletonNotFoundException.java
17203         java/rmi/server/SocketSecurityException.java
17204         java/rmi/server/UID.java
17205         java/rmi/server/UnicastRemoteObject.java
17206         java/rmi/server/Unreferenced.java
17207         java/security/AccessControlContext.java
17208         java/security/AccessControlException.java
17209         java/security/AccessController.java
17210         java/security/AlgorithmParameterGenerator.java
17211         java/security/AlgorithmParameterGeneratorSpi.java
17212         java/security/AlgorithmParameters.java
17213         java/security/AlgorithmParametersSpi.java
17214         java/security/AllPermission.java
17215         java/security/BasicPermission.java
17216         java/security/Certificate.java java/security/CodeSource.java
17217         java/security/DigestException.java
17218         java/security/DigestInputStream.java
17219         java/security/DigestOutputStream.java
17220         java/security/DomainCombiner.java
17221         java/security/DummyKeyPairGenerator.java
17222         java/security/DummyMessageDigest.java
17223         java/security/DummySignature.java
17224         java/security/GeneralSecurityException.java
17225         java/security/Guard.java java/security/GuardedObject.java
17226         java/security/Identity.java java/security/IdentityScope.java
17227         java/security/InvalidAlgorithmParameterException.java
17228         java/security/InvalidKeyException.java
17229         java/security/InvalidParameterException.java
17230         java/security/Key.java java/security/KeyException.java
17231         java/security/KeyFactory.java java/security/KeyFactorySpi.java
17232         java/security/KeyManagementException.java
17233         java/security/KeyPair.java java/security/KeyPairGenerator.java
17234         java/security/KeyPairGeneratorSpi.java
17235         java/security/KeyStore.java
17236         java/security/KeyStoreException.java
17237         java/security/KeyStoreSpi.java
17238         java/security/MessageDigest.java
17239         java/security/MessageDigestSpi.java
17240         java/security/NoSuchAlgorithmException.java
17241         java/security/NoSuchProviderException.java
17242         java/security/Permission.java
17243         java/security/PermissionCollection.java
17244         java/security/Permissions.java java/security/Policy.java
17245         java/security/Principal.java java/security/PrivateKey.java
17246         java/security/PrivilegedAction.java
17247         java/security/PrivilegedActionException.java
17248         java/security/PrivilegedExceptionAction.java
17249         java/security/ProtectionDomain.java
17250         java/security/Provider.java
17251         java/security/ProviderException.java
17252         java/security/PublicKey.java
17253         java/security/SecureClassLoader.java
17254         java/security/SecureRandom.java
17255         java/security/SecureRandomSpi.java java/security/Security.java
17256         java/security/SecurityPermission.java
17257         java/security/Signature.java
17258         java/security/SignatureException.java
17259         java/security/SignatureSpi.java
17260         java/security/SignedObject.java java/security/Signer.java
17261         java/security/UnrecoverableKeyException.java
17262         java/security/UnresolvedPermission.java
17263         java/security/acl/Acl.java java/security/acl/AclEntry.java
17264         java/security/acl/AclNotFoundException.java
17265         java/security/acl/Group.java
17266         java/security/acl/LastOwnerException.java
17267         java/security/acl/NotOwnerException.java
17268         java/security/acl/Owner.java java/security/acl/Permission.java
17269         java/security/cert/CRL.java
17270         java/security/cert/CRLException.java
17271         java/security/cert/Certificate.java
17272         java/security/cert/CertificateEncodingException.java
17273         java/security/cert/CertificateException.java
17274         java/security/cert/CertificateExpiredException.java
17275         java/security/cert/CertificateFactory.java
17276         java/security/cert/CertificateFactorySpi.java
17277         java/security/cert/CertificateNotYetValidException.java
17278         java/security/cert/CertificateParsingException.java
17279         java/security/cert/X509CRL.java
17280         java/security/cert/X509CRLEntry.java
17281         java/security/cert/X509Certificate.java
17282         java/security/cert/X509Extension.java
17283         java/security/interfaces/DSAKey.java
17284         java/security/interfaces/DSAKeyPairGenerator.java
17285         java/security/interfaces/DSAParams.java
17286         java/security/interfaces/DSAPrivateKey.java
17287         java/security/interfaces/DSAPublicKey.java
17288         java/security/interfaces/RSAKey.java
17289         java/security/interfaces/RSAPrivateCrtKey.java
17290         java/security/interfaces/RSAPrivateKey.java
17291         java/security/interfaces/RSAPublicKey.java
17292         java/security/spec/AlgorithmParameterSpec.java
17293         java/security/spec/DSAParameterSpec.java
17294         java/security/spec/DSAPrivateKeySpec.java
17295         java/security/spec/DSAPublicKeySpec.java
17296         java/security/spec/EncodedKeySpec.java
17297         java/security/spec/InvalidKeySpecException.java
17298         java/security/spec/InvalidParameterSpecException.java
17299         java/security/spec/KeySpec.java
17300         java/security/spec/PKCS8EncodedKeySpec.java
17301         java/security/spec/RSAKeyGenParameterSpec.java
17302         java/security/spec/RSAPrivateCrtKeySpec.java
17303         java/security/spec/RSAPrivateKeySpec.java
17304         java/security/spec/RSAPublicKeySpec.java
17305         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
17306         java/sql/BatchUpdateException.java java/sql/Blob.java
17307         java/sql/CallableStatement.java java/sql/Clob.java
17308         java/sql/Connection.java java/sql/DataTruncation.java
17309         java/sql/DatabaseMetaData.java java/sql/Date.java
17310         java/sql/Driver.java java/sql/DriverManager.java
17311         java/sql/DriverPropertyInfo.java
17312         java/sql/PreparedStatement.java java/sql/Ref.java
17313         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
17314         java/sql/SQLData.java java/sql/SQLException.java
17315         java/sql/SQLInput.java java/sql/SQLOutput.java
17316         java/sql/SQLWarning.java java/sql/Statement.java
17317         java/sql/Struct.java java/sql/Time.java
17318         java/sql/Timestamp.java java/sql/Types.java
17319         java/text/Annotation.java
17320         java/text/AttributedCharacterIterator.java
17321         java/text/AttributedString.java
17322         java/text/AttributedStringIterator.java
17323         java/text/BreakIterator.java java/text/CharacterIterator.java
17324         java/text/ChoiceFormat.java java/text/Collator.java
17325         java/text/DateFormat.java java/text/DateFormatSymbols.java
17326         java/text/DecimalFormat.java
17327         java/text/DecimalFormatSymbols.java
17328         java/text/FieldPosition.java java/text/Format.java
17329         java/text/MessageFormat.java java/text/NumberFormat.java
17330         java/text/ParseException.java java/text/ParsePosition.java
17331         java/text/SimpleDateFormat.java
17332         java/text/StringCharacterIterator.java
17333         java/util/AbstractCollection.java java/util/AbstractList.java
17334         java/util/AbstractMap.java
17335         java/util/AbstractSequentialList.java
17336         java/util/AbstractSet.java java/util/ArrayList.java
17337         java/util/Arrays.java java/util/BasicMapEntry.java
17338         java/util/BitSet.java java/util/Calendar.java
17339         java/util/Collection.java java/util/Collections.java
17340         java/util/Comparator.java
17341         java/util/ConcurrentModificationException.java
17342         java/util/Date.java java/util/Dictionary.java
17343         java/util/EmptyStackException.java java/util/Enumeration.java
17344         java/util/EventListener.java java/util/EventObject.java
17345         java/util/GregorianCalendar.java java/util/HashMap.java
17346         java/util/HashSet.java java/util/Hashtable.java
17347         java/util/IdentityHashMap.java java/util/Iterator.java
17348         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
17349         java/util/LinkedList.java java/util/List.java
17350         java/util/ListIterator.java java/util/ListResourceBundle.java
17351         java/util/Locale.java java/util/Map.java
17352         java/util/MissingResourceException.java
17353         java/util/NoSuchElementException.java
17354         java/util/Observable.java java/util/Observer.java
17355         java/util/Properties.java java/util/PropertyPermission.java
17356         java/util/PropertyResourceBundle.java java/util/Random.java
17357         java/util/RandomAccess.java java/util/ResourceBundle.java
17358         java/util/Set.java java/util/SimpleTimeZone.java
17359         java/util/SortedMap.java java/util/SortedSet.java
17360         java/util/Stack.java java/util/StringTokenizer.java
17361         java/util/TimeZone.java java/util/Timer.java
17362         java/util/TimerTask.java
17363         java/util/TooManyListenersException.java
17364         java/util/TreeMap.java java/util/TreeSet.java
17365         java/util/Vector.java java/util/WeakHashMap.java
17366         java/util/jar/Attributes.java java/util/jar/JarEntry.java
17367         java/util/jar/JarException.java java/util/jar/JarFile.java
17368         java/util/jar/JarInputStream.java
17369         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
17370         java/util/zip/Adler32.java java/util/zip/CRC32.java
17371         java/util/zip/CheckedInputStream.java
17372         java/util/zip/CheckedOutputStream.java
17373         java/util/zip/Checksum.java
17374         java/util/zip/DataFormatException.java
17375         java/util/zip/Deflater.java
17376         java/util/zip/DeflaterOutputStream.java
17377         java/util/zip/GZIPInputStream.java
17378         java/util/zip/GZIPOutputStream.java
17379         java/util/zip/Inflater.java
17380         java/util/zip/InflaterInputStream.java
17381         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
17382         java/util/zip/ZipException.java java/util/zip/ZipFile.java
17383         java/util/zip/ZipInputStream.java
17384         java/util/zip/ZipOutputStream.java
17385         javax/naming/BinaryRefAddr.java
17386         javax/naming/InvalidNameException.java javax/naming/Name.java
17387         javax/naming/NamingException.java javax/naming/RefAddr.java
17388         javax/naming/StringRefAddr.java: Add license clarification.
17389
17390 2002-01-22  Tom Tromey  <tromey@redhat.com>
17391
17392         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
17393         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
17394         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
17395         version.
17396         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
17397         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
17398         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
17399         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
17400         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
17401         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
17402         * java/awt/peer/FontPeer.java: Replace with Classpath version.
17403         * java/awt/peer/FramePeer.java: Replace with Classpath version.
17404         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
17405         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
17406         * java/awt/peer/ListPeer.java: Replace with Classpath version.
17407         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
17408         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
17409         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
17410         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
17411         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
17412         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
17413         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
17414         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
17415         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
17416         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
17417         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
17418         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
17419         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
17420         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
17421         (minimumSize, preferredSize, reshape): Likewise.
17422         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
17423         getColorModel): New methods.
17424         * java/awt/PopupMenu.java: Merged with Classpath.
17425         * java/awt/MenuBar.java: Merged with Classpath.
17426         * java/awt/SystemColor.java: Replace with Classpath version.
17427         * java/awt/Panel.java: Merged with Classpath.
17428         * java/awt/PaintContext.java: Updated copyright.
17429         * java/awt/MenuShortcut.java: Merged with Classpath.
17430         * java/awt/MenuContainer.java: Merged with Classpath.
17431         * java/awt/Menu.java: Merged with Classpath.
17432         * java/awt/MediaEntry.java: New file from Classpath.
17433         * java/awt/MediaTracker.java: New file from Classpath.
17434         * java/awt/List.java: Merged with Classpath version.
17435         * java/awt/Insets.java: Merged with Classpath version.
17436         * java/awt/ImageMediaEntry.java: New file from Classpath.
17437         * java/awt/Image.java: Replaced with Classpath version.
17438         * java/awt/FontMetrics.java: Merged with Classpath version.
17439         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
17440         constant.
17441         * java/awt/Font.java: Merged with Classpath version.
17442         * java/awt/Dialog.java: Merged with Classpath version.
17443         * java/awt/Color.java: Merged with Classpath version.
17444         * java/awt/Choice.java: Merged with Classpath version.
17445         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
17446         * java/awt/Adjustable.java: Replace with Classpath version.
17447         * java/awt/MenuItem.java (paramString): Don't include class name
17448         or brackets.  Call superclass paramString.
17449         * java/awt/MenuComponent.java (toString): Call paramString.
17450         (paramString): Compute string; don't call toString.
17451         * java/awt/Label.java (paramString): Don't include class name
17452         or brackets.  Call superclass paramString.
17453         * java/awt/Checkbox.java (paramString): Don't include class name
17454         or brackets.  Call superclass paramString.
17455         * java/awt/Button.java (paramString): Don't include class name or
17456         brackets.  Call superclass paramString.
17457         * java/awt/MenuComponent.java (getTreeLock): Now protected.
17458
17459 2002-01-20  Andreas Schwab  <schwab@suse.de>
17460
17461         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
17462         function and of parameter recv_func to ssize_t, as specified by
17463         POSIX.
17464
17465 2002-01-19  Per Bothner  <per@bothner.com>
17466
17467         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
17468         uncompressed_size in readiness for next entry.
17469
17470 2002-01-18  Tom Tromey  <tromey@redhat.com>
17471
17472         * java/net/natPlainSocketImpl.cc: Include
17473         IllegalArgumentException.h.
17474         (_Jv_recv): New template function.
17475         (BooleanClass): Removed.
17476         (read): Use _Jv_recv.
17477         (setOption): Use Boolean::class$.  Throw exception if object is
17478         not Boolean or Integer.
17479
17480 2002-01-17  Tom Tromey  <tromey@redhat.com>
17481
17482         * java/awt/MenuComponent.java: Merged with Classpath.
17483         * java/awt/MenuItem.java: Merged with Classpath.
17484         * java/awt/Button.java: Merged with Classpath.
17485
17486         * java/awt/ActiveEvent.java: Updated copyright.
17487
17488         * java/awt/AWTError.java: Replaced with Classpath version.
17489         * java/awt/AWTException.java: Replaced with Classpath version.
17490         * java/awt/IllegalComponentStateException.java: Replaced with
17491         Classpath version.
17492
17493 2002-01-16  Tom Tromey  <tromey@redhat.com>
17494
17495         * java/awt/Canvas.java (serialVersionUID): New constant.
17496         Updated copyright.  Added javadoc from Classpath.
17497         * java/awt/ItemSelectable.java: Replaced with Classpath version.
17498
17499         * java/awt/CheckboxGroup.java: Merged with Classpath.
17500         * java/awt/Checkbox.java: Merged with Classpath.
17501
17502         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
17503         Classpath.
17504         * java/awt/Point.java: Updated copyright.
17505
17506         * java/awt/Point.java (toString): Use getClass().getName().
17507         Added javadoc.
17508
17509         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
17510         commented code.
17511         (hash): Correctly compute initial value for `h'.
17512
17513         * java/awt/Label.java: Merged with Classpath.
17514
17515 2002-01-15  Tom Tromey  <tromey@redhat.com>
17516
17517         * java/awt/AWTPermission.java: Updated copyright.
17518
17519         * java/awt/LayoutManager2.java: Merged with Classpath.
17520         * java/awt/LayoutManager.java: Merged with Classpath.
17521         * java/awt/GridLayout.java: Updated copyright and javadoc.
17522         (getSize): Use `parent.ncomponents'.  Handle insets.
17523         (layoutContainer): Use `parent.ncomponents'.  Handle case where
17524         there are fewer children than columns.  Correctly compute size of
17525         each cell in the grid.  Handle case where there isn't enough
17526         space.
17527         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
17528         all users.
17529         (gotoComponent): Use parent.ncomponents.  Ensure child exists
17530         before calling setVisible() on it.  Last item is `num - 1', not
17531         `num'.
17532         (layoutContainer): Hoist invariants out of loop.
17533
17534         Start of AWT merge with Classpath:
17535         * Makefile.in: Rebuilt.
17536         * Makefile.am (awt_java_source_files): Reference files in
17537         gnu/java/awt, not gnu/gcj/awt.
17538         * java/awt/image/BufferedImage.java: Updated copyright.
17539         * java/awt/image/ComponentColorModel.java: Updated copyright.
17540         * java/awt/image/ComponentSampleModel.java: Updated copyright.
17541         * java/awt/image/DataBuffer.java: Updated copyright.
17542         * java/awt/image/DataBufferByte.java: Updated copyright.
17543         * java/awt/image/DataBufferInt.java: Updated copyright.
17544         * java/awt/image/DataBufferUShort.java: Updated copyright.
17545         * java/awt/image/IndexColorModel.java: Updated copyright.
17546         * java/awt/image/PackedColorModel.java: Updated copyright.
17547         * java/awt/image/Raster.java: Updated copyright.
17548         * java/awt/image/RasterOp.java: Updated copyright.
17549         * java/awt/image/SampleModel.java: Updated copyright.
17550         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
17551         * java/awt/image/WritableRaster.java: Updated copyright.
17552         * java/awt/color/ColorSpace.java: Updated copyright.
17553         * java/awt/color/ICC_ColorSpace.java: Updated copyright
17554         * java/awt/color/ICC_Profile.java: Updated copyright.
17555         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
17556         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
17557         * java/awt/event/HierarchyEvent.java: Updated copyright.
17558         * java/awt/event/HierarchyListener.java: Updated copyright.
17559         * java/awt/geom/AffineTransform.java: Updated copyright.
17560         * java/awt/geom/Dimension2D.java: Updated copyright.
17561         * java/awt/geom/Ellipse2D.java: Updated copyright.
17562         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
17563         * java/awt/geom/Line2D.java: Updated copyright.
17564         * java/awt/geom/NoninvertibleTransformException.java: Updated
17565         copyright.
17566         * java/awt/geom/PathIterator.java: Updated copyright.
17567         * java/awt/geom/Point2D.java: Updated copyright.
17568         * java/awt/geom/Rectangle2D.java: Updated copyright.
17569         * java/awt/geom/RectangularShape.java: Updated copyright.
17570         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
17571         * java/awt/Toolkit.java: Updated import for file moves.
17572         * java/awt/Rectangle.java: Updated copyright; added javadoc from
17573         Classpath.
17574         (hashCode): New method from Classpath.
17575         * java/awt/Graphics2D.java: Updated copyright.
17576         * java/awt/Transparency.java: Updated copyright.
17577         * java/awt/Paint.java: Updated copyright.
17578         * java/awt/Graphics.java: New version from Classpath.
17579         * java/awt/EventDispatchThread.java: Updated copyright.
17580         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
17581         children.
17582         (gotoComponent): Wrap around on next/previous.
17583         * gnu/gcj/awt/BitMaskExtent.java: Removed.
17584         * gnu/gcj/awt/Buffers.java: Removed.
17585         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
17586         * gnu/gcj/awt/GLightweightPeer.java: Removed.
17587         * gnu/java/awt/BitMaskExtent.java: Added.
17588         * gnu/java/awt/Buffers.java: Added.
17589         * gnu/java/awt/ComponentDataBlitOp.java: Added.
17590         * gnu/java/awt/GLightweightPeer.java: Added.
17591         * java/awt/geom/Line2D.java (clone): Ignore
17592         CloneNotSupportedException.
17593         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
17594         * java/awt/Frame.java: Merged with Classpath.
17595         * java/awt/RenderingHints.java: Copyright update.
17596         * java/awt/Paint.java: Copyright update.
17597         * java/awt/image/DirectColorModel.java: Merged with Classpath.
17598         * java/awt/image/ColorModel.java: Merged with Classpath.
17599         * java/awt/Window.java (show): New Implementation from Classpath.
17600         (isShowing): Use super.isShowing().
17601         * java/awt/EventQueue.java: Merged with Classpath.
17602         * java/awt/AWTEventMulticaster.java (save): Throw
17603         RuntimeException.
17604         (saveInternal): Likewise.
17605         * java/awt/AWTEvent.java: Now implements Serializable.
17606         * java/awt/Event.java: Copyright update.
17607         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
17608         * java/awt/image/BufferedImage.java: Copyright update.
17609         * java/awt/GraphicsConfiguration.java: Copyright update.
17610         * java/awt/Component.java: (addNotify): Don't call
17611         addNotifyContainerChildren().
17612         (addNotifyContainerChildren): Removed.
17613         (setPeer): New method from Classpath.
17614         (setTreeLock): Likewise.
17615         (setVisible): Rewrote.
17616         (show): Use it.
17617         (hide): Likewise.
17618         (validate): Set `valid'.
17619         (checkImage(Image,ImageObserver)): Implementation from Classpath.
17620         (createImage(ImageProducer)): Likewise.
17621         (prepareImage): Likewise.
17622         * java/awt/Container.java (addImpl): Handle case where constraint
17623         is not a String.  Post event via system event queue.
17624         (remove): Post event via system event queue.
17625         (validateTree): Only validate child if it is invalid.
17626         (getAlignmentX): Call super method as default.
17627         (getAlignmentY): Likewise.
17628         (addContainerListener): Now synchronized.
17629         (removeContainerListener): Likewise.
17630         (addNotifyContainerChildren): Now private.
17631         * java/awt/ComponentOrientation.java: Updated copyright.  Added
17632         @author.
17633         * java/awt/FlowLayout.java (serialVersionUID): New field.
17634         (setAlignment): Better exception message.
17635         (layoutContainer): Don't compute component's preferred size unless
17636         we're going to use it.
17637         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
17638         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
17639         (firstLine, lastLine, firstItem, lastItem): New fields.
17640         (addLayoutComponent): Handle case where constraints is null.
17641         Also, handle relative locations.
17642         (removeLayoutComponent): Handle relative locations.
17643         (MIN, MAX, PREF): New constants.
17644         (calcCompSize): New method.
17645         (calcSize): New method.
17646         (minimumLayoutSize): Use it.
17647         (preferredLayoutSize): Likewise.
17648         (maximumLayoutSize): Likewise.
17649         (toString): Include more information.
17650         (setBounds): New method.
17651         (layoutContainer): Use libgcj implementation; extended to handle
17652         relative locations.
17653
17654 2002-01-15  Tom Tromey  <tromey@redhat.com>
17655
17656         * java/lang/Float.java (equals): Preserve old code.
17657         * java/lang/Double.java (equals): Preserve old code.
17658
17659 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
17660
17661         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
17662         * java/lang/Float.java (equals, compare): Ditto.
17663
17664 2002-01-13  Mark Wielaard  <mark@klomp.org>
17665
17666         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
17667         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
17668         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
17669         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
17670
17671 2002-01-11  Mark Wielaard  <mark@klomp.org>
17672
17673         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
17674         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
17675         InetAddress.
17676         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
17677         * java/net/Socket.java: Merge with Classpath.
17678         * java/net/ServerSocket.java: Likewise.
17679
17680 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
17681
17682         * interpret.cc (NULLARRAYCHECK): New macro.
17683         (SAVE_PC): Just store `pc'.
17684         (find_exception): Subtract one from `pc' here.
17685         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17686         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17687         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17688         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
17689         don't call SAVE_PC.
17690         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
17691         call SAVE_PC.
17692
17693 2002-01-11  Tom Tromey  <tromey@redhat.com>
17694
17695         * java/lang/natSystem.cc (init_properties): Only look for default
17696         locale if LC_MESSAGES is defined.
17697         * aclocal.m4, configure, include/config.h.in: Rebuilt.
17698         * configure.in: Call AM_LC_MESSAGES.
17699         * acinclude.m4 (AM_LC_MESSAGES): New macro.
17700
17701 2002-01-10  Tom Tromey  <tromey@redhat.com>
17702
17703         For PR libgcj/5303:
17704         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
17705         --version.  Recognize GNU-style long options.  Print GNU-style
17706         error messages.
17707         (usage): Print GNU-style help.  Exit with status 0.
17708         (error): New method.
17709         (run): Print error message if no class names found.
17710         (main): Don't print usage on error.
17711
17712 2002-01-09  Tom Tromey  <tromey@redhat.com>
17713
17714         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
17715         property.
17716         (help, version): Use println(), not println("").
17717
17718         For PR libgcj/5303:
17719         * gnu/gcj/convert/Convert.java (error): Program is called
17720         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
17721         -1.
17722         (main): Handle --help and --version.
17723         (help): New method.
17724         (version): Likewise.
17725
17726 2002-01-08  Tom Tromey  <tromey@redhat.com>
17727
17728         * Makefile.in: Rebuilt.
17729         * Makefile.am (ordinary_java_source_files): Added new files.
17730         * gnu/java/locale/LocaleInformation.java: Extend
17731         LocaleInformation_en.
17732         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
17733         and time/date formats.
17734         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
17735         generated.
17736         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
17737         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
17738         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
17739         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
17740         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
17741         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
17742         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
17743         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
17744         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
17745         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
17746         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
17747         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
17748         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
17749         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
17750         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
17751         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
17752         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
17753         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
17754         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
17755         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
17756         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
17757         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
17758         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
17759         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
17760         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
17761         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
17762         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
17763         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
17764         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
17765         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
17766         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
17767         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
17768         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
17769         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
17770         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
17771         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
17772         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
17773         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
17774         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
17775         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
17776         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
17777         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
17778         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
17779         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
17780         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
17781         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
17782         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
17783         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
17784         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
17785         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
17786         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
17787         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
17788         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
17789         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
17790         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
17791         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
17792         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
17793         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
17794         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
17795         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
17796         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
17797         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
17798         * gnu/java/locale/LocaleInformation_es_US.java: New file.
17799         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
17800         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
17801         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
17802         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
17803         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
17804         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
17805         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
17806         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
17807         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
17808         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
17809         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
17810         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
17811         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
17812         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
17813         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
17814         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
17815         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
17816         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
17817         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
17818         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
17819         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
17820         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
17821         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
17822         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
17823         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
17824         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
17825         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
17826         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
17827         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
17828         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
17829         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
17830         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
17831         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
17832         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
17833         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
17834         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
17835         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
17836         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
17837         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
17838         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
17839         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
17840         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
17841         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
17842         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
17843         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
17844         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
17845         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
17846         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
17847         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
17848         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
17849         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
17850         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
17851         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
17852         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
17853         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
17854         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
17855         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
17856         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
17857         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
17858         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
17859         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
17860         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
17861         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
17862         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
17863         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
17864         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
17865         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
17866
17867         For PR libgcj/5031:
17868         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
17869         choose default locale.
17870
17871         * Makefile.in: Rebuilt.
17872         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
17873
17874 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
17875
17876         * java/net/natPlainSocketImpl.cc: Added timeout handling for
17877         sockets.
17878         (close): New function closes the socket.
17879         (write): New functions for output to socket.
17880         (read): New functions for reading from socket.
17881         * java/net/PlainSocketImpl.java: Glue for new timeout
17882         implementation.
17883         (write): Call the native impl.
17884         (read): Likewise.
17885         (getInputStream): Get a stream to read from the socket.
17886         (getOutputStream): Get a stream to write to the socket.
17887
17888 2002-01-08  Tom Tromey  <tromey@redhat.com>
17889
17890         * resolve.cc (_Jv_PrepareClass): Enable verifier.
17891
17892 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
17893
17894         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
17895         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
17896
17897 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
17898
17899         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
17900         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17901         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17902         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17903         insn_bastore, insn_castore, insn_sastore]: Use it.
17904         (continue1) [insn_arraylength]: Check for null array.
17905
17906 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
17907
17908         * configure, include/config.h.in: Rebuilt.
17909         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
17910         * configure.in: Call AC_STRUCT_TIMEZONE.
17911
17912 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
17913
17914         * configure.host: Disable the interpreter for Darwin.
17915
17916 2002-01-04  Tom Tromey  <tromey@redhat.com>
17917
17918         * java/lang/Thread.java (stop): No longer synchronized.
17919         (start): Likewise.
17920
17921 2002-01-02  Tom Tromey  <tromey@redhat.com>
17922
17923         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
17924         patch.
17925
17926 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
17927
17928         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
17929         PPC Darwin, not for all of Darwin.