OSDN Git Service

2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
2
3         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5         (getPreferredSize): Call preferredSize.
6         (preferredSize): Call gtkWidgetGetPreferredDimensions.
7         (getMinimumSize): Call minimumSize.
8         (minimumSize): Call gtkWidgetGetPreferredDimensions.
9         (gtkWidgetGetDimensions): Return the peer widget's current size
10         request.
11         (gtkWidgetGetPreferredDimensions): Return the peer widget's
12         natural size request.
13
14 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
15
16         Thanks to Brian Gough <bjg@network-theory.com>
17         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
18         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
19
20 2004-01-04  Matthias Klose  <doko@debian.org>
21
22         * aclocal.m4: Rebuilt using "aclocal -I .".
23         * configure: Rebuilt.
24
25 2004-01-03  Per Bothner  <per@bothner.com>
26
27         * java/util/Date.java (parse):  Fix a number of problems.
28         (skipParens):  Remove no-longer-needed method.
29
30 2003-12-31  Michael Koch  <konqueror@gmx.de>
31
32         * gnu/java/net/protocol/http/Connection.java
33         (sendRequest): Dont encode output in default character encoding,
34         add correct version number to HTTP user agent string.
35
36 2003-12-31  Guilhem Lavaux  <guilhem@kaffe.org>
37
38         * java/io/ObjectOutputStream.java
39         (putFields): Reindented. Fixed behaviour: currentPutField should be
40         null
41         before calling this method.
42         (writeFields): Likewise.
43         (markFieldsWritten): Fixed the exception message.
44         (callWriteMethod): Ensure currentPutField is null.
45         (getBooleanField): Translate IllegalArgumentException into
46         InvalidClassException.
47         (getByteField): Likewise.
48         (getCharField): Likewise.
49         (getDoubleField): Likewise.
50         (getFloatField): Likewise.
51         (getIntField): Likewise.
52         (getLongField): Likewise.
53         (getShortField): Likewise.
54         (getObjectField): Check the type code before returning the object.
55         (getField): Translate NoSuchFieldException into InvalidClassException
56         directly.
57
58 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
59
60         * java/net/URL.java
61         (URL): Change context path to "/" if it is empty.
62
63 2003-12-31  Michael Koch  <konqueror@gmx.de>
64
65         * testsuite/libjava.mauve/xfails: Removed tests that pass now:
66         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
67         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
68         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
69         (number 26)
70         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
71         (number 54)
72         
73
74 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
75
76         * java/util/GregorianCalendar.java
77         (computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>.
78         Fixed the computation of DAY_OF_WEEK_IN_MONTH.
79         (computeTime): 12:00 midnight is AM and 12:00 noon is PM.
80
81 2003-12-30  Michael Koch  <konqueror@gmx.de>
82
83         * testsuite/libjava.mauve/xfails: Removed the following testcase
84         because it passes now:
85         FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict
86         (number 1)
87
88 2003-12-30  Michael Koch  <konqueror@gmx.de>
89
90         * java/io/ObjectInputStream.java,
91         java/io/ObjectOutputStream.java,
92         java/io/ObjectStreamClass.java:
93         Reformated, no functional code changes.
94
95 2003-12-30  Michael Koch  <konqueror@gmx.de>
96
97         * gnu/java/net/protocol/http/Connection.java
98         (outputStream): New field.
99         (bufferedOutputStream): New field.
100         (connect): Initialize outputStream and bufferedOutputStream.
101         (sendRequest): Create PrintWriter object from outputStream,
102         support HTTP 1.1, send missing HTTP headers and buffered output data
103         for POST method.
104         (getOutputStream): Set request method to POST if output stream is
105         used, return bufferedOutputStream.
106         (setRequestMethod): Allow HEAD and POST methods.
107         This fixes libgcj PR/6302 and libgcj PR/7752.
108
109 2003-12-30  Guilhem Lavaux <guilhem@kaffe.org>
110
111         * java/io/LineNumberReader.java
112         (countLines): Removed.
113         (fill): New private method.
114         (mark): Changed logic to use and matchedNewLine.
115         (reset): Likewise.
116         (read): Likewise.
117         (skipRedundantLF): Likewise.
118
119 2003-12-30  Michael Koch  <konqueror@gmx.de>
120
121         * gnu/java/net/protocol/http/Connection.java
122         (requestProperties): New field.
123         (addRequestProperty): New method.
124         (getRequestProperty): New method.
125         (setRequestProperty): New method.
126         (getRequestProperties): New method.
127
128 2003-12-28  Michael Koch  <konqueror@gmx.de>
129
130         * gnu/java/net/protocol/http/Connection.java
131         (inputStream): Made it a DataInputStream.
132         (requestProperties): Removed.
133         (hdrHash): Removed.
134         (hdrVec): Removed.
135         (headers): New field to store headers.
136         (connect): Initialize inputStream.
137         (receiveReply): Merged from classpath. The new algorithm is line based
138         instead of character based.
139         (getHeaderField): Use headers.
140         (getHeaderFields): Use headers.
141         (getKey): Removed.
142         (getField): Removed.
143         * gnu/java/net/HeaderFieldHelper.java: New file.
144         * Makefile.am (ordinary_java_source_files):
145         Added gnu/java/net/HeaderFieldHelper.java.
146         * Makefile.in: Regenerated.
147
148 2003-12-28  Guilhem Lavaux <guilhem@kaffe.org>
149
150         * java/io/LineNumberReader.java
151         (mark): Improved error checking.
152         (read): Likewise.
153         (skip): Likewise. Skip is now really eating the specified number of
154         characters.
155         * java/io/CharArrayReader.java (read): It should throw
156         IndexOutOfBoundsException and not ArrayIndexOutOfBoundsException (see
157         mauve).
158         * java/io/BufferedReader.java (readLine): Make readLine() really block
159         until either EOF is reached or a true error happens.
160
161 2003-12-27  Michael Koch  <konqueror@gmx.de>
162
163         * gnu/java/net/protocol/http/Connection.java
164         (getRequestProperty): Removed.
165         (setRequestProperty): Removed.
166
167 2003-12-27  Michael Koch  <konqueror@gmx.de>
168
169         * gnu/java/net/protocol/http/Connection.java
170         (connect): Call receiveReply().
171         (receiveReply): Renamed from getHttpHeaders().
172         (getOutputStream): Moved check on doOutput before check for connection
173         state.
174
175 2003-12-27  Michael Koch  <konqueror@gmx.de>
176
177         * javax/print/attribute/ResolutionSyntax.java,
178         javax/print/attribute/SetOfIntegerSyntax.java,
179         javax/print/attribute/Size2DSyntax.java,
180         javax/print/attribute/standard/Copies.java,
181         javax/print/attribute/standard/JobImpressions.java,
182         javax/print/attribute/standard/JobMediaSheets.java,
183         javax/print/attribute/standard/NumberOfDocuments.java,
184         javax/print/attribute/standard/NumberOfInterveningJobs.java,
185         javax/print/attribute/standard/PagesPerMinute.java,
186         javax/print/attribute/standard/PagesPerMinuteColor.java,
187         javax/print/attribute/standard/QueuedJobCount.java:
188         Fixed typo (s/then/than/).
189
190 2003-12-27  Guilhem Lavaux  <guilhem@kaffe.org>
191
192         * java/rmi/Naming.java (lookup): Check if the first character of the
193         filename returned by URL.getFile() is a '/', only if it is the case
194         we cut this first character and call the registry with the good name.
195         (bind): Likewise.
196         (rebind): Likewise.
197
198 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
199             Mark Wielaard  <mark@klomp.org>
200
201         * java/io/BufferedReader.java (BufferedReader):
202         Throw IllegalArgumentException when size <= 0.
203         (mark): Document and better exception message for negative
204         readLimit IllegalArgumentException.
205         (read(char[],int,int)): Throw IndexOutOfBoundsException
206         if offset and count are not valid regarding buf.
207         (skip): Throw IllegalArgumentException when count is negative.
208
209 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
210
211         * java/io/FileInputStream.java
212         (FileInputStream(String)): Call FileInputStream(File).
213         (FileInputStream(File)): Check whether the argument is a directory.
214
215 2003-12-26  Michael Koch  <konqueror@gmx.de>
216
217         * Makefile.am (rmi_java_source_files):
218         Added gnu/java/rmi/server/RMIVoidValue.java.
219         * Makefile.in: Regenerated.
220
221 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
222             Mark Wielaard  <mark@klomp.org>
223
224         * gnu/java/rmi/server/UnicastConnectionManager.java
225         (startScavenger): Set the client connection manager to daemon
226         state because it may block clients until TIMEOUT is reached
227         when they are exiting.
228
229         * gnu/java/rmi/RMIVoidValue.java: New file for a class representing
230         a void return.
231
232         * gnu/java/rmi/server/UnicastRemoteCall.java
233         (DummyOutputStream): Add a boolean before each written field to
234         know whether it is a primitive.
235         (releaseOutputStream): Flush parameters at write time.
236
237         * gnu/java/rmi/server/UnicastServerRef.java
238         (incomingMessageCall): Return a RMIVoidValue if no value is to be
239         returned.
240
241         * gnu/java/rmi/server/UnicastServer.java
242         (incomingMessageCall): Do not write a returned object if it is
243         a RMIVoidValue.
244
245 2003-12-25  Andreas Tobler  <a.tobler@schweiz.ch>
246
247         * libltdl/ltdl.c (HAVE_DYLD): Remove ifdef conditional for 
248         darwin. Fixed by fixinclude now.
249
250 2003-12-25  Michael Koch  <konqueror@gmx.de>
251
252         * java/net/ServerSocket.java bind():
253         If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as
254         address to bind to.
255
256 2003-12-23  Guilhem Lavaux <guilhem@kaffe.org>
257
258         * java/io/ObjectInputStream.java
259         (getField): Handle transient and non persistent fields.
260         (readClassDescriptor): Better error handling, use the right
261         class loader.
262         (readFields): Fields marked as not present in the stream
263         or not to be set are not read and set.
264         * java/io/ObjectInputStream.java
265         (readFields): Changed implementation of GetField.
266         (readClassDescriptor): Documented.
267         * java/io/ObjectOutputStream.java
268         (writeClassDescriptor): Added condition when to write class super
269         class information.
270
271 2003-12-22  Fernando Nasser  <fnasser@redhat.com>
272
273         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to...
274         (choicePostItemEvent): Change signature to more specific String object.
275         * java/awt/Choice.java (add): Generate ItemEvent for the first item
276         added.
277         (insert): Generate ItemEvent if insertion caused
278         selection to change.
279         (remove): Generate ItemEvent if removal cause selection to change.
280         (removeAll): Change algorithm to prevent generation of ItemEvents.
281         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
282         (connect_choice_item_selectable_hook): Change argument type.
283         Fix argument value.
284         Make sure resources are feed by registering callback.
285         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
286         above function.
287         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
288         (item_activate): Ditto.
289         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
290         menuitem.
291         (item_removed): New function.  Free resources.
292         * jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
293         name.
294         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
295         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
296         choicePostItemEvent.
297
298 2003-12-23  Michael Koch  <konqueror@gmx.de>
299
300         * javax/print/attribute/standard/Copies.java,
301         javax/print/attribute/standard/JobImpressions.java,
302         javax/print/attribute/standard/JobMediaSheets.java,
303         javax/print/attribute/standard/JobPriority.java,
304         javax/print/attribute/standard/NumberOfDocuments.java,
305         javax/print/attribute/standard/NumberOfInterveningJobs.java,
306         javax/print/attribute/standard/NumberUp.java,
307         javax/print/attribute/standard/PagesPerMinuteColor.java,
308         javax/print/attribute/standard/PagesPerMinute.java,
309         javax/print/attribute/standard/QueuedJobCount.java: New files.
310         * Makefile.am (ordinary_java_source_files): Added new files.
311         * Makefile.in: Regenerated.
312
313 2003-12-23  Michael Koch  <konqueror@gmx.de>
314
315         * javax/print/attribute/AttributeSetUtilities.java
316         (verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
317         * javax/print/attribute/HashAttributeSet.java
318         (HashAttributeSet): Call internal add methods, added missing
319         exceptions.
320         (add): Call addInternal, added exceptions to documentation.
321         (addInternal): New method.
322         (addAll): Call addAllInternal, added exception to documentation.
323         (addAllInternal): New method.
324         (clear): Added exception to documentation.
325         (remove): Likewise.
326         * javax/print/attribute/URISyntax.java
327         (serialVersionUID): Fixed value.
328
329 2003-12-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
330
331         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
332         (pre_event_handler): Don't dereference NULL focus_obj_ptr.
333
334 2003-12-21  Michael Koch  <konqueror@gmx.de>
335
336         * javax/print/attribute/AttributeSetUtilities.java,
337         javax/print/attribute/HashAttributeSet.java,
338         javax/print/attribute/HashDocAttributeSet.java,
339         javax/print/attribute/HashPrintJobAttributeSet.java,
340         javax/print/attribute/HashPrintRequestAttributeSet.java,
341         javax/print/attribute/HashPrintServiceAttributeSet.java: New files.
342         * Makefile.am (ordinary_java_source_files): Added new files.
343         * Makefile.in: Regenerated.
344
345 2003-12-21  Michael Koch  <konqueror@gmx.de>
346
347         * javax/print/attribute/EnumSyntax.java,
348         javax/print/attribute/SetOfIntegerSyntax.java: New files.
349         * Makefile.am (ordinary_java_source_files):
350         Added javax/print/attribute/EnumSyntax.java
351         and javax/print/attribute/SetOfIntegerSyntax.java.
352         * Makefile.in: Regenerated.
353
354 2003-12-21  Michael Koch  <konqueror@gmx.de>
355
356         * javax/print/attribute/PrintJobAttribute.java,
357         javax/print/attribute/PrintJobAttributeSet.java,
358         javax/print/attribute/PrintRequestAttribute.java,
359         javax/print/attribute/PrintServiceAttribute.java,
360         javax/print/attribute/PrintServiceAttributeSet.java,
361         javax/print/attribute/SupportedValuesAttribute.java: New files.
362         * Makefile.am (ordinary_java_source_files): Added new files.
363         * Makefile.in: Regenerated.
364
365 2003-12-21  Michael Koch  <konqueror@gmx.de>
366
367         * javax/print/attribute/DateTimeSyntax.java,
368         javax/print/attribute/DocAttribute.java,
369         javax/print/attribute/DocAttributeSet.java,
370         javax/print/attribute/IntegerSyntax.java,
371         javax/print/attribute/ResolutionSyntax.java,
372         javax/print/attribute/Size2DSyntax.java,
373         javax/print/attribute/TextSyntax.java,
374         javax/print/attribute/URISyntax.java,
375         javax/print/attribute/UnmodifiableSetException.java: New files.
376         * Makefile.am (ordinary_java_source_files): Added new files.
377         * Makefile.in: Regenerated.
378
379 2003-12-21  Michael Koch  <konqueror@gmx.de>
380
381         * gnu/java/net/PlainDatagramSocketImpl.java
382         (mcastGrp): Added documentation.
383
384 2003-12-20  Michael Koch  <konqueror@gmx.de>
385
386         * gnu/java/net/protocol/jar/Connection.java
387         (connectionCache): New field.
388         (connect): New method.
389         (getInputStream): New method.
390         (hdrHash): New field.
391         (hdrVec): New field.
392         (gotHeaders): New field.
393         (getHeaderField): New method.
394         (getHeaderFields): New method.
395         (getHeaderFieldKey): New method.
396         (getKey): New method.
397         (getField): New method.
398         (getHeaders): New method.
399         * java/net/JarURLConnection.java
400         (connectionCache): Removed.
401         (connect): Removed.
402         (getInputStream): Removed.
403         (hdrHash): Removed.
404         (hdrVec): Removed.
405         (gotHeaders): Removed.
406         (getHeaderField): Removed.
407         (getHeaderFields): Removed.
408         (getHeaderFieldKey): Removed.
409         (getKey): Removed.
410         (getField): Removed.
411         (getHeaders): Removed.
412
413 2003-12-20  Michael Koch  <konqueror@gmx.de>
414
415         * java/io/ObjectStreamField.java (isUnshared): Added documentation.
416
417 2003-12-20  Mohan Embar  <gnustuff@thisiscool.com>
418
419         * gnu/java/nio/SelectorImpl.java
420         (selectThreadMutex): New field.
421         (selectThread): New field.
422         (unhandledWakeup): New field.
423         (implCloseSelector): Added skeleton code which
424         synchronizes as per Sun JRE JavaDoc.
425         (keys): Throw ClosedSelectorException if selector
426         is closed.
427         (selectNow): Added comment that we're faking out
428         an immediate select with a one-microsecond-timeout one.
429         (select): Use 0 instead of -1 for infinite timeout.
430         (implSelect): Changed comment in declaration.
431         (select): Added synchronized to method declaration.
432         Added synchronization and wakeup support as per Sun
433         JRE JavaDoc.
434         (selectedKeys): Throw ClosedSelectorException if selector
435         is closed.
436         (wakeup): Implemented.
437         (deregisterCancelledKeys): Synchronize on cancelled key
438         set before deregistering.
439         (register): Synchronize on key set before registering.
440         * java/nio/channels/spi/AbstractSelector.java
441         Added import for java.nio.channels.ClosedSelectorException.
442         (close): Added synchronized to method declaration.
443         (cancelledKeys): Throw ClosedSelectorException if selector
444         is closed.
445         (cancelKey): Synchronize on cancelled key set before key.
446
447 2003-12-20  Michael Koch  <konqueror@gmx.de>
448
449         * Makefile.am (ordinary_java_source_files):
450         Added gnu.java.net.URLParseError.java.
451         * Makefile.in: Regenerated.
452
453 2003-12-20  Guilhem Lavaux <guilhem@kaffe.org>
454
455         * gnu/java/net/URLParseError.java: New file.
456         * gnu/java/net/protocol/jar/Handler.java
457         (parseURL): Throw URLParseError if needed, fix '/' handling.
458         * java/net/URL.java (URL): Catch URLParseError and
459         transform it into a MalformedURLException.
460
461 2003-12-19  Michael Koch  <konqueror@gmx.de>
462
463         * gnu/java/nio/ChannelOutputStream.java: New file.
464         * java/nio/channels/Channels.java
465         (newOutputStream): Implemented.
466         * Makefile.am (ordinary_java_source_files)
467         Added gnu/java/nio/ChannelOutputStream.java.
468         * Makefile.in: Regenerated.
469
470 2003-12-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
471
472         * java/awt/FlowLayout.java (layoutContainer): Let components
473         assume their preferred height.  Centre components vertically.
474
475 2003-12-19  Michael Koch  <konqueror@gmx.de>
476
477         * gnu/java/nio/ChannelInputStream.java: New file.
478         * java/nio/channels/Channels.java (newInputStream): Implemented.
479         * java/nio/channels/FileChannelImpl.java
480         (readImpl): Only put data into buffer if something was read.
481         * Makefile.am (ordinary_java_source_files):
482         Added gnu/java/nio/ChannelInputStream.java.
483         * Makefile.in: Regenerated.
484
485 2003-12-19  Michael Koch  <konqueror@gmx.de>
486
487         * gnu/java/nio/OutputStreamChannel.java: New file.
488         * java/nio/channels/Channels.java (newChannel): Implemented.
489         * Makefile.am (ordinary_java_source_files):
490         Added gnu/java/nio/OutputStreamChannel.java.
491         * Makefile.in: Regenerated.
492
493 2003-12-19  Michael Koch  <konqueror@gmx.de>
494
495         * Makefile.am (ordinary_java_source_files):
496         Added gnu.java.nio.InputStreamChannel. 
497         * Makefile.in: Regenerated.
498
499 2003-12-19  Michael Koch  <konqueror@gmx.de>
500
501         * gnu/java/nio/InputStreamChannel.java: New file.
502         * java/nio/channels/Channels.java (newChannel): Implemented.
503
504 2003-12-19  Michael Koch  <konqueror@gmx.de>
505
506         * java/util/SimpleTimeZone.java
507         (setStartRule): Reformated documentation.
508         (setEndRule): Reworked documentation.
509         (getDSTSavings): Fixed @since tag.
510         (setDSTSavings): New method.
511
512 2003-12-19  Michael Koch  <konqueror@gmx.de>
513
514         * java/text/NumberFormat.java: Sorted imports.
515         (getCurrency): New method.
516         (setCurrency): New method.
517         
518
519 2003-12-19  Michael Koch  <konqueror@gmx.de>
520
521         * java/text/MessageFormat.java
522         (MessageFormat): New constructor.
523
524 2003-12-19  Michael Koch  <konqueror@gmx.de>
525
526         * gnu/java/net/protocol/jar/Handler.java
527         (parseURL): New method.
528         (toExternalForm): New method.
529
530 2003-12-18  Fernando Nasser  <fnasser@redhat.com>
531
532         * java/awt/List.java (replaceItem): Prevent selection to move with
533         replace and minimize flickering.
534  
535 2003-12-18  Michael Koch  <konqueror@gmx.de>
536
537         * libltdl/ltdl.c: Define __private_extern__ if needed.
538
539 2003-12-18  Michael Koch  <konqueror@gmx.de>
540
541         * libltdl/.cvsignore: Ignore autom4te.cache
542         * libltdl/Makefile.in: Regenerated.
543         * libltdl/aclocal.m4: Regenerated.
544         * libltdl/acconfig.h: Removed (obsolete).
545         * libltdl/config-h.in: Regenerated.
546         * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
547         * libltdl/configure: Regenerated.
548
549 2003-12-18  Michael Koch  <konqueror@gmx.de>
550
551         * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
552         java.text.CollationElementIterator tests as they compile again.
553         * testsuite/libjava.mauve/xfails: Added failing
554         java.text.CollationElementIterator tests.
555
556 2003-12-18  Michael Koch  <konqueror@gmx.de>
557
558         * java/util/prefs/AbstractPreferences.java
559         (cachedChildren): New method.
560
561 2003-12-18  Michael Koch  <konqueror@gmx.de>
562
563         * java/util/TimeZone.java (getOffset): New method.
564
565 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
566  
567         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
568         of ActionEvents for mouse double-clicks.
569
570 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
571
572         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
573         null Graphics pointer returned by FileDialogPeer.
574
575 2003-12-17  Michael Koch  <konqueror@gmx.de>
576
577         * libltdl/stamp-h.in: Removed, not used anymore.
578
579 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
580
581         * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
582         Removed unused InterruptedIOException.h include.
583         * gnu/java/net/natPlainSocketImplWin32.cc
584         (connect): Reset and ignore our thread's interrupted
585         flag instead of testing and throwing an InterruptedIOException
586         if set.
587         (accept): Likewise + changed case of SocketTimeoutException
588         text.
589         (write): Likewise (for both overloads).
590         (doRead): Likewise.
591
592 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
593
594         * win32.cc (WSAEventWrapper): Implemented default
595         constructor and init() methods.
596         (_Jv_select): Removed.
597         * gnu/java/nio/natSelectorImplWin32.cc
598         (helper_put_filedescriptors): Removed.
599         (helper_get_filedescriptors): Removed.
600         (implSelect): Implemented in terms of WSAEventWrapper
601         and WSAWaitForMultipleEvents instead of _Jv_select().
602         Added support for thread interruption.
603         * include/win32.h (WSAEventWrapper): Minor formatting
604         changes; added default constructor declaration, init(),
605         getFD() and getEventHandle() methods.
606         (_Jv_select): Removed.
607
608 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
609
610         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
611         (peekData): Throw SocketTimeoutException instead of
612         InterruptedIOException on timeout.
613         (receive): Likewise.
614         * gnu/java/net/natPlainSocketImplPosix.cc
615         (read): Made a minor exception text case change.
616
617 2003-12-16  Michael Koch  <konqueror@gmx.de>
618
619         Fix for PR libgcj/13056.
620         * libltdl/configure.in,
621         libltdl/config.h.in: Removed.
622         * libltdl/configure.ac,
623         libltdl/config-h.in,
624         libltdl/install-sh,
625         libltdl/config.guess,
626         libltdl/config.sub,
627         libltdl/missing,
628         libltdl/mkinstalldirs,
629         libltdl/ltmain.sh: New files.
630         * libltdl/Makefile.am,
631         libltdl/acinclude.m4,
632         libltdl/aclocal.m4,
633         libltdl/ltdl.c,
634         libltdl/ltdl.h,
635         libltdl/README: Update to versions from libtool 1.5.
636         libltdl/configure,
637         * libltdl/Makefile.in: Regenerated.
638         * java/lang/natRuntime.cc (find_symbol):
639         Use type 'lt_ptr' instead of 'lt_ptr_t'.
640
641 2003-12-16  Michael Koch  <konqueror@gmx.de>
642
643         * java/awt/MenuComponent.java
644         (serialVersionUID): Fixed value.
645
646 2003-12-16  Fernando Nasser  <fnasser@redhat.com>
647
648         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
649         (pre_event_handler): Handle GtkButton widgets differently as events
650         go to its event_window.
651         (connect_awt_hook): Remove compiler warning.
652
653 i2003-12-16  Guilhem Lavaux <guilhem@kaffe.org>
654
655         * java/io/ObjectInputStream.java
656         (lookupClass): New method.
657         (currentLoader): New method.
658         (inputGetObjectStreamClasses): New method.
659         (assignNewHandle): Documented.
660         (currentClassLoader): Documented.
661         * java/io/ObjectStreamClass.java
662         (setClass): Changed API. Better handling of the imported/exported
663         fields.
664         (getSerialPersistentFields): Make it throw previously caught exceptions
665         so they can handled in setClass.
666
667 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
668  
669         * java/io/ObjectStreamField.java: A few methods were added in prevision
670         of the upcoming upgrade of the serialization code. This also adds
671         some missing documentation.
672         (ObjectStreamField): We should throw a NullPointerException when 'name'
673         is null.
674
675  2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
676   
677         * java/io/ObjectInputStream.java (setBooleanField):
678         Throw an InvalidClassException if the field hasn't the required type,
679         documentation added.
680         (setByteField) Likewise.
681         (setCharField) Likewise.
682         (setDoubleField) Likewise.
683         (setFloatField) Likewise.
684         (setIntField) Likewise.
685         (setShortField) Likewise.
686         (setLongField) Likewise.
687         (setObjectField) Likewise.
688
689 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
690            Helmer Kraemer <hkraemer@freenet.de>
691  
692         * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
693         Splitted the method so we can specify an explicit boot loader.
694
695 2003-12-15  Graydon Hoare  <graydon@redhat.com>
696
697         * jni/gtk-peer/gdkfont.h: New file.
698         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
699         include of cairo-xlib.h, add extra gdk_flush().
700
701 2003-12-12  Fernando Nasser  <fnasser@redhat.com>
702
703         * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
704         native state table -- native_global_ref_table.
705         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
706         native_global_ref_table pointer.
707         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
708         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
709         global reference is deleted and memory allocated for pointer freed.
710         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
711         JNI global reference instead of JNI local reference.
712         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
713         (pre_event_handler): Remove compilation warning.
714         (connect_awt_hook): Use saved JNI global reference instead of creating
715         a new one.
716         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
717         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
718         reference to the Java object.
719         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
720         unused variable declaration and add comment.
721         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
722         (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
723         reference to the Java object.
724         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
725         (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
726         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
727         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
728         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
729         JNI global reference instead of JNI local reference.
730         (item_toggled): Add debug statement.
731         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
732         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
733         reference to the Java object.
734         (connect_choice_item_selectable_hook): Use saved JNI global references
735         instead of JNI local reference.
736         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
737         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
738         global reference to the Java object.
739         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
740         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
741         reference to the Java object.
742         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
743         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
744         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
745         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
746         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
747         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
748         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
749         (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
750         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
751         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
752         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
753         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
754         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
755         (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
756         (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
757         JNI global reference instead of JNI local reference.
758         (item_selected): Add debug statement.
759         (item_unselected): Add debug statement.
760         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
761         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
762         reference to the Java object.
763         Connect "activate" signal handler using global JNI reference.
764         (connect_activate_hook): Removed in favor of inline code.
765         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
766         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
767         reference to the Java object.
768         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
769         JNI global reference instead of JNI local reference.  Add FIXME comment.
770         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
771         reference to the Java object.  Add FIXME comment.
772         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
773         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
774         reference to the Java object.
775         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
776         JNI global reference instead of JNI local reference.
777         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
778         (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
779         saved JNI global reference instead of JNI local reference.
780         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
781         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
782         reference to the Java object.
783         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
784         JNI global reference instead of JNI local reference.
785
786 2003-12-11  Michael Koch  <konqueror@gmx.de>
787
788         * java/text/Format.java (serialVersionUID): Fixed value.
789
790 2003-12-11  Michael Koch  <konqueror@gmx.de>
791
792         * javax/naming/event/EventDirContext.java: Jalopied.
793         (addNamingListener): Fixed typo in method name.
794         
795
796 2003-12-11  Mohan Embar  <gnustuff@thisiscool.com>
797
798         * gnu/java/nio/SocketChannelImpl.java
799         (write): Removed diagnostic trace.
800         * gnu/java/nio/natSelectorImplPosix.cc: Added
801         includes for java.lang.Thread and java.io.InterruptedIOException.
802         (helper_put_filedescriptors): Don't put invalid file descriptors
803         in select set.
804         (helper_get_filedescriptors): Clear invalid file descriptors
805         from select set.
806         (helper_reset): New method for clearing our file descriptor
807         array.
808         (implSelect): Correctly calculate timeout if specified and
809         legal.
810         Intercept and deal with any java.io.InterruptedIOException
811         thrown by _Jv_select().
812
813 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
814
815         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
816         Most coded moved to pre_event_handler, with the modifications
817         mentioned below.
818         (pre_event_handler): New function.  Called on the Gtk "event" signal.
819         Do not retrieve the jobject from the window property as it is already
820         available as user data in the signal.
821         Do not try and find the grab widget as it is already done by Gtk at
822         this point.
823         Do not search for Window ancestor as Gtk already sends the signal to it.
824         Do not meddle with the activation state of peer widgets on each
825         key press or release.
826         Add CList to the special handling when looking for the focused widget.
827         * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
828         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
829         New function.
830         (connectSignals): New function.
831         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
832         Rename to...
833         (connectSignals): New name.  Get rid of NewGlobalRef call.
834         Use g_signal_connect instead of deprecated gtk_signal_connect.
835         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
836         (connect_choice_item_selectable_hook): Use g_signal_connect instead of
837         deprecated gtk_signal_connect.
838         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
839         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
840         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
841         (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
842         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
843         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
844         function.
845         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
846         function.
847         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
848         function.
849         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
850         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
851         function.
852         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
853         function.
854         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
855         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
856         function.
857         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
858         function.
859         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
860         function.
861         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
862         code.
863         (item_select): Remove indirection.
864         (item_unselect): Ditto.
865         (connect_selectable_hook): Folded into connectSignals.
866         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
867         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
868         function.
869         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
870         function.
871         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
872         function.
873         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
874         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
875         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
876         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
877         function.
878         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
879         function.
880         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare  and call
881         connectJObject and connectSignals instead of connectHooks.
882         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
883         connectSignals.
884         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
885         and not connectHooks.
886         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
887         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
888         and not connectHooks.
889         * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
890         connectSignals instead of connectHooks.
891         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
892         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
893         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto. 
894
895 2003-12-09  Michael Koch  <konqueror@gmx.de>
896
897         * Makefile.am (nat_headers_install): New variable with header files to
898         install automatically.
899         (install-data-local): Install all headers listed in
900         nat_headers_install. Install innert nat headers explicitely.
901         * Makefile.in: Regenerated.
902
903 2003-12-09  Michael Koch  <konqueror@gmx.de>
904
905         * java/util/Calendar.java,
906         java/util/IdentityHashMap.java,
907         java/util/prefs/Preferences.java:
908         Import used classes explicitely.
909
910 2003-12-09  Michael Koch  <konqueror@gmx.de>
911
912         * java/net/DatagramSocket.java
913         (close): Directly return if socket is closed.
914         * java/net/ServerSocket.java
915         (close): Directly return if socket is closed.
916         * java/net/Socket.java
917         (close): Directly return if socket is closed.
918
919 2003-12-09  Michael Koch  <konqueror@gmx.de>
920
921         * gnu/java/nio/SelectorImpl.java
922         (implSelect): Throws IOException.
923         (select): Likewise.
924
925 2003-12-08  Kim Ho  <kho@redhat.com>
926
927         Fix for Checkbox states.
928         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
929         (currentState): New field.
930         (nativeCreate): Add initial state parameter.
931         (create): Changed to reflect new parameter.
932         (setState): Fire only on changed states.
933         (postItemEvent): Fire only on changed states. Also change the 
934         Java Checkbox to reflect new state.
935         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
936         (nativeCreate): Add parameter and set active state.
937
938 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
939  
940         * java/awt/datatransfer/StringSelection.java (getTransferData): Return
941         object of type expected by specified DataFlavor.
942
943 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
944  
945         * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
946         error which was clipping off the first character of a parameter value.
947
948 2003-12-08  Olga Rodimina <rodimina@redhat.com>
949
950         * java/awt/Polygon.java
951         (translate): Fixed error that caused polygon 
952         to move right/left when up/down translation was required.
953         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
954         (getSelectionStart): Initialized start position to 0. 
955         (getSelectionEnd): Initialized end position to 0.
956         (getCaretPosition): Initialized caret position to 0.
957         (getText): Initialized selected text to NULL 
958
959 2003-12-08  Michael Koch  <konqueror@gmx.de>
960
961         Fix for PR libgcj/13176.
962         * java/io/PrintStream.java: Partly revert my previous patches to get
963         (line_separator): New field.
964         (converter): New field.
965         (work): New field.
966         (work_bytes): New field.
967         (pw): Removed.
968         (closed): Removed.
969         (PrintStrean): Initialize converter and not pw.
970         (checkError): Flush always, pw doesn't exist anymore.
971         (close): Close underlying out stream.
972         (print): New method.
973         (writeChars): New method.
974         (print): Use new internal print method.
975         (println): Likewise.
976
977 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
978
979         * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
980         putAllInternal.
981         (putAllInternal): Correct comment.
982         * java/util/HashMap.java (HashMap(Map)): As above.
983         (putAllInternal): As above.
984
985 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
986
987         * java/util/Hashtable.java (internalContainsValue): Removed.
988         (containsValue): Don't delegate to internalContainsValue.
989
990 2003-12-06  Michael Koch  <konqueror@gmx.de>
991
992         * javax/naming/directory/Attribute.java,
993         javax/naming/directory/Attributes.java,
994         javax/naming/directory/DirContext.java,
995         javax/naming/directory/InitialDirContext.java,
996         javax/naming/directory/SearchResult.java,
997         javax/naming/event/EventContext.java,
998         javax/naming/event/NamingEvent.java,
999         javax/naming/event/NamingExceptionEvent.java,
1000         javax/naming/ldap/ControlFactory.java,
1001         javax/naming/ldap/ExtendedRequest.java,
1002         javax/naming/ldap/HasControls.java,
1003         javax/naming/ldap/InitialLdapContext.java,
1004         javax/naming/ldap/LdapContext.java,
1005         javax/naming/ldap/LdapReferralException.java,
1006         javax/naming/ldap/UnsolicitedNotification.java,
1007         javax/naming/ldap/UnsolicitedNotificationListener.java,
1008         javax/naming/spi/DirObjectFactory.java,
1009         javax/naming/spi/DirStateFactory.java,
1010         javax/naming/spi/DirectoryManager.java,
1011         javax/naming/spi/NamingManager.java,
1012         javax/naming/spi/ObjectFactoryBuilder.java,
1013         javax/naming/spi/ResolveResult.java,
1014         javax/naming/spi/Resolver.java,
1015         javax/naming/spi/StateFactory.java:
1016         Import used classes explicitely.
1017
1018 2003-12-05  Scott Gilbertson  <scottg@mantatest.com>
1019
1020         * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
1021         (clip): Removed field
1022         (clipRectangles): New field.
1023         (clone): Use new updateClip.
1024         (setClipRectangles): Use new updateClip.
1025         * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
1026
1027 2003-12-04  Michael Koch  <konqueror@gmx.de>
1028
1029         * java/io/FilePermission.java:
1030         Import used classes explicitely.
1031
1032 2003-12-04  Michael Koch  <konqueror@gmx.de>
1033
1034         * java/beans/BeanDescriptor.java,
1035         java/beans/EventSetDescriptor.java,
1036         java/beans/FeatureDescriptor.java,
1037         java/beans/IndexedPropertyDescriptor.java,
1038         java/beans/Introspector.java,
1039         java/beans/MethodDescriptor.java,
1040         java/beans/PropertyDescriptor.java,
1041         java/beans/SimpleBeanInfo.java: Explicitely import used classes.
1042         * java/beans/beancontext/BeanContextServicesSupport.java
1043         (serialVersionUID): New field.
1044
1045 2003-12-04  Michael Koch  <konqueror@gmx.de>
1046
1047         * java/awt/MenuComponent.java: Import java.io.Serialization.
1048         * java/awt/MenuItem.java: Likewise.
1049         * java/awt/TextComponent.java: Likewise.
1050         * java/awt/image/ImagingOpException.java
1051         (serialVersionUID): Fixed.
1052
1053 2003-12-04  Michael Koch  <konqueror@gmx.de>
1054
1055         * gnu/java/net/protocol/http/Connection.java
1056         (sendRequest): Merged writing http headers with classpath.
1057         (getInputStream): Merged documentation from classpath.
1058         (getHeaderField): Likewise.
1059         (getHeaderFieldKey): Likewise.
1060
1061 2003-12-04  Michael Koch  <konqueror@gmx.de>
1062
1063         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
1064
1065 2003-12-04  Michael Koch  <konqueror@gmx.de>
1066
1067         * java/net/DatagramPacket.java
1068         (length): Made packge-private to make it accessible via CNI.
1069         (maxlen): New field.
1070         (DatagramPacket): Cleaned up.
1071         (setSocketAddress): Add message to exception.
1072         (setData): Call other setData().
1073         (setData): Call setLength().
1074         (setLength): Initialize maxlen too.
1075         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
1076         Get maximal length from maxlen field, set length field directly.
1077         (receive): Likewise.
1078         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1079         Get maximal length from maxlen field, set length field directly.
1080         (receive): Likewise.
1081
1082 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
1083
1084         * gnu/java/nio/natSelectorImplPosix.cc
1085         (implSelect): A timeout of 0 means an infinite
1086         timeout.
1087
1088 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1089  
1090         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1091         of ActionEvents.
1092
1093 2003-12-03  Michael Koch  <konqueror@gmx.de>
1094
1095         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
1096         * java/lang/natClass.cc (getSigners): Likewise.
1097         (setSigners): Likewise.
1098
1099 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
1100
1101         * configure.in: Added new MinGW-specific configure flag
1102         --with-win32-nlsapi.
1103         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
1104         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
1105         is set to unicows.
1106         * configure: Rebuilt.
1107         * include/config.h.in: Rebuilt.
1108         * win32.cc (_Jv_Win32NewString): Implemented.
1109         (nativeToUnicode): New helper function defined only for
1110         non-UNICODE builds.
1111         (unicodeToNative): Likewise.
1112         (_Jv_Win32TempString): Implemented.
1113         (lots): Refactored using tchar.h macros.
1114         (WSAEventWrapper): Use _Jv_Win32NewString.
1115         (_Jv_platform_initialize): Use GetModuleFileNameA instead
1116         of GetModuleFileName.
1117         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
1118         Use temporary stack buffer instead of a heap buffer.
1119         * include/win32.h
1120         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
1121         defined; added tchar.h include.
1122         (_Jv_Win32TempString): Declared new helper class.
1123         (JV_TEMP_STRING_WIN32): New helper macro.
1124         (_Jv_Win32NewString): Declared new helper method.
1125         * java/io/natFileDescriptorWin32.cc (open): Use
1126         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1127         (write): Reformatted slightly.
1128         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
1129         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1130         (getCanonicalPath): Use _Jv_Win32NewString instead of
1131         JvNewStringUTF.
1132         (performList): Likewise.
1133         * java/lang/natWin32Process.cc (ChildProcessPipe):
1134         Use tchar.h macros.
1135         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
1136         and UNICODE environment flag for CreateProcess.
1137         * java/net/natNetworkInterfaceWin32.cc
1138         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
1139         _Jv_Win32NewString.
1140
1141 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
1142
1143         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1144         (initState): Mark obj parameter as unused.
1145         (stringWidth): Mark obj parameter as unused.  Initialize
1146         font_name properly.
1147
1148         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
1149         BufferedImageBuilder class static.
1150
1151 2003-12-02  Mark Wielaard  <mark@klomp.org>
1152
1153         * java/security/Security.java: Don't use &nbsp; in the api doc.
1154
1155 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1156
1157         Reported by: Jim Pick <jim@kaffe.org>
1158         * libraries/javalib/java/util/Hashtable.java
1159         (internalcontainsValue): New method.
1160         (contains): Delegate to internalContainsValue.
1161         
1162         Reported by: Mark Wielaard  <mark@klomp.org>
1163         * libraries/javalib/java/util/Hashtable.java
1164         (contains): Improved comment.
1165         
1166         Reported by: Jeroen Frijters  <jeroen@frijters.net>
1167         * libraries/javalib/java/util/Hashtable.java
1168         (containsValue): Delegate to contains(Object) to make sure older
1169         code overwriting it continues to work.
1170
1171 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1172
1173         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
1174         method. Handle mouse and key events that must generate
1175         ActionEvents.
1176         * java/awt/List.java (getSelectedIndex): Return -1
1177         if no list element is selected.
1178         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1179         Correct handling of mouse and key events so that List receives them.
1180         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1181         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
1182         multiple list elements. 
1183
1184 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1185
1186         * java/text/SimpleDateFormat.java (compileFormat):
1187         isLowerCase() and isUpperCase() allow too many characters.
1188         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
1189
1190 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1191
1192         * java/text/FieldPosition.java (equals): Fixed comment.
1193
1194 2003-12-02  Mark Wielaard  <mark@klomp.org>
1195
1196         Reported by Archie Cobbs:
1197         * java/security/DigestInputStream.java (read(byte[], int, int): Call
1198         digest.update() with temp, not len as lenght.
1199
1200 2003-12-02  Michael Koch  <konqueror@gmx.de>
1201
1202         * java/net/DatagramSocket.java
1203         (close): Close associated DatagramChannel object.
1204         * java/net/ServerSocket.java
1205         * java/net/Socket.java
1206         (close): Reset impl and bound before calling getChannel().close() to
1207         prevent from loops.
1208
1209 2003-12-02  Michael Koch  <konqueror@gmx.de>
1210
1211         * java/nio/channels/spi/AbstractInterruptibleChannel.java
1212         (opened): Removed.
1213         (closed): New field.
1214         (close): Check of channel is closed already.
1215         (isOpen): Return !closed.
1216
1217 2003-12-02  Michael Koch  <konqueror@gmx.de>
1218
1219         * gnu/java/nio/DatagramChannelImpl.java
1220         (blocking): Initialize with true by default.
1221         * gnu/java/nio/ServerSocketChannelImpl.java
1222         (serverSocket): Made private.
1223         (blocking): Likewise.
1224         (connected): Likewise.
1225         * gnu/java/nio/SocketChannelImpl.java
1226         (connectionPending): Made private.
1227         * gnu/java/nio/FileLockImpl.java
1228         (static): Load native library (needed for classpath).
1229         * gnu/java/nio/SelectorImpl.java
1230         (static): Load native library (needed for classpath).
1231
1232 2003-12-02  Michael Koch  <konqueror@gmx.de>
1233
1234         * gnu/java/net/protocol/file/Connection.java
1235         (getLastModified): Implement for file connections.
1236         (getContentLength): Likewise.
1237
1238 2003-12-02  Michael Koch  <konqueror@gmx.de>
1239
1240         * gnu/java/net/protocol/file/Connection.java:
1241         Some reformating.
1242         (file): Renamed from fileIn.
1243         (getPermission): Moved around.
1244
1245 2003-12-02  Michael Koch  <konqueror@gmx.de>
1246
1247         * gnu/java/net/protocol/jar/Connection.java
1248         (Connection): Made class final, merged documentation with classpath.
1249         (file_cache): Made private.
1250         (jar_file): Renamed from jarfile.
1251
1252 2003-12-02  Michael Koch  <konqueror@gmx.de>
1253
1254         * gnu/java/net/protocol/http/Connection.java
1255         (Connection): Initialize doOutput to false;
1256         (connect): Initialize inputStream, moved "send request" code to new
1257         method.
1258         (sendRequest): New method.
1259         (getHttpHeaders): Don't reinitialize inputStream.
1260
1261 2003-12-02  Michael Koch  <konqueror@gmx.de>
1262
1263         * gnu/java/net/protocol//http/Connection.java
1264         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
1265         (requestProperties): Initialize, documentation added.
1266         (inputStream): Renamed from bufferedIn.
1267         (Connection): Dont initialize requestProperties.
1268         (setDefaultRequestProperty): Removed.
1269         (getDefaultRequestProperty): Removed.
1270         (usingProxy): Documentation added.
1271         (getHttpHeaders): Likewise.
1272
1273 2003-12-02  Michael Koch  <konqueror@gmx.de>
1274
1275         * java/text/DateFormat.java:
1276         Explicitely import used classes.
1277
1278 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
1279
1280         * verify.cc (state::clean_subrs): Clear seen_subrs.
1281         (state::copy): Walk seen_subrs from copy, not `this'.
1282         Don't clear seen_subrs.
1283
1284 2003-12-01  Kim Ho <kho@redhat.com>
1285
1286         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
1287         Disable wrapping if TextArea has horizontal scroll bars.
1288
1289 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1290
1291         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1292         (awt_event_handler): Hard-code inset values.
1293
1294         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
1295         Pass font name, not XLFD, to initState.
1296         (stringWidth(String, int, String)): New method.
1297         (stringWidth(String)): Call new stringWidth.
1298         (getLeading): Always return 0.
1299         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1300         (initState): New Pango implementation.
1301         (stringWidth): Likewise.
1302
1303 2003-12-01  Olga Rodimina <rodimina@redhat.com>
1304
1305         * java/awt/TextComponent.java:
1306         (getSelectionStart): Updated javadocs.
1307         (getSelectionEnd): Ditto.
1308         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
1309         (getSelectionStart): Changed to return caret position if no
1310         text is selected
1311         (getSelectionEnd): Ditto.
1312
1313 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1314
1315         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
1316         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
1317         gnu/awt/gtk/GtkContainerPeer.java,
1318         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
1319         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
1320         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
1321         gnu/awt/gtk/natGtkComponentPeer.cc,
1322         gnu/awt/gtk/natGtkContainerPeer.cc,
1323         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
1324         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
1325         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
1326
1327         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1328         (closed): Mark loader parameter as unused.
1329
1330 2003-12-01  Michael Koch  <konqueror@gmx.de>
1331
1332         * gnu/java/net/protocol/http/Connection.java
1333         (Connection): Merged class documentation.
1334         (socket): Renamed from sock.
1335         (Connection): Made protected, documentation added.
1336         (connect): Give URL'S host instead of InetAddress to Socket
1337         constructor.
1338         (disconnect): Documentation added.
1339         (getOutputStream): Rewrapped.
1340
1341 2003-12-01  Michael Koch  <konqueror@gmx.de>
1342
1343         * gnu/java/net/protocol/file/Connection.java
1344         (fileIn): Documentation added.
1345         (inputStream): Likewise.
1346         (outputStream): Likewise.
1347         (Connection): Likewise.
1348         (connect): Simplified.
1349
1350 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1351
1352         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
1353         setProperties): Check that io is not null before calling
1354         io.imageUpdate.
1355         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
1356         Update javadocs.
1357         * java/awt/image/PixelGrabber.java: Fix implementation and
1358         update javadocs.
1359
1360 2003-12-01  Michael Koch  <konqueror@gmx.de>
1361
1362         * gnu/java/net/natPlainSocketImplPosix.cc
1363         bind(): Dont set SockedImpl.address field on succesful bind.
1364         * gnu/java/net/natPlainSocketImplWin32.cc
1365         bind(): Likewise.
1366
1367 2003-11-30  Jeff Sturm <jsturm@one-point.com>
1368
1369         * java/net/InetAddress.java:
1370         (static): Don'f force DNS request for ANY_IF address.
1371
1372 2003-11-30  Michael Koch  <konqueror@gmx.de>
1373
1374         * java/net/InetAddress.java,
1375         java/net/natInetAddressNoNet.cc,
1376         java/net/natInetAddressPosix.cc,
1377         java/net/natInetAddressWin32.cc:
1378         Reverted my last patch.
1379
1380 2003-11-28  Michael Koch  <konqueror@gmx.de>
1381
1382         * java/net/InetAddress.java
1383         (lookup): New method that doesnt lookup "0.0.0.0".
1384         (ImplLookup): Renamed from lookup.
1385         * java/net/natInetAddressNoNet.cc
1386         (ImplLookup): Renamed from lookup.
1387         * java/net/natInetAddressPosix.cc
1388         (ImplLookup): Renamed from lookup.
1389         * java/net/natInetAddressWin32.cc
1390         (ImplLookup): Renamed from lookup.
1391
1392 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1393
1394         * configure: Rebuilt.
1395         * configure.in: Require gtk and glib 2.2.0.
1396
1397 2003-11-27  Dalibor Topic <robilad@kaffe.org>
1398
1399         * java/text/FieldPosition.java (equals): Adapted to handle
1400         field_attribute. Added fast-circuit check for comparison to self.
1401         Replaced use of instanceof by getClass to fix symmetry for derived
1402         types.
1403         (toString): Adapted to handle field_attribute. Improved readability.
1404         (hashCode): New method.
1405
1406 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1407
1408         * java/text/FieldPosition.java (field_attribute): New field.
1409         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
1410         getFieldAttribute): New methods.
1411
1412 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1413
1414         * java/text/DecimalFormatSymbols.java (locale): New field.
1415         (DecimalFormatSymbols (Locale)): Set locale.
1416         (serialVersionOnStream): Upgraded to number 2.
1417         (readObject): Assign locale if it wasn't by the serializer.
1418
1419 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1420
1421         * java/text/FormatCharacterIterator.java: Documented the class and
1422
1423 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1424
1425         * java/text/FormatCharacterIterator.java: Fixed some typos.
1426
1427 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1428
1429         * java/text/NumberFormat.java:
1430         (getIntegerInstance) Added the java version in the comments.
1431
1432 2003-11-27  Mark Wielaard  <mark@klomp.org>
1433
1434         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
1435         (readResolve): Reformat.
1436
1437 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1438
1439         * java/text/NumberFormat.java
1440         (NumberFormat.Field): New implemented class to match Java 1.4. 
1441         (getIntegerInstance): Two new Java 1.4 methods.o
1442
1443 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1444
1445         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
1446         the leap day of the leap year twice.
1447         (computeFields): First week of month is 1 not 0.
1448
1449 2003-11-27  Mark Wielaard  <mark@klomp.org>
1450
1451         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
1452         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
1453
1454 2003-11-27  Michael Koch  <konqueror@gmx.de>
1455
1456         * javax/swing/UIDefaults.java:
1457         Reformated to match classpath's version.
1458
1459 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
1460
1461         * javax/swing/UIManager.java (getDefaults, getDimension,
1462         getIcon, getInsets, getInstalledLookAndFeels, getInt,
1463         getLookAndFeel, getString, getSystemLookAndFeelClassName):
1464         Declare as public.
1465
1466 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1467
1468         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
1469         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
1470         isSignificant): Likewise.
1471
1472 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1473
1474         * javax/swing/undo/CompoundEdit.java: Re-format, document.
1475         (inProgress): Set initial value to true.
1476         (undo, redo, die, canUndo, canRedo): Also call inherited
1477         implementation; simplify code structure.
1478         (getPresentationName, getUndoPresentationName,
1479         getRedoPresentationName): Make behavior dependent on lastEdit.
1480         (addEdit, isSignificant): Completely re-written.
1481
1482 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1483
1484         * javax/swing/undo/StateEdit.java: Re-format, document.
1485         (undo, redo): Also call inherited implementation.
1486
1487 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1488
1489         * javax/swing/undo/StateEditable.java: Re-format, document.
1490
1491 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1492
1493         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
1494         (AbstractUndoableEdit): Initialize hasBeenDone to true.
1495         (canUndo, canRedo): Simplify.
1496         (getUndoPresentationName, getRedoPresentationName): Support
1497         localized message; call getPresentationName() only once.
1498
1499 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
1500
1501         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
1502         (ZipFile(File,int)): Likewise.
1503
1504 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
1505
1506         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
1507         (putAllInternal): Likewise.
1508         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
1509         (putAllInternal): Likewise.
1510
1511 2003-11-26  Michael Koch  <konqueror@gmx.de>
1512
1513         * java/net/URLStreamHandler.java
1514         (parseURL): Added comment in catch statement.
1515         (canonicalizeFilename): Add documentation.
1516         (sameURL): Completed documentation.
1517         (equals): Likewise.
1518         (hostsEqual): Likewise.
1519         (getDefaulPort): Likewise.
1520         (hashCode): Likewise.
1521         (toExternalForm): Likewise.
1522         (getHostName): Fix empty hostname check, completed documentation.
1523
1524 2003-11-26  Tom Tromey  <tromey@redhat.com>
1525
1526         * java/lang/natDouble.cc (parseDouble): Reverted patch of
1527         2003-11-13.
1528
1529 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
1530             Mark Wielaard  <mark@klomp.org>
1531
1532         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
1533         ('@' should be checked to distinguish port from userinfo).
1534         (toExternalForm): Add @ userInfo if necessary.
1535
1536
1537 2003-11-26  Michael Koch  <konqueror@gmx.de>
1538
1539         * java/net/DatagramSocket.java
1540         (DategramSocket, bind): Moved binding code from DatagramSocket
1541         constructor to bind method.
1542
1543 2003-11-26  Michael Koch  <konqueror@gmx.de>
1544
1545         * java/net/DatagramSocket.java
1546         (impl): Made private.
1547         (bound): New private member variable.
1548         (DatagramSocket): Fixed documentation, use getImpl().
1549         (getImpl): New package-private method.
1550         (isClosed): Use getImpl().
1551         (getLocalAddress): Completed documentation, use getImpl().
1552         (getLocalPort): Use getImpl().
1553         (getSoTimeout): Likewise.
1554         (setSoTimeout): Likewise.
1555         (getSendBufferSize): Likewise.
1556         (setSendBufferSize): Likewise.
1557         (getReceiveBufferSize): Likewise.
1558         (setReceiveBufferSize): Likewise.
1559         (connect): Likewise.
1560         (disconnect): Likewise.
1561         (receive): Likewise.
1562         (send): Likewise.
1563         (setReuseAddress): Likewise.
1564         (setTrafficClass): Likewise.
1565         (bind): Added message to exception.
1566         (isClosed): Completed documentation.
1567         (getChannel): Likewise.
1568         (connect): Added missing exception, refined exception message.
1569         (isBound): Completed documentation, just return bound.
1570         (isConnected): Completed documentation.
1571         (getRemoteSocketAddress): Likewise.
1572         (getReuseAddress): Completed documentation, use getImpl().
1573         (setSoBroadcast): Likewise.
1574         (getSoBroadcast): Likewise.
1575         (getTrafficClass): Likewise.
1576         (getLocalSocketAddress): Simplified.
1577         * java/net/MulticastSocket.java
1578         (MulticastSocket): Removed comment not applying anymore.
1579         (getInterface): Use getImpl().
1580         (getTTL): Likewise.
1581         (getTimeToLive): Likewise.
1582         (setInterface): Likewise.
1583         (setNetworkInterface): Likewise.
1584         (getNetworkInterface): Likewise.
1585         (setLoopback): Likewise.
1586         (getLoopback): Likewise.
1587         (setTTL): Likewise.
1588         (setTimeToLive): Likewise.
1589         (joinGroup): Likewise.
1590         (leaveGroup): Likewise.
1591         (send): Likewise.
1592
1593 2003-11-26  Michael Koch  <konqueror@gmx.de>
1594
1595         * java/net/Socket.java
1596         (implCreated): Dont set default value explicitely, added
1597         documentation.
1598         (inputShutdown): Likewise.
1599         (outputShutdown): Likewise.
1600         (bound): New private member variable.
1601         (bind): Set bound to true.
1602         (close): Set bound to false.
1603         (isBound): Return bound.
1604         * java/net/ServerSocket.java
1605         (bound): New private member variable.
1606         (bind): Set bound to true.
1607         (close): Set bound to false.
1608         (isBound): Return bound.
1609
1610 2003-11-26  Michael Koch  <konqueror@gmx.de>
1611
1612         * java/net/URL.java
1613         (URL): Fixed documentation to be HTML compliant.
1614         (getContent): Completed documentation.
1615         (getFile): Likewise.
1616         (getPath): Likewise.
1617         (getAuthority): Likewise.
1618         (getHost): Likewise.
1619         (getDefaultPort): Likewise.
1620         (getProtocol): Likewise.
1621         (hashCode): Likewise.
1622         (openConnection): Likewise.
1623         (openStream): Likewise.
1624         (set): Likewise.
1625         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
1626
1627 2003-11-26  Michael Koch  <konqueror@gmx.de>
1628
1629         * java/net/InetSocketAddress.java
1630         (hostname): Made private, added documentation.
1631         (addr): Likewise.
1632         (port): Likewise.
1633         (equals): Completed documentation.
1634         (getAddress): Likewise.
1635         (getHostName): Likewise.
1636         (getPort): Likewise.
1637         (hashCode): Likewise.
1638         (isUnresolved): Likewise.
1639         (toString): Likewise.
1640
1641 2003-11-26  Michael Koch  <konqueror@gmx.de>
1642
1643         * gnu/java/net/protocol/file/Handler.java
1644         (Handler): New explicit constructor.
1645         (openConnection): Added documentation.
1646         * gnu/java/net/protocol/jar/Handler.java
1647         (Handler): New explicit constructor.
1648         (openConnection): Added documentation.
1649
1650 2003-11-26  Michael Koch  <konqueror@gmx.de>
1651
1652         * java/net/DatagramPacket.java
1653         (DatagramPacket): Fixed documentation to become legal HTML.
1654
1655 2003-11-25  Michael Koch  <konqueror@gmx.de>
1656
1657         * gcj/javaprims.h: Added missing java.util.Currency.
1658
1659 2003-11-25  Michael Koch  <konqueror@gmx.de>
1660
1661         * testsuite/libjava.mauve/xfails:
1662         Removed these two tests, they mystically pass now:
1663         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
1664         test_params failed - 5getInetAddress did not return proper values
1665         (number 1)
1666         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
1667         test_BasicServer failed - 11 exception was thrown :Illegal seek
1668         (number 1)
1669
1670 2003-11-25  Michael Koch  <konqueror@gmx.de>
1671
1672         * java/net/DatagramSocket.java
1673         (factory): Made private.
1674         (closed): Removed.
1675         (DatagramSocket): Check impl argument, use constructor with
1676         SocketAddress argument.
1677         (close): Set impl to null, use isClosed().
1678         (isClosed): Check for impl == null.
1679         (getLocalAddress): Use isClosed().
1680         (getLocalPort): Check if socket is closed.
1681         (getSoTimeout): Likewise.
1682         (setSoTimeout): Likewise.
1683         (getSendBufferSize): Likewise.
1684         (setSendBufferSize): Likewise.
1685         (getReceiveBufferSize): Likewise.
1686         (setReceiveBufferSize): Likewise.
1687         (receive): Likewise.
1688         (send): Likewise.
1689         (bind): Likewise.
1690         (connect): Likewise.
1691         (setReuseAddress): Likewise.
1692         (getReuseAddress): Likewise.
1693         (setBroadcast): Likewise.
1694         (getBroadcast): Likewise.
1695         (setTrafficClass): Likewise.
1696         (getTrafficClass): Likewise.
1697         * java/net/MulticastSocket.java
1698         (getInterface): Check if socket is closed.
1699         (getTTL): Likewise.
1700         (getTimeToLive): Likewise.
1701         (setInterface): Likewise.
1702         (setNetworkInterface): Likewise.
1703         (getNetworkInterface): Likewise.
1704         (setLoopbackMode): Likewise.
1705         (setTTL): Likewise.
1706         (setTimeToLive): Likewise.
1707         (joinGroup): Likewise.
1708         (leaveGroup): Likewise.
1709         (send): Likewise.
1710         * java/net/ServerSocket.java
1711         (closed): Removed.
1712         (close): Check if socket is closed, set impl to null.
1713         (isClosed): Check impl == null;
1714         (ServerSocket): Check impl argument.
1715         (getInetAddress): Check if socket is bound.
1716         (getLocalPort): Likewise.
1717         (getLocalSocketAddress): Likewise.
1718         (bind): Check if socket is closed.
1719         (implAccept): Likewise.
1720         (setSoTimeout): Likewise.
1721         (getSoTimeout): Likewise.
1722         (setReuseAddress): Likewise.
1723         (getReuseAddress): Likewise.
1724         (setReceiveBufferSize): Likewise.
1725         (getReceiveBufferSize): Likewise.
1726         (toString): Make output compliant to JDK 1.4.2.
1727         * java/net/Socket.java
1728         (closed): Removed.
1729         (Socket): Fixed documentation.
1730         (connect): Check if socket is closed, changed exception text,
1731         fixed documentation.
1732         (getInputStream): Check of socket is closed  and connected.
1733         (getOutputStream): Likewise.
1734         (bind): Check if socket is closed.
1735         (setTcpNoDelay): Likewise.
1736         (getTcpNoDelay): Likewise.
1737         (setSoLinger): Likewise.
1738         (getSoLinger): Likewise.
1739         (sendUrgentData): Likewise.
1740         (setOOBInline): Likewise.
1741         (getOOBInline): Likewise.
1742         (setSoTimeout): Likewise.
1743         (getSoTimeout): Likewise.
1744         (setSendBufferSize): Likewise.
1745         (getSendBufferSize): Likewise.
1746         (setReceiveBufferSize): Likewise.
1747         (getReceiveBufferSize): Likewise.
1748         (setKeepAlive): Likewise.
1749         (getKeepAlive): Likewise.
1750         (close): Likewise.
1751         (shutdownInput): Likewise.
1752         (shutdownOutput): Likewise.
1753         (getReuseAddress): Likewise.
1754         (getTrafficClass): Likewise.
1755         (setTrafficClass): Likewise.
1756         (isClosed): Check impl == null.
1757         (toString): Added missing ']'.
1758
1759 2003-11-24  Tom Tromey  <tromey@redhat.com>
1760
1761         * Makefile.in: Rebuilt.
1762         * Makefile.am (propdir): New macro.
1763         (install-data-local): Install logging.properties.
1764         (core_java_source_files): Added java.util.logging.*.
1765         * java/util/logging/logging.properties: New file.
1766
1767 2003-11-25  Michael Koch  <konqueror@gmx.de>
1768
1769         * java/net/DatagramSocket.java
1770         (DatagramSocket): Move binding code to bind(), simplify constructors.
1771         * java/net/MulticastSocket.java
1772         (MulticastSocket): Call parent constructor with null argument,
1773         bind socket after setReuseAddress is called, simplify constructors.
1774
1775 2003-11-24  Michael Koch  <konqueror@gmx.de>
1776
1777         * javax/swing/BoxLayout.java
1778         (serialVersionUIR): New member variable.
1779         (X_AXIS, Y_AXIS): Documentation added.
1780         (LINE_AXIS, PAGE_AXIS): New constants.
1781         (grid): Renamed from gridbag.
1782         (BoxLayout): Use new constants, throw exception if invalid value for
1783         way, added documentation.
1784         (BoxLayout): Removed.
1785         (addLayoutComponent): Use new constants, added documentation.
1786         (removeLayoutComponent): Likewise.
1787         (addLayoutContainer): Added documentation.
1788         (preferredLayoutSize): Added documentation, check given argument.
1789         (minimumLayoutSize): Likewise.
1790         (layoutContainer): Likewise.
1791         (getLayoutAlignmentX): Likewise.
1792         (getLayoutAlignmentY): Likewise.
1793         (invalidateLayout): Likewise.
1794         (maximumLayoutSize): Likewise.
1795
1796 2003-11-22  Michael Koch  <konqueror@gmx.de>
1797
1798         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1799         (peekData): Use offset and maximal free space in datagram packet.
1800         (receive): Likewise.
1801         (send): Use offset in datagram packet.
1802
1803 2003-11-22  Michael Koch  <konqueror@gmx.de>
1804
1805         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1806         (peekData): Use offset and maximal free space in datagram packet.
1807         (receive): Likewise.
1808         (send): Use offset in datagram packet.
1809
1810 2003-11-22  Michael Koch  <konqueror@gmx.de>
1811
1812         * gnu/java/nio/DatagramChannelImpl.java
1813         (getNativeFD): Use getPlainDatagramSocketImpl().
1814         * gnu/java/nio/NIODatagramSocket.java
1815         (getPlainDatagramSocketImpl): Renamed from getImpl().
1816         * gnu/java/nio/NIOSocket.java
1817         (getPlainSocketImpl): Renamed from getImpl().
1818         (setChannel): Use getPlainSocketImpl().
1819         * gnu/java/nio/SocketChannelImpl.java
1820         (SocketChannelImpl): Use getPlainSocketImpl().
1821         (getPlainSocketImpl): Renamed from getImpl().
1822         (getNativeFD): Use getPlainSocketImpl().
1823
1824 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1825
1826         * javax/swing/JLayeredPane.java: Implement.
1827         * javax/swing/JFrame.java (getContentPane): Make public
1828         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
1829         Use JLayeredPane.FRAME_CONTENT_LAYER.
1830
1831 2003-11-21  Mark Wielaard  <mark@klomp.org>
1832
1833         * java/lang/Float.java (static): Removed.
1834
1835 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1836
1837         * java/awt/font/TextLayout.java: Implement simple layouts
1838         using attributed strings and glyph vectors.
1839
1840 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1841
1842         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
1843         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
1844         (GdkFontLineMetrics): New inner class.
1845         (getLineMetrics): Return new GdkFontLineMetrics.
1846         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
1847         (layoutGlyphVector): Create GdkGlyphVector.
1848         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
1849         (GdkGraphics2D): Initialize state via mathod calls.
1850         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
1851         (cairoTranslate, cairoScale, cairoRotate): Remove.
1852         (various methods): use setTransform for special transform cases.
1853         (DrawState): New inner class.
1854         (stateSave): New method.
1855         (stateRestore): New method.
1856         (various methods): use stateSave, stateRestore.
1857         (getClipInDevSpace): New method.
1858         (clip, clipRect, setClip, getClip, getClipBounds): 
1859         Follow spec more closely.
1860         (getTransform): Return clone of transform.
1861         (setStroke): Set linewidth to passed width / 2.0.
1862         (setPaintMode): Set SrcOver rather than Xor.
1863         (setColor): Set paint to passed color.
1864         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
1865         transform from image to user space.
1866         (drawRenderedImage, drawRenderableImage): Implement.
1867         (getFontRenderContext, getFontMetrics, drawString, getFont): 
1868         Implement
1869         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
1870         Implement.
1871         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
1872         Match changes to java side.
1873         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
1874         Release resources.
1875         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
1876         Don't use pango for metrics.
1877         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
1878         New file.
1879
1880 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
1881             Jim Pick  <jim@kaffe.org>
1882
1883         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
1884         methods.
1885
1886 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
1887
1888         * java/text/DecimalFormatSymbols.java (getCurrency,
1889         setCurrency): New methods.
1890
1891 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
1892
1893         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
1894         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
1895         Describe how the implementation works.
1896
1897 2003-11-19  Michael Koch  <konqueror@gmx.de>
1898
1899         * java/net/Socket.java
1900         (implCreated): New variable that indicates created impl.
1901         (getImpl): New method.
1902         (toString): Return more SUN compliant string representation.
1903         (various): Use getImpl() instead of impl.
1904
1905 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
1906
1907         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
1908         the right libgcc. Add -multiply_defined suppress and -bind_at_load
1909         flags.
1910
1911 2003-11-18  Tom Tromey  <tromey@redhat.com>
1912
1913         PR libgcj/13026:
1914         * verify.cc (state::copy): Only set local_changed if we're in a
1915         subroutine.  Correctly copy local variables which were modified
1916         by the subroutine.
1917         (push_jump_merge): Added more debugging output.
1918
1919         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
1920         is null.
1921
1922 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1923
1924         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
1925         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
1926
1927 2003-11-16  Tom Tromey  <tromey@redhat.com>
1928
1929         PR libgcj/13062:
1930         * java/io/StreamTokenizer.java (commentChar): Clear other
1931         attributes for character.
1932         (quoteChar): Likewise.
1933
1934 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1935
1936         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
1937         zero-length int arrays when layoutInfo is null.
1938         (getLayoutWeights): Return array of two zero-length double arrays when
1939         layoutInfo is null.
1940
1941 2003-11-13  Tom Tromey  <tromey@redhat.com>
1942
1943         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
1944         JvGetStringUTFRegion.
1945         * java/lang/natPosixProcess.cc (new_string): Pass length of string
1946         to JvGetStringUTFRegion.
1947         * java/lang/natDouble.cc (parseDouble): Pass length of string to
1948         JvGetStringUTFRegion.
1949         * java/lang/natWin32Process.cc (startProcess): Pass length of
1950         string to JvGetStringUTFRegion.
1951         * java/lang/natClass.cc (forName): Pass length of string to
1952         JvGetStringUTFRegion.
1953         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
1954         of string to JvGetStringUTFRegion.
1955         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
1956         JvGetStringUTFRegion.
1957         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
1958         to JvGetStringUTFRegion.
1959         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
1960         string to JvGetStringUTFRegion.
1961
1962 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
1963
1964         * gnu/java/nio/natSelectorImplPosix.cc
1965         (helper_put_filedescriptors): Change to static linkage.
1966         (helper_get_filedescriptors): Likewise.
1967
1968 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1969
1970         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
1971         null check.
1972         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
1973         * java/awt/Component.java (prepareImage): Likewise.
1974
1975         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
1976         Rename to nativeSetAlignment.
1977
1978 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
1979
1980         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
1981         (JNI_GetCreatedJavaVMs): Likewise.
1982         (JNI_GetDefaultJavaVMInitArgs): Likewise.
1983         * include/jni.h (JNIIMPEXP): Remove definition
1984         and replace with...
1985         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
1986         symbols,
1987         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
1988
1989 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1990
1991         * Makefile.am: Add GdkPixbufDecoder.java and
1992         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1993         * Makefile.in: Regenerate.
1994         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
1995         New constructor.
1996         (startProduction): Create ByteArrayInputStream when url and filename are
1997         null.
1998         (produce): Declare stream parameter as InputStream.
1999         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
2000         as InputStream.
2001         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
2002         (GdkPixbufDecoder(byte[],int,int)): New constructor.
2003         (produce): Declare stream parameter as InputStream.
2004         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
2005         if image is null.  Set image's observer before running PrepareImage
2006         thread.  Pass image to startProduction.
2007         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
2008         source's member functions.
2009         (observer): New field.
2010         (setObserver): New method.
2011         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
2012         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
2013         new GtkImage.
2014         (prepareImage): Implement.
2015         * java/awt/Component.java: Add static fields incrementalDraw and
2016         redrawRate.
2017         (imageUpdate): Implement.
2018         (createImage): Call Toolkit's createImage if peer is null.
2019         (prepareImage): Throw NPE if image is null.
2020         * java/awt/MediaTracker.java: Fix return value.
2021
2022 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2023
2024         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
2025         (create(String, float)): New method.
2026         (setText): Make native.
2027         (nativeSetAlignment): New method.
2028         (setAlignment): Call nativeSetAlignment.
2029         (getArgs): Remove method.
2030         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2031         (find_fg_color_widget, find_bg_color_widget): New functions.
2032         (gtkWidgetSetForeground): Call find_fg_color_widget.
2033         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
2034         prelight colors.
2035         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
2036         widget in event box.
2037         (setText, setAlignment): Implement new native methods.
2038
2039 2003-11-11  Michael Koch  <konqueror@gmx.de>
2040
2041         * java/awt/Font.java,
2042         java/awt/datatransfer/DataFlavor.java,
2043         java/math/BigInteger.java,
2044         java/net/Inet4Address.java,
2045         java/net/Inet6Address.java,
2046         java/rmi/MarshalledObject.java,
2047         java/rmi/server/RMIClassLoader.java,
2048         java/security/cert/CertStore.java,
2049         java/sql/Timestamp.java,
2050         java/text/SimpleDateFormat.java,
2051         javax/naming/CompoundName.java:
2052         Removed some redundant obj == null checks.
2053
2054 2003-11-11  Michael Koch  <konqueror@gmx.de>
2055
2056         * java/nio/ByteBuffer.java
2057         (equals): Remove redundant obj == null check.
2058
2059 2003-11-11  Michael Koch  <konqueror@gmx.de>
2060
2061         * gnu/java/nio/natPipeImpl.cc,
2062         gnu/java/nio/natSelectorImpl.cc: Removed
2063         * gnu/java/nio/natPipeImplEcos.cc,
2064         gnu/java/nio/natPipeImplPosix.cc,
2065         gnu/java/nio/natPipeImplWin32.cc,
2066         gnu/java/nio/natSelectorImplEcos.cc,
2067         gnu/java/nio/natSelectorImplPosix.cc,
2068         gnu/java/nio/natSelectorImplWin32.cc: New files
2069         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
2070         gnu/java/nio/natSelectorImpl.cc
2071         * configure: Regenerated.
2072
2073 2003-11-11  Micheal Koch  <konqueror@gmx.de>
2074
2075         * java/net/URLStreamHandler.java (toExternalForm): Print port only
2076         if host is printed too and port was really given to URL.
2077
2078 2003-11-10  Gary Benson  <gbenson@redhat.com>
2079
2080         * java/sql/Timestamp.java (valueOf): Correctly handle
2081         nanoseconds.
2082
2083 2003-11-09  Tom Tromey  <tromey@redhat.com>
2084
2085         * java/net/Inet4Address.java (serialVersionUID): Updated.
2086
2087 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2088
2089         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
2090         New fields.
2091
2092 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2093
2094         * java/io/ByteArrayOutputStream.java (resize):
2095         Fix off-by-one error.
2096
2097 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
2098
2099         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
2100         public.
2101
2102 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2103
2104         PR libgcj/12231
2105         * java/lang/Win32Process.java (hasExited) Changed from
2106         public to private.
2107         (startProcess): Likewise.
2108         (cleanup): Likewise.
2109         * java/lang/natWin32Process.cc (cleanup) Don't close
2110         input, output and error streams.
2111         (ChildProcessPipe): New helper class.
2112         (startProcess): Refactored to use ChildProcessPipe.
2113         Use CREATE_NO_WINDOW when launching child process.
2114
2115 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2116
2117         * include/win32.h (_Jv_platform_close_on_exec): Changed
2118         signature and declared extern.
2119         * win32.cc (_Jv_platform_close_on_exec): Implemented.
2120         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2121         (create): Use new signature of _Jv_platform_close_on_exec.
2122         * gnu/java/net/natPlainSocketImplWin32.cc 
2123         (create): Eliminated a few typecasts
2124         Use new signature of _Jv_platform_close_on_exec.
2125         (accept): Eliminated a few typecasts
2126         Use new signature of _Jv_platform_close_on_exec.
2127         * java/io/natFileDescriptorWin32.cc (open): Use
2128         _Jv_platform_close_on_exec.
2129
2130 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
2131
2132         * java/lang/natClass.cc (newInstance): Throw InstantiationException
2133         if class has no null-argument constructor.
2134
2135 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2136
2137         PR libgcj/12647:
2138         * win32-threads.cc (_Jv_CondWait): Respect mutex's
2139         refcount when releasing and reacquiring it.
2140
2141 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2142
2143         * win32.cc: (dirExists) Internal helper function to
2144         test for directory existence.
2145         (getUserHome) New helper function refactored out
2146         of _Jv_platform_initProperties. Uses USERPROFILE
2147         instead of HOMEDIR and attempts to support Win9X and NT.
2148         (_Jv_platform_initProperties) Use getUserHome.
2149
2150 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2151
2152         PR libgcj/11521:
2153         * gnu/java/net/natPlainSocketImplWin32.cc
2154         (bind): Don't use SO_REUSEADDR
2155
2156 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2157
2158         PR libgcj/6652:
2159         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
2160
2161 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
2162
2163         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
2164         dispatch for final methods.
2165
2166 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2167
2168         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
2169         word wrapping.
2170
2171 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
2172
2173         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
2174         scrolled window's size request.
2175
2176 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2177
2178         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
2179         * java/awt/geom/QuadCurve2D.java: Likewise.
2180
2181 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2182
2183         * java/awt/geom/CubicCurve2D.java: Added documentation.
2184         * java/awt/geom/QuadCurve2D.java: Likewise.
2185
2186         * java/awt/geom/doc-files/QuadCurve2D-4.png,
2187         java/awt/geom/doc-files/QuadCurve2D-5.png,
2188         java/awt/geom/doc-files/CubicCurve2D-4.png,
2189         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
2190
2191 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2192
2193         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
2194         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
2195         (subdivide(double[],int,double[],int,double[],int)): Implement.
2196
2197 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2198
2199         * java/awt/geom/doc-files/CubicCurve2D-1.png,
2200         java/awt/geom/doc-files/CubicCurve2D-2.png,
2201         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
2202
2203 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
2204
2205         * java/text/DecimalFormat.java
2206         (scanFormat) corrected so that '%' may appear in a pattern.
2207
2208 2003-10-29  Mark Wielaard  <mark@klomp.org>
2209
2210         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
2211         * java/text/DateFormat.java (Field): New public static inner class.
2212         * java/text/Format.java (Field): Likewise.
2213         (formatToCharacterIterator): New method.
2214         * java/text/FormatCharacterIterator.java: New file.
2215
2216 2003-10-29  Mark Wielaard  <mark@klomp.org>
2217
2218         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
2219         * java/util/Currency.java: New file.
2220
2221 2003-10-29  Michael Koch  <konqueror@gmx.de>
2222
2223         * Makefile.am (ordinary_java_source_files): Added
2224         java/text/FormatCharacterIterator.java and java/util/Currency.java.
2225         * Makefile.in: Regenerated.
2226
2227 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
2228
2229         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
2230         static methods.
2231
2232 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
2233
2234         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
2235         getObjectInstance() with Object, Name, Context and environment
2236         Hashtable from exception. Call fillInStackTrace() on exception when
2237         rethrown.
2238         * javax/naming/InitialContext.java (lookup(Name)): When a
2239         CannotProceedException is thrown use the ContinuationContext.
2240         (lookup(String)): Likewise.
2241         (close): Clear myProps and defaultInitCtx.
2242
2243 2003-10-29  Michael Koch  <konqueror@gmx.de>
2244
2245         * java/net/InetAddress.java
2246         (equals): Remove redundant obj == null check.
2247         * java/net/SocketPermission.java
2248         (equals): Likewise.
2249         * java/net/URL.java
2250         (equals): Likewise.
2251         (getURLStreamHandler): Likewise.
2252
2253 2003-10-29  Michael Koch  <konqueror@gmx.de>
2254
2255         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2256         (setOption): Directly return if no error occured.
2257         * gnu/java/net/natPlainSocketImplPosix.cc
2258         (setOption): Likewise.
2259
2260 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2261
2262         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
2263         vtable slot for final methods. Add FIXME comment.
2264
2265 2003-10-28  David S. Miller  <davem@redhat.com>
2266
2267         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
2268
2269 2003-10-26  Mark Wielaard  <mark@klomp.org>
2270
2271         Reported by Helmer Kraemer <hkraemer@freenet.de>
2272         * java/util/jar/JarInputStream.java (readManifest): Don't call
2273         closeEntry().
2274
2275         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
2276         (finish): Use inbufWrite().
2277         (write(int)): Likewise.
2278         (write(byte[],int,int)): Likewise.
2279
2280 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2281
2282         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
2283         Don't check for AccessibleObject. Update javadocs.
2284         
2285         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
2286
2287 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2288
2289         * java/lang/reflect/Constructor.java (toString): Avoid extra 
2290         whitespace on constructor with no modifiers.
2291         * java/lang/reflect/natConstructor.java (newInstance): Look up
2292         caller and perform accessibility check only if constructor is
2293         non-public and accessible flag is not set.
2294
2295 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2296
2297         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
2298         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
2299         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
2300         is_virtual_call argument.
2301         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
2302         natClass.cc.
2303         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
2304         _Jv_isVirtualMethod.
2305         * java/lang/reflect/natMethod.cc (invoke): Don't use 
2306         _Jv_LookupDeclaredMethod.
2307         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
2308         look up method in target object's vtable.
2309
2310 2003-10-25  Graydon Hoare  <graydon@redhat.com>
2311
2312         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
2313         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
2314         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
2315         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2316         New concrete implementation of ClasspathFontPeer, with native part.
2317         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2318         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2319         New class, with native part.
2320         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2321         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2322         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
2323
2324 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2325
2326         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
2327         on method with no modifiers.
2328
2329 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2330
2331         PR libgcj/11780:
2332         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
2333         accessibility check only if target is non-public and accessible flag
2334         is not set.
2335         * java/lang/reflect/natField.cc (getAddr): Likewise.
2336
2337 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
2338
2339         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
2340         Remove method.
2341         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
2342         New method.
2343         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
2344         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
2345         (dispose): Post WINDOW_CLOSED event.
2346         (addWindowFocusListener, addWindowStateListener): Assign result
2347         of multicaster add back to window listener.
2348         (removeWindowFocusListener, removeWindowStateListener): Assign
2349         result of multicaster remove back to window listener.
2350         (dispatchEventImpl): Add null checks for focus and state
2351         listeners.
2352         (processWindowEvent): Handle case where windowListener is null
2353         but state or focus listeners exist.
2354         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2355         glue for postWindowEvent.
2356         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2357         (window_delete_cb, window_destroy_cb, window_show_cb,
2358         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
2359         window_get_new_state): New functions.
2360         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
2361         macros.  Declare postWindowEventID.
2362
2363 2003-10-24  Anthony Green  <green@redhat.com>
2364
2365         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
2366         we have no interpreter.
2367
2368 2003-10-22  Andrew Haley  <aph@redhat.com>
2369
2370         * java/lang/natClass.cc (initializeClass): Call
2371         _Jv_linkExceptionClassTable.
2372         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
2373         _Jv_Defer_Resolution on a method whose ncode is NULL.
2374         (_Jv_linkExceptionClassTable): New function.
2375         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
2376         entry, look it up.
2377         * java/lang/Class.h (struct _Jv_CatchClass): New.
2378         (_Jv_linkExceptionClassTable): New friend.
2379         (_Jv_Defer_Resolution): New friend.
2380         (class Class.catch_classes): New field.
2381         * include/java-interp.h (Jv_Defer_Resolution): New method.
2382         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
2383         (_Jv_MethodBase.deferred): New field.
2384         (_Jv_Defer_Resolution): New function.
2385         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
2386         * exception.cc (get_ttype_entry): Change return type to void**.
2387         (PERSONALITY_FUNCTION): Remove all code related to using a
2388         Utf8Const* for a match type.  Change match type to be a pointer to
2389         a pointer, rather than a pointer to a Class.
2390         * defineclass.cc (handleCodeAttribute): Initialize
2391         method->deferred.
2392         (handleMethodsEnd): Likewise.
2393
2394 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2395
2396         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
2397         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
2398
2399 2003-10-22  Tom Tromey  <tromey@redhat.com>
2400
2401         PR libgcj/12416:
2402         * java/lang/Class.h: Updated.
2403         * java/lang/natClass.cc (_getFields): Removed.
2404         (getFields): Likewise.
2405         (getDeclaredFields): Added `public_only' parameter.
2406         * java/lang/Class.java (getFields): Now implemented in java; from
2407         Classpath.
2408         (getDeclaredFields): Likewise.
2409         (getDeclaredFields(boolean)): Declare.
2410         (_getFields): Removed.
2411         (internalGetFields): New method, from Classpath.
2412
2413         PR libgcj/12656:
2414         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
2415         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
2416
2417 2003-10-22  David Daney  <ddaney@avtrex.com)
2418
2419         * include/mips-signal.h: New file.
2420         * sysdep/dwarf2-backtrace.cc: New file.
2421         * sysdep/mips: New directory.
2422         * sysdep/mips/locks.h: New file.
2423         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
2424         added to libgcj.
2425         (extra_cc_source_files): Ditto.
2426         * configure.host(disable_dladdr):  New shell variable passed to
2427         configure.
2428         (mips*-*-linux*): sysdeps_dir=mips,
2429         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
2430         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
2431         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
2432         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
2433         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
2434         (EXTRA_CC_FILES): New, to support conditional addition of
2435         sysdep/dwarf2-backtrace.cc.
2436         * configure: Regenerated.
2437         * Makefile.in: Regenerated.
2438         * gcj/Makefile.in: Regenerated.
2439         * include/config.h.in: Regenerated.
2440         * include/Makefile.in: Regenerated.
2441         * testsuite/Makefile.in: Regenerated.
2442         
2443 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2444
2445         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
2446         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
2447
2448 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2449
2450         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
2451         * java/awt/geom/doc-files: New directory.
2452         * java/awt/geom/doc-files/QuadCurve2D-1.png,
2453         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
2454         
2455 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2456
2457         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
2458
2459 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2460
2461         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
2462
2463 2003-10-22  Michael Koch  <konqueror@gmx.de>
2464
2465         * java/io/File.java
2466         (equals): Removed redundant obj == null check.
2467         (createTempFile): Merged comments from classpath.
2468
2469 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2470
2471         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
2472         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
2473         (error): Synchronize on instance, not class.
2474
2475 2003-10-21  Mark Wielaard  <mark@klomp.org>
2476
2477         Reported by M.Negovanovic
2478         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
2479         method.
2480         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
2481
2482 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2483
2484         Fix for Classpath bug #6076.
2485         * java/awt/geom/GeneralPath.java (append): Re-written.
2486
2487 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2488
2489         Fix for Classpath bug #6089.
2490         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
2491         (getPathIterator, GeneralPathIterator): Re-written from scratch.
2492
2493 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2494
2495         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
2496         point, not start of subpath.  Fixes Classpath bug #6075.
2497
2498 2003-10-21  Michael Koch  <konqueror@gmx.de>
2499
2500         * java/nio/ByteOrder.java,
2501         java/nio/DirectByteBufferImpl.java,
2502         java/nio/channels/FileChannelImpl.java:
2503         Add code to load library with code for native methods if needed.
2504
2505 2003-10-21  Michael Koch  <konqueror@gmx.de>
2506
2507         * gnu/java/net/PlainDatagramSocketImpl.java,
2508         gnu/java/net/PlainSocketImpl.java,
2509         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
2510         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
2511         gnu/java/net/natPlainSocketImplPosix.cc,
2512         gnu/java/net/natPlainSocketImplWin32.cc:
2513         Renamed fnum to native_fd to match classpath more.
2514
2515 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
2516
2517         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
2518         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
2519         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
2520         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
2521         _Jv_PthreadCheckMonitor.  Simplify code.
2522         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
2523         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
2524         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
2525         * java/lang/Thread.java (holdsLock): New.
2526         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
2527         without JV_HASH_SYNCHRONIZATION.
2528         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
2529
2530 2003-10-20  Michael Koch  <konqueror@gmx.de>
2531
2532         * java/text/RuleBasedCollator.java
2533         (RuleBasedCollator): Check rules not empty, fixed search in already
2534         existing collation elements.
2535         (is_special): Removed common whitespace characters.
2536         (text_argument): Dont return on whitespaces, add characters between
2537         two ' to string buffer.
2538
2539 2003-10-18  Michael Koch  <konqueror@gmx.de>
2540
2541         * gnu/java/net/protocol/file/Connection.java,
2542         gnu/java/net/protocol/file/Handler.java,
2543         gnu/java/net/protocol/http/Connection.java,
2544         gnu/java/net/protocol/http/Handler.java,
2545         gnu/java/net/protocol/jar/Connection.java,
2546         gnu/java/net/protocol/jar/Handler.java:
2547         Merged copyright text from classpath to make
2548         it possible to merge the classes.
2549
2550 2003-10-18  Mark Wielaard  <mark@klomp.org>
2551
2552         Reported by M.Negovanovic
2553         * java/beans/IndexedPropertyDescriptor.java
2554         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
2555
2556 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
2557
2558         * win32.cc (_Jv_pipe): Implemented.
2559         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
2560         _Jv_pipe instead of ::pipe.
2561         * include/posix.h (_Jv_pipe): New inline.
2562         * include/win32.h (_Jv_pipe): New declaration.
2563         
2564 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2565
2566         * java/lang/StringBuffer.java (getChars): Fix array index checks.
2567         (append, substring, insert): Likewise.
2568         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
2569         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
2570         
2571 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2572
2573         * java/lang/natString.cc (getChars):
2574         Fix validation of array indexes.
2575         (getBytes, regionMatches, startsWith, valueOf): Likewise.
2576         * testsuite/libjava.lang/String_overflow.java: New file.
2577         * testsuite/libjava.lang/String_overflow.out: New file.
2578
2579 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2580
2581         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
2582         overflow a jint.
2583         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
2584         check for overflowing size_t, since the lower level functions
2585         take a jint.
2586         * testsuite/libjava.lang/newarray_overflow.java:  New file.
2587         * testsuite/libjava.lang/newarray_overflow.out:  New file.
2588         
2589 2003-10-15  Michael Koch  <konqueror@gmx.de>
2590
2591         * java/text/RuleBasedCollator.java
2592         (RuleBasedCollator): Moved around, documentation added.
2593         (compare): Documentation added.
2594         (equals): Likewise.
2595         (getCollationElementIterator): Likewise.
2596         (getCollationKey): Likewise.
2597         (getRules): Likewise.
2598         (hashCode): Likewise.
2599
2600 2003-10-15  Michael Koch  <konqueror@gmx.de>
2601
2602         * java/text/RuleBasedCollator.java
2603         (CollationElement): Renamed from RBCElement and moved into
2604         RuledBasedCollator as inner class.
2605
2606 2003-10-15  Michael Koch  <konqueror@gmx.de>
2607
2608         * java/text/CollationElementIterator.java
2609         (CollationElementIterator): Moved, documenatation added, call setText.
2610         (next): Reformated.
2611         (reset): Reformated.
2612         (setText): New method.
2613         (getOffset): New method.
2614         * java/text/CollationKey.java
2615         (getSourceString): Reformated.
2616         (hashCode): Reformated.
2617         (toByteArray): Reformated.
2618
2619 2003-10-15  Michael Koch  <konqueror@gmx.de>
2620
2621         * java/util/zip/InflaterInputStream.java
2622         (InflaterInputStream): Renamed infl to inf and bufsize to size,
2623         added description to exception, check for inf == null and size < 0.
2624
2625 2003-10-15  Michael Koch  <konqueror@gmx.de>
2626
2627         * java/text/AttributedCharacterIterator.java,
2628         java/text/CharacterIterator.java: Reformated.
2629
2630 2003-10-15  Michael Koch  <konqueror@gmx.de>
2631
2632         * javax/swing/UIDefaults.java (putDefaults):
2633         Readded accidently removed "public" modifier.
2634
2635 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
2636
2637         * interpret.cc (_Jv_InterpMethod::run): Don't
2638         use libffi types, they were meant to be internal.
2639         * gcj/javaprims.h (_Jv_ulong): New typedef.
2640
2641 2003-10-13  Tom Tromey  <tromey@redhat.com>
2642
2643         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
2644         (defineClass): Updated.
2645         (_Jv_NewClass): Likewise.
2646         * prims.cc (_Jv_InitPrimClass): Don't call
2647         _Jv_InitNewClassFields.
2648
2649 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
2650
2651         PR libgcj/12592
2652         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
2653         not just \n.
2654
2655 2003-10-13  Michael Koch  <konqueror@gmx.de>
2656
2657         * java/io/File.java: Reformated.
2658         (equals): Check for obj == null.
2659
2660 2003-10-13  Michael Koch  <konqueror@gmx.de>
2661
2662         * java/net/JarURLConnection.java
2663         (jarFileURL): Added dcoumentation.
2664         (jarFileURLConnection): Reformated documentation.
2665         (entryName): Renamed from "element", documentation rewritten.
2666         (connectionCache): Renamed from "conn_cache", documentation
2667         reformated.
2668         (JarURLConnection): Check URL protocol.
2669         (getEntryName): Use entryName.
2670         (connect): Use connectionCache.
2671         (getInputStream): Use entryName, fixed comment.
2672         (getJarEntry): Use entryName.
2673         (getHeaders): Use entryName.
2674         * java/net/URLConnection.java
2675         (addRequestProperty): Fixed documentation.
2676         (setDefaultRequestProptery): Added comment that it does nothing since
2677         JDK 1.3.
2678         (getDefaultRequestProperty): Likewise.
2679
2680 2003-10-13  Michael Koch  <konqueror@gmx.de>
2681
2682         * java/net/java/net/URLStreamHandlerFactory.java
2683         (createURLStreamHandler): Removed redundant "public" modifier.
2684         * java/sql/DatabaseMetaData.java:
2685         (DatabaseMetaData):  Readded accidently removed "public" modifier.
2686         * java/sql/ParameterMetaData.java:
2687         (ParameterMetaData): Readded accidently removed "public" modifier.
2688         * java/sql/PreparedStatement.java:
2689         (PreparedStatement): Readded accidently removed "public" modifier.
2690         * java/sql/Ref.java:
2691         (Ref): Readded accidently removed "public" modifier.
2692
2693 2003-10-13  Michael Koch  <konqueror@gmx.de>
2694
2695         * java/nio/Buffer.java
2696         (hasRemaining): Made implementation more clear.
2697         * java/nio/MappedByteBuffer.java
2698         (loaded): New member variable.
2699         (force): Added comment.
2700         (isLoaded): Return value of loaded.
2701         (load): Set loaded to true, added comment.
2702
2703 2003-10-12  Michael Koch  <konqueror@gmx.de>
2704
2705         * gnu/java/nio/PipeImpl.java
2706         (SourceChannelImpl): New inner class.
2707         (SinkChannelImpl): New inner class.
2708         (sink): New member variable.
2709         (source): New member variable.
2710         (PipeImpl): Add SelectorProvider argument, implemented.
2711         (nativeInit): New method.
2712         (sink): Return sink channel.
2713         (source): Return source channel.
2714         * gnu/java/nio/SelectorProviderImpl.java
2715         (openPipe): Give provider as argument to PipeImpl constructor.
2716         * java/nio/channels/spi/SelectorProvider.java
2717         (pr): Removed.
2718         (systemDefaultProvider): New member variable.
2719         (provider): Made it synchronized, use property
2720         java.nio.channels.spi.SelectorProvider.
2721         * gnu/java/nio/natPipeImpl.cc: New file.
2722         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
2723         * Makefile.in: Regenerated.
2724
2725 2003-10-12  Michael Koch  <konqueror@gmx.de>
2726
2727         * javax/swing/table/DefaultTableModel.java,
2728         javax/swing/table/TableCellEditor.java,
2729         javax/swing/table/TableCellRenderer.java,
2730         javax/swing/table/TableColumnModel.java,
2731         javax/swing/table/TableModel.java,
2732         javax/swing/text/AbstractDocument.java,
2733         javax/swing/text/Document.java,
2734         javax/swing/text/MutableAttributeSet.java,
2735         javax/swing/text/StyledDocument.java,
2736         javax/swing/text/ViewFactory.java,
2737         javax/swing/tree/DefaultMutableTreeNode.java,
2738         javax/swing/tree/MutableTreeNode.java,
2739         javax/swing/tree/RowMapper.java,
2740         javax/swing/tree/TreeCellEditor.java,
2741         javax/swing/tree/TreeCellRenderer.java,
2742         javax/swing/tree/TreeModel.java,
2743         javax/swing/tree/TreeNode.java,
2744         javax/swing/tree/TreeSelectionModel.java,
2745         javax/swing/undo/StateEditable.java,
2746         javax/swing/undo/UndoableEdit.java:
2747         Removed redundant modifiers.
2748
2749 2003-10-12  Michael Koch  <konqueror@gmx.de>
2750
2751         * javax/swing/event/AncestorListener.java,
2752         javax/swing/event/CaretListener.java,
2753         javax/swing/event/CellEditorListener.java,
2754         javax/swing/event/ChangeListener.java,
2755         javax/swing/event/DocumentEvent.java,
2756         javax/swing/event/DocumentListener.java,
2757         javax/swing/event/HyperlinkListener.java,
2758         javax/swing/event/InternalFrameListener.java,
2759         javax/swing/event/ListDataListener.java,
2760         javax/swing/event/ListSelectionListener.java,
2761         javax/swing/event/MenuDragMouseListener.java,
2762         javax/swing/event/MenuKeyListener.java,
2763         javax/swing/event/MenuListener.java,
2764         javax/swing/event/MouseInputListener.java,
2765         javax/swing/event/PopupMenuListener.java,
2766         javax/swing/event/TableColumnModelListener.java,
2767         javax/swing/event/TableModelListener.java,
2768         javax/swing/event/TreeExpansionListener.java,
2769         javax/swing/event/TreeModelListener.java,
2770         javax/swing/event/TreeSelectionListener.java,
2771         javax/swing/event/TreeWillExpandListener.java,
2772         javax/swing/event/UndoableEditListener.java,
2773         javax/swing/plaf/UIResource.java,
2774         javax/swing/plaf/metal/MetalLookAndFeel.java:
2775         Removed redundant modifiers.
2776
2777 2003-10-12  Michael Koch  <konqueror@gmx.de>
2778
2779         * javax/swing/Action.java,
2780         javax/swing/BoundedRangeModel.java,
2781         javax/swing/CellEditor.java,
2782         javax/swing/ComboBoxEditor.java,
2783         javax/swing/ComboBoxModel.java,
2784         javax/swing/DesktopManager.java,
2785         javax/swing/JComboBox.java,
2786         javax/swing/ListCellRenderer.java,
2787         javax/swing/ListSelectionModel.java,
2788         javax/swing/MenuElement.java,
2789         javax/swing/MutableComboBoxModel.java,
2790         javax/swing/Renderer.java,
2791         javax/swing/RootPaneContainer.java,
2792         javax/swing/ScrollPaneConstants.java,
2793         javax/swing/SingleSelectionModel.java,
2794         javax/swing/SpinnerModel.java,
2795         javax/swing/SwingConstants.java,
2796         javax/swing/UIDefaults.java,
2797         javax/swing/WindowConstants.java,
2798         javax/swing/border/Border.java,
2799         javax/swing/colorchooser/ColorSelectionModel.java:
2800         Removed redundant modifiers.
2801
2802 2003-10-11  Michael Koch  <konqueror@gmx.de>
2803
2804         * javax/transaction/Status.java,
2805         javax/transaction/Synchronization.java,
2806         javax/transaction/Transaction.java,
2807         javax/transaction/TransactionManager.java,
2808         javax/transaction/UserTransaction.java,
2809         javax/transaction/xa/XAResource.java,
2810         javax/transaction/xa/Xid.java:
2811         Removing redundant modifiers.
2812
2813 2003-10-11  Michael Koch  <konqueror@gmx.de>
2814
2815         * javax/print/attribute/Attribute.java,
2816         javax/print/attribute/AttributeSet.java,
2817         javax/print/attribute/PrintRequestAttributeSet.java:
2818         Removing redundant modifiers.
2819
2820 2003-10-11  Michael Koch  <konqueror@gmx.de>
2821
2822         * javax/sql/ConnectionEventListener.java,
2823         javax/sql/ConnectionPoolDataSource.java,
2824         javax/sql/DataSource.java,
2825         javax/sql/PooledConnection.java,
2826         javax/sql/RowSet.java,
2827         javax/sql/RowSetInternal.java,
2828         javax/sql/RowSetListener.java,
2829         javax/sql/RowSetMetaData.java,
2830         javax/sql/RowSetReader.java,
2831         javax/sql/RowSetWriter.java,
2832         javax/sql/XAConnection.java,
2833         javax/sql/XADataSource.java:
2834         Removing redundant modifiers.
2835
2836 2003-10-11  Michael Koch  <konqueror@gmx.de>
2837
2838         * javax/naming/Context.java,
2839         javax/naming/Name.java,
2840         javax/naming/NameParser.java,
2841         javax/naming/NamingEnumeration.java,
2842         javax/naming/Referenceable.java,
2843         javax/naming/directory/Attribute.java,
2844         javax/naming/directory/Attributes.java,
2845         javax/naming/directory/DirContext.java,
2846         javax/naming/event/EventContext.java,
2847         javax/naming/event/EventDirContext.java,
2848         javax/naming/event/NamespaceChangeListener.java,
2849         javax/naming/event/NamingListener.java,
2850         javax/naming/event/ObjectChangeListener.java,
2851         javax/naming/ldap/Control.java,
2852         javax/naming/ldap/ExtendedRequest.java,
2853         javax/naming/ldap/ExtendedResponse.java,
2854         javax/naming/ldap/HasControls.java,
2855         javax/naming/ldap/LdapContext.java,
2856         javax/naming/ldap/UnsolicitedNotification.java,
2857         javax/naming/ldap/UnsolicitedNotificationListener.java,
2858         javax/naming/spi/DirObjectFactory.java,
2859         javax/naming/spi/DirStateFactory.java,
2860         javax/naming/spi/InitialContextFactory.java,
2861         javax/naming/spi/InitialContextFactoryBuilder.java,
2862         javax/naming/spi/ObjectFactory.java,
2863         javax/naming/spi/ObjectFactoryBuilder.java,
2864         javax/naming/spi/Resolver.java,
2865         javax/naming/spi/StateFactory.java:
2866         Removing redundant modifiers.
2867
2868 2003-10-11  Michael Koch  <konqueror@gmx.de>
2869
2870         * java/security/Key.java,
2871         * java/security/PrivateKey.java,
2872         * java/security/PublicKey.java,
2873         * java/security/acl/Acl.java,
2874         * java/security/acl/AclEntry.java,
2875         * java/security/acl/Group.java,
2876         * java/security/acl/Owner.java,
2877         * java/security/acl/Permission.java,
2878         * java/security/cert/X509Extension.java,
2879         * java/security/interfaces/DSAKey.java,
2880         * java/security/interfaces/DSAKeyPairGenerator.java,
2881         * java/security/interfaces/DSAParams.java,
2882         * java/security/interfaces/DSAPrivateKey.java,
2883         * java/security/interfaces/DSAPublicKey.java,
2884         * java/security/interfaces/RSAKey.java,
2885         * java/security/interfaces/RSAPrivateCrtKey.java,
2886         * java/security/interfaces/RSAPrivateKey.java,
2887         * java/security/interfaces/RSAPublicKey.java:
2888         Removed redundant modifiers.
2889
2890 2003-10-11  Michael Koch  <konqueror@gmx.de>
2891
2892         * gnu/java/rmi/server/ProtocolConstants.java,
2893         gnu/java/security/der/DER.java:
2894         Removing redundant modifiers.
2895
2896 2003-10-11  Michael Koch  <konqueror@gmx.de>
2897
2898         * java/util/Map.java,
2899         java/util/Observer.java,
2900         java/util/zip/Checksum.java,
2901         java/util/zip/ZipConstants.java:
2902         Removed redundant modifiers.
2903
2904 2003-10-11  Michael Koch  <konqueror@gmx.de>
2905
2906         * java/text/AttributedCharacterIterator.java,
2907         java/text/CharacterIterator.java:
2908         Removed redundant modifiers.
2909
2910 2003-10-11  Michael Koch  <konqueror@gmx.de>
2911
2912         * java/sql/Array.java,
2913         java/sql/Blob.java,
2914         java/sql/CallableStatement.java,
2915         java/sql/Clob.java,
2916         java/sql/Connection.java,
2917         java/sql/DatabaseMetaData.java,
2918         java/sql/Driver.java,
2919         java/sql/ParameterMetaData.java,
2920         java/sql/PreparedStatement.java,
2921         java/sql/Ref.java,
2922         java/sql/ResultSet.java,
2923         java/sql/ResultSetMetaData.java,
2924         java/sql/SQLData.java,
2925         java/sql/SQLInput.java,
2926         java/sql/SQLOutput.java,
2927         java/sql/Savepoint.java,
2928         java/sql/Statement.java,
2929         java/sql/Struct.java:
2930         Removed redundant modifiers.
2931
2932 2003-10-11  Michael Koch  <konqueror@gmx.de>
2933
2934         * java/nio/channels/Channel.java,
2935         java/nio/channels/GatheringByteChannel.java,
2936         java/nio/channels/ReadableByteChannel.java,
2937         java/nio/channels/ScatteringByteChannel.java,
2938         java/nio/channels/WritableByteChannel.java:
2939         Removed redundant modifiers.
2940
2941 2003-10-11  Michael Koch  <konqueror@gmx.de>
2942
2943         * java/rmi/activation/ActivationInstantiator.java,
2944         java/rmi/activation/ActivationMonitor.java,
2945         java/rmi/activation/ActivationSystem.java,
2946         java/rmi/activation/Activator.java,
2947         java/rmi/dgc/DGC.java,
2948         java/rmi/registry/Registry.java,
2949         java/rmi/registry/RegistryHandler.java,
2950         java/rmi/server/LoaderHandler.java,
2951         java/rmi/server/RMIClientSocketFactory.java,
2952         java/rmi/server/RMIFailureHandler.java,
2953         java/rmi/server/RMIServerSocketFactory.java,
2954         java/rmi/server/RemoteCall.java,
2955         java/rmi/server/RemoteRef.java,
2956         java/rmi/server/ServerRef.java,
2957         java/rmi/server/Skeleton.java,
2958         java/rmi/server/Unreferenced.java:
2959         Removed redundant modifiers.
2960
2961 2003-10-11  Michael Koch  <konqueror@gmx.de>
2962
2963         * java/net/ContentHandlerFactory.java,
2964         java/net/DatagramSocketImplFactory.java,
2965         java/net/FileNameMap.java,
2966         java/net/SocketImplFactory.java,
2967         java/net/SocketOptions.java,
2968         java/net/URLStreamHandlerFactory.java:
2969         Removed redundant modifiers.
2970
2971 2003-10-11  Michael Koch  <konqueror@gmx.de>
2972
2973         * java/io/Externalizable.java,
2974         java/io/FileFilter.java,
2975         java/io/FilePermission.java,
2976         java/io/ObjectInput.java,
2977         java/io/ObjectInputValidation.java,
2978         java/io/ObjectOutput.java,
2979         java/io/ObjectStreamClass.java,
2980         java/io/ObjectStreamConstants.java,
2981         java/io/Serializable.java:
2982         Removed redundant modifiers.
2983
2984 2003-10-11  Ingo Proetel  <proetel@aicas.com>
2985
2986         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
2987         codebase and context classloader.
2988
2989 2003-10-11  Michael Koch  <konqueror@gmx.de>
2990
2991         * java/beans/beancontext/BeanContext.java,
2992         java/beans/beancontext/BeanContextChild.java,
2993         java/beans/beancontext/BeanContextChildComponentProxy.java,
2994         java/beans/beancontext/BeanContextChildSupport.java,
2995         java/beans/beancontext/BeanContextContainerProxy.java,
2996         java/beans/beancontext/BeanContextMembershipListener.java,
2997         java/beans/beancontext/BeanContextProxy.java,
2998         java/beans/beancontext/BeanContextServiceProvider.java,
2999         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
3000         java/beans/beancontext/BeanContextServiceRevokedListener.java,
3001         java/beans/beancontext/BeanContextServices.java,
3002         java/beans/beancontext/BeanContextServicesListener.java:
3003         Removed redundant modifiers.
3004
3005 2003-10-11  Michael Koch  <konqueror@gmx.de>
3006
3007         * java/beans/AppletInitializer.java,
3008         java/beans/BeanInfo.java,
3009         java/beans/Customizer.java,
3010         java/beans/DesignMode.java,
3011         java/beans/PropertyEditor.java,
3012         java/beans/Visibility.java:
3013         Removed redundant modifiers.
3014
3015 2003-10-11  Michael Koch  <konqueror@gmx.de>
3016
3017         * java/awt/print/Pageable.java,
3018         * java/awt/print/Printable.java,
3019         java/awt/print/PrinterGraphics.java:
3020         Removed redundant modifiers.
3021
3022 2003-10-11  Michael Koch  <konqueror@gmx.de>
3023
3024         * java/awt/peer/ButtonPeer.java,
3025         java/awt/peer/CheckboxMenuItemPeer.java,
3026         java/awt/peer/CheckboxPeer.java,
3027         java/awt/peer/ChoicePeer.java,
3028         java/awt/peer/ComponentPeer.java,
3029         java/awt/peer/ContainerPeer.java,
3030         java/awt/peer/DialogPeer.java,
3031         java/awt/peer/FileDialogPeer.java,
3032         java/awt/peer/FramePeer.java,
3033         java/awt/peer/LabelPeer.java,
3034         java/awt/peer/ListPeer.java,
3035         java/awt/peer/MenuBarPeer.java,
3036         java/awt/peer/MenuComponentPeer.java,
3037         java/awt/peer/MenuItemPeer.java,
3038         java/awt/peer/MenuPeer.java,
3039         java/awt/peer/PopupMenuPeer.java,
3040         java/awt/peer/RobotPeer.java,
3041         java/awt/peer/ScrollPanePeer.java,
3042         java/awt/peer/ScrollbarPeer.java,
3043         java/awt/peer/TextAreaPeer.java,
3044         java/awt/peer/TextComponentPeer.java,
3045         java/awt/peer/TextFieldPeer.java,
3046         java/awt/peer/WindowPeer.java:
3047         Removed redundant modifiers.
3048
3049 2003-10-11  Michael Koch  <konqueror@gmx.de>
3050
3051         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
3052         * gnu/java/nio/ServerSocketChannelImpl.java
3053         (serverSocket): Made it a NIOServerSocket.
3054         (impl): Removed.
3055         (ServerSocketChannelImpl): Initialize only serverSocket.
3056         (initServerSocket): Removed.
3057         (getNativeFD): Rewritten.
3058         (implConfigureBlocking): Set socket timeout and removed comment.
3059         (accept): Rewritten.
3060         * gnu/java/nio/SocketChannelImpl.java
3061         (impl): New variable.
3062         (connected): Removed.
3063         (SocketChannelImpl): Initialize impl too.
3064         (getImpl): New method.
3065         (isConnected): Rewritten.
3066         (read): Rewritten, set position in buffer correctly.
3067         (write): Set position in buffer correctly.
3068         * java/net/ServerSocket.java (getImpl): New method.
3069         * gnu/java/nio/NIOServerSocket.java,
3070         gnu/java/nio/natNIOServerSocket.cc: New files.
3071         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3072         * Makefile.am
3073         (ordinary_java_source_files):
3074         Added gnu/java/nio/NIOServerSocket.java.
3075         (nat_source_files):
3076         Removed gnu/java/nio/natServerSocketChannelImpl.cc
3077         and added gnu/java/nio/natNIOServerSocket.cc.
3078         * Makefile.in: Regenerated.
3079
3080 2003-10-11  Michael Koch  <konqueror@gmx.de>
3081
3082         * java/awt/ActiveEvent.java,
3083         java/awt/datatransfer/ClipboardOwner.java,
3084         java/awt/datatransfer/FlavorMap.java,
3085         java/awt/datatransfer/Transferable.java,
3086         java/awt/dnd/Autoscroll.java,
3087         java/awt/dnd/peer/DragSourceContextPeer.java,
3088         java/awt/dnd/peer/DropTargetContextPeer.java,
3089         java/awt/dnd/peer/DropTargetPeer.java,
3090         java/awt/font/MultipleMaster.java,
3091         java/awt/font/OpenType.java,
3092         java/awt/im/spi/InputMethodDescriptor.java,
3093         java/awt/image/ImageObserver.java,
3094         java/awt/image/ImageConsumer.java,
3095         java/awt/image/ImageProducer.java,
3096         java/awt/image/RGBImageFilter.java,
3097         java/awt/image/RasterOp.java,
3098         java/awt/image/renderable/RenderableImage.java:
3099         Removed redundant modifiers.
3100
3101 2003-10-11  Michael Koch  <konqueror@gmx.de>
3102
3103         * gnu/awt/j2d/DirectRasterGraphics.java,
3104         gnu/java/awt/EmbeddedWindowSupport.java:
3105         Removed redundant modifiers.
3106
3107 2003-10-09  Michael Koch  <konqueror@gmx.de>
3108
3109         * gnu/java/nio/SelectorImpl.java (register):
3110         Use ServerSocketChannelSelectionKey for server socket channels,
3111         removed unneeded comments.
3112         * gnu/java/nio/ServerSocketChannelImpl.java
3113         (ServerSocketChannelImpl): Made class public final.
3114         (impl): New member variable.
3115         (ServerSocketChannelImpl): Initialize member variables correctly.
3116         (initServerSocket): New method.
3117         (getNativeFD): Likewise.
3118         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
3119         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
3120         * Makefile.am (ordinary_java_source_files):
3121         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
3122         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
3123         * Makefile.in: Regenrated.
3124
3125 2003-10-09  Michael Koch  <konqueror@gmx.de>
3126
3127         * java/nio/channels/spi/AbstractSelectableChannel.java
3128         (registered): Made private.
3129         (blocking): Likewise.
3130         (LOCK): Likewise.
3131         (provider): Likewise.
3132         (keys): Made it a private LinkedList.
3133         (AbstractSelectableChannel): Initialize keys.
3134         (isRegistered): New implementation.
3135         (locate): Rewritten.
3136         (register): Rewritten.
3137         * java/nio/channels/spi/AbstractSelectionKey.java
3138         (ok): Removed.
3139         (cancelled): New member variable.
3140         (cancel): Rewritten.
3141         (isValid): Rewritten.
3142         * java/nio/channels/spi/AbstractSelector.java:
3143         Some methods moved.
3144         (closed): Make private.
3145         (provider): Likewise.
3146         (cancelledKeys): New member variable.
3147         (AbstractSelector): Initialize cancelledKeys.
3148         (cancelKey): New method.
3149
3150 2003-10-09  Tom Tromey  <tromey@redhat.com>
3151
3152         * java/lang/ClassLoader.java (setSigners): Implemented.
3153         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
3154         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
3155         Initialize new fields.
3156         * java/lang/Class.java (getSigners): Now native.
3157         (setSigners): Declare.
3158         * java/lang/natClass.cc (getSigners): New method.
3159         (getSigners): Likewise.
3160         * java/lang/Class.h (Class::signers): New field.
3161         (Class::setSigners): New method.
3162
3163 2003-10-09  Michael Koch  <konqueror@gmx.de>
3164
3165         * java/rmi/server/RMIClassLoader.java:
3166         Removed unused imports, little reformatings.
3167         (getClassLoader): New method, implementation was part of old loadCLass
3168         method.
3169         (loadClass): Simplified by moving functionality to new method and
3170         reworking the code a bit.
3171         (getClassAnnotation): Merged documentation from classpath.
3172
3173 2003-10-09  Michael Koch  <konqueror@gmx.de>
3174
3175         * java/math/BigInteger.java
3176         (add): Removed unused local variable len.
3177
3178 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3179
3180         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
3181         modality check.
3182         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3183         Initialize insets to use latest insets.
3184         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
3185         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
3186         field.
3187         (postConfigureEvent): Update latestInsets field when insets
3188         change.  Remove call to setSize.  Move validate call outside of
3189         if blocks.
3190         (setVisible): Call setBounds before showing window.
3191         (nativeSetVisible): New native method.
3192         * java/awt/Window.java (show): Show visible owned windows.
3193         (hide): Hide visible owned windows.
3194         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3195         (awt_event_handler): Implement modality using GTK grabs.
3196         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3197         (global_gtk_window_group): New global variable.
3198         (gtkInit): Initialize global_gtk_window_group.
3199         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3200         Clamp width and height values to at least 1.  Add this window to
3201         the global GTK window group.
3202         (setVisible): Rename to nativeSetVisible.
3203         (setup_window): Remove function.
3204         (setSize): Clamp width and height values to at least 1.
3205         (nativeSetBounds): Likewise.
3206         (gdk_window_get_root_geometry): Remove function.
3207         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
3208         and setup_window declarations.  Declare global_gtk_window_group.
3209
3210         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3211         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3212         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3213         (gtkWidgetSetForeground): New method.
3214         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3215         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3216         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
3217         (setBackground, setForeground): Implement.
3218         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3219         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3220         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3221         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3222         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3223         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3224         Position PangoLayout relative to text's baseline.
3225         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
3226
3227         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
3228         for CENTER and RIGHT alignments.
3229
3230 2003-10-08  Michael Koch  <konqueror@gmx.de>
3231
3232         * java/security/Security.java: Reformated.
3233
3234 2003-10-08  Michael Koch  <konqueror@gmx.de>
3235
3236         * java/text/SimpleDateFormat.java
3237         (compileFormat): Replace Character.isLetter() test with
3238         Character.isLowerCase() || Character.isUpperCase().
3239
3240 2003-10-08  Tom Tromey  <tromey@redhat.com>
3241
3242         * java/lang/StrictMath.java (toDegrees): Multiply before
3243         dividing.
3244         (toRadians): Likewise.
3245
3246 2003-10-08  C. Brian Jones  <cbj@gnu.org>
3247
3248         * java/lang/Math.java
3249         (toRadians): multiply before dividing to reduce decimal error
3250         (toDegrees): ditto
3251
3252 2003-10-08  Michael Koch  <konqueror@gmx.de>
3253
3254         * gnu/gcj/protocol/core/Connection.java,
3255         gnu/gcj/protocol/core/CoreInputStream.java,
3256         gnu/gcj/protocol/core/Handler.java,
3257         gnu/gcj/protocol/core/natCoreInputStream.cc,
3258         gnu/gcj/protocol/file/Connection.java,
3259         gnu/gcj/protocol/file/Handler.java,
3260         gnu/gcj/protocol/gcjlib/Connection.java,
3261         gnu/gcj/protocol/gcjlib/Handler.java,
3262         gnu/gcj/protocol/http/Connection.java,
3263         gnu/gcj/protocol/http/Handler.java,
3264         gnu/gcj/protocol/jar/Connection.java,
3265         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
3266         * gnu/java/net/protocol/core/Connection.java,
3267         gnu/java/net/protocol/core/CoreInputStream.java,
3268         gnu/java/net/protocol/core/Handler.java,
3269         gnu/java/net/protocol/core/natCoreInputStream.cc,
3270         gnu/java/net/protocol/file/Connection.java,
3271         gnu/java/net/protocol/file/Handler.java,
3272         gnu/java/net/protocol/gcjlib/Connection.java,
3273         gnu/java/net/protocol/gcjlib/Handler.java,
3274         gnu/java/net/protocol/http/Connection.java,
3275         gnu/java/net/protocol/http/Handler.java,
3276         gnu/java/net/protocol/jar/Connection.java,
3277         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
3278         * gnu/gcj/runtime/FirstThread.java,
3279         java/net/URL.java: Use moved protocol handlers.
3280         * Makefile.am
3281         (ordinary_java_source_files): Moved files.
3282         (nat_source_files): Likewise.
3283         * Makefile.in: Regenerated.
3284
3285 2003-10-08  Michael Koch  <konqueror@gmx.de>
3286
3287         * gnu/java/nio/SocketChannelImpl.java
3288         (read): Write only read data to buffer.
3289
3290 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3291
3292         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
3293         out.
3294         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
3295         (JCL_free): Attach "unused" attribute to env parameter.
3296         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
3297         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
3298         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3299         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
3300         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3301         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3302         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
3303         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
3304         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
3305         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3306         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
3307         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3308         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
3309         parameters.
3310         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
3311         (initNativeState): Pass 0 as info argument to
3312         gtk_selection_add_target.
3313         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3314         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
3315         unused method implementations.
3316         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3317         (awt_event_handler): Add break statement after default label.
3318         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
3319         (drawPixels): Remove unused variable i.
3320         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3321         (setEnabled): Remove method implementation.
3322         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3323         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
3324         argument.
3325         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
3326         unused function.
3327         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3328         (menu_pos): Assign TRUE to push_in.
3329         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
3330         argument.
3331         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
3332         (create): Remove unused variable layout.
3333         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3334         Pass window_widget, rather than window, to
3335         gtk_widget_set_size_request.
3336         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
3337         structure initialization with NULL values.
3338         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
3339
3340 2003-10-08  Michael Koch  <konqueror@gmx.de>
3341
3342         * java/util/LinkedList.java:
3343         Removed whitespace to match classpath's version again.
3344
3345 2003-10-08  Michael Koch  <konqueror@gmx.de>
3346
3347         * java/util/prefs/Preferences.java
3348         (defaultFactoryClass): Fixed class name.
3349         (getFactory): Create instance of class returned by Class.forName(),
3350         reformated code.
3351
3352 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
3353
3354         * javax/swing/table/AbstractTableModel.java
3355         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
3356         helped stop pulling my hair on this +1 then -1 tricky thing!
3357
3358 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
3359
3360         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
3361         Remove unused parameters.
3362         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
3363         Likewise.
3364         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3365         (keyevent_state_to_awt_mods): Export function.
3366         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3367         (getCaretPosition): Fix TextArea case.
3368         (textcomponent_commit_cb): Get exact event time and modifier
3369         state.
3370         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
3371
3372 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
3373
3374         * java/net/InetSocketAddress.java
3375         (InetSocketAddress): Made exception more clear.
3376         (equals): Handle case when addr is null.
3377         (toString): Likewise.
3378         * java/net/NetworkInterface.java
3379         (static): Load native library.
3380         (getNetworkInterfaces): Rewritten.
3381
3382 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3383
3384         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
3385         field.
3386         (initializeInsets): New method.
3387         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
3388         setBounds unconditionally.
3389         (setBounds): Convert coordinates if parent is a Window.
3390         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
3391         field to GtkComponentPeer.
3392         (GtkContainerPeer): Don't initialize insets.
3393         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3394         New method.
3395         (create): Call new GtkWindowPeer create method.
3396         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
3397         New method.
3398         (create): Call new GtkWindowPeer create method.
3399         (setBounds): Remove method.
3400         (postConfigureEvent): Likewise.
3401         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
3402         type constants with GDK window type constants.
3403         (create(int,boolean,int,int,GtkWindowPeer)): New method.
3404         (create(int,boolean)): Likewise.
3405         (create()): Call create(int,boolean).
3406         (nativeSetBounds): New native method declaration.
3407         (setBounds): Call native method declaration.
3408         (setSize): New native method declaration.
3409         (setBoundsCallback): Likewise.
3410         (postConfigureEvent): Handle change in insets.  Call setSize and
3411         setBoundsCallback methods.
3412         * java/awt/Window.java (Window): Set visible to false.
3413         (setBoundsCallback): New method.
3414         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3415         (gtkWidgetGetLocationOnScreen): If this component is not a
3416         container, adjust the location returned based on the peer's
3417         allocation.
3418         (set(String,boolean)): Revert change from 2003-09-19.
3419         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3420         (awt_event_handler): Fix inset calculation.
3421         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
3422         glue for Window.setBoundsCallback.
3423         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3424         Set up stacking order, window decorations and window manager
3425         hints.
3426         (setBoundsCallback): New method.
3427         (setSize): New method.
3428         (nativeSetBounds): New method.
3429         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
3430
3431 2003-10-02  Tom Tromey  <tromey@redhat.com>
3432
3433         * java/lang/VMClassLoader.java (loadClass): Now native.
3434         * java/lang/natClassLoader.cc (loadClass): Implement.
3435         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
3436
3437 2003-10-02  Michael Koch  <konqueror@gmx.de>
3438
3439         * java/net/InetAddress.java
3440         (zeros): Removed.
3441         (ANY_IF): Initalizie in static block.
3442         (static): Load library with native methods here and initialize ANY_IF.
3443         (isAnyLocalAddress): Check if equal to ANY_IF.
3444         (equals): Use addr directly instead of addr1. Simplify for loop.
3445         (toString): Rename "result" to "host" and add IP address allways.
3446         (getLocalHost): Merged documentation from classpath.
3447         * java/net/ServerSocket.java
3448         (ServerSocket): New package-private constructor used by java.nio.
3449         * java/net/URLConnection.java
3450         (getRequestProperties): Check if already connected.
3451
3452 2003-10-02  Michael Koch  <konqueror@gmx.de>
3453
3454         * java/nio/ByteBufferHelper.java:
3455         Rewrote all methods by suggestions from Eric Blake.
3456
3457 2003-10-02  Michael Koch  <konqueror@gmx.de>
3458
3459         * java/net/URL.java
3460         (DEFAULT_SEARCH_PATH): New static variable.
3461         (ph_cache): Made it a HashMap.
3462         (getURLStreamHandler): Rename propVal to ph_search_path and use
3463         DEFAULT_SEARCH_PATH.
3464
3465 2003-10-02  Michael Koch  <konqueror@gmx.de>
3466
3467         * javax/swing/table/AbstractTableModel.java
3468         (findColumnName): Prevent from NullPointerException if argument
3469         columnName is null.
3470
3471 2003-10-02  Michael Koch  <konqueror@gmx.de>
3472
3473         * javax/swing/table/AbstractTableModel.java:
3474         This patch is based on a patch done by Arnaud Vandyck
3475         <arnaud.vandyck@ulg.ac.be>.
3476         (getColumnName): Fixed method documentation.
3477         (findColumn): Likewise.
3478         (getColumnClass): Likewise.
3479         (isCellEditable): Likewise.
3480         (setValueAt): Likewise.
3481         (addTableModelListener): Likewise.
3482         (removeTableModelListener): Likewise.
3483         (getTableModelListeners): New method.
3484
3485 2003-10-02  Michael Koch  <konqueror@gmx.de>
3486
3487         * javax/swing/table/AbstractTableModel.java:
3488         Reformated.
3489
3490 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
3491
3492         Fix PR libgcj/12475
3493         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
3494         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
3495
3496 2003-10-01  Tom Tromey  <tromey@redhat.com>
3497
3498         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
3499
3500 2003-10-01  Andrew Haley  <aph@redhat.com>
3501
3502         * java/lang/natClass.cc (initializeClass): Check for otable and
3503         atable.
3504         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
3505         loops using for().  Search superinterfaces.  Check for fields as
3506         well as methods.  Initialize atable as well as otable: check for
3507         static methods as well as virtual methods.
3508         * java/lang/Class.h (struct _Jv_AddressTable): New.
3509         (atable): New.
3510         (atable_syms): New.
3511         * include/jvm.h (_Jv_equalUtf8Consts): constify.
3512         * prims.cc (_Jv_equalUtf8Consts): constify.
3513
3514 2003-09-29  Tom Tromey  <tromey@redhat.com>
3515
3516         PR libgcj/10596:
3517         * include/jvm.h (_Jv_FinalizeString,
3518         _Jv_RegisterStringFinalizer): Declare.
3519         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
3520         unintern.
3521         (intern): Updated.
3522         (_Jv_NewStringUtf8Const): Likewise.
3523         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3524         Add special case when finalizing a String.
3525         (in_hash): New function.
3526         (_Jv_RegisterStringFinalizer): Likewise.
3527         (maybe_add_finalize): Likewise.
3528
3529 2003-09-29  Michael Koch  <konqueror@gmx.de>
3530
3531         * java/net/InetAddress.java:
3532         (isMulticastAddress): Dont use local variable to store address length.
3533         Let the compiler optimize this.
3534         (getHostName): Merged dcoumentation from classpath.
3535         (getAddress): Likewise.
3536         (getHostAddress): Likewise.
3537         (hashCode): Likewise.
3538         (equals): Likewise.
3539         (toString): Likewise.
3540         (getByName): Likewise.
3541         (getAllByName): Likewise.
3542
3543 2003-09-29  Michael Koch  <konqueror@gmx.de>
3544
3545         * java/awt/image/IndexColorModel.java: Reformated.
3546
3547 2003-09-29  Michael Koch  <konqueror@gmx.de>
3548
3549         * java/net/InetAddress.java,
3550         java/net/URL.java: Reformated.
3551
3552 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
3553
3554         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
3555         significant bit of descriptor. Include the vtable and sync_info 
3556         fields.
3557
3558 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3559
3560         * java/text/DateFormat.java (format): Throw IllegalArgumentException
3561         if `obj' is not a Number or Date instance.
3562         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
3563         instead of Vector.
3564
3565 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3566
3567         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
3568         Don't call setTimeZone on calendar.
3569
3570 2003-09-27  Michael Koch  <konqueror@gmx.de>
3571
3572         * java/net/URL.java (getURLStreamHandler): Compile fixes.
3573
3574 2003-09-27  Michael Koch  <konqueror@gmx.de>
3575
3576         * java/net/URL.java (getURLStreamHandler):
3577         Check if we have to use cache before trying to retrieve handler from
3578         cache. Rename facName to clsName to match classpath more. Reformated
3579         some little pieces.
3580
3581 2003-09-27  Michael Koch  <konqueror@gmx.de>
3582
3583         * gnu/java/nio/SelectionKeyImpl.java
3584         (ch): Make package-private again. Jikes found this bug.
3585         Jeff Sturm submitted PR12426 for this to bugzilla
3586         to fix this bug in gcj.
3587
3588 2003-09-26  Michael Koch  <konqueror@gmx.de>
3589
3590         * java/rmi/server/RMIClassLoader.java:
3591         Reformatted file, no functional code changes.
3592
3593 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
3594
3595         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
3596         Save space for some pixels at the buffer end.  Added Javadoc.
3597
3598 2003-09-26  Tom Tromey  <tromey@redhat.com>
3599
3600         * java/io/ObjectOutputStream.java (writeFields): Fixed
3601         indentation.
3602         (putFields): Likewise.
3603
3604 2003-09-26  Michael Koch  <konqueror@gmx.de>
3605
3606         * java/nio/ByteBufferHelper.java:
3607         Totally reworked with help from Eric Blake.
3608
3609 2003-09-26  Tom Tromey  <tromey@redhat.com>
3610
3611         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
3612         * java/awt/geom/PathIterator.java: Documentation fixes.
3613
3614 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
3615
3616         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
3617         (select): Likewise.
3618         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
3619
3620 2003-09-25  Michael Koch  <konqueror@gmx.de>
3621
3622         * gnu/java/nio/DatagramChannelImpl.java
3623         (getNativeFD): New method.
3624         * gnu/java/nio/SelectionKeyImpl.java
3625         (SelectionKeyImpl): Class made abstract.
3626         (fd): Removed.
3627         (SelectionKeyImpl): Remove fd argument.
3628         (getNativeFD): New method.
3629         * gnu/java/nio/SocketChannelImpl.java
3630         (getNativeFD): New method.
3631         gnu/java/nio/DatagramChannelSelectionKey.java,
3632         * gnu/java/nio/SocketChannelSelectionKey.java:
3633         New files.
3634         * Makefile.am (ordinary_java_source_files):
3635         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
3636         gnu/java/nio/SocketChannelSelectionKey.java.
3637         * Makefile.in: Regenerated.
3638
3639 2003-09-25  Michael Koch  <konqueror@gmx.de>
3640
3641         * java/lang/reflect/Proxy.java
3642         (getProxyClass): Remove workaround for gcj 3.0.x.
3643
3644 2003-09-25  Michael Koch  <konqueror@gmx.de>
3645
3646         * gnu/java/net/PlainDatagramSocketImpl.java
3647         (finalize): Moved to directly after constructor.
3648         (getNativeFD): New method.
3649         * gnu/java/net/PlainSocketImpl.java
3650         (getNativeFD): New method.
3651
3652 2003-09-25  Ingo Proetel  <proetel@aicas.com>
3653
3654         * java/io/ObjectOutputStream.java:
3655         Allow putFields be called more than once.
3656
3657 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
3658
3659         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
3660         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
3661         * java/awt/image/BufferedImage.java (toString): Implement.
3662
3663 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
3664
3665         * aclocal.m4: Rebuilt.
3666         * configure: Rebuilt.
3667
3668 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
3669
3670         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
3671         field.
3672
3673 2003-09-25  Michael Koch  <konqueror@gmx.de>
3674
3675         * gnu/java/nio/SelectorImpl.java
3676         (implSelect): Renamed from java_do_select.
3677         (select): Call native implSelect() and add support for Thread
3678         interruption.
3679         * gnu/java/nio/natSelectorImpl.cc
3680         (implSelect): Renamed from java_do_select.
3681
3682 2003-09-25  Michael Koch  <konqueror@gmx.de>
3683
3684         * gnu/java/nio/SelectorImpl.java
3685         (selectNow): Made final, throws IOException.
3686         (select): Likewise.
3687         (getFDsAsArray): Made final.
3688         (selectedKeys): Likewise.
3689         (wakeup): Likewise.
3690         (deregisterCancelledKeys): Likewise.
3691         (register): Likewise.
3692         (ass): Removed.
3693         (add_selected): Removed.
3694         * gnu/java/nio/natSelectorImpl.cc:
3695         No need to include bstring.h or gcj/cni.h.
3696         (helper_put_filedescriptors): Rewritten.
3697         (helper_get_filedescriptors): Rewritten.
3698
3699 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
3700
3701         * java/awt/font/FontRenderContext.java (getTransform): Return
3702         copy of internal transform object. Add Javadoc.
3703         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
3704         winding rule as Sun J2SE.
3705         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
3706
3707 2003-09-25  Ingo Proetel  <proetel@aicas.com>
3708
3709         * java/rmi/Naming.java:
3710         Added comments, now accepts pseudo protocol "rmi".
3711
3712 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
3713
3714         * java/text/DecimalFormat.java (format): Don't immediatly round
3715         baseNumber to long.
3716         (setMinimumIntegerDigits): Call super.
3717         (setMinimumFractionDigits): Likewise.
3718         (setMaximumIntegerDigits): Likewise.
3719         (setMaximumFractionDigits): Likewise.
3720
3721 2003-09-25  Michael Koch  <konqueror@gmx.de>
3722
3723         * gnu/java/nio/DatagramChannelImpl.java
3724         (DatagramChannelImpl): Made class final.
3725         (blocking): Made private.
3726         (socket): Made it a NIODatagramSocket and private.
3727         (DatagramChannelImpl): create NIODatagramSocket instead of
3728         DatagramSocket.
3729         (implConfigureBlocking): Set socket timeout.
3730         (connect): Check that channel is not closed.
3731         (write): Implemented.
3732         (write): Rewritten.
3733         (read): Implemented.
3734         (read): Rewritten.
3735         (receive): Implemented.
3736         (send): Implemented.
3737         * gnu/java/nio/SelectionKeyImpl.java
3738         (readyOps): Made private.
3739         (interestOps): Made private.
3740         (impl): Made private.
3741         (ch): Made private.
3742         (readyOps): Check if selection key is valid.
3743         (interestOps): Likewise.
3744         * gnu/java/nio/SelectorImpl.java
3745         (closed): Removed.
3746         (keys): Made private.
3747         (selected): Made private.
3748         (finalize): New method.
3749         (implCloseSelector): Rewritten.
3750         (keys): Return unmodifiable Set.
3751         (deregisterCancelledKeys): Fixed typo in method name.
3752         * gnu/java/nio/SocketChannelImpl.java
3753         (SocketChannelImpl): Made class final.
3754         (socket): Made it a NIOSocket and private.
3755         (blocking): Made private.
3756         (connected): Made private.
3757         (connectionPending): New member variable.
3758         (SocketChannelImpl): New implementation.
3759         (finalizer): Use isConnected().
3760         (connect): Rewritten.
3761         (finishConnect): Throws IOException, implemented.
3762         (isConnectionPending): Return connectionPending.
3763         (read): Rewritten.
3764         (write): Rewritten.
3765         * gnu/java/nio/NIOConstants.java: New file.
3766         * Makefile.am (ordinary_java_source_files):
3767         Added gnu/java/nio/NIOConstants.java.
3768         * Makefile.in: Regenerated.
3769
3770 2003-09-25  Michael Koch  <konqueror@gmx.de>
3771
3772         * java/net/InetAddress.java:
3773         Reorder imports, remove implementation comment.
3774         (isMulticastAddress): Merged documentation from classpath.
3775         * java/net/URLConnection.java
3776         (setRequestProperty): Check key for null, fix documentation.
3777         (adREquestProperty): Check key for null, remove wrong implementation
3778         and replace it with comment to overwrite this method in subclasses,
3779         fix documentation.
3780
3781 2003-09-25  Tom Tromey  <tromey@redhat.com>
3782
3783         * java/lang/reflect/Proxy.java (generate): Uncomment protection
3784         domain code.
3785         * java/lang/natClassLoader.cc (defineClass): Added `loader'
3786         argument.
3787         (linkClass0): Now in VMClassLoader.
3788         (markClassErrorState0): Likewise.
3789         (getSystemClassLoaderInternal): New method.
3790         * java/lang/natClass.cc (initializeClass): Use
3791         VMClassLoader::resolveClass.
3792         * java/lang/ClassLoader.java: New version, from Classpath.
3793         * java/lang/Class.java (getProtectionDomain):
3794         protectionDomainPermission and unknownProtectionDomain now in
3795         VMClassLoader.
3796         * java/lang/Class.h: VMClassLoader now a friend class.
3797         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
3798         package-private.
3799         * gcj/javaprims.h: Regenerated class list.
3800         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
3801         * java/lang/VMClassLoader.java: New version from Classpath;
3802         modified for libgcj use.
3803
3804 2003-09-25  Michael Koch  <konqueror@gmx.de>
3805
3806         * java/nio/ByteBufferHelper.java:
3807         New file.
3808         * java/nio/ByteBufferImpl.java,
3809         java/nio/DirectByteBufferImpl.java,
3810         java/nio/MappedByteBufferImpl.java
3811         (getType,putType): Use new helper class ByteBufferHelper.
3812         * Makefile.am (ordinary_java_source_files):
3813         Added java/nio/ByteBufferHelper.java.
3814         * Makefile.in: Regenerated.
3815
3816 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
3817
3818         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
3819         PR libgcj/12388.
3820
3821 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3822
3823         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
3824         Strings, even if buffer is already shared.
3825
3826 2003-09-24  Michael Koch  <konqueror@gmx.de>
3827
3828         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
3829
3830 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3831
3832         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
3833         (write): Likewise.
3834         (SocketInputStream): Declare `read' and `write' methods native.
3835         Remove implementations which called back into PlainSocketImpl.
3836         Remove unneccessary overridden methods.
3837         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
3838         to inner class PlainSocketImpl.SocketInputStream.
3839         (write): Likewise.
3840         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
3841         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
3842         * gnu/java/net/SocketInputStream.java: Remove unused file.
3843         * gnu/java/net/SocketOutputStream.java: Likewise.
3844         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
3845         and SocketOutputStream.
3846         * Makefile.in: Rebuilt.
3847
3848 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
3849
3850         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
3851
3852         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
3853         markers.
3854
3855 2003-09-22  Anthony Green  <green@redhat.com>
3856
3857         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
3858         * configure: Rebuilt.
3859
3860 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
3861
3862         PR java/12350:
3863         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
3864
3865 2003-09-22  Michael Koch  <konqueror@gmx.de>
3866
3867         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
3868         compiler warning but produces a different one now.
3869
3870 2003-09-22  Michael Koch  <konqueror@gmx.de>
3871
3872         * java/net/InetAddress.java:
3873         Moves around some code, reformats and adds documentation.
3874         No functional changes.
3875
3876 2003-09-22  Michael Koch  <konqueror@gmx.de>
3877
3878         * java/net/JarURLConnection.java
3879         (JarURLConnection): Modifed code to match classpath more, fixed comment.
3880         (getCertificates): Made it more error prone.
3881         (getMainAttributes): Likewise.
3882         (getAttributes): Implemented.
3883         (getManifest): Reformatted code.
3884
3885 2003-09-20  Tom Tromey  <tromey@redhat.com>
3886
3887         * java/awt/Component.java: Indentation cleanup from Classpath.
3888
3889 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
3890
3891        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
3892        checking to follow 1.4.2 spec.
3893
3894 2003-08-11  Ingo Proetel  <proetel@aicas.com>
3895
3896         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
3897         is compatible in case client and server are running in the same VM
3898         (remerged from Classpath on 2003-09-20)
3899
3900 2003-09-19  David Daney <ddaney@avtrex.com>
3901
3902         * java/lang/ref/Reference.java (clear): Set referent to null and
3903         synchronize.
3904
3905 2003-09-19  Michael Koch  <konqueror@gmx.de>
3906
3907         * gnu/java/nio/NIODatagramSocket.java,
3908         gnu/java/nio/NIOSocket.java: New files.
3909         * Makefile.am (ordinary_java_source_files):
3910         Added gnu/java/nio/NIODatagramSocket.java and
3911         gnu/java/nio/NIOSocket.java.
3912         * Makefile.in: Regenerated.
3913
3914 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3915
3916         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
3917         top-level GTK window.
3918         (getArgs): Add "title" property.
3919         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
3920         "allow_shrink" and "allow_grow" properties.
3921         * java/awt/Dialog.java: Initialize resizable to true and change
3922         comments accordingly.  Initialize visible to false in
3923         constructors.
3924         * java/awt/Frame.java (dispose): Remove method.
3925         * java/awt/Window.java (ownedWindows): New field.
3926         (Window(Window,GraphicsConfiguration)): Add a weak reference to
3927         owner's ownedWindows vector.
3928         (finalize): Remove method.
3929         (hide): Hide owned windows.
3930         (dispose): Dispose of owned windows.
3931         (getOwnedWindows): Implement.
3932         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
3933         unused GtkArg code.
3934         (set(String,boolean)): Clamp gboolean parameter to g_object_set
3935         to TRUE or FALSE.
3936         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3937         (create): Set window's size requisition.
3938         (connectHooks): Fix indentation.
3939         (setResizable): Remove function.
3940         (static setBounds): Likewise.
3941         (setBounds): Replace call to setBounds with GTK size requisition
3942         and resize calls.
3943
3944 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
3945
3946         * win32-threads.cc: (ensure_interrupt_event_initialized) New
3947         function for lazy initialization of an auto-reset event.
3948         (_Jv_CondWait) Added thread interrupt support.
3949         (_Jv_ThreadInitData) Added initialization of interrupt support
3950         members.
3951         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
3952         (_Jv_ThreadStart) Removed unused code.
3953         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
3954         to an external caller.
3955         (_Jv_ThreadInterrupt) Implemented.
3956         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
3957         event for interrupt support as well as a mutex which regulates
3958         access to this.
3959         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
3960         event to an external caller.
3961         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
3962         process.
3963         (waitFor) Added interrupt support.
3964
3965 2003-09-19  Michael Koch  <konqueror@gmx.de>
3966
3967         * java/net/DatagramSocket.java (getLocalAddress):
3968         Renamed result variable to localAddr.
3969         * java/net/MulticastSocket.java:
3970         No need to import gnu.java.net.PlainDatagramSocketImpl.
3971
3972 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
3973
3974         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
3975         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
3976
3977 2003-09-18  Tom Tromey  <tromey@redhat.com>
3978
3979         * javax/naming/InitialContext.java: Reindented.
3980
3981 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
3982             Helmer Kraemer <hkraemer@freenet.de>
3983
3984         * javax/naming/spi/NamingManager.java (getURLContext,
3985         getObjectInstance, getStateToBind): Always use current thread's
3986         context class loader when calling Class.forName.
3987
3988 2003-09-18  Michael Koch  <konqueror@gmx.de>
3989
3990         * java/util/Timer.java (finalize): Added "throws Throwable".
3991
3992 2003-09-18  Michael Koch  <konqueror@gmx.de>
3993
3994         * java/net/DatagramSocket.java
3995         (ch): Removed.
3996         (receive): Use getChannel() instead of ch.
3997         (send): Likewise.
3998         (getChannel): Return null.
3999         * java/net/ServerSocket.java
4000         (ch): Removed.
4001         (setChannel): Removed.
4002         (implAccept): Use getChannel() instead of ch.
4003         (close): Likewise.
4004         (getChannel): Return null.
4005         * java/net/Socket.java
4006         (ch): Removed.
4007         (connect): Use getChannel() instead of ch.
4008         (setChannel): Removed.
4009         (getChannel): Return null.
4010
4011 2003-09-18  Mark Wielaard  <mark@klomp.org>
4012
4013         Reported by Guilhem Lavaux and Julian Dolby
4014         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
4015         field "serialPersistentFields", not "getSerialPersistentFields".
4016
4017 2003-09-18  Ingo Proetel  <proetel@aicas.com>
4018
4019         * java/util/TimeZone.java: Initialize lazily.
4020         * java/util/Locale.java (readManifest): Fix check for country.
4021         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
4022         traceable 
4023         * java/util/Calendar.java: Make use of ResourceBundle better
4024         traceable.
4025
4026 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
4027
4028         * java/sql/Timestamp.java
4029         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
4030
4031 2003-09-18  David P Grove  <groved@us.ibm.com>
4032
4033         * java/io/LineNumberReader (read): Don't reset pos & limit when
4034         markPos is 0.
4035
4036 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
4037
4038         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
4039         constant.
4040         (computeArguments): use computeTypicalArguments.
4041
4042         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
4043         Compile_jikes.java and RMICException.java.
4044         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
4045         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
4046         * gnu/java/rmi/rmic/RMICException.java: Likewise.
4047  
4048         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
4049  
4050         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
4051         (computeTypicalArguments): New method.
4052         (compile): Print compiler output to System.out. Collect compiler
4053         error output and use it in exception message.
4054  
4055         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
4056         (destination): Initialize to null.
4057         (run): Replace file separator with '.' when processing class.
4058         (processClass): Replace '.' with file separator when compiling
4059         classes.
4060         (findClass): Use SystemClassLoader to load class.
4061         (generateStub): Use full class name for generated stub, that puts
4062         it in right path.  Replace '.' with file separator when generating
4063         stub file name. Write just the stub class name without package
4064         information as class name, and constructor name. Write only
4065         interface names for interfaces extending java.rmi.Remote as
4066         implemented.
4067         (generateSkel): Use full class name for generated skel, that puts
4068         it in right path.  Replace '.' with file separator when generating
4069         stub file name. Write just the stub class name without package
4070         information as class name.
4071
4072 2003-09-18  Michael Koch  <konqueror@gmx.de>
4073
4074         * Makefile.am (rmi_java_source_files):
4075         Added gnu/java/rmi/rmic/Compile_kjc.java,
4076         gnu/java/rmi/rmic/Compile_jikes.java and
4077         gnu/java/rmi/rmic/RMICException.java
4078         * Makefile.in: Regenerated.
4079
4080 2003-09-17  Graydon Hoare  <graydon@redhat.com>
4081
4082         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4083         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4084         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
4085         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
4086         New files.
4087
4088 2003-09-16  Graydon Hoare  <graydon@redhat.com>
4089
4090         * java/awt/BufferedImage.java (setData): Support non-component
4091         sample models.
4092         (getData): Same.
4093
4094 2003-09-10  Graydon Hoare  <graydon@redhat.com>
4095
4096         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
4097         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
4098
4099 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
4100
4101         * configure.in: Standardized help text case of
4102         --enable-hash-synchronization
4103         New configure switch --enable-libgcj-multifile and corresponding
4104         automake conditional ONESTEP.
4105         * configure: Rebuilt.
4106         * Makefile.am: Use automake conditional ONESTEP to determine
4107         whether classfiles should be compiled individually or all
4108         at once.
4109         * Makefile.in: Rebuilt.
4110
4111 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
4112
4113         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
4114         Remove method declaration.
4115         (create()): Call native create.
4116         (create(int)): New method.
4117         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4118         (create): Add window_id parameter.  Call gtk_plug_new with
4119         window_id parameter.
4120         (construct): Remove method implementation.
4121
4122 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
4123
4124         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
4125         (mostlyclean-local): New target patterned after clean-local
4126         which recursively deletes all libtool objects using 'libtool rm'.
4127         (clean-local): Slightly modified comment to alleviate monotony.
4128         (distclean-local): New target patterned after clean-local
4129         which recursively deletes all .d files.
4130         * Makefile.in: Rebuilt.
4131
4132 2003-09-11  Tom Tromey  <tromey@redhat.com>
4133
4134         * java/net/URLStreamHandler.java (parseURL): If original file
4135         ends with "/", so must canonical result.
4136         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
4137         with nul-termination and finding previous "/".
4138
4139 2003-09-11  Michael Koch  <konqueror@gmx.de>
4140
4141         * acconfig.h: Removed most items.
4142         * configure.in: Added descriptions to AC_DEFINE macros that where in
4143         acconfig.h before.
4144         * include/config.h.in: Regenerated.
4145
4146 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
4147
4148         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
4149         if one is installed. Improve Javadoc.
4150         (getSystemEventQueueImpl): Improve Javadoc.
4151
4152 2003-09-11  Tom Tromey  <tromey@redhat.com>
4153
4154         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
4155         file does not exist.
4156
4157 2003-09-10  Anthony Green  <green@redhat.com>
4158
4159         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
4160         Specify full name when referencing ::java::net::InetAddress.
4161         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
4162         Fix argument type.
4163
4164 2003-09-10  Michael Koch  <konqueror@gmx.de>
4165
4166         * acconfig.h (__NO_MATH_INLINES): Removed.
4167         * configure.in: Removed check for g++ math inlining bug from 2000.
4168         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
4169         libgcj_cxxflags.
4170         * configure: Regenerated.
4171
4172 2003-09-10  David Daney <ddaney@avtrex.com>
4173
4174         * java/util/Arrays.java (equals(all variants)): Quit using
4175         NullPointerException catching to detect null valued parameters.
4176
4177 2003-09-10  Michael Koch  <konqueror@gmx.de>
4178
4179         * java/net/DatagramSocket.java,
4180         java/net/MulticastSocket.java,
4181         java/net/ServerSocket.java,
4182         java/net/Socket.java:
4183         Use gnu.java.net.Plain*SocketImpl instead of
4184         java.net.PlainSocketImpl.
4185         * java/net/PlainDatagramSocketImpl.java,
4186         java/net/PlainSocketImpl.java,
4187         java/net/SocketInputStream.java,
4188         java/net/SocketOutputStream.java,
4189         java/net/natPlainDatagramSocketImplNoNet.cc,
4190         java/net/natPlainDatagramSocketImplPosix.cc,
4191         java/net/natPlainDatagramSocketImplWin32.cc,
4192         java/net/natPlainSocketImplNoNet.cc,
4193         java/net/natPlainSocketImplPosix.cc,
4194         java/net/natPlainSocketImplWin32.cc:
4195         Removed.
4196         * gnu/java/net/PlainDatagramSocketImpl.java,
4197         gnu/java/net/PlainSocketImpl.java,
4198         gnu/java/net/SocketInputStream.java,
4199         gnu/java/net/SocketOutputStream.java,
4200         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
4201         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
4202         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
4203         gnu/java/net/natPlainSocketImplNoNet.cc,
4204         gnu/java/net/natPlainSocketImplPosix.cc,
4205         gnu/java/net/natPlainSocketImplWin32.cc:
4206         New files (moved from java/net).
4207         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
4208         instead of java/net/natPlain*SocketImpl.cc.
4209         * configure: Regenerated.
4210         * Makefile.am: Moved files from java/net to gnu/java/net.
4211         * Makefile.in: Regenerated.
4212
4213 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
4214
4215         * configure: Regenerate.
4216
4217 2003-09-04  Tom Tromey  <tromey@redhat.com>
4218
4219         * configure.host: Removed erroneous comment.
4220
4221         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
4222         lvalue cast; use correct rvalue cast.
4223
4224 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
4225
4226         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
4227         and height arguments to GtkWindowPeer.create method call.
4228         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4229         (create(int,int,int)): New method.
4230         (create(int)): Add call to new create method.
4231         (create()): Add width and height arguments to create method
4232         call.
4233         (GtkWindowPeer): Remove call to setBounds.
4234         * java/awt/Frame.java (Frame(String)): Initialize visible field
4235         to false.
4236         (Frame(GraphicsConfiguration)): Likewise.
4237         (Frame(String,GraphicsConfiguration)): Likewise.
4238         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4239         Add width and height parameters.  Call
4240         gtk_window_set_default_size.
4241         (connectHooks): Remove unused name variable.
4242         (static setBounds): Call gtk_window_resize not
4243         gtk_widget_set_usize.
4244         (setBounds): Remove unused nchildren variable.
4245
4246 2003-08-31  Ingo Proetel  <proetel@aicas.com>
4247
4248         * java/util/logging/Logger.java: provide class and method information
4249         * java/util/logging/LogManager.java: create handlers
4250         * java/util/logging/SimpleFormatter.java: print souceClassName and
4251         sourceMethodName
4252
4253 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4254
4255         * win32.cc: fixed tab, indentation and whitespace
4256         inconsistencies
4257         removed jvm.h include
4258         added includes java/lang/UnsupportedOperationException.h,
4259         java/io/IOException.h, java/net/SocketException.h
4260         (WSAEventWrapper): class implementation
4261         (_Jv_WinStrError): implemented both overloads
4262         (_Jv_ThrowIOException): implemented both overloads
4263         (_Jv_ThrowSocketException): implemented both overloads
4264         (_Jv_select): implemented
4265         * include/win32.h: fixed tab, indentation and whitespace
4266         inconsistencies
4267         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
4268         added jvm.h include
4269         (WSAEventWrapper): added class declaration
4270         (_Jv_WinStrError): added both overload declarations
4271         (_Jv_ThrowIOException): added both overload declarations
4272         (_Jv_ThrowSocketException): added both overload declarations
4273         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
4274         (_Jv_select): added declaration
4275         (_Jv_socket): removed
4276         (_Jv_connect): removed
4277         (_Jv_close): removed
4278         (_Jv_bind): removed
4279         (_Jv_accept): removed
4280         (_Jv_listen): removed
4281         (_Jv_write): removed
4282         (_Jv_read): removed
4283         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
4284         whitespace inconsistencies
4285         replaced <windows.h> #include with <platform.h>
4286         removed jvm.h include
4287         (testCanUseGetHandleInfo): new function which tests whether Win32
4288         GetHandleInformation() call can be used with console buffer handles
4289         (only supported on >=WinNT 5.0)
4290         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
4291         (valid): rewrote implementation using GetHandleInformation()
4292         (sync):         changed exception throwing to use error string and exception
4293         helper methods declared in include/win32.h
4294         (open): likewise
4295         (write): likewise
4296         (setLength): likewise
4297         (close): likewise
4298         (seek): likewise
4299         (getFilePointer): likewise
4300         (read): likewise
4301         * java/io/natFileWin32.cc: fixed tab, indentation and
4302         whitespace inconsistencies
4303         replaced <windows.h> #include with <platform.h>
4304         removed jvm.h include
4305         (_access): use JV_TEMP_UTF_STRING
4306         (_stat): likewise
4307         (performMkDir): use JV_TEMP_UTF_STRING
4308         (performRenameTo): likewise
4309         (performDelete): likewise
4310         (performCreate): likewise
4311         (performSetReadOnly): likewise
4312         (performSetLastModified): likewise
4313         * java/lang/natWin32Process.cc: fixed tab, indentation and
4314         whitespace inconsistencies
4315         replaced <windows.h> #include with <platform.h>
4316         removed includes gcj/cni.h, jvm.h
4317         (new_string): removed
4318         (startProcess): use JV_TEMP_UTF_STRING,
4319         changed exception throwing to use error string and exception
4320         helper methods declared in include/win32.h
4321         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
4322         whitespace inconsistencies
4323         replaced <windows.h> #include with <platform.h>
4324         removed jvm.h include
4325         removed DISABLE_JAVA_NET conditional code
4326         removed POSIX conditional code not relevant to Win32
4327         (aton): use JV_TEMP_UTF_STRING
4328         removed POSIX conditional code not relevant to Win32
4329         (lookup): likewise
4330         (getLocalHostName): likewise
4331         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
4332         whitespace inconsistencies
4333         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
4334         removed DISABLE_JAVA_NET conditional code
4335         removed POSIX conditional code not relevant to Win32
4336         (winsock2GetRealNetworkInterfaces): new function to compute network
4337         interfaces via Winsock2 API
4338         (determineGetRealNetworkInterfacesFN): new function for returning
4339         a function pointer to the function used to compute network interfaces.
4340         (getRealNetworkInterfaces): implemented
4341         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
4342         whitespace inconsistencies
4343         removed gcj/cni.h include
4344         removed DISABLE_JAVA_NET conditional code
4345         removed POSIX conditional code not relevant to Win32
4346         changed net POSIXisms to Win32isms
4347         replaced _Jv socket-related calls with their real Win32 equivalents
4348         changed exception throwing to use error string and exception
4349         helper methods declared in include/win32.h
4350         (peekData): implemented timeout support
4351         (receive): likewise
4352         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
4353         whitespace inconsistencies
4354         removed gcj/cni.h and gcj/javaprims.h includes
4355         removed DISABLE_JAVA_NET conditional code
4356         removed POSIX conditional code not relevant to Win32
4357         changed net POSIXisms to Win32isms
4358         replaced _Jv socket-related calls with their real Win32
4359         equivalents
4360         changed exception throwing to use error string and exception
4361         helper methods declared in include/win32.h
4362         (throwConnectException): helper function for connect()
4363         (connect): implemented timeout support
4364         (accept): likewise
4365         (doRead): new helper function common to both read() method overloads,
4366         includes timeout support
4367         (read): implemented both overloads in terms of doRead()
4368         (available): implemented using ioctlsocket()
4369
4370 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4371
4372         * java/net/natInetAddressWin32.cc,
4373         java/net/natNetworkInterfaceWin32.cc,
4374         java/net/natPlainDatagramSocketImplWin32.cc,
4375         java/net/natPlainSocketImplWin32.cc:
4376         Readded code enclosed in DISABLE_JAVA_NET defines
4377         in preparation for MinGW cleanup / networking
4378         patch
4379
4380 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4381
4382         * Makefile.am: Fixed problems with parallel makes.
4383         (all_java_class_files): Readded definition.
4384         (all_java_class_files): New target which depends on
4385         libgcj-@gcc_version@.jar
4386         * Makefile.in: Rebuilt
4387
4388 2003-08-28  Tom Tromey  <tromey@redhat.com>
4389
4390         * Makefile.in: Rebuilt.
4391         * Makefile.am (ordinary_java_source_files): Added new files.
4392         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
4393         friend.
4394         * java/net/URLClassLoader.java (findClass): Don't use
4395         findURLResource.  Use loader's getClass method.
4396         (URLLoader.getClass): New method.
4397         (addURL): Handle `gcjlib' URLs.
4398         (SoURLLoader): New class.
4399         (SoResource): Likewise.
4400         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
4401         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
4402         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
4403         (_Jv_RegisterCoreHook): Declare.
4404         (_Jv_FindCore): Declare.
4405         * gnu/gcj/runtime/SharedLibHelper.java: New file.
4406         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
4407         typedef.
4408         (core_hook): New function.
4409         (struct SharedLibDummy) [saved_core]: New field.
4410         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
4411         (register_hook): Set protection domain and class loader on new
4412         class.
4413         (finalize): Free core chain.
4414         * gnu/gcj/Core.java (Core): New constructor.
4415         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
4416         SharedLibHelper.
4417         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
4418         (_Jv_create_core): New function.
4419         (create): Use it.
4420         (default_register_resource): New function.
4421         (_Jv_RegisterCoreHook): New global.
4422         (_Jv_RegisterResource): Use it.
4423         (core_chain_struct): Removed.
4424         (_Jv_FindCore): New function.
4425         (_Jv_FreeCoreChain): New function.
4426
4427 2003-08-29  Michael Koch  <konqueror@gmx.de>
4428
4429         * java/net/natInetAddressWin32.cc,
4430         java/net/natNetworkInterfaceWin32.cc,
4431         java/net/natPlainDatagramSocketImplWin32.cc,
4432         java/net/natPlainSocketImplWin32.cc:
4433         Removed code enclosed in DISABLE_JAVA_NET defines.
4434
4435 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
4436
4437         * Makefile.am: (write_entries_to_file) New parameterized
4438         function for writing entries to a file one line at a time.
4439         (all_java_class_files): Removed definition.
4440         (.java.class) Removed.target.
4441         (libgcj-@gcc_version@.jar): Changed dependency to
4442         $(all_java_source_files); added compilation step which compiles
4443         all changed source files in one pass.
4444         (libgcj.la) Refactored to use write_entries_to_file.
4445         (lib-gnu-awt-xlib.la) Likewise.
4446         (install-data-local) Likewise.
4447         (write-entries-to-file-check) New target which tests write_entries_to_file.
4448         (all-recursive): Changed dependency from $(all_java_class_files)
4449         to libgcj-@gcc_version@.jar
4450         * Makefile.in: Rebuilt.
4451
4452 2003-08-26  Tom Tromey  <tromey@redhat.com>
4453
4454         * java/lang/StrictMath.java: Typo fix.
4455         * java/lang/Math.java: Typo fix.
4456
4457 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
4458
4459         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
4460         of the removed Thread.
4461
4462 2003-08-26  Mark Wielaard  <mark@klomp.org>
4463
4464         Reported by David Holmes <dholmes@dltech.com.au>.
4465         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
4466         Collections.synchronizedMap.
4467         * java/lang/ThreadLocal.java (valueMap): Likewise.
4468
4469 2003-08-26  Mark Wielaard  <mark@klomp.org>
4470
4471         * java/security/acl/Acl.java: Fix broken p tag.
4472         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
4473         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
4474         * javax/swing/plaf/TreeUI.java: Likewise.
4475         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
4476         * java/util/Properties.java: Use the word umlaut, not &auml; in api
4477         documentation.
4478         * java/util/PropertyResourceBundle.java: Likewise and add closing code
4479         tag.
4480
4481 2003-08-26  Tom Tromey  <tromey@redhat.com>
4482
4483         * Makefile.in: Rebuilt.
4484         * Makefile.am: Removed all GNU-make-specific FIXME comments.
4485
4486         * java/lang/ref/Reference.java (get): Indentation fix.
4487         (clear): Comment fix.
4488         (enqueue): Likewise.
4489         (lock): Likewise.
4490         (referent): Likewise.
4491
4492 2003-08-26  Tom Tromey  <tromey@redhat.com>
4493
4494         PR java/12058:
4495         * java/lang/reflect/natArray.cc (set): Allow null as argument.
4496
4497         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
4498         (ProxyData.getPackage): New method.
4499         (ProxyData.getProxyData): Use package name, not Package.
4500         (ClassFactory.ClassFactory): Updated.
4501
4502 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
4503         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
4504         * Makefile.in: re-generated.
4505         * gnu/awt/j2d/IntegerGraphicsState.java
4506         (ScreenCoupledImage): new interface.
4507         (drawImage): detect ScreenCoupledImage instances.
4508         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
4509         * gnu/awt/xlib/XEventLoop.java
4510         (createEvent): re-formatted, and rearranged to avoid null pointer.
4511         * gnu/awt/xlib/XGraphics.java
4512         (drawImage): added XOffScreenImage handling.
4513         * gnu/awt/xlib/XOffScreenImage.java: new file.
4514         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
4515         * gnu/gcj/xlib/GC.java (copyArea): new native method.
4516         * gnu/gcj/xlib/XAnyEvent.java
4517         (TYPE_KEY_PRESS): new constant.
4518         (TYPE_KEY_RELEASE): new constant.
4519         (TYPE_MOTION_NOTIFY): new constant.
4520         (TYPE_ENTER_NOTIFY): new constant.
4521         (TYPE_LEAVE_NOTIFY): new constant.
4522         (TYPE_FOCUS_IN): new constant.
4523         (TYPE_FOCUS_OUT): new constant.
4524         (TYPE_KEYMAP_NOTIFY): new constant.
4525         (TYPE_GRAPHICS_EXPOSE): new constant.
4526         (TYPE_NO_EXPOSE): new constant.
4527         (TYPE_VISIBILITY_NOTIFY): new constant.
4528         (TYPE_CREATE_NOTIFY): new constant.
4529         (TYPE_DESTROY_NOTIFY): new constant.
4530         (TYPE_MAP_REQUEST): new constant.
4531         (TYPE_CONFIGURE_REQUEST): new constant.
4532         (TYPE_GRAVITY_NOTIFY): new constant.
4533         (TYPE_RESIZE_REQUEST): new constant.
4534         (TYPE_CIRCULATE_NOTIFY): new constant.
4535         (TYPE_CIRCULATE_REQUEST): new constant.
4536         (TYPE_PROPERTY_NOTIFY): new constant.
4537         (TYPE_SELECTION_CLEAR): new constant.
4538         (TYPE_SELECTION_REQUEST): new constant.
4539         (TYPE_SELECTION_NOTIFY): new constant.
4540         (TYPE_COLORMAP_NOTIFY): new constant.
4541         (TYPE_MAPPING_NOTIFY): new constant.
4542         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
4543         * gnu/gcj/xlib/natGC.cc (copyArea): new method
4544         * java/awt/Component.java (createImage): changed to use peer method.
4545
4546 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4547
4548         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
4549         name, not XLFD, to native drawString.
4550         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4551         Replace XLFD-based implementation with Pango-based
4552         implementation.
4553
4554 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4555
4556         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
4557         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
4558
4559 2003-08-21  David Daney  <ddaney@avtrex.com>
4560
4561         Fix for PR libgcj/12013:
4562         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4563         Check `cleared' field.
4564         * java/lang/ref/Reference.java (copy): Updated comments.
4565         (cleared): New field.
4566         (clear): Rewrote.
4567
4568 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
4569             Thomas Fitzsimmons  <fitzsim@redhat.com>
4570
4571         * Makefile.am (gtk_awt_peer_sources): Add
4572         gnu/java/awt/peer/GLightweightPeer.java.  Remove
4573         gnu/java/awt/GLightweightPeer.java.
4574         * gnu/java/awt/GLightweightPeer.java: Remove file.
4575         * gnu/java/awt/peer/GLightweightPeer.java: New file.
4576         * java/awt/Component.java (getToolkit): Add comment about
4577         lightweight components.
4578         * java/awt/Toolkit.java (createComponent): Return
4579         gnu.java.awt.peer.GLightweightPeer.
4580
4581 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
4582
4583         * configure.in: Fix detection of gcj when building with newlib.
4584         * configure: Regenerated.
4585
4586 2003-08-20  Graydon Hoare  <graydon@redhat.com>
4587
4588         * jni.cc: Replace "cheating" pointer-casting code with
4589         extract_from_jvalue<> template.
4590
4591 2003-08-20  Andrew Haley  <aph@redhat.com>
4592
4593         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
4594         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
4595         (classAt): Break out class lookup function into getClass().
4596         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
4597         handlers when using -fno-assume-compiled.
4598
4599 2003-08-20  Tom Tromey  <tromey@redhat.com>
4600
4601         Fix for PR libgcj/9125:
4602         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
4603         object outside of loop.  Respect lib_control setting.
4604         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
4605         field.
4606         (lib_control): New field.
4607         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
4608         (VMClassLoader): Initialize new field.
4609
4610         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4611         Set `list->reference' to DELETED_REFERENCE when removing dead
4612         object.
4613         (find_slot): Added an assert.
4614         (DELETED_REFERENCE): New define.
4615         (add_to_hash): Check for DELETED_REFERENCE.
4616         (remove_from_hash): Just return if found slot isn't ours.
4617
4618 2003-08-19  Andrew Haley  <aph@redhat.com>
4619
4620         * prims.cc (unblock_signal): New function.
4621         (catch_segv): Use it.
4622         (catch_fpe): Likewise.
4623
4624 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
4625
4626         PR libgcj/11575
4627         * java/io/natFileDescriptorWin32.cc (open): Set create
4628         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
4629         Honor EXCL when openning with WRITE flag. 
4630
4631 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
4632
4633         * include/jvm.h: New class _Jv_TempUTFString (helper class for
4634         getting a temporary C string from a jstring)
4635         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
4636         but uses a stack buffer if the string length is less than 256
4637         bytes.
4638
4639 2003-08-18  Tom Tromey  <tromey@redhat.com>
4640
4641         PR libgcj/11951:
4642         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
4643         void.  Throw VirtualMachineError if ffi fails.  Initialize return
4644         value.  Added is_jni_call argument; only wrap exception if not a
4645         JNI call.  Use descriptive message if operation not supported.
4646         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
4647         array class.
4648         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
4649         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
4650         _Jv_CallAnyMethodA.
4651         (_Jv_JNI_CallAnyMethodA): Likewise.
4652         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
4653         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
4654
4655 2003-08-13  Tom Tromey  <tromey@redhat.com>
4656
4657         * gij.cc (help): Document -? and -X.
4658
4659 2003-08-12  Graydon Hoare  <graydon@redhat.com>
4660
4661         * java/awt/Font.java: 
4662         Stub out more recent API. 
4663
4664 2003-08-12  Graydon Hoare  <graydon@redhat.com>
4665
4666         * java/awt/Color.java (getAlpha): 
4667         Prevent sign-extended alpha values.
4668
4669 2003-08-12  Tom Tromey  <tromey@redhat.com>
4670
4671         * gij.cc (main): Handle -? and -X.
4672
4673 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
4674
4675         * java/awt/Container.java
4676         (getPreferredSize): Call preferredSize.
4677         (preferredSize): Moved body of getPreferredSize here.
4678         (getMinimumSize): Call minimumSize.
4679         (minimumSize): Moved body of getMinimumSize here.
4680
4681 2003-08-11  Tom Tromey  <tromey@redhat.com>
4682
4683         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
4684         (postEvent): Removed FIXME comment.
4685         (isDispatchThread): Documented.
4686         (getCurrentEvent): New method.
4687         (dispatchEvent): Set currentEvent and lastWhen.
4688         (getMostRecentEventTime): Rewrote.
4689         (invokeLater): Documented.
4690
4691 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
4692
4693         * java/io/PrintStream.java (print): Always flush if auto_flush is
4694         set. Don't check for newline characters.
4695         (write (int)): Implement without using a temporary array.
4696         (write (byte[], int, int): Always flush if auto_flush is set. Don't
4697         check for newline characters.
4698         Fixes PR libgcj/11778.
4699
4700 2003-08-08  Andrew Haley  <aph@redhat.com>
4701
4702         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
4703         * Makefile.in: Rebuild.
4704         * java/lang/natRuntime.cc (insertSystemProperties): Add
4705         "sun.boot.class.path".
4706
4707 2003-08-07  Andrew Haley  <aph@redhat.com>
4708
4709         * java/io/PrintStream.java: Don't crash on a null string.
4710         
4711 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4712
4713         * configure.in: Don't initialize GCINCS to boehm-gc/include.
4714         * configure: Regenerate.
4715
4716 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4717
4718         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
4719         SocketImpl. Update Javadoc.
4720         (bind): Call close() not impl.close() in event of exception.
4721         (connect): Likewise.
4722         Remove superfluous null checks throughout.
4723         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
4724         Don't create an extra socket. Fix for PR libgcj/10868.
4725         (bind): Clean up exception handling.
4726         Remove superfluous null checks throughout.
4727
4728 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
4729             Bryce McKinlay  <bryce@mckinlay.net.nz>
4730
4731         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
4732         ready-to-write argument to _Jv_Select. Reset the socket back to 
4733         non-blocking state after connecting.
4734         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
4735         Throw SocketTimeoutException not InterruptedIOException.
4736         (read): Throw SocketTimeoutException not InterruptedIOException.
4737
4738 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4739
4740         * java/lang/Thread.java (Thread): Check for null "name" from
4741         start of private constructor, not after calling the private
4742         constructor.
4743
4744 2003-08-06  Tom Tromey  <tromey@redhat.com>
4745
4746         * java/io/FilePermission.java (equals): Use correct index for
4747         last character of path.
4748
4749 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
4750
4751         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
4752         * configure.in: Compare with_cross_host to build_alias, not build.
4753         * aclocal.m4: Regenerate.
4754         * configure: Regenerate.
4755
4756 2003-08-05  Tom Tromey  <tromey@redhat.com>
4757
4758         Fix for PR libgcj/11779:
4759         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
4760         class.
4761
4762         * java/lang/reflect/Method.java: Updated status comment.
4763         Imported javadoc from Classpath and re-ordered methods.
4764         * java/lang/reflect/Constructor.java: Reindented.  Updated
4765         status comment.  Imported javadoc from Classpath and re-ordered
4766         methods.
4767
4768 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
4769
4770         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
4771         Add keyLocation parameter.
4772         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
4773         string.
4774         (paramString): Generate keyChar string according to keyChar, not
4775         keyCode.
4776         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4777         (state_to_awt_mods): Handle ALT key.
4778         (keyevent_state_to_awt_mods): New function.
4779         (get_first_keyval_from_keymap): New function.
4780         (keysym_to_awt_keycode): Get virtual key code from keymap.
4781         Handle missing VK_ values.
4782         (keysym_to_awt_keylocation): New function.
4783         (keyevent_to_awt_keychar): New function.
4784         (generates_key_typed_event): Handle non-text-component case.
4785         Handle GDK_KP_Delete and GDK_KP_Enter.
4786         (awt_event_handler): Call new functions to get postKeyEvent
4787         parameters.
4788         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
4789         Update postKeyEvent method signature.
4790         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
4791         VK_ defines.
4792
4793 2003-08-05  Matthias Klose  <doko@debian.org>
4794
4795         * aclocal.m4: check for libart-config binary
4796           under the name libart2-config as well.
4797         * configure: regenerated.
4798
4799 2003-08-04  David P Grove  <groved@us.ibm.com>
4800
4801         * java/text/DecimalFormat.java (format): avoid ArithmeticException
4802         when groupingSize is 0.
4803         (parse): Likewise.
4804
4805 2003-08-04  Matthias Klose  <doko@debian.org>
4806
4807         * libart.m4: check for libart-config binary
4808           under the name libart2-config as well.
4809         * configure, aclocal.m4: regenerated.
4810
4811 2003-08-02  Michael Koch  <konqueror@gmx.de>
4812
4813         * java/nio/ByteBufferImpl.java
4814         (getChar): Check remaining bytes, fixed comment about endianess.
4815         (putChar): Likewise.
4816         (getShort): Likewise.
4817         (putShort): Likewise.
4818         (getInt): Check remaining bytes, fixed conversion, fixed comment about
4819         endianess.
4820         (putInt): Likewise.
4821         (getLong): Likewise.
4822         (putLong): Likewise.
4823         (getFloat): Likewise.
4824         (putFloat): Likewise.
4825         (getDouble): Likewise.
4826         (putDouble): Likewise.
4827         * java/nio/DirectByteBufferImpl.java
4828         (getChar): Wrapped code, fixed comment about endianess.
4829         (putchar): Likewise.
4830         (getShort): Likewise.
4831         (putShort): Likewise.
4832         (getInt): Fixed conversion, fixed comment about endianess.
4833         (putInt): Likewise.
4834         (getLong): Likewise.
4835         (putLong): Likewise.
4836         (getFloat): Likewise.
4837         (putFloat): Likewise.
4838         (getDouble): Likewise.
4839         (putDouble): Likewise.
4840         * java/nio/MappedByteBufferImpl.java
4841         (compact): Implemented.
4842         (getChar): Implemented.
4843         (putChar): Implemented.
4844         (getDouble): Implemented.
4845         (putdouble): Implemented.
4846         (getFloat): Implemented.
4847         (putFloat): Implemented.
4848         (getInt): Implemented.
4849         (putInt): Implemented.
4850         (getLong): Implemented.
4851         (putLong): Implemented.
4852         (getShort): Implemented.
4853         (putShort): Implemented.
4854         * java/nio/channels/FileChannelImpl.java
4855         (read): Set position where to access file.
4856         (write): Likewise.
4857         (transferTo): Flip buffer after read and before write.
4858         (transferFrom): Likewise.
4859
4860 2003-08-02  Michael Koch  <konqueror@gmx.de>
4861
4862         * gnu/java/lang/ArrayHelper.java
4863         (equalsArray): Reformated, added method documentation.
4864
4865 2003-08-02  Michael Koch  <konqueror@gmx.de>
4866
4867         * java/net/URL.java
4868         (URL): Added paragraph about the
4869         gnu.java.net.nocache_protocol_handlers property.
4870         (ph_cache): Renamed from handlers to match classpath's implementation.
4871         Reordered it with factory and serialVersionUID member variables.
4872         (cache_handlers): New member variable.
4873         (static): New static initializer to initialize cache_handlers from
4874         gnu.java.net.nocache_protocol_handlers property.
4875         (URL): Use ph_cache instead of handlers, reformatted some code to
4876         match classpath's implementation.
4877
4878 2003-08-01  Tom Tromey  <tromey@redhat.com>
4879
4880         Fix for PR libgcj/11241:
4881         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
4882         initialCapacity is 0, set it to 1.
4883
4884 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
4885
4886         * java/net/SocketImpl.java (toString): Display the remote address
4887         of an unconnected server socket as "0.0.0.0/0.0.0.0".
4888
4889 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
4890
4891         * javax/swing/border/BevelBorder.java,
4892         javax/swing/border/EtchedBorder.java,
4893         javax/swing/border/LineBorder.java,
4894         javax/swing/border/MatteBorder.java,
4895         javax/swing/border/SoftBevelBorder.java,
4896         javax/swing/plaf/BorderUIResource.java,
4897         javax/swing/plaf/ComponentUI.java,
4898         javax/swing/plaf/TreeUI.java,
4899         javax/swing/plaf/basic/BasicBorders.java,
4900         javax/swing/plaf/basic/BasicGraphicsUtils.java,
4901         javax/swing/plaf/basic/BasicTreeUI.java:
4902         Prepend "doc-files" to all paths to embedded Javadoc images, so
4903         that the generated documentation contains the correct URL.
4904
4905 2003-08-01  Tom Tromey  <tromey@redhat.com>
4906
4907         * configure: Rebuilt.
4908         * configure.in (tool_include_dir): Redefine to match gcc.
4909
4910 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
4911             Mark Wielaard  <mark@klomp.org>
4912             
4913         * java/math/BigDecimal (divide): Correctly handle
4914         ROUND_HALF_EVEN when amount is greater than 0.5.
4915         Simplify and optimize code.
4916
4917 2003-07-31  Tom Tromey  <tromey@redhat.com>
4918
4919         More for PR libgcj/11737:
4920         * java/io/ObjectInputStream.java (processResolution): Use
4921         getMethod.
4922         (getMethod): Make method accessible.
4923         (getField): Make field accessible.
4924         (setBooleanField): Don't call setAccessible here.
4925         (setByteField, setCharField, setDoubleField, setFloatField,
4926         setIntField, setLongField, setShortField, setObjectField):
4927         Likewise.
4928         (callReadMethod): Don't check whether method is null.  Catch
4929         NoSuchMethodException.
4930         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
4931         cause on thrown exceptions.
4932
4933 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
4934
4935         Fix for PR libgcj/11728:
4936         * java/util/HashMap.java (readObject): Set size.
4937
4938 2003-07-31  Tom Tromey  <tromey@redhat.com>
4939
4940         Fix for PR libgcj/11737:
4941         * java/io/ObjectOutputStream.java (getMethod): Make method
4942         accessible.
4943         (getField): Likewise.
4944         (writeObject): Use getMethod.
4945         Import PrivilegedAction and AccessController.
4946         (callWriteMethod): Don't check whether m is null.  Catch
4947         NoSuchMethodException.
4948
4949         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
4950         (containsAngle): Likewise.
4951         (getStartPoint): Rewrote.
4952         (getEndPoint): Likewise.
4953         (setAngleStart(Point2D)): Likewise.
4954
4955 2003-07-31  Roger Sayle  <roger@eyesopen.com>
4956             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4957
4958         * configure.in: Add new THREADCXXFLAGS variable.
4959         Handle POSIX threads on alpha*-dec-osf*.
4960         * configure: Regenerate.
4961         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
4962         * Makefile.in: Regenerate.
4963
4964 2003-07-08  Andrew Haley  <aph@redhat.com>
4965
4966         * include/i386-signal.h (RESTORE): New.
4967         (INIT_SEGV): Set restorer.
4968         (INIT_FPE): Likewise.
4969
4970 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
4971
4972         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
4973         than getXLFD.
4974         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
4975         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
4976         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
4977         (gtkSetFont): Scale size parameter by PANGO_SCALE.
4978         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
4979         Likewise.
4980         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
4981         Likewise.
4982
4983 2003-07-29  Tom Tromey  <tromey@redhat.com>
4984
4985         * defineclass.cc (handleField): Throw exception if field name is
4986         duplicated.
4987         (handleMethod): Throw exception for duplicate method.
4988
4989 2003-07-29  Tom Tromey  <tromey@redhat.com>
4990
4991         * gnu/gcj/convert/natIconv.cc (write): Handle case where
4992         output buffer is too small.
4993
4994 2003-07-28  Tom Tromey  <tromey@redhat.com>
4995
4996         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
4997         New method.
4998         Include gnu/gcj/runtime/StringBuffer.h.
4999         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
5000         native method.
5001         (String(gnu.gcj.runtime.StringBuffer)): Use it.
5002
5003 2003-07-27  Anthony Green  <green@redhat.com>
5004
5005         * configure.in: Fix newlib check.
5006         * configure: Rebuilt.
5007
5008 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
5009
5010         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5011         Create vbox and layout for GtkPlug.
5012
5013 2003-07-27  Michael Koch  <konqueror@gmx.de>
5014
5015         * java/awt/Window.java
5016         (Window): Removed now unused constructor. It became oboslete with the
5017         new embedded window patch.
5018
5019 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
5020             Michael Koch  <konqueror@gmx.de>
5021
5022         * gnu/java/awt/EmbeddedWindow.java
5023         (EmbeddedWindow): Extends Frame instead of Window.
5024         (window_id): New member variable to store the native window handle.
5025         (create): Removed.
5026         (EmbeddedWindow): New constructor.
5027         (addNotify): New method.
5028         (getHandler): Likewise.
5029         (setWindowPeer): New native method.
5030         * gnu/java/awt/EmbeddedWindowSupport.java
5031         (EmbeddedWindowSupport): Fixed documentation.
5032         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
5033         WindowPeer, give it an EmbeddedWindow instance instead of the raw
5034         window data.
5035         * gnu/java/awt/natEmbeddedWindow.cc
5036         (create): Removed.
5037         (setWindowPeer): New method.
5038         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
5039         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
5040         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5041         New files
5042         * gnu/java/awt/peer/gtk/GtkToolkit.java
5043         (GtkToolkit): Implements EmbeddedWindowSupport.
5044         (createEmbeddedWindow): New method.
5045         * java/awt/Window.java
5046         (Window): Removed.
5047         * Makefile.am
5048         (java_source_files): Added EmbeddedWindowPeer.java.
5049         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
5050         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
5051         * Makefile.in: Regenerated.
5052
5053 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
5054
5055         * java/lang/Win32Process.java (ConcreteProcess): Surround
5056         a command line element with quotes if it contains an
5057         embedded space or tab.
5058         * java/lang/natWin32Process.cc (startProcess): Do not
5059         surround command line elements with quotes here.
5060
5061         * configure.host: Use -fcheck-references and 
5062         -fuse-divide-subroutine for MinGW until we fix
5063         win32_exception_handler( ) in win32.cc w.r.t. Win32 
5064         Structured Exception Handling (SEH).
5065
5066         * win32.cc (_Jv_platform_initProperties): Use generic names
5067         like "x86" for the "os.arch" property to be consistent with
5068         what Sun's JDK produces. Use the wProcessorArchitecture
5069         member of the Win32 SYSTEM_INFO structure, filled in a call 
5070         to GetSystemInfo( ), instead of dwProcessorType.
5071
5072 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
5073             Ranjit Mathew  <rmathew@hotmail.com>
5074
5075         * Makefile.am: Use cross-compiling gcjh from the path for
5076         a crossed-native build.
5077         * Makefile.in: Rebuilt.
5078         * configure.in: Include libltdl in non-newlib builds.
5079         Moved determination of gcj used to build libraries to
5080         its own section. Fixed cross-compilation issues for
5081         non-newlib builds.
5082         * configure: Rebuilt.
5083
5084 2003-07-25  Tom Tromey  <tromey@redhat.com>
5085
5086         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
5087         (write): Likewise.
5088         (read): Likewise.
5089         (read): Likewise.
5090
5091 2003-07-25  Mark Wielaard  <mark@klomp.org>
5092
5093         * java/lang/natRuntime.cc (_load): Add library name to
5094         UnsatisfiedLinkError when thrown.
5095
5096 2003-07-25  Mark Wielaard  <mark@klomp.org>
5097
5098         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
5099         added.
5100         * Makefile.in: Likewise.
5101
5102 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
5103
5104         * java/awt/Component.java
5105         (getPreferredSize): Call preferredSize.
5106         (preferredSize): Moved body of getPreferredSize here.
5107         (getMinimumSize): Call minimumSize.
5108         (minimumSize): Moved body of getMinimumSize here.
5109         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
5110         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
5111         pass -1
5112         * java/awt/Container.java
5113         (validate): Don't validate if there is no peer.
5114         (update): Clear background before calling paint.
5115         * java/awt/GridBagLayout.java
5116         Completed the implementation and fixed several bugs.
5117         * java/awt/MediaTracker.java
5118         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
5119         combine flags.
5120         * java/awt/Window.java
5121         (Window): Don't call setVisible(false). Windows are invisible by
5122         default and calling virtual methods from constructor causes
5123         compatibility problems (e.g. subclasses may assume that the peer
5124         already exists).
5125
5126 2003-07-25  Michael Koch  <konqueror@gmx.de>
5127
5128         * java/awt/GridBagLayout.java:
5129         Totally reworked and partly implemented.
5130         * java/awt/GridBagLayoutInfo.java:
5131         New file.
5132
5133 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
5134
5135         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
5136         Don't pack label in an event box.
5137
5138 2003-07-24  Tom Tromey  <tromey@redhat.com>
5139
5140         For PR libgcj/7482:
5141         * verify.cc (ref_intersection): New class.
5142         (type_val): Removed unresolved_reference_type,
5143         uninitialized_unresolved_reference_type.
5144         (is_assignable_from_slow): Rewrote.
5145         (type::data): Removed.
5146         (type::klass): New field.
5147         (type::type): Added verifier argument.
5148         (type::resolve): Removed.
5149         (type::set_uninitialized): Updated for change to type_val.
5150         (type::set_initialized): Likewise.
5151         (type::isinitialized): Likewise.
5152         (type::print): Likewise.
5153         (construct_primitive_array_type): Likewise.
5154         (type::compatible): Updated for change to type_val and to use
5155         ref_intersection.
5156         (type::isarray): Updated to use ref_intersection.
5157         (type::isinterface): Likewise.
5158         (type::element_type): Likewise.
5159         (type::to_array): Likewise.
5160         (type::verify_dimensions): Rewrote.
5161         (type::merge): Likewise.
5162         (check_class_constant): Updated for type constructor change.
5163         (check_constant): Likewise.
5164         (check_field_constant): Likewise.
5165         (get_one_type): Likewise.
5166         (initialize_stack): Likewise.
5167         (verify_instructions_0): Likewise.
5168         (verify_instructions_0) [op_invokeinterface]: Removed special
5169         case.
5170         (isect_list): New field.
5171         (_Jv_BytecodeVerifier): Initialize it.
5172         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
5173
5174 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
5175
5176         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
5177         unless field size is 2.
5178
5179 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
5180
5181         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5182         (connectHooks): New method.
5183         (handleEvent): Remove.
5184         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5185         (createHooks): Remove declaration.
5186         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5187         (generates_key_typed_event): Change to handle only certain
5188         keyvals.
5189         (awt_event_handler): Add special handling for GtkTextView.
5190         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5191         (textcomponent_commit_cb): New function.
5192         (textcomponent_changed_cb): Likewise.
5193         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5194         (connectHooks): Remove.
5195
5196 2003-07-23  Tom Tromey  <tromey@redhat.com>
5197
5198         * java/lang/natSystem.cc (arraycopy): Check for overflow.
5199
5200         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
5201
5202 2003-07-22  Tom Tromey  <tromey@redhat.com>
5203
5204         * boehm.cc (_Jv_BuildGCDescr): Wrote.
5205         Include limits.h.
5206
5207 2003-07-22  Tom Tromey  <tromey@redhat.com>
5208
5209         * java/awt/Window.java (getWarningString): Just return the
5210         string.
5211         (Window): Set warningString; check with security manager.
5212
5213 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
5214
5215         * gnu/awt/xlib/XGraphicsConfiguration.java
5216         (FontMetricsCache): Made static.
5217  
5218 2003-07-22  Tom Tromey  <tromey@redhat.com>
5219
5220         * java/net/URLEncoder.java (encode(String)): Use platform default
5221         encoding.
5222         (encode(String,String)): Convert to 2-digit upper-case hex
5223         number.
5224         (hex): New field.
5225
5226 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5227
5228         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5229         (create): Remove unused method implementation.
5230         (connectHooks): Remove debug messages.
5231
5232 2003-07-20  Anthony Green  <green@redhat.com>
5233
5234         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
5235         CloneNotSupportedException.
5236         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
5237         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
5238         * gnu/gcj/xlib/GC.java (clone): Ditto.
5239         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
5240         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
5241
5242         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
5243         handler.
5244         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
5245
5246 2003-07-20  Steve Pribyl <steve@netfuel.com.>
5247
5248         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
5249         String.  Put dlerror() message into exception.
5250         Include UnsatisfiedLinkError.
5251         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
5252         String.  Now native.
5253
5254 2003-07-20  Tom Tromey  <tromey@redhat.com>
5255
5256         * java/lang/Runtime.java: Comment fix.
5257         * java/lang/ClassLoader.java (isAncestorOf): New method.
5258         (getParent): Uncommented security check.  Use isAncestorOf.
5259         * include/jvm.h (_Jv_CheckAccess): Declare.
5260         * java/lang/reflect/natConstructor.cc (newInstance): Perform
5261         access check.
5262         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
5263         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
5264         class loader to _Jv_GetArrayClass.
5265         Include ArrayIndexOutOfBoundsException.h.
5266         * java/lang/reflect/Field.java: Update comment to reflect status.
5267         (equals): Fixed indentation.
5268         * java/lang/Class.h (Class): Declare memberAccessCheck, not
5269         checkMemberAccess.  Make _Jv_CheckAccess a friend.
5270         * java/lang/Class.java (memberAccessCheck): New method from
5271         Classpath.
5272         (checkMemberAccess): Removed.
5273         (getDeclaredMethod): Use memberAccessCheck.
5274         (getField): Likewise.
5275         (getMethod): Likewise.
5276         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
5277         (_Jv_SearchMethodInClass): Likewise.
5278         * prims.cc (_Jv_CheckAccess): New function.
5279         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
5280         (_Jv_JNI_GetAnyFieldID): Likewise.
5281         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
5282         (getClassLoader): Added security check.
5283         (getConstructor): Call memberAccessCheck.
5284         (getDeclaredClasses): Likewise.
5285         (getDeclaredField): Likewise.
5286         (getDeclaredFields): Likewise.
5287         (_getConstructors): Likewise.
5288         (getDeclaredConstructor): Likewise.
5289         (getDeclaredMethods): Likewise.
5290         (getFields): Likewise.
5291         (getMethods): Likewise.
5292         (newInstance): Likewise.
5293         (_Jv_MakeVTable): Put method name in exception.
5294         * java/lang/reflect/natMethod.cc (getType): Use
5295         getClassLoaderInternal.
5296         (_Jv_GetTypesFromSignature): Likewise.
5297         (invoke): Perform access check.
5298         (_Jv_CallAnyMethodA): Removed old FIXME comments.
5299         Include ArrayIndexOutOfBoundsException.h.
5300         * java/lang/reflect/natField.cc (getType): Use
5301         getClassLoaderInternal.
5302         (_Jv_CheckFieldAccessibility): Removed.
5303         (getAddr): Use _Jv_CheckAccess; find caller.
5304         Include ArrayIndexOutOfBoundsException.h.
5305
5306 2003-07-20  Michael Koch  <konqueror@gmx.de>
5307
5308         * java/net/URL.java
5309         (URL): Fixed documentation to name an argument correcty, Reformatted
5310         one method declaration.
5311         (getURLStreamHandler): Added documentation from classpath.
5312
5313 2003-07-19  Tom Tromey  <tromey@redhat.com>
5314
5315         * mauve-libgcj: Don't run CollationElementIterator tests.
5316
5317 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
5318
5319         * java/net/URLClassLoader.java (addURL): Moved implementation to
5320         private addURLImpl() to avoid calling addURL from the constructor.
5321         (addURLImpl): Contains the code that was previously in addURL.
5322         (addURLs): Call addURLImpl(), not addURL().
5323
5324 2003-07-18  Graydon Hoare  <graydon@redhat.com>
5325
5326         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
5327         Handle missing event cases, connect to "value-changed" signal.
5328
5329 2003-07-18  Graydon Hoare  <graydon@redhat.com>
5330
5331         * java/awt/geom/CubicCurve2D.java,
5332         java/awt/geom/Line2D.java,
5333         java/awt/geom/QuadCurve2D.java,
5334         java/awt/geom/Rectangle2D.java: 
5335         Fix path some calculations, make path iterators follow
5336         a consistent style.
5337
5338 2003-07-18  Mark Wielaard  <mark@klomp.org>
5339
5340         * java/util/logging/Handler.java (isLoggable): Check record level
5341         smaller or equal.
5342
5343 2003-07-17  Michael Koch  <konqueror@gmx.de>
5344
5345         * gnu/java/awt/peer/gtk/GtkToolkit.java:
5346         Reworked imports.
5347
5348 2003-07-14  Michael Koch  <konqueror@gmx.de>
5349
5350         * gnu/java/rmi/server/UnicastServerRef.java:
5351         New version from classpath.
5352
5353 2003-07-14  Michael Koch  <konqueror@gmx.de>
5354
5355         * java/awt/image/MemoryImageSource.java,
5356         java/beans/PropertyEditorManager.java,
5357         javax/naming/CompoundName.java,
5358         javax/naming/spi/NamingManager.java,
5359         javax/swing/AbstractButton.java,
5360         javax/swing/ButtonModel.java,
5361         javax/swing/SwingUtilities.java,
5362         javax/swing/UIManager.java,
5363         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5364         javax/swing/event/AncestorEvent.java,
5365         javax/swing/event/InternalFrameEvent.java,
5366         java/util/zip/ZipFile.java:
5367         New versions from classpath.
5368
5369 2003-07-13  Michael Koch  <konqueror@gmx.de>
5370
5371         * gnu/java/nio/FileChannelImpl.java,
5372         gnu/java/nio/natFileChannelImpl.cc: Removed.
5373         * java/io/FileInputStream.java,
5374         java/io/FileOutputStream.java,
5375         java/io/RandomAccessFile.java,
5376         java/nio/MappedByteBufferImpl.java:
5377         Import java.nio.channels.FileChannelImpl instead of
5378         gnu.java.nio.FileChannelImpl.
5379         * java/nio/channels/FileChannelImpl.java,
5380         java/nio/channels/natFileChannelImpl.cc:
5381         New files.
5382         * Makefile.am
5383         (ordinary_java_source_files):
5384         Removed gnu/java/nio/FileChannelImpl.java and added
5385         java/nio/channels/FileChannelImpl.java.
5386         (nat source_files):
5387         Removed gnu/java/nio/natFileChannelImpl.cc and added
5388         java/nio/channels/natFileChannelImpl.cc.
5389         * Makefile.in: Regenerated.
5390
5391 2003-07-13  Michael Koch  <konqueror@gmx.de>
5392
5393         * javax/swing/plaf/basic/BasicBorders.java,
5394         javax/swing/plaf/basic/BasicLabelUI.java,
5395         javax/swing/plaf/basic/BasicLookAndFeel.java,
5396         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5397         javax/swing/plaf/basic/BasicTextUI.java,
5398         javax/swing/plaf/metal/MetalLookAndFeel.java:
5399         New versions from classpath.
5400
5401 2003-07-13  Michael Koch  <konqueror@gmx.de>
5402
5403         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
5404         * gnu/java/awt/peer/gtk/GdkGraphics.java
5405         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
5406         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
5407         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
5408         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
5409         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
5410         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
5411         * gnu/java/awt/peer/gtk/GtkClipboard.java
5412         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
5413         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
5414         * gnu/java/awt/peer/gtk/GtkFramePeer.java
5415         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
5416         * gnu/java/awt/peer/gtk/GtkImage.java
5417         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5418         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
5419         * gnu/java/awt/peer/gtk/GtkListPeer.java
5420         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
5421         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
5422         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5423         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
5424         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
5425         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
5426         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
5427         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
5428         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
5429         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
5430         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5431         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5432
5433 2003-07-13  Michael Koch  <konqueror@gmx.de>
5434
5435         * gnu/java/locale/LocaleInformation_de.java
5436         * gnu/java/locale/LocaleInformation_en.java
5437         * gnu/java/locale/LocaleInformation_nl.java
5438
5439 2003-07-13  Michael Koch  <konqueror@gmx.de>
5440
5441         * gnu/java/awt/EmbeddedWindow.java,
5442         gnu/java/awt/EmbeddedWindowSupport.java,
5443         gnu/java/awt/natEmbeddedWindow.cc:
5444         New files.
5445         * java/awt/Window.java
5446         (Window): New constructor to support embedded windows.
5447         * Makefile.am
5448         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
5449         gnu/java/awt/EmbeddedWindowSupport.java.
5450         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
5451         * Makefile.in: Regenerated.
5452
5453 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
5454
5455         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
5456         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
5457         * java/awt/im/InputContext.java: Remove a redundant
5458         partial line.
5459
5460 2003-07-09  Tom Tromey  <tromey@redhat.com>
5461
5462         * Makefile.in: Rebuilt.
5463         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
5464
5465 2003-07-09  Mark Wielaard  <mark@klomp.org>
5466
5467         * java/io/ObjectOutputStream.java (writeObject): break after
5468         calling writeClassDescriptor().
5469
5470 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
5471
5472         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
5473
5474 2003-07-09  Michael Koch  <konqueror@gmx.de>
5475
5476         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5477         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5478         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5479         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
5480         Explicitly import used classes.
5481         * java/awt/Container.java: New version from classpath.
5482
5483 2003-07-09  Michael Koch  <konqueror@gmx.de>
5484
5485         * libgcj.pc.in: New file.
5486         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
5487         * Makefile.in: Regenerated.
5488         * configure: Regenrated.
5489         * configure.in: Create libgcj.pc from libgcj.pc.in.
5490
5491 2003-07-08  Mark Wielaard <mark@klomp.org>
5492
5493         * gcj/cni.h: CNI now expands to Compiled Native Interface.
5494
5495         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
5496         * java/lang/fdlibm.h: Likewise.
5497
5498 2003-07-07  Adam Megacz <adam@xwt.org>
5499
5500         * posix.cc: added #include<stdio.h>
5501                 
5502 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
5503
5504         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
5505         formatting.
5506
5507         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5508         (setCaretPosition, setEditable): Rely entirely on native
5509         implementation.
5510         (getArgs): Remove.
5511         (postTextEvent): New method.
5512         (handleEvent): New method.
5513         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
5514         method.
5515         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
5516         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5517         (keysym_to_awt_keycode): Fix range checks.
5518         (generates_key_typed_event): New function.
5519         (awt_event_handler): Post AWT_KEY_RELEASED events to event
5520         queue.
5521         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5522         (gtkInit): Store TextComponent's postTextEvent method ID.
5523         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5524         (setText): Post TEXT_VALUE_CHANGED event to event queue.
5525
5526 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5527
5528         * configure.in: Check for usleep declaration.
5529         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
5530         * configure: Regenerate.
5531         * include/config.h.in: Likewise.
5532         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
5533
5534 2003-07-01  Michael Koch  <konqueror@gmx.de>
5535
5536         * gnu/gcj/convert/natIconv.cc
5537         (iconv_init): Fixed possible memory leak by releasing allocated iconv
5538         handle.
5539
5540 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
5541
5542         * glib-2.0.m4: New file.
5543         * gtk-2.0.m4: New file.
5544         * glib.m4: Remove.
5545         * gtk.m4: Remove.
5546         * configure.in: Update AM_PATH_GTK macro call to
5547         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
5548         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5549         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5550         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5551         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5552         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5553         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5554         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5555         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5556         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5557         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5558         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5559         jni/gtk-peer/gthread-jni.c,
5560         jni/gtk-peer/gthread-jni.h:
5561         New versions from classpath.
5562         * aclocal.m4: Regenerate.
5563         * configure: Regenerate.
5564         * Makefile.in: Regenerate.
5565         * gcj/Makefile.in: Regenerate.
5566         * include/Makefile.in: Regenerate.
5567         * testsuite/Makefile.in: Regenerate.
5568
5569 2003-06-30  Gary Benson  <gbenson@redhat.com>
5570
5571         For PR libgcj/11349:
5572         * javax/naming/spi/NamingManager.java (getURLContext): Use
5573         correct name for factory class.
5574
5575 2003-06-28  Michael Koch  <konqueror@gmx.de>
5576
5577         * java/io/PrintStream.java
5578         (checkError): Call flush() instead of direct flushing of the Writer
5579         object.
5580         (print): Call print(String) instead of direct print method of the
5581         Writer Object.
5582         (println): Call println(String) instead of direct println method of the
5583         Writer Object.
5584         (write): Simplified.
5585
5586 2003-06-28  Michael Koch  <konqueror@gmx.de>
5587
5588         * java/net/ServerSocket.java
5589         (setChannel): New method.
5590         * java/net/Socket.java
5591         (setChannel): New method.
5592
5593 2003-06-27  Michael Koch  <konqueror@gmx.de>
5594
5595         * java/beans/beancontext/BeanContextSupport.java:
5596         New version from classpath.
5597
5598 2003-06-27  Michael Koch  <konqueror@gmx.de>
5599
5600         * java/awt/Window.java,
5601         java/awt/font/GraphicAttribute.java,
5602         java/awt/font/ImageGraphicAttribute.java,
5603         java/awt/image/DataBufferByte.java,
5604         java/awt/image/DataBufferInt.java,
5605         java/awt/image/DataBufferUShort.java,
5606         java/awt/image/DirectColorModel.java,
5607         java/awt/image/PixelGrabber.java:
5608         New versions from classpath.
5609
5610 2003-06-27  Michael Koch  <konqueror@gmx.de>
5611
5612         * java/security/Certificate.java
5613         (getGuarantor): Removed wrong @deprecated tag.
5614         (getPrincipal): Likewise.
5615         (getPublicKey): Likewise.
5616         (encode): Likewise.
5617         (decode): Likewise.
5618         (getFormat): Likewise.
5619         (toString): Likewise.
5620         * java/security/cert/PolicyQualifierInfo.java
5621         (PolicyQualifierInfo): Made final.
5622         * javax/security/auth/x500/X500Principal.java
5623         (serialVersionUID): New member variable.
5624
5625 2003-06-27  Michael Koch  <konqueror@gmx.de>
5626
5627         * java/text/Format.java
5628         (serialVersionUID): Fixed value.
5629
5630 2003-06-27  Michael Koch  <konqueror@gmx.de>
5631
5632         * java/net/Inet4Address.java
5633         (Inet4Address): Made package-private.
5634         * java/net/Inet6Address.java
5635         (Inet4Address): Made package-private.
5636
5637 2003-06-27  Michael Koch  <konqueror@gmx.de>
5638
5639         * java/io/RandomAccessFile.java
5640         (readLine): Removed wrong @deprecated tag.
5641         (getChannel): Made final.
5642
5643 2003-06-27  Michael Koch  <konqueror@gmx.de>
5644
5645         * gnu/java/nio/FileChannelImpl.java
5646         (write): Removed.
5647
5648 2003-06-27  Michael Koch  <konqueror@gmx.de>
5649
5650         * java/nio/ByteBufferImpl.java
5651         (ByteBufferImpl): Made it a package-private class
5652         * java/nio/CharBufferImpl.java
5653         (CharBufferImpl): Made it a package-private class
5654         * java/nio/DirectByteBufferImpl.java
5655         (DirectByteBufferImpl): Made it a package-private class
5656         * java/nio/DoubleBufferImpl.java
5657         (DoubleBufferImpl): Made it a package-private class
5658         * java/nio/FloatBufferImpl.java
5659         (FloatBufferImpl): Made it a package-private class
5660         * java/nio/IntBufferImpl.java
5661         (IntBufferImpl): Made it a package-private class
5662         * java/nio/LongBufferImpl.java
5663         (LongBufferImpl): Made it a package-private class
5664         * java/nio/ShortBufferImpl.java
5665         (ShortBufferImpl): Made it a package-private class
5666         * java/nio/channels/FileChannel.java
5667         (write): Made final.
5668         * java/nio/channels/ServerSocketChannel.java
5669         (ServerSocketChanne): Made protected.
5670
5671 2003-06-27  Michael Koch  <konqueror@gmx.de>
5672
5673         * javax/naming/CompositeName.java
5674         (serialVersionUID): New member variable.
5675         * javax/naming/CompoundName.java
5676         (serialVersionUID): New member variable.
5677         * javax/naming/InitialContext.java
5678         (InitialContext): Throws NamingException.
5679         (init): Likewise.
5680         * javax/naming/LinkRef.java
5681         (serialVersionUID): New member variable.
5682         (gteLinkName): Throws NamingException.
5683         * javax/naming/NamingException.java
5684         (serialVersionUID): New member variable.
5685         * javax/naming/NamingSecurityException.java
5686         (NamingSecurityException): Made abstract.
5687         (serialVersionUID): New member variable.
5688         * javax/naming/ReferralException.java
5689         (serialVersionUID): New member variable.
5690         * javax/naming/StringRefAddr.java
5691         (serialVersionUID): New member variable.
5692         * javax/naming/directory/BasicAttribute.java:
5693         Reworked imports.
5694         (serialVersionUID): New member variable.
5695         (get): Throws NamingException.
5696         (getAll): Throws NamingException.
5697         * javax/naming/directory/BasicAttributes.java:
5698         Reworked imports.
5699         (serialVersionUID): New member variable.
5700         * javax/naming/ldap/UnsolicitedNotificationEvent.java
5701         (serialVersionUID): New member variable.
5702
5703 2003-06-27  Michael Koch  <konqueror@gmx.de>
5704
5705         * Makefile.am
5706         (awt_java_source_files): Added new files:
5707         javax/swing/Popup.java,
5708         javax/swing/PopupFactory.java
5709         * Makefile.in: Regenerated.
5710
5711 2003-06-27  Michael Koch  <konqueror@gmx.de>
5712
5713         * javax/swing/JWindow.java,
5714         javax/swing/event/AncestorEvent.java,
5715         javax/swing/event/HyperlinkEvent.java,
5716         javax/swing/event/InternalFrameEvent.java,
5717         javax/swing/event/ListDataEvent.java,
5718         javax/swing/event/TableModelEvent.java,
5719         javax/swing/plaf/PopupMenuUI.java,
5720         javax/swing/plaf/SplitPaneUI.java,
5721         javax/swing/plaf/TabbedPaneUI.java,
5722         javax/swing/plaf/TextUI.java,
5723         javax/swing/plaf/TreeUI.java,
5724         javax/swing/plaf/basic/BasicTextUI.java,
5725         javax/swing/plaf/basic/BasicTreeUI.java:
5726         New versions from classpath.
5727         * javax/swing/Popup.java,
5728         javax/swing/PopupFactory.jav:
5729         New source files from classpath.
5730         * javax/swing/plaf/doc-files/TreeUI-1.png:
5731         New binary files from classpath.
5732
5733 2003-06-25  Michael Koch  <konqueror@gmx.de>
5734
5735         * Makefile.am
5736         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
5737         * Makefile.in: Regenerated.
5738
5739 2003-06-25  Michael Koch  <konqueror@gmx.de>
5740
5741         * javax/swing/plaf/ActionMapUIResource.java,
5742         javax/swing/plaf/BorderUIResource.java,
5743         javax/swing/plaf/ButtonUI.java,
5744         javax/swing/plaf/ColorChooserUI.java,
5745         javax/swing/plaf/ColorUIResource.java,
5746         javax/swing/plaf/ComboBoxUI.java,
5747         javax/swing/plaf/ComponentInputMapUIResource.java,
5748         javax/swing/plaf/ComponentUI.java,
5749         javax/swing/plaf/DesktopIconUI.java,
5750         javax/swing/plaf/DesktopPaneUI.java,
5751         javax/swing/plaf/DimensionUIResource.java,
5752         javax/swing/plaf/FileChooserUI.java,
5753         javax/swing/plaf/FontUIResource.java,
5754         javax/swing/plaf/IconUIResource.java,
5755         javax/swing/plaf/InputMapUIResource.java,
5756         javax/swing/plaf/InsetsUIResource.java,
5757         javax/swing/plaf/InternalFrameUI.java,
5758         javax/swing/plaf/LabelUI.java,
5759         javax/swing/plaf/ListUI.java,
5760         javax/swing/plaf/MenuBarUI.java,
5761         javax/swing/plaf/MenuItemUI.java,
5762         javax/swing/plaf/OptionPaneUI.java,
5763         javax/swing/plaf/PanelUI.java,
5764         javax/swing/plaf/ProgressBarUI.java,
5765         javax/swing/plaf/RootPaneUI.java,
5766         javax/swing/plaf/ScrollBarUI.java,
5767         javax/swing/plaf/ScrollPaneUI.java,
5768         javax/swing/plaf/SeparatorUI.java,
5769         javax/swing/plaf/SliderUI.java,
5770         javax/swing/plaf/TableHeaderUI.java,
5771         javax/swing/plaf/TableUI.java,
5772         javax/swing/plaf/ToolBarUI.java,
5773         javax/swing/plaf/ToolTipUI.java,
5774         javax/swing/plaf/ViewportUI.java:
5775         New versions from classpath.
5776         * javax/swing/plaf/SpinnerUI.java: 
5777         New file from classpath
5778
5779 2003-06-25  Michael Koch  <konqueror@gmx.de>
5780
5781         * java/awt/image/ColorModel.java:
5782         New version from classpath.
5783
5784 2003-06-25  Michael Koch  <konqueror@gmx.de>
5785
5786         * java/net/PlainDatagramSocketImpl.java:
5787         Partly merged with classpath, this mainly adds documentation.
5788
5789 2003-06-25  Michael Koch  <konqueror@gmx.de>
5790
5791         * java/io/ObjectInputStream.java
5792         (readClassDescriptor): New method.
5793         (readObject): Moved functionality to readClassDescriptor().
5794         * java/io/ObjectOutputStream.java
5795         (writeClassDescriptor): New method.
5796         (writeObject): Moved functionality to writeClassDescriptor().
5797
5798 2003-06-25  Michael Koch  <konqueror@gmx.de>
5799
5800         * javax/swing/plaf/basic/BasicListUI.java,
5801         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5802         Added missing methods.
5803
5804 2003-06-25  Michael Koch  <konqueror@gmx.de>
5805
5806         * javax/swing/event/AncestorEvent.java
5807         javax/swing/event/HyperlinkEvent.java
5808         javax/swing/event/InternalFrameEvent.java
5809         javax/swing/event/ListDataEvent.java
5810         javax/swing/event/TableModelEvent.java:
5811         Compile fixes.
5812
5813 2003-06-24  Michael Koch  <konqueror@gmx.de>
5814
5815         * java/net/URL.java:
5816         Renamed "handler" to "ph" in the whole file to match classpaths
5817         version.
5818         * java/net/URLStreamHandler.java:
5819         (equals): Renamed "handler" to "ph".
5820
5821 2003-06-24  Michael Koch  <konqueror@gmx.de>
5822
5823         * javax/swing/event/AncestorEvent.java,
5824         javax/swing/event/HyperlinkEvent.java,
5825         javax/swing/event/InternalFrameEvent.java,
5826         javax/swing/event/ListDataEvent.java,
5827         javax/swing/event/TableModelEvent.java,
5828         javax/swing/event/TreeWillExpandListener.java,
5829         javax/swing/plaf/ComponentUI.java,
5830         javax/swing/plaf/DesktopIconUI.java,
5831         javax/swing/plaf/DesktopPaneUI.java,
5832         javax/swing/plaf/DimensionUIResource.java,
5833         javax/swing/plaf/FileChooserUI.java,
5834         javax/swing/plaf/FontUIResource.java,
5835         javax/swing/plaf/IconUIResource.java,
5836         javax/swing/plaf/InputMapUIResource.java,
5837         javax/swing/plaf/InsetsUIResource.java,
5838         javax/swing/plaf/InternalFrameUI.java,
5839         javax/swing/plaf/LabelUI.java,
5840         javax/swing/plaf/ListUI.java,
5841         javax/swing/plaf/MenuBarUI.java,
5842         javax/swing/plaf/MenuItemUI.java,
5843         javax/swing/plaf/OptionPaneUI.java,
5844         javax/swing/plaf/PanelUI.java,
5845         javax/swing/plaf/ProgressBarUI.java,
5846         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5847         javax/swing/plaf/doc-files/ComponentUI-1.png:
5848         New versions from classpath.
5849
5850 2003-06-24  Michael Koch  <konqueror@gmx.de>
5851
5852         * java/nio/Buffer.java
5853         (cap): Made package-private.
5854         (pos): Likewise.
5855         (limit): Likewise.
5856         (mark): Likewise.
5857
5858 2003-06-24  Michael Koch  <konqueror@gmx.de>
5859
5860         * java/net/SocketImpl.java
5861         (shutdownInput): Made it non-abstract method throwing an exception
5862         like in SUNs JRE.
5863         (shutdownOutput): Likewise.
5864         * java/net/SocketInputStream.java,
5865         java/net/SocketOutputStream.java:
5866         New files from classpath.
5867
5868 2003-06-24  Michael Koch  <konqueror@gmx.de>
5869
5870         * java/awt/Font.java,
5871         java/awt/Window.java,
5872         java/awt/color/ColorSpace.java,
5873         java/awt/datatransfer/StringSelection.java,
5874         java/awt/image/ColorModel.java:
5875         New versions from classpath.
5876
5877 2003-06-24  Michael Koch  <konqueror@gmx.de>
5878
5879         * Makefile.am
5880         (awt_java_source_files): Added new files:
5881         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5882         javax/swing/plaf/basic/BasicSplitPaneUI.java
5883         * Makefile.in: Regenerated.
5884
5885 2003-06-24  Michael Koch  <konqueror@gmx.de>
5886
5887         * javax/swing/text/JTextComponent.java:
5888         New version from classpath.
5889
5890 2003-06-24  Michael Koch  <konqueror@gmx.de>
5891
5892         * javax/swing/Timer.java,
5893         javax/swing/plaf/ActionMapUIResource.java,
5894         javax/swing/plaf/ButtonUI.java,
5895         javax/swing/plaf/ColorChooserUI.java,
5896         javax/swing/plaf/ColorUIResource.java,
5897         javax/swing/plaf/ComboBoxUI.java,
5898         javax/swing/plaf/ComponentInputMapUIResource.java,
5899         javax/swing/plaf/basic/BasicBorders.java:
5900         New versions from classpath.
5901         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
5902         javax/swing/plaf/basic/BasicSplitPaneUI.java:
5903         New file from classpath.
5904         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
5905         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
5906         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
5907         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5908         javax/swing/plaf/doc-files/ComponentUI-1.png:
5909         New binary files from classpath.
5910
5911 2003-06-24  Michael Koch  <konqueror@gmx.de>
5912
5913         * java/io/LineNumberReader.java
5914         (skip): Dont do line number accounting here as this is already done in
5915         read(), simplified.
5916
5917 2003-06-21  Michael Koch  <konqueror@gmx.de>
5918
5919         * java/io/File.java
5920         (static): Load javaio lib if existing (only in classpath).
5921         (File): Revised documentation to show the correct argument name.
5922         (createTempFile): Partly merged with classpath.
5923         (compareTo): Simplified.
5924         (lastModified): Throw exception if time < 0.
5925         (deleteOnExit): Revised documentation.
5926
5927 2003-06-21  Michael Koch  <konqueror@gmx.de>
5928
5929         * java/net/PlainSocketImpl.java:
5930         Reformatted.
5931         (PlainSocketImpl): Merged class documentaion with classpath.
5932         (in): Moved.
5933         (out): Moved.
5934         (PlainSocketImpl): New empty constructor.
5935         (finalize): Moved.
5936         (setOption): Merged documentation from classpath.
5937         (getOption): Likewise.
5938         (create): Likewise.
5939         (connect): Likewise.
5940         (bind): Likewise.
5941         (listen): Likewise.
5942         (accept): Likewise.
5943         (available): Likewise.
5944         (close): Likewise.
5945         (read): Likewise.
5946         (write): Likewise.
5947         (getInputStream): Made synchronozed to get sure that only one stream
5948         object can be created for this socket, merged documentation from
5949         classpath.
5950         (getOutputStream): Likewise.
5951
5952 2003-06-21  Michael Koch  <konqueror@gmx.de>
5953
5954         * java/net/PlainSocketImpl.java:
5955         Reformatting.
5956         (static): New implicit method.
5957         (read): Made package private.
5958         (write): Likewise.
5959
5960 2003-06-21  Michael Koch  <konqueror@gmx.de>
5961
5962         * java/util/SimpleTimeZone.java:
5963         Removed unneeded import, reformatting.
5964
5965 2003-06-21  Michael Koch  <konqueror@gmx.de>
5966
5967         * java/text/DateFormat.java,
5968         java/text/SimpleDateFormat.java,
5969         java/util/Locale.java:
5970         New versions from classpath.
5971
5972 2003-06-21  Michael Koch  <konqueror@gmx.de>
5973
5974         * javax/swing/SpinnerModel.java:
5975         New file from classpath.
5976         * javax/swing/border/LineBorder.java,
5977         javax/swing/border/SoftBevelBorder.java,
5978         javax/swing/plaf/BorderUIResource.java,
5979         javax/swing/plaf/basic/BasicBorders.java:
5980         New versions from classpath.
5981         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
5982         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
5983         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
5984         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
5985         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
5986         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
5987         New binary files from classpath.
5988
5989 2003-06-21  Michael Koch  <konqueror@gmx.de>
5990
5991         * java/util/logging/LogRecord.java,
5992         java/util/logging/Logger.java,
5993         java/util/logging/SocketHandler.java,
5994         java/util/logging/SimpleFormatter.java,
5995         java/util/logging/Formatter.java,
5996         java/util/logging/ErrorManager.java,
5997         java/util/logging/Handler.java,
5998         java/util/logging/FileHandler.java,
5999         java/util/logging/LogManager.java,
6000         java/util/logging/Level.java,
6001         java/util/logging/ConsoleHandler.java,
6002         java/util/logging/StreamHandler.java,
6003         java/util/logging/LoggingPermission.java,
6004         java/util/logging/Filter.java,
6005         java/util/logging/MemoryHandler.java,
6006         java/util/logging/XMLFormatter.java:
6007         New files from classpath.
6008
6009 2003-06-20  Michael Koch  <konqueror@gmx.de>
6010
6011         * java/io/ObjectStreamField.java
6012         (unshared): new member variable.
6013         (ObjectStreamField): New constructor.
6014         (isUnshared): New method.
6015
6016 2003-06-20  Michael Koch  <konqueror@gmx.de>
6017
6018         * java/net/URLStreamHandler.java
6019         (hostsEqual): Rewritten.
6020
6021 2003-06-20  Michael Koch  <konqueror@gmx.de>
6022
6023         * gnu/java/nio/MappedByteFileBuffer.java,
6024         gnu/java/nio/natMappedByteFileBuffer.cc:
6025         Removed
6026         * java/nio/MappedByteBufferImpl.java:
6027         New file.
6028         * gnu/java/nio/FileChannelImpl.java:
6029         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
6030         * Makefile.am
6031         (ordinary_java_source_files): Removed
6032         gnu/java/nio/MappedByteFileBuffer.java and added
6033         java/nio/MappedByteBufferImpl.java.
6034         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
6035         * Makefile.in: Regenerated.
6036
6037 2003-06-19  Michael Koch  <konqueror@gmx.de>
6038
6039         * gnu/java/nio/DatagramChannelImpl.java
6040         (fd): Removed.
6041         (blocking): New member variable.
6042         (socket): Likewise.
6043         (DatagramChannelImpl): Throws IOException, initialize socket.
6044         (socket):Implemented.
6045         (implCloseSelectableChannel): Throws IOException, implemented.
6046         (implConfigureBlocking): Likewise.
6047         (connect): Likewise.
6048         (disconnect): Likewise.
6049         (isConnected): Likewise.
6050         (write): Likewise.
6051         (read): Likewise.
6052         (receive): Throws IOException.
6053         (send): Likewise.
6054         * gnu/java/nio/SocketChannelImpl.java
6055         (read): Implemented.
6056         (write): Implemented.
6057
6058 2003-06-19  Michael Koch  <konqueror@gmx.de>
6059
6060         * javax/swing/JComponent.java,
6061         javax/swing/JInternalFrame.java,
6062         javax/swing/MenuSelectionManager.java,
6063         javax/swing/SwingUtilities.java,
6064         javax/swing/ToggleButtonModel.java:
6065         New versions from classpath.
6066
6067 2003-06-19  Michael Koch  <konqueror@gmx.de>
6068
6069         * java/text/CollationElementIterator.java
6070         (NULLORDER): Initialize with -1 as JDK documentation says.
6071
6072 2003-06-19  Michael Koch  <konqueror@gmx.de>
6073
6074         * java/net/HttpURLConnection.java,
6075         java/net/Inet4Address.java,
6076         java/net/Inet6Address.java,
6077         java/net/SocketImpl.java,
6078         java/net/URLClassLoader.java:
6079         Reworked import statements.
6080         * java/net/InetAddress.java
6081         (getByAddress): Simplified.
6082         * java/net/ServerSocket.java
6083         (ServerSocket): Moved special handling during bind operation to
6084         bind().
6085         (bind): Handle different cases when trying to bind a socket.
6086         * java/net/URLConnection.java
6087         (getHeaderFieldDate): Merged with classpath.
6088         (getHeaderFieldInt): Likewise.
6089
6090 2003-06-19  Michael Koch  <konqueror@gmx.de>
6091
6092         * java/util/zip/InflaterInputStream.java
6093         (InflaterInputStream): Throw NullPointerException if in is null (as
6094         JDK does).
6095
6096 2003-06-19  Michael Koch  <konqueror@gmx.de>
6097
6098         * java/awt/Font.java
6099         javax/swing/UIManager.java
6100         javax/swing/border/AbstractBorder.java
6101         javax/swing/border/BevelBorder.java
6102         javax/swing/border/Border.java
6103         javax/swing/border/CompoundBorder.java
6104         javax/swing/border/EmptyBorder.java
6105         javax/swing/border/EtchedBorder.java
6106         javax/swing/border/LineBorder.java
6107         javax/swing/border/MatteBorder.java
6108         javax/swing/border/TitledBorder.java
6109         javax/swing/plaf/BorderUIResource.java
6110         javax/swing/plaf/basic/BasicBorders.java
6111         javax/swing/plaf/basic/BasicButtonUI.java
6112         javax/swing/plaf/basic/BasicCheckBoxUI.java
6113         javax/swing/plaf/basic/BasicGraphicsUtils.java
6114         javax/swing/plaf/basic/BasicLabelUI.java
6115         javax/swing/plaf/basic/BasicRadioButtonUI.java
6116         javax/swing/plaf/basic/BasicToggleButtonUI.java:
6117         New versions from classpath.
6118         * javax/swing/border/SoftBevelBorder.java:
6119         New file from classpath.
6120         * javax/swing/border/doc-files/LineBorder-1.png,
6121         javax/swing/border/doc-files/BevelBorder-1.png,
6122         javax/swing/border/doc-files/BevelBorder-2.png,
6123         javax/swing/border/doc-files/BevelBorder-3.png,
6124         javax/swing/border/doc-files/EmptyBorder-1.png,
6125         javax/swing/border/doc-files/EtchedBorder-1.png,
6126         javax/swing/border/doc-files/EtchedBorder-2.png,
6127         javax/swing/border/doc-files/MatteBorder-1.png,
6128         javax/swing/border/doc-files/MatteBorder-2.png,
6129         javax/swing/border/doc-files/MatteBorder-3.png,
6130         javax/swing/border/doc-files/MatteBorder-4.png,
6131         javax/swing/border/doc-files/MatteBorder-5.png,
6132         javax/swing/border/doc-files/MatteBorder-6.png,
6133         javax/swing/border/doc-files/SoftBevelBorder-1.png,
6134         javax/swing/border/doc-files/SoftBevelBorder-2.png,
6135         javax/swing/border/doc-files/SoftBevelBorder-3.png,
6136         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
6137         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
6138         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
6139         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
6140         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
6141         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
6142         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
6143         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
6144         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
6145         New binary files from classpath.
6146         * Makefile.am
6147         (awt_java_source_files): Added
6148         javax/swing/border/SoftBevelBorder.java.
6149         * Makefile.in: Regenerated.
6150
6151 2003-06-19  Michael Koch  <konqueror@gmx.de>
6152
6153         * gnu/java/security/x509/X509Certificate.java
6154         (writeReplace): Merged from classpath.
6155
6156 2003-06-19  Michael Koch  <konqueror@gmx.de>
6157
6158         * gnu/java/nio/FileChannelImpl.java
6159         (map_address): Made public.
6160         (FileChannelImpl): Merged with classpath.
6161         * gnu/java/nio/natFileChannelImpl.cc
6162         (nio_mmap_file): Commented out unused arguments.
6163         (nio_unmmap_file): Likewise.
6164         (niu_msync): Likewise.
6165
6166 2003-06-19  Michael Koch  <konqueror@gmx.de>
6167
6168         * java/awt/image/IndexColorModel.java:
6169         New version from classpath.
6170
6171 2003-06-18  Tom Tromey  <tromey@redhat.com>
6172
6173         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
6174         on arrays.
6175         (isLoopbackAddress): Likewise.
6176         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
6177         on arrays.
6178
6179 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
6180
6181         * java/lang/natVMSecurityManager.cc (getClassContext):
6182         Use maxlen instead of len for loop bound.
6183
6184 2003-06-18  Michael Koch  <konqueror@gmx.de>
6185
6186         * gnu/java/nio/SelectorImpl.java
6187         (register): Use fd with value 0 for now, will be fixed later.
6188         * gnu/java/nio/ServerSocketChannelImpl.java
6189         (fd): Removed.
6190         (local_port): Removed.
6191         (InetSocketAddress): Removed.
6192         (ServerSocketChannelImpl): Just initialize internal socket object.
6193         (implCloseSelectableChannel): Close internal socket object.
6194         (implConfigureBlocking): Added comment.
6195         (accept): Use jaba.net stuff to accept socket.
6196         * gnu/java/nio/SocketChannelImpl.java
6197         (fd): Removed.
6198         (local_port): Removed.
6199         (InetSocketAddress): Removed.
6200         (SocketCreate): Removed.
6201         (SocketConnect): Removed.
6202         (SocketBind): Removed.
6203         (SocketListen): Removed.
6204         (SocketAvailable): Removed.
6205         (SocketClose): Removed.
6206         (SocketRead): Removed.
6207         (SocketWrite): Removed.
6208         (SocketChannelImpl): Just initialize internal socket object.
6209         (implCloseSelectableChannel): Close internal socket object.
6210         (implConfigureBlocking): Fixed implementation, added comment.
6211         (connect): Use internal socket object to connect.
6212         (socket): No need for sanity checks.
6213         (read): Comment out some stuff, this will be reimplemented in the next
6214         commit.
6215         (write): Likewise.
6216         * gnu/java/nio/natFileChannelImpl.cc
6217         (nio_mmap_file): Line wrapped.
6218         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
6219         * Makefile.am
6220         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
6221         * Makefile.in: Regenerated.
6222
6223 2003-06-18  Michael Koch  <konqueror@gmx.de>
6224
6225         * java/util/Locale.java
6226         (equals): Merged from classpath.
6227
6228 2003-06-18  Michael Koch  <konqueror@gmx.de>
6229
6230         * java/net/InetAddress.java:
6231         Reformatted to better match classpath's version.
6232         * java/net/URL.java
6233         (equals): Simplified.
6234         * java/net/URLConnection.java
6235         (setDoInput): Revised documentation.
6236         (getDefaultUseCaches): Likewise.
6237         (setRequestProperty): Added @since tag.
6238
6239 2003-06-17  Michael Koch  <konqueror@gmx.de>
6240
6241         * java/net/InetSocketAddress.java
6242         (InetSocketAddress): Use wildcard address if addr is null.
6243         (InetSocketAddress): Dont duplicate implementation.
6244         (InetSocketAddress): Throw exception when hostname is null.
6245         * java/net/Socket.java:
6246         Reworked imports.
6247         (Socket): Throw exception when raddr is null, handle case when laddr
6248         is null.
6249
6250 2003-06-17  Michael Koch  <konqueror@gmx.de>
6251
6252         * java/nio/DirectByteBufferImpl.java
6253         (address): Made package private.
6254         (DirectByteBufferImpl): New constructor.
6255         * java/nio/natDirectByteBufferImpl.cc
6256         (allocateImpl): Moved to java.nio namespace, implemented.
6257         (freeImpl): Likewise.
6258         (getImpl): Likewise.
6259         (putImpl): Likewise.
6260         * jni.cc
6261         (_Jv_JNI_NewDirectByteBuffer): Implemented.
6262         (_Jv_JNI_GetDirectBufferAddress): Implemented.
6263         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
6264
6265 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6266
6267         * include/powerpc-signal.h: New File.
6268         * configure.in: Use it.
6269         * configure: Regenerated.
6270
6271 2003-06-17  Michael Koch  <konqueror@gmx.de>
6272
6273         * java/util/Locale.java
6274         (getDisplayLanguage): Made it final.
6275         (getDisplayCountry): Likewise.
6276         (getDisplayVariant): Likewise.
6277         (getDisplayName): Likewise.
6278
6279 2003-06-17  Michael Koch  <konqueror@gmx.de>
6280
6281         * java/util/PropertyResourceBundle.java:
6282         Removed unneeded import.
6283
6284 2003-06-17  Michael Koch  <konqueror@gmx.de>
6285
6286         * java/util/prefs/AbstractPreferences.java,
6287         java/util/prefs/PreferencesFactory.java:
6288         Reworked imports, removed unused imports.
6289         * java/util/prefs/Preferences.java
6290         (systemNodeForPackage): Method takes a Class not an Object.
6291         (userNodeForPackage): Likewise.
6292         (nodeForPackage): Likewise.
6293
6294 2003-06-17  Michael Koch  <konqueror@gmx.de>
6295
6296         * gnu/java/security/x509/X509Certificate.java:
6297         Explicitely import used classes.
6298
6299 2003-06-17  Michael Koch  <konqueror@gmx.de>
6300
6301         * java/util/zip/ZipEntry.java,
6302         java/util/zip/ZipFile.java,
6303         java/util/zip/ZipInputStream.java,
6304         java/util/zip/ZipOutputStream.java:
6305         Reworked imports, only import used classes.
6306
6307 2003-06-17  Michael Koch  <konqueror@gmx.de>
6308
6309         * gnu/java/lang/ArrayHelper.java,
6310         gnu/java/lang/ClassHelper.java:
6311         Reformatted to match classpath's versions.
6312
6313 2003-06-14  Michael Koch  <konqueror@gmx.de>
6314
6315         * gnu/java/nio/FileChannelImpl.java
6316         (map_address): Removed incorrect comment.        
6317         * gnu/java/nio/SelectorImpl.java
6318         (register): Remove code duplication and code for file channel handling.        
6319         * gnu/java/nio/ServerSocketChannelImpl.java
6320         (serverSocket): Renamed from sock_object.
6321         (ServerSocketChannel): Initialize serverSocket.
6322         (socket): Return serverSocket.
6323         * gnu/java/nio/SocketChannelImpl.java
6324         (socket): Renamed from sock_object.
6325         (isConnectionPenging): Simplified.
6326         (socket): Return socket.
6327 2003-06-14  Michael Koch  <konqueror@gmx.de>
6328
6329         * java/security/BasicPermission.java:
6330         New version from classpath.
6331
6332 2003-06-14  Michael Koch  <konqueror@gmx.de>
6333
6334         * javax/naming/directory/Attribute.java:
6335         New version from classpath.
6336
6337 2003-06-14  Michael Koch  <konqueror@gmx.de>
6338
6339         * java/io/BufferedReader.java,
6340         java/io/FileOutputStream.java:
6341         New versions from classpath.
6342
6343 2003-06-12  Andrew Haley  <aph@redhat.com>
6344
6345         * prims.cc (catch_segv): Create exception in handler.
6346         (catch_fpe): Likewise.  
6347         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
6348         (_Jv_ThrowSignal): Remove.
6349
6350         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
6351         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
6352         to nullp and arithexception.
6353         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6354         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6355         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6356         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6357         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6358
6359 2003-06-11  Andrew Haley  <aph@redhat.com>
6360
6361         * jni.cc (_Jv_JNI_check_types): New.
6362         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
6363         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
6364         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
6365         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
6366         
6367         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
6368         infinite loop.
6369
6370 2003-06-11  Tom Tromey  <tromey@redhat.com>
6371
6372         * java/lang/ClassLoader.java (loadClass): Not deprecated.
6373         * java/io/PrintStream.java: Not deprecated.
6374
6375 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
6376
6377         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
6378         (fillOval): implemented
6379         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
6380         (fillArc): implemented.
6381         * gnu/gcj/xlib/GC.java (drawArc): added native method.
6382         (fillArc): added native method.
6383         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
6384         (fillArc): added native method.
6385
6386 2003-06-11  Michael Koch  <konqueror@gmx.de>
6387
6388         * java/awt/im/InputSubset.java:
6389         New version from classpath.
6390
6391 2003-06-11  Michael Koch  <konqueror@gmx.de>
6392
6393         * javax/swing/AbstractAction.java,
6394         javax/swing/AbstractButton.java,
6395         javax/swing/AbstractCellEditor.java,
6396         javax/swing/AbstractListModel.java,
6397         javax/swing/BorderFactory.java,
6398         javax/swing/Box.java,
6399         javax/swing/BoxLayout.java,
6400         javax/swing/ButtonGroup.java,
6401         javax/swing/DefaultButtonModel.java,
6402         javax/swing/DefaultListModel.java,
6403         javax/swing/DefaultListSelectionModel.java,
6404         javax/swing/FocusManager.java,
6405         javax/swing/ImageIcon.java,
6406         javax/swing/InputMap.java,
6407         javax/swing/JApplet.java,
6408         javax/swing/JButton.java,
6409         javax/swing/JCheckBox.java,
6410         javax/swing/JCheckBoxMenuItem.java,
6411         javax/swing/JColorChooser.java,
6412         javax/swing/JComboBox.java,
6413         javax/swing/JComponent.java,
6414         javax/swing/JDesktopPane.java,
6415         javax/swing/JDialog.java,
6416         javax/swing/JEditorPane.java,
6417         javax/swing/JFileChooser.java,
6418         javax/swing/JFormattedTextField.java,
6419         javax/swing/JFrame.java,
6420         javax/swing/JLabel.java,
6421         javax/swing/JLayeredPane.java,
6422         javax/swing/JList.java,
6423         javax/swing/JMenuBar.java,
6424         javax/swing/JMenuItem.java,
6425         javax/swing/JOptionPane.java,
6426         javax/swing/JPanel.java,
6427         javax/swing/JPasswordField.java,
6428         javax/swing/JPopupMenu.java,
6429         javax/swing/JProgressBar.java,
6430         javax/swing/JRadioButton.java,
6431         javax/swing/JRadioButtonMenuItem.java,
6432         javax/swing/JRootPane.java,
6433         javax/swing/JScrollBar.java,
6434         javax/swing/JScrollPane.java,
6435         javax/swing/JSeparator.java,
6436         javax/swing/JSlider.java,
6437         javax/swing/JTabbedPane.java,
6438         javax/swing/JTable.java,
6439         javax/swing/JTextField.java,
6440         javax/swing/JToggleButton.java,
6441         javax/swing/JToolBar.java,
6442         javax/swing/JToolTip.java,
6443         javax/swing/JTree.java,
6444         javax/swing/JViewport.java,
6445         javax/swing/JWindow.java,
6446         javax/swing/KeyStroke.java,
6447         javax/swing/ListSelectionModel.java,
6448         javax/swing/LookAndFeel.java,
6449         javax/swing/RepaintManager.java,
6450         javax/swing/ScrollPaneLayout.java,
6451         javax/swing/SizeRequirements.java,
6452         javax/swing/SwingConstants.java,
6453         javax/swing/Timer.java,
6454         javax/swing/UIDefaults.java,
6455         javax/swing/UIManager.java,
6456         javax/swing/border/AbstractBorder.java,
6457         javax/swing/border/CompoundBorder.java,
6458         javax/swing/colorchooser/AbstractColorChooserPanel.java,
6459         javax/swing/colorchooser/ColorChooserComponentFactory.java,
6460         javax/swing/colorchooser/ColorSelectionModel.java,
6461         javax/swing/colorchooser/DefaultColorSelectionModel.java,
6462         javax/swing/event/AncestorEvent.java,
6463         javax/swing/event/HyperlinkEvent.java,
6464         javax/swing/event/InternalFrameAdapter.java,
6465         javax/swing/event/InternalFrameEvent.java,
6466         javax/swing/event/ListDataEvent.java,
6467         javax/swing/event/MouseInputAdapter.java,
6468         javax/swing/event/SwingPropertyChangeSupport.java,
6469         javax/swing/event/TableModelEvent.java,
6470         javax/swing/event/TreeWillExpandListener.java,
6471         javax/swing/event/UndoableEditEvent.java,
6472         javax/swing/filechooser/FileFilter.java,
6473         javax/swing/filechooser/FileSystemView.java,
6474         javax/swing/filechooser/FileView.java,
6475         javax/swing/plaf/BorderUIResource.java,
6476         javax/swing/plaf/basic/BasicDefaults.java,
6477         javax/swing/table/AbstractTableModel.java,
6478         javax/swing/table/DefaultTableCellRenderer.java,
6479         javax/swing/table/DefaultTableColumnModel.java,
6480         javax/swing/table/DefaultTableModel.java,
6481         javax/swing/table/TableColumn.java,
6482         javax/swing/text/JTextComponent.java,
6483         javax/swing/tree/AbstractLayoutCache.java,
6484         javax/swing/tree/DefaultMutableTreeNode.java,
6485         javax/swing/tree/DefaultTreeCellEditor.java,
6486         javax/swing/tree/DefaultTreeCellRenderer.java,
6487         javax/swing/tree/DefaultTreeModel.java,
6488         javax/swing/tree/DefaultTreeSelectionModel.java,
6489         javax/swing/tree/FixedHeightLayoutCache.java,
6490         javax/swing/tree/TreeCellEditor.java,
6491         javax/swing/tree/TreeModel.java,
6492         javax/swing/tree/TreeNode.java,
6493         javax/swing/tree/TreePath.java,
6494         javax/swing/tree/TreeSelectionModel.java,
6495         javax/swing/tree/VariableHeightLayoutCache.java,
6496         javax/swing/undo/AbstractUndoableEdit.java,
6497         javax/swing/undo/CompoundEdit.java,
6498         javax/swing/undo/StateEdit.java,
6499         javax/swing/undo/UndoManager.java,
6500         javax/swing/undo/UndoableEditSupport.java:
6501         New versions from classpath.
6502         * javax/swing/table/JTableHeader.java:
6503         New file from classpath.
6504         * Makefile.am
6505         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
6506         * Makefile.in: Regenerated.
6507
6508 2003-06-11  Michael Koch  <konqueror@gmx.de>
6509
6510         * java/nio/MappedByteBuffer.java,
6511         java/nio/channels/Channels.java,
6512         java/nio/channels/ServerSocketChannel.java,
6513         java/nio/channels/spi/AbstractSelector.java:
6514         Removed unneeded imports.
6515
6516 2003-06-11  Michael Koch  <konqueror@gmx.de>
6517
6518         * java/net/DatagramSocket.java:
6519         Partly merged with classpath.
6520
6521 2003-06-11  Michael Koch  <konqueror@gmx.de>
6522
6523         * java/awt/Frame.java,
6524         java/awt/Graphics.java,
6525         java/awt/Menu.java,
6526         java/awt/Robot.java,
6527         java/awt/image/ColorModel.java:
6528         New versions from classpath.
6529
6530 2003-06-10  Michael Koch  <konqueror@gmx.de>
6531
6532         * java/io/PrintStream.java:
6533         Merged version from classpath.
6534         (close): Removed sychronized keyword. This class is not garantied to
6535         be thread-safe.
6536         (write): Likewise.
6537
6538 2003-06-09  Tom Tromey  <tromey@redhat.com>
6539
6540         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
6541         field.
6542         (getDescent): Likewise, for "descent".
6543
6544 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
6545
6546         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
6547         (getMaxDescent): adjusted return value.
6548         (getAscent): modified to use metrics for 'O'.
6549         (getDescent): modified to use metrics for 'y'.
6550
6551 2003-06-08  Anthony Green  <green@redhat.com>
6552
6553         * java/net/URLStreamHandler.java (sameFile): Fix port value
6554         comparison.
6555         * java/net/URL.java (handler): Make package private.
6556         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
6557
6558 2003-06-07  Tom Tromey  <tromey@redhat.com>
6559
6560         For PR libgcj/11085:
6561         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
6562         Limit number of characters in numeric field when required.
6563         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
6564         Respect maximumIntegerDigits.
6565
6566 2003-06-08  Michael Koch  <konqueror@gmx.de>
6567
6568         * java/net/Socket.java
6569         (Socket): Dont initialize inputShutdown and outputShutdown twice,
6570         call bind() and connect() to actually do the bind and connect tasks.
6571         (bind): Connect to canonical address if bindpoint is null, create
6572         socket and bind it to bindpoint.
6573         (connect): Check for exceptions.
6574
6575 2003-06-08  Michael Koch  <konqueror@gmx.de>
6576
6577         * java/net/DatagramSocket.java
6578         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
6579         into the Multicast constructors.
6580         * java/net/DatagramSocketImpl.java
6581         (getOption): Removed.
6582         (setOption): Removed.
6583         * java/net/MulticastSocket.java
6584         (MulticastSocket): Call setReuseAddress (true).
6585         * java/net/SocketImpl.java
6586         (getOption): Removed.
6587         (setOption): Removed.
6588
6589 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
6590
6591         PR libgcj/10886:
6592         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
6593         Test for empty vector.
6594
6595 2003-06-06  Mark Wielaard  <mark@klomp.org>
6596
6597         * java/security/Security.java (secprops): Initialize.
6598         (loadProviders): Return boolean.
6599         (static): Check result of loadProvider calls. If necessary
6600         display WARNING and fallback to Gnu provider.
6601
6602 2002-06-06  James Clark  <jjc@jclark.com>
6603
6604         Fix for PR libgcj/8738:
6605         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
6606         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
6607         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
6608         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
6609         (write): Always decrease avail when count is increased.
6610         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
6611         and whether output buffer is full before increasing size.
6612
6613 2002-06-06  Mark Wielaard  <mark@klomp dot org>
6614
6615         * java/io/PrintStream.java (writeChars(char[],int, int)):
6616         Check converter.havePendingBytes().
6617         (writeChars(String,int,int)): Likewise.
6618         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
6619         Check converter.havePendingBytes() and flush buffer when stalled.
6620
6621 2003-06-07  Michael Koch  <konqueror@gmx.de>
6622
6623         * include/posix.h
6624         (O_DSYNC): Define O_DSYNC on platforms not
6625         supporting O_FSYNC (newlib).
6626
6627 2003-06-06  Mark Wielaard  <mark@klomp.org>
6628
6629         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
6630         AWTError.
6631
6632 2003-06-06  Michael Koch  <konqueror@gmx.de>
6633
6634         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6635         More compile fixes from my stupid work yesterday.
6636
6637 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
6638
6639         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
6640         if _IEEE_LIBM is undefined.
6641
6642 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
6643
6644         * libjava/include/posix.h (O_SYNC): Define if not available
6645         and a reasonable, perhaps more conservative, replacement exists.
6646         (O_DSYNC): Likewise.
6647         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
6648
6649 2003-06-05  Michael Koch  <konqueror@gmx.de>
6650
6651         * javax/swing/plaf/BorderUIResource.java,
6652         javax/swing/plaf/basic/BasicDefaults.java,
6653         javax/swing/plaf/basic/BasicOptionPaneUI.java:
6654         More compile fixes for latest Border commit. I should not commit
6655         something in this heat here ...
6656
6657 2003-06-05  Michael Koch  <konqueror@gmx.de>
6658
6659         * javax/swing/border/BevelBorder.java
6660         (BevelBorder): Removed.
6661         * javax/swing/border/EmptyBorder.java:
6662         Reformatted.
6663         (EmptyBorder): Removed.
6664         (getBorderInsets): Dont use l, r, t and b.
6665         * javax/swing/border/EtchedBorder.java
6666         (EtchedBorder): Removed.
6667         * javax/swing/border/LineBorder.java
6668         (LineBorder): Removed.
6669         * javax/swing/border/MatteBorder.java
6670         (MatteBorder): Removed.
6671         * javax/swing/border/TitledBorder.java
6672         (defaultBorder): Use other default for now.
6673         (defaultFont): Likewise.
6674         (defaultColor): Likewise.
6675
6676 2003-06-05  Michael Koch  <konqueror@gmx.de>
6677
6678         * javax/swing/border/Border.java:
6679         New version from classpath.
6680
6681 2003-06-05  Michael Koch  <konqueror@gmx.de>
6682
6683         * javax/swing/border/AbstractBorder.java,
6684         javax/swing/border/BevelBorder.java,
6685         javax/swing/border/CompoundBorder.java,
6686         javax/swing/border/EmptyBorder.java,
6687         javax/swing/border/EtchedBorder.java,
6688         javax/swing/border/LineBorder.java,
6689         javax/swing/border/MatteBorder.java,
6690         javax/swing/border/TitledBorder.java:
6691         New versions from Classpath.
6692
6693 2003-06-05  Michael Koch  <konqueror@gmx.de>
6694
6695         * java/awt/Button.java,
6696         java/awt/Checkbox.java,
6697         java/awt/CheckboxMenuItem.java,
6698         java/awt/Choice.java,
6699         java/awt/Container.java,
6700         java/awt/Dialog.java,
6701         java/awt/EventQueue.java,
6702         java/awt/FileDialog.java,
6703         java/awt/Frame.java,
6704         java/awt/Label.java,
6705         java/awt/List.java,
6706         java/awt/Menu.java,
6707         java/awt/MenuItem.java,
6708         java/awt/Panel.java,
6709         java/awt/PopupMenu.java,
6710         java/awt/Rectangle.java,
6711         java/awt/ScrollPane.java,
6712         java/awt/Scrollbar.java,
6713         java/awt/TextArea.java,
6714         java/awt/TextField.java,
6715         java/awt/Window.java,
6716         java/awt/datatransfer/DataFlavor.java,
6717         java/awt/dnd/DragSource.java,
6718         java/awt/dnd/DragSourceContext.java,
6719         java/awt/event/HierarchyEvent.java,
6720         java/awt/event/MouseWheelEvent.java,
6721         java/awt/im/InputContext.java,
6722         java/awt/image/BufferedImage.java,
6723         java/awt/image/ComponentColorModel.java,
6724         java/awt/image/Raster.java,
6725         java/awt/image/WritableRaster.java,
6726         java/awt/peer/ComponentPeer.java,
6727         java/awt/print/PageFormat.java,
6728         java/awt/print/PrinterJob.java:
6729         New versions from Classpath.
6730
6731 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
6732
6733         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
6734         numberFormat.setParseIntegerOnly(true).
6735
6736 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
6737
6738         * include/posix-threads.h: Include <machine/pal.h> on OSF.
6739
6740 2003-06-03  Andrew Haley  <aph@redhat.com>
6741
6742         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
6743         stack volatile to prevent optimization from removing it.
6744
6745 2003-05-27  Michael Koch  <konqueror@gmx.de>
6746
6747         * java/util/zip/Deflater.java
6748         (FILTERED): Merged documentation from classpath.
6749         * java/util/zip/DeflaterOutputStream.java
6750         (DeflaterOutputStream): Merged documentation and argument validity
6751         check from classpath.
6752         (deflate): Merged documentation from classpath.
6753         (finish): Likewise.
6754         * java/util/zip/Inflater.java
6755         (Inflater): Merged class documentation from classpath.
6756         (zstream): Reordered.
6757         (is_finished): Reordered.
6758         (dict_needed): Reordered.
6759         (Inflater): Reordered, merged documentation from classpath.
6760         (end): Likewise.
6761         (finalize): Merged documentation from classpath.
6762         (finished): Likewise.
6763         (getAdler): Likewise.
6764         (getRemaining): Likewise.
6765         (getTotalIn): Likewise.
6766         (getTotalOut): Likewise.
6767         (inflate): Likewise.
6768         (needsDictionary): Likewise.
6769         (needsInput): Likewise.
6770         (reset): Likewise.
6771         (setDictionary): Likewise.
6772         (setInput): Likewise.
6773
6774 2003-05-27  Michael Koch  <konqueror@gmx.de>
6775
6776         * java/net/URLConnection.java
6777         (getHeaderFieldInt): Merged with classpath.
6778
6779 2003-05-27  Michael Koch  <konqueror@gmx.de>
6780
6781         * java/io/PrintStream.java
6782         (PrintStream): Reformatted.
6783         (PrintStream): New method, merged from classpath.
6784         (write): Reformatted.
6785
6786 2003-05-27  Michael Koch  <konqueror@gmx.de>
6787
6788         * java/lang/System.java:
6789         Explicitely import needed classes.
6790
6791 2003-05-26  Michael Koch  <konqueror@gmx.de>
6792
6793         * java/net/NetPermission.java,
6794         java/net/NetworkInterface.java,
6795         java/net/PasswordAuthentication.java,
6796         java/net/SocketPermission.java:
6797         New versions from classpath.
6798
6799 2003-05-25  Michael Koch  <konqueror@gmx.de>
6800
6801         * java/io/PushbackInputStream.java,
6802         java/net/Authenticator.java,
6803         java/net/ContentHandler.java,
6804         java/net/ContentHandlerFactory.java,
6805         java/net/DatagramSocket.java,
6806         java/net/DatagramSocketImpl.java,
6807         java/net/DatagramSocketImplFactory.java,
6808         java/net/FileNameMap.java,
6809         java/net/SocketImplFactory.java,
6810         java/net/SocketOptions.java,
6811         java/net/URLStreamHandlerFactory.java:
6812         Merged new versions from classpath.
6813
6814 2003-05-25  Michael Koch  <konqueror@gmx.de>
6815
6816         * java/awt/Checkbox.java,
6817         java/awt/Dialog.java,
6818         java/awt/Font.java,
6819         java/awt/Frame.java,
6820         java/awt/ScrollPaneAdjustable.java,
6821         java/awt/Scrollbar.java,
6822         java/awt/Window.java:
6823         New versions from classpath.
6824
6825 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
6826
6827         PR libgcj/10838:
6828         * java/io/ObjectInputStream (enableResolveObject):
6829         Fixed spelling of permission name.
6830
6831 2003-05-20  Michael Koch  <konqueror@gmx.de>
6832
6833         * java/io/DataInputStream.java
6834         (convertFromUTF): Merged comment from classpath.
6835         * java/io/PrintStream.java
6836         (error_occured): Renamed from error, merged comment from classpath.
6837         (PrintStream): No need to initialized error.
6838         (checkError): Replace error with error_occurred.
6839         (setError): Likewise.
6840
6841 2003-05-20  Michael Koch  <konqueror@gmx.de>
6842
6843         * java/io/DataInputStream.java:
6844         Reformatted, Replaced < and & with html entitites in documentation.
6845         * java/io/File.java:
6846         Reformatted.
6847         * java/io/PrintWriter.java:
6848         Moved class documentation.
6849
6850 2003-05-20  Michael Koch  <konqueror@gmx.de>
6851
6852         * gnu/java/nio/ByteBufferImpl.java,
6853         gnu/java/nio/CharBufferImpl.java,
6854         gnu/java/nio/CharViewBufferImpl.java,
6855         gnu/java/nio/DirectByteBufferImpl.java,
6856         gnu/java/nio/DoubleBufferImpl.java,
6857         gnu/java/nio/DoubleViewBufferImpl.java,
6858         gnu/java/nio/FloatBufferImpl.java,
6859         gnu/java/nio/FloatViewBufferImpl.java,
6860         gnu/java/nio/IntBufferImpl.java,
6861         gnu/java/nio/IntViewBufferImpl.java,
6862         gnu/java/nio/LongBufferImpl.java,
6863         gnu/java/nio/LongViewBufferImpl.java,
6864         gnu/java/nio/natDirectByteBufferImpl.cc,
6865         gnu/java/nio/ShortBufferImpl.java,
6866         gnu/java/nio/ShortViewBufferImpl.java:
6867         Moved files to java/nio.
6868         * gnu/java/nio/SocketChannelImpl.java
6869         
6870         * java/nio/ByteBuffer.java,
6871         java/nio/CharBuffer.java,
6872         java/nio/DoubleBuffer.java,
6873         java/nio/FloatBuffer.java,
6874         java/nio/IntBuffer.java,
6875         java/nio/LongBuffer.java,
6876         java/nio/ShortBuffer.java:
6877         Dont import anything.
6878         * java/nio/ByteBufferImpl.java,
6879         java/nio/CharBufferImpl.java,
6880         java/nio/CharViewBufferImpl.java,
6881         java/nio/DirectByteBufferImpl.java,
6882         java/nio/DoubleBufferImpl.java,
6883         java/nio/DoubleViewBufferImpl.java,
6884         java/nio/FloatBufferImpl.java,
6885         java/nio/FloatViewBufferImpl.java,
6886         java/nio/IntBufferImpl.java,
6887         java/nio/IntViewBufferImpl.java,
6888         java/nio/LongBufferImpl.java,
6889         java/nio/LongViewBufferImpl.java,
6890         java/nio/natDirectByteBufferImpl.cc,
6891         java/nio/ShortBufferImpl.java,
6892         java/nio/ShortViewBufferImpl.java:
6893         Moved from gnu/java/nio.
6894         * Makefile.am
6895         (ordinary_java_source_files): Moved files from gnu/java/nio to
6896         java/nio.
6897         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
6898         to java/nio.
6899         * Makefile.in: Regenerated.
6900
6901 2003-05-19  Michael Koch  <konqueror@gmx.de>
6902
6903         * java/util/Calendar.java
6904         (get): Not final anymore since JDK 1.4
6905         (set): Likewise.
6906
6907 2003-05-19  Michael Koch  <konqueror@gmx.de>
6908
6909         * java/text/CollationKey.java:
6910         Merged copyright and dat from classpath.
6911         * java/text/RuleBasedCollator.java:
6912         Merged class documentation from classpath.
6913
6914 2003-05-19  Michael Koch  <konqueror@gmx.de>
6915
6916         * java/nio/CharBuffer.java
6917         (toString): Compile fix.
6918
6919 2003-05-19  Michael Koch  <konqueror@gmx.de>
6920
6921         * gnu/java/nio/ByteBufferImpl.java
6922         (putLong): Fixed conversion to bytes.
6923         (putDouble): Fixed conversion to bytes.
6924         * gnu/java/nio/DirectByteBufferImpl.java
6925         (putLong): Fixed conversion to bytes.
6926         (putDouble): Fixed conversion to bytes.
6927         * gnu/java/nio/FileLockImpl.java
6928         (isValid): Reformatted.
6929         * java/nio/Buffer.java
6930         (Buffer): Fixed off-by-one bug in handling mark.
6931         * java/nio/ByteBuffer.java:
6932         Added newline.
6933         * java/nio/CharBuffer.java
6934         (toString): Don't use relative get to get string data.
6935
6936 2003-05-16  Michael Koch  <konqueror@gmx.de>
6937
6938         * java/io/natFileDescriptorPosix.cc
6939         (open): Commented out the O_SYNC and O_DSYNC usage until its better
6940         tested.
6941
6942 2003-05-14  Michael Koch  <konqueror@gmx.de>
6943
6944         * gnu/java/nio/FileLockImpl.java
6945         (released): New member variable.
6946         (FileLockImpl): Initialize released.
6947         (releaseImpl): New native method.
6948         (release): Implemented.
6949         * gnu/java/nio/SelectorImpl.java: Reformatted.
6950         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
6951         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
6952         (accept): Throws IOException.
6953         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
6954         (implConfigureBlocking): Throws IOException.
6955         (connect): Likewise.
6956         (read): Likewise.
6957         (write): Likewise.
6958         * gnu/java/nio/natFileLockImpl.cc: New file.
6959         * java/nio/channels/FileLock.java: Reformatted.
6960         * Makefile.am:
6961         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
6962         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
6963         * Makefile.in: Regenerated.
6964
6965 2003-05-13  Michael Koch  <konqueror@gmx.de>
6966
6967         * gnu/java/nio/CharViewBufferImpl.java
6968         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
6969         (get): Shift bits to the right direction.
6970         (put): Likewise.
6971         * gnu/java/nio/DoubleViewBufferImpl.java
6972         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
6973         (get): Shift bits to the right direction.
6974         (put): Likewise.
6975         * gnu/java/nio/FloatViewBufferImpl.java
6976         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
6977         (get): Shift bits to the right direction.
6978         (put): Likewise.
6979         * gnu/java/nio/IntViewBufferImpl.java
6980         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
6981         (get): Shift bits to the right direction.
6982         (put): Likewise.
6983         * gnu/java/nio/LongViewBufferImpl.java
6984         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
6985         (get): Shift bits to the right direction.
6986         (put): Likewise.
6987         * gnu/java/nio/ShortViewBufferImpl.java
6988         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
6989         (get): Shift bits to the right direction.
6990         (put): Likewise.
6991
6992 2003-05-13  Michael Koch  <konqueror@gmx.de>
6993
6994         * gnu/java/nio/natDirectByteBufferImpl.cc
6995         (allocateImpl): jlong -> RawData*.
6996         (freeImpl): Likewise.
6997
6998 2003-05-13  Michael Koch  <konqueror@gmx.de>
6999
7000         * java/nio/channels/FileChannel.java
7001         (MapMode.m): Made it package-private to match JDK 1.4.
7002         * java/nio/charset/Charset.java
7003         (decode): Made it final to match JDK 1.4.
7004
7005 2003-05-13  Michael Koch  <konqueror@gmx.de>
7006
7007        * java/io/FileDescriptor.java
7008        (SYNC): New constant.
7009        (DSYNC): Likewise.
7010        (getLength): Renamed from lenght() to match classpath's
7011        FileDescriptor.java.
7012        * java/io/RandomAccessFile.java
7013        (RandomAccessFile): Removed unneeded mode check, implemented mode
7014        "rws" and "rwd", merged documentation from classpath.
7015        (setLength): Reformatted.
7016        (length): Use new getLength() of FileDescriptor.
7017        * java/io/natFileDescriptorEcos.cc
7018        (getLength): Renamed from length().
7019        * java/io/natFileDescriptorPosix.cc
7020        (open): Implemented support for SYNC and DSYNC.
7021        (seek): Use getLength() instead of length().
7022        (getLength): Renamed from length().
7023        * java/io/natFileDescriptorWin32.cc
7024        (getLength): Renamed from length().
7025        (seek): Use getLength() instead of length().
7026        (available): Likewise.
7027        * gnu/java/nio/natFileChannelImpl.cc
7028        (size): Use getLength() instead of length().
7029
7030 2003-05-13  Michael Koch  <konqueror@gmx.de>
7031
7032         * gnu/java/nio/ByteBufferImpl.java
7033         (ByteBufferImpl): All constructors revised.
7034         (slice): Reimplemented.
7035         (duplicate): Reimplemented.
7036         (asReadOnlyBuffer): Reimplemented.
7037         * java/nio/ByteBuffer.java:
7038         Reformatted.
7039         (array_offset): Renamed from "offset" to match all other buffer
7040         classes.
7041         (ByteBuffer): All constructors revised.
7042         (allocateDirect): Implemented.
7043         (allocate): New implementation, documentation reworked.
7044         (wrap): Likewise.
7045         (get): Documentation reworked.
7046         (put): New implementation, documentation reworked.
7047         (hasArray): Documentation reworked.
7048         (arrayOffset): Likewise.
7049         (hashCode): Likewise.
7050         (equals): Likewise.
7051         (compareTo): Likewise.
7052         (order): Likewise.
7053         (compact): Likewise.
7054         (isDirect): Likewise.
7055         (slice): Likewise.
7056         (duplicate): Likewise.
7057         (asReadOnlyBuffer): Likewise.
7058         * Makefile.am
7059         (ordinary_java_source_files):
7060         Added gnu/java/nio/DirectByteBufferImpl.java.
7061         (nat_source_files):
7062         Added gnu/java/nio/natDirectByteBufferImpl.cc.
7063         * Makefile.in: Regenerated.
7064
7065 2003-05-12  Michael Koch  <konqueror@gmx.de>
7066
7067         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
7068         (nio_get_*): Removed.
7069         (nio_put_*): Removed.
7070         (as*Buffer): Implemented.
7071         (compact): Implemented.
7072         (get): Documentation added.
7073         (put): Documentation added.
7074         (get*): Newly implemented.
7075         (put*): Newly implemented.
7076         * gnu/java/nio/CharBufferImpl.java: Reformatted.
7077         (CharBufferImpl): Revised.
7078         (slice): New implementation.
7079         (duplicate): New implementation.
7080         (compact): New implementation.
7081         (asReadOnlyBuffer): New implementation.
7082         (get): Documentation revised.
7083         (order): Return native byte order.
7084         * gnu/java/nio/DirectByteBufferImpl.java
7085         (allocateDirect): objects can be null not 0.
7086         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
7087         (DoubleBufferImpl): Revised.
7088         (slice): New implementation.
7089         (duplicate): New implementation.
7090         (compact): New implementation.
7091         (asReadOnlyBuffer): New implementation.
7092         (get): Documentation revised.
7093         (order): Return native byte order.
7094         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
7095         (FloatBufferImpl): Revised.
7096         (slice): New implementation.
7097         (duplicate): New implementation.
7098         (compact): New implementation.
7099         (asReadOnlyBuffer): New implementation.
7100         (get): Documentation revised.
7101         (order): Return native byte order.
7102         * gnu/java/nio/IntBufferImpl.java: Reformatted.
7103         (IntBufferImpl): Revised.
7104         (slice): New implementation.
7105         (duplicate): New implementation.
7106         (compact): New implementation.
7107         (asReadOnlyBuffer): New implementation.
7108         (get): Documentation revised.
7109         (order): Return native byte order.
7110         * gnu/java/nio/LongBufferImpl.java: Reformatted.
7111         (LongBufferImpl): Revised.
7112         (slice): New implementation.
7113         (duplicate): New implementation.
7114         (compact): New implementation.
7115         (asReadOnlyBuffer): New implementation.
7116         (get): Documentation revised.
7117         (order): Return native byte order.
7118         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
7119         (ShortBufferImpl): Revised.
7120         (slice): New implementation.
7121         (duplicate): New implementation.
7122         (compact): New implementation.
7123         (asReadOnlyBuffer): New implementation.
7124         (get): Documentation revised.
7125         (order): Return native byte order.
7126         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
7127         (CharBuffer): Revised.
7128         (order): Removed.
7129         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
7130         (DoubleBuffer): Revised.
7131         (allocateDirect): Removed.
7132         (order): Removed.
7133         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
7134         (FloatBuffer): Revised.
7135         (allocateDirect): Removed.
7136         (order): Removed.
7137         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
7138         (IntBuffer): Revised.
7139         (allocateDirect): Removed.
7140         (order): Removed.
7141         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
7142         (LongBuffer): Revised.
7143         (allocateDirect): Removed.
7144         (order): Removed.
7145         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
7146         (ShortBuffer): Revised.
7147         (allocateDirect): Removed.
7148         (order): Removed.
7149         * gnu/java/nio/natByteBufferImpl.cc: Removed.
7150         * gnu/java/nio/natCharBufferImpl.cc: Removed.
7151         * Makefile.am
7152         (ordinary_java_source_files): Added the following files:
7153         gnu/java/nio/CharViewBufferImpl.java,
7154         gnu/java/nio/DoubleViewBufferImpl.java,
7155         gnu/java/nio/FloatViewBufferImpl.java,
7156         gnu/java/nio/IntViewBufferImpl.java,
7157         gnu/java/nio/LongViewBufferImpl.java,
7158         gnu/java/nio/ShortViewBufferImpl.java
7159         (nat_source_files): Removed the following files:
7160         gnu/java/nio/natByteBufferImpl.cc,
7161         gnu/java/nio/natCharBufferImpl.cc
7162         * Makefile.in: Regenerated.
7163
7164 2003-05-12  Michael Koch  <konqueror@gmx.de>
7165
7166         * gnu/java/nio/CharViewBufferImpl.java,
7167         gnu/java/nio/DirectByteBufferImpl.java,
7168         gnu/java/nio/DoubleViewBufferImpl.java,
7169         gnu/java/nio/FloatViewBufferImpl.java,
7170         gnu/java/nio/IntViewBufferImpl.java,
7171         gnu/java/nio/LongViewBufferImpl.java,
7172         gnu/java/nio/ShortViewBufferImpl.java,
7173         gnu/java/nio/natDirectByteBufferImpl.cc:
7174         New files, not yet to be compiled.
7175
7176 2003-05-10  Michael Koch  <konqueror@gmx.de>
7177
7178         * javax/swing/plaf/ButtonUI.java,
7179         javax/swing/plaf/ColorUIResource.java,
7180         javax/swing/plaf/ComponentUI.java,
7181         javax/swing/plaf/DimensionUIResource.java,
7182         javax/swing/plaf/FontUIResource.java,
7183         javax/swing/plaf/IconUIResource.java,
7184         javax/swing/plaf/InsetsUIResource.java,
7185         javax/swing/plaf/LabelUI.java,
7186         javax/swing/plaf/ListUI.java,
7187         javax/swing/plaf/OptionPaneUI.java,
7188         javax/swing/plaf/PanelUI.java,
7189         javax/swing/plaf/TabbedPaneUI.java,
7190         javax/swing/plaf/TextUI.java,
7191         javax/swing/plaf/TreeUI.java,
7192         javax/swing/plaf/ViewportUI.java,
7193         javax/swing/plaf/basic/BasicBorders.java,
7194         javax/swing/plaf/basic/BasicButtonUI.java,
7195         javax/swing/plaf/basic/BasicCheckBoxUI.java,
7196         javax/swing/plaf/basic/BasicDefaults.java,
7197         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7198         javax/swing/plaf/basic/BasicIconFactory.java,
7199         javax/swing/plaf/basic/BasicLabelUI.java,
7200         javax/swing/plaf/basic/BasicListUI.java,
7201         javax/swing/plaf/basic/BasicOptionPaneUI.java,
7202         javax/swing/plaf/basic/BasicPanelUI.java,
7203         javax/swing/plaf/basic/BasicRadioButtonUI.java,
7204         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7205         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7206         javax/swing/plaf/basic/BasicTextUI.java,
7207         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7208         javax/swing/plaf/basic/BasicTreeUI.java,
7209         javax/swing/plaf/basic/BasicViewportUI.java,
7210         javax/swing/plaf/metal/MetalLookAndFeel.java:
7211         New versions from classpath. This adds copyrights to all files and
7212         some serialVersionUIDs.
7213
7214 2003-05-10  Michael Koch  <konqueror@gmx.de>
7215
7216         * java/nio/CharBuffer.java
7217         (offset): Make it package-private.
7218         (backing_buffer): Likewise.
7219         * java/nio/DoubleBuffer.java
7220         (offset): Make it package-private.
7221         (backing_buffer): Likewise.
7222         (put): Reformatted.
7223         * java/nio/FloatBuffer.java
7224         (offset): Make it package-private.
7225         (backing_buffer): Likewise.
7226         * java/nio/IntBuffer.java
7227         (offset): Make it package-private.
7228         (backing_buffer): Likewise.
7229         * java/nio/LongBuffer.java
7230         (offset): Make it package-private.
7231         (backing_buffer): Likewise.
7232         * java/nio/ShortBuffer.java
7233         (offset): Make it package-private.
7234         (backing_buffer): Likewise.
7235
7236 2003-05-10  Michael Koch  <konqueror@gmx.de>
7237
7238         * java/nio/CharBuffer.java
7239         (put): Fixed precondtion check.
7240         (toString): Make it work without backing array.
7241         (put): Skip one level of method calling.
7242
7243 2003-05-10  Michael Koch  <konqueror@gmx.de>
7244
7245         * java/security/Identity.java,
7246         java/security/IdentityScope.java,
7247         java/security/Key.java,
7248         java/security/KeyPair.java,
7249         java/security/PrivateKey.java,
7250         java/security/Provider.java,
7251         java/security/PublicKey.java,
7252         java/security/SecureRandom.java,
7253         java/security/SecureRandomSpi.java,
7254         java/security/SignedObject.java,
7255         java/security/Signer.java,
7256         java/security/cert/Certificate.java,
7257         java/security/cert/PKIXCertPathBuilderResult.java,
7258         java/security/cert/X509Certificate.java:
7259         New versions from classpath.
7260
7261 2003-05-09  Tom Tromey  <tromey@redhat.com>
7262
7263         * Makefile.in: Rebuilt.
7264         * Makefile.am (nat_source_files): Removed old files.
7265         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
7266         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
7267         * gnu/java/nio/natIntBufferImpl.cc: Removed.
7268         * gnu/java/nio/natLongBufferImpl.cc: Removed.
7269         * gnu/java/nio/natShortBufferImpl.cc: Removed.
7270
7271 2003-05-09  Michael Koch  <konqueror@gmx.de>
7272
7273         * gnu/java/nio/ByteBufferImpl.java
7274         (nio_cast): Removed.
7275         (ByteBufferImpl): Removed.
7276         (nio_get_Byte): Removed.
7277         (nio_put_Byte): Removed.
7278         (asByteBuffer): Removed.
7279         (asCharBuffer): Removed implementation and throw exception.
7280         (asShortBuffer): Likewise.
7281         (asIntBuffer): Likewise.
7282         (asLongBuffer): Likewise.
7283         (asFloatBuffer): Likewise.
7284         (asDoubleBuffer): Likewise.
7285         * gnu/java/nio/CharBufferImpl.java
7286         (CharBufferImpl): Removed.
7287         (nio_get_Byte): Removed.
7288         (nio_put_Byte): Removed.
7289         (asByteBuffer): Removed.
7290         * gnu/java/nio/DoubleBufferImpl.java
7291         (DoubleBufferImpl): Removed.
7292         (nio_get_Byte): Removed.
7293         (nio_put_Byte): Removed.
7294         (asByteBuffer): Removed.
7295         * gnu/java/nio/FloatBufferImpl.java
7296         (FloatBufferImpl): Removed.
7297         (nio_get_Byte): Removed.
7298         (nio_put_Byte): Removed.
7299         (asByteBuffer): Removed.
7300         * gnu/java/nio/IntBufferImpl.java
7301         (IntBufferImpl): Removed.
7302         (nio_get_Byte): Removed.
7303         (nio_put_Byte): Removed.
7304         (asByteBuffer): Removed.
7305         * gnu/java/nio/LongBufferImpl.java
7306         (LongBufferImpl): Removed.
7307         (nio_get_Byte): Removed.
7308         (nio_put_Byte): Removed.
7309         (asByteBuffer): Removed.
7310         * gnu/java/nio/ShortBufferImpl.java
7311         (ShortBufferImpl): Removed.
7312         (nio_get_Byte): Removed.
7313         (nio_put_Byte): Removed.
7314         (asByteBuffer): Removed.
7315         * gnu/java/nio/natByteBufferImpl.cc
7316         (nio_cast): Removed.
7317         (nio_get_Byte): Removed.
7318         (nio_put_Byte): Removed.
7319         * gnu/java/nio/natCharBufferImpl.cc
7320         (nio_get_Byte): Removed.
7321         (nio_put_Byte): Removed.
7322
7323 2003-05-09  Michael Koch  <konqueror@gmx.de>
7324
7325         * java/net/JarURLConnection.java
7326         (getJarEntry): Merged documentation from classpath.
7327         (getJarFile): Likewise.
7328         (getMainAttributes): Likewise.
7329         (getAttributes): Likewise.
7330         (getManifest): Likewise.
7331         (getCertificates): Reformatted.
7332         * java/net/URLConnection.java:
7333         Little classpath merge.
7334
7335 2003-05-09  Michael Koch  <konqueror@gmx.de>
7336
7337         * java/io/DataOutputStream.java
7338         (writeShort): Made it synchronized.
7339         (writeChar): Likewise.
7340         (writeInt): Likewise.
7341         (writeLong): Liekwise.
7342         (writeUTF): Made it synchronized, renamed argument to match classpath.
7343         * java/io/InputStreamReader.java
7344         (converter): Added documentation.
7345         (read): Merged documentation from classpath.
7346         * java/io/OutputStreamWriter.java
7347         (OutputStreamWriter): Merged documentation from classpath.
7348         (close): Reformatted.
7349         (getEncoding): Likewise.
7350         (flush): Likewise.
7351         (write): Merged documentation from classpath, reformatted.
7352
7353 2003-05-08  Tom Tromey  <tromey@redhat.com>
7354
7355         * configure.host <powerpc64*-*>: Set with_libffi_default and
7356         libgcj_interpreter to "yes".
7357
7358 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
7359
7360         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
7361         
7362 2003-05-06  Tom Tromey  <tromey@redhat.com>
7363
7364         * verify.cc: Reverted previous patch.
7365
7366 2003-05-06  Michael Koch  <konqueror@gmx.de>
7367
7368         * java/io/DataOutputStream.java
7369         (write): Renamed argument to "value", merged documentation from
7370         classpath.
7371         (writeBoolean): Likewise.
7372         (writeByte): Likewise.
7373         (writeShort): Likewise.
7374         (writeChar): Likewise.
7375         (writeInt): Likewise.
7376         (writeLong): Likewise.
7377         (writeFloat): Likewise.
7378         (writeDouble): Likewise.
7379         (writeBytes): Likewise.
7380         (writeChars): Likewise.
7381         (writeUTF): Likewise.
7382         * java/io/File.java
7383         (performDelete): Added documentation.
7384         (performList): Likewise.
7385         (performMkdir): Likewise.
7386         (performSetReadOnly): Likewise.
7387         (performRenameTo): Likewise.
7388         (performSetLastModified): Likewise.
7389         (delete): Made it sychronized.
7390         (renameTo): Made it sychronized.
7391         (equals): Reformatted.
7392         (isHidden): Likewise.
7393         (listFiles): Likewise.
7394         (setReadOnly): Likewise.
7395         (listRoots): Likewise.
7396         (setLastModified): Likewise.
7397         (checkRead): Likewise.
7398         (checkWrite): Likewise.
7399         * java/io/FileInputStream.java
7400         (skip): Made it sychronized, merged from classpath.
7401         * java/io/FileOutputStream.java
7402         (write): Merged from classpath.
7403         * java/io/InputStreamReader.java:
7404         (InputStreamReader): Merged documentation from classpath.
7405
7406 2003-05-05  Michael Koch  <konqueror@gmx.de>
7407
7408         * java/net/NetworkInterface.java
7409         (networkInterfaces): Removed.
7410         (getByName): Use getRealNetworkInterfaces() instead of
7411         networkInterfaces.
7412         (getByInetAddress): Likewise.
7413         (getNetworkInterfaces): Likewise.
7414         (toString): Fix output of addresses of an interface.
7415
7416 2003-05-05  Michael Koch  <konqueror@gmx.de>
7417
7418         * java/io/DataInputStream.java:
7419         Merged new documentation from classpath.
7420
7421 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
7422
7423         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
7424         "version".
7425         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
7426         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
7427         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
7428         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
7429         * gnu/awt/gtk/GtkMainThread.java: Likewise.
7430         * gnu/awt/gtk/GtkToolkit.java: Likewise.
7431         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
7432         * java/security/Key.java: Likewise.
7433         * java/security/PrivateKey.java: Likewise.
7434         * java/security/Provider.java: Likewise.
7435         * java/security/PublicKey.java: Likewise.
7436
7437 2003-05-02  Michael Koch  <konqueror@gmx.de>
7438
7439         * java/net/URI.java
7440         (create): Doesnt throws any exceptions.
7441         * java/net/URLConnection.java
7442         (URLConnection): Commend added.
7443         (getExpiration): The header field is called "expires" not
7444         "expiration".
7445         (getHeaderField): Merged documentation with classpath.
7446         (getHeaderFieldInt): Likewise.
7447         (getHeaderFieldDate): Likewise.
7448         (getHeaderFieldKey): Likewise.
7449         (getPermission): Likewise.
7450         (setDefaultUseCaches): Likewise.
7451         (setRequestProperty): Likewise.
7452         (addRequestProperty): Likewise.
7453         (getRequestProperty): Likewise.
7454         (getRequestProperties): Likewise.
7455         (setDefaultRequestProperty): Likewise.
7456         (getDefaultRequestProperty): Likewise.
7457         (guessContentTypeFromStream): Likewise.
7458         (getFileNameMap): Likewise.
7459         (setFileNameMap): Likewise.
7460         (setDoInput): Merged implementation and documentation with classpath.
7461         (setDoOutput): Likewise.
7462         (setAllowUserInteraction): Likewise.
7463         (setDefaultAllowUserInteraction): Likewise.
7464         (setContentHandlerFactory): Made it synchronized, merged documentation
7465         with classpath.
7466         (guessContentTypeFromName): Renamed argument fname to filename to
7467         match classpath, merged documentation with classpath.
7468
7469 2003-05-02  Michael Koch  <konqueror@gmx.de>
7470
7471         * java/net/JarURLConnection.java
7472         (JarURLConnection): Class documentation merged with classpath.
7473         (getJarFileURL): Moved and documentation merged with classpath.
7474         (getEntryName): Likewise.
7475         (JarURLConnection): Documentation merged with classpath.
7476         (getJarEntry): Likewise.
7477         (getJarFile): Likewise.
7478         * java/net/PlainDatagramSocketImpl.java:
7479         Class documentation moved.
7480         * java/net/URLConnection.java
7481         (fileNameMap): Moved and documentation merged with classpath.
7482         (factory): Likewise.
7483         (defaultAllowUserInteraction): Likewis.
7484         (defaultUseCaches): Likewise.
7485         (allowUserInteraction): Likewise.
7486         (connected): Likewise.
7487         (url): Likewise.
7488         (connect): Documentation merged with classpath.
7489         (getURL): Likewise.
7490         (getContentLength): Likewise.
7491         (getContentType): Likewise.
7492         (getContentEncoding): Likewise.
7493         (getExpiration): Likewise.
7494         (getDate): Likewise.
7495         (getLastModified): Likewise.
7496         (getHeaderField): Likewise.
7497         (getContent): Likewise.
7498         (getPermission): Likewise.
7499         (getInputStream): Likewise.
7500         (getOutputStream): Likewise.
7501         (toString): Likewise.
7502         (getDoInput): Likewise.
7503         (getDoOutput): Likewise.
7504         (setAllowUserInteraction): Likewise.
7505         (getAllowUserInteraction): Likewise.
7506         (setDefaultAllowUserInteraction): Likewise.
7507         (getDefaultAllowUserInteraction): Likewise.
7508         (setUseCaches): Likewise.
7509         (getUseCaches): Likewise.
7510         (setIfModifiedSince): Likewise.
7511         (getIfModifiedSince): Likewise.
7512         (setDefaultRequestProperty): Likewise.
7513         (getDefaultRequestProperty): Likewise.
7514         (setContentHandlerFactory): Likewise.
7515         (setFileNameMap): Likewise.
7516
7517 2003-05-02  Michael Koch  <konqueror@gmx.de>
7518
7519         * java/net/InetAddress.java:
7520         Merged class documentation with classpath.
7521         * java/net/JarURLConnection.java:
7522         Explicitely import all used classes.
7523         * java/net/URL.java:
7524         Reformatting.
7525         * java/net/ServerSocket.java,
7526         java/net/Socket.java:
7527         New versions from classpath.
7528
7529 2003-05-02  Michael Koch  <konqueror@gmx.de>
7530
7531         * gnu/java/nio/FileChannelImpl.java
7532         (read): New implementation.
7533         (implRead): New methods.
7534         (write): New implementation, call other write insteal of read method.
7535         (implWrite): New methods.
7536         (map): Added comment.
7537         (transferFrom): Implemented.
7538         (transferTo): Implemented.
7539         (lock): Added checks to throw exceptions.
7540         (truncate): Added check to throw exception.
7541         * gnu/java/nio/natFileChannelImpl.cc
7542         (implRead): New method.
7543         (implWrite): New method.
7544         * java/nio/ByteBuffer.java
7545         (hashCode): Fixed comment.
7546         (get): Fixed exception documentation.
7547         (put): Fixed exception documentation.
7548         * java/nio/CharBuffer.java:
7549         Added comment for later optimizations.
7550
7551 2003-04-30  Tom Tromey  <tromey@redhat.com>
7552
7553         PR libgcj/10582:
7554         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
7555         Removed.
7556         (type::compatible): Use _Jv_IsAssignableFrom.
7557         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
7558         (_Jv_IsAssignableFrom): Work even when source or target class is
7559         not prepared.
7560
7561 2003-04-30  Michael Koch  <konqueror@gmx.de>
7562
7563         * java/text/BreakIterator.java
7564         (clone): New method.
7565
7566 2003-04-30  Michael Koch  <konqueror@gmx.de>
7567
7568         * java/text/CollationElementIterator.java,
7569         java/text/CollationKey.java,
7570         java/text/RuleBasedCollator.java:
7571         Merged copyright and documentation from classpath and
7572         rearranged some code. No code changes done.
7573
7574 2003-04-30  Michael Koch  <konqueror@gmx.de>
7575
7576         * java/util/regex/Matcher.java
7577         (pattern): New member variable.
7578         (appendReplacement): New method.
7579         (appendTail): New method.
7580         (end): New method.
7581         (find): New method.
7582         (group): New method.
7583         (replaceFirst): Added documentation.
7584         (replaceAll): Added documentation.
7585         (groupCount): New method.
7586         (lookingAt): New method.
7587         (matches): New method.
7588         (reset): New method.
7589         (start): New method.
7590         * java/util/regex/Pattern.java
7591         (serialVersionUID): New constant.
7592         (CANON_EQ): New constant.
7593         (CASE_INSENSITIVE): New constant.
7594         (COMMENTS): New constant.
7595         (DOTALL): New constant.
7596         (MULTILINE): New constant.
7597         (UNICODE_CASE): New constant.
7598         (UNIX_LINES): New constant.
7599         (regex): New member variable.
7600         (flags): New member variable.
7601         (Pattern): New method.
7602         (compile): Documentation added.
7603         (flags): New method.
7604         (matches): Documentation added.
7605         (matcher): Documentation added.
7606         (split): Documentation added.
7607         (pattern): New method.
7608
7609 2003-04-30  Michael Koch  <konqueror@gmx.de>
7610
7611         * gnu/java/security/Engine.java,
7612         gnu/java/security/OID.java,
7613         gnu/java/security/der/BitString.java,
7614         gnu/java/security/der/DER.java,
7615         gnu/java/security/der/DERReader.java,
7616         gnu/java/security/der/DERValue.java,
7617         gnu/java/security/der/DERWriter.java,
7618         gnu/java/security/provider/DSAKeyFactory.java,
7619         gnu/java/security/provider/X509CertificateFactory.java,
7620         gnu/java/security/x509/X500DistinguishedName.java,
7621         gnu/java/security/x509/X509CRL.java,
7622         gnu/java/security/x509/X509CRLEntry.java,
7623         gnu/java/security/x509/X509Certificate.java,
7624         java/security/cert/CRLSelector.java,
7625         java/security/cert/CertPathBuilder.java,
7626         java/security/cert/CertPathBuilderResult.java,
7627         java/security/cert/CertPathBuilderSpi.java,
7628         java/security/cert/CertPathParameters.java,
7629         java/security/cert/CertPathValidator.java,
7630         java/security/cert/CertPathValidatorResult.java,
7631         java/security/cert/CertPathValidatorSpi.java,
7632         java/security/cert/CertSelector.java,
7633         java/security/cert/CertStore.java,
7634         java/security/cert/CertStoreParameters.java,
7635         java/security/cert/CertStoreSpi.java,
7636         java/security/cert/CollectionCertStoreParameters.java,
7637         java/security/cert/LDAPCertStoreParameters.java,
7638         java/security/cert/PKIXBuilderParameters.java,
7639         java/security/cert/PKIXCertPathBuilderResult.java,
7640         java/security/cert/PKIXCertPathChecker.java,
7641         java/security/cert/PKIXCertPathValidatorResult.java,
7642         java/security/cert/PKIXParameters.java,
7643         java/security/cert/PolicyNode.java,
7644         java/security/cert/PolicyQualifierInfo.java,
7645         java/security/cert/TrustAnchor.java,
7646         javax/security/auth/x500/X500Principal.java:
7647         New files from classpath.
7648         * gnu/java/io/ASN1ParsingException.java,
7649         gnu/java/io/Base64InputStream.java,
7650         gnu/java/security/der/DEREncodingException.java,
7651         gnu/java/security/provider/DSAParameters.java,
7652         gnu/java/security/provider/DSASignature.java,
7653         gnu/java/security/provider/Gnu.java,
7654         gnu/java/security/provider/GnuDSAPrivateKey.java,
7655         gnu/java/security/provider/GnuDSAPublicKey.java,
7656         java/security/AlgorithmParameterGenerator.java,
7657         java/security/AlgorithmParameters.java,
7658         java/security/KeyFactory.java,
7659         java/security/KeyPairGenerator.java,
7660         java/security/KeyStore.java,
7661         java/security/MessageDigest.java,
7662         java/security/SecureClassLoader.java,
7663         java/security/SecureRandom.java,
7664         java/security/Security.java,
7665         java/security/Signature.java,
7666         java/security/cert/Certificate.java,
7667         java/security/cert/CertificateFactory.java,
7668         java/security/cert/CertificateFactorySpi.java,
7669         java/security/cert/X509CRL.java,
7670         java/security/cert/X509Certificate.java,
7671         java/security/spec/DSAPublicKeySpec.java:
7672         New versions from classpath.
7673         * gnu/java/security/provider/DERReader.java,
7674         gnu/java/security/provider/DERWriter.java,
7675         java/security/Engine.java: Removed.
7676         * Makefile.am
7677         (java_source_files, javax_source_files): Added new files.
7678         * Makefile.in: Regenerated.
7679
7680 2003-04-29  Michael Koch  <konqueror@gmx.de>
7681
7682         * javax/swing/JTable.java
7683         (AUTO_RESIZE_ALL_COLUMNS): New constant.
7684         (AUTO_RESIZE_LAST_COLUMN): New constant.
7685         (AUTO_RESIZE_NEXT_COLUMN): New constant.
7686         (AUTO_RESIZE_OFF): New constant.
7687         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
7688         (JTable): New method.
7689         (columnAdded): New method.
7690         (columnMarginChanged): New method.
7691         (columnMoved): New method.
7692         (columnRemoved): New method.
7693         (columnSelectionChanged): New method.
7694         (editingCanceled): New method.
7695         (editingStopped): New method.
7696         (getColumnModel): New method.
7697         (getPreferredScrollableViewportSize): New method.
7698         (getScrollableBlockIncrement): New method.
7699         (getScrollableTracksViewportHeight): New method.
7700         (getScrollableTracksViewportWidth): New method.
7701         (getScrollableUnitIncrement): New method.
7702         (getSelectedRow): New method.
7703         (getSelectionModel): New method.
7704         (tableChanged): New method.
7705         (setModel): New method.
7706         (setSelectionMode): New method.
7707         (setSelectionModel): New method.
7708         (setShowGrid): New method.
7709         (valueChanged): New method.
7710         * javax/swing/text/DefaultEditorKit.java
7711         (backwardAction): New constant.
7712         (beepAction): New constant.
7713         (beginAction): New constant.
7714         (beginLineAction): New constant.
7715         (beginParagraphAction): New constant.
7716         (beginWordAction): New constant.
7717         (copyAction): New constant.
7718         (cutAction): New constant.
7719         (defaultKeyTypedAction): New constant.
7720         (deleteNextCharAction): New constant.
7721         (deletePrevCharAction): New constant.
7722         (downAction): New constant.
7723         (endAction): New constant.
7724         (endLineAction): New constant.
7725         (endOfLineStringProperty): New constant.
7726         (endParagraphAction): New constant.
7727         (endWordAction): New constant.
7728         (forwardAction): New constant.
7729         (insertBreakAction): New constant.
7730         (insertContentAction): New constant.
7731         (insertTabAction): New constant.
7732         (nextWordAction): New constant.
7733         (pageDownAction): New constant.
7734         (pageUpAction): New constant.
7735         (pasteAction): New constant.
7736         (previousWordAction): New constant.
7737         (readOnlyAction): New constant.
7738         (selectAllAction): New constant.
7739         (selectionBackwardAction): New constant.
7740         (selectionBeginAction): New constant.
7741         (selectionBeginLineAction): New constant.
7742         (selectionBeginParagraphAction): New constant.
7743         (selectionBeginWordAction): New constant.
7744         (selectionDownAction): New constant.
7745         (selectionEndAction): New constant.
7746         (selectionEndLineAction): New constant.
7747         (selectionEndParagraphAction): New constant.
7748         (selectionEndWordAction): New constant.
7749         (selectionForwardAction): New constant.
7750         (selectionNextWordAction): New constant.
7751         (selectionPreviousWordAction): New constant.
7752         (selectionUpAction): New constant.
7753         (selectLineAction): New constant.
7754         (selectParagraphAction): New constant.
7755         (selectWordAction): New constant.
7756         (upAction): New constant.
7757         (writableAction): New constant.
7758
7759 2003-04-29  Michael Koch  <konqueror@gmx.de>
7760
7761         * java/util/PropertyPermission.java:
7762         New version from classpath
7763         * java/util/ResourceBundle.java:
7764         Partly merged from classpath
7765         (getObject): Reformated.
7766         (tryBundle): Set foundBundle = null if no bundle found.
7767
7768 2003-04-29  Michael Koch  <konqueror@gmx.de>
7769
7770         * javax/swing/AbstractListModel.java,
7771         javax/swing/DefaultBoundedRangeModel.java,
7772         javax/swing/DefaultSingleSelectionModel.java:
7773         New Versions from classpath.
7774
7775 2003-04-29  Michael Koch  <konqueror@gmx.de>
7776
7777         * java/awt/Window.java
7778         (show): Call super.show() instead of setVisible() to avoid endless
7779         loop.
7780         (hide): Call super.hide() instead of setVisible() to avoid endless
7781         loop.
7782
7783 2003-04-29  Michael Koch  <konqueror@gmx.de>
7784
7785         * java/util/zip/Deflater.java,
7786         java/util/zip/DeflaterOutputStream.java:
7787         Partly merged with classpath.
7788
7789 2003-04-27  Tom Tromey  <tromey@redhat.com>
7790
7791         * java/lang/natString.cc (_Jv_AllocString): Initialize
7792         cachedHashCode.
7793         (init): Likewise.
7794         (_Jv_NewStringUtf8Const): Likewise.
7795
7796 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
7797
7798         * include/jvm.h: (_Jv_GetNbArgs) added
7799         (_Jv_GetSafeArg) added
7800         (_Jv_SetArgs) added
7801         * prims.cc: (_Jv_GetNbArgs) implemented
7802         (_Jv_GetSafeArg) implemented
7803         (_Jv_SetArgs) implemented
7804         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
7805         setting _Jv_argc and _Jv_argv
7806         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
7807         instead of _Jv_argv
7808         * java/lang/natRuntime.cc: (insertSystemProperties) use
7809         _Jv_GetSafeArg() instead of _Jv_argv
7810
7811 2003-04-23  Tom Tromey  <tromey@redhat.com>
7812
7813         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
7814         required by this object.  Search superclasses to find required
7815         alignment.
7816         (get_alignment_from_class): Use alignment of type as it appears
7817         in a struct.
7818         (ALIGNOF): New macro.
7819         (struct aligner): New helper structure.
7820
7821 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
7822
7823         * java/awt/Container.java (addImpl): Enable paint events if adding
7824         a lightweight to a heavyweight.
7825         (addNotify): Ensure that peer is created before
7826         addNotifyContainerChildren.
7827         (addNotifyContainerChildren): Enable paint events if a heavyweight
7828         container contains a lightweight.
7829
7830 2003-04-20  Tom Tromey  <tromey@redhat.com>
7831
7832         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
7833         java/io/DataInput.java, java/io/DataOutput.java: Imports from
7834         Classpath.
7835
7836 2003-04-19  Tom Tromey  <tromey@redhat.com>
7837
7838         * java/sql/Date.java, java/sql/DriverManager.java,
7839         java/sql/Time.java, java/sql/Timestamp.java: New versions from
7840         Classpath.
7841
7842         * Makefile.in: Rebuilt.
7843         * Makefile.am (ordinary_java_source_files): Added new files.
7844         * java/security/AlgorithmParameterGenerator.java,
7845         java/security/AlgorithmParameters.java, java/security/Engine.java,
7846         java/security/Identity.java, java/security/IdentityScope.java,
7847         java/security/KeyFactory.java,
7848         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
7849         java/security/MessageDigest.java, java/security/Policy.java,
7850         java/security/ProtectionDomain.java,
7851         java/security/SecureRandom.java, java/security/Security.java,
7852         java/security/Signature.java, java/security/SignatureSpi.java,
7853         java/security/SignedObject.java, java/security/Signer.java,
7854         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
7855         java/security/spec/PSSParameterSpec.java,
7856         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
7857         java/security/spec/RSAOtherPrimeInfo.java: New versions from
7858         Classpath.
7859
7860 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7861
7862         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
7863         (dispose): Null metrics.
7864         * gnu/awt/xlib/XToolkit.java (sync): Implement.
7865         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
7866         finalize.
7867         (finalize): Call dispose.
7868         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
7869         (gcCachedCount): New field.
7870         (finalize): New method.
7871         (putGCInCache): New method.
7872         (getGCFromCache): New method.
7873         * gnu/gcj/xlib/GC.java (GC): Make protected.
7874         (clone): Get new GC from cache if possible.
7875         (create): New static method.
7876         (dispose): Save old GC in cache.
7877         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
7878         deleting.
7879         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
7880         is null.
7881         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
7882         * java/awt/Container.java (visitChild): Dispose gfx2 when
7883         finished.
7884
7885 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
7886
7887         * java/math/BigInteger.java (probablePrime): New.
7888         * java/math/BigDecimal.java (unscaledValue): New.
7889
7890 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
7891
7892         * java/io/File.java (getAbsolutePath): On Windows, take care
7893         of paths like "C:", "G:foo\bar", etc.
7894         (getName): Make it work correctly on Windows.
7895         (getParent): Make it work correctly on Windows. For UNIX,
7896         fix bug that causes "/" to be returned as the parent of "/",
7897         instead of null as returned by Sun's JRE.
7898
7899         * java/io/natFileWin32.cc: Change copyright owner to FSF.
7900
7901 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7902
7903         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
7904         inner class.
7905         (CACHE_SIZE_PER_DISPLAY): New field
7906         (fontMetricsCache): New field
7907         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
7908         loading ISO10646-1 fonts.
7909
7910 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7911
7912         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
7913         characters.
7914         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
7915         characters.
7916
7917 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
7918
7919         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
7920         floating point.
7921
7922 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
7923
7924         * configure.host (*-linux*): Don't set slow_pthread_self if primary
7925         installed libpthread is either linuxthreads with floating stacks or
7926         NPTL.
7927
7928 2003-04-14  Tom Tromey  <tromey@redhat.com>
7929
7930         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
7931         of alignment.
7932
7933 2003-04-10  Tom Tromey  <tromey@redhat.com>
7934
7935         * verify.cc (pop64): Removed.
7936         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
7937         exception if top-of-stack is narrow.
7938         (initialize_stack): Check to ensure that <init> is not static and
7939         <clinit> is.
7940
7941 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
7942
7943         * java/io/ObjectStreamException
7944         * java/io/FileFilter
7945         * java/io/FilenameFilter
7946         * java/io/ObjectInput
7947         * java/io/ObjectOutput
7948         * java/io/ObjectStreamConstants
7949         Minor doc fixes, format fixes, spelling corrections, etc.
7950         * java/io/DataInput
7951         Corrected code samples in Javadocs to match reality
7952         * java/io/DataOutput
7953         * java/io/ObjectInputValidation
7954         Major documentation fixes - all Javadocs re-written or updated
7955
7956 2003-04-06  Michael Koch  <konqueror@gmx.de>
7957
7958         * java/net/URLConnection.java:
7959         Import classes directly.
7960         (URLConnection): Merged class documentation with classpath.
7961         (url): Moved, documentation from classpath added.
7962         (doInput): Moved, documentation from classpath added.
7963         (doOutput): Moved, documentation from classpath added.
7964         (allowUserInteraction): Moved.
7965         (useCaches): Moved, documentation from classpath added.
7966         (ifModifiedSince): Moved, documentation from classpath added.
7967         (connected): Moved, documentation from classpath added.
7968
7969 2003-04-06  Michael Koch  <konqueror@gmx.de>
7970
7971         * java/io/FileInputStream.java
7972         (skip): Renamed some variables to match classpath, added
7973         checks from classpath.
7974
7975 2003-03-31  Michael Koch  <konqueror@gmx.de>
7976
7977         * javax/swing/AbstractAction.java
7978         (AbstractAction): Reformatted.
7979         (serialVersionUID): New private member variable.
7980         * javax/swing/plaf/BorderUIResource.java
7981         (serialVersionUID): New private member variable.
7982         * javax/swing/plaf/basic/BasicLookAndFeel.java
7983         (serialVersionUID): New private member variable.
7984
7985 2003-03-31  Michael Koch  <konqueror@gmx.de>
7986
7987         * java/sql/Date.java
7988         (valueOf): Deprecated, reformatted.
7989         (toString): Deprecated, reformatted.
7990         * java/sql/Time.java
7991         (valueOf): Deprecated, reformatted.
7992         (toString): Deprecated, reformatted.
7993
7994 2003-03-31  Michael Koch  <konqueror@gmx.de>
7995
7996         * java/rmi/dgc/VMID.java
7997         (isUnique): Deprecated.
7998
7999 2003-03-31  Michael Koch  <konqueror@gmx.de>
8000
8001         * java/io/File.java
8002         (separator): Merged documentation from classpath.
8003         (separatorChar): Merged documentation from classpath.
8004         (pathSeparator): Merged documentation from classpath.
8005         (pathSeparatorChar): Merged documentation from classpath.
8006         (path): Merged documentation from classpath.
8007         (canRead): Merged documentation from classpath.
8008         (canWrite): Merged documentation from classpath.
8009         (createNewFile): Merged documentation from classpath.
8010         (delete): Merged documentation from classpath.
8011         (equals): Merged documentation from classpath.
8012         (exists): Merged documentation from classpath.
8013         (File): Renamed p to name to match classpath, merged documentation
8014         from classpath.
8015         (getAbsolutePath): Merged documentation from classpath.
8016         (getCanonicalPath): Merged documentation from classpath.
8017         (getCanonicalFile): Merged documentation from classpath.
8018         (getName): Merged documentation from classpath.
8019         (getParent): Merged documentation from classpath.
8020         (getParentFile): Merged documentation from classpath.
8021         (getPath): Merged documentation from classpath.
8022         (hashCode): Merged documentation from classpath.
8023         (isAbsolute): Merged documentation from classpath.
8024         (isDirectory): Merged documentation from classpath.
8025         (isFile): Merged documentation from classpath.
8026         (isHidden): Merged documentation from classpath.
8027         (lastModified): Merged documentation from classpath.
8028         (length): Merged documentation from classpath.
8029         (list): Merged documentation from classpath.
8030         (listFiles): Merged documentation from classpath.
8031         (toString): Merged documentation from classpath.
8032         (toURL): Merged documentation from classpath.
8033         (mkdir): Merged documentation from classpath.
8034         (mkdirs): Merged documentation from classpath.
8035         (createTempFile): Merged documentation from classpath.
8036         (setReadOnly): Merged documentation from classpath.
8037         (listRoots): Merged documentation from classpath.
8038         (compareTo): Merged documentation from classpath.
8039         (renameTo): Merged documentation from classpath.
8040         (setLastModified): Merged documentation from classpath.
8041         * java/io/PrintStream.java
8042         (auto_flush): Merged documentation from classpath.
8043         (PrintStream): Merged documentation from classpath.
8044         (checkError): Merged documentation from classpath.
8045         (setError): Merged documentation from classpath.
8046         (close): Merged documentation from classpath.
8047         (flush): Merged documentation from classpath.
8048         (print): Merged documentation from classpath.
8049         (println):  Merged documentation from classpath.
8050         (write): Renamed count to len to match classpath,
8051         merged documentation from classpath.
8052         * java/io/RandomAccessFile.java
8053         (readShort): Merged documentation from classpath.
8054         (readUnsignedByte): Merged documentation from classpath.
8055         (readUnsignedShort): Merged documentation from classpath.
8056         (readUTF): Merged documentation from classpath.
8057         (seek): Reformatted, merged documentation from classpath.
8058         (skipBytes): Renamed some variables to match classpath, reformatted,
8059         merged documentation from classpath.
8060         (write): Merged documentation from classpath.
8061         (writeBoolean): Merged documentation from classpath.
8062         (writeByte): Merged documentation from classpath.
8063         (writeShort): Merged documentation from classpath.
8064         (writeChar): Merged documentation from classpath.
8065         (writeInt): Merged documentation from classpath.
8066         (writeLong): Merged documentation from classpath.
8067         (writeFloat): Merged documentation from classpath.
8068         (writeDouble): Merged documentation from classpath.
8069         (writeBytes): Merged documentation from classpath.
8070         (writeChars): Merged documentation from classpath.
8071         (writeUTF): Reformatted.
8072         (getChannel): Reformatted.
8073
8074 2003-03-31  Michael Koch  <konqueror@gmx.de>
8075
8076         * java/awt/font/TextAttribute.java
8077         (readResolve): Throws java.io.InvalidObjectException.
8078
8079 2003-03-31  Michael Koch  <konqueror@gmx.de>
8080
8081         * java/rmi/server/LoaderHandler.java
8082         (loadClass): Deprecated.
8083         (getSecurityContext): Deprecated.
8084         * java/rmi/server/LogStream.java
8085         (getDefaultStream): Deprecated.
8086         (setDefaultStream): Deprecated.
8087         (getOutputStream): Deprecated.
8088         (setOutputStream): Deprecated.
8089         (write): Deprecated.
8090         (toString): Deprecated.
8091         (parseLevel): Deprecated.
8092         * java/rmi/server/Operation.java
8093         (Operation): Deprecated.
8094         (getOperation): Deprecated.
8095         (toString): Deprecated.
8096         * java/rmi/server/RemoteCall.java
8097         (getOutputStream): Deprecated.
8098         (releaseOutputStream): Deprecated.
8099         (getInputStream): Deprecated.
8100         (releaseInputStream): Deprecated.
8101         (getResultStream): Deprecated.
8102         (executeCall): Deprecated.
8103         (done): Deprecated.
8104         * java/rmi/server/RemoteRef.java
8105         (invoke): Deprecated.
8106         (newCall): Deprecated.
8107         (done): Deprecated.
8108         * java/rmi/server/RemoteStub.java
8109         (setRef): Deprecated.
8110         * java/rmi/server/Skeleton.java:
8111         No need to import java.lang.Exception explicitly.
8112         (dispatch): Deprecated.
8113         (getOperations): Deprecated.
8114
8115 2003-03-31  Michael Koch  <konqueror@gmx.de>
8116
8117         * java/rmi/dgc/VMID.java,
8118         java/rmi/registry/RegistryHandler.java,
8119         java/rmi/server/LogStream.java,
8120         java/rmi/server/Operation.java,
8121         java/rmi/server/RemoteCall.java,
8122         java/rmi/server/RemoteRef.java,
8123         java/rmi/server/RemoteStub.java:
8124         Reformatted.
8125
8126 2003-03-31  Michael Koch  <konqueror@gmx.de>
8127
8128         * javax/swing/AbstractCellEditor.java,
8129         javax/swing/AbstractListModel.java,
8130         javax/swing/ActionMap.java,
8131         javax/swing/BorderFactory.java,
8132         javax/swing/ButtonGroup.java,
8133         javax/swing/DefaultBoundedRangeModel.java,
8134         javax/swing/DefaultButtonModel.java,
8135         javax/swing/DefaultCellEditor.java,
8136         javax/swing/DefaultComboBoxModel.java,
8137         javax/swing/DefaultDesktopManager.java,
8138         javax/swing/DefaultListCellRenderer.java,
8139         javax/swing/DefaultSingleSelectionModel.java,
8140         javax/swing/InputMap.java,
8141         javax/swing/JComponent.java,
8142         javax/swing/JMenu.java,
8143         javax/swing/JSlider.java,
8144         javax/swing/KeyStroke.java,
8145         javax/swing/OverlayLayout.java,
8146         javax/swing/ScrollPaneLayout.java,
8147         javax/swing/SizeRequirements.java,
8148         javax/swing/UIManager.java,
8149         javax/swing/ViewportLayout.java,
8150         javax/swing/border/AbstractBorder.java,
8151         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8152         javax/swing/event/EventListenerList.java,
8153         javax/swing/table/AbstractTableModel.java,
8154         javax/swing/table/DefaultTableCellRenderer.java,
8155         javax/swing/table/DefaultTableColumnModel.java,
8156         javax/swing/table/DefaultTableModel.java,
8157         javax/swing/table/TableColumn.java,
8158         javax/swing/text/StyledEditorKit.java,
8159         javax/swing/tree/DefaultMutableTreeNode.java,
8160         javax/swing/tree/DefaultTreeModel.java,
8161         javax/swing/tree/DefaultTreeSelectionModel.java,
8162         javax/swing/tree/TreePath.java,
8163         javax/swing/undo/AbstractUndoableEdit.java,
8164         javax/swing/undo/StateEdit.java,
8165         javax/swing/undo/StateEditable.java,
8166         javax/swing/undo/UndoableEditSupport.java:
8167         Merges from classpath.
8168
8169 2003-03-30  Tom Tromey  <tromey@redhat.com>
8170
8171         * java/lang/String.java (data, boffset, count): Documented.
8172         (String(byte[],String)): Reformatted.
8173         (String(byte[])): Likewise.
8174         (lastIndexOf(int)): Likewise.
8175         (lastIndexOf(String)): Likewise.
8176         (substring(int)): Renamed argument to match Classpath.
8177         (String(StringBuffer)): Don't share buffer if it is nearly empty.
8178
8179         * java/lang/String.java: Miscellaneous minor formatting changes
8180         to match Classpath more closely.
8181
8182 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
8183             Tom Tromey  <tromey@redhat.com>
8184
8185         * java/lang/natString.cc (hashCode): Use cachedHashCode.
8186         (init()): Removed.
8187         (charAt): Put index in exception.
8188         (contentEquals): New method.
8189         Include StringBuffer.h.
8190         * java/lang/String.java (cachedHashCode): New field.
8191         (String()): Follow classpath implementation.
8192         (init()): Removed.
8193         (contentEquals): Declare.
8194         (subSequence): Don't declare IndexOutIfBoundsException in throws
8195         clause.
8196         (matches, replaceFirst, replaceAll, split): New methods from
8197         Classpath.
8198
8199 2003-03-29  Tom Tromey  <tromey@redhat.com>
8200
8201         * java/lang/String.java: Reordered to follow Classpath; merged in
8202         javadoc.
8203
8204         * java/text/MessageFormat.java: Removed some whitespace.
8205
8206         * Makefile.in: Rebuilt.
8207         * Makefile.am (awt_java_source_files): Added new files.
8208         * gnu/javax/rmi/PortableServer.java,
8209         gnu/javax/rmi/CORBA/DelegateFactory.java,
8210         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
8211         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
8212         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
8213         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
8214         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
8215         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
8216         javax/rmi/PortableRemoteObject.java,
8217         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
8218         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8219         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
8220         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
8221         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
8222         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
8223
8224         * java/lang/natClass.cc (newInstance): Put method name in
8225         exception.
8226         (getConstructor): Likewise.
8227         (getDeclaredConstructor): Likewise.
8228         (getPrivateMethod): Likewise.
8229
8230 2003-03-28  Tom Tromey  <tromey@redhat.com>
8231
8232         * java/lang/reflect/Proxy.java: New version from Classpath.
8233         * java/lang/Package.java: New version from Classpath.
8234
8235 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
8236
8237         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
8238         * configure: Regenerate.
8239
8240 2003-03-28  Michael Koch  <konqueror@gmx.de>
8241
8242         * java/io/File.java:
8243         Import needed classes instead of whole packages, merged class
8244         documentation with classpath, moved constants and variables to top of
8245         class.
8246         * java/io/PrintStream.java:
8247         Merged class documentation with classpath, moved constants and
8248         variables to top of class.
8249         * java/io/RandomAccessFile.java
8250         (RandomAccessFile): Merged with classpath.
8251         (read): Merged with classpath).
8252         (read*): Reformatted.
8253
8254 2003-03-28  Michael Koch  <konqueror@gmx.de>
8255
8256         * java/io/FileDescriptor.java
8257         (finalize): Throws Throwable, not IOException.
8258         * java/io/ObjectOutputStream.java
8259         (PutField.put): Doesnt throws anything.
8260
8261 2003­03-28  Michael Koch  <konqueror@gmx.de>
8262
8263         * java/io/FileOutputStream.java:
8264         Merged class documentation and authors with classpath.
8265         (FileOutputStream): Partly merged with classpath.
8266         (write): Merged with classpath.
8267         (getChannel): Make it synchronized instead of explicit block in this
8268         method.
8269         * java/io/RandomAccessFile.java:
8270         Merged class documentation and authors with classpath.
8271
8272 2003-03-26  Tom Tromey  <tromey@redhat.com>
8273
8274         * java/lang/natRuntime.cc (insertSystemProperties): Set
8275         gnu.classpath.home.url.
8276         * Makefile.in: Rebuilt.
8277         * Makefile.am: Define LIBDIR.
8278
8279 2003-03-25  Michael Koch  <konqueror@gmx.de>
8280
8281         * java/io/FileInputStream.java
8282         (read): Renamed b to buf and off to offset.
8283         * java/io/FileOutputStream.java
8284         (ch): Documentation added.
8285         (FileOutputStream): Documentation added.
8286         (getFD): Documentation added.
8287         (write): Documentation added.
8288         (close): Documentation added.
8289         (getChannel): Documentation added.
8290
8291 2003-03-24  Michael Koch  <konqueror@gmx.de>
8292
8293         * java/io/DataOutputStream.java
8294         (write): Merged from classpath.
8295         * java/io/File.java:
8296         Merged copyrigth with classpath.
8297         * java/io/FileInputStream.java
8298         (getChannel): Made it synchronized instead of using a synchronized
8299         block.
8300         * java/io/FileOutputStream.java: Reformatted.
8301         * java/io/InputStreamReader.java
8302         (InputStreamReader): Renamed enc to encoding_name.
8303         (close): Merged documentation from classpath.
8304         (getEncoding): Merged documentation from classpath.
8305         (ready): Merged documentation from classpath.
8306         (read): Merged documentation from classpath.
8307         * java/io/LineNumberReader.java
8308         (lineNumber): Made it private.
8309         (LineNumberReader): Use Constant instead of a direct value.
8310         * java/io/OutputStreamWriter.java
8311         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
8312         documentation from classpath.
8313         (close): Merged documentation from classpath.
8314         (flush): Merged documentation from classpath.
8315         (write): Merged documentation from classpath.
8316         * java/io/PrintStream.java: Reformatted.
8317
8318 2003-03-24  Michael Koch  <konqueror@gmx.de>
8319
8320         * javax/swing/text/ComponentView.java
8321         (getComponent): Must be final.
8322         * javax/swing/tree/DefaultTreeCellRenderer.java:
8323         Reformatted.
8324         * javax/swing/undo/StateEditable.java:
8325         Reformatted.
8326
8327 2003-03-24  Michael Koch  <konqueror@gmx.de>
8328
8329         * java/rmi/activation/ActivationInstantiator.java:
8330         Reformatted.
8331         * java/rmi/activation/Activator.java:
8332         Reformatted.
8333         * java/rmi/registry/RegistryHandler.java:
8334         Remerged from classpath.
8335
8336 2003-03-24  Michael Koch  <konqueror@gmx.de>
8337
8338         * java/util/Date.java:
8339         Fixed documentation starting tag to make javadoc happy.
8340         * java/util/regex/Pattern.java
8341         (Pattern): Implements Serializable.
8342         * java/util/PatternSyntaxException.java
8343         (serialVersionUID): New member variable.
8344
8345 2003-03-24  Michael Koch  <koqnueror@gmx.de>
8346
8347         * java/awt/ContainerOrderFocusTraversalPolicy.java
8348         (getFirstComponent): Implemented.
8349         (getLastComponent): Implemented.
8350         (getDefaultComponent): Implemented.
8351         (setImplicitDownCycleTraversal): Fixed implementation.
8352         * java/awt/Robot.java
8353         (Robot): Added documentation.
8354         * java/awt/Toolkit.java
8355         (getFontList): Deprecated.
8356         (getFontMetrics): Deprecated.
8357         (getPrintJob): Added documentation.
8358         (getSystemSelection): Added documentation.
8359         (getLockingKeyState): Added documentation.
8360         (setLockingKeyState): Added documentation.
8361         (createCustomCursor): Added documentation.
8362         (getBestCursorSize): Added documentation.
8363         (getMaximumCursorColors): Added documentation.
8364         (isFrameStateSupported): Added documentation.
8365
8366 2003-03-24  Michael Koch  <konqueror@gmx.de>
8367
8368         * java/io/RandomAccessFile.java:
8369         More little merges with classpath. No code changes.
8370
8371 2003-03-24  Michael Koch  <konqueror@gmx.de>
8372
8373         * java/net/natInetAddressNoNet.cc:
8374         Include stddef.h.
8375         * java/net/natPlainDatagramSocketImplNoNet.cc:
8376         Fixed inlcude of java/net/DatagramPacket.h.
8377         * java/net/natPlainSocketImplNoNet.cc:
8378         Include some missing classes.
8379
8380 2003-03-24  Michael Koch  <konqueror@gmx.de>
8381
8382         * java/awt/dnd/DropTarget.java
8383         (DropTargetAutoScroller): According to the online documentation, this
8384         is protected, but in reality it is public.
8385         * java/awt/dnd/DropTargetContext.java
8386         (TransferableProxy): According to the online documentation, this
8387         is protected, but in reality it is public.
8388
8389 2003-03-24  Michael Koch  <konqueror@gmx.de>
8390
8391         * java/io/DataInputStream.java
8392         (): Wrapped documentation line.
8393         (): Fixed @return tag.
8394         * java/io/DataOutputStream.java
8395         (written): Moved to top of class.
8396         (all methods): Merged documentation from classpath.
8397         * java/io/File.java:
8398         Merged copyright year with classpath.
8399         * java/io/FileInputStream.java
8400         (all methods): Merged documentation from classpath.
8401         * java/io/LineNumberReader.java
8402         (getLineNumber): Fixed @return tag.
8403         * java/io/ObjectInputStream.java.
8404         Reformatted.
8405         * java/io/ObjectOutputStream.java:
8406         Reformatted, fixed some @see tags.
8407         * java/io/OutputStreamWriter.java:
8408         Deleted empty line.
8409         * java/io/Writer.java:
8410         Reformatted.
8411
8412 2003-03-24  Michael Koch  <konqueror@gmx.de>
8413
8414         * java/awt/Frame.java
8415         (DEFAULT_CURSOR): Fixed @deprecated tag.
8416         (setCursor): Fixed @deprecated tag.
8417
8418 2003-03-24  Michael Koch  <konqueror@gmx.de>
8419
8420         * java/beans/beancontext/BeanContextEvent.java:
8421         Reformated.
8422
8423 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
8424
8425         * java/lang/natStringBuffer.cc (regionMatches): New function.
8426         * java/lang/String.java (count): Now package-private.
8427         * java/lang/StringBuffer.java: Merged with Classpath.
8428
8429 2003-03-23  Michael Koch  <konqueror@gmx.de>
8430
8431         * java/io/BufferedOutputStream.java:
8432         Reformated.
8433         * java/io/BufferedReader.java:
8434         Reformated.
8435         * java/io/ByteArrayOutputStream.java
8436         (size): Fixed @see tag.
8437         * java/io/CharArrayWriter.java
8438         (size): Fixed @see tag.
8439         * java/io/DataInput.java:
8440         Reformated.
8441         * java/io/DataOutput.java:
8442         Reformated.
8443         * java/io/DataOutputStream.java:
8444         Merged copyright years with classpath.
8445         * java/io/Externalizable.java:
8446         Reformated.
8447         * java/io/FileFilter.java:
8448         Reformated.
8449         * java/io/FileInputStream.java:
8450         Merged copyright years with classpath.
8451         * java/io/FileOutputStream.java:
8452         Merged copyright years with classpath.
8453         * java/io/FilePermission.java
8454         (FilePermission): Replaced @XXX with FIXME:.
8455         * java/io/FileWriter.java:
8456         Reformated.
8457         * java/io/FilenameFilter.java:
8458         Reformated.
8459         * java/io/FilterInputStream.java:
8460         Reformated.
8461         * java/io/FilterOutputStream.java:
8462         Reformated.
8463         * java/io/FilterReader.java:
8464         Reformated.
8465         * java/io/FilterWriter.java:
8466         Reformated.
8467         * java/io/LineNumberInputStream.java
8468         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
8469         happy.
8470         (getLineNumber): Fixed @return tag.
8471         * java/io/ObjectInput.java:
8472         Reformated.
8473         * java/io/ObjectOutput.java:
8474         Reformated.
8475         * java/io/ObjectStreamClass.java:
8476         Reformated.
8477         * java/io/PrintStream.java:
8478         Merged copyright years with classpath.
8479         * java/io/PushbackReader.java
8480         (PushbackReader): Replaced @code with @param.
8481         * java/io/SerializablePermission.java:
8482         Reformated.
8483         * java/io/StreamTokenizer.java
8484         (resetSyntax): Fixed @see tag.
8485
8486 2003-03-22  Richard Henderson  <rth@redhat.com>
8487
8488         * sysdep/ia64/locks.h: Include ia64intrin.h.
8489         (compare_and_swap): Use __sync_bool_compare_and_swap.
8490         (compare_and_swap_release): Expose ar.ccv assignment.
8491
8492 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
8493
8494         * include/posix.h: Add suffix for darwin dynamic libraries.
8495
8496 2003-03-21  Michael Koch  <konqueror@gmx.de>
8497
8498         * javax/swing/Action.java
8499         (ACCELERATOR_KEY): New constant.
8500         (ACTION_COMMAND_KEY): Likewise.
8501         (MNEMONIC_KEY): Likewise.
8502         * javax/swing/UnsupportedLookAndFeelException.java
8503         (UnsupportedLookAndFeelException): Must be public.
8504         * javax/swing/WindowConstants.java
8505         (EXIT_ON_CLOSE): New constant.
8506         * javax/swing/text/BadLocationException.java
8507         (offset): New member variable.
8508         (BadLocationException): New implementation, documentation added.
8509         (offsetRequested): New method.
8510         * javax/swing/text/Caret.java:
8511         Reformated.
8512         * javax/swing/text/Document.java:
8513         Reformated.
8514
8515 2003-03-21  Michael Koch  <konqueror@gmx.de>
8516
8517         * java/rmi/activation/Activatable.java
8518         (serialVersionUID): New member variable.
8519         * java/rmi/activation/ActivationGroup.java
8520         (serialVersionUID): New member variable.
8521         * java/rmi/activation/ActivationGroupDesc.java
8522         (serialVersionUID): New member variable.
8523         * java/rmi/registry/Registry.java:
8524         Reformated.
8525         (Registry): Deprecated.
8526         * java/rmi/server/LoaderHandler.java
8527         Reformated.
8528         (LoaderHandler): Deprecated.
8529         * java/rmi/server/LogStream.java
8530         Reformated.
8531         (LogStream): Deprecated.
8532         * java/rmi/server/Operation.java
8533         (Operation): Deprecated.
8534         * java/rmi/server/RMIFailureHandler.java:
8535         Reformated.
8536         * java/rmi/server/RMISocketFactory.java:
8537         Reformated.
8538         * java/rmi/server/RemoteCall.java
8539         (RemoteCall): Deprecated.
8540         * java/rmi/server/RemoteStub.java:
8541         Reformated.
8542         * java/rmi/server/Skeleton.java
8543         Reformated.
8544         (Skeleton): Deprecated.
8545
8546 2003-03-21  Michael Koch  <konqueror@gmx.de>
8547
8548         * java/io/LineNumberReader.java
8549         (LineNumberReader): Merged documentation with classpath.
8550         (getLineNumber): Likewise.
8551         (setLineNumber): Likewise.
8552         (mark): Likewise.
8553         (reset): Likewise.
8554         (read): Likewise.
8555         (readLine): Likewise.
8556         (skip): Likewise.
8557
8558 2003-03-21  Michael Koch  <konqueror@gmx.de>
8559
8560         * java/rmi/RMISecurityManager.java
8561         (checkAccept): Removed.
8562         (checkAccess): Likewise.
8563         (checkAccess): Likewise.
8564         (checkAwtEventQueueAccess): Likewise.
8565         (checkConnect): Likewise.
8566         (checkCreateClassLoader): Likewise.
8567         (checkDelete): Likewise.
8568         (checkExec): Likewise.
8569         (checkExit): Likewise.
8570         (checkLink): Likewise.
8571         (checkListen): Likewise.
8572         (checkMemberAccess): Likewise.
8573         (checkMulticast): Likewise.
8574         (checkPackageAccess): Likewise.
8575         (checkPackageDefinition): Likewise.
8576         (checkPermission): Likewise.
8577         (checkPrintJobAccess): Likewise.
8578         (checkPropertiesAccess): Likewise.
8579         (checkPropertyAccess): Likewise.
8580         (checkRead): Likewise.
8581         (checkSecurityAccess): Likewise.
8582         (checkSetFactory): Likewise.
8583         (checkSystemClipboardAccess): Likewise.
8584         (checkTopLevelWindow): Likewise.
8585         (checkWrite): Likewise.
8586
8587 2003-03-20  Michael Koch  <konqueror@gmx.de>
8588
8589         * gnu/java/nio/FileChannelImpl.java
8590         (address): Removed.
8591         (map_address): New member variable.
8592         (length): Make it package private.
8593         (fd): Make it package private.
8594         (buf): Make it package private.
8595         (file_obj): Make it package private.
8596         (FileChannelImpl): New constructor.
8597         (nio_mmap_file): Use RawData instead of long.
8598         (nio_munmap_file): Use RawData instead of long.
8599         (nio_msync): Use RawData instead of long.
8600         (implCloseChannel): New implementation using map_address.
8601         (read): Reformated.
8602         (map): Implemented.
8603         (create_direct_mapped_buffer): Implemented, use RawData, throws
8604         IOException.
8605         (force): Use map_address instead of address.
8606         * gnu/java/nio/MappedByteFileBuffer.java
8607         (address): Removed.
8608         (map_address): New member variable.
8609         (MappedByteFileBuffer): Use map_address instead of address, reformated.
8610         (several methods): Use map_address instead of address, replaced long
8611         with RawData where appropriate.
8612         * gnu/java/nio/natFileChannelImpl.cc
8613         (nio_mmap_file): Replaced long with RawData.
8614         (nio_munmap_file): Replaced long with RawData.
8615         (nio_msync): Replaced long with RawData.
8616         * gnu/java/nio/natMappedByteFileBuffer.cc
8617         (several methods): Replaced long with RawData where appropriate.
8618
8619 2003-03-20  Michael Koch  <konqueror@gmx.de>
8620
8621         * java/net/InetAddress.java,
8622         java/net/JarURLConnection.java,
8623         java/net/PlainDatagramSocketImpl.java,
8624         java/net/PlainSocketImpl.java,
8625         java/net/URLConnection.java:
8626         Merged copyright statements with classpath for easier merging.
8627
8628 2003-03-20  Michael Koch  <konqueror@gmx.de>
8629
8630         * java/io/FileInputStream.java
8631         (getChannel): New implementation.
8632         * java/io/FileOutputStream.java
8633         (ch): New member variable.
8634         (getChannel): Implemented.
8635         * java/io/RandomAccessFile.java
8636         (RandomAccessFile): Throws FileNotFoundException instead of
8637         IOException.
8638         (getChannel): New method.
8639         (ch): New member variable.
8640
8641 2003-03-20  Michael Koch  <konqueror@gmx.de>
8642
8643         * java/io/DataOutputStream.java,
8644         java/io/File.java,
8645         java/io/FileInputStream.java,
8646         java/io/FileOutputStream.java,
8647         java/io/InputStreamReader.java,
8648         java/io/LineNumberReader.java,
8649         java/io/OutputStreamWriter.java,
8650         java/io/PrintStream.java,
8651         java/io/RandomAccessFile.java:
8652         Merged copyright statements with classpath for easier merging.
8653
8654 2003-03-19  Michael Koch  <konqueror@gmx.de>
8655
8656         * java/lang/Process.java:
8657         Merged from classpath.
8658
8659 2003-03-19  Michael Koch  <konqueror@gmx.de>
8660
8661         * java/io/FileOutputStream.java
8662         (FileOutputStream): New constructor, merged from classpath.
8663         * java/io/FileWriter.java
8664         (FileWriter): New constructor, merged from classpath.
8665
8666 2003-03-18  Michael Koch  <konqueror@gmx.de>
8667
8668         * java/awt/ScrollPane.java
8669         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
8670         (getViewportSize): Likewise.
8671         (addNotify): Likewise.
8672         (removeNotify): Likewise.
8673         * java/awt/ScrollPaneAdjustable.java
8674         (ScrollPaneAdjustable): No longer extends Scrollbar.
8675         * java/beans/beancontext/BeanContextServices.java:
8676         Reformated.
8677         (getService): Added throws TooManyListenersException;
8678         * java/beans/beancontext/BeanContextServicesSupport.java:
8679         Reformated.
8680
8681 2003-03-18  Michael Koch  <konqueror@gmx.de>
8682
8683         * java/io/BufferedOutputStream.java,
8684         java/io/DataInput.java,
8685         java/io/DataInputStream.java,
8686         java/io/DataOutput.java,
8687         java/io/Externalizable.java:
8688         More merges from classpath.
8689
8690 2003-03-18  Michael Koch  <konqueror@gmx.de>
8691
8692         * configure.in: Fixed links to platform dependant java.net files.
8693         * configure: Regenerated.
8694         * java/net/natInetAddress.cc,
8695         java/net/natNetworkInterface.cc,
8696         java/net/natPlainDatagramSocketImpl.cc,
8697         java/net/natPlainSocketImpl.cc:
8698         Removed.
8699
8700 2003-03-18  Michael Koch  <konqueror@gmx.de>
8701
8702         * configure.in: Create links to architecture dependent files,
8703         introduced PLATFORMNET variable (set to NoNet for newlib usage).
8704         * configure: Regenerated.
8705         * java/net/natInetAddressNoNet.cc,
8706         java/net/natInetAddressPosix.cc,
8707         java/net/natInetAddressWin32.cc,
8708         java/net/natNetworkInterfaceNoNet.cc,
8709         java/net/natNetworkInterfacePosix.cc,
8710         java/net/natNetworkInterfaceWin32.cc,
8711         java/net/natPlainDatagramSocketImplNoNet.cc,
8712         java/net/natPlainDatagramSocketImplPosix.cc,
8713         java/net/natPlainDatagramSocketImplWin32.cc,
8714         java/net/natPlainSocketImplNoNet.cc,
8715         java/net/natPlainSocketImplPosix.cc,
8716         java/net/natPlainSocketImplWin32.cc: New files.
8717
8718 2003-03-18  Michael Koch  <konqueror@gmx.de>
8719
8720         * java/io/BufferedReader.java,
8721         java/io/BufferedWriter.java,
8722         java/io/ByteArrayOutputStream.java,
8723         java/io/FileFilter.java,
8724         java/io/FilePermission.java,
8725         java/io/FileReader.java,
8726         java/io/FileWriter.java,
8727         java/io/FilenameFilter.java,
8728         java/io/FilterInputStream.java,
8729         java/io/FilterOutputStream.java,
8730         java/io/FilterReader.java,
8731         java/io/FilterWriter.java,
8732         java/io/ObjectInput.java,
8733         java/io/ObjectInputValidation.java,
8734         java/io/ObjectOutput.java,
8735         java/io/ObjectStreamField.java,
8736         java/io/PipedInputStream.java,
8737         java/io/PipedReader.java,
8738         java/io/PrintWriter.java,
8739         java/io/PushbackReader.java,
8740         java/io/Reader.java,
8741         java/io/SerializablePermission.java,
8742         java/io/StringReader.java,
8743         java/io/Writer.java:
8744         Merged from classpath.
8745
8746 2003-03-17  Michael Koch  <konqueror@gmx.de>
8747
8748         * java/awt/ScrollPaneAdjustable.java:
8749         Compile fixes.
8750         
8751 2003-03-17  Michael Koch  <konqueror@gmx.de>
8752
8753         * java/net/DatagramSocket.java
8754         (connect): Fixed comment.
8755         * java/nio/ByteBuffer.java
8756         (hasArray): Fixed comment.
8757
8758 2003-03-17  Michael Koch  <konqueror@gmx.de>
8759
8760         * java/beans/Beans.java:
8761         Explicitely import classes not packages.
8762         * java/beans/FeatureDescriptor.java
8763         (preferred): New member variable.
8764         (isPreferred): New method.
8765         (setPreferred): New method.
8766         * java/beans/PropertyEditorManager.java:
8767         Explicitely import used classes.
8768         * java/beans/beancontext/BeanContextChild.java:
8769         Added line wrapping.
8770         * java/beans/beancontext/BeanContextChildSupport.java:
8771         Reindented.
8772         * java/beans/beancontext/BeanContextEvent.java:
8773         Reindented.
8774
8775 2003-03-17  Michael Koch  <konqueror@gmx.de>
8776
8777         * java/awt/Dialog.java
8778         (Dialog): New constructor, changed implementations, added
8779         documentation.
8780         * java/awt/ScrollPaneAdjustable.java
8781         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
8782         Serializable.
8783         (serialVersionUID): New member variable.
8784         (sp): New member variable.
8785         (orientation): New member variable.
8786         (value): New member variable.
8787         (minimum): New member variable.
8788         (maximum): New member variable.
8789         (visibleAmount): New member variable.
8790         (unitIncrement): New member variable.
8791         (blockIncrement): New member variable.
8792         (AdjustmentListener): New member variable.
8793         (ScrollPaneAdjustable): New implementation.
8794         (addAdjustmentListener): New method.
8795         (removeAdjustmentListener): New method.
8796         (getAdjustmentListeners): New method.
8797         (getBlockIncrement): New method.
8798         (getMaximum): New method.
8799         (getMinimum): New method.
8800         (getOrientation): New method.
8801         (getUnitIncrement): New method.
8802         (getValue): New method.
8803         (getVisibleAmount): New method.
8804         (setBlockIncrement): New method.
8805         (setMaximum): Implemented.
8806         (setMinimum): Implemented.
8807         (setUnitIncrement): New method.
8808         (setValue): New method.
8809         (setVisibleAmount): Implemented. 
8810         (paramString): New stubbed method.
8811         * java/awt/Window.java
8812         (show): Call setVisible().
8813         (hide): Call setVisible().
8814         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
8815         and WINDOW_STATE_CHANGED.
8816         (processWindowFocusEvent): New method.
8817         (processWindowStateEvent): New method.
8818         (postEvent): Deprecated.
8819         (applyResourceBundle): Deprecated.
8820         * java/awt/datatransfer/DataFlavor.java
8821         (DataFlavor): Doesn't thow ClassNotFoundException.
8822
8823 2003-03-17  Michael Koch
8824
8825         * javax/print/attribute/Attribute.java,
8826         javax/print/attribute/AttributeSet.java,
8827         javax/print/attribute/PrintRequestAttributeSet.java:
8828         New files.
8829         * Makefile.am
8830         (javax_source_files): Added new files:
8831         javax/print/attribute/Attribute.java
8832         javax/print/attribute/AttributeSet.java
8833         javax/print/attribute/PrintRequestAttributeSet.java
8834         * Makefile.in: Regenerated.
8835
8836 2003-03-17  Michael Koch
8837
8838         * javax/print/attribute/Attribute.java,
8839         javax/print/attribute/AttributeSet.java,
8840         javax/print/attribute/PrintRequestAttributeSet.java:
8841         New files.
8842         * Makefile.am
8843         (awt_java_source_files): Added new files:
8844         javax/print/attribute/Attribute.java
8845         javax/print/attribute/AttributeSet.java
8846         javax/print/attribute/PrintRequestAttributeSet.java
8847         * Makefile.in: Regenerated.
8848
8849 2003-03-16  Tom Tromey  <tromey@redhat.com>
8850
8851         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
8852         Include platform.h.
8853         * java/lang/natRuntime.cc (insertSystemProperties): Use
8854         _Jv_platform_path_separator.
8855         (nativeGetLibname): Use _Jv_platform_file_separator.
8856         (_load): Use _Jv_platform_onload_names.
8857         (onload_names): New global.
8858         * include/win32.h (_Jv_platform_file_separator): New define.
8859         (_Jv_platform_path_separator): Likewise.
8860         (_Jv_platform_onload_names): Likewise.
8861         (_Jv_platform_ffi_abi): Likewise.
8862         * include/posix.h (_Jv_platform_file_separator): New define.
8863         (_Jv_platform_path_separator): Likewise.
8864         (_Jv_platform_onload_names): Likewise.
8865         (_Jv_platform_ffi_abi): Likewise.
8866
8867 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
8868
8869         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
8870
8871 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
8872
8873         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
8874         hierarchy loop.
8875         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
8876         list to Object,ObjectStreamClass, moved callReadMethod code up into
8877         readObject and added Class argument to all setXxxField calls.
8878         (callReadMethod): Changed Class argument to ObjectStreamClass to be
8879         consistent with ObjectOutputStream and to facilitate caching the
8880         Method in the future.
8881         (setBooleanField): Added Class argument.
8882         (setByteField): Likewise.
8883         (setCharField): Likewise.
8884         (setDoubleField): Likewise.
8885         (setFloatField): Likewise.
8886         (setIntField): Likewise.
8887         (setLongField): Likewise.
8888         (setShortField): Likewise.
8889         (setObjectField): Likewise.
8890         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
8891         class hierarchy loop.
8892         (defaultWriteObject): Call writeFields with new argument list.
8893         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
8894         list to Object,ObjectStreamClass, moved callWriteMethod up into
8895         writeObject and added Class argument to all getXxxField calls.
8896         (callWriteMethod): Added ObjectStreamClass argument to be able to
8897         get the proper class to call getMethod on (each class can have (or
8898         not have) its own writeObject method).
8899         (getBooleanField): Added Class argument.
8900         (getByteField): Likewise.
8901         (getCharField): Likewise.
8902         (getDoubleField): Likewise.
8903         (getFloatField): Likewise.
8904         (getIntField): Likewise.
8905         (getLongField): Likewise.
8906         (getShortField): Likewise.
8907         (getObjectField): Likewise.
8908         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
8909         facilitate caching the Method object in the future.
8910
8911 2003-03-12  Andreas Schwab  <schwab@suse.de>
8912
8913         * configure.in: Avoid trailing /. in toolexeclibdir.
8914         * configure: Rebuilt.
8915
8916 2003-03-11  Michael Koch  <konqueror@gmx.de>
8917
8918         * gnu/java/nio/ByteBufferImpl.java
8919         (putInt): Use limit() instead of limit.
8920         * gnu/java/nio/CharBufferImpl.java
8921         (slice): Fixed implementation.
8922         (subSequence): Better bounds checking.
8923         * gnu/java/nio/MappedByteFileBuffer.java:
8924         Import all needed classes directly.
8925         * java/nio/ByteBuffer.java
8926         (hashCode): New dummy method.
8927         * java/nio/CharBuffer.java
8928         (array_offset): New member variable.
8929         (hasArray): Fixed documentation.
8930         (arrayOffset): Return array_offset.
8931
8932 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
8933
8934         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
8935         setter; made return value of getter const char* instead of char*
8936         * prims.cc: removed all references to _Jv_ThisExecutable().
8937         These are in the platform-specific sections now.
8938         * posix.cc: define platform-specific _Jv_ThisExecutable().
8939         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
8940         * win32.cc: define platform-specific _Jv_ThisExecutable()
8941         using GetModuleFilename()
8942         * java/lang/natRuntime.cc: set gnu.gcj.progname property
8943         to argv[0] instead of _Jv_ThisExecutable()
8944
8945 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
8946
8947         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
8948         that is set if we are using addr2name.awk instead of addr2line.
8949         (NameFinder): Set usingAddr2name if using addr2name.awk.
8950         (getExternalLabel): New native method to convert a method 
8951         name to an external label.
8952         (lookup): Convert name given by addr2line to an external label
8953         before demangling.
8954
8955         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
8956         constant representing the prefix attached to method names to
8957         convert them to an external label.
8958         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
8959         using LABEL_PREFIX.
8960
8961 2003-03-10  Tom Tromey  <tromey@redhat.com>
8962
8963         * Makefile.in: Rebuilt.
8964         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
8965         (JC1FLAGS): Removed -Wno-deprecated.
8966
8967 2003-03-10  Michael Koch  <konqueror@gmx.de>
8968
8969         * java/nio/ByteOrder.java
8970         (nativeOrder): Working implementation, added documentation.
8971         (toString): Added documentation.
8972
8973 2003-03-10  Michael Koch  <konqueror@gmx.de>
8974
8975         * java/net/DatagramSocket.java,
8976         java/net/MulticastSocket.java,
8977         java/net/Socket.java,
8978         java/net/URL.java,
8979         java/net/URLConnection.java:
8980         Fixed some documentation tags to make javadoc and friends happy.
8981
8982 2003-03-10  Michael Koch  <koqnueror@gmx.de>
8983
8984         * java/beans/beancontext/BeanContextServicesSupport.java,
8985         java/beans/beancontext/BeanContextSupport.java: New files.
8986         * Makefile.am
8987         (awt_source_files): Added new files.
8988         * Makefile.in: Regenerated.
8989
8990 2003-03-10  Michael Koch  <konqueror@gmx.de>
8991
8992         * java/awt/FocusTraversalPolicy.java
8993         (FocusTraversalPolicy): Documentation added.
8994         (getComponentAfter): Documentation added.
8995         (getComponentBefore): Documentation added.
8996         (getFirstComponent): Documentation added.
8997         (getLastComponent): Documentation added.
8998         (getDefaultComponent): Documentation added.
8999         (getInitialComponent): Documentation added.
9000         * java/awt/ScrollPaneAdjustable.java
9001         (sp): New member variable.
9002         (orientation): New member variable.
9003         (value): New member variable.
9004         (minimum): New member variable.
9005         (maximum): New member variable.
9006         (visibleAmount): New member variable.
9007         (unitIncrement): New member variable.
9008         (blockIncrement): New member variable.
9009         (adjustmentListener): New member variable.
9010         (ScrollPaneAdjustable): Rewrote.
9011         (addAdjustmentListener): New method.
9012         (removeAdjustmentListener): New method.
9013         (getAdjustmentListeners): New method.
9014         (getBlockIncrement): New method.
9015         (getMaximum): New method.
9016         (getMinimum): New method.
9017         (getOrientation): New method.
9018         (getUnitIncrement): New method.
9019         (getValue): New method.
9020         (getVisibleAmount): New method.
9021         (setBlockIncrement): New method.
9022         (setUnitIncrement): New method.
9023         (setMaximum): Implemented.
9024         (setMinimum): Implemented.
9025         (setValue): New method.
9026         (setVisibleAmount): Implemented.
9027         (paramString): New method.
9028         * java/awt/Window.java
9029         (show): Use setVisible(true) instead of super.show().
9030         (hide): Use sevVisible(false) instead of super.hide().
9031         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
9032         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
9033         (postEvent): Deprecated.
9034         (applyResourceBundle): Deprecated.
9035         (processWindowFocusEvent): New method.
9036         (processWindowStateEvent): New method.
9037         * java/awt/datatransfer/DataFlavor.java: Reindented.
9038         * java/awt/font/TextHitInfo.java
9039         (charIndex): New member variable.
9040         (leadingEdge): New member variable.
9041         (TextHitInfo): New constructor.
9042         (getCharIndex): Implemented.
9043         (isLeadingEdge): Implemented.
9044         (getInsertionIndex): Implemented.
9045         (hashCode): Access charIndex directly.
9046         (equals): Reformated.
9047         (leading): Implemented.
9048         (trailing): Implemented.
9049         (beforeOffset): Implemented.
9050         (afterOffset): Implemented.
9051         (getOtherHit): Implemented.
9052         (getOffsetHit): Implemented.
9053         (toString): Implemented.
9054         * java/awt/image/BufferedImage.java
9055         (BufferedImage): Implements WritableRenderedImage.
9056         (observers): New member variable.
9057         (addTileObserver): New method.
9058         (removeTileObserver): New method.
9059
9060 2003-03-09  Tom Tromey  <tromey@redhat.com>
9061
9062         PR libgcj/9934:
9063         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
9064         to lseek.  Return 0 if we can't compute the value.
9065
9066 2003-03-03  Michael Koch  <konqueror@gmx.de>
9067
9068         * java/net/NetworkInterface.java: Merged with classpath.
9069
9070 2003-03-03  Tom Tromey  <tromey@redhat.com>
9071
9072         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
9073         of bytecode.
9074         (handle_ret_insn): Fail if returning to jsr that appears at end of
9075         bytecode.
9076
9077 2003-03-03  Michael Koch  <konqueror@gmx.de>
9078
9079         * Makefile.am
9080         (ordinary_java_source_files):
9081         Added gnu/java/nio/MappedByteFileBuffer.java.
9082         (nat_source_files):
9083         Added gnu/java/nio/natMappedByteFileBuffer.cc.
9084         * Makefile.in: Regenerated.
9085
9086 2003-03-03  Michael Koch  <konqueror@gmx.de>
9087
9088         * java/net/DatagramSocket.java
9089         (connect): Merged comment from classpath.
9090         (receive): Merged documentation from classpath.
9091         * java/net/Socket.java
9092         (setSoTimeout): Clarified documentation.
9093         * java/net/URL.java
9094         (getPath): Merged from classpath.
9095         (getUserInfo): Merged from classpath.
9096         (getQuery): Merged from classpath.
9097         * java/net/URLStreamHandler.java
9098         (toExternalForm): Merged from classpath.
9099
9100 2003-03-02  Mark Wielaard  <mark@klomp.org>
9101
9102         * java/util/Properties.java (load): Only skip line if the first
9103         character is a comment, whitespaces don't count.
9104
9105 2003-03-02  Michael Koch  <konqueror@gmx.de>
9106
9107         * java/net/NetPermission.java:
9108         Merged copyright with classpath.
9109
9110 2003-03-02  Michael Koch  <konqueror@gmx.de>
9111
9112         * java/lang/Package.java:
9113         Remerged from classpath.
9114
9115 2003-03-02  Michael Koch  <konqueror@gmx.de>
9116
9117         * java/net/HttpURLConnection.java
9118         (HTTP_SERVER_ERROR): Deprecated.
9119         * java/net/MulticastSocket.java
9120         (send): Replaced checkMulticast with appropriate checkPermission call,
9121         deprecated.
9122         * java/net/URLDecoder.java
9123         (decode): Deprecated.
9124         * java/net/URLEncoder.java
9125         (encode): Deprecated.
9126
9127 2003-03-02  Michael Koch  <konqueror@gmx.de>
9128
9129         * javax/swing/text/Caret.java
9130         (getMagicCaretPosition): Fixed typo in method name.
9131         * javax/swing/text/DefaultCaret.java
9132         (getMagicCaretPosition): Fixed typo in method name.
9133
9134 2003-03-02  Michael Koch  <konqueror@gmx.de>
9135
9136         * java/awt/List.java
9137         (setMultipleSelections): Deprecated.
9138         (delItem): Deprecated.
9139         * java/awt/MenuComponent.java
9140         (getPeer): Deprecated.
9141         * java/awt/ScrollPane.java
9142         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
9143         * java/awt/dnd/MouseDragGestureRecognizer.java
9144         (mouseClicked): Added comment.
9145         (mousePressed): Added comment.
9146         (mouseReleased): Added comment.
9147         (mouseEntered): Added comment.
9148         (mouseExited): Added comment.
9149         (mouseDragged): Added comment.
9150         (mouseMoved): Added comment.
9151         * java/awt/event/KeyEvent.java
9152         (KeyEvent): Deprecated.
9153         (setModifiers): Deprecated.
9154         
9155 2003-03-02  Michael Koch  <konqueror@gmx.de>
9156
9157         * gnu/java/nio/FileChannelImpl.java
9158         (fd): Type FileDescriptor instead of int.
9159         (lengthInternal): Removed.
9160         (FileChannelImpl): Fixed arguments, check type of file object.
9161         (size): Made it native.
9162         (implPosition): New native method.
9163         (implTruncate): New native method.
9164         (position): Implemented.
9165         (truncate): Implemented.
9166         (nio_mmap_file): Changed arguments.
9167         (nio_munmap_file): Changed arguments.
9168         (nio_msync): Changed arguments.
9169         * gnu/java/nio/natFileChannelImpl.cc
9170         (lengthInternal): Removed.
9171         (size): New method.
9172         (implPosition): New method.
9173         (implTruncate): New method.
9174         (nio_mmap_file): Changed arguments.
9175         (nio_munmap_file): Changed arguments.
9176         (nio_msync): Changed arguments.
9177
9178 2003-03-02  Michael Koch  <konqueror@gmx.de>
9179
9180         * java/awt/dnd/DropTargetContext.java:
9181         Compile fix: Forgot to commit import.
9182         
9183 2003-03-02  Michael Koch  <konqueror@gmx.de>
9184
9185         * java/awt/Component.java,
9186         java/awt/ScrollPane.java:
9187         Fixed typos.
9188
9189 2003-03-02  Michael Koch  <konqueror@gmx.de>
9190
9191         * java/awt/dnd/DnDEventMulticaster.java: New file.
9192         * java/awt/dnd/DragSource.java
9193         (flavorMap): New member variable.
9194         (dragSourceListener): New member variable.
9195         (dragSourceMotionListener): New member variable.
9196         (getFlavorMap): Implemented.
9197         (createDragGestureRecognizer): Implemented.
9198         (addDragSourceListener): Implemented.
9199         (removeDragSourceListener): Implemented.
9200         (getDragSourceListeners): Implemented.
9201         (addDragSourceMotionListener): Implemented.
9202         (removeDragSourceMotionListener): Implemented.
9203         (getDragSourceMotionListeners): Implemented.
9204         (getListeners): Implemented.
9205         * java/awt/dnd/DragSourceContext.java
9206         (peer): New member variable.
9207         (cursor): New member variable.
9208         (transferable): New member variable.
9209         (trigger): New member variable.
9210         (dragSourceListener): New member variable.
9211         (image): New member variable.
9212         (offset): New member variable.
9213         (DragSourceContext): Implemented.
9214         (getDragSource): Implemented.
9215         (getComponent): Implemented.
9216         (getTrigger): Implemented.
9217         (getSourceActions): Implemented.
9218         (setCursor): Implemented.
9219         (getCursor): Implemented.
9220         (addDragSourceListener): Implemented.
9221         (removeDragSourceListener): Implemented.
9222         (getTransferable): Implemented.
9223         * java/awt/dnd/DropTarget.java
9224         (DropTargetAutoScroller.component): New member variable.
9225         (DropTargetAutoScroller.point): New member variable.
9226         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
9227         (DropTargetAutoScroller.updateLocation): Implemented.
9228         (active): Renamed from isActive, defaults to true now.
9229         (component): New member variable.
9230         (flavorMap): New member variable.
9231         (actions): New member variable.
9232         (dropTargetContext): New member variable.
9233         (dropTargetListener): New member variable.
9234         (DropTarget): Implemented.
9235         (getComponent): Implemented.
9236         (setComponent): Implemented.
9237         (setDefaultActions): Implemented.
9238         (getDefaultActions): Implemented.
9239         (setActive): Use active instead of isActive.
9240         (isActive): Use active instead of isActive.
9241         (addDropTargetListener): Implemented.
9242         (removeDropTargetListener): Implemented.
9243         (getFlavorMap): Implemented.
9244         (setFlavorMap): Implemented.
9245         (getDropTargetContext): Implemented.
9246         (createDropTargetContext): Implemented.
9247         (createDropTargetAutoScroller): Implemented.
9248         * java/awt/dnd/DropTargetContext.java
9249         (TransferableProxy.getTransferDataFlavors): Implemented.
9250         (TransferableProxy.isDataFlavorSupported): Implemented.
9251         (TransferableProxy.getTransferData): Implemented.
9252         (dropTarget):  New member variable.
9253         (dtcp): New member variable.
9254         (DropTargetContext): New package private constructor.
9255         (getDropTarget): Implemented.
9256         (getComponent): Implemented.
9257         (addNotify): Implemented.
9258         (removeNotify): Implemented.
9259         (getCurrentDataFlavorsAsList): Implemented.
9260         (isDataFlavorSupported): Implemented.
9261         * java/awt/dnd/MouseDragGestureRecognizer.java
9262         (registerListeners): Implemented.
9263         (unregisterListeners): Implemented.
9264         * Makefile.am
9265         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
9266         * Makefile.in: Regenerated.
9267
9268 2003-03-02  Michael Koch  <konqueror@gmx.de>
9269
9270         * java/awt/Component.java
9271         (eventTypeEnabled): New method.
9272         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
9273         * java/awt/Container.java
9274         (changeSupport): New member variable.
9275         (addPropertyChangeListener): New methods.
9276         * java/awt/ContainerOrderFocusTraversalPolicy.java
9277         (ContainerOrderFocusTraversalPolicy): Added comment.
9278         (getComponentAfter): Throw exception, documentation added.
9279         (getComponentBefore): Throw exception, documentation added.
9280         (getFirstComponent): Throw exception, documentation added.
9281         (getLastComponent): Throw exception, documentation added.
9282         (getDefaultComponent): Throw exception, documentation added.
9283         * java/awt/EventQueue.java: Reindented.
9284         * java/awt/FocusTraversalPolicy.java:
9285         (FocusTraversalPolicy): Added comment.
9286         (getComponentAfter): Documentation added.
9287         (getComponentBefore): Documentation added.
9288         (getFirstComponent): Documentation added.
9289         (getLastComponent): Documentation added.
9290         (getDefaultComponent): Documentation added.
9291         (getInitialComponent): Documentation added.
9292         * java/awt/ScrollPane.java
9293         (wheelScrollingEnabled): New member variable.
9294         (ScrollPane): Initialize wheelScollingEnabled.
9295         (eventTypeEnabled): New method.
9296         (isWheelScrollingEnabled): New method.
9297         (setWheelScrollingEnabled): New method.
9298
9299 2003-03-02  Michael Koch  <konqueror@gmx.de>
9300
9301         * java/net/DatagramSocket.java
9302         (closed): New member variable.
9303         (close): Use closed variable.
9304         (getInetAddress): No need to call isConnected().
9305         (getPort): No need to call isConnected().
9306         (disconnect): Reset remoteAddress and remotePort, fixed typo.
9307         (isClosed): Reimplemented.
9308         
9309 2003-03-02  Michael Koch  <konqueror@gmx.de>
9310
9311         * configure.in: Added check for memory mapping of files.
9312         * configure: Regenerated.
9313         * config.h.in: Regenerated.
9314
9315 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
9316
9317         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
9318         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
9319
9320 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
9321
9322         * java/io/File.java (normalizePath): Remove trailing separator
9323         on Windows only if path is not of the form "x:\".
9324
9325         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
9326         (java::io::File::attr): Change formatting a bit and use
9327         WIN32_EPOCH_MILLIS instead of magic numbers.
9328         (java::io::File::isAbsolute): Path must have at least 3 
9329         characters for a UNC network path.
9330         (java::io::File::init_native): Define.
9331         (java::io::File::performCreate): Likewise.
9332         (java::io::File::performSetReadOnly): Likewise.
9333         (java::io::File::performSetLastModified): Likewise.
9334         (java::io::File::performListRoots): Likewise.
9335
9336 2003-03-01  Tom Tromey  <tromey@redhat.com>
9337
9338         * java/lang/natObject.cc: Don't include assert.h.
9339         (heavy_lock_obj_finalization_proc): Use JvAssert.
9340         (remove_all_heavy): Likewise.
9341         (_Jv_MonitorEnter): Likewise.
9342         (_Jv_MonitorExit): Likewise.
9343         (wait): Likewise.
9344
9345 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
9346
9347         * java/io/File (getAbsolutePath): Prefix drive specifier on
9348         Windows for paths starting with a '\'.
9349         (toURL): Make URL more consistent with what Sun's JDK returns.
9350
9351         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
9352         true only if the path is a UNC network path or it starts with a
9353         drive specifier.
9354
9355         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
9356         Be prepared to handle either '/' or '\\' in the file path for
9357         Windows if using the "file" protocol.
9358         Canonicalise the file path if using a relative path in the given
9359         context and the "file" protocol.
9360
9361 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
9362
9363         * java/lang/natWin32Process.cc (startProcess): Double-quote each
9364         program array element passed to CreateProcess.
9365
9366 2003-03-01  Tom Tromey  <tromey@redhat.com>
9367
9368         * java/rmi/registry/RegistryHandler.java: Deprecate.
9369
9370 2003-03-01  Tom Tromey  <tromey@redhat.com>
9371
9372         * javax/accessibility/AccessibleEditableText.java,
9373         javax/accessibility/AccessibleHyperlink.java: New versions from
9374         Classpath.
9375
9376         * gnu/java/locale/LocaleInformation_af_ZA.java,
9377         gnu/java/locale/LocaleInformation_ar_AE.java,
9378         gnu/java/locale/LocaleInformation_ar_BH.java,
9379         gnu/java/locale/LocaleInformation_ar_DZ.java,
9380         gnu/java/locale/LocaleInformation_ar_EG.java,
9381         gnu/java/locale/LocaleInformation_ar_IN.java,
9382         gnu/java/locale/LocaleInformation_ar_IQ.java,
9383         gnu/java/locale/LocaleInformation_ar_JO.java,
9384         gnu/java/locale/LocaleInformation_ar_KW.java,
9385         gnu/java/locale/LocaleInformation_ar_LB.java,
9386         gnu/java/locale/LocaleInformation_ar_LY.java,
9387         gnu/java/locale/LocaleInformation_ar_MA.java,
9388         gnu/java/locale/LocaleInformation_ar_OM.java,
9389         gnu/java/locale/LocaleInformation_ar_QA.java,
9390         gnu/java/locale/LocaleInformation_ar_SD.java,
9391         gnu/java/locale/LocaleInformation_ar_SY.java,
9392         gnu/java/locale/LocaleInformation_ar_TN.java,
9393         gnu/java/locale/LocaleInformation_ar_YE.java,
9394         gnu/java/locale/LocaleInformation_be_BY.java,
9395         gnu/java/locale/LocaleInformation_bn_IN.java,
9396         gnu/java/locale/LocaleInformation_br_FR.java,
9397         gnu/java/locale/LocaleInformation_bs_BA.java,
9398         gnu/java/locale/LocaleInformation_ca_ES.java,
9399         gnu/java/locale/LocaleInformation_cs_CZ.java,
9400         gnu/java/locale/LocaleInformation_cy_GB.java,
9401         gnu/java/locale/LocaleInformation_da_DK.java,
9402         gnu/java/locale/LocaleInformation_de_AT.java,
9403         gnu/java/locale/LocaleInformation_de_BE.java,
9404         gnu/java/locale/LocaleInformation_de_CH.java,
9405         gnu/java/locale/LocaleInformation_de_DE.java,
9406         gnu/java/locale/LocaleInformation_de_LU.java,
9407         gnu/java/locale/LocaleInformation_el_GR.java,
9408         gnu/java/locale/LocaleInformation_en_AU.java,
9409         gnu/java/locale/LocaleInformation_en_BW.java,
9410         gnu/java/locale/LocaleInformation_en_CA.java,
9411         gnu/java/locale/LocaleInformation_en_DK.java,
9412         gnu/java/locale/LocaleInformation_en_GB.java,
9413         gnu/java/locale/LocaleInformation_en_HK.java,
9414         gnu/java/locale/LocaleInformation_en_IE.java,
9415         gnu/java/locale/LocaleInformation_en_IN.java,
9416         gnu/java/locale/LocaleInformation_en_NZ.java,
9417         gnu/java/locale/LocaleInformation_en_PH.java,
9418         gnu/java/locale/LocaleInformation_en_SG.java,
9419         gnu/java/locale/LocaleInformation_en_US.java,
9420         gnu/java/locale/LocaleInformation_en_ZA.java,
9421         gnu/java/locale/LocaleInformation_en_ZW.java,
9422         gnu/java/locale/LocaleInformation_es_AR.java,
9423         gnu/java/locale/LocaleInformation_es_BO.java,
9424         gnu/java/locale/LocaleInformation_es_CL.java,
9425         gnu/java/locale/LocaleInformation_es_CO.java,
9426         gnu/java/locale/LocaleInformation_es_CR.java,
9427         gnu/java/locale/LocaleInformation_es_DO.java,
9428         gnu/java/locale/LocaleInformation_es_EC.java,
9429         gnu/java/locale/LocaleInformation_es_ES.java,
9430         gnu/java/locale/LocaleInformation_es_GT.java,
9431         gnu/java/locale/LocaleInformation_es_HN.java,
9432         gnu/java/locale/LocaleInformation_es_MX.java,
9433         gnu/java/locale/LocaleInformation_es_NI.java,
9434         gnu/java/locale/LocaleInformation_es_PA.java,
9435         gnu/java/locale/LocaleInformation_es_PE.java,
9436         gnu/java/locale/LocaleInformation_es_PR.java,
9437         gnu/java/locale/LocaleInformation_es_PY.java,
9438         gnu/java/locale/LocaleInformation_es_SV.java,
9439         gnu/java/locale/LocaleInformation_es_US.java,
9440         gnu/java/locale/LocaleInformation_es_UY.java,
9441         gnu/java/locale/LocaleInformation_es_VE.java,
9442         gnu/java/locale/LocaleInformation_et_EE.java,
9443         gnu/java/locale/LocaleInformation_eu_ES.java,
9444         gnu/java/locale/LocaleInformation_fa_IR.java,
9445         gnu/java/locale/LocaleInformation_fi_FI.java,
9446         gnu/java/locale/LocaleInformation_fo_FO.java,
9447         gnu/java/locale/LocaleInformation_fr_BE.java,
9448         gnu/java/locale/LocaleInformation_fr_CA.java,
9449         gnu/java/locale/LocaleInformation_fr_CH.java,
9450         gnu/java/locale/LocaleInformation_fr_FR.java,
9451         gnu/java/locale/LocaleInformation_fr_LU.java,
9452         gnu/java/locale/LocaleInformation_ga_IE.java,
9453         gnu/java/locale/LocaleInformation_gd_GB.java,
9454         gnu/java/locale/LocaleInformation_gl_ES.java,
9455         gnu/java/locale/LocaleInformation_gv_GB.java,
9456         gnu/java/locale/LocaleInformation_he_IL.java,
9457         gnu/java/locale/LocaleInformation_hi_IN.java,
9458         gnu/java/locale/LocaleInformation_hr_HR.java,
9459         gnu/java/locale/LocaleInformation_hu_HU.java,
9460         gnu/java/locale/LocaleInformation_id_ID.java,
9461         gnu/java/locale/LocaleInformation_it_CH.java,
9462         gnu/java/locale/LocaleInformation_it_IT.java,
9463         gnu/java/locale/LocaleInformation_iw_IL.java,
9464         gnu/java/locale/LocaleInformation_ja_JP.java,
9465         gnu/java/locale/LocaleInformation_ka_GE.java,
9466         gnu/java/locale/LocaleInformation_kl_GL.java,
9467         gnu/java/locale/LocaleInformation_ko_KR.java,
9468         gnu/java/locale/LocaleInformation_kw_GB.java,
9469         gnu/java/locale/LocaleInformation_lt_LT.java,
9470         gnu/java/locale/LocaleInformation_lv_LV.java,
9471         gnu/java/locale/LocaleInformation_mi_NZ.java,
9472         gnu/java/locale/LocaleInformation_mk_MK.java,
9473         gnu/java/locale/LocaleInformation_mr_IN.java,
9474         gnu/java/locale/LocaleInformation_mt_MT.java,
9475         gnu/java/locale/LocaleInformation_nl_BE.java,
9476         gnu/java/locale/LocaleInformation_nl_NL.java,
9477         gnu/java/locale/LocaleInformation_nn_NO.java,
9478         gnu/java/locale/LocaleInformation_no_NO.java,
9479         gnu/java/locale/LocaleInformation_oc_FR.java,
9480         gnu/java/locale/LocaleInformation_pl_PL.java,
9481         gnu/java/locale/LocaleInformation_pt_BR.java,
9482         gnu/java/locale/LocaleInformation_pt_PT.java,
9483         gnu/java/locale/LocaleInformation_ro_RO.java,
9484         gnu/java/locale/LocaleInformation_ru_RU.java,
9485         gnu/java/locale/LocaleInformation_ru_UA.java,
9486         gnu/java/locale/LocaleInformation_se_NO.java,
9487         gnu/java/locale/LocaleInformation_sk_SK.java,
9488         gnu/java/locale/LocaleInformation_sl_SI.java,
9489         gnu/java/locale/LocaleInformation_sq_AL.java,
9490         gnu/java/locale/LocaleInformation_sr_YU.java,
9491         gnu/java/locale/LocaleInformation_sv_FI.java,
9492         gnu/java/locale/LocaleInformation_sv_SE.java,
9493         gnu/java/locale/LocaleInformation_ta_IN.java,
9494         gnu/java/locale/LocaleInformation_te_IN.java,
9495         gnu/java/locale/LocaleInformation_tg_TJ.java,
9496         gnu/java/locale/LocaleInformation_tl_PH.java,
9497         gnu/java/locale/LocaleInformation_tr_TR.java,
9498         gnu/java/locale/LocaleInformation_uk_UA.java,
9499         gnu/java/locale/LocaleInformation_ur_PK.java,
9500         gnu/java/locale/LocaleInformation_uz_UZ.java,
9501         gnu/java/locale/LocaleInformation_vi_VN.java,
9502         gnu/java/locale/LocaleInformation_yi_US.java,
9503         gnu/java/locale/LocaleInformation_zh_CN.java,
9504         gnu/java/locale/LocaleInformation_zh_HK.java,
9505         gnu/java/locale/LocaleInformation_zh_SG.java,
9506         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
9507         info; from Classpath.
9508
9509         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
9510         isPaintPending): New methods.
9511         * gnu/awt/xlib/XFramePeer.java (getState, setState,
9512         setMaximizedBounds): New methods.
9513         (beginLayout, endLayout, isPaintPending): Likewise.
9514         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
9515         (requestFocus): Likewise.
9516         (isObscured): Likewise.
9517         (canDetermineObscurity): Likewise.
9518         (coalescePaintEvent): Likewise.
9519         (updateCursorImmediately): Likewise.
9520         (createVolatileImage): Likewise.
9521         (handlesWheelScrolling): Likewise.
9522         (createBuffers): Likewise.
9523         (getBackBuffer): Likewise.
9524         (flip): Likewise.
9525         (destroyBuffers): Likewise.
9526
9527         * Makefile.in: Rebuilt.
9528         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
9529         RobotPeer.java.
9530         * gnu/java/awt/GLightweightPeer.java,
9531         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9532         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9533         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9534         gnu/java/awt/peer/gtk/GtkFramePeer.java,
9535         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
9536         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9537         java/awt/dnd/peer/DragSourceContextPeer.java,
9538         java/awt/dnd/peer/DropTargetContextPeer.java,
9539         java/awt/peer/ButtonPeer.java,
9540         java/awt/peer/CheckboxMenuItemPeer.java,
9541         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
9542         java/awt/peer/ComponentPeer.java,
9543         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
9544         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
9545         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
9546         java/awt/peer/MenuBarPeer.java,
9547         java/awt/peer/MenuComponentPeer.java,
9548         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
9549         java/awt/peer/PopupMenuPeer.java,
9550         java/awt/peer/ScrollPanePeer.java,
9551         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
9552         java/awt/peer/TextComponentPeer.java,
9553         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
9554         New versions from Classpath.
9555         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
9556         * java/awt/peer/RobotPeer.java: Likewise.
9557
9558 2003-03-01  Mark Wielaard  <mark@klomp.org>
9559
9560         * java/io/ObjectInputStream.java: Reindent.
9561         * java/io/ObjectOutputStream.java: Likewise.
9562
9563 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
9564
9565         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
9566         jvalue for each argument. Simplify.
9567         * testsuite/libjava.jni/calls.c (docall),
9568         testsuite/libjava.jni/calls.java (longpb_f): check for argument
9569         misalignment.
9570
9571 2003-02-28  Mark Wielaard  <mark@klomp.org>
9572
9573         * Makefile.am (nat_source_files): Remove
9574         java/io/natObjectOutputStream.cc.
9575         * Makefile.in: Regenerated.
9576         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
9577         * java/io/ObjectStreamField.java (typename): New field.
9578         (ObjectStreamField(String, Class)): Initialize new field.
9579         (ObjectStreamField(String, String)): New Constructor.
9580         (getTypeCode): Use new field.
9581         (getTypeString): Use new field.
9582         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
9583         ObjectStreamExceptions. Remember and reset old BlockDataMode.
9584         Handle reading of Proxy classes. Never drain(), just write
9585         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
9586         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
9587         (flush): Call flush(), not just drain().
9588         (writeBoolean): Always use blockDataOutput.
9589         (writeByte): Likewise.
9590         (writeShort): Likewise.
9591         (writeChar): Likewise.
9592         (writeInt): Likewise.
9593         (writeLong): Likewise.
9594         (writeFloat): Likewise.
9595         (writeDouble): Likewise.
9596         (writeBytes): Likewise.
9597         (putfield (put(String,Object))): Throw IllegalArgumentException if
9598         field cannot be found.
9599         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
9600         (writeArraySizeAndElements): Write byte[] in one go.
9601         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
9602         set BlockDataMode to false.
9603         (annotateProxyClass): New method.
9604         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
9605         (getField): No longer native.
9606         (getMethod): Likewise.
9607         (setBlockDataMode): Always drain() on switch, return old mode.
9608         (static): New static code block.
9609         * java/io/natObjectOutputStream.cc: Removed.
9610         * java/io/ObjectInputStream.java (getField): No longer native.
9611         (getMethod): Likewise.
9612         (readObject): Remember and reset old BlockDataMode. Track whether
9613         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
9614         TC_LONGSTRING.
9615         (defaultReadObject): Set BlockDataMode to false during readFields.
9616         (resolveClass): Create new SecurityManager if necessary.
9617         Use Class.forName() if null ClassLoader found.
9618         (read(byte[],int,int): Copy remaining bytes to data before calling
9619         readNextBlock().
9620         (readFields): Set and reset BlockDataMode on call_read_method.
9621         Catch NoSuchFieldErrors.
9622         (setBlockDataMode): Return old mode.
9623         (static): New static code block.
9624         * java/io/natObjectInputStream.cc (getField): Removed.
9625         (getMethod): Likewise.
9626
9627 2003-02-27  Michael Koch  <konqueror@gmx.de>
9628
9629         * java/beans/Beans.java,
9630         java/beans/FeatureDescriptor.java
9631         java/beans/PropertyEditorManager.java:
9632         Reformated to GNU style.
9633
9634 2003-02-25  Michael Koch  <konqueror@gmx.de>
9635
9636         * gnu/java/nio/MappedByteFileBuffer.java,
9637         gnu/java/nio/natMappedByteFileBuffer.cc:
9638         New files, both are not compiled yet to get not noncompiling CVS.
9639
9640 2003-02-24  Tom Tromey  <tromey@redhat.com>
9641
9642         * java/util/prefs/AbstractPreferences.java (isUserNode):
9643         Implemented.
9644
9645 2003-02-24  Tom Tromey  <tromey@redhat.com>
9646
9647         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
9648         Deprecate.
9649         * java/lang/Thread.java (resume): Deprecate.
9650         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
9651         in @deprecated.
9652
9653 2003-02-23  Tom Tromey  <tromey@redhat.com>
9654
9655         * Makefile.in: Rebuilt.
9656         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
9657
9658 2003-02-23  Tom Tromey  <tromey@redhat.com>
9659
9660         * java/lang/natRuntime.cc (libraries_size, libraries_count,
9661         libraries): Removed.
9662         (add_library): Removed.
9663         (_load): Don't call add_library.
9664         (loadLibraryInternal): Likewise.
9665         (init): Likewise.
9666         (lookup_data): New struct.
9667         (find_symbol): New function.
9668         (_Jv_FindSymbolInExecutable): Use it.
9669
9670 2002-02-21  Anthony Green  <green@redhat.com>
9671
9672         * java/lang/Thread.java (Thread): New constructor taking stack
9673         size parameter (ignored for now).
9674         * Many methods: Merged GNU Classpath documentation.
9675
9676         * java/lang/Class.java (finalize): throws a Throwable.
9677
9678 2003-02-21  Mark Wielaard  <mark@klomp.org>
9679
9680         * java/util/zip/ZipEntry.java (setComment): Don't check length when
9681         argument is null.
9682
9683 2003-02-21  Mark Wielaard  <mark@klomp.org>
9684
9685         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
9686         then 65535 chars throw IllegalArgumentException.
9687
9688 2003-02-21  Mark Wielaard  <mark@klomp.org>
9689
9690         * java/util/zip/ZipFile.java (finalize): New method.
9691
9692 2003-02-21  Michael Koch  <konqueror@gmx.de>
9693
9694         * gnu/java/nio/natSocketChannelImpl.cc:
9695         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
9696         <cato@df.lth.se> for pointing to it.
9697
9698 2003-02-20  Raif S. Naffah <raif@fl.net.au>
9699
9700         * java/math/BigInteger.java (euclidInv): Take result array as an
9701         argument.  Updated all callers.
9702         (modInverse): Removed unused variables.
9703
9704 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
9705
9706         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
9707         config.status.
9708         * configure: Rebuilt.
9709
9710 2003-02-19  Michael Koch  <konqueror@gmx.de>
9711
9712         * gnu/java/nio/natSocketChannelImpl.cc:
9713         Added support for platforms without network support.
9714
9715 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9716
9717         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
9718         after config.h.  Use <> for consistency.
9719         * java/lang/natObject.cc: Likewise.
9720         * java/lang/natRuntime.cc: Likewise.
9721         * java/lang/natSystem.cc: Likewise.
9722         * java/util/natTimeZone.cc: Likewise.
9723         * win32.cc: Likewise.
9724         * include/posix.h (fcntl, socket, connect, close, bind, accept,
9725         listen, write, read): Undef to avoid interference from OS macros.
9726
9727 2003-02-19  Michael Koch  <konqueror@gmx.de>
9728
9729         * gnu/java/nio/ByteBufferImpl.java
9730         (ByteBufferImpl): Renamed two variables.
9731         * gnu/java/nio/CharBufferImpl.java
9732         (CharBufferImpl): Renamed two variables.
9733         * gnu/java/nio/DoubleBufferImpl.java
9734         (DoubleBufferImpl): Renamed two variables.
9735         * gnu/java/nio/FloatBufferImpl.java
9736         (FloatBufferImpl): Renamed two variables.
9737         * gnu/java/nio/IntBufferImpl.java
9738         (IntBufferImpl): Renamed two variables.
9739         * gnu/java/nio/LongBufferImpl.java
9740         (LongBufferImpl): Renamed two variables.
9741         * gnu/java/nio/ShortBufferImpl.java
9742         (ShortBufferImpl): Renamed two variables.
9743         * java/nio/CharBuffer.java
9744         (wrap): Fixed arguments to CharBufferImpl constructor.
9745         (hasArray): Only not read-only buffers have backing arrays.
9746         (length): Documentation added.
9747         (subSequence): Documentation added.
9748         * java/nio/DoubleBuffer.java
9749         (hasArray): Only not read-only buffers have backing arrays.
9750         * java/nio/FloatBuffer.java
9751         (hasArray): Only not read-only buffers have backing arrays.
9752         * java/nio/IntBuffer.java
9753         (hasArray): Only not read-only buffers have backing arrays.
9754         * java/nio/LongBuffer.java
9755         (hasArray): Only not read-only buffers have backing arrays.
9756         * java/nio/ShortBuffer.java
9757         (hasArray): Only not read-only buffers have backing arrays.
9758         
9759 2003-02-19  Michael Koch  <konqueror@gmx.de>
9760
9761         * javax/accessibility/AccessibleContext.java
9762         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
9763
9764 2003-02-19  Michael Koch  <konqueror@gmx.de>
9765
9766         * java/awt/ScrollPaneAdjustable.java: Reformated.
9767
9768 2003-02-19  Michael Koch <konqueror@gmx.de>
9769
9770         * gnu/awt/j2d/Graphics2DImpl.java
9771         (getFontRenderContext): New method.
9772         (drawGlyphVector): New method.
9773         * java/awt/Graphics2D.java
9774         (getFontRenderContext): New abstract method.
9775         (drawGlyphVector): New abstract method.
9776         
9777 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
9778
9779         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
9780         if necessary.
9781         
9782         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9783         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9784         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9785         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9786         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9787         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
9788         (setFont, gtkSetFont): add.
9789         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
9790         Propagate font to peer.  (setFont): add FIXME comment.
9791
9792         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9793         (gtkTextGetSize): fix height, width computation.
9794
9795         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
9796         Make X font name a bit less bogus.
9797
9798         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9799         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
9800
9801         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
9802         (processAdjustmentEvent): Adjust value.
9803
9804         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
9805         logic errors.
9806
9807         * java/awt/Component.java (setVisible, show, hide): Call show and
9808         hide methods in subclasses.
9809         (getPreferredSize): don't set prefSize before we have peer.
9810
9811         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
9812         Guess (0,0) if we don't have peer.
9813
9814
9815 2003-02-18  Michael Koch  <konqueror@gmx.de>
9816
9817         * java/nio/channels/FileChannel.java
9818         (toString): New implementation, added documentation.
9819         (map): Added exception documentation.
9820         (size): Added exception documentation.
9821         (write): New methods, documentation work.
9822         (read): New methods, documentation work.
9823         (implCloseChannel): Rewrote exception documentation.
9824         (force): Throws IOException, added documentation.
9825         (lock): New methods.
9826         (tryLock): New methods.
9827         (position): New methods.
9828         (transferTo): New method.
9829         (transferFrom): New method.
9830         (truncate): New method.
9831         * java/nio/channels/spi/SelectorProvider.java
9832         (provider): Implemented.
9833         * Makefile.am
9834         (ordinary_java_source_files): Added the following files:
9835         gnu/java/nio/DatagramChannelImpl.java
9836         gnu/java/nio/FileChannelImpl.java
9837         gnu/java/nio/PipeImpl.java
9838         gnu/java/nio/SelectionKeyImpl.java
9839         gnu/java/nio/SelectorImpl.java
9840         gnu/java/nio/SelectorProviderImpl.java
9841         gnu/java/nio/ServerSocketChannelImpl.java
9842         gnu/java/nio/SocketChannelImpl.java
9843         java/nio/channels/FileLock.java
9844         (nat_java_source_files): Added the following files:
9845         gnu/java/nio/natFileChannelImpl.cc
9846         gnu/java/nio/natSelectorImpl.cc
9847         gnu/java/nio/natSocketChannelImpl.cc
9848         * Makefile.in: Regenerated.
9849
9850 2003-02-17  Tom Tromey  <tromey@redhat.com>
9851
9852         * java/awt/image/ColorModel.java: Re-merged with Classpath.
9853         * java/awt/image/ImageFilter.java: Likewise.
9854
9855 2003-02-17  Raif S. Naffah <raif@fl.net.au>
9856
9857         * java/math/BigInteger.java (euclidInv): Return array of
9858         `BigInteger's.  Changed all callers.
9859
9860 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
9861
9862         * java/util/Properties.java (store): Move the code formerly in
9863         list(), into this method.
9864         (list (PrintStream)): Just call list (PrintWriter) with a 
9865         PrintWriter object constructed from the given PrintStream object.
9866         (list (PrintWriter)): Emulate the output of Properties.list()
9867         as found in JDK 1.3/1.4.
9868
9869 2003-02-17  Michael Koch  <konqueror@gmx.de>
9870
9871         * java/net/DatagramSocket.java
9872         (connect): Merged with classpath.
9873         (disconnect): Merged documentation with classpath.
9874         (receice): Merged documentation with classpath.
9875         (send): Merged documentation with classpath.
9876         
9877 2003-02-17  Michael Koch  <konqueror@gmx.de>
9878
9879         * java/awt/dnd/DragSourceContext.java
9880         (addDragSourceListener): Added documentation.
9881         * java/awt/dnd/DragSourceDragEvent.java
9882         (serialVersionUID): New member variable.
9883         (getDropAction): Reformated.
9884         * java/awt/dnd/DragSourceDropEvent.java
9885         (serialVersionUID): New member variable.
9886         (dropSuccess): Renamed from success for serialization issues.
9887         * java/awt/dnd/DragSourceEvent.java
9888         (serialVersionUID): New member variable.
9889         * java/awt/dnd/DropTarget.java
9890         (serialVersionUID): New member variable.
9891         (DropTarget): Implemented, documentation reworked.
9892         (setComponent): Documentation added.
9893         (getComponent): Documentation added.
9894         (setDefaultActions): Documentation added.
9895         (getDefaultActions): Documentation added.
9896         (addDropTargetListener): Documentation added.
9897         * java/awt/dnd/DropTargetContext.java
9898         (DropTargetContext): Documentation added.
9899         (TransferableProxy.TransferableProxy): New method.
9900         (dropComplete): Fixed documentation.
9901         (getTransferable): Fixed documentation.
9902         (createTransferableProxy): Implemented.
9903         * java/awt/dnd/DropTargetDragEvent.java
9904         (DropTargetDragEvent): Documentation added.
9905         (serialVersionUID): New member variable.
9906         (DropTargetDragEvent): Throw exceptions, documentation added.
9907         (acceptDrag): Implemented.
9908         (getCurrentDataFlavors): Implemented.3yy
9909         (getCurrentDataFlavorsAsList): Implemented.
9910         (isDataFlavorSupported): Implemented.
9911         (rejectDrag): Implemented.
9912         * java/awt/dnd/DropTargetDropEvent.java
9913         (DropTargetDropEvent): Documentation added.
9914         (serialVersionUID): New member variable.
9915         (actions): Renamed from srcActions for serialization issues.
9916         (isLocalTx): Renamed from isLocalTx for serialization issues.
9917         (DropTargetDropEvent): New implementation, throw exceptions,
9918         documentation added.
9919         (getCurrentDataFlavors): Implemented.
9920         (getCurrentDataFlavorsAsList): Implemented.
9921         (isDataFlavorSupported): Implemented.
9922         (getSourceActions): Implemented.
9923         (getDropAction): Implemented.
9924         (getTransferable): Implemented.
9925         (acceptDrop): Implemented.
9926         (rejectDrop): Implemented.
9927         * java/awt/dnd/DropTargetListener.java
9928         (drop): Fixed documentation.
9929         * java/awt/dnd/MouseDragGestureRecognizer.java
9930         (MouseDragGestureRecognizer): Documentation added.
9931
9932 2003-02-17  Michael Koch  <konqueror@gmx.de>
9933
9934         * java/awt/font/FontRenderContext.java,
9935         java/awt/font/ShapeGraphicAttribute.java,
9936         java/awt/font/MultipleMaster.java,
9937         java/awt/font/TransformAttribute.java,
9938         java/awt/font/GlyphJustificationInfo.java,
9939         java/awt/font/LineBreakMeasurer.java,
9940         java/awt/font/TextMeasurer.java,
9941         java/awt/font/TextLayout.java,
9942         java/awt/font/LineMetrics.java,
9943         java/awt/font/TextAttribute.java,
9944         java/awt/font/GlyphMetrics.java,
9945         java/awt/font/OpenType.java,
9946         java/awt/font/GlyphVector.java,
9947         java/awt/font/GraphicAttribute.java,
9948         java/awt/font/ImageGraphicAttribute.java,
9949         java/awt/font/NumericShaper.java: New files.
9950         * Makefile.am
9951         (awt_java_source_files): Added the following files:
9952         java/awt/font/FontRenderContext.java
9953         java/awt/font/ShapeGraphicAttribute.java
9954         java/awt/font/MultipleMaster.java
9955         java/awt/font/TransformAttribute.java
9956         java/awt/font/GlyphJustificationInfo.java
9957         java/awt/font/LineBreakMeasurer.java
9958         java/awt/font/TextMeasurer.java
9959         java/awt/font/TextLayout.java
9960         java/awt/font/LineMetrics.java
9961         java/awt/font/TextAttribute.java
9962         java/awt/font/GlyphMetrics.java
9963         java/awt/font/OpenType.java
9964         java/awt/font/GlyphVector.java
9965         java/awt/font/GraphicAttribute.java
9966         java/awt/font/ImageGraphicAttribute.java
9967         java/awt/font/NumericShaper.java
9968         * Makefile.in: Regenerated.
9969
9970 2003-02-17  Michael Koch  <konqueror@gmx.de>
9971
9972         * java/awt/print/Paper.java
9973         (Paper): Implements Cloneable.
9974         * java/awt/print/PrinterJob.java
9975         (setJobName): Return value must be void.
9976         (print): Throws PrinterException.
9977         
9978 2003-02-16  Tom Tromey  <tromey@redhat.com>
9979
9980         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
9981         variable.
9982
9983 2003-02-15  Michael Koch  <konqueror@gmx.de>
9984
9985         * java/awt/datatransfer/DataFlavor.java
9986         (isRepresentationClassByteBuffer): Removed try-catch block.
9987         (isRepresentationClassCharBuffer): Removed try-catch block.
9988         (isRepresentationClassReader): Removed try-catch block.
9989
9990 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9991
9992         * java/nio/charset/Charset.java
9993         (isRegistered): Fixed method args and implementation.
9994         * java/nio/charset/CharsetEncoder.java
9995         (unmappableCharacterAction): New method.
9996
9997 2003-02-15  Michael Koch  <konqueror@gmx.de>
9998
9999         * java/awt/CheckboxMenuItem.java
10000         (CheckBoxMenuItem): Dont implement Serializable.
10001         (getListeners): New method,
10002         (getItemListeners): New method.
10003         * java/awt/Choice.java
10004         (getListeners): New method,
10005         (getItemListeners): New method.
10006         * java/awt/Container.java
10007         (getListeners): Added exception documentation.
10008         (setFocusTraversalKeys): Throw exceptions, added documentattion.
10009         (getFocusTraversalKeys): Added documentation.
10010         (areFocusTraversalKeysSet): Added documentation.
10011         (applyComponentOrientation): Added documentation.
10012         * java/awt/ContainerOrderFocusTraversalPolicy.java
10013         (implicitDownCycleTraversal): Renamed from downCycle for
10014         serialization.
10015         (ContainerOrderFocusTraversalPolicy): Added documentation.
10016         (accept): Reformated.
10017         * java/awt/Dialog.java
10018         (Dialog): Dont implement Serializable.
10019         (Dialog): Added documentation.
10020         * java/awt/Font.java
10021         (Font): Dont use absolute class name.
10022         * java/awt/Frame.java
10023         (Frame): Font implement Serializable.
10024         * java/awt/List.java
10025         (getListeners): New method,
10026         (getActionListeners): New method.       
10027         (getItemListeners): New method.
10028         * java/awt/Menu.java
10029         (countItems): New deprecated method.
10030         * java/awt/Scrollbar.java
10031         (getListeners): New method,
10032         (getAdjustmentListeners): New method,
10033         * java/awt/TextComponent.java
10034         (getListeners): New method,
10035         (getTextListeners): New method,
10036         * java/awt/TextField.java
10037         (getListeners): New method,
10038         (getActionListeners): New method.       
10039         * java/awt/Window.java
10040         (windowFocusListener): New member variable.
10041         (windowStateListener): New member variable.
10042         (getWindowFocusListeners): New method.
10043         (getWindowStateListeners): New method.
10044         (addWindowFocusListener): New method.
10045         (addWindowStateListener): New method.
10046         (removeWindowFocusListener): New method.
10047         (removeWindowStateListener): New method.
10048         * java/awt/datatransfer/DataFlavor.java
10049         (isRepresentationClassByteBuffer): New method.
10050         (isRepresentationClassCharBuffer): New method.
10051         (isRepresentationClassReader): New method.
10052
10053 2003-02-14  Mark Wielaard  <mark@klomp.org>
10054
10055         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
10056         zero when there is an exponent and the significant is zero.
10057         (divide): Always set scale to newScale even in special ZERO case.
10058
10059 2003-02-14  Tom Tromey  <tromey@redhat.com>
10060
10061         * java/lang/System.java (properties): Use Properties.clone.
10062         (setProperties): Likewise.
10063
10064 2003-02-14  Michael Koch  <konqueror@gmx.de>
10065
10066         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
10067         * gnu/java/nio/ServerSocketChannelImpl.java
10068         (SocketAccept): Removed.
10069         (accept): Commented out use of SocketAccept.
10070
10071 2003-02-13  Tom Tromey  <tromey@redhat.com>
10072
10073         * verify.cc (state::seen_subrs): New field.
10074         (state::state): Initialize it.
10075         (state::clean_subrs): New method.
10076         (state::~state): Call it.
10077         (state::copy): Copy subroutine list.
10078         (state::add_subr): New method.
10079         (state::merge): Only register a change if the current subroutine
10080         hasn't yet been noted.
10081
10082 2003-02-13  Mark Wielaard  <mark@klomp.org>
10083
10084         * java/io/InputStreamReader.java (getEncoding): Return null when
10085         closed.
10086         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
10087
10088 2003-02-13  Mark Wielaard  <mark@klomp.org>
10089  
10090         * java/util/zip/InflaterInputStream.java (read): Return zero when len
10091         is zero.
10092
10093 2003-02-13  Mark Wielaard  <mark@klomp.org>
10094
10095         * java/io/BufferedOutputStream.java (write(int)): Only flush when
10096         next byte cannot be buffered.
10097
10098 2003-02-13  Michael Koch  <konqueror@gmx.de>
10099  
10100         * java/awt/Label.java
10101         (Label): Don't implement Serializable directly.
10102         (addNotify): Fixed typo in documentation.
10103         * java/awt/List.java
10104         (List): Don't implement Serializable directly.
10105         * java/awt/PopupMenu.java
10106         (PopupMenu): Don't implement Serializable directly.
10107         * java/awt/ScrollPane.java
10108         (ScrollPane): Don't implement Serializable directly.
10109         * java/awt/Scrollbar.java
10110         (Scrollbar): Don't implement Serializable directly.
10111         * java/awt/TextArea.java
10112         (preferredSize): Fixed method arguments.
10113         * java/awt/TextField.java
10114         (TextField): Don't implement Serializable directly.
10115         * java/awt/color/ICC_ColorSpace.java
10116         (fromCIOXYZ): Documentation added.
10117         (getMinValue): Documentation added.
10118         (getMaxValue): Documentation added.
10119         * java/awt/datatransfer/DataFlavor.java
10120         (isMimeTypeEqual): May not be final.
10121         (clone): Throws CloneNotSupportedException.
10122         (getReaderForText): Don't throws UnsupportedEncodingException.
10123
10124 2003-02-13  Michael Koch  <konqueror@gmx.de>
10125  
10126         * gnu/java/awt/peer/gtk/GdkGraphics.java
10127         (drawString): New stubbed method.
10128         * java/awt/Graphics.java
10129         (drawString): New method.
10130
10131 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
10132
10133         PR libgcj/9271:
10134         * java/security/SecureRandom.java (next): Avoid bias in results.
10135
10136 2003-02-13  Michael  <konqueror@gmx.de>
10137
10138         * gnu/java/nio/FileChannelImpl.java
10139         (lengthInternal): Must be native.
10140         (size): Check if channel is already closed.
10141         (implCloseChannel): Reformated.
10142         (read): w was unused, removed it.
10143         (read): Removed.
10144         (read): New method.
10145         (write): New method.
10146         (map): Check arguments.
10147         (force): Throws IOException, check if channel is closed.
10148         (transferTo): New method.
10149         (transferFrom): New method.
10150         (lock): New method.
10151         (tryLock): New method.
10152         (position): New method.
10153         (truncate): New method.
10154         (nio_mmap_file): Uncommented.
10155         (nio_munmap_file): Uncommented.
10156         (nio_msync): Uncommented.
10157         * gnu/java/nio/natFileChannelImpl.cc: New file.
10158         
10159 2003-02-13  Michael Koch  <konqueror@gmx.de>
10160
10161         * java/nio/ByteBuffer.java
10162         (endian): New member variable.
10163         (get): New methods.
10164         (equals): New method.
10165         (compareTo): New method.
10166         (order): New methods.
10167         (compact): New method.
10168         (isDirect): New method.
10169         (slice): New method.
10170         (duplicate): New method.
10171         (asReadOnlyBuffer): New method.
10172         (asCharBuffer): New method.
10173         (asDoubleBuffer): New method.
10174         (asFloatBuffer): New method.
10175         (asIntBuffer): New method.
10176         (asLongBuffer): New method.
10177         (asShortBuffer): New method.
10178         (get*): New methods.
10179         (put*): New methods.
10180         (toString): New method.
10181         * java/nio/CharBuffer.java
10182         (CharBuffer): Implement Comparable instead of Cloneable.
10183         (get): May not be final.
10184         (put): May not be final.
10185         
10186 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
10187
10188         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
10189         lastIndexOf( ) instead of indexOf( ) to find the colon before
10190         the line number, because Win32 file names might contain a 
10191         drive letter and a colon at the start of an absolute path.
10192
10193 2003-02-13  Michael Koch  <konqueror@gmx.de>
10194
10195         * gnu/java/nio/natSocketChannelImpl.cc
10196         (SocketConnect): This is not implemented yet.
10197         (SocketBind): This is not implemented yet.
10198
10199 2003-02-13  Michael Koch  <konqueror@gmx.de>
10200
10201         * gnu/java/nio/natByteBufferImpl.cc,
10202         gnu/java/nio/natCharBufferImpl.cc,
10203         gnu/java/nio/natDoubleBufferImpl.cc,
10204         gnu/java/nio/natFloatBufferImpl.cc,
10205         gnu/java/nio/natIntBufferImpl.cc,
10206         gnu/java/nio/natLongBufferImpl.cc,
10207         gnu/java/nio/natShortBufferImpl.cc:
10208         Added copyright and license.
10209         * java/nio/DoubleBuffer.java,
10210         java/nio/FloatBuffer.java,
10211         java/nio/IntBuffer.java,
10212         java/nio/LongBuffer.java,
10213         java/nio/ShortBuffer.java
10214         (array): Throw exceptions.
10215         (arrayOffset): Throw exceptions.
10216
10217 2003-02-13  Michael Koch  <konqueror@gmx.de>
10218  
10219         * gnu/java/util/prefs/FileBasedFactory.java,
10220         gnu/java/util/prefs/MemmoryBasedFactory.java,
10221         gnu/java/util/prefs/MemoryBasedPreferences.java,
10222         gnu/java/util/prefs/NodeReader.java,
10223         gnu/java/util/prefs/NodeWriter.java,
10224         java/util/prefs/AbstractPreferences.java,
10225         java/util/prefs/BackingStoreException.java,
10226         java/util/prefs/InvalidPreferencesFormatException.java,
10227         java/util/prefs/NodeChangeEvent.java,
10228         java/util/prefs/NodeChangeListener.java,
10229         java/util/prefs/PreferenceChangeEvent.java,
10230         java/util/prefs/PreferenceChangeListener.java,
10231         java/util/prefs/Preferences.java,
10232         java/util/prefs/PreferencesFactory.java:
10233         New files, all merged from classpath.
10234         * Makefile.am
10235         (ordinary_java_source_files): Added the following files:
10236         gnu/java/util/prefs/FileBasedFactory.java,
10237         gnu/java/util/prefs/MemmoryBasedFactory.java,
10238         gnu/java/util/prefs/MemoryBasedPreferences.java,
10239         gnu/java/util/prefs/NodeReader.java,
10240         gnu/java/util/prefs/NodeWriter.java,
10241         (core_java_source_files): Added the following files:
10242         java/util/prefs/AbstractPreferences.java,
10243         java/util/prefs/BackingStoreException.java,
10244         java/util/prefs/InvalidPreferencesFormatException.java,
10245         java/util/prefs/NodeChangeEvent.java,
10246         java/util/prefs/NodeChangeListener.java,
10247         java/util/prefs/PreferenceChangeEvent.java,
10248         java/util/prefs/PreferenceChangeListener.java,
10249         java/util/prefs/Preferences.java,
10250         java/util/prefs/PreferencesFactory.java
10251         * Makefile.in: Regenerated.
10252  
10253 2003-02-13  Michael Koch  <konqueror@gmx.de>
10254
10255         * java/net/NetPermission.java
10256         (NetPermission): Make doucmentation match the method declaration.
10257         * java/net/NetworkInterface.java
10258         (equals): Reformated for GNU coding style.
10259         * java/net/ServerSocket.java: Merged with classpath.
10260         * java/net/Socket.java: Partly merged with classpath (Added some @since).
10261         * java/net/SocketImpl.java
10262         (localPort): Merged with classpath (initialize with -1).
10263         * java/net/SocketPermission.java: Merged with classpath (reindented).
10264         * java/net/URLDecoder.java: Merged with classpath (reindented).
10265
10266 2003-02-13  Michael Koch  <konqueror@gmx.de>
10267
10268         * java/awt/GridBagConstraints.java
10269         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
10270         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
10271         * java/awt/KeyboardFocusManager.java
10272         (setGlobalCurrentFocusCycleRoot): Must be public.
10273         * java/awt/MenuComponent.java
10274         (MenuComponent): Must be public.
10275         * java/awt/Toolkit.java:
10276         Added some empty lines to make documentation more readable.
10277         (getFontPeer): Added @deprecated.
10278         (getColorModel): Added exception documentation.
10279         (getProperty): Fixed documentation.
10280  
10281 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
10282
10283         * configure.host (alpha*-*): Default to -mieee.
10284         * configure.in (IEEESPEC): New.
10285         * libgcj.spec.in (jc1): Add IEEESPEC.
10286         * configure: Rebuild.
10287
10288 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
10289
10290         * include/win32.h: Include ws2tcpip.h instead of
10291         winsock.h to obtain definition of the socklen_t type.
10292         Remove IP_TOS definition - not needed with ws2tcpip.h
10293         (_Jv_connect): Correct slight formatting error.
10294
10295 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
10296
10297         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
10298         size of the arguments for a JNI function. For Win32,
10299         modify to search for all forms of possible exported
10300         names of an stdcall JNI function.
10301         (_Jv_JNIMethod::call): Modify to calculate the size
10302         of the arguments passed to a JNI function and pass
10303         it to _Jv_LookupJNIMethod.
10304
10305 2003-02-12  Michael Koch  <konqueror@gmx.de>
10306
10307         * java/nio/channels/Channels.java: New file.
10308         * Makefile.am
10309         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
10310         * Makefile.in: Regenerated.
10311
10312 2003-02-12  Michael Koch  <konqueror@gmx.de>
10313
10314         * java/nio/ByteBuffer.java
10315         (allocate): Implemented.
10316         (wrap): Implemented.
10317         * java/nio/CharBuffer.java:
10318         Some documentation added and reworked.
10319         (endian): Removed.
10320         (allocate): Implemented.
10321         (wrap): Implemented.
10322         (array): Throw exceptions.
10323         (arrayOffset): Throw exceptions.
10324         (toString): Implemented.
10325         (length): Implemented.
10326         (put): Implemented.
10327         (charAt): Implemented.
10328
10329 2003-02-11  John Leuner  <jewel@debian.org>
10330
10331         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
10332         reads from end of file.
10333
10334 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
10335
10336         * java/io/natFileDescriptorWin32.cc 
10337         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
10338         returns with Win32 error code ERROR_BROKEN_PIPE.
10339
10340 2003-02-11  Michael Koch  <konqueror@gmx.de>
10341
10342         * Makefile.in
10343         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
10344
10345 2003-02-11  Michael Koch  <konqueror@gmx.de>
10346
10347         * gnu/java/nio/ByteBufferImpl.java:
10348         Reformated and removed some code.
10349         (backing_buffer): Removed.      
10350         (array_offset): Removed.
10351         (ro): Renamed to readOnly.
10352         (ByteBufferImpl): Use parent constructor, initialize readOnly.
10353         * gnu/java/nio/CharBufferImpl.java:
10354         Reformated and removed some code.
10355         (array_offset): Removed.
10356         (ro): Renamed to readOnly.
10357         (CharBufferImpl): Use parent constructor, initialize readOnly.
10358         (inc_pos): Removed.
10359         (order): New method.
10360         * gnu/java/nio/DoubleBufferImpl.java:
10361         Reformated and removed some code.
10362         (array_offset): Removed.
10363         (ro): Renamed to readOnly.
10364         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
10365         (inc_pos): Removed.
10366         (order): New method.
10367         * gnu/java/nio/FloatBufferImpl.java:
10368         Reformated and removed some code.
10369         (array_offset): Removed.
10370         (ro): Renamed to readOnly.
10371         (FloatBufferImpl): Use parent constructor, initialize readOnly.
10372         (inc_pos): Removed.
10373         (order): New method.
10374         * gnu/java/nio/IntBufferImpl.java:
10375         Reformated and removed some code.
10376         (array_offset): Removed.
10377         (ro): Renamed to readOnly.
10378         (IntBufferImpl): Use parent constructor, initialize readOnly.
10379         (inc_pos): Removed.
10380         (order): New method.
10381         * gnu/java/nio/LongBufferImpl.java:
10382         Reformated and removed some code.
10383         (array_offset): Removed.
10384         (ro): Renamed to readOnly.
10385         (LongBufferImpl): Use parent constructor, initialize readOnly.
10386         (inc_pos): Removed.
10387         (order): New method.
10388         * gnu/java/nio/ShortBufferImpl.java:
10389         Reformated and removed some code.
10390         (array_offset): Removed.
10391         (ro): Renamed to readOnly.
10392         (ShortBufferImpl): Use parent constructor, initialize readOnly.
10393         (inc_pos): Removed.
10394         (order): New method.
10395         * Makefile.am
10396         (ordinary_java_source_files): Added the following files:
10397         gnu/java/nio/ByteBufferImpl.java
10398         gnu/java/nio/CharBufferImpl.java
10399         gnu/java/nio/DoubleBufferImpl.java
10400         gnu/java/nio/FloatBufferImpl.java
10401         gnu/java/nio/IntBufferImpl.java
10402         gnu/java/nio/LongBufferImpl.java
10403         gnu/java/nio/ShortBufferImpl.java
10404         java/nio/DoubleBuffer.java
10405         java/nio/FloatBuffer.java
10406         java/nio/IntBuffer.java
10407         java/nio/LongBuffer.java
10408         java/nio/ShortBuffer.java
10409         (nat_source_files): Added the following files:
10410         gnu/java/nio/natByteBufferImpl.cc
10411         gnu/java/nio/natCharBufferImpl.cc
10412         gnu/java/nio/natDoubleBufferImpl.cc
10413         gnu/java/nio/natFloatBufferImpl.cc
10414         gnu/java/nio/natIntBufferImpl.cc
10415         gnu/java/nio/natLongBufferImpl.cc
10416         gnu/java/nio/natShortBufferImpl.cc
10417         * Makefile.in: Regenerated.
10418
10419 2003-02-11  Michael Koch  <konqueror@gmx.de>
10420
10421         * gnu/java/nio/natCharBufferImpl.cc
10422         (nio_cast): Removed.
10423         (nio_put_*): Removed.
10424         (nio_get_*): Removed.
10425         * gnu/java/nio/natDoubleBufferImpl.cc
10426         (nio_cast): Removed.
10427         (nio_put_*): Removed.
10428         (nio_get_*): Removed.
10429         * gnu/java/nio/natFloatBufferImpl.cc
10430         (nio_cast): Removed.
10431         (nio_put_*): Removed.
10432         (nio_get_*): Removed.
10433         * gnu/java/nio/natIntBufferImpl.cc
10434         (nio_cast): Removed.
10435         (nio_put_*): Removed.
10436         (nio_get_*): Removed.
10437         * gnu/java/nio/natLongBufferImpl.cc
10438         (nio_cast): Removed.
10439         (nio_put_*): Removed.
10440         (nio_get_*): Removed.
10441         * gnu/java/nio/natShortBufferImpl.cc
10442         (nio_cast): Removed.
10443         (nio_put_*): Removed.
10444         (nio_get_*): Removed.
10445         * gnu/java/nio/SelectorProviderImpl.java
10446         (openDatagramChannel): Throws IOException.
10447         (openPipe): Throws IOException.
10448         (openSelector): Throws IOException.
10449         (openServerSocketChannel): Throws IOException.
10450         (openSocketChannel): Throws IOException.
10451         * gnu/java/nio/ServerSocketChannelImpl.java
10452         (ServerSocketChannelImpl): Throws IOException.
10453         (implCloseSelectableChannel): Throws IOException.
10454         (implConfigureBlocking): Throws IOException.
10455         * java/nio/ByteBuffer.java
10456         (readOnly): Removed.
10457         (hasArray): Use isReadOnly() instead of readOnly.
10458         (array): Use isReadOnly() instead of readOnly.
10459         (arrayOffset): Use isReadOnly() instead of readOnly.
10460         * java/nio/CharBuffer.java
10461         (CharBuffer): Implements Cloneable and CharSequence.
10462
10463 2003-02-11  Michael Koch  <konqueror@gmx.de>
10464
10465         * java/nio/DoubleBuffer.java
10466         (DoubleBuffer): Implements Comparable.
10467         (endian): Removed.
10468         (array_offset): New member variable.
10469         (DoubleBuffer): New constuctor.
10470         (get): May not be final.
10471         (put): May not be final.
10472         (arrayOffset): Implemented.
10473         (order): Made abstract.
10474         (order): Removed.
10475         (as*Buffer): Removed.
10476         (get*): Removed.
10477         (put*): Removed.
10478         * java/nio/FloatBuffer.java
10479         (FloatBuffer): Implements Comparable.
10480         (endian): Removed.
10481         (array_offset): New member variable.
10482         (FloatBuffer): New constuctor.
10483         (get): May not be final.
10484         (put): May not be final.
10485         (arrayOffset): Implemented.
10486         (order): Made abstract.
10487         (order): Removed.
10488         (as*Buffer): Removed.
10489         (get*): Removed.
10490         (put*): Removed.
10491         * java/nio/IntBuffer.java
10492         (IntBuffer): Implements Comparable.
10493         (endian): Removed.
10494         (array_offset): New member variable.
10495         (IntBuffer): New constuctor.
10496         (get): May not be final.
10497         (put): May not be final.
10498         (arrayOffset): Implemented.
10499         (order): Made abstract.
10500         (order): Removed.
10501         (as*Buffer): Removed.
10502         (get*): Removed.
10503         (put*): Removed.
10504         * java/nio/LongBuffer.java
10505         (LongBuffer): Implements Comparable.
10506         (endian): Removed.
10507         (array_offset): New member variable.
10508         (LongBuffer): New constuctor.
10509         (get): May not be final.
10510         (put): May not be final.
10511         (arrayOffset): Implemented.
10512         (order): Made abstract.
10513         (order): Removed.
10514         (as*Buffer): Removed.
10515         (get*): Removed.
10516         (put*): Removed.
10517         * java/nio/ShortBuffer.java
10518         (ShortBuffer): Implements Comparable.
10519         (endian): Removed.
10520         (array_offset): New member variable.
10521         (ShortBuffer): New constuctor.
10522         (get): May not be final.
10523         (put): May not be final.
10524         (arrayOffset): Implemented.
10525         (order): Made abstract.
10526         (order): Removed.
10527         (as*Buffer): Removed.
10528         (get*): Removed.
10529         (put*): Removed.
10530
10531 2003-02-11   Michael Koch  <konqueror@gmx.de>
10532
10533         * java/nio/channels/SelectionKey.java
10534         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
10535         values.
10536
10537 2003-02-11  Michael Koch  <konqueror@gmx.de>
10538
10539         * java/nio/channels/DatagramChannel.java
10540         (write): Throws IOException.
10541         (connect): Throws IOException.
10542         (disconnect): Throws IOException.
10543         (read): Throws IOException.
10544         (receive): Throws IOException.
10545         (send): Throws IOException.
10546         * java/nio/channels/Pipe.java
10547         (open): Throws IOException.
10548         * java/nio/channels/SelectableChannel.java
10549         (configureBlocking): Throws IOException.
10550         * java/nio/channels/ServerSocketChannel.java
10551         (accept): Throws IOException.
10552         * java/nio/channels/SocketChannel.java
10553         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
10554         GatheringByteChannel.
10555         (read): Throws IOException.
10556         (write): Throws IOException.
10557         (finishConnect): Throws IOException.
10558         * java/nio/channels/spi/AbstractInterruptibleChannel.java
10559         (end): Throws AsynchronousCloseException.
10560         * java/nio/channels/spi/AbstractSelectableChannel.java
10561         (configureBlocking): Throws IOException.
10562         (implCloseChannel): Throws IOException.
10563         (implCloseSelectableChannel): Throws IOException.
10564         (implConfigureBlocking): Throws IOException.
10565         * java/nio/channels/spi/SelectorProvider.java
10566         (openDatagramChannel): Throws IOException.
10567         (openPipe): Throws IOException.
10568         (openSelector): Throws IOException.
10569         (openServerSocketChannel): Throws IOException.
10570         (openSocketChannel): Throws IOException.
10571
10572 2003-02-11  Michael Koch  <konqueror@gmx.de>
10573
10574         * gnu/java/nio/FileLockImpl.java,
10575         java/nio/channels/FileLock.java: New files.
10576
10577 2003-02-11  Michael Koch  <konqueror@gmx.de>
10578
10579         * java/nio/charset/IllegalCharsetNameException.java
10580         (serialVersionUID): New member variable.
10581         (charsetName): New member variable.
10582         (IllegalCharsetException): New implementation.
10583         (getCharsetName): New implementation.
10584         * java/nio/charset/UnsupportedCharsetException.java
10585         (serialVersionUID): New member variable.
10586         (charsetName): New member variable.
10587         (UnsupportedCharsetException): New implementation.
10588         (getCharsetName): New implementation.
10589
10590 2003-02-10  Tom Tromey  <tromey@redhat.com>
10591
10592         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
10593         (ex): Renamed from sqlException.
10594
10595 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
10596
10597         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
10598         method used to ensure seeding has occurred and that a specific 
10599         seed can be set and used.
10600
10601 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
10602
10603         * java/lang/Win32Process.java (destroy): Declare as native.
10604         (hasExited): New native method.
10605         (exitValue): Define.
10606         (getErrorStream): Likewise.
10607         (getInputStream): Likewise.
10608         (getOutputStream): Likewise.
10609         (waitFor): Declare as native.
10610         (startProcess): New native method.
10611         (cleanup): Likewise.
10612         (ConcreteProcess): Define.
10613         (outputStream, inputStream, errorStream): New members.
10614         (procHandle, exitCode): Likewise.
10615
10616         * java/lang/natWin32Process.cc
10617         (java::lang::ConcreteProcess::cleanup): Define.
10618         (java::lang::ConcreteProcess::destroy): Likewise.
10619         (java::lang::ConcreteProcess::hasExited): Likewise.
10620         (java::lang::ConcreteProcess::waitFor): Likewise.
10621         (new_string): Likewise.
10622         (java::lang::ConcreteProcess::startProcess): Likewise.
10623
10624 2003-02-10  Raif S. Naffah <raif@fl.net.au>
10625
10626         * java/math/BigInteger.java:
10627         Updated notice to include years 2002 and 3.
10628         Added 2 private (int) arrays with values from the HAC (Handbook of
10629         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
10630         and t[] that contains nbr. of tests --used in isProbablePrime().
10631
10632         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
10633
10634         * java/math/BigInteger.java (make(int[],int), add(int,int),
10635         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
10636         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
10637         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
10638         make(long).
10639
10640         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
10641         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
10642         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
10643         BIs and returns void.
10644         (modInverse(BI)): Use new signatures of euclidInv().
10645
10646         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
10647         static small primes instead of remainder().
10648         Use pre-computed max nbr of trials based on bitlength of BI to test.
10649         Use pre-computed small primes for the trial tests instead of random
10650         numbers.
10651
10652         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
10653         not used.
10654
10655         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
10656         invoacation of MPN.chars_per_word().  not used.
10657
10658         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
10659         local var and used where needed.
10660
10661         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
10662         Combined declaration with initialisation of locals.
10663         Removed unused var.
10664
10665         * java/math/BigInteger.java: Style changes
10666         (pow(int)): Removed 'else' keyword.
10667         (toString(int)): idem.
10668         (doubleValue()): idem.
10669         (bitLength()): idem.
10670         (equals(Object)): Use static methods name in same class w/o prepending
10671         class name.
10672         (doubleValue()): idem.
10673         (setNegative(BI)): idem.
10674         (negate()): idem.
10675         (and(BI,int)): idem.
10676         (and(BI)): idem.
10677         (gcd(BI)): idem.
10678         (byteArrayToIntArray()): Removed casting to (int). this is
10679         std. behaviour.
10680         (canonicalize()): idem.
10681         (alloc(int)): Always instantiate a new BI.
10682
10683 2003-02-10  Tom Tromey  <tromey@redhat.com>
10684
10685         * java/sql/Timestamp.java (compareTo(Object)): New method.
10686         (compareTo(Timestamp)): Likewise.
10687         (serialVersionUID): Updated.
10688
10689 2003-02-07  Mark Wielaard  <mark@klomp.org>
10690
10691         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
10692         when verify is true.
10693         (JarFile(File, boolean)): Likewise.
10694         (manifestRead): Set manifestRead field correctly.
10695
10696 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10697
10698         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
10699         tests; see patch #1016 on Savannah.
10700
10701 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10702
10703         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
10704         (toString): do not return Strings starting with . and - erroneously.
10705         Improves Mauve results to 12 of 600 instead of 16 of 338 on
10706         DiagBigDecimal.
10707
10708 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10709
10710         * java/beans/PropertyDescriptor.java
10711         (PropertyDescriptor(String, Class)): Sanity check getter and setter
10712         methods.
10713         (PropertyDescriptor(String, Class, String, String)): Likewise.
10714         (PropertyDescriptor(String, Method, Method): Factor out getter and
10715         setter method sanity checks into new method.
10716         (findMethods): Don't do parameter sanity checking of get method here.
10717         (checkMethods): New method.
10718
10719 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10720
10721         * java/beans/PropertyDescriptor.java: Reformat.
10722
10723 2003-02-04  Tom Tromey  <tromey@redhat.com>
10724
10725         * java/io/PipedOutputStream.java (flush): Declare as throwing
10726         IOException.
10727         (close): Likewise.
10728         * java/io/PipedWriter.java (close): Declare as throwing
10729         IOException.
10730         * java/io/StringWriter.java (close): Declare as throwing
10731         IOException.
10732
10733 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10734
10735         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
10736         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
10737         could also have been exported as "JNI_OnLoad@8" (MinGW) or
10738         "_JNI_OnLoad@8" (MSVC).
10739
10740 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10741
10742         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
10743         convention on Win32 to invoke native JNI methods.
10744
10745 2003-02-03  Andrew Haley  <aph@redhat.com>
10746
10747         * configure.host (x86_64): Enable interpreter.
10748
10749 2003-02-03  Andrew Haley  <aph@redhat.com>
10750
10751         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
10752         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
10753         * configure.in (BACKTRACESPEC): New.
10754         * configure: Regenerate.
10755
10756 2003-02-02  Tom Tromey  <tromey@redhat.com>
10757
10758         * configure: Rebuilt.
10759         * configure.in (TOOLKIT) [xlib]: Set correctly.
10760
10761         * Makefile.in: Rebuilt.
10762         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
10763         libstdc++.
10764
10765 2003-01-31  Mark WIelaard  <mark@klomp.org>
10766
10767         * Makefile.in: Rebuilt.
10768         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
10769
10770 2003-01-31  Tom Tromey  <tromey@redhat.com>
10771
10772         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
10773         cast to element type.
10774         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
10775         (_Jv_JNI_GetObjectArrayElement): Likewise.
10776
10777         * Makefile.in: Rebuilt.
10778         * Makefile.am (cond_x_ltlibrary): Renamed library to
10779         lib-gnu-awt-xlib.la.
10780         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
10781         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
10782         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
10783         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
10784         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
10785         (lib_gnu_awt_xlib_la_LINK): Likewise.
10786         (install-exec-hook): Removed.
10787         (lib-gnu-awt-xlib.la): Renamed.
10788
10789 2003-01-31  Tom Tromey  <tromey@redhat.com>
10790
10791         * aclocal.m4, configure, include/config.h.in: Rebuilt.
10792         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
10793         aclocal.m4 and lost in some merge.
10794
10795         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
10796         Don't try to find graphics configuration.
10797         * java/awt/Toolkit.java (default_toolkit_name): Use new
10798         Configuration entry.
10799         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
10800         New global.
10801         * configure: Rebuilt.
10802         * configure.in (TOOLKIT): New subst.
10803         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
10804         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
10805         directory.  Make output directories for .c files.
10806         * Makefile.in: Rebuilt.
10807         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
10808         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
10809         (all_java_source_files): Added new sources.
10810         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
10811         (gtk_c_files): New macro.
10812         (gtk_c_source_files): New macro.
10813         (cond_gtk_ltlibrary): New macro.
10814         ($(gtk_c_files)): New target.
10815         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
10816         (gtk_awt_peer_sources): New macro.
10817         (gtk_c_headers): New macro.
10818         ($(gtk_c_headers)): New target.
10819         (ACLOCAL_AMFLAGS): New macro.
10820         * gtk.m4, glib.m4, libart.m4: New files.
10821         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
10822         gnu/java/awt/peer/gtk/GdkGraphics.java,
10823         gnu/java/awt/peer/gtk/GtkArg.java,
10824         gnu/java/awt/peer/gtk/GtkArgList.java,
10825         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10826         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
10827         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
10828         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
10829         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
10830         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10831         gnu/java/awt/peer/gtk/GtkClipboard.java,
10832         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10833         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10834         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
10835         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
10836         gnu/java/awt/peer/gtk/GtkFontPeer.java,
10837         gnu/java/awt/peer/gtk/GtkFramePeer.java,
10838         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
10839         gnu/java/awt/peer/gtk/GtkImage.java,
10840         gnu/java/awt/peer/gtk/GtkImagePainter.java,
10841         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
10842         gnu/java/awt/peer/gtk/GtkListPeer.java,
10843         gnu/java/awt/peer/gtk/GtkMainThread.java,
10844         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
10845         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
10846         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
10847         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
10848         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
10849         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
10850         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10851         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
10852         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
10853         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10854         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10855         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10856         gnu/java/awt/peer/gtk/GtkToolkit.java,
10857         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10858         gnu/java/awt/peer/gtk/TestAWT.java,
10859         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
10860         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
10861         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
10862         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10863         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
10864         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
10865         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
10866         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
10867         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
10868         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
10869         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
10870         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
10871         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
10872         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
10873         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
10874         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
10875         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
10876         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
10877         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
10878         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
10879         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
10880         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
10881         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
10882         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10883         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
10884         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
10885         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
10886         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
10887         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
10888         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
10889         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
10890         jni/classpath/native_state.c, jni/classpath/native_state.h,
10891         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
10892
10893 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
10894
10895         * java/util/Properties.java (load): Ignore backslash before EOF.
10896
10897 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
10898
10899         * java/lang/natClass.cc (initializeClass): Check tables when
10900         (state == JV_STATE_IN_PROGRESS).
10901         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
10902         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
10903         interpreted classes.
10904         (linkClass0): Use _Jv_WaitForState.
10905
10906 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
10907
10908         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
10909         object when finished.
10910
10911 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
10912
10913         * libjava/configure.host: Disable can_unwind_signal on darwin.
10914
10915 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
10916
10917         Fixes PR java/9254:
10918         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
10919         additionally containing id of the owner thread as well as
10920         the number of nested times the thread has acquired the mutex.
10921         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
10922         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
10923         (_Jv_MutexUnlock): Check if really the owner thread, reset
10924         owner thread id to 0 before leaving, if leaving for the last
10925         time.
10926         (_Jv_MutexLock): Set owner thread id in the mutex and increment
10927         refcount.
10928         (_Jv_ThreadYield): Yield using a call to Sleep(0).
10929         * win32-threads.cc (_Jv_CondWait): Check if really owner of
10930         the passed mutex.
10931         Pass handle of the broadcast event, instead of a pointer to it
10932         in Win32 ResetEvent( ) call.
10933         Remove incorrect return values.
10934         (_Jv_CondDestroy): Close both event handles and delete
10935         critical section.
10936         (_Jv_CondNotify): Check if really the owner thread.
10937         (_Jv_CondNotifyAll): Check if really the owner thread.
10938         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
10939         (really_start): Use SetEvent( ) to signal daemon_cond.
10940         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
10941         WaitForSingleObject( ) instead to wait for daemon_cond to be
10942         signalled.
10943
10944 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
10945
10946         * configure.in: Specifically define HAVE_BACKTRACE if building
10947         for MinGW.
10948         * include/win32.h: Remove HAVE_BACKTRACE definition.
10949         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
10950         * configure: Rebuilt.
10951
10952 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
10953
10954         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
10955         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
10956         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
10957         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
10958         * Makefile.in, configure: Rebuilt.
10959
10960 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
10961
10962         Fixes PR java/9253:
10963         * java/io/natFileWin32.cc (performList): Append only "*.*"
10964         if the canonical file path already has a "\" at the end.
10965
10966 2003-01-24  Tom Tromey  <tromey@redhat.com>
10967
10968         * defineclass.cc (handleMethodsEnd): Precompute code for static
10969         method.
10970         (handleCodeAttribute): Likewise.
10971         * resolve.cc (ncode): Use run_class for unsynchronized static
10972         methods.
10973         * include/java-interp.h (class _Jv_InterpMethod): Declare
10974         run_class.
10975         * interpret.cc (run_synch_class): Initialize class.
10976         (run) [insn_invokestatic]: Don't initialize class.
10977         [insn_anewarray]: Likewise.
10978         [insn_multianewarray]: Likewise.
10979         (run_class): New function.
10980
10981 2003-01-24  Tom Tromey  <tromey@redhat.com>
10982
10983         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
10984         comment.
10985
10986 2003-01-22  Andrew Haley  <aph@redhat.com>
10987
10988         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
10989         * configure.host (CHECKREFSPEC): Define for x86_64.
10990
10991 2003-01-21  Tom Tromey  <tromey@redhat.com>
10992
10993         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
10994         search at 2, not 3.
10995
10996 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
10997
10998         * java/io/natFileWin32.cc (isAbsolute): Check path length before
10999         looking at any characters.
11000         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
11001         be used.
11002         (isAbsolute): Check path's length as well.
11003
11004 2003-01-17  Mark Wielaard  <mark@klomp.org>
11005
11006         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
11007         (nat_source_files): Add natVMObjectStreamClass.cc.
11008         * Makefile.in: Regenerated.
11009         * gcj/javaprims.h (namespace java): Regenerated.
11010         * java/io/ObjectStreamClass.java (getClassUID): Call
11011         VMObjectStreamClass.hasClassInitializer().
11012         (hasClassInitializer): Removed.
11013         * java/io/VMObjectStreamClass.java: New class.
11014         * java/io/natVMObjectStreamClass.cc: New file.
11015         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
11016
11017 2003-01-16  Mark Wielaard  <mark@klomp.org>
11018
11019         * java/net/SocketImpl.java (toString): Don't explicitly call
11020         toString() on possible null address.
11021
11022 2003-01-16  Michael Koch  <konqueror@gmx.de>
11023
11024         * java/net/MulticastSocket.java
11025         (setInterface): Reindented.
11026
11027 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11028
11029         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
11030         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
11031         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
11032         translateY arguments.  Implement.
11033         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
11034         down translation arguments.
11035         (drawPolyline, drawPolygon): Fix incorrect tests.
11036         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
11037         translateX and translateY arguments.
11038
11039 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11040
11041         * Makefile.in: Rebuilt.
11042         * Makefile.am (xlib_includes): New macro.
11043         (INCLUDES): Use it.
11044
11045 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11046
11047         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
11048         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
11049         16-bit display mode.
11050
11051 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11052
11053         * java/awt/CardLayout.java (show): Rewrote.
11054         (gotoComponent): Removed `target' argument.  Simplified code.
11055         Don't pre-compute `choice' unless `what' is FIRST or LAST.
11056         Changed all callers.
11057         (NONE): Removed.
11058         
11059 2003-01-14  Michael Koch  <konqueror@gmx.de>
11060
11061         * java/net/InetSocketAddress.java
11062         (serialVersionUID): New member variable.
11063         * java/net/NetPermission.java
11064         (NetPermission): Dont implement java.io.Serialization directly.
11065         * java/net/SocketAddress.java:
11066         (serialVersionUID): Documentation added.
11067         
11068 2003-01-14  Michael Koch  <konqueror@gmx.de>
11069
11070         * java/awt/Label.java
11071         (Label): Implements javax.accessibility.Accessible;
11072         * java/awt/List.java
11073         (List): Implements javax.accessibility.Accessible;
11074         * java/awt/ScrollPane.java
11075         (ScrollPane): Implements javax.accessibility.Accessible;
11076         * java/awt/Scrollbar.java
11077         (Scrollbar): Implements javax.accessibility.Accessible;
11078         * java/awt/TextComponent.java
11079         (setCaretPosition): Throw exception, documentation added.
11080         * java/awt/Toolkit.java:
11081         Added some newlines in method documentations.
11082         (createButton): Exception documentation added.
11083         (createTextField): Exception documentation added.
11084         (createLabel): Exception documentation added.
11085         (createList): Exception documentation added.
11086         (createCheckbox): Exception documentation added.
11087         (createScrollbar): Exception documentation added.
11088         (createScrollPane): Exception documentation added.
11089         (createTextArea): Exception documentation added.
11090         (createChoice): Exception documentation added.
11091         (createFrame): Exception documentation added.
11092         (createWindow): Exception documentation added.
11093         (createDialog): Exception documentation added.
11094         (createMenuBar): Exception documentation added.
11095         (createMenu): Exception documentation added.
11096         (createMenuItem): Exception documentation added.
11097         (createFileDialog): Exception documentation added.
11098         (createCheckboxMenuItem): Exception documentation added.
11099         (loadSystemColors): Exception documentation added.
11100         (setDynamicLayout): Exception documentation added.
11101         (isDynamicLayoutSet): Exception documentation added.
11102         (isDynamicLayoutActive): Exception documentation added.
11103         (getScreenSize): Exception documentation added.
11104         (getScreenResolution): Exception documentation added.
11105         (getScreenInsets): Exception documentation added.
11106         (getColorModel): Exception documentation added.
11107         (getSystemClipboard): Exception documentation added.
11108         (getSystemSelection): Exception documentation added.
11109         (getMenuShortcutKeyMask): Exception documentation added.
11110         (getSystemEventQueue): Exception documentation added.
11111         * java/awt/Window.java:
11112         Reindented some code.
11113         (Window): Centralized implementation, documentation added.
11114         (finalize): Documentation added.
11115         (hide): Fixed typo in comment.
11116         (getWindowListeners): Documentation added.
11117         * java/awt/color/ColorSpace.java
11118         (toRGB): Documentation added.
11119         * java/awt/color/ICC_ColorSpace.java
11120         (ICC_ColorSpace): Documentation added.
11121         (toRGB): Throw exception, documentation added.
11122         (fromRGB): Throw exception, documentation added.
11123         (toCIEXYZ): Documentation added.
11124         (fromCIEXYZ): Documentation added.
11125         (getMinValue): Documentation added.
11126         (getMaxValue): Documentation added.
11127         * java/awt/geom/Dimension2D.java
11128         (clone): Documentation added.
11129         * java/awt/geom/GeneralPath.java
11130         (clone): Documentation added.
11131         * java/awt/geom/Line2D.java
11132         (clone): Documentation added.
11133         * java/awt/geom/QuadCurve2D.java
11134         (clone): Documentation added.
11135         * java/awt/image/ColorModel.java
11136         (ColorModel): Throw exception, documentation added.
11137         * java/awt/image/ImageFilter.java
11138         (clone): Doesnt throw CloneNotSupportedException.
11139
11140 2003-01-14  Andrew Haley  <aph@redhat.com>
11141
11142         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
11143         in a try block.
11144
11145 2003-01-10  Andrew Haley  <aph@redhat.com>
11146
11147         * include/dwarf2-signal.h: Remove x86_64.
11148         * configure.host (x86_64 DIVIDESPEC): Remove.
11149         * include/x86_64-signal.h: New file.
11150         * configure.in: Regenerate.
11151
11152 2003-01-10  Michael Koch  <konqueror@gmx.de>
11153
11154         * java/net/DatagramSocket.java
11155         (ch): Description added.
11156         (remotePort): Initialize with -1.
11157         (connect): Doesnt throws SocketException.
11158         * java/net/MulticastSocket.java
11159         (setInterface): Merge with Classpath.
11160         * java/net/ServerSocket.java
11161         (closed): New member variable.
11162         (bind): Check if socket is closed.
11163         (close): Close an associated channel too, set new value to closed.
11164         (isBound): Reindented.
11165         (isClosed): Implemented.
11166         * java/net/Socket.java
11167         (closed): New member variable.
11168         (bind): Check if socket is closed.
11169         (connect): Check if socket is closed.
11170         (close): Close an associated channel too, set new value to closed.
11171         (isClosed): Implemented.
11172
11173 2003-01-10  Michael Koch  <konqueror@gmx.de>
11174
11175         * java/awt/DisplayMode.java
11176         (equals): Fixed argument type and implementation.
11177
11178 2003-01-07  Tom Tromey  <tromey@redhat.com>
11179
11180         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
11181         JV_HASH_SYNCHRONIZATION.
11182         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
11183         JV_HASH_SYNCHRONIZATION.
11184
11185 2003-01-07  Michael Koch  <konqueror@gmx.de>
11186  
11187         * java/net/DatagramSocket.java:
11188         Added classpath license info.
11189         (DatagramSocket): Merged description with classpath.
11190         (close): Merged description with classpath.
11191         (getChannel): Merged description with classpath.
11192         (getInetAddress): Merged description with classpath.
11193         (getPort): Merged description with classpath.
11194         (getLocalAddress): Merged description with classpath.
11195         (getLocalPort): Merged description with classpath.
11196         (getSoTimeout): Merged description with classpath.
11197         (setSoTimeout): Merged description with classpath.
11198         (getSendBufferSize): Merged description with classpath.
11199         (setSendBufferSize): Merged description with classpath.
11200         (getReceiveBufferSize): Merged description with classpath.
11201         (setReceiveBufferSize): Merged description with classpath.
11202         
11203 2003-01-04  Tom Tromey  <tromey@redhat.com>
11204
11205         * java/awt/List.java: Merged with Classpath.
11206
11207 2003-01-03  Mark Wielaard  <mark@klomp.org>
11208
11209         * java/io/FileDescriptor.java (position): New private field.
11210         * java/io/natFileDescriptorPosix.cc (write): Up position.
11211         (setLength): Use and set position.
11212         (seek): Set position.
11213         (getFilePointer): Return position.
11214         (read): Up position.
11215
11216 2003-01-03  Mark Wielaard  <mark@klomp.org>
11217
11218         Merge with Classpath:
11219         * java/io/ObjectStreamClass.java (lookup): Split method and call
11220         lookupForClassObject().
11221         (lookupForClassObject): New method.
11222         (isProxyClass): New field.
11223         (setClass): Set isProxyClass, add object to classLookupTable, set
11224         superClass and calculateOffsets.
11225         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
11226         and not a proxy class.
11227         (setFields): Set accessible true for serialPersistentFields.
11228         (getClassUID): Same for suid. And check if suid is of type long.
11229         (hasClassInitializer): Don't throw NoSuchMethodError.
11230
11231 2003-01-03  Mark Wielaard  <mark@klomp.org>
11232
11233         * java/io/FileInputStream.java (finalize): Don't explicitly
11234         finalize FileDescriptor.
11235
11236 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
11237
11238         * configure.host (sparc*-*): Enable bytecode interpreter.
11239
11240 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
11241
11242         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
11243         Don't throw RemoteException.
11244         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
11245         throw RemoteException.
11246
11247 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
11248
11249         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
11250         proxyHost): New static fields.
11251         (<clinit>): Initialize new fields.
11252         (connect): Use proxy if necessary.
11253         (usingProxy): Implement.
11254
11255 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
11256
11257         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
11258         (TreeIterator.remove): Prefer IllegalStateException over
11259         ConcurrentModificationException, to match Sun.
11260
11261 2002-12-22  Anthony Green  <green@redhat.com>
11262
11263         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
11264
11265 2003-01-02  Mark Wielaard  <mark@klomp.org>
11266
11267         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
11268         public.
11269         (HTTP_USE_PROXY): Add field.
11270         (getResponseVals): Only set responseCode when not yet explicitly
11271         set by subclass.
11272
11273 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
11274             Mark Wielaard  <mark@klomp.org>
11275
11276         * java/util/zip/ZipFile.java (entries): Now HashMap.
11277         (readLeShort(DataInput, byte[])): Read from given byte array.
11278         (readLeInt(DataInput, byte[]): Likewise.
11279         (readLeShort(byte[] b, int off)): New method.
11280         (readLeInt(byte[] b, int off)): Likewise.
11281         (readEntries): Use byte arrays to read info in bigger chunks.
11282         (getEntries): Return HashMap.
11283         (getEntry): Use HashMap.
11284         (locBuf): New private field.
11285         (checkLocalHeader): Use locBuf to read info in one chunk.
11286         (getInputStream): Use entries HashMap, wrap PartialInputStream
11287         in BufferedInputStream.
11288         (ZipEntryEnumeration): Use HashMap and Interator.
11289
11290 2003-01-02  Mark Wielaard  <mark@klomp.org>
11291             Jeroen Frijters  <jeroen@sumatra.nl>
11292
11293         * java/net/URLClassLoader.java (Resource.getCodeSource):
11294         Fix check certs == null.
11295         (getCanonicalFileURL): Removed method.
11296         (JarURLLoader): Don't call removed method.
11297         (FileURLLoader): Likewise.
11298         (FileURLLoader.getResource): Don't canonicalize file name.
11299
11300 2003-01-01  Tom Tromey  <tromey@redhat.com>
11301
11302         * Makefile.in: Rebuilt.
11303         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
11304         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
11305         java/awt/BufferCapabilities.java, java/awt/Button.java,
11306         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
11307         java/awt/Container.java, java/awt/Cursor.java,
11308         java/awt/EventQueue.java, java/awt/FileDialog.java,
11309         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
11310         java/awt/MenuBar.java, java/awt/MenuComponent.java,
11311         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
11312         java/awt/Scrollbar.java, java/awt/TextArea.java,
11313         java/awt/TextField.java, java/awt/color/CMMException.java,
11314         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
11315         java/awt/color/ProfileDataException.java,
11316         java/awt/datatransfer/Clipboard.java,
11317         java/awt/datatransfer/DataFlavor.java,
11318         java/awt/datatransfer/FlavorMap.java,
11319         java/awt/datatransfer/SystemFlavorMap.java,
11320         java/awt/dnd/DragGestureEvent.java,
11321         java/awt/dnd/DragGestureRecognizer.java,
11322         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
11323         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
11324         java/awt/im/InputMethodHighlight.java,
11325         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
11326         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
11327
11328         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
11329         `op' to BufferedImageOp.
11330
11331 2002-12-31  Tom Tromey  <tromey@redhat.com>
11332
11333         Fix for PR libgcj/7416:
11334         * javax/naming/InitialContext.java (init): Use
11335         gnu.classpath.home.url.
11336         * java/security/Security.java: Use new properties.
11337         (loadProviders): Accept base url; use it.
11338         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
11339         gnu.classpath.home.url.
11340         (gnu.classpath.home.url): Define.
11341         (gnu.classpath.vm.shortname): Likewise.
11342
11343 2002-12-31  Tom Tromey  <tromey@redhat.com>
11344             Ranjit Mathew  <rmathew@hotmail.com>
11345
11346         Fix for PR libgcj/8997:
11347         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
11348         Include platform.h.
11349         * include/posix.h (_Jv_platform_usleep): New function.
11350         * include/win32.h (_Jv_platform_usleep): New function.
11351
11352 2002-12-29  Tom Tromey  <tromey@redhat.com>
11353
11354         * gcj/javaprims.h: Updated.
11355         * scripts/classes.pl (scan): Removed stray semicolon.
11356
11357 2002-12-30  Mark Wielaard  <mark@klomp.org>
11358
11359         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
11360         if zero or smaller.
11361
11362 2002-12-30  Mark Wielaard  <mark@klomp.org>
11363
11364         * java/util/Properties (formatForOutput): Don't fall through to
11365         default case after escaping character.
11366
11367 2002-12-30  Mark Wielaard  <mark@klomp.org>
11368
11369         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
11370         against count.
11371
11372 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
11373
11374         * boehm.cc: Remove stray semicolon.
11375         * interpret.cc: Likewise.
11376         * prims.cc: Likewise.
11377         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
11378         earlier to ensure default arguments are processed.
11379         * gcj/array.h (JArray): Add forward declaration.
11380         (elements): Likewise.
11381         * gcj/javaprim.h: Remove stray semicolons.
11382         * include/bohm-gc.h: Likewise.
11383         * include/jni.h: Likewise.
11384         * include/jvm.h: Likewise.
11385         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
11386         
11387 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
11388
11389         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
11390         of catch_type.
11391         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
11392         idt tables after initializing superclass.
11393         * java/lang/natClassLoader.cc (uaddr): New typedef.
11394         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
11395         if they are constant pool indicies.  Don't link vtable, otable yet.
11396
11397 2002-12-21  Anthony Green  <green@redhat.com>
11398
11399         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
11400         libraries.
11401         * Makefile.in: Rebuilt.
11402
11403 2002-12-19  Anthony Green  <green@redhat.com>
11404
11405         * Makefile.am (ordinary_java_source_files): Add
11406         org/xml/sax/helpers/NewInstance.java.
11407         * Makefile.in: Rebuilt.
11408         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
11409         org/xml/sax/helpers/package.html: New files.
11410         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
11411         http://www.saxproject.org.
11412
11413 2002-12-19  Andrew Haley  <aph@redhat.com>
11414
11415         * java/util/natResourceBundle.cc: Include
11416         ArrayIndexOutOfBoundsException.h.
11417         (getCallingClassLoader): Don't put upper bound on stack search.
11418         Catch ArrayIndexOutOfBoundsException.
11419
11420 2002-12-19  Tom Tromey  <tromey@redhat.com>
11421
11422         * libtool-version: Increased `current'.
11423
11424 2002-12-19  Tom Tromey  <tromey@redhat.com>
11425
11426         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
11427         comment.
11428         * java/lang/ClassLoader.java (defineClass): Use chained
11429         exception when rethrowing.
11430         * defineclass.cc (handleClassBegin): Mark class as interpreted.
11431         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
11432         constants.
11433         * resolve.cc (_Jv_PrepareMissingMethods): New function.
11434         (_Jv_PrepareClass): Use it.
11435         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
11436         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
11437         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
11438         (Class): _Jv_PrepareMissingMethods now friend.
11439         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
11440         Record `NULL' for system class loader.
11441         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
11442         system class loader.
11443         (_Jv_FindClassInCache): Likewise.
11444         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
11445         (_Jv_FindClass): Special case system class loader.
11446         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
11447         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
11448         vtable slots.
11449         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
11450         in a final class.
11451         (_getDeclaredMethod): Don't return synthetic methods.
11452         (getDeclaredMethods): Likewise.
11453         (_getMethod): Likewise.
11454         (_getMethods): Likewise.
11455
11456 2002-12-18  Raif Naffah  <raif@fl.net.au>
11457
11458         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
11459         canonical form after divide().
11460         (modInverse): Likewise.
11461
11462 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
11463             Mark Wielaard  <mark@klomp.org>
11464
11465         * java/security/SecurityRandom (digest): Removed field.
11466         (SecureRandom): Check all providers for case-insensitive SecureRandom
11467         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
11468         if necessary.
11469         (getInstance(String,Provider,boolean): New method.
11470         (getInstance(String)): Use new method.
11471         (getInstance(String,String)): Likewise.
11472         (getInstance(String,Provider)): Likewise.
11473
11474 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
11475
11476         * java/security/Security.java (loadProviders): Increment i only once.
11477
11478 2002-12-12  Mark Wielaard  <mark@klomp.org>
11479
11480         * java/lang/ClassLoader.java (resolveClass0): Transform
11481         ClassNotFoundException to NoClassDefFoundError. Transform all other
11482         throwables to LinkageError.
11483
11484 2002-12-11  Tom Tromey  <tromey@redhat.com>
11485
11486         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
11487
11488         * java/lang/ClassLoader.java (loadedClasses): New field.
11489         (defineClass): Fixed indentation.  Put new class in
11490         loadedClasses.
11491         (findLoadedClass): Implement here.
11492         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
11493
11494 2002-12-10  Tom Tromey  <tromey@redhat.com>
11495
11496         * Makefile.in: Rebuilt.
11497         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11498         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
11499         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
11500         * java/lang/natClassLoader.cc
11501         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
11502
11503 2002-12-10  Mark Wielaard  <mark@klomp.org>
11504             Tom Tromey  <tromey@redhat.com>
11505
11506         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
11507         (JarURLLoader): Use it.
11508         (FileURLLoader): Likewise.
11509         (JarURLResource.getURL): Use chained exception.
11510         (FileResource.getURL): Likewise.
11511         (FileURLLoader.getResource): Use canonical file name.
11512         (addURL): Indentation fix.
11513
11514 2002-12-10  Tom Tromey  <tromey@redhat.com>
11515
11516         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
11517         From Laurent Bardet <l.bardet@magic.fr>.
11518
11519 2002-12-09  Tom Tromey  <tromey@redhat.com>
11520
11521         * include/win32.h (_Jv_platform_solib_prefix): New define.
11522         (_Jv_platform_solib_suffix): Likewise.
11523         * include/posix.h (_Jv_platform_solib_prefix): New define.
11524         (_Jv_platform_solib_suffix): Likewise.
11525         * java/lang/natRuntime.cc: Include StackTrace.h.
11526         (_load): Use findLibrary and new platform defines.
11527         (nativeGetLibname): Use new platform defines.
11528
11529         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
11530         `t' won't be null.
11531
11532 2002-12-08  Mark Wielaard  <mark@klomp.org>
11533
11534         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
11535         cache remote jar files.
11536         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
11537         add File.separator to URL when it is a directory.
11538         * java/lang/ClassLoader.java: Add Classpath javadoc.
11539         (parent): final.
11540         (getParent): Add (disabled) security check.
11541         (findLibrary): New default method.
11542         * java/net/JarURLConnection.java (getManifest): Implement.
11543         (getInputStream): Only create InputStream when entry exists.
11544         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
11545         when they exist.
11546         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
11547
11548 2002-12-08  Mark Wielaard  <mark@klomp.org>
11549
11550         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
11551         (lastDefaultLocale): New field.
11552         (getBundle): When Locale.getDefault != lastDefaultLocale reset
11553         resourceBundleCache.
11554
11555 2002-12-06  Mark Wielaard  <mark@klomp.org>
11556
11557         * java/net/InetAddress.java (toString): Use hostname when not null,
11558         don't do an explicit reverse getHostName() lookup.
11559         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
11560         NullPointerException.
11561
11562 2002-12-06  Tom Tromey  <tromey@redhat.com>
11563
11564         * include/java-interp.h (class _Jv_InterpMethod): Added
11565         JV_MARKOBJ_DECL.
11566         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
11567         mark `prepared' field of interpreted method.
11568         * interpret.cc (compile): Use _Jv_AllocBytes.
11569
11570 2002-12-05  Andrew Haley  <aph@redhat.com>
11571
11572         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
11573         #ifdef (HAVE_BACKTRACE) around the whole function body.
11574
11575 2002-12-05  Tom Tromey  <tromey@redhat.com>
11576
11577         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
11578         * resolve.cc: Don't include AbstractMethodError.h.
11579         (_Jv_abstractMethodError): Removed.
11580         * defineclass.cc (handleMethodsBegin): Initialize method index to
11581         -1.
11582         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
11583         method index for "new" final method.
11584         (_Jv_SetVTableEntries): Compare index against -1 instead of using
11585         isVirtualMethod.  Added `flags' argument.
11586         (_Jv_MakeVTable): Throw exception for abstract method in concrete
11587         class.
11588
11589 2002-12-04  Tom Tromey  <tromey@redhat.com>
11590
11591         * java/net/SocketPermission.java (hashCode): Rewrote.
11592
11593 2002-12-04  Tom Tromey  <tromey@redhat.com>
11594
11595         * Makefile.in: Rebuilt.
11596         * Makefile.am (nat_source_files): Added natVMSecurityManager,
11597         natResourceBundle.
11598         * java/util/ResourceBundle.java (Security): Removed.
11599         (getCallingClassLoader): Now native.
11600         * java/util/natResourceBundle.cc: New file.
11601         * java/lang/natVMSecurityManager.cc: New file.
11602         * java/lang/VMSecurityManager.java (getClassContext): Now native.
11603
11604 2002-12-03  Mark Wielaard  <mark@klomp.org>
11605
11606         * java/util/jar/JarFile.java (manifest): Not final.
11607         (manifestRead): New field.
11608         (JarFile): Don't read Manifest in constructor.
11609         (getManifest): New method.
11610         (JarEnumeration.nextElement): Use new method.
11611         (getEntry): Likewise.
11612         * java/util/zip/ZipFile.java (name): Final.
11613         (raf): Likewsie.
11614         (entries): Change type to Hashtable.
11615         (closed): New field.
11616         (ZipFile): Don't read enties in constructor.
11617         (readEntries): Use Hashtable.
11618         (close): Set new close flag and set entries to null inside
11619         synchronized block.
11620         (entries): Contruct enumeration using new getEntries() method and
11621         entries Hashtable.
11622         (getEntryIndex): Removed.
11623         (getEntries): New method.
11624         (getEntry): Use new getEntries() method and entries Hastable.
11625         (getInputStream): Likewise.
11626         (size): Return getEntries().size().
11627         (ZipEntryEnumeration): Wrap entries Hashtable elements.
11628         * java/util/zip/ZipEntry.java (cal): Don't initialize.
11629         (time): Removed
11630         (dostime): New field.
11631         (zipFileIndex): Removed.
11632         (ZipEntry(ZipEntry)): Copy dostime.
11633         (setDOSTime): Now final and doesn't convert dos time.
11634         (getDOSTime): Likewise.
11635         (setTime): Convert dos time.
11636         (getTime): Likewise.
11637         (getCalendar): New method.
11638         (setExtra): Use setTime().
11639         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
11640
11641 2002-12-03  Tom Tromey  <tromey@redhat.com>
11642
11643         * java/lang/Character.java (forDigit): Formatting fix.
11644
11645 2002-12-03  Raif Naffah  <raif@fl.net.au>
11646
11647         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
11648         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
11649         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
11650
11651 2002-12-03  Andrew Haley  <aph@redhat.com>
11652
11653         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
11654         _Jv_PushClass.
11655         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
11656         (_Jv_PopClass): New.
11657         (_Jv_PushClass): New.
11658         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
11659         discover the ClassLoader of our caller.
11660         (_Jv_CheckArrayStore): Don't check that a class is assignment
11661         compatible with Object.
11662         * java/lang/natVMTHrowable.cc: Delete.
11663         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
11664         java.lang.VMThrowable.
11665         (StackTrace(), StackTrace(int)): New constructors.
11666         (classAt, methodAt, update, methodAtAddress): New methods.
11667         (map): New field.
11668         * java/lang/VMThrowable.java: Use StackTrace instead of
11669         natVMTHrowable.
11670         * java/lang/Class.h (getClassLoaderInternal): New.
11671         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
11672         Be friendly with gnu::gcj::runtime::StackTrace.
11673         (Object.chain): New field.
11674         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
11675         gnu::gcj::runtime::StackTrace.
11676         * gnu/gcj/runtime/natStackTrace.cc: New file.
11677         * gnu/gcj/runtime/MethodRef.java: New file.
11678         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
11679         instead of getClassLoader().
11680         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
11681         java::lang::VMThrowable.
11682         * Makefile.am (core_java_source_files): Add MethodRef.java,
11683         StackTrace.java.
11684         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
11685         * Makefile.in: Rebuild.
11686
11687 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
11688
11689         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
11690         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
11691         yes also for sh-linux* and sh[34]*-linux*.
11692         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
11693         set SIGNAL_HANDLER to use DWARF2 exception for them.
11694         * configure: Regenerate.
11695
11696 2002-12-02  Tom Tromey  <tromey@redhat.com>
11697
11698         * jni.cc: Added `name' argument.
11699         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
11700         `const char *' argument.
11701         (class _Jv_JNIEnv) [DefineClass]: Likewise.
11702
11703 2002-12-01  Tom Tromey  <tromey@redhat.com>
11704
11705         Bug compatibility, for PR libgcj/8738:
11706         * java/io/CharArrayWriter.java (close): Do nothing.
11707         (flush): Likewise.
11708         (reset): Don't touch `closed'.
11709         (write(int)): Don't throw IOException.
11710         (write(char[],int,int)): Likewise.
11711         (write(String,int,int)): Likewise.
11712         (closed): Removed.
11713
11714 2002-12-01  Mark Wielaard  <mark@klomp.org>
11715
11716         * java/lang/SecurityManager.java: Remerge comments, indenting and
11717         checkXXX methods with Classpath.
11718
11719 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
11720
11721         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
11722         getNormalizedComponents): Fix calculation which was using one too
11723         many bits in the unnormalized format.
11724
11725 2002-11-29  Gary Benson  <gbenson@redhat.com>
11726
11727         For PR libgcj/8759:
11728         * java/beans/Introspector.java (flushCaches): New method.
11729         (flushFromCaches): Likewise.
11730
11731 2002-11-29  Michael Koch <konqueror@gmx.de>
11732
11733         * java/nio/channels/DatagramChannel.java
11734         (open): Added exception documentation.
11735         (write): Added exception documentation.
11736         (connect): Added exception documentation.
11737         (disconnect): Added exception documentation.
11738         (isConnected): Added exception documentation.
11739         (read): Added exception documentation.
11740         (receive): Added exception documentation.
11741         (send): Added exception documentation.
11742         (validOps): Added exception documentation.
11743         * java/nio/channels/SocketChannel.java
11744         (open): Added exception documentation.
11745         (read): Added exception documentation.
11746         (write): Added exception documentation.
11747         (connect): Added exception documentation.
11748         (finishConnect): Added exception documentation.
11749
11750 2002-11-29  Michael Koch <konqueror@gmx.de>
11751
11752         * gnu/java/nio/DatagramChannelImpl:
11753         (fd): New member variable to store file descriptor of socket.
11754         * gnu/java/nio/SelectionKeyImpl.java:
11755         (ops): Removed.
11756         (readyOps): New member variable.
11757         (interestOps): New member variable.
11758         (readyOps): Implemented.
11759         (readyOps): New method to set member variable readyOps.
11760         (interestOps): Replaced ops by interestOps.
11761         * gnu/java/nio/SelectorImpl.java:
11762         (SelectorImpl): Initialize key sets.
11763         (select): Call select with -1 instead of Long.MAX_VALUE).
11764         (java_do_select): Make it a native method.
11765         (getFDsAsArray): New helper method.
11766         (select): Remove canceled keys, give only interested file discriptors
11767         to java_do_select, set ready ops.
11768         (add): No need to initialize keys set here.
11769         (add_selected): No need to initialize selected set here.
11770         (deregisterCanceledKeys): New helper method.
11771         (register): Set interest ops, set attachments, added handling of datagram
11772         channels.
11773         * gnu/java/nio/ServerSocketChannelImpl:
11774         (SocketAccept): Renamed from NioSocketAccept.
11775         (implConfigureBlocking): Implemented.
11776         (accept): Use SocketAccept instead of NioSocketAccept.
11777         * gnu/java/nio/SocketChannelImpl:
11778         Reactivate native methods.
11779
11780 2002-11-29  Michael Koch <konqueror@gmx.de>
11781
11782         * gnu/java/nio/natByteBufferImpl.cc,
11783         gnu/java/nio/natCharBufferImpl.cc,
11784         gnu/java/nio/natDoubleBufferImpl.cc,
11785         gnu/java/nio/natFloatBufferImpl.cc,
11786         gnu/java/nio/natIntBufferImpl.cc,
11787         gnu/java/nio/natLongBufferImpl.cc,
11788         gnu/java/nio/natSelectorImpl.cc,
11789         gnu/java/nio/natServerSocketChannelImpl.cc,
11790         gnu/java/nio/natShortBufferImpl.cc,
11791         gnu/java/nio/natSocketChannelImpl.cc:
11792         New files that implement native functionalities.
11793
11794 2002-11-29  Michael Koch <konqueror@gmx.de>
11795
11796         * gnu/java/nio/ByteBufferImpl.java
11797         (ByteBufferImpl): Moved position() after limit.
11798         (nio_*): Use native implementation.
11799         * gnu/java/nio/CharBufferImpl.java:
11800         Reformated.
11801         (endian): New member variable string endianess of buffer.
11802         (CharBufferImpl): Moved position() after limit.
11803         (nio_*): Use native implementation.
11804         (subSequence): Implemented.
11805         * gnu/java/nio/DoubleBufferImpl.java
11806         (DoubleBufferImpl): Moved position() after limit.
11807         (nio_*): Use native implementation.
11808         * gnu/java/nio/FloatBufferImpl.java
11809         Reformated.
11810         (FloatBufferImpl): Moved position() after limit.
11811         (nio_*): Use native implementation.
11812         * gnu/java/nio/IntBufferImpl.java
11813         Added needed imports, Reformated.
11814         (IntBufferImpl): Moved position() after limit.
11815         (nio_*): Use native implementation.
11816         * gnu/java/nio/LongBufferImpl.java
11817         Reformated.
11818         (LongBufferImpl): Moved position() after limit.
11819         (nio_*): Use native implementation.
11820         * gnu/java/nio/ShortBufferImpl.java
11821         Reformated.
11822         (ShortBufferImpl): Moved position() after limit.
11823         (nio_*): Use native implementation.
11824
11825 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
11826
11827         * java/util/Locale.java (toString): Improve efficiency if country
11828         and variant are both empty.
11829
11830 2002-11-26  Tom Tromey  <tromey@redhat.com>
11831
11832         * verify.cc (pop_init_ref): New method.
11833         (verify_instructions_0) [op_iaload, op_laload, op_faload,
11834         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
11835         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
11836         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
11837         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
11838         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
11839         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
11840         let `this' argument be uninitialized.  Don't let `null' be passed
11841         as `this' to construtor.
11842
11843 2002-11-26  Mark Wielaard  <mark@klomp.org>
11844
11845         * javax/transaction/HeuristicCommitException.java: Classpath merge.
11846         * javax/transaction/HeuristicMixedException.java: Likewise.
11847         * javax/transaction/HeuristicRollbackException.java: Likewise.
11848         * javax/transaction/InvalidTransactionException.java: Likewise.
11849         * javax/transaction/NotSupportedException.java: Likewise.
11850         * javax/transaction/RollbackException.java: Likewise.
11851         * javax/transaction/Status.java: Likewise.
11852         * javax/transaction/Synchronization.java: Likewise.
11853         * javax/transaction/SystemException.java: Likewise.
11854         * javax/transaction/Transaction.java: Likewise.
11855         * javax/transaction/TransactionManager.java: Likewise.
11856         * javax/transaction/TransactionRequiredException.java: Likewise.
11857         * javax/transaction/TransactionRolledbackException.java: Likewise.
11858         * javax/transaction/UserTransaction.java: Likewise.
11859         * javax/transaction/xa/XAException.java: Likewise.
11860         * javax/transaction/xa/XAResource.java: Likewise.
11861         * javax/transaction/xa/Xid.java: Likewise.
11862
11863 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
11864
11865         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
11866         define.
11867         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
11868         * include/posix.h (socklen_t): Define if not already defined.
11869
11870 2002-11-25  Tom Tromey  <tromey@redhat.com>
11871
11872         * verify.cc (type::compatible): Backed out broken change.
11873
11874         * verify.cc (type::compatible): Check initialization status
11875         first.
11876         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
11877         Don't use NULLCHECK.
11878
11879 2002-11-23  H.J. Lu <hjl@gnu.org>
11880
11881         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
11882         Include ../config/accross.m4.
11883         * aclocal.m4; Rebuild.
11884         * configure: Likewise.
11885
11886 2002-11-23  Mark Wielaard  <mark@klomp.org>
11887
11888         * javax/naming/AuthenticationException.java: Update copyright header.
11889         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
11890         * javax/naming/Binding.java: Likewise.
11891         * javax/naming/CannotProceedException.java: Likewise.
11892         * javax/naming/CommunicationException.java: Likewise.
11893         * javax/naming/CompositeName.java: Likewise.
11894         * javax/naming/CompoundName.java: Likewise.
11895         * javax/naming/ConfigurationException.java: Likewise.
11896         * javax/naming/Context.java: Likewise.
11897         * javax/naming/ContextNotEmptyException.java: Likewise.
11898         * javax/naming/InitialContext.java: Likewise.
11899         * javax/naming/InsufficientResourcesException.java: Likewise.
11900         * javax/naming/InterruptedNamingException.java: Likewise.
11901         * javax/naming/LimitExceededException.java: Likewise.
11902         * javax/naming/LinkException.java: Likewise.
11903         * javax/naming/LinkLoopException.java: Likewise.
11904         * javax/naming/LinkRef.java: Likewise.
11905         * javax/naming/MalformedLinkException.java: Likewise.
11906         * javax/naming/NameAlreadyBoundException.java: Likewise.
11907         * javax/naming/NameClassPair.java: Likewise.
11908         * javax/naming/NameNotFoundException.java: Likewise.
11909         * javax/naming/NameParser.java: Likewise.
11910         * javax/naming/NamingEnumeration.java: Likewise.
11911         * javax/naming/NamingSecurityException.java: Likewise.
11912         * javax/naming/NoInitialContextException.java: Likewise.
11913         * javax/naming/NoPermissionException.java: Likewise.
11914         * javax/naming/NotContextException.java: Likewise.
11915         * javax/naming/OperationNotSupportedException.java: Likewise.
11916         * javax/naming/PartialResultException.java: Likewise.
11917         * javax/naming/Reference.java: Likewise.
11918         * javax/naming/Referenceable.java: Likewise.
11919         * javax/naming/ReferralException.java: Likewise.
11920         * javax/naming/ServiceUnavailableException.java: Likewise.
11921         * javax/naming/SizeLimitExceededException.java: Likewise.
11922         * javax/naming/TimeLimitExceededException.java: Likewise.
11923         * javax/naming/directory/Attribute.java: Likewise.
11924         * javax/naming/directory/AttributeInUseException.java: Likewise.
11925         * javax/naming/directory/AttributeModificationException.java: Likewise.
11926         * javax/naming/directory/Attributes.java: Likewise.
11927         * javax/naming/directory/BasicAttribute.java: Likewise.
11928         * javax/naming/directory/BasicAttributes.java: Likewise.
11929         * javax/naming/directory/DirContext.java: Likewise.
11930         * javax/naming/directory/InitialDirContext.java: Likewise.
11931         * javax/naming/directory/InvalidAttributeIdentifierException.java:
11932         Likewise.
11933         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
11934         * javax/naming/directory/InvalidAttributesException.java: Likewise.
11935         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
11936         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
11937         * javax/naming/directory/ModificationItem.java: Likewise.
11938         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
11939         * javax/naming/directory/SchemaViolationException.java: Likewise.
11940         * javax/naming/directory/SearchControls.java: Likewise.
11941         * javax/naming/directory/SearchResult.java: Likewise.
11942         * javax/naming/event/EventContext.java: Likewise.
11943         * javax/naming/event/EventDirContext.java: Likewise.
11944         * javax/naming/event/NamespaceChangeListener.java: Likewise.
11945         * javax/naming/event/NamingEvent.java: Likewise.
11946         * javax/naming/event/NamingExceptionEvent.java: Likewise.
11947         * javax/naming/event/NamingListener.java: Likewise.
11948         * javax/naming/event/ObjectChangeListener.java: Likewise.
11949         * javax/naming/ldap/Control.java: Likewise.
11950         * javax/naming/ldap/ControlFactory.java: Likewise.
11951         * javax/naming/ldap/ExtendedRequest.java: Likewise.
11952         * javax/naming/ldap/ExtendedResponse.java: Likewise.
11953         * javax/naming/ldap/HasControls.java: Likewise.
11954         * javax/naming/ldap/InitialLdapContext.java: Likewise.
11955         * javax/naming/ldap/LdapContext.java: Likewise.
11956         * javax/naming/ldap/LdapReferralException.java: Likewise.
11957         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
11958         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
11959         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
11960         * javax/naming/spi/DirObjectFactory.java: Likewise.
11961         * javax/naming/spi/DirStateFactory.java: Likewise.
11962         * javax/naming/spi/DirectoryManager.java: Likewise.
11963         * javax/naming/spi/InitialContextFactory.java: Likewise.
11964         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
11965         * javax/naming/spi/NamingManager.java: Likewise.
11966         * javax/naming/spi/ObjectFactory.java: Likewise.
11967         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
11968         * javax/naming/spi/ResolveResult.java: Likewise.
11969         * javax/naming/spi/Resolver.java: Likewise.
11970         * javax/naming/spi/StateFactory.java: Likewise.
11971
11972         * javax/naming/spi/NamingManager.java (ofb): Package private.
11973
11974 2002-11-21  Mark Wielaard  <mark@klomp.org>
11975
11976         * java/net/URL.java: Merge with Classpath (partly).
11977         * java/net/URLStreamHandler: Merge with Classpath.
11978
11979 2002-11-22  Michael Koch <konqueror@gmx.de>
11980
11981         * include/posix.h:
11982         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11983         * include/win32.h:
11984         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11985         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
11986
11987 2002-11-21  Michael Koch <konqueror@gmx.de>
11988
11989         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
11990         Only the new network functions should be in it.
11991
11992 2002-11-21  Michael Koch <konqueror@gmx.de>
11993
11994         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11995         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11996
11997 2002-11-21  Michael Koch <konqueror@gmx.de>
11998
11999         * java/nio/channels/AsynchronousCloseException.java,
12000         java/nio/channels/CancelledKeyException.java,
12001         java/nio/channels/ClosedByInterruptException.java,
12002         java/nio/channels/ConnectionPendingException.java,
12003         java/nio/channels/FileLockInterruptionException.java,
12004         java/nio/channels/IllegalSelectorException.java,
12005         java/nio/channels/NoConnectionPendingException.java,
12006         java/nio/channels/NonReadableChannelException.java,
12007         java/nio/channels/NonWritableChannelException.java,
12008         java/nio/channels/NotYetBoundException.java,
12009         java/nio/channels/NotYetConnectedException.java,
12010         java/nio/channels/OverlappingFileLockException.java,
12011         java/nio/channels/UnresolvedAddressException.java,
12012         java/nio/channels/UnsupportedAddressTypeException.java:
12013         New files.
12014         * Makefile.am (ordinary_java_source_files): Added new files.
12015         * Makefile.in: Regenerated.
12016
12017 2002-11-21  Michael Koch <konqueror@gmx.de>
12018
12019         * include/posix.h
12020         (_Jv_socket): New method.
12021         (_Jv_connect): New method.
12022         (_Jv_close): New method.
12023         (_Jv_platform_close_on_exec): Prefixed system function with "::".
12024         (_Jv_bind): New method.
12025         (_Jv_listen): New method.
12026         (_Jv_write): New method.
12027         (_Jv_read): New method.
12028         * include/win32.h
12029         (_Jv_socket): New method.
12030         (_Jv_connect): New method.
12031         (_Jv_close): New method.
12032         (_Jv_bind): New method.
12033         (_Jv_listen): New method.
12034         (_Jv_write): New method.
12035         (_Jv_read): New method.
12036         * java/net/natNetworkInterface.cc:
12037         Include platform.h, removed inclusion of socket.h
12038         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
12039         ::close() by _Jv_close().
12040         * java/net/natPlainDatagramSocketImpl.cc:
12041         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
12042         added some new lines to make code more readable.
12043         (create): Replaced ::socket() by _Jv_socket().
12044         (close): Replaced NATIVE_CLOSE() by _Jv_close().
12045         * java/net/natPlainSocketImpl.cc:
12046         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
12047         removed include of socket.h, removed some windows defines
12048         (now in include/win32.h).
12049         (create): Replaced ::socket() by _Jv_socket().
12050         (close): Replaced NATIVE_CLOSE() by _Jv_close().
12051         (write): Replaced ::read by _Jv_write().
12052         (read): Replaced ::read by _Jv_read().
12053
12054 2002-11-20  Michael Koch <konqueror@gmx.de>
12055
12056         * Makefile.am (ordinary_java_source_files):
12057         Added java/nio/channels/FileChannel.java.
12058         * Makefile.in: Regenerated.
12059
12060 2002-11-20  Michael Koch <konqueror@gmx.de>
12061
12062         * java/io/FileInputStream.java
12063         (getChannel): New method.
12064         * java/io/FileOutputStream.java
12065         (getChannel): New method.
12066         * java/net/ServerSocket.java
12067         (bind): Removed duplicate code and called another bind method instead.
12068         * java/nio/channels/SelectionKey.java
12069         (isValid): Removed wrong exception documentation.
12070         * java/nio/channels/ServerSocketChannel.java
12071         (accept): Added exception documentation.
12072         (open): Fixed typo, added exception documentation.
12073         * java/nio/channels/spi/AbstractSelectableChannel.java
12074         (implCloseChannel): Added exception documentation.
12075         (add): Reformated.
12076         (register): Added exception documentation.
12077
12078 2002-11-20  Andreas Jaeger  <aj@suse.de>
12079
12080         * configure: Regenerated with new libtool.m4.
12081
12082 2002-11-19  Tom Tromey  <tromey@redhat.com>
12083
12084         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
12085         `referent'.
12086         (finalize_referred_to_object): Don't modify `referent' or `copy'
12087         fields.
12088         (add_to_hash): Correctly set `n->next' when updating list.
12089         * java/lang/ref/Reference.java (enqueue): Return false if already
12090         enqueued.
12091
12092 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
12093
12094         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
12095         to function and function pointer declarations in accordance with
12096         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
12097         based on whether __GCJ_JNI_IMPL__ has been defined or not.
12098         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
12099         JNI function definitions.
12100
12101 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12102
12103         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
12104         that was causing CoderResults to be cached, not WeakReferences
12105         to CoderResults.
12106
12107 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
12108
12109         * java/security/KeyStore.java (getInstance): Fix
12110         comment and throw IllegalArgumentException if
12111         given provider is null.
12112         (getInstance): New method for jdk1.4 compatibility.
12113
12114 2002-11-18  Michael Koch <konqueror@gmx.de>
12115
12116         * java/net/PlainSocketImpl.java: Fix imports.
12117
12118 2002-11-18  Michael Koch <konqueror@gmx.de>
12119
12120         * java/nio/channels/SelectionKey.java
12121         (isValid): Added exception documentation.
12122         * java/nio/channels/Selector.java
12123         (open): Declare "throws IOException".
12124
12125 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12126
12127         * java/nio/charset/Charset.java
12128         (<clinit>): New method.
12129         (encode): Synchronize use of cached encoder object.
12130         (decode): Synchronize use of cached encoder object.
12131
12132 2002-11-18  Michael Koch <konqueror@gmx.de>
12133
12134         * gnu/java/nio/ByteBufferImpl.java,
12135         gnu/java/nio/CharBufferImpl.java,
12136         gnu/java/nio/DatagramChannelImpl.java,
12137         gnu/java/nio/DoubleBufferImpl.java,
12138         gnu/java/nio/FileChannelImpl.java,
12139         gnu/java/nio/FloatBufferImpl.java,
12140         gnu/java/nio/IntBufferImpl.java,
12141         gnu/java/nio/LongBufferImpl.java,
12142         gnu/java/nio/PipeImpl.java,
12143         gnu/java/nio/SelectionKeyImpl.java,
12144         gnu/java/nio/SelectorImpl.java,
12145         gnu/java/nio/SelectorProviderImpl.java,
12146         gnu/java/nio/ServerSocketChannelImpl.java,
12147         gnu/java/nio/ShortBufferImpl.java,
12148         gnu/java/nio/SocketChannelImpl.java,
12149         java/nio/DoubleBuffer.java,
12150         java/nio/FloatBuffer.java,
12151         java/nio/IntBuffer.java,
12152         java/nio/LongBuffer.java,
12153         java/nio/ShortBuffer.java,
12154         java/nio/channels/FileChannel.java: New files.
12155
12156 2002-11-18  Michael Koch <konqueror@gmx.de>
12157
12158         * Makefile.am (ordinary_java_source_files):
12159         Added java/nio/ReadOnlyBufferException.java and
12160         java/nio/channels/ClosedSelectorException.java.
12161         * Makefile.in: Regenerated.
12162
12163 2002-11-18  Michael Koch <konqueror@gmx.de>
12164
12165         * java/net/PlainSocketImpl.java: Reworked imports.
12166         * java/net/ServerSocket.java
12167         (ServerSocket): Create socket.
12168         * java/net/SocketAddress.java: Documentation added.
12169         * java/net/natPlainSocketImpl.cc: Reindented.
12170         * java/nio/ReadOnlyBufferException.java: New file
12171         * java/nio/channels/ClosedChannelException.java: Documentation added.
12172         * java/nio/channels/ClosedSelectorException.java: New file.
12173
12174 2002-11-17  Mark Wielaard  <mark@klomp.org>
12175
12176         * java/net/HttpURLConnection.java ((getPermission): Take port
12177         into consideration.
12178         (getErrorStream): Implement.
12179
12180 2002-11-17  Mark Wielaard  <mark@klomp.org>
12181
12182         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
12183
12184 2002-11-16  Mark Wielaard  <mark@klomp.org>
12185
12186         Integrate work by Raif S. Naffah (raif@fl.net.au)
12187         * java/security/DummyKeyPairGenerator.java (clone): New method.
12188         * java/security/DummyMessageDigest.java (clone): New method.
12189         (engineUpdate): Now public.
12190         (engineReset): Likewise.
12191         (engineDigest): Likewise.
12192         (engineGetDigestLength): New method.
12193         * java/security/DummySignature.java (clone): New method.
12194         * java/security/KeyPairGenerator.java (provider): Now package private.
12195         (getInstance(String)): Use getInstance(String,Provider).
12196         (getInstance(String,String): Use getInstance(String,Provider)
12197         (getInstance(String,Provider): New method.
12198         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
12199         * java/security/KeyPairGeneratorSpi.java (clone): New method.
12200         * java/security/MessageDigest.java (provider): Now package private.
12201         (getInstance(String): Use getInstance(String,Provider).
12202         (getInstance(String,String): Use getInstance(String,Provider)
12203         (getInstance(String,Provider): New method.
12204         * java/security/Provider.java (toCanonicalKey): New method.
12205         (get): New method that uses toCanonicalKey().
12206         (put): Use toCanonicalKey().
12207         (remove): Likewise.
12208         * java/security/Security.java (insertProviderAt): Provider index is one
12209         based, not zero based.
12210         (addProvider): Likewise.
12211         (removeProvider): Likewise.
12212         * java/security/Signature.java (provider): Now package private.
12213         (getInstance(String)): Use getInstance(String,Provider).
12214         (getInstance(String,String): Use getInstance(String,Provider)
12215         (getInstance(String,Provider): New method.
12216         (getInstance(String,String,Provider): Don't cast DummySignature.
12217
12218 2002-11-15  Tom Tromey  <tromey@redhat.com>
12219
12220         For PR libgcj/8593:
12221         * java/util/zip/GZIPInputStream.java (read): Check file size.
12222         Look in inflater for remaining input bytes.
12223         (read4): Added buf and offset arguments.
12224
12225 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
12226
12227         * java/applet/AppletContext.java: Fix typo and remove redundant
12228         modifiers.
12229
12230 2002-11-14  Tom Tromey  <tromey@redhat.com>
12231
12232         * java/lang/natRuntime.cc (insertSystemProperties): Set
12233         gnu.classpath.home.
12234
12235 2002-11-13  Michael Koch <konqueror@gmx.de>
12236
12237         * java/nio/ByteBuffer.java
12238         (allocate): New method.
12239         (wrap): New method.
12240         (put): New method.
12241         (get): New method.
12242
12243 2002-11-13  Michael Koch <konqueror@gmx.de>
12244
12245         * java/nio/channels/AlreadyConnectedException.java:
12246         Removed unneeded import.
12247         (AlreadyConnectedException): Documentation added.
12248         * java/nio/channels/Pipe.java
12249         (SinkChannel.SinkChannel): Documentation added.
12250         (SinkChannel.validOps): New method.
12251         (SourceChannel.SourceChannel): Documentation added.
12252         (SourceChannel.validOps): New method.
12253         (Pipe): Documentation added.
12254         (open): Documentation added.
12255         (SinkChannel.channel): Documentation added.
12256         (SourceChannel.channel): Documentation added.
12257         * java/nio/channel/SelectableChannel.java
12258         (SelectableChannel): Documentation added.
12259         (blockingLock): Documentation added.
12260         (configureBlocking):Documentation added.
12261         (isBlocking):Documentation added.
12262         (isRegistered):Documentation added.
12263         (keyFor):Documentation added.
12264         (provider):Documentation added.
12265         (register): Documentation added.
12266         (validOps): Documentation added.
12267         * jaba/nio/channels/SelectionKey.java
12268         (SelectionKey): Documentation added.
12269         (attach): Documentation added.
12270         (attachment): Documentation added.
12271         (isAcceptable): Documentation added.
12272         (isConnetable): Documentation added.
12273         (isReadable): Documentation added.
12274         (isWritable): Documentation added.
12275         (cancel): Documentation added.
12276         (channel): Documentation added.
12277         (interestOps): Documentation added.
12278         (isValid): Documentation added.
12279         (readyOps): Documentation added.
12280         (selector): Documentation added.
12281         * jaba/nio/channels/Selector.java
12282         (Selector): Documentation added.
12283         (open): Documentation added.
12284         (close): Documentation added.
12285         (isOpen): Documentation added.
12286         (keys): Documentation added.
12287         (provider): Documentation added.
12288         (select): Documentation added.
12289         (selectedKeys): Documentation added.
12290         (selectNow): Documentation added.
12291         (wakeup): Documentation added.
12292         * java/nio/channels/spi/AbstractInterruptibleChannel.java
12293         (AbstractInterruptibleChannel): Documentation added.
12294         (opened): Default to true;
12295         (begin): Documentation added.
12296         (close): Set opened to false, documentation added.
12297         (isOpen): Documentation added.
12298         * java/nio/channels/spi/AbstractSelectionKey.java
12299         (AbstractSelectionKey): Documentation added.
12300         (cancel): Documentation added.
12301         (isValid): Documentation added.
12302         * java/nio/channels/spi/AbstractSelector.java
12303         (AbstractSelector): Documentation added.
12304         (begin): Documentation added.
12305         (close): Documentation added.
12306         (isOpen): Documentation added.
12307         (deregister): Documentation added.
12308         (end): Documentation added.
12309         (provider): Documentation added.
12310         (implCloseSelector): Documentation added.
12311         (register): Documentation added.
12312         * java/nio/channels/spi/SelectorProvider.java
12313         (SelectorProvider): Documentation added.
12314         (openDatagramChannel): Documentation added.
12315         (openPipe): Documentation added.
12316         (openSelector): Documentation added.
12317         (openServerSocketChannel): Documentation added.
12318         (openSocketChannel): Documentation added.
12319         (provider): Documentation added.
12320
12321 2002-11-12  Michael Koch <konqueror@gmx.de>
12322
12323         * java/nio/Buffer.java: Implemented.
12324         * java/nio/CharBuffer.java: New file.
12325         * java/nio/InvalidMarkException.java: New file.
12326         * java/nio/channels/DatagramChannel.java: Implemented.
12327         * java/nio/channels/ServerSocketChannel.java: Implemented.
12328         * java/nio/channels/SocketChannel.java: Implemented.
12329         * java/nio/channels/spi/AbstractChannel.java: Removed.
12330         * java/nio/channels/spi/AbstractSelectableChannel.java:
12331         Implemented.
12332         * java/nio/charset/Charset.java:
12333         Merge from Classpath.
12334         * java/nio/charset/CharsetDecoder.java: New file.
12335         * java/nio/charset/CharsetEncoder.java: New file.
12336         * java/nio/charset/CoderResult.java: New file.
12337         * Makefile.am (ordinary_java_source_files): Added new files.
12338         * Makefile.in: Regenerated.
12339
12340 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12341
12342         * gnu/java/nio/charset/ISO_8859_1.java,
12343         gnu/java/nio/charset/Provider.java,
12344         gnu/java/nio/charset/US_ASCII.java,
12345         gnu/java/nio/charset/UTF_16.java,
12346         gnu/java/nio/charset/UTF_16BE.java,
12347         gnu/java/nio/charset/UTF_16Decoder.java,
12348         gnu/java/nio/charset/UTF_16Encoder.java,
12349         gnu/java/nio/charset/UTF_16LE.java,
12350         gnu/java/nio/charset/UTF_8.java: New files.
12351
12352 2002-11-11  Michael Koch <konqueror@gmx.de>
12353
12354         * java/nio/charset/CharacterCodingException.java:
12355         This class must be public.
12356         * java/nio/charset/CoderMalfunctionError.java:
12357         This class must be public.
12358         * java/nio/charset/CodingErrorAction.java:
12359         This class must be public.
12360         * java/nio/charset/IllegalCharsetNameException.java:
12361         This class must be public, better implementation.
12362         * java/nio/charset/MalformedInputException.java:
12363         This class must be public, better implementation.
12364         * java/nio/charset/UnmappableCharacterException.java:
12365         This class must be public, better implementation.
12366         * java/nio/charset/UnsupportedCharsetException.java:
12367         This class must be public, better implementation.
12368
12369 2002-11-11  Michael Koch <konqueror@gmx.de>
12370
12371         * java/nio/BufferOverflowException.java,
12372         java/nio/BufferUnderflowException.java: New file.
12373         * Makefile.am (ordinary_java_source_files):
12374         Added new files.
12375         * Makefile.in: Regenerated.
12376
12377 2002-11-10  Tom Tromey  <tromey@redhat.com>
12378
12379         * java/awt/Container.java (validate): Use tree lock.
12380         (getComponent): Likewise.
12381         (getComponents): Likewise.
12382         (addImpl): Likewise.
12383         (remove): Likewise.
12384         (removeAll): Likewise.
12385         (processEvent): Fixed indentation.
12386         (getComponentAt): Use tree lock.
12387         (findComponentAt): Likewise.
12388         (removeNotify): Likewise.
12389         (isAncestorOf): Likewise.
12390         (list): Likewise.
12391         (visitChildren): Likewise.
12392         (findNextFocusComponent): Likewise.
12393         (addNotifyContainerChildren): Likewise.
12394         (getAccessibleChildrenCount): Likewise.
12395         (getAccessibleChild): Likewise.
12396
12397         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
12398         (getSize): Likewise.
12399         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
12400         (getSize): Likewise.
12401         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
12402         (calcSize): Likewise.
12403         * java/awt/CardLayout.java (getSize): Use tree lock.
12404         (gotoComponent): Likewise.
12405         (layoutContainer): Likewise.
12406
12407         * java/io/natFileDescriptorWin32.cc (read): Handle case where
12408         count is 0.
12409         * java/io/natFileDescriptorPosix.cc (read): Handle case where
12410         count is 0.
12411
12412         * java/io/Externalizable.java, java/io/FilePermission.java,
12413         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
12414         java/io/SerializablePermission.java, java/text/Format.java,
12415         java/util/AbstractMap.java, java/util/HashMap.java,
12416         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
12417         versions from Classpath.
12418
12419 2002-11-10  Anthony Green  <green@redhat.com>
12420
12421         * java/util/jar/Attributes.java (Name): Fix name check.
12422
12423 2002-11-10  Mark Wielaard  <mark@klomp.org>
12424
12425         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
12426         with getName() as message.
12427         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
12428         type as message.
12429
12430         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
12431         unused.
12432
12433 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
12434
12435         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
12436         for Win32. JNICALL has been defined to __stdcall to be compatible
12437         with Sun's JDKs.
12438
12439 2002-11-10  Tom Tromey  <tromey@redhat.com>
12440
12441         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
12442         (setRows): Check newRows, not rows.
12443
12444         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
12445
12446 2002-11-09  Tom Tromey  <tromey@redhat.com>
12447
12448         * java/applet/Applet.java, java/applet/AppletContext.java,
12449         java/applet/AppletStub.java, java/applet/AudioClip.java,
12450         java/awt/CardLayout.java,
12451         java/awt/ContainerOrderFocusTraversalPolicy.java,
12452         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
12453         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
12454         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
12455         java/awt/color/ICC_ColorSpace.java,
12456         java/awt/color/ICC_Profile.java,
12457         java/awt/color/ICC_ProfileGray.java,
12458         java/awt/color/ICC_ProfileRGB.java,
12459         java/awt/datatransfer/DataFlavor.java,
12460         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
12461         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
12462         New versions from Classpath.
12463         * Makefile.in: Rebuilt.
12464         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
12465         ICC_ProfileRGB.
12466
12467         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
12468         display policy.
12469
12470         * java/awt/List.java (processEvent): Added missing `else's.
12471
12472         * java/awt/Window.java (show): validate() before showing.  Make
12473         parent displayable.
12474         (isDisplayable): New method.
12475
12476 2002-11-07  Mark Wielaard  <mark@klomp.org>
12477
12478         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
12479         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
12480
12481         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
12482         annotation.
12483         (loadClass): Take String as codebases.
12484         (getClassAnnotation): Use MyClassLoader annotations.
12485         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
12486         call exportObject(this).
12487
12488         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
12489         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
12490         (setAnnotation): Don't set locBytesStream and locStream.
12491         (replaceObject): Removed.
12492         (flush): Don't test locStream.
12493         (getLocBytes): LikeWise.
12494         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
12495         (leaseCache): New field.
12496         (dirty): Use leaseCache.
12497         (LeaseRecord): New inner class.
12498         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
12499         explicitly call exportObject().
12500         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
12501         false to communicate with Sun JDK130.
12502         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
12503         * gnu/java/rmi/server/RMIObjectInputStream.java
12504         (UnicastConnectionManager): Removed field.
12505         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
12506         Use UnicastServer.getExportedRef().
12507         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
12508         (expireTime): Likewise.
12509         (CONNECTION_TIMEOUT): Likewise.
12510         (disconnect): Call sock.close().
12511         (isExpired): New method.
12512         (resetTime): Likewise.
12513         (run): Use do while loop and catch Exception for discardConnection().
12514         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
12515         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
12516         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
12517         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
12518         (exportObject): Use refcache.
12519         (unexportObject): Likewise.
12520         (getExportedRef): New method.
12521         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
12522         constructor.
12523         (exportObject): Save manager.serverobj.
12524         (getStub): New method.
12525
12526 2002-11-07  Mark Wielaard  <mark@klomp.org>
12527
12528         * java/lang/reflect/natField.cc (getBoolean): Use getType().
12529         (getByte): Likewise.
12530         (getShort): Likewise.
12531         (getInt): Likewise.
12532         (getLong): Likewise.
12533         (getFloat): Likewise.
12534         (getDouble): Likewise.
12535         (get): Likewise.
12536         (setChar): Likewise.
12537         (setByte): Likewise.
12538         (setShort): Likewise.
12539         (setInt): Likewise.
12540         (setLong): Likewise.
12541         (setFloat): Likewise.
12542         (setDouble): Likewise.
12543
12544 2002-11-07  Michael Koch <konqueror@gmx.de>
12545
12546         * java/awt/Choice.java,
12547         java/awt/Container.java,
12548         java/awt/GridBagLayout.java:
12549         Fixed documentation.
12550         * java/awt/peer/ContainerPeer.java:
12551         Reindented.
12552
12553 2002-11-07  Michael Koch <konqueror@gmx.de>
12554
12555         * java/awt/color/ICC_Profile.java:
12556         Added missing constants.
12557         * java/awt/color/ICC_ColorSpace.java
12558         (getMinValue): Added dummy implementation.
12559         (getMaxValue): Added dummy implementation.
12560         * java/awt/datatransfer/DataFlavor.java
12561         (imageFlavor): Added.
12562         (isMimeTypeEqual): Must be final.
12563         (getDefaultRepresentationClass): Must be non-static.
12564         (getDefaultRepresentationClassAsString): Must be non-static.
12565         * java/awt/dnd/DragSourceContext.java
12566         (dragExit): Corrected argument.
12567         (dragDropEnd): Corrected argument.
12568         * java/awt/dnd/DragSourceListener.java.java
12569         (dragExit): Corrected argument.
12570         (dragDropEnd): Corrected argument.
12571         * java/awt/font/TextHitInfo.java
12572         (toString): Added stubbed implementation.
12573         * java/awt/geom/PathIterator.java:
12574         The constants must be static.
12575         * java/awt/image/VolatileImage.java
12576         (IMAGE_INCOMPATIBLE): Fixed typo.
12577         * java/awt/image/renderable/RenderableImage.java
12578         (HINTS_OBSERVED): Must be static.
12579         * java/beans/BeanInfo.java:
12580         Constants must be final.
12581
12582 2002-11-06  Tom Tromey  <tromey@redhat.com>
12583
12584         From svens@it.uu.se.  For PR libgcj/8481.
12585         * java/util/Random.java (nextInt(int)): Only use 31 bits.
12586
12587 2002-11-06  Tom Tromey  <tromey@redhat.com>
12588
12589         * jni.cc (array_from_valist): Assume that jlong won't be
12590         promoted.
12591
12592 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
12593
12594         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
12595         Return 20.
12596         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
12597         Return 16.
12598
12599 2002-11-03  Tom Tromey  <tromey@redhat.com>
12600
12601         * java/lang/ClassLoader.java (loadClass): Call loadClass on
12602         VMClassLoader, not findClass.
12603
12604 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
12605
12606         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
12607         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
12608         _Jv_DetermineVTableIndex, to determine vtable offset.
12609         (_Jv_DetermineVTableIndex): Remove.
12610         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
12611
12612         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
12613
12614 2002-11-03  Tom Tromey  <tromey@redhat.com>
12615
12616         * java/nio/channels/AlreadyConnectedException.java: Extend
12617         IllegalStateException, per spec.
12618
12619 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
12620
12621         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
12622
12623 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12624
12625         * java/util/ArrayList.java (readObject, writeObject): Only read/write
12626         size items.
12627
12628 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12629
12630         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
12631         initial estimated size to avoid enlarge buffer frequently.
12632
12633 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12634
12635         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
12636         ClassLoader when null.
12637         (ProxyType.hashCode): Loader null check no longer needed.
12638         (ProxyType.sameTypes): New method.
12639         (ProxyType.equals): Use new method.
12640
12641 2002-10-31  Mark Wielaard  <mark@klomp.org>
12642
12643         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
12644         length of String.
12645         * java/net/URLEncoder.java (encode): Likewise.
12646
12647 2002-10-31  Mark Wielaard  <mark@klomp.org>
12648
12649         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
12650         when stream is closed.
12651         (closeEntry): Likewise.
12652         (read): Likewise.
12653         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
12654         ZipException when no entry active.
12655         (closeEntry): Likewise.
12656         (write): Likewise.
12657
12658 2002-11-02  Tom Tromey  <tromey@redhat.com>
12659
12660         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
12661         * java/lang/natClass.cc (initializeClass): Don't return just
12662         because self==thread.
12663
12664         For PR java/8415:
12665         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
12666         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
12667
12668 2002-11-02  Andreas Schwab  <schwab@suse.de>
12669
12670         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
12671         pass GCJFLAGS.
12672         (FLAGS_TO_PASS): Define.
12673         * Makefile.in: Regenerated.
12674
12675 2002-11-01  Michael Koch  <konqueror@gmx.de>
12676
12677         * java/nio/ByteOrder.java: New file.
12678         * java/nio/channels/DatagramChannel.java:
12679         (DatagramChannel): New constructor.
12680         * java/nio/channels/Pipe.java: New file.
12681         * java/nio/channels/SelectableChannel.java: New file.
12682         * java/nio/channels/SelectionKey.java: New file.
12683         * java/nio/channels/Selector.java: New file.
12684         * java/nio/channels/ServerSocketChannel.java
12685         (ServerSocketChannel): New constructor.
12686         * java/nio/channels/SocketChannel.java
12687         (SocketChannel): New constructor.
12688         * java/nio/channels/Pipe.java: New file.
12689         * java/nio/channels/spi/AbstractChannel.java: New file.
12690         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
12691         * java/nio/channels/spi/AbstractSelectableChannel.java:
12692         License added
12693         (AbstractSelectableChannel): New stubbed method.
12694         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
12695         * java/nio/channels/spi/AbstractSelector.java: New file.
12696         * java/nio/channels/spi/SelectorProvider.java: New file.
12697         * java/nio/charset/Charset.java: New file.
12698         * java/nio/charset/CoderMalfunctionError.java: New file.
12699         * java/nio/charset/CodingErrorAction.java: New file.
12700         * java/nio/charset/spi/CharsetProvider.java
12701         (charsetForName): Uncommented.
12702         * Makefile.am (java_native_source_files): Added new files.
12703         * Makefile.in: Regenerated.
12704
12705 2002-11-01  Michael Koch  <konqueror@gmx.de>
12706
12707         * java/net/InetAddress.java:
12708         (isAnyLocalAddress): Implemented.
12709         (isLoopbackAddress): Implemented, comment added.
12710         (isLinkLocalAddress): Implemented, documentation added.
12711         (isSiteLocalAddress): Implemented, documentation added.
12712         (isMCGlobal): Implemented, documentation added.
12713         (isMCNodeLocal): Implemented, documentation added.
12714         (isMCLinkLocal): Implemented, documentation added.
12715         (isMCSiteLocal): Implemented, documentation added.
12716         (isMCOrgLocal): Implemented, documentation added.
12717         (getHostName): Documentation added.
12718         (getCanonicalHostName): Implemented, documentation added.
12719         (getAddress): Documentation added.
12720         (hashCode): Documentation added.
12721         (equals): Documentation added.
12722         (toString): Fixed implementation.
12723         (getByAddress): Use Inet4Address and Inet6Address.
12724         (lookup): New linewrap.
12725         (getByName): SecurityManager check added, support Inet4Address and
12726         Inet6address, comments added.
12727         (getAllByName): SecurityManager check added, comments added.
12728         * java/net/Inet6Address.java:
12729         (Inet6Address): Initialize parent class with addr instead of null.
12730         * java/net/URL.java
12731         (equals): Documentation added.
12732         (getFile): Documentation added.
12733         (hashCode): Documentation added.
12734         * java/net/natInetAddress.cc:
12735         (aton): Fix IPv6 support.
12736         * java/net/natPlainDatagramSocketImpl.cc:
12737         (peek): Throw PortUnreachableException when suitable.
12738         (peekData): Throw PortUnreachableException when suitable.
12739         (send): Throw PortUnreachableException when suitable.
12740         (receive): Throw PortUnreachableException when suitable.
12741
12742 2002-10-27  Mark Wielaard  <mark@klomp.org>
12743
12744         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
12745         argument.
12746         (readLeShort): Likewise and use byte[].
12747         (readLeInt): Likewise.
12748         (readEntries): Use new versions of methods and use byte[] for reading
12749         a complete zip entry. Add ZipFile name to exceptions.
12750         (entries): Add ZipFile name to exceptions.
12751         (getEntry): Likewise.
12752         (checkLocalHeader): Use new versions of methods and add ZipFile name
12753         to exceptions.
12754
12755 2002-10-31  Mark Anderson  <mark@panonet.net>
12756
12757         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
12758         added
12759
12760 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
12761
12762         * configure.in: Disable hash sync when not using threads.
12763         * configure: Regenerated.
12764
12765 2002-10-24  Tom Tromey  <tromey@redhat.com>
12766
12767         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
12768         (_Jv_FindSymbolInExecutable): Removed argument name.
12769         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
12770         java.library.path is set.
12771
12772         * gij.cc (help): Document --showversion.
12773         (version): Don't exit.
12774         (main): Handle --showversion.  Exit if --version given.
12775
12776 2002-10-23  Tom Tromey  <tromey@redhat.com>
12777
12778         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
12779         (array_from_valist): Correctly handle promotion for jint, jlong,
12780         jfloat, and jdouble.
12781
12782 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
12783
12784         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
12785         GetFileAttributesEx( ) to find file length and modification times,
12786         as the latter is not present on Windows 95.
12787
12788 2002-10-21  Michael Koch  <konqueror@gmx.de>
12789
12790         * java/net/URL.java
12791         (URL): Activate SecurityManager checks.
12792         (equals): Use URLStreamHandler implementation instead of doing it
12793         alone. This allows special protocol stream handlers to change default
12794         behaviour.
12795         (hashCode): Use URLStreamHandler implementation instead of doing it
12796         alone. This allows special protocol stream handlers to change default
12797         behaviour.
12798         * java/net/URLStreamHandler.java
12799         (equals): Implemented default URL equality check.
12800         (hostsEqual): Implemented default URL equality check.
12801         (hashCode): Implemented default URL hashCode algorithm.
12802         * java/net/natPlainDatagramSocketImpl.cc:
12803         No lines longer then 80 characters.
12804
12805 2002-10-20  Adam Megacz <adam@xwt.org>
12806
12807         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
12808         * configure.in: enabled hash sync on Win32
12809         * include/win32-threads.h (_Jv_ThreadId_t): added.
12810         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
12811         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
12812         removed some posix-isms, use Thread::sleep() instead of usleep,
12813         added code to clear bottom three bits if platform has a broken
12814         linker.
12815         * include/win32-threads.h (_Jv_ThreadId_t): added.
12816
12817 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
12818
12819         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
12820         runtime property "gnu.gcj.progname" containing the name used to
12821         invoke the current Java program (similar to argv[0] for C
12822         programs).
12823
12824 2002-10-15  Tom Tromey  <tromey@redhat.com>
12825
12826         Fix for PR libgcj/8234:
12827         * java/util/zip/natInflater.cc (reset): Reset avail_in.
12828         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
12829
12830 2002-10-13  Mark Wielaard  <mark@klomp.org>
12831
12832         * mauve-libgcj: Enable Mauve tests that compile now.
12833
12834 2002-10-11  Mark Wielaard  <mark@klomp.org>
12835
12836         Fix for PR libgcj/8142
12837         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
12838         loading native modules.
12839
12840 2002-10-10  Michael Koch  <konqueror@gmx.de>
12841
12842         * javax/swing/AbstractListModel.java
12843         (getListDataListeners): New stubbed method.
12844         javax/swing/DefaultBoundedRangeModel.java
12845         (getChangeListeners): New stubbed method.
12846         javax/swing/DefaultSingleSelectionModel.java
12847         (getChangeListeners): New stubbed method.
12848
12849 2002-10-10  Michael Koch  <konqueror@gmx.de>
12850
12851         * gcj/.cvsignore: New file to ignore files generated during build.
12852         * include/.cvsignore: New file to ignore files generated during build.
12853
12854 2002-10-10  Michael Koch  <konqueror@gmx.de>
12855
12856         * java/net/HttpURLConnection.java
12857         (getPermission): New method.
12858         (getErrorStream): New stub method.
12859         (getHeaderFieldDate): New stub method.
12860         * java/net/Inet4Address.java:
12861         (isLinkLocalAddress): Typo fixed.
12862         * java/net/InetAddress.java:
12863         (readResolve): New stubbed method (for serialization).
12864         (isAnyLocalAddress): New stubbed method.
12865         (isLoopbackAddress): New stubbed method.
12866         (isLinkLocalAddress): New stubbed method.
12867         (isSiteLocalAddress): New stubbed method.
12868         (isMCGlobal): New stubbed method.
12869         (isMCNodeGlobal): New stubbed method.
12870         (isMCLinkLocal): New stubbed method.
12871         (isMCSiteLocal): New stubbed method.
12872         (isMCOrgLocal): New stubbed method.
12873         (getCanonicalHostName): New stubbed method.
12874         (getByAddress): Create instances of Inet4Address/Inet6Address,
12875         instead of InetAddress, documentation added.
12876         * java/net/MulticastSocket.java
12877         (getInterface): Removed FIXME.
12878         (getNetworkInterface): New method.
12879         (setNetworkInterface): New method.
12880         * java/net/NetworkInterface.java:
12881         (toString): Use property "line.separator" instead of "\n".
12882         * java/net/URLConnection.java
12883         (getContent): New stubbed method.
12884         * java/net/URLStreamHandler.java:
12885         (equals): New stubbed method.
12886         (hostsEqual): New stubbed method.
12887         (hashCode): New stubbed method.
12888         * java/net/natNetworkInterface.cc:
12889         (getRealNetworkInterfaces): Create Inet4Address object
12890         instead of InetAddress.
12891
12892 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
12893
12894         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
12895         unsigned long temporary to implement insn_iushr shifts.
12896
12897 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
12898
12899         * configure.host [s390*-*]: Enable Java interpreter.
12900         Enable hash synchronization.  Add sysdeps dir.
12901         * sysdep/s390/locks.h: New file.
12902
12903 2002-10-06  Mark Wielaard  <mark@klomp.org>
12904
12905         * java/lang/Thread.java (setDaemon): Check startable_flag,
12906         not isAlive().
12907
12908 2002-10-07  Michael Koch  <konqueror@gmx.de>
12909
12910         * java/nio/Buffer.java: New stub file.
12911         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
12912         of class Charset.
12913         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
12914         * Makefile.in: Regenerated.
12915
12916 2002-10-07  Michael Koch  <konqueror@gmx.de>
12917
12918         * java/nio/ByteBuffer.java:
12919         removed import of not commited class.
12920
12921 2002-10-07  Michael Koch  <konqueror@gmx.de>
12922
12923         * java/nio/ByteBuffer.java,
12924         java/nio/MappedByteBuffer.java:
12925         New files, forgot to add these dummies.
12926         * Makefile.am (java_native_source_files): Added new files.
12927         * Makefile.in: Regenerated.
12928
12929 2002-10-07  Michael Koch  <konqueror@gmx.de>
12930
12931         * java/nio/channels/AlreadyConnectedException.java,
12932         java/nio/channels/ClosedChannelException.java,
12933         java/nio/channels/ReadableByteChannel.java,
12934         java/nio/channels/InterruptibleChannel.java,
12935         java/nio/channels/Channel.java,
12936         java/nio/channels/ByteChannel.java,
12937         java/nio/channels/GatheringByteChannel.java,
12938         java/nio/channels/ScatteringByteChannel.java,
12939         java/nio/channels/WritableByteChannel.java,
12940         java/nio/charset/CharacterCodingException.java,
12941         java/nio/charset/IllegalCharsetNameException.java,
12942         java/nio/charset/MalformedInputException.java,
12943         java/nio/charset/UnmappableCharacterException.java,
12944         java/nio/charset/UnsupportedCharsetException.java,
12945         java/nio/charset/spi/CharsetProvider.java: New file.
12946         These files are exceptions or interfaces,
12947         no real or abstract classes.
12948         * Makefile.am (java_native_source_files): Added new files.
12949         * Makefile.in: Regenerated.
12950
12951 2002-10-05  Michael Koch  <konqueror@gmx.de>
12952
12953         * java/net/InetAddress.java
12954         (getByAddress): Fixed documentation.
12955         (getByAddress): New method.
12956         * java/net/Inet4Address.java: New file.
12957         * java/net/URL.java
12958         (URL): Documentation added.
12959         (getContent): Documentation added.
12960         (getContent): New stubbed method.
12961         (getQuery): New method.
12962         (openConnection): Documentation added.
12963         (openStream): Documentation added.
12964         (setURLStreamHandlerFactory): Documentation added.
12965         * java/net/URI.java: New stub file.
12966         * Makefile.am
12967         (java_native_source_files): Added java/net/Inet4Address.java,
12968         java/net/Inet6Address.java and java/net/URI.java.
12969         * Makefile.in: Regenerated.
12970
12971 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
12972
12973         * java/lang/ProtectionDomain.java (linesep): Remove field.
12974         (toString): Use System.getProperty("line.separator").
12975
12976 2002-10-04  Michael Koch  <konqueror@gmx.de>
12977
12978         * java/security/Identity.java: Added serialVersionUID.
12979         * java/security/KeyPair.java: Added serialVersionUID.
12980         * java/security/Provider.java: Added serialVersionUID.
12981         * java/security/SecureRandom.java: Added serialVersionUID.
12982         * java/security/SecureRandomSpi.java: Added serialVersionUID.
12983         * java/security/SignedObject.java: Added serialVersionUID.
12984         * java/security/cert/Certificate.java: Added serialVersionUID.
12985
12986 2002-10-04  Mark Wielaard <mark@klomp.org>
12987
12988         * java/security/Security.java: Use java.home or gnu.classpath.home
12989         to load providers.
12990         (loadProviders): Extra dir argument.
12991         (getProvider): Return null when not found.
12992
12993 2002-10-04  Mark Wielaard  <mark@klomp.org>
12994
12995         * java/lang/Throwable.java: Remerge with Classpath.
12996
12997 2002-10-04  Michael Koch  <konqueror@gmx.de>
12998
12999         * java/net/InetAddress.java:
13000         (isMulticastAddress): Added documentation.
13001         (getHostAddress): Added documentation.
13002         (toString): Added documentation.
13003         (getByAddress): Fixed documentation.
13004         (getByName): Added documentation.
13005         (getAllByName): Added documentation.
13006         (getLocalHost): Added documentation.
13007
13008 2002-10-04  Michael Koch  <konqueror@gmx.de>
13009
13010         * java/beans/beancontext/BeanContextChildSupport.java:
13011         Added serialVersionUID.
13012         * java/text/Collator.java: (compare): Made documentation HTML-aware.
13013         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
13014         * javax/naming/Name.java: Added serialVersionUID.
13015
13016 2002-10-03  Adam Megacz <adam@xwt.org>
13017
13018         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
13019         some functionality that isn't supported yet on WIN32.
13020
13021 2002-10-03  Tom Tromey  <tromey@redhat.com>
13022
13023         * Makefile.in: Rebuilt.
13024         * Makefile.am (awt_java_source_files): Added new files.
13025
13026 2002-10-03  Michael Koch  <konqueror@gmx.de>
13027
13028         * java/net/InetAddress.java
13029         (class InetAddress): Removed final keyword.
13030         (equals): Fixed typo.
13031         (getByAddress): New method.
13032
13033 2002-10-03  Michael Koch  <konqueror@gmx.de>
13034
13035         * java/awt/dnd/Autoscroll.java:
13036         New file, merge from Classpath.
13037         * java/awt/dnd/DragSourceAdapter.java:
13038         (dragExit): Fixed typos in argument type.
13039         (dragDropEnd): Fixed typos in argument type.
13040         * java/awt/dnd/DragSourceDropEvent.java:
13041         New file, merge from Classpath.
13042         * java/awt/dnd/DropTarget.java:
13043         Added stubs, merge from Classpath.
13044         * java/awt/dnd/DropTargetAdapter.java:
13045         New file, merge from Classpath.
13046         * java/awt/dnd/DropTargetContext.java:
13047         New file, merge from Classpath.
13048         * java/awt/dnd/DropTargetDragEvent.java:
13049         New file, merge from Classpath.
13050         * java/awt/dnd/DropTargetDropEvent.java:
13051         New file, merge from Classpath.
13052         * java/awt/dnd/DropTargetEvent.java:
13053         New file, merge from Classpath.
13054         * java/awt/dnd/DropTargetListener.java:
13055         New file, merge from Classpath.
13056         * java/awt/dnd/MouseDragGestureRecognizer.java:
13057         New file, merge from Classpath.
13058         * java/awt/dnd/peer/DropTargetContextPeer.java:
13059         New file, merge from Classpath.
13060
13061 2002-10-03  Michael Koch  <konqueror@gmx.de>
13062
13063         * java/net/DatagramPacket.java
13064         (setLength): Fixed typo and be HTML-aware.
13065         * java/net/InetSocketAddress.java
13066         (InetSocketAddress): Correct initialization of hostname, fixed typo.
13067         (equals): Added comment about equality of InetSocketAddress objects.
13068         * java/net/ServerSocket.java
13069         (accept): Added checks.
13070         (isClosed): New stubbed method.
13071         * java/net/SocketOptions.java: Reindention.
13072         * java/net/SocketPermission
13073         (SocketPermission): Documentation fixed.
13074
13075 2002-10-03  Michael Koch  <konqueror@gmx.de>
13076
13077         * java/net/DatagramSocket.java
13078         (receive): Check with SecurityManager AFTER the packet is received,
13079         check if connected to multicast address, documentation added.
13080         (send): Only check SecurityManager if connected, check address of
13081         packet to send.
13082         (connect): Implemented, documentation added.
13083         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
13084         * java/net/InetSocketAddress.java
13085         (whole file): Reindented.
13086         (hostname): New attribute.
13087         (InetSocketAddress): Initialize new attribute.
13088         (getAddress): Documentation added.
13089         (getHostName): Documentation added.
13090         (getPort): Documentation added.
13091         (hashCode): Documentation added.
13092         (isUnresolved): Documentation added.
13093         (toString): Conform to output of JDK 1.4.1, documentation added.
13094         * java/net/MulticastSocket.java
13095         (joinGroup): Removed FIXME, documentation added.
13096         (leaveGroup): Removed FIXME, documentation added.
13097         (send): Documentation added.
13098         * java/net/Socket.java
13099         (inputShutdown): New variable.
13100         (outputShutdown): New variable.
13101         (Socket): Initialize new variables.
13102         (getRemoteSocketAddress): Check if connected.
13103         (shutdownInput): Set new variable.
13104         (shutdownOutput): Set new variable.
13105         (isConnected): New method.
13106         (isClosed): New method.
13107         (isInputShutdown): New method.
13108         (isOutputShutdown): New method.
13109         * java/net/URLStreamHandler.java
13110         (URLStreamHandler): New method.
13111         (openConnection): Added documentation.
13112         (parseURL): Added documentation.
13113         (getHostAddress): New method.
13114         (getDefaultPort): New method.
13115
13116 2002-10-02  Tom Tromey  <tromey@redhat.com>
13117
13118         * java/rmi/activation/ActivationDesc.java,
13119         java/rmi/activation/ActivationGroupDesc.java,
13120         java/rmi/activation/ActivationGroupID.java,
13121         java/rmi/activation/ActivationID.java: New versions from
13122         Classpath.
13123
13124 2002-09-30  Bo Thorsen  <bo@suse.de>
13125
13126         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
13127
13128 2002-09-30  Tom Tromey  <tromey@redhat.com>
13129
13130         * java/io/ObjectInputStream.java (resolveProxyClass): New method
13131         from Classpath.
13132         * Makefile.in: Rebuilt.
13133         * Makefile.am (rmi_java_source_files): Added new files.
13134         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
13135         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
13136         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
13137         Classpath.
13138         * gnu/java/rmi/dgc/DGCImpl.java,
13139         gnu/java/rmi/dgc/DGCImpl_Skel.java,
13140         gnu/java/rmi/dgc/DGCImpl_Stub.java,
13141         gnu/java/rmi/registry/RegistryImpl_Skel.java,
13142         gnu/java/rmi/registry/RegistryImpl_Stub.java,
13143         gnu/java/rmi/server/RMIHashes.java,
13144         gnu/java/rmi/server/RMIObjectInputStream.java,
13145         gnu/java/rmi/server/RMIObjectOutputStream.java,
13146         gnu/java/rmi/server/UnicastConnection.java,
13147         gnu/java/rmi/server/UnicastConnectionManager.java,
13148         gnu/java/rmi/server/UnicastRef.java,
13149         gnu/java/rmi/server/UnicastServer.java,
13150         gnu/java/rmi/server/UnicastServerRef.java,
13151         java/rmi/MarshalledObject.java,
13152         java/rmi/server/RMIClassLoader.java,
13153         java/rmi/server/RemoteObject.java,
13154         java/rmi/server/UnicastRemoteObject.java,
13155         java/security/SecureClassLoader.java: Merged from Classpath.
13156
13157 2002-09-29  Anthony Green  <green@redhat.com>
13158
13159         * java/lang/reflect/UndeclaredThrowableException.java: New file.
13160         Imported from GNU Classpath.
13161         * java/lang/reflect/natProxy.cc: New file.
13162         * java/lang/reflect/InvocationHandler.java: New file.  Imported
13163         from GNU Classpath.
13164         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
13165         Classpath.
13166         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
13167         Classpath.
13168         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
13169         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
13170         New statics.
13171         * gcj/javaprims.h ("Java"): Add new classes.
13172         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
13173         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
13174         java/lang/reflect/Proxy$$ProxyType.h): And this.
13175         (inner_nat_headers): Add these new headers.
13176         (ordinary_java_source_files): Add new files.
13177         (nat_source_files): Add new file.
13178         * Makefile.in: Rebuilt.
13179
13180 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
13181
13182         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
13183         a single configuration.
13184
13185 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13186
13187         * java/util/TimeZone.java (getDSTSavings): New method.
13188         Fixes PR libgcj/7786.
13189
13190 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13191
13192         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
13193         to see if `the_method == 0' before looking up vtable index.
13194         Fixes PR libgcj/7709.
13195
13196 2002-09-25  Tom Tromey  <tromey@redhat.com>
13197
13198         * java/lang/natClassLoader.cc:
13199         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
13200         * resolve.cc: Include NoClassDefFoundError.h, not
13201         ClassNotFoundException.h.
13202         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
13203
13204         * defineclass.cc: Don't include ClassNotFoundException.h.
13205
13206         * resolve.cc: Include StringBuffer.
13207         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
13208
13209         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
13210         allocated but not initialized.
13211
13212 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13213
13214         Fix for PR libgcj/7766:
13215         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
13216         (getNextEntry): Set it.
13217         (closeEntry): Likewise.
13218         (read): Likewise.
13219         (close): Likewise.
13220         (available): Use it.
13221
13222 2002-09-25  Michael Koch  <konqueror@gmx.de>
13223
13224         * java/net/DatagramSocket.java
13225         (DatagramSocket): Initialize new instance variables.
13226         (close): Reset new instance variables.
13227         (getLocalAddress): Remove unneeded SecurityManager usage.
13228         (getLocalPort): Check if socket is already bound.
13229         (isConnected): New method.
13230         (getInetAddress): Implemented.
13231         (getPort): Better Implementation, documentation fixed.
13232         (getRemoteSocketAddress): New method.
13233         * java/net/JarURLConnection.java
13234         (element): Typo fixed.
13235         (getMainAttributes): New method.
13236         (getAttributes): New method (stub only).
13237         (getManifest): New method (stub only).
13238         * java/net/NetPermission.java: Added serialVersionsUID.
13239         * java/net/Socket.java
13240         (connect): Check blocking mode of associated channel,
13241         documentation added.
13242         (getLocalSocketAddress): Better implementation.
13243         (getRemoteSocketAddress): Implemented.
13244         (isBound): New method.
13245         (setSendBufferSize): Documentation added.
13246         * java/net/SocketAddress.java: Added serialVersionsUID.
13247         * java/net/SocketPermission.java: Added serialVersionsUID.
13248         * java/net/URL.java
13249         (URL): Wrap for shorter lines, initialize new instance variables,
13250         documentation added.
13251         (equals): Check new instance variables too.
13252         (getContent): Documentation added.
13253         (getPath): Documentation added.
13254         (getAuthority): New method.
13255         (getHost): Documentation added.
13256         (getPort): Documentation added.
13257         (getDefaultPort): New method.
13258         (getProtocol): Documentation added.
13259         (getUserInfo): Documentation added.
13260         (set): Initialize new instance variables, documentation added.
13261         * java/net/URLStreamHandler.java
13262         (setURL): New method.
13263         * java/net/natPlainDatagramSocketImpl.cc
13264         (connect): Fix exception name.
13265         (disconnect): Fix exception name.
13266
13267 2002-09-25  Michael Koch  <konqueror@gmx.de>
13268
13269         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
13270         * java/nio/channels/DatagramChannel.java:
13271         extends AbstractSelectableChannel
13272         * java/nio/channels/ServerSocketChannel.java:
13273         extends AbstractSelectableChannel
13274         * java/nio/channels/SocketChannel.java:
13275         extends AbstractSelectableChannel
13276         * Makefile.am (ordinary_java_source_files):
13277         java/nio/channels/spi/AbstractSelectableChannel.java added.
13278         * Makefile.in: Regenerated.
13279
13280 2002-09-25  Michael Koch  <konqueror@gmx.de>
13281
13282         * java/net/DatagramSocket.java
13283         (DatagramSocket): Exception documentation added.
13284         (bind): Exception documentation added, addded SecurityManager check,
13285         added SocketAddress type check.
13286         (getSoTimeout): Check impl.
13287         (receive): Fix SecurityManager check, check impl, documentation added.
13288         (send): Check channel mode, documentation added.
13289         (connect): New method.
13290         (disconnect): Implemented.
13291         (getLocalSocketAddress): New method.
13292         (getReceiveBufferSize): Check impl.
13293         (setReuseAddress): Check impl.
13294         (getReuseAddress): Check impl.
13295         (setBroadcast): Check impl.
13296         (getBroadcast): Check impl.
13297         (setTrafficClass): Check impl, Documentation cleared.
13298         (getTrafficClass): Check impl.
13299         (getSendBufferSize): Check impl.
13300         (setReceiveBufferSize): Check impl, documentation added.
13301         (setSendBufferSize): Documentation added.
13302         (setDatagramSocketImplFactory): New method.
13303         * java/net/HttpURLConnection.java
13304         (HTTP_INTERNAL_ERROR): The correct code is 500.
13305         (HTTP_NOT_IMPLEMENTED): Added new constant.
13306         (setFollowRedirects): Documentation added.
13307         (getInstanceFollowRedirects): New method.
13308         (setInstanceFollowRedirects): New method.
13309         (setRequestMethod): Documentation added.
13310         (getResponseCode): Documentation added.
13311         (getResponseMessage): Documentation added.
13312         * java/net/JarURLConnection.java
13313         (JarURLConnection): protected since JDK 1.4.
13314         (getJarEntry): java.io.IOException to IOException, documentation added.
13315         (getJarFile): Documentation added.
13316         * java/net/ServerSocket.java
13317         (ServerSocket): Private to public, exception added.
13318         (ServerSocket): java.io.IOException to IOException, documentation added.
13319         (bind): Check socket address type, documentation added.
13320         (bind): java.io.IOException to IOException, documentation added.
13321         (accept): Documentation added.
13322         (implAccept): Check ch is not non-blocking, documentation added.
13323         (setSoTimeout): Documentation fixed.
13324         (setReceiveBufferSize): Documentation added.
13325         * java/net/Socket.java
13326         (Socket): Documentation added.
13327         (bind): Documentation added.
13328         (connect): Check socket address type, documentation added.
13329         (getRemoteSocketAddress): New method.
13330         (getLocalSocketAddress): New method.
13331         (setSoLinger): Documentation added.
13332         (getReuseAddress): New method.
13333         (setReuseAddress): New method.
13334         (getTrafficClass): New method.
13335         (setTrafficClass): New method.
13336         * java/net/URLStreamHandler.java
13337         (openConnection): java.io.IOException to IOException.
13338         (parseURL): Documentation added.
13339         (sameFile): public to protected, documentation added.
13340         (setURL): Documentation added.
13341         * java/nio/IllegalBlockingModeException.java: New file.
13342         * Makefile.am (ordinary_java_source_files):
13343         added java/nio/IllegalBlockingModeException.java
13344         * Makefile.in: Regenerated.
13345
13346 2002-09-25  Michael Koch  <konqueror@gmx.de>
13347
13348         * java/net/DatagramPacket
13349         (DatagramPacket): Exception documentation added.
13350         (setData): Likewise.
13351         (setSocketAddress): Likewise.
13352         * java/net/DatagramSocketImpl.java
13353         (peek): Documentation addded.
13354         (peekData): Documentation addded.
13355         (send): Documentation addded.
13356         (receive): Documentation addded.
13357         (connect): New method.
13358         (disconnect): New method.
13359         (joinGroup): New abstract method.
13360         (leaveGroup): New abstract method.
13361         * java/net/InetSocketAddress.java
13362         (InetSocketAddress): Documentation added.
13363         (equals): final keyword added.
13364         (getAddress): final keyword added.
13365         (getHostName): final keyword added.
13366         (getPort): final keyword added.
13367         (hashCode): final keyword added.
13368         (isUnresolved): final keyword added.
13369         * java/net/MulticastSocket.java
13370         (MulticastSocket): Documentation added.
13371         (MulticastSocket): New method.
13372         (joinGroup): Documentation added.
13373         (joinGroup): New method.
13374         (leaveGroup): Documentation added.
13375         (leaveGroup): New method.
13376         (send): Documentation added.
13377         * java/net/NetworkInterface.java
13378         (getByName): Documentation added.
13379         (getByInetAddress): Documentation added.
13380         (getNetworkInterfaces): Documentation added.
13381         * java/net/PlainDatagramSocketImpl.java
13382         (connect): New method.
13383         (disconnect): New method.
13384         * java/net/SocketImpl.java
13385         (create): Documentation added.
13386         (shutdownInput): Convert public to protected, as it always was.
13387         (shutdownOutput): Convert public to protected, as it always was.
13388         * java/net/SocketOptions.java
13389         (whole file): Reintented.
13390         * java/net/URLClassLoader.java
13391         (URLClassLoader): SecurityManager check added, documentation added.
13392         (findResources): Documentation added.
13393         (findClass): Documentation added.
13394         (newInstance): More correct method arguments.
13395         * java/net/URLConnection.java
13396         (connect): Documentation added.
13397         (getContent): Documentation added.
13398         (getPermission): Documentation added.
13399         (getInputStream): Documentation added.
13400         (getOutputStream): Documentation added.
13401         (setDoInput): Throw correct exception, documentation added.
13402         (setDoOutput): Throw correct exception, documentation added.
13403         (setAllowUserInteraction): Throw correct exception, documentation added.
13404         (setUseCaches): Throw correct exception, documentation added.
13405         (setIfModifiedSince): Throw correct exception, documentation added.
13406         (setRequestProperty): Throw exception, documentation added.
13407         (addRequestProperty): Throw exception, documentation added.
13408         (getRequestProperty): Throw exception, documentation added.
13409         (getRequestProperties): Documentation added.
13410         (setContentHandlerFactory): Documentation added.
13411         (guessContentTypeFromName): protected to public.
13412         (setFileNameMap): Documentation added.
13413         * java/net/URLDecoder.java
13414         (URLDecoder): New method.
13415         (decode): Documentation added.
13416         (whole file): Reindented.
13417         * java/net/URLEncoder.java
13418         (encode): Documentation added.
13419         * java/net/natPlainDatagramSocketImpl.cc
13420         (connect): New method.
13421         (disconnect): New method.
13422         * javax/naming/RefAddr:
13423         (addrType): addrType was never final.
13424         (equals): Fix typo in method name.
13425         * javax/naming/BinaryRefAddr:
13426         (equals): Fix typo in method name.
13427
13428 2002-09-22  Tom Tromey  <tromey@redhat.com>
13429
13430         Fix for PR libgcj/6576:
13431         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
13432         didn't find a given bundle.
13433         (getBundle): Don't require base bundle.
13434         (setParent): Removed old comment.
13435         (tryLocalBundle): Try components even if preceding components were
13436         empty.
13437
13438 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13439
13440         * Makefile.am (all-multi): Fix multilib parallel build.
13441
13442 2002-09-21  Michael Koch  <konqueror@gmx.de>
13443
13444         * java/net/Socket.java
13445         (sendUrgentData): New method.
13446         (getChannel): New method.
13447         * java/net/ServerSocket.java
13448         (getChannel): New method.
13449         (isBound): New method.
13450         * java/net/DatagramSocket.java
13451         (DatagramSocket): Two new methods.
13452         (bind): New method.
13453         (getChannel): New method.
13454         (isBound): New method.
13455         (send): Added newline to to make shorter lines.
13456         * java/net/PlainDatagramSocketImpl.java
13457         (mcastGrp): Added argument.
13458         (join): Use new mcastGrp.
13459         (leave): Use new mcastGrp.
13460         (joinGroup): New method.
13461         (leaveGroup): New method.
13462         * java/net/natPlainDatagramSocketImpl.cc
13463         (mcastGrp): Added argument, no yet really implemented.
13464         (getOption): Added newline for shorter lines.
13465         * java/net/natPlainSocketImpl.cc
13466         (read, setOption, getOption): Added newline for shorter lines.
13467
13468 2002-09-19  Tom Tromey  <tromey@redhat.com>
13469
13470        * java/lang/ClassLoader.java (resolveClass0): Set cause for
13471        newly-created exception.
13472
13473 2002-09-18  Michael Koch  <konqueror@gmx.de>
13474
13475         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
13476         java/util/regex/PatternSyntaxException.java:
13477         Merge with classpath, new files.
13478         * Makefile.am (core_java_source_files):
13479         Added java/util/regex/Matcher.java,
13480         java/util/regex/Pattern.java,
13481         java/util/regex/PatternSyntaxException.java
13482         * Makefile.in: Regenerated.
13483         * include/config.h.in: Added HAVE_NET_IF_H.
13484         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
13485         Removed #if 0 ... #endif.
13486
13487 2002-09-17  Michael Koch  <konqueror@gmx.de>
13488
13489         * java/net/natNetworkInterface.cc:
13490         Removed unneed and yet wrong includes.
13491
13492 2002-09-17  Michael Koch  <konqueror@gmx.de>
13493
13494         * java/net/NetworkInterface.java: New file.
13495         * java/net/natNetworkInterface.java: New file.
13496         * configure.in: Added check for net/if.h.
13497         * configure: Regenerated.
13498         * Makefile.am
13499         (ordinary_java_source_files): Added NetworkInterface.java.
13500         (nat_source_files): Added natNetworkInterface.cc.
13501         * Makefile.in: Regenerated.
13502
13503 2002-09-16  Tom Tromey  <tromey@redhat.com>
13504
13505         * java/net/URLClassLoader.java (findClass): Code source for a
13506         class from a jar is not necessarily a jar: URL.
13507
13508 2002-09-16  Michael Koch  <konqueror@gmx.de>
13509
13510         * java/lang/AssertionError.java:
13511         Merge with classpath, fixes HTML.
13512         * java/rmi/server/LogStream.java:
13513         Merge with classpath, fixes some constants.
13514         * java/net/server/RemoteServer.java:
13515         Merge with classpath, adds serialVersionUID.
13516         * javax/naming/BinaryRefAddr.java:
13517         Merge with classpath, s/equal/equals/.
13518         * javax/naming/NamingException.java:
13519         Merge with classpath, fixed typo.
13520         * javax/naming/RefAddr.java:
13521         Merge with classpath, s/equal/equals/.
13522         * java/awt/Toolkit.java:
13523         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
13524         and typo fixed.
13525
13526 2002-09-15  Adam Megacz <adam@xwt.org>
13527
13528         * java/net/natPlainSocketImpl.cc: fixed typo.
13529
13530 2002-09-15  Adam Megacz <adam@xwt.org>
13531
13532         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
13533         which don't work on Win32 (yet).
13534
13535 2002-09-14  Adam Megacz <adam@xwt.org>
13536
13537         * java/net/natPlainDatagramSocket.cc: removed #include
13538         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
13539         * include/win32.h: included definition for IP_TOS to satisfy
13540         natPlainDatagramSocket.cc
13541
13542 2002-09-13  Michael Koch  <konqueror@gmx.de>
13543
13544         * java/net/DatagramPacket.java (DatagramPacket):
13545         Added linebreak for 80 chars per line.
13546         * java/net/JarURLConection.java
13547         (getInputStreami, getJarEntry): Likewise.
13548         * java/net/SocketPErmission.java
13549         (SocketPermission class docu, implies): Likewise.
13550         * java/net/URLClassLoader.java (findResources): Likewise.
13551         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
13552
13553 2002-09-13  Michael Koch  <konqueror@gmx.de>
13554
13555         * java/nio/channels/DatagramChannel.java,
13556         java/nio/channels/ServerSocketChannel.java
13557         java/nio/channels/SocketChannel.java:
13558         New dummy files to make java.net fully JDK 1.4 compatible
13559         * Makefile.am (ordinary_java_source_files): Added
13560         java/net/DatagramSocketImplFactory.java (long forgotten),
13561         java/nio/SocketChannel.java,
13562         java/nio/ServerSocketChannel.java,
13563         java/nio/DatagramChannel.java
13564         * Makefile.in: Regenrated.
13565
13566 2002-09-12  Michael Koch  <konqueror@gmx.de>
13567
13568         * java/net/DatagramSocketImpl.java
13569         (peekData): New method.
13570         * java/net/PlainDatagramSocketImpl.java
13571         (peekData): New method.
13572         * java/net/natPlainDatagramSocketImpl.cc
13573         (peekData): New method.
13574         * java/net/URLConnection
13575         (getPermission): New method.
13576         (addRequestProperty): New method.
13577         (getRequestProperties): New method.
13578         (guessContentTypeFromStream): New method, not really implemented.
13579         (URLConnection): Added/updated documentation.
13580         (connect): Added/updated documentation.
13581         (getURL): Added/updated documentation.
13582         (getContentLength): Added/updated documentation.
13583         (getContentType: Added/updated documentation.
13584         (getContentEncoding): Added/updated documentation.
13585         (getExpiration): Added/updated documentation.
13586         (getDate): Added/updated documentation.
13587         (getLastModified): Added/updated documentation.
13588         (getHeaderField): Added/updated documentation.
13589         (getHeaderFields): Added/updated documentation.
13590         (getHeaderFieldInt): Added/updated documentation.
13591         (getHeaderFieldDate): Added/updated documentation.
13592         (getHeaderFieldKey): Added/updated documentation.
13593         (getContent): Added/updated documentation.
13594         (getInputStream): Added/updated documentation.
13595         (getOutputStream): Added/updated documentation.
13596         (toString): Added/updated documentation.
13597         (setDoInput): Added/updated documentation.
13598         (getDoInput): Added/updated documentation.
13599         (setDoOutput): Added/updated documentation.
13600         (getDoOutput): Added/updated documentation.
13601         (setAllowUserInteraction): Added/updated documentation.
13602         (getAllowUserInteraction): Added/updated documentation.
13603         (setDefaultAllowUserInteraction): Added/updated documentation.
13604         (getDefaultAllowUserInteraction): Added/updated documentation.
13605         (setUseCaches): Added/updated documentation.
13606         (getUseCaches): Added/updated documentation.
13607         (setIfModifiedSince): Added/updated documentation.
13608         (getIfModifiedSince): Added/updated documentation.
13609         (getDefaultUseCaches): Added/updated documentation.
13610         (setDefaultUseCaches): Added/updated documentation.
13611         (setRequestProperty): Added/updated documentation.
13612         (getRequestProperty): Added/updated documentation.
13613         (setDefaultRequestProperty): Added/updated documentation.
13614         (getDefaultRequestProperty): Added/updated documentation.
13615         (setContentHandlerFactory): Added/updated documentation.
13616         (guessContentTypeFromName): Added/updated documentation.
13617         (getFileNameMap): Added/updated documentation.
13618         (setFileNameMap): Added/updated documentation.
13619
13620 2002-09-11  Michael Koch  <konqueror@gmx.de>
13621
13622         * java/net/Socket.java
13623         (Socket): protected to public (since JDK 1.4). Added @specnote.
13624         (bind): New method.
13625         (connect): Two new methods.
13626         (getKeepalive): Get correct socket option.
13627         (setKeepalive): Set correct socket option.
13628         (getOOBInline): New method.
13629         (setOOBInline): New method.
13630         * java/net/ServerSocket.java
13631         (bind): Two new methods.
13632         (getInetAddress): Reimplemented, catch exception.
13633         (getLocalSocketAddress): New method.
13634         (setReuseAddress): New method.
13635         (getReuseAdress): New method.
13636         (setReceiveBufferSize): New method.
13637         (getReceiveBufferSize): New method.
13638         (toString): Made string JDK 1.4 compliant.
13639
13640 2002-09-10  Michael Koch  <konqueror@gmx.de>
13641
13642         * java/net/SocketImpl.java
13643         (connect): New method.
13644         (supportsUrgentData): New method.
13645         (sendUrgentData): New method.
13646         * java/net/PlainSocketImpl.java
13647         (connect): One new method and two new implementation.
13648         (sendUrgentData): New method.
13649         * java/natPlainSocketImpl.cc
13650         (connect): Arguments changed, added support for timeouts.
13651         (getOption): Another __java_boolean to jboolean.
13652
13653 2002-09-07  Adam Megacz <adam@xwt.org>
13654
13655         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
13656         definition of IP_TOS.
13657
13658 2002-09-04  Michael Koch  <konqueror@gmx.de>
13659
13660         * java/net/DatagramSocket.java
13661         (DatagramSocket): Added documentation.
13662         (close): Likewise.
13663         (getLocalAddress): Likewise.
13664         (getLocalPort): Likewise.
13665         (receive): Likewise.
13666         (send): Likewise.
13667         (setSoTimeout): Likewise.
13668         (connect): New method.
13669         (disconnect): New method.
13670         (getInetAddress): New method (FIXME)
13671         (getPort): New method.
13672         (setReuseAddress): New method.
13673         (getReuseAddress): New method.
13674         (setBroadcast): New method.
13675         (getBroadcast): New method.
13676         (setTrafficClass): New method.
13677         (getTrafficClass): New method.
13678         * java/net/MulticastSocket.java):
13679         (getTTL): Added @see in documentation.
13680         (setTTL): Added @see in documentation.
13681         (setLoopbackMode): New method.
13682         (getLoopbackMode): New method.
13683         * java/net/PlainSocketImpl.java:
13684         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
13685         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13686         * java/net/PlainDatagramSocketImpl.java
13687         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
13688         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13689         * java/net/natPlainSocketImpl.cc
13690         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13691         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13692         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13693         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13694         This should also fix SO_KEEPALIVE
13695         * java/net/natPlainDatagramSocketImpl.cc
13696         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13697         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13698         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13699         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13700
13701 2002-09-04  Michael Koch  <konqueror@gmx.de>
13702
13703         * java/net/SocketOptions.java: added static variables to be JDK 1.4
13704         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
13705         IP_MULTICAST_LOOP, IP_TOS
13706
13707 2002-09-03  Tom Tromey  <tromey@redhat.com>
13708
13709         * java/lang/Class.h (_getDeclaredMethod): Declare.
13710         (_getMethod): Now private.
13711         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
13712         getDeclaredMethod.  Now returns NULL on failure.
13713         * java/lang/Class.java (_getDeclaredMethod): Declare.
13714         (getDeclaredMethod): No longer native; implements access checks.
13715
13716 2002-09-01  Mark Wielaard  <mark@klomp.org>
13717
13718         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
13719         (sanitizeStack): Correctly reset unknown and interpreter counters,
13720         detect interpreter runtime frames.
13721         (demangleInterpreterMethod): New method.
13722         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
13723         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
13724         filling in addrs[].
13725
13726 2002-09-02  Michael Koch  <konqueror@gmx.de>
13727
13728         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
13729         re-indented documentation.
13730
13731 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13732
13733         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
13734         public, per 1.4 spec.  Fixes PR libgcj/7785.
13735
13736 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
13737
13738         * Makefile.in: Rebuilt.
13739         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
13740
13741 2002-08-29  Tom Tromey  <tromey@redhat.com>
13742
13743         * java/net/JarURLConnection.java (getCertificates): New method
13744         from Classpath.
13745         * java/net/URLClassLoader.java (URLClassLoader): Extends
13746         SecureClassLoader.
13747         (definePackage): New method from Classpath.
13748         (getPermissions): Likewise.
13749         (newInstance): Likewise.
13750         (findClass): Construct CodeSource for new class (from Classpath).
13751         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
13752         methods.
13753         * java/net/URL.java (getUserInfo): New method.
13754         (set(String,String,int,String,String,String,String,String)): New
13755         method.
13756         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
13757         (shutdownInput, shutdownOutput): Declare.
13758         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
13759         Define.
13760         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
13761         (getOption): Likewise.
13762         (shutdownInput): New method.
13763         (shutdownOutput): Likewise.
13764         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
13765         keepalive.
13766         (getOption): Likewise.
13767         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
13768         * java/net/Socket.java (setKeepAlive): New method.
13769         (getKeepAlive): Likewise.
13770         (shutdownInput, shutdownOutput): New methods.
13771
13772 2002-08-29  Michael Koch  <konqueror@gmx.de>
13773
13774         * java/net/DatagramPacket.java: updated to JDK 1.4 API
13775         new methods are:
13776         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
13777           address),
13778         DatagramPacket(byte[] buf, int length, SocketAddress address),
13779         void setSocketAddress(SocketAddress address)
13780         public SocketAddress getSocketAddress()
13781
13782 2002-08-29  Tom Tromey  <tromey@redhat.com>
13783
13784         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
13785         ftruncate is missing.
13786         * configure, include/config.h.in: Rebuilt.
13787         * acconfig.h (HAVE_FTRUNCATE): Mention.
13788         * configure.in: Check for ftruncate.
13789
13790 2002-08-29  Tom Tromey  <tromey@redhat.com>
13791
13792         * include/jvm.h (struct _Jv_frame_info): New structure.
13793         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
13794         java-interp.h.
13795         (lookupInterp): New method.
13796         (getAddrAsString): Use _Jv_frame_info.
13797         (dladdrLookup): Likewise.
13798         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
13799         interpreted frame.
13800         (lookupInterp): Declare.
13801         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
13802         (fillInStackTrace): Collect information on interpreted frames.
13803         Use _Jv_frame_info.
13804         * interpret.cc: Include Thread.h.
13805         (run): Create and push _Jv_MethodChain object.
13806         (_Jv_EndOfInterpreter): New global.
13807         * java/lang/Thread.java (interp_frame): New field.
13808         * include/java-interp.h (struct _Jv_MethodChain): New structure.
13809         Include NameFinder.h.
13810
13811 2002-08-28  Tom Tromey  <tromey@redhat.com>
13812
13813         * java/lang/Class.h: Include Package.h.
13814         (Class::getProtectionDomain): Declare.
13815         (Class::getPackage): Declare.
13816
13817 2002-08-28  Michael Koch <konqueror@gmx.de>
13818
13819         * java/net/InetSocketAddress.java: Added some documentation and argument
13820         checks for the port numbers.
13821         * java/net/DatagramSocketImplFactory.java: New file.
13822
13823 2002-08-28  Michael Koch <konqueror@gmx.de>
13824
13825         * java/net/Authenticator.java: added some documentation.
13826
13827 2002-08-27  Tom Tromey  <tromey@redhat.com>
13828
13829         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
13830         class.
13831         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
13832
13833 2002-08-27  Michael Koch <konqueror@gmx.de>
13834
13835         * java/net/BindException.java,
13836         java/net/JarURLConnection.java,
13837         java/net/FileNameMap.java,
13838         java/net/HttpURLConnection.java,
13839         java/net/InetSocketAddress.java,
13840         java/net/DatagramPacket.java,
13841         java/net/DatagramSocket.java,
13842         java/net/DatagramSocketImpl.java,
13843         java/net/MulticastSocket.java,
13844         java/net/PasswordAuthentication.java,
13845         java/net/ServerSocket.java,
13846         java/net/Socket.java,
13847         java/net/URLClassLoader.java,
13848         java/net/URLConnection.java: add/update of some @since/@deprecated
13849
13850 2002-08-27  Tony Kimball <alk@pobox.com>
13851             Tom Tromey  <tromey@redhat.com>
13852
13853         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
13854         define.
13855         (::close): Removed.
13856         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
13857         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
13858         (::close): Removed.
13859         (PlainSocketImpl::close): Use NATIVE_CLOSE.
13860         * include/win32.h (getcwd): Removed declaration.  Include io.h.
13861
13862 2002-08-25  Adam Megacz <adam@xwt.org>
13863
13864         * include/win32.h (getcwd): copied function declaration as
13865         temporary fix for header confusion.
13866
13867 2002-08-24  Mark Wielaard <mark@klomp.org>
13868
13869         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
13870         (core_java_source_files): Add VMThrowable.java and NameFinder.java
13871         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
13872         and natNameFinder.cc.
13873         * Makefile.in: Regenerate.
13874         * prims.cc: Use trace_enabled from VMThrowable.
13875         * name-finder.cc: Removed.
13876         * gcj/javaprims.h: Add class VMThrowable.
13877         * gnu/gcj/runtime/NameFinder.java: New file.
13878         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
13879         * include/name-finder.h: Removed.
13880         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
13881         method stackTraceString().
13882         (printStackTrace (PrintWriter)): Likewise.
13883         (stackTraceString): Complete rewrite of old printStackTrace using
13884         StringBuffer.
13885         (stackTraceStringBuffer): New helper method for stackTraceString().
13886         (fillInStackTrace): Delegate to VMTrowable.
13887         (getStackTrace): Likewise.
13888         (getStackTrace0): Removed.
13889         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
13890         (setStackTrace): Copy given array.
13891         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
13892         * java/lang/VMThrowable.java: New class.
13893         * java/lang/natVMThrowable.cc: New file.
13894
13895 2003-08-23  Michael Koch  <konqueror@gmx.de>
13896
13897         * java/net/URLConnection.java,
13898         java/netJarURLConnection.java,
13899         gnu/gcj/protocol/core/Connection.java,
13900         gnu/gcj/protocol/file/Connection.java,
13901         gnu/gcj/protocol/http/Connection.java: Added implementation of
13902         getHeaderFields().
13903
13904 2002-08-22  Tom Tromey  <tromey@redhat.com>
13905
13906         * gij.cc (help): Document -cp and -classpath.
13907         (main): Handle -classpath.
13908
13909 2002-08-21  Tom Tromey  <tromey@redhat.com>
13910
13911         * Makefile.in: Rebuilt.
13912         * Makefile.am (ordinary_java_source_files): Added
13913         SocketAddress.java, InetSocketAddress.java.
13914         * java/net/PortUnreachableException.java: Merged with Classpath.
13915         * java/net/SocketTimeoutException.java: Likewise.
13916         * java/net/URISyntaxException.java: Likewise.
13917         * java/net/SocketAddress.java: New class from Classpath.
13918         * java/net/InetSocketAddress.java: Likewise.
13919
13920 2003-08-21  Michael Koch  <konqueror@gmx.de>
13921
13922         * java/net/Authenticator.java: updated JDK 1.4
13923         * java/net/ContentHandler.java: updated JDK 1.4
13924
13925 2002-08-20  Michael Koch  <konqueror@gmx.de>
13926
13927         * java/net/URISyntaxException.java: New file.
13928         * java/net/SocketTimeoutException.java: New file.
13929         * java/net/PortUnreachableException.java: New file.
13930         * Makefile.am: Updated.
13931         * Makefile.in: Rebuilt.
13932
13933 2002-08-18  Mark Wielaard  <mark@klomp.org>
13934
13935         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
13936         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13937         MessageDigestSpi (fixes Classpath bug #783).
13938
13939 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13940
13941         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
13942         (startProcess): Allocate path for chdir in async-signal-safe way.
13943
13944 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13945
13946         Fix for PR libgcj/7570 and PR libgcj/7578:
13947         * java/lang/natPosixProcess.cc: Include java/io/File.h.
13948         (startProcess): Handle new `dir' argument.
13949         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
13950         argument.
13951         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
13952         argument.
13953         (startProcess): Likewise.
13954         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
13955         argument.
13956         * java/lang/Runtime.java (execInternal): Added `dir' argument.
13957         (exec): Don't create new environment if ENV==null.  Pass DIR to
13958         execInternal.
13959         * java/lang/natRuntime.cc: Include java/io/File.h.
13960         (execInternal): Added `dir' argument.
13961
13962 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
13963
13964         * java/io/RandomAccessFile.java (skipBytes): Return number of
13965         bytes skipped.
13966
13967 2002-08-01  Mark Wielaard  <mark@klomp.org>
13968
13969         Reenable patch since shared library troubles on powerpc are solved:
13970         * gnu/java/security/provider/Gnu.java: Reference all implementation
13971         classes by using Class.getName().
13972         * gnu/java/security/der/DEREncodingException.java,
13973         gnu/java/security/provider/DERReader.java,
13974         gnu/java/security/provider/DERWriter.java,
13975         gnu/java/security/provider/DSAKeyPairGenerator.java,
13976         gnu/java/security/provider/DSAParameterGenerator.java,
13977         gnu/java/security/provider/DSAParameters.java,
13978         gnu/java/security/provider/DSASignature.java,
13979         gnu/java/security/provider/GnuDSAPrivateKey.java,
13980         gnu/java/security/provider/GnuDSAPublicKey.java,
13981         gnu/java/security/provider/MD5.java,
13982         gnu/java/security/util/Prime.java: New classes
13983         * Makefile.am (ordinary_java_source_files): Add above files.
13984         * Makefile.in: Regenerate.
13985         * gnu/java/security/provider/DefaultPolicy.java
13986         (getPermissions): Don't maintain static class variable of Permissions.
13987         * gnu/java/security/provider/SHA.java
13988         (engineUpdate): algorithm change.
13989         (engineDigest): algorithm change.
13990
13991 2002-08-09  Mark Wielaard  <mark@klomp.org>
13992
13993         * java/awt/image/MemoryImageSource.java: Change constructor to take
13994         int[] not byte[].
13995         * java/awt/Graphics2D.java: Uncomment methods that can now be
13996         compiled.
13997         * java/awt/GridBagLayout.java: New stub implementation.
13998         * javax/swing/text/html/HTML.java: Stub implementation.
13999         * javax/swing/text/html/parser/ParserDelegator.java: New stub
14000         implementation.
14001
14002         * Makefile.am: Add new files.
14003         * Makefile.in: Rebuilt.
14004
14005 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14006
14007         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
14008         methods in Graphics2D.
14009
14010 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14011
14012         AWT/Swing merge from GNU Classpath.
14013
14014         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
14015         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
14016         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
14017         java/awt/color/ProfileDataException.java,
14018         java/awt/CompositeContext.java, java/awt/Composite.java,
14019         java/awt/ContainerOrderFocusTraversalPolicy.java,
14020         java/awt/datatransfer/FlavorTable.java,
14021         java/awt/DefaultFocusTraversalPolicy.java,
14022         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
14023         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
14024         java/awt/dnd/DragGestureListener.java,
14025         java/awt/dnd/DragGestureRecognizer.java,
14026         java/awt/dnd/DragSourceAdapter.java,
14027         java/awt/dnd/DragSourceContext.java,
14028         java/awt/dnd/DragSourceDragEvent.java,
14029         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
14030         java/awt/dnd/DragSourceListener.java,
14031         java/awt/dnd/DragSourceMotionListener.java,
14032         java/awt/dnd/DropTarget.java,
14033         java/awt/dnd/InvalidDnDOperationException.java,
14034         java/awt/dnd/peer/DragSourceContextPeer.java,
14035         java/awt/event/AWTEventListenerProxy.java,
14036         java/awt/event/MouseWheelEvent.java,
14037         java/awt/event/MouseWheelListener.java,
14038         java/awt/event/WindowFocusListener.java,
14039         java/awt/event/WindowStateListener.java,
14040         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
14041         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
14042         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
14043         java/awt/geom/FlatteningPathIterator.java,
14044         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
14045         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
14046         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
14047         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
14048         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
14049         java/awt/image/ImagingOpException.java,
14050         java/awt/image/RasterFormatException.java,
14051         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
14052         java/awt/image/VolatileImage.java,
14053         java/awt/image/WritableRenderedImage.java,
14054         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
14055         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
14056         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
14057         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
14058         java/awt/PageAttributes.java, java/awt/print/Book.java,
14059         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
14060         java/awt/print/Paper.java, java/awt/print/Printable.java,
14061         java/awt/print/PrinterAbortException.java,
14062         java/awt/print/PrinterException.java,
14063         java/awt/print/PrinterGraphics.java,
14064         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
14065         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
14066         java/awt/Stroke.java, java/awt/TexturePaint.java,
14067         javax/accessibility/AccessibleAction.java,
14068         javax/accessibility/AccessibleBundle.java,
14069         javax/accessibility/AccessibleComponent.java,
14070         javax/accessibility/AccessibleContext.java,
14071         javax/accessibility/AccessibleEditableText.java,
14072         javax/accessibility/AccessibleExtendedComponent.java,
14073         javax/accessibility/AccessibleExtendedTable.java,
14074         javax/accessibility/AccessibleHyperlink.java,
14075         javax/accessibility/AccessibleHypertext.java,
14076         javax/accessibility/AccessibleIcon.java,
14077         javax/accessibility/Accessible.java,
14078         javax/accessibility/AccessibleKeyBinding.java,
14079         javax/accessibility/AccessibleRelation.java,
14080         javax/accessibility/AccessibleRelationSet.java,
14081         javax/accessibility/AccessibleResourceBundle.java,
14082         javax/accessibility/AccessibleRole.java,
14083         javax/accessibility/AccessibleSelection.java,
14084         javax/accessibility/AccessibleState.java,
14085         javax/accessibility/AccessibleStateSet.java,
14086         javax/accessibility/AccessibleTable.java,
14087         javax/accessibility/AccessibleTableModelChange.java,
14088         javax/accessibility/AccessibleText.java,
14089         javax/accessibility/AccessibleValue.java,
14090         javax/swing/AbstractAction.java,
14091         javax/swing/AbstractButton.java,
14092         javax/swing/AbstractCellEditor.java,
14093         javax/swing/AbstractListModel.java,
14094         javax/swing/AbstractSet.java, javax/swing/Action.java,
14095         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
14096         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
14097         javax/swing/border/CompoundBorder.java,
14098         javax/swing/border/EmptyBorder.java,
14099         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
14100         javax/swing/border/LineBorder.java,
14101         javax/swing/border/MatteBorder.java,
14102         javax/swing/border/TitledBorder.java,
14103         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
14104         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
14105         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
14106         javax/swing/CellRendererPane.java,
14107         javax/swing/colorchooser/AbstractColorChooserPanel.java,
14108         javax/swing/colorchooser/ColorChooserComponentFactory.java,
14109         javax/swing/colorchooser/ColorSelectionModel.java,
14110         javax/swing/colorchooser/DefaultColorSelectionModel.java,
14111         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
14112         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
14113         javax/swing/DefaultBoundedRangeModel.java,
14114         javax/swing/DefaultButtonModel.java,
14115         javax/swing/DefaultCellEditor.java,
14116         javax/swing/DefaultCellRenderer.java,
14117         javax/swing/DefaultComboBoxModel.java,
14118         javax/swing/DefaultDesktopManager.java,
14119         javax/swing/DefaultFocusManager.java,
14120         javax/swing/DefaultListCellRenderer.java,
14121         javax/swing/DefaultListModel.java,
14122         javax/swing/DefaultListSelectionModel.java,
14123         javax/swing/DefaultSingleSelectionModel.java,
14124         javax/swing/DesktopManager.java,
14125         javax/swing/event/AncestorEvent.java,
14126         javax/swing/event/AncestorListener.java,
14127         javax/swing/event/CaretEvent.java,
14128         javax/swing/event/CaretListener.java,
14129         javax/swing/event/CellEditorListener.java,
14130         javax/swing/event/ChangeEvent.java,
14131         javax/swing/event/ChangeListener.java,
14132         javax/swing/event/DocumentEvent.java,
14133         javax/swing/event/DocumentListener.java,
14134         javax/swing/event/EventListenerList.java,
14135         javax/swing/event/HyperlinkEvent.java,
14136         javax/swing/event/HyperlinkListener.java,
14137         javax/swing/event/InternalFrameAdapter.java,
14138         javax/swing/event/InternalFrameEvent.java,
14139         javax/swing/event/InternalFrameListener.java,
14140         javax/swing/event/ListDataEvent.java,
14141         javax/swing/event/ListDataListener.java,
14142         javax/swing/event/ListSelectionEvent.java,
14143         javax/swing/event/ListSelectionListener.java,
14144         javax/swing/event/MenuDragMouseEvent.java,
14145         javax/swing/event/MenuDragMouseListener.java,
14146         javax/swing/event/MenuEvent.java,
14147         javax/swing/event/MenuKeyEvent.java,
14148         javax/swing/event/MenuKeyListener.java,
14149         javax/swing/event/MenuListener.java,
14150         javax/swing/event/MouseInputAdapter.java,
14151         javax/swing/event/MouseInputListener.java,
14152         javax/swing/event/PopupMenuEvent.java,
14153         javax/swing/event/PopupMenuListener.java,
14154         javax/swing/event/SwingPropertyChangeSupport.java,
14155         javax/swing/event/TableColumnModelEvent.java,
14156         javax/swing/event/TableColumnModelListener.java,
14157         javax/swing/event/TableModelEvent.java,
14158         javax/swing/event/TableModelListener.java,
14159         javax/swing/event/TreeExpansionEvent.java,
14160         javax/swing/event/TreeExpansionListener.java,
14161         javax/swing/event/TreeModelEvent.java,
14162         javax/swing/event/TreeModelListener.java,
14163         javax/swing/event/TreeSelectionEvent.java,
14164         javax/swing/event/TreeSelectionListener.java,
14165         javax/swing/event/TreeWillExpandListener.java,
14166         javax/swing/event/UndoableEditEvent.java,
14167         javax/swing/event/UndoableEditListener.java,
14168         javax/swing/filechooser/FileFilter.java,
14169         javax/swing/filechooser/FileSystemView.java,
14170         javax/swing/filechooser/FileView.java,
14171         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
14172         javax/swing/Icon.java, javax/swing/ImageIcon.java,
14173         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
14174         javax/swing/JApplet.java, javax/swing/JButton.java,
14175         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
14176         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
14177         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
14178         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
14179         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
14180         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
14181         javax/swing/JLayeredPane.java, javax/swing/JList.java,
14182         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
14183         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
14184         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
14185         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
14186         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
14187         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
14188         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
14189         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
14190         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
14191         javax/swing/JTextField.java, javax/swing/JTextPane.java,
14192         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
14193         javax/swing/JToolTip.java, javax/swing/JTree.java,
14194         javax/swing/JViewport.java, javax/swing/JWindow.java,
14195         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
14196         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
14197         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
14198         javax/swing/MenuSelectionManager.java,
14199         javax/swing/MutableComboBoxModel.java,
14200         javax/swing/OverlayLayout.java,
14201         javax/swing/plaf/ActionMapUIResource.java,
14202         javax/swing/plaf/basic/BasicBorders.java,
14203         javax/swing/plaf/basic/BasicButtonUI.java,
14204         javax/swing/plaf/basic/BasicCheckBoxUI.java,
14205         javax/swing/plaf/basic/BasicDefaults.java,
14206         javax/swing/plaf/basic/BasicGraphicsUtils.java,
14207         javax/swing/plaf/basic/BasicIconFactory.java,
14208         javax/swing/plaf/basic/BasicLabelUI.java,
14209         javax/swing/plaf/basic/BasicListUI.java,
14210         javax/swing/plaf/basic/BasicLookAndFeel.java,
14211         javax/swing/plaf/basic/BasicOptionPaneUI.java,
14212         javax/swing/plaf/basic/BasicPanelUI.java,
14213         javax/swing/plaf/basic/BasicRadioButtonUI.java,
14214         javax/swing/plaf/basic/BasicScrollPaneUI.java,
14215         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
14216         javax/swing/plaf/basic/BasicTextUI.java,
14217         javax/swing/plaf/basic/BasicToggleButtonUI.java,
14218         javax/swing/plaf/basic/BasicTreeUI.java,
14219         javax/swing/plaf/basic/BasicViewportUI.java,
14220         javax/swing/plaf/BorderUIResource.java,
14221         javax/swing/plaf/ButtonUI.java,
14222         javax/swing/plaf/ColorChooserUI.java,
14223         javax/swing/plaf/ColorUIResource.java,
14224         javax/swing/plaf/ComboBoxUI.java,
14225         javax/swing/plaf/ComponentInputMapUIResource.java,
14226         javax/swing/plaf/ComponentUI.java,
14227         javax/swing/plaf/DesktopIconUI.java,
14228         javax/swing/plaf/DesktopPaneUI.java,
14229         javax/swing/plaf/DimensionUIResource.java,
14230         javax/swing/plaf/FileChooserUI.java,
14231         javax/swing/plaf/FontUIResource.java,
14232         javax/swing/plaf/IconUIResource.java,
14233         javax/swing/plaf/InputMapUIResource.java,
14234         javax/swing/plaf/InsetsUIResource.java,
14235         javax/swing/plaf/InternalFrameUI.java,
14236         javax/swing/plaf/LabelUI.java,
14237         javax/swing/plaf/ListUI.java,
14238         javax/swing/plaf/MenuBarUI.java,
14239         javax/swing/plaf/MenuItemUI.java,
14240         javax/swing/plaf/OptionPaneUI.java,
14241         javax/swing/plaf/PanelUI.java,
14242         javax/swing/plaf/PopupMenuUI.java,
14243         javax/swing/plaf/ProgressBarUI.java,
14244         javax/swing/plaf/RootPaneUI.java,
14245         javax/swing/plaf/ScrollBarUI.java,
14246         javax/swing/plaf/ScrollPaneUI.java,
14247         javax/swing/plaf/SeparatorUI.java,
14248         javax/swing/plaf/SliderUI.java,
14249         javax/swing/plaf/SplitPaneUI.java,
14250         javax/swing/plaf/TabbedPaneUI.java,
14251         javax/swing/plaf/TableHeaderUI.java,
14252         javax/swing/plaf/TableUI.java,
14253         javax/swing/plaf/TextUI.java,
14254         javax/swing/plaf/ToolBarUI.java,
14255         javax/swing/plaf/ToolTipUI.java,
14256         javax/swing/plaf/TreeUI.java,
14257         javax/swing/plaf/UIResource.java,
14258         javax/swing/plaf/ViewportUI.java,
14259         javax/swing/ProgressMonitorInputStream.java,
14260         javax/swing/ProgressMonitor.java,
14261         javax/swing/Renderer.java,
14262         javax/swing/RepaintManager.java,
14263         javax/swing/RootPaneContainer.java,
14264         javax/swing/Scrollable.java,
14265         javax/swing/ScrollPaneConstants.java,
14266         javax/swing/ScrollPaneLayout.java,
14267         javax/swing/SingleSelectionModel.java,
14268         javax/swing/SizeRequirements.java,
14269         javax/swing/SizeSequence.java,
14270         javax/swing/SwingConstants.java,
14271         javax/swing/SwingUtilities.java,
14272         javax/swing/table/AbstractTableModel.java,
14273         javax/swing/table/DefaultTableCellRenderer.java,
14274         javax/swing/table/DefaultTableColumnModel.java,
14275         javax/swing/table/DefaultTableModel.java,
14276         javax/swing/table/TableCellEditor.java,
14277         javax/swing/table/TableCellRenderer.java,
14278         javax/swing/table/TableColumn.java,
14279         javax/swing/table/TableColumnModel.java,
14280         javax/swing/table/TableModel.java,
14281         javax/swing/text/AbstractDocument.java,
14282         javax/swing/text/AttributeSet.java,
14283         javax/swing/text/BadLocationException.java,
14284         javax/swing/text/Caret.java,
14285         javax/swing/text/CharacterIterator.java,
14286         javax/swing/text/ComponentView.java,
14287         javax/swing/text/DefaultCaret.java,
14288         javax/swing/text/DefaultEditorKit.java,
14289         javax/swing/text/Document.java,
14290         javax/swing/text/EditorKit.java,
14291         javax/swing/text/Element.java,
14292         javax/swing/text/GapContent.java,
14293         javax/swing/text/JTextComponent.java,
14294         javax/swing/text/Keymap.java,
14295         javax/swing/text/MutableAttributeSet.java,
14296         javax/swing/text/PlainDocument.java,
14297         javax/swing/text/PlainEditorKit.java,
14298         javax/swing/text/Position.java,
14299         javax/swing/text/Segment.java,
14300         javax/swing/text/StyledDocument.java,
14301         javax/swing/text/StyledEditorKit.java,
14302         javax/swing/text/Style.java,
14303         javax/swing/text/TextAction.java,
14304         javax/swing/text/ViewFactory.java,
14305         javax/swing/text/View.java,
14306         javax/swing/Timer.java,
14307         javax/swing/ToggleButtonModel.java,
14308         javax/swing/ToolTipManager.java,
14309         javax/swing/tree/AbstractLayoutCache.java,
14310         javax/swing/tree/DefaultMutableTreeNode.java,
14311         javax/swing/tree/DefaultTreeCellEditor.java,
14312         javax/swing/tree/DefaultTreeCellRenderer.java,
14313         javax/swing/tree/DefaultTreeModel.java,
14314         javax/swing/tree/DefaultTreeSelectionModel.java,
14315         javax/swing/tree/ExpandVetoException.java,
14316         javax/swing/tree/FixedHeightLayoutCache.java,
14317         javax/swing/tree/MutableTreeNode.java,
14318         javax/swing/tree/RowMapper.java,
14319         javax/swing/tree/TreeCellEditor.java,
14320         javax/swing/tree/TreeCellRenderer.java,
14321         javax/swing/tree/TreeModel.java,
14322         javax/swing/tree/TreeNode.java,
14323         javax/swing/tree/TreePath.java,
14324         javax/swing/tree/TreeSelectionModel.java,
14325         javax/swing/tree/VariableHeightLayoutCache.java,
14326         javax/swing/UIDefaults.java,
14327         javax/swing/UIManager.java,
14328         javax/swing/undo/AbstractUndoableEdit.java,
14329         javax/swing/undo/CannotRedoException.java,
14330         javax/swing/undo/CannotUndoException.java,
14331         javax/swing/undo/CompoundEdit.java,
14332         javax/swing/undo/StateEditable.java,
14333         javax/swing/undo/StateEdit.java,
14334         javax/swing/undo/UndoableEdit.java,
14335         javax/swing/undo/UndoableEditSupport.java,
14336         javax/swing/undo/UndoManager.java,
14337         javax/swing/UnsupportedLookAndFeelException.java,
14338         javax/swing/ViewportLayout.java,
14339         javax/swing/WindowConstants.java: New files, from GNU Classpath.
14340
14341         * java/awt/ActiveEvent.java,
14342         java/awt/Adjustable.java, java/awt/AWTError.java,
14343         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
14344         java/awt/AWTException.java, java/awt/AWTPermission.java,
14345         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
14346         java/awt/Color.java, java/awt/Component.java,
14347         java/awt/ComponentOrientation.java, java/awt/Container.java,
14348         java/awt/datatransfer/MimeTypeParseException.java,
14349         java/awt/datatransfer/Transferable.java,
14350         java/awt/datatransfer/UnsupportedFlavorException.java,
14351         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
14352         java/awt/event/ActionListener.java,
14353         java/awt/event/AdjustmentEvent.java,
14354         java/awt/event/AdjustmentListener.java,
14355         java/awt/event/AWTEventListener.java,
14356         java/awt/event/ComponentAdapter.java,
14357         java/awt/event/ComponentEvent.java,
14358         java/awt/event/ComponentListener.java,
14359         java/awt/event/ContainerAdapter.java,
14360         java/awt/event/ContainerEvent.java,
14361         java/awt/event/ContainerListener.java,
14362         java/awt/event/FocusAdapter.java,
14363         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
14364         java/awt/event/HierarchyBoundsAdapter.java,
14365         java/awt/event/HierarchyBoundsListener.java,
14366         java/awt/event/HierarchyEvent.java,
14367         java/awt/event/HierarchyListener.java,
14368         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
14369         java/awt/event/InputMethodListener.java,
14370         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
14371         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
14372         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
14373         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
14374         java/awt/event/MouseListener.java,
14375         java/awt/event/MouseMotionAdapter.java,
14376         java/awt/event/MouseMotionListener.java,
14377         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
14378         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
14379         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
14380         java/awt/event/WindowListener.java, java/awt/Font.java,
14381         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
14382         java/awt/geom/Ellipse2D.java,
14383         java/awt/geom/IllegalPathStateException.java,
14384         java/awt/geom/Line2D.java,
14385         java/awt/geom/NoninvertibleTransformException.java,
14386         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
14387         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
14388         java/awt/geom/RoundRectangle2D.java,
14389         java/awt/GraphicsConfiguration.java,
14390         java/awt/IllegalComponentStateException.java,
14391         java/awt/image/IndexColorModel.java,
14392         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
14393         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
14394         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
14395         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
14396         java/awt/MenuItem.java, java/awt/PaintContext.java,
14397         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
14398         java/awt/Polygon.java, java/awt/PrintGraphics.java,
14399         java/awt/PrintJob.java, java/awt/Rectangle.java,
14400         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
14401         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
14402         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
14403
14404         * java/awt/im/spi/InputMethod.java,
14405         java/awt/im/spi/InputMethodContext.java,
14406         java/awt/im/spi/InputMethodDescriptor.java,
14407         java/awt/image/renderable/ContextualRenderedImageFactory.java,
14408         java/awt/image/renderable/ParameterBlock.java,
14409         java/awt/image/renderable/RenderContext.java,
14410         java/awt/image/renderable/RenderableImage.java,
14411         java/awt/image/renderable/RenderableImageOp.java,
14412         java/awt/image/renderable/RenderableImageProducer.java,
14413         java/awt/image/renderable/RenderedImageFactory.java: New files from
14414         classpath.
14415
14416         * gnu/java/awt/EventModifier.java,
14417         gnu/java/awt/image/ImageDecoder.java,
14418         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
14419
14420         * gnu/awt/xlib/XGraphicsConfiguration.java,
14421         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
14422         API.
14423
14424         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
14425         GNU Classpath.
14426
14427         * Makefile.am: Add new files.
14428         * Makefile.in: Rebuilt.
14429
14430 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14431
14432         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
14433         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
14434         findResource, getResources, findResources): Add javadoc from classpath.
14435         (getSystemResources): Implemented.
14436
14437 2002-08-01  Mark Wielaard  <mark@klomp.org>
14438
14439         Revert patch that breaks libgcj shared library on powerpc:
14440         * gnu/java/security/provider/Gnu.java: Reverse referencing all
14441         implementation classes by using Class.getName(). Uses Strings again.
14442         * gnu/java/security/der/DEREncodingException.java,
14443         gnu/java/security/provider/DERReader.java,
14444         gnu/java/security/provider/DERWriter.java,
14445         gnu/java/security/provider/DSAKeyPairGenerator.java,
14446         gnu/java/security/provider/DSAParameterGenerator.java,
14447         gnu/java/security/provider/DSAParameters.java,
14448         gnu/java/security/provider/DSASignature.java,
14449         gnu/java/security/provider/GnuDSAPrivateKey.java,
14450         gnu/java/security/provider/GnuDSAPublicKey.java,
14451         gnu/java/security/provider/MD5.java,
14452         gnu/java/security/util/Prime.java: Removed.
14453         * Makefile.am (ordinary_java_source_files): Remove above files.
14454         * Makefile.in: Regenerate.
14455         * gnu/java/security/provider/DefaultPolicy.java
14456         (getPermissions): Revert to maintaining static class variable of
14457         Permissions.
14458         * gnu/java/security/provider/SHA.java
14459         (engineUpdate): Revert algorithm change.
14460         (engineDigest): Revert algorithm change.
14461
14462 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
14463
14464         * configure.host: Add SH support.
14465         * sysdep/sh/locks.h: New file.
14466
14467 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14468
14469         * java/awt/Frame.java (Frame): Remove println calls.
14470
14471 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
14472
14473         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
14474         * configure: Rebuilt.
14475
14476 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
14477
14478         * sysdep/powerpc/locks.h: Formatting.
14479         (_LARX): Define.
14480         (_STCX): Define.
14481         (compare_and_swap): Use _LARX and _STCX.
14482         (compare_and_swap_release): Likewise.
14483
14484 2002-07-26  Tom Tromey  <tromey@redhat.com>
14485
14486         * java/net/Authenticator.java: New version from Classpath.
14487         * java/net/DatagramSocketImpl.java: New version from Classpath.
14488
14489 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
14490
14491         * configure.host: Add powerpc64*-* entry.
14492
14493 2002-07-26  Tom Tromey  <tromey@redhat.com>
14494
14495         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
14496         fcntl.h.
14497
14498 2002-07-24  Tom Tromey  <tromey@redhat.com>
14499
14500         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
14501         argument to _load.
14502
14503 2002-07-24  Tom Tromey  <tromey@redhat.com>
14504             Tony Kimball <alk@pobox.com>
14505
14506         * java/io/natFileDescriptorWin32.cc (setLength): New method.
14507         * java/io/natFileDescriptorPosix.cc (setLength): New method.
14508         * java/io/RandomAccessFile.java (setLength): New method.
14509         * java/io/natFileDescriptorEcos.cc (setLength): New method.
14510         * java/io/FileDescriptor.java (setLength): New method.
14511
14512 2002-07-24  Mark Wielaard  <mark@klomp.org>
14513
14514         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
14515         * java/io/ObjectInputStream.java (setBooleanField): Before setting
14516         field call setAccessible(true).
14517         (setByteField): Likewise.
14518         (setCharField): Likewise.
14519         (setDoubleField): Likewise.
14520         (setFloatField): Likewise.
14521         (setIntField): Likewise.
14522         (setLongField): Likewise.
14523         (setShortField): Likewise.
14524         (setObjectField): Likewise.
14525
14526 2002-07-24  Tom Tromey  <tromey@redhat.com>
14527
14528         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
14529         use toString() to format array element.
14530
14531 2002-07-23  Mark Wielaard  <mark@klomp.org>
14532
14533         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
14534         MessageDigestSpi (fixes Classpath bug #783).
14535
14536 2002-07-21  Mark Wielaard  <mark@klomp.org>
14537
14538         * gnu/java/security/provider/Gnu.java: Reference all implementation
14539         classes by using Class.getName().
14540
14541 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
14542
14543         * java/lang/ieeefp.h: Add x86-64 support.
14544         * configure.in: Likewise.
14545         * configure.host: Likewise.
14546         * configure: Regenerated.
14547         * sysdep/x86-64/locks.h: New file with x86-64 locks.
14548
14549 2002-07-16  Mark Wielaard  <mark@klomp.org>
14550
14551         * java/io/StreamTokenizer.java (pushBack): Update documentation.
14552         (whitespaceChars): call resetChar().
14553
14554 2002-07-15  Tom Tromey  <tromey@redhat.com>
14555
14556         * Makefile.in: Rebuilt.
14557         * Makefile.am (awt_java_source_files): Added new files.
14558         * java/beans/ExceptionListener.java: Merged with Classpath.
14559         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
14560         * java/beans/PropertyChangeListener.java: Merged with Classpath.
14561         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
14562         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
14563         * java/beans/VetoableChangeListener.java: Merged with Classpath.
14564         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
14565         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
14566
14567 2002-07-14  Mark Wielaard  <mark@klomp.org>
14568
14569         * gnu/java/security/der/DEREncodingException.java,
14570         gnu/java/security/provider/DERReader.java,
14571         gnu/java/security/provider/DERWriter.java,
14572         gnu/java/security/provider/DSAKeyPairGenerator.java,
14573         gnu/java/security/provider/DSAParameterGenerator.java,
14574         gnu/java/security/provider/DSAParameters.java,
14575         gnu/java/security/provider/DSASignature.java,
14576         gnu/java/security/provider/GnuDSAPrivateKey.java,
14577         gnu/java/security/provider/GnuDSAPublicKey.java,
14578         gnu/java/security/provider/MD5.java,
14579         gnu/java/security/util/Prime.java: New files from Classpath.
14580         * Makefile.am (ordinary_java_source_files): Add new files.
14581         * Makefile.in: Regenerate.
14582
14583 2002-07-14  C. Brian Jones <cbj@gnu.org>
14584
14585         * gnu/java/security/provider/DefaultPolicy.java
14586         (getPermissions): do not maintain static class variable of
14587         Permissions
14588         * gnu/java/security/provider/SHA.java
14589         (engineUpdate): algorithm change
14590         (engineDigest): algorithm change
14591
14592 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
14593
14594         For PR libgcj/7292:
14595         * java/lang/Character.java (toString(char)): Now static.
14596
14597 2002-07-12  Mark Wielaard  <mark@klomp.org>
14598
14599         * java/lang/natThrowable.cc (printRawStackTrace): removed.
14600         (getStackTrace0): new method.
14601         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
14602         (printStackTrace(PrintWriter)): replace with pure java implementation.
14603         (printRawStackTrace): removed.
14604         (getStackTrace0): new method.
14605         * java/lang/StackTraceElement.java (toString): add extra whitespace.
14606         * gcj/javaprims.h: regenerate class list.
14607         * include/name-finder.h (lookup): new returns StackTraceElement*.
14608         (method_name, file_name): fields removed.
14609         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
14610         (~_Jv_name_finder): close new descriptors.
14611         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
14612         (createStackTraceElement): new method.
14613         (lookup): returns StackTraceElement*, uses createStackTraceElement().
14614
14615 2002-07-10  Tom Tromey  <tromey@redhat.com>
14616
14617         * configure: Rebuilt.
14618         * configure.in: Use `test' after `&&'.  From Chris Faylor.
14619
14620 2002-07-08  Mark Wielaard  <mark@klomp.org>
14621
14622         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
14623         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
14624         java.sql.DatabaseMetaData.TestJdbc20
14625
14626 2002-07-05  Tony Kimball  <alk@pobox.com>
14627
14628         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
14629
14630 2002-07-04  Tom Tromey  <tromey@redhat.com>
14631             Jeff Sturm  <jsturm@one-point.com>
14632
14633         Fix for PR libgcj/7060:
14634         * java/lang/Class.h (_getMethod): Renamed from getMethod.
14635         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
14636         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
14637         * java/lang/Class.java (getMethod): New Java implementation;
14638         complies with spec.
14639         (_getMethod): New native method.
14640
14641 2002-07-02  Tom Tromey  <tromey@redhat.com>
14642             David Hovemeyer  <daveho@cs.umd.edu>
14643
14644         * java/text/ChoiceFormat.java
14645         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
14646         in check loop.
14647         * java/text/MessageFormat.java
14648         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
14649         to MessageFormat.
14650
14651 2002-07-01  Tom Tromey  <tromey@redhat.com>
14652
14653         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
14654         StringTokenizer on null string.  For PR libgcj/7180.
14655         From daveho@cs.umd.edu.
14656
14657 2002-06-24  Tom Tromey  <tromey@redhat.com>
14658
14659         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
14660         (IntegerClass): Likewise.
14661         * java/lang/natClass.cc (CloneableClass): Removed.
14662         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
14663         ConstructorClass): Likewise.
14664         * java/lang/natClassLoader.cc (CloneableClass): Removed.
14665         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
14666         SerializableClass): Likewise.
14667         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
14668         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
14669         LongClass, FloatClass, DoubleClass): Likewise.
14670
14671         * verify.cc (branch_prepass): Updated for change to exception
14672         handler type.
14673         (verify_instructions_0): Likewise.
14674         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
14675         (handleExceptionTableEntry): Updated for change to exception
14676         handler type.
14677         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
14678         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
14679         (union _Jv_InterpPC): New.
14680         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
14681         (class _Jv_InterpMethod): Added new `prepared' field.
14682         (class _Jv_InterpMethod): Added `compile' method.  Removed
14683         `continue1' and `find_exception'.  Changed arguments to `run'.
14684         * interpret.cc (union insn_slot): New.
14685         (find_exception): Removed.
14686         (run_normal): Removed most logic.
14687         (run_synch_object): Likewise; also, use JvSynchronize.
14688         (run_synch_class): Likewise.
14689         (run): Removed.
14690         (continue1): Renamed as `run'.  Compile bytecode if required.
14691         Add new code to allow refinement of direct-threaded code at
14692         runtime.  Handle exceptions.
14693         (SAVE_PC): Removed.
14694         (compile): New method.
14695         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
14696         (NULLARRAYCHECK): Don't use SAVE_PC.
14697         (pc_t): New typedef.
14698         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
14699         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
14700
14701 2002-06-23  Tom Tromey  <tromey@redhat.com>
14702
14703         * configure: Rebuilt.
14704         * configure.in (INTERPRETER): New subst.
14705         (AM_RUNTESTFLAGS): Don't subst.
14706
14707         * Makefile.in: Rebuilt.
14708         * Makefile.am ($(srcdir)/java/lang/Object.h,
14709         $(srcdir)/java/lang/Class.h): Added dummy targets.
14710
14711 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14712
14713         Reformat JDBC classes and add new JDK 1.4 classes and methods.
14714
14715         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
14716         java/sql/Savepoint.java: New files.
14717         * java/sql/Array.java, java/sql/BatchUpdateException.java,
14718         java/sql/Blob.java, java/sql/CallableStatement.java,
14719         java/sql/Clob.java, java/sql/Connection.java,
14720         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
14721         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
14722         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
14723         java/sql/Ref.java, java/sql/ResultSet.java,
14724         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
14725         java/sql/SQLException.java, java/sql/SQLInput.java,
14726         java/sql/SQLOutput.java, java/sql/SQLWarning.java
14727         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
14728         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
14729         (JDK 1.4) specification.
14730         * javax/sql/ConnectionEvent.java,
14731         javax/sql/ConnectionEventListener.java,
14732         javax/sql/ConnectionPoolDataSource.java,
14733         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
14734         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
14735         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
14736         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
14737         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
14738         javax/sql/XADataSource.java: New files.
14739         * Makefile.am: Add new files.
14740         * Makefile.in: Rebuilt.
14741
14742 2002-06-20  Tom Tromey  <tromey@redhat.com>
14743
14744         For PR libgcj/7073:
14745         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
14746         exists.
14747         * defineclass.cc (handleClassBegin): Superclass for interface is
14748         `null'.
14749
14750 2002-06-18  Tom Tromey  <tromey@redhat.com>
14751
14752         * gcj/javaprims.h: Updated class declaration list.
14753         * Makefile.in: Rebuilt.
14754         * Makefile.am (core_java_source_files): Removed
14755         BasicMapEntry.java.
14756         * java/util/BasicMapEntry.java: Removed.
14757
14758 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
14759
14760         * java/net/natPlainDatagramSocketImpl.cc (receive):
14761         Check bounds of argument to FD_SET.
14762         (setOption): Throw exception if socket is closed.
14763
14764         * java/net/natPlainSocketImpl.cc (accept, read):
14765         Check bounds of argument to FD_SET.
14766         (setOption): Throw exception if socket is closed.
14767
14768 2002-06-18  Tom Tromey  <tromey@redhat.com>
14769
14770         * gcj/javaprims.h: Updated class declaration list.
14771         * Makefile.in: Rebuilt.
14772         * Makefile.am (core_java_source_files): Added
14773         PropertyPermissionCollection.java.
14774         * java/lang/Thread.java (group, name): Now package-private.
14775         * java/lang/ThreadGroup.java: Re-merge with Classpath.
14776         * java/util/AbstractList.java: Likewise.
14777         * java/util/AbstractMap.java: Likewise.
14778         * java/util/Calendar.java: Likewise.
14779         * java/util/Collections.java: Likewise.
14780         * java/util/HashMap.java: Likewise.
14781         * java/util/Hashtable.java: Likewise.
14782         * java/util/LinkedHashMap.java: Likewise.
14783         * java/util/LinkedList.java: Likewise.
14784         * java/util/List.java: Likewise.
14785         * java/util/ListResourceBundle.java: Likewise.
14786         * java/util/Map.java: Likewise.
14787         * java/util/Observable.java: Likewise.
14788         * java/util/Properties.java: Likewise.
14789         * java/util/PropertyPermission.java: Likewise.
14790         * java/util/PropertyPermissionCollection.java: Likewise.
14791         * java/util/PropertyResourceBundle.java: Likewise.
14792         * java/util/Random.java: Likewise.
14793         * java/util/SimpleTimeZone.java: Likewise.
14794         * java/util/StringTokenizer.java: Likewise.
14795         * java/util/TimerTask.java: Likewise.
14796         * java/util/TreeMap.java: Likewise.
14797         * java/util/WeakHashMap.java: Likewise.
14798         * java/util/jar/Attributes.java: Likewise.
14799         * java/util/jar/JarException.java: Likewise.
14800         * java/util/jar/Manifest.java: Likewise.
14801
14802 2002-06-17  Tom Tromey  <tromey@redhat.com>
14803
14804         * gcj/javaprims.h: Updated class declaration list.
14805         * Makefile.in: Rebuilt.
14806         * Makefile.am (core_java_source_files): Added new file.
14807         * java/util/EventListenerProxy.java: New file.
14808         * java/util/EventListener.java: Re-merge with Classpath.
14809         * java/util/EventObject.java: Re-merge with Classpath.
14810
14811 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14812
14813         * java/lang/ClassNotFoundException.java: New Classpath version.
14814
14815 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14816
14817         * java/rmi/activation/ActivateFailedException.java: Remerge from
14818         Classpath version.
14819         * java/rmi/activation/ActivationException.java: Ditto.
14820         * java/rmi/activation/UnknownGroupException.java: Ditto.
14821         * java/rmi/activation/UnknownObjectException.java: Ditto.
14822         * java/rmi/server/ExportException: Ditto.
14823         * java/rmi/server/ServerCloneException: Ditto.
14824         * java/rmi/server/ServerNotActiveException: Ditto.
14825         * java/rmi/server/SkeletonMismatchException: Ditto.
14826         * java/rmi/server/SkeletonNotFoundException: Ditto.
14827         * java/rmi/server/SocketSecurityException: Ditto.
14828
14829 2002-06-16  Tom Tromey  <tromey@redhat.com>
14830
14831         * gcj/javaprims.h: Updated class declaration list.
14832
14833         * java/io/LineNumberInputStream.java: Merged with Classpath.
14834
14835         * java/lang/RuntimeException.java: Re-merge with Classpath.
14836         * java/util/ArrayList.java: Likewise.
14837         * java/util/Arrays.java: Likewise.
14838         * java/util/BitSet.java: Likewise.
14839         * java/util/Dictionary.java: Likewise.
14840         * java/util/IdentityHashMap.java: Likewise.
14841         * java/util/MissingResourceException.java: Likewise.
14842         * java/util/Observer.java: Likewise.
14843         * java/util/TooManyListenersException.java: Likewise.
14844         * java/util/zip/DataFormatException.java: Likewise.
14845         * java/util/zip/ZipException.java: Likewise.
14846
14847 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
14848
14849         * java/rmi/AccessException.java: Remerge from Classpath.
14850         * java/rmi/AlreadyBoundException.java: Ditto.
14851         * java/rmi/ConnectException.java: Ditto.
14852         * java/rmi/ConnectIOException.java: Ditto.
14853         * java/rmi/MarshalException.java: Ditto.
14854         * java/rmi/NoSuchObjectException.java: Ditto.
14855         * java/rmi/NotBoundException.java: Ditto.
14856         * java/rmi/RemoteException.java: Ditto.
14857         * java/rmi/RMISecurityException.java: Ditto.
14858         * java/rmi/ServerError.java: Ditto.
14859         * java/rmi/ServerException.java: Ditto.
14860         * java/rmi/ServerRuntimeException.java: Ditto.
14861         * java/rmi/StubNotFoundException.java: Ditto.
14862         * java/rmi/UnexpectedExcpetion.java: Ditto.
14863         * java/rmi/UnknownHostException.java: Ditto.
14864         * java/rmi/UnmarshalException.java: Ditto.
14865
14866 2002-06-15  Tom Tromey  <tromey@redhat.com>
14867
14868         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
14869         * java/lang/ArithmeticException.java: Likewise.
14870         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
14871         * java/lang/ArrayStoreException.java: Likewise.
14872         * java/lang/Byte.java: Likewise.
14873         * java/lang/CharSequence.java: Likewise.
14874         * java/lang/ClassCastException.java: Likewise.
14875         * java/lang/ClassCircularityError.java: Likewise.
14876         * java/lang/ClassFormatError.java: Likewise.
14877         * java/lang/CloneNotSupportedException.java: Likewise.
14878         * java/lang/Cloneable.java: Likewise.
14879         * java/lang/Comparable.java: Likewise.
14880         * java/lang/Compiler.java: Likewise.
14881         * java/lang/Error.java: Likewise.
14882         * java/lang/ExceptionInInitializerError.java: Likewise.
14883         * java/lang/IllegalAccessError.java: Likewise.
14884         * java/lang/IllegalAccessException.java: Likewise.
14885         * java/lang/IllegalArgumentException.java: Likewise.
14886         * java/lang/IllegalMonitorStateException.java: Likewise.
14887         * java/lang/IllegalStateException.java: Likewise.
14888         * java/lang/IllegalThreadStateException.java: Likewise.
14889         * java/lang/IncompatibleClassChangeError.java: Likewise.
14890         * java/lang/IndexOutOfBoundsException.java: Likewise.
14891         * java/lang/InheritableThreadLocal.java: Likewise.
14892         * java/lang/InstantiationError.java: Likewise.
14893         * java/lang/InstantiationException.java: Likewise.
14894         * java/lang/InternalError.java: Likewise.
14895         * java/lang/InterruptedException.java: Likewise.
14896         * java/lang/LinkageError.java: Likewise.
14897         * java/lang/NegativeArraySizeException.java: Likewise.
14898         * java/lang/NoClassDefFoundError.java: Likewise.
14899         * java/lang/NoSuchFieldError.java: Likewise.
14900         * java/lang/NoSuchFieldException.java: Likewise.
14901         * java/lang/NoSuchMethodError.java: Likewise.
14902         * java/lang/NoSuchMethodException.java: Likewise.
14903         * java/lang/NullPointerException.java: Likewise.
14904         * java/lang/NumberFormatException.java: Likewise.
14905         * java/lang/OutOfMemoryError.java: Likewise.
14906         * java/lang/Process.java: Likewise.
14907         * java/lang/Runnable.java: Likewise.
14908         * java/lang/RuntimePermission.java: Likewise.
14909         * java/lang/SecurityException.java: Likewise.
14910         * java/lang/Short.java: Likewise.
14911         * java/lang/StackOverflowError.java: Likewise.
14912         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
14913         * java/lang/ThreadDeath.java: Likewise.
14914         * java/lang/ThreadLocal.java: Likewise.
14915         * java/lang/UnknownError.java: Likewise.
14916         * java/lang/UnsatisfiedLinkError.java: Likewise.
14917         * java/lang/UnsupportedClassVersionError.java: Likewise.
14918         * java/lang/UnsupportedOperationException.java: Likewise.
14919         * java/lang/VerifyError.java: Likewise.
14920         * java/lang/VirtualMachineError.java: Likewise.
14921         * java/lang/reflect/InvocationTargetException.java: Likewise.
14922         * java/net/BindException.java: Likewise.
14923         * java/net/ConnectException.java: Likewise.
14924         * java/net/MalformedURLException.java: Likewise.
14925         * java/net/NoRouteToHostException.java: Likewise.
14926         * java/net/ProtocolException.java: Likewise.
14927         * java/net/SocketException.java: Likewise.
14928         * java/net/UnknownHostException.java: Likewise.
14929         * java/net/UnknownServiceException.java: Likewise.
14930
14931         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
14932         * java/io/CharConversionException.java: Likewise.
14933         * java/io/EOFException.java: Likewise.
14934         * java/io/FileNotFoundException.java: Likewise.
14935         * java/io/IOException.java: Likewise.
14936         * java/io/InterruptedIOException.java: Likewise.
14937         * java/io/InvalidClassException.java: Likewise.
14938         * java/io/InvalidObjectException.java: Likewise.
14939         * java/io/NotActiveException.java: Likewise.
14940         * java/io/NotSerializableException.java: Likewise.
14941         * java/io/ObjectStreamException.java: Likewise.
14942         * java/io/ObjectStreamConstants.java: Likewise.
14943         * java/io/OptionalDataException.java: Likewise.
14944         * java/io/PipedInputStream.java: Likewise.
14945         * java/io/PushbackInputStream.java: Likewise.
14946         * java/io/StreamCorruptedException.java: Likewise.
14947         * java/io/SyncFailedException.java: Likewise.
14948         * java/io/UTFDataFormatException.java: Likewise.
14949         * java/io/UnsupportedEncodingException.java: Likewise.
14950         * java/io/WriteAbortedException.java: Likewise.
14951
14952 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
14953
14954         * java/text/ChoiceFormat.java: Update comments from Classpath.
14955         * java/text/ParseException.java (serialVersionUID): New
14956         field from Classpath.
14957         * java/text/ParseException.java: Update formatting & comments
14958         from Classpath.
14959
14960 2002-06-15  Tom Tromey  <tromey@redhat.com>
14961
14962         * java/util/zip/InflaterInputStream.java (read): Loop if data has
14963         been read but none output by inflater.
14964         * java/util/zip/natDeflater.cc (reset): Set is_finished.
14965         * java/util/zip/natInflater.cc (reset): Set dist_needed and
14966         is_finished.
14967         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
14968         version.
14969         * java/util/zip/ZipFile.java: Replaced with Classpath version.
14970         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
14971         * java/util/zip/ZipInputStream.java: Replaced with Classpath
14972         version.
14973         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
14974
14975 2002-06-13  Tom Tromey  <tromey@redhat.com>
14976
14977         * java/lang/natString.cc (init): Handle case where DONT_COPY is
14978         true and OFFSET!=0.
14979         * java/lang/String.java (String(char[],int,int,boolean): New
14980         constructor.
14981         * java/lang/Long.java: Imported new version from Classpath.
14982         * java/lang/Number.java: Likewise.
14983         * java/lang/Integer.java: Likewise.
14984         * java/lang/Long.java: Likewise.
14985         * java/lang/Float.java: Likewise.
14986         * java/lang/Boolean.java: Likewise.
14987         * java/lang/Double.java: Likewise.
14988         * java/lang/Void.java: Likewise.
14989
14990 2002-06-12  Tom Tromey  <tromey@redhat.com>
14991
14992         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
14993         Fixes PR libgcj/6652.
14994
14995 2002-06-10  Tom Tromey  <tromey@redhat.com>
14996
14997         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
14998         (Class::getPackagePortion): Likewise.
14999         * java/lang/Class.java (desiredAssertionStatus): New method from
15000         Classpath.
15001         (getPackagePortion): Likewise.
15002         * java/lang/VMClassLoader.java (defaultAssertionStatus,
15003         packageAssertionStatus, classAssertionStatus): New methods from
15004         Classpath.
15005         * java/lang/ClassLoader.java (defaultAssertionStatus,
15006         systemPackageAssertionStatus, packageAssertionStatus,
15007         systemClassAssertionStatus, classAssertionStatus): New fields from
15008         Classpath.
15009         (setDefaultAssertionStatus, setPackageAssertionStatus,
15010         setClassAssertionStatus, clearAssertionStatus): New methods from
15011         Classpath.
15012         * Makefile.in: Rebuilt.
15013         * Makefile.am (core_java_source_files): Added AssertionError.java.
15014         * java/lang/AssertionError.java: New from Classpath.
15015
15016 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15017
15018         * configure.host: Disable hash synchronization and slow_pthread_self
15019         for cygwin.
15020
15021 2002-06-06  Adam Megacz <adam@xwt.org>
15022
15023         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
15024         locking, just like the Sun JVM does.
15025
15026 2002-06-05  H.J. Lu  (hjl@gnu.org)
15027
15028         * Makefile.am (libgcj_convenience.la): Revert the last change.
15029         (libgcj.la): Likewise.
15030         * Makefile.in: Regenerated.
15031
15032 2002-06-04  H.J. Lu  (hjl@gnu.org)
15033
15034         * Makefile.am (libgcj_convenience.la): New target.
15035         (libgcj.la): Depend on libgcj_convenience.la.
15036         * Makefile.in: Regenerated.
15037
15038 2002-06-04  H.J. Lu  (hjl@gnu.org)
15039
15040         * configure.in (--with-newlib): New option:
15041         Check ${with_newlib} instead of ${with_cross_host} for newlib.
15042         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
15043         Linux.
15044         * configure: Regenerated.
15045
15046 2002-06-04  Tom Tromey  <tromey@redhat.com>
15047
15048         * java/util/natTimeZone.cc: Include <stdio.h>.
15049
15050 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
15051
15052         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
15053         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
15054         Set SIGNAL_HANDLER=include/s390-linux.h.
15055         * configure: Regenerate.
15056         * include/s390-linux.h: New file.
15057
15058 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15059
15060         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
15061         not "stackTrace".
15062
15063 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15064
15065         Merge JDK 1.4 java.security changes from classpath.
15066
15067         * java/security/AccessControlException.java: Merge from Classpath.
15068         * java/security/AccessController.java: Likewise.
15069         * java/security/AllPermission.java: Likewise.
15070         * java/security/BasicPermission.java: Likewise.
15071         * java/security/Certificate.java: Likewise.
15072         * java/security/CodeSource.java: Likewise.
15073         * java/security/DigestException.java: Likewise.
15074         * java/security/DigestOutputStream.java: Likewise.
15075         * java/security/DomainCombiner.java: Likewise.
15076         * java/security/GeneralSecurityException.java: Likewise.
15077         * java/security/Guard.java: Likewise.
15078         * java/security/GuardedObject.java: Likewise.
15079         * java/security/InvalidAlgorithmParameterException.java: Likewise.
15080         * java/security/InvalidKeyException.java: Likewise.
15081         * java/security/InvalidParameterException.java: Likewise.
15082         * java/security/Key.java: Likewise.
15083         * java/security/KeyException.java: Likewise.
15084         * java/security/KeyManagementException.java: Likewise.
15085         * java/security/KeyStoreException.java: Likewise.
15086         * java/security/MessageDigest.java: Likewise.
15087         * java/security/NoSuchAlgorithmException.java: Likewise.
15088         * java/security/NoSuchProviderException.java: Likewise.
15089         * java/security/Permission.java: Likewise.
15090         * java/security/PermissionCollection.java: Likewise.
15091         * java/security/Permissions.java: Likewise.
15092         * java/security/Policy.java: Likewise.
15093         * java/security/Principal.java: Likewise.
15094         * java/security/PrivateKey.java: Likewise.
15095         * java/security/PrivilegedAction.java: Likewise.
15096         * java/security/PrivilegedActionException.java: Likewise.
15097         * java/security/PrivilegedExceptionAction.java: Likewise.
15098         * java/security/ProtectionDomain.java: Likewise.
15099         * java/security/ProviderException.java: Likewise.
15100         * java/security/PublicKey.java: Likewise.
15101         * java/security/SecureClassLoader.java: Likewise.
15102         * java/security/SecurityPermission.java: Likewise.
15103         * java/security/SignatureException.java: Likewise.
15104         * java/security/UnrecoverableKeyException.java: Likewise.
15105         * java/security/UnresolvedPermission.java: Likewise.
15106         * java/security/acl/AclNotFoundException.java: Likewise.
15107         * java/security/acl/LastOwnerException.java: Likewise.
15108         * java/security/acl/NotOwnerException.java: Likewise.
15109         * java/security/cert/CRLException.java: Likewise.
15110         * java/security/cert/CertificateEncodingException.java: Likewise.
15111         * java/security/cert/CertificateException.java: Likewise.
15112         * java/security/cert/CertificateExpiredException.java: Likewise.
15113         * java/security/cert/CertificateFactory.java: Likewise.
15114         * java/security/cert/CertificateNotYetValidException.java: Likewise.
15115         * java/security/cert/CertificateParsingException.java: Likewise.
15116         * java/security/spec/InvalidKeySpecException.java: Likewise.
15117         * java/security/spec/InvalidParameterSpecException.java: Likewise.
15118
15119         * java/security/cert/CertPath.java: New file.
15120         * java/security/cert/CertPathBuilderException.java: New file.
15121         * java/security/cert/CertPathValidatorException.java: New file.
15122         * java/security/cert/CertStoreException.java: New file.
15123
15124         * Makefile.am: Add new CertPath classes.
15125         * Makefile.in: Rebuilt.
15126
15127         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
15128
15129 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15130
15131         Merge JDK 1.4 exception chaining support from classpath.
15132
15133         * java/lang/Throwable.java: Merge 1.4 support from classpath.
15134         (stackTraceBytes): Rename from stackTrace.
15135         * java/lang/Exception.java: Merge from classpath.
15136         * java/lang/StackTraceElement: New file from classpath.
15137         * gcj/javaprims.h: Rebuild CNI namespace declarations.
15138         * Makefile.am: Add StackTraceElement.
15139         * Makefile.in: Rebuilt.
15140
15141 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15142
15143         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
15144         they build first.
15145         * Makefile.in: Rebuilt.
15146
15147 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15148
15149         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
15150         * configure.in: Likewise.
15151         * aclocal.m4: Regenerate.
15152         * configure: Regenerate.
15153
15154 2002-05-13  Tom Tromey  <tromey@redhat.com>
15155
15156         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
15157         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
15158         Include platform.h.
15159
15160         Fixes PR libgcj/6389:
15161         * Makefile.in: Rebuilt.
15162         * Makefile.am (nat_source_files): Added natTimeZone.cc.
15163         * java/util/natTimeZone.cc: New file.
15164         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
15165         * java/lang/System.java: Merged with Classpath.
15166         * java/lang/Runtime.java: Merged with Classpath.
15167         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
15168         security check.
15169         (setIn0): Renamed from setIn; don't run security check.
15170         (setOut0): Renamed from setOut; don't run security check.
15171         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
15172         init_properties): Moved to natRuntime.cc.
15173         Moved many includes to natRuntime.cc.
15174         (isWordsBigEndian): New method.
15175         * java/lang/natRuntime.cc: Include Long.h, also other includes
15176         previously in natSystem.cc.
15177         (maxMemory): New function.
15178         (exitInternal): Renamed from `_exit'.
15179         (exit): Removed.
15180         (init): Don't set finalize_on_exit.
15181         (exitInternal): Use `finalizeOnExit'.
15182         (file_encoding, getpwuid_adaptor): New functions from
15183         natSystem.cc.
15184         (insertSystemProperties): New method, renamed from
15185         System::init_properties.  Don't set user.timezone.
15186         (_load): Don't call checkLink.
15187         (execInternal): New method.
15188         (availableProcessors): Likewise.
15189         (nativeGetLibname): Likewise.
15190
15191 2002-05-11  Mark Wielaard  <mark@klomp.org>
15192
15193         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
15194         space characters.
15195         (previous_internal): Likewise.
15196
15197 2002-05-09  Tom Tromey  <tromey@redhat.com>
15198
15199         * jni.cc (_Jv_JNIFunctions): Fixed typo.
15200
15201         * java/util/ResourceBundle.java: New version from Classpath.
15202         * java/util/Locale.java: Likewise.
15203
15204 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
15205
15206         * testsuite/lib/libjava.exp (libjava_arguments): Append all
15207         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
15208         LD_LIBRARY_PATH.
15209
15210 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
15211
15212         * libjava/Makefile.am (all_java_source_files): New variable.
15213         (all_java_class_files): Likewise.
15214         .java.class: New rule.
15215         (CLEANFILES): Remove tmp-list.
15216         * libjava/Makefile.in: Regenerated.
15217
15218 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
15219
15220         * testsuite/lib/libjava.exp (test_libjava_from_javac):
15221         Append .exe to executable names.  Fix for cygwin.
15222
15223 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
15224
15225         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
15226         script entry, and set LD to it when configuring multilibs.
15227         * configure: Rebuilt.
15228
15229 2002-05-07  Tom Tromey  <tromey@redhat.com>
15230
15231         * java/lang/natString.cc (unintern): Fixed typo.
15232
15233 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
15234
15235         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
15236         with -no-install on *-*-cygwin*.
15237
15238 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
15239
15240         * testsuite/lib/libjava.exp (test_libjava_from_source):
15241         Add comment explaining last patch
15242
15243 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
15244
15245         * testsuite/lib/libjava.exp (test_libjava_from_source):
15246         Append .exe to executable names.  If no suffix is present,
15247         then ".exe" is added by default on win32.  Harmless
15248         elsewhere so always do it.
15249
15250 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
15251             Tom Tromey  <tromey@redhat.com>
15252
15253         * java/lang/natSystem.cc (getSystemTimeZone): Use
15254         HAVE_UNDERSCORE_TIMEZONE.
15255         * include/config.h.in: Rebuilt.
15256         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
15257         * aclocal.m4, configure: Rebuilt.
15258         * acinclude.m4: Run AC_EXEEXT.
15259         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
15260         Add test for `_timezone'.
15261
15262 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
15263
15264         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15265         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
15266         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15267         * Makefile.in: Rebuilt.
15268
15269 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
15270
15271         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
15272         use sigaction instead of __libc_sigaction.
15273
15274 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15275
15276         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
15277         (libjava_init): Use it to find libgcj.spec.
15278         (libjava_arguments): Likewise.
15279
15280 2002-05-02  David S. Miller  <davem@redhat.com>
15281
15282         PR bootstrap/6525
15283         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
15284         __libc_sigaction on Sparc.
15285
15286 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
15287
15288         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
15289         sys/filio.h, if present.
15290
15291 2002-04-30  Tom Tromey  <tromey@redhat.com>
15292
15293         * java/io/BufferedReader.java (fill): Handle case where markPos
15294         point to ignored \n.  Fixes PR libgcj/6301.
15295
15296 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
15297
15298         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
15299
15300 2002-04-29  Adam King <aking@dreammechanics.com>
15301
15302         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
15303         of file in APPEND mode.
15304
15305 2002-04-25  David S. Miller  <davem@redhat.com>
15306
15307         PR target/6422
15308         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
15309         program counter to next program counter minus 8.  Update
15310         comments in this macro to explain why.
15311
15312 2002-04-26  Tom Tromey  <tromey@redhat.com>
15313
15314         * verify.cc (construct_primitive_array_type) [void_type]: New
15315         case.
15316         (branch_prepass): Added dummy entries for unused instruction
15317         values.
15318         (verify_instructions_0): Likewise.
15319         * interpret.cc (continue1): Comment fix.
15320         * include/java-insns.h (op_xxxunusedxxx1): Removed.
15321         * Makefile.in: Rebuilt.
15322         * Makefile.am: Added -Wswitch-enum.
15323
15324 2002-04-24  Tom Tromey  <tromey@redhat.com>
15325
15326         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
15327         correct length of UTF-8 encoded name.  Strip leading `/'.
15328         (_Jv_RegisterResource): Use _Jv_Malloc.
15329
15330 2002-04-23  Adam Megacz <adam@xwt.org>
15331
15332         * win32.cc, include/win32.cc (backtrace): Added this function
15333         because Win32 does not supply it.
15334
15335 2002-04-21  David S. Miller  <davem@redhat.com>
15336
15337         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
15338         magic instruction reading sequence.
15339
15340 2002-04-21  Mark Wielaard  <mark@klomp.org>
15341
15342         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
15343
15344 2002-04-19  David S. Miller  <davem@redhat.com>
15345
15346         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
15347         arg.
15348         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
15349         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
15350         on Sparc too.
15351         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
15352         for 64-bit sparc.
15353         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
15354         * sysdeps/sparc/locks.h: New file.
15355         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
15356         on all sparc Solaris configurations.  Set to
15357         include/dwarf2-signal.h on sparc Linux.
15358         * configure: Regenerate
15359         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
15360
15361 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
15362
15363         * configure: Rebuilt.
15364         * configure.in (backtrace): Function doesn't work on IA-64.
15365
15366 2002-04-17  Adam King <aking@dreammechanics.com>
15367
15368         * java/io/File.java (normalizePath): Add Win32 support for auto
15369         conversion of a '/' path separator to Win32's '\' separator.
15370
15371 2002-04-16  Tom Tromey  <tromey@redhat.com>
15372
15373         Fix for PR libgcj/6081:
15374         * Makefile.in: Rebuilt.
15375         * Makefile.am (install-data-local): Use GNU make trick to avoid
15376         shell limit.
15377
15378 2002-04-16  Adam King <aking@dreammechanics.com>
15379             Tom Tromey  <tromey@redhat.com>
15380
15381         * java/io/natFileWin32.cc (performList): Return the correct array
15382         type.  Don't duplicate the creation of a File since it's already
15383         done earlier in the method and the existing code would cause a
15384         ArrayStoreException.  Don't use fixed-size array.
15385         (_access, _stat, attr, getCanonicalPath, performMkdir,
15386         performRenameTo): Don't use fixed-size array.
15387         (getCanonicalPath): Use throw, not _Jv_Throw.
15388
15389 2002-04-15  DJ Delorie  <dj@redhat.com>
15390
15391         * configure.in: Allow building in $srcdir.
15392         * configure: Regenerated.
15393
15394 2002-04-14  Mark Wielaard <mark@klomp.org>
15395
15396         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
15397         * java/net/natSocketImpl.cc (close): Likewise.
15398
15399 2002-04-14  Mark Wielaard <mark@klomp.org>
15400
15401         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
15402
15403 2002-04-13  Adam King <aking@dreammechanics.com>
15404
15405         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
15406         the f/F/d/D modifiers.
15407
15408 2002-04-12  Anthony Green  <green@redhat.com>
15409
15410         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
15411         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
15412         * Makefile.in: Rebuilt.
15413         * configure.in: Substitute gcc_version.
15414         * configure: Rebuilt.
15415
15416 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15417
15418         * configure.host: Set can_unwind_signal on hosts which support it.
15419         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
15420         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
15421         exceptions and can_unwind_signal isn't set.
15422         * configure: Rebuilt.
15423
15424 2002-04-11  Tom Tromey  <tromey@redhat.com>
15425
15426         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
15427
15428 2002-04-11  Adam King <aking@dreammechanics.com>
15429             Tom Tromey  <tromey@redhat.com>
15430
15431         * include/jvm.h (_Jv_ThrowBadArrayIndex,
15432         _Jv_ThrowNullPointerException): Mark as noreturn.
15433         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
15434         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
15435         fixes.
15436
15437 2002-04-10  Tom Tromey  <tromey@redhat.com>
15438
15439         * Makefile.in: Rebuilt.
15440         * Makefile.am (java/lang/Thread.h): Mark
15441         _Jv_AttachCurrentThreadAsDaemon as friend.
15442         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
15443         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
15444         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
15445         function.
15446         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
15447         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
15448         (_Jv_JNI_InvokeFunctions): Added
15449         _Jv_JNI_AttachCurrentThreadAsDaemon.
15450         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
15451         (JNI_GetDefaultJavaVMInitArgs): Likewise.
15452         (JNI_CreateJavaVM): Likewise.
15453         (_Jv_JNI_AttachCurrentThread): Likewise.
15454         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
15455         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
15456         (_Jv_JNIFunctions): Initialize new fields.
15457         (_Jv_JNI_NewDirectByteBuffer): New function.
15458         (_Jv_JNI_GetDirectBufferAddress): Likewise.
15459         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
15460         * include/jni.h (JNI_VERSION_1_4): New macro.
15461         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
15462         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
15463         (JNINativeInterface::NewDirectByteBuffer): New field.
15464         (JNINativeInterface::GetDirectBufferAddress): New field.
15465         (JNINativeInterface::GetDirectBufferCapacity): New field.
15466         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
15467         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
15468         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
15469
15470 2002-04-09  Tom Tromey  <tromey@redhat.com>
15471
15472         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
15473
15474 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
15475
15476         Fix for PR libgcj/6187:
15477         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
15478         distance.
15479
15480 2002-04-07  Mark Wielaard <mark@klomp.org>
15481
15482         * java/util/AbstractMap.java (putAll): Use entrySet size.
15483         (toString): Explicitly use getKey() and getValue().
15484
15485 2002-04-07  Mark Wielaard <mark@klomp.org>
15486
15487         * java/util/Hashtable.java (contains): Remove NullPointer check.
15488         (containsValue): Add NullPointer check.
15489         (remove): Always throw NullPointerException when key
15490         is null.
15491
15492 2002-04-07  Adam King <aking@dreammechanics.com>
15493
15494         * java/lang/natSystem.cc (init_properties): Call new function
15495         _Jv_platform_initProperties.
15496         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
15497         support for the System properties os.name, os.arch, os.version,
15498         user.name, user.home, and user.dir.
15499         * include/posix.h, include/win32.h, posix.cc: New function
15500         _Jv_platform_initProperties.
15501
15502 2002-04-06  Mark Wielaard <mark@klomp.org>
15503
15504         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
15505
15506 2002-04-06  Mark Wielaard <mark@klomp.org>
15507
15508         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
15509         all of the remaining elements.
15510         * java/util/Vector.java (addAll(int,Collection)): Likewise.
15511         (removeRange): If toIndex == fromIndex do
15512         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
15513         (removeAll): Always throw NullPointerException when collection is
15514         null.
15515         (retrainAll): Likewise.
15516
15517 2002-04-05  Mark Wielaard <mark@klomp.org>
15518
15519         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
15520         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
15521
15522 2002-04-05  Adam Megacz <adam@xwt.org>
15523
15524         * exception.cc (abort): added static modifier
15525
15526 2002-04-04  Adam Megacz <adam@xwt.org>
15527
15528         * include/win32.h (_Jv_platform_close_on_exec): added inline
15529         modifier.
15530
15531 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
15532
15533         * configure.host: Add case statement to support generic port
15534         properties.  Add *-*-freebsd* section.
15535
15536 2002-04-04  Mark Wielaard  <mark@klomp.org>
15537
15538         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
15539         test.
15540         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
15541         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
15542         that depend on awt code and BufferedByteOutputStream.interrupt.
15543
15544 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15545
15546         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
15547         incorrect "hi" value when count > 40.
15548
15549 2002-04-03  Mark Wielaard  <mark@klomp.org>
15550
15551         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
15552         ordering.
15553
15554 2002-04-02  Tom Tromey  <tromey@redhat.com>
15555
15556         * java/lang/natClassLoader.cc (findClass): Compare against `3',
15557         not `0'.
15558
15559 2002-04-02  Mark Wielaard  <mark@klomp.org>
15560
15561         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
15562         list of testsuite crashers.
15563
15564 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15565
15566         * java/util/IdentityHashMap.java (put): Set new threshold correctly
15567         when resizing table.
15568
15569 2002-04-01  Mark Wielaard  <mark@klomp.org>
15570
15571         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
15572         NegativeArraySizeException
15573         (clear(int)): Use sign extended shift.
15574         (flip(int)): Likewise.
15575         (get(int)): Likewise.
15576         (nextClearBit(int)): Likewise.
15577         (nextSetBit(int)): Likewise.
15578         (set(int)): Likewise.
15579
15580 2002-04-01  Mark Wielaard  <mark@klomp.org>
15581
15582         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
15583         that can be compiled now and add testsuite crashers to ignore list.
15584
15585 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
15586
15587         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
15588
15589         * libgcj.spec.in: Override libgcc, not lib.
15590         * libgcj-test.spec.in: Likewise.
15591
15592 2002-03-29  Tom Tromey  <tromey@redhat.com>
15593
15594         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
15595         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
15596
15597 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
15598
15599         * java/net/PlainDatagramSocketImpl.java
15600         (close): Use native implementation.
15601         (finalize): New method.
15602
15603         * java/net/PlainSocketImpl.java (finalize): New method.
15604
15605         * java/net/natPlainDatagramSocketImpl.cc
15606         (java/io/FileDescriptor.h): Don't include.
15607         (close): Implement method here.
15608         (create): Don't assign fd.
15609
15610         * java/net/natPlainSocketImpl.cc
15611         (java/io/FileDescriptor.h): Don't include.
15612         (create): Don't assign fd.
15613         (accept): Likewise.
15614         (close): Synchronize.
15615
15616 2002-03-27  Richard Henderson  <rth@redhat.com>
15617
15618         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
15619
15620 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15621
15622         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15623         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
15624         instead of syscall on IA-64.
15625         Add FIXME comment.
15626
15627 2002-03-27  Anthony Green  <green@redhat.com>
15628
15629         * libgcj.spec.in: Add CHECKREFSPEC.
15630         * configure.in: Ditto.
15631         * configure.host: Ditto.  Check references for xscale-elf.
15632         * configure: Rebuilt.
15633
15634 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
15635
15636         * include/dwarf2-signal.h: Temporarily back out last change.
15637
15638 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
15639
15640         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
15641
15642 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15643
15644         * configure.in, configure: enable dwarf2-exception-style
15645         exception handling on IA-64.
15646         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15647         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
15648         Add FIXME comment.
15649
15650 2002-03-25  Tom Tromey  <tromey@redhat.com>
15651
15652         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
15653         (jv_convert_LDFLAGS): Likewise.
15654         (gij_LDFLAGS): Likewise.
15655         (rmic_LDFLAGS): Likewise.
15656         (rmiregistry_LDFLAGS): Likewise.
15657         * configure.in (THREADLDFLAGS): New subst; set correctly for
15658         *BSD.
15659
15660 2002-03-25  Tom Tromey  <tromey@redhat.com>
15661
15662         For PR libgcj/5303:
15663         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
15664         and --version.
15665         (help): New method.
15666         (version): Likewise.
15667         * gnu/gcj/convert/Convert.java (version): Removed extraneous
15668         "GNU".
15669         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
15670         "GNU".
15671
15672 2002-03-25  Tom Tromey  <tromey@redhat.com>
15673
15674         * java/awt/Component.java (processEvent): Check ComponentEvent
15675         after KeyEvent.
15676
15677 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15678
15679         * java/io/PushbackReader.java: Reformat.
15680
15681         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
15682         calculate correct number of bytes skipped.
15683
15684         Based on patch from Intel's ORP team:
15685         * java/io/PushbackInputStream.java (available): Calculate correct
15686         number of bytes in buffer.
15687         (read): Remove redundant bound check. Return bytes from both the
15688         buffer and the stream.
15689
15690 2002-03-24  Tom Tromey  <tromey@redhat.com>
15691
15692         * java/awt/TextComponent.java (TextComponent): Editable by
15693         default.
15694
15695         * java/awt/MenuItem.java (eventMask): No longer private.
15696         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
15697         superclass if we didn't handle event.
15698         * java/awt/Checkbox.java (dispatchEventImpl): New method.
15699         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
15700         * java/awt/Choice.java (dispatchEventImpl): New method.
15701         * java/awt/List.java (dispatchEventImpl): New method.
15702         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
15703         * java/awt/TextComponent.java (dispatchEventImpl): New method.
15704         * java/awt/TextField.java (dispatchEventImpl): New method.
15705
15706 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
15707
15708         * java/beans/IntrospectionException.java: Update to 1.4.
15709         * java/beans/PropertyVetoException.java: Ditto.
15710
15711 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
15712
15713         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
15714         Arrays.equals instead of ArrayHelper.equalsArray.
15715
15716 2002-03-24  C. Brian Jones <cbj@gnu.org>
15717
15718         * java/beans/Introspector.java: added new static final fields
15719         introduced in 1.2, lots of other updates remain to be done
15720
15721 2002-03-24  C. Brian Jones <cbj@gnu.org>
15722
15723         * java/beans/Introspector.java: reformatting
15724
15725 2002-03-24  C. Brian Jones <cbj@gnu.org>
15726
15727         * java/beans/Introspector.java: default beanInfoSearchPath will
15728         not include sun.beans.infos given we provide no such package and
15729         the API doesn't really require it; gnu.java.beans.info is the
15730         default.
15731
15732 2002-03-24  Mark Wielaard  <mark@klomp.org>
15733
15734         Thanks to Orp developers
15735         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
15736         switch TRUE and FALSE return values.
15737
15738 2002-03-23  Tom Tromey  <tromey@redhat.com>
15739
15740         * include/name-finder.h (_Jv_name_finder::myclose): New method.
15741         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
15742
15743 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
15744
15745         * java/util/GregorianCalendar.java (minimums, maximums): Correct
15746         MONTH entry.  Fixes PR libgcj/6045.
15747
15748 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
15749
15750         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
15751
15752 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15753
15754         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
15755         not release_set.
15756         * sysdep/powerpc/locks.h (write_barrier): New function.
15757         * sysdep/i386/locks.h (write_barrier): New function.
15758
15759 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
15760
15761         * include/jni.h Use correct C comments.
15762
15763 2002-03-18  Tom Tromey  <tromey@redhat.com>
15764
15765         * include/jni.h (JNIIMPORT): New macro.
15766         (JNIEXPORT): Likewise.
15767         (JNICALL): Likewise.
15768
15769 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15770
15771         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
15772         systems.
15773
15774 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
15775
15776         * include/i386-signal.h (old_i386_kernel_sigaction): New.
15777         INIT_SEGV: Use old_i386_kernel_sigaction.
15778         INIT_FP: Likewise.
15779
15780 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15781
15782         * java/lang/natSystem.cc (init_properties): Update VM version
15783         properties.
15784         * configure.in: Set GCJVERSION.
15785         * acconfig.h: Add GCJVERSION.
15786         * configure: Rebuilt.
15787         * include/config.h.in: Rebuilt.
15788
15789 2002-03-17  Anthony Green  <green@redhat.com>
15790
15791         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
15792
15793 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15794
15795         Build a single libgcj.so, without separate gc and zlib libraries.
15796         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
15797         SYS_ZLIBS if system zlib is used.
15798         * configure: Rebuilt.
15799         * Makefile.am: Use boehm-gc and zlib convenience libraries.
15800         * Makefile.in: Rebuilt.
15801         * libtool-version: Increment .so version number.
15802
15803         * Makefile.am: Escape quotes in echo.
15804         * Makefile.in: Rebuilt.
15805
15806 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15807
15808         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
15809         * Makefile.in: Rebuilt.
15810
15811 2002-03-15  Anthony Green  <green@redhat.com>
15812
15813         * configure.host (FILE): New macro for specifing File
15814         implementation.
15815         * configure: Rebuilt.
15816         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
15817
15818 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
15819
15820         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
15821         already implicitly brought in from libgcj.la.
15822         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15823         * Makefile.in: Rebuilt.
15824
15825 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
15826
15827         * THANKS: Fix punctuation, alphabetization.
15828
15829 2002-03-15  Tom Tromey  <tromey@redhat.com>
15830             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15831
15832         Fix for PR libgcj/5944.
15833         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
15834
15835 2002-03-15  Anthony Green  <green@redhat.com>
15836
15837         * configure.in (tool_include_dir): Define.
15838         * configure: Rebuilt.
15839         * gcj/Makefile.am: Install libgcj-config.h relative to
15840         tool_include_dir.
15841         * gcj/Makefile: Rebuilt.
15842         * gcj/libgcj-config.h: Add warning comment.
15843
15844 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
15845
15846         * configure.host (powerpc*-darwin*): Enable interpreter.
15847
15848 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15849
15850         * include/posix.h: Add multiple include header protection.
15851         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
15852
15853 2002-03-10  Adam Megacz <adam@xwt.org>
15854
15855         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
15856
15857 2002-03-10  Tom Tromey  <tromey@redhat.com>
15858
15859         * java/awt/GridLayout.java (layoutContainer): Handle case where
15860         there are no items in container.
15861
15862         * java/lang/Win32Process.java: Added comment.
15863         * include/posix.h (_Jv_platform_close_on_exec): New function.
15864         Include fcntl.h.
15865         * include/win32.h (_Jv_platform_close_on_exec): New function.
15866         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
15867         flag.
15868         (accept): Likewise.
15869         * java/net/natPlainDatagramSocketImpl.cc (create): Set
15870         close-on-exec flag.
15871         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
15872         flag.
15873
15874 2002-03-09  Tom Tromey  <tromey@redhat.com>
15875
15876         * verify.cc (state::NO_STACK): New constant.
15877         (state::is_unmerged_ret_state): Handle case where stacktop is
15878         NO_STACK.
15879         (state::merge): Handle NO_STACK merges.
15880         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
15881         for instruction following jsr.
15882         (stacktop, stackdepth): Removed unused variables.
15883         (pop_jump): Ignore case where all remaining states are skipped.
15884
15885 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15886
15887         * java/awt/ImageMediaEntry: Removed.
15888         * java/awt/MediaEntry: Removed.
15889
15890 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15891
15892         Hashtable synchronization for PowerPC.
15893         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
15894         slow_pthread_self. Set up symlink for sysdeps directory.
15895         * configure: Rebuild.
15896         * configure.host: Document more shell variables. Set sysdeps_dir
15897         for most platforms. Set slow_pthread_self for i686. Set
15898         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
15899         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
15900         that memory barrier is emitted where required.
15901         * prims.cc: 64-bit align static primitive class instances.
15902         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
15903         read_barrier() to enforce ordering of reads.
15904         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
15905         primitives for PowerPC.
15906         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
15907         moved from natObject.cc.
15908         * sysdep/alpha/locks.h: Likewise.
15909         * sysdep/ia64/locks.h: Likewise.
15910         * sysdep/generic/locks.h: Likewise.
15911         * java/lang/natObject.cc: Move thread synchronization primitives to
15912         system-dependent headers.
15913
15914 2002-03-09  Adam Megacz  <adam@xwt.org>
15915
15916         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
15917         bytes read and no failure code returned.
15918
15919 2002-03-09  Adam Megacz  <adam@xwt.org>
15920
15921         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
15922         definitions to simulate -mthreads.
15923
15924 2002-03-09  Adam Megacz  <adam@xwt.org>
15925
15926         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
15927         avoid precision loss.
15928
15929 2002-03-09  Per Bothner  <per@bothner.com>
15930
15931         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
15932         * gnu/gcj/xlib/XImage.java:  Likewise.
15933         * gnu/gcj/xlib/XColor.java:  Likewise.
15934
15935 2002-03-09  Adam Megacz  <adam@xwt.org>
15936
15937         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
15938         IOException so that Throwable.printStackTrace fails correctly.
15939
15940 2002-03-08  Adam Megacz  <adam@xwt.org>
15941
15942         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
15943         fixed.
15944
15945 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15946
15947         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
15948         truncated to int.
15949
15950 2002-03-08  Tom Tromey  <tromey@redhat.com>
15951
15952         * include/jni.h: Include stdio.h.
15953
15954 2002-03-08  Tom Tromey  <tromey@redhat.com>
15955
15956         * posix.cc (internal_gettimeofday): New function.
15957         (_Jv_select): Use it.
15958
15959 2002-03-07  Adam Megacz  <adam@xwt.org>
15960
15961         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
15962         WIN32, and added thunks for read(), write(), and close().
15963         * java/net/natPlainSocketImpl.cc (accept, read, read):
15964         Disabled timeouts on WIN32 pending discussion.
15965
15966 2002-03-07  Adam Megacz  <adam@xwt.org>
15967
15968         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
15969         returns jlong. Added implementation
15970         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
15971         returns jlong.
15972         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
15973         returns jlong.
15974         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
15975         returns jlong.
15976         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
15977         _Jv_platform_gettimeofday signature.
15978
15979 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15980
15981         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
15982         (read): Call recv() directly, not _Jv_recv().
15983
15984 2002-03-06  Tom Tromey  <tromey@redhat.com>
15985
15986         * java/io/natFileDescriptorEcos.cc (init): Don't use
15987         GetStdHandle.
15988         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
15989         is negative.
15990         (init): Don't use GetStdHandle.
15991
15992         * include/config.h.in: Rebuilt.
15993         * configure: Rebuilt.
15994         * Makefile.in: Rebuilt.
15995
15996 2002-03-06  Adam Megacz  <adam@xwt.org>
15997
15998         * java/io/FileDescriptor.java: Initialize in/out/err in init().
15999         * java/io/natFileDescriptorWin32.cc (init()): Added function.
16000         * java/io/natFileDescriptorPosix.cc (init()): Added function.
16001         * java/io/natFileDescriptorEcos.cc (init()): Added function.
16002
16003 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
16004
16005         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
16006         the code for generating include/java-chartables.h.
16007         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
16008         merge with Classpath.
16009         * scripts/unicode-muncher.pl: Copy from Classpath.
16010         * scritps/MakeCharTables.java: New file.
16011         * gnu/gcj/convert/Blocks-3.txt: New file.
16012         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
16013         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
16014         * gnu/java/lang/CharData.java: Copy from Classpath.
16015         * Makefile.am (ordinary_java_source_files): Add
16016         gnu/java/lang/CharData.java.
16017         * configure.in: Remove --enable-fast-character option.
16018         * java/lang/Character.java: Merge algorithms and Javadoc with
16019         Classpath.
16020         * java/lang/natCharacter.cc: Implement Unicode lookup table more
16021         efficiently.
16022         * include/java-chardecomp.h: Regenerate.
16023         * include/java-chartables.h: Regenerate.
16024
16025 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16026
16027         * java/awt/MediaTracker.java: Implemented.
16028         * Makefile.am: Add MediaTracker.
16029         * Makefile.in: Rebuilt.
16030
16031 2002-03-05  Tom Tromey  <tromey@redhat.com>
16032
16033         * java/lang/natPosixProcess.cc (fail): Removed.
16034         (startProcess): Simplified error-handling.  Preserve
16035         LD_LIBRARY_PATH across exec.
16036
16037         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
16038         AbstractMethodError.
16039
16040 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16041
16042         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
16043         * Makefile.in: Rebuilt.
16044
16045 2002-03-03 Mark Wielaard <mark@klomp.org>
16046
16047         * java/util/Timer (TaskQueue.stop): set elements to zero.
16048
16049 2002-02-28  Anthony Green  <green@redhat.com>
16050
16051         * java/lang/reflect/natMethod.cc (result): Add void* element.
16052         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
16053         constructor test.
16054
16055 2002-02-27  Adam Megacz <adam@xwt.org>
16056
16057         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
16058         '#undef STRICT'.
16059
16060 2002-02-26  Tom Tromey  <tromey@redhat.com>
16061
16062         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
16063         * gij.cc (version): Use __VERSION__.
16064         * include/config.h.in: Rebuilt.
16065         * acconfig.h (GCJVERSION): Removed.
16066         * configure: Rebuilt.
16067         * configure.in (GCJVERSION): Removed.
16068
16069 2002-02-26  Andreas Schwab  <schwab@suse.de>
16070
16071         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
16072         glibcpp_CXX, since libjava uses even another CXX.
16073         * aclocal.m4, configure: Regenerated.
16074
16075 2002-02-26  Tom Tromey  <tromey@redhat.com>
16076
16077         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
16078         `1'.
16079
16080 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16081
16082         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
16083         dependency tracking for .java files.
16084         * Makefile.in: Rebuilt.
16085
16086 2002-02-24  Adam Megacz  <adam@xwt.org>
16087
16088         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
16089         typo. Sorry.
16090
16091 2002-02-24  Adam Megacz  <adam@xwt.org>
16092
16093         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
16094         for Win32, changed #ifdefs to check WIN32 instead of the
16095         (now-obsolete) USE_WINSOCK, and removed support for socket
16096         timeouts on Win32 pending further discussion.
16097
16098 2002-02-24  Adam Megacz  <adam@xwt.org>
16099
16100         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
16101         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
16102         delete
16103
16104 2002-02-24  Adam Megacz  <adam@xwt.org>
16105
16106         * java/lang/Win32Process.java: Created a dummy class to allow
16107         build process to run to completion.
16108
16109 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
16110
16111         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
16112         Define ffi_result union for ffi_call result.  Cast
16113         ffi_result members to jvalue.
16114
16115 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
16116
16117         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
16118         * testsuite/Makefile.in: Likewise.
16119
16120 2002-02-20  Per Bothner  <per@bothner.com>
16121
16122         * java/net/URL.java (getPath):  New JDK 1.3 method.
16123
16124         * java/net/URLStreamHandler.java (parseURL):
16125         It is wrong to prepend '/' to the file part of a relative url.
16126
16127         * java/net/URLStreamHandler.java (parseURL):
16128         Minor optizations - append '/' rather than "/".
16129
16130         * java/net/URLStreamHandler.java (parseURL):
16131         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
16132         We probably should canonicalize for a context-relative url, though.
16133         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
16134         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
16135         (sameFile):  New method.  Uses canonicalizeFilename.
16136
16137 2002-02-22  Tom Tromey  <tromey@redhat.com>
16138
16139         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
16140         java.vendor and java.vm.vendor.
16141         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
16142         recent copyright date.
16143         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
16144         * gij.cc (version): Print `Inc'.
16145
16146 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16147
16148         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
16149         * aclocal.m4, configure: Rebuilt.
16150
16151 2002-02-20  Per Bothner  <per@bothner.com>
16152
16153         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
16154         and/or output streams immediately here, instead of using File.exists.
16155         (inputStream, outputStream):  New fields to save open streams.
16156         (getInputStream, getOutputStream):  Use already-opened streams.
16157
16158 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16159
16160         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
16161         Use it.
16162         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
16163         * aclocal.m4, configure, Makefile.in: Rebuilt.
16164
16165 2002-02-19  Tom Tromey  <tromey@redhat.com>
16166
16167         Fix for PR libgcj/5696:
16168         * verify.cc (is_assignable_from_slow): Never call
16169         _Jv_IsAssignableFrom.
16170         (verify_instructions_0): Added new debug statement.
16171         (state::print): Print information about whether local has
16172         changed.
16173         (state::merge): Don't call note_variable when merging locals.
16174         (state::set_exception): Removed old FIXME comment.
16175
16176 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16177
16178         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
16179         enable SO_BROADCAST.
16180
16181 2002-02-18  Jason Merrill  <jason@redhat.com>
16182
16183         * name-finder.cc (toHex): Use word mode, not long long.
16184
16185         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
16186
16187 2002-02-15  Tom Tromey  <tromey@redhat.com>
16188
16189         Fix for PR libgcj/5695:
16190         * verify.cc (is_assignable_from_slow): Check to see if target is
16191         an Object before checking to see if source is an interface.
16192         (verify_instructions_0) [op_invokeinterface]: Handle case where
16193         we're making an interface call on Object.
16194
16195 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16196
16197         * Makefile.in: Rebuilt with Eric's change below.
16198
16199         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
16200         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
16201         Removed functions which are now implemented in Math.java.
16202
16203 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16204
16205         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
16206         * Makefile.am (core_java_source_files): Add
16207         java/lang/StrictMath.java.
16208         * java/lang/Math.java: Merge with Classpath.
16209         * java/lang/StrictMath.java: New file - merge with Classpath.
16210
16211 2002-02-14  Mark Wielaard  <mark@klomp.org>
16212
16213         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
16214         package as a workaround for gcj 3.0.x
16215
16216 2002-02-14  Mark Wielaard <mark@klomp.org>
16217
16218         * java/security/BasicPermission.java: extends with fully qualified
16219         classname as workaround for gcj 3.0.4.
16220
16221 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16222
16223         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
16224         around gcj bug of wrong emitted qualifier for inherited method.
16225         * java/net/SocketImpl.java (setOption, getOption): Ditto.
16226         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
16227         constructor to reduce amount of emitted bytecode. While this
16228         happens to work around a jikes 1.15 bug, it is still a useful
16229         patch even for correct compilers.
16230         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
16231         * gnu/java/rmi/server/UnicastRemoteCall.java
16232         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
16233
16234 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16235
16236         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
16237         * java/net/SocketImpl.java: Ditto.
16238         * java/rmi/server/RMIClassLoader.java: Ditto.
16239         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
16240
16241 2002-02-14  Mark Wielaard <mark@klomp.org>
16242
16243         Thanks to Takashi Okamoto
16244         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
16245         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
16246         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
16247
16248 2002-02-13  Todd Stock  <toddastock@yahoo.com>
16249
16250         Fix for PR libgcj/5670:
16251         * verify.cc (is_assignable_from_slow): If `source' is interface,
16252         recursively look for merge with `target'.
16253
16254 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
16255
16256         * include/jni.h: Fix typo.
16257
16258 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
16259
16260         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
16261         correctly.
16262
16263 2002-02-13  Todd Stock  <toddastock@yahoo.com>
16264
16265         Fix for PR libgcj/5671:
16266         * verify.cc (state::merge): Handle case where we're merging
16267         against an interface.
16268
16269 2002-02-12  Tom Tromey  <tromey@redhat.com>
16270
16271         * exception.cc (std::abort): Mark as noreturn.
16272
16273 2002-02-12  Adam Megacz <adam@xwt.org>
16274
16275         * java/lang/Win32Process.java: Filled in a placeholder
16276         implementation so Win32 will build.
16277
16278 2002-02-12  Adam Megacz <adam@xwt.org>
16279
16280         * java/io/natFilePosix.cc: Copied this from natFile.cc.
16281         * java/io/natFile.cc: Removed from repository.
16282         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
16283
16284 2002-02-12  Adam Megacz <adam@xwt.org>
16285
16286         * win32.cc: Added two #includes to make win32.cc compile.
16287
16288 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16289
16290         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
16291         declarations.
16292         (_Jv_InitGC): Don't bother locking, as this is always called from a
16293         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
16294
16295 2002-02-11  Adam Megacz <adam@xwt.org>
16296
16297         * include/win32.h: Added _Jv_platform_gettimeofday.
16298         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
16299
16300 2002-02-11  Adam Megacz <adam@xwt.org>
16301
16302         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
16303         Added #undef STRICT to make windows.h and
16304         java/lang/reflect/Modifier.h cooperate.
16305
16306 2002-02-11  Adam Megacz <adam@xwt.org>
16307
16308         * java/io/natFileWin32.cc: Created a placeholder class with lots
16309         of FIXMEs.
16310
16311 2002-02-11  Adam Megacz <adam@xwt.org>
16312
16313         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
16314         std::abort() to simply abort(). Also added "fake" std::abort() so
16315         we can #include unwind-pe.h without having to link against
16316         libstdc++-v3.
16317
16318 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
16319
16320         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
16321
16322 2002-02-08  Tom Tromey  <tromey@redhat.com>
16323
16324         * interpret.cc (convert): New function.
16325         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
16326         convert.
16327         Include Long.h.
16328
16329 2002-02-08  Anthony Green  <green@redhat.com>
16330
16331         * configure.host: Add support for xscale-elf embedded target.
16332
16333 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
16334
16335         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
16336         dereferenced.
16337         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
16338         frame.
16339
16340 2002-02-07  Tom Tromey  <tromey@redhat.com>
16341
16342         * java/io/natFile.cc (_access): Use __builtin_alloca.
16343         (_stat): Likewise.
16344         (attr): Likewise.
16345         (getCanonicalPath): Likewise.
16346         (performList): Likewise.
16347         (performMkdir): Likewise.
16348         (performSetReadOnly): Likewise.
16349         (performRenameTo): Likewise.
16350         (performSetLastModified): Likewise.
16351         (performCreate): Likewise.
16352         (performDelete): Likewise.
16353
16354 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16355
16356         * HACKING: Fix URL for the automake-gcj.
16357
16358 2002-02-07  Tom Tromey  <tromey@redhat.com>
16359
16360         * java/lang/natThrowable.cc: Updated copyright.
16361         * java/io/natFileWin32.cc: Updated copyright.
16362         * java/io/natFileDescriptorWin32.cc: Updated copyright.
16363         * win32-threads.cc: Updated copyright.
16364         * name-finder.cc: Updated copyright.
16365         * include/name-finder.h: Updated copyright.
16366
16367         * include/name-finder.h: Conditionally include sys/wait.h.
16368         * include/config.h.in: Rebuilt.
16369
16370         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
16371         Size buffer based on real size of string.
16372         (_stat): Likewise.
16373         (attr): Likewise.
16374         (getCanonicalPath): Likewise.
16375         (performList): Likewise.
16376         (performMkdir): Likewise.
16377         (performSetReadOnly): Likewise.
16378         (unixroot): Removed.
16379         (performRenameTo): Likewise.
16380         (performSetLastModified): Likewise.
16381         (performCreate): Likewise.
16382         (performDelete): Likewise.
16383         (performListRoots): Always return new array.
16384
16385         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
16386         * win32.cc (win32_exception_handler): Now static.
16387         * include/win32.h (_Jv_platform_initialize): Declare.
16388         (win32_exception_handler): Don't declare.
16389         * java/lang/natSystem.cc (currentTimeMillis): Use
16390         _Jv_platform_gettimeofday.
16391         * posix.cc (_Jv_platform_gettimeofday): Renamed.
16392         (_Jv_select): Use new name.
16393         (_Jv_platform_initialize): New function.
16394         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
16395         _Jv_gettimeofday.
16396         (_Jv_platform_initialize): Declare.
16397
16398         * configure: Rebuilt.
16399         * configure.in: Removed unnecessary parens.
16400
16401 2002-02-06  Adam Megacz <adam@xwt.org>
16402
16403        * configure.in: Changed mingw) to *mingw*).
16404        * win32.cc: Created this file.
16405        * win32.h: Created this file.
16406        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
16407        win32_exception_handler from prims.cc to win32.cc, added
16408        header in win32.h.
16409        * prims.cc: removed some #ifdef-WIN32'd headers which are no
16410        longer needed now that we have platform.h
16411
16412 2002-02-06  Adam Megacz <adam@xwt.org>
16413
16414         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
16415         use uint<n>_t instead of LONG and BYTE
16416
16417 2002-02-06  Adam Megacz <adam@xwt.org>
16418
16419         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
16420
16421 2002-02-06  Anthony Green  <green@redhat.com>
16422
16423         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
16424         Implement missing method stubs.
16425         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
16426         targets.
16427         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
16428         concept of timezones.
16429         (init_properties): Don't refer to _Jv_Environment_Properties
16430         when this feature is not available.
16431         * include/config.h.in: Rebuilt.
16432         * acconfig.h: Add DISABLE_MAIN_ARGS.
16433         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
16434         * configure: Rebuilt.
16435         * configure.in: Add --disable-main-args option.  Test for
16436           opendir function.  Replace AC_CHECK_SIZEOF with
16437           AC_COMPILE_CHECK_SIZEOF.
16438         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
16439         * aclocal.m4: Rebuilt.
16440         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
16441
16442 2002-02-06  Tom Tromey  <tromey@redhat.com>
16443
16444         * verify.cc (require_array_type): If argument is a null array of
16445         references, return null as the element type.
16446
16447 2002-02-06  Mark Wielaard  <mark@klomp.org>
16448
16449         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
16450         duplicate of a wide type.
16451
16452 2002-02-06  Tom Tromey  <tromey@redhat.com>
16453
16454         * verify.cc (type::isnull): New method.
16455         (require_array_type): Handle case where array is null.
16456         (verify_instructions_0) [op_arraylength]: Likewise.
16457
16458 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16459
16460         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
16461         Symlink PLATFORMH to platform.h.
16462         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
16463         PLATFORMOBJS.
16464         * java/lang/natSystem.cc: #include platform.h not posix.h.
16465         * Makefile.in: Rebuilt with libgcj automake.
16466         * configure: Rebuilt.
16467
16468 2002-02-05  Richard Henderson  <rth@redhat.com>
16469
16470         * Makefile.in: Undo munging last change.
16471
16472 2002-02-04  Adam Megacz <adam@xwt.org>
16473
16474         * win32.cc: Created it.
16475         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
16476         which is set to posix.cc or win32.cc.
16477         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
16478
16479 2002-02-04  Adam Megacz <adam@xwt.org>
16480
16481         * configure.in: Corrected mingw case branches; added * before
16482         and after.
16483
16484 2002-02-04  Adam Megacz <adam@xwt.org>
16485
16486         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
16487         if compiling for win32
16488
16489 2002-02-04  Adam Megacz <adam@xwt.org>
16490
16491         * win32-threads.cc: #undef STRICT after gc.h inclusion
16492
16493 2002-02-02  Tom Tromey  <tromey@redhat.com>
16494
16495         * Makefile.in: Rebuilt.
16496
16497 2002-02-02  Jason Merrill  <jason@redhat.com>
16498
16499         * Makefile.am (clean-nat): New target.
16500
16501 2002-02-02  Tom Tromey  <tromey@redhat.com>
16502
16503         * java/io/natFile.cc: Removed old "FIXME" comments.
16504
16505 2002-02-01  Tom Tromey  <tromey@redhat.com>
16506
16507         * java/lang/natPosixProcess.cc (myclose): New function.
16508         (fail): Use it.
16509         (startProcess): Likewise.
16510
16511 2002-02-01  Adam Megacz <adam@xwt.org>
16512
16513         * prims.cc: Added #undef STRICT after #include<windows.h>.
16514
16515 2002-02-01  Adam Megacz <adam@xwt.org>
16516
16517         * prims.cc
16518         (_Jv_CreateJavaVM): We now use WIN32 instead of
16519         USE_WIN32_SIGNALLING and USE_WINSOCK.
16520         (win32_exception_handler): Now throws an exception out of
16521         the signal handler; assumes SJLJ.
16522
16523 2002-02-01  Adam Megacz <adam@xwt.org>
16524
16525         * win32-threads.cc:
16526         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
16527         wait() algorithm to make it safe.
16528         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
16529         Added lazy creation of Win32 Events for better performance
16530         (really_start): This now uses GC_CreateThread so boehm-gc
16531         knows about new threads even when statically linked.
16532
16533 2002-02-01  Adam Megacz <adam@xwt.org>
16534
16535         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
16536         enable safer wait() algorithm.
16537         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
16538         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
16539         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
16540         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
16541         instead of mutex.
16542         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
16543
16544 2002-02-01  Adam Megacz <adam@xwt.org>
16545
16546         * configure.in: Added support for mingw.
16547         * java/lang/Win32Process.java: Created as empty file.
16548         * java/lang/natWin32Process.cc: Created as empty file.
16549
16550 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
16551
16552         PR java/4972
16553         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
16554         for libiconv in LIBICONV variable.
16555         * configure: Regenerated.
16556
16557 2002-01-31  Tom Tromey  <tromey@redhat.com>
16558
16559         * verify.cc (state::enter_subroutine): New method.
16560         (handle_jsr_insn): Use it.
16561         (state::merge): When processing a `ret', correctly use
16562         subroutine's state to determine which local variables have
16563         changed.
16564         (push_exception_jump): Don't let stack overflow.
16565
16566 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
16567
16568         * gnu/gcj/convert/Convert.java: Only include one copyright year in
16569         --version output.
16570
16571 2002-01-30  Tom Tromey  <tromey@redhat.com>
16572
16573         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
16574         parameter for `recv' return type.
16575
16576         * verify.cc (handle_ret_insn): Check for subroutine merge here...
16577         (state::merge): ... not here.
16578         (subr_entry_info): New structure.
16579         (entry_points): New field.
16580         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
16581         entry_points.
16582
16583 2002-01-29  Tom Tromey  <tromey@redhat.com>
16584
16585         * java/awt/List.java (addNotify): Correctly check to see if peer
16586         does not exist.
16587
16588         * java/awt/GridLayout.java (layoutContainer): Use number of rows
16589         to compute height of each cell, and number of columns to compute
16590         width of each cell.
16591         * java/awt/Window.java (getOwnedWindows): Don't return null.
16592         * java/awt/FlowLayout.java (layoutContainer): Set width and height
16593         of component.  Increment x using horizontal gap, not vertical
16594         gap.
16595
16596 2002-01-28  Tom Tromey  <tromey@redhat.com>
16597
16598         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
16599         `nargs' byte is number of words, not number of arguments.
16600
16601 2002-01-27  Tom Tromey  <tromey@redhat.com>
16602
16603         * java/awt/event/MouseEvent.java (modifiers): Removed field.
16604         (when): Likewise.
16605         * java/awt/event/InputEvent.java (modifiers, when): Now
16606         package-private.
16607
16608         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
16609         and to-do list.
16610         (state::merge): Use current class' class loader.
16611         (state::print): Print subroutine.
16612         (state::merge): Don't look at subroutine of unmerged `ret'.
16613
16614 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
16615
16616         * nogc.cc: Remove warnings.
16617         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
16618         New functions.
16619
16620 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16621
16622         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
16623         int, int):  Remove empty "if" statement to work around compiler bug.
16624         (newPixels(int[], ColorModel, int, int): Likewise.
16625
16626 2002-01-25  Per Bothner  <per@bothner.com>
16627
16628         * verify.cc (verify_fail):  Change from being a top-level function
16629         to e method of _Jv_BytecodeVerifier.  Emit current method name.
16630         Pass the current verifier to type: and state: methods as needed,
16631         for better error messages, and for resolve.
16632         (resolve):  Pass current class's loader for Class.forName and
16633         _Jv_FindClassFromSignature, rather than using the default loader.
16634         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
16635         (get_type_val_for_signature):  Make non-static.
16636         (various methods):  Pass start_PC implicitly, not explicitly.
16637
16638 2002-01-25  Tom Tromey  <tromey@redhat.com>
16639
16640         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
16641         loop termination condition.
16642         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
16643         width.
16644
16645 2002-01-24  Tom Tromey  <tromey@redhat.com>
16646
16647         * java/awt/Shape.java: Merged with Classpath.
16648         * java/awt/Scrollbar.java: Merged with Classpath.
16649
16650         * java/awt/Container.java (addNotify): Unconditionally call
16651         addNotifyContainerChildren and superclass addNotify.
16652
16653         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
16654         getAlpha, not getBlue.
16655
16656 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16657
16658         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
16659
16660         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
16661         (grabPixels(long)): Wait to be notified that the ImageProducer has
16662         completed.
16663
16664 2002-01-24  Per Bothner  <per@bothner.com>
16665
16666         * verify.cc (is_assignable_from_slow): If target is an interface,
16667         we must still check the source's superclass before giving up.
16668
16669 2002-01-24  Tom Tromey  <tromey@redhat.com>
16670
16671         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
16672
16673 2002-01-23  Tom Tromey  <tromey@redhat.com>
16674
16675         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
16676         `else'.
16677
16678         * Makefile.in: Rebuilt.
16679         * Makefile.am (awt_java_source_files): Added new files.
16680         * java/awt/Toolkit.java: Merged with Classpath.
16681         * java/awt/PrintGraphics.java: New file from Classpath.
16682         * java/awt/PrintJob.java: New file from Classpath.
16683         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
16684         * java/awt/datatransfer/ClipboardOwner.java: New file from
16685         Classpath.
16686         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
16687         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
16688         * java/awt/datatransfer/MimeTypeParseException.java: New file from
16689         Classpath.
16690         * java/awt/datatransfer/StringSelection.java: New file from
16691         Classpath.
16692         * java/awt/datatransfer/SystemFlavorMap.java: New file from
16693         Classpath.
16694         * java/awt/datatransfer/Transferable.java: New file from
16695         Classpath.
16696         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
16697         from Classpath.
16698
16699         * Makefile.in: Rebuilt.
16700         * Makefile.am (awt_java_source_files): Added new files.
16701         * java/awt/image/AreaAveragingScaleFilter.java: New file from
16702         Classpath.
16703         * java/awt/image/CropImageFilter.java: New file from Classpath.
16704         * java/awt/image/FilteredImageSource.java: New file from
16705         Classpath.
16706         * java/awt/image/ImageFilter.java: New file from Classpath.
16707         * java/awt/image/MemoryImageSource.java: New file from Classpath.
16708         * java/awt/image/PixelGrabber.java: New file from Classpath.
16709         * java/awt/image/RGBImageFilter.java: New file from Classpath.
16710         * java/awt/image/ReplicateScaleFilter.java: New file from
16711         Classpath.
16712         * java/awt/image/ImageProducer.java: Replaced with Classpath
16713         version.
16714         * java/awt/image/ImageObserver.java: Replaced with Classpath
16715         version.
16716         * java/awt/image/ImageConsumer.java: Replaced with Classpath
16717         version.
16718         * java/awt/GridBagConstraints.java (clone): Catch
16719         CloneNotSupportedException.
16720
16721 2002-01-23  Per Bothner  <per@bothner.com>
16722
16723         * java/lang/reflect/natField.cc (setAddr):  New function.
16724         Calls getAddr and then checks that the field isn't final.
16725         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
16726         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
16727         (set):  Call setAddr before check that new value has right type,
16728         to better match specified semantics.
16729
16730 2002-01-22  Tom Tromey  <tromey@redhat.com>
16731
16732         * java/awt/TextField.java: Replaced with Classpath version.
16733         * java/awt/TextArea.java: Replaced with Classpath version.
16734         * java/awt/TextComponent.java: Replaced with Classpath version.
16735
16736         * java/awt/GridBagConstraints.java: Updated copyright.
16737
16738 2002-01-22  Mark Wielaard <mark@klomp.org>
16739
16740         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
16741         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
16742         java/awt/Dialog.java java/awt/FileDialog.java
16743         java/awt/Font.java java/awt/FontMetrics.java
16744         java/awt/Image.java java/awt/ImageMediaEntry.java
16745         java/awt/Insets.java java/awt/List.java
16746         java/awt/MediaEntry.java java/awt/MediaTracker.java
16747         java/awt/Menu.java java/awt/MenuBar.java
16748         java/awt/MenuContainer.java java/awt/MenuShortcut.java
16749         java/awt/PaintContext.java java/awt/Panel.java
16750         java/awt/PopupMenu.java java/awt/SystemColor.java
16751         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
16752         java/awt/peer/CheckboxMenuItemPeer.java
16753         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
16754         java/awt/peer/ComponentPeer.java
16755         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
16756         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
16757         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
16758         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
16759         java/awt/peer/MenuBarPeer.java
16760         java/awt/peer/MenuComponentPeer.java
16761         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
16762         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
16763         java/awt/peer/ScrollPanePeer.java
16764         java/awt/peer/ScrollbarPeer.java
16765         java/awt/peer/TextAreaPeer.java
16766         java/awt/peer/TextComponentPeer.java
16767         java/awt/peer/TextFieldPeer.java
16768         java/awt/peer/WindowPeer.java: Add license clarification.
16769
16770 2002-01-22  Mark Wielaard <mark@klomp.org>
16771
16772         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
16773         gnu/gcj/runtime/StringBuffer.java
16774         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
16775         gnu/java/awt/ComponentDataBlitOp.java
16776         gnu/java/awt/GLightweightPeer.java
16777         gnu/java/beans/BeanInfoEmbryo.java
16778         gnu/java/beans/EmptyBeanInfo.java
16779         gnu/java/beans/ExplicitBeanInfo.java
16780         gnu/java/beans/IntrospectionIncubator.java
16781         gnu/java/beans/editors/ColorEditor.java
16782         gnu/java/beans/editors/FontEditor.java
16783         gnu/java/beans/editors/NativeBooleanEditor.java
16784         gnu/java/beans/editors/NativeByteEditor.java
16785         gnu/java/beans/editors/NativeDoubleEditor.java
16786         gnu/java/beans/editors/NativeFloatEditor.java
16787         gnu/java/beans/editors/NativeIntEditor.java
16788         gnu/java/beans/editors/NativeLongEditor.java
16789         gnu/java/beans/editors/NativeShortEditor.java
16790         gnu/java/beans/editors/StringEditor.java
16791         gnu/java/beans/info/ComponentBeanInfo.java
16792         gnu/java/io/ClassLoaderObjectInputStream.java
16793         gnu/java/io/NullOutputStream.java
16794         gnu/java/io/ObjectIdentityWrapper.java
16795         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
16796         gnu/java/lang/reflect/TypeSignature.java
16797         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
16798         gnu/java/locale/Calendar_en.java
16799         gnu/java/locale/Calendar_nl.java
16800         gnu/java/locale/LocaleInformation.java
16801         gnu/java/locale/LocaleInformation_de.java
16802         gnu/java/locale/LocaleInformation_en.java
16803         gnu/java/locale/LocaleInformation_nl.java
16804         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
16805         gnu/java/rmi/registry/RegistryImpl.java
16806         gnu/java/rmi/rmic/Compile_gcj.java
16807         gnu/java/rmi/rmic/Compiler.java
16808         gnu/java/rmi/rmic/CompilerProcess.java
16809         gnu/java/rmi/rmic/RMIC.java
16810         gnu/java/rmi/rmic/TabbedWriter.java
16811         gnu/java/rmi/server/ProtocolConstants.java
16812         gnu/java/rmi/server/RMIDefaultSocketFactory.java
16813         gnu/java/rmi/server/RMIHashes.java
16814         gnu/java/rmi/server/RMIObjectInputStream.java
16815         gnu/java/rmi/server/RMIObjectOutputStream.java
16816         gnu/java/rmi/server/UnicastConnection.java
16817         gnu/java/rmi/server/UnicastConnectionManager.java
16818         gnu/java/rmi/server/UnicastRef.java
16819         gnu/java/rmi/server/UnicastRemoteCall.java
16820         gnu/java/rmi/server/UnicastRemoteStub.java
16821         gnu/java/rmi/server/UnicastServer.java
16822         gnu/java/rmi/server/UnicastServerRef.java
16823         gnu/java/security/provider/DefaultPolicy.java
16824         gnu/java/security/provider/Gnu.java
16825         gnu/java/security/provider/SHA.java
16826         gnu/java/security/provider/SHA1PRNG.java
16827         gnu/java/text/BaseBreakIterator.java
16828         gnu/java/text/CharacterBreakIterator.java
16829         gnu/java/text/LineBreakIterator.java
16830         gnu/java/text/SentenceBreakIterator.java
16831         gnu/java/text/WordBreakIterator.java
16832         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
16833         java/applet/AppletContext.java java/applet/AppletStub.java
16834         java/applet/AudioClip.java java/awt/AWTError.java
16835         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
16836         java/awt/AWTException.java java/awt/AWTPermission.java
16837         java/awt/ActiveEvent.java java/awt/BorderLayout.java
16838         java/awt/Button.java java/awt/Canvas.java
16839         java/awt/CardLayout.java java/awt/Checkbox.java
16840         java/awt/CheckboxGroup.java java/awt/Component.java
16841         java/awt/ComponentOrientation.java java/awt/Container.java
16842         java/awt/Dimension.java java/awt/Event.java
16843         java/awt/EventDispatchThread.java java/awt/EventQueue.java
16844         java/awt/FlowLayout.java java/awt/Frame.java
16845         java/awt/Graphics.java java/awt/Graphics2D.java
16846         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
16847         java/awt/IllegalComponentStateException.java
16848         java/awt/ItemSelectable.java java/awt/Label.java
16849         java/awt/LayoutManager.java java/awt/LayoutManager2.java
16850         java/awt/MenuComponent.java java/awt/MenuItem.java
16851         java/awt/Paint.java java/awt/Point.java
16852         java/awt/Rectangle.java java/awt/RenderingHints.java
16853         java/awt/Transparency.java java/awt/Window.java
16854         java/awt/color/ColorSpace.java
16855         java/awt/color/ICC_ColorSpace.java
16856         java/awt/color/ICC_Profile.java
16857         java/awt/event/HierarchyBoundsAdapter.java
16858         java/awt/event/HierarchyBoundsListener.java
16859         java/awt/event/HierarchyEvent.java
16860         java/awt/event/HierarchyListener.java
16861         java/awt/geom/AffineTransform.java
16862         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
16863         java/awt/geom/IllegalPathStateException.java
16864         java/awt/geom/Line2D.java
16865         java/awt/geom/NoninvertibleTransformException.java
16866         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
16867         java/awt/geom/Rectangle2D.java
16868         java/awt/geom/RectangularShape.java
16869         java/awt/geom/RoundRectangle2D.java
16870         java/awt/image/BufferedImage.java
16871         java/awt/image/ColorModel.java
16872         java/awt/image/ComponentColorModel.java
16873         java/awt/image/ComponentSampleModel.java
16874         java/awt/image/DataBuffer.java
16875         java/awt/image/DataBufferByte.java
16876         java/awt/image/DataBufferInt.java
16877         java/awt/image/DataBufferUShort.java
16878         java/awt/image/DirectColorModel.java
16879         java/awt/image/PackedColorModel.java
16880         java/awt/image/Raster.java java/awt/image/RasterOp.java
16881         java/awt/image/SampleModel.java
16882         java/awt/image/SinglePixelPackedSampleModel.java
16883         java/awt/image/WritableRaster.java
16884         java/beans/AppletInitializer.java
16885         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
16886         java/beans/Beans.java java/beans/Customizer.java
16887         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
16888         java/beans/FeatureDescriptor.java
16889         java/beans/IndexedPropertyDescriptor.java
16890         java/beans/IntrospectionException.java
16891         java/beans/Introspector.java java/beans/MethodDescriptor.java
16892         java/beans/ParameterDescriptor.java
16893         java/beans/PropertyChangeEvent.java
16894         java/beans/PropertyChangeListener.java
16895         java/beans/PropertyChangeSupport.java
16896         java/beans/PropertyDescriptor.java
16897         java/beans/PropertyEditor.java
16898         java/beans/PropertyEditorManager.java
16899         java/beans/PropertyEditorSupport.java
16900         java/beans/PropertyVetoException.java
16901         java/beans/SimpleBeanInfo.java
16902         java/beans/VetoableChangeListener.java
16903         java/beans/VetoableChangeSupport.java
16904         java/beans/Visibility.java
16905         java/beans/beancontext/BeanContext.java
16906         java/beans/beancontext/BeanContextChild.java
16907         java/beans/beancontext/BeanContextChildComponentProxy.java
16908         java/beans/beancontext/BeanContextChildSupport.java
16909         java/beans/beancontext/BeanContextContainerProxy.java
16910         java/beans/beancontext/BeanContextEvent.java
16911         java/beans/beancontext/BeanContextMembershipEvent.java
16912         java/beans/beancontext/BeanContextMembershipListener.java
16913         java/beans/beancontext/BeanContextProxy.java
16914         java/beans/beancontext/BeanContextServiceAvailableEvent.java
16915         java/beans/beancontext/BeanContextServiceProvider.java
16916         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
16917         java/beans/beancontext/BeanContextServiceRevokedEvent.java
16918         java/beans/beancontext/BeanContextServiceRevokedListener.java
16919         java/beans/beancontext/BeanContextServices.java
16920         java/beans/beancontext/BeanContextServicesListener.java
16921         java/io/BufferedInputStream.java
16922         java/io/BufferedOutputStream.java java/io/BufferedReader.java
16923         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
16924         java/io/ByteArrayOutputStream.java
16925         java/io/CharArrayReader.java java/io/CharArrayWriter.java
16926         java/io/CharConversionException.java java/io/DataInput.java
16927         java/io/DataInputStream.java java/io/DataOutput.java
16928         java/io/EOFException.java java/io/Externalizable.java
16929         java/io/FileFilter.java java/io/FileNotFoundException.java
16930         java/io/FilePermission.java java/io/FileReader.java
16931         java/io/FileWriter.java java/io/FilenameFilter.java
16932         java/io/FilterInputStream.java java/io/FilterOutputStream.java
16933         java/io/FilterReader.java java/io/FilterWriter.java
16934         java/io/IOException.java java/io/InputStream.java
16935         java/io/InterruptedIOException.java
16936         java/io/InvalidClassException.java
16937         java/io/InvalidObjectException.java
16938         java/io/NotActiveException.java
16939         java/io/NotSerializableException.java java/io/ObjectInput.java
16940         java/io/ObjectInputStream.java
16941         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
16942         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
16943         java/io/ObjectStreamConstants.java
16944         java/io/ObjectStreamException.java
16945         java/io/ObjectStreamField.java
16946         java/io/OptionalDataException.java java/io/OutputStream.java
16947         java/io/PipedInputStream.java java/io/PipedOutputStream.java
16948         java/io/PipedReader.java java/io/PipedWriter.java
16949         java/io/PrintWriter.java java/io/PushbackInputStream.java
16950         java/io/PushbackReader.java java/io/Reader.java
16951         java/io/SequenceInputStream.java java/io/Serializable.java
16952         java/io/SerializablePermission.java
16953         java/io/StreamCorruptedException.java
16954         java/io/StreamTokenizer.java
16955         java/io/StringBufferInputStream.java java/io/StringReader.java
16956         java/io/StringWriter.java java/io/SyncFailedException.java
16957         java/io/UTFDataFormatException.java
16958         java/io/UnsupportedEncodingException.java
16959         java/io/WriteAbortedException.java java/io/Writer.java
16960         java/lang/AbstractMethodError.java
16961         java/lang/ArithmeticException.java
16962         java/lang/ArrayIndexOutOfBoundsException.java
16963         java/lang/ArrayStoreException.java java/lang/Boolean.java
16964         java/lang/Byte.java java/lang/CharSequence.java
16965         java/lang/ClassCastException.java
16966         java/lang/ClassCircularityError.java
16967         java/lang/ClassFormatError.java
16968         java/lang/ClassNotFoundException.java
16969         java/lang/CloneNotSupportedException.java
16970         java/lang/Cloneable.java java/lang/Comparable.java
16971         java/lang/Compiler.java java/lang/Double.java
16972         java/lang/Error.java java/lang/Exception.java
16973         java/lang/ExceptionInInitializerError.java
16974         java/lang/Float.java java/lang/IllegalAccessError.java
16975         java/lang/IllegalAccessException.java
16976         java/lang/IllegalArgumentException.java
16977         java/lang/IllegalMonitorStateException.java
16978         java/lang/IllegalStateException.java
16979         java/lang/IllegalThreadStateException.java
16980         java/lang/IncompatibleClassChangeError.java
16981         java/lang/IndexOutOfBoundsException.java
16982         java/lang/InheritableThreadLocal.java
16983         java/lang/InstantiationError.java
16984         java/lang/InstantiationException.java java/lang/Integer.java
16985         java/lang/InternalError.java
16986         java/lang/InterruptedException.java
16987         java/lang/LinkageError.java java/lang/Long.java
16988         java/lang/NegativeArraySizeException.java
16989         java/lang/NoClassDefFoundError.java
16990         java/lang/NoSuchFieldError.java
16991         java/lang/NoSuchFieldException.java
16992         java/lang/NoSuchMethodError.java
16993         java/lang/NoSuchMethodException.java
16994         java/lang/NullPointerException.java java/lang/Number.java
16995         java/lang/NumberFormatException.java
16996         java/lang/OutOfMemoryError.java java/lang/Package.java
16997         java/lang/Process.java java/lang/Runnable.java
16998         java/lang/RuntimeException.java
16999         java/lang/RuntimePermission.java
17000         java/lang/SecurityException.java
17001         java/lang/SecurityManager.java java/lang/Short.java
17002         java/lang/StackOverflowError.java java/lang/StringBuffer.java
17003         java/lang/StringIndexOutOfBoundsException.java
17004         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
17005         java/lang/ThreadLocal.java java/lang/UnknownError.java
17006         java/lang/UnsatisfiedLinkError.java
17007         java/lang/UnsupportedClassVersionError.java
17008         java/lang/UnsupportedOperationException.java
17009         java/lang/VerifyError.java java/lang/VirtualMachineError.java
17010         java/lang/Void.java java/lang/ref/PhantomReference.java
17011         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
17012         java/lang/ref/SoftReference.java
17013         java/lang/ref/WeakReference.java
17014         java/lang/reflect/AccessibleObject.java
17015         java/lang/reflect/InvocationTargetException.java
17016         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
17017         java/lang/reflect/ReflectPermission.java
17018         java/math/BigDecimal.java java/math/BigInteger.java
17019         java/net/Authenticator.java java/net/BindException.java
17020         java/net/ConnectException.java java/net/ContentHandler.java
17021         java/net/ContentHandlerFactory.java
17022         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
17023         java/net/FileNameMap.java java/net/MalformedURLException.java
17024         java/net/MulticastSocket.java java/net/NetPermission.java
17025         java/net/NoRouteToHostException.java
17026         java/net/PasswordAuthentication.java
17027         java/net/ProtocolException.java java/net/ServerSocket.java
17028         java/net/Socket.java java/net/SocketException.java
17029         java/net/SocketImpl.java java/net/SocketImplFactory.java
17030         java/net/SocketOptions.java java/net/SocketPermission.java
17031         java/net/URLDecoder.java java/net/URLEncoder.java
17032         java/net/URLStreamHandlerFactory.java
17033         java/net/UnknownHostException.java
17034         java/net/UnknownServiceException.java
17035         java/rmi/AccessException.java
17036         java/rmi/AlreadyBoundException.java
17037         java/rmi/ConnectException.java
17038         java/rmi/ConnectIOException.java
17039         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
17040         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
17041         java/rmi/NotBoundException.java
17042         java/rmi/RMISecurityException.java
17043         java/rmi/RMISecurityManager.java java/rmi/Remote.java
17044         java/rmi/RemoteException.java java/rmi/ServerError.java
17045         java/rmi/ServerException.java
17046         java/rmi/ServerRuntimeException.java
17047         java/rmi/StubNotFoundException.java
17048         java/rmi/UnexpectedException.java
17049         java/rmi/UnknownHostException.java
17050         java/rmi/UnmarshalException.java
17051         java/rmi/activation/Activatable.java
17052         java/rmi/activation/ActivateFailedException.java
17053         java/rmi/activation/ActivationDesc.java
17054         java/rmi/activation/ActivationException.java
17055         java/rmi/activation/ActivationGroup.java
17056         java/rmi/activation/ActivationGroupDesc.java
17057         java/rmi/activation/ActivationGroupID.java
17058         java/rmi/activation/ActivationID.java
17059         java/rmi/activation/ActivationInstantiator.java
17060         java/rmi/activation/ActivationMonitor.java
17061         java/rmi/activation/ActivationSystem.java
17062         java/rmi/activation/Activator.java
17063         java/rmi/activation/UnknownGroupException.java
17064         java/rmi/activation/UnknownObjectException.java
17065         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
17066         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
17067         java/rmi/registry/Registry.java
17068         java/rmi/registry/RegistryHandler.java
17069         java/rmi/server/ExportException.java
17070         java/rmi/server/LoaderHandler.java
17071         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
17072         java/rmi/server/Operation.java
17073         java/rmi/server/RMIClassLoader.java
17074         java/rmi/server/RMIClientSocketFactory.java
17075         java/rmi/server/RMIFailureHandler.java
17076         java/rmi/server/RMIServerSocketFactory.java
17077         java/rmi/server/RMISocketFactory.java
17078         java/rmi/server/RemoteCall.java
17079         java/rmi/server/RemoteObject.java
17080         java/rmi/server/RemoteRef.java
17081         java/rmi/server/RemoteServer.java
17082         java/rmi/server/RemoteStub.java
17083         java/rmi/server/ServerCloneException.java
17084         java/rmi/server/ServerNotActiveException.java
17085         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
17086         java/rmi/server/SkeletonMismatchException.java
17087         java/rmi/server/SkeletonNotFoundException.java
17088         java/rmi/server/SocketSecurityException.java
17089         java/rmi/server/UID.java
17090         java/rmi/server/UnicastRemoteObject.java
17091         java/rmi/server/Unreferenced.java
17092         java/security/AccessControlContext.java
17093         java/security/AccessControlException.java
17094         java/security/AccessController.java
17095         java/security/AlgorithmParameterGenerator.java
17096         java/security/AlgorithmParameterGeneratorSpi.java
17097         java/security/AlgorithmParameters.java
17098         java/security/AlgorithmParametersSpi.java
17099         java/security/AllPermission.java
17100         java/security/BasicPermission.java
17101         java/security/Certificate.java java/security/CodeSource.java
17102         java/security/DigestException.java
17103         java/security/DigestInputStream.java
17104         java/security/DigestOutputStream.java
17105         java/security/DomainCombiner.java
17106         java/security/DummyKeyPairGenerator.java
17107         java/security/DummyMessageDigest.java
17108         java/security/DummySignature.java
17109         java/security/GeneralSecurityException.java
17110         java/security/Guard.java java/security/GuardedObject.java
17111         java/security/Identity.java java/security/IdentityScope.java
17112         java/security/InvalidAlgorithmParameterException.java
17113         java/security/InvalidKeyException.java
17114         java/security/InvalidParameterException.java
17115         java/security/Key.java java/security/KeyException.java
17116         java/security/KeyFactory.java java/security/KeyFactorySpi.java
17117         java/security/KeyManagementException.java
17118         java/security/KeyPair.java java/security/KeyPairGenerator.java
17119         java/security/KeyPairGeneratorSpi.java
17120         java/security/KeyStore.java
17121         java/security/KeyStoreException.java
17122         java/security/KeyStoreSpi.java
17123         java/security/MessageDigest.java
17124         java/security/MessageDigestSpi.java
17125         java/security/NoSuchAlgorithmException.java
17126         java/security/NoSuchProviderException.java
17127         java/security/Permission.java
17128         java/security/PermissionCollection.java
17129         java/security/Permissions.java java/security/Policy.java
17130         java/security/Principal.java java/security/PrivateKey.java
17131         java/security/PrivilegedAction.java
17132         java/security/PrivilegedActionException.java
17133         java/security/PrivilegedExceptionAction.java
17134         java/security/ProtectionDomain.java
17135         java/security/Provider.java
17136         java/security/ProviderException.java
17137         java/security/PublicKey.java
17138         java/security/SecureClassLoader.java
17139         java/security/SecureRandom.java
17140         java/security/SecureRandomSpi.java java/security/Security.java
17141         java/security/SecurityPermission.java
17142         java/security/Signature.java
17143         java/security/SignatureException.java
17144         java/security/SignatureSpi.java
17145         java/security/SignedObject.java java/security/Signer.java
17146         java/security/UnrecoverableKeyException.java
17147         java/security/UnresolvedPermission.java
17148         java/security/acl/Acl.java java/security/acl/AclEntry.java
17149         java/security/acl/AclNotFoundException.java
17150         java/security/acl/Group.java
17151         java/security/acl/LastOwnerException.java
17152         java/security/acl/NotOwnerException.java
17153         java/security/acl/Owner.java java/security/acl/Permission.java
17154         java/security/cert/CRL.java
17155         java/security/cert/CRLException.java
17156         java/security/cert/Certificate.java
17157         java/security/cert/CertificateEncodingException.java
17158         java/security/cert/CertificateException.java
17159         java/security/cert/CertificateExpiredException.java
17160         java/security/cert/CertificateFactory.java
17161         java/security/cert/CertificateFactorySpi.java
17162         java/security/cert/CertificateNotYetValidException.java
17163         java/security/cert/CertificateParsingException.java
17164         java/security/cert/X509CRL.java
17165         java/security/cert/X509CRLEntry.java
17166         java/security/cert/X509Certificate.java
17167         java/security/cert/X509Extension.java
17168         java/security/interfaces/DSAKey.java
17169         java/security/interfaces/DSAKeyPairGenerator.java
17170         java/security/interfaces/DSAParams.java
17171         java/security/interfaces/DSAPrivateKey.java
17172         java/security/interfaces/DSAPublicKey.java
17173         java/security/interfaces/RSAKey.java
17174         java/security/interfaces/RSAPrivateCrtKey.java
17175         java/security/interfaces/RSAPrivateKey.java
17176         java/security/interfaces/RSAPublicKey.java
17177         java/security/spec/AlgorithmParameterSpec.java
17178         java/security/spec/DSAParameterSpec.java
17179         java/security/spec/DSAPrivateKeySpec.java
17180         java/security/spec/DSAPublicKeySpec.java
17181         java/security/spec/EncodedKeySpec.java
17182         java/security/spec/InvalidKeySpecException.java
17183         java/security/spec/InvalidParameterSpecException.java
17184         java/security/spec/KeySpec.java
17185         java/security/spec/PKCS8EncodedKeySpec.java
17186         java/security/spec/RSAKeyGenParameterSpec.java
17187         java/security/spec/RSAPrivateCrtKeySpec.java
17188         java/security/spec/RSAPrivateKeySpec.java
17189         java/security/spec/RSAPublicKeySpec.java
17190         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
17191         java/sql/BatchUpdateException.java java/sql/Blob.java
17192         java/sql/CallableStatement.java java/sql/Clob.java
17193         java/sql/Connection.java java/sql/DataTruncation.java
17194         java/sql/DatabaseMetaData.java java/sql/Date.java
17195         java/sql/Driver.java java/sql/DriverManager.java
17196         java/sql/DriverPropertyInfo.java
17197         java/sql/PreparedStatement.java java/sql/Ref.java
17198         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
17199         java/sql/SQLData.java java/sql/SQLException.java
17200         java/sql/SQLInput.java java/sql/SQLOutput.java
17201         java/sql/SQLWarning.java java/sql/Statement.java
17202         java/sql/Struct.java java/sql/Time.java
17203         java/sql/Timestamp.java java/sql/Types.java
17204         java/text/Annotation.java
17205         java/text/AttributedCharacterIterator.java
17206         java/text/AttributedString.java
17207         java/text/AttributedStringIterator.java
17208         java/text/BreakIterator.java java/text/CharacterIterator.java
17209         java/text/ChoiceFormat.java java/text/Collator.java
17210         java/text/DateFormat.java java/text/DateFormatSymbols.java
17211         java/text/DecimalFormat.java
17212         java/text/DecimalFormatSymbols.java
17213         java/text/FieldPosition.java java/text/Format.java
17214         java/text/MessageFormat.java java/text/NumberFormat.java
17215         java/text/ParseException.java java/text/ParsePosition.java
17216         java/text/SimpleDateFormat.java
17217         java/text/StringCharacterIterator.java
17218         java/util/AbstractCollection.java java/util/AbstractList.java
17219         java/util/AbstractMap.java
17220         java/util/AbstractSequentialList.java
17221         java/util/AbstractSet.java java/util/ArrayList.java
17222         java/util/Arrays.java java/util/BasicMapEntry.java
17223         java/util/BitSet.java java/util/Calendar.java
17224         java/util/Collection.java java/util/Collections.java
17225         java/util/Comparator.java
17226         java/util/ConcurrentModificationException.java
17227         java/util/Date.java java/util/Dictionary.java
17228         java/util/EmptyStackException.java java/util/Enumeration.java
17229         java/util/EventListener.java java/util/EventObject.java
17230         java/util/GregorianCalendar.java java/util/HashMap.java
17231         java/util/HashSet.java java/util/Hashtable.java
17232         java/util/IdentityHashMap.java java/util/Iterator.java
17233         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
17234         java/util/LinkedList.java java/util/List.java
17235         java/util/ListIterator.java java/util/ListResourceBundle.java
17236         java/util/Locale.java java/util/Map.java
17237         java/util/MissingResourceException.java
17238         java/util/NoSuchElementException.java
17239         java/util/Observable.java java/util/Observer.java
17240         java/util/Properties.java java/util/PropertyPermission.java
17241         java/util/PropertyResourceBundle.java java/util/Random.java
17242         java/util/RandomAccess.java java/util/ResourceBundle.java
17243         java/util/Set.java java/util/SimpleTimeZone.java
17244         java/util/SortedMap.java java/util/SortedSet.java
17245         java/util/Stack.java java/util/StringTokenizer.java
17246         java/util/TimeZone.java java/util/Timer.java
17247         java/util/TimerTask.java
17248         java/util/TooManyListenersException.java
17249         java/util/TreeMap.java java/util/TreeSet.java
17250         java/util/Vector.java java/util/WeakHashMap.java
17251         java/util/jar/Attributes.java java/util/jar/JarEntry.java
17252         java/util/jar/JarException.java java/util/jar/JarFile.java
17253         java/util/jar/JarInputStream.java
17254         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
17255         java/util/zip/Adler32.java java/util/zip/CRC32.java
17256         java/util/zip/CheckedInputStream.java
17257         java/util/zip/CheckedOutputStream.java
17258         java/util/zip/Checksum.java
17259         java/util/zip/DataFormatException.java
17260         java/util/zip/Deflater.java
17261         java/util/zip/DeflaterOutputStream.java
17262         java/util/zip/GZIPInputStream.java
17263         java/util/zip/GZIPOutputStream.java
17264         java/util/zip/Inflater.java
17265         java/util/zip/InflaterInputStream.java
17266         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
17267         java/util/zip/ZipException.java java/util/zip/ZipFile.java
17268         java/util/zip/ZipInputStream.java
17269         java/util/zip/ZipOutputStream.java
17270         javax/naming/BinaryRefAddr.java
17271         javax/naming/InvalidNameException.java javax/naming/Name.java
17272         javax/naming/NamingException.java javax/naming/RefAddr.java
17273         javax/naming/StringRefAddr.java: Add license clarification.
17274
17275 2002-01-22  Tom Tromey  <tromey@redhat.com>
17276
17277         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
17278         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
17279         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
17280         version.
17281         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
17282         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
17283         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
17284         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
17285         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
17286         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
17287         * java/awt/peer/FontPeer.java: Replace with Classpath version.
17288         * java/awt/peer/FramePeer.java: Replace with Classpath version.
17289         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
17290         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
17291         * java/awt/peer/ListPeer.java: Replace with Classpath version.
17292         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
17293         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
17294         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
17295         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
17296         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
17297         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
17298         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
17299         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
17300         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
17301         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
17302         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
17303         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
17304         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
17305         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
17306         (minimumSize, preferredSize, reshape): Likewise.
17307         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
17308         getColorModel): New methods.
17309         * java/awt/PopupMenu.java: Merged with Classpath.
17310         * java/awt/MenuBar.java: Merged with Classpath.
17311         * java/awt/SystemColor.java: Replace with Classpath version.
17312         * java/awt/Panel.java: Merged with Classpath.
17313         * java/awt/PaintContext.java: Updated copyright.
17314         * java/awt/MenuShortcut.java: Merged with Classpath.
17315         * java/awt/MenuContainer.java: Merged with Classpath.
17316         * java/awt/Menu.java: Merged with Classpath.
17317         * java/awt/MediaEntry.java: New file from Classpath.
17318         * java/awt/MediaTracker.java: New file from Classpath.
17319         * java/awt/List.java: Merged with Classpath version.
17320         * java/awt/Insets.java: Merged with Classpath version.
17321         * java/awt/ImageMediaEntry.java: New file from Classpath.
17322         * java/awt/Image.java: Replaced with Classpath version.
17323         * java/awt/FontMetrics.java: Merged with Classpath version.
17324         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
17325         constant.
17326         * java/awt/Font.java: Merged with Classpath version.
17327         * java/awt/Dialog.java: Merged with Classpath version.
17328         * java/awt/Color.java: Merged with Classpath version.
17329         * java/awt/Choice.java: Merged with Classpath version.
17330         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
17331         * java/awt/Adjustable.java: Replace with Classpath version.
17332         * java/awt/MenuItem.java (paramString): Don't include class name
17333         or brackets.  Call superclass paramString.
17334         * java/awt/MenuComponent.java (toString): Call paramString.
17335         (paramString): Compute string; don't call toString.
17336         * java/awt/Label.java (paramString): Don't include class name
17337         or brackets.  Call superclass paramString.
17338         * java/awt/Checkbox.java (paramString): Don't include class name
17339         or brackets.  Call superclass paramString.
17340         * java/awt/Button.java (paramString): Don't include class name or
17341         brackets.  Call superclass paramString.
17342         * java/awt/MenuComponent.java (getTreeLock): Now protected.
17343
17344 2002-01-20  Andreas Schwab  <schwab@suse.de>
17345
17346         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
17347         function and of parameter recv_func to ssize_t, as specified by
17348         POSIX.
17349
17350 2002-01-19  Per Bothner  <per@bothner.com>
17351
17352         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
17353         uncompressed_size in readiness for next entry.
17354
17355 2002-01-18  Tom Tromey  <tromey@redhat.com>
17356
17357         * java/net/natPlainSocketImpl.cc: Include
17358         IllegalArgumentException.h.
17359         (_Jv_recv): New template function.
17360         (BooleanClass): Removed.
17361         (read): Use _Jv_recv.
17362         (setOption): Use Boolean::class$.  Throw exception if object is
17363         not Boolean or Integer.
17364
17365 2002-01-17  Tom Tromey  <tromey@redhat.com>
17366
17367         * java/awt/MenuComponent.java: Merged with Classpath.
17368         * java/awt/MenuItem.java: Merged with Classpath.
17369         * java/awt/Button.java: Merged with Classpath.
17370
17371         * java/awt/ActiveEvent.java: Updated copyright.
17372
17373         * java/awt/AWTError.java: Replaced with Classpath version.
17374         * java/awt/AWTException.java: Replaced with Classpath version.
17375         * java/awt/IllegalComponentStateException.java: Replaced with
17376         Classpath version.
17377
17378 2002-01-16  Tom Tromey  <tromey@redhat.com>
17379
17380         * java/awt/Canvas.java (serialVersionUID): New constant.
17381         Updated copyright.  Added javadoc from Classpath.
17382         * java/awt/ItemSelectable.java: Replaced with Classpath version.
17383
17384         * java/awt/CheckboxGroup.java: Merged with Classpath.
17385         * java/awt/Checkbox.java: Merged with Classpath.
17386
17387         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
17388         Classpath.
17389         * java/awt/Point.java: Updated copyright.
17390
17391         * java/awt/Point.java (toString): Use getClass().getName().
17392         Added javadoc.
17393
17394         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
17395         commented code.
17396         (hash): Correctly compute initial value for `h'.
17397
17398         * java/awt/Label.java: Merged with Classpath.
17399
17400 2002-01-15  Tom Tromey  <tromey@redhat.com>
17401
17402         * java/awt/AWTPermission.java: Updated copyright.
17403
17404         * java/awt/LayoutManager2.java: Merged with Classpath.
17405         * java/awt/LayoutManager.java: Merged with Classpath.
17406         * java/awt/GridLayout.java: Updated copyright and javadoc.
17407         (getSize): Use `parent.ncomponents'.  Handle insets.
17408         (layoutContainer): Use `parent.ncomponents'.  Handle case where
17409         there are fewer children than columns.  Correctly compute size of
17410         each cell in the grid.  Handle case where there isn't enough
17411         space.
17412         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
17413         all users.
17414         (gotoComponent): Use parent.ncomponents.  Ensure child exists
17415         before calling setVisible() on it.  Last item is `num - 1', not
17416         `num'.
17417         (layoutContainer): Hoist invariants out of loop.
17418
17419         Start of AWT merge with Classpath:
17420         * Makefile.in: Rebuilt.
17421         * Makefile.am (awt_java_source_files): Reference files in
17422         gnu/java/awt, not gnu/gcj/awt.
17423         * java/awt/image/BufferedImage.java: Updated copyright.
17424         * java/awt/image/ComponentColorModel.java: Updated copyright.
17425         * java/awt/image/ComponentSampleModel.java: Updated copyright.
17426         * java/awt/image/DataBuffer.java: Updated copyright.
17427         * java/awt/image/DataBufferByte.java: Updated copyright.
17428         * java/awt/image/DataBufferInt.java: Updated copyright.
17429         * java/awt/image/DataBufferUShort.java: Updated copyright.
17430         * java/awt/image/IndexColorModel.java: Updated copyright.
17431         * java/awt/image/PackedColorModel.java: Updated copyright.
17432         * java/awt/image/Raster.java: Updated copyright.
17433         * java/awt/image/RasterOp.java: Updated copyright.
17434         * java/awt/image/SampleModel.java: Updated copyright.
17435         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
17436         * java/awt/image/WritableRaster.java: Updated copyright.
17437         * java/awt/color/ColorSpace.java: Updated copyright.
17438         * java/awt/color/ICC_ColorSpace.java: Updated copyright
17439         * java/awt/color/ICC_Profile.java: Updated copyright.
17440         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
17441         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
17442         * java/awt/event/HierarchyEvent.java: Updated copyright.
17443         * java/awt/event/HierarchyListener.java: Updated copyright.
17444         * java/awt/geom/AffineTransform.java: Updated copyright.
17445         * java/awt/geom/Dimension2D.java: Updated copyright.
17446         * java/awt/geom/Ellipse2D.java: Updated copyright.
17447         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
17448         * java/awt/geom/Line2D.java: Updated copyright.
17449         * java/awt/geom/NoninvertibleTransformException.java: Updated
17450         copyright.
17451         * java/awt/geom/PathIterator.java: Updated copyright.
17452         * java/awt/geom/Point2D.java: Updated copyright.
17453         * java/awt/geom/Rectangle2D.java: Updated copyright.
17454         * java/awt/geom/RectangularShape.java: Updated copyright.
17455         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
17456         * java/awt/Toolkit.java: Updated import for file moves.
17457         * java/awt/Rectangle.java: Updated copyright; added javadoc from
17458         Classpath.
17459         (hashCode): New method from Classpath.
17460         * java/awt/Graphics2D.java: Updated copyright.
17461         * java/awt/Transparency.java: Updated copyright.
17462         * java/awt/Paint.java: Updated copyright.
17463         * java/awt/Graphics.java: New version from Classpath.
17464         * java/awt/EventDispatchThread.java: Updated copyright.
17465         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
17466         children.
17467         (gotoComponent): Wrap around on next/previous.
17468         * gnu/gcj/awt/BitMaskExtent.java: Removed.
17469         * gnu/gcj/awt/Buffers.java: Removed.
17470         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
17471         * gnu/gcj/awt/GLightweightPeer.java: Removed.
17472         * gnu/java/awt/BitMaskExtent.java: Added.
17473         * gnu/java/awt/Buffers.java: Added.
17474         * gnu/java/awt/ComponentDataBlitOp.java: Added.
17475         * gnu/java/awt/GLightweightPeer.java: Added.
17476         * java/awt/geom/Line2D.java (clone): Ignore
17477         CloneNotSupportedException.
17478         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
17479         * java/awt/Frame.java: Merged with Classpath.
17480         * java/awt/RenderingHints.java: Copyright update.
17481         * java/awt/Paint.java: Copyright update.
17482         * java/awt/image/DirectColorModel.java: Merged with Classpath.
17483         * java/awt/image/ColorModel.java: Merged with Classpath.
17484         * java/awt/Window.java (show): New Implementation from Classpath.
17485         (isShowing): Use super.isShowing().
17486         * java/awt/EventQueue.java: Merged with Classpath.
17487         * java/awt/AWTEventMulticaster.java (save): Throw
17488         RuntimeException.
17489         (saveInternal): Likewise.
17490         * java/awt/AWTEvent.java: Now implements Serializable.
17491         * java/awt/Event.java: Copyright update.
17492         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
17493         * java/awt/image/BufferedImage.java: Copyright update.
17494         * java/awt/GraphicsConfiguration.java: Copyright update.
17495         * java/awt/Component.java: (addNotify): Don't call
17496         addNotifyContainerChildren().
17497         (addNotifyContainerChildren): Removed.
17498         (setPeer): New method from Classpath.
17499         (setTreeLock): Likewise.
17500         (setVisible): Rewrote.
17501         (show): Use it.
17502         (hide): Likewise.
17503         (validate): Set `valid'.
17504         (checkImage(Image,ImageObserver)): Implementation from Classpath.
17505         (createImage(ImageProducer)): Likewise.
17506         (prepareImage): Likewise.
17507         * java/awt/Container.java (addImpl): Handle case where constraint
17508         is not a String.  Post event via system event queue.
17509         (remove): Post event via system event queue.
17510         (validateTree): Only validate child if it is invalid.
17511         (getAlignmentX): Call super method as default.
17512         (getAlignmentY): Likewise.
17513         (addContainerListener): Now synchronized.
17514         (removeContainerListener): Likewise.
17515         (addNotifyContainerChildren): Now private.
17516         * java/awt/ComponentOrientation.java: Updated copyright.  Added
17517         @author.
17518         * java/awt/FlowLayout.java (serialVersionUID): New field.
17519         (setAlignment): Better exception message.
17520         (layoutContainer): Don't compute component's preferred size unless
17521         we're going to use it.
17522         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
17523         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
17524         (firstLine, lastLine, firstItem, lastItem): New fields.
17525         (addLayoutComponent): Handle case where constraints is null.
17526         Also, handle relative locations.
17527         (removeLayoutComponent): Handle relative locations.
17528         (MIN, MAX, PREF): New constants.
17529         (calcCompSize): New method.
17530         (calcSize): New method.
17531         (minimumLayoutSize): Use it.
17532         (preferredLayoutSize): Likewise.
17533         (maximumLayoutSize): Likewise.
17534         (toString): Include more information.
17535         (setBounds): New method.
17536         (layoutContainer): Use libgcj implementation; extended to handle
17537         relative locations.
17538
17539 2002-01-15  Tom Tromey  <tromey@redhat.com>
17540
17541         * java/lang/Float.java (equals): Preserve old code.
17542         * java/lang/Double.java (equals): Preserve old code.
17543
17544 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
17545
17546         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
17547         * java/lang/Float.java (equals, compare): Ditto.
17548
17549 2002-01-13  Mark Wielaard  <mark@klomp.org>
17550
17551         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
17552         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
17553         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
17554         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
17555
17556 2002-01-11  Mark Wielaard  <mark@klomp.org>
17557
17558         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
17559         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
17560         InetAddress.
17561         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
17562         * java/net/Socket.java: Merge with Classpath.
17563         * java/net/ServerSocket.java: Likewise.
17564
17565 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
17566
17567         * interpret.cc (NULLARRAYCHECK): New macro.
17568         (SAVE_PC): Just store `pc'.
17569         (find_exception): Subtract one from `pc' here.
17570         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17571         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17572         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17573         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
17574         don't call SAVE_PC.
17575         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
17576         call SAVE_PC.
17577
17578 2002-01-11  Tom Tromey  <tromey@redhat.com>
17579
17580         * java/lang/natSystem.cc (init_properties): Only look for default
17581         locale if LC_MESSAGES is defined.
17582         * aclocal.m4, configure, include/config.h.in: Rebuilt.
17583         * configure.in: Call AM_LC_MESSAGES.
17584         * acinclude.m4 (AM_LC_MESSAGES): New macro.
17585
17586 2002-01-10  Tom Tromey  <tromey@redhat.com>
17587
17588         For PR libgcj/5303:
17589         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
17590         --version.  Recognize GNU-style long options.  Print GNU-style
17591         error messages.
17592         (usage): Print GNU-style help.  Exit with status 0.
17593         (error): New method.
17594         (run): Print error message if no class names found.
17595         (main): Don't print usage on error.
17596
17597 2002-01-09  Tom Tromey  <tromey@redhat.com>
17598
17599         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
17600         property.
17601         (help, version): Use println(), not println("").
17602
17603         For PR libgcj/5303:
17604         * gnu/gcj/convert/Convert.java (error): Program is called
17605         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
17606         -1.
17607         (main): Handle --help and --version.
17608         (help): New method.
17609         (version): Likewise.
17610
17611 2002-01-08  Tom Tromey  <tromey@redhat.com>
17612
17613         * Makefile.in: Rebuilt.
17614         * Makefile.am (ordinary_java_source_files): Added new files.
17615         * gnu/java/locale/LocaleInformation.java: Extend
17616         LocaleInformation_en.
17617         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
17618         and time/date formats.
17619         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
17620         generated.
17621         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
17622         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
17623         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
17624         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
17625         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
17626         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
17627         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
17628         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
17629         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
17630         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
17631         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
17632         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
17633         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
17634         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
17635         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
17636         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
17637         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
17638         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
17639         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
17640         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
17641         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
17642         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
17643         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
17644         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
17645         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
17646         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
17647         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
17648         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
17649         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
17650         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
17651         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
17652         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
17653         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
17654         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
17655         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
17656         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
17657         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
17658         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
17659         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
17660         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
17661         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
17662         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
17663         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
17664         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
17665         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
17666         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
17667         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
17668         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
17669         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
17670         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
17671         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
17672         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
17673         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
17674         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
17675         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
17676         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
17677         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
17678         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
17679         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
17680         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
17681         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
17682         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
17683         * gnu/java/locale/LocaleInformation_es_US.java: New file.
17684         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
17685         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
17686         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
17687         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
17688         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
17689         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
17690         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
17691         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
17692         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
17693         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
17694         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
17695         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
17696         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
17697         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
17698         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
17699         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
17700         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
17701         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
17702         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
17703         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
17704         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
17705         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
17706         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
17707         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
17708         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
17709         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
17710         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
17711         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
17712         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
17713         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
17714         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
17715         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
17716         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
17717         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
17718         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
17719         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
17720         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
17721         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
17722         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
17723         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
17724         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
17725         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
17726         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
17727         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
17728         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
17729         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
17730         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
17731         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
17732         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
17733         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
17734         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
17735         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
17736         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
17737         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
17738         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
17739         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
17740         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
17741         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
17742         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
17743         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
17744         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
17745         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
17746         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
17747         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
17748         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
17749         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
17750         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
17751
17752         For PR libgcj/5031:
17753         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
17754         choose default locale.
17755
17756         * Makefile.in: Rebuilt.
17757         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
17758
17759 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
17760
17761         * java/net/natPlainSocketImpl.cc: Added timeout handling for
17762         sockets.
17763         (close): New function closes the socket.
17764         (write): New functions for output to socket.
17765         (read): New functions for reading from socket.
17766         * java/net/PlainSocketImpl.java: Glue for new timeout
17767         implementation.
17768         (write): Call the native impl.
17769         (read): Likewise.
17770         (getInputStream): Get a stream to read from the socket.
17771         (getOutputStream): Get a stream to write to the socket.
17772
17773 2002-01-08  Tom Tromey  <tromey@redhat.com>
17774
17775         * resolve.cc (_Jv_PrepareClass): Enable verifier.
17776
17777 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
17778
17779         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
17780         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
17781
17782 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
17783
17784         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
17785         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17786         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17787         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17788         insn_bastore, insn_castore, insn_sastore]: Use it.
17789         (continue1) [insn_arraylength]: Check for null array.
17790
17791 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
17792
17793         * configure, include/config.h.in: Rebuilt.
17794         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
17795         * configure.in: Call AC_STRUCT_TIMEZONE.
17796
17797 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
17798
17799         * configure.host: Disable the interpreter for Darwin.
17800
17801 2002-01-04  Tom Tromey  <tromey@redhat.com>
17802
17803         * java/lang/Thread.java (stop): No longer synchronized.
17804         (start): Likewise.
17805
17806 2002-01-02  Tom Tromey  <tromey@redhat.com>
17807
17808         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
17809         patch.
17810
17811 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
17812
17813         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
17814         PPC Darwin, not for all of Darwin.