re PR tree-optimization/33593 (tree-outof-ssa moves sources of non-call exceptions...
[official-gcc.git] / libjava / ChangeLog-2003
blobdf17e44de1a80965e157ad76d8c90e7fcaad90f0
1 2003-12-31  Michael Koch  <konqueror@gmx.de>
3         * gnu/java/net/protocol/http/Connection.java
4         (sendRequest): Dont encode output in default character encoding,
5         add correct version number to HTTP user agent string.
7 2003-12-31  Graydon Hoare  <graydon@redhat.com>
9         * configure.in: Add --enable-gtk-cairo check.
10         * configure: Regenerate.
11         * Makefile.am: Conditionally link against cairo.
12         * Makefile.in: Regenerate.
13         * acinclude.m4: Include PKG_CHECK_MODULES.
14         * aclocal.m4: Regenerate.
15         * gnu/java/awt/peer/gtk/GtkToolkit.java (useGraphics2D): New method.
16         (getFontMetrics, getClasspathFontPeer):
17         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics):
18         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
19         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (getGraphics):
20         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics):
21         Switch behavior depending on GtkToolkit.useGraphics2D().   
22         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Extend ClasspathFontPeer.
23         * java/awt/Font.java: Switch to peer model.
24         * jni/gtk-peer/gtkcairopeer.h: Definitions of cairo stuff.
25         * jni/gtk-peer/gdkfont.h: Include gtkcairopeer.h.
26         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Include gtkcairopeer.h.
27         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: Un-include gtkpeer.h. 
29 2003-12-31  Guilhem Lavaux  <guilhem@kaffe.org>
31         * java/io/ObjectOutputStream.java
32         (putFields): Reindented. Fixed behaviour: currentPutField should be
33         null
34         before calling this method.
35         (writeFields): Likewise.
36         (markFieldsWritten): Fixed the exception message.
37         (callWriteMethod): Ensure currentPutField is null.
38         (getBooleanField): Translate IllegalArgumentException into
39         InvalidClassException.
40         (getByteField): Likewise.
41         (getCharField): Likewise.
42         (getDoubleField): Likewise.
43         (getFloatField): Likewise.
44         (getIntField): Likewise.
45         (getLongField): Likewise.
46         (getShortField): Likewise.
47         (getObjectField): Check the type code before returning the object.
48         (getField): Translate NoSuchFieldException into InvalidClassException
49         directly.
51 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
53         * java/net/URL.java
54         (URL): Change context path to "/" if it is empty.
56 2003-12-31  Michael Koch  <konqueror@gmx.de>
58         * testsuite/libjava.mauve/xfails: Removed tests that pass now:
59         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
60         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
61         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
62         (number 26)
63         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
64         (number 54)
65         
67 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
69         * java/util/GregorianCalendar.java
70         (computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>.
71         Fixed the computation of DAY_OF_WEEK_IN_MONTH.
72         (computeTime): 12:00 midnight is AM and 12:00 noon is PM.
74 2003-12-30  Michael Koch  <konqueror@gmx.de>
76         * testsuite/libjava.mauve/xfails: Removed the following testcase
77         because it passes now:
78         FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict
79         (number 1)
81 2003-12-30  Michael Koch  <konqueror@gmx.de>
83         * java/io/ObjectInputStream.java,
84         java/io/ObjectOutputStream.java,
85         java/io/ObjectStreamClass.java:
86         Reformated, no functional code changes.
88 2003-12-30  Michael Koch  <konqueror@gmx.de>
90         * gnu/java/net/protocol/http/Connection.java
91         (outputStream): New field.
92         (bufferedOutputStream): New field.
93         (connect): Initialize outputStream and bufferedOutputStream.
94         (sendRequest): Create PrintWriter object from outputStream,
95         support HTTP 1.1, send missing HTTP headers and buffered output data
96         for POST method.
97         (getOutputStream): Set request method to POST if output stream is
98         used, return bufferedOutputStream.
99         (setRequestMethod): Allow HEAD and POST methods.
100         This fixes libgcj PR/6302 and libgcj PR/7752.
102 2003-12-30  Guilhem Lavaux <guilhem@kaffe.org>
104         * java/io/LineNumberReader.java
105         (countLines): Removed.
106         (fill): New private method.
107         (mark): Changed logic to use and matchedNewLine.
108         (reset): Likewise.
109         (read): Likewise.
110         (skipRedundantLF): Likewise.
112 2003-12-30  Michael Koch  <konqueror@gmx.de>
114         * gnu/java/net/protocol/http/Connection.java
115         (requestProperties): New field.
116         (addRequestProperty): New method.
117         (getRequestProperty): New method.
118         (setRequestProperty): New method.
119         (getRequestProperties): New method.
121 2003-12-28  Michael Koch  <konqueror@gmx.de>
123         * gnu/java/net/protocol/http/Connection.java
124         (inputStream): Made it a DataInputStream.
125         (requestProperties): Removed.
126         (hdrHash): Removed.
127         (hdrVec): Removed.
128         (headers): New field to store headers.
129         (connect): Initialize inputStream.
130         (receiveReply): Merged from classpath. The new algorithm is line based
131         instead of character based.
132         (getHeaderField): Use headers.
133         (getHeaderFields): Use headers.
134         (getKey): Removed.
135         (getField): Removed.
136         * gnu/java/net/HeaderFieldHelper.java: New file.
137         * Makefile.am (ordinary_java_source_files):
138         Added gnu/java/net/HeaderFieldHelper.java.
139         * Makefile.in: Regenerated.
141 2003-12-28  Guilhem Lavaux <guilhem@kaffe.org>
143         * java/io/LineNumberReader.java
144         (mark): Improved error checking.
145         (read): Likewise.
146         (skip): Likewise. Skip is now really eating the specified number of
147         characters.
148         * java/io/CharArrayReader.java (read): It should throw
149         IndexOutOfBoundsException and not ArrayIndexOutOfBoundsException (see
150         mauve).
151         * java/io/BufferedReader.java (readLine): Make readLine() really block
152         until either EOF is reached or a true error happens.
154 2003-12-27  Michael Koch  <konqueror@gmx.de>
156         * gnu/java/net/protocol/http/Connection.java
157         (getRequestProperty): Removed.
158         (setRequestProperty): Removed.
160 2003-12-27  Michael Koch  <konqueror@gmx.de>
162         * gnu/java/net/protocol/http/Connection.java
163         (connect): Call receiveReply().
164         (receiveReply): Renamed from getHttpHeaders().
165         (getOutputStream): Moved check on doOutput before check for connection
166         state.
168 2003-12-27  Michael Koch  <konqueror@gmx.de>
170         * javax/print/attribute/ResolutionSyntax.java,
171         javax/print/attribute/SetOfIntegerSyntax.java,
172         javax/print/attribute/Size2DSyntax.java,
173         javax/print/attribute/standard/Copies.java,
174         javax/print/attribute/standard/JobImpressions.java,
175         javax/print/attribute/standard/JobMediaSheets.java,
176         javax/print/attribute/standard/NumberOfDocuments.java,
177         javax/print/attribute/standard/NumberOfInterveningJobs.java,
178         javax/print/attribute/standard/PagesPerMinute.java,
179         javax/print/attribute/standard/PagesPerMinuteColor.java,
180         javax/print/attribute/standard/QueuedJobCount.java:
181         Fixed typo (s/then/than/).
183 2003-12-27  Guilhem Lavaux  <guilhem@kaffe.org>
185         * java/rmi/Naming.java (lookup): Check if the first character of the
186         filename returned by URL.getFile() is a '/', only if it is the case
187         we cut this first character and call the registry with the good name.
188         (bind): Likewise.
189         (rebind): Likewise.
191 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
192             Mark Wielaard  <mark@klomp.org>
194         * java/io/BufferedReader.java (BufferedReader):
195         Throw IllegalArgumentException when size <= 0.
196         (mark): Document and better exception message for negative
197         readLimit IllegalArgumentException.
198         (read(char[],int,int)): Throw IndexOutOfBoundsException
199         if offset and count are not valid regarding buf.
200         (skip): Throw IllegalArgumentException when count is negative.
202 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
204         * java/io/FileInputStream.java
205         (FileInputStream(String)): Call FileInputStream(File).
206         (FileInputStream(File)): Check whether the argument is a directory.
208 2003-12-26  Michael Koch  <konqueror@gmx.de>
210         * Makefile.am (rmi_java_source_files):
211         Added gnu/java/rmi/server/RMIVoidValue.java.
212         * Makefile.in: Regenerated.
214 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
215             Mark Wielaard  <mark@klomp.org>
217         * gnu/java/rmi/server/UnicastConnectionManager.java
218         (startScavenger): Set the client connection manager to daemon
219         state because it may block clients until TIMEOUT is reached
220         when they are exiting.
222         * gnu/java/rmi/RMIVoidValue.java: New file for a class representing
223         a void return.
225         * gnu/java/rmi/server/UnicastRemoteCall.java
226         (DummyOutputStream): Add a boolean before each written field to
227         know whether it is a primitive.
228         (releaseOutputStream): Flush parameters at write time.
230         * gnu/java/rmi/server/UnicastServerRef.java
231         (incomingMessageCall): Return a RMIVoidValue if no value is to be
232         returned.
234         * gnu/java/rmi/server/UnicastServer.java
235         (incomingMessageCall): Do not write a returned object if it is
236         a RMIVoidValue.
238 2003-12-25  Andreas Tobler  <a.tobler@schweiz.ch>
240         * libltdl/ltdl.c (HAVE_DYLD): Remove ifdef conditional for 
241         darwin. Fixed by fixinclude now.
243 2003-12-25  Michael Koch  <konqueror@gmx.de>
245         * java/net/ServerSocket.java bind():
246         If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as
247         address to bind to.
249 2003-12-23  Guilhem Lavaux <guilhem@kaffe.org>
251         * java/io/ObjectInputStream.java
252         (getField): Handle transient and non persistent fields.
253         (readClassDescriptor): Better error handling, use the right
254         class loader.
255         (readFields): Fields marked as not present in the stream
256         or not to be set are not read and set.
257         * java/io/ObjectInputStream.java
258         (readFields): Changed implementation of GetField.
259         (readClassDescriptor): Documented.
260         * java/io/ObjectOutputStream.java
261         (writeClassDescriptor): Added condition when to write class super
262         class information.
264 2003-12-22  Fernando Nasser  <fnasser@redhat.com>
266         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to...
267         (choicePostItemEvent): Change signature to more specific String object.
268         * java/awt/Choice.java (add): Generate ItemEvent for the first item
269         added.
270         (insert): Generate ItemEvent if insertion caused
271         selection to change.
272         (remove): Generate ItemEvent if removal cause selection to change.
273         (removeAll): Change algorithm to prevent generation of ItemEvents.
274         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
275         (connect_choice_item_selectable_hook): Change argument type.
276         Fix argument value.
277         Make sure resources are feed by registering callback.
278         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
279         above function.
280         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
281         (item_activate): Ditto.
282         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
283         menuitem.
284         (item_removed): New function.  Free resources.
285         * jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
286         name.
287         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
288         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
289         choicePostItemEvent.
291 2003-12-23  Michael Koch  <konqueror@gmx.de>
293         * javax/print/attribute/standard/Copies.java,
294         javax/print/attribute/standard/JobImpressions.java,
295         javax/print/attribute/standard/JobMediaSheets.java,
296         javax/print/attribute/standard/JobPriority.java,
297         javax/print/attribute/standard/NumberOfDocuments.java,
298         javax/print/attribute/standard/NumberOfInterveningJobs.java,
299         javax/print/attribute/standard/NumberUp.java,
300         javax/print/attribute/standard/PagesPerMinuteColor.java,
301         javax/print/attribute/standard/PagesPerMinute.java,
302         javax/print/attribute/standard/QueuedJobCount.java: New files.
303         * Makefile.am (ordinary_java_source_files): Added new files.
304         * Makefile.in: Regenerated.
306 2003-12-23  Michael Koch  <konqueror@gmx.de>
308         * javax/print/attribute/AttributeSetUtilities.java
309         (verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
310         * javax/print/attribute/HashAttributeSet.java
311         (HashAttributeSet): Call internal add methods, added missing
312         exceptions.
313         (add): Call addInternal, added exceptions to documentation.
314         (addInternal): New method.
315         (addAll): Call addAllInternal, added exception to documentation.
316         (addAllInternal): New method.
317         (clear): Added exception to documentation.
318         (remove): Likewise.
319         * javax/print/attribute/URISyntax.java
320         (serialVersionUID): Fixed value.
322 2003-12-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
324         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
325         (pre_event_handler): Don't dereference NULL focus_obj_ptr.
327 2003-12-21  Michael Koch  <konqueror@gmx.de>
329         * javax/print/attribute/AttributeSetUtilities.java,
330         javax/print/attribute/HashAttributeSet.java,
331         javax/print/attribute/HashDocAttributeSet.java,
332         javax/print/attribute/HashPrintJobAttributeSet.java,
333         javax/print/attribute/HashPrintRequestAttributeSet.java,
334         javax/print/attribute/HashPrintServiceAttributeSet.java: New files.
335         * Makefile.am (ordinary_java_source_files): Added new files.
336         * Makefile.in: Regenerated.
338 2003-12-21  Michael Koch  <konqueror@gmx.de>
340         * javax/print/attribute/EnumSyntax.java,
341         javax/print/attribute/SetOfIntegerSyntax.java: New files.
342         * Makefile.am (ordinary_java_source_files):
343         Added javax/print/attribute/EnumSyntax.java
344         and javax/print/attribute/SetOfIntegerSyntax.java.
345         * Makefile.in: Regenerated.
347 2003-12-21  Michael Koch  <konqueror@gmx.de>
349         * javax/print/attribute/PrintJobAttribute.java,
350         javax/print/attribute/PrintJobAttributeSet.java,
351         javax/print/attribute/PrintRequestAttribute.java,
352         javax/print/attribute/PrintServiceAttribute.java,
353         javax/print/attribute/PrintServiceAttributeSet.java,
354         javax/print/attribute/SupportedValuesAttribute.java: New files.
355         * Makefile.am (ordinary_java_source_files): Added new files.
356         * Makefile.in: Regenerated.
358 2003-12-21  Michael Koch  <konqueror@gmx.de>
360         * javax/print/attribute/DateTimeSyntax.java,
361         javax/print/attribute/DocAttribute.java,
362         javax/print/attribute/DocAttributeSet.java,
363         javax/print/attribute/IntegerSyntax.java,
364         javax/print/attribute/ResolutionSyntax.java,
365         javax/print/attribute/Size2DSyntax.java,
366         javax/print/attribute/TextSyntax.java,
367         javax/print/attribute/URISyntax.java,
368         javax/print/attribute/UnmodifiableSetException.java: New files.
369         * Makefile.am (ordinary_java_source_files): Added new files.
370         * Makefile.in: Regenerated.
372 2003-12-21  Michael Koch  <konqueror@gmx.de>
374         * gnu/java/net/PlainDatagramSocketImpl.java
375         (mcastGrp): Added documentation.
377 2003-12-20  Michael Koch  <konqueror@gmx.de>
379         * gnu/java/net/protocol/jar/Connection.java
380         (connectionCache): New field.
381         (connect): New method.
382         (getInputStream): New method.
383         (hdrHash): New field.
384         (hdrVec): New field.
385         (gotHeaders): New field.
386         (getHeaderField): New method.
387         (getHeaderFields): New method.
388         (getHeaderFieldKey): New method.
389         (getKey): New method.
390         (getField): New method.
391         (getHeaders): New method.
392         * java/net/JarURLConnection.java
393         (connectionCache): Removed.
394         (connect): Removed.
395         (getInputStream): Removed.
396         (hdrHash): Removed.
397         (hdrVec): Removed.
398         (gotHeaders): Removed.
399         (getHeaderField): Removed.
400         (getHeaderFields): Removed.
401         (getHeaderFieldKey): Removed.
402         (getKey): Removed.
403         (getField): Removed.
404         (getHeaders): Removed.
406 2003-12-20  Michael Koch  <konqueror@gmx.de>
408         * java/io/ObjectStreamField.java (isUnshared): Added documentation.
410 2003-12-20  Mohan Embar  <gnustuff@thisiscool.com>
412         * gnu/java/nio/SelectorImpl.java
413         (selectThreadMutex): New field.
414         (selectThread): New field.
415         (unhandledWakeup): New field.
416         (implCloseSelector): Added skeleton code which
417         synchronizes as per Sun JRE JavaDoc.
418         (keys): Throw ClosedSelectorException if selector
419         is closed.
420         (selectNow): Added comment that we're faking out
421         an immediate select with a one-microsecond-timeout one.
422         (select): Use 0 instead of -1 for infinite timeout.
423         (implSelect): Changed comment in declaration.
424         (select): Added synchronized to method declaration.
425         Added synchronization and wakeup support as per Sun
426         JRE JavaDoc.
427         (selectedKeys): Throw ClosedSelectorException if selector
428         is closed.
429         (wakeup): Implemented.
430         (deregisterCancelledKeys): Synchronize on cancelled key
431         set before deregistering.
432         (register): Synchronize on key set before registering.
433         * java/nio/channels/spi/AbstractSelector.java
434         Added import for java.nio.channels.ClosedSelectorException.
435         (close): Added synchronized to method declaration.
436         (cancelledKeys): Throw ClosedSelectorException if selector
437         is closed.
438         (cancelKey): Synchronize on cancelled key set before key.
440 2003-12-20  Michael Koch  <konqueror@gmx.de>
442         * Makefile.am (ordinary_java_source_files):
443         Added gnu.java.net.URLParseError.java.
444         * Makefile.in: Regenerated.
446 2003-12-20  Guilhem Lavaux <guilhem@kaffe.org>
448         * gnu/java/net/URLParseError.java: New file.
449         * gnu/java/net/protocol/jar/Handler.java
450         (parseURL): Throw URLParseError if needed, fix '/' handling.
451         * java/net/URL.java (URL): Catch URLParseError and
452         transform it into a MalformedURLException.
454 2003-12-19  Michael Koch  <konqueror@gmx.de>
456         * gnu/java/nio/ChannelOutputStream.java: New file.
457         * java/nio/channels/Channels.java
458         (newOutputStream): Implemented.
459         * Makefile.am (ordinary_java_source_files)
460         Added gnu/java/nio/ChannelOutputStream.java.
461         * Makefile.in: Regenerated.
463 2003-12-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
465         * java/awt/FlowLayout.java (layoutContainer): Let components
466         assume their preferred height.  Centre components vertically.
468 2003-12-19  Michael Koch  <konqueror@gmx.de>
470         * gnu/java/nio/ChannelInputStream.java: New file.
471         * java/nio/channels/Channels.java (newInputStream): Implemented.
472         * java/nio/channels/FileChannelImpl.java
473         (readImpl): Only put data into buffer if something was read.
474         * Makefile.am (ordinary_java_source_files):
475         Added gnu/java/nio/ChannelInputStream.java.
476         * Makefile.in: Regenerated.
478 2003-12-19  Michael Koch  <konqueror@gmx.de>
480         * gnu/java/nio/OutputStreamChannel.java: New file.
481         * java/nio/channels/Channels.java (newChannel): Implemented.
482         * Makefile.am (ordinary_java_source_files):
483         Added gnu/java/nio/OutputStreamChannel.java.
484         * Makefile.in: Regenerated.
486 2003-12-19  Michael Koch  <konqueror@gmx.de>
488         * Makefile.am (ordinary_java_source_files):
489         Added gnu.java.nio.InputStreamChannel. 
490         * Makefile.in: Regenerated.
492 2003-12-19  Michael Koch  <konqueror@gmx.de>
494         * gnu/java/nio/InputStreamChannel.java: New file.
495         * java/nio/channels/Channels.java (newChannel): Implemented.
497 2003-12-19  Michael Koch  <konqueror@gmx.de>
499         * java/util/SimpleTimeZone.java
500         (setStartRule): Reformated documentation.
501         (setEndRule): Reworked documentation.
502         (getDSTSavings): Fixed @since tag.
503         (setDSTSavings): New method.
505 2003-12-19  Michael Koch  <konqueror@gmx.de>
507         * java/text/NumberFormat.java: Sorted imports.
508         (getCurrency): New method.
509         (setCurrency): New method.
510         
512 2003-12-19  Michael Koch  <konqueror@gmx.de>
514         * java/text/MessageFormat.java
515         (MessageFormat): New constructor.
517 2003-12-19  Michael Koch  <konqueror@gmx.de>
519         * gnu/java/net/protocol/jar/Handler.java
520         (parseURL): New method.
521         (toExternalForm): New method.
523 2003-12-18  Fernando Nasser  <fnasser@redhat.com>
525         * java/awt/List.java (replaceItem): Prevent selection to move with
526         replace and minimize flickering.
528 2003-12-18  Michael Koch  <konqueror@gmx.de>
530         * libltdl/ltdl.c: Define __private_extern__ if needed.
532 2003-12-18  Michael Koch  <konqueror@gmx.de>
534         * libltdl/.cvsignore: Ignore autom4te.cache
535         * libltdl/Makefile.in: Regenerated.
536         * libltdl/aclocal.m4: Regenerated.
537         * libltdl/acconfig.h: Removed (obsolete).
538         * libltdl/config-h.in: Regenerated.
539         * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
540         * libltdl/configure: Regenerated.
542 2003-12-18  Michael Koch  <konqueror@gmx.de>
544         * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
545         java.text.CollationElementIterator tests as they compile again.
546         * testsuite/libjava.mauve/xfails: Added failing
547         java.text.CollationElementIterator tests.
549 2003-12-18  Michael Koch  <konqueror@gmx.de>
551         * java/util/prefs/AbstractPreferences.java
552         (cachedChildren): New method.
554 2003-12-18  Michael Koch  <konqueror@gmx.de>
556         * java/util/TimeZone.java (getOffset): New method.
558 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
560         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
561         of ActionEvents for mouse double-clicks.
563 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
565         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
566         null Graphics pointer returned by FileDialogPeer.
568 2003-12-17  Michael Koch  <konqueror@gmx.de>
570         * libltdl/stamp-h.in: Removed, not used anymore.
572 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
574         * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
575         Removed unused InterruptedIOException.h include.
576         * gnu/java/net/natPlainSocketImplWin32.cc
577         (connect): Reset and ignore our thread's interrupted
578         flag instead of testing and throwing an InterruptedIOException
579         if set.
580         (accept): Likewise + changed case of SocketTimeoutException
581         text.
582         (write): Likewise (for both overloads).
583         (doRead): Likewise.
585 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
587         * win32.cc (WSAEventWrapper): Implemented default
588         constructor and init() methods.
589         (_Jv_select): Removed.
590         * gnu/java/nio/natSelectorImplWin32.cc
591         (helper_put_filedescriptors): Removed.
592         (helper_get_filedescriptors): Removed.
593         (implSelect): Implemented in terms of WSAEventWrapper
594         and WSAWaitForMultipleEvents instead of _Jv_select().
595         Added support for thread interruption.
596         * include/win32.h (WSAEventWrapper): Minor formatting
597         changes; added default constructor declaration, init(),
598         getFD() and getEventHandle() methods.
599         (_Jv_select): Removed.
601 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
603         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
604         (peekData): Throw SocketTimeoutException instead of
605         InterruptedIOException on timeout.
606         (receive): Likewise.
607         * gnu/java/net/natPlainSocketImplPosix.cc
608         (read): Made a minor exception text case change.
610 2003-12-16  Michael Koch  <konqueror@gmx.de>
612         Fix for PR libgcj/13056.
613         * libltdl/configure.in,
614         libltdl/config.h.in: Removed.
615         * libltdl/configure.ac,
616         libltdl/config-h.in,
617         libltdl/install-sh,
618         libltdl/config.guess,
619         libltdl/config.sub,
620         libltdl/missing,
621         libltdl/mkinstalldirs,
622         libltdl/ltmain.sh: New files.
623         * libltdl/Makefile.am,
624         libltdl/acinclude.m4,
625         libltdl/aclocal.m4,
626         libltdl/ltdl.c,
627         libltdl/ltdl.h,
628         libltdl/README: Update to versions from libtool 1.5.
629         libltdl/configure,
630         * libltdl/Makefile.in: Regenerated.
631         * java/lang/natRuntime.cc (find_symbol):
632         Use type 'lt_ptr' instead of 'lt_ptr_t'.
634 2003-12-16  Michael Koch  <konqueror@gmx.de>
636         * java/awt/MenuComponent.java
637         (serialVersionUID): Fixed value.
639 2003-12-16  Fernando Nasser  <fnasser@redhat.com>
641         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
642         (pre_event_handler): Handle GtkButton widgets differently as events
643         go to its event_window.
644         (connect_awt_hook): Remove compiler warning.
646 i2003-12-16  Guilhem Lavaux <guilhem@kaffe.org>
648         * java/io/ObjectInputStream.java
649         (lookupClass): New method.
650         (currentLoader): New method.
651         (inputGetObjectStreamClasses): New method.
652         (assignNewHandle): Documented.
653         (currentClassLoader): Documented.
654         * java/io/ObjectStreamClass.java
655         (setClass): Changed API. Better handling of the imported/exported
656         fields.
657         (getSerialPersistentFields): Make it throw previously caught exceptions
658         so they can handled in setClass.
660 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
662         * java/io/ObjectStreamField.java: A few methods were added in prevision
663         of the upcoming upgrade of the serialization code. This also adds
664         some missing documentation.
665         (ObjectStreamField): We should throw a NullPointerException when 'name'
666         is null.
668  2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
669   
670         * java/io/ObjectInputStream.java (setBooleanField):
671         Throw an InvalidClassException if the field hasn't the required type,
672         documentation added.
673         (setByteField) Likewise.
674         (setCharField) Likewise.
675         (setDoubleField) Likewise.
676         (setFloatField) Likewise.
677         (setIntField) Likewise.
678         (setShortField) Likewise.
679         (setLongField) Likewise.
680         (setObjectField) Likewise.
682 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
683            Helmer Kraemer <hkraemer@freenet.de>
685         * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
686         Splitted the method so we can specify an explicit boot loader.
688 2003-12-15  Graydon Hoare  <graydon@redhat.com>
690         * jni/gtk-peer/gdkfont.h: New file.
691         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
692         include of cairo-xlib.h, add extra gdk_flush().
694 2003-12-12  Fernando Nasser  <fnasser@redhat.com>
696         * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
697         native state table -- native_global_ref_table.
698         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
699         native_global_ref_table pointer.
700         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
701         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
702         global reference is deleted and memory allocated for pointer freed.
703         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
704         JNI global reference instead of JNI local reference.
705         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
706         (pre_event_handler): Remove compilation warning.
707         (connect_awt_hook): Use saved JNI global reference instead of creating
708         a new one.
709         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
710         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
711         reference to the Java object.
712         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
713         unused variable declaration and add comment.
714         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
715         (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
716         reference to the Java object.
717         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
718         (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
719         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
720         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
721         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
722         JNI global reference instead of JNI local reference.
723         (item_toggled): Add debug statement.
724         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
725         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
726         reference to the Java object.
727         (connect_choice_item_selectable_hook): Use saved JNI global references
728         instead of JNI local reference.
729         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
730         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
731         global reference to the Java object.
732         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
733         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
734         reference to the Java object.
735         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
736         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
737         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
738         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
739         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
740         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
741         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
742         (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
743         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
744         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
745         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
746         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
747         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
748         (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
749         (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
750         JNI global reference instead of JNI local reference.
751         (item_selected): Add debug statement.
752         (item_unselected): Add debug statement.
753         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
754         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
755         reference to the Java object.
756         Connect "activate" signal handler using global JNI reference.
757         (connect_activate_hook): Removed in favor of inline code.
758         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
759         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
760         reference to the Java object.
761         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
762         JNI global reference instead of JNI local reference.  Add FIXME comment.
763         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
764         reference to the Java object.  Add FIXME comment.
765         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
766         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
767         reference to the Java object.
768         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
769         JNI global reference instead of JNI local reference.
770         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
771         (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
772         saved JNI global reference instead of JNI local reference.
773         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
774         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
775         reference to the Java object.
776         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
777         JNI global reference instead of JNI local reference.
779 2003-12-11  Michael Koch  <konqueror@gmx.de>
781         * java/text/Format.java (serialVersionUID): Fixed value.
783 2003-12-11  Michael Koch  <konqueror@gmx.de>
785         * javax/naming/event/EventDirContext.java: Jalopied.
786         (addNamingListener): Fixed typo in method name.
787         
789 2003-12-11  Mohan Embar  <gnustuff@thisiscool.com>
791         * gnu/java/nio/SocketChannelImpl.java
792         (write): Removed diagnostic trace.
793         * gnu/java/nio/natSelectorImplPosix.cc: Added
794         includes for java.lang.Thread and java.io.InterruptedIOException.
795         (helper_put_filedescriptors): Don't put invalid file descriptors
796         in select set.
797         (helper_get_filedescriptors): Clear invalid file descriptors
798         from select set.
799         (helper_reset): New method for clearing our file descriptor
800         array.
801         (implSelect): Correctly calculate timeout if specified and
802         legal.
803         Intercept and deal with any java.io.InterruptedIOException
804         thrown by _Jv_select().
806 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
808         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
809         Most coded moved to pre_event_handler, with the modifications
810         mentioned below.
811         (pre_event_handler): New function.  Called on the Gtk "event" signal.
812         Do not retrieve the jobject from the window property as it is already
813         available as user data in the signal.
814         Do not try and find the grab widget as it is already done by Gtk at
815         this point.
816         Do not search for Window ancestor as Gtk already sends the signal to it.
817         Do not meddle with the activation state of peer widgets on each
818         key press or release.
819         Add CList to the special handling when looking for the focused widget.
820         * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
821         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
822         New function.
823         (connectSignals): New function.
824         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
825         Rename to...
826         (connectSignals): New name.  Get rid of NewGlobalRef call.
827         Use g_signal_connect instead of deprecated gtk_signal_connect.
828         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
829         (connect_choice_item_selectable_hook): Use g_signal_connect instead of
830         deprecated gtk_signal_connect.
831         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
832         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
833         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
834         (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
835         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
836         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
837         function.
838         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
839         function.
840         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
841         function.
842         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.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         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
848         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
849         function.
850         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
851         function.
852         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
853         function.
854         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
855         code.
856         (item_select): Remove indirection.
857         (item_unselect): Ditto.
858         (connect_selectable_hook): Folded into connectSignals.
859         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
860         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
861         function.
862         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
863         function.
864         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
865         function.
866         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
867         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
868         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
869         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
870         function.
871         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
872         function.
873         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare  and call
874         connectJObject and connectSignals instead of connectHooks.
875         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
876         connectSignals.
877         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
878         and not connectHooks.
879         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
880         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
881         and not connectHooks.
882         * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
883         connectSignals instead of connectHooks.
884         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
885         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
886         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto. 
888 2003-12-09  Michael Koch  <konqueror@gmx.de>
890         * Makefile.am (nat_headers_install): New variable with header files to
891         install automatically.
892         (install-data-local): Install all headers listed in
893         nat_headers_install. Install innert nat headers explicitely.
894         * Makefile.in: Regenerated.
896 2003-12-09  Michael Koch  <konqueror@gmx.de>
898         * java/util/Calendar.java,
899         java/util/IdentityHashMap.java,
900         java/util/prefs/Preferences.java:
901         Import used classes explicitely.
903 2003-12-09  Michael Koch  <konqueror@gmx.de>
905         * java/net/DatagramSocket.java
906         (close): Directly return if socket is closed.
907         * java/net/ServerSocket.java
908         (close): Directly return if socket is closed.
909         * java/net/Socket.java
910         (close): Directly return if socket is closed.
912 2003-12-09  Michael Koch  <konqueror@gmx.de>
914         * gnu/java/nio/SelectorImpl.java
915         (implSelect): Throws IOException.
916         (select): Likewise.
918 2003-12-08  Kim Ho  <kho@redhat.com>
920         Fix for Checkbox states.
921         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
922         (currentState): New field.
923         (nativeCreate): Add initial state parameter.
924         (create): Changed to reflect new parameter.
925         (setState): Fire only on changed states.
926         (postItemEvent): Fire only on changed states. Also change the 
927         Java Checkbox to reflect new state.
928         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
929         (nativeCreate): Add parameter and set active state.
931 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
933         * java/awt/datatransfer/StringSelection.java (getTransferData): Return
934         object of type expected by specified DataFlavor.
936 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
938         * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
939         error which was clipping off the first character of a parameter value.
941 2003-12-08  Olga Rodimina <rodimina@redhat.com>
943         * java/awt/Polygon.java
944         (translate): Fixed error that caused polygon 
945         to move right/left when up/down translation was required.
946         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
947         (getSelectionStart): Initialized start position to 0. 
948         (getSelectionEnd): Initialized end position to 0.
949         (getCaretPosition): Initialized caret position to 0.
950         (getText): Initialized selected text to NULL 
952 2003-12-08  Michael Koch  <konqueror@gmx.de>
954         Fix for PR libgcj/13176.
955         * java/io/PrintStream.java: Partly revert my previous patches to get
956         (line_separator): New field.
957         (converter): New field.
958         (work): New field.
959         (work_bytes): New field.
960         (pw): Removed.
961         (closed): Removed.
962         (PrintStrean): Initialize converter and not pw.
963         (checkError): Flush always, pw doesn't exist anymore.
964         (close): Close underlying out stream.
965         (print): New method.
966         (writeChars): New method.
967         (print): Use new internal print method.
968         (println): Likewise.
970 2003-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
972         * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
973         putAllInternal.
974         (putAllInternal): Correct comment.
975         * java/util/HashMap.java (HashMap(Map)): As above.
976         (putAllInternal): As above.
978 2003-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
980         * java/util/Hashtable.java (internalContainsValue): Removed.
981         (containsValue): Don't delegate to internalContainsValue.
983 2003-12-06  Michael Koch  <konqueror@gmx.de>
985         * javax/naming/directory/Attribute.java,
986         javax/naming/directory/Attributes.java,
987         javax/naming/directory/DirContext.java,
988         javax/naming/directory/InitialDirContext.java,
989         javax/naming/directory/SearchResult.java,
990         javax/naming/event/EventContext.java,
991         javax/naming/event/NamingEvent.java,
992         javax/naming/event/NamingExceptionEvent.java,
993         javax/naming/ldap/ControlFactory.java,
994         javax/naming/ldap/ExtendedRequest.java,
995         javax/naming/ldap/HasControls.java,
996         javax/naming/ldap/InitialLdapContext.java,
997         javax/naming/ldap/LdapContext.java,
998         javax/naming/ldap/LdapReferralException.java,
999         javax/naming/ldap/UnsolicitedNotification.java,
1000         javax/naming/ldap/UnsolicitedNotificationListener.java,
1001         javax/naming/spi/DirObjectFactory.java,
1002         javax/naming/spi/DirStateFactory.java,
1003         javax/naming/spi/DirectoryManager.java,
1004         javax/naming/spi/NamingManager.java,
1005         javax/naming/spi/ObjectFactoryBuilder.java,
1006         javax/naming/spi/ResolveResult.java,
1007         javax/naming/spi/Resolver.java,
1008         javax/naming/spi/StateFactory.java:
1009         Import used classes explicitely.
1011 2003-12-05  Scott Gilbertson  <scottg@mantatest.com>
1013         * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
1014         (clip): Removed field
1015         (clipRectangles): New field.
1016         (clone): Use new updateClip.
1017         (setClipRectangles): Use new updateClip.
1018         * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
1020 2003-12-04  Michael Koch  <konqueror@gmx.de>
1022         * java/io/FilePermission.java:
1023         Import used classes explicitely.
1025 2003-12-04  Michael Koch  <konqueror@gmx.de>
1027         * java/beans/BeanDescriptor.java,
1028         java/beans/EventSetDescriptor.java,
1029         java/beans/FeatureDescriptor.java,
1030         java/beans/IndexedPropertyDescriptor.java,
1031         java/beans/Introspector.java,
1032         java/beans/MethodDescriptor.java,
1033         java/beans/PropertyDescriptor.java,
1034         java/beans/SimpleBeanInfo.java: Explicitely import used classes.
1035         * java/beans/beancontext/BeanContextServicesSupport.java
1036         (serialVersionUID): New field.
1038 2003-12-04  Michael Koch  <konqueror@gmx.de>
1040         * java/awt/MenuComponent.java: Import java.io.Serialization.
1041         * java/awt/MenuItem.java: Likewise.
1042         * java/awt/TextComponent.java: Likewise.
1043         * java/awt/image/ImagingOpException.java
1044         (serialVersionUID): Fixed.
1046 2003-12-04  Michael Koch  <konqueror@gmx.de>
1048         * gnu/java/net/protocol/http/Connection.java
1049         (sendRequest): Merged writing http headers with classpath.
1050         (getInputStream): Merged documentation from classpath.
1051         (getHeaderField): Likewise.
1052         (getHeaderFieldKey): Likewise.
1054 2003-12-04  Michael Koch  <konqueror@gmx.de>
1056         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
1058 2003-12-04  Michael Koch  <konqueror@gmx.de>
1060         * java/net/DatagramPacket.java
1061         (length): Made packge-private to make it accessible via CNI.
1062         (maxlen): New field.
1063         (DatagramPacket): Cleaned up.
1064         (setSocketAddress): Add message to exception.
1065         (setData): Call other setData().
1066         (setData): Call setLength().
1067         (setLength): Initialize maxlen too.
1068         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
1069         Get maximal length from maxlen field, set length field directly.
1070         (receive): Likewise.
1071         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1072         Get maximal length from maxlen field, set length field directly.
1073         (receive): Likewise.
1075 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
1077         * gnu/java/nio/natSelectorImplPosix.cc
1078         (implSelect): A timeout of 0 means an infinite
1079         timeout.
1081 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1083         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1084         of ActionEvents.
1086 2003-12-03  Michael Koch  <konqueror@gmx.de>
1088         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
1089         * java/lang/natClass.cc (getSigners): Likewise.
1090         (setSigners): Likewise.
1092 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
1094         * configure.in: Added new MinGW-specific configure flag
1095         --with-win32-nlsapi.
1096         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
1097         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
1098         is set to unicows.
1099         * configure: Rebuilt.
1100         * include/config.h.in: Rebuilt.
1101         * win32.cc (_Jv_Win32NewString): Implemented.
1102         (nativeToUnicode): New helper function defined only for
1103         non-UNICODE builds.
1104         (unicodeToNative): Likewise.
1105         (_Jv_Win32TempString): Implemented.
1106         (lots): Refactored using tchar.h macros.
1107         (WSAEventWrapper): Use _Jv_Win32NewString.
1108         (_Jv_platform_initialize): Use GetModuleFileNameA instead
1109         of GetModuleFileName.
1110         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
1111         Use temporary stack buffer instead of a heap buffer.
1112         * include/win32.h
1113         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
1114         defined; added tchar.h include.
1115         (_Jv_Win32TempString): Declared new helper class.
1116         (JV_TEMP_STRING_WIN32): New helper macro.
1117         (_Jv_Win32NewString): Declared new helper method.
1118         * java/io/natFileDescriptorWin32.cc (open): Use
1119         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1120         (write): Reformatted slightly.
1121         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
1122         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1123         (getCanonicalPath): Use _Jv_Win32NewString instead of
1124         JvNewStringUTF.
1125         (performList): Likewise.
1126         * java/lang/natWin32Process.cc (ChildProcessPipe):
1127         Use tchar.h macros.
1128         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
1129         and UNICODE environment flag for CreateProcess.
1130         * java/net/natNetworkInterfaceWin32.cc
1131         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
1132         _Jv_Win32NewString.
1134 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
1136         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1137         (initState): Mark obj parameter as unused.
1138         (stringWidth): Mark obj parameter as unused.  Initialize
1139         font_name properly.
1141         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
1142         BufferedImageBuilder class static.
1144 2003-12-02  Mark Wielaard  <mark@klomp.org>
1146         * java/security/Security.java: Don't use &nbsp; in the api doc.
1148 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1150         Reported by: Jim Pick <jim@kaffe.org>
1151         * libraries/javalib/java/util/Hashtable.java
1152         (internalcontainsValue): New method.
1153         (contains): Delegate to internalContainsValue.
1154         
1155         Reported by: Mark Wielaard  <mark@klomp.org>
1156         * libraries/javalib/java/util/Hashtable.java
1157         (contains): Improved comment.
1158         
1159         Reported by: Jeroen Frijters  <jeroen@frijters.net>
1160         * libraries/javalib/java/util/Hashtable.java
1161         (containsValue): Delegate to contains(Object) to make sure older
1162         code overwriting it continues to work.
1164 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1166         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
1167         method. Handle mouse and key events that must generate
1168         ActionEvents.
1169         * java/awt/List.java (getSelectedIndex): Return -1
1170         if no list element is selected.
1171         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1172         Correct handling of mouse and key events so that List receives them.
1173         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1174         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
1175         multiple list elements. 
1177 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1179         * java/text/SimpleDateFormat.java (compileFormat):
1180         isLowerCase() and isUpperCase() allow too many characters.
1181         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
1183 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1185         * java/text/FieldPosition.java (equals): Fixed comment.
1187 2003-12-02  Mark Wielaard  <mark@klomp.org>
1189         Reported by Archie Cobbs:
1190         * java/security/DigestInputStream.java (read(byte[], int, int): Call
1191         digest.update() with temp, not len as lenght.
1193 2003-12-02  Michael Koch  <konqueror@gmx.de>
1195         * java/net/DatagramSocket.java
1196         (close): Close associated DatagramChannel object.
1197         * java/net/ServerSocket.java
1198         * java/net/Socket.java
1199         (close): Reset impl and bound before calling getChannel().close() to
1200         prevent from loops.
1202 2003-12-02  Michael Koch  <konqueror@gmx.de>
1204         * java/nio/channels/spi/AbstractInterruptibleChannel.java
1205         (opened): Removed.
1206         (closed): New field.
1207         (close): Check of channel is closed already.
1208         (isOpen): Return !closed.
1210 2003-12-02  Michael Koch  <konqueror@gmx.de>
1212         * gnu/java/nio/DatagramChannelImpl.java
1213         (blocking): Initialize with true by default.
1214         * gnu/java/nio/ServerSocketChannelImpl.java
1215         (serverSocket): Made private.
1216         (blocking): Likewise.
1217         (connected): Likewise.
1218         * gnu/java/nio/SocketChannelImpl.java
1219         (connectionPending): Made private.
1220         * gnu/java/nio/FileLockImpl.java
1221         (static): Load native library (needed for classpath).
1222         * gnu/java/nio/SelectorImpl.java
1223         (static): Load native library (needed for classpath).
1225 2003-12-02  Michael Koch  <konqueror@gmx.de>
1227         * gnu/java/net/protocol/file/Connection.java
1228         (getLastModified): Implement for file connections.
1229         (getContentLength): Likewise.
1231 2003-12-02  Michael Koch  <konqueror@gmx.de>
1233         * gnu/java/net/protocol/file/Connection.java:
1234         Some reformating.
1235         (file): Renamed from fileIn.
1236         (getPermission): Moved around.
1238 2003-12-02  Michael Koch  <konqueror@gmx.de>
1240         * gnu/java/net/protocol/jar/Connection.java
1241         (Connection): Made class final, merged documentation with classpath.
1242         (file_cache): Made private.
1243         (jar_file): Renamed from jarfile.
1245 2003-12-02  Michael Koch  <konqueror@gmx.de>
1247         * gnu/java/net/protocol/http/Connection.java
1248         (Connection): Initialize doOutput to false;
1249         (connect): Initialize inputStream, moved "send request" code to new
1250         method.
1251         (sendRequest): New method.
1252         (getHttpHeaders): Don't reinitialize inputStream.
1254 2003-12-02  Michael Koch  <konqueror@gmx.de>
1256         * gnu/java/net/protocol//http/Connection.java
1257         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
1258         (requestProperties): Initialize, documentation added.
1259         (inputStream): Renamed from bufferedIn.
1260         (Connection): Dont initialize requestProperties.
1261         (setDefaultRequestProperty): Removed.
1262         (getDefaultRequestProperty): Removed.
1263         (usingProxy): Documentation added.
1264         (getHttpHeaders): Likewise.
1266 2003-12-02  Michael Koch  <konqueror@gmx.de>
1268         * java/text/DateFormat.java:
1269         Explicitely import used classes.
1271 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
1273         * verify.cc (state::clean_subrs): Clear seen_subrs.
1274         (state::copy): Walk seen_subrs from copy, not `this'.
1275         Don't clear seen_subrs.
1277 2003-12-01  Kim Ho <kho@redhat.com>
1279         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
1280         Disable wrapping if TextArea has horizontal scroll bars.
1282 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1284         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1285         (awt_event_handler): Hard-code inset values.
1287         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
1288         Pass font name, not XLFD, to initState.
1289         (stringWidth(String, int, String)): New method.
1290         (stringWidth(String)): Call new stringWidth.
1291         (getLeading): Always return 0.
1292         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1293         (initState): New Pango implementation.
1294         (stringWidth): Likewise.
1296 2003-12-01  Olga Rodimina <rodimina@redhat.com>
1298         * java/awt/TextComponent.java:
1299         (getSelectionStart): Updated javadocs.
1300         (getSelectionEnd): Ditto.
1301         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
1302         (getSelectionStart): Changed to return caret position if no
1303         text is selected
1304         (getSelectionEnd): Ditto.
1306 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1308         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
1309         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
1310         gnu/awt/gtk/GtkContainerPeer.java,
1311         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
1312         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
1313         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
1314         gnu/awt/gtk/natGtkComponentPeer.cc,
1315         gnu/awt/gtk/natGtkContainerPeer.cc,
1316         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
1317         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
1318         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
1320         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1321         (closed): Mark loader parameter as unused.
1323 2003-12-01  Michael Koch  <konqueror@gmx.de>
1325         * gnu/java/net/protocol/http/Connection.java
1326         (Connection): Merged class documentation.
1327         (socket): Renamed from sock.
1328         (Connection): Made protected, documentation added.
1329         (connect): Give URL'S host instead of InetAddress to Socket
1330         constructor.
1331         (disconnect): Documentation added.
1332         (getOutputStream): Rewrapped.
1334 2003-12-01  Michael Koch  <konqueror@gmx.de>
1336         * gnu/java/net/protocol/file/Connection.java
1337         (fileIn): Documentation added.
1338         (inputStream): Likewise.
1339         (outputStream): Likewise.
1340         (Connection): Likewise.
1341         (connect): Simplified.
1343 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1345         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
1346         setProperties): Check that io is not null before calling
1347         io.imageUpdate.
1348         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
1349         Update javadocs.
1350         * java/awt/image/PixelGrabber.java: Fix implementation and
1351         update javadocs.
1353 2003-12-01  Michael Koch  <konqueror@gmx.de>
1355         * gnu/java/net/natPlainSocketImplPosix.cc
1356         bind(): Dont set SockedImpl.address field on succesful bind.
1357         * gnu/java/net/natPlainSocketImplWin32.cc
1358         bind(): Likewise.
1360 2003-11-30  Jeff Sturm <jsturm@one-point.com>
1362         * java/net/InetAddress.java:
1363         (static): Don'f force DNS request for ANY_IF address.
1365 2003-11-30  Michael Koch  <konqueror@gmx.de>
1367         * java/net/InetAddress.java,
1368         java/net/natInetAddressNoNet.cc,
1369         java/net/natInetAddressPosix.cc,
1370         java/net/natInetAddressWin32.cc:
1371         Reverted my last patch.
1373 2003-11-28  Michael Koch  <konqueror@gmx.de>
1375         * java/net/InetAddress.java
1376         (lookup): New method that doesnt lookup "0.0.0.0".
1377         (ImplLookup): Renamed from lookup.
1378         * java/net/natInetAddressNoNet.cc
1379         (ImplLookup): Renamed from lookup.
1380         * java/net/natInetAddressPosix.cc
1381         (ImplLookup): Renamed from lookup.
1382         * java/net/natInetAddressWin32.cc
1383         (ImplLookup): Renamed from lookup.
1385 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1387         * configure: Rebuilt.
1388         * configure.in: Require gtk and glib 2.2.0.
1390 2003-11-27  Dalibor Topic <robilad@kaffe.org>
1392         * java/text/FieldPosition.java (equals): Adapted to handle
1393         field_attribute. Added fast-circuit check for comparison to self.
1394         Replaced use of instanceof by getClass to fix symmetry for derived
1395         types.
1396         (toString): Adapted to handle field_attribute. Improved readability.
1397         (hashCode): New method.
1399 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1401         * java/text/FieldPosition.java (field_attribute): New field.
1402         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
1403         getFieldAttribute): New methods.
1405 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1407         * java/text/DecimalFormatSymbols.java (locale): New field.
1408         (DecimalFormatSymbols (Locale)): Set locale.
1409         (serialVersionOnStream): Upgraded to number 2.
1410         (readObject): Assign locale if it wasn't by the serializer.
1412 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1414         * java/text/FormatCharacterIterator.java: Documented the class and
1416 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1418         * java/text/FormatCharacterIterator.java: Fixed some typos.
1420 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1422         * java/text/NumberFormat.java:
1423         (getIntegerInstance) Added the java version in the comments.
1425 2003-11-27  Mark Wielaard  <mark@klomp.org>
1427         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
1428         (readResolve): Reformat.
1430 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1432         * java/text/NumberFormat.java
1433         (NumberFormat.Field): New implemented class to match Java 1.4. 
1434         (getIntegerInstance): Two new Java 1.4 methods.o
1436 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1438         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
1439         the leap day of the leap year twice.
1440         (computeFields): First week of month is 1 not 0.
1442 2003-11-27  Mark Wielaard  <mark@klomp.org>
1444         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
1445         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
1447 2003-11-27  Michael Koch  <konqueror@gmx.de>
1449         * javax/swing/UIDefaults.java:
1450         Reformated to match classpath's version.
1452 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
1454         * javax/swing/UIManager.java (getDefaults, getDimension,
1455         getIcon, getInsets, getInstalledLookAndFeels, getInt,
1456         getLookAndFeel, getString, getSystemLookAndFeelClassName):
1457         Declare as public.
1459 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1461         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
1462         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
1463         isSignificant): Likewise.
1465 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1467         * javax/swing/undo/CompoundEdit.java: Re-format, document.
1468         (inProgress): Set initial value to true.
1469         (undo, redo, die, canUndo, canRedo): Also call inherited
1470         implementation; simplify code structure.
1471         (getPresentationName, getUndoPresentationName,
1472         getRedoPresentationName): Make behavior dependent on lastEdit.
1473         (addEdit, isSignificant): Completely re-written.
1475 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1477         * javax/swing/undo/StateEdit.java: Re-format, document.
1478         (undo, redo): Also call inherited implementation.
1480 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1482         * javax/swing/undo/StateEditable.java: Re-format, document.
1484 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1486         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
1487         (AbstractUndoableEdit): Initialize hasBeenDone to true.
1488         (canUndo, canRedo): Simplify.
1489         (getUndoPresentationName, getRedoPresentationName): Support
1490         localized message; call getPresentationName() only once.
1492 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
1494         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
1495         (ZipFile(File,int)): Likewise.
1497 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
1499         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
1500         (putAllInternal): Likewise.
1501         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
1502         (putAllInternal): Likewise.
1504 2003-11-26  Michael Koch  <konqueror@gmx.de>
1506         * java/net/URLStreamHandler.java
1507         (parseURL): Added comment in catch statement.
1508         (canonicalizeFilename): Add documentation.
1509         (sameURL): Completed documentation.
1510         (equals): Likewise.
1511         (hostsEqual): Likewise.
1512         (getDefaulPort): Likewise.
1513         (hashCode): Likewise.
1514         (toExternalForm): Likewise.
1515         (getHostName): Fix empty hostname check, completed documentation.
1517 2003-11-26  Tom Tromey  <tromey@redhat.com>
1519         * java/lang/natDouble.cc (parseDouble): Reverted patch of
1520         2003-11-13.
1522 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
1523             Mark Wielaard  <mark@klomp.org>
1525         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
1526         ('@' should be checked to distinguish port from userinfo).
1527         (toExternalForm): Add @ userInfo if necessary.
1530 2003-11-26  Michael Koch  <konqueror@gmx.de>
1532         * java/net/DatagramSocket.java
1533         (DategramSocket, bind): Moved binding code from DatagramSocket
1534         constructor to bind method.
1536 2003-11-26  Michael Koch  <konqueror@gmx.de>
1538         * java/net/DatagramSocket.java
1539         (impl): Made private.
1540         (bound): New private member variable.
1541         (DatagramSocket): Fixed documentation, use getImpl().
1542         (getImpl): New package-private method.
1543         (isClosed): Use getImpl().
1544         (getLocalAddress): Completed documentation, use getImpl().
1545         (getLocalPort): Use getImpl().
1546         (getSoTimeout): Likewise.
1547         (setSoTimeout): Likewise.
1548         (getSendBufferSize): Likewise.
1549         (setSendBufferSize): Likewise.
1550         (getReceiveBufferSize): Likewise.
1551         (setReceiveBufferSize): Likewise.
1552         (connect): Likewise.
1553         (disconnect): Likewise.
1554         (receive): Likewise.
1555         (send): Likewise.
1556         (setReuseAddress): Likewise.
1557         (setTrafficClass): Likewise.
1558         (bind): Added message to exception.
1559         (isClosed): Completed documentation.
1560         (getChannel): Likewise.
1561         (connect): Added missing exception, refined exception message.
1562         (isBound): Completed documentation, just return bound.
1563         (isConnected): Completed documentation.
1564         (getRemoteSocketAddress): Likewise.
1565         (getReuseAddress): Completed documentation, use getImpl().
1566         (setSoBroadcast): Likewise.
1567         (getSoBroadcast): Likewise.
1568         (getTrafficClass): Likewise.
1569         (getLocalSocketAddress): Simplified.
1570         * java/net/MulticastSocket.java
1571         (MulticastSocket): Removed comment not applying anymore.
1572         (getInterface): Use getImpl().
1573         (getTTL): Likewise.
1574         (getTimeToLive): Likewise.
1575         (setInterface): Likewise.
1576         (setNetworkInterface): Likewise.
1577         (getNetworkInterface): Likewise.
1578         (setLoopback): Likewise.
1579         (getLoopback): Likewise.
1580         (setTTL): Likewise.
1581         (setTimeToLive): Likewise.
1582         (joinGroup): Likewise.
1583         (leaveGroup): Likewise.
1584         (send): Likewise.
1586 2003-11-26  Michael Koch  <konqueror@gmx.de>
1588         * java/net/Socket.java
1589         (implCreated): Dont set default value explicitely, added
1590         documentation.
1591         (inputShutdown): Likewise.
1592         (outputShutdown): Likewise.
1593         (bound): New private member variable.
1594         (bind): Set bound to true.
1595         (close): Set bound to false.
1596         (isBound): Return bound.
1597         * java/net/ServerSocket.java
1598         (bound): New private member variable.
1599         (bind): Set bound to true.
1600         (close): Set bound to false.
1601         (isBound): Return bound.
1603 2003-11-26  Michael Koch  <konqueror@gmx.de>
1605         * java/net/URL.java
1606         (URL): Fixed documentation to be HTML compliant.
1607         (getContent): Completed documentation.
1608         (getFile): Likewise.
1609         (getPath): Likewise.
1610         (getAuthority): Likewise.
1611         (getHost): Likewise.
1612         (getDefaultPort): Likewise.
1613         (getProtocol): Likewise.
1614         (hashCode): Likewise.
1615         (openConnection): Likewise.
1616         (openStream): Likewise.
1617         (set): Likewise.
1618         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
1620 2003-11-26  Michael Koch  <konqueror@gmx.de>
1622         * java/net/InetSocketAddress.java
1623         (hostname): Made private, added documentation.
1624         (addr): Likewise.
1625         (port): Likewise.
1626         (equals): Completed documentation.
1627         (getAddress): Likewise.
1628         (getHostName): Likewise.
1629         (getPort): Likewise.
1630         (hashCode): Likewise.
1631         (isUnresolved): Likewise.
1632         (toString): Likewise.
1634 2003-11-26  Michael Koch  <konqueror@gmx.de>
1636         * gnu/java/net/protocol/file/Handler.java
1637         (Handler): New explicit constructor.
1638         (openConnection): Added documentation.
1639         * gnu/java/net/protocol/jar/Handler.java
1640         (Handler): New explicit constructor.
1641         (openConnection): Added documentation.
1643 2003-11-26  Michael Koch  <konqueror@gmx.de>
1645         * java/net/DatagramPacket.java
1646         (DatagramPacket): Fixed documentation to become legal HTML.
1648 2003-11-25  Michael Koch  <konqueror@gmx.de>
1650         * gcj/javaprims.h: Added missing java.util.Currency.
1652 2003-11-25  Michael Koch  <konqueror@gmx.de>
1654         * testsuite/libjava.mauve/xfails:
1655         Removed these two tests, they mystically pass now:
1656         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
1657         test_params failed - 5getInetAddress did not return proper values
1658         (number 1)
1659         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
1660         test_BasicServer failed - 11 exception was thrown :Illegal seek
1661         (number 1)
1663 2003-11-25  Michael Koch  <konqueror@gmx.de>
1665         * java/net/DatagramSocket.java
1666         (factory): Made private.
1667         (closed): Removed.
1668         (DatagramSocket): Check impl argument, use constructor with
1669         SocketAddress argument.
1670         (close): Set impl to null, use isClosed().
1671         (isClosed): Check for impl == null.
1672         (getLocalAddress): Use isClosed().
1673         (getLocalPort): Check if socket is closed.
1674         (getSoTimeout): Likewise.
1675         (setSoTimeout): Likewise.
1676         (getSendBufferSize): Likewise.
1677         (setSendBufferSize): Likewise.
1678         (getReceiveBufferSize): Likewise.
1679         (setReceiveBufferSize): Likewise.
1680         (receive): Likewise.
1681         (send): Likewise.
1682         (bind): Likewise.
1683         (connect): Likewise.
1684         (setReuseAddress): Likewise.
1685         (getReuseAddress): Likewise.
1686         (setBroadcast): Likewise.
1687         (getBroadcast): Likewise.
1688         (setTrafficClass): Likewise.
1689         (getTrafficClass): Likewise.
1690         * java/net/MulticastSocket.java
1691         (getInterface): Check if socket is closed.
1692         (getTTL): Likewise.
1693         (getTimeToLive): Likewise.
1694         (setInterface): Likewise.
1695         (setNetworkInterface): Likewise.
1696         (getNetworkInterface): Likewise.
1697         (setLoopbackMode): Likewise.
1698         (setTTL): Likewise.
1699         (setTimeToLive): Likewise.
1700         (joinGroup): Likewise.
1701         (leaveGroup): Likewise.
1702         (send): Likewise.
1703         * java/net/ServerSocket.java
1704         (closed): Removed.
1705         (close): Check if socket is closed, set impl to null.
1706         (isClosed): Check impl == null;
1707         (ServerSocket): Check impl argument.
1708         (getInetAddress): Check if socket is bound.
1709         (getLocalPort): Likewise.
1710         (getLocalSocketAddress): Likewise.
1711         (bind): Check if socket is closed.
1712         (implAccept): Likewise.
1713         (setSoTimeout): Likewise.
1714         (getSoTimeout): Likewise.
1715         (setReuseAddress): Likewise.
1716         (getReuseAddress): Likewise.
1717         (setReceiveBufferSize): Likewise.
1718         (getReceiveBufferSize): Likewise.
1719         (toString): Make output compliant to JDK 1.4.2.
1720         * java/net/Socket.java
1721         (closed): Removed.
1722         (Socket): Fixed documentation.
1723         (connect): Check if socket is closed, changed exception text,
1724         fixed documentation.
1725         (getInputStream): Check of socket is closed  and connected.
1726         (getOutputStream): Likewise.
1727         (bind): Check if socket is closed.
1728         (setTcpNoDelay): Likewise.
1729         (getTcpNoDelay): Likewise.
1730         (setSoLinger): Likewise.
1731         (getSoLinger): Likewise.
1732         (sendUrgentData): Likewise.
1733         (setOOBInline): Likewise.
1734         (getOOBInline): Likewise.
1735         (setSoTimeout): Likewise.
1736         (getSoTimeout): Likewise.
1737         (setSendBufferSize): Likewise.
1738         (getSendBufferSize): Likewise.
1739         (setReceiveBufferSize): Likewise.
1740         (getReceiveBufferSize): Likewise.
1741         (setKeepAlive): Likewise.
1742         (getKeepAlive): Likewise.
1743         (close): Likewise.
1744         (shutdownInput): Likewise.
1745         (shutdownOutput): Likewise.
1746         (getReuseAddress): Likewise.
1747         (getTrafficClass): Likewise.
1748         (setTrafficClass): Likewise.
1749         (isClosed): Check impl == null.
1750         (toString): Added missing ']'.
1752 2003-11-24  Tom Tromey  <tromey@redhat.com>
1754         * Makefile.in: Rebuilt.
1755         * Makefile.am (propdir): New macro.
1756         (install-data-local): Install logging.properties.
1757         (core_java_source_files): Added java.util.logging.*.
1758         * java/util/logging/logging.properties: New file.
1760 2003-11-25  Michael Koch  <konqueror@gmx.de>
1762         * java/net/DatagramSocket.java
1763         (DatagramSocket): Move binding code to bind(), simplify constructors.
1764         * java/net/MulticastSocket.java
1765         (MulticastSocket): Call parent constructor with null argument,
1766         bind socket after setReuseAddress is called, simplify constructors.
1768 2003-11-24  Michael Koch  <konqueror@gmx.de>
1770         * javax/swing/BoxLayout.java
1771         (serialVersionUIR): New member variable.
1772         (X_AXIS, Y_AXIS): Documentation added.
1773         (LINE_AXIS, PAGE_AXIS): New constants.
1774         (grid): Renamed from gridbag.
1775         (BoxLayout): Use new constants, throw exception if invalid value for
1776         way, added documentation.
1777         (BoxLayout): Removed.
1778         (addLayoutComponent): Use new constants, added documentation.
1779         (removeLayoutComponent): Likewise.
1780         (addLayoutContainer): Added documentation.
1781         (preferredLayoutSize): Added documentation, check given argument.
1782         (minimumLayoutSize): Likewise.
1783         (layoutContainer): Likewise.
1784         (getLayoutAlignmentX): Likewise.
1785         (getLayoutAlignmentY): Likewise.
1786         (invalidateLayout): Likewise.
1787         (maximumLayoutSize): Likewise.
1789 2003-11-22  Michael Koch  <konqueror@gmx.de>
1791         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1792         (peekData): Use offset and maximal free space in datagram packet.
1793         (receive): Likewise.
1794         (send): Use offset in datagram packet.
1796 2003-11-22  Michael Koch  <konqueror@gmx.de>
1798         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1799         (peekData): Use offset and maximal free space in datagram packet.
1800         (receive): Likewise.
1801         (send): Use offset in datagram packet.
1803 2003-11-22  Michael Koch  <konqueror@gmx.de>
1805         * gnu/java/nio/DatagramChannelImpl.java
1806         (getNativeFD): Use getPlainDatagramSocketImpl().
1807         * gnu/java/nio/NIODatagramSocket.java
1808         (getPlainDatagramSocketImpl): Renamed from getImpl().
1809         * gnu/java/nio/NIOSocket.java
1810         (getPlainSocketImpl): Renamed from getImpl().
1811         (setChannel): Use getPlainSocketImpl().
1812         * gnu/java/nio/SocketChannelImpl.java
1813         (SocketChannelImpl): Use getPlainSocketImpl().
1814         (getPlainSocketImpl): Renamed from getImpl().
1815         (getNativeFD): Use getPlainSocketImpl().
1817 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1819         * javax/swing/JLayeredPane.java: Implement.
1820         * javax/swing/JFrame.java (getContentPane): Make public
1821         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
1822         Use JLayeredPane.FRAME_CONTENT_LAYER.
1824 2003-11-21  Mark Wielaard  <mark@klomp.org>
1826         * java/lang/Float.java (static): Removed.
1828 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1830         * java/awt/font/TextLayout.java: Implement simple layouts
1831         using attributed strings and glyph vectors.
1833 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1835         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
1836         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
1837         (GdkFontLineMetrics): New inner class.
1838         (getLineMetrics): Return new GdkFontLineMetrics.
1839         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
1840         (layoutGlyphVector): Create GdkGlyphVector.
1841         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
1842         (GdkGraphics2D): Initialize state via mathod calls.
1843         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
1844         (cairoTranslate, cairoScale, cairoRotate): Remove.
1845         (various methods): use setTransform for special transform cases.
1846         (DrawState): New inner class.
1847         (stateSave): New method.
1848         (stateRestore): New method.
1849         (various methods): use stateSave, stateRestore.
1850         (getClipInDevSpace): New method.
1851         (clip, clipRect, setClip, getClip, getClipBounds): 
1852         Follow spec more closely.
1853         (getTransform): Return clone of transform.
1854         (setStroke): Set linewidth to passed width / 2.0.
1855         (setPaintMode): Set SrcOver rather than Xor.
1856         (setColor): Set paint to passed color.
1857         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
1858         transform from image to user space.
1859         (drawRenderedImage, drawRenderableImage): Implement.
1860         (getFontRenderContext, getFontMetrics, drawString, getFont): 
1861         Implement
1862         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
1863         Implement.
1864         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
1865         Match changes to java side.
1866         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
1867         Release resources.
1868         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
1869         Don't use pango for metrics.
1870         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
1871         New file.
1873 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
1874             Jim Pick  <jim@kaffe.org>
1876         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
1877         methods.
1879 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
1881         * java/text/DecimalFormatSymbols.java (getCurrency,
1882         setCurrency): New methods.
1884 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
1886         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
1887         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
1888         Describe how the implementation works.
1890 2003-11-19  Michael Koch  <konqueror@gmx.de>
1892         * java/net/Socket.java
1893         (implCreated): New variable that indicates created impl.
1894         (getImpl): New method.
1895         (toString): Return more SUN compliant string representation.
1896         (various): Use getImpl() instead of impl.
1898 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
1900         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
1901         the right libgcc. Add -multiply_defined suppress and -bind_at_load
1902         flags.
1904 2003-11-18  Tom Tromey  <tromey@redhat.com>
1906         PR libgcj/13026:
1907         * verify.cc (state::copy): Only set local_changed if we're in a
1908         subroutine.  Correctly copy local variables which were modified
1909         by the subroutine.
1910         (push_jump_merge): Added more debugging output.
1912         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
1913         is null.
1915 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1917         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
1918         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
1920 2003-11-16  Tom Tromey  <tromey@redhat.com>
1922         PR libgcj/13062:
1923         * java/io/StreamTokenizer.java (commentChar): Clear other
1924         attributes for character.
1925         (quoteChar): Likewise.
1927 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1929         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
1930         zero-length int arrays when layoutInfo is null.
1931         (getLayoutWeights): Return array of two zero-length double arrays when
1932         layoutInfo is null.
1934 2003-11-13  Tom Tromey  <tromey@redhat.com>
1936         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
1937         JvGetStringUTFRegion.
1938         * java/lang/natPosixProcess.cc (new_string): Pass length of string
1939         to JvGetStringUTFRegion.
1940         * java/lang/natDouble.cc (parseDouble): Pass length of string to
1941         JvGetStringUTFRegion.
1942         * java/lang/natWin32Process.cc (startProcess): Pass length of
1943         string to JvGetStringUTFRegion.
1944         * java/lang/natClass.cc (forName): Pass length of string to
1945         JvGetStringUTFRegion.
1946         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
1947         of string to JvGetStringUTFRegion.
1948         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
1949         JvGetStringUTFRegion.
1950         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
1951         to JvGetStringUTFRegion.
1952         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
1953         string to JvGetStringUTFRegion.
1955 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
1957         * gnu/java/nio/natSelectorImplPosix.cc
1958         (helper_put_filedescriptors): Change to static linkage.
1959         (helper_get_filedescriptors): Likewise.
1961 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1963         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
1964         null check.
1965         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
1966         * java/awt/Component.java (prepareImage): Likewise.
1968         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
1969         Rename to nativeSetAlignment.
1971 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
1973         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
1974         (JNI_GetCreatedJavaVMs): Likewise.
1975         (JNI_GetDefaultJavaVMInitArgs): Likewise.
1976         * include/jni.h (JNIIMPEXP): Remove definition
1977         and replace with...
1978         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
1979         symbols,
1980         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
1982 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1984         * Makefile.am: Add GdkPixbufDecoder.java and
1985         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1986         * Makefile.in: Regenerate.
1987         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
1988         New constructor.
1989         (startProduction): Create ByteArrayInputStream when url and filename are
1990         null.
1991         (produce): Declare stream parameter as InputStream.
1992         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
1993         as InputStream.
1994         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1995         (GdkPixbufDecoder(byte[],int,int)): New constructor.
1996         (produce): Declare stream parameter as InputStream.
1997         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
1998         if image is null.  Set image's observer before running PrepareImage
1999         thread.  Pass image to startProduction.
2000         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
2001         source's member functions.
2002         (observer): New field.
2003         (setObserver): New method.
2004         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
2005         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
2006         new GtkImage.
2007         (prepareImage): Implement.
2008         * java/awt/Component.java: Add static fields incrementalDraw and
2009         redrawRate.
2010         (imageUpdate): Implement.
2011         (createImage): Call Toolkit's createImage if peer is null.
2012         (prepareImage): Throw NPE if image is null.
2013         * java/awt/MediaTracker.java: Fix return value.
2015 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2017         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
2018         (create(String, float)): New method.
2019         (setText): Make native.
2020         (nativeSetAlignment): New method.
2021         (setAlignment): Call nativeSetAlignment.
2022         (getArgs): Remove method.
2023         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2024         (find_fg_color_widget, find_bg_color_widget): New functions.
2025         (gtkWidgetSetForeground): Call find_fg_color_widget.
2026         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
2027         prelight colors.
2028         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
2029         widget in event box.
2030         (setText, setAlignment): Implement new native methods.
2032 2003-11-11  Michael Koch  <konqueror@gmx.de>
2034         * java/awt/Font.java,
2035         java/awt/datatransfer/DataFlavor.java,
2036         java/math/BigInteger.java,
2037         java/net/Inet4Address.java,
2038         java/net/Inet6Address.java,
2039         java/rmi/MarshalledObject.java,
2040         java/rmi/server/RMIClassLoader.java,
2041         java/security/cert/CertStore.java,
2042         java/sql/Timestamp.java,
2043         java/text/SimpleDateFormat.java,
2044         javax/naming/CompoundName.java:
2045         Removed some redundant obj == null checks.
2047 2003-11-11  Michael Koch  <konqueror@gmx.de>
2049         * java/nio/ByteBuffer.java
2050         (equals): Remove redundant obj == null check.
2052 2003-11-11  Michael Koch  <konqueror@gmx.de>
2054         * gnu/java/nio/natPipeImpl.cc,
2055         gnu/java/nio/natSelectorImpl.cc: Removed
2056         * gnu/java/nio/natPipeImplEcos.cc,
2057         gnu/java/nio/natPipeImplPosix.cc,
2058         gnu/java/nio/natPipeImplWin32.cc,
2059         gnu/java/nio/natSelectorImplEcos.cc,
2060         gnu/java/nio/natSelectorImplPosix.cc,
2061         gnu/java/nio/natSelectorImplWin32.cc: New files
2062         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
2063         gnu/java/nio/natSelectorImpl.cc
2064         * configure: Regenerated.
2066 2003-11-11  Micheal Koch  <konqueror@gmx.de>
2068         * java/net/URLStreamHandler.java (toExternalForm): Print port only
2069         if host is printed too and port was really given to URL.
2071 2003-11-10  Gary Benson  <gbenson@redhat.com>
2073         * java/sql/Timestamp.java (valueOf): Correctly handle
2074         nanoseconds.
2076 2003-11-09  Tom Tromey  <tromey@redhat.com>
2078         * java/net/Inet4Address.java (serialVersionUID): Updated.
2080 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2082         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
2083         New fields.
2085 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2087         * java/io/ByteArrayOutputStream.java (resize):
2088         Fix off-by-one error.
2090 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
2092         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
2093         public.
2095 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2097         PR libgcj/12231
2098         * java/lang/Win32Process.java (hasExited) Changed from
2099         public to private.
2100         (startProcess): Likewise.
2101         (cleanup): Likewise.
2102         * java/lang/natWin32Process.cc (cleanup) Don't close
2103         input, output and error streams.
2104         (ChildProcessPipe): New helper class.
2105         (startProcess): Refactored to use ChildProcessPipe.
2106         Use CREATE_NO_WINDOW when launching child process.
2108 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2110         * include/win32.h (_Jv_platform_close_on_exec): Changed
2111         signature and declared extern.
2112         * win32.cc (_Jv_platform_close_on_exec): Implemented.
2113         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2114         (create): Use new signature of _Jv_platform_close_on_exec.
2115         * gnu/java/net/natPlainSocketImplWin32.cc 
2116         (create): Eliminated a few typecasts
2117         Use new signature of _Jv_platform_close_on_exec.
2118         (accept): Eliminated a few typecasts
2119         Use new signature of _Jv_platform_close_on_exec.
2120         * java/io/natFileDescriptorWin32.cc (open): Use
2121         _Jv_platform_close_on_exec.
2123 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
2125         * java/lang/natClass.cc (newInstance): Throw InstantiationException
2126         if class has no null-argument constructor.
2128 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2130         PR libgcj/12647:
2131         * win32-threads.cc (_Jv_CondWait): Respect mutex's
2132         refcount when releasing and reacquiring it.
2134 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2136         * win32.cc: (dirExists) Internal helper function to
2137         test for directory existence.
2138         (getUserHome) New helper function refactored out
2139         of _Jv_platform_initProperties. Uses USERPROFILE
2140         instead of HOMEDIR and attempts to support Win9X and NT.
2141         (_Jv_platform_initProperties) Use getUserHome.
2143 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2145         PR libgcj/11521:
2146         * gnu/java/net/natPlainSocketImplWin32.cc
2147         (bind): Don't use SO_REUSEADDR
2149 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2151         PR libgcj/6652:
2152         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
2154 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
2156         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
2157         dispatch for final methods.
2159 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2161         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
2162         word wrapping.
2164 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
2166         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
2167         scrolled window's size request.
2169 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2171         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
2172         * java/awt/geom/QuadCurve2D.java: Likewise.
2174 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2176         * java/awt/geom/CubicCurve2D.java: Added documentation.
2177         * java/awt/geom/QuadCurve2D.java: Likewise.
2179         * java/awt/geom/doc-files/QuadCurve2D-4.png,
2180         java/awt/geom/doc-files/QuadCurve2D-5.png,
2181         java/awt/geom/doc-files/CubicCurve2D-4.png,
2182         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
2184 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2186         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
2187         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
2188         (subdivide(double[],int,double[],int,double[],int)): Implement.
2190 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2192         * java/awt/geom/doc-files/CubicCurve2D-1.png,
2193         java/awt/geom/doc-files/CubicCurve2D-2.png,
2194         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
2196 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
2198         * java/text/DecimalFormat.java
2199         (scanFormat) corrected so that '%' may appear in a pattern.
2201 2003-10-29  Mark Wielaard  <mark@klomp.org>
2203         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
2204         * java/text/DateFormat.java (Field): New public static inner class.
2205         * java/text/Format.java (Field): Likewise.
2206         (formatToCharacterIterator): New method.
2207         * java/text/FormatCharacterIterator.java: New file.
2209 2003-10-29  Mark Wielaard  <mark@klomp.org>
2211         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
2212         * java/util/Currency.java: New file.
2214 2003-10-29  Michael Koch  <konqueror@gmx.de>
2216         * Makefile.am (ordinary_java_source_files): Added
2217         java/text/FormatCharacterIterator.java and java/util/Currency.java.
2218         * Makefile.in: Regenerated.
2220 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
2222         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
2223         static methods.
2225 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
2227         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
2228         getObjectInstance() with Object, Name, Context and environment
2229         Hashtable from exception. Call fillInStackTrace() on exception when
2230         rethrown.
2231         * javax/naming/InitialContext.java (lookup(Name)): When a
2232         CannotProceedException is thrown use the ContinuationContext.
2233         (lookup(String)): Likewise.
2234         (close): Clear myProps and defaultInitCtx.
2236 2003-10-29  Michael Koch  <konqueror@gmx.de>
2238         * java/net/InetAddress.java
2239         (equals): Remove redundant obj == null check.
2240         * java/net/SocketPermission.java
2241         (equals): Likewise.
2242         * java/net/URL.java
2243         (equals): Likewise.
2244         (getURLStreamHandler): Likewise.
2246 2003-10-29  Michael Koch  <konqueror@gmx.de>
2248         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2249         (setOption): Directly return if no error occured.
2250         * gnu/java/net/natPlainSocketImplPosix.cc
2251         (setOption): Likewise.
2253 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2255         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
2256         vtable slot for final methods. Add FIXME comment.
2258 2003-10-28  David S. Miller  <davem@redhat.com>
2260         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
2262 2003-10-26  Mark Wielaard  <mark@klomp.org>
2264         Reported by Helmer Kraemer <hkraemer@freenet.de>
2265         * java/util/jar/JarInputStream.java (readManifest): Don't call
2266         closeEntry().
2268         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
2269         (finish): Use inbufWrite().
2270         (write(int)): Likewise.
2271         (write(byte[],int,int)): Likewise.
2273 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2275         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
2276         Don't check for AccessibleObject. Update javadocs.
2277         
2278         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
2280 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2282         * java/lang/reflect/Constructor.java (toString): Avoid extra 
2283         whitespace on constructor with no modifiers.
2284         * java/lang/reflect/natConstructor.java (newInstance): Look up
2285         caller and perform accessibility check only if constructor is
2286         non-public and accessible flag is not set.
2288 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2290         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
2291         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
2292         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
2293         is_virtual_call argument.
2294         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
2295         natClass.cc.
2296         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
2297         _Jv_isVirtualMethod.
2298         * java/lang/reflect/natMethod.cc (invoke): Don't use 
2299         _Jv_LookupDeclaredMethod.
2300         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
2301         look up method in target object's vtable.
2303 2003-10-25  Graydon Hoare  <graydon@redhat.com>
2305         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
2306         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
2307         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
2308         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2309         New concrete implementation of ClasspathFontPeer, with native part.
2310         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2311         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2312         New class, with native part.
2313         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2314         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2315         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
2317 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2319         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
2320         on method with no modifiers.
2322 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2324         PR libgcj/11780:
2325         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
2326         accessibility check only if target is non-public and accessible flag
2327         is not set.
2328         * java/lang/reflect/natField.cc (getAddr): Likewise.
2330 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
2332         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
2333         Remove method.
2334         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
2335         New method.
2336         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
2337         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
2338         (dispose): Post WINDOW_CLOSED event.
2339         (addWindowFocusListener, addWindowStateListener): Assign result
2340         of multicaster add back to window listener.
2341         (removeWindowFocusListener, removeWindowStateListener): Assign
2342         result of multicaster remove back to window listener.
2343         (dispatchEventImpl): Add null checks for focus and state
2344         listeners.
2345         (processWindowEvent): Handle case where windowListener is null
2346         but state or focus listeners exist.
2347         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2348         glue for postWindowEvent.
2349         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2350         (window_delete_cb, window_destroy_cb, window_show_cb,
2351         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
2352         window_get_new_state): New functions.
2353         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
2354         macros.  Declare postWindowEventID.
2356 2003-10-24  Anthony Green  <green@redhat.com>
2358         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
2359         we have no interpreter.
2361 2003-10-22  Andrew Haley  <aph@redhat.com>
2363         * java/lang/natClass.cc (initializeClass): Call
2364         _Jv_linkExceptionClassTable.
2365         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
2366         _Jv_Defer_Resolution on a method whose ncode is NULL.
2367         (_Jv_linkExceptionClassTable): New function.
2368         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
2369         entry, look it up.
2370         * java/lang/Class.h (struct _Jv_CatchClass): New.
2371         (_Jv_linkExceptionClassTable): New friend.
2372         (_Jv_Defer_Resolution): New friend.
2373         (class Class.catch_classes): New field.
2374         * include/java-interp.h (Jv_Defer_Resolution): New method.
2375         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
2376         (_Jv_MethodBase.deferred): New field.
2377         (_Jv_Defer_Resolution): New function.
2378         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
2379         * exception.cc (get_ttype_entry): Change return type to void**.
2380         (PERSONALITY_FUNCTION): Remove all code related to using a
2381         Utf8Const* for a match type.  Change match type to be a pointer to
2382         a pointer, rather than a pointer to a Class.
2383         * defineclass.cc (handleCodeAttribute): Initialize
2384         method->deferred.
2385         (handleMethodsEnd): Likewise.
2387 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2389         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
2390         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
2392 2003-10-22  Tom Tromey  <tromey@redhat.com>
2394         PR libgcj/12416:
2395         * java/lang/Class.h: Updated.
2396         * java/lang/natClass.cc (_getFields): Removed.
2397         (getFields): Likewise.
2398         (getDeclaredFields): Added `public_only' parameter.
2399         * java/lang/Class.java (getFields): Now implemented in java; from
2400         Classpath.
2401         (getDeclaredFields): Likewise.
2402         (getDeclaredFields(boolean)): Declare.
2403         (_getFields): Removed.
2404         (internalGetFields): New method, from Classpath.
2406         PR libgcj/12656:
2407         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
2408         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
2410 2003-10-22  David Daney  <ddaney@avtrex.com)
2412         * include/mips-signal.h: New file.
2413         * sysdep/dwarf2-backtrace.cc: New file.
2414         * sysdep/mips: New directory.
2415         * sysdep/mips/locks.h: New file.
2416         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
2417         added to libgcj.
2418         (extra_cc_source_files): Ditto.
2419         * configure.host(disable_dladdr):  New shell variable passed to
2420         configure.
2421         (mips*-*-linux*): sysdeps_dir=mips,
2422         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
2423         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
2424         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
2425         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
2426         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
2427         (EXTRA_CC_FILES): New, to support conditional addition of
2428         sysdep/dwarf2-backtrace.cc.
2429         * configure: Regenerated.
2430         * Makefile.in: Regenerated.
2431         * gcj/Makefile.in: Regenerated.
2432         * include/config.h.in: Regenerated.
2433         * include/Makefile.in: Regenerated.
2434         * testsuite/Makefile.in: Regenerated.
2435         
2436 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2438         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
2439         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
2441 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2443         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
2444         * java/awt/geom/doc-files: New directory.
2445         * java/awt/geom/doc-files/QuadCurve2D-1.png,
2446         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
2447         
2448 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2450         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
2452 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2454         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
2456 2003-10-22  Michael Koch  <konqueror@gmx.de>
2458         * java/io/File.java
2459         (equals): Removed redundant obj == null check.
2460         (createTempFile): Merged comments from classpath.
2462 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2464         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
2465         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
2466         (error): Synchronize on instance, not class.
2468 2003-10-21  Mark Wielaard  <mark@klomp.org>
2470         Reported by M.Negovanovic
2471         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
2472         method.
2473         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
2475 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2477         Fix for Classpath bug #6076.
2478         * java/awt/geom/GeneralPath.java (append): Re-written.
2480 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2482         Fix for Classpath bug #6089.
2483         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
2484         (getPathIterator, GeneralPathIterator): Re-written from scratch.
2486 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2488         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
2489         point, not start of subpath.  Fixes Classpath bug #6075.
2491 2003-10-21  Michael Koch  <konqueror@gmx.de>
2493         * java/nio/ByteOrder.java,
2494         java/nio/DirectByteBufferImpl.java,
2495         java/nio/channels/FileChannelImpl.java:
2496         Add code to load library with code for native methods if needed.
2498 2003-10-21  Michael Koch  <konqueror@gmx.de>
2500         * gnu/java/net/PlainDatagramSocketImpl.java,
2501         gnu/java/net/PlainSocketImpl.java,
2502         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
2503         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
2504         gnu/java/net/natPlainSocketImplPosix.cc,
2505         gnu/java/net/natPlainSocketImplWin32.cc:
2506         Renamed fnum to native_fd to match classpath more.
2508 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
2510         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
2511         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
2512         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
2513         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
2514         _Jv_PthreadCheckMonitor.  Simplify code.
2515         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
2516         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
2517         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
2518         * java/lang/Thread.java (holdsLock): New.
2519         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
2520         without JV_HASH_SYNCHRONIZATION.
2521         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
2523 2003-10-20  Michael Koch  <konqueror@gmx.de>
2525         * java/text/RuleBasedCollator.java
2526         (RuleBasedCollator): Check rules not empty, fixed search in already
2527         existing collation elements.
2528         (is_special): Removed common whitespace characters.
2529         (text_argument): Dont return on whitespaces, add characters between
2530         two ' to string buffer.
2532 2003-10-18  Michael Koch  <konqueror@gmx.de>
2534         * gnu/java/net/protocol/file/Connection.java,
2535         gnu/java/net/protocol/file/Handler.java,
2536         gnu/java/net/protocol/http/Connection.java,
2537         gnu/java/net/protocol/http/Handler.java,
2538         gnu/java/net/protocol/jar/Connection.java,
2539         gnu/java/net/protocol/jar/Handler.java:
2540         Merged copyright text from classpath to make
2541         it possible to merge the classes.
2543 2003-10-18  Mark Wielaard  <mark@klomp.org>
2545         Reported by M.Negovanovic
2546         * java/beans/IndexedPropertyDescriptor.java
2547         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
2549 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
2551         * win32.cc (_Jv_pipe): Implemented.
2552         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
2553         _Jv_pipe instead of ::pipe.
2554         * include/posix.h (_Jv_pipe): New inline.
2555         * include/win32.h (_Jv_pipe): New declaration.
2556         
2557 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2559         * java/lang/StringBuffer.java (getChars): Fix array index checks.
2560         (append, substring, insert): Likewise.
2561         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
2562         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
2563         
2564 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2566         * java/lang/natString.cc (getChars):
2567         Fix validation of array indexes.
2568         (getBytes, regionMatches, startsWith, valueOf): Likewise.
2569         * testsuite/libjava.lang/String_overflow.java: New file.
2570         * testsuite/libjava.lang/String_overflow.out: New file.
2572 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2574         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
2575         overflow a jint.
2576         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
2577         check for overflowing size_t, since the lower level functions
2578         take a jint.
2579         * testsuite/libjava.lang/newarray_overflow.java:  New file.
2580         * testsuite/libjava.lang/newarray_overflow.out:  New file.
2581         
2582 2003-10-15  Michael Koch  <konqueror@gmx.de>
2584         * java/text/RuleBasedCollator.java
2585         (RuleBasedCollator): Moved around, documentation added.
2586         (compare): Documentation added.
2587         (equals): Likewise.
2588         (getCollationElementIterator): Likewise.
2589         (getCollationKey): Likewise.
2590         (getRules): Likewise.
2591         (hashCode): Likewise.
2593 2003-10-15  Michael Koch  <konqueror@gmx.de>
2595         * java/text/RuleBasedCollator.java
2596         (CollationElement): Renamed from RBCElement and moved into
2597         RuledBasedCollator as inner class.
2599 2003-10-15  Michael Koch  <konqueror@gmx.de>
2601         * java/text/CollationElementIterator.java
2602         (CollationElementIterator): Moved, documenatation added, call setText.
2603         (next): Reformated.
2604         (reset): Reformated.
2605         (setText): New method.
2606         (getOffset): New method.
2607         * java/text/CollationKey.java
2608         (getSourceString): Reformated.
2609         (hashCode): Reformated.
2610         (toByteArray): Reformated.
2612 2003-10-15  Michael Koch  <konqueror@gmx.de>
2614         * java/util/zip/InflaterInputStream.java
2615         (InflaterInputStream): Renamed infl to inf and bufsize to size,
2616         added description to exception, check for inf == null and size < 0.
2618 2003-10-15  Michael Koch  <konqueror@gmx.de>
2620         * java/text/AttributedCharacterIterator.java,
2621         java/text/CharacterIterator.java: Reformated.
2623 2003-10-15  Michael Koch  <konqueror@gmx.de>
2625         * javax/swing/UIDefaults.java (putDefaults):
2626         Readded accidently removed "public" modifier.
2628 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
2630         * interpret.cc (_Jv_InterpMethod::run): Don't
2631         use libffi types, they were meant to be internal.
2632         * gcj/javaprims.h (_Jv_ulong): New typedef.
2634 2003-10-13  Tom Tromey  <tromey@redhat.com>
2636         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
2637         (defineClass): Updated.
2638         (_Jv_NewClass): Likewise.
2639         * prims.cc (_Jv_InitPrimClass): Don't call
2640         _Jv_InitNewClassFields.
2642 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
2644         PR libgcj/12592
2645         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
2646         not just \n.
2648 2003-10-13  Michael Koch  <konqueror@gmx.de>
2650         * java/io/File.java: Reformated.
2651         (equals): Check for obj == null.
2653 2003-10-13  Michael Koch  <konqueror@gmx.de>
2655         * java/net/JarURLConnection.java
2656         (jarFileURL): Added dcoumentation.
2657         (jarFileURLConnection): Reformated documentation.
2658         (entryName): Renamed from "element", documentation rewritten.
2659         (connectionCache): Renamed from "conn_cache", documentation
2660         reformated.
2661         (JarURLConnection): Check URL protocol.
2662         (getEntryName): Use entryName.
2663         (connect): Use connectionCache.
2664         (getInputStream): Use entryName, fixed comment.
2665         (getJarEntry): Use entryName.
2666         (getHeaders): Use entryName.
2667         * java/net/URLConnection.java
2668         (addRequestProperty): Fixed documentation.
2669         (setDefaultRequestProptery): Added comment that it does nothing since
2670         JDK 1.3.
2671         (getDefaultRequestProperty): Likewise.
2673 2003-10-13  Michael Koch  <konqueror@gmx.de>
2675         * java/net/java/net/URLStreamHandlerFactory.java
2676         (createURLStreamHandler): Removed redundant "public" modifier.
2677         * java/sql/DatabaseMetaData.java:
2678         (DatabaseMetaData):  Readded accidently removed "public" modifier.
2679         * java/sql/ParameterMetaData.java:
2680         (ParameterMetaData): Readded accidently removed "public" modifier.
2681         * java/sql/PreparedStatement.java:
2682         (PreparedStatement): Readded accidently removed "public" modifier.
2683         * java/sql/Ref.java:
2684         (Ref): Readded accidently removed "public" modifier.
2686 2003-10-13  Michael Koch  <konqueror@gmx.de>
2688         * java/nio/Buffer.java
2689         (hasRemaining): Made implementation more clear.
2690         * java/nio/MappedByteBuffer.java
2691         (loaded): New member variable.
2692         (force): Added comment.
2693         (isLoaded): Return value of loaded.
2694         (load): Set loaded to true, added comment.
2696 2003-10-12  Michael Koch  <konqueror@gmx.de>
2698         * gnu/java/nio/PipeImpl.java
2699         (SourceChannelImpl): New inner class.
2700         (SinkChannelImpl): New inner class.
2701         (sink): New member variable.
2702         (source): New member variable.
2703         (PipeImpl): Add SelectorProvider argument, implemented.
2704         (nativeInit): New method.
2705         (sink): Return sink channel.
2706         (source): Return source channel.
2707         * gnu/java/nio/SelectorProviderImpl.java
2708         (openPipe): Give provider as argument to PipeImpl constructor.
2709         * java/nio/channels/spi/SelectorProvider.java
2710         (pr): Removed.
2711         (systemDefaultProvider): New member variable.
2712         (provider): Made it synchronized, use property
2713         java.nio.channels.spi.SelectorProvider.
2714         * gnu/java/nio/natPipeImpl.cc: New file.
2715         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
2716         * Makefile.in: Regenerated.
2718 2003-10-12  Michael Koch  <konqueror@gmx.de>
2720         * javax/swing/table/DefaultTableModel.java,
2721         javax/swing/table/TableCellEditor.java,
2722         javax/swing/table/TableCellRenderer.java,
2723         javax/swing/table/TableColumnModel.java,
2724         javax/swing/table/TableModel.java,
2725         javax/swing/text/AbstractDocument.java,
2726         javax/swing/text/Document.java,
2727         javax/swing/text/MutableAttributeSet.java,
2728         javax/swing/text/StyledDocument.java,
2729         javax/swing/text/ViewFactory.java,
2730         javax/swing/tree/DefaultMutableTreeNode.java,
2731         javax/swing/tree/MutableTreeNode.java,
2732         javax/swing/tree/RowMapper.java,
2733         javax/swing/tree/TreeCellEditor.java,
2734         javax/swing/tree/TreeCellRenderer.java,
2735         javax/swing/tree/TreeModel.java,
2736         javax/swing/tree/TreeNode.java,
2737         javax/swing/tree/TreeSelectionModel.java,
2738         javax/swing/undo/StateEditable.java,
2739         javax/swing/undo/UndoableEdit.java:
2740         Removed redundant modifiers.
2742 2003-10-12  Michael Koch  <konqueror@gmx.de>
2744         * javax/swing/event/AncestorListener.java,
2745         javax/swing/event/CaretListener.java,
2746         javax/swing/event/CellEditorListener.java,
2747         javax/swing/event/ChangeListener.java,
2748         javax/swing/event/DocumentEvent.java,
2749         javax/swing/event/DocumentListener.java,
2750         javax/swing/event/HyperlinkListener.java,
2751         javax/swing/event/InternalFrameListener.java,
2752         javax/swing/event/ListDataListener.java,
2753         javax/swing/event/ListSelectionListener.java,
2754         javax/swing/event/MenuDragMouseListener.java,
2755         javax/swing/event/MenuKeyListener.java,
2756         javax/swing/event/MenuListener.java,
2757         javax/swing/event/MouseInputListener.java,
2758         javax/swing/event/PopupMenuListener.java,
2759         javax/swing/event/TableColumnModelListener.java,
2760         javax/swing/event/TableModelListener.java,
2761         javax/swing/event/TreeExpansionListener.java,
2762         javax/swing/event/TreeModelListener.java,
2763         javax/swing/event/TreeSelectionListener.java,
2764         javax/swing/event/TreeWillExpandListener.java,
2765         javax/swing/event/UndoableEditListener.java,
2766         javax/swing/plaf/UIResource.java,
2767         javax/swing/plaf/metal/MetalLookAndFeel.java:
2768         Removed redundant modifiers.
2770 2003-10-12  Michael Koch  <konqueror@gmx.de>
2772         * javax/swing/Action.java,
2773         javax/swing/BoundedRangeModel.java,
2774         javax/swing/CellEditor.java,
2775         javax/swing/ComboBoxEditor.java,
2776         javax/swing/ComboBoxModel.java,
2777         javax/swing/DesktopManager.java,
2778         javax/swing/JComboBox.java,
2779         javax/swing/ListCellRenderer.java,
2780         javax/swing/ListSelectionModel.java,
2781         javax/swing/MenuElement.java,
2782         javax/swing/MutableComboBoxModel.java,
2783         javax/swing/Renderer.java,
2784         javax/swing/RootPaneContainer.java,
2785         javax/swing/ScrollPaneConstants.java,
2786         javax/swing/SingleSelectionModel.java,
2787         javax/swing/SpinnerModel.java,
2788         javax/swing/SwingConstants.java,
2789         javax/swing/UIDefaults.java,
2790         javax/swing/WindowConstants.java,
2791         javax/swing/border/Border.java,
2792         javax/swing/colorchooser/ColorSelectionModel.java:
2793         Removed redundant modifiers.
2795 2003-10-11  Michael Koch  <konqueror@gmx.de>
2797         * javax/transaction/Status.java,
2798         javax/transaction/Synchronization.java,
2799         javax/transaction/Transaction.java,
2800         javax/transaction/TransactionManager.java,
2801         javax/transaction/UserTransaction.java,
2802         javax/transaction/xa/XAResource.java,
2803         javax/transaction/xa/Xid.java:
2804         Removing redundant modifiers.
2806 2003-10-11  Michael Koch  <konqueror@gmx.de>
2808         * javax/print/attribute/Attribute.java,
2809         javax/print/attribute/AttributeSet.java,
2810         javax/print/attribute/PrintRequestAttributeSet.java:
2811         Removing redundant modifiers.
2813 2003-10-11  Michael Koch  <konqueror@gmx.de>
2815         * javax/sql/ConnectionEventListener.java,
2816         javax/sql/ConnectionPoolDataSource.java,
2817         javax/sql/DataSource.java,
2818         javax/sql/PooledConnection.java,
2819         javax/sql/RowSet.java,
2820         javax/sql/RowSetInternal.java,
2821         javax/sql/RowSetListener.java,
2822         javax/sql/RowSetMetaData.java,
2823         javax/sql/RowSetReader.java,
2824         javax/sql/RowSetWriter.java,
2825         javax/sql/XAConnection.java,
2826         javax/sql/XADataSource.java:
2827         Removing redundant modifiers.
2829 2003-10-11  Michael Koch  <konqueror@gmx.de>
2831         * javax/naming/Context.java,
2832         javax/naming/Name.java,
2833         javax/naming/NameParser.java,
2834         javax/naming/NamingEnumeration.java,
2835         javax/naming/Referenceable.java,
2836         javax/naming/directory/Attribute.java,
2837         javax/naming/directory/Attributes.java,
2838         javax/naming/directory/DirContext.java,
2839         javax/naming/event/EventContext.java,
2840         javax/naming/event/EventDirContext.java,
2841         javax/naming/event/NamespaceChangeListener.java,
2842         javax/naming/event/NamingListener.java,
2843         javax/naming/event/ObjectChangeListener.java,
2844         javax/naming/ldap/Control.java,
2845         javax/naming/ldap/ExtendedRequest.java,
2846         javax/naming/ldap/ExtendedResponse.java,
2847         javax/naming/ldap/HasControls.java,
2848         javax/naming/ldap/LdapContext.java,
2849         javax/naming/ldap/UnsolicitedNotification.java,
2850         javax/naming/ldap/UnsolicitedNotificationListener.java,
2851         javax/naming/spi/DirObjectFactory.java,
2852         javax/naming/spi/DirStateFactory.java,
2853         javax/naming/spi/InitialContextFactory.java,
2854         javax/naming/spi/InitialContextFactoryBuilder.java,
2855         javax/naming/spi/ObjectFactory.java,
2856         javax/naming/spi/ObjectFactoryBuilder.java,
2857         javax/naming/spi/Resolver.java,
2858         javax/naming/spi/StateFactory.java:
2859         Removing redundant modifiers.
2861 2003-10-11  Michael Koch  <konqueror@gmx.de>
2863         * java/security/Key.java,
2864         * java/security/PrivateKey.java,
2865         * java/security/PublicKey.java,
2866         * java/security/acl/Acl.java,
2867         * java/security/acl/AclEntry.java,
2868         * java/security/acl/Group.java,
2869         * java/security/acl/Owner.java,
2870         * java/security/acl/Permission.java,
2871         * java/security/cert/X509Extension.java,
2872         * java/security/interfaces/DSAKey.java,
2873         * java/security/interfaces/DSAKeyPairGenerator.java,
2874         * java/security/interfaces/DSAParams.java,
2875         * java/security/interfaces/DSAPrivateKey.java,
2876         * java/security/interfaces/DSAPublicKey.java,
2877         * java/security/interfaces/RSAKey.java,
2878         * java/security/interfaces/RSAPrivateCrtKey.java,
2879         * java/security/interfaces/RSAPrivateKey.java,
2880         * java/security/interfaces/RSAPublicKey.java:
2881         Removed redundant modifiers.
2883 2003-10-11  Michael Koch  <konqueror@gmx.de>
2885         * gnu/java/rmi/server/ProtocolConstants.java,
2886         gnu/java/security/der/DER.java:
2887         Removing redundant modifiers.
2889 2003-10-11  Michael Koch  <konqueror@gmx.de>
2891         * java/util/Map.java,
2892         java/util/Observer.java,
2893         java/util/zip/Checksum.java,
2894         java/util/zip/ZipConstants.java:
2895         Removed redundant modifiers.
2897 2003-10-11  Michael Koch  <konqueror@gmx.de>
2899         * java/text/AttributedCharacterIterator.java,
2900         java/text/CharacterIterator.java:
2901         Removed redundant modifiers.
2903 2003-10-11  Michael Koch  <konqueror@gmx.de>
2905         * java/sql/Array.java,
2906         java/sql/Blob.java,
2907         java/sql/CallableStatement.java,
2908         java/sql/Clob.java,
2909         java/sql/Connection.java,
2910         java/sql/DatabaseMetaData.java,
2911         java/sql/Driver.java,
2912         java/sql/ParameterMetaData.java,
2913         java/sql/PreparedStatement.java,
2914         java/sql/Ref.java,
2915         java/sql/ResultSet.java,
2916         java/sql/ResultSetMetaData.java,
2917         java/sql/SQLData.java,
2918         java/sql/SQLInput.java,
2919         java/sql/SQLOutput.java,
2920         java/sql/Savepoint.java,
2921         java/sql/Statement.java,
2922         java/sql/Struct.java:
2923         Removed redundant modifiers.
2925 2003-10-11  Michael Koch  <konqueror@gmx.de>
2927         * java/nio/channels/Channel.java,
2928         java/nio/channels/GatheringByteChannel.java,
2929         java/nio/channels/ReadableByteChannel.java,
2930         java/nio/channels/ScatteringByteChannel.java,
2931         java/nio/channels/WritableByteChannel.java:
2932         Removed redundant modifiers.
2934 2003-10-11  Michael Koch  <konqueror@gmx.de>
2936         * java/rmi/activation/ActivationInstantiator.java,
2937         java/rmi/activation/ActivationMonitor.java,
2938         java/rmi/activation/ActivationSystem.java,
2939         java/rmi/activation/Activator.java,
2940         java/rmi/dgc/DGC.java,
2941         java/rmi/registry/Registry.java,
2942         java/rmi/registry/RegistryHandler.java,
2943         java/rmi/server/LoaderHandler.java,
2944         java/rmi/server/RMIClientSocketFactory.java,
2945         java/rmi/server/RMIFailureHandler.java,
2946         java/rmi/server/RMIServerSocketFactory.java,
2947         java/rmi/server/RemoteCall.java,
2948         java/rmi/server/RemoteRef.java,
2949         java/rmi/server/ServerRef.java,
2950         java/rmi/server/Skeleton.java,
2951         java/rmi/server/Unreferenced.java:
2952         Removed redundant modifiers.
2954 2003-10-11  Michael Koch  <konqueror@gmx.de>
2956         * java/net/ContentHandlerFactory.java,
2957         java/net/DatagramSocketImplFactory.java,
2958         java/net/FileNameMap.java,
2959         java/net/SocketImplFactory.java,
2960         java/net/SocketOptions.java,
2961         java/net/URLStreamHandlerFactory.java:
2962         Removed redundant modifiers.
2964 2003-10-11  Michael Koch  <konqueror@gmx.de>
2966         * java/io/Externalizable.java,
2967         java/io/FileFilter.java,
2968         java/io/FilePermission.java,
2969         java/io/ObjectInput.java,
2970         java/io/ObjectInputValidation.java,
2971         java/io/ObjectOutput.java,
2972         java/io/ObjectStreamClass.java,
2973         java/io/ObjectStreamConstants.java,
2974         java/io/Serializable.java:
2975         Removed redundant modifiers.
2977 2003-10-11  Ingo Proetel  <proetel@aicas.com>
2979         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
2980         codebase and context classloader.
2982 2003-10-11  Michael Koch  <konqueror@gmx.de>
2984         * java/beans/beancontext/BeanContext.java,
2985         java/beans/beancontext/BeanContextChild.java,
2986         java/beans/beancontext/BeanContextChildComponentProxy.java,
2987         java/beans/beancontext/BeanContextChildSupport.java,
2988         java/beans/beancontext/BeanContextContainerProxy.java,
2989         java/beans/beancontext/BeanContextMembershipListener.java,
2990         java/beans/beancontext/BeanContextProxy.java,
2991         java/beans/beancontext/BeanContextServiceProvider.java,
2992         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
2993         java/beans/beancontext/BeanContextServiceRevokedListener.java,
2994         java/beans/beancontext/BeanContextServices.java,
2995         java/beans/beancontext/BeanContextServicesListener.java:
2996         Removed redundant modifiers.
2998 2003-10-11  Michael Koch  <konqueror@gmx.de>
3000         * java/beans/AppletInitializer.java,
3001         java/beans/BeanInfo.java,
3002         java/beans/Customizer.java,
3003         java/beans/DesignMode.java,
3004         java/beans/PropertyEditor.java,
3005         java/beans/Visibility.java:
3006         Removed redundant modifiers.
3008 2003-10-11  Michael Koch  <konqueror@gmx.de>
3010         * java/awt/print/Pageable.java,
3011         * java/awt/print/Printable.java,
3012         java/awt/print/PrinterGraphics.java:
3013         Removed redundant modifiers.
3015 2003-10-11  Michael Koch  <konqueror@gmx.de>
3017         * java/awt/peer/ButtonPeer.java,
3018         java/awt/peer/CheckboxMenuItemPeer.java,
3019         java/awt/peer/CheckboxPeer.java,
3020         java/awt/peer/ChoicePeer.java,
3021         java/awt/peer/ComponentPeer.java,
3022         java/awt/peer/ContainerPeer.java,
3023         java/awt/peer/DialogPeer.java,
3024         java/awt/peer/FileDialogPeer.java,
3025         java/awt/peer/FramePeer.java,
3026         java/awt/peer/LabelPeer.java,
3027         java/awt/peer/ListPeer.java,
3028         java/awt/peer/MenuBarPeer.java,
3029         java/awt/peer/MenuComponentPeer.java,
3030         java/awt/peer/MenuItemPeer.java,
3031         java/awt/peer/MenuPeer.java,
3032         java/awt/peer/PopupMenuPeer.java,
3033         java/awt/peer/RobotPeer.java,
3034         java/awt/peer/ScrollPanePeer.java,
3035         java/awt/peer/ScrollbarPeer.java,
3036         java/awt/peer/TextAreaPeer.java,
3037         java/awt/peer/TextComponentPeer.java,
3038         java/awt/peer/TextFieldPeer.java,
3039         java/awt/peer/WindowPeer.java:
3040         Removed redundant modifiers.
3042 2003-10-11  Michael Koch  <konqueror@gmx.de>
3044         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
3045         * gnu/java/nio/ServerSocketChannelImpl.java
3046         (serverSocket): Made it a NIOServerSocket.
3047         (impl): Removed.
3048         (ServerSocketChannelImpl): Initialize only serverSocket.
3049         (initServerSocket): Removed.
3050         (getNativeFD): Rewritten.
3051         (implConfigureBlocking): Set socket timeout and removed comment.
3052         (accept): Rewritten.
3053         * gnu/java/nio/SocketChannelImpl.java
3054         (impl): New variable.
3055         (connected): Removed.
3056         (SocketChannelImpl): Initialize impl too.
3057         (getImpl): New method.
3058         (isConnected): Rewritten.
3059         (read): Rewritten, set position in buffer correctly.
3060         (write): Set position in buffer correctly.
3061         * java/net/ServerSocket.java (getImpl): New method.
3062         * gnu/java/nio/NIOServerSocket.java,
3063         gnu/java/nio/natNIOServerSocket.cc: New files.
3064         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3065         * Makefile.am
3066         (ordinary_java_source_files):
3067         Added gnu/java/nio/NIOServerSocket.java.
3068         (nat_source_files):
3069         Removed gnu/java/nio/natServerSocketChannelImpl.cc
3070         and added gnu/java/nio/natNIOServerSocket.cc.
3071         * Makefile.in: Regenerated.
3073 2003-10-11  Michael Koch  <konqueror@gmx.de>
3075         * java/awt/ActiveEvent.java,
3076         java/awt/datatransfer/ClipboardOwner.java,
3077         java/awt/datatransfer/FlavorMap.java,
3078         java/awt/datatransfer/Transferable.java,
3079         java/awt/dnd/Autoscroll.java,
3080         java/awt/dnd/peer/DragSourceContextPeer.java,
3081         java/awt/dnd/peer/DropTargetContextPeer.java,
3082         java/awt/dnd/peer/DropTargetPeer.java,
3083         java/awt/font/MultipleMaster.java,
3084         java/awt/font/OpenType.java,
3085         java/awt/im/spi/InputMethodDescriptor.java,
3086         java/awt/image/ImageObserver.java,
3087         java/awt/image/ImageConsumer.java,
3088         java/awt/image/ImageProducer.java,
3089         java/awt/image/RGBImageFilter.java,
3090         java/awt/image/RasterOp.java,
3091         java/awt/image/renderable/RenderableImage.java:
3092         Removed redundant modifiers.
3094 2003-10-11  Michael Koch  <konqueror@gmx.de>
3096         * gnu/awt/j2d/DirectRasterGraphics.java,
3097         gnu/java/awt/EmbeddedWindowSupport.java:
3098         Removed redundant modifiers.
3100 2003-10-09  Michael Koch  <konqueror@gmx.de>
3102         * gnu/java/nio/SelectorImpl.java (register):
3103         Use ServerSocketChannelSelectionKey for server socket channels,
3104         removed unneeded comments.
3105         * gnu/java/nio/ServerSocketChannelImpl.java
3106         (ServerSocketChannelImpl): Made class public final.
3107         (impl): New member variable.
3108         (ServerSocketChannelImpl): Initialize member variables correctly.
3109         (initServerSocket): New method.
3110         (getNativeFD): Likewise.
3111         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
3112         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
3113         * Makefile.am (ordinary_java_source_files):
3114         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
3115         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
3116         * Makefile.in: Regenrated.
3118 2003-10-09  Michael Koch  <konqueror@gmx.de>
3120         * java/nio/channels/spi/AbstractSelectableChannel.java
3121         (registered): Made private.
3122         (blocking): Likewise.
3123         (LOCK): Likewise.
3124         (provider): Likewise.
3125         (keys): Made it a private LinkedList.
3126         (AbstractSelectableChannel): Initialize keys.
3127         (isRegistered): New implementation.
3128         (locate): Rewritten.
3129         (register): Rewritten.
3130         * java/nio/channels/spi/AbstractSelectionKey.java
3131         (ok): Removed.
3132         (cancelled): New member variable.
3133         (cancel): Rewritten.
3134         (isValid): Rewritten.
3135         * java/nio/channels/spi/AbstractSelector.java:
3136         Some methods moved.
3137         (closed): Make private.
3138         (provider): Likewise.
3139         (cancelledKeys): New member variable.
3140         (AbstractSelector): Initialize cancelledKeys.
3141         (cancelKey): New method.
3143 2003-10-09  Tom Tromey  <tromey@redhat.com>
3145         * java/lang/ClassLoader.java (setSigners): Implemented.
3146         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
3147         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
3148         Initialize new fields.
3149         * java/lang/Class.java (getSigners): Now native.
3150         (setSigners): Declare.
3151         * java/lang/natClass.cc (getSigners): New method.
3152         (getSigners): Likewise.
3153         * java/lang/Class.h (Class::signers): New field.
3154         (Class::setSigners): New method.
3156 2003-10-09  Michael Koch  <konqueror@gmx.de>
3158         * java/rmi/server/RMIClassLoader.java:
3159         Removed unused imports, little reformatings.
3160         (getClassLoader): New method, implementation was part of old loadCLass
3161         method.
3162         (loadClass): Simplified by moving functionality to new method and
3163         reworking the code a bit.
3164         (getClassAnnotation): Merged documentation from classpath.
3166 2003-10-09  Michael Koch  <konqueror@gmx.de>
3168         * java/math/BigInteger.java
3169         (add): Removed unused local variable len.
3171 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3173         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
3174         modality check.
3175         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3176         Initialize insets to use latest insets.
3177         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
3178         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
3179         field.
3180         (postConfigureEvent): Update latestInsets field when insets
3181         change.  Remove call to setSize.  Move validate call outside of
3182         if blocks.
3183         (setVisible): Call setBounds before showing window.
3184         (nativeSetVisible): New native method.
3185         * java/awt/Window.java (show): Show visible owned windows.
3186         (hide): Hide visible owned windows.
3187         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3188         (awt_event_handler): Implement modality using GTK grabs.
3189         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3190         (global_gtk_window_group): New global variable.
3191         (gtkInit): Initialize global_gtk_window_group.
3192         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3193         Clamp width and height values to at least 1.  Add this window to
3194         the global GTK window group.
3195         (setVisible): Rename to nativeSetVisible.
3196         (setup_window): Remove function.
3197         (setSize): Clamp width and height values to at least 1.
3198         (nativeSetBounds): Likewise.
3199         (gdk_window_get_root_geometry): Remove function.
3200         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
3201         and setup_window declarations.  Declare global_gtk_window_group.
3203         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3204         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3205         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3206         (gtkWidgetSetForeground): New method.
3207         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3208         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3209         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
3210         (setBackground, setForeground): Implement.
3211         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3212         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3213         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3214         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3215         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3216         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3217         Position PangoLayout relative to text's baseline.
3218         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
3220         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
3221         for CENTER and RIGHT alignments.
3223 2003-10-08  Michael Koch  <konqueror@gmx.de>
3225         * java/security/Security.java: Reformated.
3227 2003-10-08  Michael Koch  <konqueror@gmx.de>
3229         * java/text/SimpleDateFormat.java
3230         (compileFormat): Replace Character.isLetter() test with
3231         Character.isLowerCase() || Character.isUpperCase().
3233 2003-10-08  Tom Tromey  <tromey@redhat.com>
3235         * java/lang/StrictMath.java (toDegrees): Multiply before
3236         dividing.
3237         (toRadians): Likewise.
3239 2003-10-08  C. Brian Jones  <cbj@gnu.org>
3241         * java/lang/Math.java
3242         (toRadians): multiply before dividing to reduce decimal error
3243         (toDegrees): ditto
3245 2003-10-08  Michael Koch  <konqueror@gmx.de>
3247         * gnu/gcj/protocol/core/Connection.java,
3248         gnu/gcj/protocol/core/CoreInputStream.java,
3249         gnu/gcj/protocol/core/Handler.java,
3250         gnu/gcj/protocol/core/natCoreInputStream.cc,
3251         gnu/gcj/protocol/file/Connection.java,
3252         gnu/gcj/protocol/file/Handler.java,
3253         gnu/gcj/protocol/gcjlib/Connection.java,
3254         gnu/gcj/protocol/gcjlib/Handler.java,
3255         gnu/gcj/protocol/http/Connection.java,
3256         gnu/gcj/protocol/http/Handler.java,
3257         gnu/gcj/protocol/jar/Connection.java,
3258         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
3259         * gnu/java/net/protocol/core/Connection.java,
3260         gnu/java/net/protocol/core/CoreInputStream.java,
3261         gnu/java/net/protocol/core/Handler.java,
3262         gnu/java/net/protocol/core/natCoreInputStream.cc,
3263         gnu/java/net/protocol/file/Connection.java,
3264         gnu/java/net/protocol/file/Handler.java,
3265         gnu/java/net/protocol/gcjlib/Connection.java,
3266         gnu/java/net/protocol/gcjlib/Handler.java,
3267         gnu/java/net/protocol/http/Connection.java,
3268         gnu/java/net/protocol/http/Handler.java,
3269         gnu/java/net/protocol/jar/Connection.java,
3270         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
3271         * gnu/gcj/runtime/FirstThread.java,
3272         java/net/URL.java: Use moved protocol handlers.
3273         * Makefile.am
3274         (ordinary_java_source_files): Moved files.
3275         (nat_source_files): Likewise.
3276         * Makefile.in: Regenerated.
3278 2003-10-08  Michael Koch  <konqueror@gmx.de>
3280         * gnu/java/nio/SocketChannelImpl.java
3281         (read): Write only read data to buffer.
3283 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3285         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
3286         out.
3287         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
3288         (JCL_free): Attach "unused" attribute to env parameter.
3289         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
3290         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
3291         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3292         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
3293         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3294         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3295         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
3296         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
3297         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
3298         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3299         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
3300         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3301         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
3302         parameters.
3303         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
3304         (initNativeState): Pass 0 as info argument to
3305         gtk_selection_add_target.
3306         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3307         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
3308         unused method implementations.
3309         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3310         (awt_event_handler): Add break statement after default label.
3311         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
3312         (drawPixels): Remove unused variable i.
3313         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3314         (setEnabled): Remove method implementation.
3315         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3316         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
3317         argument.
3318         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
3319         unused function.
3320         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3321         (menu_pos): Assign TRUE to push_in.
3322         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
3323         argument.
3324         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
3325         (create): Remove unused variable layout.
3326         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3327         Pass window_widget, rather than window, to
3328         gtk_widget_set_size_request.
3329         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
3330         structure initialization with NULL values.
3331         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
3333 2003-10-08  Michael Koch  <konqueror@gmx.de>
3335         * java/util/LinkedList.java:
3336         Removed whitespace to match classpath's version again.
3338 2003-10-08  Michael Koch  <konqueror@gmx.de>
3340         * java/util/prefs/Preferences.java
3341         (defaultFactoryClass): Fixed class name.
3342         (getFactory): Create instance of class returned by Class.forName(),
3343         reformated code.
3345 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
3347         * javax/swing/table/AbstractTableModel.java
3348         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
3349         helped stop pulling my hair on this +1 then -1 tricky thing!
3351 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
3353         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
3354         Remove unused parameters.
3355         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
3356         Likewise.
3357         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3358         (keyevent_state_to_awt_mods): Export function.
3359         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3360         (getCaretPosition): Fix TextArea case.
3361         (textcomponent_commit_cb): Get exact event time and modifier
3362         state.
3363         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
3365 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
3367         * java/net/InetSocketAddress.java
3368         (InetSocketAddress): Made exception more clear.
3369         (equals): Handle case when addr is null.
3370         (toString): Likewise.
3371         * java/net/NetworkInterface.java
3372         (static): Load native library.
3373         (getNetworkInterfaces): Rewritten.
3375 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3377         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
3378         field.
3379         (initializeInsets): New method.
3380         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
3381         setBounds unconditionally.
3382         (setBounds): Convert coordinates if parent is a Window.
3383         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
3384         field to GtkComponentPeer.
3385         (GtkContainerPeer): Don't initialize insets.
3386         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3387         New method.
3388         (create): Call new GtkWindowPeer create method.
3389         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
3390         New method.
3391         (create): Call new GtkWindowPeer create method.
3392         (setBounds): Remove method.
3393         (postConfigureEvent): Likewise.
3394         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
3395         type constants with GDK window type constants.
3396         (create(int,boolean,int,int,GtkWindowPeer)): New method.
3397         (create(int,boolean)): Likewise.
3398         (create()): Call create(int,boolean).
3399         (nativeSetBounds): New native method declaration.
3400         (setBounds): Call native method declaration.
3401         (setSize): New native method declaration.
3402         (setBoundsCallback): Likewise.
3403         (postConfigureEvent): Handle change in insets.  Call setSize and
3404         setBoundsCallback methods.
3405         * java/awt/Window.java (Window): Set visible to false.
3406         (setBoundsCallback): New method.
3407         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3408         (gtkWidgetGetLocationOnScreen): If this component is not a
3409         container, adjust the location returned based on the peer's
3410         allocation.
3411         (set(String,boolean)): Revert change from 2003-09-19.
3412         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3413         (awt_event_handler): Fix inset calculation.
3414         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
3415         glue for Window.setBoundsCallback.
3416         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3417         Set up stacking order, window decorations and window manager
3418         hints.
3419         (setBoundsCallback): New method.
3420         (setSize): New method.
3421         (nativeSetBounds): New method.
3422         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
3424 2003-10-02  Tom Tromey  <tromey@redhat.com>
3426         * java/lang/VMClassLoader.java (loadClass): Now native.
3427         * java/lang/natClassLoader.cc (loadClass): Implement.
3428         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
3430 2003-10-02  Michael Koch  <konqueror@gmx.de>
3432         * java/net/InetAddress.java
3433         (zeros): Removed.
3434         (ANY_IF): Initalizie in static block.
3435         (static): Load library with native methods here and initialize ANY_IF.
3436         (isAnyLocalAddress): Check if equal to ANY_IF.
3437         (equals): Use addr directly instead of addr1. Simplify for loop.
3438         (toString): Rename "result" to "host" and add IP address allways.
3439         (getLocalHost): Merged documentation from classpath.
3440         * java/net/ServerSocket.java
3441         (ServerSocket): New package-private constructor used by java.nio.
3442         * java/net/URLConnection.java
3443         (getRequestProperties): Check if already connected.
3445 2003-10-02  Michael Koch  <konqueror@gmx.de>
3447         * java/nio/ByteBufferHelper.java:
3448         Rewrote all methods by suggestions from Eric Blake.
3450 2003-10-02  Michael Koch  <konqueror@gmx.de>
3452         * java/net/URL.java
3453         (DEFAULT_SEARCH_PATH): New static variable.
3454         (ph_cache): Made it a HashMap.
3455         (getURLStreamHandler): Rename propVal to ph_search_path and use
3456         DEFAULT_SEARCH_PATH.
3458 2003-10-02  Michael Koch  <konqueror@gmx.de>
3460         * javax/swing/table/AbstractTableModel.java
3461         (findColumnName): Prevent from NullPointerException if argument
3462         columnName is null.
3464 2003-10-02  Michael Koch  <konqueror@gmx.de>
3466         * javax/swing/table/AbstractTableModel.java:
3467         This patch is based on a patch done by Arnaud Vandyck
3468         <arnaud.vandyck@ulg.ac.be>.
3469         (getColumnName): Fixed method documentation.
3470         (findColumn): Likewise.
3471         (getColumnClass): Likewise.
3472         (isCellEditable): Likewise.
3473         (setValueAt): Likewise.
3474         (addTableModelListener): Likewise.
3475         (removeTableModelListener): Likewise.
3476         (getTableModelListeners): New method.
3478 2003-10-02  Michael Koch  <konqueror@gmx.de>
3480         * javax/swing/table/AbstractTableModel.java:
3481         Reformated.
3483 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
3485         Fix PR libgcj/12475
3486         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
3487         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
3489 2003-10-01  Tom Tromey  <tromey@redhat.com>
3491         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
3493 2003-10-01  Andrew Haley  <aph@redhat.com>
3495         * java/lang/natClass.cc (initializeClass): Check for otable and
3496         atable.
3497         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
3498         loops using for().  Search superinterfaces.  Check for fields as
3499         well as methods.  Initialize atable as well as otable: check for
3500         static methods as well as virtual methods.
3501         * java/lang/Class.h (struct _Jv_AddressTable): New.
3502         (atable): New.
3503         (atable_syms): New.
3504         * include/jvm.h (_Jv_equalUtf8Consts): constify.
3505         * prims.cc (_Jv_equalUtf8Consts): constify.
3507 2003-09-29  Tom Tromey  <tromey@redhat.com>
3509         PR libgcj/10596:
3510         * include/jvm.h (_Jv_FinalizeString,
3511         _Jv_RegisterStringFinalizer): Declare.
3512         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
3513         unintern.
3514         (intern): Updated.
3515         (_Jv_NewStringUtf8Const): Likewise.
3516         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3517         Add special case when finalizing a String.
3518         (in_hash): New function.
3519         (_Jv_RegisterStringFinalizer): Likewise.
3520         (maybe_add_finalize): Likewise.
3522 2003-09-29  Michael Koch  <konqueror@gmx.de>
3524         * java/net/InetAddress.java:
3525         (isMulticastAddress): Dont use local variable to store address length.
3526         Let the compiler optimize this.
3527         (getHostName): Merged dcoumentation from classpath.
3528         (getAddress): Likewise.
3529         (getHostAddress): Likewise.
3530         (hashCode): Likewise.
3531         (equals): Likewise.
3532         (toString): Likewise.
3533         (getByName): Likewise.
3534         (getAllByName): Likewise.
3536 2003-09-29  Michael Koch  <konqueror@gmx.de>
3538         * java/awt/image/IndexColorModel.java: Reformated.
3540 2003-09-29  Michael Koch  <konqueror@gmx.de>
3542         * java/net/InetAddress.java,
3543         java/net/URL.java: Reformated.
3545 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
3547         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
3548         significant bit of descriptor. Include the vtable and sync_info 
3549         fields.
3551 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3553         * java/text/DateFormat.java (format): Throw IllegalArgumentException
3554         if `obj' is not a Number or Date instance.
3555         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
3556         instead of Vector.
3558 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3560         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
3561         Don't call setTimeZone on calendar.
3563 2003-09-27  Michael Koch  <konqueror@gmx.de>
3565         * java/net/URL.java (getURLStreamHandler): Compile fixes.
3567 2003-09-27  Michael Koch  <konqueror@gmx.de>
3569         * java/net/URL.java (getURLStreamHandler):
3570         Check if we have to use cache before trying to retrieve handler from
3571         cache. Rename facName to clsName to match classpath more. Reformated
3572         some little pieces.
3574 2003-09-27  Michael Koch  <konqueror@gmx.de>
3576         * gnu/java/nio/SelectionKeyImpl.java
3577         (ch): Make package-private again. Jikes found this bug.
3578         Jeff Sturm submitted PR12426 for this to bugzilla
3579         to fix this bug in gcj.
3581 2003-09-26  Michael Koch  <konqueror@gmx.de>
3583         * java/rmi/server/RMIClassLoader.java:
3584         Reformatted file, no functional code changes.
3586 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
3588         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
3589         Save space for some pixels at the buffer end.  Added Javadoc.
3591 2003-09-26  Tom Tromey  <tromey@redhat.com>
3593         * java/io/ObjectOutputStream.java (writeFields): Fixed
3594         indentation.
3595         (putFields): Likewise.
3597 2003-09-26  Michael Koch  <konqueror@gmx.de>
3599         * java/nio/ByteBufferHelper.java:
3600         Totally reworked with help from Eric Blake.
3602 2003-09-26  Tom Tromey  <tromey@redhat.com>
3604         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
3605         * java/awt/geom/PathIterator.java: Documentation fixes.
3607 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
3609         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
3610         (select): Likewise.
3611         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
3613 2003-09-25  Michael Koch  <konqueror@gmx.de>
3615         * gnu/java/nio/DatagramChannelImpl.java
3616         (getNativeFD): New method.
3617         * gnu/java/nio/SelectionKeyImpl.java
3618         (SelectionKeyImpl): Class made abstract.
3619         (fd): Removed.
3620         (SelectionKeyImpl): Remove fd argument.
3621         (getNativeFD): New method.
3622         * gnu/java/nio/SocketChannelImpl.java
3623         (getNativeFD): New method.
3624         gnu/java/nio/DatagramChannelSelectionKey.java,
3625         * gnu/java/nio/SocketChannelSelectionKey.java:
3626         New files.
3627         * Makefile.am (ordinary_java_source_files):
3628         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
3629         gnu/java/nio/SocketChannelSelectionKey.java.
3630         * Makefile.in: Regenerated.
3632 2003-09-25  Michael Koch  <konqueror@gmx.de>
3634         * java/lang/reflect/Proxy.java
3635         (getProxyClass): Remove workaround for gcj 3.0.x.
3637 2003-09-25  Michael Koch  <konqueror@gmx.de>
3639         * gnu/java/net/PlainDatagramSocketImpl.java
3640         (finalize): Moved to directly after constructor.
3641         (getNativeFD): New method.
3642         * gnu/java/net/PlainSocketImpl.java
3643         (getNativeFD): New method.
3645 2003-09-25  Ingo Proetel  <proetel@aicas.com>
3647         * java/io/ObjectOutputStream.java:
3648         Allow putFields be called more than once.
3650 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
3652         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
3653         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
3654         * java/awt/image/BufferedImage.java (toString): Implement.
3656 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
3658         * aclocal.m4: Rebuilt.
3659         * configure: Rebuilt.
3661 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
3663         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
3664         field.
3666 2003-09-25  Michael Koch  <konqueror@gmx.de>
3668         * gnu/java/nio/SelectorImpl.java
3669         (implSelect): Renamed from java_do_select.
3670         (select): Call native implSelect() and add support for Thread
3671         interruption.
3672         * gnu/java/nio/natSelectorImpl.cc
3673         (implSelect): Renamed from java_do_select.
3675 2003-09-25  Michael Koch  <konqueror@gmx.de>
3677         * gnu/java/nio/SelectorImpl.java
3678         (selectNow): Made final, throws IOException.
3679         (select): Likewise.
3680         (getFDsAsArray): Made final.
3681         (selectedKeys): Likewise.
3682         (wakeup): Likewise.
3683         (deregisterCancelledKeys): Likewise.
3684         (register): Likewise.
3685         (ass): Removed.
3686         (add_selected): Removed.
3687         * gnu/java/nio/natSelectorImpl.cc:
3688         No need to include bstring.h or gcj/cni.h.
3689         (helper_put_filedescriptors): Rewritten.
3690         (helper_get_filedescriptors): Rewritten.
3692 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
3694         * java/awt/font/FontRenderContext.java (getTransform): Return
3695         copy of internal transform object. Add Javadoc.
3696         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
3697         winding rule as Sun J2SE.
3698         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
3700 2003-09-25  Ingo Proetel  <proetel@aicas.com>
3702         * java/rmi/Naming.java:
3703         Added comments, now accepts pseudo protocol "rmi".
3705 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
3707         * java/text/DecimalFormat.java (format): Don't immediatly round
3708         baseNumber to long.
3709         (setMinimumIntegerDigits): Call super.
3710         (setMinimumFractionDigits): Likewise.
3711         (setMaximumIntegerDigits): Likewise.
3712         (setMaximumFractionDigits): Likewise.
3714 2003-09-25  Michael Koch  <konqueror@gmx.de>
3716         * gnu/java/nio/DatagramChannelImpl.java
3717         (DatagramChannelImpl): Made class final.
3718         (blocking): Made private.
3719         (socket): Made it a NIODatagramSocket and private.
3720         (DatagramChannelImpl): create NIODatagramSocket instead of
3721         DatagramSocket.
3722         (implConfigureBlocking): Set socket timeout.
3723         (connect): Check that channel is not closed.
3724         (write): Implemented.
3725         (write): Rewritten.
3726         (read): Implemented.
3727         (read): Rewritten.
3728         (receive): Implemented.
3729         (send): Implemented.
3730         * gnu/java/nio/SelectionKeyImpl.java
3731         (readyOps): Made private.
3732         (interestOps): Made private.
3733         (impl): Made private.
3734         (ch): Made private.
3735         (readyOps): Check if selection key is valid.
3736         (interestOps): Likewise.
3737         * gnu/java/nio/SelectorImpl.java
3738         (closed): Removed.
3739         (keys): Made private.
3740         (selected): Made private.
3741         (finalize): New method.
3742         (implCloseSelector): Rewritten.
3743         (keys): Return unmodifiable Set.
3744         (deregisterCancelledKeys): Fixed typo in method name.
3745         * gnu/java/nio/SocketChannelImpl.java
3746         (SocketChannelImpl): Made class final.
3747         (socket): Made it a NIOSocket and private.
3748         (blocking): Made private.
3749         (connected): Made private.
3750         (connectionPending): New member variable.
3751         (SocketChannelImpl): New implementation.
3752         (finalizer): Use isConnected().
3753         (connect): Rewritten.
3754         (finishConnect): Throws IOException, implemented.
3755         (isConnectionPending): Return connectionPending.
3756         (read): Rewritten.
3757         (write): Rewritten.
3758         * gnu/java/nio/NIOConstants.java: New file.
3759         * Makefile.am (ordinary_java_source_files):
3760         Added gnu/java/nio/NIOConstants.java.
3761         * Makefile.in: Regenerated.
3763 2003-09-25  Michael Koch  <konqueror@gmx.de>
3765         * java/net/InetAddress.java:
3766         Reorder imports, remove implementation comment.
3767         (isMulticastAddress): Merged documentation from classpath.
3768         * java/net/URLConnection.java
3769         (setRequestProperty): Check key for null, fix documentation.
3770         (adREquestProperty): Check key for null, remove wrong implementation
3771         and replace it with comment to overwrite this method in subclasses,
3772         fix documentation.
3774 2003-09-25  Tom Tromey  <tromey@redhat.com>
3776         * java/lang/reflect/Proxy.java (generate): Uncomment protection
3777         domain code.
3778         * java/lang/natClassLoader.cc (defineClass): Added `loader'
3779         argument.
3780         (linkClass0): Now in VMClassLoader.
3781         (markClassErrorState0): Likewise.
3782         (getSystemClassLoaderInternal): New method.
3783         * java/lang/natClass.cc (initializeClass): Use
3784         VMClassLoader::resolveClass.
3785         * java/lang/ClassLoader.java: New version, from Classpath.
3786         * java/lang/Class.java (getProtectionDomain):
3787         protectionDomainPermission and unknownProtectionDomain now in
3788         VMClassLoader.
3789         * java/lang/Class.h: VMClassLoader now a friend class.
3790         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
3791         package-private.
3792         * gcj/javaprims.h: Regenerated class list.
3793         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
3794         * java/lang/VMClassLoader.java: New version from Classpath;
3795         modified for libgcj use.
3797 2003-09-25  Michael Koch  <konqueror@gmx.de>
3799         * java/nio/ByteBufferHelper.java:
3800         New file.
3801         * java/nio/ByteBufferImpl.java,
3802         java/nio/DirectByteBufferImpl.java,
3803         java/nio/MappedByteBufferImpl.java
3804         (getType,putType): Use new helper class ByteBufferHelper.
3805         * Makefile.am (ordinary_java_source_files):
3806         Added java/nio/ByteBufferHelper.java.
3807         * Makefile.in: Regenerated.
3809 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
3811         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
3812         PR libgcj/12388.
3814 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3816         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
3817         Strings, even if buffer is already shared.
3819 2003-09-24  Michael Koch  <konqueror@gmx.de>
3821         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
3823 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3825         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
3826         (write): Likewise.
3827         (SocketInputStream): Declare `read' and `write' methods native.
3828         Remove implementations which called back into PlainSocketImpl.
3829         Remove unneccessary overridden methods.
3830         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
3831         to inner class PlainSocketImpl.SocketInputStream.
3832         (write): Likewise.
3833         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
3834         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
3835         * gnu/java/net/SocketInputStream.java: Remove unused file.
3836         * gnu/java/net/SocketOutputStream.java: Likewise.
3837         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
3838         and SocketOutputStream.
3839         * Makefile.in: Rebuilt.
3841 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
3843         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
3845         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
3846         markers.
3848 2003-09-22  Anthony Green  <green@redhat.com>
3850         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
3851         * configure: Rebuilt.
3853 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
3855         PR java/12350:
3856         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
3858 2003-09-22  Michael Koch  <konqueror@gmx.de>
3860         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
3861         compiler warning but produces a different one now.
3863 2003-09-22  Michael Koch  <konqueror@gmx.de>
3865         * java/net/InetAddress.java:
3866         Moves around some code, reformats and adds documentation.
3867         No functional changes.
3869 2003-09-22  Michael Koch  <konqueror@gmx.de>
3871         * java/net/JarURLConnection.java
3872         (JarURLConnection): Modifed code to match classpath more, fixed comment.
3873         (getCertificates): Made it more error prone.
3874         (getMainAttributes): Likewise.
3875         (getAttributes): Implemented.
3876         (getManifest): Reformatted code.
3878 2003-09-20  Tom Tromey  <tromey@redhat.com>
3880         * java/awt/Component.java: Indentation cleanup from Classpath.
3882 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
3884        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
3885        checking to follow 1.4.2 spec.
3887 2003-08-11  Ingo Proetel  <proetel@aicas.com>
3889         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
3890         is compatible in case client and server are running in the same VM
3891         (remerged from Classpath on 2003-09-20)
3893 2003-09-19  David Daney <ddaney@avtrex.com>
3895         * java/lang/ref/Reference.java (clear): Set referent to null and
3896         synchronize.
3898 2003-09-19  Michael Koch  <konqueror@gmx.de>
3900         * gnu/java/nio/NIODatagramSocket.java,
3901         gnu/java/nio/NIOSocket.java: New files.
3902         * Makefile.am (ordinary_java_source_files):
3903         Added gnu/java/nio/NIODatagramSocket.java and
3904         gnu/java/nio/NIOSocket.java.
3905         * Makefile.in: Regenerated.
3907 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3909         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
3910         top-level GTK window.
3911         (getArgs): Add "title" property.
3912         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
3913         "allow_shrink" and "allow_grow" properties.
3914         * java/awt/Dialog.java: Initialize resizable to true and change
3915         comments accordingly.  Initialize visible to false in
3916         constructors.
3917         * java/awt/Frame.java (dispose): Remove method.
3918         * java/awt/Window.java (ownedWindows): New field.
3919         (Window(Window,GraphicsConfiguration)): Add a weak reference to
3920         owner's ownedWindows vector.
3921         (finalize): Remove method.
3922         (hide): Hide owned windows.
3923         (dispose): Dispose of owned windows.
3924         (getOwnedWindows): Implement.
3925         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
3926         unused GtkArg code.
3927         (set(String,boolean)): Clamp gboolean parameter to g_object_set
3928         to TRUE or FALSE.
3929         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3930         (create): Set window's size requisition.
3931         (connectHooks): Fix indentation.
3932         (setResizable): Remove function.
3933         (static setBounds): Likewise.
3934         (setBounds): Replace call to setBounds with GTK size requisition
3935         and resize calls.
3937 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
3939         * win32-threads.cc: (ensure_interrupt_event_initialized) New
3940         function for lazy initialization of an auto-reset event.
3941         (_Jv_CondWait) Added thread interrupt support.
3942         (_Jv_ThreadInitData) Added initialization of interrupt support
3943         members.
3944         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
3945         (_Jv_ThreadStart) Removed unused code.
3946         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
3947         to an external caller.
3948         (_Jv_ThreadInterrupt) Implemented.
3949         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
3950         event for interrupt support as well as a mutex which regulates
3951         access to this.
3952         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
3953         event to an external caller.
3954         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
3955         process.
3956         (waitFor) Added interrupt support.
3958 2003-09-19  Michael Koch  <konqueror@gmx.de>
3960         * java/net/DatagramSocket.java (getLocalAddress):
3961         Renamed result variable to localAddr.
3962         * java/net/MulticastSocket.java:
3963         No need to import gnu.java.net.PlainDatagramSocketImpl.
3965 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
3967         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
3968         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
3970 2003-09-18  Tom Tromey  <tromey@redhat.com>
3972         * javax/naming/InitialContext.java: Reindented.
3974 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
3975             Helmer Kraemer <hkraemer@freenet.de>
3977         * javax/naming/spi/NamingManager.java (getURLContext,
3978         getObjectInstance, getStateToBind): Always use current thread's
3979         context class loader when calling Class.forName.
3981 2003-09-18  Michael Koch  <konqueror@gmx.de>
3983         * java/util/Timer.java (finalize): Added "throws Throwable".
3985 2003-09-18  Michael Koch  <konqueror@gmx.de>
3987         * java/net/DatagramSocket.java
3988         (ch): Removed.
3989         (receive): Use getChannel() instead of ch.
3990         (send): Likewise.
3991         (getChannel): Return null.
3992         * java/net/ServerSocket.java
3993         (ch): Removed.
3994         (setChannel): Removed.
3995         (implAccept): Use getChannel() instead of ch.
3996         (close): Likewise.
3997         (getChannel): Return null.
3998         * java/net/Socket.java
3999         (ch): Removed.
4000         (connect): Use getChannel() instead of ch.
4001         (setChannel): Removed.
4002         (getChannel): Return null.
4004 2003-09-18  Mark Wielaard  <mark@klomp.org>
4006         Reported by Guilhem Lavaux and Julian Dolby
4007         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
4008         field "serialPersistentFields", not "getSerialPersistentFields".
4010 2003-09-18  Ingo Proetel  <proetel@aicas.com>
4012         * java/util/TimeZone.java: Initialize lazily.
4013         * java/util/Locale.java (readManifest): Fix check for country.
4014         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
4015         traceable 
4016         * java/util/Calendar.java: Make use of ResourceBundle better
4017         traceable.
4019 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
4021         * java/sql/Timestamp.java
4022         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
4024 2003-09-18  David P Grove  <groved@us.ibm.com>
4026         * java/io/LineNumberReader (read): Don't reset pos & limit when
4027         markPos is 0.
4029 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
4031         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
4032         constant.
4033         (computeArguments): use computeTypicalArguments.
4035         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
4036         Compile_jikes.java and RMICException.java.
4037         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
4038         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
4039         * gnu/java/rmi/rmic/RMICException.java: Likewise.
4041         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
4043         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
4044         (computeTypicalArguments): New method.
4045         (compile): Print compiler output to System.out. Collect compiler
4046         error output and use it in exception message.
4048         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
4049         (destination): Initialize to null.
4050         (run): Replace file separator with '.' when processing class.
4051         (processClass): Replace '.' with file separator when compiling
4052         classes.
4053         (findClass): Use SystemClassLoader to load class.
4054         (generateStub): Use full class name for generated stub, that puts
4055         it in right path.  Replace '.' with file separator when generating
4056         stub file name. Write just the stub class name without package
4057         information as class name, and constructor name. Write only
4058         interface names for interfaces extending java.rmi.Remote as
4059         implemented.
4060         (generateSkel): Use full class name for generated skel, that puts
4061         it in right path.  Replace '.' with file separator when generating
4062         stub file name. Write just the stub class name without package
4063         information as class name.
4065 2003-09-18  Michael Koch  <konqueror@gmx.de>
4067         * Makefile.am (rmi_java_source_files):
4068         Added gnu/java/rmi/rmic/Compile_kjc.java,
4069         gnu/java/rmi/rmic/Compile_jikes.java and
4070         gnu/java/rmi/rmic/RMICException.java
4071         * Makefile.in: Regenerated.
4073 2003-09-17  Graydon Hoare  <graydon@redhat.com>
4075         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4076         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4077         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
4078         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
4079         New files.
4081 2003-09-16  Graydon Hoare  <graydon@redhat.com>
4083         * java/awt/BufferedImage.java (setData): Support non-component
4084         sample models.
4085         (getData): Same.
4087 2003-09-10  Graydon Hoare  <graydon@redhat.com>
4089         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
4090         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
4092 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
4094         * configure.in: Standardized help text case of
4095         --enable-hash-synchronization
4096         New configure switch --enable-libgcj-multifile and corresponding
4097         automake conditional ONESTEP.
4098         * configure: Rebuilt.
4099         * Makefile.am: Use automake conditional ONESTEP to determine
4100         whether classfiles should be compiled individually or all
4101         at once.
4102         * Makefile.in: Rebuilt.
4104 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
4106         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
4107         Remove method declaration.
4108         (create()): Call native create.
4109         (create(int)): New method.
4110         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4111         (create): Add window_id parameter.  Call gtk_plug_new with
4112         window_id parameter.
4113         (construct): Remove method implementation.
4115 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
4117         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
4118         (mostlyclean-local): New target patterned after clean-local
4119         which recursively deletes all libtool objects using 'libtool rm'.
4120         (clean-local): Slightly modified comment to alleviate monotony.
4121         (distclean-local): New target patterned after clean-local
4122         which recursively deletes all .d files.
4123         * Makefile.in: Rebuilt.
4125 2003-09-11  Tom Tromey  <tromey@redhat.com>
4127         * java/net/URLStreamHandler.java (parseURL): If original file
4128         ends with "/", so must canonical result.
4129         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
4130         with nul-termination and finding previous "/".
4132 2003-09-11  Michael Koch  <konqueror@gmx.de>
4134         * acconfig.h: Removed most items.
4135         * configure.in: Added descriptions to AC_DEFINE macros that where in
4136         acconfig.h before.
4137         * include/config.h.in: Regenerated.
4139 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
4141         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
4142         if one is installed. Improve Javadoc.
4143         (getSystemEventQueueImpl): Improve Javadoc.
4145 2003-09-11  Tom Tromey  <tromey@redhat.com>
4147         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
4148         file does not exist.
4150 2003-09-10  Anthony Green  <green@redhat.com>
4152         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
4153         Specify full name when referencing ::java::net::InetAddress.
4154         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
4155         Fix argument type.
4157 2003-09-10  Michael Koch  <konqueror@gmx.de>
4159         * acconfig.h (__NO_MATH_INLINES): Removed.
4160         * configure.in: Removed check for g++ math inlining bug from 2000.
4161         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
4162         libgcj_cxxflags.
4163         * configure: Regenerated.
4165 2003-09-10  David Daney <ddaney@avtrex.com>
4167         * java/util/Arrays.java (equals(all variants)): Quit using
4168         NullPointerException catching to detect null valued parameters.
4170 2003-09-10  Michael Koch  <konqueror@gmx.de>
4172         * java/net/DatagramSocket.java,
4173         java/net/MulticastSocket.java,
4174         java/net/ServerSocket.java,
4175         java/net/Socket.java:
4176         Use gnu.java.net.Plain*SocketImpl instead of
4177         java.net.PlainSocketImpl.
4178         * java/net/PlainDatagramSocketImpl.java,
4179         java/net/PlainSocketImpl.java,
4180         java/net/SocketInputStream.java,
4181         java/net/SocketOutputStream.java,
4182         java/net/natPlainDatagramSocketImplNoNet.cc,
4183         java/net/natPlainDatagramSocketImplPosix.cc,
4184         java/net/natPlainDatagramSocketImplWin32.cc,
4185         java/net/natPlainSocketImplNoNet.cc,
4186         java/net/natPlainSocketImplPosix.cc,
4187         java/net/natPlainSocketImplWin32.cc:
4188         Removed.
4189         * gnu/java/net/PlainDatagramSocketImpl.java,
4190         gnu/java/net/PlainSocketImpl.java,
4191         gnu/java/net/SocketInputStream.java,
4192         gnu/java/net/SocketOutputStream.java,
4193         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
4194         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
4195         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
4196         gnu/java/net/natPlainSocketImplNoNet.cc,
4197         gnu/java/net/natPlainSocketImplPosix.cc,
4198         gnu/java/net/natPlainSocketImplWin32.cc:
4199         New files (moved from java/net).
4200         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
4201         instead of java/net/natPlain*SocketImpl.cc.
4202         * configure: Regenerated.
4203         * Makefile.am: Moved files from java/net to gnu/java/net.
4204         * Makefile.in: Regenerated.
4206 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
4208         * configure: Regenerate.
4210 2003-09-04  Tom Tromey  <tromey@redhat.com>
4212         * configure.host: Removed erroneous comment.
4214         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
4215         lvalue cast; use correct rvalue cast.
4217 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
4219         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
4220         and height arguments to GtkWindowPeer.create method call.
4221         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4222         (create(int,int,int)): New method.
4223         (create(int)): Add call to new create method.
4224         (create()): Add width and height arguments to create method
4225         call.
4226         (GtkWindowPeer): Remove call to setBounds.
4227         * java/awt/Frame.java (Frame(String)): Initialize visible field
4228         to false.
4229         (Frame(GraphicsConfiguration)): Likewise.
4230         (Frame(String,GraphicsConfiguration)): Likewise.
4231         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4232         Add width and height parameters.  Call
4233         gtk_window_set_default_size.
4234         (connectHooks): Remove unused name variable.
4235         (static setBounds): Call gtk_window_resize not
4236         gtk_widget_set_usize.
4237         (setBounds): Remove unused nchildren variable.
4239 2003-08-31  Ingo Proetel  <proetel@aicas.com>
4241         * java/util/logging/Logger.java: provide class and method information
4242         * java/util/logging/LogManager.java: create handlers
4243         * java/util/logging/SimpleFormatter.java: print souceClassName and
4244         sourceMethodName
4246 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4248         * win32.cc: fixed tab, indentation and whitespace
4249         inconsistencies
4250         removed jvm.h include
4251         added includes java/lang/UnsupportedOperationException.h,
4252         java/io/IOException.h, java/net/SocketException.h
4253         (WSAEventWrapper): class implementation
4254         (_Jv_WinStrError): implemented both overloads
4255         (_Jv_ThrowIOException): implemented both overloads
4256         (_Jv_ThrowSocketException): implemented both overloads
4257         (_Jv_select): implemented
4258         * include/win32.h: fixed tab, indentation and whitespace
4259         inconsistencies
4260         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
4261         added jvm.h include
4262         (WSAEventWrapper): added class declaration
4263         (_Jv_WinStrError): added both overload declarations
4264         (_Jv_ThrowIOException): added both overload declarations
4265         (_Jv_ThrowSocketException): added both overload declarations
4266         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
4267         (_Jv_select): added declaration
4268         (_Jv_socket): removed
4269         (_Jv_connect): removed
4270         (_Jv_close): removed
4271         (_Jv_bind): removed
4272         (_Jv_accept): removed
4273         (_Jv_listen): removed
4274         (_Jv_write): removed
4275         (_Jv_read): removed
4276         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
4277         whitespace inconsistencies
4278         replaced <windows.h> #include with <platform.h>
4279         removed jvm.h include
4280         (testCanUseGetHandleInfo): new function which tests whether Win32
4281         GetHandleInformation() call can be used with console buffer handles
4282         (only supported on >=WinNT 5.0)
4283         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
4284         (valid): rewrote implementation using GetHandleInformation()
4285         (sync):         changed exception throwing to use error string and exception
4286         helper methods declared in include/win32.h
4287         (open): likewise
4288         (write): likewise
4289         (setLength): likewise
4290         (close): likewise
4291         (seek): likewise
4292         (getFilePointer): likewise
4293         (read): likewise
4294         * java/io/natFileWin32.cc: fixed tab, indentation and
4295         whitespace inconsistencies
4296         replaced <windows.h> #include with <platform.h>
4297         removed jvm.h include
4298         (_access): use JV_TEMP_UTF_STRING
4299         (_stat): likewise
4300         (performMkDir): use JV_TEMP_UTF_STRING
4301         (performRenameTo): likewise
4302         (performDelete): likewise
4303         (performCreate): likewise
4304         (performSetReadOnly): likewise
4305         (performSetLastModified): likewise
4306         * java/lang/natWin32Process.cc: fixed tab, indentation and
4307         whitespace inconsistencies
4308         replaced <windows.h> #include with <platform.h>
4309         removed includes gcj/cni.h, jvm.h
4310         (new_string): removed
4311         (startProcess): use JV_TEMP_UTF_STRING,
4312         changed exception throwing to use error string and exception
4313         helper methods declared in include/win32.h
4314         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
4315         whitespace inconsistencies
4316         replaced <windows.h> #include with <platform.h>
4317         removed jvm.h include
4318         removed DISABLE_JAVA_NET conditional code
4319         removed POSIX conditional code not relevant to Win32
4320         (aton): use JV_TEMP_UTF_STRING
4321         removed POSIX conditional code not relevant to Win32
4322         (lookup): likewise
4323         (getLocalHostName): likewise
4324         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
4325         whitespace inconsistencies
4326         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
4327         removed DISABLE_JAVA_NET conditional code
4328         removed POSIX conditional code not relevant to Win32
4329         (winsock2GetRealNetworkInterfaces): new function to compute network
4330         interfaces via Winsock2 API
4331         (determineGetRealNetworkInterfacesFN): new function for returning
4332         a function pointer to the function used to compute network interfaces.
4333         (getRealNetworkInterfaces): implemented
4334         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
4335         whitespace inconsistencies
4336         removed gcj/cni.h include
4337         removed DISABLE_JAVA_NET conditional code
4338         removed POSIX conditional code not relevant to Win32
4339         changed net POSIXisms to Win32isms
4340         replaced _Jv socket-related calls with their real Win32 equivalents
4341         changed exception throwing to use error string and exception
4342         helper methods declared in include/win32.h
4343         (peekData): implemented timeout support
4344         (receive): likewise
4345         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
4346         whitespace inconsistencies
4347         removed gcj/cni.h and gcj/javaprims.h includes
4348         removed DISABLE_JAVA_NET conditional code
4349         removed POSIX conditional code not relevant to Win32
4350         changed net POSIXisms to Win32isms
4351         replaced _Jv socket-related calls with their real Win32
4352         equivalents
4353         changed exception throwing to use error string and exception
4354         helper methods declared in include/win32.h
4355         (throwConnectException): helper function for connect()
4356         (connect): implemented timeout support
4357         (accept): likewise
4358         (doRead): new helper function common to both read() method overloads,
4359         includes timeout support
4360         (read): implemented both overloads in terms of doRead()
4361         (available): implemented using ioctlsocket()
4363 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4365         * java/net/natInetAddressWin32.cc,
4366         java/net/natNetworkInterfaceWin32.cc,
4367         java/net/natPlainDatagramSocketImplWin32.cc,
4368         java/net/natPlainSocketImplWin32.cc:
4369         Readded code enclosed in DISABLE_JAVA_NET defines
4370         in preparation for MinGW cleanup / networking
4371         patch
4373 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4375         * Makefile.am: Fixed problems with parallel makes.
4376         (all_java_class_files): Readded definition.
4377         (all_java_class_files): New target which depends on
4378         libgcj-@gcc_version@.jar
4379         * Makefile.in: Rebuilt
4381 2003-08-28  Tom Tromey  <tromey@redhat.com>
4383         * Makefile.in: Rebuilt.
4384         * Makefile.am (ordinary_java_source_files): Added new files.
4385         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
4386         friend.
4387         * java/net/URLClassLoader.java (findClass): Don't use
4388         findURLResource.  Use loader's getClass method.
4389         (URLLoader.getClass): New method.
4390         (addURL): Handle `gcjlib' URLs.
4391         (SoURLLoader): New class.
4392         (SoResource): Likewise.
4393         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
4394         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
4395         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
4396         (_Jv_RegisterCoreHook): Declare.
4397         (_Jv_FindCore): Declare.
4398         * gnu/gcj/runtime/SharedLibHelper.java: New file.
4399         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
4400         typedef.
4401         (core_hook): New function.
4402         (struct SharedLibDummy) [saved_core]: New field.
4403         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
4404         (register_hook): Set protection domain and class loader on new
4405         class.
4406         (finalize): Free core chain.
4407         * gnu/gcj/Core.java (Core): New constructor.
4408         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
4409         SharedLibHelper.
4410         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
4411         (_Jv_create_core): New function.
4412         (create): Use it.
4413         (default_register_resource): New function.
4414         (_Jv_RegisterCoreHook): New global.
4415         (_Jv_RegisterResource): Use it.
4416         (core_chain_struct): Removed.
4417         (_Jv_FindCore): New function.
4418         (_Jv_FreeCoreChain): New function.
4420 2003-08-29  Michael Koch  <konqueror@gmx.de>
4422         * java/net/natInetAddressWin32.cc,
4423         java/net/natNetworkInterfaceWin32.cc,
4424         java/net/natPlainDatagramSocketImplWin32.cc,
4425         java/net/natPlainSocketImplWin32.cc:
4426         Removed code enclosed in DISABLE_JAVA_NET defines.
4428 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
4430         * Makefile.am: (write_entries_to_file) New parameterized
4431         function for writing entries to a file one line at a time.
4432         (all_java_class_files): Removed definition.
4433         (.java.class) Removed.target.
4434         (libgcj-@gcc_version@.jar): Changed dependency to
4435         $(all_java_source_files); added compilation step which compiles
4436         all changed source files in one pass.
4437         (libgcj.la) Refactored to use write_entries_to_file.
4438         (lib-gnu-awt-xlib.la) Likewise.
4439         (install-data-local) Likewise.
4440         (write-entries-to-file-check) New target which tests write_entries_to_file.
4441         (all-recursive): Changed dependency from $(all_java_class_files)
4442         to libgcj-@gcc_version@.jar
4443         * Makefile.in: Rebuilt.
4445 2003-08-26  Tom Tromey  <tromey@redhat.com>
4447         * java/lang/StrictMath.java: Typo fix.
4448         * java/lang/Math.java: Typo fix.
4450 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
4452         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
4453         of the removed Thread.
4455 2003-08-26  Mark Wielaard  <mark@klomp.org>
4457         Reported by David Holmes <dholmes@dltech.com.au>.
4458         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
4459         Collections.synchronizedMap.
4460         * java/lang/ThreadLocal.java (valueMap): Likewise.
4462 2003-08-26  Mark Wielaard  <mark@klomp.org>
4464         * java/security/acl/Acl.java: Fix broken p tag.
4465         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
4466         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
4467         * javax/swing/plaf/TreeUI.java: Likewise.
4468         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
4469         * java/util/Properties.java: Use the word umlaut, not &auml; in api
4470         documentation.
4471         * java/util/PropertyResourceBundle.java: Likewise and add closing code
4472         tag.
4474 2003-08-26  Tom Tromey  <tromey@redhat.com>
4476         * Makefile.in: Rebuilt.
4477         * Makefile.am: Removed all GNU-make-specific FIXME comments.
4479         * java/lang/ref/Reference.java (get): Indentation fix.
4480         (clear): Comment fix.
4481         (enqueue): Likewise.
4482         (lock): Likewise.
4483         (referent): Likewise.
4485 2003-08-26  Tom Tromey  <tromey@redhat.com>
4487         PR java/12058:
4488         * java/lang/reflect/natArray.cc (set): Allow null as argument.
4490         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
4491         (ProxyData.getPackage): New method.
4492         (ProxyData.getProxyData): Use package name, not Package.
4493         (ClassFactory.ClassFactory): Updated.
4495 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
4496         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
4497         * Makefile.in: re-generated.
4498         * gnu/awt/j2d/IntegerGraphicsState.java
4499         (ScreenCoupledImage): new interface.
4500         (drawImage): detect ScreenCoupledImage instances.
4501         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
4502         * gnu/awt/xlib/XEventLoop.java
4503         (createEvent): re-formatted, and rearranged to avoid null pointer.
4504         * gnu/awt/xlib/XGraphics.java
4505         (drawImage): added XOffScreenImage handling.
4506         * gnu/awt/xlib/XOffScreenImage.java: new file.
4507         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
4508         * gnu/gcj/xlib/GC.java (copyArea): new native method.
4509         * gnu/gcj/xlib/XAnyEvent.java
4510         (TYPE_KEY_PRESS): new constant.
4511         (TYPE_KEY_RELEASE): new constant.
4512         (TYPE_MOTION_NOTIFY): new constant.
4513         (TYPE_ENTER_NOTIFY): new constant.
4514         (TYPE_LEAVE_NOTIFY): new constant.
4515         (TYPE_FOCUS_IN): new constant.
4516         (TYPE_FOCUS_OUT): new constant.
4517         (TYPE_KEYMAP_NOTIFY): new constant.
4518         (TYPE_GRAPHICS_EXPOSE): new constant.
4519         (TYPE_NO_EXPOSE): new constant.
4520         (TYPE_VISIBILITY_NOTIFY): new constant.
4521         (TYPE_CREATE_NOTIFY): new constant.
4522         (TYPE_DESTROY_NOTIFY): new constant.
4523         (TYPE_MAP_REQUEST): new constant.
4524         (TYPE_CONFIGURE_REQUEST): new constant.
4525         (TYPE_GRAVITY_NOTIFY): new constant.
4526         (TYPE_RESIZE_REQUEST): new constant.
4527         (TYPE_CIRCULATE_NOTIFY): new constant.
4528         (TYPE_CIRCULATE_REQUEST): new constant.
4529         (TYPE_PROPERTY_NOTIFY): new constant.
4530         (TYPE_SELECTION_CLEAR): new constant.
4531         (TYPE_SELECTION_REQUEST): new constant.
4532         (TYPE_SELECTION_NOTIFY): new constant.
4533         (TYPE_COLORMAP_NOTIFY): new constant.
4534         (TYPE_MAPPING_NOTIFY): new constant.
4535         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
4536         * gnu/gcj/xlib/natGC.cc (copyArea): new method
4537         * java/awt/Component.java (createImage): changed to use peer method.
4539 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4541         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
4542         name, not XLFD, to native drawString.
4543         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4544         Replace XLFD-based implementation with Pango-based
4545         implementation.
4547 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4549         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
4550         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
4552 2003-08-21  David Daney  <ddaney@avtrex.com>
4554         Fix for PR libgcj/12013:
4555         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4556         Check `cleared' field.
4557         * java/lang/ref/Reference.java (copy): Updated comments.
4558         (cleared): New field.
4559         (clear): Rewrote.
4561 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
4562             Thomas Fitzsimmons  <fitzsim@redhat.com>
4564         * Makefile.am (gtk_awt_peer_sources): Add
4565         gnu/java/awt/peer/GLightweightPeer.java.  Remove
4566         gnu/java/awt/GLightweightPeer.java.
4567         * gnu/java/awt/GLightweightPeer.java: Remove file.
4568         * gnu/java/awt/peer/GLightweightPeer.java: New file.
4569         * java/awt/Component.java (getToolkit): Add comment about
4570         lightweight components.
4571         * java/awt/Toolkit.java (createComponent): Return
4572         gnu.java.awt.peer.GLightweightPeer.
4574 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
4576         * configure.in: Fix detection of gcj when building with newlib.
4577         * configure: Regenerated.
4579 2003-08-20  Graydon Hoare  <graydon@redhat.com>
4581         * jni.cc: Replace "cheating" pointer-casting code with
4582         extract_from_jvalue<> template.
4584 2003-08-20  Andrew Haley  <aph@redhat.com>
4586         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
4587         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
4588         (classAt): Break out class lookup function into getClass().
4589         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
4590         handlers when using -fno-assume-compiled.
4592 2003-08-20  Tom Tromey  <tromey@redhat.com>
4594         Fix for PR libgcj/9125:
4595         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
4596         object outside of loop.  Respect lib_control setting.
4597         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
4598         field.
4599         (lib_control): New field.
4600         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
4601         (VMClassLoader): Initialize new field.
4603         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4604         Set `list->reference' to DELETED_REFERENCE when removing dead
4605         object.
4606         (find_slot): Added an assert.
4607         (DELETED_REFERENCE): New define.
4608         (add_to_hash): Check for DELETED_REFERENCE.
4609         (remove_from_hash): Just return if found slot isn't ours.
4611 2003-08-19  Andrew Haley  <aph@redhat.com>
4613         * prims.cc (unblock_signal): New function.
4614         (catch_segv): Use it.
4615         (catch_fpe): Likewise.
4617 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
4619         PR libgcj/11575
4620         * java/io/natFileDescriptorWin32.cc (open): Set create
4621         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
4622         Honor EXCL when openning with WRITE flag. 
4624 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
4626         * include/jvm.h: New class _Jv_TempUTFString (helper class for
4627         getting a temporary C string from a jstring)
4628         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
4629         but uses a stack buffer if the string length is less than 256
4630         bytes.
4632 2003-08-18  Tom Tromey  <tromey@redhat.com>
4634         PR libgcj/11951:
4635         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
4636         void.  Throw VirtualMachineError if ffi fails.  Initialize return
4637         value.  Added is_jni_call argument; only wrap exception if not a
4638         JNI call.  Use descriptive message if operation not supported.
4639         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
4640         array class.
4641         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
4642         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
4643         _Jv_CallAnyMethodA.
4644         (_Jv_JNI_CallAnyMethodA): Likewise.
4645         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
4646         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
4648 2003-08-13  Tom Tromey  <tromey@redhat.com>
4650         * gij.cc (help): Document -? and -X.
4652 2003-08-12  Graydon Hoare  <graydon@redhat.com>
4654         * java/awt/Font.java: 
4655         Stub out more recent API. 
4657 2003-08-12  Graydon Hoare  <graydon@redhat.com>
4659         * java/awt/Color.java (getAlpha): 
4660         Prevent sign-extended alpha values.
4662 2003-08-12  Tom Tromey  <tromey@redhat.com>
4664         * gij.cc (main): Handle -? and -X.
4666 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
4668         * java/awt/Container.java
4669         (getPreferredSize): Call preferredSize.
4670         (preferredSize): Moved body of getPreferredSize here.
4671         (getMinimumSize): Call minimumSize.
4672         (minimumSize): Moved body of getMinimumSize here.
4674 2003-08-11  Tom Tromey  <tromey@redhat.com>
4676         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
4677         (postEvent): Removed FIXME comment.
4678         (isDispatchThread): Documented.
4679         (getCurrentEvent): New method.
4680         (dispatchEvent): Set currentEvent and lastWhen.
4681         (getMostRecentEventTime): Rewrote.
4682         (invokeLater): Documented.
4684 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
4686         * java/io/PrintStream.java (print): Always flush if auto_flush is
4687         set. Don't check for newline characters.
4688         (write (int)): Implement without using a temporary array.
4689         (write (byte[], int, int): Always flush if auto_flush is set. Don't
4690         check for newline characters.
4691         Fixes PR libgcj/11778.
4693 2003-08-08  Andrew Haley  <aph@redhat.com>
4695         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
4696         * Makefile.in: Rebuild.
4697         * java/lang/natRuntime.cc (insertSystemProperties): Add
4698         "sun.boot.class.path".
4700 2003-08-07  Andrew Haley  <aph@redhat.com>
4702         * java/io/PrintStream.java: Don't crash on a null string.
4703         
4704 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4706         * configure.in: Don't initialize GCINCS to boehm-gc/include.
4707         * configure: Regenerate.
4709 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4711         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
4712         SocketImpl. Update Javadoc.
4713         (bind): Call close() not impl.close() in event of exception.
4714         (connect): Likewise.
4715         Remove superfluous null checks throughout.
4716         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
4717         Don't create an extra socket. Fix for PR libgcj/10868.
4718         (bind): Clean up exception handling.
4719         Remove superfluous null checks throughout.
4721 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
4722             Bryce McKinlay  <bryce@mckinlay.net.nz>
4724         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
4725         ready-to-write argument to _Jv_Select. Reset the socket back to 
4726         non-blocking state after connecting.
4727         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
4728         Throw SocketTimeoutException not InterruptedIOException.
4729         (read): Throw SocketTimeoutException not InterruptedIOException.
4731 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4733         * java/lang/Thread.java (Thread): Check for null "name" from
4734         start of private constructor, not after calling the private
4735         constructor.
4737 2003-08-06  Tom Tromey  <tromey@redhat.com>
4739         * java/io/FilePermission.java (equals): Use correct index for
4740         last character of path.
4742 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
4744         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
4745         * configure.in: Compare with_cross_host to build_alias, not build.
4746         * aclocal.m4: Regenerate.
4747         * configure: Regenerate.
4749 2003-08-05  Tom Tromey  <tromey@redhat.com>
4751         Fix for PR libgcj/11779:
4752         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
4753         class.
4755         * java/lang/reflect/Method.java: Updated status comment.
4756         Imported javadoc from Classpath and re-ordered methods.
4757         * java/lang/reflect/Constructor.java: Reindented.  Updated
4758         status comment.  Imported javadoc from Classpath and re-ordered
4759         methods.
4761 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
4763         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
4764         Add keyLocation parameter.
4765         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
4766         string.
4767         (paramString): Generate keyChar string according to keyChar, not
4768         keyCode.
4769         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4770         (state_to_awt_mods): Handle ALT key.
4771         (keyevent_state_to_awt_mods): New function.
4772         (get_first_keyval_from_keymap): New function.
4773         (keysym_to_awt_keycode): Get virtual key code from keymap.
4774         Handle missing VK_ values.
4775         (keysym_to_awt_keylocation): New function.
4776         (keyevent_to_awt_keychar): New function.
4777         (generates_key_typed_event): Handle non-text-component case.
4778         Handle GDK_KP_Delete and GDK_KP_Enter.
4779         (awt_event_handler): Call new functions to get postKeyEvent
4780         parameters.
4781         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
4782         Update postKeyEvent method signature.
4783         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
4784         VK_ defines.
4786 2003-08-05  Matthias Klose  <doko@debian.org>
4788         * aclocal.m4: check for libart-config binary
4789           under the name libart2-config as well.
4790         * configure: regenerated.
4792 2003-08-04  David P Grove  <groved@us.ibm.com>
4794         * java/text/DecimalFormat.java (format): avoid ArithmeticException
4795         when groupingSize is 0.
4796         (parse): Likewise.
4798 2003-08-04  Matthias Klose  <doko@debian.org>
4800         * libart.m4: check for libart-config binary
4801           under the name libart2-config as well.
4802         * configure, aclocal.m4: regenerated.
4804 2003-08-02  Michael Koch  <konqueror@gmx.de>
4806         * java/nio/ByteBufferImpl.java
4807         (getChar): Check remaining bytes, fixed comment about endianess.
4808         (putChar): Likewise.
4809         (getShort): Likewise.
4810         (putShort): Likewise.
4811         (getInt): Check remaining bytes, fixed conversion, fixed comment about
4812         endianess.
4813         (putInt): Likewise.
4814         (getLong): Likewise.
4815         (putLong): Likewise.
4816         (getFloat): Likewise.
4817         (putFloat): Likewise.
4818         (getDouble): Likewise.
4819         (putDouble): Likewise.
4820         * java/nio/DirectByteBufferImpl.java
4821         (getChar): Wrapped code, fixed comment about endianess.
4822         (putchar): Likewise.
4823         (getShort): Likewise.
4824         (putShort): Likewise.
4825         (getInt): Fixed conversion, fixed comment about endianess.
4826         (putInt): Likewise.
4827         (getLong): Likewise.
4828         (putLong): Likewise.
4829         (getFloat): Likewise.
4830         (putFloat): Likewise.
4831         (getDouble): Likewise.
4832         (putDouble): Likewise.
4833         * java/nio/MappedByteBufferImpl.java
4834         (compact): Implemented.
4835         (getChar): Implemented.
4836         (putChar): Implemented.
4837         (getDouble): Implemented.
4838         (putdouble): Implemented.
4839         (getFloat): Implemented.
4840         (putFloat): Implemented.
4841         (getInt): Implemented.
4842         (putInt): Implemented.
4843         (getLong): Implemented.
4844         (putLong): Implemented.
4845         (getShort): Implemented.
4846         (putShort): Implemented.
4847         * java/nio/channels/FileChannelImpl.java
4848         (read): Set position where to access file.
4849         (write): Likewise.
4850         (transferTo): Flip buffer after read and before write.
4851         (transferFrom): Likewise.
4853 2003-08-02  Michael Koch  <konqueror@gmx.de>
4855         * gnu/java/lang/ArrayHelper.java
4856         (equalsArray): Reformated, added method documentation.
4858 2003-08-02  Michael Koch  <konqueror@gmx.de>
4860         * java/net/URL.java
4861         (URL): Added paragraph about the
4862         gnu.java.net.nocache_protocol_handlers property.
4863         (ph_cache): Renamed from handlers to match classpath's implementation.
4864         Reordered it with factory and serialVersionUID member variables.
4865         (cache_handlers): New member variable.
4866         (static): New static initializer to initialize cache_handlers from
4867         gnu.java.net.nocache_protocol_handlers property.
4868         (URL): Use ph_cache instead of handlers, reformatted some code to
4869         match classpath's implementation.
4871 2003-08-01  Tom Tromey  <tromey@redhat.com>
4873         Fix for PR libgcj/11241:
4874         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
4875         initialCapacity is 0, set it to 1.
4877 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
4879         * java/net/SocketImpl.java (toString): Display the remote address
4880         of an unconnected server socket as "0.0.0.0/0.0.0.0".
4882 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
4884         * javax/swing/border/BevelBorder.java,
4885         javax/swing/border/EtchedBorder.java,
4886         javax/swing/border/LineBorder.java,
4887         javax/swing/border/MatteBorder.java,
4888         javax/swing/border/SoftBevelBorder.java,
4889         javax/swing/plaf/BorderUIResource.java,
4890         javax/swing/plaf/ComponentUI.java,
4891         javax/swing/plaf/TreeUI.java,
4892         javax/swing/plaf/basic/BasicBorders.java,
4893         javax/swing/plaf/basic/BasicGraphicsUtils.java,
4894         javax/swing/plaf/basic/BasicTreeUI.java:
4895         Prepend "doc-files" to all paths to embedded Javadoc images, so
4896         that the generated documentation contains the correct URL.
4898 2003-08-01  Tom Tromey  <tromey@redhat.com>
4900         * configure: Rebuilt.
4901         * configure.in (tool_include_dir): Redefine to match gcc.
4903 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
4904             Mark Wielaard  <mark@klomp.org>
4905             
4906         * java/math/BigDecimal (divide): Correctly handle
4907         ROUND_HALF_EVEN when amount is greater than 0.5.
4908         Simplify and optimize code.
4910 2003-07-31  Tom Tromey  <tromey@redhat.com>
4912         More for PR libgcj/11737:
4913         * java/io/ObjectInputStream.java (processResolution): Use
4914         getMethod.
4915         (getMethod): Make method accessible.
4916         (getField): Make field accessible.
4917         (setBooleanField): Don't call setAccessible here.
4918         (setByteField, setCharField, setDoubleField, setFloatField,
4919         setIntField, setLongField, setShortField, setObjectField):
4920         Likewise.
4921         (callReadMethod): Don't check whether method is null.  Catch
4922         NoSuchMethodException.
4923         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
4924         cause on thrown exceptions.
4926 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
4928         Fix for PR libgcj/11728:
4929         * java/util/HashMap.java (readObject): Set size.
4931 2003-07-31  Tom Tromey  <tromey@redhat.com>
4933         Fix for PR libgcj/11737:
4934         * java/io/ObjectOutputStream.java (getMethod): Make method
4935         accessible.
4936         (getField): Likewise.
4937         (writeObject): Use getMethod.
4938         Import PrivilegedAction and AccessController.
4939         (callWriteMethod): Don't check whether m is null.  Catch
4940         NoSuchMethodException.
4942         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
4943         (containsAngle): Likewise.
4944         (getStartPoint): Rewrote.
4945         (getEndPoint): Likewise.
4946         (setAngleStart(Point2D)): Likewise.
4948 2003-07-31  Roger Sayle  <roger@eyesopen.com>
4949             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4951         * configure.in: Add new THREADCXXFLAGS variable.
4952         Handle POSIX threads on alpha*-dec-osf*.
4953         * configure: Regenerate.
4954         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
4955         * Makefile.in: Regenerate.
4957 2003-07-08  Andrew Haley  <aph@redhat.com>
4959         * include/i386-signal.h (RESTORE): New.
4960         (INIT_SEGV): Set restorer.
4961         (INIT_FPE): Likewise.
4963 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
4965         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
4966         than getXLFD.
4967         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
4968         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
4969         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
4970         (gtkSetFont): Scale size parameter by PANGO_SCALE.
4971         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
4972         Likewise.
4973         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
4974         Likewise.
4976 2003-07-29  Tom Tromey  <tromey@redhat.com>
4978         * defineclass.cc (handleField): Throw exception if field name is
4979         duplicated.
4980         (handleMethod): Throw exception for duplicate method.
4982 2003-07-29  Tom Tromey  <tromey@redhat.com>
4984         * gnu/gcj/convert/natIconv.cc (write): Handle case where
4985         output buffer is too small.
4987 2003-07-28  Tom Tromey  <tromey@redhat.com>
4989         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
4990         New method.
4991         Include gnu/gcj/runtime/StringBuffer.h.
4992         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
4993         native method.
4994         (String(gnu.gcj.runtime.StringBuffer)): Use it.
4996 2003-07-27  Anthony Green  <green@redhat.com>
4998         * configure.in: Fix newlib check.
4999         * configure: Rebuilt.
5001 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
5003         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5004         Create vbox and layout for GtkPlug.
5006 2003-07-27  Michael Koch  <konqueror@gmx.de>
5008         * java/awt/Window.java
5009         (Window): Removed now unused constructor. It became oboslete with the
5010         new embedded window patch.
5012 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
5013             Michael Koch  <konqueror@gmx.de>
5015         * gnu/java/awt/EmbeddedWindow.java
5016         (EmbeddedWindow): Extends Frame instead of Window.
5017         (window_id): New member variable to store the native window handle.
5018         (create): Removed.
5019         (EmbeddedWindow): New constructor.
5020         (addNotify): New method.
5021         (getHandler): Likewise.
5022         (setWindowPeer): New native method.
5023         * gnu/java/awt/EmbeddedWindowSupport.java
5024         (EmbeddedWindowSupport): Fixed documentation.
5025         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
5026         WindowPeer, give it an EmbeddedWindow instance instead of the raw
5027         window data.
5028         * gnu/java/awt/natEmbeddedWindow.cc
5029         (create): Removed.
5030         (setWindowPeer): New method.
5031         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
5032         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
5033         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5034         New files
5035         * gnu/java/awt/peer/gtk/GtkToolkit.java
5036         (GtkToolkit): Implements EmbeddedWindowSupport.
5037         (createEmbeddedWindow): New method.
5038         * java/awt/Window.java
5039         (Window): Removed.
5040         * Makefile.am
5041         (java_source_files): Added EmbeddedWindowPeer.java.
5042         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
5043         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
5044         * Makefile.in: Regenerated.
5046 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
5048         * java/lang/Win32Process.java (ConcreteProcess): Surround
5049         a command line element with quotes if it contains an
5050         embedded space or tab.
5051         * java/lang/natWin32Process.cc (startProcess): Do not
5052         surround command line elements with quotes here.
5054         * configure.host: Use -fcheck-references and 
5055         -fuse-divide-subroutine for MinGW until we fix
5056         win32_exception_handler( ) in win32.cc w.r.t. Win32 
5057         Structured Exception Handling (SEH).
5059         * win32.cc (_Jv_platform_initProperties): Use generic names
5060         like "x86" for the "os.arch" property to be consistent with
5061         what Sun's JDK produces. Use the wProcessorArchitecture
5062         member of the Win32 SYSTEM_INFO structure, filled in a call 
5063         to GetSystemInfo( ), instead of dwProcessorType.
5065 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
5066             Ranjit Mathew  <rmathew@hotmail.com>
5068         * Makefile.am: Use cross-compiling gcjh from the path for
5069         a crossed-native build.
5070         * Makefile.in: Rebuilt.
5071         * configure.in: Include libltdl in non-newlib builds.
5072         Moved determination of gcj used to build libraries to
5073         its own section. Fixed cross-compilation issues for
5074         non-newlib builds.
5075         * configure: Rebuilt.
5077 2003-07-25  Tom Tromey  <tromey@redhat.com>
5079         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
5080         (write): Likewise.
5081         (read): Likewise.
5082         (read): Likewise.
5084 2003-07-25  Mark Wielaard  <mark@klomp.org>
5086         * java/lang/natRuntime.cc (_load): Add library name to
5087         UnsatisfiedLinkError when thrown.
5089 2003-07-25  Mark Wielaard  <mark@klomp.org>
5091         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
5092         added.
5093         * Makefile.in: Likewise.
5095 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
5097         * java/awt/Component.java
5098         (getPreferredSize): Call preferredSize.
5099         (preferredSize): Moved body of getPreferredSize here.
5100         (getMinimumSize): Call minimumSize.
5101         (minimumSize): Moved body of getMinimumSize here.
5102         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
5103         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
5104         pass -1
5105         * java/awt/Container.java
5106         (validate): Don't validate if there is no peer.
5107         (update): Clear background before calling paint.
5108         * java/awt/GridBagLayout.java
5109         Completed the implementation and fixed several bugs.
5110         * java/awt/MediaTracker.java
5111         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
5112         combine flags.
5113         * java/awt/Window.java
5114         (Window): Don't call setVisible(false). Windows are invisible by
5115         default and calling virtual methods from constructor causes
5116         compatibility problems (e.g. subclasses may assume that the peer
5117         already exists).
5119 2003-07-25  Michael Koch  <konqueror@gmx.de>
5121         * java/awt/GridBagLayout.java:
5122         Totally reworked and partly implemented.
5123         * java/awt/GridBagLayoutInfo.java:
5124         New file.
5126 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
5128         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
5129         Don't pack label in an event box.
5131 2003-07-24  Tom Tromey  <tromey@redhat.com>
5133         For PR libgcj/7482:
5134         * verify.cc (ref_intersection): New class.
5135         (type_val): Removed unresolved_reference_type,
5136         uninitialized_unresolved_reference_type.
5137         (is_assignable_from_slow): Rewrote.
5138         (type::data): Removed.
5139         (type::klass): New field.
5140         (type::type): Added verifier argument.
5141         (type::resolve): Removed.
5142         (type::set_uninitialized): Updated for change to type_val.
5143         (type::set_initialized): Likewise.
5144         (type::isinitialized): Likewise.
5145         (type::print): Likewise.
5146         (construct_primitive_array_type): Likewise.
5147         (type::compatible): Updated for change to type_val and to use
5148         ref_intersection.
5149         (type::isarray): Updated to use ref_intersection.
5150         (type::isinterface): Likewise.
5151         (type::element_type): Likewise.
5152         (type::to_array): Likewise.
5153         (type::verify_dimensions): Rewrote.
5154         (type::merge): Likewise.
5155         (check_class_constant): Updated for type constructor change.
5156         (check_constant): Likewise.
5157         (check_field_constant): Likewise.
5158         (get_one_type): Likewise.
5159         (initialize_stack): Likewise.
5160         (verify_instructions_0): Likewise.
5161         (verify_instructions_0) [op_invokeinterface]: Removed special
5162         case.
5163         (isect_list): New field.
5164         (_Jv_BytecodeVerifier): Initialize it.
5165         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
5167 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
5169         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
5170         unless field size is 2.
5172 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
5174         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5175         (connectHooks): New method.
5176         (handleEvent): Remove.
5177         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5178         (createHooks): Remove declaration.
5179         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5180         (generates_key_typed_event): Change to handle only certain
5181         keyvals.
5182         (awt_event_handler): Add special handling for GtkTextView.
5183         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5184         (textcomponent_commit_cb): New function.
5185         (textcomponent_changed_cb): Likewise.
5186         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5187         (connectHooks): Remove.
5189 2003-07-23  Tom Tromey  <tromey@redhat.com>
5191         * java/lang/natSystem.cc (arraycopy): Check for overflow.
5193         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
5195 2003-07-22  Tom Tromey  <tromey@redhat.com>
5197         * boehm.cc (_Jv_BuildGCDescr): Wrote.
5198         Include limits.h.
5200 2003-07-22  Tom Tromey  <tromey@redhat.com>
5202         * java/awt/Window.java (getWarningString): Just return the
5203         string.
5204         (Window): Set warningString; check with security manager.
5206 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
5208         * gnu/awt/xlib/XGraphicsConfiguration.java
5209         (FontMetricsCache): Made static.
5211 2003-07-22  Tom Tromey  <tromey@redhat.com>
5213         * java/net/URLEncoder.java (encode(String)): Use platform default
5214         encoding.
5215         (encode(String,String)): Convert to 2-digit upper-case hex
5216         number.
5217         (hex): New field.
5219 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5221         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5222         (create): Remove unused method implementation.
5223         (connectHooks): Remove debug messages.
5225 2003-07-20  Anthony Green  <green@redhat.com>
5227         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
5228         CloneNotSupportedException.
5229         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
5230         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
5231         * gnu/gcj/xlib/GC.java (clone): Ditto.
5232         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
5233         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
5235         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
5236         handler.
5237         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
5239 2003-07-20  Steve Pribyl <steve@netfuel.com.>
5241         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
5242         String.  Put dlerror() message into exception.
5243         Include UnsatisfiedLinkError.
5244         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
5245         String.  Now native.
5247 2003-07-20  Tom Tromey  <tromey@redhat.com>
5249         * java/lang/Runtime.java: Comment fix.
5250         * java/lang/ClassLoader.java (isAncestorOf): New method.
5251         (getParent): Uncommented security check.  Use isAncestorOf.
5252         * include/jvm.h (_Jv_CheckAccess): Declare.
5253         * java/lang/reflect/natConstructor.cc (newInstance): Perform
5254         access check.
5255         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
5256         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
5257         class loader to _Jv_GetArrayClass.
5258         Include ArrayIndexOutOfBoundsException.h.
5259         * java/lang/reflect/Field.java: Update comment to reflect status.
5260         (equals): Fixed indentation.
5261         * java/lang/Class.h (Class): Declare memberAccessCheck, not
5262         checkMemberAccess.  Make _Jv_CheckAccess a friend.
5263         * java/lang/Class.java (memberAccessCheck): New method from
5264         Classpath.
5265         (checkMemberAccess): Removed.
5266         (getDeclaredMethod): Use memberAccessCheck.
5267         (getField): Likewise.
5268         (getMethod): Likewise.
5269         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
5270         (_Jv_SearchMethodInClass): Likewise.
5271         * prims.cc (_Jv_CheckAccess): New function.
5272         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
5273         (_Jv_JNI_GetAnyFieldID): Likewise.
5274         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
5275         (getClassLoader): Added security check.
5276         (getConstructor): Call memberAccessCheck.
5277         (getDeclaredClasses): Likewise.
5278         (getDeclaredField): Likewise.
5279         (getDeclaredFields): Likewise.
5280         (_getConstructors): Likewise.
5281         (getDeclaredConstructor): Likewise.
5282         (getDeclaredMethods): Likewise.
5283         (getFields): Likewise.
5284         (getMethods): Likewise.
5285         (newInstance): Likewise.
5286         (_Jv_MakeVTable): Put method name in exception.
5287         * java/lang/reflect/natMethod.cc (getType): Use
5288         getClassLoaderInternal.
5289         (_Jv_GetTypesFromSignature): Likewise.
5290         (invoke): Perform access check.
5291         (_Jv_CallAnyMethodA): Removed old FIXME comments.
5292         Include ArrayIndexOutOfBoundsException.h.
5293         * java/lang/reflect/natField.cc (getType): Use
5294         getClassLoaderInternal.
5295         (_Jv_CheckFieldAccessibility): Removed.
5296         (getAddr): Use _Jv_CheckAccess; find caller.
5297         Include ArrayIndexOutOfBoundsException.h.
5299 2003-07-20  Michael Koch  <konqueror@gmx.de>
5301         * java/net/URL.java
5302         (URL): Fixed documentation to name an argument correcty, Reformatted
5303         one method declaration.
5304         (getURLStreamHandler): Added documentation from classpath.
5306 2003-07-19  Tom Tromey  <tromey@redhat.com>
5308         * mauve-libgcj: Don't run CollationElementIterator tests.
5310 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
5312         * java/net/URLClassLoader.java (addURL): Moved implementation to
5313         private addURLImpl() to avoid calling addURL from the constructor.
5314         (addURLImpl): Contains the code that was previously in addURL.
5315         (addURLs): Call addURLImpl(), not addURL().
5317 2003-07-18  Graydon Hoare  <graydon@redhat.com>
5319         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
5320         Handle missing event cases, connect to "value-changed" signal.
5322 2003-07-18  Graydon Hoare  <graydon@redhat.com>
5324         * java/awt/geom/CubicCurve2D.java,
5325         java/awt/geom/Line2D.java,
5326         java/awt/geom/QuadCurve2D.java,
5327         java/awt/geom/Rectangle2D.java: 
5328         Fix path some calculations, make path iterators follow
5329         a consistent style.
5331 2003-07-18  Mark Wielaard  <mark@klomp.org>
5333         * java/util/logging/Handler.java (isLoggable): Check record level
5334         smaller or equal.
5336 2003-07-17  Michael Koch  <konqueror@gmx.de>
5338         * gnu/java/awt/peer/gtk/GtkToolkit.java:
5339         Reworked imports.
5341 2003-07-14  Michael Koch  <konqueror@gmx.de>
5343         * gnu/java/rmi/server/UnicastServerRef.java:
5344         New version from classpath.
5346 2003-07-14  Michael Koch  <konqueror@gmx.de>
5348         * java/awt/image/MemoryImageSource.java,
5349         java/beans/PropertyEditorManager.java,
5350         javax/naming/CompoundName.java,
5351         javax/naming/spi/NamingManager.java,
5352         javax/swing/AbstractButton.java,
5353         javax/swing/ButtonModel.java,
5354         javax/swing/SwingUtilities.java,
5355         javax/swing/UIManager.java,
5356         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5357         javax/swing/event/AncestorEvent.java,
5358         javax/swing/event/InternalFrameEvent.java,
5359         java/util/zip/ZipFile.java:
5360         New versions from classpath.
5362 2003-07-13  Michael Koch  <konqueror@gmx.de>
5364         * gnu/java/nio/FileChannelImpl.java,
5365         gnu/java/nio/natFileChannelImpl.cc: Removed.
5366         * java/io/FileInputStream.java,
5367         java/io/FileOutputStream.java,
5368         java/io/RandomAccessFile.java,
5369         java/nio/MappedByteBufferImpl.java:
5370         Import java.nio.channels.FileChannelImpl instead of
5371         gnu.java.nio.FileChannelImpl.
5372         * java/nio/channels/FileChannelImpl.java,
5373         java/nio/channels/natFileChannelImpl.cc:
5374         New files.
5375         * Makefile.am
5376         (ordinary_java_source_files):
5377         Removed gnu/java/nio/FileChannelImpl.java and added
5378         java/nio/channels/FileChannelImpl.java.
5379         (nat source_files):
5380         Removed gnu/java/nio/natFileChannelImpl.cc and added
5381         java/nio/channels/natFileChannelImpl.cc.
5382         * Makefile.in: Regenerated.
5384 2003-07-13  Michael Koch  <konqueror@gmx.de>
5386         * javax/swing/plaf/basic/BasicBorders.java,
5387         javax/swing/plaf/basic/BasicLabelUI.java,
5388         javax/swing/plaf/basic/BasicLookAndFeel.java,
5389         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5390         javax/swing/plaf/basic/BasicTextUI.java,
5391         javax/swing/plaf/metal/MetalLookAndFeel.java:
5392         New versions from classpath.
5394 2003-07-13  Michael Koch  <konqueror@gmx.de>
5396         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
5397         * gnu/java/awt/peer/gtk/GdkGraphics.java
5398         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
5399         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
5400         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
5401         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
5402         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
5403         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
5404         * gnu/java/awt/peer/gtk/GtkClipboard.java
5405         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
5406         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
5407         * gnu/java/awt/peer/gtk/GtkFramePeer.java
5408         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
5409         * gnu/java/awt/peer/gtk/GtkImage.java
5410         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5411         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
5412         * gnu/java/awt/peer/gtk/GtkListPeer.java
5413         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
5414         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
5415         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5416         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
5417         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
5418         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
5419         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
5420         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
5421         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
5422         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
5423         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5424         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5426 2003-07-13  Michael Koch  <konqueror@gmx.de>
5428         * gnu/java/locale/LocaleInformation_de.java
5429         * gnu/java/locale/LocaleInformation_en.java
5430         * gnu/java/locale/LocaleInformation_nl.java
5432 2003-07-13  Michael Koch  <konqueror@gmx.de>
5434         * gnu/java/awt/EmbeddedWindow.java,
5435         gnu/java/awt/EmbeddedWindowSupport.java,
5436         gnu/java/awt/natEmbeddedWindow.cc:
5437         New files.
5438         * java/awt/Window.java
5439         (Window): New constructor to support embedded windows.
5440         * Makefile.am
5441         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
5442         gnu/java/awt/EmbeddedWindowSupport.java.
5443         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
5444         * Makefile.in: Regenerated.
5446 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
5448         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
5449         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
5450         * java/awt/im/InputContext.java: Remove a redundant
5451         partial line.
5453 2003-07-09  Tom Tromey  <tromey@redhat.com>
5455         * Makefile.in: Rebuilt.
5456         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
5458 2003-07-09  Mark Wielaard  <mark@klomp.org>
5460         * java/io/ObjectOutputStream.java (writeObject): break after
5461         calling writeClassDescriptor().
5463 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
5465         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
5467 2003-07-09  Michael Koch  <konqueror@gmx.de>
5469         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5470         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5471         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5472         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
5473         Explicitly import used classes.
5474         * java/awt/Container.java: New version from classpath.
5476 2003-07-09  Michael Koch  <konqueror@gmx.de>
5478         * libgcj.pc.in: New file.
5479         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
5480         * Makefile.in: Regenerated.
5481         * configure: Regenrated.
5482         * configure.in: Create libgcj.pc from libgcj.pc.in.
5484 2003-07-08  Mark Wielaard <mark@klomp.org>
5486         * gcj/cni.h: CNI now expands to Compiled Native Interface.
5488         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
5489         * java/lang/fdlibm.h: Likewise.
5491 2003-07-07  Adam Megacz <adam@xwt.org>
5493         * posix.cc: added #include<stdio.h>
5494                 
5495 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
5497         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
5498         formatting.
5500         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5501         (setCaretPosition, setEditable): Rely entirely on native
5502         implementation.
5503         (getArgs): Remove.
5504         (postTextEvent): New method.
5505         (handleEvent): New method.
5506         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
5507         method.
5508         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
5509         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5510         (keysym_to_awt_keycode): Fix range checks.
5511         (generates_key_typed_event): New function.
5512         (awt_event_handler): Post AWT_KEY_RELEASED events to event
5513         queue.
5514         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5515         (gtkInit): Store TextComponent's postTextEvent method ID.
5516         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5517         (setText): Post TEXT_VALUE_CHANGED event to event queue.
5519 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5521         * configure.in: Check for usleep declaration.
5522         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
5523         * configure: Regenerate.
5524         * include/config.h.in: Likewise.
5525         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
5527 2003-07-01  Michael Koch  <konqueror@gmx.de>
5529         * gnu/gcj/convert/natIconv.cc
5530         (iconv_init): Fixed possible memory leak by releasing allocated iconv
5531         handle.
5533 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
5535         * glib-2.0.m4: New file.
5536         * gtk-2.0.m4: New file.
5537         * glib.m4: Remove.
5538         * gtk.m4: Remove.
5539         * configure.in: Update AM_PATH_GTK macro call to
5540         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
5541         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5542         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5543         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5544         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5545         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5546         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5547         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5548         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5549         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5550         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5551         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5552         jni/gtk-peer/gthread-jni.c,
5553         jni/gtk-peer/gthread-jni.h:
5554         New versions from classpath.
5555         * aclocal.m4: Regenerate.
5556         * configure: Regenerate.
5557         * Makefile.in: Regenerate.
5558         * gcj/Makefile.in: Regenerate.
5559         * include/Makefile.in: Regenerate.
5560         * testsuite/Makefile.in: Regenerate.
5562 2003-06-30  Gary Benson  <gbenson@redhat.com>
5564         For PR libgcj/11349:
5565         * javax/naming/spi/NamingManager.java (getURLContext): Use
5566         correct name for factory class.
5568 2003-06-28  Michael Koch  <konqueror@gmx.de>
5570         * java/io/PrintStream.java
5571         (checkError): Call flush() instead of direct flushing of the Writer
5572         object.
5573         (print): Call print(String) instead of direct print method of the
5574         Writer Object.
5575         (println): Call println(String) instead of direct println method of the
5576         Writer Object.
5577         (write): Simplified.
5579 2003-06-28  Michael Koch  <konqueror@gmx.de>
5581         * java/net/ServerSocket.java
5582         (setChannel): New method.
5583         * java/net/Socket.java
5584         (setChannel): New method.
5586 2003-06-27  Michael Koch  <konqueror@gmx.de>
5588         * java/beans/beancontext/BeanContextSupport.java:
5589         New version from classpath.
5591 2003-06-27  Michael Koch  <konqueror@gmx.de>
5593         * java/awt/Window.java,
5594         java/awt/font/GraphicAttribute.java,
5595         java/awt/font/ImageGraphicAttribute.java,
5596         java/awt/image/DataBufferByte.java,
5597         java/awt/image/DataBufferInt.java,
5598         java/awt/image/DataBufferUShort.java,
5599         java/awt/image/DirectColorModel.java,
5600         java/awt/image/PixelGrabber.java:
5601         New versions from classpath.
5603 2003-06-27  Michael Koch  <konqueror@gmx.de>
5605         * java/security/Certificate.java
5606         (getGuarantor): Removed wrong @deprecated tag.
5607         (getPrincipal): Likewise.
5608         (getPublicKey): Likewise.
5609         (encode): Likewise.
5610         (decode): Likewise.
5611         (getFormat): Likewise.
5612         (toString): Likewise.
5613         * java/security/cert/PolicyQualifierInfo.java
5614         (PolicyQualifierInfo): Made final.
5615         * javax/security/auth/x500/X500Principal.java
5616         (serialVersionUID): New member variable.
5618 2003-06-27  Michael Koch  <konqueror@gmx.de>
5620         * java/text/Format.java
5621         (serialVersionUID): Fixed value.
5623 2003-06-27  Michael Koch  <konqueror@gmx.de>
5625         * java/net/Inet4Address.java
5626         (Inet4Address): Made package-private.
5627         * java/net/Inet6Address.java
5628         (Inet4Address): Made package-private.
5630 2003-06-27  Michael Koch  <konqueror@gmx.de>
5632         * java/io/RandomAccessFile.java
5633         (readLine): Removed wrong @deprecated tag.
5634         (getChannel): Made final.
5636 2003-06-27  Michael Koch  <konqueror@gmx.de>
5638         * gnu/java/nio/FileChannelImpl.java
5639         (write): Removed.
5641 2003-06-27  Michael Koch  <konqueror@gmx.de>
5643         * java/nio/ByteBufferImpl.java
5644         (ByteBufferImpl): Made it a package-private class
5645         * java/nio/CharBufferImpl.java
5646         (CharBufferImpl): Made it a package-private class
5647         * java/nio/DirectByteBufferImpl.java
5648         (DirectByteBufferImpl): Made it a package-private class
5649         * java/nio/DoubleBufferImpl.java
5650         (DoubleBufferImpl): Made it a package-private class
5651         * java/nio/FloatBufferImpl.java
5652         (FloatBufferImpl): Made it a package-private class
5653         * java/nio/IntBufferImpl.java
5654         (IntBufferImpl): Made it a package-private class
5655         * java/nio/LongBufferImpl.java
5656         (LongBufferImpl): Made it a package-private class
5657         * java/nio/ShortBufferImpl.java
5658         (ShortBufferImpl): Made it a package-private class
5659         * java/nio/channels/FileChannel.java
5660         (write): Made final.
5661         * java/nio/channels/ServerSocketChannel.java
5662         (ServerSocketChanne): Made protected.
5664 2003-06-27  Michael Koch  <konqueror@gmx.de>
5666         * javax/naming/CompositeName.java
5667         (serialVersionUID): New member variable.
5668         * javax/naming/CompoundName.java
5669         (serialVersionUID): New member variable.
5670         * javax/naming/InitialContext.java
5671         (InitialContext): Throws NamingException.
5672         (init): Likewise.
5673         * javax/naming/LinkRef.java
5674         (serialVersionUID): New member variable.
5675         (gteLinkName): Throws NamingException.
5676         * javax/naming/NamingException.java
5677         (serialVersionUID): New member variable.
5678         * javax/naming/NamingSecurityException.java
5679         (NamingSecurityException): Made abstract.
5680         (serialVersionUID): New member variable.
5681         * javax/naming/ReferralException.java
5682         (serialVersionUID): New member variable.
5683         * javax/naming/StringRefAddr.java
5684         (serialVersionUID): New member variable.
5685         * javax/naming/directory/BasicAttribute.java:
5686         Reworked imports.
5687         (serialVersionUID): New member variable.
5688         (get): Throws NamingException.
5689         (getAll): Throws NamingException.
5690         * javax/naming/directory/BasicAttributes.java:
5691         Reworked imports.
5692         (serialVersionUID): New member variable.
5693         * javax/naming/ldap/UnsolicitedNotificationEvent.java
5694         (serialVersionUID): New member variable.
5696 2003-06-27  Michael Koch  <konqueror@gmx.de>
5698         * Makefile.am
5699         (awt_java_source_files): Added new files:
5700         javax/swing/Popup.java,
5701         javax/swing/PopupFactory.java
5702         * Makefile.in: Regenerated.
5704 2003-06-27  Michael Koch  <konqueror@gmx.de>
5706         * javax/swing/JWindow.java,
5707         javax/swing/event/AncestorEvent.java,
5708         javax/swing/event/HyperlinkEvent.java,
5709         javax/swing/event/InternalFrameEvent.java,
5710         javax/swing/event/ListDataEvent.java,
5711         javax/swing/event/TableModelEvent.java,
5712         javax/swing/plaf/PopupMenuUI.java,
5713         javax/swing/plaf/SplitPaneUI.java,
5714         javax/swing/plaf/TabbedPaneUI.java,
5715         javax/swing/plaf/TextUI.java,
5716         javax/swing/plaf/TreeUI.java,
5717         javax/swing/plaf/basic/BasicTextUI.java,
5718         javax/swing/plaf/basic/BasicTreeUI.java:
5719         New versions from classpath.
5720         * javax/swing/Popup.java,
5721         javax/swing/PopupFactory.jav:
5722         New source files from classpath.
5723         * javax/swing/plaf/doc-files/TreeUI-1.png:
5724         New binary files from classpath.
5726 2003-06-25  Michael Koch  <konqueror@gmx.de>
5728         * Makefile.am
5729         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
5730         * Makefile.in: Regenerated.
5732 2003-06-25  Michael Koch  <konqueror@gmx.de>
5734         * javax/swing/plaf/ActionMapUIResource.java,
5735         javax/swing/plaf/BorderUIResource.java,
5736         javax/swing/plaf/ButtonUI.java,
5737         javax/swing/plaf/ColorChooserUI.java,
5738         javax/swing/plaf/ColorUIResource.java,
5739         javax/swing/plaf/ComboBoxUI.java,
5740         javax/swing/plaf/ComponentInputMapUIResource.java,
5741         javax/swing/plaf/ComponentUI.java,
5742         javax/swing/plaf/DesktopIconUI.java,
5743         javax/swing/plaf/DesktopPaneUI.java,
5744         javax/swing/plaf/DimensionUIResource.java,
5745         javax/swing/plaf/FileChooserUI.java,
5746         javax/swing/plaf/FontUIResource.java,
5747         javax/swing/plaf/IconUIResource.java,
5748         javax/swing/plaf/InputMapUIResource.java,
5749         javax/swing/plaf/InsetsUIResource.java,
5750         javax/swing/plaf/InternalFrameUI.java,
5751         javax/swing/plaf/LabelUI.java,
5752         javax/swing/plaf/ListUI.java,
5753         javax/swing/plaf/MenuBarUI.java,
5754         javax/swing/plaf/MenuItemUI.java,
5755         javax/swing/plaf/OptionPaneUI.java,
5756         javax/swing/plaf/PanelUI.java,
5757         javax/swing/plaf/ProgressBarUI.java,
5758         javax/swing/plaf/RootPaneUI.java,
5759         javax/swing/plaf/ScrollBarUI.java,
5760         javax/swing/plaf/ScrollPaneUI.java,
5761         javax/swing/plaf/SeparatorUI.java,
5762         javax/swing/plaf/SliderUI.java,
5763         javax/swing/plaf/TableHeaderUI.java,
5764         javax/swing/plaf/TableUI.java,
5765         javax/swing/plaf/ToolBarUI.java,
5766         javax/swing/plaf/ToolTipUI.java,
5767         javax/swing/plaf/ViewportUI.java:
5768         New versions from classpath.
5769         * javax/swing/plaf/SpinnerUI.java: 
5770         New file from classpath
5772 2003-06-25  Michael Koch  <konqueror@gmx.de>
5774         * java/awt/image/ColorModel.java:
5775         New version from classpath.
5777 2003-06-25  Michael Koch  <konqueror@gmx.de>
5779         * java/net/PlainDatagramSocketImpl.java:
5780         Partly merged with classpath, this mainly adds documentation.
5782 2003-06-25  Michael Koch  <konqueror@gmx.de>
5784         * java/io/ObjectInputStream.java
5785         (readClassDescriptor): New method.
5786         (readObject): Moved functionality to readClassDescriptor().
5787         * java/io/ObjectOutputStream.java
5788         (writeClassDescriptor): New method.
5789         (writeObject): Moved functionality to writeClassDescriptor().
5791 2003-06-25  Michael Koch  <konqueror@gmx.de>
5793         * javax/swing/plaf/basic/BasicListUI.java,
5794         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5795         Added missing methods.
5797 2003-06-25  Michael Koch  <konqueror@gmx.de>
5799         * javax/swing/event/AncestorEvent.java
5800         javax/swing/event/HyperlinkEvent.java
5801         javax/swing/event/InternalFrameEvent.java
5802         javax/swing/event/ListDataEvent.java
5803         javax/swing/event/TableModelEvent.java:
5804         Compile fixes.
5806 2003-06-24  Michael Koch  <konqueror@gmx.de>
5808         * java/net/URL.java:
5809         Renamed "handler" to "ph" in the whole file to match classpaths
5810         version.
5811         * java/net/URLStreamHandler.java:
5812         (equals): Renamed "handler" to "ph".
5814 2003-06-24  Michael Koch  <konqueror@gmx.de>
5816         * javax/swing/event/AncestorEvent.java,
5817         javax/swing/event/HyperlinkEvent.java,
5818         javax/swing/event/InternalFrameEvent.java,
5819         javax/swing/event/ListDataEvent.java,
5820         javax/swing/event/TableModelEvent.java,
5821         javax/swing/event/TreeWillExpandListener.java,
5822         javax/swing/plaf/ComponentUI.java,
5823         javax/swing/plaf/DesktopIconUI.java,
5824         javax/swing/plaf/DesktopPaneUI.java,
5825         javax/swing/plaf/DimensionUIResource.java,
5826         javax/swing/plaf/FileChooserUI.java,
5827         javax/swing/plaf/FontUIResource.java,
5828         javax/swing/plaf/IconUIResource.java,
5829         javax/swing/plaf/InputMapUIResource.java,
5830         javax/swing/plaf/InsetsUIResource.java,
5831         javax/swing/plaf/InternalFrameUI.java,
5832         javax/swing/plaf/LabelUI.java,
5833         javax/swing/plaf/ListUI.java,
5834         javax/swing/plaf/MenuBarUI.java,
5835         javax/swing/plaf/MenuItemUI.java,
5836         javax/swing/plaf/OptionPaneUI.java,
5837         javax/swing/plaf/PanelUI.java,
5838         javax/swing/plaf/ProgressBarUI.java,
5839         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5840         javax/swing/plaf/doc-files/ComponentUI-1.png:
5841         New versions from classpath.
5843 2003-06-24  Michael Koch  <konqueror@gmx.de>
5845         * java/nio/Buffer.java
5846         (cap): Made package-private.
5847         (pos): Likewise.
5848         (limit): Likewise.
5849         (mark): Likewise.
5851 2003-06-24  Michael Koch  <konqueror@gmx.de>
5853         * java/net/SocketImpl.java
5854         (shutdownInput): Made it non-abstract method throwing an exception
5855         like in SUNs JRE.
5856         (shutdownOutput): Likewise.
5857         * java/net/SocketInputStream.java,
5858         java/net/SocketOutputStream.java:
5859         New files from classpath.
5861 2003-06-24  Michael Koch  <konqueror@gmx.de>
5863         * java/awt/Font.java,
5864         java/awt/Window.java,
5865         java/awt/color/ColorSpace.java,
5866         java/awt/datatransfer/StringSelection.java,
5867         java/awt/image/ColorModel.java:
5868         New versions from classpath.
5870 2003-06-24  Michael Koch  <konqueror@gmx.de>
5872         * Makefile.am
5873         (awt_java_source_files): Added new files:
5874         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5875         javax/swing/plaf/basic/BasicSplitPaneUI.java
5876         * Makefile.in: Regenerated.
5878 2003-06-24  Michael Koch  <konqueror@gmx.de>
5880         * javax/swing/text/JTextComponent.java:
5881         New version from classpath.
5883 2003-06-24  Michael Koch  <konqueror@gmx.de>
5885         * javax/swing/Timer.java,
5886         javax/swing/plaf/ActionMapUIResource.java,
5887         javax/swing/plaf/ButtonUI.java,
5888         javax/swing/plaf/ColorChooserUI.java,
5889         javax/swing/plaf/ColorUIResource.java,
5890         javax/swing/plaf/ComboBoxUI.java,
5891         javax/swing/plaf/ComponentInputMapUIResource.java,
5892         javax/swing/plaf/basic/BasicBorders.java:
5893         New versions from classpath.
5894         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
5895         javax/swing/plaf/basic/BasicSplitPaneUI.java:
5896         New file from classpath.
5897         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
5898         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
5899         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
5900         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5901         javax/swing/plaf/doc-files/ComponentUI-1.png:
5902         New binary files from classpath.
5904 2003-06-24  Michael Koch  <konqueror@gmx.de>
5906         * java/io/LineNumberReader.java
5907         (skip): Dont do line number accounting here as this is already done in
5908         read(), simplified.
5910 2003-06-21  Michael Koch  <konqueror@gmx.de>
5912         * java/io/File.java
5913         (static): Load javaio lib if existing (only in classpath).
5914         (File): Revised documentation to show the correct argument name.
5915         (createTempFile): Partly merged with classpath.
5916         (compareTo): Simplified.
5917         (lastModified): Throw exception if time < 0.
5918         (deleteOnExit): Revised documentation.
5920 2003-06-21  Michael Koch  <konqueror@gmx.de>
5922         * java/net/PlainSocketImpl.java:
5923         Reformatted.
5924         (PlainSocketImpl): Merged class documentaion with classpath.
5925         (in): Moved.
5926         (out): Moved.
5927         (PlainSocketImpl): New empty constructor.
5928         (finalize): Moved.
5929         (setOption): Merged documentation from classpath.
5930         (getOption): Likewise.
5931         (create): Likewise.
5932         (connect): Likewise.
5933         (bind): Likewise.
5934         (listen): Likewise.
5935         (accept): Likewise.
5936         (available): Likewise.
5937         (close): Likewise.
5938         (read): Likewise.
5939         (write): Likewise.
5940         (getInputStream): Made synchronozed to get sure that only one stream
5941         object can be created for this socket, merged documentation from
5942         classpath.
5943         (getOutputStream): Likewise.
5945 2003-06-21  Michael Koch  <konqueror@gmx.de>
5947         * java/net/PlainSocketImpl.java:
5948         Reformatting.
5949         (static): New implicit method.
5950         (read): Made package private.
5951         (write): Likewise.
5953 2003-06-21  Michael Koch  <konqueror@gmx.de>
5955         * java/util/SimpleTimeZone.java:
5956         Removed unneeded import, reformatting.
5958 2003-06-21  Michael Koch  <konqueror@gmx.de>
5960         * java/text/DateFormat.java,
5961         java/text/SimpleDateFormat.java,
5962         java/util/Locale.java:
5963         New versions from classpath.
5965 2003-06-21  Michael Koch  <konqueror@gmx.de>
5967         * javax/swing/SpinnerModel.java:
5968         New file from classpath.
5969         * javax/swing/border/LineBorder.java,
5970         javax/swing/border/SoftBevelBorder.java,
5971         javax/swing/plaf/BorderUIResource.java,
5972         javax/swing/plaf/basic/BasicBorders.java:
5973         New versions from classpath.
5974         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
5975         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
5976         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
5977         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
5978         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
5979         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
5980         New binary files from classpath.
5982 2003-06-21  Michael Koch  <konqueror@gmx.de>
5984         * java/util/logging/LogRecord.java,
5985         java/util/logging/Logger.java,
5986         java/util/logging/SocketHandler.java,
5987         java/util/logging/SimpleFormatter.java,
5988         java/util/logging/Formatter.java,
5989         java/util/logging/ErrorManager.java,
5990         java/util/logging/Handler.java,
5991         java/util/logging/FileHandler.java,
5992         java/util/logging/LogManager.java,
5993         java/util/logging/Level.java,
5994         java/util/logging/ConsoleHandler.java,
5995         java/util/logging/StreamHandler.java,
5996         java/util/logging/LoggingPermission.java,
5997         java/util/logging/Filter.java,
5998         java/util/logging/MemoryHandler.java,
5999         java/util/logging/XMLFormatter.java:
6000         New files from classpath.
6002 2003-06-20  Michael Koch  <konqueror@gmx.de>
6004         * java/io/ObjectStreamField.java
6005         (unshared): new member variable.
6006         (ObjectStreamField): New constructor.
6007         (isUnshared): New method.
6009 2003-06-20  Michael Koch  <konqueror@gmx.de>
6011         * java/net/URLStreamHandler.java
6012         (hostsEqual): Rewritten.
6014 2003-06-20  Michael Koch  <konqueror@gmx.de>
6016         * gnu/java/nio/MappedByteFileBuffer.java,
6017         gnu/java/nio/natMappedByteFileBuffer.cc:
6018         Removed
6019         * java/nio/MappedByteBufferImpl.java:
6020         New file.
6021         * gnu/java/nio/FileChannelImpl.java:
6022         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
6023         * Makefile.am
6024         (ordinary_java_source_files): Removed
6025         gnu/java/nio/MappedByteFileBuffer.java and added
6026         java/nio/MappedByteBufferImpl.java.
6027         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
6028         * Makefile.in: Regenerated.
6030 2003-06-19  Michael Koch  <konqueror@gmx.de>
6032         * gnu/java/nio/DatagramChannelImpl.java
6033         (fd): Removed.
6034         (blocking): New member variable.
6035         (socket): Likewise.
6036         (DatagramChannelImpl): Throws IOException, initialize socket.
6037         (socket):Implemented.
6038         (implCloseSelectableChannel): Throws IOException, implemented.
6039         (implConfigureBlocking): Likewise.
6040         (connect): Likewise.
6041         (disconnect): Likewise.
6042         (isConnected): Likewise.
6043         (write): Likewise.
6044         (read): Likewise.
6045         (receive): Throws IOException.
6046         (send): Likewise.
6047         * gnu/java/nio/SocketChannelImpl.java
6048         (read): Implemented.
6049         (write): Implemented.
6051 2003-06-19  Michael Koch  <konqueror@gmx.de>
6053         * javax/swing/JComponent.java,
6054         javax/swing/JInternalFrame.java,
6055         javax/swing/MenuSelectionManager.java,
6056         javax/swing/SwingUtilities.java,
6057         javax/swing/ToggleButtonModel.java:
6058         New versions from classpath.
6060 2003-06-19  Michael Koch  <konqueror@gmx.de>
6062         * java/text/CollationElementIterator.java
6063         (NULLORDER): Initialize with -1 as JDK documentation says.
6065 2003-06-19  Michael Koch  <konqueror@gmx.de>
6067         * java/net/HttpURLConnection.java,
6068         java/net/Inet4Address.java,
6069         java/net/Inet6Address.java,
6070         java/net/SocketImpl.java,
6071         java/net/URLClassLoader.java:
6072         Reworked import statements.
6073         * java/net/InetAddress.java
6074         (getByAddress): Simplified.
6075         * java/net/ServerSocket.java
6076         (ServerSocket): Moved special handling during bind operation to
6077         bind().
6078         (bind): Handle different cases when trying to bind a socket.
6079         * java/net/URLConnection.java
6080         (getHeaderFieldDate): Merged with classpath.
6081         (getHeaderFieldInt): Likewise.
6083 2003-06-19  Michael Koch  <konqueror@gmx.de>
6085         * java/util/zip/InflaterInputStream.java
6086         (InflaterInputStream): Throw NullPointerException if in is null (as
6087         JDK does).
6089 2003-06-19  Michael Koch  <konqueror@gmx.de>
6091         * java/awt/Font.java
6092         javax/swing/UIManager.java
6093         javax/swing/border/AbstractBorder.java
6094         javax/swing/border/BevelBorder.java
6095         javax/swing/border/Border.java
6096         javax/swing/border/CompoundBorder.java
6097         javax/swing/border/EmptyBorder.java
6098         javax/swing/border/EtchedBorder.java
6099         javax/swing/border/LineBorder.java
6100         javax/swing/border/MatteBorder.java
6101         javax/swing/border/TitledBorder.java
6102         javax/swing/plaf/BorderUIResource.java
6103         javax/swing/plaf/basic/BasicBorders.java
6104         javax/swing/plaf/basic/BasicButtonUI.java
6105         javax/swing/plaf/basic/BasicCheckBoxUI.java
6106         javax/swing/plaf/basic/BasicGraphicsUtils.java
6107         javax/swing/plaf/basic/BasicLabelUI.java
6108         javax/swing/plaf/basic/BasicRadioButtonUI.java
6109         javax/swing/plaf/basic/BasicToggleButtonUI.java:
6110         New versions from classpath.
6111         * javax/swing/border/SoftBevelBorder.java:
6112         New file from classpath.
6113         * javax/swing/border/doc-files/LineBorder-1.png,
6114         javax/swing/border/doc-files/BevelBorder-1.png,
6115         javax/swing/border/doc-files/BevelBorder-2.png,
6116         javax/swing/border/doc-files/BevelBorder-3.png,
6117         javax/swing/border/doc-files/EmptyBorder-1.png,
6118         javax/swing/border/doc-files/EtchedBorder-1.png,
6119         javax/swing/border/doc-files/EtchedBorder-2.png,
6120         javax/swing/border/doc-files/MatteBorder-1.png,
6121         javax/swing/border/doc-files/MatteBorder-2.png,
6122         javax/swing/border/doc-files/MatteBorder-3.png,
6123         javax/swing/border/doc-files/MatteBorder-4.png,
6124         javax/swing/border/doc-files/MatteBorder-5.png,
6125         javax/swing/border/doc-files/MatteBorder-6.png,
6126         javax/swing/border/doc-files/SoftBevelBorder-1.png,
6127         javax/swing/border/doc-files/SoftBevelBorder-2.png,
6128         javax/swing/border/doc-files/SoftBevelBorder-3.png,
6129         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
6130         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
6131         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
6132         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
6133         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
6134         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
6135         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
6136         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
6137         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
6138         New binary files from classpath.
6139         * Makefile.am
6140         (awt_java_source_files): Added
6141         javax/swing/border/SoftBevelBorder.java.
6142         * Makefile.in: Regenerated.
6144 2003-06-19  Michael Koch  <konqueror@gmx.de>
6146         * gnu/java/security/x509/X509Certificate.java
6147         (writeReplace): Merged from classpath.
6149 2003-06-19  Michael Koch  <konqueror@gmx.de>
6151         * gnu/java/nio/FileChannelImpl.java
6152         (map_address): Made public.
6153         (FileChannelImpl): Merged with classpath.
6154         * gnu/java/nio/natFileChannelImpl.cc
6155         (nio_mmap_file): Commented out unused arguments.
6156         (nio_unmmap_file): Likewise.
6157         (niu_msync): Likewise.
6159 2003-06-19  Michael Koch  <konqueror@gmx.de>
6161         * java/awt/image/IndexColorModel.java:
6162         New version from classpath.
6164 2003-06-18  Tom Tromey  <tromey@redhat.com>
6166         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
6167         on arrays.
6168         (isLoopbackAddress): Likewise.
6169         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
6170         on arrays.
6172 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
6174         * java/lang/natVMSecurityManager.cc (getClassContext):
6175         Use maxlen instead of len for loop bound.
6177 2003-06-18  Michael Koch  <konqueror@gmx.de>
6179         * gnu/java/nio/SelectorImpl.java
6180         (register): Use fd with value 0 for now, will be fixed later.
6181         * gnu/java/nio/ServerSocketChannelImpl.java
6182         (fd): Removed.
6183         (local_port): Removed.
6184         (InetSocketAddress): Removed.
6185         (ServerSocketChannelImpl): Just initialize internal socket object.
6186         (implCloseSelectableChannel): Close internal socket object.
6187         (implConfigureBlocking): Added comment.
6188         (accept): Use jaba.net stuff to accept socket.
6189         * gnu/java/nio/SocketChannelImpl.java
6190         (fd): Removed.
6191         (local_port): Removed.
6192         (InetSocketAddress): Removed.
6193         (SocketCreate): Removed.
6194         (SocketConnect): Removed.
6195         (SocketBind): Removed.
6196         (SocketListen): Removed.
6197         (SocketAvailable): Removed.
6198         (SocketClose): Removed.
6199         (SocketRead): Removed.
6200         (SocketWrite): Removed.
6201         (SocketChannelImpl): Just initialize internal socket object.
6202         (implCloseSelectableChannel): Close internal socket object.
6203         (implConfigureBlocking): Fixed implementation, added comment.
6204         (connect): Use internal socket object to connect.
6205         (socket): No need for sanity checks.
6206         (read): Comment out some stuff, this will be reimplemented in the next
6207         commit.
6208         (write): Likewise.
6209         * gnu/java/nio/natFileChannelImpl.cc
6210         (nio_mmap_file): Line wrapped.
6211         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
6212         * Makefile.am
6213         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
6214         * Makefile.in: Regenerated.
6216 2003-06-18  Michael Koch  <konqueror@gmx.de>
6218         * java/util/Locale.java
6219         (equals): Merged from classpath.
6221 2003-06-18  Michael Koch  <konqueror@gmx.de>
6223         * java/net/InetAddress.java:
6224         Reformatted to better match classpath's version.
6225         * java/net/URL.java
6226         (equals): Simplified.
6227         * java/net/URLConnection.java
6228         (setDoInput): Revised documentation.
6229         (getDefaultUseCaches): Likewise.
6230         (setRequestProperty): Added @since tag.
6232 2003-06-17  Michael Koch  <konqueror@gmx.de>
6234         * java/net/InetSocketAddress.java
6235         (InetSocketAddress): Use wildcard address if addr is null.
6236         (InetSocketAddress): Dont duplicate implementation.
6237         (InetSocketAddress): Throw exception when hostname is null.
6238         * java/net/Socket.java:
6239         Reworked imports.
6240         (Socket): Throw exception when raddr is null, handle case when laddr
6241         is null.
6243 2003-06-17  Michael Koch  <konqueror@gmx.de>
6245         * java/nio/DirectByteBufferImpl.java
6246         (address): Made package private.
6247         (DirectByteBufferImpl): New constructor.
6248         * java/nio/natDirectByteBufferImpl.cc
6249         (allocateImpl): Moved to java.nio namespace, implemented.
6250         (freeImpl): Likewise.
6251         (getImpl): Likewise.
6252         (putImpl): Likewise.
6253         * jni.cc
6254         (_Jv_JNI_NewDirectByteBuffer): Implemented.
6255         (_Jv_JNI_GetDirectBufferAddress): Implemented.
6256         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
6258 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6260         * include/powerpc-signal.h: New File.
6261         * configure.in: Use it.
6262         * configure: Regenerated.
6264 2003-06-17  Michael Koch  <konqueror@gmx.de>
6266         * java/util/Locale.java
6267         (getDisplayLanguage): Made it final.
6268         (getDisplayCountry): Likewise.
6269         (getDisplayVariant): Likewise.
6270         (getDisplayName): Likewise.
6272 2003-06-17  Michael Koch  <konqueror@gmx.de>
6274         * java/util/PropertyResourceBundle.java:
6275         Removed unneeded import.
6277 2003-06-17  Michael Koch  <konqueror@gmx.de>
6279         * java/util/prefs/AbstractPreferences.java,
6280         java/util/prefs/PreferencesFactory.java:
6281         Reworked imports, removed unused imports.
6282         * java/util/prefs/Preferences.java
6283         (systemNodeForPackage): Method takes a Class not an Object.
6284         (userNodeForPackage): Likewise.
6285         (nodeForPackage): Likewise.
6287 2003-06-17  Michael Koch  <konqueror@gmx.de>
6289         * gnu/java/security/x509/X509Certificate.java:
6290         Explicitely import used classes.
6292 2003-06-17  Michael Koch  <konqueror@gmx.de>
6294         * java/util/zip/ZipEntry.java,
6295         java/util/zip/ZipFile.java,
6296         java/util/zip/ZipInputStream.java,
6297         java/util/zip/ZipOutputStream.java:
6298         Reworked imports, only import used classes.
6300 2003-06-17  Michael Koch  <konqueror@gmx.de>
6302         * gnu/java/lang/ArrayHelper.java,
6303         gnu/java/lang/ClassHelper.java:
6304         Reformatted to match classpath's versions.
6306 2003-06-14  Michael Koch  <konqueror@gmx.de>
6308         * gnu/java/nio/FileChannelImpl.java
6309         (map_address): Removed incorrect comment.        
6310         * gnu/java/nio/SelectorImpl.java
6311         (register): Remove code duplication and code for file channel handling.        
6312         * gnu/java/nio/ServerSocketChannelImpl.java
6313         (serverSocket): Renamed from sock_object.
6314         (ServerSocketChannel): Initialize serverSocket.
6315         (socket): Return serverSocket.
6316         * gnu/java/nio/SocketChannelImpl.java
6317         (socket): Renamed from sock_object.
6318         (isConnectionPenging): Simplified.
6319         (socket): Return socket.
6320 2003-06-14  Michael Koch  <konqueror@gmx.de>
6322         * java/security/BasicPermission.java:
6323         New version from classpath.
6325 2003-06-14  Michael Koch  <konqueror@gmx.de>
6327         * javax/naming/directory/Attribute.java:
6328         New version from classpath.
6330 2003-06-14  Michael Koch  <konqueror@gmx.de>
6332         * java/io/BufferedReader.java,
6333         java/io/FileOutputStream.java:
6334         New versions from classpath.
6336 2003-06-12  Andrew Haley  <aph@redhat.com>
6338         * prims.cc (catch_segv): Create exception in handler.
6339         (catch_fpe): Likewise.  
6340         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
6341         (_Jv_ThrowSignal): Remove.
6343         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
6344         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
6345         to nullp and arithexception.
6346         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6347         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6348         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6349         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6350         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6352 2003-06-11  Andrew Haley  <aph@redhat.com>
6354         * jni.cc (_Jv_JNI_check_types): New.
6355         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
6356         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
6357         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
6358         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
6359         
6360         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
6361         infinite loop.
6363 2003-06-11  Tom Tromey  <tromey@redhat.com>
6365         * java/lang/ClassLoader.java (loadClass): Not deprecated.
6366         * java/io/PrintStream.java: Not deprecated.
6368 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
6370         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
6371         (fillOval): implemented
6372         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
6373         (fillArc): implemented.
6374         * gnu/gcj/xlib/GC.java (drawArc): added native method.
6375         (fillArc): added native method.
6376         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
6377         (fillArc): added native method.
6379 2003-06-11  Michael Koch  <konqueror@gmx.de>
6381         * java/awt/im/InputSubset.java:
6382         New version from classpath.
6384 2003-06-11  Michael Koch  <konqueror@gmx.de>
6386         * javax/swing/AbstractAction.java,
6387         javax/swing/AbstractButton.java,
6388         javax/swing/AbstractCellEditor.java,
6389         javax/swing/AbstractListModel.java,
6390         javax/swing/BorderFactory.java,
6391         javax/swing/Box.java,
6392         javax/swing/BoxLayout.java,
6393         javax/swing/ButtonGroup.java,
6394         javax/swing/DefaultButtonModel.java,
6395         javax/swing/DefaultListModel.java,
6396         javax/swing/DefaultListSelectionModel.java,
6397         javax/swing/FocusManager.java,
6398         javax/swing/ImageIcon.java,
6399         javax/swing/InputMap.java,
6400         javax/swing/JApplet.java,
6401         javax/swing/JButton.java,
6402         javax/swing/JCheckBox.java,
6403         javax/swing/JCheckBoxMenuItem.java,
6404         javax/swing/JColorChooser.java,
6405         javax/swing/JComboBox.java,
6406         javax/swing/JComponent.java,
6407         javax/swing/JDesktopPane.java,
6408         javax/swing/JDialog.java,
6409         javax/swing/JEditorPane.java,
6410         javax/swing/JFileChooser.java,
6411         javax/swing/JFormattedTextField.java,
6412         javax/swing/JFrame.java,
6413         javax/swing/JLabel.java,
6414         javax/swing/JLayeredPane.java,
6415         javax/swing/JList.java,
6416         javax/swing/JMenuBar.java,
6417         javax/swing/JMenuItem.java,
6418         javax/swing/JOptionPane.java,
6419         javax/swing/JPanel.java,
6420         javax/swing/JPasswordField.java,
6421         javax/swing/JPopupMenu.java,
6422         javax/swing/JProgressBar.java,
6423         javax/swing/JRadioButton.java,
6424         javax/swing/JRadioButtonMenuItem.java,
6425         javax/swing/JRootPane.java,
6426         javax/swing/JScrollBar.java,
6427         javax/swing/JScrollPane.java,
6428         javax/swing/JSeparator.java,
6429         javax/swing/JSlider.java,
6430         javax/swing/JTabbedPane.java,
6431         javax/swing/JTable.java,
6432         javax/swing/JTextField.java,
6433         javax/swing/JToggleButton.java,
6434         javax/swing/JToolBar.java,
6435         javax/swing/JToolTip.java,
6436         javax/swing/JTree.java,
6437         javax/swing/JViewport.java,
6438         javax/swing/JWindow.java,
6439         javax/swing/KeyStroke.java,
6440         javax/swing/ListSelectionModel.java,
6441         javax/swing/LookAndFeel.java,
6442         javax/swing/RepaintManager.java,
6443         javax/swing/ScrollPaneLayout.java,
6444         javax/swing/SizeRequirements.java,
6445         javax/swing/SwingConstants.java,
6446         javax/swing/Timer.java,
6447         javax/swing/UIDefaults.java,
6448         javax/swing/UIManager.java,
6449         javax/swing/border/AbstractBorder.java,
6450         javax/swing/border/CompoundBorder.java,
6451         javax/swing/colorchooser/AbstractColorChooserPanel.java,
6452         javax/swing/colorchooser/ColorChooserComponentFactory.java,
6453         javax/swing/colorchooser/ColorSelectionModel.java,
6454         javax/swing/colorchooser/DefaultColorSelectionModel.java,
6455         javax/swing/event/AncestorEvent.java,
6456         javax/swing/event/HyperlinkEvent.java,
6457         javax/swing/event/InternalFrameAdapter.java,
6458         javax/swing/event/InternalFrameEvent.java,
6459         javax/swing/event/ListDataEvent.java,
6460         javax/swing/event/MouseInputAdapter.java,
6461         javax/swing/event/SwingPropertyChangeSupport.java,
6462         javax/swing/event/TableModelEvent.java,
6463         javax/swing/event/TreeWillExpandListener.java,
6464         javax/swing/event/UndoableEditEvent.java,
6465         javax/swing/filechooser/FileFilter.java,
6466         javax/swing/filechooser/FileSystemView.java,
6467         javax/swing/filechooser/FileView.java,
6468         javax/swing/plaf/BorderUIResource.java,
6469         javax/swing/plaf/basic/BasicDefaults.java,
6470         javax/swing/table/AbstractTableModel.java,
6471         javax/swing/table/DefaultTableCellRenderer.java,
6472         javax/swing/table/DefaultTableColumnModel.java,
6473         javax/swing/table/DefaultTableModel.java,
6474         javax/swing/table/TableColumn.java,
6475         javax/swing/text/JTextComponent.java,
6476         javax/swing/tree/AbstractLayoutCache.java,
6477         javax/swing/tree/DefaultMutableTreeNode.java,
6478         javax/swing/tree/DefaultTreeCellEditor.java,
6479         javax/swing/tree/DefaultTreeCellRenderer.java,
6480         javax/swing/tree/DefaultTreeModel.java,
6481         javax/swing/tree/DefaultTreeSelectionModel.java,
6482         javax/swing/tree/FixedHeightLayoutCache.java,
6483         javax/swing/tree/TreeCellEditor.java,
6484         javax/swing/tree/TreeModel.java,
6485         javax/swing/tree/TreeNode.java,
6486         javax/swing/tree/TreePath.java,
6487         javax/swing/tree/TreeSelectionModel.java,
6488         javax/swing/tree/VariableHeightLayoutCache.java,
6489         javax/swing/undo/AbstractUndoableEdit.java,
6490         javax/swing/undo/CompoundEdit.java,
6491         javax/swing/undo/StateEdit.java,
6492         javax/swing/undo/UndoManager.java,
6493         javax/swing/undo/UndoableEditSupport.java:
6494         New versions from classpath.
6495         * javax/swing/table/JTableHeader.java:
6496         New file from classpath.
6497         * Makefile.am
6498         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
6499         * Makefile.in: Regenerated.
6501 2003-06-11  Michael Koch  <konqueror@gmx.de>
6503         * java/nio/MappedByteBuffer.java,
6504         java/nio/channels/Channels.java,
6505         java/nio/channels/ServerSocketChannel.java,
6506         java/nio/channels/spi/AbstractSelector.java:
6507         Removed unneeded imports.
6509 2003-06-11  Michael Koch  <konqueror@gmx.de>
6511         * java/net/DatagramSocket.java:
6512         Partly merged with classpath.
6514 2003-06-11  Michael Koch  <konqueror@gmx.de>
6516         * java/awt/Frame.java,
6517         java/awt/Graphics.java,
6518         java/awt/Menu.java,
6519         java/awt/Robot.java,
6520         java/awt/image/ColorModel.java:
6521         New versions from classpath.
6523 2003-06-10  Michael Koch  <konqueror@gmx.de>
6525         * java/io/PrintStream.java:
6526         Merged version from classpath.
6527         (close): Removed sychronized keyword. This class is not garantied to
6528         be thread-safe.
6529         (write): Likewise.
6531 2003-06-09  Tom Tromey  <tromey@redhat.com>
6533         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
6534         field.
6535         (getDescent): Likewise, for "descent".
6537 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
6539         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
6540         (getMaxDescent): adjusted return value.
6541         (getAscent): modified to use metrics for 'O'.
6542         (getDescent): modified to use metrics for 'y'.
6544 2003-06-08  Anthony Green  <green@redhat.com>
6546         * java/net/URLStreamHandler.java (sameFile): Fix port value
6547         comparison.
6548         * java/net/URL.java (handler): Make package private.
6549         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
6551 2003-06-07  Tom Tromey  <tromey@redhat.com>
6553         For PR libgcj/11085:
6554         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
6555         Limit number of characters in numeric field when required.
6556         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
6557         Respect maximumIntegerDigits.
6559 2003-06-08  Michael Koch  <konqueror@gmx.de>
6561         * java/net/Socket.java
6562         (Socket): Dont initialize inputShutdown and outputShutdown twice,
6563         call bind() and connect() to actually do the bind and connect tasks.
6564         (bind): Connect to canonical address if bindpoint is null, create
6565         socket and bind it to bindpoint.
6566         (connect): Check for exceptions.
6568 2003-06-08  Michael Koch  <konqueror@gmx.de>
6570         * java/net/DatagramSocket.java
6571         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
6572         into the Multicast constructors.
6573         * java/net/DatagramSocketImpl.java
6574         (getOption): Removed.
6575         (setOption): Removed.
6576         * java/net/MulticastSocket.java
6577         (MulticastSocket): Call setReuseAddress (true).
6578         * java/net/SocketImpl.java
6579         (getOption): Removed.
6580         (setOption): Removed.
6582 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
6584         PR libgcj/10886:
6585         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
6586         Test for empty vector.
6588 2003-06-06  Mark Wielaard  <mark@klomp.org>
6590         * java/security/Security.java (secprops): Initialize.
6591         (loadProviders): Return boolean.
6592         (static): Check result of loadProvider calls. If necessary
6593         display WARNING and fallback to Gnu provider.
6595 2003-06-06  James Clark  <jjc@jclark.com>
6597         Fix for PR libgcj/8738:
6598         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
6599         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
6600         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
6601         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
6602         (write): Always decrease avail when count is increased.
6603         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
6604         and whether output buffer is full before increasing size.
6606 2003-06-06  Mark Wielaard  <mark@klomp dot org>
6608         * java/io/PrintStream.java (writeChars(char[],int, int)):
6609         Check converter.havePendingBytes().
6610         (writeChars(String,int,int)): Likewise.
6611         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
6612         Check converter.havePendingBytes() and flush buffer when stalled.
6614 2003-06-07  Michael Koch  <konqueror@gmx.de>
6616         * include/posix.h
6617         (O_DSYNC): Define O_DSYNC on platforms not
6618         supporting O_FSYNC (newlib).
6620 2003-06-06  Mark Wielaard  <mark@klomp.org>
6622         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
6623         AWTError.
6625 2003-06-06  Michael Koch  <konqueror@gmx.de>
6627         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6628         More compile fixes from my stupid work yesterday.
6630 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
6632         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
6633         if _IEEE_LIBM is undefined.
6635 2003-06-05  Loren J. Rittle  <ljrittle@acm.org>
6637         * libjava/include/posix.h (O_SYNC): Define if not available
6638         and a reasonable, perhaps more conservative, replacement exists.
6639         (O_DSYNC): Likewise.
6640         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
6642 2003-06-05  Michael Koch  <konqueror@gmx.de>
6644         * javax/swing/plaf/BorderUIResource.java,
6645         javax/swing/plaf/basic/BasicDefaults.java,
6646         javax/swing/plaf/basic/BasicOptionPaneUI.java:
6647         More compile fixes for latest Border commit. I should not commit
6648         something in this heat here ...
6650 2003-06-05  Michael Koch  <konqueror@gmx.de>
6652         * javax/swing/border/BevelBorder.java
6653         (BevelBorder): Removed.
6654         * javax/swing/border/EmptyBorder.java:
6655         Reformatted.
6656         (EmptyBorder): Removed.
6657         (getBorderInsets): Dont use l, r, t and b.
6658         * javax/swing/border/EtchedBorder.java
6659         (EtchedBorder): Removed.
6660         * javax/swing/border/LineBorder.java
6661         (LineBorder): Removed.
6662         * javax/swing/border/MatteBorder.java
6663         (MatteBorder): Removed.
6664         * javax/swing/border/TitledBorder.java
6665         (defaultBorder): Use other default for now.
6666         (defaultFont): Likewise.
6667         (defaultColor): Likewise.
6669 2003-06-05  Michael Koch  <konqueror@gmx.de>
6671         * javax/swing/border/Border.java:
6672         New version from classpath.
6674 2003-06-05  Michael Koch  <konqueror@gmx.de>
6676         * javax/swing/border/AbstractBorder.java,
6677         javax/swing/border/BevelBorder.java,
6678         javax/swing/border/CompoundBorder.java,
6679         javax/swing/border/EmptyBorder.java,
6680         javax/swing/border/EtchedBorder.java,
6681         javax/swing/border/LineBorder.java,
6682         javax/swing/border/MatteBorder.java,
6683         javax/swing/border/TitledBorder.java:
6684         New versions from Classpath.
6686 2003-06-05  Michael Koch  <konqueror@gmx.de>
6688         * java/awt/Button.java,
6689         java/awt/Checkbox.java,
6690         java/awt/CheckboxMenuItem.java,
6691         java/awt/Choice.java,
6692         java/awt/Container.java,
6693         java/awt/Dialog.java,
6694         java/awt/EventQueue.java,
6695         java/awt/FileDialog.java,
6696         java/awt/Frame.java,
6697         java/awt/Label.java,
6698         java/awt/List.java,
6699         java/awt/Menu.java,
6700         java/awt/MenuItem.java,
6701         java/awt/Panel.java,
6702         java/awt/PopupMenu.java,
6703         java/awt/Rectangle.java,
6704         java/awt/ScrollPane.java,
6705         java/awt/Scrollbar.java,
6706         java/awt/TextArea.java,
6707         java/awt/TextField.java,
6708         java/awt/Window.java,
6709         java/awt/datatransfer/DataFlavor.java,
6710         java/awt/dnd/DragSource.java,
6711         java/awt/dnd/DragSourceContext.java,
6712         java/awt/event/HierarchyEvent.java,
6713         java/awt/event/MouseWheelEvent.java,
6714         java/awt/im/InputContext.java,
6715         java/awt/image/BufferedImage.java,
6716         java/awt/image/ComponentColorModel.java,
6717         java/awt/image/Raster.java,
6718         java/awt/image/WritableRaster.java,
6719         java/awt/peer/ComponentPeer.java,
6720         java/awt/print/PageFormat.java,
6721         java/awt/print/PrinterJob.java:
6722         New versions from Classpath.
6724 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
6726         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
6727         numberFormat.setParseIntegerOnly(true).
6729 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
6731         * include/posix-threads.h: Include <machine/pal.h> on OSF.
6733 2003-06-03  Andrew Haley  <aph@redhat.com>
6735         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
6736         stack volatile to prevent optimization from removing it.
6738 2003-05-27  Michael Koch  <konqueror@gmx.de>
6740         * java/util/zip/Deflater.java
6741         (FILTERED): Merged documentation from classpath.
6742         * java/util/zip/DeflaterOutputStream.java
6743         (DeflaterOutputStream): Merged documentation and argument validity
6744         check from classpath.
6745         (deflate): Merged documentation from classpath.
6746         (finish): Likewise.
6747         * java/util/zip/Inflater.java
6748         (Inflater): Merged class documentation from classpath.
6749         (zstream): Reordered.
6750         (is_finished): Reordered.
6751         (dict_needed): Reordered.
6752         (Inflater): Reordered, merged documentation from classpath.
6753         (end): Likewise.
6754         (finalize): Merged documentation from classpath.
6755         (finished): Likewise.
6756         (getAdler): Likewise.
6757         (getRemaining): Likewise.
6758         (getTotalIn): Likewise.
6759         (getTotalOut): Likewise.
6760         (inflate): Likewise.
6761         (needsDictionary): Likewise.
6762         (needsInput): Likewise.
6763         (reset): Likewise.
6764         (setDictionary): Likewise.
6765         (setInput): Likewise.
6767 2003-05-27  Michael Koch  <konqueror@gmx.de>
6769         * java/net/URLConnection.java
6770         (getHeaderFieldInt): Merged with classpath.
6772 2003-05-27  Michael Koch  <konqueror@gmx.de>
6774         * java/io/PrintStream.java
6775         (PrintStream): Reformatted.
6776         (PrintStream): New method, merged from classpath.
6777         (write): Reformatted.
6779 2003-05-27  Michael Koch  <konqueror@gmx.de>
6781         * java/lang/System.java:
6782         Explicitely import needed classes.
6784 2003-05-26  Michael Koch  <konqueror@gmx.de>
6786         * java/net/NetPermission.java,
6787         java/net/NetworkInterface.java,
6788         java/net/PasswordAuthentication.java,
6789         java/net/SocketPermission.java:
6790         New versions from classpath.
6792 2003-05-25  Michael Koch  <konqueror@gmx.de>
6794         * java/io/PushbackInputStream.java,
6795         java/net/Authenticator.java,
6796         java/net/ContentHandler.java,
6797         java/net/ContentHandlerFactory.java,
6798         java/net/DatagramSocket.java,
6799         java/net/DatagramSocketImpl.java,
6800         java/net/DatagramSocketImplFactory.java,
6801         java/net/FileNameMap.java,
6802         java/net/SocketImplFactory.java,
6803         java/net/SocketOptions.java,
6804         java/net/URLStreamHandlerFactory.java:
6805         Merged new versions from classpath.
6807 2003-05-25  Michael Koch  <konqueror@gmx.de>
6809         * java/awt/Checkbox.java,
6810         java/awt/Dialog.java,
6811         java/awt/Font.java,
6812         java/awt/Frame.java,
6813         java/awt/ScrollPaneAdjustable.java,
6814         java/awt/Scrollbar.java,
6815         java/awt/Window.java:
6816         New versions from classpath.
6818 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
6820         PR libgcj/10838:
6821         * java/io/ObjectInputStream (enableResolveObject):
6822         Fixed spelling of permission name.
6824 2003-05-20  Michael Koch  <konqueror@gmx.de>
6826         * java/io/DataInputStream.java
6827         (convertFromUTF): Merged comment from classpath.
6828         * java/io/PrintStream.java
6829         (error_occured): Renamed from error, merged comment from classpath.
6830         (PrintStream): No need to initialized error.
6831         (checkError): Replace error with error_occurred.
6832         (setError): Likewise.
6834 2003-05-20  Michael Koch  <konqueror@gmx.de>
6836         * java/io/DataInputStream.java:
6837         Reformatted, Replaced < and & with html entitites in documentation.
6838         * java/io/File.java:
6839         Reformatted.
6840         * java/io/PrintWriter.java:
6841         Moved class documentation.
6843 2003-05-20  Michael Koch  <konqueror@gmx.de>
6845         * gnu/java/nio/ByteBufferImpl.java,
6846         gnu/java/nio/CharBufferImpl.java,
6847         gnu/java/nio/CharViewBufferImpl.java,
6848         gnu/java/nio/DirectByteBufferImpl.java,
6849         gnu/java/nio/DoubleBufferImpl.java,
6850         gnu/java/nio/DoubleViewBufferImpl.java,
6851         gnu/java/nio/FloatBufferImpl.java,
6852         gnu/java/nio/FloatViewBufferImpl.java,
6853         gnu/java/nio/IntBufferImpl.java,
6854         gnu/java/nio/IntViewBufferImpl.java,
6855         gnu/java/nio/LongBufferImpl.java,
6856         gnu/java/nio/LongViewBufferImpl.java,
6857         gnu/java/nio/natDirectByteBufferImpl.cc,
6858         gnu/java/nio/ShortBufferImpl.java,
6859         gnu/java/nio/ShortViewBufferImpl.java:
6860         Moved files to java/nio.
6861         * gnu/java/nio/SocketChannelImpl.java
6862         
6863         * java/nio/ByteBuffer.java,
6864         java/nio/CharBuffer.java,
6865         java/nio/DoubleBuffer.java,
6866         java/nio/FloatBuffer.java,
6867         java/nio/IntBuffer.java,
6868         java/nio/LongBuffer.java,
6869         java/nio/ShortBuffer.java:
6870         Dont import anything.
6871         * java/nio/ByteBufferImpl.java,
6872         java/nio/CharBufferImpl.java,
6873         java/nio/CharViewBufferImpl.java,
6874         java/nio/DirectByteBufferImpl.java,
6875         java/nio/DoubleBufferImpl.java,
6876         java/nio/DoubleViewBufferImpl.java,
6877         java/nio/FloatBufferImpl.java,
6878         java/nio/FloatViewBufferImpl.java,
6879         java/nio/IntBufferImpl.java,
6880         java/nio/IntViewBufferImpl.java,
6881         java/nio/LongBufferImpl.java,
6882         java/nio/LongViewBufferImpl.java,
6883         java/nio/natDirectByteBufferImpl.cc,
6884         java/nio/ShortBufferImpl.java,
6885         java/nio/ShortViewBufferImpl.java:
6886         Moved from gnu/java/nio.
6887         * Makefile.am
6888         (ordinary_java_source_files): Moved files from gnu/java/nio to
6889         java/nio.
6890         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
6891         to java/nio.
6892         * Makefile.in: Regenerated.
6894 2003-05-19  Michael Koch  <konqueror@gmx.de>
6896         * java/util/Calendar.java
6897         (get): Not final anymore since JDK 1.4
6898         (set): Likewise.
6900 2003-05-19  Michael Koch  <konqueror@gmx.de>
6902         * java/text/CollationKey.java:
6903         Merged copyright and dat from classpath.
6904         * java/text/RuleBasedCollator.java:
6905         Merged class documentation from classpath.
6907 2003-05-19  Michael Koch  <konqueror@gmx.de>
6909         * java/nio/CharBuffer.java
6910         (toString): Compile fix.
6912 2003-05-19  Michael Koch  <konqueror@gmx.de>
6914         * gnu/java/nio/ByteBufferImpl.java
6915         (putLong): Fixed conversion to bytes.
6916         (putDouble): Fixed conversion to bytes.
6917         * gnu/java/nio/DirectByteBufferImpl.java
6918         (putLong): Fixed conversion to bytes.
6919         (putDouble): Fixed conversion to bytes.
6920         * gnu/java/nio/FileLockImpl.java
6921         (isValid): Reformatted.
6922         * java/nio/Buffer.java
6923         (Buffer): Fixed off-by-one bug in handling mark.
6924         * java/nio/ByteBuffer.java:
6925         Added newline.
6926         * java/nio/CharBuffer.java
6927         (toString): Don't use relative get to get string data.
6929 2003-05-16  Michael Koch  <konqueror@gmx.de>
6931         * java/io/natFileDescriptorPosix.cc
6932         (open): Commented out the O_SYNC and O_DSYNC usage until its better
6933         tested.
6935 2003-05-14  Michael Koch  <konqueror@gmx.de>
6937         * gnu/java/nio/FileLockImpl.java
6938         (released): New member variable.
6939         (FileLockImpl): Initialize released.
6940         (releaseImpl): New native method.
6941         (release): Implemented.
6942         * gnu/java/nio/SelectorImpl.java: Reformatted.
6943         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
6944         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
6945         (accept): Throws IOException.
6946         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
6947         (implConfigureBlocking): Throws IOException.
6948         (connect): Likewise.
6949         (read): Likewise.
6950         (write): Likewise.
6951         * gnu/java/nio/natFileLockImpl.cc: New file.
6952         * java/nio/channels/FileLock.java: Reformatted.
6953         * Makefile.am:
6954         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
6955         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
6956         * Makefile.in: Regenerated.
6958 2003-05-13  Michael Koch  <konqueror@gmx.de>
6960         * gnu/java/nio/CharViewBufferImpl.java
6961         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
6962         (get): Shift bits to the right direction.
6963         (put): Likewise.
6964         * gnu/java/nio/DoubleViewBufferImpl.java
6965         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
6966         (get): Shift bits to the right direction.
6967         (put): Likewise.
6968         * gnu/java/nio/FloatViewBufferImpl.java
6969         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
6970         (get): Shift bits to the right direction.
6971         (put): Likewise.
6972         * gnu/java/nio/IntViewBufferImpl.java
6973         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
6974         (get): Shift bits to the right direction.
6975         (put): Likewise.
6976         * gnu/java/nio/LongViewBufferImpl.java
6977         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
6978         (get): Shift bits to the right direction.
6979         (put): Likewise.
6980         * gnu/java/nio/ShortViewBufferImpl.java
6981         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
6982         (get): Shift bits to the right direction.
6983         (put): Likewise.
6985 2003-05-13  Michael Koch  <konqueror@gmx.de>
6987         * gnu/java/nio/natDirectByteBufferImpl.cc
6988         (allocateImpl): jlong -> RawData*.
6989         (freeImpl): Likewise.
6991 2003-05-13  Michael Koch  <konqueror@gmx.de>
6993         * java/nio/channels/FileChannel.java
6994         (MapMode.m): Made it package-private to match JDK 1.4.
6995         * java/nio/charset/Charset.java
6996         (decode): Made it final to match JDK 1.4.
6998 2003-05-13  Michael Koch  <konqueror@gmx.de>
7000        * java/io/FileDescriptor.java
7001        (SYNC): New constant.
7002        (DSYNC): Likewise.
7003        (getLength): Renamed from lenght() to match classpath's
7004        FileDescriptor.java.
7005        * java/io/RandomAccessFile.java
7006        (RandomAccessFile): Removed unneeded mode check, implemented mode
7007        "rws" and "rwd", merged documentation from classpath.
7008        (setLength): Reformatted.
7009        (length): Use new getLength() of FileDescriptor.
7010        * java/io/natFileDescriptorEcos.cc
7011        (getLength): Renamed from length().
7012        * java/io/natFileDescriptorPosix.cc
7013        (open): Implemented support for SYNC and DSYNC.
7014        (seek): Use getLength() instead of length().
7015        (getLength): Renamed from length().
7016        * java/io/natFileDescriptorWin32.cc
7017        (getLength): Renamed from length().
7018        (seek): Use getLength() instead of length().
7019        (available): Likewise.
7020        * gnu/java/nio/natFileChannelImpl.cc
7021        (size): Use getLength() instead of length().
7023 2003-05-13  Michael Koch  <konqueror@gmx.de>
7025         * gnu/java/nio/ByteBufferImpl.java
7026         (ByteBufferImpl): All constructors revised.
7027         (slice): Reimplemented.
7028         (duplicate): Reimplemented.
7029         (asReadOnlyBuffer): Reimplemented.
7030         * java/nio/ByteBuffer.java:
7031         Reformatted.
7032         (array_offset): Renamed from "offset" to match all other buffer
7033         classes.
7034         (ByteBuffer): All constructors revised.
7035         (allocateDirect): Implemented.
7036         (allocate): New implementation, documentation reworked.
7037         (wrap): Likewise.
7038         (get): Documentation reworked.
7039         (put): New implementation, documentation reworked.
7040         (hasArray): Documentation reworked.
7041         (arrayOffset): Likewise.
7042         (hashCode): Likewise.
7043         (equals): Likewise.
7044         (compareTo): Likewise.
7045         (order): Likewise.
7046         (compact): Likewise.
7047         (isDirect): Likewise.
7048         (slice): Likewise.
7049         (duplicate): Likewise.
7050         (asReadOnlyBuffer): Likewise.
7051         * Makefile.am
7052         (ordinary_java_source_files):
7053         Added gnu/java/nio/DirectByteBufferImpl.java.
7054         (nat_source_files):
7055         Added gnu/java/nio/natDirectByteBufferImpl.cc.
7056         * Makefile.in: Regenerated.
7058 2003-05-12  Michael Koch  <konqueror@gmx.de>
7060         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
7061         (nio_get_*): Removed.
7062         (nio_put_*): Removed.
7063         (as*Buffer): Implemented.
7064         (compact): Implemented.
7065         (get): Documentation added.
7066         (put): Documentation added.
7067         (get*): Newly implemented.
7068         (put*): Newly implemented.
7069         * gnu/java/nio/CharBufferImpl.java: Reformatted.
7070         (CharBufferImpl): Revised.
7071         (slice): New implementation.
7072         (duplicate): New implementation.
7073         (compact): New implementation.
7074         (asReadOnlyBuffer): New implementation.
7075         (get): Documentation revised.
7076         (order): Return native byte order.
7077         * gnu/java/nio/DirectByteBufferImpl.java
7078         (allocateDirect): objects can be null not 0.
7079         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
7080         (DoubleBufferImpl): Revised.
7081         (slice): New implementation.
7082         (duplicate): New implementation.
7083         (compact): New implementation.
7084         (asReadOnlyBuffer): New implementation.
7085         (get): Documentation revised.
7086         (order): Return native byte order.
7087         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
7088         (FloatBufferImpl): Revised.
7089         (slice): New implementation.
7090         (duplicate): New implementation.
7091         (compact): New implementation.
7092         (asReadOnlyBuffer): New implementation.
7093         (get): Documentation revised.
7094         (order): Return native byte order.
7095         * gnu/java/nio/IntBufferImpl.java: Reformatted.
7096         (IntBufferImpl): Revised.
7097         (slice): New implementation.
7098         (duplicate): New implementation.
7099         (compact): New implementation.
7100         (asReadOnlyBuffer): New implementation.
7101         (get): Documentation revised.
7102         (order): Return native byte order.
7103         * gnu/java/nio/LongBufferImpl.java: Reformatted.
7104         (LongBufferImpl): Revised.
7105         (slice): New implementation.
7106         (duplicate): New implementation.
7107         (compact): New implementation.
7108         (asReadOnlyBuffer): New implementation.
7109         (get): Documentation revised.
7110         (order): Return native byte order.
7111         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
7112         (ShortBufferImpl): Revised.
7113         (slice): New implementation.
7114         (duplicate): New implementation.
7115         (compact): New implementation.
7116         (asReadOnlyBuffer): New implementation.
7117         (get): Documentation revised.
7118         (order): Return native byte order.
7119         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
7120         (CharBuffer): Revised.
7121         (order): Removed.
7122         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
7123         (DoubleBuffer): Revised.
7124         (allocateDirect): Removed.
7125         (order): Removed.
7126         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
7127         (FloatBuffer): Revised.
7128         (allocateDirect): Removed.
7129         (order): Removed.
7130         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
7131         (IntBuffer): Revised.
7132         (allocateDirect): Removed.
7133         (order): Removed.
7134         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
7135         (LongBuffer): Revised.
7136         (allocateDirect): Removed.
7137         (order): Removed.
7138         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
7139         (ShortBuffer): Revised.
7140         (allocateDirect): Removed.
7141         (order): Removed.
7142         * gnu/java/nio/natByteBufferImpl.cc: Removed.
7143         * gnu/java/nio/natCharBufferImpl.cc: Removed.
7144         * Makefile.am
7145         (ordinary_java_source_files): Added the following files:
7146         gnu/java/nio/CharViewBufferImpl.java,
7147         gnu/java/nio/DoubleViewBufferImpl.java,
7148         gnu/java/nio/FloatViewBufferImpl.java,
7149         gnu/java/nio/IntViewBufferImpl.java,
7150         gnu/java/nio/LongViewBufferImpl.java,
7151         gnu/java/nio/ShortViewBufferImpl.java
7152         (nat_source_files): Removed the following files:
7153         gnu/java/nio/natByteBufferImpl.cc,
7154         gnu/java/nio/natCharBufferImpl.cc
7155         * Makefile.in: Regenerated.
7157 2003-05-12  Michael Koch  <konqueror@gmx.de>
7159         * gnu/java/nio/CharViewBufferImpl.java,
7160         gnu/java/nio/DirectByteBufferImpl.java,
7161         gnu/java/nio/DoubleViewBufferImpl.java,
7162         gnu/java/nio/FloatViewBufferImpl.java,
7163         gnu/java/nio/IntViewBufferImpl.java,
7164         gnu/java/nio/LongViewBufferImpl.java,
7165         gnu/java/nio/ShortViewBufferImpl.java,
7166         gnu/java/nio/natDirectByteBufferImpl.cc:
7167         New files, not yet to be compiled.
7169 2003-05-10  Michael Koch  <konqueror@gmx.de>
7171         * javax/swing/plaf/ButtonUI.java,
7172         javax/swing/plaf/ColorUIResource.java,
7173         javax/swing/plaf/ComponentUI.java,
7174         javax/swing/plaf/DimensionUIResource.java,
7175         javax/swing/plaf/FontUIResource.java,
7176         javax/swing/plaf/IconUIResource.java,
7177         javax/swing/plaf/InsetsUIResource.java,
7178         javax/swing/plaf/LabelUI.java,
7179         javax/swing/plaf/ListUI.java,
7180         javax/swing/plaf/OptionPaneUI.java,
7181         javax/swing/plaf/PanelUI.java,
7182         javax/swing/plaf/TabbedPaneUI.java,
7183         javax/swing/plaf/TextUI.java,
7184         javax/swing/plaf/TreeUI.java,
7185         javax/swing/plaf/ViewportUI.java,
7186         javax/swing/plaf/basic/BasicBorders.java,
7187         javax/swing/plaf/basic/BasicButtonUI.java,
7188         javax/swing/plaf/basic/BasicCheckBoxUI.java,
7189         javax/swing/plaf/basic/BasicDefaults.java,
7190         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7191         javax/swing/plaf/basic/BasicIconFactory.java,
7192         javax/swing/plaf/basic/BasicLabelUI.java,
7193         javax/swing/plaf/basic/BasicListUI.java,
7194         javax/swing/plaf/basic/BasicOptionPaneUI.java,
7195         javax/swing/plaf/basic/BasicPanelUI.java,
7196         javax/swing/plaf/basic/BasicRadioButtonUI.java,
7197         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7198         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7199         javax/swing/plaf/basic/BasicTextUI.java,
7200         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7201         javax/swing/plaf/basic/BasicTreeUI.java,
7202         javax/swing/plaf/basic/BasicViewportUI.java,
7203         javax/swing/plaf/metal/MetalLookAndFeel.java:
7204         New versions from classpath. This adds copyrights to all files and
7205         some serialVersionUIDs.
7207 2003-05-10  Michael Koch  <konqueror@gmx.de>
7209         * java/nio/CharBuffer.java
7210         (offset): Make it package-private.
7211         (backing_buffer): Likewise.
7212         * java/nio/DoubleBuffer.java
7213         (offset): Make it package-private.
7214         (backing_buffer): Likewise.
7215         (put): Reformatted.
7216         * java/nio/FloatBuffer.java
7217         (offset): Make it package-private.
7218         (backing_buffer): Likewise.
7219         * java/nio/IntBuffer.java
7220         (offset): Make it package-private.
7221         (backing_buffer): Likewise.
7222         * java/nio/LongBuffer.java
7223         (offset): Make it package-private.
7224         (backing_buffer): Likewise.
7225         * java/nio/ShortBuffer.java
7226         (offset): Make it package-private.
7227         (backing_buffer): Likewise.
7229 2003-05-10  Michael Koch  <konqueror@gmx.de>
7231         * java/nio/CharBuffer.java
7232         (put): Fixed precondtion check.
7233         (toString): Make it work without backing array.
7234         (put): Skip one level of method calling.
7236 2003-05-10  Michael Koch  <konqueror@gmx.de>
7238         * java/security/Identity.java,
7239         java/security/IdentityScope.java,
7240         java/security/Key.java,
7241         java/security/KeyPair.java,
7242         java/security/PrivateKey.java,
7243         java/security/Provider.java,
7244         java/security/PublicKey.java,
7245         java/security/SecureRandom.java,
7246         java/security/SecureRandomSpi.java,
7247         java/security/SignedObject.java,
7248         java/security/Signer.java,
7249         java/security/cert/Certificate.java,
7250         java/security/cert/PKIXCertPathBuilderResult.java,
7251         java/security/cert/X509Certificate.java:
7252         New versions from classpath.
7254 2003-05-09  Tom Tromey  <tromey@redhat.com>
7256         * Makefile.in: Rebuilt.
7257         * Makefile.am (nat_source_files): Removed old files.
7258         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
7259         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
7260         * gnu/java/nio/natIntBufferImpl.cc: Removed.
7261         * gnu/java/nio/natLongBufferImpl.cc: Removed.
7262         * gnu/java/nio/natShortBufferImpl.cc: Removed.
7264 2003-05-09  Michael Koch  <konqueror@gmx.de>
7266         * gnu/java/nio/ByteBufferImpl.java
7267         (nio_cast): Removed.
7268         (ByteBufferImpl): Removed.
7269         (nio_get_Byte): Removed.
7270         (nio_put_Byte): Removed.
7271         (asByteBuffer): Removed.
7272         (asCharBuffer): Removed implementation and throw exception.
7273         (asShortBuffer): Likewise.
7274         (asIntBuffer): Likewise.
7275         (asLongBuffer): Likewise.
7276         (asFloatBuffer): Likewise.
7277         (asDoubleBuffer): Likewise.
7278         * gnu/java/nio/CharBufferImpl.java
7279         (CharBufferImpl): Removed.
7280         (nio_get_Byte): Removed.
7281         (nio_put_Byte): Removed.
7282         (asByteBuffer): Removed.
7283         * gnu/java/nio/DoubleBufferImpl.java
7284         (DoubleBufferImpl): Removed.
7285         (nio_get_Byte): Removed.
7286         (nio_put_Byte): Removed.
7287         (asByteBuffer): Removed.
7288         * gnu/java/nio/FloatBufferImpl.java
7289         (FloatBufferImpl): Removed.
7290         (nio_get_Byte): Removed.
7291         (nio_put_Byte): Removed.
7292         (asByteBuffer): Removed.
7293         * gnu/java/nio/IntBufferImpl.java
7294         (IntBufferImpl): Removed.
7295         (nio_get_Byte): Removed.
7296         (nio_put_Byte): Removed.
7297         (asByteBuffer): Removed.
7298         * gnu/java/nio/LongBufferImpl.java
7299         (LongBufferImpl): Removed.
7300         (nio_get_Byte): Removed.
7301         (nio_put_Byte): Removed.
7302         (asByteBuffer): Removed.
7303         * gnu/java/nio/ShortBufferImpl.java
7304         (ShortBufferImpl): Removed.
7305         (nio_get_Byte): Removed.
7306         (nio_put_Byte): Removed.
7307         (asByteBuffer): Removed.
7308         * gnu/java/nio/natByteBufferImpl.cc
7309         (nio_cast): Removed.
7310         (nio_get_Byte): Removed.
7311         (nio_put_Byte): Removed.
7312         * gnu/java/nio/natCharBufferImpl.cc
7313         (nio_get_Byte): Removed.
7314         (nio_put_Byte): Removed.
7316 2003-05-09  Michael Koch  <konqueror@gmx.de>
7318         * java/net/JarURLConnection.java
7319         (getJarEntry): Merged documentation from classpath.
7320         (getJarFile): Likewise.
7321         (getMainAttributes): Likewise.
7322         (getAttributes): Likewise.
7323         (getManifest): Likewise.
7324         (getCertificates): Reformatted.
7325         * java/net/URLConnection.java:
7326         Little classpath merge.
7328 2003-05-09  Michael Koch  <konqueror@gmx.de>
7330         * java/io/DataOutputStream.java
7331         (writeShort): Made it synchronized.
7332         (writeChar): Likewise.
7333         (writeInt): Likewise.
7334         (writeLong): Liekwise.
7335         (writeUTF): Made it synchronized, renamed argument to match classpath.
7336         * java/io/InputStreamReader.java
7337         (converter): Added documentation.
7338         (read): Merged documentation from classpath.
7339         * java/io/OutputStreamWriter.java
7340         (OutputStreamWriter): Merged documentation from classpath.
7341         (close): Reformatted.
7342         (getEncoding): Likewise.
7343         (flush): Likewise.
7344         (write): Merged documentation from classpath, reformatted.
7346 2003-05-08  Tom Tromey  <tromey@redhat.com>
7348         * configure.host <powerpc64*-*>: Set with_libffi_default and
7349         libgcj_interpreter to "yes".
7351 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
7353         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
7354         
7355 2003-05-06  Tom Tromey  <tromey@redhat.com>
7357         * verify.cc: Reverted previous patch.
7359 2003-05-06  Michael Koch  <konqueror@gmx.de>
7361         * java/io/DataOutputStream.java
7362         (write): Renamed argument to "value", merged documentation from
7363         classpath.
7364         (writeBoolean): Likewise.
7365         (writeByte): Likewise.
7366         (writeShort): Likewise.
7367         (writeChar): Likewise.
7368         (writeInt): Likewise.
7369         (writeLong): Likewise.
7370         (writeFloat): Likewise.
7371         (writeDouble): Likewise.
7372         (writeBytes): Likewise.
7373         (writeChars): Likewise.
7374         (writeUTF): Likewise.
7375         * java/io/File.java
7376         (performDelete): Added documentation.
7377         (performList): Likewise.
7378         (performMkdir): Likewise.
7379         (performSetReadOnly): Likewise.
7380         (performRenameTo): Likewise.
7381         (performSetLastModified): Likewise.
7382         (delete): Made it sychronized.
7383         (renameTo): Made it sychronized.
7384         (equals): Reformatted.
7385         (isHidden): Likewise.
7386         (listFiles): Likewise.
7387         (setReadOnly): Likewise.
7388         (listRoots): Likewise.
7389         (setLastModified): Likewise.
7390         (checkRead): Likewise.
7391         (checkWrite): Likewise.
7392         * java/io/FileInputStream.java
7393         (skip): Made it sychronized, merged from classpath.
7394         * java/io/FileOutputStream.java
7395         (write): Merged from classpath.
7396         * java/io/InputStreamReader.java:
7397         (InputStreamReader): Merged documentation from classpath.
7399 2003-05-05  Michael Koch  <konqueror@gmx.de>
7401         * java/net/NetworkInterface.java
7402         (networkInterfaces): Removed.
7403         (getByName): Use getRealNetworkInterfaces() instead of
7404         networkInterfaces.
7405         (getByInetAddress): Likewise.
7406         (getNetworkInterfaces): Likewise.
7407         (toString): Fix output of addresses of an interface.
7409 2003-05-05  Michael Koch  <konqueror@gmx.de>
7411         * java/io/DataInputStream.java:
7412         Merged new documentation from classpath.
7414 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
7416         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
7417         "version".
7418         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
7419         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
7420         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
7421         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
7422         * gnu/awt/gtk/GtkMainThread.java: Likewise.
7423         * gnu/awt/gtk/GtkToolkit.java: Likewise.
7424         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
7425         * java/security/Key.java: Likewise.
7426         * java/security/PrivateKey.java: Likewise.
7427         * java/security/Provider.java: Likewise.
7428         * java/security/PublicKey.java: Likewise.
7430 2003-05-02  Michael Koch  <konqueror@gmx.de>
7432         * java/net/URI.java
7433         (create): Doesnt throws any exceptions.
7434         * java/net/URLConnection.java
7435         (URLConnection): Commend added.
7436         (getExpiration): The header field is called "expires" not
7437         "expiration".
7438         (getHeaderField): Merged documentation with classpath.
7439         (getHeaderFieldInt): Likewise.
7440         (getHeaderFieldDate): Likewise.
7441         (getHeaderFieldKey): Likewise.
7442         (getPermission): Likewise.
7443         (setDefaultUseCaches): Likewise.
7444         (setRequestProperty): Likewise.
7445         (addRequestProperty): Likewise.
7446         (getRequestProperty): Likewise.
7447         (getRequestProperties): Likewise.
7448         (setDefaultRequestProperty): Likewise.
7449         (getDefaultRequestProperty): Likewise.
7450         (guessContentTypeFromStream): Likewise.
7451         (getFileNameMap): Likewise.
7452         (setFileNameMap): Likewise.
7453         (setDoInput): Merged implementation and documentation with classpath.
7454         (setDoOutput): Likewise.
7455         (setAllowUserInteraction): Likewise.
7456         (setDefaultAllowUserInteraction): Likewise.
7457         (setContentHandlerFactory): Made it synchronized, merged documentation
7458         with classpath.
7459         (guessContentTypeFromName): Renamed argument fname to filename to
7460         match classpath, merged documentation with classpath.
7462 2003-05-02  Michael Koch  <konqueror@gmx.de>
7464         * java/net/JarURLConnection.java
7465         (JarURLConnection): Class documentation merged with classpath.
7466         (getJarFileURL): Moved and documentation merged with classpath.
7467         (getEntryName): Likewise.
7468         (JarURLConnection): Documentation merged with classpath.
7469         (getJarEntry): Likewise.
7470         (getJarFile): Likewise.
7471         * java/net/PlainDatagramSocketImpl.java:
7472         Class documentation moved.
7473         * java/net/URLConnection.java
7474         (fileNameMap): Moved and documentation merged with classpath.
7475         (factory): Likewise.
7476         (defaultAllowUserInteraction): Likewis.
7477         (defaultUseCaches): Likewise.
7478         (allowUserInteraction): Likewise.
7479         (connected): Likewise.
7480         (url): Likewise.
7481         (connect): Documentation merged with classpath.
7482         (getURL): Likewise.
7483         (getContentLength): Likewise.
7484         (getContentType): Likewise.
7485         (getContentEncoding): Likewise.
7486         (getExpiration): Likewise.
7487         (getDate): Likewise.
7488         (getLastModified): Likewise.
7489         (getHeaderField): Likewise.
7490         (getContent): Likewise.
7491         (getPermission): Likewise.
7492         (getInputStream): Likewise.
7493         (getOutputStream): Likewise.
7494         (toString): Likewise.
7495         (getDoInput): Likewise.
7496         (getDoOutput): Likewise.
7497         (setAllowUserInteraction): Likewise.
7498         (getAllowUserInteraction): Likewise.
7499         (setDefaultAllowUserInteraction): Likewise.
7500         (getDefaultAllowUserInteraction): Likewise.
7501         (setUseCaches): Likewise.
7502         (getUseCaches): Likewise.
7503         (setIfModifiedSince): Likewise.
7504         (getIfModifiedSince): Likewise.
7505         (setDefaultRequestProperty): Likewise.
7506         (getDefaultRequestProperty): Likewise.
7507         (setContentHandlerFactory): Likewise.
7508         (setFileNameMap): Likewise.
7510 2003-05-02  Michael Koch  <konqueror@gmx.de>
7512         * java/net/InetAddress.java:
7513         Merged class documentation with classpath.
7514         * java/net/JarURLConnection.java:
7515         Explicitely import all used classes.
7516         * java/net/URL.java:
7517         Reformatting.
7518         * java/net/ServerSocket.java,
7519         java/net/Socket.java:
7520         New versions from classpath.
7522 2003-05-02  Michael Koch  <konqueror@gmx.de>
7524         * gnu/java/nio/FileChannelImpl.java
7525         (read): New implementation.
7526         (implRead): New methods.
7527         (write): New implementation, call other write insteal of read method.
7528         (implWrite): New methods.
7529         (map): Added comment.
7530         (transferFrom): Implemented.
7531         (transferTo): Implemented.
7532         (lock): Added checks to throw exceptions.
7533         (truncate): Added check to throw exception.
7534         * gnu/java/nio/natFileChannelImpl.cc
7535         (implRead): New method.
7536         (implWrite): New method.
7537         * java/nio/ByteBuffer.java
7538         (hashCode): Fixed comment.
7539         (get): Fixed exception documentation.
7540         (put): Fixed exception documentation.
7541         * java/nio/CharBuffer.java:
7542         Added comment for later optimizations.
7544 2003-04-30  Tom Tromey  <tromey@redhat.com>
7546         PR libgcj/10582:
7547         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
7548         Removed.
7549         (type::compatible): Use _Jv_IsAssignableFrom.
7550         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
7551         (_Jv_IsAssignableFrom): Work even when source or target class is
7552         not prepared.
7554 2003-04-30  Michael Koch  <konqueror@gmx.de>
7556         * java/text/BreakIterator.java
7557         (clone): New method.
7559 2003-04-30  Michael Koch  <konqueror@gmx.de>
7561         * java/text/CollationElementIterator.java,
7562         java/text/CollationKey.java,
7563         java/text/RuleBasedCollator.java:
7564         Merged copyright and documentation from classpath and
7565         rearranged some code. No code changes done.
7567 2003-04-30  Michael Koch  <konqueror@gmx.de>
7569         * java/util/regex/Matcher.java
7570         (pattern): New member variable.
7571         (appendReplacement): New method.
7572         (appendTail): New method.
7573         (end): New method.
7574         (find): New method.
7575         (group): New method.
7576         (replaceFirst): Added documentation.
7577         (replaceAll): Added documentation.
7578         (groupCount): New method.
7579         (lookingAt): New method.
7580         (matches): New method.
7581         (reset): New method.
7582         (start): New method.
7583         * java/util/regex/Pattern.java
7584         (serialVersionUID): New constant.
7585         (CANON_EQ): New constant.
7586         (CASE_INSENSITIVE): New constant.
7587         (COMMENTS): New constant.
7588         (DOTALL): New constant.
7589         (MULTILINE): New constant.
7590         (UNICODE_CASE): New constant.
7591         (UNIX_LINES): New constant.
7592         (regex): New member variable.
7593         (flags): New member variable.
7594         (Pattern): New method.
7595         (compile): Documentation added.
7596         (flags): New method.
7597         (matches): Documentation added.
7598         (matcher): Documentation added.
7599         (split): Documentation added.
7600         (pattern): New method.
7602 2003-04-30  Michael Koch  <konqueror@gmx.de>
7604         * gnu/java/security/Engine.java,
7605         gnu/java/security/OID.java,
7606         gnu/java/security/der/BitString.java,
7607         gnu/java/security/der/DER.java,
7608         gnu/java/security/der/DERReader.java,
7609         gnu/java/security/der/DERValue.java,
7610         gnu/java/security/der/DERWriter.java,
7611         gnu/java/security/provider/DSAKeyFactory.java,
7612         gnu/java/security/provider/X509CertificateFactory.java,
7613         gnu/java/security/x509/X500DistinguishedName.java,
7614         gnu/java/security/x509/X509CRL.java,
7615         gnu/java/security/x509/X509CRLEntry.java,
7616         gnu/java/security/x509/X509Certificate.java,
7617         java/security/cert/CRLSelector.java,
7618         java/security/cert/CertPathBuilder.java,
7619         java/security/cert/CertPathBuilderResult.java,
7620         java/security/cert/CertPathBuilderSpi.java,
7621         java/security/cert/CertPathParameters.java,
7622         java/security/cert/CertPathValidator.java,
7623         java/security/cert/CertPathValidatorResult.java,
7624         java/security/cert/CertPathValidatorSpi.java,
7625         java/security/cert/CertSelector.java,
7626         java/security/cert/CertStore.java,
7627         java/security/cert/CertStoreParameters.java,
7628         java/security/cert/CertStoreSpi.java,
7629         java/security/cert/CollectionCertStoreParameters.java,
7630         java/security/cert/LDAPCertStoreParameters.java,
7631         java/security/cert/PKIXBuilderParameters.java,
7632         java/security/cert/PKIXCertPathBuilderResult.java,
7633         java/security/cert/PKIXCertPathChecker.java,
7634         java/security/cert/PKIXCertPathValidatorResult.java,
7635         java/security/cert/PKIXParameters.java,
7636         java/security/cert/PolicyNode.java,
7637         java/security/cert/PolicyQualifierInfo.java,
7638         java/security/cert/TrustAnchor.java,
7639         javax/security/auth/x500/X500Principal.java:
7640         New files from classpath.
7641         * gnu/java/io/ASN1ParsingException.java,
7642         gnu/java/io/Base64InputStream.java,
7643         gnu/java/security/der/DEREncodingException.java,
7644         gnu/java/security/provider/DSAParameters.java,
7645         gnu/java/security/provider/DSASignature.java,
7646         gnu/java/security/provider/Gnu.java,
7647         gnu/java/security/provider/GnuDSAPrivateKey.java,
7648         gnu/java/security/provider/GnuDSAPublicKey.java,
7649         java/security/AlgorithmParameterGenerator.java,
7650         java/security/AlgorithmParameters.java,
7651         java/security/KeyFactory.java,
7652         java/security/KeyPairGenerator.java,
7653         java/security/KeyStore.java,
7654         java/security/MessageDigest.java,
7655         java/security/SecureClassLoader.java,
7656         java/security/SecureRandom.java,
7657         java/security/Security.java,
7658         java/security/Signature.java,
7659         java/security/cert/Certificate.java,
7660         java/security/cert/CertificateFactory.java,
7661         java/security/cert/CertificateFactorySpi.java,
7662         java/security/cert/X509CRL.java,
7663         java/security/cert/X509Certificate.java,
7664         java/security/spec/DSAPublicKeySpec.java:
7665         New versions from classpath.
7666         * gnu/java/security/provider/DERReader.java,
7667         gnu/java/security/provider/DERWriter.java,
7668         java/security/Engine.java: Removed.
7669         * Makefile.am
7670         (java_source_files, javax_source_files): Added new files.
7671         * Makefile.in: Regenerated.
7673 2003-04-29  Michael Koch  <konqueror@gmx.de>
7675         * javax/swing/JTable.java
7676         (AUTO_RESIZE_ALL_COLUMNS): New constant.
7677         (AUTO_RESIZE_LAST_COLUMN): New constant.
7678         (AUTO_RESIZE_NEXT_COLUMN): New constant.
7679         (AUTO_RESIZE_OFF): New constant.
7680         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
7681         (JTable): New method.
7682         (columnAdded): New method.
7683         (columnMarginChanged): New method.
7684         (columnMoved): New method.
7685         (columnRemoved): New method.
7686         (columnSelectionChanged): New method.
7687         (editingCanceled): New method.
7688         (editingStopped): New method.
7689         (getColumnModel): New method.
7690         (getPreferredScrollableViewportSize): New method.
7691         (getScrollableBlockIncrement): New method.
7692         (getScrollableTracksViewportHeight): New method.
7693         (getScrollableTracksViewportWidth): New method.
7694         (getScrollableUnitIncrement): New method.
7695         (getSelectedRow): New method.
7696         (getSelectionModel): New method.
7697         (tableChanged): New method.
7698         (setModel): New method.
7699         (setSelectionMode): New method.
7700         (setSelectionModel): New method.
7701         (setShowGrid): New method.
7702         (valueChanged): New method.
7703         * javax/swing/text/DefaultEditorKit.java
7704         (backwardAction): New constant.
7705         (beepAction): New constant.
7706         (beginAction): New constant.
7707         (beginLineAction): New constant.
7708         (beginParagraphAction): New constant.
7709         (beginWordAction): New constant.
7710         (copyAction): New constant.
7711         (cutAction): New constant.
7712         (defaultKeyTypedAction): New constant.
7713         (deleteNextCharAction): New constant.
7714         (deletePrevCharAction): New constant.
7715         (downAction): New constant.
7716         (endAction): New constant.
7717         (endLineAction): New constant.
7718         (endOfLineStringProperty): New constant.
7719         (endParagraphAction): New constant.
7720         (endWordAction): New constant.
7721         (forwardAction): New constant.
7722         (insertBreakAction): New constant.
7723         (insertContentAction): New constant.
7724         (insertTabAction): New constant.
7725         (nextWordAction): New constant.
7726         (pageDownAction): New constant.
7727         (pageUpAction): New constant.
7728         (pasteAction): New constant.
7729         (previousWordAction): New constant.
7730         (readOnlyAction): New constant.
7731         (selectAllAction): New constant.
7732         (selectionBackwardAction): New constant.
7733         (selectionBeginAction): New constant.
7734         (selectionBeginLineAction): New constant.
7735         (selectionBeginParagraphAction): New constant.
7736         (selectionBeginWordAction): New constant.
7737         (selectionDownAction): New constant.
7738         (selectionEndAction): New constant.
7739         (selectionEndLineAction): New constant.
7740         (selectionEndParagraphAction): New constant.
7741         (selectionEndWordAction): New constant.
7742         (selectionForwardAction): New constant.
7743         (selectionNextWordAction): New constant.
7744         (selectionPreviousWordAction): New constant.
7745         (selectionUpAction): New constant.
7746         (selectLineAction): New constant.
7747         (selectParagraphAction): New constant.
7748         (selectWordAction): New constant.
7749         (upAction): New constant.
7750         (writableAction): New constant.
7752 2003-04-29  Michael Koch  <konqueror@gmx.de>
7754         * java/util/PropertyPermission.java:
7755         New version from classpath
7756         * java/util/ResourceBundle.java:
7757         Partly merged from classpath
7758         (getObject): Reformated.
7759         (tryBundle): Set foundBundle = null if no bundle found.
7761 2003-04-29  Michael Koch  <konqueror@gmx.de>
7763         * javax/swing/AbstractListModel.java,
7764         javax/swing/DefaultBoundedRangeModel.java,
7765         javax/swing/DefaultSingleSelectionModel.java:
7766         New Versions from classpath.
7768 2003-04-29  Michael Koch  <konqueror@gmx.de>
7770         * java/awt/Window.java
7771         (show): Call super.show() instead of setVisible() to avoid endless
7772         loop.
7773         (hide): Call super.hide() instead of setVisible() to avoid endless
7774         loop.
7776 2003-04-29  Michael Koch  <konqueror@gmx.de>
7778         * java/util/zip/Deflater.java,
7779         java/util/zip/DeflaterOutputStream.java:
7780         Partly merged with classpath.
7782 2003-04-27  Tom Tromey  <tromey@redhat.com>
7784         * java/lang/natString.cc (_Jv_AllocString): Initialize
7785         cachedHashCode.
7786         (init): Likewise.
7787         (_Jv_NewStringUtf8Const): Likewise.
7789 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
7791         * include/jvm.h: (_Jv_GetNbArgs) added
7792         (_Jv_GetSafeArg) added
7793         (_Jv_SetArgs) added
7794         * prims.cc: (_Jv_GetNbArgs) implemented
7795         (_Jv_GetSafeArg) implemented
7796         (_Jv_SetArgs) implemented
7797         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
7798         setting _Jv_argc and _Jv_argv
7799         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
7800         instead of _Jv_argv
7801         * java/lang/natRuntime.cc: (insertSystemProperties) use
7802         _Jv_GetSafeArg() instead of _Jv_argv
7804 2003-04-23  Tom Tromey  <tromey@redhat.com>
7806         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
7807         required by this object.  Search superclasses to find required
7808         alignment.
7809         (get_alignment_from_class): Use alignment of type as it appears
7810         in a struct.
7811         (ALIGNOF): New macro.
7812         (struct aligner): New helper structure.
7814 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
7816         * java/awt/Container.java (addImpl): Enable paint events if adding
7817         a lightweight to a heavyweight.
7818         (addNotify): Ensure that peer is created before
7819         addNotifyContainerChildren.
7820         (addNotifyContainerChildren): Enable paint events if a heavyweight
7821         container contains a lightweight.
7823 2003-04-20  Tom Tromey  <tromey@redhat.com>
7825         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
7826         java/io/DataInput.java, java/io/DataOutput.java: Imports from
7827         Classpath.
7829 2003-04-19  Tom Tromey  <tromey@redhat.com>
7831         * java/sql/Date.java, java/sql/DriverManager.java,
7832         java/sql/Time.java, java/sql/Timestamp.java: New versions from
7833         Classpath.
7835         * Makefile.in: Rebuilt.
7836         * Makefile.am (ordinary_java_source_files): Added new files.
7837         * java/security/AlgorithmParameterGenerator.java,
7838         java/security/AlgorithmParameters.java, java/security/Engine.java,
7839         java/security/Identity.java, java/security/IdentityScope.java,
7840         java/security/KeyFactory.java,
7841         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
7842         java/security/MessageDigest.java, java/security/Policy.java,
7843         java/security/ProtectionDomain.java,
7844         java/security/SecureRandom.java, java/security/Security.java,
7845         java/security/Signature.java, java/security/SignatureSpi.java,
7846         java/security/SignedObject.java, java/security/Signer.java,
7847         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
7848         java/security/spec/PSSParameterSpec.java,
7849         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
7850         java/security/spec/RSAOtherPrimeInfo.java: New versions from
7851         Classpath.
7853 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7855         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
7856         (dispose): Null metrics.
7857         * gnu/awt/xlib/XToolkit.java (sync): Implement.
7858         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
7859         finalize.
7860         (finalize): Call dispose.
7861         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
7862         (gcCachedCount): New field.
7863         (finalize): New method.
7864         (putGCInCache): New method.
7865         (getGCFromCache): New method.
7866         * gnu/gcj/xlib/GC.java (GC): Make protected.
7867         (clone): Get new GC from cache if possible.
7868         (create): New static method.
7869         (dispose): Save old GC in cache.
7870         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
7871         deleting.
7872         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
7873         is null.
7874         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
7875         * java/awt/Container.java (visitChild): Dispose gfx2 when
7876         finished.
7878 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
7880         * java/math/BigInteger.java (probablePrime): New.
7881         * java/math/BigDecimal.java (unscaledValue): New.
7883 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
7885         * java/io/File.java (getAbsolutePath): On Windows, take care
7886         of paths like "C:", "G:foo\bar", etc.
7887         (getName): Make it work correctly on Windows.
7888         (getParent): Make it work correctly on Windows. For UNIX,
7889         fix bug that causes "/" to be returned as the parent of "/",
7890         instead of null as returned by Sun's JRE.
7892         * java/io/natFileWin32.cc: Change copyright owner to FSF.
7894 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7896         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
7897         inner class.
7898         (CACHE_SIZE_PER_DISPLAY): New field
7899         (fontMetricsCache): New field
7900         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
7901         loading ISO10646-1 fonts.
7903 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7905         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
7906         characters.
7907         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
7908         characters.
7910 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
7912         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
7913         floating point.
7915 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
7917         * configure.host (*-linux*): Don't set slow_pthread_self if primary
7918         installed libpthread is either linuxthreads with floating stacks or
7919         NPTL.
7921 2003-04-14  Tom Tromey  <tromey@redhat.com>
7923         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
7924         of alignment.
7926 2003-04-10  Tom Tromey  <tromey@redhat.com>
7928         * verify.cc (pop64): Removed.
7929         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
7930         exception if top-of-stack is narrow.
7931         (initialize_stack): Check to ensure that <init> is not static and
7932         <clinit> is.
7934 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
7936         * java/io/ObjectStreamException
7937         * java/io/FileFilter
7938         * java/io/FilenameFilter
7939         * java/io/ObjectInput
7940         * java/io/ObjectOutput
7941         * java/io/ObjectStreamConstants
7942         Minor doc fixes, format fixes, spelling corrections, etc.
7943         * java/io/DataInput
7944         Corrected code samples in Javadocs to match reality
7945         * java/io/DataOutput
7946         * java/io/ObjectInputValidation
7947         Major documentation fixes - all Javadocs re-written or updated
7949 2003-04-06  Michael Koch  <konqueror@gmx.de>
7951         * java/net/URLConnection.java:
7952         Import classes directly.
7953         (URLConnection): Merged class documentation with classpath.
7954         (url): Moved, documentation from classpath added.
7955         (doInput): Moved, documentation from classpath added.
7956         (doOutput): Moved, documentation from classpath added.
7957         (allowUserInteraction): Moved.
7958         (useCaches): Moved, documentation from classpath added.
7959         (ifModifiedSince): Moved, documentation from classpath added.
7960         (connected): Moved, documentation from classpath added.
7962 2003-04-06  Michael Koch  <konqueror@gmx.de>
7964         * java/io/FileInputStream.java
7965         (skip): Renamed some variables to match classpath, added
7966         checks from classpath.
7968 2003-03-31  Michael Koch  <konqueror@gmx.de>
7970         * javax/swing/AbstractAction.java
7971         (AbstractAction): Reformatted.
7972         (serialVersionUID): New private member variable.
7973         * javax/swing/plaf/BorderUIResource.java
7974         (serialVersionUID): New private member variable.
7975         * javax/swing/plaf/basic/BasicLookAndFeel.java
7976         (serialVersionUID): New private member variable.
7978 2003-03-31  Michael Koch  <konqueror@gmx.de>
7980         * java/sql/Date.java
7981         (valueOf): Deprecated, reformatted.
7982         (toString): Deprecated, reformatted.
7983         * java/sql/Time.java
7984         (valueOf): Deprecated, reformatted.
7985         (toString): Deprecated, reformatted.
7987 2003-03-31  Michael Koch  <konqueror@gmx.de>
7989         * java/rmi/dgc/VMID.java
7990         (isUnique): Deprecated.
7992 2003-03-31  Michael Koch  <konqueror@gmx.de>
7994         * java/io/File.java
7995         (separator): Merged documentation from classpath.
7996         (separatorChar): Merged documentation from classpath.
7997         (pathSeparator): Merged documentation from classpath.
7998         (pathSeparatorChar): Merged documentation from classpath.
7999         (path): Merged documentation from classpath.
8000         (canRead): Merged documentation from classpath.
8001         (canWrite): Merged documentation from classpath.
8002         (createNewFile): Merged documentation from classpath.
8003         (delete): Merged documentation from classpath.
8004         (equals): Merged documentation from classpath.
8005         (exists): Merged documentation from classpath.
8006         (File): Renamed p to name to match classpath, merged documentation
8007         from classpath.
8008         (getAbsolutePath): Merged documentation from classpath.
8009         (getCanonicalPath): Merged documentation from classpath.
8010         (getCanonicalFile): Merged documentation from classpath.
8011         (getName): Merged documentation from classpath.
8012         (getParent): Merged documentation from classpath.
8013         (getParentFile): Merged documentation from classpath.
8014         (getPath): Merged documentation from classpath.
8015         (hashCode): Merged documentation from classpath.
8016         (isAbsolute): Merged documentation from classpath.
8017         (isDirectory): Merged documentation from classpath.
8018         (isFile): Merged documentation from classpath.
8019         (isHidden): Merged documentation from classpath.
8020         (lastModified): Merged documentation from classpath.
8021         (length): Merged documentation from classpath.
8022         (list): Merged documentation from classpath.
8023         (listFiles): Merged documentation from classpath.
8024         (toString): Merged documentation from classpath.
8025         (toURL): Merged documentation from classpath.
8026         (mkdir): Merged documentation from classpath.
8027         (mkdirs): Merged documentation from classpath.
8028         (createTempFile): Merged documentation from classpath.
8029         (setReadOnly): Merged documentation from classpath.
8030         (listRoots): Merged documentation from classpath.
8031         (compareTo): Merged documentation from classpath.
8032         (renameTo): Merged documentation from classpath.
8033         (setLastModified): Merged documentation from classpath.
8034         * java/io/PrintStream.java
8035         (auto_flush): Merged documentation from classpath.
8036         (PrintStream): Merged documentation from classpath.
8037         (checkError): Merged documentation from classpath.
8038         (setError): Merged documentation from classpath.
8039         (close): Merged documentation from classpath.
8040         (flush): Merged documentation from classpath.
8041         (print): Merged documentation from classpath.
8042         (println):  Merged documentation from classpath.
8043         (write): Renamed count to len to match classpath,
8044         merged documentation from classpath.
8045         * java/io/RandomAccessFile.java
8046         (readShort): Merged documentation from classpath.
8047         (readUnsignedByte): Merged documentation from classpath.
8048         (readUnsignedShort): Merged documentation from classpath.
8049         (readUTF): Merged documentation from classpath.
8050         (seek): Reformatted, merged documentation from classpath.
8051         (skipBytes): Renamed some variables to match classpath, reformatted,
8052         merged documentation from classpath.
8053         (write): Merged documentation from classpath.
8054         (writeBoolean): Merged documentation from classpath.
8055         (writeByte): Merged documentation from classpath.
8056         (writeShort): Merged documentation from classpath.
8057         (writeChar): Merged documentation from classpath.
8058         (writeInt): Merged documentation from classpath.
8059         (writeLong): Merged documentation from classpath.
8060         (writeFloat): Merged documentation from classpath.
8061         (writeDouble): Merged documentation from classpath.
8062         (writeBytes): Merged documentation from classpath.
8063         (writeChars): Merged documentation from classpath.
8064         (writeUTF): Reformatted.
8065         (getChannel): Reformatted.
8067 2003-03-31  Michael Koch  <konqueror@gmx.de>
8069         * java/awt/font/TextAttribute.java
8070         (readResolve): Throws java.io.InvalidObjectException.
8072 2003-03-31  Michael Koch  <konqueror@gmx.de>
8074         * java/rmi/server/LoaderHandler.java
8075         (loadClass): Deprecated.
8076         (getSecurityContext): Deprecated.
8077         * java/rmi/server/LogStream.java
8078         (getDefaultStream): Deprecated.
8079         (setDefaultStream): Deprecated.
8080         (getOutputStream): Deprecated.
8081         (setOutputStream): Deprecated.
8082         (write): Deprecated.
8083         (toString): Deprecated.
8084         (parseLevel): Deprecated.
8085         * java/rmi/server/Operation.java
8086         (Operation): Deprecated.
8087         (getOperation): Deprecated.
8088         (toString): Deprecated.
8089         * java/rmi/server/RemoteCall.java
8090         (getOutputStream): Deprecated.
8091         (releaseOutputStream): Deprecated.
8092         (getInputStream): Deprecated.
8093         (releaseInputStream): Deprecated.
8094         (getResultStream): Deprecated.
8095         (executeCall): Deprecated.
8096         (done): Deprecated.
8097         * java/rmi/server/RemoteRef.java
8098         (invoke): Deprecated.
8099         (newCall): Deprecated.
8100         (done): Deprecated.
8101         * java/rmi/server/RemoteStub.java
8102         (setRef): Deprecated.
8103         * java/rmi/server/Skeleton.java:
8104         No need to import java.lang.Exception explicitly.
8105         (dispatch): Deprecated.
8106         (getOperations): Deprecated.
8108 2003-03-31  Michael Koch  <konqueror@gmx.de>
8110         * java/rmi/dgc/VMID.java,
8111         java/rmi/registry/RegistryHandler.java,
8112         java/rmi/server/LogStream.java,
8113         java/rmi/server/Operation.java,
8114         java/rmi/server/RemoteCall.java,
8115         java/rmi/server/RemoteRef.java,
8116         java/rmi/server/RemoteStub.java:
8117         Reformatted.
8119 2003-03-31  Michael Koch  <konqueror@gmx.de>
8121         * javax/swing/AbstractCellEditor.java,
8122         javax/swing/AbstractListModel.java,
8123         javax/swing/ActionMap.java,
8124         javax/swing/BorderFactory.java,
8125         javax/swing/ButtonGroup.java,
8126         javax/swing/DefaultBoundedRangeModel.java,
8127         javax/swing/DefaultButtonModel.java,
8128         javax/swing/DefaultCellEditor.java,
8129         javax/swing/DefaultComboBoxModel.java,
8130         javax/swing/DefaultDesktopManager.java,
8131         javax/swing/DefaultListCellRenderer.java,
8132         javax/swing/DefaultSingleSelectionModel.java,
8133         javax/swing/InputMap.java,
8134         javax/swing/JComponent.java,
8135         javax/swing/JMenu.java,
8136         javax/swing/JSlider.java,
8137         javax/swing/KeyStroke.java,
8138         javax/swing/OverlayLayout.java,
8139         javax/swing/ScrollPaneLayout.java,
8140         javax/swing/SizeRequirements.java,
8141         javax/swing/UIManager.java,
8142         javax/swing/ViewportLayout.java,
8143         javax/swing/border/AbstractBorder.java,
8144         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8145         javax/swing/event/EventListenerList.java,
8146         javax/swing/table/AbstractTableModel.java,
8147         javax/swing/table/DefaultTableCellRenderer.java,
8148         javax/swing/table/DefaultTableColumnModel.java,
8149         javax/swing/table/DefaultTableModel.java,
8150         javax/swing/table/TableColumn.java,
8151         javax/swing/text/StyledEditorKit.java,
8152         javax/swing/tree/DefaultMutableTreeNode.java,
8153         javax/swing/tree/DefaultTreeModel.java,
8154         javax/swing/tree/DefaultTreeSelectionModel.java,
8155         javax/swing/tree/TreePath.java,
8156         javax/swing/undo/AbstractUndoableEdit.java,
8157         javax/swing/undo/StateEdit.java,
8158         javax/swing/undo/StateEditable.java,
8159         javax/swing/undo/UndoableEditSupport.java:
8160         Merges from classpath.
8162 2003-03-30  Tom Tromey  <tromey@redhat.com>
8164         * java/lang/String.java (data, boffset, count): Documented.
8165         (String(byte[],String)): Reformatted.
8166         (String(byte[])): Likewise.
8167         (lastIndexOf(int)): Likewise.
8168         (lastIndexOf(String)): Likewise.
8169         (substring(int)): Renamed argument to match Classpath.
8170         (String(StringBuffer)): Don't share buffer if it is nearly empty.
8172         * java/lang/String.java: Miscellaneous minor formatting changes
8173         to match Classpath more closely.
8175 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
8176             Tom Tromey  <tromey@redhat.com>
8178         * java/lang/natString.cc (hashCode): Use cachedHashCode.
8179         (init()): Removed.
8180         (charAt): Put index in exception.
8181         (contentEquals): New method.
8182         Include StringBuffer.h.
8183         * java/lang/String.java (cachedHashCode): New field.
8184         (String()): Follow classpath implementation.
8185         (init()): Removed.
8186         (contentEquals): Declare.
8187         (subSequence): Don't declare IndexOutIfBoundsException in throws
8188         clause.
8189         (matches, replaceFirst, replaceAll, split): New methods from
8190         Classpath.
8192 2003-03-29  Tom Tromey  <tromey@redhat.com>
8194         * java/lang/String.java: Reordered to follow Classpath; merged in
8195         javadoc.
8197         * java/text/MessageFormat.java: Removed some whitespace.
8199         * Makefile.in: Rebuilt.
8200         * Makefile.am (awt_java_source_files): Added new files.
8201         * gnu/javax/rmi/PortableServer.java,
8202         gnu/javax/rmi/CORBA/DelegateFactory.java,
8203         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
8204         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
8205         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
8206         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
8207         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
8208         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
8209         javax/rmi/PortableRemoteObject.java,
8210         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
8211         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8212         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
8213         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
8214         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
8215         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
8217         * java/lang/natClass.cc (newInstance): Put method name in
8218         exception.
8219         (getConstructor): Likewise.
8220         (getDeclaredConstructor): Likewise.
8221         (getPrivateMethod): Likewise.
8223 2003-03-28  Tom Tromey  <tromey@redhat.com>
8225         * java/lang/reflect/Proxy.java: New version from Classpath.
8226         * java/lang/Package.java: New version from Classpath.
8228 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
8230         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
8231         * configure: Regenerate.
8233 2003-03-28  Michael Koch  <konqueror@gmx.de>
8235         * java/io/File.java:
8236         Import needed classes instead of whole packages, merged class
8237         documentation with classpath, moved constants and variables to top of
8238         class.
8239         * java/io/PrintStream.java:
8240         Merged class documentation with classpath, moved constants and
8241         variables to top of class.
8242         * java/io/RandomAccessFile.java
8243         (RandomAccessFile): Merged with classpath.
8244         (read): Merged with classpath).
8245         (read*): Reformatted.
8247 2003-03-28  Michael Koch  <konqueror@gmx.de>
8249         * java/io/FileDescriptor.java
8250         (finalize): Throws Throwable, not IOException.
8251         * java/io/ObjectOutputStream.java
8252         (PutField.put): Doesnt throws anything.
8254 2003­03-28  Michael Koch  <konqueror@gmx.de>
8256         * java/io/FileOutputStream.java:
8257         Merged class documentation and authors with classpath.
8258         (FileOutputStream): Partly merged with classpath.
8259         (write): Merged with classpath.
8260         (getChannel): Make it synchronized instead of explicit block in this
8261         method.
8262         * java/io/RandomAccessFile.java:
8263         Merged class documentation and authors with classpath.
8265 2003-03-26  Tom Tromey  <tromey@redhat.com>
8267         * java/lang/natRuntime.cc (insertSystemProperties): Set
8268         gnu.classpath.home.url.
8269         * Makefile.in: Rebuilt.
8270         * Makefile.am: Define LIBDIR.
8272 2003-03-25  Michael Koch  <konqueror@gmx.de>
8274         * java/io/FileInputStream.java
8275         (read): Renamed b to buf and off to offset.
8276         * java/io/FileOutputStream.java
8277         (ch): Documentation added.
8278         (FileOutputStream): Documentation added.
8279         (getFD): Documentation added.
8280         (write): Documentation added.
8281         (close): Documentation added.
8282         (getChannel): Documentation added.
8284 2003-03-24  Michael Koch  <konqueror@gmx.de>
8286         * java/io/DataOutputStream.java
8287         (write): Merged from classpath.
8288         * java/io/File.java:
8289         Merged copyrigth with classpath.
8290         * java/io/FileInputStream.java
8291         (getChannel): Made it synchronized instead of using a synchronized
8292         block.
8293         * java/io/FileOutputStream.java: Reformatted.
8294         * java/io/InputStreamReader.java
8295         (InputStreamReader): Renamed enc to encoding_name.
8296         (close): Merged documentation from classpath.
8297         (getEncoding): Merged documentation from classpath.
8298         (ready): Merged documentation from classpath.
8299         (read): Merged documentation from classpath.
8300         * java/io/LineNumberReader.java
8301         (lineNumber): Made it private.
8302         (LineNumberReader): Use Constant instead of a direct value.
8303         * java/io/OutputStreamWriter.java
8304         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
8305         documentation from classpath.
8306         (close): Merged documentation from classpath.
8307         (flush): Merged documentation from classpath.
8308         (write): Merged documentation from classpath.
8309         * java/io/PrintStream.java: Reformatted.
8311 2003-03-24  Michael Koch  <konqueror@gmx.de>
8313         * javax/swing/text/ComponentView.java
8314         (getComponent): Must be final.
8315         * javax/swing/tree/DefaultTreeCellRenderer.java:
8316         Reformatted.
8317         * javax/swing/undo/StateEditable.java:
8318         Reformatted.
8320 2003-03-24  Michael Koch  <konqueror@gmx.de>
8322         * java/rmi/activation/ActivationInstantiator.java:
8323         Reformatted.
8324         * java/rmi/activation/Activator.java:
8325         Reformatted.
8326         * java/rmi/registry/RegistryHandler.java:
8327         Remerged from classpath.
8329 2003-03-24  Michael Koch  <konqueror@gmx.de>
8331         * java/util/Date.java:
8332         Fixed documentation starting tag to make javadoc happy.
8333         * java/util/regex/Pattern.java
8334         (Pattern): Implements Serializable.
8335         * java/util/PatternSyntaxException.java
8336         (serialVersionUID): New member variable.
8338 2003-03-24  Michael Koch  <koqnueror@gmx.de>
8340         * java/awt/ContainerOrderFocusTraversalPolicy.java
8341         (getFirstComponent): Implemented.
8342         (getLastComponent): Implemented.
8343         (getDefaultComponent): Implemented.
8344         (setImplicitDownCycleTraversal): Fixed implementation.
8345         * java/awt/Robot.java
8346         (Robot): Added documentation.
8347         * java/awt/Toolkit.java
8348         (getFontList): Deprecated.
8349         (getFontMetrics): Deprecated.
8350         (getPrintJob): Added documentation.
8351         (getSystemSelection): Added documentation.
8352         (getLockingKeyState): Added documentation.
8353         (setLockingKeyState): Added documentation.
8354         (createCustomCursor): Added documentation.
8355         (getBestCursorSize): Added documentation.
8356         (getMaximumCursorColors): Added documentation.
8357         (isFrameStateSupported): Added documentation.
8359 2003-03-24  Michael Koch  <konqueror@gmx.de>
8361         * java/io/RandomAccessFile.java:
8362         More little merges with classpath. No code changes.
8364 2003-03-24  Michael Koch  <konqueror@gmx.de>
8366         * java/net/natInetAddressNoNet.cc:
8367         Include stddef.h.
8368         * java/net/natPlainDatagramSocketImplNoNet.cc:
8369         Fixed inlcude of java/net/DatagramPacket.h.
8370         * java/net/natPlainSocketImplNoNet.cc:
8371         Include some missing classes.
8373 2003-03-24  Michael Koch  <konqueror@gmx.de>
8375         * java/awt/dnd/DropTarget.java
8376         (DropTargetAutoScroller): According to the online documentation, this
8377         is protected, but in reality it is public.
8378         * java/awt/dnd/DropTargetContext.java
8379         (TransferableProxy): According to the online documentation, this
8380         is protected, but in reality it is public.
8382 2003-03-24  Michael Koch  <konqueror@gmx.de>
8384         * java/io/DataInputStream.java
8385         (): Wrapped documentation line.
8386         (): Fixed @return tag.
8387         * java/io/DataOutputStream.java
8388         (written): Moved to top of class.
8389         (all methods): Merged documentation from classpath.
8390         * java/io/File.java:
8391         Merged copyright year with classpath.
8392         * java/io/FileInputStream.java
8393         (all methods): Merged documentation from classpath.
8394         * java/io/LineNumberReader.java
8395         (getLineNumber): Fixed @return tag.
8396         * java/io/ObjectInputStream.java.
8397         Reformatted.
8398         * java/io/ObjectOutputStream.java:
8399         Reformatted, fixed some @see tags.
8400         * java/io/OutputStreamWriter.java:
8401         Deleted empty line.
8402         * java/io/Writer.java:
8403         Reformatted.
8405 2003-03-24  Michael Koch  <konqueror@gmx.de>
8407         * java/awt/Frame.java
8408         (DEFAULT_CURSOR): Fixed @deprecated tag.
8409         (setCursor): Fixed @deprecated tag.
8411 2003-03-24  Michael Koch  <konqueror@gmx.de>
8413         * java/beans/beancontext/BeanContextEvent.java:
8414         Reformated.
8416 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
8418         * java/lang/natStringBuffer.cc (regionMatches): New function.
8419         * java/lang/String.java (count): Now package-private.
8420         * java/lang/StringBuffer.java: Merged with Classpath.
8422 2003-03-23  Michael Koch  <konqueror@gmx.de>
8424         * java/io/BufferedOutputStream.java:
8425         Reformated.
8426         * java/io/BufferedReader.java:
8427         Reformated.
8428         * java/io/ByteArrayOutputStream.java
8429         (size): Fixed @see tag.
8430         * java/io/CharArrayWriter.java
8431         (size): Fixed @see tag.
8432         * java/io/DataInput.java:
8433         Reformated.
8434         * java/io/DataOutput.java:
8435         Reformated.
8436         * java/io/DataOutputStream.java:
8437         Merged copyright years with classpath.
8438         * java/io/Externalizable.java:
8439         Reformated.
8440         * java/io/FileFilter.java:
8441         Reformated.
8442         * java/io/FileInputStream.java:
8443         Merged copyright years with classpath.
8444         * java/io/FileOutputStream.java:
8445         Merged copyright years with classpath.
8446         * java/io/FilePermission.java
8447         (FilePermission): Replaced @XXX with FIXME:.
8448         * java/io/FileWriter.java:
8449         Reformated.
8450         * java/io/FilenameFilter.java:
8451         Reformated.
8452         * java/io/FilterInputStream.java:
8453         Reformated.
8454         * java/io/FilterOutputStream.java:
8455         Reformated.
8456         * java/io/FilterReader.java:
8457         Reformated.
8458         * java/io/FilterWriter.java:
8459         Reformated.
8460         * java/io/LineNumberInputStream.java
8461         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
8462         happy.
8463         (getLineNumber): Fixed @return tag.
8464         * java/io/ObjectInput.java:
8465         Reformated.
8466         * java/io/ObjectOutput.java:
8467         Reformated.
8468         * java/io/ObjectStreamClass.java:
8469         Reformated.
8470         * java/io/PrintStream.java:
8471         Merged copyright years with classpath.
8472         * java/io/PushbackReader.java
8473         (PushbackReader): Replaced @code with @param.
8474         * java/io/SerializablePermission.java:
8475         Reformated.
8476         * java/io/StreamTokenizer.java
8477         (resetSyntax): Fixed @see tag.
8479 2003-03-22  Richard Henderson  <rth@redhat.com>
8481         * sysdep/ia64/locks.h: Include ia64intrin.h.
8482         (compare_and_swap): Use __sync_bool_compare_and_swap.
8483         (compare_and_swap_release): Expose ar.ccv assignment.
8485 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
8487         * include/posix.h: Add suffix for darwin dynamic libraries.
8489 2003-03-21  Michael Koch  <konqueror@gmx.de>
8491         * javax/swing/Action.java
8492         (ACCELERATOR_KEY): New constant.
8493         (ACTION_COMMAND_KEY): Likewise.
8494         (MNEMONIC_KEY): Likewise.
8495         * javax/swing/UnsupportedLookAndFeelException.java
8496         (UnsupportedLookAndFeelException): Must be public.
8497         * javax/swing/WindowConstants.java
8498         (EXIT_ON_CLOSE): New constant.
8499         * javax/swing/text/BadLocationException.java
8500         (offset): New member variable.
8501         (BadLocationException): New implementation, documentation added.
8502         (offsetRequested): New method.
8503         * javax/swing/text/Caret.java:
8504         Reformated.
8505         * javax/swing/text/Document.java:
8506         Reformated.
8508 2003-03-21  Michael Koch  <konqueror@gmx.de>
8510         * java/rmi/activation/Activatable.java
8511         (serialVersionUID): New member variable.
8512         * java/rmi/activation/ActivationGroup.java
8513         (serialVersionUID): New member variable.
8514         * java/rmi/activation/ActivationGroupDesc.java
8515         (serialVersionUID): New member variable.
8516         * java/rmi/registry/Registry.java:
8517         Reformated.
8518         (Registry): Deprecated.
8519         * java/rmi/server/LoaderHandler.java
8520         Reformated.
8521         (LoaderHandler): Deprecated.
8522         * java/rmi/server/LogStream.java
8523         Reformated.
8524         (LogStream): Deprecated.
8525         * java/rmi/server/Operation.java
8526         (Operation): Deprecated.
8527         * java/rmi/server/RMIFailureHandler.java:
8528         Reformated.
8529         * java/rmi/server/RMISocketFactory.java:
8530         Reformated.
8531         * java/rmi/server/RemoteCall.java
8532         (RemoteCall): Deprecated.
8533         * java/rmi/server/RemoteStub.java:
8534         Reformated.
8535         * java/rmi/server/Skeleton.java
8536         Reformated.
8537         (Skeleton): Deprecated.
8539 2003-03-21  Michael Koch  <konqueror@gmx.de>
8541         * java/io/LineNumberReader.java
8542         (LineNumberReader): Merged documentation with classpath.
8543         (getLineNumber): Likewise.
8544         (setLineNumber): Likewise.
8545         (mark): Likewise.
8546         (reset): Likewise.
8547         (read): Likewise.
8548         (readLine): Likewise.
8549         (skip): Likewise.
8551 2003-03-21  Michael Koch  <konqueror@gmx.de>
8553         * java/rmi/RMISecurityManager.java
8554         (checkAccept): Removed.
8555         (checkAccess): Likewise.
8556         (checkAccess): Likewise.
8557         (checkAwtEventQueueAccess): Likewise.
8558         (checkConnect): Likewise.
8559         (checkCreateClassLoader): Likewise.
8560         (checkDelete): Likewise.
8561         (checkExec): Likewise.
8562         (checkExit): Likewise.
8563         (checkLink): Likewise.
8564         (checkListen): Likewise.
8565         (checkMemberAccess): Likewise.
8566         (checkMulticast): Likewise.
8567         (checkPackageAccess): Likewise.
8568         (checkPackageDefinition): Likewise.
8569         (checkPermission): Likewise.
8570         (checkPrintJobAccess): Likewise.
8571         (checkPropertiesAccess): Likewise.
8572         (checkPropertyAccess): Likewise.
8573         (checkRead): Likewise.
8574         (checkSecurityAccess): Likewise.
8575         (checkSetFactory): Likewise.
8576         (checkSystemClipboardAccess): Likewise.
8577         (checkTopLevelWindow): Likewise.
8578         (checkWrite): Likewise.
8580 2003-03-20  Michael Koch  <konqueror@gmx.de>
8582         * gnu/java/nio/FileChannelImpl.java
8583         (address): Removed.
8584         (map_address): New member variable.
8585         (length): Make it package private.
8586         (fd): Make it package private.
8587         (buf): Make it package private.
8588         (file_obj): Make it package private.
8589         (FileChannelImpl): New constructor.
8590         (nio_mmap_file): Use RawData instead of long.
8591         (nio_munmap_file): Use RawData instead of long.
8592         (nio_msync): Use RawData instead of long.
8593         (implCloseChannel): New implementation using map_address.
8594         (read): Reformated.
8595         (map): Implemented.
8596         (create_direct_mapped_buffer): Implemented, use RawData, throws
8597         IOException.
8598         (force): Use map_address instead of address.
8599         * gnu/java/nio/MappedByteFileBuffer.java
8600         (address): Removed.
8601         (map_address): New member variable.
8602         (MappedByteFileBuffer): Use map_address instead of address, reformated.
8603         (several methods): Use map_address instead of address, replaced long
8604         with RawData where appropriate.
8605         * gnu/java/nio/natFileChannelImpl.cc
8606         (nio_mmap_file): Replaced long with RawData.
8607         (nio_munmap_file): Replaced long with RawData.
8608         (nio_msync): Replaced long with RawData.
8609         * gnu/java/nio/natMappedByteFileBuffer.cc
8610         (several methods): Replaced long with RawData where appropriate.
8612 2003-03-20  Michael Koch  <konqueror@gmx.de>
8614         * java/net/InetAddress.java,
8615         java/net/JarURLConnection.java,
8616         java/net/PlainDatagramSocketImpl.java,
8617         java/net/PlainSocketImpl.java,
8618         java/net/URLConnection.java:
8619         Merged copyright statements with classpath for easier merging.
8621 2003-03-20  Michael Koch  <konqueror@gmx.de>
8623         * java/io/FileInputStream.java
8624         (getChannel): New implementation.
8625         * java/io/FileOutputStream.java
8626         (ch): New member variable.
8627         (getChannel): Implemented.
8628         * java/io/RandomAccessFile.java
8629         (RandomAccessFile): Throws FileNotFoundException instead of
8630         IOException.
8631         (getChannel): New method.
8632         (ch): New member variable.
8634 2003-03-20  Michael Koch  <konqueror@gmx.de>
8636         * java/io/DataOutputStream.java,
8637         java/io/File.java,
8638         java/io/FileInputStream.java,
8639         java/io/FileOutputStream.java,
8640         java/io/InputStreamReader.java,
8641         java/io/LineNumberReader.java,
8642         java/io/OutputStreamWriter.java,
8643         java/io/PrintStream.java,
8644         java/io/RandomAccessFile.java:
8645         Merged copyright statements with classpath for easier merging.
8647 2003-03-19  Michael Koch  <konqueror@gmx.de>
8649         * java/lang/Process.java:
8650         Merged from classpath.
8652 2003-03-19  Michael Koch  <konqueror@gmx.de>
8654         * java/io/FileOutputStream.java
8655         (FileOutputStream): New constructor, merged from classpath.
8656         * java/io/FileWriter.java
8657         (FileWriter): New constructor, merged from classpath.
8659 2003-03-18  Michael Koch  <konqueror@gmx.de>
8661         * java/awt/ScrollPane.java
8662         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
8663         (getViewportSize): Likewise.
8664         (addNotify): Likewise.
8665         (removeNotify): Likewise.
8666         * java/awt/ScrollPaneAdjustable.java
8667         (ScrollPaneAdjustable): No longer extends Scrollbar.
8668         * java/beans/beancontext/BeanContextServices.java:
8669         Reformated.
8670         (getService): Added throws TooManyListenersException;
8671         * java/beans/beancontext/BeanContextServicesSupport.java:
8672         Reformated.
8674 2003-03-18  Michael Koch  <konqueror@gmx.de>
8676         * java/io/BufferedOutputStream.java,
8677         java/io/DataInput.java,
8678         java/io/DataInputStream.java,
8679         java/io/DataOutput.java,
8680         java/io/Externalizable.java:
8681         More merges from classpath.
8683 2003-03-18  Michael Koch  <konqueror@gmx.de>
8685         * configure.in: Fixed links to platform dependant java.net files.
8686         * configure: Regenerated.
8687         * java/net/natInetAddress.cc,
8688         java/net/natNetworkInterface.cc,
8689         java/net/natPlainDatagramSocketImpl.cc,
8690         java/net/natPlainSocketImpl.cc:
8691         Removed.
8693 2003-03-18  Michael Koch  <konqueror@gmx.de>
8695         * configure.in: Create links to architecture dependent files,
8696         introduced PLATFORMNET variable (set to NoNet for newlib usage).
8697         * configure: Regenerated.
8698         * java/net/natInetAddressNoNet.cc,
8699         java/net/natInetAddressPosix.cc,
8700         java/net/natInetAddressWin32.cc,
8701         java/net/natNetworkInterfaceNoNet.cc,
8702         java/net/natNetworkInterfacePosix.cc,
8703         java/net/natNetworkInterfaceWin32.cc,
8704         java/net/natPlainDatagramSocketImplNoNet.cc,
8705         java/net/natPlainDatagramSocketImplPosix.cc,
8706         java/net/natPlainDatagramSocketImplWin32.cc,
8707         java/net/natPlainSocketImplNoNet.cc,
8708         java/net/natPlainSocketImplPosix.cc,
8709         java/net/natPlainSocketImplWin32.cc: New files.
8711 2003-03-18  Michael Koch  <konqueror@gmx.de>
8713         * java/io/BufferedReader.java,
8714         java/io/BufferedWriter.java,
8715         java/io/ByteArrayOutputStream.java,
8716         java/io/FileFilter.java,
8717         java/io/FilePermission.java,
8718         java/io/FileReader.java,
8719         java/io/FileWriter.java,
8720         java/io/FilenameFilter.java,
8721         java/io/FilterInputStream.java,
8722         java/io/FilterOutputStream.java,
8723         java/io/FilterReader.java,
8724         java/io/FilterWriter.java,
8725         java/io/ObjectInput.java,
8726         java/io/ObjectInputValidation.java,
8727         java/io/ObjectOutput.java,
8728         java/io/ObjectStreamField.java,
8729         java/io/PipedInputStream.java,
8730         java/io/PipedReader.java,
8731         java/io/PrintWriter.java,
8732         java/io/PushbackReader.java,
8733         java/io/Reader.java,
8734         java/io/SerializablePermission.java,
8735         java/io/StringReader.java,
8736         java/io/Writer.java:
8737         Merged from classpath.
8739 2003-03-17  Michael Koch  <konqueror@gmx.de>
8741         * java/awt/ScrollPaneAdjustable.java:
8742         Compile fixes.
8743         
8744 2003-03-17  Michael Koch  <konqueror@gmx.de>
8746         * java/net/DatagramSocket.java
8747         (connect): Fixed comment.
8748         * java/nio/ByteBuffer.java
8749         (hasArray): Fixed comment.
8751 2003-03-17  Michael Koch  <konqueror@gmx.de>
8753         * java/beans/Beans.java:
8754         Explicitely import classes not packages.
8755         * java/beans/FeatureDescriptor.java
8756         (preferred): New member variable.
8757         (isPreferred): New method.
8758         (setPreferred): New method.
8759         * java/beans/PropertyEditorManager.java:
8760         Explicitely import used classes.
8761         * java/beans/beancontext/BeanContextChild.java:
8762         Added line wrapping.
8763         * java/beans/beancontext/BeanContextChildSupport.java:
8764         Reindented.
8765         * java/beans/beancontext/BeanContextEvent.java:
8766         Reindented.
8768 2003-03-17  Michael Koch  <konqueror@gmx.de>
8770         * java/awt/Dialog.java
8771         (Dialog): New constructor, changed implementations, added
8772         documentation.
8773         * java/awt/ScrollPaneAdjustable.java
8774         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
8775         Serializable.
8776         (serialVersionUID): New member variable.
8777         (sp): New member variable.
8778         (orientation): New member variable.
8779         (value): New member variable.
8780         (minimum): New member variable.
8781         (maximum): New member variable.
8782         (visibleAmount): New member variable.
8783         (unitIncrement): New member variable.
8784         (blockIncrement): New member variable.
8785         (AdjustmentListener): New member variable.
8786         (ScrollPaneAdjustable): New implementation.
8787         (addAdjustmentListener): New method.
8788         (removeAdjustmentListener): New method.
8789         (getAdjustmentListeners): New method.
8790         (getBlockIncrement): New method.
8791         (getMaximum): New method.
8792         (getMinimum): New method.
8793         (getOrientation): New method.
8794         (getUnitIncrement): New method.
8795         (getValue): New method.
8796         (getVisibleAmount): New method.
8797         (setBlockIncrement): New method.
8798         (setMaximum): Implemented.
8799         (setMinimum): Implemented.
8800         (setUnitIncrement): New method.
8801         (setValue): New method.
8802         (setVisibleAmount): Implemented. 
8803         (paramString): New stubbed method.
8804         * java/awt/Window.java
8805         (show): Call setVisible().
8806         (hide): Call setVisible().
8807         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
8808         and WINDOW_STATE_CHANGED.
8809         (processWindowFocusEvent): New method.
8810         (processWindowStateEvent): New method.
8811         (postEvent): Deprecated.
8812         (applyResourceBundle): Deprecated.
8813         * java/awt/datatransfer/DataFlavor.java
8814         (DataFlavor): Doesn't thow ClassNotFoundException.
8816 2003-03-17  Michael Koch
8818         * javax/print/attribute/Attribute.java,
8819         javax/print/attribute/AttributeSet.java,
8820         javax/print/attribute/PrintRequestAttributeSet.java:
8821         New files.
8822         * Makefile.am
8823         (javax_source_files): Added new files:
8824         javax/print/attribute/Attribute.java
8825         javax/print/attribute/AttributeSet.java
8826         javax/print/attribute/PrintRequestAttributeSet.java
8827         * Makefile.in: Regenerated.
8829 2003-03-17  Michael Koch
8831         * javax/print/attribute/Attribute.java,
8832         javax/print/attribute/AttributeSet.java,
8833         javax/print/attribute/PrintRequestAttributeSet.java:
8834         New files.
8835         * Makefile.am
8836         (awt_java_source_files): Added new files:
8837         javax/print/attribute/Attribute.java
8838         javax/print/attribute/AttributeSet.java
8839         javax/print/attribute/PrintRequestAttributeSet.java
8840         * Makefile.in: Regenerated.
8842 2003-03-16  Tom Tromey  <tromey@redhat.com>
8844         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
8845         Include platform.h.
8846         * java/lang/natRuntime.cc (insertSystemProperties): Use
8847         _Jv_platform_path_separator.
8848         (nativeGetLibname): Use _Jv_platform_file_separator.
8849         (_load): Use _Jv_platform_onload_names.
8850         (onload_names): New global.
8851         * include/win32.h (_Jv_platform_file_separator): New define.
8852         (_Jv_platform_path_separator): Likewise.
8853         (_Jv_platform_onload_names): Likewise.
8854         (_Jv_platform_ffi_abi): Likewise.
8855         * include/posix.h (_Jv_platform_file_separator): New define.
8856         (_Jv_platform_path_separator): Likewise.
8857         (_Jv_platform_onload_names): Likewise.
8858         (_Jv_platform_ffi_abi): Likewise.
8860 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
8862         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
8864 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
8866         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
8867         hierarchy loop.
8868         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
8869         list to Object,ObjectStreamClass, moved callReadMethod code up into
8870         readObject and added Class argument to all setXxxField calls.
8871         (callReadMethod): Changed Class argument to ObjectStreamClass to be
8872         consistent with ObjectOutputStream and to facilitate caching the
8873         Method in the future.
8874         (setBooleanField): Added Class argument.
8875         (setByteField): Likewise.
8876         (setCharField): Likewise.
8877         (setDoubleField): Likewise.
8878         (setFloatField): Likewise.
8879         (setIntField): Likewise.
8880         (setLongField): Likewise.
8881         (setShortField): Likewise.
8882         (setObjectField): Likewise.
8883         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
8884         class hierarchy loop.
8885         (defaultWriteObject): Call writeFields with new argument list.
8886         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
8887         list to Object,ObjectStreamClass, moved callWriteMethod up into
8888         writeObject and added Class argument to all getXxxField calls.
8889         (callWriteMethod): Added ObjectStreamClass argument to be able to
8890         get the proper class to call getMethod on (each class can have (or
8891         not have) its own writeObject method).
8892         (getBooleanField): Added Class argument.
8893         (getByteField): Likewise.
8894         (getCharField): Likewise.
8895         (getDoubleField): Likewise.
8896         (getFloatField): Likewise.
8897         (getIntField): Likewise.
8898         (getLongField): Likewise.
8899         (getShortField): Likewise.
8900         (getObjectField): Likewise.
8901         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
8902         facilitate caching the Method object in the future.
8904 2003-03-12  Andreas Schwab  <schwab@suse.de>
8906         * configure.in: Avoid trailing /. in toolexeclibdir.
8907         * configure: Rebuilt.
8909 2003-03-11  Michael Koch  <konqueror@gmx.de>
8911         * gnu/java/nio/ByteBufferImpl.java
8912         (putInt): Use limit() instead of limit.
8913         * gnu/java/nio/CharBufferImpl.java
8914         (slice): Fixed implementation.
8915         (subSequence): Better bounds checking.
8916         * gnu/java/nio/MappedByteFileBuffer.java:
8917         Import all needed classes directly.
8918         * java/nio/ByteBuffer.java
8919         (hashCode): New dummy method.
8920         * java/nio/CharBuffer.java
8921         (array_offset): New member variable.
8922         (hasArray): Fixed documentation.
8923         (arrayOffset): Return array_offset.
8925 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
8927         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
8928         setter; made return value of getter const char* instead of char*
8929         * prims.cc: removed all references to _Jv_ThisExecutable().
8930         These are in the platform-specific sections now.
8931         * posix.cc: define platform-specific _Jv_ThisExecutable().
8932         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
8933         * win32.cc: define platform-specific _Jv_ThisExecutable()
8934         using GetModuleFilename()
8935         * java/lang/natRuntime.cc: set gnu.gcj.progname property
8936         to argv[0] instead of _Jv_ThisExecutable()
8938 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
8940         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
8941         that is set if we are using addr2name.awk instead of addr2line.
8942         (NameFinder): Set usingAddr2name if using addr2name.awk.
8943         (getExternalLabel): New native method to convert a method 
8944         name to an external label.
8945         (lookup): Convert name given by addr2line to an external label
8946         before demangling.
8948         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
8949         constant representing the prefix attached to method names to
8950         convert them to an external label.
8951         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
8952         using LABEL_PREFIX.
8954 2003-03-10  Tom Tromey  <tromey@redhat.com>
8956         * Makefile.in: Rebuilt.
8957         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
8958         (JC1FLAGS): Removed -Wno-deprecated.
8960 2003-03-10  Michael Koch  <konqueror@gmx.de>
8962         * java/nio/ByteOrder.java
8963         (nativeOrder): Working implementation, added documentation.
8964         (toString): Added documentation.
8966 2003-03-10  Michael Koch  <konqueror@gmx.de>
8968         * java/net/DatagramSocket.java,
8969         java/net/MulticastSocket.java,
8970         java/net/Socket.java,
8971         java/net/URL.java,
8972         java/net/URLConnection.java:
8973         Fixed some documentation tags to make javadoc and friends happy.
8975 2003-03-10  Michael Koch  <koqnueror@gmx.de>
8977         * java/beans/beancontext/BeanContextServicesSupport.java,
8978         java/beans/beancontext/BeanContextSupport.java: New files.
8979         * Makefile.am
8980         (awt_source_files): Added new files.
8981         * Makefile.in: Regenerated.
8983 2003-03-10  Michael Koch  <konqueror@gmx.de>
8985         * java/awt/FocusTraversalPolicy.java
8986         (FocusTraversalPolicy): Documentation added.
8987         (getComponentAfter): Documentation added.
8988         (getComponentBefore): Documentation added.
8989         (getFirstComponent): Documentation added.
8990         (getLastComponent): Documentation added.
8991         (getDefaultComponent): Documentation added.
8992         (getInitialComponent): Documentation added.
8993         * java/awt/ScrollPaneAdjustable.java
8994         (sp): New member variable.
8995         (orientation): New member variable.
8996         (value): New member variable.
8997         (minimum): New member variable.
8998         (maximum): New member variable.
8999         (visibleAmount): New member variable.
9000         (unitIncrement): New member variable.
9001         (blockIncrement): New member variable.
9002         (adjustmentListener): New member variable.
9003         (ScrollPaneAdjustable): Rewrote.
9004         (addAdjustmentListener): New method.
9005         (removeAdjustmentListener): New method.
9006         (getAdjustmentListeners): New method.
9007         (getBlockIncrement): New method.
9008         (getMaximum): New method.
9009         (getMinimum): New method.
9010         (getOrientation): New method.
9011         (getUnitIncrement): New method.
9012         (getValue): New method.
9013         (getVisibleAmount): New method.
9014         (setBlockIncrement): New method.
9015         (setUnitIncrement): New method.
9016         (setMaximum): Implemented.
9017         (setMinimum): Implemented.
9018         (setValue): New method.
9019         (setVisibleAmount): Implemented.
9020         (paramString): New method.
9021         * java/awt/Window.java
9022         (show): Use setVisible(true) instead of super.show().
9023         (hide): Use sevVisible(false) instead of super.hide().
9024         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
9025         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
9026         (postEvent): Deprecated.
9027         (applyResourceBundle): Deprecated.
9028         (processWindowFocusEvent): New method.
9029         (processWindowStateEvent): New method.
9030         * java/awt/datatransfer/DataFlavor.java: Reindented.
9031         * java/awt/font/TextHitInfo.java
9032         (charIndex): New member variable.
9033         (leadingEdge): New member variable.
9034         (TextHitInfo): New constructor.
9035         (getCharIndex): Implemented.
9036         (isLeadingEdge): Implemented.
9037         (getInsertionIndex): Implemented.
9038         (hashCode): Access charIndex directly.
9039         (equals): Reformated.
9040         (leading): Implemented.
9041         (trailing): Implemented.
9042         (beforeOffset): Implemented.
9043         (afterOffset): Implemented.
9044         (getOtherHit): Implemented.
9045         (getOffsetHit): Implemented.
9046         (toString): Implemented.
9047         * java/awt/image/BufferedImage.java
9048         (BufferedImage): Implements WritableRenderedImage.
9049         (observers): New member variable.
9050         (addTileObserver): New method.
9051         (removeTileObserver): New method.
9053 2003-03-09  Tom Tromey  <tromey@redhat.com>
9055         PR libgcj/9934:
9056         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
9057         to lseek.  Return 0 if we can't compute the value.
9059 2003-03-03  Michael Koch  <konqueror@gmx.de>
9061         * java/net/NetworkInterface.java: Merged with classpath.
9063 2003-03-03  Tom Tromey  <tromey@redhat.com>
9065         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
9066         of bytecode.
9067         (handle_ret_insn): Fail if returning to jsr that appears at end of
9068         bytecode.
9070 2003-03-03  Michael Koch  <konqueror@gmx.de>
9072         * Makefile.am
9073         (ordinary_java_source_files):
9074         Added gnu/java/nio/MappedByteFileBuffer.java.
9075         (nat_source_files):
9076         Added gnu/java/nio/natMappedByteFileBuffer.cc.
9077         * Makefile.in: Regenerated.
9079 2003-03-03  Michael Koch  <konqueror@gmx.de>
9081         * java/net/DatagramSocket.java
9082         (connect): Merged comment from classpath.
9083         (receive): Merged documentation from classpath.
9084         * java/net/Socket.java
9085         (setSoTimeout): Clarified documentation.
9086         * java/net/URL.java
9087         (getPath): Merged from classpath.
9088         (getUserInfo): Merged from classpath.
9089         (getQuery): Merged from classpath.
9090         * java/net/URLStreamHandler.java
9091         (toExternalForm): Merged from classpath.
9093 2003-03-02  Mark Wielaard  <mark@klomp.org>
9095         * java/util/Properties.java (load): Only skip line if the first
9096         character is a comment, whitespaces don't count.
9098 2003-03-02  Michael Koch  <konqueror@gmx.de>
9100         * java/net/NetPermission.java:
9101         Merged copyright with classpath.
9103 2003-03-02  Michael Koch  <konqueror@gmx.de>
9105         * java/lang/Package.java:
9106         Remerged from classpath.
9108 2003-03-02  Michael Koch  <konqueror@gmx.de>
9110         * java/net/HttpURLConnection.java
9111         (HTTP_SERVER_ERROR): Deprecated.
9112         * java/net/MulticastSocket.java
9113         (send): Replaced checkMulticast with appropriate checkPermission call,
9114         deprecated.
9115         * java/net/URLDecoder.java
9116         (decode): Deprecated.
9117         * java/net/URLEncoder.java
9118         (encode): Deprecated.
9120 2003-03-02  Michael Koch  <konqueror@gmx.de>
9122         * javax/swing/text/Caret.java
9123         (getMagicCaretPosition): Fixed typo in method name.
9124         * javax/swing/text/DefaultCaret.java
9125         (getMagicCaretPosition): Fixed typo in method name.
9127 2003-03-02  Michael Koch  <konqueror@gmx.de>
9129         * java/awt/List.java
9130         (setMultipleSelections): Deprecated.
9131         (delItem): Deprecated.
9132         * java/awt/MenuComponent.java
9133         (getPeer): Deprecated.
9134         * java/awt/ScrollPane.java
9135         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
9136         * java/awt/dnd/MouseDragGestureRecognizer.java
9137         (mouseClicked): Added comment.
9138         (mousePressed): Added comment.
9139         (mouseReleased): Added comment.
9140         (mouseEntered): Added comment.
9141         (mouseExited): Added comment.
9142         (mouseDragged): Added comment.
9143         (mouseMoved): Added comment.
9144         * java/awt/event/KeyEvent.java
9145         (KeyEvent): Deprecated.
9146         (setModifiers): Deprecated.
9147         
9148 2003-03-02  Michael Koch  <konqueror@gmx.de>
9150         * gnu/java/nio/FileChannelImpl.java
9151         (fd): Type FileDescriptor instead of int.
9152         (lengthInternal): Removed.
9153         (FileChannelImpl): Fixed arguments, check type of file object.
9154         (size): Made it native.
9155         (implPosition): New native method.
9156         (implTruncate): New native method.
9157         (position): Implemented.
9158         (truncate): Implemented.
9159         (nio_mmap_file): Changed arguments.
9160         (nio_munmap_file): Changed arguments.
9161         (nio_msync): Changed arguments.
9162         * gnu/java/nio/natFileChannelImpl.cc
9163         (lengthInternal): Removed.
9164         (size): New method.
9165         (implPosition): New method.
9166         (implTruncate): New method.
9167         (nio_mmap_file): Changed arguments.
9168         (nio_munmap_file): Changed arguments.
9169         (nio_msync): Changed arguments.
9171 2003-03-02  Michael Koch  <konqueror@gmx.de>
9173         * java/awt/dnd/DropTargetContext.java:
9174         Compile fix: Forgot to commit import.
9175         
9176 2003-03-02  Michael Koch  <konqueror@gmx.de>
9178         * java/awt/Component.java,
9179         java/awt/ScrollPane.java:
9180         Fixed typos.
9182 2003-03-02  Michael Koch  <konqueror@gmx.de>
9184         * java/awt/dnd/DnDEventMulticaster.java: New file.
9185         * java/awt/dnd/DragSource.java
9186         (flavorMap): New member variable.
9187         (dragSourceListener): New member variable.
9188         (dragSourceMotionListener): New member variable.
9189         (getFlavorMap): Implemented.
9190         (createDragGestureRecognizer): Implemented.
9191         (addDragSourceListener): Implemented.
9192         (removeDragSourceListener): Implemented.
9193         (getDragSourceListeners): Implemented.
9194         (addDragSourceMotionListener): Implemented.
9195         (removeDragSourceMotionListener): Implemented.
9196         (getDragSourceMotionListeners): Implemented.
9197         (getListeners): Implemented.
9198         * java/awt/dnd/DragSourceContext.java
9199         (peer): New member variable.
9200         (cursor): New member variable.
9201         (transferable): New member variable.
9202         (trigger): New member variable.
9203         (dragSourceListener): New member variable.
9204         (image): New member variable.
9205         (offset): New member variable.
9206         (DragSourceContext): Implemented.
9207         (getDragSource): Implemented.
9208         (getComponent): Implemented.
9209         (getTrigger): Implemented.
9210         (getSourceActions): Implemented.
9211         (setCursor): Implemented.
9212         (getCursor): Implemented.
9213         (addDragSourceListener): Implemented.
9214         (removeDragSourceListener): Implemented.
9215         (getTransferable): Implemented.
9216         * java/awt/dnd/DropTarget.java
9217         (DropTargetAutoScroller.component): New member variable.
9218         (DropTargetAutoScroller.point): New member variable.
9219         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
9220         (DropTargetAutoScroller.updateLocation): Implemented.
9221         (active): Renamed from isActive, defaults to true now.
9222         (component): New member variable.
9223         (flavorMap): New member variable.
9224         (actions): New member variable.
9225         (dropTargetContext): New member variable.
9226         (dropTargetListener): New member variable.
9227         (DropTarget): Implemented.
9228         (getComponent): Implemented.
9229         (setComponent): Implemented.
9230         (setDefaultActions): Implemented.
9231         (getDefaultActions): Implemented.
9232         (setActive): Use active instead of isActive.
9233         (isActive): Use active instead of isActive.
9234         (addDropTargetListener): Implemented.
9235         (removeDropTargetListener): Implemented.
9236         (getFlavorMap): Implemented.
9237         (setFlavorMap): Implemented.
9238         (getDropTargetContext): Implemented.
9239         (createDropTargetContext): Implemented.
9240         (createDropTargetAutoScroller): Implemented.
9241         * java/awt/dnd/DropTargetContext.java
9242         (TransferableProxy.getTransferDataFlavors): Implemented.
9243         (TransferableProxy.isDataFlavorSupported): Implemented.
9244         (TransferableProxy.getTransferData): Implemented.
9245         (dropTarget):  New member variable.
9246         (dtcp): New member variable.
9247         (DropTargetContext): New package private constructor.
9248         (getDropTarget): Implemented.
9249         (getComponent): Implemented.
9250         (addNotify): Implemented.
9251         (removeNotify): Implemented.
9252         (getCurrentDataFlavorsAsList): Implemented.
9253         (isDataFlavorSupported): Implemented.
9254         * java/awt/dnd/MouseDragGestureRecognizer.java
9255         (registerListeners): Implemented.
9256         (unregisterListeners): Implemented.
9257         * Makefile.am
9258         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
9259         * Makefile.in: Regenerated.
9261 2003-03-02  Michael Koch  <konqueror@gmx.de>
9263         * java/awt/Component.java
9264         (eventTypeEnabled): New method.
9265         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
9266         * java/awt/Container.java
9267         (changeSupport): New member variable.
9268         (addPropertyChangeListener): New methods.
9269         * java/awt/ContainerOrderFocusTraversalPolicy.java
9270         (ContainerOrderFocusTraversalPolicy): Added comment.
9271         (getComponentAfter): Throw exception, documentation added.
9272         (getComponentBefore): Throw exception, documentation added.
9273         (getFirstComponent): Throw exception, documentation added.
9274         (getLastComponent): Throw exception, documentation added.
9275         (getDefaultComponent): Throw exception, documentation added.
9276         * java/awt/EventQueue.java: Reindented.
9277         * java/awt/FocusTraversalPolicy.java:
9278         (FocusTraversalPolicy): Added comment.
9279         (getComponentAfter): Documentation added.
9280         (getComponentBefore): Documentation added.
9281         (getFirstComponent): Documentation added.
9282         (getLastComponent): Documentation added.
9283         (getDefaultComponent): Documentation added.
9284         (getInitialComponent): Documentation added.
9285         * java/awt/ScrollPane.java
9286         (wheelScrollingEnabled): New member variable.
9287         (ScrollPane): Initialize wheelScollingEnabled.
9288         (eventTypeEnabled): New method.
9289         (isWheelScrollingEnabled): New method.
9290         (setWheelScrollingEnabled): New method.
9292 2003-03-02  Michael Koch  <konqueror@gmx.de>
9294         * java/net/DatagramSocket.java
9295         (closed): New member variable.
9296         (close): Use closed variable.
9297         (getInetAddress): No need to call isConnected().
9298         (getPort): No need to call isConnected().
9299         (disconnect): Reset remoteAddress and remotePort, fixed typo.
9300         (isClosed): Reimplemented.
9301         
9302 2003-03-02  Michael Koch  <konqueror@gmx.de>
9304         * configure.in: Added check for memory mapping of files.
9305         * configure: Regenerated.
9306         * config.h.in: Regenerated.
9308 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
9310         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
9311         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
9313 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
9315         * java/io/File.java (normalizePath): Remove trailing separator
9316         on Windows only if path is not of the form "x:\".
9318         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
9319         (java::io::File::attr): Change formatting a bit and use
9320         WIN32_EPOCH_MILLIS instead of magic numbers.
9321         (java::io::File::isAbsolute): Path must have at least 3 
9322         characters for a UNC network path.
9323         (java::io::File::init_native): Define.
9324         (java::io::File::performCreate): Likewise.
9325         (java::io::File::performSetReadOnly): Likewise.
9326         (java::io::File::performSetLastModified): Likewise.
9327         (java::io::File::performListRoots): Likewise.
9329 2003-03-01  Tom Tromey  <tromey@redhat.com>
9331         * java/lang/natObject.cc: Don't include assert.h.
9332         (heavy_lock_obj_finalization_proc): Use JvAssert.
9333         (remove_all_heavy): Likewise.
9334         (_Jv_MonitorEnter): Likewise.
9335         (_Jv_MonitorExit): Likewise.
9336         (wait): Likewise.
9338 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
9340         * java/io/File (getAbsolutePath): Prefix drive specifier on
9341         Windows for paths starting with a '\'.
9342         (toURL): Make URL more consistent with what Sun's JDK returns.
9344         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
9345         true only if the path is a UNC network path or it starts with a
9346         drive specifier.
9348         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
9349         Be prepared to handle either '/' or '\\' in the file path for
9350         Windows if using the "file" protocol.
9351         Canonicalise the file path if using a relative path in the given
9352         context and the "file" protocol.
9354 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
9356         * java/lang/natWin32Process.cc (startProcess): Double-quote each
9357         program array element passed to CreateProcess.
9359 2003-03-01  Tom Tromey  <tromey@redhat.com>
9361         * java/rmi/registry/RegistryHandler.java: Deprecate.
9363 2003-03-01  Tom Tromey  <tromey@redhat.com>
9365         * javax/accessibility/AccessibleEditableText.java,
9366         javax/accessibility/AccessibleHyperlink.java: New versions from
9367         Classpath.
9369         * gnu/java/locale/LocaleInformation_af_ZA.java,
9370         gnu/java/locale/LocaleInformation_ar_AE.java,
9371         gnu/java/locale/LocaleInformation_ar_BH.java,
9372         gnu/java/locale/LocaleInformation_ar_DZ.java,
9373         gnu/java/locale/LocaleInformation_ar_EG.java,
9374         gnu/java/locale/LocaleInformation_ar_IN.java,
9375         gnu/java/locale/LocaleInformation_ar_IQ.java,
9376         gnu/java/locale/LocaleInformation_ar_JO.java,
9377         gnu/java/locale/LocaleInformation_ar_KW.java,
9378         gnu/java/locale/LocaleInformation_ar_LB.java,
9379         gnu/java/locale/LocaleInformation_ar_LY.java,
9380         gnu/java/locale/LocaleInformation_ar_MA.java,
9381         gnu/java/locale/LocaleInformation_ar_OM.java,
9382         gnu/java/locale/LocaleInformation_ar_QA.java,
9383         gnu/java/locale/LocaleInformation_ar_SD.java,
9384         gnu/java/locale/LocaleInformation_ar_SY.java,
9385         gnu/java/locale/LocaleInformation_ar_TN.java,
9386         gnu/java/locale/LocaleInformation_ar_YE.java,
9387         gnu/java/locale/LocaleInformation_be_BY.java,
9388         gnu/java/locale/LocaleInformation_bn_IN.java,
9389         gnu/java/locale/LocaleInformation_br_FR.java,
9390         gnu/java/locale/LocaleInformation_bs_BA.java,
9391         gnu/java/locale/LocaleInformation_ca_ES.java,
9392         gnu/java/locale/LocaleInformation_cs_CZ.java,
9393         gnu/java/locale/LocaleInformation_cy_GB.java,
9394         gnu/java/locale/LocaleInformation_da_DK.java,
9395         gnu/java/locale/LocaleInformation_de_AT.java,
9396         gnu/java/locale/LocaleInformation_de_BE.java,
9397         gnu/java/locale/LocaleInformation_de_CH.java,
9398         gnu/java/locale/LocaleInformation_de_DE.java,
9399         gnu/java/locale/LocaleInformation_de_LU.java,
9400         gnu/java/locale/LocaleInformation_el_GR.java,
9401         gnu/java/locale/LocaleInformation_en_AU.java,
9402         gnu/java/locale/LocaleInformation_en_BW.java,
9403         gnu/java/locale/LocaleInformation_en_CA.java,
9404         gnu/java/locale/LocaleInformation_en_DK.java,
9405         gnu/java/locale/LocaleInformation_en_GB.java,
9406         gnu/java/locale/LocaleInformation_en_HK.java,
9407         gnu/java/locale/LocaleInformation_en_IE.java,
9408         gnu/java/locale/LocaleInformation_en_IN.java,
9409         gnu/java/locale/LocaleInformation_en_NZ.java,
9410         gnu/java/locale/LocaleInformation_en_PH.java,
9411         gnu/java/locale/LocaleInformation_en_SG.java,
9412         gnu/java/locale/LocaleInformation_en_US.java,
9413         gnu/java/locale/LocaleInformation_en_ZA.java,
9414         gnu/java/locale/LocaleInformation_en_ZW.java,
9415         gnu/java/locale/LocaleInformation_es_AR.java,
9416         gnu/java/locale/LocaleInformation_es_BO.java,
9417         gnu/java/locale/LocaleInformation_es_CL.java,
9418         gnu/java/locale/LocaleInformation_es_CO.java,
9419         gnu/java/locale/LocaleInformation_es_CR.java,
9420         gnu/java/locale/LocaleInformation_es_DO.java,
9421         gnu/java/locale/LocaleInformation_es_EC.java,
9422         gnu/java/locale/LocaleInformation_es_ES.java,
9423         gnu/java/locale/LocaleInformation_es_GT.java,
9424         gnu/java/locale/LocaleInformation_es_HN.java,
9425         gnu/java/locale/LocaleInformation_es_MX.java,
9426         gnu/java/locale/LocaleInformation_es_NI.java,
9427         gnu/java/locale/LocaleInformation_es_PA.java,
9428         gnu/java/locale/LocaleInformation_es_PE.java,
9429         gnu/java/locale/LocaleInformation_es_PR.java,
9430         gnu/java/locale/LocaleInformation_es_PY.java,
9431         gnu/java/locale/LocaleInformation_es_SV.java,
9432         gnu/java/locale/LocaleInformation_es_US.java,
9433         gnu/java/locale/LocaleInformation_es_UY.java,
9434         gnu/java/locale/LocaleInformation_es_VE.java,
9435         gnu/java/locale/LocaleInformation_et_EE.java,
9436         gnu/java/locale/LocaleInformation_eu_ES.java,
9437         gnu/java/locale/LocaleInformation_fa_IR.java,
9438         gnu/java/locale/LocaleInformation_fi_FI.java,
9439         gnu/java/locale/LocaleInformation_fo_FO.java,
9440         gnu/java/locale/LocaleInformation_fr_BE.java,
9441         gnu/java/locale/LocaleInformation_fr_CA.java,
9442         gnu/java/locale/LocaleInformation_fr_CH.java,
9443         gnu/java/locale/LocaleInformation_fr_FR.java,
9444         gnu/java/locale/LocaleInformation_fr_LU.java,
9445         gnu/java/locale/LocaleInformation_ga_IE.java,
9446         gnu/java/locale/LocaleInformation_gd_GB.java,
9447         gnu/java/locale/LocaleInformation_gl_ES.java,
9448         gnu/java/locale/LocaleInformation_gv_GB.java,
9449         gnu/java/locale/LocaleInformation_he_IL.java,
9450         gnu/java/locale/LocaleInformation_hi_IN.java,
9451         gnu/java/locale/LocaleInformation_hr_HR.java,
9452         gnu/java/locale/LocaleInformation_hu_HU.java,
9453         gnu/java/locale/LocaleInformation_id_ID.java,
9454         gnu/java/locale/LocaleInformation_it_CH.java,
9455         gnu/java/locale/LocaleInformation_it_IT.java,
9456         gnu/java/locale/LocaleInformation_iw_IL.java,
9457         gnu/java/locale/LocaleInformation_ja_JP.java,
9458         gnu/java/locale/LocaleInformation_ka_GE.java,
9459         gnu/java/locale/LocaleInformation_kl_GL.java,
9460         gnu/java/locale/LocaleInformation_ko_KR.java,
9461         gnu/java/locale/LocaleInformation_kw_GB.java,
9462         gnu/java/locale/LocaleInformation_lt_LT.java,
9463         gnu/java/locale/LocaleInformation_lv_LV.java,
9464         gnu/java/locale/LocaleInformation_mi_NZ.java,
9465         gnu/java/locale/LocaleInformation_mk_MK.java,
9466         gnu/java/locale/LocaleInformation_mr_IN.java,
9467         gnu/java/locale/LocaleInformation_mt_MT.java,
9468         gnu/java/locale/LocaleInformation_nl_BE.java,
9469         gnu/java/locale/LocaleInformation_nl_NL.java,
9470         gnu/java/locale/LocaleInformation_nn_NO.java,
9471         gnu/java/locale/LocaleInformation_no_NO.java,
9472         gnu/java/locale/LocaleInformation_oc_FR.java,
9473         gnu/java/locale/LocaleInformation_pl_PL.java,
9474         gnu/java/locale/LocaleInformation_pt_BR.java,
9475         gnu/java/locale/LocaleInformation_pt_PT.java,
9476         gnu/java/locale/LocaleInformation_ro_RO.java,
9477         gnu/java/locale/LocaleInformation_ru_RU.java,
9478         gnu/java/locale/LocaleInformation_ru_UA.java,
9479         gnu/java/locale/LocaleInformation_se_NO.java,
9480         gnu/java/locale/LocaleInformation_sk_SK.java,
9481         gnu/java/locale/LocaleInformation_sl_SI.java,
9482         gnu/java/locale/LocaleInformation_sq_AL.java,
9483         gnu/java/locale/LocaleInformation_sr_YU.java,
9484         gnu/java/locale/LocaleInformation_sv_FI.java,
9485         gnu/java/locale/LocaleInformation_sv_SE.java,
9486         gnu/java/locale/LocaleInformation_ta_IN.java,
9487         gnu/java/locale/LocaleInformation_te_IN.java,
9488         gnu/java/locale/LocaleInformation_tg_TJ.java,
9489         gnu/java/locale/LocaleInformation_tl_PH.java,
9490         gnu/java/locale/LocaleInformation_tr_TR.java,
9491         gnu/java/locale/LocaleInformation_uk_UA.java,
9492         gnu/java/locale/LocaleInformation_ur_PK.java,
9493         gnu/java/locale/LocaleInformation_uz_UZ.java,
9494         gnu/java/locale/LocaleInformation_vi_VN.java,
9495         gnu/java/locale/LocaleInformation_yi_US.java,
9496         gnu/java/locale/LocaleInformation_zh_CN.java,
9497         gnu/java/locale/LocaleInformation_zh_HK.java,
9498         gnu/java/locale/LocaleInformation_zh_SG.java,
9499         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
9500         info; from Classpath.
9502         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
9503         isPaintPending): New methods.
9504         * gnu/awt/xlib/XFramePeer.java (getState, setState,
9505         setMaximizedBounds): New methods.
9506         (beginLayout, endLayout, isPaintPending): Likewise.
9507         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
9508         (requestFocus): Likewise.
9509         (isObscured): Likewise.
9510         (canDetermineObscurity): Likewise.
9511         (coalescePaintEvent): Likewise.
9512         (updateCursorImmediately): Likewise.
9513         (createVolatileImage): Likewise.
9514         (handlesWheelScrolling): Likewise.
9515         (createBuffers): Likewise.
9516         (getBackBuffer): Likewise.
9517         (flip): Likewise.
9518         (destroyBuffers): Likewise.
9520         * Makefile.in: Rebuilt.
9521         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
9522         RobotPeer.java.
9523         * gnu/java/awt/GLightweightPeer.java,
9524         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9525         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9526         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9527         gnu/java/awt/peer/gtk/GtkFramePeer.java,
9528         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
9529         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9530         java/awt/dnd/peer/DragSourceContextPeer.java,
9531         java/awt/dnd/peer/DropTargetContextPeer.java,
9532         java/awt/peer/ButtonPeer.java,
9533         java/awt/peer/CheckboxMenuItemPeer.java,
9534         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
9535         java/awt/peer/ComponentPeer.java,
9536         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
9537         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
9538         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
9539         java/awt/peer/MenuBarPeer.java,
9540         java/awt/peer/MenuComponentPeer.java,
9541         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
9542         java/awt/peer/PopupMenuPeer.java,
9543         java/awt/peer/ScrollPanePeer.java,
9544         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
9545         java/awt/peer/TextComponentPeer.java,
9546         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
9547         New versions from Classpath.
9548         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
9549         * java/awt/peer/RobotPeer.java: Likewise.
9551 2003-03-01  Mark Wielaard  <mark@klomp.org>
9553         * java/io/ObjectInputStream.java: Reindent.
9554         * java/io/ObjectOutputStream.java: Likewise.
9556 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
9558         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
9559         jvalue for each argument. Simplify.
9560         * testsuite/libjava.jni/calls.c (docall),
9561         testsuite/libjava.jni/calls.java (longpb_f): check for argument
9562         misalignment.
9564 2003-02-28  Mark Wielaard  <mark@klomp.org>
9566         * Makefile.am (nat_source_files): Remove
9567         java/io/natObjectOutputStream.cc.
9568         * Makefile.in: Regenerated.
9569         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
9570         * java/io/ObjectStreamField.java (typename): New field.
9571         (ObjectStreamField(String, Class)): Initialize new field.
9572         (ObjectStreamField(String, String)): New Constructor.
9573         (getTypeCode): Use new field.
9574         (getTypeString): Use new field.
9575         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
9576         ObjectStreamExceptions. Remember and reset old BlockDataMode.
9577         Handle reading of Proxy classes. Never drain(), just write
9578         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
9579         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
9580         (flush): Call flush(), not just drain().
9581         (writeBoolean): Always use blockDataOutput.
9582         (writeByte): Likewise.
9583         (writeShort): Likewise.
9584         (writeChar): Likewise.
9585         (writeInt): Likewise.
9586         (writeLong): Likewise.
9587         (writeFloat): Likewise.
9588         (writeDouble): Likewise.
9589         (writeBytes): Likewise.
9590         (putfield (put(String,Object))): Throw IllegalArgumentException if
9591         field cannot be found.
9592         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
9593         (writeArraySizeAndElements): Write byte[] in one go.
9594         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
9595         set BlockDataMode to false.
9596         (annotateProxyClass): New method.
9597         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
9598         (getField): No longer native.
9599         (getMethod): Likewise.
9600         (setBlockDataMode): Always drain() on switch, return old mode.
9601         (static): New static code block.
9602         * java/io/natObjectOutputStream.cc: Removed.
9603         * java/io/ObjectInputStream.java (getField): No longer native.
9604         (getMethod): Likewise.
9605         (readObject): Remember and reset old BlockDataMode. Track whether
9606         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
9607         TC_LONGSTRING.
9608         (defaultReadObject): Set BlockDataMode to false during readFields.
9609         (resolveClass): Create new SecurityManager if necessary.
9610         Use Class.forName() if null ClassLoader found.
9611         (read(byte[],int,int): Copy remaining bytes to data before calling
9612         readNextBlock().
9613         (readFields): Set and reset BlockDataMode on call_read_method.
9614         Catch NoSuchFieldErrors.
9615         (setBlockDataMode): Return old mode.
9616         (static): New static code block.
9617         * java/io/natObjectInputStream.cc (getField): Removed.
9618         (getMethod): Likewise.
9620 2003-02-27  Michael Koch  <konqueror@gmx.de>
9622         * java/beans/Beans.java,
9623         java/beans/FeatureDescriptor.java
9624         java/beans/PropertyEditorManager.java:
9625         Reformated to GNU style.
9627 2003-02-25  Michael Koch  <konqueror@gmx.de>
9629         * gnu/java/nio/MappedByteFileBuffer.java,
9630         gnu/java/nio/natMappedByteFileBuffer.cc:
9631         New files, both are not compiled yet to get not noncompiling CVS.
9633 2003-02-24  Tom Tromey  <tromey@redhat.com>
9635         * java/util/prefs/AbstractPreferences.java (isUserNode):
9636         Implemented.
9638 2003-02-24  Tom Tromey  <tromey@redhat.com>
9640         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
9641         Deprecate.
9642         * java/lang/Thread.java (resume): Deprecate.
9643         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
9644         in @deprecated.
9646 2003-02-23  Tom Tromey  <tromey@redhat.com>
9648         * Makefile.in: Rebuilt.
9649         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
9651 2003-02-23  Tom Tromey  <tromey@redhat.com>
9653         * java/lang/natRuntime.cc (libraries_size, libraries_count,
9654         libraries): Removed.
9655         (add_library): Removed.
9656         (_load): Don't call add_library.
9657         (loadLibraryInternal): Likewise.
9658         (init): Likewise.
9659         (lookup_data): New struct.
9660         (find_symbol): New function.
9661         (_Jv_FindSymbolInExecutable): Use it.
9663 2003-02-21  Anthony Green  <green@redhat.com>
9665         * java/lang/Thread.java (Thread): New constructor taking stack
9666         size parameter (ignored for now).
9667         * Many methods: Merged GNU Classpath documentation.
9669         * java/lang/Class.java (finalize): throws a Throwable.
9671 2003-02-21  Mark Wielaard  <mark@klomp.org>
9673         * java/util/zip/ZipEntry.java (setComment): Don't check length when
9674         argument is null.
9676 2003-02-21  Mark Wielaard  <mark@klomp.org>
9678         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
9679         then 65535 chars throw IllegalArgumentException.
9681 2003-02-21  Mark Wielaard  <mark@klomp.org>
9683         * java/util/zip/ZipFile.java (finalize): New method.
9685 2003-02-21  Michael Koch  <konqueror@gmx.de>
9687         * gnu/java/nio/natSocketChannelImpl.cc:
9688         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
9689         <cato@df.lth.se> for pointing to it.
9691 2003-02-20  Raif S. Naffah <raif@fl.net.au>
9693         * java/math/BigInteger.java (euclidInv): Take result array as an
9694         argument.  Updated all callers.
9695         (modInverse): Removed unused variables.
9697 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
9699         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
9700         config.status.
9701         * configure: Rebuilt.
9703 2003-02-19  Michael Koch  <konqueror@gmx.de>
9705         * gnu/java/nio/natSocketChannelImpl.cc:
9706         Added support for platforms without network support.
9708 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9710         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
9711         after config.h.  Use <> for consistency.
9712         * java/lang/natObject.cc: Likewise.
9713         * java/lang/natRuntime.cc: Likewise.
9714         * java/lang/natSystem.cc: Likewise.
9715         * java/util/natTimeZone.cc: Likewise.
9716         * win32.cc: Likewise.
9717         * include/posix.h (fcntl, socket, connect, close, bind, accept,
9718         listen, write, read): Undef to avoid interference from OS macros.
9720 2003-02-19  Michael Koch  <konqueror@gmx.de>
9722         * gnu/java/nio/ByteBufferImpl.java
9723         (ByteBufferImpl): Renamed two variables.
9724         * gnu/java/nio/CharBufferImpl.java
9725         (CharBufferImpl): Renamed two variables.
9726         * gnu/java/nio/DoubleBufferImpl.java
9727         (DoubleBufferImpl): Renamed two variables.
9728         * gnu/java/nio/FloatBufferImpl.java
9729         (FloatBufferImpl): Renamed two variables.
9730         * gnu/java/nio/IntBufferImpl.java
9731         (IntBufferImpl): Renamed two variables.
9732         * gnu/java/nio/LongBufferImpl.java
9733         (LongBufferImpl): Renamed two variables.
9734         * gnu/java/nio/ShortBufferImpl.java
9735         (ShortBufferImpl): Renamed two variables.
9736         * java/nio/CharBuffer.java
9737         (wrap): Fixed arguments to CharBufferImpl constructor.
9738         (hasArray): Only not read-only buffers have backing arrays.
9739         (length): Documentation added.
9740         (subSequence): Documentation added.
9741         * java/nio/DoubleBuffer.java
9742         (hasArray): Only not read-only buffers have backing arrays.
9743         * java/nio/FloatBuffer.java
9744         (hasArray): Only not read-only buffers have backing arrays.
9745         * java/nio/IntBuffer.java
9746         (hasArray): Only not read-only buffers have backing arrays.
9747         * java/nio/LongBuffer.java
9748         (hasArray): Only not read-only buffers have backing arrays.
9749         * java/nio/ShortBuffer.java
9750         (hasArray): Only not read-only buffers have backing arrays.
9751         
9752 2003-02-19  Michael Koch  <konqueror@gmx.de>
9754         * javax/accessibility/AccessibleContext.java
9755         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
9757 2003-02-19  Michael Koch  <konqueror@gmx.de>
9759         * java/awt/ScrollPaneAdjustable.java: Reformated.
9761 2003-02-19  Michael Koch <konqueror@gmx.de>
9763         * gnu/awt/j2d/Graphics2DImpl.java
9764         (getFontRenderContext): New method.
9765         (drawGlyphVector): New method.
9766         * java/awt/Graphics2D.java
9767         (getFontRenderContext): New abstract method.
9768         (drawGlyphVector): New abstract method.
9769         
9770 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
9772         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
9773         if necessary.
9774         
9775         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9776         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9777         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9778         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9779         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9780         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
9781         (setFont, gtkSetFont): add.
9782         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
9783         Propagate font to peer.  (setFont): add FIXME comment.
9785         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9786         (gtkTextGetSize): fix height, width computation.
9788         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
9789         Make X font name a bit less bogus.
9791         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9792         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
9794         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
9795         (processAdjustmentEvent): Adjust value.
9797         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
9798         logic errors.
9800         * java/awt/Component.java (setVisible, show, hide): Call show and
9801         hide methods in subclasses.
9802         (getPreferredSize): don't set prefSize before we have peer.
9804         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
9805         Guess (0,0) if we don't have peer.
9808 2003-02-18  Michael Koch  <konqueror@gmx.de>
9810         * java/nio/channels/FileChannel.java
9811         (toString): New implementation, added documentation.
9812         (map): Added exception documentation.
9813         (size): Added exception documentation.
9814         (write): New methods, documentation work.
9815         (read): New methods, documentation work.
9816         (implCloseChannel): Rewrote exception documentation.
9817         (force): Throws IOException, added documentation.
9818         (lock): New methods.
9819         (tryLock): New methods.
9820         (position): New methods.
9821         (transferTo): New method.
9822         (transferFrom): New method.
9823         (truncate): New method.
9824         * java/nio/channels/spi/SelectorProvider.java
9825         (provider): Implemented.
9826         * Makefile.am
9827         (ordinary_java_source_files): Added the following files:
9828         gnu/java/nio/DatagramChannelImpl.java
9829         gnu/java/nio/FileChannelImpl.java
9830         gnu/java/nio/PipeImpl.java
9831         gnu/java/nio/SelectionKeyImpl.java
9832         gnu/java/nio/SelectorImpl.java
9833         gnu/java/nio/SelectorProviderImpl.java
9834         gnu/java/nio/ServerSocketChannelImpl.java
9835         gnu/java/nio/SocketChannelImpl.java
9836         java/nio/channels/FileLock.java
9837         (nat_java_source_files): Added the following files:
9838         gnu/java/nio/natFileChannelImpl.cc
9839         gnu/java/nio/natSelectorImpl.cc
9840         gnu/java/nio/natSocketChannelImpl.cc
9841         * Makefile.in: Regenerated.
9843 2003-02-17  Tom Tromey  <tromey@redhat.com>
9845         * java/awt/image/ColorModel.java: Re-merged with Classpath.
9846         * java/awt/image/ImageFilter.java: Likewise.
9848 2003-02-17  Raif S. Naffah <raif@fl.net.au>
9850         * java/math/BigInteger.java (euclidInv): Return array of
9851         `BigInteger's.  Changed all callers.
9853 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
9855         * java/util/Properties.java (store): Move the code formerly in
9856         list(), into this method.
9857         (list (PrintStream)): Just call list (PrintWriter) with a 
9858         PrintWriter object constructed from the given PrintStream object.
9859         (list (PrintWriter)): Emulate the output of Properties.list()
9860         as found in JDK 1.3/1.4.
9862 2003-02-17  Michael Koch  <konqueror@gmx.de>
9864         * java/net/DatagramSocket.java
9865         (connect): Merged with classpath.
9866         (disconnect): Merged documentation with classpath.
9867         (receice): Merged documentation with classpath.
9868         (send): Merged documentation with classpath.
9869         
9870 2003-02-17  Michael Koch  <konqueror@gmx.de>
9872         * java/awt/dnd/DragSourceContext.java
9873         (addDragSourceListener): Added documentation.
9874         * java/awt/dnd/DragSourceDragEvent.java
9875         (serialVersionUID): New member variable.
9876         (getDropAction): Reformated.
9877         * java/awt/dnd/DragSourceDropEvent.java
9878         (serialVersionUID): New member variable.
9879         (dropSuccess): Renamed from success for serialization issues.
9880         * java/awt/dnd/DragSourceEvent.java
9881         (serialVersionUID): New member variable.
9882         * java/awt/dnd/DropTarget.java
9883         (serialVersionUID): New member variable.
9884         (DropTarget): Implemented, documentation reworked.
9885         (setComponent): Documentation added.
9886         (getComponent): Documentation added.
9887         (setDefaultActions): Documentation added.
9888         (getDefaultActions): Documentation added.
9889         (addDropTargetListener): Documentation added.
9890         * java/awt/dnd/DropTargetContext.java
9891         (DropTargetContext): Documentation added.
9892         (TransferableProxy.TransferableProxy): New method.
9893         (dropComplete): Fixed documentation.
9894         (getTransferable): Fixed documentation.
9895         (createTransferableProxy): Implemented.
9896         * java/awt/dnd/DropTargetDragEvent.java
9897         (DropTargetDragEvent): Documentation added.
9898         (serialVersionUID): New member variable.
9899         (DropTargetDragEvent): Throw exceptions, documentation added.
9900         (acceptDrag): Implemented.
9901         (getCurrentDataFlavors): Implemented.3yy
9902         (getCurrentDataFlavorsAsList): Implemented.
9903         (isDataFlavorSupported): Implemented.
9904         (rejectDrag): Implemented.
9905         * java/awt/dnd/DropTargetDropEvent.java
9906         (DropTargetDropEvent): Documentation added.
9907         (serialVersionUID): New member variable.
9908         (actions): Renamed from srcActions for serialization issues.
9909         (isLocalTx): Renamed from isLocalTx for serialization issues.
9910         (DropTargetDropEvent): New implementation, throw exceptions,
9911         documentation added.
9912         (getCurrentDataFlavors): Implemented.
9913         (getCurrentDataFlavorsAsList): Implemented.
9914         (isDataFlavorSupported): Implemented.
9915         (getSourceActions): Implemented.
9916         (getDropAction): Implemented.
9917         (getTransferable): Implemented.
9918         (acceptDrop): Implemented.
9919         (rejectDrop): Implemented.
9920         * java/awt/dnd/DropTargetListener.java
9921         (drop): Fixed documentation.
9922         * java/awt/dnd/MouseDragGestureRecognizer.java
9923         (MouseDragGestureRecognizer): Documentation added.
9925 2003-02-17  Michael Koch  <konqueror@gmx.de>
9927         * java/awt/font/FontRenderContext.java,
9928         java/awt/font/ShapeGraphicAttribute.java,
9929         java/awt/font/MultipleMaster.java,
9930         java/awt/font/TransformAttribute.java,
9931         java/awt/font/GlyphJustificationInfo.java,
9932         java/awt/font/LineBreakMeasurer.java,
9933         java/awt/font/TextMeasurer.java,
9934         java/awt/font/TextLayout.java,
9935         java/awt/font/LineMetrics.java,
9936         java/awt/font/TextAttribute.java,
9937         java/awt/font/GlyphMetrics.java,
9938         java/awt/font/OpenType.java,
9939         java/awt/font/GlyphVector.java,
9940         java/awt/font/GraphicAttribute.java,
9941         java/awt/font/ImageGraphicAttribute.java,
9942         java/awt/font/NumericShaper.java: New files.
9943         * Makefile.am
9944         (awt_java_source_files): Added the following files:
9945         java/awt/font/FontRenderContext.java
9946         java/awt/font/ShapeGraphicAttribute.java
9947         java/awt/font/MultipleMaster.java
9948         java/awt/font/TransformAttribute.java
9949         java/awt/font/GlyphJustificationInfo.java
9950         java/awt/font/LineBreakMeasurer.java
9951         java/awt/font/TextMeasurer.java
9952         java/awt/font/TextLayout.java
9953         java/awt/font/LineMetrics.java
9954         java/awt/font/TextAttribute.java
9955         java/awt/font/GlyphMetrics.java
9956         java/awt/font/OpenType.java
9957         java/awt/font/GlyphVector.java
9958         java/awt/font/GraphicAttribute.java
9959         java/awt/font/ImageGraphicAttribute.java
9960         java/awt/font/NumericShaper.java
9961         * Makefile.in: Regenerated.
9963 2003-02-17  Michael Koch  <konqueror@gmx.de>
9965         * java/awt/print/Paper.java
9966         (Paper): Implements Cloneable.
9967         * java/awt/print/PrinterJob.java
9968         (setJobName): Return value must be void.
9969         (print): Throws PrinterException.
9970         
9971 2003-02-16  Tom Tromey  <tromey@redhat.com>
9973         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
9974         variable.
9976 2003-02-15  Michael Koch  <konqueror@gmx.de>
9978         * java/awt/datatransfer/DataFlavor.java
9979         (isRepresentationClassByteBuffer): Removed try-catch block.
9980         (isRepresentationClassCharBuffer): Removed try-catch block.
9981         (isRepresentationClassReader): Removed try-catch block.
9983 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9985         * java/nio/charset/Charset.java
9986         (isRegistered): Fixed method args and implementation.
9987         * java/nio/charset/CharsetEncoder.java
9988         (unmappableCharacterAction): New method.
9990 2003-02-15  Michael Koch  <konqueror@gmx.de>
9992         * java/awt/CheckboxMenuItem.java
9993         (CheckBoxMenuItem): Dont implement Serializable.
9994         (getListeners): New method,
9995         (getItemListeners): New method.
9996         * java/awt/Choice.java
9997         (getListeners): New method,
9998         (getItemListeners): New method.
9999         * java/awt/Container.java
10000         (getListeners): Added exception documentation.
10001         (setFocusTraversalKeys): Throw exceptions, added documentattion.
10002         (getFocusTraversalKeys): Added documentation.
10003         (areFocusTraversalKeysSet): Added documentation.
10004         (applyComponentOrientation): Added documentation.
10005         * java/awt/ContainerOrderFocusTraversalPolicy.java
10006         (implicitDownCycleTraversal): Renamed from downCycle for
10007         serialization.
10008         (ContainerOrderFocusTraversalPolicy): Added documentation.
10009         (accept): Reformated.
10010         * java/awt/Dialog.java
10011         (Dialog): Dont implement Serializable.
10012         (Dialog): Added documentation.
10013         * java/awt/Font.java
10014         (Font): Dont use absolute class name.
10015         * java/awt/Frame.java
10016         (Frame): Font implement Serializable.
10017         * java/awt/List.java
10018         (getListeners): New method,
10019         (getActionListeners): New method.       
10020         (getItemListeners): New method.
10021         * java/awt/Menu.java
10022         (countItems): New deprecated method.
10023         * java/awt/Scrollbar.java
10024         (getListeners): New method,
10025         (getAdjustmentListeners): New method,
10026         * java/awt/TextComponent.java
10027         (getListeners): New method,
10028         (getTextListeners): New method,
10029         * java/awt/TextField.java
10030         (getListeners): New method,
10031         (getActionListeners): New method.       
10032         * java/awt/Window.java
10033         (windowFocusListener): New member variable.
10034         (windowStateListener): New member variable.
10035         (getWindowFocusListeners): New method.
10036         (getWindowStateListeners): New method.
10037         (addWindowFocusListener): New method.
10038         (addWindowStateListener): New method.
10039         (removeWindowFocusListener): New method.
10040         (removeWindowStateListener): New method.
10041         * java/awt/datatransfer/DataFlavor.java
10042         (isRepresentationClassByteBuffer): New method.
10043         (isRepresentationClassCharBuffer): New method.
10044         (isRepresentationClassReader): New method.
10046 2003-02-14  Mark Wielaard  <mark@klomp.org>
10048         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
10049         zero when there is an exponent and the significant is zero.
10050         (divide): Always set scale to newScale even in special ZERO case.
10052 2003-02-14  Tom Tromey  <tromey@redhat.com>
10054         * java/lang/System.java (properties): Use Properties.clone.
10055         (setProperties): Likewise.
10057 2003-02-14  Michael Koch  <konqueror@gmx.de>
10059         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
10060         * gnu/java/nio/ServerSocketChannelImpl.java
10061         (SocketAccept): Removed.
10062         (accept): Commented out use of SocketAccept.
10064 2003-02-13  Tom Tromey  <tromey@redhat.com>
10066         * verify.cc (state::seen_subrs): New field.
10067         (state::state): Initialize it.
10068         (state::clean_subrs): New method.
10069         (state::~state): Call it.
10070         (state::copy): Copy subroutine list.
10071         (state::add_subr): New method.
10072         (state::merge): Only register a change if the current subroutine
10073         hasn't yet been noted.
10075 2003-02-13  Mark Wielaard  <mark@klomp.org>
10077         * java/io/InputStreamReader.java (getEncoding): Return null when
10078         closed.
10079         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
10081 2003-02-13  Mark Wielaard  <mark@klomp.org>
10083         * java/util/zip/InflaterInputStream.java (read): Return zero when len
10084         is zero.
10086 2003-02-13  Mark Wielaard  <mark@klomp.org>
10088         * java/io/BufferedOutputStream.java (write(int)): Only flush when
10089         next byte cannot be buffered.
10091 2003-02-13  Michael Koch  <konqueror@gmx.de>
10093         * java/awt/Label.java
10094         (Label): Don't implement Serializable directly.
10095         (addNotify): Fixed typo in documentation.
10096         * java/awt/List.java
10097         (List): Don't implement Serializable directly.
10098         * java/awt/PopupMenu.java
10099         (PopupMenu): Don't implement Serializable directly.
10100         * java/awt/ScrollPane.java
10101         (ScrollPane): Don't implement Serializable directly.
10102         * java/awt/Scrollbar.java
10103         (Scrollbar): Don't implement Serializable directly.
10104         * java/awt/TextArea.java
10105         (preferredSize): Fixed method arguments.
10106         * java/awt/TextField.java
10107         (TextField): Don't implement Serializable directly.
10108         * java/awt/color/ICC_ColorSpace.java
10109         (fromCIOXYZ): Documentation added.
10110         (getMinValue): Documentation added.
10111         (getMaxValue): Documentation added.
10112         * java/awt/datatransfer/DataFlavor.java
10113         (isMimeTypeEqual): May not be final.
10114         (clone): Throws CloneNotSupportedException.
10115         (getReaderForText): Don't throws UnsupportedEncodingException.
10117 2003-02-13  Michael Koch  <konqueror@gmx.de>
10119         * gnu/java/awt/peer/gtk/GdkGraphics.java
10120         (drawString): New stubbed method.
10121         * java/awt/Graphics.java
10122         (drawString): New method.
10124 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
10126         PR libgcj/9271:
10127         * java/security/SecureRandom.java (next): Avoid bias in results.
10129 2003-02-13  Michael  <konqueror@gmx.de>
10131         * gnu/java/nio/FileChannelImpl.java
10132         (lengthInternal): Must be native.
10133         (size): Check if channel is already closed.
10134         (implCloseChannel): Reformated.
10135         (read): w was unused, removed it.
10136         (read): Removed.
10137         (read): New method.
10138         (write): New method.
10139         (map): Check arguments.
10140         (force): Throws IOException, check if channel is closed.
10141         (transferTo): New method.
10142         (transferFrom): New method.
10143         (lock): New method.
10144         (tryLock): New method.
10145         (position): New method.
10146         (truncate): New method.
10147         (nio_mmap_file): Uncommented.
10148         (nio_munmap_file): Uncommented.
10149         (nio_msync): Uncommented.
10150         * gnu/java/nio/natFileChannelImpl.cc: New file.
10151         
10152 2003-02-13  Michael Koch  <konqueror@gmx.de>
10154         * java/nio/ByteBuffer.java
10155         (endian): New member variable.
10156         (get): New methods.
10157         (equals): New method.
10158         (compareTo): New method.
10159         (order): New methods.
10160         (compact): New method.
10161         (isDirect): New method.
10162         (slice): New method.
10163         (duplicate): New method.
10164         (asReadOnlyBuffer): New method.
10165         (asCharBuffer): New method.
10166         (asDoubleBuffer): New method.
10167         (asFloatBuffer): New method.
10168         (asIntBuffer): New method.
10169         (asLongBuffer): New method.
10170         (asShortBuffer): New method.
10171         (get*): New methods.
10172         (put*): New methods.
10173         (toString): New method.
10174         * java/nio/CharBuffer.java
10175         (CharBuffer): Implement Comparable instead of Cloneable.
10176         (get): May not be final.
10177         (put): May not be final.
10178         
10179 2003-02-13  Ranjit Mathew  <rmathew@hotmail.com>
10181         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
10182         lastIndexOf( ) instead of indexOf( ) to find the colon before
10183         the line number, because Win32 file names might contain a 
10184         drive letter and a colon at the start of an absolute path.
10186 2003-02-13  Michael Koch  <konqueror@gmx.de>
10188         * gnu/java/nio/natSocketChannelImpl.cc
10189         (SocketConnect): This is not implemented yet.
10190         (SocketBind): This is not implemented yet.
10192 2003-02-13  Michael Koch  <konqueror@gmx.de>
10194         * gnu/java/nio/natByteBufferImpl.cc,
10195         gnu/java/nio/natCharBufferImpl.cc,
10196         gnu/java/nio/natDoubleBufferImpl.cc,
10197         gnu/java/nio/natFloatBufferImpl.cc,
10198         gnu/java/nio/natIntBufferImpl.cc,
10199         gnu/java/nio/natLongBufferImpl.cc,
10200         gnu/java/nio/natShortBufferImpl.cc:
10201         Added copyright and license.
10202         * java/nio/DoubleBuffer.java,
10203         java/nio/FloatBuffer.java,
10204         java/nio/IntBuffer.java,
10205         java/nio/LongBuffer.java,
10206         java/nio/ShortBuffer.java
10207         (array): Throw exceptions.
10208         (arrayOffset): Throw exceptions.
10210 2003-02-13  Michael Koch  <konqueror@gmx.de>
10212         * gnu/java/util/prefs/FileBasedFactory.java,
10213         gnu/java/util/prefs/MemmoryBasedFactory.java,
10214         gnu/java/util/prefs/MemoryBasedPreferences.java,
10215         gnu/java/util/prefs/NodeReader.java,
10216         gnu/java/util/prefs/NodeWriter.java,
10217         java/util/prefs/AbstractPreferences.java,
10218         java/util/prefs/BackingStoreException.java,
10219         java/util/prefs/InvalidPreferencesFormatException.java,
10220         java/util/prefs/NodeChangeEvent.java,
10221         java/util/prefs/NodeChangeListener.java,
10222         java/util/prefs/PreferenceChangeEvent.java,
10223         java/util/prefs/PreferenceChangeListener.java,
10224         java/util/prefs/Preferences.java,
10225         java/util/prefs/PreferencesFactory.java:
10226         New files, all merged from classpath.
10227         * Makefile.am
10228         (ordinary_java_source_files): Added the following files:
10229         gnu/java/util/prefs/FileBasedFactory.java,
10230         gnu/java/util/prefs/MemmoryBasedFactory.java,
10231         gnu/java/util/prefs/MemoryBasedPreferences.java,
10232         gnu/java/util/prefs/NodeReader.java,
10233         gnu/java/util/prefs/NodeWriter.java,
10234         (core_java_source_files): Added the following files:
10235         java/util/prefs/AbstractPreferences.java,
10236         java/util/prefs/BackingStoreException.java,
10237         java/util/prefs/InvalidPreferencesFormatException.java,
10238         java/util/prefs/NodeChangeEvent.java,
10239         java/util/prefs/NodeChangeListener.java,
10240         java/util/prefs/PreferenceChangeEvent.java,
10241         java/util/prefs/PreferenceChangeListener.java,
10242         java/util/prefs/Preferences.java,
10243         java/util/prefs/PreferencesFactory.java
10244         * Makefile.in: Regenerated.
10246 2003-02-13  Michael Koch  <konqueror@gmx.de>
10248         * java/net/NetPermission.java
10249         (NetPermission): Make doucmentation match the method declaration.
10250         * java/net/NetworkInterface.java
10251         (equals): Reformated for GNU coding style.
10252         * java/net/ServerSocket.java: Merged with classpath.
10253         * java/net/Socket.java: Partly merged with classpath (Added some @since).
10254         * java/net/SocketImpl.java
10255         (localPort): Merged with classpath (initialize with -1).
10256         * java/net/SocketPermission.java: Merged with classpath (reindented).
10257         * java/net/URLDecoder.java: Merged with classpath (reindented).
10259 2003-02-13  Michael Koch  <konqueror@gmx.de>
10261         * java/awt/GridBagConstraints.java
10262         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
10263         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
10264         * java/awt/KeyboardFocusManager.java
10265         (setGlobalCurrentFocusCycleRoot): Must be public.
10266         * java/awt/MenuComponent.java
10267         (MenuComponent): Must be public.
10268         * java/awt/Toolkit.java:
10269         Added some empty lines to make documentation more readable.
10270         (getFontPeer): Added @deprecated.
10271         (getColorModel): Added exception documentation.
10272         (getProperty): Fixed documentation.
10274 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
10276         * configure.host (alpha*-*): Default to -mieee.
10277         * configure.in (IEEESPEC): New.
10278         * libgcj.spec.in (jc1): Add IEEESPEC.
10279         * configure: Rebuild.
10281 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
10283         * include/win32.h: Include ws2tcpip.h instead of
10284         winsock.h to obtain definition of the socklen_t type.
10285         Remove IP_TOS definition - not needed with ws2tcpip.h
10286         (_Jv_connect): Correct slight formatting error.
10288 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
10290         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
10291         size of the arguments for a JNI function. For Win32,
10292         modify to search for all forms of possible exported
10293         names of an stdcall JNI function.
10294         (_Jv_JNIMethod::call): Modify to calculate the size
10295         of the arguments passed to a JNI function and pass
10296         it to _Jv_LookupJNIMethod.
10298 2003-02-12  Michael Koch  <konqueror@gmx.de>
10300         * java/nio/channels/Channels.java: New file.
10301         * Makefile.am
10302         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
10303         * Makefile.in: Regenerated.
10305 2003-02-12  Michael Koch  <konqueror@gmx.de>
10307         * java/nio/ByteBuffer.java
10308         (allocate): Implemented.
10309         (wrap): Implemented.
10310         * java/nio/CharBuffer.java:
10311         Some documentation added and reworked.
10312         (endian): Removed.
10313         (allocate): Implemented.
10314         (wrap): Implemented.
10315         (array): Throw exceptions.
10316         (arrayOffset): Throw exceptions.
10317         (toString): Implemented.
10318         (length): Implemented.
10319         (put): Implemented.
10320         (charAt): Implemented.
10322 2003-02-11  John Leuner  <jewel@debian.org>
10324         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
10325         reads from end of file.
10327 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
10329         * java/io/natFileDescriptorWin32.cc 
10330         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
10331         returns with Win32 error code ERROR_BROKEN_PIPE.
10333 2003-02-11  Michael Koch  <konqueror@gmx.de>
10335         * Makefile.in
10336         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
10338 2003-02-11  Michael Koch  <konqueror@gmx.de>
10340         * gnu/java/nio/ByteBufferImpl.java:
10341         Reformated and removed some code.
10342         (backing_buffer): Removed.      
10343         (array_offset): Removed.
10344         (ro): Renamed to readOnly.
10345         (ByteBufferImpl): Use parent constructor, initialize readOnly.
10346         * gnu/java/nio/CharBufferImpl.java:
10347         Reformated and removed some code.
10348         (array_offset): Removed.
10349         (ro): Renamed to readOnly.
10350         (CharBufferImpl): Use parent constructor, initialize readOnly.
10351         (inc_pos): Removed.
10352         (order): New method.
10353         * gnu/java/nio/DoubleBufferImpl.java:
10354         Reformated and removed some code.
10355         (array_offset): Removed.
10356         (ro): Renamed to readOnly.
10357         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
10358         (inc_pos): Removed.
10359         (order): New method.
10360         * gnu/java/nio/FloatBufferImpl.java:
10361         Reformated and removed some code.
10362         (array_offset): Removed.
10363         (ro): Renamed to readOnly.
10364         (FloatBufferImpl): Use parent constructor, initialize readOnly.
10365         (inc_pos): Removed.
10366         (order): New method.
10367         * gnu/java/nio/IntBufferImpl.java:
10368         Reformated and removed some code.
10369         (array_offset): Removed.
10370         (ro): Renamed to readOnly.
10371         (IntBufferImpl): Use parent constructor, initialize readOnly.
10372         (inc_pos): Removed.
10373         (order): New method.
10374         * gnu/java/nio/LongBufferImpl.java:
10375         Reformated and removed some code.
10376         (array_offset): Removed.
10377         (ro): Renamed to readOnly.
10378         (LongBufferImpl): Use parent constructor, initialize readOnly.
10379         (inc_pos): Removed.
10380         (order): New method.
10381         * gnu/java/nio/ShortBufferImpl.java:
10382         Reformated and removed some code.
10383         (array_offset): Removed.
10384         (ro): Renamed to readOnly.
10385         (ShortBufferImpl): Use parent constructor, initialize readOnly.
10386         (inc_pos): Removed.
10387         (order): New method.
10388         * Makefile.am
10389         (ordinary_java_source_files): Added the following files:
10390         gnu/java/nio/ByteBufferImpl.java
10391         gnu/java/nio/CharBufferImpl.java
10392         gnu/java/nio/DoubleBufferImpl.java
10393         gnu/java/nio/FloatBufferImpl.java
10394         gnu/java/nio/IntBufferImpl.java
10395         gnu/java/nio/LongBufferImpl.java
10396         gnu/java/nio/ShortBufferImpl.java
10397         java/nio/DoubleBuffer.java
10398         java/nio/FloatBuffer.java
10399         java/nio/IntBuffer.java
10400         java/nio/LongBuffer.java
10401         java/nio/ShortBuffer.java
10402         (nat_source_files): Added the following files:
10403         gnu/java/nio/natByteBufferImpl.cc
10404         gnu/java/nio/natCharBufferImpl.cc
10405         gnu/java/nio/natDoubleBufferImpl.cc
10406         gnu/java/nio/natFloatBufferImpl.cc
10407         gnu/java/nio/natIntBufferImpl.cc
10408         gnu/java/nio/natLongBufferImpl.cc
10409         gnu/java/nio/natShortBufferImpl.cc
10410         * Makefile.in: Regenerated.
10412 2003-02-11  Michael Koch  <konqueror@gmx.de>
10414         * gnu/java/nio/natCharBufferImpl.cc
10415         (nio_cast): Removed.
10416         (nio_put_*): Removed.
10417         (nio_get_*): Removed.
10418         * gnu/java/nio/natDoubleBufferImpl.cc
10419         (nio_cast): Removed.
10420         (nio_put_*): Removed.
10421         (nio_get_*): Removed.
10422         * gnu/java/nio/natFloatBufferImpl.cc
10423         (nio_cast): Removed.
10424         (nio_put_*): Removed.
10425         (nio_get_*): Removed.
10426         * gnu/java/nio/natIntBufferImpl.cc
10427         (nio_cast): Removed.
10428         (nio_put_*): Removed.
10429         (nio_get_*): Removed.
10430         * gnu/java/nio/natLongBufferImpl.cc
10431         (nio_cast): Removed.
10432         (nio_put_*): Removed.
10433         (nio_get_*): Removed.
10434         * gnu/java/nio/natShortBufferImpl.cc
10435         (nio_cast): Removed.
10436         (nio_put_*): Removed.
10437         (nio_get_*): Removed.
10438         * gnu/java/nio/SelectorProviderImpl.java
10439         (openDatagramChannel): Throws IOException.
10440         (openPipe): Throws IOException.
10441         (openSelector): Throws IOException.
10442         (openServerSocketChannel): Throws IOException.
10443         (openSocketChannel): Throws IOException.
10444         * gnu/java/nio/ServerSocketChannelImpl.java
10445         (ServerSocketChannelImpl): Throws IOException.
10446         (implCloseSelectableChannel): Throws IOException.
10447         (implConfigureBlocking): Throws IOException.
10448         * java/nio/ByteBuffer.java
10449         (readOnly): Removed.
10450         (hasArray): Use isReadOnly() instead of readOnly.
10451         (array): Use isReadOnly() instead of readOnly.
10452         (arrayOffset): Use isReadOnly() instead of readOnly.
10453         * java/nio/CharBuffer.java
10454         (CharBuffer): Implements Cloneable and CharSequence.
10456 2003-02-11  Michael Koch  <konqueror@gmx.de>
10458         * java/nio/DoubleBuffer.java
10459         (DoubleBuffer): Implements Comparable.
10460         (endian): Removed.
10461         (array_offset): New member variable.
10462         (DoubleBuffer): New constuctor.
10463         (get): May not be final.
10464         (put): May not be final.
10465         (arrayOffset): Implemented.
10466         (order): Made abstract.
10467         (order): Removed.
10468         (as*Buffer): Removed.
10469         (get*): Removed.
10470         (put*): Removed.
10471         * java/nio/FloatBuffer.java
10472         (FloatBuffer): Implements Comparable.
10473         (endian): Removed.
10474         (array_offset): New member variable.
10475         (FloatBuffer): New constuctor.
10476         (get): May not be final.
10477         (put): May not be final.
10478         (arrayOffset): Implemented.
10479         (order): Made abstract.
10480         (order): Removed.
10481         (as*Buffer): Removed.
10482         (get*): Removed.
10483         (put*): Removed.
10484         * java/nio/IntBuffer.java
10485         (IntBuffer): Implements Comparable.
10486         (endian): Removed.
10487         (array_offset): New member variable.
10488         (IntBuffer): New constuctor.
10489         (get): May not be final.
10490         (put): May not be final.
10491         (arrayOffset): Implemented.
10492         (order): Made abstract.
10493         (order): Removed.
10494         (as*Buffer): Removed.
10495         (get*): Removed.
10496         (put*): Removed.
10497         * java/nio/LongBuffer.java
10498         (LongBuffer): Implements Comparable.
10499         (endian): Removed.
10500         (array_offset): New member variable.
10501         (LongBuffer): New constuctor.
10502         (get): May not be final.
10503         (put): May not be final.
10504         (arrayOffset): Implemented.
10505         (order): Made abstract.
10506         (order): Removed.
10507         (as*Buffer): Removed.
10508         (get*): Removed.
10509         (put*): Removed.
10510         * java/nio/ShortBuffer.java
10511         (ShortBuffer): Implements Comparable.
10512         (endian): Removed.
10513         (array_offset): New member variable.
10514         (ShortBuffer): New constuctor.
10515         (get): May not be final.
10516         (put): May not be final.
10517         (arrayOffset): Implemented.
10518         (order): Made abstract.
10519         (order): Removed.
10520         (as*Buffer): Removed.
10521         (get*): Removed.
10522         (put*): Removed.
10524 2003-02-11   Michael Koch  <konqueror@gmx.de>
10526         * java/nio/channels/SelectionKey.java
10527         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
10528         values.
10530 2003-02-11  Michael Koch  <konqueror@gmx.de>
10532         * java/nio/channels/DatagramChannel.java
10533         (write): Throws IOException.
10534         (connect): Throws IOException.
10535         (disconnect): Throws IOException.
10536         (read): Throws IOException.
10537         (receive): Throws IOException.
10538         (send): Throws IOException.
10539         * java/nio/channels/Pipe.java
10540         (open): Throws IOException.
10541         * java/nio/channels/SelectableChannel.java
10542         (configureBlocking): Throws IOException.
10543         * java/nio/channels/ServerSocketChannel.java
10544         (accept): Throws IOException.
10545         * java/nio/channels/SocketChannel.java
10546         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
10547         GatheringByteChannel.
10548         (read): Throws IOException.
10549         (write): Throws IOException.
10550         (finishConnect): Throws IOException.
10551         * java/nio/channels/spi/AbstractInterruptibleChannel.java
10552         (end): Throws AsynchronousCloseException.
10553         * java/nio/channels/spi/AbstractSelectableChannel.java
10554         (configureBlocking): Throws IOException.
10555         (implCloseChannel): Throws IOException.
10556         (implCloseSelectableChannel): Throws IOException.
10557         (implConfigureBlocking): Throws IOException.
10558         * java/nio/channels/spi/SelectorProvider.java
10559         (openDatagramChannel): Throws IOException.
10560         (openPipe): Throws IOException.
10561         (openSelector): Throws IOException.
10562         (openServerSocketChannel): Throws IOException.
10563         (openSocketChannel): Throws IOException.
10565 2003-02-11  Michael Koch  <konqueror@gmx.de>
10567         * gnu/java/nio/FileLockImpl.java,
10568         java/nio/channels/FileLock.java: New files.
10570 2003-02-11  Michael Koch  <konqueror@gmx.de>
10572         * java/nio/charset/IllegalCharsetNameException.java
10573         (serialVersionUID): New member variable.
10574         (charsetName): New member variable.
10575         (IllegalCharsetException): New implementation.
10576         (getCharsetName): New implementation.
10577         * java/nio/charset/UnsupportedCharsetException.java
10578         (serialVersionUID): New member variable.
10579         (charsetName): New member variable.
10580         (UnsupportedCharsetException): New implementation.
10581         (getCharsetName): New implementation.
10583 2003-02-10  Tom Tromey  <tromey@redhat.com>
10585         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
10586         (ex): Renamed from sqlException.
10588 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
10590         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
10591         method used to ensure seeding has occurred and that a specific 
10592         seed can be set and used.
10594 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
10596         * java/lang/Win32Process.java (destroy): Declare as native.
10597         (hasExited): New native method.
10598         (exitValue): Define.
10599         (getErrorStream): Likewise.
10600         (getInputStream): Likewise.
10601         (getOutputStream): Likewise.
10602         (waitFor): Declare as native.
10603         (startProcess): New native method.
10604         (cleanup): Likewise.
10605         (ConcreteProcess): Define.
10606         (outputStream, inputStream, errorStream): New members.
10607         (procHandle, exitCode): Likewise.
10609         * java/lang/natWin32Process.cc
10610         (java::lang::ConcreteProcess::cleanup): Define.
10611         (java::lang::ConcreteProcess::destroy): Likewise.
10612         (java::lang::ConcreteProcess::hasExited): Likewise.
10613         (java::lang::ConcreteProcess::waitFor): Likewise.
10614         (new_string): Likewise.
10615         (java::lang::ConcreteProcess::startProcess): Likewise.
10617 2003-02-10  Raif S. Naffah <raif@fl.net.au>
10619         * java/math/BigInteger.java:
10620         Updated notice to include years 2002 and 3.
10621         Added 2 private (int) arrays with values from the HAC (Handbook of
10622         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
10623         and t[] that contains nbr. of tests --used in isProbablePrime().
10625         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
10627         * java/math/BigInteger.java (make(int[],int), add(int,int),
10628         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
10629         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
10630         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
10631         make(long).
10633         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
10634         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
10635         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
10636         BIs and returns void.
10637         (modInverse(BI)): Use new signatures of euclidInv().
10639         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
10640         static small primes instead of remainder().
10641         Use pre-computed max nbr of trials based on bitlength of BI to test.
10642         Use pre-computed small primes for the trial tests instead of random
10643         numbers.
10645         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
10646         not used.
10648         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
10649         invoacation of MPN.chars_per_word().  not used.
10651         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
10652         local var and used where needed.
10654         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
10655         Combined declaration with initialisation of locals.
10656         Removed unused var.
10658         * java/math/BigInteger.java: Style changes
10659         (pow(int)): Removed 'else' keyword.
10660         (toString(int)): idem.
10661         (doubleValue()): idem.
10662         (bitLength()): idem.
10663         (equals(Object)): Use static methods name in same class w/o prepending
10664         class name.
10665         (doubleValue()): idem.
10666         (setNegative(BI)): idem.
10667         (negate()): idem.
10668         (and(BI,int)): idem.
10669         (and(BI)): idem.
10670         (gcd(BI)): idem.
10671         (byteArrayToIntArray()): Removed casting to (int). this is
10672         std. behaviour.
10673         (canonicalize()): idem.
10674         (alloc(int)): Always instantiate a new BI.
10676 2003-02-10  Tom Tromey  <tromey@redhat.com>
10678         * java/sql/Timestamp.java (compareTo(Object)): New method.
10679         (compareTo(Timestamp)): Likewise.
10680         (serialVersionUID): Updated.
10682 2003-02-07  Mark Wielaard  <mark@klomp.org>
10684         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
10685         when verify is true.
10686         (JarFile(File, boolean)): Likewise.
10687         (manifestRead): Set manifestRead field correctly.
10689 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10691         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
10692         tests; see patch #1016 on Savannah.
10694 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10696         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
10697         (toString): do not return Strings starting with . and - erroneously.
10698         Improves Mauve results to 12 of 600 instead of 16 of 338 on
10699         DiagBigDecimal.
10701 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10703         * java/beans/PropertyDescriptor.java
10704         (PropertyDescriptor(String, Class)): Sanity check getter and setter
10705         methods.
10706         (PropertyDescriptor(String, Class, String, String)): Likewise.
10707         (PropertyDescriptor(String, Method, Method): Factor out getter and
10708         setter method sanity checks into new method.
10709         (findMethods): Don't do parameter sanity checking of get method here.
10710         (checkMethods): New method.
10712 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10714         * java/beans/PropertyDescriptor.java: Reformat.
10716 2003-02-04  Tom Tromey  <tromey@redhat.com>
10718         * java/io/PipedOutputStream.java (flush): Declare as throwing
10719         IOException.
10720         (close): Likewise.
10721         * java/io/PipedWriter.java (close): Declare as throwing
10722         IOException.
10723         * java/io/StringWriter.java (close): Declare as throwing
10724         IOException.
10726 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10728         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
10729         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
10730         could also have been exported as "JNI_OnLoad@8" (MinGW) or
10731         "_JNI_OnLoad@8" (MSVC).
10733 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10735         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
10736         convention on Win32 to invoke native JNI methods.
10738 2003-02-03  Andrew Haley  <aph@redhat.com>
10740         * configure.host (x86_64): Enable interpreter.
10742 2003-02-03  Andrew Haley  <aph@redhat.com>
10744         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
10745         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
10746         * configure.in (BACKTRACESPEC): New.
10747         * configure: Regenerate.
10749 2003-02-02  Tom Tromey  <tromey@redhat.com>
10751         * configure: Rebuilt.
10752         * configure.in (TOOLKIT) [xlib]: Set correctly.
10754         * Makefile.in: Rebuilt.
10755         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
10756         libstdc++.
10758 2003-01-31  Mark WIelaard  <mark@klomp.org>
10760         * Makefile.in: Rebuilt.
10761         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
10763 2003-01-31  Tom Tromey  <tromey@redhat.com>
10765         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
10766         cast to element type.
10767         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
10768         (_Jv_JNI_GetObjectArrayElement): Likewise.
10770         * Makefile.in: Rebuilt.
10771         * Makefile.am (cond_x_ltlibrary): Renamed library to
10772         lib-gnu-awt-xlib.la.
10773         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
10774         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
10775         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
10776         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
10777         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
10778         (lib_gnu_awt_xlib_la_LINK): Likewise.
10779         (install-exec-hook): Removed.
10780         (lib-gnu-awt-xlib.la): Renamed.
10782 2003-01-31  Tom Tromey  <tromey@redhat.com>
10784         * aclocal.m4, configure, include/config.h.in: Rebuilt.
10785         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
10786         aclocal.m4 and lost in some merge.
10788         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
10789         Don't try to find graphics configuration.
10790         * java/awt/Toolkit.java (default_toolkit_name): Use new
10791         Configuration entry.
10792         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
10793         New global.
10794         * configure: Rebuilt.
10795         * configure.in (TOOLKIT): New subst.
10796         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
10797         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
10798         directory.  Make output directories for .c files.
10799         * Makefile.in: Rebuilt.
10800         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
10801         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
10802         (all_java_source_files): Added new sources.
10803         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
10804         (gtk_c_files): New macro.
10805         (gtk_c_source_files): New macro.
10806         (cond_gtk_ltlibrary): New macro.
10807         ($(gtk_c_files)): New target.
10808         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
10809         (gtk_awt_peer_sources): New macro.
10810         (gtk_c_headers): New macro.
10811         ($(gtk_c_headers)): New target.
10812         (ACLOCAL_AMFLAGS): New macro.
10813         * gtk.m4, glib.m4, libart.m4: New files.
10814         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
10815         gnu/java/awt/peer/gtk/GdkGraphics.java,
10816         gnu/java/awt/peer/gtk/GtkArg.java,
10817         gnu/java/awt/peer/gtk/GtkArgList.java,
10818         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10819         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
10820         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
10821         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
10822         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
10823         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10824         gnu/java/awt/peer/gtk/GtkClipboard.java,
10825         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10826         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10827         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
10828         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
10829         gnu/java/awt/peer/gtk/GtkFontPeer.java,
10830         gnu/java/awt/peer/gtk/GtkFramePeer.java,
10831         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
10832         gnu/java/awt/peer/gtk/GtkImage.java,
10833         gnu/java/awt/peer/gtk/GtkImagePainter.java,
10834         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
10835         gnu/java/awt/peer/gtk/GtkListPeer.java,
10836         gnu/java/awt/peer/gtk/GtkMainThread.java,
10837         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
10838         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
10839         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
10840         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
10841         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
10842         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
10843         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10844         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
10845         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
10846         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10847         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10848         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10849         gnu/java/awt/peer/gtk/GtkToolkit.java,
10850         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10851         gnu/java/awt/peer/gtk/TestAWT.java,
10852         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
10853         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
10854         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
10855         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10856         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
10857         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
10858         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
10859         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
10860         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
10861         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
10862         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
10863         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
10864         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
10865         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
10866         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
10867         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
10868         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
10869         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
10870         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
10871         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
10872         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
10873         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
10874         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
10875         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10876         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
10877         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
10878         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
10879         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
10880         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
10881         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
10882         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
10883         jni/classpath/native_state.c, jni/classpath/native_state.h,
10884         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
10886 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
10888         * java/util/Properties.java (load): Ignore backslash before EOF.
10890 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
10892         * java/lang/natClass.cc (initializeClass): Check tables when
10893         (state == JV_STATE_IN_PROGRESS).
10894         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
10895         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
10896         interpreted classes.
10897         (linkClass0): Use _Jv_WaitForState.
10899 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
10901         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
10902         object when finished.
10904 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
10906         * libjava/configure.host: Disable can_unwind_signal on darwin.
10908 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
10910         Fixes PR java/9254:
10911         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
10912         additionally containing id of the owner thread as well as
10913         the number of nested times the thread has acquired the mutex.
10914         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
10915         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
10916         (_Jv_MutexUnlock): Check if really the owner thread, reset
10917         owner thread id to 0 before leaving, if leaving for the last
10918         time.
10919         (_Jv_MutexLock): Set owner thread id in the mutex and increment
10920         refcount.
10921         (_Jv_ThreadYield): Yield using a call to Sleep(0).
10922         * win32-threads.cc (_Jv_CondWait): Check if really owner of
10923         the passed mutex.
10924         Pass handle of the broadcast event, instead of a pointer to it
10925         in Win32 ResetEvent( ) call.
10926         Remove incorrect return values.
10927         (_Jv_CondDestroy): Close both event handles and delete
10928         critical section.
10929         (_Jv_CondNotify): Check if really the owner thread.
10930         (_Jv_CondNotifyAll): Check if really the owner thread.
10931         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
10932         (really_start): Use SetEvent( ) to signal daemon_cond.
10933         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
10934         WaitForSingleObject( ) instead to wait for daemon_cond to be
10935         signalled.
10937 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
10939         * configure.in: Specifically define HAVE_BACKTRACE if building
10940         for MinGW.
10941         * include/win32.h: Remove HAVE_BACKTRACE definition.
10942         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
10943         * configure: Rebuilt.
10945 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
10947         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
10948         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
10949         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
10950         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
10951         * Makefile.in, configure: Rebuilt.
10953 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
10955         Fixes PR java/9253:
10956         * java/io/natFileWin32.cc (performList): Append only "*.*"
10957         if the canonical file path already has a "\" at the end.
10959 2003-01-24  Tom Tromey  <tromey@redhat.com>
10961         * defineclass.cc (handleMethodsEnd): Precompute code for static
10962         method.
10963         (handleCodeAttribute): Likewise.
10964         * resolve.cc (ncode): Use run_class for unsynchronized static
10965         methods.
10966         * include/java-interp.h (class _Jv_InterpMethod): Declare
10967         run_class.
10968         * interpret.cc (run_synch_class): Initialize class.
10969         (run) [insn_invokestatic]: Don't initialize class.
10970         [insn_anewarray]: Likewise.
10971         [insn_multianewarray]: Likewise.
10972         (run_class): New function.
10974 2003-01-24  Tom Tromey  <tromey@redhat.com>
10976         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
10977         comment.
10979 2003-01-22  Andrew Haley  <aph@redhat.com>
10981         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
10982         * configure.host (CHECKREFSPEC): Define for x86_64.
10984 2003-01-21  Tom Tromey  <tromey@redhat.com>
10986         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
10987         search at 2, not 3.
10989 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
10991         * java/io/natFileWin32.cc (isAbsolute): Check path length before
10992         looking at any characters.
10993         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
10994         be used.
10995         (isAbsolute): Check path's length as well.
10997 2003-01-17  Mark Wielaard  <mark@klomp.org>
10999         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
11000         (nat_source_files): Add natVMObjectStreamClass.cc.
11001         * Makefile.in: Regenerated.
11002         * gcj/javaprims.h (namespace java): Regenerated.
11003         * java/io/ObjectStreamClass.java (getClassUID): Call
11004         VMObjectStreamClass.hasClassInitializer().
11005         (hasClassInitializer): Removed.
11006         * java/io/VMObjectStreamClass.java: New class.
11007         * java/io/natVMObjectStreamClass.cc: New file.
11008         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
11010 2003-01-16  Mark Wielaard  <mark@klomp.org>
11012         * java/net/SocketImpl.java (toString): Don't explicitly call
11013         toString() on possible null address.
11015 2003-01-16  Michael Koch  <konqueror@gmx.de>
11017         * java/net/MulticastSocket.java
11018         (setInterface): Reindented.
11020 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11022         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
11023         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
11024         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
11025         translateY arguments.  Implement.
11026         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
11027         down translation arguments.
11028         (drawPolyline, drawPolygon): Fix incorrect tests.
11029         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
11030         translateX and translateY arguments.
11032 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11034         * Makefile.in: Rebuilt.
11035         * Makefile.am (xlib_includes): New macro.
11036         (INCLUDES): Use it.
11038 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11040         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
11041         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
11042         16-bit display mode.
11044 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11046         * java/awt/CardLayout.java (show): Rewrote.
11047         (gotoComponent): Removed `target' argument.  Simplified code.
11048         Don't pre-compute `choice' unless `what' is FIRST or LAST.
11049         Changed all callers.
11050         (NONE): Removed.
11051         
11052 2003-01-14  Michael Koch  <konqueror@gmx.de>
11054         * java/net/InetSocketAddress.java
11055         (serialVersionUID): New member variable.
11056         * java/net/NetPermission.java
11057         (NetPermission): Dont implement java.io.Serialization directly.
11058         * java/net/SocketAddress.java:
11059         (serialVersionUID): Documentation added.
11060         
11061 2003-01-14  Michael Koch  <konqueror@gmx.de>
11063         * java/awt/Label.java
11064         (Label): Implements javax.accessibility.Accessible;
11065         * java/awt/List.java
11066         (List): Implements javax.accessibility.Accessible;
11067         * java/awt/ScrollPane.java
11068         (ScrollPane): Implements javax.accessibility.Accessible;
11069         * java/awt/Scrollbar.java
11070         (Scrollbar): Implements javax.accessibility.Accessible;
11071         * java/awt/TextComponent.java
11072         (setCaretPosition): Throw exception, documentation added.
11073         * java/awt/Toolkit.java:
11074         Added some newlines in method documentations.
11075         (createButton): Exception documentation added.
11076         (createTextField): Exception documentation added.
11077         (createLabel): Exception documentation added.
11078         (createList): Exception documentation added.
11079         (createCheckbox): Exception documentation added.
11080         (createScrollbar): Exception documentation added.
11081         (createScrollPane): Exception documentation added.
11082         (createTextArea): Exception documentation added.
11083         (createChoice): Exception documentation added.
11084         (createFrame): Exception documentation added.
11085         (createWindow): Exception documentation added.
11086         (createDialog): Exception documentation added.
11087         (createMenuBar): Exception documentation added.
11088         (createMenu): Exception documentation added.
11089         (createMenuItem): Exception documentation added.
11090         (createFileDialog): Exception documentation added.
11091         (createCheckboxMenuItem): Exception documentation added.
11092         (loadSystemColors): Exception documentation added.
11093         (setDynamicLayout): Exception documentation added.
11094         (isDynamicLayoutSet): Exception documentation added.
11095         (isDynamicLayoutActive): Exception documentation added.
11096         (getScreenSize): Exception documentation added.
11097         (getScreenResolution): Exception documentation added.
11098         (getScreenInsets): Exception documentation added.
11099         (getColorModel): Exception documentation added.
11100         (getSystemClipboard): Exception documentation added.
11101         (getSystemSelection): Exception documentation added.
11102         (getMenuShortcutKeyMask): Exception documentation added.
11103         (getSystemEventQueue): Exception documentation added.
11104         * java/awt/Window.java:
11105         Reindented some code.
11106         (Window): Centralized implementation, documentation added.
11107         (finalize): Documentation added.
11108         (hide): Fixed typo in comment.
11109         (getWindowListeners): Documentation added.
11110         * java/awt/color/ColorSpace.java
11111         (toRGB): Documentation added.
11112         * java/awt/color/ICC_ColorSpace.java
11113         (ICC_ColorSpace): Documentation added.
11114         (toRGB): Throw exception, documentation added.
11115         (fromRGB): Throw exception, documentation added.
11116         (toCIEXYZ): Documentation added.
11117         (fromCIEXYZ): Documentation added.
11118         (getMinValue): Documentation added.
11119         (getMaxValue): Documentation added.
11120         * java/awt/geom/Dimension2D.java
11121         (clone): Documentation added.
11122         * java/awt/geom/GeneralPath.java
11123         (clone): Documentation added.
11124         * java/awt/geom/Line2D.java
11125         (clone): Documentation added.
11126         * java/awt/geom/QuadCurve2D.java
11127         (clone): Documentation added.
11128         * java/awt/image/ColorModel.java
11129         (ColorModel): Throw exception, documentation added.
11130         * java/awt/image/ImageFilter.java
11131         (clone): Doesnt throw CloneNotSupportedException.
11133 2003-01-14  Andrew Haley  <aph@redhat.com>
11135         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
11136         in a try block.
11138 2003-01-10  Andrew Haley  <aph@redhat.com>
11140         * include/dwarf2-signal.h: Remove x86_64.
11141         * configure.host (x86_64 DIVIDESPEC): Remove.
11142         * include/x86_64-signal.h: New file.
11143         * configure.in: Regenerate.
11145 2003-01-10  Michael Koch  <konqueror@gmx.de>
11147         * java/net/DatagramSocket.java
11148         (ch): Description added.
11149         (remotePort): Initialize with -1.
11150         (connect): Doesnt throws SocketException.
11151         * java/net/MulticastSocket.java
11152         (setInterface): Merge with Classpath.
11153         * java/net/ServerSocket.java
11154         (closed): New member variable.
11155         (bind): Check if socket is closed.
11156         (close): Close an associated channel too, set new value to closed.
11157         (isBound): Reindented.
11158         (isClosed): Implemented.
11159         * java/net/Socket.java
11160         (closed): New member variable.
11161         (bind): Check if socket is closed.
11162         (connect): Check if socket is closed.
11163         (close): Close an associated channel too, set new value to closed.
11164         (isClosed): Implemented.
11166 2003-01-10  Michael Koch  <konqueror@gmx.de>
11168         * java/awt/DisplayMode.java
11169         (equals): Fixed argument type and implementation.
11171 2003-01-07  Tom Tromey  <tromey@redhat.com>
11173         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
11174         JV_HASH_SYNCHRONIZATION.
11175         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
11176         JV_HASH_SYNCHRONIZATION.
11178 2003-01-07  Michael Koch  <konqueror@gmx.de>
11180         * java/net/DatagramSocket.java:
11181         Added classpath license info.
11182         (DatagramSocket): Merged description with classpath.
11183         (close): Merged description with classpath.
11184         (getChannel): Merged description with classpath.
11185         (getInetAddress): Merged description with classpath.
11186         (getPort): Merged description with classpath.
11187         (getLocalAddress): Merged description with classpath.
11188         (getLocalPort): Merged description with classpath.
11189         (getSoTimeout): Merged description with classpath.
11190         (setSoTimeout): Merged description with classpath.
11191         (getSendBufferSize): Merged description with classpath.
11192         (setSendBufferSize): Merged description with classpath.
11193         (getReceiveBufferSize): Merged description with classpath.
11194         (setReceiveBufferSize): Merged description with classpath.
11195         
11196 2003-01-04  Tom Tromey  <tromey@redhat.com>
11198         * java/awt/List.java: Merged with Classpath.
11200 2003-01-03  Mark Wielaard  <mark@klomp.org>
11202         * java/io/FileDescriptor.java (position): New private field.
11203         * java/io/natFileDescriptorPosix.cc (write): Up position.
11204         (setLength): Use and set position.
11205         (seek): Set position.
11206         (getFilePointer): Return position.
11207         (read): Up position.
11209 2003-01-03  Mark Wielaard  <mark@klomp.org>
11211         Merge with Classpath:
11212         * java/io/ObjectStreamClass.java (lookup): Split method and call
11213         lookupForClassObject().
11214         (lookupForClassObject): New method.
11215         (isProxyClass): New field.
11216         (setClass): Set isProxyClass, add object to classLookupTable, set
11217         superClass and calculateOffsets.
11218         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
11219         and not a proxy class.
11220         (setFields): Set accessible true for serialPersistentFields.
11221         (getClassUID): Same for suid. And check if suid is of type long.
11222         (hasClassInitializer): Don't throw NoSuchMethodError.
11224 2003-01-03  Mark Wielaard  <mark@klomp.org>
11226         * java/io/FileInputStream.java (finalize): Don't explicitly
11227         finalize FileDescriptor.
11229 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
11231         * configure.host (sparc*-*): Enable bytecode interpreter.
11233 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
11235         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
11236         Don't throw RemoteException.
11237         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
11238         throw RemoteException.
11240 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
11242         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
11243         proxyHost): New static fields.
11244         (<clinit>): Initialize new fields.
11245         (connect): Use proxy if necessary.
11246         (usingProxy): Implement.
11248 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
11250         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
11251         (TreeIterator.remove): Prefer IllegalStateException over
11252         ConcurrentModificationException, to match Sun.
11254 2003-01-03  Anthony Green  <green@redhat.com>
11256         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
11258 2003-01-02  Mark Wielaard  <mark@klomp.org>
11260         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
11261         public.
11262         (HTTP_USE_PROXY): Add field.
11263         (getResponseVals): Only set responseCode when not yet explicitly
11264         set by subclass.
11266 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
11267             Mark Wielaard  <mark@klomp.org>
11269         * java/util/zip/ZipFile.java (entries): Now HashMap.
11270         (readLeShort(DataInput, byte[])): Read from given byte array.
11271         (readLeInt(DataInput, byte[]): Likewise.
11272         (readLeShort(byte[] b, int off)): New method.
11273         (readLeInt(byte[] b, int off)): Likewise.
11274         (readEntries): Use byte arrays to read info in bigger chunks.
11275         (getEntries): Return HashMap.
11276         (getEntry): Use HashMap.
11277         (locBuf): New private field.
11278         (checkLocalHeader): Use locBuf to read info in one chunk.
11279         (getInputStream): Use entries HashMap, wrap PartialInputStream
11280         in BufferedInputStream.
11281         (ZipEntryEnumeration): Use HashMap and Interator.
11283 2003-01-02  Mark Wielaard  <mark@klomp.org>
11284             Jeroen Frijters  <jeroen@sumatra.nl>
11286         * java/net/URLClassLoader.java (Resource.getCodeSource):
11287         Fix check certs == null.
11288         (getCanonicalFileURL): Removed method.
11289         (JarURLLoader): Don't call removed method.
11290         (FileURLLoader): Likewise.
11291         (FileURLLoader.getResource): Don't canonicalize file name.
11293 2003-01-01  Tom Tromey  <tromey@redhat.com>
11295         * Makefile.in: Rebuilt.
11296         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
11297         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
11298         java/awt/BufferCapabilities.java, java/awt/Button.java,
11299         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
11300         java/awt/Container.java, java/awt/Cursor.java,
11301         java/awt/EventQueue.java, java/awt/FileDialog.java,
11302         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
11303         java/awt/MenuBar.java, java/awt/MenuComponent.java,
11304         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
11305         java/awt/Scrollbar.java, java/awt/TextArea.java,
11306         java/awt/TextField.java, java/awt/color/CMMException.java,
11307         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
11308         java/awt/color/ProfileDataException.java,
11309         java/awt/datatransfer/Clipboard.java,
11310         java/awt/datatransfer/DataFlavor.java,
11311         java/awt/datatransfer/FlavorMap.java,
11312         java/awt/datatransfer/SystemFlavorMap.java,
11313         java/awt/dnd/DragGestureEvent.java,
11314         java/awt/dnd/DragGestureRecognizer.java,
11315         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
11316         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
11317         java/awt/im/InputMethodHighlight.java,
11318         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
11319         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
11321         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
11322         `op' to BufferedImageOp.