OSDN Git Service

2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
2
3         * java/net/URL.java
4         (URL): Change context path to "/" if it is empty.
5
6 2003-12-31  Michael Koch  <konqueror@gmx.de>
7
8         * testsuite/libjava.mauve/xfails: Removed tests that pass now:
9         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
10         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
11         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
12         (number 26)
13         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
14         (number 54)
15         
16
17 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
18
19         * java/util/GregorianCalendar.java
20         (computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>.
21         Fixed the computation of DAY_OF_WEEK_IN_MONTH.
22         (computeTime): 12:00 midnight is AM and 12:00 noon is PM.
23
24 2003-12-30  Michael Koch  <konqueror@gmx.de>
25
26         * testsuite/libjava.mauve/xfails: Removed the following testcase
27         because it passes now:
28         FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict
29         (number 1)
30
31 2003-12-30  Michael Koch  <konqueror@gmx.de>
32
33         * java/io/ObjectInputStream.java,
34         java/io/ObjectOutputStream.java,
35         java/io/ObjectStreamClass.java:
36         Reformated, no functional code changes.
37
38 2003-12-30  Michael Koch  <konqueror@gmx.de>
39
40         * gnu/java/net/protocol/http/Connection.java
41         (outputStream): New field.
42         (bufferedOutputStream): New field.
43         (connect): Initialize outputStream and bufferedOutputStream.
44         (sendRequest): Create PrintWriter object from outputStream,
45         support HTTP 1.1, send missing HTTP headers and buffered output data
46         for POST method.
47         (getOutputStream): Set request method to POST if output stream is
48         used, return bufferedOutputStream.
49         (setRequestMethod): Allow HEAD and POST methods.
50         This fixes libgcj PR/6302 and libgcj PR/7752.
51
52 2003-12-30  Guilhem Lavaux <guilhem@kaffe.org>
53
54         * java/io/LineNumberReader.java
55         (countLines): Removed.
56         (fill): New private method.
57         (mark): Changed logic to use and matchedNewLine.
58         (reset): Likewise.
59         (read): Likewise.
60         (skipRedundantLF): Likewise.
61
62 2003-12-30  Michael Koch  <konqueror@gmx.de>
63
64         * gnu/java/net/protocol/http/Connection.java
65         (requestProperties): New field.
66         (addRequestProperty): New method.
67         (getRequestProperty): New method.
68         (setRequestProperty): New method.
69         (getRequestProperties): New method.
70
71 2003-12-28  Michael Koch  <konqueror@gmx.de>
72
73         * gnu/java/net/protocol/http/Connection.java
74         (inputStream): Made it a DataInputStream.
75         (requestProperties): Removed.
76         (hdrHash): Removed.
77         (hdrVec): Removed.
78         (headers): New field to store headers.
79         (connect): Initialize inputStream.
80         (receiveReply): Merged from classpath. The new algorithm is line based
81         instead of character based.
82         (getHeaderField): Use headers.
83         (getHeaderFields): Use headers.
84         (getKey): Removed.
85         (getField): Removed.
86         * gnu/java/net/HeaderFieldHelper.java: New file.
87         * Makefile.am (ordinary_java_source_files):
88         Added gnu/java/net/HeaderFieldHelper.java.
89         * Makefile.in: Regenerated.
90
91 2003-12-28  Guilhem Lavaux <guilhem@kaffe.org>
92
93         * java/io/LineNumberReader.java
94         (mark): Improved error checking.
95         (read): Likewise.
96         (skip): Likewise. Skip is now really eating the specified number of
97         characters.
98         * java/io/CharArrayReader.java (read): It should throw
99         IndexOutOfBoundsException and not ArrayIndexOutOfBoundsException (see
100         mauve).
101         * java/io/BufferedReader.java (readLine): Make readLine() really block
102         until either EOF is reached or a true error happens.
103
104 2003-12-27  Michael Koch  <konqueror@gmx.de>
105
106         * gnu/java/net/protocol/http/Connection.java
107         (getRequestProperty): Removed.
108         (setRequestProperty): Removed.
109
110 2003-12-27  Michael Koch  <konqueror@gmx.de>
111
112         * gnu/java/net/protocol/http/Connection.java
113         (connect): Call receiveReply().
114         (receiveReply): Renamed from getHttpHeaders().
115         (getOutputStream): Moved check on doOutput before check for connection
116         state.
117
118 2003-12-27  Michael Koch  <konqueror@gmx.de>
119
120         * javax/print/attribute/ResolutionSyntax.java,
121         javax/print/attribute/SetOfIntegerSyntax.java,
122         javax/print/attribute/Size2DSyntax.java,
123         javax/print/attribute/standard/Copies.java,
124         javax/print/attribute/standard/JobImpressions.java,
125         javax/print/attribute/standard/JobMediaSheets.java,
126         javax/print/attribute/standard/NumberOfDocuments.java,
127         javax/print/attribute/standard/NumberOfInterveningJobs.java,
128         javax/print/attribute/standard/PagesPerMinute.java,
129         javax/print/attribute/standard/PagesPerMinuteColor.java,
130         javax/print/attribute/standard/QueuedJobCount.java:
131         Fixed typo (s/then/than/).
132
133 2003-12-27  Guilhem Lavaux  <guilhem@kaffe.org>
134
135         * java/rmi/Naming.java (lookup): Check if the first character of the
136         filename returned by URL.getFile() is a '/', only if it is the case
137         we cut this first character and call the registry with the good name.
138         (bind): Likewise.
139         (rebind): Likewise.
140
141 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
142             Mark Wielaard  <mark@klomp.org>
143
144         * java/io/BufferedReader.java (BufferedReader):
145         Throw IllegalArgumentException when size <= 0.
146         (mark): Document and better exception message for negative
147         readLimit IllegalArgumentException.
148         (read(char[],int,int)): Throw IndexOutOfBoundsException
149         if offset and count are not valid regarding buf.
150         (skip): Throw IllegalArgumentException when count is negative.
151
152 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
153
154         * java/io/FileInputStream.java
155         (FileInputStream(String)): Call FileInputStream(File).
156         (FileInputStream(File)): Check whether the argument is a directory.
157
158 2003-12-26  Michael Koch  <konqueror@gmx.de>
159
160         * Makefile.am (rmi_java_source_files):
161         Added gnu/java/rmi/server/RMIVoidValue.java.
162         * Makefile.in: Regenerated.
163
164 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
165             Mark Wielaard  <mark@klomp.org>
166
167         * gnu/java/rmi/server/UnicastConnectionManager.java
168         (startScavenger): Set the client connection manager to daemon
169         state because it may block clients until TIMEOUT is reached
170         when they are exiting.
171
172         * gnu/java/rmi/RMIVoidValue.java: New file for a class representing
173         a void return.
174
175         * gnu/java/rmi/server/UnicastRemoteCall.java
176         (DummyOutputStream): Add a boolean before each written field to
177         know whether it is a primitive.
178         (releaseOutputStream): Flush parameters at write time.
179
180         * gnu/java/rmi/server/UnicastServerRef.java
181         (incomingMessageCall): Return a RMIVoidValue if no value is to be
182         returned.
183
184         * gnu/java/rmi/server/UnicastServer.java
185         (incomingMessageCall): Do not write a returned object if it is
186         a RMIVoidValue.
187
188 2003-12-25  Andreas Tobler  <a.tobler@schweiz.ch>
189
190         * libltdl/ltdl.c (HAVE_DYLD): Remove ifdef conditional for 
191         darwin. Fixed by fixinclude now.
192
193 2003-12-25  Michael Koch  <konqueror@gmx.de>
194
195         * java/net/ServerSocket.java bind():
196         If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as
197         address to bind to.
198
199 2003-12-23  Guilhem Lavaux <guilhem@kaffe.org>
200
201         * java/io/ObjectInputStream.java
202         (getField): Handle transient and non persistent fields.
203         (readClassDescriptor): Better error handling, use the right
204         class loader.
205         (readFields): Fields marked as not present in the stream
206         or not to be set are not read and set.
207         * java/io/ObjectInputStream.java
208         (readFields): Changed implementation of GetField.
209         (readClassDescriptor): Documented.
210         * java/io/ObjectOutputStream.java
211         (writeClassDescriptor): Added condition when to write class super
212         class information.
213
214 2003-12-22  Fernando Nasser  <fnasser@redhat.com>
215
216         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to...
217         (choicePostItemEvent): Change signature to more specific String object.
218         * java/awt/Choice.java (add): Generate ItemEvent for the first item
219         added.
220         (insert): Generate ItemEvent if insertion caused
221         selection to change.
222         (remove): Generate ItemEvent if removal cause selection to change.
223         (removeAll): Change algorithm to prevent generation of ItemEvents.
224         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
225         (connect_choice_item_selectable_hook): Change argument type.
226         Fix argument value.
227         Make sure resources are feed by registering callback.
228         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
229         above function.
230         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
231         (item_activate): Ditto.
232         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
233         menuitem.
234         (item_removed): New function.  Free resources.
235         * jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
236         name.
237         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
238         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
239         choicePostItemEvent.
240
241 2003-12-23  Michael Koch  <konqueror@gmx.de>
242
243         * javax/print/attribute/standard/Copies.java,
244         javax/print/attribute/standard/JobImpressions.java,
245         javax/print/attribute/standard/JobMediaSheets.java,
246         javax/print/attribute/standard/JobPriority.java,
247         javax/print/attribute/standard/NumberOfDocuments.java,
248         javax/print/attribute/standard/NumberOfInterveningJobs.java,
249         javax/print/attribute/standard/NumberUp.java,
250         javax/print/attribute/standard/PagesPerMinuteColor.java,
251         javax/print/attribute/standard/PagesPerMinute.java,
252         javax/print/attribute/standard/QueuedJobCount.java: New files.
253         * Makefile.am (ordinary_java_source_files): Added new files.
254         * Makefile.in: Regenerated.
255
256 2003-12-23  Michael Koch  <konqueror@gmx.de>
257
258         * javax/print/attribute/AttributeSetUtilities.java
259         (verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
260         * javax/print/attribute/HashAttributeSet.java
261         (HashAttributeSet): Call internal add methods, added missing
262         exceptions.
263         (add): Call addInternal, added exceptions to documentation.
264         (addInternal): New method.
265         (addAll): Call addAllInternal, added exception to documentation.
266         (addAllInternal): New method.
267         (clear): Added exception to documentation.
268         (remove): Likewise.
269         * javax/print/attribute/URISyntax.java
270         (serialVersionUID): Fixed value.
271
272 2003-12-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
273
274         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
275         (pre_event_handler): Don't dereference NULL focus_obj_ptr.
276
277 2003-12-21  Michael Koch  <konqueror@gmx.de>
278
279         * javax/print/attribute/AttributeSetUtilities.java,
280         javax/print/attribute/HashAttributeSet.java,
281         javax/print/attribute/HashDocAttributeSet.java,
282         javax/print/attribute/HashPrintJobAttributeSet.java,
283         javax/print/attribute/HashPrintRequestAttributeSet.java,
284         javax/print/attribute/HashPrintServiceAttributeSet.java: New files.
285         * Makefile.am (ordinary_java_source_files): Added new files.
286         * Makefile.in: Regenerated.
287
288 2003-12-21  Michael Koch  <konqueror@gmx.de>
289
290         * javax/print/attribute/EnumSyntax.java,
291         javax/print/attribute/SetOfIntegerSyntax.java: New files.
292         * Makefile.am (ordinary_java_source_files):
293         Added javax/print/attribute/EnumSyntax.java
294         and javax/print/attribute/SetOfIntegerSyntax.java.
295         * Makefile.in: Regenerated.
296
297 2003-12-21  Michael Koch  <konqueror@gmx.de>
298
299         * javax/print/attribute/PrintJobAttribute.java,
300         javax/print/attribute/PrintJobAttributeSet.java,
301         javax/print/attribute/PrintRequestAttribute.java,
302         javax/print/attribute/PrintServiceAttribute.java,
303         javax/print/attribute/PrintServiceAttributeSet.java,
304         javax/print/attribute/SupportedValuesAttribute.java: New files.
305         * Makefile.am (ordinary_java_source_files): Added new files.
306         * Makefile.in: Regenerated.
307
308 2003-12-21  Michael Koch  <konqueror@gmx.de>
309
310         * javax/print/attribute/DateTimeSyntax.java,
311         javax/print/attribute/DocAttribute.java,
312         javax/print/attribute/DocAttributeSet.java,
313         javax/print/attribute/IntegerSyntax.java,
314         javax/print/attribute/ResolutionSyntax.java,
315         javax/print/attribute/Size2DSyntax.java,
316         javax/print/attribute/TextSyntax.java,
317         javax/print/attribute/URISyntax.java,
318         javax/print/attribute/UnmodifiableSetException.java: New files.
319         * Makefile.am (ordinary_java_source_files): Added new files.
320         * Makefile.in: Regenerated.
321
322 2003-12-21  Michael Koch  <konqueror@gmx.de>
323
324         * gnu/java/net/PlainDatagramSocketImpl.java
325         (mcastGrp): Added documentation.
326
327 2003-12-20  Michael Koch  <konqueror@gmx.de>
328
329         * gnu/java/net/protocol/jar/Connection.java
330         (connectionCache): New field.
331         (connect): New method.
332         (getInputStream): New method.
333         (hdrHash): New field.
334         (hdrVec): New field.
335         (gotHeaders): New field.
336         (getHeaderField): New method.
337         (getHeaderFields): New method.
338         (getHeaderFieldKey): New method.
339         (getKey): New method.
340         (getField): New method.
341         (getHeaders): New method.
342         * java/net/JarURLConnection.java
343         (connectionCache): Removed.
344         (connect): Removed.
345         (getInputStream): Removed.
346         (hdrHash): Removed.
347         (hdrVec): Removed.
348         (gotHeaders): Removed.
349         (getHeaderField): Removed.
350         (getHeaderFields): Removed.
351         (getHeaderFieldKey): Removed.
352         (getKey): Removed.
353         (getField): Removed.
354         (getHeaders): Removed.
355
356 2003-12-20  Michael Koch  <konqueror@gmx.de>
357
358         * java/io/ObjectStreamField.java (isUnshared): Added documentation.
359
360 2003-12-20  Mohan Embar  <gnustuff@thisiscool.com>
361
362         * gnu/java/nio/SelectorImpl.java
363         (selectThreadMutex): New field.
364         (selectThread): New field.
365         (unhandledWakeup): New field.
366         (implCloseSelector): Added skeleton code which
367         synchronizes as per Sun JRE JavaDoc.
368         (keys): Throw ClosedSelectorException if selector
369         is closed.
370         (selectNow): Added comment that we're faking out
371         an immediate select with a one-microsecond-timeout one.
372         (select): Use 0 instead of -1 for infinite timeout.
373         (implSelect): Changed comment in declaration.
374         (select): Added synchronized to method declaration.
375         Added synchronization and wakeup support as per Sun
376         JRE JavaDoc.
377         (selectedKeys): Throw ClosedSelectorException if selector
378         is closed.
379         (wakeup): Implemented.
380         (deregisterCancelledKeys): Synchronize on cancelled key
381         set before deregistering.
382         (register): Synchronize on key set before registering.
383         * java/nio/channels/spi/AbstractSelector.java
384         Added import for java.nio.channels.ClosedSelectorException.
385         (close): Added synchronized to method declaration.
386         (cancelledKeys): Throw ClosedSelectorException if selector
387         is closed.
388         (cancelKey): Synchronize on cancelled key set before key.
389
390 2003-12-20  Michael Koch  <konqueror@gmx.de>
391
392         * Makefile.am (ordinary_java_source_files):
393         Added gnu.java.net.URLParseError.java.
394         * Makefile.in: Regenerated.
395
396 2003-12-20  Guilhem Lavaux <guilhem@kaffe.org>
397
398         * gnu/java/net/URLParseError.java: New file.
399         * gnu/java/net/protocol/jar/Handler.java
400         (parseURL): Throw URLParseError if needed, fix '/' handling.
401         * java/net/URL.java (URL): Catch URLParseError and
402         transform it into a MalformedURLException.
403
404 2003-12-19  Michael Koch  <konqueror@gmx.de>
405
406         * gnu/java/nio/ChannelOutputStream.java: New file.
407         * java/nio/channels/Channels.java
408         (newOutputStream): Implemented.
409         * Makefile.am (ordinary_java_source_files)
410         Added gnu/java/nio/ChannelOutputStream.java.
411         * Makefile.in: Regenerated.
412
413 2003-12-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
414
415         * java/awt/FlowLayout.java (layoutContainer): Let components
416         assume their preferred height.  Centre components vertically.
417
418 2003-12-19  Michael Koch  <konqueror@gmx.de>
419
420         * gnu/java/nio/ChannelInputStream.java: New file.
421         * java/nio/channels/Channels.java (newInputStream): Implemented.
422         * java/nio/channels/FileChannelImpl.java
423         (readImpl): Only put data into buffer if something was read.
424         * Makefile.am (ordinary_java_source_files):
425         Added gnu/java/nio/ChannelInputStream.java.
426         * Makefile.in: Regenerated.
427
428 2003-12-19  Michael Koch  <konqueror@gmx.de>
429
430         * gnu/java/nio/OutputStreamChannel.java: New file.
431         * java/nio/channels/Channels.java (newChannel): Implemented.
432         * Makefile.am (ordinary_java_source_files):
433         Added gnu/java/nio/OutputStreamChannel.java.
434         * Makefile.in: Regenerated.
435
436 2003-12-19  Michael Koch  <konqueror@gmx.de>
437
438         * Makefile.am (ordinary_java_source_files):
439         Added gnu.java.nio.InputStreamChannel. 
440         * Makefile.in: Regenerated.
441
442 2003-12-19  Michael Koch  <konqueror@gmx.de>
443
444         * gnu/java/nio/InputStreamChannel.java: New file.
445         * java/nio/channels/Channels.java (newChannel): Implemented.
446
447 2003-12-19  Michael Koch  <konqueror@gmx.de>
448
449         * java/util/SimpleTimeZone.java
450         (setStartRule): Reformated documentation.
451         (setEndRule): Reworked documentation.
452         (getDSTSavings): Fixed @since tag.
453         (setDSTSavings): New method.
454
455 2003-12-19  Michael Koch  <konqueror@gmx.de>
456
457         * java/text/NumberFormat.java: Sorted imports.
458         (getCurrency): New method.
459         (setCurrency): New method.
460         
461
462 2003-12-19  Michael Koch  <konqueror@gmx.de>
463
464         * java/text/MessageFormat.java
465         (MessageFormat): New constructor.
466
467 2003-12-19  Michael Koch  <konqueror@gmx.de>
468
469         * gnu/java/net/protocol/jar/Handler.java
470         (parseURL): New method.
471         (toExternalForm): New method.
472
473 2003-12-18  Fernando Nasser  <fnasser@redhat.com>
474
475         * java/awt/List.java (replaceItem): Prevent selection to move with
476         replace and minimize flickering.
477  
478 2003-12-18  Michael Koch  <konqueror@gmx.de>
479
480         * libltdl/ltdl.c: Define __private_extern__ if needed.
481
482 2003-12-18  Michael Koch  <konqueror@gmx.de>
483
484         * libltdl/.cvsignore: Ignore autom4te.cache
485         * libltdl/Makefile.in: Regenerated.
486         * libltdl/aclocal.m4: Regenerated.
487         * libltdl/acconfig.h: Removed (obsolete).
488         * libltdl/config-h.in: Regenerated.
489         * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
490         * libltdl/configure: Regenerated.
491
492 2003-12-18  Michael Koch  <konqueror@gmx.de>
493
494         * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
495         java.text.CollationElementIterator tests as they compile again.
496         * testsuite/libjava.mauve/xfails: Added failing
497         java.text.CollationElementIterator tests.
498
499 2003-12-18  Michael Koch  <konqueror@gmx.de>
500
501         * java/util/prefs/AbstractPreferences.java
502         (cachedChildren): New method.
503
504 2003-12-18  Michael Koch  <konqueror@gmx.de>
505
506         * java/util/TimeZone.java (getOffset): New method.
507
508 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
509  
510         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
511         of ActionEvents for mouse double-clicks.
512
513 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
514
515         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
516         null Graphics pointer returned by FileDialogPeer.
517
518 2003-12-17  Michael Koch  <konqueror@gmx.de>
519
520         * libltdl/stamp-h.in: Removed, not used anymore.
521
522 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
523
524         * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
525         Removed unused InterruptedIOException.h include.
526         * gnu/java/net/natPlainSocketImplWin32.cc
527         (connect): Reset and ignore our thread's interrupted
528         flag instead of testing and throwing an InterruptedIOException
529         if set.
530         (accept): Likewise + changed case of SocketTimeoutException
531         text.
532         (write): Likewise (for both overloads).
533         (doRead): Likewise.
534
535 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
536
537         * win32.cc (WSAEventWrapper): Implemented default
538         constructor and init() methods.
539         (_Jv_select): Removed.
540         * gnu/java/nio/natSelectorImplWin32.cc
541         (helper_put_filedescriptors): Removed.
542         (helper_get_filedescriptors): Removed.
543         (implSelect): Implemented in terms of WSAEventWrapper
544         and WSAWaitForMultipleEvents instead of _Jv_select().
545         Added support for thread interruption.
546         * include/win32.h (WSAEventWrapper): Minor formatting
547         changes; added default constructor declaration, init(),
548         getFD() and getEventHandle() methods.
549         (_Jv_select): Removed.
550
551 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
552
553         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
554         (peekData): Throw SocketTimeoutException instead of
555         InterruptedIOException on timeout.
556         (receive): Likewise.
557         * gnu/java/net/natPlainSocketImplPosix.cc
558         (read): Made a minor exception text case change.
559
560 2003-12-16  Michael Koch  <konqueror@gmx.de>
561
562         Fix for PR libgcj/13056.
563         * libltdl/configure.in,
564         libltdl/config.h.in: Removed.
565         * libltdl/configure.ac,
566         libltdl/config-h.in,
567         libltdl/install-sh,
568         libltdl/config.guess,
569         libltdl/config.sub,
570         libltdl/missing,
571         libltdl/mkinstalldirs,
572         libltdl/ltmain.sh: New files.
573         * libltdl/Makefile.am,
574         libltdl/acinclude.m4,
575         libltdl/aclocal.m4,
576         libltdl/ltdl.c,
577         libltdl/ltdl.h,
578         libltdl/README: Update to versions from libtool 1.5.
579         libltdl/configure,
580         * libltdl/Makefile.in: Regenerated.
581         * java/lang/natRuntime.cc (find_symbol):
582         Use type 'lt_ptr' instead of 'lt_ptr_t'.
583
584 2003-12-16  Michael Koch  <konqueror@gmx.de>
585
586         * java/awt/MenuComponent.java
587         (serialVersionUID): Fixed value.
588
589 2003-12-16  Fernando Nasser  <fnasser@redhat.com>
590
591         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
592         (pre_event_handler): Handle GtkButton widgets differently as events
593         go to its event_window.
594         (connect_awt_hook): Remove compiler warning.
595
596 i2003-12-16  Guilhem Lavaux <guilhem@kaffe.org>
597
598         * java/io/ObjectInputStream.java
599         (lookupClass): New method.
600         (currentLoader): New method.
601         (inputGetObjectStreamClasses): New method.
602         (assignNewHandle): Documented.
603         (currentClassLoader): Documented.
604         * java/io/ObjectStreamClass.java
605         (setClass): Changed API. Better handling of the imported/exported
606         fields.
607         (getSerialPersistentFields): Make it throw previously caught exceptions
608         so they can handled in setClass.
609
610 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
611  
612         * java/io/ObjectStreamField.java: A few methods were added in prevision
613         of the upcoming upgrade of the serialization code. This also adds
614         some missing documentation.
615         (ObjectStreamField): We should throw a NullPointerException when 'name'
616         is null.
617
618  2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
619   
620         * java/io/ObjectInputStream.java (setBooleanField):
621         Throw an InvalidClassException if the field hasn't the required type,
622         documentation added.
623         (setByteField) Likewise.
624         (setCharField) Likewise.
625         (setDoubleField) Likewise.
626         (setFloatField) Likewise.
627         (setIntField) Likewise.
628         (setShortField) Likewise.
629         (setLongField) Likewise.
630         (setObjectField) Likewise.
631
632 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
633            Helmer Kraemer <hkraemer@freenet.de>
634  
635         * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
636         Splitted the method so we can specify an explicit boot loader.
637
638 2003-12-15  Graydon Hoare  <graydon@redhat.com>
639
640         * jni/gtk-peer/gdkfont.h: New file.
641         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
642         include of cairo-xlib.h, add extra gdk_flush().
643
644 2003-12-12  Fernando Nasser  <fnasser@redhat.com>
645
646         * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
647         native state table -- native_global_ref_table.
648         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
649         native_global_ref_table pointer.
650         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
651         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
652         global reference is deleted and memory allocated for pointer freed.
653         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
654         JNI global reference instead of JNI local reference.
655         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
656         (pre_event_handler): Remove compilation warning.
657         (connect_awt_hook): Use saved JNI global reference instead of creating
658         a new one.
659         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
660         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
661         reference to the Java object.
662         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
663         unused variable declaration and add comment.
664         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
665         (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
666         reference to the Java object.
667         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
668         (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
669         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
670         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
671         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
672         JNI global reference instead of JNI local reference.
673         (item_toggled): Add debug statement.
674         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
675         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
676         reference to the Java object.
677         (connect_choice_item_selectable_hook): Use saved JNI global references
678         instead of JNI local reference.
679         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
680         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
681         global reference to the Java object.
682         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
683         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
684         reference to the Java object.
685         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
686         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
687         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
688         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
689         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
690         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
691         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
692         (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
693         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
694         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
695         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
696         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
697         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
698         (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
699         (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
700         JNI global reference instead of JNI local reference.
701         (item_selected): Add debug statement.
702         (item_unselected): Add debug statement.
703         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
704         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
705         reference to the Java object.
706         Connect "activate" signal handler using global JNI reference.
707         (connect_activate_hook): Removed in favor of inline code.
708         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
709         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
710         reference to the Java object.
711         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
712         JNI global reference instead of JNI local reference.  Add FIXME comment.
713         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
714         reference to the Java object.  Add FIXME comment.
715         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
716         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
717         reference to the Java object.
718         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
719         JNI global reference instead of JNI local reference.
720         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
721         (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
722         saved JNI global reference instead of JNI local reference.
723         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
724         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
725         reference to the Java object.
726         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
727         JNI global reference instead of JNI local reference.
728
729 2003-12-11  Michael Koch  <konqueror@gmx.de>
730
731         * java/text/Format.java (serialVersionUID): Fixed value.
732
733 2003-12-11  Michael Koch  <konqueror@gmx.de>
734
735         * javax/naming/event/EventDirContext.java: Jalopied.
736         (addNamingListener): Fixed typo in method name.
737         
738
739 2003-12-11  Mohan Embar  <gnustuff@thisiscool.com>
740
741         * gnu/java/nio/SocketChannelImpl.java
742         (write): Removed diagnostic trace.
743         * gnu/java/nio/natSelectorImplPosix.cc: Added
744         includes for java.lang.Thread and java.io.InterruptedIOException.
745         (helper_put_filedescriptors): Don't put invalid file descriptors
746         in select set.
747         (helper_get_filedescriptors): Clear invalid file descriptors
748         from select set.
749         (helper_reset): New method for clearing our file descriptor
750         array.
751         (implSelect): Correctly calculate timeout if specified and
752         legal.
753         Intercept and deal with any java.io.InterruptedIOException
754         thrown by _Jv_select().
755
756 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
757
758         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
759         Most coded moved to pre_event_handler, with the modifications
760         mentioned below.
761         (pre_event_handler): New function.  Called on the Gtk "event" signal.
762         Do not retrieve the jobject from the window property as it is already
763         available as user data in the signal.
764         Do not try and find the grab widget as it is already done by Gtk at
765         this point.
766         Do not search for Window ancestor as Gtk already sends the signal to it.
767         Do not meddle with the activation state of peer widgets on each
768         key press or release.
769         Add CList to the special handling when looking for the focused widget.
770         * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
771         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
772         New function.
773         (connectSignals): New function.
774         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
775         Rename to...
776         (connectSignals): New name.  Get rid of NewGlobalRef call.
777         Use g_signal_connect instead of deprecated gtk_signal_connect.
778         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
779         (connect_choice_item_selectable_hook): Use g_signal_connect instead of
780         deprecated gtk_signal_connect.
781         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
782         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
783         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
784         (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
785         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
786         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
787         function.
788         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
789         function.
790         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
791         function.
792         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
793         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
794         function.
795         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
796         function.
797         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
798         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
799         function.
800         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
801         function.
802         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
803         function.
804         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
805         code.
806         (item_select): Remove indirection.
807         (item_unselect): Ditto.
808         (connect_selectable_hook): Folded into connectSignals.
809         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
810         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
811         function.
812         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
813         function.
814         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
815         function.
816         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
817         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
818         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
819         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
820         function.
821         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
822         function.
823         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare  and call
824         connectJObject and connectSignals instead of connectHooks.
825         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
826         connectSignals.
827         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
828         and not connectHooks.
829         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
830         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
831         and not connectHooks.
832         * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
833         connectSignals instead of connectHooks.
834         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
835         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
836         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto. 
837
838 2003-12-09  Michael Koch  <konqueror@gmx.de>
839
840         * Makefile.am (nat_headers_install): New variable with header files to
841         install automatically.
842         (install-data-local): Install all headers listed in
843         nat_headers_install. Install innert nat headers explicitely.
844         * Makefile.in: Regenerated.
845
846 2003-12-09  Michael Koch  <konqueror@gmx.de>
847
848         * java/util/Calendar.java,
849         java/util/IdentityHashMap.java,
850         java/util/prefs/Preferences.java:
851         Import used classes explicitely.
852
853 2003-12-09  Michael Koch  <konqueror@gmx.de>
854
855         * java/net/DatagramSocket.java
856         (close): Directly return if socket is closed.
857         * java/net/ServerSocket.java
858         (close): Directly return if socket is closed.
859         * java/net/Socket.java
860         (close): Directly return if socket is closed.
861
862 2003-12-09  Michael Koch  <konqueror@gmx.de>
863
864         * gnu/java/nio/SelectorImpl.java
865         (implSelect): Throws IOException.
866         (select): Likewise.
867
868 2003-12-08  Kim Ho  <kho@redhat.com>
869
870         Fix for Checkbox states.
871         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
872         (currentState): New field.
873         (nativeCreate): Add initial state parameter.
874         (create): Changed to reflect new parameter.
875         (setState): Fire only on changed states.
876         (postItemEvent): Fire only on changed states. Also change the 
877         Java Checkbox to reflect new state.
878         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
879         (nativeCreate): Add parameter and set active state.
880
881 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
882  
883         * java/awt/datatransfer/StringSelection.java (getTransferData): Return
884         object of type expected by specified DataFlavor.
885
886 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
887  
888         * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
889         error which was clipping off the first character of a parameter value.
890
891 2003-12-08  Olga Rodimina <rodimina@redhat.com>
892
893         * java/awt/Polygon.java
894         (translate): Fixed error that caused polygon 
895         to move right/left when up/down translation was required.
896         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
897         (getSelectionStart): Initialized start position to 0. 
898         (getSelectionEnd): Initialized end position to 0.
899         (getCaretPosition): Initialized caret position to 0.
900         (getText): Initialized selected text to NULL 
901
902 2003-12-08  Michael Koch  <konqueror@gmx.de>
903
904         Fix for PR libgcj/13176.
905         * java/io/PrintStream.java: Partly revert my previous patches to get
906         (line_separator): New field.
907         (converter): New field.
908         (work): New field.
909         (work_bytes): New field.
910         (pw): Removed.
911         (closed): Removed.
912         (PrintStrean): Initialize converter and not pw.
913         (checkError): Flush always, pw doesn't exist anymore.
914         (close): Close underlying out stream.
915         (print): New method.
916         (writeChars): New method.
917         (print): Use new internal print method.
918         (println): Likewise.
919
920 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
921
922         * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
923         putAllInternal.
924         (putAllInternal): Correct comment.
925         * java/util/HashMap.java (HashMap(Map)): As above.
926         (putAllInternal): As above.
927
928 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
929
930         * java/util/Hashtable.java (internalContainsValue): Removed.
931         (containsValue): Don't delegate to internalContainsValue.
932
933 2003-12-06  Michael Koch  <konqueror@gmx.de>
934
935         * javax/naming/directory/Attribute.java,
936         javax/naming/directory/Attributes.java,
937         javax/naming/directory/DirContext.java,
938         javax/naming/directory/InitialDirContext.java,
939         javax/naming/directory/SearchResult.java,
940         javax/naming/event/EventContext.java,
941         javax/naming/event/NamingEvent.java,
942         javax/naming/event/NamingExceptionEvent.java,
943         javax/naming/ldap/ControlFactory.java,
944         javax/naming/ldap/ExtendedRequest.java,
945         javax/naming/ldap/HasControls.java,
946         javax/naming/ldap/InitialLdapContext.java,
947         javax/naming/ldap/LdapContext.java,
948         javax/naming/ldap/LdapReferralException.java,
949         javax/naming/ldap/UnsolicitedNotification.java,
950         javax/naming/ldap/UnsolicitedNotificationListener.java,
951         javax/naming/spi/DirObjectFactory.java,
952         javax/naming/spi/DirStateFactory.java,
953         javax/naming/spi/DirectoryManager.java,
954         javax/naming/spi/NamingManager.java,
955         javax/naming/spi/ObjectFactoryBuilder.java,
956         javax/naming/spi/ResolveResult.java,
957         javax/naming/spi/Resolver.java,
958         javax/naming/spi/StateFactory.java:
959         Import used classes explicitely.
960
961 2003-12-05  Scott Gilbertson  <scottg@mantatest.com>
962
963         * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
964         (clip): Removed field
965         (clipRectangles): New field.
966         (clone): Use new updateClip.
967         (setClipRectangles): Use new updateClip.
968         * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
969
970 2003-12-04  Michael Koch  <konqueror@gmx.de>
971
972         * java/io/FilePermission.java:
973         Import used classes explicitely.
974
975 2003-12-04  Michael Koch  <konqueror@gmx.de>
976
977         * java/beans/BeanDescriptor.java,
978         java/beans/EventSetDescriptor.java,
979         java/beans/FeatureDescriptor.java,
980         java/beans/IndexedPropertyDescriptor.java,
981         java/beans/Introspector.java,
982         java/beans/MethodDescriptor.java,
983         java/beans/PropertyDescriptor.java,
984         java/beans/SimpleBeanInfo.java: Explicitely import used classes.
985         * java/beans/beancontext/BeanContextServicesSupport.java
986         (serialVersionUID): New field.
987
988 2003-12-04  Michael Koch  <konqueror@gmx.de>
989
990         * java/awt/MenuComponent.java: Import java.io.Serialization.
991         * java/awt/MenuItem.java: Likewise.
992         * java/awt/TextComponent.java: Likewise.
993         * java/awt/image/ImagingOpException.java
994         (serialVersionUID): Fixed.
995
996 2003-12-04  Michael Koch  <konqueror@gmx.de>
997
998         * gnu/java/net/protocol/http/Connection.java
999         (sendRequest): Merged writing http headers with classpath.
1000         (getInputStream): Merged documentation from classpath.
1001         (getHeaderField): Likewise.
1002         (getHeaderFieldKey): Likewise.
1003
1004 2003-12-04  Michael Koch  <konqueror@gmx.de>
1005
1006         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
1007
1008 2003-12-04  Michael Koch  <konqueror@gmx.de>
1009
1010         * java/net/DatagramPacket.java
1011         (length): Made packge-private to make it accessible via CNI.
1012         (maxlen): New field.
1013         (DatagramPacket): Cleaned up.
1014         (setSocketAddress): Add message to exception.
1015         (setData): Call other setData().
1016         (setData): Call setLength().
1017         (setLength): Initialize maxlen too.
1018         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
1019         Get maximal length from maxlen field, set length field directly.
1020         (receive): Likewise.
1021         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1022         Get maximal length from maxlen field, set length field directly.
1023         (receive): Likewise.
1024
1025 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
1026
1027         * gnu/java/nio/natSelectorImplPosix.cc
1028         (implSelect): A timeout of 0 means an infinite
1029         timeout.
1030
1031 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1032  
1033         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1034         of ActionEvents.
1035
1036 2003-12-03  Michael Koch  <konqueror@gmx.de>
1037
1038         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
1039         * java/lang/natClass.cc (getSigners): Likewise.
1040         (setSigners): Likewise.
1041
1042 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
1043
1044         * configure.in: Added new MinGW-specific configure flag
1045         --with-win32-nlsapi.
1046         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
1047         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
1048         is set to unicows.
1049         * configure: Rebuilt.
1050         * include/config.h.in: Rebuilt.
1051         * win32.cc (_Jv_Win32NewString): Implemented.
1052         (nativeToUnicode): New helper function defined only for
1053         non-UNICODE builds.
1054         (unicodeToNative): Likewise.
1055         (_Jv_Win32TempString): Implemented.
1056         (lots): Refactored using tchar.h macros.
1057         (WSAEventWrapper): Use _Jv_Win32NewString.
1058         (_Jv_platform_initialize): Use GetModuleFileNameA instead
1059         of GetModuleFileName.
1060         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
1061         Use temporary stack buffer instead of a heap buffer.
1062         * include/win32.h
1063         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
1064         defined; added tchar.h include.
1065         (_Jv_Win32TempString): Declared new helper class.
1066         (JV_TEMP_STRING_WIN32): New helper macro.
1067         (_Jv_Win32NewString): Declared new helper method.
1068         * java/io/natFileDescriptorWin32.cc (open): Use
1069         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1070         (write): Reformatted slightly.
1071         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
1072         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1073         (getCanonicalPath): Use _Jv_Win32NewString instead of
1074         JvNewStringUTF.
1075         (performList): Likewise.
1076         * java/lang/natWin32Process.cc (ChildProcessPipe):
1077         Use tchar.h macros.
1078         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
1079         and UNICODE environment flag for CreateProcess.
1080         * java/net/natNetworkInterfaceWin32.cc
1081         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
1082         _Jv_Win32NewString.
1083
1084 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
1085
1086         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1087         (initState): Mark obj parameter as unused.
1088         (stringWidth): Mark obj parameter as unused.  Initialize
1089         font_name properly.
1090
1091         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
1092         BufferedImageBuilder class static.
1093
1094 2003-12-02  Mark Wielaard  <mark@klomp.org>
1095
1096         * java/security/Security.java: Don't use &nbsp; in the api doc.
1097
1098 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1099
1100         Reported by: Jim Pick <jim@kaffe.org>
1101         * libraries/javalib/java/util/Hashtable.java
1102         (internalcontainsValue): New method.
1103         (contains): Delegate to internalContainsValue.
1104         
1105         Reported by: Mark Wielaard  <mark@klomp.org>
1106         * libraries/javalib/java/util/Hashtable.java
1107         (contains): Improved comment.
1108         
1109         Reported by: Jeroen Frijters  <jeroen@frijters.net>
1110         * libraries/javalib/java/util/Hashtable.java
1111         (containsValue): Delegate to contains(Object) to make sure older
1112         code overwriting it continues to work.
1113
1114 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1115
1116         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
1117         method. Handle mouse and key events that must generate
1118         ActionEvents.
1119         * java/awt/List.java (getSelectedIndex): Return -1
1120         if no list element is selected.
1121         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1122         Correct handling of mouse and key events so that List receives them.
1123         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1124         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
1125         multiple list elements. 
1126
1127 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1128
1129         * java/text/SimpleDateFormat.java (compileFormat):
1130         isLowerCase() and isUpperCase() allow too many characters.
1131         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
1132
1133 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1134
1135         * java/text/FieldPosition.java (equals): Fixed comment.
1136
1137 2003-12-02  Mark Wielaard  <mark@klomp.org>
1138
1139         Reported by Archie Cobbs:
1140         * java/security/DigestInputStream.java (read(byte[], int, int): Call
1141         digest.update() with temp, not len as lenght.
1142
1143 2003-12-02  Michael Koch  <konqueror@gmx.de>
1144
1145         * java/net/DatagramSocket.java
1146         (close): Close associated DatagramChannel object.
1147         * java/net/ServerSocket.java
1148         * java/net/Socket.java
1149         (close): Reset impl and bound before calling getChannel().close() to
1150         prevent from loops.
1151
1152 2003-12-02  Michael Koch  <konqueror@gmx.de>
1153
1154         * java/nio/channels/spi/AbstractInterruptibleChannel.java
1155         (opened): Removed.
1156         (closed): New field.
1157         (close): Check of channel is closed already.
1158         (isOpen): Return !closed.
1159
1160 2003-12-02  Michael Koch  <konqueror@gmx.de>
1161
1162         * gnu/java/nio/DatagramChannelImpl.java
1163         (blocking): Initialize with true by default.
1164         * gnu/java/nio/ServerSocketChannelImpl.java
1165         (serverSocket): Made private.
1166         (blocking): Likewise.
1167         (connected): Likewise.
1168         * gnu/java/nio/SocketChannelImpl.java
1169         (connectionPending): Made private.
1170         * gnu/java/nio/FileLockImpl.java
1171         (static): Load native library (needed for classpath).
1172         * gnu/java/nio/SelectorImpl.java
1173         (static): Load native library (needed for classpath).
1174
1175 2003-12-02  Michael Koch  <konqueror@gmx.de>
1176
1177         * gnu/java/net/protocol/file/Connection.java
1178         (getLastModified): Implement for file connections.
1179         (getContentLength): Likewise.
1180
1181 2003-12-02  Michael Koch  <konqueror@gmx.de>
1182
1183         * gnu/java/net/protocol/file/Connection.java:
1184         Some reformating.
1185         (file): Renamed from fileIn.
1186         (getPermission): Moved around.
1187
1188 2003-12-02  Michael Koch  <konqueror@gmx.de>
1189
1190         * gnu/java/net/protocol/jar/Connection.java
1191         (Connection): Made class final, merged documentation with classpath.
1192         (file_cache): Made private.
1193         (jar_file): Renamed from jarfile.
1194
1195 2003-12-02  Michael Koch  <konqueror@gmx.de>
1196
1197         * gnu/java/net/protocol/http/Connection.java
1198         (Connection): Initialize doOutput to false;
1199         (connect): Initialize inputStream, moved "send request" code to new
1200         method.
1201         (sendRequest): New method.
1202         (getHttpHeaders): Don't reinitialize inputStream.
1203
1204 2003-12-02  Michael Koch  <konqueror@gmx.de>
1205
1206         * gnu/java/net/protocol//http/Connection.java
1207         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
1208         (requestProperties): Initialize, documentation added.
1209         (inputStream): Renamed from bufferedIn.
1210         (Connection): Dont initialize requestProperties.
1211         (setDefaultRequestProperty): Removed.
1212         (getDefaultRequestProperty): Removed.
1213         (usingProxy): Documentation added.
1214         (getHttpHeaders): Likewise.
1215
1216 2003-12-02  Michael Koch  <konqueror@gmx.de>
1217
1218         * java/text/DateFormat.java:
1219         Explicitely import used classes.
1220
1221 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
1222
1223         * verify.cc (state::clean_subrs): Clear seen_subrs.
1224         (state::copy): Walk seen_subrs from copy, not `this'.
1225         Don't clear seen_subrs.
1226
1227 2003-12-01  Kim Ho <kho@redhat.com>
1228
1229         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
1230         Disable wrapping if TextArea has horizontal scroll bars.
1231
1232 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1233
1234         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1235         (awt_event_handler): Hard-code inset values.
1236
1237         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
1238         Pass font name, not XLFD, to initState.
1239         (stringWidth(String, int, String)): New method.
1240         (stringWidth(String)): Call new stringWidth.
1241         (getLeading): Always return 0.
1242         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1243         (initState): New Pango implementation.
1244         (stringWidth): Likewise.
1245
1246 2003-12-01  Olga Rodimina <rodimina@redhat.com>
1247
1248         * java/awt/TextComponent.java:
1249         (getSelectionStart): Updated javadocs.
1250         (getSelectionEnd): Ditto.
1251         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
1252         (getSelectionStart): Changed to return caret position if no
1253         text is selected
1254         (getSelectionEnd): Ditto.
1255
1256 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1257
1258         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
1259         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
1260         gnu/awt/gtk/GtkContainerPeer.java,
1261         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
1262         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
1263         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
1264         gnu/awt/gtk/natGtkComponentPeer.cc,
1265         gnu/awt/gtk/natGtkContainerPeer.cc,
1266         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
1267         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
1268         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
1269
1270         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1271         (closed): Mark loader parameter as unused.
1272
1273 2003-12-01  Michael Koch  <konqueror@gmx.de>
1274
1275         * gnu/java/net/protocol/http/Connection.java
1276         (Connection): Merged class documentation.
1277         (socket): Renamed from sock.
1278         (Connection): Made protected, documentation added.
1279         (connect): Give URL'S host instead of InetAddress to Socket
1280         constructor.
1281         (disconnect): Documentation added.
1282         (getOutputStream): Rewrapped.
1283
1284 2003-12-01  Michael Koch  <konqueror@gmx.de>
1285
1286         * gnu/java/net/protocol/file/Connection.java
1287         (fileIn): Documentation added.
1288         (inputStream): Likewise.
1289         (outputStream): Likewise.
1290         (Connection): Likewise.
1291         (connect): Simplified.
1292
1293 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1294
1295         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
1296         setProperties): Check that io is not null before calling
1297         io.imageUpdate.
1298         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
1299         Update javadocs.
1300         * java/awt/image/PixelGrabber.java: Fix implementation and
1301         update javadocs.
1302
1303 2003-12-01  Michael Koch  <konqueror@gmx.de>
1304
1305         * gnu/java/net/natPlainSocketImplPosix.cc
1306         bind(): Dont set SockedImpl.address field on succesful bind.
1307         * gnu/java/net/natPlainSocketImplWin32.cc
1308         bind(): Likewise.
1309
1310 2003-11-30  Jeff Sturm <jsturm@one-point.com>
1311
1312         * java/net/InetAddress.java:
1313         (static): Don'f force DNS request for ANY_IF address.
1314
1315 2003-11-30  Michael Koch  <konqueror@gmx.de>
1316
1317         * java/net/InetAddress.java,
1318         java/net/natInetAddressNoNet.cc,
1319         java/net/natInetAddressPosix.cc,
1320         java/net/natInetAddressWin32.cc:
1321         Reverted my last patch.
1322
1323 2003-11-28  Michael Koch  <konqueror@gmx.de>
1324
1325         * java/net/InetAddress.java
1326         (lookup): New method that doesnt lookup "0.0.0.0".
1327         (ImplLookup): Renamed from lookup.
1328         * java/net/natInetAddressNoNet.cc
1329         (ImplLookup): Renamed from lookup.
1330         * java/net/natInetAddressPosix.cc
1331         (ImplLookup): Renamed from lookup.
1332         * java/net/natInetAddressWin32.cc
1333         (ImplLookup): Renamed from lookup.
1334
1335 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1336
1337         * configure: Rebuilt.
1338         * configure.in: Require gtk and glib 2.2.0.
1339
1340 2003-11-27  Dalibor Topic <robilad@kaffe.org>
1341
1342         * java/text/FieldPosition.java (equals): Adapted to handle
1343         field_attribute. Added fast-circuit check for comparison to self.
1344         Replaced use of instanceof by getClass to fix symmetry for derived
1345         types.
1346         (toString): Adapted to handle field_attribute. Improved readability.
1347         (hashCode): New method.
1348
1349 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1350
1351         * java/text/FieldPosition.java (field_attribute): New field.
1352         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
1353         getFieldAttribute): New methods.
1354
1355 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1356
1357         * java/text/DecimalFormatSymbols.java (locale): New field.
1358         (DecimalFormatSymbols (Locale)): Set locale.
1359         (serialVersionOnStream): Upgraded to number 2.
1360         (readObject): Assign locale if it wasn't by the serializer.
1361
1362 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1363
1364         * java/text/FormatCharacterIterator.java: Documented the class and
1365
1366 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1367
1368         * java/text/FormatCharacterIterator.java: Fixed some typos.
1369
1370 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1371
1372         * java/text/NumberFormat.java:
1373         (getIntegerInstance) Added the java version in the comments.
1374
1375 2003-11-27  Mark Wielaard  <mark@klomp.org>
1376
1377         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
1378         (readResolve): Reformat.
1379
1380 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1381
1382         * java/text/NumberFormat.java
1383         (NumberFormat.Field): New implemented class to match Java 1.4. 
1384         (getIntegerInstance): Two new Java 1.4 methods.o
1385
1386 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1387
1388         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
1389         the leap day of the leap year twice.
1390         (computeFields): First week of month is 1 not 0.
1391
1392 2003-11-27  Mark Wielaard  <mark@klomp.org>
1393
1394         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
1395         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
1396
1397 2003-11-27  Michael Koch  <konqueror@gmx.de>
1398
1399         * javax/swing/UIDefaults.java:
1400         Reformated to match classpath's version.
1401
1402 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
1403
1404         * javax/swing/UIManager.java (getDefaults, getDimension,
1405         getIcon, getInsets, getInstalledLookAndFeels, getInt,
1406         getLookAndFeel, getString, getSystemLookAndFeelClassName):
1407         Declare as public.
1408
1409 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1410
1411         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
1412         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
1413         isSignificant): Likewise.
1414
1415 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1416
1417         * javax/swing/undo/CompoundEdit.java: Re-format, document.
1418         (inProgress): Set initial value to true.
1419         (undo, redo, die, canUndo, canRedo): Also call inherited
1420         implementation; simplify code structure.
1421         (getPresentationName, getUndoPresentationName,
1422         getRedoPresentationName): Make behavior dependent on lastEdit.
1423         (addEdit, isSignificant): Completely re-written.
1424
1425 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1426
1427         * javax/swing/undo/StateEdit.java: Re-format, document.
1428         (undo, redo): Also call inherited implementation.
1429
1430 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1431
1432         * javax/swing/undo/StateEditable.java: Re-format, document.
1433
1434 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1435
1436         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
1437         (AbstractUndoableEdit): Initialize hasBeenDone to true.
1438         (canUndo, canRedo): Simplify.
1439         (getUndoPresentationName, getRedoPresentationName): Support
1440         localized message; call getPresentationName() only once.
1441
1442 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
1443
1444         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
1445         (ZipFile(File,int)): Likewise.
1446
1447 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
1448
1449         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
1450         (putAllInternal): Likewise.
1451         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
1452         (putAllInternal): Likewise.
1453
1454 2003-11-26  Michael Koch  <konqueror@gmx.de>
1455
1456         * java/net/URLStreamHandler.java
1457         (parseURL): Added comment in catch statement.
1458         (canonicalizeFilename): Add documentation.
1459         (sameURL): Completed documentation.
1460         (equals): Likewise.
1461         (hostsEqual): Likewise.
1462         (getDefaulPort): Likewise.
1463         (hashCode): Likewise.
1464         (toExternalForm): Likewise.
1465         (getHostName): Fix empty hostname check, completed documentation.
1466
1467 2003-11-26  Tom Tromey  <tromey@redhat.com>
1468
1469         * java/lang/natDouble.cc (parseDouble): Reverted patch of
1470         2003-11-13.
1471
1472 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
1473             Mark Wielaard  <mark@klomp.org>
1474
1475         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
1476         ('@' should be checked to distinguish port from userinfo).
1477         (toExternalForm): Add @ userInfo if necessary.
1478
1479
1480 2003-11-26  Michael Koch  <konqueror@gmx.de>
1481
1482         * java/net/DatagramSocket.java
1483         (DategramSocket, bind): Moved binding code from DatagramSocket
1484         constructor to bind method.
1485
1486 2003-11-26  Michael Koch  <konqueror@gmx.de>
1487
1488         * java/net/DatagramSocket.java
1489         (impl): Made private.
1490         (bound): New private member variable.
1491         (DatagramSocket): Fixed documentation, use getImpl().
1492         (getImpl): New package-private method.
1493         (isClosed): Use getImpl().
1494         (getLocalAddress): Completed documentation, use getImpl().
1495         (getLocalPort): Use getImpl().
1496         (getSoTimeout): Likewise.
1497         (setSoTimeout): Likewise.
1498         (getSendBufferSize): Likewise.
1499         (setSendBufferSize): Likewise.
1500         (getReceiveBufferSize): Likewise.
1501         (setReceiveBufferSize): Likewise.
1502         (connect): Likewise.
1503         (disconnect): Likewise.
1504         (receive): Likewise.
1505         (send): Likewise.
1506         (setReuseAddress): Likewise.
1507         (setTrafficClass): Likewise.
1508         (bind): Added message to exception.
1509         (isClosed): Completed documentation.
1510         (getChannel): Likewise.
1511         (connect): Added missing exception, refined exception message.
1512         (isBound): Completed documentation, just return bound.
1513         (isConnected): Completed documentation.
1514         (getRemoteSocketAddress): Likewise.
1515         (getReuseAddress): Completed documentation, use getImpl().
1516         (setSoBroadcast): Likewise.
1517         (getSoBroadcast): Likewise.
1518         (getTrafficClass): Likewise.
1519         (getLocalSocketAddress): Simplified.
1520         * java/net/MulticastSocket.java
1521         (MulticastSocket): Removed comment not applying anymore.
1522         (getInterface): Use getImpl().
1523         (getTTL): Likewise.
1524         (getTimeToLive): Likewise.
1525         (setInterface): Likewise.
1526         (setNetworkInterface): Likewise.
1527         (getNetworkInterface): Likewise.
1528         (setLoopback): Likewise.
1529         (getLoopback): Likewise.
1530         (setTTL): Likewise.
1531         (setTimeToLive): Likewise.
1532         (joinGroup): Likewise.
1533         (leaveGroup): Likewise.
1534         (send): Likewise.
1535
1536 2003-11-26  Michael Koch  <konqueror@gmx.de>
1537
1538         * java/net/Socket.java
1539         (implCreated): Dont set default value explicitely, added
1540         documentation.
1541         (inputShutdown): Likewise.
1542         (outputShutdown): Likewise.
1543         (bound): New private member variable.
1544         (bind): Set bound to true.
1545         (close): Set bound to false.
1546         (isBound): Return bound.
1547         * java/net/ServerSocket.java
1548         (bound): New private member variable.
1549         (bind): Set bound to true.
1550         (close): Set bound to false.
1551         (isBound): Return bound.
1552
1553 2003-11-26  Michael Koch  <konqueror@gmx.de>
1554
1555         * java/net/URL.java
1556         (URL): Fixed documentation to be HTML compliant.
1557         (getContent): Completed documentation.
1558         (getFile): Likewise.
1559         (getPath): Likewise.
1560         (getAuthority): Likewise.
1561         (getHost): Likewise.
1562         (getDefaultPort): Likewise.
1563         (getProtocol): Likewise.
1564         (hashCode): Likewise.
1565         (openConnection): Likewise.
1566         (openStream): Likewise.
1567         (set): Likewise.
1568         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
1569
1570 2003-11-26  Michael Koch  <konqueror@gmx.de>
1571
1572         * java/net/InetSocketAddress.java
1573         (hostname): Made private, added documentation.
1574         (addr): Likewise.
1575         (port): Likewise.
1576         (equals): Completed documentation.
1577         (getAddress): Likewise.
1578         (getHostName): Likewise.
1579         (getPort): Likewise.
1580         (hashCode): Likewise.
1581         (isUnresolved): Likewise.
1582         (toString): Likewise.
1583
1584 2003-11-26  Michael Koch  <konqueror@gmx.de>
1585
1586         * gnu/java/net/protocol/file/Handler.java
1587         (Handler): New explicit constructor.
1588         (openConnection): Added documentation.
1589         * gnu/java/net/protocol/jar/Handler.java
1590         (Handler): New explicit constructor.
1591         (openConnection): Added documentation.
1592
1593 2003-11-26  Michael Koch  <konqueror@gmx.de>
1594
1595         * java/net/DatagramPacket.java
1596         (DatagramPacket): Fixed documentation to become legal HTML.
1597
1598 2003-11-25  Michael Koch  <konqueror@gmx.de>
1599
1600         * gcj/javaprims.h: Added missing java.util.Currency.
1601
1602 2003-11-25  Michael Koch  <konqueror@gmx.de>
1603
1604         * testsuite/libjava.mauve/xfails:
1605         Removed these two tests, they mystically pass now:
1606         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
1607         test_params failed - 5getInetAddress did not return proper values
1608         (number 1)
1609         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
1610         test_BasicServer failed - 11 exception was thrown :Illegal seek
1611         (number 1)
1612
1613 2003-11-25  Michael Koch  <konqueror@gmx.de>
1614
1615         * java/net/DatagramSocket.java
1616         (factory): Made private.
1617         (closed): Removed.
1618         (DatagramSocket): Check impl argument, use constructor with
1619         SocketAddress argument.
1620         (close): Set impl to null, use isClosed().
1621         (isClosed): Check for impl == null.
1622         (getLocalAddress): Use isClosed().
1623         (getLocalPort): Check if socket is closed.
1624         (getSoTimeout): Likewise.
1625         (setSoTimeout): Likewise.
1626         (getSendBufferSize): Likewise.
1627         (setSendBufferSize): Likewise.
1628         (getReceiveBufferSize): Likewise.
1629         (setReceiveBufferSize): Likewise.
1630         (receive): Likewise.
1631         (send): Likewise.
1632         (bind): Likewise.
1633         (connect): Likewise.
1634         (setReuseAddress): Likewise.
1635         (getReuseAddress): Likewise.
1636         (setBroadcast): Likewise.
1637         (getBroadcast): Likewise.
1638         (setTrafficClass): Likewise.
1639         (getTrafficClass): Likewise.
1640         * java/net/MulticastSocket.java
1641         (getInterface): Check if socket is closed.
1642         (getTTL): Likewise.
1643         (getTimeToLive): Likewise.
1644         (setInterface): Likewise.
1645         (setNetworkInterface): Likewise.
1646         (getNetworkInterface): Likewise.
1647         (setLoopbackMode): Likewise.
1648         (setTTL): Likewise.
1649         (setTimeToLive): Likewise.
1650         (joinGroup): Likewise.
1651         (leaveGroup): Likewise.
1652         (send): Likewise.
1653         * java/net/ServerSocket.java
1654         (closed): Removed.
1655         (close): Check if socket is closed, set impl to null.
1656         (isClosed): Check impl == null;
1657         (ServerSocket): Check impl argument.
1658         (getInetAddress): Check if socket is bound.
1659         (getLocalPort): Likewise.
1660         (getLocalSocketAddress): Likewise.
1661         (bind): Check if socket is closed.
1662         (implAccept): Likewise.
1663         (setSoTimeout): Likewise.
1664         (getSoTimeout): Likewise.
1665         (setReuseAddress): Likewise.
1666         (getReuseAddress): Likewise.
1667         (setReceiveBufferSize): Likewise.
1668         (getReceiveBufferSize): Likewise.
1669         (toString): Make output compliant to JDK 1.4.2.
1670         * java/net/Socket.java
1671         (closed): Removed.
1672         (Socket): Fixed documentation.
1673         (connect): Check if socket is closed, changed exception text,
1674         fixed documentation.
1675         (getInputStream): Check of socket is closed  and connected.
1676         (getOutputStream): Likewise.
1677         (bind): Check if socket is closed.
1678         (setTcpNoDelay): Likewise.
1679         (getTcpNoDelay): Likewise.
1680         (setSoLinger): Likewise.
1681         (getSoLinger): Likewise.
1682         (sendUrgentData): Likewise.
1683         (setOOBInline): Likewise.
1684         (getOOBInline): Likewise.
1685         (setSoTimeout): Likewise.
1686         (getSoTimeout): Likewise.
1687         (setSendBufferSize): Likewise.
1688         (getSendBufferSize): Likewise.
1689         (setReceiveBufferSize): Likewise.
1690         (getReceiveBufferSize): Likewise.
1691         (setKeepAlive): Likewise.
1692         (getKeepAlive): Likewise.
1693         (close): Likewise.
1694         (shutdownInput): Likewise.
1695         (shutdownOutput): Likewise.
1696         (getReuseAddress): Likewise.
1697         (getTrafficClass): Likewise.
1698         (setTrafficClass): Likewise.
1699         (isClosed): Check impl == null.
1700         (toString): Added missing ']'.
1701
1702 2003-11-24  Tom Tromey  <tromey@redhat.com>
1703
1704         * Makefile.in: Rebuilt.
1705         * Makefile.am (propdir): New macro.
1706         (install-data-local): Install logging.properties.
1707         (core_java_source_files): Added java.util.logging.*.
1708         * java/util/logging/logging.properties: New file.
1709
1710 2003-11-25  Michael Koch  <konqueror@gmx.de>
1711
1712         * java/net/DatagramSocket.java
1713         (DatagramSocket): Move binding code to bind(), simplify constructors.
1714         * java/net/MulticastSocket.java
1715         (MulticastSocket): Call parent constructor with null argument,
1716         bind socket after setReuseAddress is called, simplify constructors.
1717
1718 2003-11-24  Michael Koch  <konqueror@gmx.de>
1719
1720         * javax/swing/BoxLayout.java
1721         (serialVersionUIR): New member variable.
1722         (X_AXIS, Y_AXIS): Documentation added.
1723         (LINE_AXIS, PAGE_AXIS): New constants.
1724         (grid): Renamed from gridbag.
1725         (BoxLayout): Use new constants, throw exception if invalid value for
1726         way, added documentation.
1727         (BoxLayout): Removed.
1728         (addLayoutComponent): Use new constants, added documentation.
1729         (removeLayoutComponent): Likewise.
1730         (addLayoutContainer): Added documentation.
1731         (preferredLayoutSize): Added documentation, check given argument.
1732         (minimumLayoutSize): Likewise.
1733         (layoutContainer): Likewise.
1734         (getLayoutAlignmentX): Likewise.
1735         (getLayoutAlignmentY): Likewise.
1736         (invalidateLayout): Likewise.
1737         (maximumLayoutSize): Likewise.
1738
1739 2003-11-22  Michael Koch  <konqueror@gmx.de>
1740
1741         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1742         (peekData): Use offset and maximal free space in datagram packet.
1743         (receive): Likewise.
1744         (send): Use offset in datagram packet.
1745
1746 2003-11-22  Michael Koch  <konqueror@gmx.de>
1747
1748         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1749         (peekData): Use offset and maximal free space in datagram packet.
1750         (receive): Likewise.
1751         (send): Use offset in datagram packet.
1752
1753 2003-11-22  Michael Koch  <konqueror@gmx.de>
1754
1755         * gnu/java/nio/DatagramChannelImpl.java
1756         (getNativeFD): Use getPlainDatagramSocketImpl().
1757         * gnu/java/nio/NIODatagramSocket.java
1758         (getPlainDatagramSocketImpl): Renamed from getImpl().
1759         * gnu/java/nio/NIOSocket.java
1760         (getPlainSocketImpl): Renamed from getImpl().
1761         (setChannel): Use getPlainSocketImpl().
1762         * gnu/java/nio/SocketChannelImpl.java
1763         (SocketChannelImpl): Use getPlainSocketImpl().
1764         (getPlainSocketImpl): Renamed from getImpl().
1765         (getNativeFD): Use getPlainSocketImpl().
1766
1767 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1768
1769         * javax/swing/JLayeredPane.java: Implement.
1770         * javax/swing/JFrame.java (getContentPane): Make public
1771         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
1772         Use JLayeredPane.FRAME_CONTENT_LAYER.
1773
1774 2003-11-21  Mark Wielaard  <mark@klomp.org>
1775
1776         * java/lang/Float.java (static): Removed.
1777
1778 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1779
1780         * java/awt/font/TextLayout.java: Implement simple layouts
1781         using attributed strings and glyph vectors.
1782
1783 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1784
1785         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
1786         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
1787         (GdkFontLineMetrics): New inner class.
1788         (getLineMetrics): Return new GdkFontLineMetrics.
1789         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
1790         (layoutGlyphVector): Create GdkGlyphVector.
1791         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
1792         (GdkGraphics2D): Initialize state via mathod calls.
1793         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
1794         (cairoTranslate, cairoScale, cairoRotate): Remove.
1795         (various methods): use setTransform for special transform cases.
1796         (DrawState): New inner class.
1797         (stateSave): New method.
1798         (stateRestore): New method.
1799         (various methods): use stateSave, stateRestore.
1800         (getClipInDevSpace): New method.
1801         (clip, clipRect, setClip, getClip, getClipBounds): 
1802         Follow spec more closely.
1803         (getTransform): Return clone of transform.
1804         (setStroke): Set linewidth to passed width / 2.0.
1805         (setPaintMode): Set SrcOver rather than Xor.
1806         (setColor): Set paint to passed color.
1807         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
1808         transform from image to user space.
1809         (drawRenderedImage, drawRenderableImage): Implement.
1810         (getFontRenderContext, getFontMetrics, drawString, getFont): 
1811         Implement
1812         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
1813         Implement.
1814         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
1815         Match changes to java side.
1816         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
1817         Release resources.
1818         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
1819         Don't use pango for metrics.
1820         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
1821         New file.
1822
1823 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
1824             Jim Pick  <jim@kaffe.org>
1825
1826         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
1827         methods.
1828
1829 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
1830
1831         * java/text/DecimalFormatSymbols.java (getCurrency,
1832         setCurrency): New methods.
1833
1834 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
1835
1836         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
1837         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
1838         Describe how the implementation works.
1839
1840 2003-11-19  Michael Koch  <konqueror@gmx.de>
1841
1842         * java/net/Socket.java
1843         (implCreated): New variable that indicates created impl.
1844         (getImpl): New method.
1845         (toString): Return more SUN compliant string representation.
1846         (various): Use getImpl() instead of impl.
1847
1848 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
1849
1850         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
1851         the right libgcc. Add -multiply_defined suppress and -bind_at_load
1852         flags.
1853
1854 2003-11-18  Tom Tromey  <tromey@redhat.com>
1855
1856         PR libgcj/13026:
1857         * verify.cc (state::copy): Only set local_changed if we're in a
1858         subroutine.  Correctly copy local variables which were modified
1859         by the subroutine.
1860         (push_jump_merge): Added more debugging output.
1861
1862         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
1863         is null.
1864
1865 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1866
1867         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
1868         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
1869
1870 2003-11-16  Tom Tromey  <tromey@redhat.com>
1871
1872         PR libgcj/13062:
1873         * java/io/StreamTokenizer.java (commentChar): Clear other
1874         attributes for character.
1875         (quoteChar): Likewise.
1876
1877 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1878
1879         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
1880         zero-length int arrays when layoutInfo is null.
1881         (getLayoutWeights): Return array of two zero-length double arrays when
1882         layoutInfo is null.
1883
1884 2003-11-13  Tom Tromey  <tromey@redhat.com>
1885
1886         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
1887         JvGetStringUTFRegion.
1888         * java/lang/natPosixProcess.cc (new_string): Pass length of string
1889         to JvGetStringUTFRegion.
1890         * java/lang/natDouble.cc (parseDouble): Pass length of string to
1891         JvGetStringUTFRegion.
1892         * java/lang/natWin32Process.cc (startProcess): Pass length of
1893         string to JvGetStringUTFRegion.
1894         * java/lang/natClass.cc (forName): Pass length of string to
1895         JvGetStringUTFRegion.
1896         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
1897         of string to JvGetStringUTFRegion.
1898         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
1899         JvGetStringUTFRegion.
1900         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
1901         to JvGetStringUTFRegion.
1902         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
1903         string to JvGetStringUTFRegion.
1904
1905 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
1906
1907         * gnu/java/nio/natSelectorImplPosix.cc
1908         (helper_put_filedescriptors): Change to static linkage.
1909         (helper_get_filedescriptors): Likewise.
1910
1911 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1912
1913         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
1914         null check.
1915         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
1916         * java/awt/Component.java (prepareImage): Likewise.
1917
1918         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
1919         Rename to nativeSetAlignment.
1920
1921 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
1922
1923         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
1924         (JNI_GetCreatedJavaVMs): Likewise.
1925         (JNI_GetDefaultJavaVMInitArgs): Likewise.
1926         * include/jni.h (JNIIMPEXP): Remove definition
1927         and replace with...
1928         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
1929         symbols,
1930         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
1931
1932 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1933
1934         * Makefile.am: Add GdkPixbufDecoder.java and
1935         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1936         * Makefile.in: Regenerate.
1937         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
1938         New constructor.
1939         (startProduction): Create ByteArrayInputStream when url and filename are
1940         null.
1941         (produce): Declare stream parameter as InputStream.
1942         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
1943         as InputStream.
1944         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1945         (GdkPixbufDecoder(byte[],int,int)): New constructor.
1946         (produce): Declare stream parameter as InputStream.
1947         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
1948         if image is null.  Set image's observer before running PrepareImage
1949         thread.  Pass image to startProduction.
1950         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
1951         source's member functions.
1952         (observer): New field.
1953         (setObserver): New method.
1954         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
1955         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
1956         new GtkImage.
1957         (prepareImage): Implement.
1958         * java/awt/Component.java: Add static fields incrementalDraw and
1959         redrawRate.
1960         (imageUpdate): Implement.
1961         (createImage): Call Toolkit's createImage if peer is null.
1962         (prepareImage): Throw NPE if image is null.
1963         * java/awt/MediaTracker.java: Fix return value.
1964
1965 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1966
1967         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
1968         (create(String, float)): New method.
1969         (setText): Make native.
1970         (nativeSetAlignment): New method.
1971         (setAlignment): Call nativeSetAlignment.
1972         (getArgs): Remove method.
1973         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1974         (find_fg_color_widget, find_bg_color_widget): New functions.
1975         (gtkWidgetSetForeground): Call find_fg_color_widget.
1976         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
1977         prelight colors.
1978         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
1979         widget in event box.
1980         (setText, setAlignment): Implement new native methods.
1981
1982 2003-11-11  Michael Koch  <konqueror@gmx.de>
1983
1984         * java/awt/Font.java,
1985         java/awt/datatransfer/DataFlavor.java,
1986         java/math/BigInteger.java,
1987         java/net/Inet4Address.java,
1988         java/net/Inet6Address.java,
1989         java/rmi/MarshalledObject.java,
1990         java/rmi/server/RMIClassLoader.java,
1991         java/security/cert/CertStore.java,
1992         java/sql/Timestamp.java,
1993         java/text/SimpleDateFormat.java,
1994         javax/naming/CompoundName.java:
1995         Removed some redundant obj == null checks.
1996
1997 2003-11-11  Michael Koch  <konqueror@gmx.de>
1998
1999         * java/nio/ByteBuffer.java
2000         (equals): Remove redundant obj == null check.
2001
2002 2003-11-11  Michael Koch  <konqueror@gmx.de>
2003
2004         * gnu/java/nio/natPipeImpl.cc,
2005         gnu/java/nio/natSelectorImpl.cc: Removed
2006         * gnu/java/nio/natPipeImplEcos.cc,
2007         gnu/java/nio/natPipeImplPosix.cc,
2008         gnu/java/nio/natPipeImplWin32.cc,
2009         gnu/java/nio/natSelectorImplEcos.cc,
2010         gnu/java/nio/natSelectorImplPosix.cc,
2011         gnu/java/nio/natSelectorImplWin32.cc: New files
2012         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
2013         gnu/java/nio/natSelectorImpl.cc
2014         * configure: Regenerated.
2015
2016 2003-11-11  Micheal Koch  <konqueror@gmx.de>
2017
2018         * java/net/URLStreamHandler.java (toExternalForm): Print port only
2019         if host is printed too and port was really given to URL.
2020
2021 2003-11-10  Gary Benson  <gbenson@redhat.com>
2022
2023         * java/sql/Timestamp.java (valueOf): Correctly handle
2024         nanoseconds.
2025
2026 2003-11-09  Tom Tromey  <tromey@redhat.com>
2027
2028         * java/net/Inet4Address.java (serialVersionUID): Updated.
2029
2030 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2031
2032         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
2033         New fields.
2034
2035 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2036
2037         * java/io/ByteArrayOutputStream.java (resize):
2038         Fix off-by-one error.
2039
2040 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
2041
2042         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
2043         public.
2044
2045 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2046
2047         PR libgcj/12231
2048         * java/lang/Win32Process.java (hasExited) Changed from
2049         public to private.
2050         (startProcess): Likewise.
2051         (cleanup): Likewise.
2052         * java/lang/natWin32Process.cc (cleanup) Don't close
2053         input, output and error streams.
2054         (ChildProcessPipe): New helper class.
2055         (startProcess): Refactored to use ChildProcessPipe.
2056         Use CREATE_NO_WINDOW when launching child process.
2057
2058 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2059
2060         * include/win32.h (_Jv_platform_close_on_exec): Changed
2061         signature and declared extern.
2062         * win32.cc (_Jv_platform_close_on_exec): Implemented.
2063         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2064         (create): Use new signature of _Jv_platform_close_on_exec.
2065         * gnu/java/net/natPlainSocketImplWin32.cc 
2066         (create): Eliminated a few typecasts
2067         Use new signature of _Jv_platform_close_on_exec.
2068         (accept): Eliminated a few typecasts
2069         Use new signature of _Jv_platform_close_on_exec.
2070         * java/io/natFileDescriptorWin32.cc (open): Use
2071         _Jv_platform_close_on_exec.
2072
2073 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
2074
2075         * java/lang/natClass.cc (newInstance): Throw InstantiationException
2076         if class has no null-argument constructor.
2077
2078 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2079
2080         PR libgcj/12647:
2081         * win32-threads.cc (_Jv_CondWait): Respect mutex's
2082         refcount when releasing and reacquiring it.
2083
2084 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2085
2086         * win32.cc: (dirExists) Internal helper function to
2087         test for directory existence.
2088         (getUserHome) New helper function refactored out
2089         of _Jv_platform_initProperties. Uses USERPROFILE
2090         instead of HOMEDIR and attempts to support Win9X and NT.
2091         (_Jv_platform_initProperties) Use getUserHome.
2092
2093 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2094
2095         PR libgcj/11521:
2096         * gnu/java/net/natPlainSocketImplWin32.cc
2097         (bind): Don't use SO_REUSEADDR
2098
2099 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2100
2101         PR libgcj/6652:
2102         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
2103
2104 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
2105
2106         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
2107         dispatch for final methods.
2108
2109 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2110
2111         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
2112         word wrapping.
2113
2114 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
2115
2116         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
2117         scrolled window's size request.
2118
2119 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2120
2121         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
2122         * java/awt/geom/QuadCurve2D.java: Likewise.
2123
2124 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2125
2126         * java/awt/geom/CubicCurve2D.java: Added documentation.
2127         * java/awt/geom/QuadCurve2D.java: Likewise.
2128
2129         * java/awt/geom/doc-files/QuadCurve2D-4.png,
2130         java/awt/geom/doc-files/QuadCurve2D-5.png,
2131         java/awt/geom/doc-files/CubicCurve2D-4.png,
2132         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
2133
2134 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2135
2136         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
2137         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
2138         (subdivide(double[],int,double[],int,double[],int)): Implement.
2139
2140 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2141
2142         * java/awt/geom/doc-files/CubicCurve2D-1.png,
2143         java/awt/geom/doc-files/CubicCurve2D-2.png,
2144         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
2145
2146 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
2147
2148         * java/text/DecimalFormat.java
2149         (scanFormat) corrected so that '%' may appear in a pattern.
2150
2151 2003-10-29  Mark Wielaard  <mark@klomp.org>
2152
2153         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
2154         * java/text/DateFormat.java (Field): New public static inner class.
2155         * java/text/Format.java (Field): Likewise.
2156         (formatToCharacterIterator): New method.
2157         * java/text/FormatCharacterIterator.java: New file.
2158
2159 2003-10-29  Mark Wielaard  <mark@klomp.org>
2160
2161         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
2162         * java/util/Currency.java: New file.
2163
2164 2003-10-29  Michael Koch  <konqueror@gmx.de>
2165
2166         * Makefile.am (ordinary_java_source_files): Added
2167         java/text/FormatCharacterIterator.java and java/util/Currency.java.
2168         * Makefile.in: Regenerated.
2169
2170 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
2171
2172         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
2173         static methods.
2174
2175 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
2176
2177         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
2178         getObjectInstance() with Object, Name, Context and environment
2179         Hashtable from exception. Call fillInStackTrace() on exception when
2180         rethrown.
2181         * javax/naming/InitialContext.java (lookup(Name)): When a
2182         CannotProceedException is thrown use the ContinuationContext.
2183         (lookup(String)): Likewise.
2184         (close): Clear myProps and defaultInitCtx.
2185
2186 2003-10-29  Michael Koch  <konqueror@gmx.de>
2187
2188         * java/net/InetAddress.java
2189         (equals): Remove redundant obj == null check.
2190         * java/net/SocketPermission.java
2191         (equals): Likewise.
2192         * java/net/URL.java
2193         (equals): Likewise.
2194         (getURLStreamHandler): Likewise.
2195
2196 2003-10-29  Michael Koch  <konqueror@gmx.de>
2197
2198         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2199         (setOption): Directly return if no error occured.
2200         * gnu/java/net/natPlainSocketImplPosix.cc
2201         (setOption): Likewise.
2202
2203 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2204
2205         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
2206         vtable slot for final methods. Add FIXME comment.
2207
2208 2003-10-28  David S. Miller  <davem@redhat.com>
2209
2210         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
2211
2212 2003-10-26  Mark Wielaard  <mark@klomp.org>
2213
2214         Reported by Helmer Kraemer <hkraemer@freenet.de>
2215         * java/util/jar/JarInputStream.java (readManifest): Don't call
2216         closeEntry().
2217
2218         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
2219         (finish): Use inbufWrite().
2220         (write(int)): Likewise.
2221         (write(byte[],int,int)): Likewise.
2222
2223 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2224
2225         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
2226         Don't check for AccessibleObject. Update javadocs.
2227         
2228         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
2229
2230 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2231
2232         * java/lang/reflect/Constructor.java (toString): Avoid extra 
2233         whitespace on constructor with no modifiers.
2234         * java/lang/reflect/natConstructor.java (newInstance): Look up
2235         caller and perform accessibility check only if constructor is
2236         non-public and accessible flag is not set.
2237
2238 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2239
2240         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
2241         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
2242         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
2243         is_virtual_call argument.
2244         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
2245         natClass.cc.
2246         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
2247         _Jv_isVirtualMethod.
2248         * java/lang/reflect/natMethod.cc (invoke): Don't use 
2249         _Jv_LookupDeclaredMethod.
2250         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
2251         look up method in target object's vtable.
2252
2253 2003-10-25  Graydon Hoare  <graydon@redhat.com>
2254
2255         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
2256         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
2257         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
2258         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2259         New concrete implementation of ClasspathFontPeer, with native part.
2260         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2261         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2262         New class, with native part.
2263         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2264         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2265         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
2266
2267 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2268
2269         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
2270         on method with no modifiers.
2271
2272 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2273
2274         PR libgcj/11780:
2275         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
2276         accessibility check only if target is non-public and accessible flag
2277         is not set.
2278         * java/lang/reflect/natField.cc (getAddr): Likewise.
2279
2280 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
2281
2282         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
2283         Remove method.
2284         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
2285         New method.
2286         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
2287         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
2288         (dispose): Post WINDOW_CLOSED event.
2289         (addWindowFocusListener, addWindowStateListener): Assign result
2290         of multicaster add back to window listener.
2291         (removeWindowFocusListener, removeWindowStateListener): Assign
2292         result of multicaster remove back to window listener.
2293         (dispatchEventImpl): Add null checks for focus and state
2294         listeners.
2295         (processWindowEvent): Handle case where windowListener is null
2296         but state or focus listeners exist.
2297         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2298         glue for postWindowEvent.
2299         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2300         (window_delete_cb, window_destroy_cb, window_show_cb,
2301         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
2302         window_get_new_state): New functions.
2303         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
2304         macros.  Declare postWindowEventID.
2305
2306 2003-10-24  Anthony Green  <green@redhat.com>
2307
2308         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
2309         we have no interpreter.
2310
2311 2003-10-22  Andrew Haley  <aph@redhat.com>
2312
2313         * java/lang/natClass.cc (initializeClass): Call
2314         _Jv_linkExceptionClassTable.
2315         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
2316         _Jv_Defer_Resolution on a method whose ncode is NULL.
2317         (_Jv_linkExceptionClassTable): New function.
2318         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
2319         entry, look it up.
2320         * java/lang/Class.h (struct _Jv_CatchClass): New.
2321         (_Jv_linkExceptionClassTable): New friend.
2322         (_Jv_Defer_Resolution): New friend.
2323         (class Class.catch_classes): New field.
2324         * include/java-interp.h (Jv_Defer_Resolution): New method.
2325         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
2326         (_Jv_MethodBase.deferred): New field.
2327         (_Jv_Defer_Resolution): New function.
2328         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
2329         * exception.cc (get_ttype_entry): Change return type to void**.
2330         (PERSONALITY_FUNCTION): Remove all code related to using a
2331         Utf8Const* for a match type.  Change match type to be a pointer to
2332         a pointer, rather than a pointer to a Class.
2333         * defineclass.cc (handleCodeAttribute): Initialize
2334         method->deferred.
2335         (handleMethodsEnd): Likewise.
2336
2337 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2338
2339         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
2340         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
2341
2342 2003-10-22  Tom Tromey  <tromey@redhat.com>
2343
2344         PR libgcj/12416:
2345         * java/lang/Class.h: Updated.
2346         * java/lang/natClass.cc (_getFields): Removed.
2347         (getFields): Likewise.
2348         (getDeclaredFields): Added `public_only' parameter.
2349         * java/lang/Class.java (getFields): Now implemented in java; from
2350         Classpath.
2351         (getDeclaredFields): Likewise.
2352         (getDeclaredFields(boolean)): Declare.
2353         (_getFields): Removed.
2354         (internalGetFields): New method, from Classpath.
2355
2356         PR libgcj/12656:
2357         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
2358         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
2359
2360 2003-10-22  David Daney  <ddaney@avtrex.com)
2361
2362         * include/mips-signal.h: New file.
2363         * sysdep/dwarf2-backtrace.cc: New file.
2364         * sysdep/mips: New directory.
2365         * sysdep/mips/locks.h: New file.
2366         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
2367         added to libgcj.
2368         (extra_cc_source_files): Ditto.
2369         * configure.host(disable_dladdr):  New shell variable passed to
2370         configure.
2371         (mips*-*-linux*): sysdeps_dir=mips,
2372         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
2373         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
2374         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
2375         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
2376         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
2377         (EXTRA_CC_FILES): New, to support conditional addition of
2378         sysdep/dwarf2-backtrace.cc.
2379         * configure: Regenerated.
2380         * Makefile.in: Regenerated.
2381         * gcj/Makefile.in: Regenerated.
2382         * include/config.h.in: Regenerated.
2383         * include/Makefile.in: Regenerated.
2384         * testsuite/Makefile.in: Regenerated.
2385         
2386 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2387
2388         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
2389         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
2390
2391 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2392
2393         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
2394         * java/awt/geom/doc-files: New directory.
2395         * java/awt/geom/doc-files/QuadCurve2D-1.png,
2396         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
2397         
2398 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2399
2400         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
2401
2402 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2403
2404         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
2405
2406 2003-10-22  Michael Koch  <konqueror@gmx.de>
2407
2408         * java/io/File.java
2409         (equals): Removed redundant obj == null check.
2410         (createTempFile): Merged comments from classpath.
2411
2412 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2413
2414         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
2415         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
2416         (error): Synchronize on instance, not class.
2417
2418 2003-10-21  Mark Wielaard  <mark@klomp.org>
2419
2420         Reported by M.Negovanovic
2421         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
2422         method.
2423         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
2424
2425 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2426
2427         Fix for Classpath bug #6076.
2428         * java/awt/geom/GeneralPath.java (append): Re-written.
2429
2430 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2431
2432         Fix for Classpath bug #6089.
2433         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
2434         (getPathIterator, GeneralPathIterator): Re-written from scratch.
2435
2436 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2437
2438         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
2439         point, not start of subpath.  Fixes Classpath bug #6075.
2440
2441 2003-10-21  Michael Koch  <konqueror@gmx.de>
2442
2443         * java/nio/ByteOrder.java,
2444         java/nio/DirectByteBufferImpl.java,
2445         java/nio/channels/FileChannelImpl.java:
2446         Add code to load library with code for native methods if needed.
2447
2448 2003-10-21  Michael Koch  <konqueror@gmx.de>
2449
2450         * gnu/java/net/PlainDatagramSocketImpl.java,
2451         gnu/java/net/PlainSocketImpl.java,
2452         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
2453         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
2454         gnu/java/net/natPlainSocketImplPosix.cc,
2455         gnu/java/net/natPlainSocketImplWin32.cc:
2456         Renamed fnum to native_fd to match classpath more.
2457
2458 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
2459
2460         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
2461         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
2462         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
2463         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
2464         _Jv_PthreadCheckMonitor.  Simplify code.
2465         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
2466         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
2467         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
2468         * java/lang/Thread.java (holdsLock): New.
2469         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
2470         without JV_HASH_SYNCHRONIZATION.
2471         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
2472
2473 2003-10-20  Michael Koch  <konqueror@gmx.de>
2474
2475         * java/text/RuleBasedCollator.java
2476         (RuleBasedCollator): Check rules not empty, fixed search in already
2477         existing collation elements.
2478         (is_special): Removed common whitespace characters.
2479         (text_argument): Dont return on whitespaces, add characters between
2480         two ' to string buffer.
2481
2482 2003-10-18  Michael Koch  <konqueror@gmx.de>
2483
2484         * gnu/java/net/protocol/file/Connection.java,
2485         gnu/java/net/protocol/file/Handler.java,
2486         gnu/java/net/protocol/http/Connection.java,
2487         gnu/java/net/protocol/http/Handler.java,
2488         gnu/java/net/protocol/jar/Connection.java,
2489         gnu/java/net/protocol/jar/Handler.java:
2490         Merged copyright text from classpath to make
2491         it possible to merge the classes.
2492
2493 2003-10-18  Mark Wielaard  <mark@klomp.org>
2494
2495         Reported by M.Negovanovic
2496         * java/beans/IndexedPropertyDescriptor.java
2497         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
2498
2499 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
2500
2501         * win32.cc (_Jv_pipe): Implemented.
2502         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
2503         _Jv_pipe instead of ::pipe.
2504         * include/posix.h (_Jv_pipe): New inline.
2505         * include/win32.h (_Jv_pipe): New declaration.
2506         
2507 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2508
2509         * java/lang/StringBuffer.java (getChars): Fix array index checks.
2510         (append, substring, insert): Likewise.
2511         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
2512         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
2513         
2514 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2515
2516         * java/lang/natString.cc (getChars):
2517         Fix validation of array indexes.
2518         (getBytes, regionMatches, startsWith, valueOf): Likewise.
2519         * testsuite/libjava.lang/String_overflow.java: New file.
2520         * testsuite/libjava.lang/String_overflow.out: New file.
2521
2522 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2523
2524         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
2525         overflow a jint.
2526         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
2527         check for overflowing size_t, since the lower level functions
2528         take a jint.
2529         * testsuite/libjava.lang/newarray_overflow.java:  New file.
2530         * testsuite/libjava.lang/newarray_overflow.out:  New file.
2531         
2532 2003-10-15  Michael Koch  <konqueror@gmx.de>
2533
2534         * java/text/RuleBasedCollator.java
2535         (RuleBasedCollator): Moved around, documentation added.
2536         (compare): Documentation added.
2537         (equals): Likewise.
2538         (getCollationElementIterator): Likewise.
2539         (getCollationKey): Likewise.
2540         (getRules): Likewise.
2541         (hashCode): Likewise.
2542
2543 2003-10-15  Michael Koch  <konqueror@gmx.de>
2544
2545         * java/text/RuleBasedCollator.java
2546         (CollationElement): Renamed from RBCElement and moved into
2547         RuledBasedCollator as inner class.
2548
2549 2003-10-15  Michael Koch  <konqueror@gmx.de>
2550
2551         * java/text/CollationElementIterator.java
2552         (CollationElementIterator): Moved, documenatation added, call setText.
2553         (next): Reformated.
2554         (reset): Reformated.
2555         (setText): New method.
2556         (getOffset): New method.
2557         * java/text/CollationKey.java
2558         (getSourceString): Reformated.
2559         (hashCode): Reformated.
2560         (toByteArray): Reformated.
2561
2562 2003-10-15  Michael Koch  <konqueror@gmx.de>
2563
2564         * java/util/zip/InflaterInputStream.java
2565         (InflaterInputStream): Renamed infl to inf and bufsize to size,
2566         added description to exception, check for inf == null and size < 0.
2567
2568 2003-10-15  Michael Koch  <konqueror@gmx.de>
2569
2570         * java/text/AttributedCharacterIterator.java,
2571         java/text/CharacterIterator.java: Reformated.
2572
2573 2003-10-15  Michael Koch  <konqueror@gmx.de>
2574
2575         * javax/swing/UIDefaults.java (putDefaults):
2576         Readded accidently removed "public" modifier.
2577
2578 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
2579
2580         * interpret.cc (_Jv_InterpMethod::run): Don't
2581         use libffi types, they were meant to be internal.
2582         * gcj/javaprims.h (_Jv_ulong): New typedef.
2583
2584 2003-10-13  Tom Tromey  <tromey@redhat.com>
2585
2586         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
2587         (defineClass): Updated.
2588         (_Jv_NewClass): Likewise.
2589         * prims.cc (_Jv_InitPrimClass): Don't call
2590         _Jv_InitNewClassFields.
2591
2592 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
2593
2594         PR libgcj/12592
2595         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
2596         not just \n.
2597
2598 2003-10-13  Michael Koch  <konqueror@gmx.de>
2599
2600         * java/io/File.java: Reformated.
2601         (equals): Check for obj == null.
2602
2603 2003-10-13  Michael Koch  <konqueror@gmx.de>
2604
2605         * java/net/JarURLConnection.java
2606         (jarFileURL): Added dcoumentation.
2607         (jarFileURLConnection): Reformated documentation.
2608         (entryName): Renamed from "element", documentation rewritten.
2609         (connectionCache): Renamed from "conn_cache", documentation
2610         reformated.
2611         (JarURLConnection): Check URL protocol.
2612         (getEntryName): Use entryName.
2613         (connect): Use connectionCache.
2614         (getInputStream): Use entryName, fixed comment.
2615         (getJarEntry): Use entryName.
2616         (getHeaders): Use entryName.
2617         * java/net/URLConnection.java
2618         (addRequestProperty): Fixed documentation.
2619         (setDefaultRequestProptery): Added comment that it does nothing since
2620         JDK 1.3.
2621         (getDefaultRequestProperty): Likewise.
2622
2623 2003-10-13  Michael Koch  <konqueror@gmx.de>
2624
2625         * java/net/java/net/URLStreamHandlerFactory.java
2626         (createURLStreamHandler): Removed redundant "public" modifier.
2627         * java/sql/DatabaseMetaData.java:
2628         (DatabaseMetaData):  Readded accidently removed "public" modifier.
2629         * java/sql/ParameterMetaData.java:
2630         (ParameterMetaData): Readded accidently removed "public" modifier.
2631         * java/sql/PreparedStatement.java:
2632         (PreparedStatement): Readded accidently removed "public" modifier.
2633         * java/sql/Ref.java:
2634         (Ref): Readded accidently removed "public" modifier.
2635
2636 2003-10-13  Michael Koch  <konqueror@gmx.de>
2637
2638         * java/nio/Buffer.java
2639         (hasRemaining): Made implementation more clear.
2640         * java/nio/MappedByteBuffer.java
2641         (loaded): New member variable.
2642         (force): Added comment.
2643         (isLoaded): Return value of loaded.
2644         (load): Set loaded to true, added comment.
2645
2646 2003-10-12  Michael Koch  <konqueror@gmx.de>
2647
2648         * gnu/java/nio/PipeImpl.java
2649         (SourceChannelImpl): New inner class.
2650         (SinkChannelImpl): New inner class.
2651         (sink): New member variable.
2652         (source): New member variable.
2653         (PipeImpl): Add SelectorProvider argument, implemented.
2654         (nativeInit): New method.
2655         (sink): Return sink channel.
2656         (source): Return source channel.
2657         * gnu/java/nio/SelectorProviderImpl.java
2658         (openPipe): Give provider as argument to PipeImpl constructor.
2659         * java/nio/channels/spi/SelectorProvider.java
2660         (pr): Removed.
2661         (systemDefaultProvider): New member variable.
2662         (provider): Made it synchronized, use property
2663         java.nio.channels.spi.SelectorProvider.
2664         * gnu/java/nio/natPipeImpl.cc: New file.
2665         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
2666         * Makefile.in: Regenerated.
2667
2668 2003-10-12  Michael Koch  <konqueror@gmx.de>
2669
2670         * javax/swing/table/DefaultTableModel.java,
2671         javax/swing/table/TableCellEditor.java,
2672         javax/swing/table/TableCellRenderer.java,
2673         javax/swing/table/TableColumnModel.java,
2674         javax/swing/table/TableModel.java,
2675         javax/swing/text/AbstractDocument.java,
2676         javax/swing/text/Document.java,
2677         javax/swing/text/MutableAttributeSet.java,
2678         javax/swing/text/StyledDocument.java,
2679         javax/swing/text/ViewFactory.java,
2680         javax/swing/tree/DefaultMutableTreeNode.java,
2681         javax/swing/tree/MutableTreeNode.java,
2682         javax/swing/tree/RowMapper.java,
2683         javax/swing/tree/TreeCellEditor.java,
2684         javax/swing/tree/TreeCellRenderer.java,
2685         javax/swing/tree/TreeModel.java,
2686         javax/swing/tree/TreeNode.java,
2687         javax/swing/tree/TreeSelectionModel.java,
2688         javax/swing/undo/StateEditable.java,
2689         javax/swing/undo/UndoableEdit.java:
2690         Removed redundant modifiers.
2691
2692 2003-10-12  Michael Koch  <konqueror@gmx.de>
2693
2694         * javax/swing/event/AncestorListener.java,
2695         javax/swing/event/CaretListener.java,
2696         javax/swing/event/CellEditorListener.java,
2697         javax/swing/event/ChangeListener.java,
2698         javax/swing/event/DocumentEvent.java,
2699         javax/swing/event/DocumentListener.java,
2700         javax/swing/event/HyperlinkListener.java,
2701         javax/swing/event/InternalFrameListener.java,
2702         javax/swing/event/ListDataListener.java,
2703         javax/swing/event/ListSelectionListener.java,
2704         javax/swing/event/MenuDragMouseListener.java,
2705         javax/swing/event/MenuKeyListener.java,
2706         javax/swing/event/MenuListener.java,
2707         javax/swing/event/MouseInputListener.java,
2708         javax/swing/event/PopupMenuListener.java,
2709         javax/swing/event/TableColumnModelListener.java,
2710         javax/swing/event/TableModelListener.java,
2711         javax/swing/event/TreeExpansionListener.java,
2712         javax/swing/event/TreeModelListener.java,
2713         javax/swing/event/TreeSelectionListener.java,
2714         javax/swing/event/TreeWillExpandListener.java,
2715         javax/swing/event/UndoableEditListener.java,
2716         javax/swing/plaf/UIResource.java,
2717         javax/swing/plaf/metal/MetalLookAndFeel.java:
2718         Removed redundant modifiers.
2719
2720 2003-10-12  Michael Koch  <konqueror@gmx.de>
2721
2722         * javax/swing/Action.java,
2723         javax/swing/BoundedRangeModel.java,
2724         javax/swing/CellEditor.java,
2725         javax/swing/ComboBoxEditor.java,
2726         javax/swing/ComboBoxModel.java,
2727         javax/swing/DesktopManager.java,
2728         javax/swing/JComboBox.java,
2729         javax/swing/ListCellRenderer.java,
2730         javax/swing/ListSelectionModel.java,
2731         javax/swing/MenuElement.java,
2732         javax/swing/MutableComboBoxModel.java,
2733         javax/swing/Renderer.java,
2734         javax/swing/RootPaneContainer.java,
2735         javax/swing/ScrollPaneConstants.java,
2736         javax/swing/SingleSelectionModel.java,
2737         javax/swing/SpinnerModel.java,
2738         javax/swing/SwingConstants.java,
2739         javax/swing/UIDefaults.java,
2740         javax/swing/WindowConstants.java,
2741         javax/swing/border/Border.java,
2742         javax/swing/colorchooser/ColorSelectionModel.java:
2743         Removed redundant modifiers.
2744
2745 2003-10-11  Michael Koch  <konqueror@gmx.de>
2746
2747         * javax/transaction/Status.java,
2748         javax/transaction/Synchronization.java,
2749         javax/transaction/Transaction.java,
2750         javax/transaction/TransactionManager.java,
2751         javax/transaction/UserTransaction.java,
2752         javax/transaction/xa/XAResource.java,
2753         javax/transaction/xa/Xid.java:
2754         Removing redundant modifiers.
2755
2756 2003-10-11  Michael Koch  <konqueror@gmx.de>
2757
2758         * javax/print/attribute/Attribute.java,
2759         javax/print/attribute/AttributeSet.java,
2760         javax/print/attribute/PrintRequestAttributeSet.java:
2761         Removing redundant modifiers.
2762
2763 2003-10-11  Michael Koch  <konqueror@gmx.de>
2764
2765         * javax/sql/ConnectionEventListener.java,
2766         javax/sql/ConnectionPoolDataSource.java,
2767         javax/sql/DataSource.java,
2768         javax/sql/PooledConnection.java,
2769         javax/sql/RowSet.java,
2770         javax/sql/RowSetInternal.java,
2771         javax/sql/RowSetListener.java,
2772         javax/sql/RowSetMetaData.java,
2773         javax/sql/RowSetReader.java,
2774         javax/sql/RowSetWriter.java,
2775         javax/sql/XAConnection.java,
2776         javax/sql/XADataSource.java:
2777         Removing redundant modifiers.
2778
2779 2003-10-11  Michael Koch  <konqueror@gmx.de>
2780
2781         * javax/naming/Context.java,
2782         javax/naming/Name.java,
2783         javax/naming/NameParser.java,
2784         javax/naming/NamingEnumeration.java,
2785         javax/naming/Referenceable.java,
2786         javax/naming/directory/Attribute.java,
2787         javax/naming/directory/Attributes.java,
2788         javax/naming/directory/DirContext.java,
2789         javax/naming/event/EventContext.java,
2790         javax/naming/event/EventDirContext.java,
2791         javax/naming/event/NamespaceChangeListener.java,
2792         javax/naming/event/NamingListener.java,
2793         javax/naming/event/ObjectChangeListener.java,
2794         javax/naming/ldap/Control.java,
2795         javax/naming/ldap/ExtendedRequest.java,
2796         javax/naming/ldap/ExtendedResponse.java,
2797         javax/naming/ldap/HasControls.java,
2798         javax/naming/ldap/LdapContext.java,
2799         javax/naming/ldap/UnsolicitedNotification.java,
2800         javax/naming/ldap/UnsolicitedNotificationListener.java,
2801         javax/naming/spi/DirObjectFactory.java,
2802         javax/naming/spi/DirStateFactory.java,
2803         javax/naming/spi/InitialContextFactory.java,
2804         javax/naming/spi/InitialContextFactoryBuilder.java,
2805         javax/naming/spi/ObjectFactory.java,
2806         javax/naming/spi/ObjectFactoryBuilder.java,
2807         javax/naming/spi/Resolver.java,
2808         javax/naming/spi/StateFactory.java:
2809         Removing redundant modifiers.
2810
2811 2003-10-11  Michael Koch  <konqueror@gmx.de>
2812
2813         * java/security/Key.java,
2814         * java/security/PrivateKey.java,
2815         * java/security/PublicKey.java,
2816         * java/security/acl/Acl.java,
2817         * java/security/acl/AclEntry.java,
2818         * java/security/acl/Group.java,
2819         * java/security/acl/Owner.java,
2820         * java/security/acl/Permission.java,
2821         * java/security/cert/X509Extension.java,
2822         * java/security/interfaces/DSAKey.java,
2823         * java/security/interfaces/DSAKeyPairGenerator.java,
2824         * java/security/interfaces/DSAParams.java,
2825         * java/security/interfaces/DSAPrivateKey.java,
2826         * java/security/interfaces/DSAPublicKey.java,
2827         * java/security/interfaces/RSAKey.java,
2828         * java/security/interfaces/RSAPrivateCrtKey.java,
2829         * java/security/interfaces/RSAPrivateKey.java,
2830         * java/security/interfaces/RSAPublicKey.java:
2831         Removed redundant modifiers.
2832
2833 2003-10-11  Michael Koch  <konqueror@gmx.de>
2834
2835         * gnu/java/rmi/server/ProtocolConstants.java,
2836         gnu/java/security/der/DER.java:
2837         Removing redundant modifiers.
2838
2839 2003-10-11  Michael Koch  <konqueror@gmx.de>
2840
2841         * java/util/Map.java,
2842         java/util/Observer.java,
2843         java/util/zip/Checksum.java,
2844         java/util/zip/ZipConstants.java:
2845         Removed redundant modifiers.
2846
2847 2003-10-11  Michael Koch  <konqueror@gmx.de>
2848
2849         * java/text/AttributedCharacterIterator.java,
2850         java/text/CharacterIterator.java:
2851         Removed redundant modifiers.
2852
2853 2003-10-11  Michael Koch  <konqueror@gmx.de>
2854
2855         * java/sql/Array.java,
2856         java/sql/Blob.java,
2857         java/sql/CallableStatement.java,
2858         java/sql/Clob.java,
2859         java/sql/Connection.java,
2860         java/sql/DatabaseMetaData.java,
2861         java/sql/Driver.java,
2862         java/sql/ParameterMetaData.java,
2863         java/sql/PreparedStatement.java,
2864         java/sql/Ref.java,
2865         java/sql/ResultSet.java,
2866         java/sql/ResultSetMetaData.java,
2867         java/sql/SQLData.java,
2868         java/sql/SQLInput.java,
2869         java/sql/SQLOutput.java,
2870         java/sql/Savepoint.java,
2871         java/sql/Statement.java,
2872         java/sql/Struct.java:
2873         Removed redundant modifiers.
2874
2875 2003-10-11  Michael Koch  <konqueror@gmx.de>
2876
2877         * java/nio/channels/Channel.java,
2878         java/nio/channels/GatheringByteChannel.java,
2879         java/nio/channels/ReadableByteChannel.java,
2880         java/nio/channels/ScatteringByteChannel.java,
2881         java/nio/channels/WritableByteChannel.java:
2882         Removed redundant modifiers.
2883
2884 2003-10-11  Michael Koch  <konqueror@gmx.de>
2885
2886         * java/rmi/activation/ActivationInstantiator.java,
2887         java/rmi/activation/ActivationMonitor.java,
2888         java/rmi/activation/ActivationSystem.java,
2889         java/rmi/activation/Activator.java,
2890         java/rmi/dgc/DGC.java,
2891         java/rmi/registry/Registry.java,
2892         java/rmi/registry/RegistryHandler.java,
2893         java/rmi/server/LoaderHandler.java,
2894         java/rmi/server/RMIClientSocketFactory.java,
2895         java/rmi/server/RMIFailureHandler.java,
2896         java/rmi/server/RMIServerSocketFactory.java,
2897         java/rmi/server/RemoteCall.java,
2898         java/rmi/server/RemoteRef.java,
2899         java/rmi/server/ServerRef.java,
2900         java/rmi/server/Skeleton.java,
2901         java/rmi/server/Unreferenced.java:
2902         Removed redundant modifiers.
2903
2904 2003-10-11  Michael Koch  <konqueror@gmx.de>
2905
2906         * java/net/ContentHandlerFactory.java,
2907         java/net/DatagramSocketImplFactory.java,
2908         java/net/FileNameMap.java,
2909         java/net/SocketImplFactory.java,
2910         java/net/SocketOptions.java,
2911         java/net/URLStreamHandlerFactory.java:
2912         Removed redundant modifiers.
2913
2914 2003-10-11  Michael Koch  <konqueror@gmx.de>
2915
2916         * java/io/Externalizable.java,
2917         java/io/FileFilter.java,
2918         java/io/FilePermission.java,
2919         java/io/ObjectInput.java,
2920         java/io/ObjectInputValidation.java,
2921         java/io/ObjectOutput.java,
2922         java/io/ObjectStreamClass.java,
2923         java/io/ObjectStreamConstants.java,
2924         java/io/Serializable.java:
2925         Removed redundant modifiers.
2926
2927 2003-10-11  Ingo Proetel  <proetel@aicas.com>
2928
2929         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
2930         codebase and context classloader.
2931
2932 2003-10-11  Michael Koch  <konqueror@gmx.de>
2933
2934         * java/beans/beancontext/BeanContext.java,
2935         java/beans/beancontext/BeanContextChild.java,
2936         java/beans/beancontext/BeanContextChildComponentProxy.java,
2937         java/beans/beancontext/BeanContextChildSupport.java,
2938         java/beans/beancontext/BeanContextContainerProxy.java,
2939         java/beans/beancontext/BeanContextMembershipListener.java,
2940         java/beans/beancontext/BeanContextProxy.java,
2941         java/beans/beancontext/BeanContextServiceProvider.java,
2942         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
2943         java/beans/beancontext/BeanContextServiceRevokedListener.java,
2944         java/beans/beancontext/BeanContextServices.java,
2945         java/beans/beancontext/BeanContextServicesListener.java:
2946         Removed redundant modifiers.
2947
2948 2003-10-11  Michael Koch  <konqueror@gmx.de>
2949
2950         * java/beans/AppletInitializer.java,
2951         java/beans/BeanInfo.java,
2952         java/beans/Customizer.java,
2953         java/beans/DesignMode.java,
2954         java/beans/PropertyEditor.java,
2955         java/beans/Visibility.java:
2956         Removed redundant modifiers.
2957
2958 2003-10-11  Michael Koch  <konqueror@gmx.de>
2959
2960         * java/awt/print/Pageable.java,
2961         * java/awt/print/Printable.java,
2962         java/awt/print/PrinterGraphics.java:
2963         Removed redundant modifiers.
2964
2965 2003-10-11  Michael Koch  <konqueror@gmx.de>
2966
2967         * java/awt/peer/ButtonPeer.java,
2968         java/awt/peer/CheckboxMenuItemPeer.java,
2969         java/awt/peer/CheckboxPeer.java,
2970         java/awt/peer/ChoicePeer.java,
2971         java/awt/peer/ComponentPeer.java,
2972         java/awt/peer/ContainerPeer.java,
2973         java/awt/peer/DialogPeer.java,
2974         java/awt/peer/FileDialogPeer.java,
2975         java/awt/peer/FramePeer.java,
2976         java/awt/peer/LabelPeer.java,
2977         java/awt/peer/ListPeer.java,
2978         java/awt/peer/MenuBarPeer.java,
2979         java/awt/peer/MenuComponentPeer.java,
2980         java/awt/peer/MenuItemPeer.java,
2981         java/awt/peer/MenuPeer.java,
2982         java/awt/peer/PopupMenuPeer.java,
2983         java/awt/peer/RobotPeer.java,
2984         java/awt/peer/ScrollPanePeer.java,
2985         java/awt/peer/ScrollbarPeer.java,
2986         java/awt/peer/TextAreaPeer.java,
2987         java/awt/peer/TextComponentPeer.java,
2988         java/awt/peer/TextFieldPeer.java,
2989         java/awt/peer/WindowPeer.java:
2990         Removed redundant modifiers.
2991
2992 2003-10-11  Michael Koch  <konqueror@gmx.de>
2993
2994         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
2995         * gnu/java/nio/ServerSocketChannelImpl.java
2996         (serverSocket): Made it a NIOServerSocket.
2997         (impl): Removed.
2998         (ServerSocketChannelImpl): Initialize only serverSocket.
2999         (initServerSocket): Removed.
3000         (getNativeFD): Rewritten.
3001         (implConfigureBlocking): Set socket timeout and removed comment.
3002         (accept): Rewritten.
3003         * gnu/java/nio/SocketChannelImpl.java
3004         (impl): New variable.
3005         (connected): Removed.
3006         (SocketChannelImpl): Initialize impl too.
3007         (getImpl): New method.
3008         (isConnected): Rewritten.
3009         (read): Rewritten, set position in buffer correctly.
3010         (write): Set position in buffer correctly.
3011         * java/net/ServerSocket.java (getImpl): New method.
3012         * gnu/java/nio/NIOServerSocket.java,
3013         gnu/java/nio/natNIOServerSocket.cc: New files.
3014         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3015         * Makefile.am
3016         (ordinary_java_source_files):
3017         Added gnu/java/nio/NIOServerSocket.java.
3018         (nat_source_files):
3019         Removed gnu/java/nio/natServerSocketChannelImpl.cc
3020         and added gnu/java/nio/natNIOServerSocket.cc.
3021         * Makefile.in: Regenerated.
3022
3023 2003-10-11  Michael Koch  <konqueror@gmx.de>
3024
3025         * java/awt/ActiveEvent.java,
3026         java/awt/datatransfer/ClipboardOwner.java,
3027         java/awt/datatransfer/FlavorMap.java,
3028         java/awt/datatransfer/Transferable.java,
3029         java/awt/dnd/Autoscroll.java,
3030         java/awt/dnd/peer/DragSourceContextPeer.java,
3031         java/awt/dnd/peer/DropTargetContextPeer.java,
3032         java/awt/dnd/peer/DropTargetPeer.java,
3033         java/awt/font/MultipleMaster.java,
3034         java/awt/font/OpenType.java,
3035         java/awt/im/spi/InputMethodDescriptor.java,
3036         java/awt/image/ImageObserver.java,
3037         java/awt/image/ImageConsumer.java,
3038         java/awt/image/ImageProducer.java,
3039         java/awt/image/RGBImageFilter.java,
3040         java/awt/image/RasterOp.java,
3041         java/awt/image/renderable/RenderableImage.java:
3042         Removed redundant modifiers.
3043
3044 2003-10-11  Michael Koch  <konqueror@gmx.de>
3045
3046         * gnu/awt/j2d/DirectRasterGraphics.java,
3047         gnu/java/awt/EmbeddedWindowSupport.java:
3048         Removed redundant modifiers.
3049
3050 2003-10-09  Michael Koch  <konqueror@gmx.de>
3051
3052         * gnu/java/nio/SelectorImpl.java (register):
3053         Use ServerSocketChannelSelectionKey for server socket channels,
3054         removed unneeded comments.
3055         * gnu/java/nio/ServerSocketChannelImpl.java
3056         (ServerSocketChannelImpl): Made class public final.
3057         (impl): New member variable.
3058         (ServerSocketChannelImpl): Initialize member variables correctly.
3059         (initServerSocket): New method.
3060         (getNativeFD): Likewise.
3061         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
3062         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
3063         * Makefile.am (ordinary_java_source_files):
3064         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
3065         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
3066         * Makefile.in: Regenrated.
3067
3068 2003-10-09  Michael Koch  <konqueror@gmx.de>
3069
3070         * java/nio/channels/spi/AbstractSelectableChannel.java
3071         (registered): Made private.
3072         (blocking): Likewise.
3073         (LOCK): Likewise.
3074         (provider): Likewise.
3075         (keys): Made it a private LinkedList.
3076         (AbstractSelectableChannel): Initialize keys.
3077         (isRegistered): New implementation.
3078         (locate): Rewritten.
3079         (register): Rewritten.
3080         * java/nio/channels/spi/AbstractSelectionKey.java
3081         (ok): Removed.
3082         (cancelled): New member variable.
3083         (cancel): Rewritten.
3084         (isValid): Rewritten.
3085         * java/nio/channels/spi/AbstractSelector.java:
3086         Some methods moved.
3087         (closed): Make private.
3088         (provider): Likewise.
3089         (cancelledKeys): New member variable.
3090         (AbstractSelector): Initialize cancelledKeys.
3091         (cancelKey): New method.
3092
3093 2003-10-09  Tom Tromey  <tromey@redhat.com>
3094
3095         * java/lang/ClassLoader.java (setSigners): Implemented.
3096         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
3097         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
3098         Initialize new fields.
3099         * java/lang/Class.java (getSigners): Now native.
3100         (setSigners): Declare.
3101         * java/lang/natClass.cc (getSigners): New method.
3102         (getSigners): Likewise.
3103         * java/lang/Class.h (Class::signers): New field.
3104         (Class::setSigners): New method.
3105
3106 2003-10-09  Michael Koch  <konqueror@gmx.de>
3107
3108         * java/rmi/server/RMIClassLoader.java:
3109         Removed unused imports, little reformatings.
3110         (getClassLoader): New method, implementation was part of old loadCLass
3111         method.
3112         (loadClass): Simplified by moving functionality to new method and
3113         reworking the code a bit.
3114         (getClassAnnotation): Merged documentation from classpath.
3115
3116 2003-10-09  Michael Koch  <konqueror@gmx.de>
3117
3118         * java/math/BigInteger.java
3119         (add): Removed unused local variable len.
3120
3121 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3122
3123         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
3124         modality check.
3125         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3126         Initialize insets to use latest insets.
3127         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
3128         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
3129         field.
3130         (postConfigureEvent): Update latestInsets field when insets
3131         change.  Remove call to setSize.  Move validate call outside of
3132         if blocks.
3133         (setVisible): Call setBounds before showing window.
3134         (nativeSetVisible): New native method.
3135         * java/awt/Window.java (show): Show visible owned windows.
3136         (hide): Hide visible owned windows.
3137         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3138         (awt_event_handler): Implement modality using GTK grabs.
3139         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3140         (global_gtk_window_group): New global variable.
3141         (gtkInit): Initialize global_gtk_window_group.
3142         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3143         Clamp width and height values to at least 1.  Add this window to
3144         the global GTK window group.
3145         (setVisible): Rename to nativeSetVisible.
3146         (setup_window): Remove function.
3147         (setSize): Clamp width and height values to at least 1.
3148         (nativeSetBounds): Likewise.
3149         (gdk_window_get_root_geometry): Remove function.
3150         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
3151         and setup_window declarations.  Declare global_gtk_window_group.
3152
3153         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3154         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3155         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3156         (gtkWidgetSetForeground): New method.
3157         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3158         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3159         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
3160         (setBackground, setForeground): Implement.
3161         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3162         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3163         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3164         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3165         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3166         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3167         Position PangoLayout relative to text's baseline.
3168         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
3169
3170         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
3171         for CENTER and RIGHT alignments.
3172
3173 2003-10-08  Michael Koch  <konqueror@gmx.de>
3174
3175         * java/security/Security.java: Reformated.
3176
3177 2003-10-08  Michael Koch  <konqueror@gmx.de>
3178
3179         * java/text/SimpleDateFormat.java
3180         (compileFormat): Replace Character.isLetter() test with
3181         Character.isLowerCase() || Character.isUpperCase().
3182
3183 2003-10-08  Tom Tromey  <tromey@redhat.com>
3184
3185         * java/lang/StrictMath.java (toDegrees): Multiply before
3186         dividing.
3187         (toRadians): Likewise.
3188
3189 2003-10-08  C. Brian Jones  <cbj@gnu.org>
3190
3191         * java/lang/Math.java
3192         (toRadians): multiply before dividing to reduce decimal error
3193         (toDegrees): ditto
3194
3195 2003-10-08  Michael Koch  <konqueror@gmx.de>
3196
3197         * gnu/gcj/protocol/core/Connection.java,
3198         gnu/gcj/protocol/core/CoreInputStream.java,
3199         gnu/gcj/protocol/core/Handler.java,
3200         gnu/gcj/protocol/core/natCoreInputStream.cc,
3201         gnu/gcj/protocol/file/Connection.java,
3202         gnu/gcj/protocol/file/Handler.java,
3203         gnu/gcj/protocol/gcjlib/Connection.java,
3204         gnu/gcj/protocol/gcjlib/Handler.java,
3205         gnu/gcj/protocol/http/Connection.java,
3206         gnu/gcj/protocol/http/Handler.java,
3207         gnu/gcj/protocol/jar/Connection.java,
3208         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
3209         * gnu/java/net/protocol/core/Connection.java,
3210         gnu/java/net/protocol/core/CoreInputStream.java,
3211         gnu/java/net/protocol/core/Handler.java,
3212         gnu/java/net/protocol/core/natCoreInputStream.cc,
3213         gnu/java/net/protocol/file/Connection.java,
3214         gnu/java/net/protocol/file/Handler.java,
3215         gnu/java/net/protocol/gcjlib/Connection.java,
3216         gnu/java/net/protocol/gcjlib/Handler.java,
3217         gnu/java/net/protocol/http/Connection.java,
3218         gnu/java/net/protocol/http/Handler.java,
3219         gnu/java/net/protocol/jar/Connection.java,
3220         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
3221         * gnu/gcj/runtime/FirstThread.java,
3222         java/net/URL.java: Use moved protocol handlers.
3223         * Makefile.am
3224         (ordinary_java_source_files): Moved files.
3225         (nat_source_files): Likewise.
3226         * Makefile.in: Regenerated.
3227
3228 2003-10-08  Michael Koch  <konqueror@gmx.de>
3229
3230         * gnu/java/nio/SocketChannelImpl.java
3231         (read): Write only read data to buffer.
3232
3233 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3234
3235         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
3236         out.
3237         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
3238         (JCL_free): Attach "unused" attribute to env parameter.
3239         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
3240         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
3241         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3242         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
3243         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3244         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3245         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
3246         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
3247         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
3248         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3249         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
3250         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3251         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
3252         parameters.
3253         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
3254         (initNativeState): Pass 0 as info argument to
3255         gtk_selection_add_target.
3256         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3257         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
3258         unused method implementations.
3259         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3260         (awt_event_handler): Add break statement after default label.
3261         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
3262         (drawPixels): Remove unused variable i.
3263         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3264         (setEnabled): Remove method implementation.
3265         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3266         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
3267         argument.
3268         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
3269         unused function.
3270         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3271         (menu_pos): Assign TRUE to push_in.
3272         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
3273         argument.
3274         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
3275         (create): Remove unused variable layout.
3276         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3277         Pass window_widget, rather than window, to
3278         gtk_widget_set_size_request.
3279         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
3280         structure initialization with NULL values.
3281         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
3282
3283 2003-10-08  Michael Koch  <konqueror@gmx.de>
3284
3285         * java/util/LinkedList.java:
3286         Removed whitespace to match classpath's version again.
3287
3288 2003-10-08  Michael Koch  <konqueror@gmx.de>
3289
3290         * java/util/prefs/Preferences.java
3291         (defaultFactoryClass): Fixed class name.
3292         (getFactory): Create instance of class returned by Class.forName(),
3293         reformated code.
3294
3295 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
3296
3297         * javax/swing/table/AbstractTableModel.java
3298         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
3299         helped stop pulling my hair on this +1 then -1 tricky thing!
3300
3301 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
3302
3303         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
3304         Remove unused parameters.
3305         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
3306         Likewise.
3307         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3308         (keyevent_state_to_awt_mods): Export function.
3309         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3310         (getCaretPosition): Fix TextArea case.
3311         (textcomponent_commit_cb): Get exact event time and modifier
3312         state.
3313         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
3314
3315 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
3316
3317         * java/net/InetSocketAddress.java
3318         (InetSocketAddress): Made exception more clear.
3319         (equals): Handle case when addr is null.
3320         (toString): Likewise.
3321         * java/net/NetworkInterface.java
3322         (static): Load native library.
3323         (getNetworkInterfaces): Rewritten.
3324
3325 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3326
3327         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
3328         field.
3329         (initializeInsets): New method.
3330         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
3331         setBounds unconditionally.
3332         (setBounds): Convert coordinates if parent is a Window.
3333         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
3334         field to GtkComponentPeer.
3335         (GtkContainerPeer): Don't initialize insets.
3336         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3337         New method.
3338         (create): Call new GtkWindowPeer create method.
3339         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
3340         New method.
3341         (create): Call new GtkWindowPeer create method.
3342         (setBounds): Remove method.
3343         (postConfigureEvent): Likewise.
3344         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
3345         type constants with GDK window type constants.
3346         (create(int,boolean,int,int,GtkWindowPeer)): New method.
3347         (create(int,boolean)): Likewise.
3348         (create()): Call create(int,boolean).
3349         (nativeSetBounds): New native method declaration.
3350         (setBounds): Call native method declaration.
3351         (setSize): New native method declaration.
3352         (setBoundsCallback): Likewise.
3353         (postConfigureEvent): Handle change in insets.  Call setSize and
3354         setBoundsCallback methods.
3355         * java/awt/Window.java (Window): Set visible to false.
3356         (setBoundsCallback): New method.
3357         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3358         (gtkWidgetGetLocationOnScreen): If this component is not a
3359         container, adjust the location returned based on the peer's
3360         allocation.
3361         (set(String,boolean)): Revert change from 2003-09-19.
3362         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3363         (awt_event_handler): Fix inset calculation.
3364         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
3365         glue for Window.setBoundsCallback.
3366         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3367         Set up stacking order, window decorations and window manager
3368         hints.
3369         (setBoundsCallback): New method.
3370         (setSize): New method.
3371         (nativeSetBounds): New method.
3372         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
3373
3374 2003-10-02  Tom Tromey  <tromey@redhat.com>
3375
3376         * java/lang/VMClassLoader.java (loadClass): Now native.
3377         * java/lang/natClassLoader.cc (loadClass): Implement.
3378         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
3379
3380 2003-10-02  Michael Koch  <konqueror@gmx.de>
3381
3382         * java/net/InetAddress.java
3383         (zeros): Removed.
3384         (ANY_IF): Initalizie in static block.
3385         (static): Load library with native methods here and initialize ANY_IF.
3386         (isAnyLocalAddress): Check if equal to ANY_IF.
3387         (equals): Use addr directly instead of addr1. Simplify for loop.
3388         (toString): Rename "result" to "host" and add IP address allways.
3389         (getLocalHost): Merged documentation from classpath.
3390         * java/net/ServerSocket.java
3391         (ServerSocket): New package-private constructor used by java.nio.
3392         * java/net/URLConnection.java
3393         (getRequestProperties): Check if already connected.
3394
3395 2003-10-02  Michael Koch  <konqueror@gmx.de>
3396
3397         * java/nio/ByteBufferHelper.java:
3398         Rewrote all methods by suggestions from Eric Blake.
3399
3400 2003-10-02  Michael Koch  <konqueror@gmx.de>
3401
3402         * java/net/URL.java
3403         (DEFAULT_SEARCH_PATH): New static variable.
3404         (ph_cache): Made it a HashMap.
3405         (getURLStreamHandler): Rename propVal to ph_search_path and use
3406         DEFAULT_SEARCH_PATH.
3407
3408 2003-10-02  Michael Koch  <konqueror@gmx.de>
3409
3410         * javax/swing/table/AbstractTableModel.java
3411         (findColumnName): Prevent from NullPointerException if argument
3412         columnName is null.
3413
3414 2003-10-02  Michael Koch  <konqueror@gmx.de>
3415
3416         * javax/swing/table/AbstractTableModel.java:
3417         This patch is based on a patch done by Arnaud Vandyck
3418         <arnaud.vandyck@ulg.ac.be>.
3419         (getColumnName): Fixed method documentation.
3420         (findColumn): Likewise.
3421         (getColumnClass): Likewise.
3422         (isCellEditable): Likewise.
3423         (setValueAt): Likewise.
3424         (addTableModelListener): Likewise.
3425         (removeTableModelListener): Likewise.
3426         (getTableModelListeners): New method.
3427
3428 2003-10-02  Michael Koch  <konqueror@gmx.de>
3429
3430         * javax/swing/table/AbstractTableModel.java:
3431         Reformated.
3432
3433 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
3434
3435         Fix PR libgcj/12475
3436         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
3437         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
3438
3439 2003-10-01  Tom Tromey  <tromey@redhat.com>
3440
3441         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
3442
3443 2003-10-01  Andrew Haley  <aph@redhat.com>
3444
3445         * java/lang/natClass.cc (initializeClass): Check for otable and
3446         atable.
3447         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
3448         loops using for().  Search superinterfaces.  Check for fields as
3449         well as methods.  Initialize atable as well as otable: check for
3450         static methods as well as virtual methods.
3451         * java/lang/Class.h (struct _Jv_AddressTable): New.
3452         (atable): New.
3453         (atable_syms): New.
3454         * include/jvm.h (_Jv_equalUtf8Consts): constify.
3455         * prims.cc (_Jv_equalUtf8Consts): constify.
3456
3457 2003-09-29  Tom Tromey  <tromey@redhat.com>
3458
3459         PR libgcj/10596:
3460         * include/jvm.h (_Jv_FinalizeString,
3461         _Jv_RegisterStringFinalizer): Declare.
3462         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
3463         unintern.
3464         (intern): Updated.
3465         (_Jv_NewStringUtf8Const): Likewise.
3466         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3467         Add special case when finalizing a String.
3468         (in_hash): New function.
3469         (_Jv_RegisterStringFinalizer): Likewise.
3470         (maybe_add_finalize): Likewise.
3471
3472 2003-09-29  Michael Koch  <konqueror@gmx.de>
3473
3474         * java/net/InetAddress.java:
3475         (isMulticastAddress): Dont use local variable to store address length.
3476         Let the compiler optimize this.
3477         (getHostName): Merged dcoumentation from classpath.
3478         (getAddress): Likewise.
3479         (getHostAddress): Likewise.
3480         (hashCode): Likewise.
3481         (equals): Likewise.
3482         (toString): Likewise.
3483         (getByName): Likewise.
3484         (getAllByName): Likewise.
3485
3486 2003-09-29  Michael Koch  <konqueror@gmx.de>
3487
3488         * java/awt/image/IndexColorModel.java: Reformated.
3489
3490 2003-09-29  Michael Koch  <konqueror@gmx.de>
3491
3492         * java/net/InetAddress.java,
3493         java/net/URL.java: Reformated.
3494
3495 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
3496
3497         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
3498         significant bit of descriptor. Include the vtable and sync_info 
3499         fields.
3500
3501 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3502
3503         * java/text/DateFormat.java (format): Throw IllegalArgumentException
3504         if `obj' is not a Number or Date instance.
3505         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
3506         instead of Vector.
3507
3508 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3509
3510         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
3511         Don't call setTimeZone on calendar.
3512
3513 2003-09-27  Michael Koch  <konqueror@gmx.de>
3514
3515         * java/net/URL.java (getURLStreamHandler): Compile fixes.
3516
3517 2003-09-27  Michael Koch  <konqueror@gmx.de>
3518
3519         * java/net/URL.java (getURLStreamHandler):
3520         Check if we have to use cache before trying to retrieve handler from
3521         cache. Rename facName to clsName to match classpath more. Reformated
3522         some little pieces.
3523
3524 2003-09-27  Michael Koch  <konqueror@gmx.de>
3525
3526         * gnu/java/nio/SelectionKeyImpl.java
3527         (ch): Make package-private again. Jikes found this bug.
3528         Jeff Sturm submitted PR12426 for this to bugzilla
3529         to fix this bug in gcj.
3530
3531 2003-09-26  Michael Koch  <konqueror@gmx.de>
3532
3533         * java/rmi/server/RMIClassLoader.java:
3534         Reformatted file, no functional code changes.
3535
3536 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
3537
3538         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
3539         Save space for some pixels at the buffer end.  Added Javadoc.
3540
3541 2003-09-26  Tom Tromey  <tromey@redhat.com>
3542
3543         * java/io/ObjectOutputStream.java (writeFields): Fixed
3544         indentation.
3545         (putFields): Likewise.
3546
3547 2003-09-26  Michael Koch  <konqueror@gmx.de>
3548
3549         * java/nio/ByteBufferHelper.java:
3550         Totally reworked with help from Eric Blake.
3551
3552 2003-09-26  Tom Tromey  <tromey@redhat.com>
3553
3554         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
3555         * java/awt/geom/PathIterator.java: Documentation fixes.
3556
3557 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
3558
3559         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
3560         (select): Likewise.
3561         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
3562
3563 2003-09-25  Michael Koch  <konqueror@gmx.de>
3564
3565         * gnu/java/nio/DatagramChannelImpl.java
3566         (getNativeFD): New method.
3567         * gnu/java/nio/SelectionKeyImpl.java
3568         (SelectionKeyImpl): Class made abstract.
3569         (fd): Removed.
3570         (SelectionKeyImpl): Remove fd argument.
3571         (getNativeFD): New method.
3572         * gnu/java/nio/SocketChannelImpl.java
3573         (getNativeFD): New method.
3574         gnu/java/nio/DatagramChannelSelectionKey.java,
3575         * gnu/java/nio/SocketChannelSelectionKey.java:
3576         New files.
3577         * Makefile.am (ordinary_java_source_files):
3578         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
3579         gnu/java/nio/SocketChannelSelectionKey.java.
3580         * Makefile.in: Regenerated.
3581
3582 2003-09-25  Michael Koch  <konqueror@gmx.de>
3583
3584         * java/lang/reflect/Proxy.java
3585         (getProxyClass): Remove workaround for gcj 3.0.x.
3586
3587 2003-09-25  Michael Koch  <konqueror@gmx.de>
3588
3589         * gnu/java/net/PlainDatagramSocketImpl.java
3590         (finalize): Moved to directly after constructor.
3591         (getNativeFD): New method.
3592         * gnu/java/net/PlainSocketImpl.java
3593         (getNativeFD): New method.
3594
3595 2003-09-25  Ingo Proetel  <proetel@aicas.com>
3596
3597         * java/io/ObjectOutputStream.java:
3598         Allow putFields be called more than once.
3599
3600 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
3601
3602         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
3603         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
3604         * java/awt/image/BufferedImage.java (toString): Implement.
3605
3606 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
3607
3608         * aclocal.m4: Rebuilt.
3609         * configure: Rebuilt.
3610
3611 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
3612
3613         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
3614         field.
3615
3616 2003-09-25  Michael Koch  <konqueror@gmx.de>
3617
3618         * gnu/java/nio/SelectorImpl.java
3619         (implSelect): Renamed from java_do_select.
3620         (select): Call native implSelect() and add support for Thread
3621         interruption.
3622         * gnu/java/nio/natSelectorImpl.cc
3623         (implSelect): Renamed from java_do_select.
3624
3625 2003-09-25  Michael Koch  <konqueror@gmx.de>
3626
3627         * gnu/java/nio/SelectorImpl.java
3628         (selectNow): Made final, throws IOException.
3629         (select): Likewise.
3630         (getFDsAsArray): Made final.
3631         (selectedKeys): Likewise.
3632         (wakeup): Likewise.
3633         (deregisterCancelledKeys): Likewise.
3634         (register): Likewise.
3635         (ass): Removed.
3636         (add_selected): Removed.
3637         * gnu/java/nio/natSelectorImpl.cc:
3638         No need to include bstring.h or gcj/cni.h.
3639         (helper_put_filedescriptors): Rewritten.
3640         (helper_get_filedescriptors): Rewritten.
3641
3642 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
3643
3644         * java/awt/font/FontRenderContext.java (getTransform): Return
3645         copy of internal transform object. Add Javadoc.
3646         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
3647         winding rule as Sun J2SE.
3648         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
3649
3650 2003-09-25  Ingo Proetel  <proetel@aicas.com>
3651
3652         * java/rmi/Naming.java:
3653         Added comments, now accepts pseudo protocol "rmi".
3654
3655 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
3656
3657         * java/text/DecimalFormat.java (format): Don't immediatly round
3658         baseNumber to long.
3659         (setMinimumIntegerDigits): Call super.
3660         (setMinimumFractionDigits): Likewise.
3661         (setMaximumIntegerDigits): Likewise.
3662         (setMaximumFractionDigits): Likewise.
3663
3664 2003-09-25  Michael Koch  <konqueror@gmx.de>
3665
3666         * gnu/java/nio/DatagramChannelImpl.java
3667         (DatagramChannelImpl): Made class final.
3668         (blocking): Made private.
3669         (socket): Made it a NIODatagramSocket and private.
3670         (DatagramChannelImpl): create NIODatagramSocket instead of
3671         DatagramSocket.
3672         (implConfigureBlocking): Set socket timeout.
3673         (connect): Check that channel is not closed.
3674         (write): Implemented.
3675         (write): Rewritten.
3676         (read): Implemented.
3677         (read): Rewritten.
3678         (receive): Implemented.
3679         (send): Implemented.
3680         * gnu/java/nio/SelectionKeyImpl.java
3681         (readyOps): Made private.
3682         (interestOps): Made private.
3683         (impl): Made private.
3684         (ch): Made private.
3685         (readyOps): Check if selection key is valid.
3686         (interestOps): Likewise.
3687         * gnu/java/nio/SelectorImpl.java
3688         (closed): Removed.
3689         (keys): Made private.
3690         (selected): Made private.
3691         (finalize): New method.
3692         (implCloseSelector): Rewritten.
3693         (keys): Return unmodifiable Set.
3694         (deregisterCancelledKeys): Fixed typo in method name.
3695         * gnu/java/nio/SocketChannelImpl.java
3696         (SocketChannelImpl): Made class final.
3697         (socket): Made it a NIOSocket and private.
3698         (blocking): Made private.
3699         (connected): Made private.
3700         (connectionPending): New member variable.
3701         (SocketChannelImpl): New implementation.
3702         (finalizer): Use isConnected().
3703         (connect): Rewritten.
3704         (finishConnect): Throws IOException, implemented.
3705         (isConnectionPending): Return connectionPending.
3706         (read): Rewritten.
3707         (write): Rewritten.
3708         * gnu/java/nio/NIOConstants.java: New file.
3709         * Makefile.am (ordinary_java_source_files):
3710         Added gnu/java/nio/NIOConstants.java.
3711         * Makefile.in: Regenerated.
3712
3713 2003-09-25  Michael Koch  <konqueror@gmx.de>
3714
3715         * java/net/InetAddress.java:
3716         Reorder imports, remove implementation comment.
3717         (isMulticastAddress): Merged documentation from classpath.
3718         * java/net/URLConnection.java
3719         (setRequestProperty): Check key for null, fix documentation.
3720         (adREquestProperty): Check key for null, remove wrong implementation
3721         and replace it with comment to overwrite this method in subclasses,
3722         fix documentation.
3723
3724 2003-09-25  Tom Tromey  <tromey@redhat.com>
3725
3726         * java/lang/reflect/Proxy.java (generate): Uncomment protection
3727         domain code.
3728         * java/lang/natClassLoader.cc (defineClass): Added `loader'
3729         argument.
3730         (linkClass0): Now in VMClassLoader.
3731         (markClassErrorState0): Likewise.
3732         (getSystemClassLoaderInternal): New method.
3733         * java/lang/natClass.cc (initializeClass): Use
3734         VMClassLoader::resolveClass.
3735         * java/lang/ClassLoader.java: New version, from Classpath.
3736         * java/lang/Class.java (getProtectionDomain):
3737         protectionDomainPermission and unknownProtectionDomain now in
3738         VMClassLoader.
3739         * java/lang/Class.h: VMClassLoader now a friend class.
3740         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
3741         package-private.
3742         * gcj/javaprims.h: Regenerated class list.
3743         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
3744         * java/lang/VMClassLoader.java: New version from Classpath;
3745         modified for libgcj use.
3746
3747 2003-09-25  Michael Koch  <konqueror@gmx.de>
3748
3749         * java/nio/ByteBufferHelper.java:
3750         New file.
3751         * java/nio/ByteBufferImpl.java,
3752         java/nio/DirectByteBufferImpl.java,
3753         java/nio/MappedByteBufferImpl.java
3754         (getType,putType): Use new helper class ByteBufferHelper.
3755         * Makefile.am (ordinary_java_source_files):
3756         Added java/nio/ByteBufferHelper.java.
3757         * Makefile.in: Regenerated.
3758
3759 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
3760
3761         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
3762         PR libgcj/12388.
3763
3764 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3765
3766         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
3767         Strings, even if buffer is already shared.
3768
3769 2003-09-24  Michael Koch  <konqueror@gmx.de>
3770
3771         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
3772
3773 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3774
3775         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
3776         (write): Likewise.
3777         (SocketInputStream): Declare `read' and `write' methods native.
3778         Remove implementations which called back into PlainSocketImpl.
3779         Remove unneccessary overridden methods.
3780         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
3781         to inner class PlainSocketImpl.SocketInputStream.
3782         (write): Likewise.
3783         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
3784         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
3785         * gnu/java/net/SocketInputStream.java: Remove unused file.
3786         * gnu/java/net/SocketOutputStream.java: Likewise.
3787         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
3788         and SocketOutputStream.
3789         * Makefile.in: Rebuilt.
3790
3791 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
3792
3793         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
3794
3795         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
3796         markers.
3797
3798 2003-09-22  Anthony Green  <green@redhat.com>
3799
3800         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
3801         * configure: Rebuilt.
3802
3803 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
3804
3805         PR java/12350:
3806         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
3807
3808 2003-09-22  Michael Koch  <konqueror@gmx.de>
3809
3810         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
3811         compiler warning but produces a different one now.
3812
3813 2003-09-22  Michael Koch  <konqueror@gmx.de>
3814
3815         * java/net/InetAddress.java:
3816         Moves around some code, reformats and adds documentation.
3817         No functional changes.
3818
3819 2003-09-22  Michael Koch  <konqueror@gmx.de>
3820
3821         * java/net/JarURLConnection.java
3822         (JarURLConnection): Modifed code to match classpath more, fixed comment.
3823         (getCertificates): Made it more error prone.
3824         (getMainAttributes): Likewise.
3825         (getAttributes): Implemented.
3826         (getManifest): Reformatted code.
3827
3828 2003-09-20  Tom Tromey  <tromey@redhat.com>
3829
3830         * java/awt/Component.java: Indentation cleanup from Classpath.
3831
3832 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
3833
3834        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
3835        checking to follow 1.4.2 spec.
3836
3837 2003-08-11  Ingo Proetel  <proetel@aicas.com>
3838
3839         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
3840         is compatible in case client and server are running in the same VM
3841         (remerged from Classpath on 2003-09-20)
3842
3843 2003-09-19  David Daney <ddaney@avtrex.com>
3844
3845         * java/lang/ref/Reference.java (clear): Set referent to null and
3846         synchronize.
3847
3848 2003-09-19  Michael Koch  <konqueror@gmx.de>
3849
3850         * gnu/java/nio/NIODatagramSocket.java,
3851         gnu/java/nio/NIOSocket.java: New files.
3852         * Makefile.am (ordinary_java_source_files):
3853         Added gnu/java/nio/NIODatagramSocket.java and
3854         gnu/java/nio/NIOSocket.java.
3855         * Makefile.in: Regenerated.
3856
3857 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3858
3859         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
3860         top-level GTK window.
3861         (getArgs): Add "title" property.
3862         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
3863         "allow_shrink" and "allow_grow" properties.
3864         * java/awt/Dialog.java: Initialize resizable to true and change
3865         comments accordingly.  Initialize visible to false in
3866         constructors.
3867         * java/awt/Frame.java (dispose): Remove method.
3868         * java/awt/Window.java (ownedWindows): New field.
3869         (Window(Window,GraphicsConfiguration)): Add a weak reference to
3870         owner's ownedWindows vector.
3871         (finalize): Remove method.
3872         (hide): Hide owned windows.
3873         (dispose): Dispose of owned windows.
3874         (getOwnedWindows): Implement.
3875         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
3876         unused GtkArg code.
3877         (set(String,boolean)): Clamp gboolean parameter to g_object_set
3878         to TRUE or FALSE.
3879         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3880         (create): Set window's size requisition.
3881         (connectHooks): Fix indentation.
3882         (setResizable): Remove function.
3883         (static setBounds): Likewise.
3884         (setBounds): Replace call to setBounds with GTK size requisition
3885         and resize calls.
3886
3887 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
3888
3889         * win32-threads.cc: (ensure_interrupt_event_initialized) New
3890         function for lazy initialization of an auto-reset event.
3891         (_Jv_CondWait) Added thread interrupt support.
3892         (_Jv_ThreadInitData) Added initialization of interrupt support
3893         members.
3894         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
3895         (_Jv_ThreadStart) Removed unused code.
3896         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
3897         to an external caller.
3898         (_Jv_ThreadInterrupt) Implemented.
3899         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
3900         event for interrupt support as well as a mutex which regulates
3901         access to this.
3902         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
3903         event to an external caller.
3904         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
3905         process.
3906         (waitFor) Added interrupt support.
3907
3908 2003-09-19  Michael Koch  <konqueror@gmx.de>
3909
3910         * java/net/DatagramSocket.java (getLocalAddress):
3911         Renamed result variable to localAddr.
3912         * java/net/MulticastSocket.java:
3913         No need to import gnu.java.net.PlainDatagramSocketImpl.
3914
3915 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
3916
3917         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
3918         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
3919
3920 2003-09-18  Tom Tromey  <tromey@redhat.com>
3921
3922         * javax/naming/InitialContext.java: Reindented.
3923
3924 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
3925             Helmer Kraemer <hkraemer@freenet.de>
3926
3927         * javax/naming/spi/NamingManager.java (getURLContext,
3928         getObjectInstance, getStateToBind): Always use current thread's
3929         context class loader when calling Class.forName.
3930
3931 2003-09-18  Michael Koch  <konqueror@gmx.de>
3932
3933         * java/util/Timer.java (finalize): Added "throws Throwable".
3934
3935 2003-09-18  Michael Koch  <konqueror@gmx.de>
3936
3937         * java/net/DatagramSocket.java
3938         (ch): Removed.
3939         (receive): Use getChannel() instead of ch.
3940         (send): Likewise.
3941         (getChannel): Return null.
3942         * java/net/ServerSocket.java
3943         (ch): Removed.
3944         (setChannel): Removed.
3945         (implAccept): Use getChannel() instead of ch.
3946         (close): Likewise.
3947         (getChannel): Return null.
3948         * java/net/Socket.java
3949         (ch): Removed.
3950         (connect): Use getChannel() instead of ch.
3951         (setChannel): Removed.
3952         (getChannel): Return null.
3953
3954 2003-09-18  Mark Wielaard  <mark@klomp.org>
3955
3956         Reported by Guilhem Lavaux and Julian Dolby
3957         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
3958         field "serialPersistentFields", not "getSerialPersistentFields".
3959
3960 2003-09-18  Ingo Proetel  <proetel@aicas.com>
3961
3962         * java/util/TimeZone.java: Initialize lazily.
3963         * java/util/Locale.java (readManifest): Fix check for country.
3964         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
3965         traceable 
3966         * java/util/Calendar.java: Make use of ResourceBundle better
3967         traceable.
3968
3969 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
3970
3971         * java/sql/Timestamp.java
3972         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
3973
3974 2003-09-18  David P Grove  <groved@us.ibm.com>
3975
3976         * java/io/LineNumberReader (read): Don't reset pos & limit when
3977         markPos is 0.
3978
3979 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
3980
3981         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
3982         constant.
3983         (computeArguments): use computeTypicalArguments.
3984
3985         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
3986         Compile_jikes.java and RMICException.java.
3987         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
3988         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
3989         * gnu/java/rmi/rmic/RMICException.java: Likewise.
3990  
3991         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
3992  
3993         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
3994         (computeTypicalArguments): New method.
3995         (compile): Print compiler output to System.out. Collect compiler
3996         error output and use it in exception message.
3997  
3998         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
3999         (destination): Initialize to null.
4000         (run): Replace file separator with '.' when processing class.
4001         (processClass): Replace '.' with file separator when compiling
4002         classes.
4003         (findClass): Use SystemClassLoader to load class.
4004         (generateStub): Use full class name for generated stub, that puts
4005         it in right path.  Replace '.' with file separator when generating
4006         stub file name. Write just the stub class name without package
4007         information as class name, and constructor name. Write only
4008         interface names for interfaces extending java.rmi.Remote as
4009         implemented.
4010         (generateSkel): Use full class name for generated skel, that puts
4011         it in right path.  Replace '.' with file separator when generating
4012         stub file name. Write just the stub class name without package
4013         information as class name.
4014
4015 2003-09-18  Michael Koch  <konqueror@gmx.de>
4016
4017         * Makefile.am (rmi_java_source_files):
4018         Added gnu/java/rmi/rmic/Compile_kjc.java,
4019         gnu/java/rmi/rmic/Compile_jikes.java and
4020         gnu/java/rmi/rmic/RMICException.java
4021         * Makefile.in: Regenerated.
4022
4023 2003-09-17  Graydon Hoare  <graydon@redhat.com>
4024
4025         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4026         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4027         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
4028         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
4029         New files.
4030
4031 2003-09-16  Graydon Hoare  <graydon@redhat.com>
4032
4033         * java/awt/BufferedImage.java (setData): Support non-component
4034         sample models.
4035         (getData): Same.
4036
4037 2003-09-10  Graydon Hoare  <graydon@redhat.com>
4038
4039         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
4040         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
4041
4042 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
4043
4044         * configure.in: Standardized help text case of
4045         --enable-hash-synchronization
4046         New configure switch --enable-libgcj-multifile and corresponding
4047         automake conditional ONESTEP.
4048         * configure: Rebuilt.
4049         * Makefile.am: Use automake conditional ONESTEP to determine
4050         whether classfiles should be compiled individually or all
4051         at once.
4052         * Makefile.in: Rebuilt.
4053
4054 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
4055
4056         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
4057         Remove method declaration.
4058         (create()): Call native create.
4059         (create(int)): New method.
4060         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4061         (create): Add window_id parameter.  Call gtk_plug_new with
4062         window_id parameter.
4063         (construct): Remove method implementation.
4064
4065 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
4066
4067         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
4068         (mostlyclean-local): New target patterned after clean-local
4069         which recursively deletes all libtool objects using 'libtool rm'.
4070         (clean-local): Slightly modified comment to alleviate monotony.
4071         (distclean-local): New target patterned after clean-local
4072         which recursively deletes all .d files.
4073         * Makefile.in: Rebuilt.
4074
4075 2003-09-11  Tom Tromey  <tromey@redhat.com>
4076
4077         * java/net/URLStreamHandler.java (parseURL): If original file
4078         ends with "/", so must canonical result.
4079         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
4080         with nul-termination and finding previous "/".
4081
4082 2003-09-11  Michael Koch  <konqueror@gmx.de>
4083
4084         * acconfig.h: Removed most items.
4085         * configure.in: Added descriptions to AC_DEFINE macros that where in
4086         acconfig.h before.
4087         * include/config.h.in: Regenerated.
4088
4089 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
4090
4091         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
4092         if one is installed. Improve Javadoc.
4093         (getSystemEventQueueImpl): Improve Javadoc.
4094
4095 2003-09-11  Tom Tromey  <tromey@redhat.com>
4096
4097         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
4098         file does not exist.
4099
4100 2003-09-10  Anthony Green  <green@redhat.com>
4101
4102         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
4103         Specify full name when referencing ::java::net::InetAddress.
4104         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
4105         Fix argument type.
4106
4107 2003-09-10  Michael Koch  <konqueror@gmx.de>
4108
4109         * acconfig.h (__NO_MATH_INLINES): Removed.
4110         * configure.in: Removed check for g++ math inlining bug from 2000.
4111         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
4112         libgcj_cxxflags.
4113         * configure: Regenerated.
4114
4115 2003-09-10  David Daney <ddaney@avtrex.com>
4116
4117         * java/util/Arrays.java (equals(all variants)): Quit using
4118         NullPointerException catching to detect null valued parameters.
4119
4120 2003-09-10  Michael Koch  <konqueror@gmx.de>
4121
4122         * java/net/DatagramSocket.java,
4123         java/net/MulticastSocket.java,
4124         java/net/ServerSocket.java,
4125         java/net/Socket.java:
4126         Use gnu.java.net.Plain*SocketImpl instead of
4127         java.net.PlainSocketImpl.
4128         * java/net/PlainDatagramSocketImpl.java,
4129         java/net/PlainSocketImpl.java,
4130         java/net/SocketInputStream.java,
4131         java/net/SocketOutputStream.java,
4132         java/net/natPlainDatagramSocketImplNoNet.cc,
4133         java/net/natPlainDatagramSocketImplPosix.cc,
4134         java/net/natPlainDatagramSocketImplWin32.cc,
4135         java/net/natPlainSocketImplNoNet.cc,
4136         java/net/natPlainSocketImplPosix.cc,
4137         java/net/natPlainSocketImplWin32.cc:
4138         Removed.
4139         * gnu/java/net/PlainDatagramSocketImpl.java,
4140         gnu/java/net/PlainSocketImpl.java,
4141         gnu/java/net/SocketInputStream.java,
4142         gnu/java/net/SocketOutputStream.java,
4143         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
4144         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
4145         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
4146         gnu/java/net/natPlainSocketImplNoNet.cc,
4147         gnu/java/net/natPlainSocketImplPosix.cc,
4148         gnu/java/net/natPlainSocketImplWin32.cc:
4149         New files (moved from java/net).
4150         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
4151         instead of java/net/natPlain*SocketImpl.cc.
4152         * configure: Regenerated.
4153         * Makefile.am: Moved files from java/net to gnu/java/net.
4154         * Makefile.in: Regenerated.
4155
4156 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
4157
4158         * configure: Regenerate.
4159
4160 2003-09-04  Tom Tromey  <tromey@redhat.com>
4161
4162         * configure.host: Removed erroneous comment.
4163
4164         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
4165         lvalue cast; use correct rvalue cast.
4166
4167 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
4168
4169         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
4170         and height arguments to GtkWindowPeer.create method call.
4171         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4172         (create(int,int,int)): New method.
4173         (create(int)): Add call to new create method.
4174         (create()): Add width and height arguments to create method
4175         call.
4176         (GtkWindowPeer): Remove call to setBounds.
4177         * java/awt/Frame.java (Frame(String)): Initialize visible field
4178         to false.
4179         (Frame(GraphicsConfiguration)): Likewise.
4180         (Frame(String,GraphicsConfiguration)): Likewise.
4181         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4182         Add width and height parameters.  Call
4183         gtk_window_set_default_size.
4184         (connectHooks): Remove unused name variable.
4185         (static setBounds): Call gtk_window_resize not
4186         gtk_widget_set_usize.
4187         (setBounds): Remove unused nchildren variable.
4188
4189 2003-08-31  Ingo Proetel  <proetel@aicas.com>
4190
4191         * java/util/logging/Logger.java: provide class and method information
4192         * java/util/logging/LogManager.java: create handlers
4193         * java/util/logging/SimpleFormatter.java: print souceClassName and
4194         sourceMethodName
4195
4196 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4197
4198         * win32.cc: fixed tab, indentation and whitespace
4199         inconsistencies
4200         removed jvm.h include
4201         added includes java/lang/UnsupportedOperationException.h,
4202         java/io/IOException.h, java/net/SocketException.h
4203         (WSAEventWrapper): class implementation
4204         (_Jv_WinStrError): implemented both overloads
4205         (_Jv_ThrowIOException): implemented both overloads
4206         (_Jv_ThrowSocketException): implemented both overloads
4207         (_Jv_select): implemented
4208         * include/win32.h: fixed tab, indentation and whitespace
4209         inconsistencies
4210         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
4211         added jvm.h include
4212         (WSAEventWrapper): added class declaration
4213         (_Jv_WinStrError): added both overload declarations
4214         (_Jv_ThrowIOException): added both overload declarations
4215         (_Jv_ThrowSocketException): added both overload declarations
4216         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
4217         (_Jv_select): added declaration
4218         (_Jv_socket): removed
4219         (_Jv_connect): removed
4220         (_Jv_close): removed
4221         (_Jv_bind): removed
4222         (_Jv_accept): removed
4223         (_Jv_listen): removed
4224         (_Jv_write): removed
4225         (_Jv_read): removed
4226         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
4227         whitespace inconsistencies
4228         replaced <windows.h> #include with <platform.h>
4229         removed jvm.h include
4230         (testCanUseGetHandleInfo): new function which tests whether Win32
4231         GetHandleInformation() call can be used with console buffer handles
4232         (only supported on >=WinNT 5.0)
4233         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
4234         (valid): rewrote implementation using GetHandleInformation()
4235         (sync):         changed exception throwing to use error string and exception
4236         helper methods declared in include/win32.h
4237         (open): likewise
4238         (write): likewise
4239         (setLength): likewise
4240         (close): likewise
4241         (seek): likewise
4242         (getFilePointer): likewise
4243         (read): likewise
4244         * java/io/natFileWin32.cc: fixed tab, indentation and
4245         whitespace inconsistencies
4246         replaced <windows.h> #include with <platform.h>
4247         removed jvm.h include
4248         (_access): use JV_TEMP_UTF_STRING
4249         (_stat): likewise
4250         (performMkDir): use JV_TEMP_UTF_STRING
4251         (performRenameTo): likewise
4252         (performDelete): likewise
4253         (performCreate): likewise
4254         (performSetReadOnly): likewise
4255         (performSetLastModified): likewise
4256         * java/lang/natWin32Process.cc: fixed tab, indentation and
4257         whitespace inconsistencies
4258         replaced <windows.h> #include with <platform.h>
4259         removed includes gcj/cni.h, jvm.h
4260         (new_string): removed
4261         (startProcess): use JV_TEMP_UTF_STRING,
4262         changed exception throwing to use error string and exception
4263         helper methods declared in include/win32.h
4264         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
4265         whitespace inconsistencies
4266         replaced <windows.h> #include with <platform.h>
4267         removed jvm.h include
4268         removed DISABLE_JAVA_NET conditional code
4269         removed POSIX conditional code not relevant to Win32
4270         (aton): use JV_TEMP_UTF_STRING
4271         removed POSIX conditional code not relevant to Win32
4272         (lookup): likewise
4273         (getLocalHostName): likewise
4274         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
4275         whitespace inconsistencies
4276         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
4277         removed DISABLE_JAVA_NET conditional code
4278         removed POSIX conditional code not relevant to Win32
4279         (winsock2GetRealNetworkInterfaces): new function to compute network
4280         interfaces via Winsock2 API
4281         (determineGetRealNetworkInterfacesFN): new function for returning
4282         a function pointer to the function used to compute network interfaces.
4283         (getRealNetworkInterfaces): implemented
4284         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
4285         whitespace inconsistencies
4286         removed gcj/cni.h include
4287         removed DISABLE_JAVA_NET conditional code
4288         removed POSIX conditional code not relevant to Win32
4289         changed net POSIXisms to Win32isms
4290         replaced _Jv socket-related calls with their real Win32 equivalents
4291         changed exception throwing to use error string and exception
4292         helper methods declared in include/win32.h
4293         (peekData): implemented timeout support
4294         (receive): likewise
4295         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
4296         whitespace inconsistencies
4297         removed gcj/cni.h and gcj/javaprims.h includes
4298         removed DISABLE_JAVA_NET conditional code
4299         removed POSIX conditional code not relevant to Win32
4300         changed net POSIXisms to Win32isms
4301         replaced _Jv socket-related calls with their real Win32
4302         equivalents
4303         changed exception throwing to use error string and exception
4304         helper methods declared in include/win32.h
4305         (throwConnectException): helper function for connect()
4306         (connect): implemented timeout support
4307         (accept): likewise
4308         (doRead): new helper function common to both read() method overloads,
4309         includes timeout support
4310         (read): implemented both overloads in terms of doRead()
4311         (available): implemented using ioctlsocket()
4312
4313 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4314
4315         * java/net/natInetAddressWin32.cc,
4316         java/net/natNetworkInterfaceWin32.cc,
4317         java/net/natPlainDatagramSocketImplWin32.cc,
4318         java/net/natPlainSocketImplWin32.cc:
4319         Readded code enclosed in DISABLE_JAVA_NET defines
4320         in preparation for MinGW cleanup / networking
4321         patch
4322
4323 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4324
4325         * Makefile.am: Fixed problems with parallel makes.
4326         (all_java_class_files): Readded definition.
4327         (all_java_class_files): New target which depends on
4328         libgcj-@gcc_version@.jar
4329         * Makefile.in: Rebuilt
4330
4331 2003-08-28  Tom Tromey  <tromey@redhat.com>
4332
4333         * Makefile.in: Rebuilt.
4334         * Makefile.am (ordinary_java_source_files): Added new files.
4335         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
4336         friend.
4337         * java/net/URLClassLoader.java (findClass): Don't use
4338         findURLResource.  Use loader's getClass method.
4339         (URLLoader.getClass): New method.
4340         (addURL): Handle `gcjlib' URLs.
4341         (SoURLLoader): New class.
4342         (SoResource): Likewise.
4343         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
4344         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
4345         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
4346         (_Jv_RegisterCoreHook): Declare.
4347         (_Jv_FindCore): Declare.
4348         * gnu/gcj/runtime/SharedLibHelper.java: New file.
4349         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
4350         typedef.
4351         (core_hook): New function.
4352         (struct SharedLibDummy) [saved_core]: New field.
4353         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
4354         (register_hook): Set protection domain and class loader on new
4355         class.
4356         (finalize): Free core chain.
4357         * gnu/gcj/Core.java (Core): New constructor.
4358         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
4359         SharedLibHelper.
4360         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
4361         (_Jv_create_core): New function.
4362         (create): Use it.
4363         (default_register_resource): New function.
4364         (_Jv_RegisterCoreHook): New global.
4365         (_Jv_RegisterResource): Use it.
4366         (core_chain_struct): Removed.
4367         (_Jv_FindCore): New function.
4368         (_Jv_FreeCoreChain): New function.
4369
4370 2003-08-29  Michael Koch  <konqueror@gmx.de>
4371
4372         * java/net/natInetAddressWin32.cc,
4373         java/net/natNetworkInterfaceWin32.cc,
4374         java/net/natPlainDatagramSocketImplWin32.cc,
4375         java/net/natPlainSocketImplWin32.cc:
4376         Removed code enclosed in DISABLE_JAVA_NET defines.
4377
4378 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
4379
4380         * Makefile.am: (write_entries_to_file) New parameterized
4381         function for writing entries to a file one line at a time.
4382         (all_java_class_files): Removed definition.
4383         (.java.class) Removed.target.
4384         (libgcj-@gcc_version@.jar): Changed dependency to
4385         $(all_java_source_files); added compilation step which compiles
4386         all changed source files in one pass.
4387         (libgcj.la) Refactored to use write_entries_to_file.
4388         (lib-gnu-awt-xlib.la) Likewise.
4389         (install-data-local) Likewise.
4390         (write-entries-to-file-check) New target which tests write_entries_to_file.
4391         (all-recursive): Changed dependency from $(all_java_class_files)
4392         to libgcj-@gcc_version@.jar
4393         * Makefile.in: Rebuilt.
4394
4395 2003-08-26  Tom Tromey  <tromey@redhat.com>
4396
4397         * java/lang/StrictMath.java: Typo fix.
4398         * java/lang/Math.java: Typo fix.
4399
4400 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
4401
4402         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
4403         of the removed Thread.
4404
4405 2003-08-26  Mark Wielaard  <mark@klomp.org>
4406
4407         Reported by David Holmes <dholmes@dltech.com.au>.
4408         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
4409         Collections.synchronizedMap.
4410         * java/lang/ThreadLocal.java (valueMap): Likewise.
4411
4412 2003-08-26  Mark Wielaard  <mark@klomp.org>
4413
4414         * java/security/acl/Acl.java: Fix broken p tag.
4415         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
4416         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
4417         * javax/swing/plaf/TreeUI.java: Likewise.
4418         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
4419         * java/util/Properties.java: Use the word umlaut, not &auml; in api
4420         documentation.
4421         * java/util/PropertyResourceBundle.java: Likewise and add closing code
4422         tag.
4423
4424 2003-08-26  Tom Tromey  <tromey@redhat.com>
4425
4426         * Makefile.in: Rebuilt.
4427         * Makefile.am: Removed all GNU-make-specific FIXME comments.
4428
4429         * java/lang/ref/Reference.java (get): Indentation fix.
4430         (clear): Comment fix.
4431         (enqueue): Likewise.
4432         (lock): Likewise.
4433         (referent): Likewise.
4434
4435 2003-08-26  Tom Tromey  <tromey@redhat.com>
4436
4437         PR java/12058:
4438         * java/lang/reflect/natArray.cc (set): Allow null as argument.
4439
4440         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
4441         (ProxyData.getPackage): New method.
4442         (ProxyData.getProxyData): Use package name, not Package.
4443         (ClassFactory.ClassFactory): Updated.
4444
4445 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
4446         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
4447         * Makefile.in: re-generated.
4448         * gnu/awt/j2d/IntegerGraphicsState.java
4449         (ScreenCoupledImage): new interface.
4450         (drawImage): detect ScreenCoupledImage instances.
4451         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
4452         * gnu/awt/xlib/XEventLoop.java
4453         (createEvent): re-formatted, and rearranged to avoid null pointer.
4454         * gnu/awt/xlib/XGraphics.java
4455         (drawImage): added XOffScreenImage handling.
4456         * gnu/awt/xlib/XOffScreenImage.java: new file.
4457         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
4458         * gnu/gcj/xlib/GC.java (copyArea): new native method.
4459         * gnu/gcj/xlib/XAnyEvent.java
4460         (TYPE_KEY_PRESS): new constant.
4461         (TYPE_KEY_RELEASE): new constant.
4462         (TYPE_MOTION_NOTIFY): new constant.
4463         (TYPE_ENTER_NOTIFY): new constant.
4464         (TYPE_LEAVE_NOTIFY): new constant.
4465         (TYPE_FOCUS_IN): new constant.
4466         (TYPE_FOCUS_OUT): new constant.
4467         (TYPE_KEYMAP_NOTIFY): new constant.
4468         (TYPE_GRAPHICS_EXPOSE): new constant.
4469         (TYPE_NO_EXPOSE): new constant.
4470         (TYPE_VISIBILITY_NOTIFY): new constant.
4471         (TYPE_CREATE_NOTIFY): new constant.
4472         (TYPE_DESTROY_NOTIFY): new constant.
4473         (TYPE_MAP_REQUEST): new constant.
4474         (TYPE_CONFIGURE_REQUEST): new constant.
4475         (TYPE_GRAVITY_NOTIFY): new constant.
4476         (TYPE_RESIZE_REQUEST): new constant.
4477         (TYPE_CIRCULATE_NOTIFY): new constant.
4478         (TYPE_CIRCULATE_REQUEST): new constant.
4479         (TYPE_PROPERTY_NOTIFY): new constant.
4480         (TYPE_SELECTION_CLEAR): new constant.
4481         (TYPE_SELECTION_REQUEST): new constant.
4482         (TYPE_SELECTION_NOTIFY): new constant.
4483         (TYPE_COLORMAP_NOTIFY): new constant.
4484         (TYPE_MAPPING_NOTIFY): new constant.
4485         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
4486         * gnu/gcj/xlib/natGC.cc (copyArea): new method
4487         * java/awt/Component.java (createImage): changed to use peer method.
4488
4489 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4490
4491         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
4492         name, not XLFD, to native drawString.
4493         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4494         Replace XLFD-based implementation with Pango-based
4495         implementation.
4496
4497 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4498
4499         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
4500         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
4501
4502 2003-08-21  David Daney  <ddaney@avtrex.com>
4503
4504         Fix for PR libgcj/12013:
4505         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4506         Check `cleared' field.
4507         * java/lang/ref/Reference.java (copy): Updated comments.
4508         (cleared): New field.
4509         (clear): Rewrote.
4510
4511 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
4512             Thomas Fitzsimmons  <fitzsim@redhat.com>
4513
4514         * Makefile.am (gtk_awt_peer_sources): Add
4515         gnu/java/awt/peer/GLightweightPeer.java.  Remove
4516         gnu/java/awt/GLightweightPeer.java.
4517         * gnu/java/awt/GLightweightPeer.java: Remove file.
4518         * gnu/java/awt/peer/GLightweightPeer.java: New file.
4519         * java/awt/Component.java (getToolkit): Add comment about
4520         lightweight components.
4521         * java/awt/Toolkit.java (createComponent): Return
4522         gnu.java.awt.peer.GLightweightPeer.
4523
4524 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
4525
4526         * configure.in: Fix detection of gcj when building with newlib.
4527         * configure: Regenerated.
4528
4529 2003-08-20  Graydon Hoare  <graydon@redhat.com>
4530
4531         * jni.cc: Replace "cheating" pointer-casting code with
4532         extract_from_jvalue<> template.
4533
4534 2003-08-20  Andrew Haley  <aph@redhat.com>
4535
4536         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
4537         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
4538         (classAt): Break out class lookup function into getClass().
4539         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
4540         handlers when using -fno-assume-compiled.
4541
4542 2003-08-20  Tom Tromey  <tromey@redhat.com>
4543
4544         Fix for PR libgcj/9125:
4545         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
4546         object outside of loop.  Respect lib_control setting.
4547         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
4548         field.
4549         (lib_control): New field.
4550         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
4551         (VMClassLoader): Initialize new field.
4552
4553         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4554         Set `list->reference' to DELETED_REFERENCE when removing dead
4555         object.
4556         (find_slot): Added an assert.
4557         (DELETED_REFERENCE): New define.
4558         (add_to_hash): Check for DELETED_REFERENCE.
4559         (remove_from_hash): Just return if found slot isn't ours.
4560
4561 2003-08-19  Andrew Haley  <aph@redhat.com>
4562
4563         * prims.cc (unblock_signal): New function.
4564         (catch_segv): Use it.
4565         (catch_fpe): Likewise.
4566
4567 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
4568
4569         PR libgcj/11575
4570         * java/io/natFileDescriptorWin32.cc (open): Set create
4571         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
4572         Honor EXCL when openning with WRITE flag. 
4573
4574 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
4575
4576         * include/jvm.h: New class _Jv_TempUTFString (helper class for
4577         getting a temporary C string from a jstring)
4578         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
4579         but uses a stack buffer if the string length is less than 256
4580         bytes.
4581
4582 2003-08-18  Tom Tromey  <tromey@redhat.com>
4583
4584         PR libgcj/11951:
4585         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
4586         void.  Throw VirtualMachineError if ffi fails.  Initialize return
4587         value.  Added is_jni_call argument; only wrap exception if not a
4588         JNI call.  Use descriptive message if operation not supported.
4589         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
4590         array class.
4591         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
4592         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
4593         _Jv_CallAnyMethodA.
4594         (_Jv_JNI_CallAnyMethodA): Likewise.
4595         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
4596         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
4597
4598 2003-08-13  Tom Tromey  <tromey@redhat.com>
4599
4600         * gij.cc (help): Document -? and -X.
4601
4602 2003-08-12  Graydon Hoare  <graydon@redhat.com>
4603
4604         * java/awt/Font.java: 
4605         Stub out more recent API. 
4606
4607 2003-08-12  Graydon Hoare  <graydon@redhat.com>
4608
4609         * java/awt/Color.java (getAlpha): 
4610         Prevent sign-extended alpha values.
4611
4612 2003-08-12  Tom Tromey  <tromey@redhat.com>
4613
4614         * gij.cc (main): Handle -? and -X.
4615
4616 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
4617
4618         * java/awt/Container.java
4619         (getPreferredSize): Call preferredSize.
4620         (preferredSize): Moved body of getPreferredSize here.
4621         (getMinimumSize): Call minimumSize.
4622         (minimumSize): Moved body of getMinimumSize here.
4623
4624 2003-08-11  Tom Tromey  <tromey@redhat.com>
4625
4626         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
4627         (postEvent): Removed FIXME comment.
4628         (isDispatchThread): Documented.
4629         (getCurrentEvent): New method.
4630         (dispatchEvent): Set currentEvent and lastWhen.
4631         (getMostRecentEventTime): Rewrote.
4632         (invokeLater): Documented.
4633
4634 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
4635
4636         * java/io/PrintStream.java (print): Always flush if auto_flush is
4637         set. Don't check for newline characters.
4638         (write (int)): Implement without using a temporary array.
4639         (write (byte[], int, int): Always flush if auto_flush is set. Don't
4640         check for newline characters.
4641         Fixes PR libgcj/11778.
4642
4643 2003-08-08  Andrew Haley  <aph@redhat.com>
4644
4645         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
4646         * Makefile.in: Rebuild.
4647         * java/lang/natRuntime.cc (insertSystemProperties): Add
4648         "sun.boot.class.path".
4649
4650 2003-08-07  Andrew Haley  <aph@redhat.com>
4651
4652         * java/io/PrintStream.java: Don't crash on a null string.
4653         
4654 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4655
4656         * configure.in: Don't initialize GCINCS to boehm-gc/include.
4657         * configure: Regenerate.
4658
4659 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4660
4661         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
4662         SocketImpl. Update Javadoc.
4663         (bind): Call close() not impl.close() in event of exception.
4664         (connect): Likewise.
4665         Remove superfluous null checks throughout.
4666         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
4667         Don't create an extra socket. Fix for PR libgcj/10868.
4668         (bind): Clean up exception handling.
4669         Remove superfluous null checks throughout.
4670
4671 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
4672             Bryce McKinlay  <bryce@mckinlay.net.nz>
4673
4674         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
4675         ready-to-write argument to _Jv_Select. Reset the socket back to 
4676         non-blocking state after connecting.
4677         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
4678         Throw SocketTimeoutException not InterruptedIOException.
4679         (read): Throw SocketTimeoutException not InterruptedIOException.
4680
4681 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4682
4683         * java/lang/Thread.java (Thread): Check for null "name" from
4684         start of private constructor, not after calling the private
4685         constructor.
4686
4687 2003-08-06  Tom Tromey  <tromey@redhat.com>
4688
4689         * java/io/FilePermission.java (equals): Use correct index for
4690         last character of path.
4691
4692 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
4693
4694         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
4695         * configure.in: Compare with_cross_host to build_alias, not build.
4696         * aclocal.m4: Regenerate.
4697         * configure: Regenerate.
4698
4699 2003-08-05  Tom Tromey  <tromey@redhat.com>
4700
4701         Fix for PR libgcj/11779:
4702         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
4703         class.
4704
4705         * java/lang/reflect/Method.java: Updated status comment.
4706         Imported javadoc from Classpath and re-ordered methods.
4707         * java/lang/reflect/Constructor.java: Reindented.  Updated
4708         status comment.  Imported javadoc from Classpath and re-ordered
4709         methods.
4710
4711 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
4712
4713         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
4714         Add keyLocation parameter.
4715         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
4716         string.
4717         (paramString): Generate keyChar string according to keyChar, not
4718         keyCode.
4719         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4720         (state_to_awt_mods): Handle ALT key.
4721         (keyevent_state_to_awt_mods): New function.
4722         (get_first_keyval_from_keymap): New function.
4723         (keysym_to_awt_keycode): Get virtual key code from keymap.
4724         Handle missing VK_ values.
4725         (keysym_to_awt_keylocation): New function.
4726         (keyevent_to_awt_keychar): New function.
4727         (generates_key_typed_event): Handle non-text-component case.
4728         Handle GDK_KP_Delete and GDK_KP_Enter.
4729         (awt_event_handler): Call new functions to get postKeyEvent
4730         parameters.
4731         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
4732         Update postKeyEvent method signature.
4733         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
4734         VK_ defines.
4735
4736 2003-08-05  Matthias Klose  <doko@debian.org>
4737
4738         * aclocal.m4: check for libart-config binary
4739           under the name libart2-config as well.
4740         * configure: regenerated.
4741
4742 2003-08-04  David P Grove  <groved@us.ibm.com>
4743
4744         * java/text/DecimalFormat.java (format): avoid ArithmeticException
4745         when groupingSize is 0.
4746         (parse): Likewise.
4747
4748 2003-08-04  Matthias Klose  <doko@debian.org>
4749
4750         * libart.m4: check for libart-config binary
4751           under the name libart2-config as well.
4752         * configure, aclocal.m4: regenerated.
4753
4754 2003-08-02  Michael Koch  <konqueror@gmx.de>
4755
4756         * java/nio/ByteBufferImpl.java
4757         (getChar): Check remaining bytes, fixed comment about endianess.
4758         (putChar): Likewise.
4759         (getShort): Likewise.
4760         (putShort): Likewise.
4761         (getInt): Check remaining bytes, fixed conversion, fixed comment about
4762         endianess.
4763         (putInt): Likewise.
4764         (getLong): Likewise.
4765         (putLong): Likewise.
4766         (getFloat): Likewise.
4767         (putFloat): Likewise.
4768         (getDouble): Likewise.
4769         (putDouble): Likewise.
4770         * java/nio/DirectByteBufferImpl.java
4771         (getChar): Wrapped code, fixed comment about endianess.
4772         (putchar): Likewise.
4773         (getShort): Likewise.
4774         (putShort): Likewise.
4775         (getInt): Fixed conversion, fixed comment about endianess.
4776         (putInt): Likewise.
4777         (getLong): Likewise.
4778         (putLong): Likewise.
4779         (getFloat): Likewise.
4780         (putFloat): Likewise.
4781         (getDouble): Likewise.
4782         (putDouble): Likewise.
4783         * java/nio/MappedByteBufferImpl.java
4784         (compact): Implemented.
4785         (getChar): Implemented.
4786         (putChar): Implemented.
4787         (getDouble): Implemented.
4788         (putdouble): Implemented.
4789         (getFloat): Implemented.
4790         (putFloat): Implemented.
4791         (getInt): Implemented.
4792         (putInt): Implemented.
4793         (getLong): Implemented.
4794         (putLong): Implemented.
4795         (getShort): Implemented.
4796         (putShort): Implemented.
4797         * java/nio/channels/FileChannelImpl.java
4798         (read): Set position where to access file.
4799         (write): Likewise.
4800         (transferTo): Flip buffer after read and before write.
4801         (transferFrom): Likewise.
4802
4803 2003-08-02  Michael Koch  <konqueror@gmx.de>
4804
4805         * gnu/java/lang/ArrayHelper.java
4806         (equalsArray): Reformated, added method documentation.
4807
4808 2003-08-02  Michael Koch  <konqueror@gmx.de>
4809
4810         * java/net/URL.java
4811         (URL): Added paragraph about the
4812         gnu.java.net.nocache_protocol_handlers property.
4813         (ph_cache): Renamed from handlers to match classpath's implementation.
4814         Reordered it with factory and serialVersionUID member variables.
4815         (cache_handlers): New member variable.
4816         (static): New static initializer to initialize cache_handlers from
4817         gnu.java.net.nocache_protocol_handlers property.
4818         (URL): Use ph_cache instead of handlers, reformatted some code to
4819         match classpath's implementation.
4820
4821 2003-08-01  Tom Tromey  <tromey@redhat.com>
4822
4823         Fix for PR libgcj/11241:
4824         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
4825         initialCapacity is 0, set it to 1.
4826
4827 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
4828
4829         * java/net/SocketImpl.java (toString): Display the remote address
4830         of an unconnected server socket as "0.0.0.0/0.0.0.0".
4831
4832 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
4833
4834         * javax/swing/border/BevelBorder.java,
4835         javax/swing/border/EtchedBorder.java,
4836         javax/swing/border/LineBorder.java,
4837         javax/swing/border/MatteBorder.java,
4838         javax/swing/border/SoftBevelBorder.java,
4839         javax/swing/plaf/BorderUIResource.java,
4840         javax/swing/plaf/ComponentUI.java,
4841         javax/swing/plaf/TreeUI.java,
4842         javax/swing/plaf/basic/BasicBorders.java,
4843         javax/swing/plaf/basic/BasicGraphicsUtils.java,
4844         javax/swing/plaf/basic/BasicTreeUI.java:
4845         Prepend "doc-files" to all paths to embedded Javadoc images, so
4846         that the generated documentation contains the correct URL.
4847
4848 2003-08-01  Tom Tromey  <tromey@redhat.com>
4849
4850         * configure: Rebuilt.
4851         * configure.in (tool_include_dir): Redefine to match gcc.
4852
4853 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
4854             Mark Wielaard  <mark@klomp.org>
4855             
4856         * java/math/BigDecimal (divide): Correctly handle
4857         ROUND_HALF_EVEN when amount is greater than 0.5.
4858         Simplify and optimize code.
4859
4860 2003-07-31  Tom Tromey  <tromey@redhat.com>
4861
4862         More for PR libgcj/11737:
4863         * java/io/ObjectInputStream.java (processResolution): Use
4864         getMethod.
4865         (getMethod): Make method accessible.
4866         (getField): Make field accessible.
4867         (setBooleanField): Don't call setAccessible here.
4868         (setByteField, setCharField, setDoubleField, setFloatField,
4869         setIntField, setLongField, setShortField, setObjectField):
4870         Likewise.
4871         (callReadMethod): Don't check whether method is null.  Catch
4872         NoSuchMethodException.
4873         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
4874         cause on thrown exceptions.
4875
4876 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
4877
4878         Fix for PR libgcj/11728:
4879         * java/util/HashMap.java (readObject): Set size.
4880
4881 2003-07-31  Tom Tromey  <tromey@redhat.com>
4882
4883         Fix for PR libgcj/11737:
4884         * java/io/ObjectOutputStream.java (getMethod): Make method
4885         accessible.
4886         (getField): Likewise.
4887         (writeObject): Use getMethod.
4888         Import PrivilegedAction and AccessController.
4889         (callWriteMethod): Don't check whether m is null.  Catch
4890         NoSuchMethodException.
4891
4892         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
4893         (containsAngle): Likewise.
4894         (getStartPoint): Rewrote.
4895         (getEndPoint): Likewise.
4896         (setAngleStart(Point2D)): Likewise.
4897
4898 2003-07-31  Roger Sayle  <roger@eyesopen.com>
4899             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4900
4901         * configure.in: Add new THREADCXXFLAGS variable.
4902         Handle POSIX threads on alpha*-dec-osf*.
4903         * configure: Regenerate.
4904         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
4905         * Makefile.in: Regenerate.
4906
4907 2003-07-08  Andrew Haley  <aph@redhat.com>
4908
4909         * include/i386-signal.h (RESTORE): New.
4910         (INIT_SEGV): Set restorer.
4911         (INIT_FPE): Likewise.
4912
4913 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
4914
4915         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
4916         than getXLFD.
4917         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
4918         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
4919         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
4920         (gtkSetFont): Scale size parameter by PANGO_SCALE.
4921         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
4922         Likewise.
4923         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
4924         Likewise.
4925
4926 2003-07-29  Tom Tromey  <tromey@redhat.com>
4927
4928         * defineclass.cc (handleField): Throw exception if field name is
4929         duplicated.
4930         (handleMethod): Throw exception for duplicate method.
4931
4932 2003-07-29  Tom Tromey  <tromey@redhat.com>
4933
4934         * gnu/gcj/convert/natIconv.cc (write): Handle case where
4935         output buffer is too small.
4936
4937 2003-07-28  Tom Tromey  <tromey@redhat.com>
4938
4939         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
4940         New method.
4941         Include gnu/gcj/runtime/StringBuffer.h.
4942         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
4943         native method.
4944         (String(gnu.gcj.runtime.StringBuffer)): Use it.
4945
4946 2003-07-27  Anthony Green  <green@redhat.com>
4947
4948         * configure.in: Fix newlib check.
4949         * configure: Rebuilt.
4950
4951 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
4952
4953         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4954         Create vbox and layout for GtkPlug.
4955
4956 2003-07-27  Michael Koch  <konqueror@gmx.de>
4957
4958         * java/awt/Window.java
4959         (Window): Removed now unused constructor. It became oboslete with the
4960         new embedded window patch.
4961
4962 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
4963             Michael Koch  <konqueror@gmx.de>
4964
4965         * gnu/java/awt/EmbeddedWindow.java
4966         (EmbeddedWindow): Extends Frame instead of Window.
4967         (window_id): New member variable to store the native window handle.
4968         (create): Removed.
4969         (EmbeddedWindow): New constructor.
4970         (addNotify): New method.
4971         (getHandler): Likewise.
4972         (setWindowPeer): New native method.
4973         * gnu/java/awt/EmbeddedWindowSupport.java
4974         (EmbeddedWindowSupport): Fixed documentation.
4975         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
4976         WindowPeer, give it an EmbeddedWindow instance instead of the raw
4977         window data.
4978         * gnu/java/awt/natEmbeddedWindow.cc
4979         (create): Removed.
4980         (setWindowPeer): New method.
4981         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
4982         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
4983         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4984         New files
4985         * gnu/java/awt/peer/gtk/GtkToolkit.java
4986         (GtkToolkit): Implements EmbeddedWindowSupport.
4987         (createEmbeddedWindow): New method.
4988         * java/awt/Window.java
4989         (Window): Removed.
4990         * Makefile.am
4991         (java_source_files): Added EmbeddedWindowPeer.java.
4992         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
4993         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
4994         * Makefile.in: Regenerated.
4995
4996 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
4997
4998         * java/lang/Win32Process.java (ConcreteProcess): Surround
4999         a command line element with quotes if it contains an
5000         embedded space or tab.
5001         * java/lang/natWin32Process.cc (startProcess): Do not
5002         surround command line elements with quotes here.
5003
5004         * configure.host: Use -fcheck-references and 
5005         -fuse-divide-subroutine for MinGW until we fix
5006         win32_exception_handler( ) in win32.cc w.r.t. Win32 
5007         Structured Exception Handling (SEH).
5008
5009         * win32.cc (_Jv_platform_initProperties): Use generic names
5010         like "x86" for the "os.arch" property to be consistent with
5011         what Sun's JDK produces. Use the wProcessorArchitecture
5012         member of the Win32 SYSTEM_INFO structure, filled in a call 
5013         to GetSystemInfo( ), instead of dwProcessorType.
5014
5015 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
5016             Ranjit Mathew  <rmathew@hotmail.com>
5017
5018         * Makefile.am: Use cross-compiling gcjh from the path for
5019         a crossed-native build.
5020         * Makefile.in: Rebuilt.
5021         * configure.in: Include libltdl in non-newlib builds.
5022         Moved determination of gcj used to build libraries to
5023         its own section. Fixed cross-compilation issues for
5024         non-newlib builds.
5025         * configure: Rebuilt.
5026
5027 2003-07-25  Tom Tromey  <tromey@redhat.com>
5028
5029         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
5030         (write): Likewise.
5031         (read): Likewise.
5032         (read): Likewise.
5033
5034 2003-07-25  Mark Wielaard  <mark@klomp.org>
5035
5036         * java/lang/natRuntime.cc (_load): Add library name to
5037         UnsatisfiedLinkError when thrown.
5038
5039 2003-07-25  Mark Wielaard  <mark@klomp.org>
5040
5041         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
5042         added.
5043         * Makefile.in: Likewise.
5044
5045 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
5046
5047         * java/awt/Component.java
5048         (getPreferredSize): Call preferredSize.
5049         (preferredSize): Moved body of getPreferredSize here.
5050         (getMinimumSize): Call minimumSize.
5051         (minimumSize): Moved body of getMinimumSize here.
5052         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
5053         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
5054         pass -1
5055         * java/awt/Container.java
5056         (validate): Don't validate if there is no peer.
5057         (update): Clear background before calling paint.
5058         * java/awt/GridBagLayout.java
5059         Completed the implementation and fixed several bugs.
5060         * java/awt/MediaTracker.java
5061         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
5062         combine flags.
5063         * java/awt/Window.java
5064         (Window): Don't call setVisible(false). Windows are invisible by
5065         default and calling virtual methods from constructor causes
5066         compatibility problems (e.g. subclasses may assume that the peer
5067         already exists).
5068
5069 2003-07-25  Michael Koch  <konqueror@gmx.de>
5070
5071         * java/awt/GridBagLayout.java:
5072         Totally reworked and partly implemented.
5073         * java/awt/GridBagLayoutInfo.java:
5074         New file.
5075
5076 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
5077
5078         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
5079         Don't pack label in an event box.
5080
5081 2003-07-24  Tom Tromey  <tromey@redhat.com>
5082
5083         For PR libgcj/7482:
5084         * verify.cc (ref_intersection): New class.
5085         (type_val): Removed unresolved_reference_type,
5086         uninitialized_unresolved_reference_type.
5087         (is_assignable_from_slow): Rewrote.
5088         (type::data): Removed.
5089         (type::klass): New field.
5090         (type::type): Added verifier argument.
5091         (type::resolve): Removed.
5092         (type::set_uninitialized): Updated for change to type_val.
5093         (type::set_initialized): Likewise.
5094         (type::isinitialized): Likewise.
5095         (type::print): Likewise.
5096         (construct_primitive_array_type): Likewise.
5097         (type::compatible): Updated for change to type_val and to use
5098         ref_intersection.
5099         (type::isarray): Updated to use ref_intersection.
5100         (type::isinterface): Likewise.
5101         (type::element_type): Likewise.
5102         (type::to_array): Likewise.
5103         (type::verify_dimensions): Rewrote.
5104         (type::merge): Likewise.
5105         (check_class_constant): Updated for type constructor change.
5106         (check_constant): Likewise.
5107         (check_field_constant): Likewise.
5108         (get_one_type): Likewise.
5109         (initialize_stack): Likewise.
5110         (verify_instructions_0): Likewise.
5111         (verify_instructions_0) [op_invokeinterface]: Removed special
5112         case.
5113         (isect_list): New field.
5114         (_Jv_BytecodeVerifier): Initialize it.
5115         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
5116
5117 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
5118
5119         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
5120         unless field size is 2.
5121
5122 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
5123
5124         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5125         (connectHooks): New method.
5126         (handleEvent): Remove.
5127         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5128         (createHooks): Remove declaration.
5129         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5130         (generates_key_typed_event): Change to handle only certain
5131         keyvals.
5132         (awt_event_handler): Add special handling for GtkTextView.
5133         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5134         (textcomponent_commit_cb): New function.
5135         (textcomponent_changed_cb): Likewise.
5136         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5137         (connectHooks): Remove.
5138
5139 2003-07-23  Tom Tromey  <tromey@redhat.com>
5140
5141         * java/lang/natSystem.cc (arraycopy): Check for overflow.
5142
5143         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
5144
5145 2003-07-22  Tom Tromey  <tromey@redhat.com>
5146
5147         * boehm.cc (_Jv_BuildGCDescr): Wrote.
5148         Include limits.h.
5149
5150 2003-07-22  Tom Tromey  <tromey@redhat.com>
5151
5152         * java/awt/Window.java (getWarningString): Just return the
5153         string.
5154         (Window): Set warningString; check with security manager.
5155
5156 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
5157
5158         * gnu/awt/xlib/XGraphicsConfiguration.java
5159         (FontMetricsCache): Made static.
5160  
5161 2003-07-22  Tom Tromey  <tromey@redhat.com>
5162
5163         * java/net/URLEncoder.java (encode(String)): Use platform default
5164         encoding.
5165         (encode(String,String)): Convert to 2-digit upper-case hex
5166         number.
5167         (hex): New field.
5168
5169 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5170
5171         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5172         (create): Remove unused method implementation.
5173         (connectHooks): Remove debug messages.
5174
5175 2003-07-20  Anthony Green  <green@redhat.com>
5176
5177         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
5178         CloneNotSupportedException.
5179         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
5180         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
5181         * gnu/gcj/xlib/GC.java (clone): Ditto.
5182         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
5183         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
5184
5185         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
5186         handler.
5187         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
5188
5189 2003-07-20  Steve Pribyl <steve@netfuel.com.>
5190
5191         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
5192         String.  Put dlerror() message into exception.
5193         Include UnsatisfiedLinkError.
5194         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
5195         String.  Now native.
5196
5197 2003-07-20  Tom Tromey  <tromey@redhat.com>
5198
5199         * java/lang/Runtime.java: Comment fix.
5200         * java/lang/ClassLoader.java (isAncestorOf): New method.
5201         (getParent): Uncommented security check.  Use isAncestorOf.
5202         * include/jvm.h (_Jv_CheckAccess): Declare.
5203         * java/lang/reflect/natConstructor.cc (newInstance): Perform
5204         access check.
5205         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
5206         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
5207         class loader to _Jv_GetArrayClass.
5208         Include ArrayIndexOutOfBoundsException.h.
5209         * java/lang/reflect/Field.java: Update comment to reflect status.
5210         (equals): Fixed indentation.
5211         * java/lang/Class.h (Class): Declare memberAccessCheck, not
5212         checkMemberAccess.  Make _Jv_CheckAccess a friend.
5213         * java/lang/Class.java (memberAccessCheck): New method from
5214         Classpath.
5215         (checkMemberAccess): Removed.
5216         (getDeclaredMethod): Use memberAccessCheck.
5217         (getField): Likewise.
5218         (getMethod): Likewise.
5219         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
5220         (_Jv_SearchMethodInClass): Likewise.
5221         * prims.cc (_Jv_CheckAccess): New function.
5222         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
5223         (_Jv_JNI_GetAnyFieldID): Likewise.
5224         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
5225         (getClassLoader): Added security check.
5226         (getConstructor): Call memberAccessCheck.
5227         (getDeclaredClasses): Likewise.
5228         (getDeclaredField): Likewise.
5229         (getDeclaredFields): Likewise.
5230         (_getConstructors): Likewise.
5231         (getDeclaredConstructor): Likewise.
5232         (getDeclaredMethods): Likewise.
5233         (getFields): Likewise.
5234         (getMethods): Likewise.
5235         (newInstance): Likewise.
5236         (_Jv_MakeVTable): Put method name in exception.
5237         * java/lang/reflect/natMethod.cc (getType): Use
5238         getClassLoaderInternal.
5239         (_Jv_GetTypesFromSignature): Likewise.
5240         (invoke): Perform access check.
5241         (_Jv_CallAnyMethodA): Removed old FIXME comments.
5242         Include ArrayIndexOutOfBoundsException.h.
5243         * java/lang/reflect/natField.cc (getType): Use
5244         getClassLoaderInternal.
5245         (_Jv_CheckFieldAccessibility): Removed.
5246         (getAddr): Use _Jv_CheckAccess; find caller.
5247         Include ArrayIndexOutOfBoundsException.h.
5248
5249 2003-07-20  Michael Koch  <konqueror@gmx.de>
5250
5251         * java/net/URL.java
5252         (URL): Fixed documentation to name an argument correcty, Reformatted
5253         one method declaration.
5254         (getURLStreamHandler): Added documentation from classpath.
5255
5256 2003-07-19  Tom Tromey  <tromey@redhat.com>
5257
5258         * mauve-libgcj: Don't run CollationElementIterator tests.
5259
5260 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
5261
5262         * java/net/URLClassLoader.java (addURL): Moved implementation to
5263         private addURLImpl() to avoid calling addURL from the constructor.
5264         (addURLImpl): Contains the code that was previously in addURL.
5265         (addURLs): Call addURLImpl(), not addURL().
5266
5267 2003-07-18  Graydon Hoare  <graydon@redhat.com>
5268
5269         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
5270         Handle missing event cases, connect to "value-changed" signal.
5271
5272 2003-07-18  Graydon Hoare  <graydon@redhat.com>
5273
5274         * java/awt/geom/CubicCurve2D.java,
5275         java/awt/geom/Line2D.java,
5276         java/awt/geom/QuadCurve2D.java,
5277         java/awt/geom/Rectangle2D.java: 
5278         Fix path some calculations, make path iterators follow
5279         a consistent style.
5280
5281 2003-07-18  Mark Wielaard  <mark@klomp.org>
5282
5283         * java/util/logging/Handler.java (isLoggable): Check record level
5284         smaller or equal.
5285
5286 2003-07-17  Michael Koch  <konqueror@gmx.de>
5287
5288         * gnu/java/awt/peer/gtk/GtkToolkit.java:
5289         Reworked imports.
5290
5291 2003-07-14  Michael Koch  <konqueror@gmx.de>
5292
5293         * gnu/java/rmi/server/UnicastServerRef.java:
5294         New version from classpath.
5295
5296 2003-07-14  Michael Koch  <konqueror@gmx.de>
5297
5298         * java/awt/image/MemoryImageSource.java,
5299         java/beans/PropertyEditorManager.java,
5300         javax/naming/CompoundName.java,
5301         javax/naming/spi/NamingManager.java,
5302         javax/swing/AbstractButton.java,
5303         javax/swing/ButtonModel.java,
5304         javax/swing/SwingUtilities.java,
5305         javax/swing/UIManager.java,
5306         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5307         javax/swing/event/AncestorEvent.java,
5308         javax/swing/event/InternalFrameEvent.java,
5309         java/util/zip/ZipFile.java:
5310         New versions from classpath.
5311
5312 2003-07-13  Michael Koch  <konqueror@gmx.de>
5313
5314         * gnu/java/nio/FileChannelImpl.java,
5315         gnu/java/nio/natFileChannelImpl.cc: Removed.
5316         * java/io/FileInputStream.java,
5317         java/io/FileOutputStream.java,
5318         java/io/RandomAccessFile.java,
5319         java/nio/MappedByteBufferImpl.java:
5320         Import java.nio.channels.FileChannelImpl instead of
5321         gnu.java.nio.FileChannelImpl.
5322         * java/nio/channels/FileChannelImpl.java,
5323         java/nio/channels/natFileChannelImpl.cc:
5324         New files.
5325         * Makefile.am
5326         (ordinary_java_source_files):
5327         Removed gnu/java/nio/FileChannelImpl.java and added
5328         java/nio/channels/FileChannelImpl.java.
5329         (nat source_files):
5330         Removed gnu/java/nio/natFileChannelImpl.cc and added
5331         java/nio/channels/natFileChannelImpl.cc.
5332         * Makefile.in: Regenerated.
5333
5334 2003-07-13  Michael Koch  <konqueror@gmx.de>
5335
5336         * javax/swing/plaf/basic/BasicBorders.java,
5337         javax/swing/plaf/basic/BasicLabelUI.java,
5338         javax/swing/plaf/basic/BasicLookAndFeel.java,
5339         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5340         javax/swing/plaf/basic/BasicTextUI.java,
5341         javax/swing/plaf/metal/MetalLookAndFeel.java:
5342         New versions from classpath.
5343
5344 2003-07-13  Michael Koch  <konqueror@gmx.de>
5345
5346         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
5347         * gnu/java/awt/peer/gtk/GdkGraphics.java
5348         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
5349         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
5350         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
5351         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
5352         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
5353         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
5354         * gnu/java/awt/peer/gtk/GtkClipboard.java
5355         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
5356         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
5357         * gnu/java/awt/peer/gtk/GtkFramePeer.java
5358         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
5359         * gnu/java/awt/peer/gtk/GtkImage.java
5360         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5361         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
5362         * gnu/java/awt/peer/gtk/GtkListPeer.java
5363         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
5364         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
5365         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5366         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
5367         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
5368         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
5369         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
5370         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
5371         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
5372         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
5373         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5374         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5375
5376 2003-07-13  Michael Koch  <konqueror@gmx.de>
5377
5378         * gnu/java/locale/LocaleInformation_de.java
5379         * gnu/java/locale/LocaleInformation_en.java
5380         * gnu/java/locale/LocaleInformation_nl.java
5381
5382 2003-07-13  Michael Koch  <konqueror@gmx.de>
5383
5384         * gnu/java/awt/EmbeddedWindow.java,
5385         gnu/java/awt/EmbeddedWindowSupport.java,
5386         gnu/java/awt/natEmbeddedWindow.cc:
5387         New files.
5388         * java/awt/Window.java
5389         (Window): New constructor to support embedded windows.
5390         * Makefile.am
5391         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
5392         gnu/java/awt/EmbeddedWindowSupport.java.
5393         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
5394         * Makefile.in: Regenerated.
5395
5396 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
5397
5398         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
5399         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
5400         * java/awt/im/InputContext.java: Remove a redundant
5401         partial line.
5402
5403 2003-07-09  Tom Tromey  <tromey@redhat.com>
5404
5405         * Makefile.in: Rebuilt.
5406         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
5407
5408 2003-07-09  Mark Wielaard  <mark@klomp.org>
5409
5410         * java/io/ObjectOutputStream.java (writeObject): break after
5411         calling writeClassDescriptor().
5412
5413 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
5414
5415         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
5416
5417 2003-07-09  Michael Koch  <konqueror@gmx.de>
5418
5419         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5420         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5421         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5422         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
5423         Explicitly import used classes.
5424         * java/awt/Container.java: New version from classpath.
5425
5426 2003-07-09  Michael Koch  <konqueror@gmx.de>
5427
5428         * libgcj.pc.in: New file.
5429         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
5430         * Makefile.in: Regenerated.
5431         * configure: Regenrated.
5432         * configure.in: Create libgcj.pc from libgcj.pc.in.
5433
5434 2003-07-08  Mark Wielaard <mark@klomp.org>
5435
5436         * gcj/cni.h: CNI now expands to Compiled Native Interface.
5437
5438         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
5439         * java/lang/fdlibm.h: Likewise.
5440
5441 2003-07-07  Adam Megacz <adam@xwt.org>
5442
5443         * posix.cc: added #include<stdio.h>
5444                 
5445 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
5446
5447         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
5448         formatting.
5449
5450         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5451         (setCaretPosition, setEditable): Rely entirely on native
5452         implementation.
5453         (getArgs): Remove.
5454         (postTextEvent): New method.
5455         (handleEvent): New method.
5456         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
5457         method.
5458         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
5459         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5460         (keysym_to_awt_keycode): Fix range checks.
5461         (generates_key_typed_event): New function.
5462         (awt_event_handler): Post AWT_KEY_RELEASED events to event
5463         queue.
5464         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5465         (gtkInit): Store TextComponent's postTextEvent method ID.
5466         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5467         (setText): Post TEXT_VALUE_CHANGED event to event queue.
5468
5469 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5470
5471         * configure.in: Check for usleep declaration.
5472         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
5473         * configure: Regenerate.
5474         * include/config.h.in: Likewise.
5475         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
5476
5477 2003-07-01  Michael Koch  <konqueror@gmx.de>
5478
5479         * gnu/gcj/convert/natIconv.cc
5480         (iconv_init): Fixed possible memory leak by releasing allocated iconv
5481         handle.
5482
5483 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
5484
5485         * glib-2.0.m4: New file.
5486         * gtk-2.0.m4: New file.
5487         * glib.m4: Remove.
5488         * gtk.m4: Remove.
5489         * configure.in: Update AM_PATH_GTK macro call to
5490         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
5491         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5492         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5493         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5494         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5495         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5496         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5497         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5498         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5499         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5500         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5501         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5502         jni/gtk-peer/gthread-jni.c,
5503         jni/gtk-peer/gthread-jni.h:
5504         New versions from classpath.
5505         * aclocal.m4: Regenerate.
5506         * configure: Regenerate.
5507         * Makefile.in: Regenerate.
5508         * gcj/Makefile.in: Regenerate.
5509         * include/Makefile.in: Regenerate.
5510         * testsuite/Makefile.in: Regenerate.
5511
5512 2003-06-30  Gary Benson  <gbenson@redhat.com>
5513
5514         For PR libgcj/11349:
5515         * javax/naming/spi/NamingManager.java (getURLContext): Use
5516         correct name for factory class.
5517
5518 2003-06-28  Michael Koch  <konqueror@gmx.de>
5519
5520         * java/io/PrintStream.java
5521         (checkError): Call flush() instead of direct flushing of the Writer
5522         object.
5523         (print): Call print(String) instead of direct print method of the
5524         Writer Object.
5525         (println): Call println(String) instead of direct println method of the
5526         Writer Object.
5527         (write): Simplified.
5528
5529 2003-06-28  Michael Koch  <konqueror@gmx.de>
5530
5531         * java/net/ServerSocket.java
5532         (setChannel): New method.
5533         * java/net/Socket.java
5534         (setChannel): New method.
5535
5536 2003-06-27  Michael Koch  <konqueror@gmx.de>
5537
5538         * java/beans/beancontext/BeanContextSupport.java:
5539         New version from classpath.
5540
5541 2003-06-27  Michael Koch  <konqueror@gmx.de>
5542
5543         * java/awt/Window.java,
5544         java/awt/font/GraphicAttribute.java,
5545         java/awt/font/ImageGraphicAttribute.java,
5546         java/awt/image/DataBufferByte.java,
5547         java/awt/image/DataBufferInt.java,
5548         java/awt/image/DataBufferUShort.java,
5549         java/awt/image/DirectColorModel.java,
5550         java/awt/image/PixelGrabber.java:
5551         New versions from classpath.
5552
5553 2003-06-27  Michael Koch  <konqueror@gmx.de>
5554
5555         * java/security/Certificate.java
5556         (getGuarantor): Removed wrong @deprecated tag.
5557         (getPrincipal): Likewise.
5558         (getPublicKey): Likewise.
5559         (encode): Likewise.
5560         (decode): Likewise.
5561         (getFormat): Likewise.
5562         (toString): Likewise.
5563         * java/security/cert/PolicyQualifierInfo.java
5564         (PolicyQualifierInfo): Made final.
5565         * javax/security/auth/x500/X500Principal.java
5566         (serialVersionUID): New member variable.
5567
5568 2003-06-27  Michael Koch  <konqueror@gmx.de>
5569
5570         * java/text/Format.java
5571         (serialVersionUID): Fixed value.
5572
5573 2003-06-27  Michael Koch  <konqueror@gmx.de>
5574
5575         * java/net/Inet4Address.java
5576         (Inet4Address): Made package-private.
5577         * java/net/Inet6Address.java
5578         (Inet4Address): Made package-private.
5579
5580 2003-06-27  Michael Koch  <konqueror@gmx.de>
5581
5582         * java/io/RandomAccessFile.java
5583         (readLine): Removed wrong @deprecated tag.
5584         (getChannel): Made final.
5585
5586 2003-06-27  Michael Koch  <konqueror@gmx.de>
5587
5588         * gnu/java/nio/FileChannelImpl.java
5589         (write): Removed.
5590
5591 2003-06-27  Michael Koch  <konqueror@gmx.de>
5592
5593         * java/nio/ByteBufferImpl.java
5594         (ByteBufferImpl): Made it a package-private class
5595         * java/nio/CharBufferImpl.java
5596         (CharBufferImpl): Made it a package-private class
5597         * java/nio/DirectByteBufferImpl.java
5598         (DirectByteBufferImpl): Made it a package-private class
5599         * java/nio/DoubleBufferImpl.java
5600         (DoubleBufferImpl): Made it a package-private class
5601         * java/nio/FloatBufferImpl.java
5602         (FloatBufferImpl): Made it a package-private class
5603         * java/nio/IntBufferImpl.java
5604         (IntBufferImpl): Made it a package-private class
5605         * java/nio/LongBufferImpl.java
5606         (LongBufferImpl): Made it a package-private class
5607         * java/nio/ShortBufferImpl.java
5608         (ShortBufferImpl): Made it a package-private class
5609         * java/nio/channels/FileChannel.java
5610         (write): Made final.
5611         * java/nio/channels/ServerSocketChannel.java
5612         (ServerSocketChanne): Made protected.
5613
5614 2003-06-27  Michael Koch  <konqueror@gmx.de>
5615
5616         * javax/naming/CompositeName.java
5617         (serialVersionUID): New member variable.
5618         * javax/naming/CompoundName.java
5619         (serialVersionUID): New member variable.
5620         * javax/naming/InitialContext.java
5621         (InitialContext): Throws NamingException.
5622         (init): Likewise.
5623         * javax/naming/LinkRef.java
5624         (serialVersionUID): New member variable.
5625         (gteLinkName): Throws NamingException.
5626         * javax/naming/NamingException.java
5627         (serialVersionUID): New member variable.
5628         * javax/naming/NamingSecurityException.java
5629         (NamingSecurityException): Made abstract.
5630         (serialVersionUID): New member variable.
5631         * javax/naming/ReferralException.java
5632         (serialVersionUID): New member variable.
5633         * javax/naming/StringRefAddr.java
5634         (serialVersionUID): New member variable.
5635         * javax/naming/directory/BasicAttribute.java:
5636         Reworked imports.
5637         (serialVersionUID): New member variable.
5638         (get): Throws NamingException.
5639         (getAll): Throws NamingException.
5640         * javax/naming/directory/BasicAttributes.java:
5641         Reworked imports.
5642         (serialVersionUID): New member variable.
5643         * javax/naming/ldap/UnsolicitedNotificationEvent.java
5644         (serialVersionUID): New member variable.
5645
5646 2003-06-27  Michael Koch  <konqueror@gmx.de>
5647
5648         * Makefile.am
5649         (awt_java_source_files): Added new files:
5650         javax/swing/Popup.java,
5651         javax/swing/PopupFactory.java
5652         * Makefile.in: Regenerated.
5653
5654 2003-06-27  Michael Koch  <konqueror@gmx.de>
5655
5656         * javax/swing/JWindow.java,
5657         javax/swing/event/AncestorEvent.java,
5658         javax/swing/event/HyperlinkEvent.java,
5659         javax/swing/event/InternalFrameEvent.java,
5660         javax/swing/event/ListDataEvent.java,
5661         javax/swing/event/TableModelEvent.java,
5662         javax/swing/plaf/PopupMenuUI.java,
5663         javax/swing/plaf/SplitPaneUI.java,
5664         javax/swing/plaf/TabbedPaneUI.java,
5665         javax/swing/plaf/TextUI.java,
5666         javax/swing/plaf/TreeUI.java,
5667         javax/swing/plaf/basic/BasicTextUI.java,
5668         javax/swing/plaf/basic/BasicTreeUI.java:
5669         New versions from classpath.
5670         * javax/swing/Popup.java,
5671         javax/swing/PopupFactory.jav:
5672         New source files from classpath.
5673         * javax/swing/plaf/doc-files/TreeUI-1.png:
5674         New binary files from classpath.
5675
5676 2003-06-25  Michael Koch  <konqueror@gmx.de>
5677
5678         * Makefile.am
5679         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
5680         * Makefile.in: Regenerated.
5681
5682 2003-06-25  Michael Koch  <konqueror@gmx.de>
5683
5684         * javax/swing/plaf/ActionMapUIResource.java,
5685         javax/swing/plaf/BorderUIResource.java,
5686         javax/swing/plaf/ButtonUI.java,
5687         javax/swing/plaf/ColorChooserUI.java,
5688         javax/swing/plaf/ColorUIResource.java,
5689         javax/swing/plaf/ComboBoxUI.java,
5690         javax/swing/plaf/ComponentInputMapUIResource.java,
5691         javax/swing/plaf/ComponentUI.java,
5692         javax/swing/plaf/DesktopIconUI.java,
5693         javax/swing/plaf/DesktopPaneUI.java,
5694         javax/swing/plaf/DimensionUIResource.java,
5695         javax/swing/plaf/FileChooserUI.java,
5696         javax/swing/plaf/FontUIResource.java,
5697         javax/swing/plaf/IconUIResource.java,
5698         javax/swing/plaf/InputMapUIResource.java,
5699         javax/swing/plaf/InsetsUIResource.java,
5700         javax/swing/plaf/InternalFrameUI.java,
5701         javax/swing/plaf/LabelUI.java,
5702         javax/swing/plaf/ListUI.java,
5703         javax/swing/plaf/MenuBarUI.java,
5704         javax/swing/plaf/MenuItemUI.java,
5705         javax/swing/plaf/OptionPaneUI.java,
5706         javax/swing/plaf/PanelUI.java,
5707         javax/swing/plaf/ProgressBarUI.java,
5708         javax/swing/plaf/RootPaneUI.java,
5709         javax/swing/plaf/ScrollBarUI.java,
5710         javax/swing/plaf/ScrollPaneUI.java,
5711         javax/swing/plaf/SeparatorUI.java,
5712         javax/swing/plaf/SliderUI.java,
5713         javax/swing/plaf/TableHeaderUI.java,
5714         javax/swing/plaf/TableUI.java,
5715         javax/swing/plaf/ToolBarUI.java,
5716         javax/swing/plaf/ToolTipUI.java,
5717         javax/swing/plaf/ViewportUI.java:
5718         New versions from classpath.
5719         * javax/swing/plaf/SpinnerUI.java: 
5720         New file from classpath
5721
5722 2003-06-25  Michael Koch  <konqueror@gmx.de>
5723
5724         * java/awt/image/ColorModel.java:
5725         New version from classpath.
5726
5727 2003-06-25  Michael Koch  <konqueror@gmx.de>
5728
5729         * java/net/PlainDatagramSocketImpl.java:
5730         Partly merged with classpath, this mainly adds documentation.
5731
5732 2003-06-25  Michael Koch  <konqueror@gmx.de>
5733
5734         * java/io/ObjectInputStream.java
5735         (readClassDescriptor): New method.
5736         (readObject): Moved functionality to readClassDescriptor().
5737         * java/io/ObjectOutputStream.java
5738         (writeClassDescriptor): New method.
5739         (writeObject): Moved functionality to writeClassDescriptor().
5740
5741 2003-06-25  Michael Koch  <konqueror@gmx.de>
5742
5743         * javax/swing/plaf/basic/BasicListUI.java,
5744         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5745         Added missing methods.
5746
5747 2003-06-25  Michael Koch  <konqueror@gmx.de>
5748
5749         * javax/swing/event/AncestorEvent.java
5750         javax/swing/event/HyperlinkEvent.java
5751         javax/swing/event/InternalFrameEvent.java
5752         javax/swing/event/ListDataEvent.java
5753         javax/swing/event/TableModelEvent.java:
5754         Compile fixes.
5755
5756 2003-06-24  Michael Koch  <konqueror@gmx.de>
5757
5758         * java/net/URL.java:
5759         Renamed "handler" to "ph" in the whole file to match classpaths
5760         version.
5761         * java/net/URLStreamHandler.java:
5762         (equals): Renamed "handler" to "ph".
5763
5764 2003-06-24  Michael Koch  <konqueror@gmx.de>
5765
5766         * javax/swing/event/AncestorEvent.java,
5767         javax/swing/event/HyperlinkEvent.java,
5768         javax/swing/event/InternalFrameEvent.java,
5769         javax/swing/event/ListDataEvent.java,
5770         javax/swing/event/TableModelEvent.java,
5771         javax/swing/event/TreeWillExpandListener.java,
5772         javax/swing/plaf/ComponentUI.java,
5773         javax/swing/plaf/DesktopIconUI.java,
5774         javax/swing/plaf/DesktopPaneUI.java,
5775         javax/swing/plaf/DimensionUIResource.java,
5776         javax/swing/plaf/FileChooserUI.java,
5777         javax/swing/plaf/FontUIResource.java,
5778         javax/swing/plaf/IconUIResource.java,
5779         javax/swing/plaf/InputMapUIResource.java,
5780         javax/swing/plaf/InsetsUIResource.java,
5781         javax/swing/plaf/InternalFrameUI.java,
5782         javax/swing/plaf/LabelUI.java,
5783         javax/swing/plaf/ListUI.java,
5784         javax/swing/plaf/MenuBarUI.java,
5785         javax/swing/plaf/MenuItemUI.java,
5786         javax/swing/plaf/OptionPaneUI.java,
5787         javax/swing/plaf/PanelUI.java,
5788         javax/swing/plaf/ProgressBarUI.java,
5789         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5790         javax/swing/plaf/doc-files/ComponentUI-1.png:
5791         New versions from classpath.
5792
5793 2003-06-24  Michael Koch  <konqueror@gmx.de>
5794
5795         * java/nio/Buffer.java
5796         (cap): Made package-private.
5797         (pos): Likewise.
5798         (limit): Likewise.
5799         (mark): Likewise.
5800
5801 2003-06-24  Michael Koch  <konqueror@gmx.de>
5802
5803         * java/net/SocketImpl.java
5804         (shutdownInput): Made it non-abstract method throwing an exception
5805         like in SUNs JRE.
5806         (shutdownOutput): Likewise.
5807         * java/net/SocketInputStream.java,
5808         java/net/SocketOutputStream.java:
5809         New files from classpath.
5810
5811 2003-06-24  Michael Koch  <konqueror@gmx.de>
5812
5813         * java/awt/Font.java,
5814         java/awt/Window.java,
5815         java/awt/color/ColorSpace.java,
5816         java/awt/datatransfer/StringSelection.java,
5817         java/awt/image/ColorModel.java:
5818         New versions from classpath.
5819
5820 2003-06-24  Michael Koch  <konqueror@gmx.de>
5821
5822         * Makefile.am
5823         (awt_java_source_files): Added new files:
5824         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5825         javax/swing/plaf/basic/BasicSplitPaneUI.java
5826         * Makefile.in: Regenerated.
5827
5828 2003-06-24  Michael Koch  <konqueror@gmx.de>
5829
5830         * javax/swing/text/JTextComponent.java:
5831         New version from classpath.
5832
5833 2003-06-24  Michael Koch  <konqueror@gmx.de>
5834
5835         * javax/swing/Timer.java,
5836         javax/swing/plaf/ActionMapUIResource.java,
5837         javax/swing/plaf/ButtonUI.java,
5838         javax/swing/plaf/ColorChooserUI.java,
5839         javax/swing/plaf/ColorUIResource.java,
5840         javax/swing/plaf/ComboBoxUI.java,
5841         javax/swing/plaf/ComponentInputMapUIResource.java,
5842         javax/swing/plaf/basic/BasicBorders.java:
5843         New versions from classpath.
5844         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
5845         javax/swing/plaf/basic/BasicSplitPaneUI.java:
5846         New file from classpath.
5847         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
5848         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
5849         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
5850         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5851         javax/swing/plaf/doc-files/ComponentUI-1.png:
5852         New binary files from classpath.
5853
5854 2003-06-24  Michael Koch  <konqueror@gmx.de>
5855
5856         * java/io/LineNumberReader.java
5857         (skip): Dont do line number accounting here as this is already done in
5858         read(), simplified.
5859
5860 2003-06-21  Michael Koch  <konqueror@gmx.de>
5861
5862         * java/io/File.java
5863         (static): Load javaio lib if existing (only in classpath).
5864         (File): Revised documentation to show the correct argument name.
5865         (createTempFile): Partly merged with classpath.
5866         (compareTo): Simplified.
5867         (lastModified): Throw exception if time < 0.
5868         (deleteOnExit): Revised documentation.
5869
5870 2003-06-21  Michael Koch  <konqueror@gmx.de>
5871
5872         * java/net/PlainSocketImpl.java:
5873         Reformatted.
5874         (PlainSocketImpl): Merged class documentaion with classpath.
5875         (in): Moved.
5876         (out): Moved.
5877         (PlainSocketImpl): New empty constructor.
5878         (finalize): Moved.
5879         (setOption): Merged documentation from classpath.
5880         (getOption): Likewise.
5881         (create): Likewise.
5882         (connect): Likewise.
5883         (bind): Likewise.
5884         (listen): Likewise.
5885         (accept): Likewise.
5886         (available): Likewise.
5887         (close): Likewise.
5888         (read): Likewise.
5889         (write): Likewise.
5890         (getInputStream): Made synchronozed to get sure that only one stream
5891         object can be created for this socket, merged documentation from
5892         classpath.
5893         (getOutputStream): Likewise.
5894
5895 2003-06-21  Michael Koch  <konqueror@gmx.de>
5896
5897         * java/net/PlainSocketImpl.java:
5898         Reformatting.
5899         (static): New implicit method.
5900         (read): Made package private.
5901         (write): Likewise.
5902
5903 2003-06-21  Michael Koch  <konqueror@gmx.de>
5904
5905         * java/util/SimpleTimeZone.java:
5906         Removed unneeded import, reformatting.
5907
5908 2003-06-21  Michael Koch  <konqueror@gmx.de>
5909
5910         * java/text/DateFormat.java,
5911         java/text/SimpleDateFormat.java,
5912         java/util/Locale.java:
5913         New versions from classpath.
5914
5915 2003-06-21  Michael Koch  <konqueror@gmx.de>
5916
5917         * javax/swing/SpinnerModel.java:
5918         New file from classpath.
5919         * javax/swing/border/LineBorder.java,
5920         javax/swing/border/SoftBevelBorder.java,
5921         javax/swing/plaf/BorderUIResource.java,
5922         javax/swing/plaf/basic/BasicBorders.java:
5923         New versions from classpath.
5924         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
5925         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
5926         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
5927         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
5928         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
5929         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
5930         New binary files from classpath.
5931
5932 2003-06-21  Michael Koch  <konqueror@gmx.de>
5933
5934         * java/util/logging/LogRecord.java,
5935         java/util/logging/Logger.java,
5936         java/util/logging/SocketHandler.java,
5937         java/util/logging/SimpleFormatter.java,
5938         java/util/logging/Formatter.java,
5939         java/util/logging/ErrorManager.java,
5940         java/util/logging/Handler.java,
5941         java/util/logging/FileHandler.java,
5942         java/util/logging/LogManager.java,
5943         java/util/logging/Level.java,
5944         java/util/logging/ConsoleHandler.java,
5945         java/util/logging/StreamHandler.java,
5946         java/util/logging/LoggingPermission.java,
5947         java/util/logging/Filter.java,
5948         java/util/logging/MemoryHandler.java,
5949         java/util/logging/XMLFormatter.java:
5950         New files from classpath.
5951
5952 2003-06-20  Michael Koch  <konqueror@gmx.de>
5953
5954         * java/io/ObjectStreamField.java
5955         (unshared): new member variable.
5956         (ObjectStreamField): New constructor.
5957         (isUnshared): New method.
5958
5959 2003-06-20  Michael Koch  <konqueror@gmx.de>
5960
5961         * java/net/URLStreamHandler.java
5962         (hostsEqual): Rewritten.
5963
5964 2003-06-20  Michael Koch  <konqueror@gmx.de>
5965
5966         * gnu/java/nio/MappedByteFileBuffer.java,
5967         gnu/java/nio/natMappedByteFileBuffer.cc:
5968         Removed
5969         * java/nio/MappedByteBufferImpl.java:
5970         New file.
5971         * gnu/java/nio/FileChannelImpl.java:
5972         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
5973         * Makefile.am
5974         (ordinary_java_source_files): Removed
5975         gnu/java/nio/MappedByteFileBuffer.java and added
5976         java/nio/MappedByteBufferImpl.java.
5977         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
5978         * Makefile.in: Regenerated.
5979
5980 2003-06-19  Michael Koch  <konqueror@gmx.de>
5981
5982         * gnu/java/nio/DatagramChannelImpl.java
5983         (fd): Removed.
5984         (blocking): New member variable.
5985         (socket): Likewise.
5986         (DatagramChannelImpl): Throws IOException, initialize socket.
5987         (socket):Implemented.
5988         (implCloseSelectableChannel): Throws IOException, implemented.
5989         (implConfigureBlocking): Likewise.
5990         (connect): Likewise.
5991         (disconnect): Likewise.
5992         (isConnected): Likewise.
5993         (write): Likewise.
5994         (read): Likewise.
5995         (receive): Throws IOException.
5996         (send): Likewise.
5997         * gnu/java/nio/SocketChannelImpl.java
5998         (read): Implemented.
5999         (write): Implemented.
6000
6001 2003-06-19  Michael Koch  <konqueror@gmx.de>
6002
6003         * javax/swing/JComponent.java,
6004         javax/swing/JInternalFrame.java,
6005         javax/swing/MenuSelectionManager.java,
6006         javax/swing/SwingUtilities.java,
6007         javax/swing/ToggleButtonModel.java:
6008         New versions from classpath.
6009
6010 2003-06-19  Michael Koch  <konqueror@gmx.de>
6011
6012         * java/text/CollationElementIterator.java
6013         (NULLORDER): Initialize with -1 as JDK documentation says.
6014
6015 2003-06-19  Michael Koch  <konqueror@gmx.de>
6016
6017         * java/net/HttpURLConnection.java,
6018         java/net/Inet4Address.java,
6019         java/net/Inet6Address.java,
6020         java/net/SocketImpl.java,
6021         java/net/URLClassLoader.java:
6022         Reworked import statements.
6023         * java/net/InetAddress.java
6024         (getByAddress): Simplified.
6025         * java/net/ServerSocket.java
6026         (ServerSocket): Moved special handling during bind operation to
6027         bind().
6028         (bind): Handle different cases when trying to bind a socket.
6029         * java/net/URLConnection.java
6030         (getHeaderFieldDate): Merged with classpath.
6031         (getHeaderFieldInt): Likewise.
6032
6033 2003-06-19  Michael Koch  <konqueror@gmx.de>
6034
6035         * java/util/zip/InflaterInputStream.java
6036         (InflaterInputStream): Throw NullPointerException if in is null (as
6037         JDK does).
6038
6039 2003-06-19  Michael Koch  <konqueror@gmx.de>
6040
6041         * java/awt/Font.java
6042         javax/swing/UIManager.java
6043         javax/swing/border/AbstractBorder.java
6044         javax/swing/border/BevelBorder.java
6045         javax/swing/border/Border.java
6046         javax/swing/border/CompoundBorder.java
6047         javax/swing/border/EmptyBorder.java
6048         javax/swing/border/EtchedBorder.java
6049         javax/swing/border/LineBorder.java
6050         javax/swing/border/MatteBorder.java
6051         javax/swing/border/TitledBorder.java
6052         javax/swing/plaf/BorderUIResource.java
6053         javax/swing/plaf/basic/BasicBorders.java
6054         javax/swing/plaf/basic/BasicButtonUI.java
6055         javax/swing/plaf/basic/BasicCheckBoxUI.java
6056         javax/swing/plaf/basic/BasicGraphicsUtils.java
6057         javax/swing/plaf/basic/BasicLabelUI.java
6058         javax/swing/plaf/basic/BasicRadioButtonUI.java
6059         javax/swing/plaf/basic/BasicToggleButtonUI.java:
6060         New versions from classpath.
6061         * javax/swing/border/SoftBevelBorder.java:
6062         New file from classpath.
6063         * javax/swing/border/doc-files/LineBorder-1.png,
6064         javax/swing/border/doc-files/BevelBorder-1.png,
6065         javax/swing/border/doc-files/BevelBorder-2.png,
6066         javax/swing/border/doc-files/BevelBorder-3.png,
6067         javax/swing/border/doc-files/EmptyBorder-1.png,
6068         javax/swing/border/doc-files/EtchedBorder-1.png,
6069         javax/swing/border/doc-files/EtchedBorder-2.png,
6070         javax/swing/border/doc-files/MatteBorder-1.png,
6071         javax/swing/border/doc-files/MatteBorder-2.png,
6072         javax/swing/border/doc-files/MatteBorder-3.png,
6073         javax/swing/border/doc-files/MatteBorder-4.png,
6074         javax/swing/border/doc-files/MatteBorder-5.png,
6075         javax/swing/border/doc-files/MatteBorder-6.png,
6076         javax/swing/border/doc-files/SoftBevelBorder-1.png,
6077         javax/swing/border/doc-files/SoftBevelBorder-2.png,
6078         javax/swing/border/doc-files/SoftBevelBorder-3.png,
6079         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
6080         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
6081         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
6082         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
6083         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
6084         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
6085         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
6086         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
6087         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
6088         New binary files from classpath.
6089         * Makefile.am
6090         (awt_java_source_files): Added
6091         javax/swing/border/SoftBevelBorder.java.
6092         * Makefile.in: Regenerated.
6093
6094 2003-06-19  Michael Koch  <konqueror@gmx.de>
6095
6096         * gnu/java/security/x509/X509Certificate.java
6097         (writeReplace): Merged from classpath.
6098
6099 2003-06-19  Michael Koch  <konqueror@gmx.de>
6100
6101         * gnu/java/nio/FileChannelImpl.java
6102         (map_address): Made public.
6103         (FileChannelImpl): Merged with classpath.
6104         * gnu/java/nio/natFileChannelImpl.cc
6105         (nio_mmap_file): Commented out unused arguments.
6106         (nio_unmmap_file): Likewise.
6107         (niu_msync): Likewise.
6108
6109 2003-06-19  Michael Koch  <konqueror@gmx.de>
6110
6111         * java/awt/image/IndexColorModel.java:
6112         New version from classpath.
6113
6114 2003-06-18  Tom Tromey  <tromey@redhat.com>
6115
6116         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
6117         on arrays.
6118         (isLoopbackAddress): Likewise.
6119         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
6120         on arrays.
6121
6122 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
6123
6124         * java/lang/natVMSecurityManager.cc (getClassContext):
6125         Use maxlen instead of len for loop bound.
6126
6127 2003-06-18  Michael Koch  <konqueror@gmx.de>
6128
6129         * gnu/java/nio/SelectorImpl.java
6130         (register): Use fd with value 0 for now, will be fixed later.
6131         * gnu/java/nio/ServerSocketChannelImpl.java
6132         (fd): Removed.
6133         (local_port): Removed.
6134         (InetSocketAddress): Removed.
6135         (ServerSocketChannelImpl): Just initialize internal socket object.
6136         (implCloseSelectableChannel): Close internal socket object.
6137         (implConfigureBlocking): Added comment.
6138         (accept): Use jaba.net stuff to accept socket.
6139         * gnu/java/nio/SocketChannelImpl.java
6140         (fd): Removed.
6141         (local_port): Removed.
6142         (InetSocketAddress): Removed.
6143         (SocketCreate): Removed.
6144         (SocketConnect): Removed.
6145         (SocketBind): Removed.
6146         (SocketListen): Removed.
6147         (SocketAvailable): Removed.
6148         (SocketClose): Removed.
6149         (SocketRead): Removed.
6150         (SocketWrite): Removed.
6151         (SocketChannelImpl): Just initialize internal socket object.
6152         (implCloseSelectableChannel): Close internal socket object.
6153         (implConfigureBlocking): Fixed implementation, added comment.
6154         (connect): Use internal socket object to connect.
6155         (socket): No need for sanity checks.
6156         (read): Comment out some stuff, this will be reimplemented in the next
6157         commit.
6158         (write): Likewise.
6159         * gnu/java/nio/natFileChannelImpl.cc
6160         (nio_mmap_file): Line wrapped.
6161         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
6162         * Makefile.am
6163         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
6164         * Makefile.in: Regenerated.
6165
6166 2003-06-18  Michael Koch  <konqueror@gmx.de>
6167
6168         * java/util/Locale.java
6169         (equals): Merged from classpath.
6170
6171 2003-06-18  Michael Koch  <konqueror@gmx.de>
6172
6173         * java/net/InetAddress.java:
6174         Reformatted to better match classpath's version.
6175         * java/net/URL.java
6176         (equals): Simplified.
6177         * java/net/URLConnection.java
6178         (setDoInput): Revised documentation.
6179         (getDefaultUseCaches): Likewise.
6180         (setRequestProperty): Added @since tag.
6181
6182 2003-06-17  Michael Koch  <konqueror@gmx.de>
6183
6184         * java/net/InetSocketAddress.java
6185         (InetSocketAddress): Use wildcard address if addr is null.
6186         (InetSocketAddress): Dont duplicate implementation.
6187         (InetSocketAddress): Throw exception when hostname is null.
6188         * java/net/Socket.java:
6189         Reworked imports.
6190         (Socket): Throw exception when raddr is null, handle case when laddr
6191         is null.
6192
6193 2003-06-17  Michael Koch  <konqueror@gmx.de>
6194
6195         * java/nio/DirectByteBufferImpl.java
6196         (address): Made package private.
6197         (DirectByteBufferImpl): New constructor.
6198         * java/nio/natDirectByteBufferImpl.cc
6199         (allocateImpl): Moved to java.nio namespace, implemented.
6200         (freeImpl): Likewise.
6201         (getImpl): Likewise.
6202         (putImpl): Likewise.
6203         * jni.cc
6204         (_Jv_JNI_NewDirectByteBuffer): Implemented.
6205         (_Jv_JNI_GetDirectBufferAddress): Implemented.
6206         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
6207
6208 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6209
6210         * include/powerpc-signal.h: New File.
6211         * configure.in: Use it.
6212         * configure: Regenerated.
6213
6214 2003-06-17  Michael Koch  <konqueror@gmx.de>
6215
6216         * java/util/Locale.java
6217         (getDisplayLanguage): Made it final.
6218         (getDisplayCountry): Likewise.
6219         (getDisplayVariant): Likewise.
6220         (getDisplayName): Likewise.
6221
6222 2003-06-17  Michael Koch  <konqueror@gmx.de>
6223
6224         * java/util/PropertyResourceBundle.java:
6225         Removed unneeded import.
6226
6227 2003-06-17  Michael Koch  <konqueror@gmx.de>
6228
6229         * java/util/prefs/AbstractPreferences.java,
6230         java/util/prefs/PreferencesFactory.java:
6231         Reworked imports, removed unused imports.
6232         * java/util/prefs/Preferences.java
6233         (systemNodeForPackage): Method takes a Class not an Object.
6234         (userNodeForPackage): Likewise.
6235         (nodeForPackage): Likewise.
6236
6237 2003-06-17  Michael Koch  <konqueror@gmx.de>
6238
6239         * gnu/java/security/x509/X509Certificate.java:
6240         Explicitely import used classes.
6241
6242 2003-06-17  Michael Koch  <konqueror@gmx.de>
6243
6244         * java/util/zip/ZipEntry.java,
6245         java/util/zip/ZipFile.java,
6246         java/util/zip/ZipInputStream.java,
6247         java/util/zip/ZipOutputStream.java:
6248         Reworked imports, only import used classes.
6249
6250 2003-06-17  Michael Koch  <konqueror@gmx.de>
6251
6252         * gnu/java/lang/ArrayHelper.java,
6253         gnu/java/lang/ClassHelper.java:
6254         Reformatted to match classpath's versions.
6255
6256 2003-06-14  Michael Koch  <konqueror@gmx.de>
6257
6258         * gnu/java/nio/FileChannelImpl.java
6259         (map_address): Removed incorrect comment.        
6260         * gnu/java/nio/SelectorImpl.java
6261         (register): Remove code duplication and code for file channel handling.        
6262         * gnu/java/nio/ServerSocketChannelImpl.java
6263         (serverSocket): Renamed from sock_object.
6264         (ServerSocketChannel): Initialize serverSocket.
6265         (socket): Return serverSocket.
6266         * gnu/java/nio/SocketChannelImpl.java
6267         (socket): Renamed from sock_object.
6268         (isConnectionPenging): Simplified.
6269         (socket): Return socket.
6270 2003-06-14  Michael Koch  <konqueror@gmx.de>
6271
6272         * java/security/BasicPermission.java:
6273         New version from classpath.
6274
6275 2003-06-14  Michael Koch  <konqueror@gmx.de>
6276
6277         * javax/naming/directory/Attribute.java:
6278         New version from classpath.
6279
6280 2003-06-14  Michael Koch  <konqueror@gmx.de>
6281
6282         * java/io/BufferedReader.java,
6283         java/io/FileOutputStream.java:
6284         New versions from classpath.
6285
6286 2003-06-12  Andrew Haley  <aph@redhat.com>
6287
6288         * prims.cc (catch_segv): Create exception in handler.
6289         (catch_fpe): Likewise.  
6290         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
6291         (_Jv_ThrowSignal): Remove.
6292
6293         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
6294         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
6295         to nullp and arithexception.
6296         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6297         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6298         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6299         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6300         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6301
6302 2003-06-11  Andrew Haley  <aph@redhat.com>
6303
6304         * jni.cc (_Jv_JNI_check_types): New.
6305         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
6306         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
6307         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
6308         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
6309         
6310         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
6311         infinite loop.
6312
6313 2003-06-11  Tom Tromey  <tromey@redhat.com>
6314
6315         * java/lang/ClassLoader.java (loadClass): Not deprecated.
6316         * java/io/PrintStream.java: Not deprecated.
6317
6318 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
6319
6320         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
6321         (fillOval): implemented
6322         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
6323         (fillArc): implemented.
6324         * gnu/gcj/xlib/GC.java (drawArc): added native method.
6325         (fillArc): added native method.
6326         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
6327         (fillArc): added native method.
6328
6329 2003-06-11  Michael Koch  <konqueror@gmx.de>
6330
6331         * java/awt/im/InputSubset.java:
6332         New version from classpath.
6333
6334 2003-06-11  Michael Koch  <konqueror@gmx.de>
6335
6336         * javax/swing/AbstractAction.java,
6337         javax/swing/AbstractButton.java,
6338         javax/swing/AbstractCellEditor.java,
6339         javax/swing/AbstractListModel.java,
6340         javax/swing/BorderFactory.java,
6341         javax/swing/Box.java,
6342         javax/swing/BoxLayout.java,
6343         javax/swing/ButtonGroup.java,
6344         javax/swing/DefaultButtonModel.java,
6345         javax/swing/DefaultListModel.java,
6346         javax/swing/DefaultListSelectionModel.java,
6347         javax/swing/FocusManager.java,
6348         javax/swing/ImageIcon.java,
6349         javax/swing/InputMap.java,
6350         javax/swing/JApplet.java,
6351         javax/swing/JButton.java,
6352         javax/swing/JCheckBox.java,
6353         javax/swing/JCheckBoxMenuItem.java,
6354         javax/swing/JColorChooser.java,
6355         javax/swing/JComboBox.java,
6356         javax/swing/JComponent.java,
6357         javax/swing/JDesktopPane.java,
6358         javax/swing/JDialog.java,
6359         javax/swing/JEditorPane.java,
6360         javax/swing/JFileChooser.java,
6361         javax/swing/JFormattedTextField.java,
6362         javax/swing/JFrame.java,
6363         javax/swing/JLabel.java,
6364         javax/swing/JLayeredPane.java,
6365         javax/swing/JList.java,
6366         javax/swing/JMenuBar.java,
6367         javax/swing/JMenuItem.java,
6368         javax/swing/JOptionPane.java,
6369         javax/swing/JPanel.java,
6370         javax/swing/JPasswordField.java,
6371         javax/swing/JPopupMenu.java,
6372         javax/swing/JProgressBar.java,
6373         javax/swing/JRadioButton.java,
6374         javax/swing/JRadioButtonMenuItem.java,
6375         javax/swing/JRootPane.java,
6376         javax/swing/JScrollBar.java,
6377         javax/swing/JScrollPane.java,
6378         javax/swing/JSeparator.java,
6379         javax/swing/JSlider.java,
6380         javax/swing/JTabbedPane.java,
6381         javax/swing/JTable.java,
6382         javax/swing/JTextField.java,
6383         javax/swing/JToggleButton.java,
6384         javax/swing/JToolBar.java,
6385         javax/swing/JToolTip.java,
6386         javax/swing/JTree.java,
6387         javax/swing/JViewport.java,
6388         javax/swing/JWindow.java,
6389         javax/swing/KeyStroke.java,
6390         javax/swing/ListSelectionModel.java,
6391         javax/swing/LookAndFeel.java,
6392         javax/swing/RepaintManager.java,
6393         javax/swing/ScrollPaneLayout.java,
6394         javax/swing/SizeRequirements.java,
6395         javax/swing/SwingConstants.java,
6396         javax/swing/Timer.java,
6397         javax/swing/UIDefaults.java,
6398         javax/swing/UIManager.java,
6399         javax/swing/border/AbstractBorder.java,
6400         javax/swing/border/CompoundBorder.java,
6401         javax/swing/colorchooser/AbstractColorChooserPanel.java,
6402         javax/swing/colorchooser/ColorChooserComponentFactory.java,
6403         javax/swing/colorchooser/ColorSelectionModel.java,
6404         javax/swing/colorchooser/DefaultColorSelectionModel.java,
6405         javax/swing/event/AncestorEvent.java,
6406         javax/swing/event/HyperlinkEvent.java,
6407         javax/swing/event/InternalFrameAdapter.java,
6408         javax/swing/event/InternalFrameEvent.java,
6409         javax/swing/event/ListDataEvent.java,
6410         javax/swing/event/MouseInputAdapter.java,
6411         javax/swing/event/SwingPropertyChangeSupport.java,
6412         javax/swing/event/TableModelEvent.java,
6413         javax/swing/event/TreeWillExpandListener.java,
6414         javax/swing/event/UndoableEditEvent.java,
6415         javax/swing/filechooser/FileFilter.java,
6416         javax/swing/filechooser/FileSystemView.java,
6417         javax/swing/filechooser/FileView.java,
6418         javax/swing/plaf/BorderUIResource.java,
6419         javax/swing/plaf/basic/BasicDefaults.java,
6420         javax/swing/table/AbstractTableModel.java,
6421         javax/swing/table/DefaultTableCellRenderer.java,
6422         javax/swing/table/DefaultTableColumnModel.java,
6423         javax/swing/table/DefaultTableModel.java,
6424         javax/swing/table/TableColumn.java,
6425         javax/swing/text/JTextComponent.java,
6426         javax/swing/tree/AbstractLayoutCache.java,
6427         javax/swing/tree/DefaultMutableTreeNode.java,
6428         javax/swing/tree/DefaultTreeCellEditor.java,
6429         javax/swing/tree/DefaultTreeCellRenderer.java,
6430         javax/swing/tree/DefaultTreeModel.java,
6431         javax/swing/tree/DefaultTreeSelectionModel.java,
6432         javax/swing/tree/FixedHeightLayoutCache.java,
6433         javax/swing/tree/TreeCellEditor.java,
6434         javax/swing/tree/TreeModel.java,
6435         javax/swing/tree/TreeNode.java,
6436         javax/swing/tree/TreePath.java,
6437         javax/swing/tree/TreeSelectionModel.java,
6438         javax/swing/tree/VariableHeightLayoutCache.java,
6439         javax/swing/undo/AbstractUndoableEdit.java,
6440         javax/swing/undo/CompoundEdit.java,
6441         javax/swing/undo/StateEdit.java,
6442         javax/swing/undo/UndoManager.java,
6443         javax/swing/undo/UndoableEditSupport.java:
6444         New versions from classpath.
6445         * javax/swing/table/JTableHeader.java:
6446         New file from classpath.
6447         * Makefile.am
6448         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
6449         * Makefile.in: Regenerated.
6450
6451 2003-06-11  Michael Koch  <konqueror@gmx.de>
6452
6453         * java/nio/MappedByteBuffer.java,
6454         java/nio/channels/Channels.java,
6455         java/nio/channels/ServerSocketChannel.java,
6456         java/nio/channels/spi/AbstractSelector.java:
6457         Removed unneeded imports.
6458
6459 2003-06-11  Michael Koch  <konqueror@gmx.de>
6460
6461         * java/net/DatagramSocket.java:
6462         Partly merged with classpath.
6463
6464 2003-06-11  Michael Koch  <konqueror@gmx.de>
6465
6466         * java/awt/Frame.java,
6467         java/awt/Graphics.java,
6468         java/awt/Menu.java,
6469         java/awt/Robot.java,
6470         java/awt/image/ColorModel.java:
6471         New versions from classpath.
6472
6473 2003-06-10  Michael Koch  <konqueror@gmx.de>
6474
6475         * java/io/PrintStream.java:
6476         Merged version from classpath.
6477         (close): Removed sychronized keyword. This class is not garantied to
6478         be thread-safe.
6479         (write): Likewise.
6480
6481 2003-06-09  Tom Tromey  <tromey@redhat.com>
6482
6483         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
6484         field.
6485         (getDescent): Likewise, for "descent".
6486
6487 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
6488
6489         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
6490         (getMaxDescent): adjusted return value.
6491         (getAscent): modified to use metrics for 'O'.
6492         (getDescent): modified to use metrics for 'y'.
6493
6494 2003-06-08  Anthony Green  <green@redhat.com>
6495
6496         * java/net/URLStreamHandler.java (sameFile): Fix port value
6497         comparison.
6498         * java/net/URL.java (handler): Make package private.
6499         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
6500
6501 2003-06-07  Tom Tromey  <tromey@redhat.com>
6502
6503         For PR libgcj/11085:
6504         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
6505         Limit number of characters in numeric field when required.
6506         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
6507         Respect maximumIntegerDigits.
6508
6509 2003-06-08  Michael Koch  <konqueror@gmx.de>
6510
6511         * java/net/Socket.java
6512         (Socket): Dont initialize inputShutdown and outputShutdown twice,
6513         call bind() and connect() to actually do the bind and connect tasks.
6514         (bind): Connect to canonical address if bindpoint is null, create
6515         socket and bind it to bindpoint.
6516         (connect): Check for exceptions.
6517
6518 2003-06-08  Michael Koch  <konqueror@gmx.de>
6519
6520         * java/net/DatagramSocket.java
6521         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
6522         into the Multicast constructors.
6523         * java/net/DatagramSocketImpl.java
6524         (getOption): Removed.
6525         (setOption): Removed.
6526         * java/net/MulticastSocket.java
6527         (MulticastSocket): Call setReuseAddress (true).
6528         * java/net/SocketImpl.java
6529         (getOption): Removed.
6530         (setOption): Removed.
6531
6532 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
6533
6534         PR libgcj/10886:
6535         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
6536         Test for empty vector.
6537
6538 2003-06-06  Mark Wielaard  <mark@klomp.org>
6539
6540         * java/security/Security.java (secprops): Initialize.
6541         (loadProviders): Return boolean.
6542         (static): Check result of loadProvider calls. If necessary
6543         display WARNING and fallback to Gnu provider.
6544
6545 2002-06-06  James Clark  <jjc@jclark.com>
6546
6547         Fix for PR libgcj/8738:
6548         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
6549         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
6550         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
6551         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
6552         (write): Always decrease avail when count is increased.
6553         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
6554         and whether output buffer is full before increasing size.
6555
6556 2002-06-06  Mark Wielaard  <mark@klomp dot org>
6557
6558         * java/io/PrintStream.java (writeChars(char[],int, int)):
6559         Check converter.havePendingBytes().
6560         (writeChars(String,int,int)): Likewise.
6561         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
6562         Check converter.havePendingBytes() and flush buffer when stalled.
6563
6564 2003-06-07  Michael Koch  <konqueror@gmx.de>
6565
6566         * include/posix.h
6567         (O_DSYNC): Define O_DSYNC on platforms not
6568         supporting O_FSYNC (newlib).
6569
6570 2003-06-06  Mark Wielaard  <mark@klomp.org>
6571
6572         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
6573         AWTError.
6574
6575 2003-06-06  Michael Koch  <konqueror@gmx.de>
6576
6577         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6578         More compile fixes from my stupid work yesterday.
6579
6580 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
6581
6582         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
6583         if _IEEE_LIBM is undefined.
6584
6585 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
6586
6587         * libjava/include/posix.h (O_SYNC): Define if not available
6588         and a reasonable, perhaps more conservative, replacement exists.
6589         (O_DSYNC): Likewise.
6590         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
6591
6592 2003-06-05  Michael Koch  <konqueror@gmx.de>
6593
6594         * javax/swing/plaf/BorderUIResource.java,
6595         javax/swing/plaf/basic/BasicDefaults.java,
6596         javax/swing/plaf/basic/BasicOptionPaneUI.java:
6597         More compile fixes for latest Border commit. I should not commit
6598         something in this heat here ...
6599
6600 2003-06-05  Michael Koch  <konqueror@gmx.de>
6601
6602         * javax/swing/border/BevelBorder.java
6603         (BevelBorder): Removed.
6604         * javax/swing/border/EmptyBorder.java:
6605         Reformatted.
6606         (EmptyBorder): Removed.
6607         (getBorderInsets): Dont use l, r, t and b.
6608         * javax/swing/border/EtchedBorder.java
6609         (EtchedBorder): Removed.
6610         * javax/swing/border/LineBorder.java
6611         (LineBorder): Removed.
6612         * javax/swing/border/MatteBorder.java
6613         (MatteBorder): Removed.
6614         * javax/swing/border/TitledBorder.java
6615         (defaultBorder): Use other default for now.
6616         (defaultFont): Likewise.
6617         (defaultColor): Likewise.
6618
6619 2003-06-05  Michael Koch  <konqueror@gmx.de>
6620
6621         * javax/swing/border/Border.java:
6622         New version from classpath.
6623
6624 2003-06-05  Michael Koch  <konqueror@gmx.de>
6625
6626         * javax/swing/border/AbstractBorder.java,
6627         javax/swing/border/BevelBorder.java,
6628         javax/swing/border/CompoundBorder.java,
6629         javax/swing/border/EmptyBorder.java,
6630         javax/swing/border/EtchedBorder.java,
6631         javax/swing/border/LineBorder.java,
6632         javax/swing/border/MatteBorder.java,
6633         javax/swing/border/TitledBorder.java:
6634         New versions from Classpath.
6635
6636 2003-06-05  Michael Koch  <konqueror@gmx.de>
6637
6638         * java/awt/Button.java,
6639         java/awt/Checkbox.java,
6640         java/awt/CheckboxMenuItem.java,
6641         java/awt/Choice.java,
6642         java/awt/Container.java,
6643         java/awt/Dialog.java,
6644         java/awt/EventQueue.java,
6645         java/awt/FileDialog.java,
6646         java/awt/Frame.java,
6647         java/awt/Label.java,
6648         java/awt/List.java,
6649         java/awt/Menu.java,
6650         java/awt/MenuItem.java,
6651         java/awt/Panel.java,
6652         java/awt/PopupMenu.java,
6653         java/awt/Rectangle.java,
6654         java/awt/ScrollPane.java,
6655         java/awt/Scrollbar.java,
6656         java/awt/TextArea.java,
6657         java/awt/TextField.java,
6658         java/awt/Window.java,
6659         java/awt/datatransfer/DataFlavor.java,
6660         java/awt/dnd/DragSource.java,
6661         java/awt/dnd/DragSourceContext.java,
6662         java/awt/event/HierarchyEvent.java,
6663         java/awt/event/MouseWheelEvent.java,
6664         java/awt/im/InputContext.java,
6665         java/awt/image/BufferedImage.java,
6666         java/awt/image/ComponentColorModel.java,
6667         java/awt/image/Raster.java,
6668         java/awt/image/WritableRaster.java,
6669         java/awt/peer/ComponentPeer.java,
6670         java/awt/print/PageFormat.java,
6671         java/awt/print/PrinterJob.java:
6672         New versions from Classpath.
6673
6674 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
6675
6676         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
6677         numberFormat.setParseIntegerOnly(true).
6678
6679 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
6680
6681         * include/posix-threads.h: Include <machine/pal.h> on OSF.
6682
6683 2003-06-03  Andrew Haley  <aph@redhat.com>
6684
6685         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
6686         stack volatile to prevent optimization from removing it.
6687
6688 2003-05-27  Michael Koch  <konqueror@gmx.de>
6689
6690         * java/util/zip/Deflater.java
6691         (FILTERED): Merged documentation from classpath.
6692         * java/util/zip/DeflaterOutputStream.java
6693         (DeflaterOutputStream): Merged documentation and argument validity
6694         check from classpath.
6695         (deflate): Merged documentation from classpath.
6696         (finish): Likewise.
6697         * java/util/zip/Inflater.java
6698         (Inflater): Merged class documentation from classpath.
6699         (zstream): Reordered.
6700         (is_finished): Reordered.
6701         (dict_needed): Reordered.
6702         (Inflater): Reordered, merged documentation from classpath.
6703         (end): Likewise.
6704         (finalize): Merged documentation from classpath.
6705         (finished): Likewise.
6706         (getAdler): Likewise.
6707         (getRemaining): Likewise.
6708         (getTotalIn): Likewise.
6709         (getTotalOut): Likewise.
6710         (inflate): Likewise.
6711         (needsDictionary): Likewise.
6712         (needsInput): Likewise.
6713         (reset): Likewise.
6714         (setDictionary): Likewise.
6715         (setInput): Likewise.
6716
6717 2003-05-27  Michael Koch  <konqueror@gmx.de>
6718
6719         * java/net/URLConnection.java
6720         (getHeaderFieldInt): Merged with classpath.
6721
6722 2003-05-27  Michael Koch  <konqueror@gmx.de>
6723
6724         * java/io/PrintStream.java
6725         (PrintStream): Reformatted.
6726         (PrintStream): New method, merged from classpath.
6727         (write): Reformatted.
6728
6729 2003-05-27  Michael Koch  <konqueror@gmx.de>
6730
6731         * java/lang/System.java:
6732         Explicitely import needed classes.
6733
6734 2003-05-26  Michael Koch  <konqueror@gmx.de>
6735
6736         * java/net/NetPermission.java,
6737         java/net/NetworkInterface.java,
6738         java/net/PasswordAuthentication.java,
6739         java/net/SocketPermission.java:
6740         New versions from classpath.
6741
6742 2003-05-25  Michael Koch  <konqueror@gmx.de>
6743
6744         * java/io/PushbackInputStream.java,
6745         java/net/Authenticator.java,
6746         java/net/ContentHandler.java,
6747         java/net/ContentHandlerFactory.java,
6748         java/net/DatagramSocket.java,
6749         java/net/DatagramSocketImpl.java,
6750         java/net/DatagramSocketImplFactory.java,
6751         java/net/FileNameMap.java,
6752         java/net/SocketImplFactory.java,
6753         java/net/SocketOptions.java,
6754         java/net/URLStreamHandlerFactory.java:
6755         Merged new versions from classpath.
6756
6757 2003-05-25  Michael Koch  <konqueror@gmx.de>
6758
6759         * java/awt/Checkbox.java,
6760         java/awt/Dialog.java,
6761         java/awt/Font.java,
6762         java/awt/Frame.java,
6763         java/awt/ScrollPaneAdjustable.java,
6764         java/awt/Scrollbar.java,
6765         java/awt/Window.java:
6766         New versions from classpath.
6767
6768 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
6769
6770         PR libgcj/10838:
6771         * java/io/ObjectInputStream (enableResolveObject):
6772         Fixed spelling of permission name.
6773
6774 2003-05-20  Michael Koch  <konqueror@gmx.de>
6775
6776         * java/io/DataInputStream.java
6777         (convertFromUTF): Merged comment from classpath.
6778         * java/io/PrintStream.java
6779         (error_occured): Renamed from error, merged comment from classpath.
6780         (PrintStream): No need to initialized error.
6781         (checkError): Replace error with error_occurred.
6782         (setError): Likewise.
6783
6784 2003-05-20  Michael Koch  <konqueror@gmx.de>
6785
6786         * java/io/DataInputStream.java:
6787         Reformatted, Replaced < and & with html entitites in documentation.
6788         * java/io/File.java:
6789         Reformatted.
6790         * java/io/PrintWriter.java:
6791         Moved class documentation.
6792
6793 2003-05-20  Michael Koch  <konqueror@gmx.de>
6794
6795         * gnu/java/nio/ByteBufferImpl.java,
6796         gnu/java/nio/CharBufferImpl.java,
6797         gnu/java/nio/CharViewBufferImpl.java,
6798         gnu/java/nio/DirectByteBufferImpl.java,
6799         gnu/java/nio/DoubleBufferImpl.java,
6800         gnu/java/nio/DoubleViewBufferImpl.java,
6801         gnu/java/nio/FloatBufferImpl.java,
6802         gnu/java/nio/FloatViewBufferImpl.java,
6803         gnu/java/nio/IntBufferImpl.java,
6804         gnu/java/nio/IntViewBufferImpl.java,
6805         gnu/java/nio/LongBufferImpl.java,
6806         gnu/java/nio/LongViewBufferImpl.java,
6807         gnu/java/nio/natDirectByteBufferImpl.cc,
6808         gnu/java/nio/ShortBufferImpl.java,
6809         gnu/java/nio/ShortViewBufferImpl.java:
6810         Moved files to java/nio.
6811         * gnu/java/nio/SocketChannelImpl.java
6812         
6813         * java/nio/ByteBuffer.java,
6814         java/nio/CharBuffer.java,
6815         java/nio/DoubleBuffer.java,
6816         java/nio/FloatBuffer.java,
6817         java/nio/IntBuffer.java,
6818         java/nio/LongBuffer.java,
6819         java/nio/ShortBuffer.java:
6820         Dont import anything.
6821         * java/nio/ByteBufferImpl.java,
6822         java/nio/CharBufferImpl.java,
6823         java/nio/CharViewBufferImpl.java,
6824         java/nio/DirectByteBufferImpl.java,
6825         java/nio/DoubleBufferImpl.java,
6826         java/nio/DoubleViewBufferImpl.java,
6827         java/nio/FloatBufferImpl.java,
6828         java/nio/FloatViewBufferImpl.java,
6829         java/nio/IntBufferImpl.java,
6830         java/nio/IntViewBufferImpl.java,
6831         java/nio/LongBufferImpl.java,
6832         java/nio/LongViewBufferImpl.java,
6833         java/nio/natDirectByteBufferImpl.cc,
6834         java/nio/ShortBufferImpl.java,
6835         java/nio/ShortViewBufferImpl.java:
6836         Moved from gnu/java/nio.
6837         * Makefile.am
6838         (ordinary_java_source_files): Moved files from gnu/java/nio to
6839         java/nio.
6840         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
6841         to java/nio.
6842         * Makefile.in: Regenerated.
6843
6844 2003-05-19  Michael Koch  <konqueror@gmx.de>
6845
6846         * java/util/Calendar.java
6847         (get): Not final anymore since JDK 1.4
6848         (set): Likewise.
6849
6850 2003-05-19  Michael Koch  <konqueror@gmx.de>
6851
6852         * java/text/CollationKey.java:
6853         Merged copyright and dat from classpath.
6854         * java/text/RuleBasedCollator.java:
6855         Merged class documentation from classpath.
6856
6857 2003-05-19  Michael Koch  <konqueror@gmx.de>
6858
6859         * java/nio/CharBuffer.java
6860         (toString): Compile fix.
6861
6862 2003-05-19  Michael Koch  <konqueror@gmx.de>
6863
6864         * gnu/java/nio/ByteBufferImpl.java
6865         (putLong): Fixed conversion to bytes.
6866         (putDouble): Fixed conversion to bytes.
6867         * gnu/java/nio/DirectByteBufferImpl.java
6868         (putLong): Fixed conversion to bytes.
6869         (putDouble): Fixed conversion to bytes.
6870         * gnu/java/nio/FileLockImpl.java
6871         (isValid): Reformatted.
6872         * java/nio/Buffer.java
6873         (Buffer): Fixed off-by-one bug in handling mark.
6874         * java/nio/ByteBuffer.java:
6875         Added newline.
6876         * java/nio/CharBuffer.java
6877         (toString): Don't use relative get to get string data.
6878
6879 2003-05-16  Michael Koch  <konqueror@gmx.de>
6880
6881         * java/io/natFileDescriptorPosix.cc
6882         (open): Commented out the O_SYNC and O_DSYNC usage until its better
6883         tested.
6884
6885 2003-05-14  Michael Koch  <konqueror@gmx.de>
6886
6887         * gnu/java/nio/FileLockImpl.java
6888         (released): New member variable.
6889         (FileLockImpl): Initialize released.
6890         (releaseImpl): New native method.
6891         (release): Implemented.
6892         * gnu/java/nio/SelectorImpl.java: Reformatted.
6893         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
6894         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
6895         (accept): Throws IOException.
6896         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
6897         (implConfigureBlocking): Throws IOException.
6898         (connect): Likewise.
6899         (read): Likewise.
6900         (write): Likewise.
6901         * gnu/java/nio/natFileLockImpl.cc: New file.
6902         * java/nio/channels/FileLock.java: Reformatted.
6903         * Makefile.am:
6904         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
6905         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
6906         * Makefile.in: Regenerated.
6907
6908 2003-05-13  Michael Koch  <konqueror@gmx.de>
6909
6910         * gnu/java/nio/CharViewBufferImpl.java
6911         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
6912         (get): Shift bits to the right direction.
6913         (put): Likewise.
6914         * gnu/java/nio/DoubleViewBufferImpl.java
6915         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
6916         (get): Shift bits to the right direction.
6917         (put): Likewise.
6918         * gnu/java/nio/FloatViewBufferImpl.java
6919         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
6920         (get): Shift bits to the right direction.
6921         (put): Likewise.
6922         * gnu/java/nio/IntViewBufferImpl.java
6923         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
6924         (get): Shift bits to the right direction.
6925         (put): Likewise.
6926         * gnu/java/nio/LongViewBufferImpl.java
6927         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
6928         (get): Shift bits to the right direction.
6929         (put): Likewise.
6930         * gnu/java/nio/ShortViewBufferImpl.java
6931         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
6932         (get): Shift bits to the right direction.
6933         (put): Likewise.
6934
6935 2003-05-13  Michael Koch  <konqueror@gmx.de>
6936
6937         * gnu/java/nio/natDirectByteBufferImpl.cc
6938         (allocateImpl): jlong -> RawData*.
6939         (freeImpl): Likewise.
6940
6941 2003-05-13  Michael Koch  <konqueror@gmx.de>
6942
6943         * java/nio/channels/FileChannel.java
6944         (MapMode.m): Made it package-private to match JDK 1.4.
6945         * java/nio/charset/Charset.java
6946         (decode): Made it final to match JDK 1.4.
6947
6948 2003-05-13  Michael Koch  <konqueror@gmx.de>
6949
6950        * java/io/FileDescriptor.java
6951        (SYNC): New constant.
6952        (DSYNC): Likewise.
6953        (getLength): Renamed from lenght() to match classpath's
6954        FileDescriptor.java.
6955        * java/io/RandomAccessFile.java
6956        (RandomAccessFile): Removed unneeded mode check, implemented mode
6957        "rws" and "rwd", merged documentation from classpath.
6958        (setLength): Reformatted.
6959        (length): Use new getLength() of FileDescriptor.
6960        * java/io/natFileDescriptorEcos.cc
6961        (getLength): Renamed from length().
6962        * java/io/natFileDescriptorPosix.cc
6963        (open): Implemented support for SYNC and DSYNC.
6964        (seek): Use getLength() instead of length().
6965        (getLength): Renamed from length().
6966        * java/io/natFileDescriptorWin32.cc
6967        (getLength): Renamed from length().
6968        (seek): Use getLength() instead of length().
6969        (available): Likewise.
6970        * gnu/java/nio/natFileChannelImpl.cc
6971        (size): Use getLength() instead of length().
6972
6973 2003-05-13  Michael Koch  <konqueror@gmx.de>
6974
6975         * gnu/java/nio/ByteBufferImpl.java
6976         (ByteBufferImpl): All constructors revised.
6977         (slice): Reimplemented.
6978         (duplicate): Reimplemented.
6979         (asReadOnlyBuffer): Reimplemented.
6980         * java/nio/ByteBuffer.java:
6981         Reformatted.
6982         (array_offset): Renamed from "offset" to match all other buffer
6983         classes.
6984         (ByteBuffer): All constructors revised.
6985         (allocateDirect): Implemented.
6986         (allocate): New implementation, documentation reworked.
6987         (wrap): Likewise.
6988         (get): Documentation reworked.
6989         (put): New implementation, documentation reworked.
6990         (hasArray): Documentation reworked.
6991         (arrayOffset): Likewise.
6992         (hashCode): Likewise.
6993         (equals): Likewise.
6994         (compareTo): Likewise.
6995         (order): Likewise.
6996         (compact): Likewise.
6997         (isDirect): Likewise.
6998         (slice): Likewise.
6999         (duplicate): Likewise.
7000         (asReadOnlyBuffer): Likewise.
7001         * Makefile.am
7002         (ordinary_java_source_files):
7003         Added gnu/java/nio/DirectByteBufferImpl.java.
7004         (nat_source_files):
7005         Added gnu/java/nio/natDirectByteBufferImpl.cc.
7006         * Makefile.in: Regenerated.
7007
7008 2003-05-12  Michael Koch  <konqueror@gmx.de>
7009
7010         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
7011         (nio_get_*): Removed.
7012         (nio_put_*): Removed.
7013         (as*Buffer): Implemented.
7014         (compact): Implemented.
7015         (get): Documentation added.
7016         (put): Documentation added.
7017         (get*): Newly implemented.
7018         (put*): Newly implemented.
7019         * gnu/java/nio/CharBufferImpl.java: Reformatted.
7020         (CharBufferImpl): Revised.
7021         (slice): New implementation.
7022         (duplicate): New implementation.
7023         (compact): New implementation.
7024         (asReadOnlyBuffer): New implementation.
7025         (get): Documentation revised.
7026         (order): Return native byte order.
7027         * gnu/java/nio/DirectByteBufferImpl.java
7028         (allocateDirect): objects can be null not 0.
7029         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
7030         (DoubleBufferImpl): Revised.
7031         (slice): New implementation.
7032         (duplicate): New implementation.
7033         (compact): New implementation.
7034         (asReadOnlyBuffer): New implementation.
7035         (get): Documentation revised.
7036         (order): Return native byte order.
7037         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
7038         (FloatBufferImpl): Revised.
7039         (slice): New implementation.
7040         (duplicate): New implementation.
7041         (compact): New implementation.
7042         (asReadOnlyBuffer): New implementation.
7043         (get): Documentation revised.
7044         (order): Return native byte order.
7045         * gnu/java/nio/IntBufferImpl.java: Reformatted.
7046         (IntBufferImpl): Revised.
7047         (slice): New implementation.
7048         (duplicate): New implementation.
7049         (compact): New implementation.
7050         (asReadOnlyBuffer): New implementation.
7051         (get): Documentation revised.
7052         (order): Return native byte order.
7053         * gnu/java/nio/LongBufferImpl.java: Reformatted.
7054         (LongBufferImpl): Revised.
7055         (slice): New implementation.
7056         (duplicate): New implementation.
7057         (compact): New implementation.
7058         (asReadOnlyBuffer): New implementation.
7059         (get): Documentation revised.
7060         (order): Return native byte order.
7061         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
7062         (ShortBufferImpl): Revised.
7063         (slice): New implementation.
7064         (duplicate): New implementation.
7065         (compact): New implementation.
7066         (asReadOnlyBuffer): New implementation.
7067         (get): Documentation revised.
7068         (order): Return native byte order.
7069         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
7070         (CharBuffer): Revised.
7071         (order): Removed.
7072         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
7073         (DoubleBuffer): Revised.
7074         (allocateDirect): Removed.
7075         (order): Removed.
7076         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
7077         (FloatBuffer): Revised.
7078         (allocateDirect): Removed.
7079         (order): Removed.
7080         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
7081         (IntBuffer): Revised.
7082         (allocateDirect): Removed.
7083         (order): Removed.
7084         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
7085         (LongBuffer): Revised.
7086         (allocateDirect): Removed.
7087         (order): Removed.
7088         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
7089         (ShortBuffer): Revised.
7090         (allocateDirect): Removed.
7091         (order): Removed.
7092         * gnu/java/nio/natByteBufferImpl.cc: Removed.
7093         * gnu/java/nio/natCharBufferImpl.cc: Removed.
7094         * Makefile.am
7095         (ordinary_java_source_files): Added the following files:
7096         gnu/java/nio/CharViewBufferImpl.java,
7097         gnu/java/nio/DoubleViewBufferImpl.java,
7098         gnu/java/nio/FloatViewBufferImpl.java,
7099         gnu/java/nio/IntViewBufferImpl.java,
7100         gnu/java/nio/LongViewBufferImpl.java,
7101         gnu/java/nio/ShortViewBufferImpl.java
7102         (nat_source_files): Removed the following files:
7103         gnu/java/nio/natByteBufferImpl.cc,
7104         gnu/java/nio/natCharBufferImpl.cc
7105         * Makefile.in: Regenerated.
7106
7107 2003-05-12  Michael Koch  <konqueror@gmx.de>
7108
7109         * gnu/java/nio/CharViewBufferImpl.java,
7110         gnu/java/nio/DirectByteBufferImpl.java,
7111         gnu/java/nio/DoubleViewBufferImpl.java,
7112         gnu/java/nio/FloatViewBufferImpl.java,
7113         gnu/java/nio/IntViewBufferImpl.java,
7114         gnu/java/nio/LongViewBufferImpl.java,
7115         gnu/java/nio/ShortViewBufferImpl.java,
7116         gnu/java/nio/natDirectByteBufferImpl.cc:
7117         New files, not yet to be compiled.
7118
7119 2003-05-10  Michael Koch  <konqueror@gmx.de>
7120
7121         * javax/swing/plaf/ButtonUI.java,
7122         javax/swing/plaf/ColorUIResource.java,
7123         javax/swing/plaf/ComponentUI.java,
7124         javax/swing/plaf/DimensionUIResource.java,
7125         javax/swing/plaf/FontUIResource.java,
7126         javax/swing/plaf/IconUIResource.java,
7127         javax/swing/plaf/InsetsUIResource.java,
7128         javax/swing/plaf/LabelUI.java,
7129         javax/swing/plaf/ListUI.java,
7130         javax/swing/plaf/OptionPaneUI.java,
7131         javax/swing/plaf/PanelUI.java,
7132         javax/swing/plaf/TabbedPaneUI.java,
7133         javax/swing/plaf/TextUI.java,
7134         javax/swing/plaf/TreeUI.java,
7135         javax/swing/plaf/ViewportUI.java,
7136         javax/swing/plaf/basic/BasicBorders.java,
7137         javax/swing/plaf/basic/BasicButtonUI.java,
7138         javax/swing/plaf/basic/BasicCheckBoxUI.java,
7139         javax/swing/plaf/basic/BasicDefaults.java,
7140         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7141         javax/swing/plaf/basic/BasicIconFactory.java,
7142         javax/swing/plaf/basic/BasicLabelUI.java,
7143         javax/swing/plaf/basic/BasicListUI.java,
7144         javax/swing/plaf/basic/BasicOptionPaneUI.java,
7145         javax/swing/plaf/basic/BasicPanelUI.java,
7146         javax/swing/plaf/basic/BasicRadioButtonUI.java,
7147         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7148         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7149         javax/swing/plaf/basic/BasicTextUI.java,
7150         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7151         javax/swing/plaf/basic/BasicTreeUI.java,
7152         javax/swing/plaf/basic/BasicViewportUI.java,
7153         javax/swing/plaf/metal/MetalLookAndFeel.java:
7154         New versions from classpath. This adds copyrights to all files and
7155         some serialVersionUIDs.
7156
7157 2003-05-10  Michael Koch  <konqueror@gmx.de>
7158
7159         * java/nio/CharBuffer.java
7160         (offset): Make it package-private.
7161         (backing_buffer): Likewise.
7162         * java/nio/DoubleBuffer.java
7163         (offset): Make it package-private.
7164         (backing_buffer): Likewise.
7165         (put): Reformatted.
7166         * java/nio/FloatBuffer.java
7167         (offset): Make it package-private.
7168         (backing_buffer): Likewise.
7169         * java/nio/IntBuffer.java
7170         (offset): Make it package-private.
7171         (backing_buffer): Likewise.
7172         * java/nio/LongBuffer.java
7173         (offset): Make it package-private.
7174         (backing_buffer): Likewise.
7175         * java/nio/ShortBuffer.java
7176         (offset): Make it package-private.
7177         (backing_buffer): Likewise.
7178
7179 2003-05-10  Michael Koch  <konqueror@gmx.de>
7180
7181         * java/nio/CharBuffer.java
7182         (put): Fixed precondtion check.
7183         (toString): Make it work without backing array.
7184         (put): Skip one level of method calling.
7185
7186 2003-05-10  Michael Koch  <konqueror@gmx.de>
7187
7188         * java/security/Identity.java,
7189         java/security/IdentityScope.java,
7190         java/security/Key.java,
7191         java/security/KeyPair.java,
7192         java/security/PrivateKey.java,
7193         java/security/Provider.java,
7194         java/security/PublicKey.java,
7195         java/security/SecureRandom.java,
7196         java/security/SecureRandomSpi.java,
7197         java/security/SignedObject.java,
7198         java/security/Signer.java,
7199         java/security/cert/Certificate.java,
7200         java/security/cert/PKIXCertPathBuilderResult.java,
7201         java/security/cert/X509Certificate.java:
7202         New versions from classpath.
7203
7204 2003-05-09  Tom Tromey  <tromey@redhat.com>
7205
7206         * Makefile.in: Rebuilt.
7207         * Makefile.am (nat_source_files): Removed old files.
7208         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
7209         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
7210         * gnu/java/nio/natIntBufferImpl.cc: Removed.
7211         * gnu/java/nio/natLongBufferImpl.cc: Removed.
7212         * gnu/java/nio/natShortBufferImpl.cc: Removed.
7213
7214 2003-05-09  Michael Koch  <konqueror@gmx.de>
7215
7216         * gnu/java/nio/ByteBufferImpl.java
7217         (nio_cast): Removed.
7218         (ByteBufferImpl): Removed.
7219         (nio_get_Byte): Removed.
7220         (nio_put_Byte): Removed.
7221         (asByteBuffer): Removed.
7222         (asCharBuffer): Removed implementation and throw exception.
7223         (asShortBuffer): Likewise.
7224         (asIntBuffer): Likewise.
7225         (asLongBuffer): Likewise.
7226         (asFloatBuffer): Likewise.
7227         (asDoubleBuffer): Likewise.
7228         * gnu/java/nio/CharBufferImpl.java
7229         (CharBufferImpl): Removed.
7230         (nio_get_Byte): Removed.
7231         (nio_put_Byte): Removed.
7232         (asByteBuffer): Removed.
7233         * gnu/java/nio/DoubleBufferImpl.java
7234         (DoubleBufferImpl): Removed.
7235         (nio_get_Byte): Removed.
7236         (nio_put_Byte): Removed.
7237         (asByteBuffer): Removed.
7238         * gnu/java/nio/FloatBufferImpl.java
7239         (FloatBufferImpl): Removed.
7240         (nio_get_Byte): Removed.
7241         (nio_put_Byte): Removed.
7242         (asByteBuffer): Removed.
7243         * gnu/java/nio/IntBufferImpl.java
7244         (IntBufferImpl): Removed.
7245         (nio_get_Byte): Removed.
7246         (nio_put_Byte): Removed.
7247         (asByteBuffer): Removed.
7248         * gnu/java/nio/LongBufferImpl.java
7249         (LongBufferImpl): Removed.
7250         (nio_get_Byte): Removed.
7251         (nio_put_Byte): Removed.
7252         (asByteBuffer): Removed.
7253         * gnu/java/nio/ShortBufferImpl.java
7254         (ShortBufferImpl): Removed.
7255         (nio_get_Byte): Removed.
7256         (nio_put_Byte): Removed.
7257         (asByteBuffer): Removed.
7258         * gnu/java/nio/natByteBufferImpl.cc
7259         (nio_cast): Removed.
7260         (nio_get_Byte): Removed.
7261         (nio_put_Byte): Removed.
7262         * gnu/java/nio/natCharBufferImpl.cc
7263         (nio_get_Byte): Removed.
7264         (nio_put_Byte): Removed.
7265
7266 2003-05-09  Michael Koch  <konqueror@gmx.de>
7267
7268         * java/net/JarURLConnection.java
7269         (getJarEntry): Merged documentation from classpath.
7270         (getJarFile): Likewise.
7271         (getMainAttributes): Likewise.
7272         (getAttributes): Likewise.
7273         (getManifest): Likewise.
7274         (getCertificates): Reformatted.
7275         * java/net/URLConnection.java:
7276         Little classpath merge.
7277
7278 2003-05-09  Michael Koch  <konqueror@gmx.de>
7279
7280         * java/io/DataOutputStream.java
7281         (writeShort): Made it synchronized.
7282         (writeChar): Likewise.
7283         (writeInt): Likewise.
7284         (writeLong): Liekwise.
7285         (writeUTF): Made it synchronized, renamed argument to match classpath.
7286         * java/io/InputStreamReader.java
7287         (converter): Added documentation.
7288         (read): Merged documentation from classpath.
7289         * java/io/OutputStreamWriter.java
7290         (OutputStreamWriter): Merged documentation from classpath.
7291         (close): Reformatted.
7292         (getEncoding): Likewise.
7293         (flush): Likewise.
7294         (write): Merged documentation from classpath, reformatted.
7295
7296 2003-05-08  Tom Tromey  <tromey@redhat.com>
7297
7298         * configure.host <powerpc64*-*>: Set with_libffi_default and
7299         libgcj_interpreter to "yes".
7300
7301 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
7302
7303         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
7304         
7305 2003-05-06  Tom Tromey  <tromey@redhat.com>
7306
7307         * verify.cc: Reverted previous patch.
7308
7309 2003-05-06  Michael Koch  <konqueror@gmx.de>
7310
7311         * java/io/DataOutputStream.java
7312         (write): Renamed argument to "value", merged documentation from
7313         classpath.
7314         (writeBoolean): Likewise.
7315         (writeByte): Likewise.
7316         (writeShort): Likewise.
7317         (writeChar): Likewise.
7318         (writeInt): Likewise.
7319         (writeLong): Likewise.
7320         (writeFloat): Likewise.
7321         (writeDouble): Likewise.
7322         (writeBytes): Likewise.
7323         (writeChars): Likewise.
7324         (writeUTF): Likewise.
7325         * java/io/File.java
7326         (performDelete): Added documentation.
7327         (performList): Likewise.
7328         (performMkdir): Likewise.
7329         (performSetReadOnly): Likewise.
7330         (performRenameTo): Likewise.
7331         (performSetLastModified): Likewise.
7332         (delete): Made it sychronized.
7333         (renameTo): Made it sychronized.
7334         (equals): Reformatted.
7335         (isHidden): Likewise.
7336         (listFiles): Likewise.
7337         (setReadOnly): Likewise.
7338         (listRoots): Likewise.
7339         (setLastModified): Likewise.
7340         (checkRead): Likewise.
7341         (checkWrite): Likewise.
7342         * java/io/FileInputStream.java
7343         (skip): Made it sychronized, merged from classpath.
7344         * java/io/FileOutputStream.java
7345         (write): Merged from classpath.
7346         * java/io/InputStreamReader.java:
7347         (InputStreamReader): Merged documentation from classpath.
7348
7349 2003-05-05  Michael Koch  <konqueror@gmx.de>
7350
7351         * java/net/NetworkInterface.java
7352         (networkInterfaces): Removed.
7353         (getByName): Use getRealNetworkInterfaces() instead of
7354         networkInterfaces.
7355         (getByInetAddress): Likewise.
7356         (getNetworkInterfaces): Likewise.
7357         (toString): Fix output of addresses of an interface.
7358
7359 2003-05-05  Michael Koch  <konqueror@gmx.de>
7360
7361         * java/io/DataInputStream.java:
7362         Merged new documentation from classpath.
7363
7364 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
7365
7366         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
7367         "version".
7368         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
7369         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
7370         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
7371         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
7372         * gnu/awt/gtk/GtkMainThread.java: Likewise.
7373         * gnu/awt/gtk/GtkToolkit.java: Likewise.
7374         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
7375         * java/security/Key.java: Likewise.
7376         * java/security/PrivateKey.java: Likewise.
7377         * java/security/Provider.java: Likewise.
7378         * java/security/PublicKey.java: Likewise.
7379
7380 2003-05-02  Michael Koch  <konqueror@gmx.de>
7381
7382         * java/net/URI.java
7383         (create): Doesnt throws any exceptions.
7384         * java/net/URLConnection.java
7385         (URLConnection): Commend added.
7386         (getExpiration): The header field is called "expires" not
7387         "expiration".
7388         (getHeaderField): Merged documentation with classpath.
7389         (getHeaderFieldInt): Likewise.
7390         (getHeaderFieldDate): Likewise.
7391         (getHeaderFieldKey): Likewise.
7392         (getPermission): Likewise.
7393         (setDefaultUseCaches): Likewise.
7394         (setRequestProperty): Likewise.
7395         (addRequestProperty): Likewise.
7396         (getRequestProperty): Likewise.
7397         (getRequestProperties): Likewise.
7398         (setDefaultRequestProperty): Likewise.
7399         (getDefaultRequestProperty): Likewise.
7400         (guessContentTypeFromStream): Likewise.
7401         (getFileNameMap): Likewise.
7402         (setFileNameMap): Likewise.
7403         (setDoInput): Merged implementation and documentation with classpath.
7404         (setDoOutput): Likewise.
7405         (setAllowUserInteraction): Likewise.
7406         (setDefaultAllowUserInteraction): Likewise.
7407         (setContentHandlerFactory): Made it synchronized, merged documentation
7408         with classpath.
7409         (guessContentTypeFromName): Renamed argument fname to filename to
7410         match classpath, merged documentation with classpath.
7411
7412 2003-05-02  Michael Koch  <konqueror@gmx.de>
7413
7414         * java/net/JarURLConnection.java
7415         (JarURLConnection): Class documentation merged with classpath.
7416         (getJarFileURL): Moved and documentation merged with classpath.
7417         (getEntryName): Likewise.
7418         (JarURLConnection): Documentation merged with classpath.
7419         (getJarEntry): Likewise.
7420         (getJarFile): Likewise.
7421         * java/net/PlainDatagramSocketImpl.java:
7422         Class documentation moved.
7423         * java/net/URLConnection.java
7424         (fileNameMap): Moved and documentation merged with classpath.
7425         (factory): Likewise.
7426         (defaultAllowUserInteraction): Likewis.
7427         (defaultUseCaches): Likewise.
7428         (allowUserInteraction): Likewise.
7429         (connected): Likewise.
7430         (url): Likewise.
7431         (connect): Documentation merged with classpath.
7432         (getURL): Likewise.
7433         (getContentLength): Likewise.
7434         (getContentType): Likewise.
7435         (getContentEncoding): Likewise.
7436         (getExpiration): Likewise.
7437         (getDate): Likewise.
7438         (getLastModified): Likewise.
7439         (getHeaderField): Likewise.
7440         (getContent): Likewise.
7441         (getPermission): Likewise.
7442         (getInputStream): Likewise.
7443         (getOutputStream): Likewise.
7444         (toString): Likewise.
7445         (getDoInput): Likewise.
7446         (getDoOutput): Likewise.
7447         (setAllowUserInteraction): Likewise.
7448         (getAllowUserInteraction): Likewise.
7449         (setDefaultAllowUserInteraction): Likewise.
7450         (getDefaultAllowUserInteraction): Likewise.
7451         (setUseCaches): Likewise.
7452         (getUseCaches): Likewise.
7453         (setIfModifiedSince): Likewise.
7454         (getIfModifiedSince): Likewise.
7455         (setDefaultRequestProperty): Likewise.
7456         (getDefaultRequestProperty): Likewise.
7457         (setContentHandlerFactory): Likewise.
7458         (setFileNameMap): Likewise.
7459
7460 2003-05-02  Michael Koch  <konqueror@gmx.de>
7461
7462         * java/net/InetAddress.java:
7463         Merged class documentation with classpath.
7464         * java/net/JarURLConnection.java:
7465         Explicitely import all used classes.
7466         * java/net/URL.java:
7467         Reformatting.
7468         * java/net/ServerSocket.java,
7469         java/net/Socket.java:
7470         New versions from classpath.
7471
7472 2003-05-02  Michael Koch  <konqueror@gmx.de>
7473
7474         * gnu/java/nio/FileChannelImpl.java
7475         (read): New implementation.
7476         (implRead): New methods.
7477         (write): New implementation, call other write insteal of read method.
7478         (implWrite): New methods.
7479         (map): Added comment.
7480         (transferFrom): Implemented.
7481         (transferTo): Implemented.
7482         (lock): Added checks to throw exceptions.
7483         (truncate): Added check to throw exception.
7484         * gnu/java/nio/natFileChannelImpl.cc
7485         (implRead): New method.
7486         (implWrite): New method.
7487         * java/nio/ByteBuffer.java
7488         (hashCode): Fixed comment.
7489         (get): Fixed exception documentation.
7490         (put): Fixed exception documentation.
7491         * java/nio/CharBuffer.java:
7492         Added comment for later optimizations.
7493
7494 2003-04-30  Tom Tromey  <tromey@redhat.com>
7495
7496         PR libgcj/10582:
7497         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
7498         Removed.
7499         (type::compatible): Use _Jv_IsAssignableFrom.
7500         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
7501         (_Jv_IsAssignableFrom): Work even when source or target class is
7502         not prepared.
7503
7504 2003-04-30  Michael Koch  <konqueror@gmx.de>
7505
7506         * java/text/BreakIterator.java
7507         (clone): New method.
7508
7509 2003-04-30  Michael Koch  <konqueror@gmx.de>
7510
7511         * java/text/CollationElementIterator.java,
7512         java/text/CollationKey.java,
7513         java/text/RuleBasedCollator.java:
7514         Merged copyright and documentation from classpath and
7515         rearranged some code. No code changes done.
7516
7517 2003-04-30  Michael Koch  <konqueror@gmx.de>
7518
7519         * java/util/regex/Matcher.java
7520         (pattern): New member variable.
7521         (appendReplacement): New method.
7522         (appendTail): New method.
7523         (end): New method.
7524         (find): New method.
7525         (group): New method.
7526         (replaceFirst): Added documentation.
7527         (replaceAll): Added documentation.
7528         (groupCount): New method.
7529         (lookingAt): New method.
7530         (matches): New method.
7531         (reset): New method.
7532         (start): New method.
7533         * java/util/regex/Pattern.java
7534         (serialVersionUID): New constant.
7535         (CANON_EQ): New constant.
7536         (CASE_INSENSITIVE): New constant.
7537         (COMMENTS): New constant.
7538         (DOTALL): New constant.
7539         (MULTILINE): New constant.
7540         (UNICODE_CASE): New constant.
7541         (UNIX_LINES): New constant.
7542         (regex): New member variable.
7543         (flags): New member variable.
7544         (Pattern): New method.
7545         (compile): Documentation added.
7546         (flags): New method.
7547         (matches): Documentation added.
7548         (matcher): Documentation added.
7549         (split): Documentation added.
7550         (pattern): New method.
7551
7552 2003-04-30  Michael Koch  <konqueror@gmx.de>
7553
7554         * gnu/java/security/Engine.java,
7555         gnu/java/security/OID.java,
7556         gnu/java/security/der/BitString.java,
7557         gnu/java/security/der/DER.java,
7558         gnu/java/security/der/DERReader.java,
7559         gnu/java/security/der/DERValue.java,
7560         gnu/java/security/der/DERWriter.java,
7561         gnu/java/security/provider/DSAKeyFactory.java,
7562         gnu/java/security/provider/X509CertificateFactory.java,
7563         gnu/java/security/x509/X500DistinguishedName.java,
7564         gnu/java/security/x509/X509CRL.java,
7565         gnu/java/security/x509/X509CRLEntry.java,
7566         gnu/java/security/x509/X509Certificate.java,
7567         java/security/cert/CRLSelector.java,
7568         java/security/cert/CertPathBuilder.java,
7569         java/security/cert/CertPathBuilderResult.java,
7570         java/security/cert/CertPathBuilderSpi.java,
7571         java/security/cert/CertPathParameters.java,
7572         java/security/cert/CertPathValidator.java,
7573         java/security/cert/CertPathValidatorResult.java,
7574         java/security/cert/CertPathValidatorSpi.java,
7575         java/security/cert/CertSelector.java,
7576         java/security/cert/CertStore.java,
7577         java/security/cert/CertStoreParameters.java,
7578         java/security/cert/CertStoreSpi.java,
7579         java/security/cert/CollectionCertStoreParameters.java,
7580         java/security/cert/LDAPCertStoreParameters.java,
7581         java/security/cert/PKIXBuilderParameters.java,
7582         java/security/cert/PKIXCertPathBuilderResult.java,
7583         java/security/cert/PKIXCertPathChecker.java,
7584         java/security/cert/PKIXCertPathValidatorResult.java,
7585         java/security/cert/PKIXParameters.java,
7586         java/security/cert/PolicyNode.java,
7587         java/security/cert/PolicyQualifierInfo.java,
7588         java/security/cert/TrustAnchor.java,
7589         javax/security/auth/x500/X500Principal.java:
7590         New files from classpath.
7591         * gnu/java/io/ASN1ParsingException.java,
7592         gnu/java/io/Base64InputStream.java,
7593         gnu/java/security/der/DEREncodingException.java,
7594         gnu/java/security/provider/DSAParameters.java,
7595         gnu/java/security/provider/DSASignature.java,
7596         gnu/java/security/provider/Gnu.java,
7597         gnu/java/security/provider/GnuDSAPrivateKey.java,
7598         gnu/java/security/provider/GnuDSAPublicKey.java,
7599         java/security/AlgorithmParameterGenerator.java,
7600         java/security/AlgorithmParameters.java,
7601         java/security/KeyFactory.java,
7602         java/security/KeyPairGenerator.java,
7603         java/security/KeyStore.java,
7604         java/security/MessageDigest.java,
7605         java/security/SecureClassLoader.java,
7606         java/security/SecureRandom.java,
7607         java/security/Security.java,
7608         java/security/Signature.java,
7609         java/security/cert/Certificate.java,
7610         java/security/cert/CertificateFactory.java,
7611         java/security/cert/CertificateFactorySpi.java,
7612         java/security/cert/X509CRL.java,
7613         java/security/cert/X509Certificate.java,
7614         java/security/spec/DSAPublicKeySpec.java:
7615         New versions from classpath.
7616         * gnu/java/security/provider/DERReader.java,
7617         gnu/java/security/provider/DERWriter.java,
7618         java/security/Engine.java: Removed.
7619         * Makefile.am
7620         (java_source_files, javax_source_files): Added new files.
7621         * Makefile.in: Regenerated.
7622
7623 2003-04-29  Michael Koch  <konqueror@gmx.de>
7624
7625         * javax/swing/JTable.java
7626         (AUTO_RESIZE_ALL_COLUMNS): New constant.
7627         (AUTO_RESIZE_LAST_COLUMN): New constant.
7628         (AUTO_RESIZE_NEXT_COLUMN): New constant.
7629         (AUTO_RESIZE_OFF): New constant.
7630         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
7631         (JTable): New method.
7632         (columnAdded): New method.
7633         (columnMarginChanged): New method.
7634         (columnMoved): New method.
7635         (columnRemoved): New method.
7636         (columnSelectionChanged): New method.
7637         (editingCanceled): New method.
7638         (editingStopped): New method.
7639         (getColumnModel): New method.
7640         (getPreferredScrollableViewportSize): New method.
7641         (getScrollableBlockIncrement): New method.
7642         (getScrollableTracksViewportHeight): New method.
7643         (getScrollableTracksViewportWidth): New method.
7644         (getScrollableUnitIncrement): New method.
7645         (getSelectedRow): New method.
7646         (getSelectionModel): New method.
7647         (tableChanged): New method.
7648         (setModel): New method.
7649         (setSelectionMode): New method.
7650         (setSelectionModel): New method.
7651         (setShowGrid): New method.
7652         (valueChanged): New method.
7653         * javax/swing/text/DefaultEditorKit.java
7654         (backwardAction): New constant.
7655         (beepAction): New constant.
7656         (beginAction): New constant.
7657         (beginLineAction): New constant.
7658         (beginParagraphAction): New constant.
7659         (beginWordAction): New constant.
7660         (copyAction): New constant.
7661         (cutAction): New constant.
7662         (defaultKeyTypedAction): New constant.
7663         (deleteNextCharAction): New constant.
7664         (deletePrevCharAction): New constant.
7665         (downAction): New constant.
7666         (endAction): New constant.
7667         (endLineAction): New constant.
7668         (endOfLineStringProperty): New constant.
7669         (endParagraphAction): New constant.
7670         (endWordAction): New constant.
7671         (forwardAction): New constant.
7672         (insertBreakAction): New constant.
7673         (insertContentAction): New constant.
7674         (insertTabAction): New constant.
7675         (nextWordAction): New constant.
7676         (pageDownAction): New constant.
7677         (pageUpAction): New constant.
7678         (pasteAction): New constant.
7679         (previousWordAction): New constant.
7680         (readOnlyAction): New constant.
7681         (selectAllAction): New constant.
7682         (selectionBackwardAction): New constant.
7683         (selectionBeginAction): New constant.
7684         (selectionBeginLineAction): New constant.
7685         (selectionBeginParagraphAction): New constant.
7686         (selectionBeginWordAction): New constant.
7687         (selectionDownAction): New constant.
7688         (selectionEndAction): New constant.
7689         (selectionEndLineAction): New constant.
7690         (selectionEndParagraphAction): New constant.
7691         (selectionEndWordAction): New constant.
7692         (selectionForwardAction): New constant.
7693         (selectionNextWordAction): New constant.
7694         (selectionPreviousWordAction): New constant.
7695         (selectionUpAction): New constant.
7696         (selectLineAction): New constant.
7697         (selectParagraphAction): New constant.
7698         (selectWordAction): New constant.
7699         (upAction): New constant.
7700         (writableAction): New constant.
7701
7702 2003-04-29  Michael Koch  <konqueror@gmx.de>
7703
7704         * java/util/PropertyPermission.java:
7705         New version from classpath
7706         * java/util/ResourceBundle.java:
7707         Partly merged from classpath
7708         (getObject): Reformated.
7709         (tryBundle): Set foundBundle = null if no bundle found.
7710
7711 2003-04-29  Michael Koch  <konqueror@gmx.de>
7712
7713         * javax/swing/AbstractListModel.java,
7714         javax/swing/DefaultBoundedRangeModel.java,
7715         javax/swing/DefaultSingleSelectionModel.java:
7716         New Versions from classpath.
7717
7718 2003-04-29  Michael Koch  <konqueror@gmx.de>
7719
7720         * java/awt/Window.java
7721         (show): Call super.show() instead of setVisible() to avoid endless
7722         loop.
7723         (hide): Call super.hide() instead of setVisible() to avoid endless
7724         loop.
7725
7726 2003-04-29  Michael Koch  <konqueror@gmx.de>
7727
7728         * java/util/zip/Deflater.java,
7729         java/util/zip/DeflaterOutputStream.java:
7730         Partly merged with classpath.
7731
7732 2003-04-27  Tom Tromey  <tromey@redhat.com>
7733
7734         * java/lang/natString.cc (_Jv_AllocString): Initialize
7735         cachedHashCode.
7736         (init): Likewise.
7737         (_Jv_NewStringUtf8Const): Likewise.
7738
7739 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
7740
7741         * include/jvm.h: (_Jv_GetNbArgs) added
7742         (_Jv_GetSafeArg) added
7743         (_Jv_SetArgs) added
7744         * prims.cc: (_Jv_GetNbArgs) implemented
7745         (_Jv_GetSafeArg) implemented
7746         (_Jv_SetArgs) implemented
7747         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
7748         setting _Jv_argc and _Jv_argv
7749         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
7750         instead of _Jv_argv
7751         * java/lang/natRuntime.cc: (insertSystemProperties) use
7752         _Jv_GetSafeArg() instead of _Jv_argv
7753
7754 2003-04-23  Tom Tromey  <tromey@redhat.com>
7755
7756         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
7757         required by this object.  Search superclasses to find required
7758         alignment.
7759         (get_alignment_from_class): Use alignment of type as it appears
7760         in a struct.
7761         (ALIGNOF): New macro.
7762         (struct aligner): New helper structure.
7763
7764 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
7765
7766         * java/awt/Container.java (addImpl): Enable paint events if adding
7767         a lightweight to a heavyweight.
7768         (addNotify): Ensure that peer is created before
7769         addNotifyContainerChildren.
7770         (addNotifyContainerChildren): Enable paint events if a heavyweight
7771         container contains a lightweight.
7772
7773 2003-04-20  Tom Tromey  <tromey@redhat.com>
7774
7775         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
7776         java/io/DataInput.java, java/io/DataOutput.java: Imports from
7777         Classpath.
7778
7779 2003-04-19  Tom Tromey  <tromey@redhat.com>
7780
7781         * java/sql/Date.java, java/sql/DriverManager.java,
7782         java/sql/Time.java, java/sql/Timestamp.java: New versions from
7783         Classpath.
7784
7785         * Makefile.in: Rebuilt.
7786         * Makefile.am (ordinary_java_source_files): Added new files.
7787         * java/security/AlgorithmParameterGenerator.java,
7788         java/security/AlgorithmParameters.java, java/security/Engine.java,
7789         java/security/Identity.java, java/security/IdentityScope.java,
7790         java/security/KeyFactory.java,
7791         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
7792         java/security/MessageDigest.java, java/security/Policy.java,
7793         java/security/ProtectionDomain.java,
7794         java/security/SecureRandom.java, java/security/Security.java,
7795         java/security/Signature.java, java/security/SignatureSpi.java,
7796         java/security/SignedObject.java, java/security/Signer.java,
7797         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
7798         java/security/spec/PSSParameterSpec.java,
7799         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
7800         java/security/spec/RSAOtherPrimeInfo.java: New versions from
7801         Classpath.
7802
7803 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7804
7805         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
7806         (dispose): Null metrics.
7807         * gnu/awt/xlib/XToolkit.java (sync): Implement.
7808         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
7809         finalize.
7810         (finalize): Call dispose.
7811         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
7812         (gcCachedCount): New field.
7813         (finalize): New method.
7814         (putGCInCache): New method.
7815         (getGCFromCache): New method.
7816         * gnu/gcj/xlib/GC.java (GC): Make protected.
7817         (clone): Get new GC from cache if possible.
7818         (create): New static method.
7819         (dispose): Save old GC in cache.
7820         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
7821         deleting.
7822         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
7823         is null.
7824         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
7825         * java/awt/Container.java (visitChild): Dispose gfx2 when
7826         finished.
7827
7828 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
7829
7830         * java/math/BigInteger.java (probablePrime): New.
7831         * java/math/BigDecimal.java (unscaledValue): New.
7832
7833 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
7834
7835         * java/io/File.java (getAbsolutePath): On Windows, take care
7836         of paths like "C:", "G:foo\bar", etc.
7837         (getName): Make it work correctly on Windows.
7838         (getParent): Make it work correctly on Windows. For UNIX,
7839         fix bug that causes "/" to be returned as the parent of "/",
7840         instead of null as returned by Sun's JRE.
7841
7842         * java/io/natFileWin32.cc: Change copyright owner to FSF.
7843
7844 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7845
7846         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
7847         inner class.
7848         (CACHE_SIZE_PER_DISPLAY): New field
7849         (fontMetricsCache): New field
7850         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
7851         loading ISO10646-1 fonts.
7852
7853 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7854
7855         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
7856         characters.
7857         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
7858         characters.
7859
7860 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
7861
7862         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
7863         floating point.
7864
7865 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
7866
7867         * configure.host (*-linux*): Don't set slow_pthread_self if primary
7868         installed libpthread is either linuxthreads with floating stacks or
7869         NPTL.
7870
7871 2003-04-14  Tom Tromey  <tromey@redhat.com>
7872
7873         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
7874         of alignment.
7875
7876 2003-04-10  Tom Tromey  <tromey@redhat.com>
7877
7878         * verify.cc (pop64): Removed.
7879         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
7880         exception if top-of-stack is narrow.
7881         (initialize_stack): Check to ensure that <init> is not static and
7882         <clinit> is.
7883
7884 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
7885
7886         * java/io/ObjectStreamException
7887         * java/io/FileFilter
7888         * java/io/FilenameFilter
7889         * java/io/ObjectInput
7890         * java/io/ObjectOutput
7891         * java/io/ObjectStreamConstants
7892         Minor doc fixes, format fixes, spelling corrections, etc.
7893         * java/io/DataInput
7894         Corrected code samples in Javadocs to match reality
7895         * java/io/DataOutput
7896         * java/io/ObjectInputValidation
7897         Major documentation fixes - all Javadocs re-written or updated
7898
7899 2003-04-06  Michael Koch  <konqueror@gmx.de>
7900
7901         * java/net/URLConnection.java:
7902         Import classes directly.
7903         (URLConnection): Merged class documentation with classpath.
7904         (url): Moved, documentation from classpath added.
7905         (doInput): Moved, documentation from classpath added.
7906         (doOutput): Moved, documentation from classpath added.
7907         (allowUserInteraction): Moved.
7908         (useCaches): Moved, documentation from classpath added.
7909         (ifModifiedSince): Moved, documentation from classpath added.
7910         (connected): Moved, documentation from classpath added.
7911
7912 2003-04-06  Michael Koch  <konqueror@gmx.de>
7913
7914         * java/io/FileInputStream.java
7915         (skip): Renamed some variables to match classpath, added
7916         checks from classpath.
7917
7918 2003-03-31  Michael Koch  <konqueror@gmx.de>
7919
7920         * javax/swing/AbstractAction.java
7921         (AbstractAction): Reformatted.
7922         (serialVersionUID): New private member variable.
7923         * javax/swing/plaf/BorderUIResource.java
7924         (serialVersionUID): New private member variable.
7925         * javax/swing/plaf/basic/BasicLookAndFeel.java
7926         (serialVersionUID): New private member variable.
7927
7928 2003-03-31  Michael Koch  <konqueror@gmx.de>
7929
7930         * java/sql/Date.java
7931         (valueOf): Deprecated, reformatted.
7932         (toString): Deprecated, reformatted.
7933         * java/sql/Time.java
7934         (valueOf): Deprecated, reformatted.
7935         (toString): Deprecated, reformatted.
7936
7937 2003-03-31  Michael Koch  <konqueror@gmx.de>
7938
7939         * java/rmi/dgc/VMID.java
7940         (isUnique): Deprecated.
7941
7942 2003-03-31  Michael Koch  <konqueror@gmx.de>
7943
7944         * java/io/File.java
7945         (separator): Merged documentation from classpath.
7946         (separatorChar): Merged documentation from classpath.
7947         (pathSeparator): Merged documentation from classpath.
7948         (pathSeparatorChar): Merged documentation from classpath.
7949         (path): Merged documentation from classpath.
7950         (canRead): Merged documentation from classpath.
7951         (canWrite): Merged documentation from classpath.
7952         (createNewFile): Merged documentation from classpath.
7953         (delete): Merged documentation from classpath.
7954         (equals): Merged documentation from classpath.
7955         (exists): Merged documentation from classpath.
7956         (File): Renamed p to name to match classpath, merged documentation
7957         from classpath.
7958         (getAbsolutePath): Merged documentation from classpath.
7959         (getCanonicalPath): Merged documentation from classpath.
7960         (getCanonicalFile): Merged documentation from classpath.
7961         (getName): Merged documentation from classpath.
7962         (getParent): Merged documentation from classpath.
7963         (getParentFile): Merged documentation from classpath.
7964         (getPath): Merged documentation from classpath.
7965         (hashCode): Merged documentation from classpath.
7966         (isAbsolute): Merged documentation from classpath.
7967         (isDirectory): Merged documentation from classpath.
7968         (isFile): Merged documentation from classpath.
7969         (isHidden): Merged documentation from classpath.
7970         (lastModified): Merged documentation from classpath.
7971         (length): Merged documentation from classpath.
7972         (list): Merged documentation from classpath.
7973         (listFiles): Merged documentation from classpath.
7974         (toString): Merged documentation from classpath.
7975         (toURL): Merged documentation from classpath.
7976         (mkdir): Merged documentation from classpath.
7977         (mkdirs): Merged documentation from classpath.
7978         (createTempFile): Merged documentation from classpath.
7979         (setReadOnly): Merged documentation from classpath.
7980         (listRoots): Merged documentation from classpath.
7981         (compareTo): Merged documentation from classpath.
7982         (renameTo): Merged documentation from classpath.
7983         (setLastModified): Merged documentation from classpath.
7984         * java/io/PrintStream.java
7985         (auto_flush): Merged documentation from classpath.
7986         (PrintStream): Merged documentation from classpath.
7987         (checkError): Merged documentation from classpath.
7988         (setError): Merged documentation from classpath.
7989         (close): Merged documentation from classpath.
7990         (flush): Merged documentation from classpath.
7991         (print): Merged documentation from classpath.
7992         (println):  Merged documentation from classpath.
7993         (write): Renamed count to len to match classpath,
7994         merged documentation from classpath.
7995         * java/io/RandomAccessFile.java
7996         (readShort): Merged documentation from classpath.
7997         (readUnsignedByte): Merged documentation from classpath.
7998         (readUnsignedShort): Merged documentation from classpath.
7999         (readUTF): Merged documentation from classpath.
8000         (seek): Reformatted, merged documentation from classpath.
8001         (skipBytes): Renamed some variables to match classpath, reformatted,
8002         merged documentation from classpath.
8003         (write): Merged documentation from classpath.
8004         (writeBoolean): Merged documentation from classpath.
8005         (writeByte): Merged documentation from classpath.
8006         (writeShort): Merged documentation from classpath.
8007         (writeChar): Merged documentation from classpath.
8008         (writeInt): Merged documentation from classpath.
8009         (writeLong): Merged documentation from classpath.
8010         (writeFloat): Merged documentation from classpath.
8011         (writeDouble): Merged documentation from classpath.
8012         (writeBytes): Merged documentation from classpath.
8013         (writeChars): Merged documentation from classpath.
8014         (writeUTF): Reformatted.
8015         (getChannel): Reformatted.
8016
8017 2003-03-31  Michael Koch  <konqueror@gmx.de>
8018
8019         * java/awt/font/TextAttribute.java
8020         (readResolve): Throws java.io.InvalidObjectException.
8021
8022 2003-03-31  Michael Koch  <konqueror@gmx.de>
8023
8024         * java/rmi/server/LoaderHandler.java
8025         (loadClass): Deprecated.
8026         (getSecurityContext): Deprecated.
8027         * java/rmi/server/LogStream.java
8028         (getDefaultStream): Deprecated.
8029         (setDefaultStream): Deprecated.
8030         (getOutputStream): Deprecated.
8031         (setOutputStream): Deprecated.
8032         (write): Deprecated.
8033         (toString): Deprecated.
8034         (parseLevel): Deprecated.
8035         * java/rmi/server/Operation.java
8036         (Operation): Deprecated.
8037         (getOperation): Deprecated.
8038         (toString): Deprecated.
8039         * java/rmi/server/RemoteCall.java
8040         (getOutputStream): Deprecated.
8041         (releaseOutputStream): Deprecated.
8042         (getInputStream): Deprecated.
8043         (releaseInputStream): Deprecated.
8044         (getResultStream): Deprecated.
8045         (executeCall): Deprecated.
8046         (done): Deprecated.
8047         * java/rmi/server/RemoteRef.java
8048         (invoke): Deprecated.
8049         (newCall): Deprecated.
8050         (done): Deprecated.
8051         * java/rmi/server/RemoteStub.java
8052         (setRef): Deprecated.
8053         * java/rmi/server/Skeleton.java:
8054         No need to import java.lang.Exception explicitly.
8055         (dispatch): Deprecated.
8056         (getOperations): Deprecated.
8057
8058 2003-03-31  Michael Koch  <konqueror@gmx.de>
8059
8060         * java/rmi/dgc/VMID.java,
8061         java/rmi/registry/RegistryHandler.java,
8062         java/rmi/server/LogStream.java,
8063         java/rmi/server/Operation.java,
8064         java/rmi/server/RemoteCall.java,
8065         java/rmi/server/RemoteRef.java,
8066         java/rmi/server/RemoteStub.java:
8067         Reformatted.
8068
8069 2003-03-31  Michael Koch  <konqueror@gmx.de>
8070
8071         * javax/swing/AbstractCellEditor.java,
8072         javax/swing/AbstractListModel.java,
8073         javax/swing/ActionMap.java,
8074         javax/swing/BorderFactory.java,
8075         javax/swing/ButtonGroup.java,
8076         javax/swing/DefaultBoundedRangeModel.java,
8077         javax/swing/DefaultButtonModel.java,
8078         javax/swing/DefaultCellEditor.java,
8079         javax/swing/DefaultComboBoxModel.java,
8080         javax/swing/DefaultDesktopManager.java,
8081         javax/swing/DefaultListCellRenderer.java,
8082         javax/swing/DefaultSingleSelectionModel.java,
8083         javax/swing/InputMap.java,
8084         javax/swing/JComponent.java,
8085         javax/swing/JMenu.java,
8086         javax/swing/JSlider.java,
8087         javax/swing/KeyStroke.java,
8088         javax/swing/OverlayLayout.java,
8089         javax/swing/ScrollPaneLayout.java,
8090         javax/swing/SizeRequirements.java,
8091         javax/swing/UIManager.java,
8092         javax/swing/ViewportLayout.java,
8093         javax/swing/border/AbstractBorder.java,
8094         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8095         javax/swing/event/EventListenerList.java,
8096         javax/swing/table/AbstractTableModel.java,
8097         javax/swing/table/DefaultTableCellRenderer.java,
8098         javax/swing/table/DefaultTableColumnModel.java,
8099         javax/swing/table/DefaultTableModel.java,
8100         javax/swing/table/TableColumn.java,
8101         javax/swing/text/StyledEditorKit.java,
8102         javax/swing/tree/DefaultMutableTreeNode.java,
8103         javax/swing/tree/DefaultTreeModel.java,
8104         javax/swing/tree/DefaultTreeSelectionModel.java,
8105         javax/swing/tree/TreePath.java,
8106         javax/swing/undo/AbstractUndoableEdit.java,
8107         javax/swing/undo/StateEdit.java,
8108         javax/swing/undo/StateEditable.java,
8109         javax/swing/undo/UndoableEditSupport.java:
8110         Merges from classpath.
8111
8112 2003-03-30  Tom Tromey  <tromey@redhat.com>
8113
8114         * java/lang/String.java (data, boffset, count): Documented.
8115         (String(byte[],String)): Reformatted.
8116         (String(byte[])): Likewise.
8117         (lastIndexOf(int)): Likewise.
8118         (lastIndexOf(String)): Likewise.
8119         (substring(int)): Renamed argument to match Classpath.
8120         (String(StringBuffer)): Don't share buffer if it is nearly empty.
8121
8122         * java/lang/String.java: Miscellaneous minor formatting changes
8123         to match Classpath more closely.
8124
8125 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
8126             Tom Tromey  <tromey@redhat.com>
8127
8128         * java/lang/natString.cc (hashCode): Use cachedHashCode.
8129         (init()): Removed.
8130         (charAt): Put index in exception.
8131         (contentEquals): New method.
8132         Include StringBuffer.h.
8133         * java/lang/String.java (cachedHashCode): New field.
8134         (String()): Follow classpath implementation.
8135         (init()): Removed.
8136         (contentEquals): Declare.
8137         (subSequence): Don't declare IndexOutIfBoundsException in throws
8138         clause.
8139         (matches, replaceFirst, replaceAll, split): New methods from
8140         Classpath.
8141
8142 2003-03-29  Tom Tromey  <tromey@redhat.com>
8143
8144         * java/lang/String.java: Reordered to follow Classpath; merged in
8145         javadoc.
8146
8147         * java/text/MessageFormat.java: Removed some whitespace.
8148
8149         * Makefile.in: Rebuilt.
8150         * Makefile.am (awt_java_source_files): Added new files.
8151         * gnu/javax/rmi/PortableServer.java,
8152         gnu/javax/rmi/CORBA/DelegateFactory.java,
8153         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
8154         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
8155         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
8156         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
8157         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
8158         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
8159         javax/rmi/PortableRemoteObject.java,
8160         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
8161         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8162         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
8163         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
8164         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
8165         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
8166
8167         * java/lang/natClass.cc (newInstance): Put method name in
8168         exception.
8169         (getConstructor): Likewise.
8170         (getDeclaredConstructor): Likewise.
8171         (getPrivateMethod): Likewise.
8172
8173 2003-03-28  Tom Tromey  <tromey@redhat.com>
8174
8175         * java/lang/reflect/Proxy.java: New version from Classpath.
8176         * java/lang/Package.java: New version from Classpath.
8177
8178 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
8179
8180         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
8181         * configure: Regenerate.
8182
8183 2003-03-28  Michael Koch  <konqueror@gmx.de>
8184
8185         * java/io/File.java:
8186         Import needed classes instead of whole packages, merged class
8187         documentation with classpath, moved constants and variables to top of
8188         class.
8189         * java/io/PrintStream.java:
8190         Merged class documentation with classpath, moved constants and
8191         variables to top of class.
8192         * java/io/RandomAccessFile.java
8193         (RandomAccessFile): Merged with classpath.
8194         (read): Merged with classpath).
8195         (read*): Reformatted.
8196
8197 2003-03-28  Michael Koch  <konqueror@gmx.de>
8198
8199         * java/io/FileDescriptor.java
8200         (finalize): Throws Throwable, not IOException.
8201         * java/io/ObjectOutputStream.java
8202         (PutField.put): Doesnt throws anything.
8203
8204 2003­03-28  Michael Koch  <konqueror@gmx.de>
8205
8206         * java/io/FileOutputStream.java:
8207         Merged class documentation and authors with classpath.
8208         (FileOutputStream): Partly merged with classpath.
8209         (write): Merged with classpath.
8210         (getChannel): Make it synchronized instead of explicit block in this
8211         method.
8212         * java/io/RandomAccessFile.java:
8213         Merged class documentation and authors with classpath.
8214
8215 2003-03-26  Tom Tromey  <tromey@redhat.com>
8216
8217         * java/lang/natRuntime.cc (insertSystemProperties): Set
8218         gnu.classpath.home.url.
8219         * Makefile.in: Rebuilt.
8220         * Makefile.am: Define LIBDIR.
8221
8222 2003-03-25  Michael Koch  <konqueror@gmx.de>
8223
8224         * java/io/FileInputStream.java
8225         (read): Renamed b to buf and off to offset.
8226         * java/io/FileOutputStream.java
8227         (ch): Documentation added.
8228         (FileOutputStream): Documentation added.
8229         (getFD): Documentation added.
8230         (write): Documentation added.
8231         (close): Documentation added.
8232         (getChannel): Documentation added.
8233
8234 2003-03-24  Michael Koch  <konqueror@gmx.de>
8235
8236         * java/io/DataOutputStream.java
8237         (write): Merged from classpath.
8238         * java/io/File.java:
8239         Merged copyrigth with classpath.
8240         * java/io/FileInputStream.java
8241         (getChannel): Made it synchronized instead of using a synchronized
8242         block.
8243         * java/io/FileOutputStream.java: Reformatted.
8244         * java/io/InputStreamReader.java
8245         (InputStreamReader): Renamed enc to encoding_name.
8246         (close): Merged documentation from classpath.
8247         (getEncoding): Merged documentation from classpath.
8248         (ready): Merged documentation from classpath.
8249         (read): Merged documentation from classpath.
8250         * java/io/LineNumberReader.java
8251         (lineNumber): Made it private.
8252         (LineNumberReader): Use Constant instead of a direct value.
8253         * java/io/OutputStreamWriter.java
8254         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
8255         documentation from classpath.
8256         (close): Merged documentation from classpath.
8257         (flush): Merged documentation from classpath.
8258         (write): Merged documentation from classpath.
8259         * java/io/PrintStream.java: Reformatted.
8260
8261 2003-03-24  Michael Koch  <konqueror@gmx.de>
8262
8263         * javax/swing/text/ComponentView.java
8264         (getComponent): Must be final.
8265         * javax/swing/tree/DefaultTreeCellRenderer.java:
8266         Reformatted.
8267         * javax/swing/undo/StateEditable.java:
8268         Reformatted.
8269
8270 2003-03-24  Michael Koch  <konqueror@gmx.de>
8271
8272         * java/rmi/activation/ActivationInstantiator.java:
8273         Reformatted.
8274         * java/rmi/activation/Activator.java:
8275         Reformatted.
8276         * java/rmi/registry/RegistryHandler.java:
8277         Remerged from classpath.
8278
8279 2003-03-24  Michael Koch  <konqueror@gmx.de>
8280
8281         * java/util/Date.java:
8282         Fixed documentation starting tag to make javadoc happy.
8283         * java/util/regex/Pattern.java
8284         (Pattern): Implements Serializable.
8285         * java/util/PatternSyntaxException.java
8286         (serialVersionUID): New member variable.
8287
8288 2003-03-24  Michael Koch  <koqnueror@gmx.de>
8289
8290         * java/awt/ContainerOrderFocusTraversalPolicy.java
8291         (getFirstComponent): Implemented.
8292         (getLastComponent): Implemented.
8293         (getDefaultComponent): Implemented.
8294         (setImplicitDownCycleTraversal): Fixed implementation.
8295         * java/awt/Robot.java
8296         (Robot): Added documentation.
8297         * java/awt/Toolkit.java
8298         (getFontList): Deprecated.
8299         (getFontMetrics): Deprecated.
8300         (getPrintJob): Added documentation.
8301         (getSystemSelection): Added documentation.
8302         (getLockingKeyState): Added documentation.
8303         (setLockingKeyState): Added documentation.
8304         (createCustomCursor): Added documentation.
8305         (getBestCursorSize): Added documentation.
8306         (getMaximumCursorColors): Added documentation.
8307         (isFrameStateSupported): Added documentation.
8308
8309 2003-03-24  Michael Koch  <konqueror@gmx.de>
8310
8311         * java/io/RandomAccessFile.java:
8312         More little merges with classpath. No code changes.
8313
8314 2003-03-24  Michael Koch  <konqueror@gmx.de>
8315
8316         * java/net/natInetAddressNoNet.cc:
8317         Include stddef.h.
8318         * java/net/natPlainDatagramSocketImplNoNet.cc:
8319         Fixed inlcude of java/net/DatagramPacket.h.
8320         * java/net/natPlainSocketImplNoNet.cc:
8321         Include some missing classes.
8322
8323 2003-03-24  Michael Koch  <konqueror@gmx.de>
8324
8325         * java/awt/dnd/DropTarget.java
8326         (DropTargetAutoScroller): According to the online documentation, this
8327         is protected, but in reality it is public.
8328         * java/awt/dnd/DropTargetContext.java
8329         (TransferableProxy): According to the online documentation, this
8330         is protected, but in reality it is public.
8331
8332 2003-03-24  Michael Koch  <konqueror@gmx.de>
8333
8334         * java/io/DataInputStream.java
8335         (): Wrapped documentation line.
8336         (): Fixed @return tag.
8337         * java/io/DataOutputStream.java
8338         (written): Moved to top of class.
8339         (all methods): Merged documentation from classpath.
8340         * java/io/File.java:
8341         Merged copyright year with classpath.
8342         * java/io/FileInputStream.java
8343         (all methods): Merged documentation from classpath.
8344         * java/io/LineNumberReader.java
8345         (getLineNumber): Fixed @return tag.
8346         * java/io/ObjectInputStream.java.
8347         Reformatted.
8348         * java/io/ObjectOutputStream.java:
8349         Reformatted, fixed some @see tags.
8350         * java/io/OutputStreamWriter.java:
8351         Deleted empty line.
8352         * java/io/Writer.java:
8353         Reformatted.
8354
8355 2003-03-24  Michael Koch  <konqueror@gmx.de>
8356
8357         * java/awt/Frame.java
8358         (DEFAULT_CURSOR): Fixed @deprecated tag.
8359         (setCursor): Fixed @deprecated tag.
8360
8361 2003-03-24  Michael Koch  <konqueror@gmx.de>
8362
8363         * java/beans/beancontext/BeanContextEvent.java:
8364         Reformated.
8365
8366 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
8367
8368         * java/lang/natStringBuffer.cc (regionMatches): New function.
8369         * java/lang/String.java (count): Now package-private.
8370         * java/lang/StringBuffer.java: Merged with Classpath.
8371
8372 2003-03-23  Michael Koch  <konqueror@gmx.de>
8373
8374         * java/io/BufferedOutputStream.java:
8375         Reformated.
8376         * java/io/BufferedReader.java:
8377         Reformated.
8378         * java/io/ByteArrayOutputStream.java
8379         (size): Fixed @see tag.
8380         * java/io/CharArrayWriter.java
8381         (size): Fixed @see tag.
8382         * java/io/DataInput.java:
8383         Reformated.
8384         * java/io/DataOutput.java:
8385         Reformated.
8386         * java/io/DataOutputStream.java:
8387         Merged copyright years with classpath.
8388         * java/io/Externalizable.java:
8389         Reformated.
8390         * java/io/FileFilter.java:
8391         Reformated.
8392         * java/io/FileInputStream.java:
8393         Merged copyright years with classpath.
8394         * java/io/FileOutputStream.java:
8395         Merged copyright years with classpath.
8396         * java/io/FilePermission.java
8397         (FilePermission): Replaced @XXX with FIXME:.
8398         * java/io/FileWriter.java:
8399         Reformated.
8400         * java/io/FilenameFilter.java:
8401         Reformated.
8402         * java/io/FilterInputStream.java:
8403         Reformated.
8404         * java/io/FilterOutputStream.java:
8405         Reformated.
8406         * java/io/FilterReader.java:
8407         Reformated.
8408         * java/io/FilterWriter.java:
8409         Reformated.
8410         * java/io/LineNumberInputStream.java
8411         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
8412         happy.
8413         (getLineNumber): Fixed @return tag.
8414         * java/io/ObjectInput.java:
8415         Reformated.
8416         * java/io/ObjectOutput.java:
8417         Reformated.
8418         * java/io/ObjectStreamClass.java:
8419         Reformated.
8420         * java/io/PrintStream.java:
8421         Merged copyright years with classpath.
8422         * java/io/PushbackReader.java
8423         (PushbackReader): Replaced @code with @param.
8424         * java/io/SerializablePermission.java:
8425         Reformated.
8426         * java/io/StreamTokenizer.java
8427         (resetSyntax): Fixed @see tag.
8428
8429 2003-03-22  Richard Henderson  <rth@redhat.com>
8430
8431         * sysdep/ia64/locks.h: Include ia64intrin.h.
8432         (compare_and_swap): Use __sync_bool_compare_and_swap.
8433         (compare_and_swap_release): Expose ar.ccv assignment.
8434
8435 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
8436
8437         * include/posix.h: Add suffix for darwin dynamic libraries.
8438
8439 2003-03-21  Michael Koch  <konqueror@gmx.de>
8440
8441         * javax/swing/Action.java
8442         (ACCELERATOR_KEY): New constant.
8443         (ACTION_COMMAND_KEY): Likewise.
8444         (MNEMONIC_KEY): Likewise.
8445         * javax/swing/UnsupportedLookAndFeelException.java
8446         (UnsupportedLookAndFeelException): Must be public.
8447         * javax/swing/WindowConstants.java
8448         (EXIT_ON_CLOSE): New constant.
8449         * javax/swing/text/BadLocationException.java
8450         (offset): New member variable.
8451         (BadLocationException): New implementation, documentation added.
8452         (offsetRequested): New method.
8453         * javax/swing/text/Caret.java:
8454         Reformated.
8455         * javax/swing/text/Document.java:
8456         Reformated.
8457
8458 2003-03-21  Michael Koch  <konqueror@gmx.de>
8459
8460         * java/rmi/activation/Activatable.java
8461         (serialVersionUID): New member variable.
8462         * java/rmi/activation/ActivationGroup.java
8463         (serialVersionUID): New member variable.
8464         * java/rmi/activation/ActivationGroupDesc.java
8465         (serialVersionUID): New member variable.
8466         * java/rmi/registry/Registry.java:
8467         Reformated.
8468         (Registry): Deprecated.
8469         * java/rmi/server/LoaderHandler.java
8470         Reformated.
8471         (LoaderHandler): Deprecated.
8472         * java/rmi/server/LogStream.java
8473         Reformated.
8474         (LogStream): Deprecated.
8475         * java/rmi/server/Operation.java
8476         (Operation): Deprecated.
8477         * java/rmi/server/RMIFailureHandler.java:
8478         Reformated.
8479         * java/rmi/server/RMISocketFactory.java:
8480         Reformated.
8481         * java/rmi/server/RemoteCall.java
8482         (RemoteCall): Deprecated.
8483         * java/rmi/server/RemoteStub.java:
8484         Reformated.
8485         * java/rmi/server/Skeleton.java
8486         Reformated.
8487         (Skeleton): Deprecated.
8488
8489 2003-03-21  Michael Koch  <konqueror@gmx.de>
8490
8491         * java/io/LineNumberReader.java
8492         (LineNumberReader): Merged documentation with classpath.
8493         (getLineNumber): Likewise.
8494         (setLineNumber): Likewise.
8495         (mark): Likewise.
8496         (reset): Likewise.
8497         (read): Likewise.
8498         (readLine): Likewise.
8499         (skip): Likewise.
8500
8501 2003-03-21  Michael Koch  <konqueror@gmx.de>
8502
8503         * java/rmi/RMISecurityManager.java
8504         (checkAccept): Removed.
8505         (checkAccess): Likewise.
8506         (checkAccess): Likewise.
8507         (checkAwtEventQueueAccess): Likewise.
8508         (checkConnect): Likewise.
8509         (checkCreateClassLoader): Likewise.
8510         (checkDelete): Likewise.
8511         (checkExec): Likewise.
8512         (checkExit): Likewise.
8513         (checkLink): Likewise.
8514         (checkListen): Likewise.
8515         (checkMemberAccess): Likewise.
8516         (checkMulticast): Likewise.
8517         (checkPackageAccess): Likewise.
8518         (checkPackageDefinition): Likewise.
8519         (checkPermission): Likewise.
8520         (checkPrintJobAccess): Likewise.
8521         (checkPropertiesAccess): Likewise.
8522         (checkPropertyAccess): Likewise.
8523         (checkRead): Likewise.
8524         (checkSecurityAccess): Likewise.
8525         (checkSetFactory): Likewise.
8526         (checkSystemClipboardAccess): Likewise.
8527         (checkTopLevelWindow): Likewise.
8528         (checkWrite): Likewise.
8529
8530 2003-03-20  Michael Koch  <konqueror@gmx.de>
8531
8532         * gnu/java/nio/FileChannelImpl.java
8533         (address): Removed.
8534         (map_address): New member variable.
8535         (length): Make it package private.
8536         (fd): Make it package private.
8537         (buf): Make it package private.
8538         (file_obj): Make it package private.
8539         (FileChannelImpl): New constructor.
8540         (nio_mmap_file): Use RawData instead of long.
8541         (nio_munmap_file): Use RawData instead of long.
8542         (nio_msync): Use RawData instead of long.
8543         (implCloseChannel): New implementation using map_address.
8544         (read): Reformated.
8545         (map): Implemented.
8546         (create_direct_mapped_buffer): Implemented, use RawData, throws
8547         IOException.
8548         (force): Use map_address instead of address.
8549         * gnu/java/nio/MappedByteFileBuffer.java
8550         (address): Removed.
8551         (map_address): New member variable.
8552         (MappedByteFileBuffer): Use map_address instead of address, reformated.
8553         (several methods): Use map_address instead of address, replaced long
8554         with RawData where appropriate.
8555         * gnu/java/nio/natFileChannelImpl.cc
8556         (nio_mmap_file): Replaced long with RawData.
8557         (nio_munmap_file): Replaced long with RawData.
8558         (nio_msync): Replaced long with RawData.
8559         * gnu/java/nio/natMappedByteFileBuffer.cc
8560         (several methods): Replaced long with RawData where appropriate.
8561
8562 2003-03-20  Michael Koch  <konqueror@gmx.de>
8563
8564         * java/net/InetAddress.java,
8565         java/net/JarURLConnection.java,
8566         java/net/PlainDatagramSocketImpl.java,
8567         java/net/PlainSocketImpl.java,
8568         java/net/URLConnection.java:
8569         Merged copyright statements with classpath for easier merging.
8570
8571 2003-03-20  Michael Koch  <konqueror@gmx.de>
8572
8573         * java/io/FileInputStream.java
8574         (getChannel): New implementation.
8575         * java/io/FileOutputStream.java
8576         (ch): New member variable.
8577         (getChannel): Implemented.
8578         * java/io/RandomAccessFile.java
8579         (RandomAccessFile): Throws FileNotFoundException instead of
8580         IOException.
8581         (getChannel): New method.
8582         (ch): New member variable.
8583
8584 2003-03-20  Michael Koch  <konqueror@gmx.de>
8585
8586         * java/io/DataOutputStream.java,
8587         java/io/File.java,
8588         java/io/FileInputStream.java,
8589         java/io/FileOutputStream.java,
8590         java/io/InputStreamReader.java,
8591         java/io/LineNumberReader.java,
8592         java/io/OutputStreamWriter.java,
8593         java/io/PrintStream.java,
8594         java/io/RandomAccessFile.java:
8595         Merged copyright statements with classpath for easier merging.
8596
8597 2003-03-19  Michael Koch  <konqueror@gmx.de>
8598
8599         * java/lang/Process.java:
8600         Merged from classpath.
8601
8602 2003-03-19  Michael Koch  <konqueror@gmx.de>
8603
8604         * java/io/FileOutputStream.java
8605         (FileOutputStream): New constructor, merged from classpath.
8606         * java/io/FileWriter.java
8607         (FileWriter): New constructor, merged from classpath.
8608
8609 2003-03-18  Michael Koch  <konqueror@gmx.de>
8610
8611         * java/awt/ScrollPane.java
8612         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
8613         (getViewportSize): Likewise.
8614         (addNotify): Likewise.
8615         (removeNotify): Likewise.
8616         * java/awt/ScrollPaneAdjustable.java
8617         (ScrollPaneAdjustable): No longer extends Scrollbar.
8618         * java/beans/beancontext/BeanContextServices.java:
8619         Reformated.
8620         (getService): Added throws TooManyListenersException;
8621         * java/beans/beancontext/BeanContextServicesSupport.java:
8622         Reformated.
8623
8624 2003-03-18  Michael Koch  <konqueror@gmx.de>
8625
8626         * java/io/BufferedOutputStream.java,
8627         java/io/DataInput.java,
8628         java/io/DataInputStream.java,
8629         java/io/DataOutput.java,
8630         java/io/Externalizable.java:
8631         More merges from classpath.
8632
8633 2003-03-18  Michael Koch  <konqueror@gmx.de>
8634
8635         * configure.in: Fixed links to platform dependant java.net files.
8636         * configure: Regenerated.
8637         * java/net/natInetAddress.cc,
8638         java/net/natNetworkInterface.cc,
8639         java/net/natPlainDatagramSocketImpl.cc,
8640         java/net/natPlainSocketImpl.cc:
8641         Removed.
8642
8643 2003-03-18  Michael Koch  <konqueror@gmx.de>
8644
8645         * configure.in: Create links to architecture dependent files,
8646         introduced PLATFORMNET variable (set to NoNet for newlib usage).
8647         * configure: Regenerated.
8648         * java/net/natInetAddressNoNet.cc,
8649         java/net/natInetAddressPosix.cc,
8650         java/net/natInetAddressWin32.cc,
8651         java/net/natNetworkInterfaceNoNet.cc,
8652         java/net/natNetworkInterfacePosix.cc,
8653         java/net/natNetworkInterfaceWin32.cc,
8654         java/net/natPlainDatagramSocketImplNoNet.cc,
8655         java/net/natPlainDatagramSocketImplPosix.cc,
8656         java/net/natPlainDatagramSocketImplWin32.cc,
8657         java/net/natPlainSocketImplNoNet.cc,
8658         java/net/natPlainSocketImplPosix.cc,
8659         java/net/natPlainSocketImplWin32.cc: New files.
8660
8661 2003-03-18  Michael Koch  <konqueror@gmx.de>
8662
8663         * java/io/BufferedReader.java,
8664         java/io/BufferedWriter.java,
8665         java/io/ByteArrayOutputStream.java,
8666         java/io/FileFilter.java,
8667         java/io/FilePermission.java,
8668         java/io/FileReader.java,
8669         java/io/FileWriter.java,
8670         java/io/FilenameFilter.java,
8671         java/io/FilterInputStream.java,
8672         java/io/FilterOutputStream.java,
8673         java/io/FilterReader.java,
8674         java/io/FilterWriter.java,
8675         java/io/ObjectInput.java,
8676         java/io/ObjectInputValidation.java,
8677         java/io/ObjectOutput.java,
8678         java/io/ObjectStreamField.java,
8679         java/io/PipedInputStream.java,
8680         java/io/PipedReader.java,
8681         java/io/PrintWriter.java,
8682         java/io/PushbackReader.java,
8683         java/io/Reader.java,
8684         java/io/SerializablePermission.java,
8685         java/io/StringReader.java,
8686         java/io/Writer.java:
8687         Merged from classpath.
8688
8689 2003-03-17  Michael Koch  <konqueror@gmx.de>
8690
8691         * java/awt/ScrollPaneAdjustable.java:
8692         Compile fixes.
8693         
8694 2003-03-17  Michael Koch  <konqueror@gmx.de>
8695
8696         * java/net/DatagramSocket.java
8697         (connect): Fixed comment.
8698         * java/nio/ByteBuffer.java
8699         (hasArray): Fixed comment.
8700
8701 2003-03-17  Michael Koch  <konqueror@gmx.de>
8702
8703         * java/beans/Beans.java:
8704         Explicitely import classes not packages.
8705         * java/beans/FeatureDescriptor.java
8706         (preferred): New member variable.
8707         (isPreferred): New method.
8708         (setPreferred): New method.
8709         * java/beans/PropertyEditorManager.java:
8710         Explicitely import used classes.
8711         * java/beans/beancontext/BeanContextChild.java:
8712         Added line wrapping.
8713         * java/beans/beancontext/BeanContextChildSupport.java:
8714         Reindented.
8715         * java/beans/beancontext/BeanContextEvent.java:
8716         Reindented.
8717
8718 2003-03-17  Michael Koch  <konqueror@gmx.de>
8719
8720         * java/awt/Dialog.java
8721         (Dialog): New constructor, changed implementations, added
8722         documentation.
8723         * java/awt/ScrollPaneAdjustable.java
8724         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
8725         Serializable.
8726         (serialVersionUID): New member variable.
8727         (sp): New member variable.
8728         (orientation): New member variable.
8729         (value): New member variable.
8730         (minimum): New member variable.
8731         (maximum): New member variable.
8732         (visibleAmount): New member variable.
8733         (unitIncrement): New member variable.
8734         (blockIncrement): New member variable.
8735         (AdjustmentListener): New member variable.
8736         (ScrollPaneAdjustable): New implementation.
8737         (addAdjustmentListener): New method.
8738         (removeAdjustmentListener): New method.
8739         (getAdjustmentListeners): New method.
8740         (getBlockIncrement): New method.
8741         (getMaximum): New method.
8742         (getMinimum): New method.
8743         (getOrientation): New method.
8744         (getUnitIncrement): New method.
8745         (getValue): New method.
8746         (getVisibleAmount): New method.
8747         (setBlockIncrement): New method.
8748         (setMaximum): Implemented.
8749         (setMinimum): Implemented.
8750         (setUnitIncrement): New method.
8751         (setValue): New method.
8752         (setVisibleAmount): Implemented. 
8753         (paramString): New stubbed method.
8754         * java/awt/Window.java
8755         (show): Call setVisible().
8756         (hide): Call setVisible().
8757         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
8758         and WINDOW_STATE_CHANGED.
8759         (processWindowFocusEvent): New method.
8760         (processWindowStateEvent): New method.
8761         (postEvent): Deprecated.
8762         (applyResourceBundle): Deprecated.
8763         * java/awt/datatransfer/DataFlavor.java
8764         (DataFlavor): Doesn't thow ClassNotFoundException.
8765
8766 2003-03-17  Michael Koch
8767
8768         * javax/print/attribute/Attribute.java,
8769         javax/print/attribute/AttributeSet.java,
8770         javax/print/attribute/PrintRequestAttributeSet.java:
8771         New files.
8772         * Makefile.am
8773         (javax_source_files): Added new files:
8774         javax/print/attribute/Attribute.java
8775         javax/print/attribute/AttributeSet.java
8776         javax/print/attribute/PrintRequestAttributeSet.java
8777         * Makefile.in: Regenerated.
8778
8779 2003-03-17  Michael Koch
8780
8781         * javax/print/attribute/Attribute.java,
8782         javax/print/attribute/AttributeSet.java,
8783         javax/print/attribute/PrintRequestAttributeSet.java:
8784         New files.
8785         * Makefile.am
8786         (awt_java_source_files): Added new files:
8787         javax/print/attribute/Attribute.java
8788         javax/print/attribute/AttributeSet.java
8789         javax/print/attribute/PrintRequestAttributeSet.java
8790         * Makefile.in: Regenerated.
8791
8792 2003-03-16  Tom Tromey  <tromey@redhat.com>
8793
8794         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
8795         Include platform.h.
8796         * java/lang/natRuntime.cc (insertSystemProperties): Use
8797         _Jv_platform_path_separator.
8798         (nativeGetLibname): Use _Jv_platform_file_separator.
8799         (_load): Use _Jv_platform_onload_names.
8800         (onload_names): New global.
8801         * include/win32.h (_Jv_platform_file_separator): New define.
8802         (_Jv_platform_path_separator): Likewise.
8803         (_Jv_platform_onload_names): Likewise.
8804         (_Jv_platform_ffi_abi): Likewise.
8805         * include/posix.h (_Jv_platform_file_separator): New define.
8806         (_Jv_platform_path_separator): Likewise.
8807         (_Jv_platform_onload_names): Likewise.
8808         (_Jv_platform_ffi_abi): Likewise.
8809
8810 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
8811
8812         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
8813
8814 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
8815
8816         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
8817         hierarchy loop.
8818         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
8819         list to Object,ObjectStreamClass, moved callReadMethod code up into
8820         readObject and added Class argument to all setXxxField calls.
8821         (callReadMethod): Changed Class argument to ObjectStreamClass to be
8822         consistent with ObjectOutputStream and to facilitate caching the
8823         Method in the future.
8824         (setBooleanField): Added Class argument.
8825         (setByteField): Likewise.
8826         (setCharField): Likewise.
8827         (setDoubleField): Likewise.
8828         (setFloatField): Likewise.
8829         (setIntField): Likewise.
8830         (setLongField): Likewise.
8831         (setShortField): Likewise.
8832         (setObjectField): Likewise.
8833         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
8834         class hierarchy loop.
8835         (defaultWriteObject): Call writeFields with new argument list.
8836         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
8837         list to Object,ObjectStreamClass, moved callWriteMethod up into
8838         writeObject and added Class argument to all getXxxField calls.
8839         (callWriteMethod): Added ObjectStreamClass argument to be able to
8840         get the proper class to call getMethod on (each class can have (or
8841         not have) its own writeObject method).
8842         (getBooleanField): Added Class argument.
8843         (getByteField): Likewise.
8844         (getCharField): Likewise.
8845         (getDoubleField): Likewise.
8846         (getFloatField): Likewise.
8847         (getIntField): Likewise.
8848         (getLongField): Likewise.
8849         (getShortField): Likewise.
8850         (getObjectField): Likewise.
8851         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
8852         facilitate caching the Method object in the future.
8853
8854 2003-03-12  Andreas Schwab  <schwab@suse.de>
8855
8856         * configure.in: Avoid trailing /. in toolexeclibdir.
8857         * configure: Rebuilt.
8858
8859 2003-03-11  Michael Koch  <konqueror@gmx.de>
8860
8861         * gnu/java/nio/ByteBufferImpl.java
8862         (putInt): Use limit() instead of limit.
8863         * gnu/java/nio/CharBufferImpl.java
8864         (slice): Fixed implementation.
8865         (subSequence): Better bounds checking.
8866         * gnu/java/nio/MappedByteFileBuffer.java:
8867         Import all needed classes directly.
8868         * java/nio/ByteBuffer.java
8869         (hashCode): New dummy method.
8870         * java/nio/CharBuffer.java
8871         (array_offset): New member variable.
8872         (hasArray): Fixed documentation.
8873         (arrayOffset): Return array_offset.
8874
8875 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
8876
8877         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
8878         setter; made return value of getter const char* instead of char*
8879         * prims.cc: removed all references to _Jv_ThisExecutable().
8880         These are in the platform-specific sections now.
8881         * posix.cc: define platform-specific _Jv_ThisExecutable().
8882         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
8883         * win32.cc: define platform-specific _Jv_ThisExecutable()
8884         using GetModuleFilename()
8885         * java/lang/natRuntime.cc: set gnu.gcj.progname property
8886         to argv[0] instead of _Jv_ThisExecutable()
8887
8888 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
8889
8890         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
8891         that is set if we are using addr2name.awk instead of addr2line.
8892         (NameFinder): Set usingAddr2name if using addr2name.awk.
8893         (getExternalLabel): New native method to convert a method 
8894         name to an external label.
8895         (lookup): Convert name given by addr2line to an external label
8896         before demangling.
8897
8898         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
8899         constant representing the prefix attached to method names to
8900         convert them to an external label.
8901         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
8902         using LABEL_PREFIX.
8903
8904 2003-03-10  Tom Tromey  <tromey@redhat.com>
8905
8906         * Makefile.in: Rebuilt.
8907         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
8908         (JC1FLAGS): Removed -Wno-deprecated.
8909
8910 2003-03-10  Michael Koch  <konqueror@gmx.de>
8911
8912         * java/nio/ByteOrder.java
8913         (nativeOrder): Working implementation, added documentation.
8914         (toString): Added documentation.
8915
8916 2003-03-10  Michael Koch  <konqueror@gmx.de>
8917
8918         * java/net/DatagramSocket.java,
8919         java/net/MulticastSocket.java,
8920         java/net/Socket.java,
8921         java/net/URL.java,
8922         java/net/URLConnection.java:
8923         Fixed some documentation tags to make javadoc and friends happy.
8924
8925 2003-03-10  Michael Koch  <koqnueror@gmx.de>
8926
8927         * java/beans/beancontext/BeanContextServicesSupport.java,
8928         java/beans/beancontext/BeanContextSupport.java: New files.
8929         * Makefile.am
8930         (awt_source_files): Added new files.
8931         * Makefile.in: Regenerated.
8932
8933 2003-03-10  Michael Koch  <konqueror@gmx.de>
8934
8935         * java/awt/FocusTraversalPolicy.java
8936         (FocusTraversalPolicy): Documentation added.
8937         (getComponentAfter): Documentation added.
8938         (getComponentBefore): Documentation added.
8939         (getFirstComponent): Documentation added.
8940         (getLastComponent): Documentation added.
8941         (getDefaultComponent): Documentation added.
8942         (getInitialComponent): Documentation added.
8943         * java/awt/ScrollPaneAdjustable.java
8944         (sp): New member variable.
8945         (orientation): New member variable.
8946         (value): New member variable.
8947         (minimum): New member variable.
8948         (maximum): New member variable.
8949         (visibleAmount): New member variable.
8950         (unitIncrement): New member variable.
8951         (blockIncrement): New member variable.
8952         (adjustmentListener): New member variable.
8953         (ScrollPaneAdjustable): Rewrote.
8954         (addAdjustmentListener): New method.
8955         (removeAdjustmentListener): New method.
8956         (getAdjustmentListeners): New method.
8957         (getBlockIncrement): New method.
8958         (getMaximum): New method.
8959         (getMinimum): New method.
8960         (getOrientation): New method.
8961         (getUnitIncrement): New method.
8962         (getValue): New method.
8963         (getVisibleAmount): New method.
8964         (setBlockIncrement): New method.
8965         (setUnitIncrement): New method.
8966         (setMaximum): Implemented.
8967         (setMinimum): Implemented.
8968         (setValue): New method.
8969         (setVisibleAmount): Implemented.
8970         (paramString): New method.
8971         * java/awt/Window.java
8972         (show): Use setVisible(true) instead of super.show().
8973         (hide): Use sevVisible(false) instead of super.hide().
8974         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
8975         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
8976         (postEvent): Deprecated.
8977         (applyResourceBundle): Deprecated.
8978         (processWindowFocusEvent): New method.
8979         (processWindowStateEvent): New method.
8980         * java/awt/datatransfer/DataFlavor.java: Reindented.
8981         * java/awt/font/TextHitInfo.java
8982         (charIndex): New member variable.
8983         (leadingEdge): New member variable.
8984         (TextHitInfo): New constructor.
8985         (getCharIndex): Implemented.
8986         (isLeadingEdge): Implemented.
8987         (getInsertionIndex): Implemented.
8988         (hashCode): Access charIndex directly.
8989         (equals): Reformated.
8990         (leading): Implemented.
8991         (trailing): Implemented.
8992         (beforeOffset): Implemented.
8993         (afterOffset): Implemented.
8994         (getOtherHit): Implemented.
8995         (getOffsetHit): Implemented.
8996         (toString): Implemented.
8997         * java/awt/image/BufferedImage.java
8998         (BufferedImage): Implements WritableRenderedImage.
8999         (observers): New member variable.
9000         (addTileObserver): New method.
9001         (removeTileObserver): New method.
9002
9003 2003-03-09  Tom Tromey  <tromey@redhat.com>
9004
9005         PR libgcj/9934:
9006         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
9007         to lseek.  Return 0 if we can't compute the value.
9008
9009 2003-03-03  Michael Koch  <konqueror@gmx.de>
9010
9011         * java/net/NetworkInterface.java: Merged with classpath.
9012
9013 2003-03-03  Tom Tromey  <tromey@redhat.com>
9014
9015         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
9016         of bytecode.
9017         (handle_ret_insn): Fail if returning to jsr that appears at end of
9018         bytecode.
9019
9020 2003-03-03  Michael Koch  <konqueror@gmx.de>
9021
9022         * Makefile.am
9023         (ordinary_java_source_files):
9024         Added gnu/java/nio/MappedByteFileBuffer.java.
9025         (nat_source_files):
9026         Added gnu/java/nio/natMappedByteFileBuffer.cc.
9027         * Makefile.in: Regenerated.
9028
9029 2003-03-03  Michael Koch  <konqueror@gmx.de>
9030
9031         * java/net/DatagramSocket.java
9032         (connect): Merged comment from classpath.
9033         (receive): Merged documentation from classpath.
9034         * java/net/Socket.java
9035         (setSoTimeout): Clarified documentation.
9036         * java/net/URL.java
9037         (getPath): Merged from classpath.
9038         (getUserInfo): Merged from classpath.
9039         (getQuery): Merged from classpath.
9040         * java/net/URLStreamHandler.java
9041         (toExternalForm): Merged from classpath.
9042
9043 2003-03-02  Mark Wielaard  <mark@klomp.org>
9044
9045         * java/util/Properties.java (load): Only skip line if the first
9046         character is a comment, whitespaces don't count.
9047
9048 2003-03-02  Michael Koch  <konqueror@gmx.de>
9049
9050         * java/net/NetPermission.java:
9051         Merged copyright with classpath.
9052
9053 2003-03-02  Michael Koch  <konqueror@gmx.de>
9054
9055         * java/lang/Package.java:
9056         Remerged from classpath.
9057
9058 2003-03-02  Michael Koch  <konqueror@gmx.de>
9059
9060         * java/net/HttpURLConnection.java
9061         (HTTP_SERVER_ERROR): Deprecated.
9062         * java/net/MulticastSocket.java
9063         (send): Replaced checkMulticast with appropriate checkPermission call,
9064         deprecated.
9065         * java/net/URLDecoder.java
9066         (decode): Deprecated.
9067         * java/net/URLEncoder.java
9068         (encode): Deprecated.
9069
9070 2003-03-02  Michael Koch  <konqueror@gmx.de>
9071
9072         * javax/swing/text/Caret.java
9073         (getMagicCaretPosition): Fixed typo in method name.
9074         * javax/swing/text/DefaultCaret.java
9075         (getMagicCaretPosition): Fixed typo in method name.
9076
9077 2003-03-02  Michael Koch  <konqueror@gmx.de>
9078
9079         * java/awt/List.java
9080         (setMultipleSelections): Deprecated.
9081         (delItem): Deprecated.
9082         * java/awt/MenuComponent.java
9083         (getPeer): Deprecated.
9084         * java/awt/ScrollPane.java
9085         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
9086         * java/awt/dnd/MouseDragGestureRecognizer.java
9087         (mouseClicked): Added comment.
9088         (mousePressed): Added comment.
9089         (mouseReleased): Added comment.
9090         (mouseEntered): Added comment.
9091         (mouseExited): Added comment.
9092         (mouseDragged): Added comment.
9093         (mouseMoved): Added comment.
9094         * java/awt/event/KeyEvent.java
9095         (KeyEvent): Deprecated.
9096         (setModifiers): Deprecated.
9097         
9098 2003-03-02  Michael Koch  <konqueror@gmx.de>
9099
9100         * gnu/java/nio/FileChannelImpl.java
9101         (fd): Type FileDescriptor instead of int.
9102         (lengthInternal): Removed.
9103         (FileChannelImpl): Fixed arguments, check type of file object.
9104         (size): Made it native.
9105         (implPosition): New native method.
9106         (implTruncate): New native method.
9107         (position): Implemented.
9108         (truncate): Implemented.
9109         (nio_mmap_file): Changed arguments.
9110         (nio_munmap_file): Changed arguments.
9111         (nio_msync): Changed arguments.
9112         * gnu/java/nio/natFileChannelImpl.cc
9113         (lengthInternal): Removed.
9114         (size): New method.
9115         (implPosition): New method.
9116         (implTruncate): New method.
9117         (nio_mmap_file): Changed arguments.
9118         (nio_munmap_file): Changed arguments.
9119         (nio_msync): Changed arguments.
9120
9121 2003-03-02  Michael Koch  <konqueror@gmx.de>
9122
9123         * java/awt/dnd/DropTargetContext.java:
9124         Compile fix: Forgot to commit import.
9125         
9126 2003-03-02  Michael Koch  <konqueror@gmx.de>
9127
9128         * java/awt/Component.java,
9129         java/awt/ScrollPane.java:
9130         Fixed typos.
9131
9132 2003-03-02  Michael Koch  <konqueror@gmx.de>
9133
9134         * java/awt/dnd/DnDEventMulticaster.java: New file.
9135         * java/awt/dnd/DragSource.java
9136         (flavorMap): New member variable.
9137         (dragSourceListener): New member variable.
9138         (dragSourceMotionListener): New member variable.
9139         (getFlavorMap): Implemented.
9140         (createDragGestureRecognizer): Implemented.
9141         (addDragSourceListener): Implemented.
9142         (removeDragSourceListener): Implemented.
9143         (getDragSourceListeners): Implemented.
9144         (addDragSourceMotionListener): Implemented.
9145         (removeDragSourceMotionListener): Implemented.
9146         (getDragSourceMotionListeners): Implemented.
9147         (getListeners): Implemented.
9148         * java/awt/dnd/DragSourceContext.java
9149         (peer): New member variable.
9150         (cursor): New member variable.
9151         (transferable): New member variable.
9152         (trigger): New member variable.
9153         (dragSourceListener): New member variable.
9154         (image): New member variable.
9155         (offset): New member variable.
9156         (DragSourceContext): Implemented.
9157         (getDragSource): Implemented.
9158         (getComponent): Implemented.
9159         (getTrigger): Implemented.
9160         (getSourceActions): Implemented.
9161         (setCursor): Implemented.
9162         (getCursor): Implemented.
9163         (addDragSourceListener): Implemented.
9164         (removeDragSourceListener): Implemented.
9165         (getTransferable): Implemented.
9166         * java/awt/dnd/DropTarget.java
9167         (DropTargetAutoScroller.component): New member variable.
9168         (DropTargetAutoScroller.point): New member variable.
9169         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
9170         (DropTargetAutoScroller.updateLocation): Implemented.
9171         (active): Renamed from isActive, defaults to true now.
9172         (component): New member variable.
9173         (flavorMap): New member variable.
9174         (actions): New member variable.
9175         (dropTargetContext): New member variable.
9176         (dropTargetListener): New member variable.
9177         (DropTarget): Implemented.
9178         (getComponent): Implemented.
9179         (setComponent): Implemented.
9180         (setDefaultActions): Implemented.
9181         (getDefaultActions): Implemented.
9182         (setActive): Use active instead of isActive.
9183         (isActive): Use active instead of isActive.
9184         (addDropTargetListener): Implemented.
9185         (removeDropTargetListener): Implemented.
9186         (getFlavorMap): Implemented.
9187         (setFlavorMap): Implemented.
9188         (getDropTargetContext): Implemented.
9189         (createDropTargetContext): Implemented.
9190         (createDropTargetAutoScroller): Implemented.
9191         * java/awt/dnd/DropTargetContext.java
9192         (TransferableProxy.getTransferDataFlavors): Implemented.
9193         (TransferableProxy.isDataFlavorSupported): Implemented.
9194         (TransferableProxy.getTransferData): Implemented.
9195         (dropTarget):  New member variable.
9196         (dtcp): New member variable.
9197         (DropTargetContext): New package private constructor.
9198         (getDropTarget): Implemented.
9199         (getComponent): Implemented.
9200         (addNotify): Implemented.
9201         (removeNotify): Implemented.
9202         (getCurrentDataFlavorsAsList): Implemented.
9203         (isDataFlavorSupported): Implemented.
9204         * java/awt/dnd/MouseDragGestureRecognizer.java
9205         (registerListeners): Implemented.
9206         (unregisterListeners): Implemented.
9207         * Makefile.am
9208         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
9209         * Makefile.in: Regenerated.
9210
9211 2003-03-02  Michael Koch  <konqueror@gmx.de>
9212
9213         * java/awt/Component.java
9214         (eventTypeEnabled): New method.
9215         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
9216         * java/awt/Container.java
9217         (changeSupport): New member variable.
9218         (addPropertyChangeListener): New methods.
9219         * java/awt/ContainerOrderFocusTraversalPolicy.java
9220         (ContainerOrderFocusTraversalPolicy): Added comment.
9221         (getComponentAfter): Throw exception, documentation added.
9222         (getComponentBefore): Throw exception, documentation added.
9223         (getFirstComponent): Throw exception, documentation added.
9224         (getLastComponent): Throw exception, documentation added.
9225         (getDefaultComponent): Throw exception, documentation added.
9226         * java/awt/EventQueue.java: Reindented.
9227         * java/awt/FocusTraversalPolicy.java:
9228         (FocusTraversalPolicy): Added comment.
9229         (getComponentAfter): Documentation added.
9230         (getComponentBefore): Documentation added.
9231         (getFirstComponent): Documentation added.
9232         (getLastComponent): Documentation added.
9233         (getDefaultComponent): Documentation added.
9234         (getInitialComponent): Documentation added.
9235         * java/awt/ScrollPane.java
9236         (wheelScrollingEnabled): New member variable.
9237         (ScrollPane): Initialize wheelScollingEnabled.
9238         (eventTypeEnabled): New method.
9239         (isWheelScrollingEnabled): New method.
9240         (setWheelScrollingEnabled): New method.
9241
9242 2003-03-02  Michael Koch  <konqueror@gmx.de>
9243
9244         * java/net/DatagramSocket.java
9245         (closed): New member variable.
9246         (close): Use closed variable.
9247         (getInetAddress): No need to call isConnected().
9248         (getPort): No need to call isConnected().
9249         (disconnect): Reset remoteAddress and remotePort, fixed typo.
9250         (isClosed): Reimplemented.
9251         
9252 2003-03-02  Michael Koch  <konqueror@gmx.de>
9253
9254         * configure.in: Added check for memory mapping of files.
9255         * configure: Regenerated.
9256         * config.h.in: Regenerated.
9257
9258 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
9259
9260         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
9261         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
9262
9263 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
9264
9265         * java/io/File.java (normalizePath): Remove trailing separator
9266         on Windows only if path is not of the form "x:\".
9267
9268         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
9269         (java::io::File::attr): Change formatting a bit and use
9270         WIN32_EPOCH_MILLIS instead of magic numbers.
9271         (java::io::File::isAbsolute): Path must have at least 3 
9272         characters for a UNC network path.
9273         (java::io::File::init_native): Define.
9274         (java::io::File::performCreate): Likewise.
9275         (java::io::File::performSetReadOnly): Likewise.
9276         (java::io::File::performSetLastModified): Likewise.
9277         (java::io::File::performListRoots): Likewise.
9278
9279 2003-03-01  Tom Tromey  <tromey@redhat.com>
9280
9281         * java/lang/natObject.cc: Don't include assert.h.
9282         (heavy_lock_obj_finalization_proc): Use JvAssert.
9283         (remove_all_heavy): Likewise.
9284         (_Jv_MonitorEnter): Likewise.
9285         (_Jv_MonitorExit): Likewise.
9286         (wait): Likewise.
9287
9288 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
9289
9290         * java/io/File (getAbsolutePath): Prefix drive specifier on
9291         Windows for paths starting with a '\'.
9292         (toURL): Make URL more consistent with what Sun's JDK returns.
9293
9294         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
9295         true only if the path is a UNC network path or it starts with a
9296         drive specifier.
9297
9298         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
9299         Be prepared to handle either '/' or '\\' in the file path for
9300         Windows if using the "file" protocol.
9301         Canonicalise the file path if using a relative path in the given
9302         context and the "file" protocol.
9303
9304 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
9305
9306         * java/lang/natWin32Process.cc (startProcess): Double-quote each
9307         program array element passed to CreateProcess.
9308
9309 2003-03-01  Tom Tromey  <tromey@redhat.com>
9310
9311         * java/rmi/registry/RegistryHandler.java: Deprecate.
9312
9313 2003-03-01  Tom Tromey  <tromey@redhat.com>
9314
9315         * javax/accessibility/AccessibleEditableText.java,
9316         javax/accessibility/AccessibleHyperlink.java: New versions from
9317         Classpath.
9318
9319         * gnu/java/locale/LocaleInformation_af_ZA.java,
9320         gnu/java/locale/LocaleInformation_ar_AE.java,
9321         gnu/java/locale/LocaleInformation_ar_BH.java,
9322         gnu/java/locale/LocaleInformation_ar_DZ.java,
9323         gnu/java/locale/LocaleInformation_ar_EG.java,
9324         gnu/java/locale/LocaleInformation_ar_IN.java,
9325         gnu/java/locale/LocaleInformation_ar_IQ.java,
9326         gnu/java/locale/LocaleInformation_ar_JO.java,
9327         gnu/java/locale/LocaleInformation_ar_KW.java,
9328         gnu/java/locale/LocaleInformation_ar_LB.java,
9329         gnu/java/locale/LocaleInformation_ar_LY.java,
9330         gnu/java/locale/LocaleInformation_ar_MA.java,
9331         gnu/java/locale/LocaleInformation_ar_OM.java,
9332         gnu/java/locale/LocaleInformation_ar_QA.java,
9333         gnu/java/locale/LocaleInformation_ar_SD.java,
9334         gnu/java/locale/LocaleInformation_ar_SY.java,
9335         gnu/java/locale/LocaleInformation_ar_TN.java,
9336         gnu/java/locale/LocaleInformation_ar_YE.java,
9337         gnu/java/locale/LocaleInformation_be_BY.java,
9338         gnu/java/locale/LocaleInformation_bn_IN.java,
9339         gnu/java/locale/LocaleInformation_br_FR.java,
9340         gnu/java/locale/LocaleInformation_bs_BA.java,
9341         gnu/java/locale/LocaleInformation_ca_ES.java,
9342         gnu/java/locale/LocaleInformation_cs_CZ.java,
9343         gnu/java/locale/LocaleInformation_cy_GB.java,
9344         gnu/java/locale/LocaleInformation_da_DK.java,
9345         gnu/java/locale/LocaleInformation_de_AT.java,
9346         gnu/java/locale/LocaleInformation_de_BE.java,
9347         gnu/java/locale/LocaleInformation_de_CH.java,
9348         gnu/java/locale/LocaleInformation_de_DE.java,
9349         gnu/java/locale/LocaleInformation_de_LU.java,
9350         gnu/java/locale/LocaleInformation_el_GR.java,
9351         gnu/java/locale/LocaleInformation_en_AU.java,
9352         gnu/java/locale/LocaleInformation_en_BW.java,
9353         gnu/java/locale/LocaleInformation_en_CA.java,
9354         gnu/java/locale/LocaleInformation_en_DK.java,
9355         gnu/java/locale/LocaleInformation_en_GB.java,
9356         gnu/java/locale/LocaleInformation_en_HK.java,
9357         gnu/java/locale/LocaleInformation_en_IE.java,
9358         gnu/java/locale/LocaleInformation_en_IN.java,
9359         gnu/java/locale/LocaleInformation_en_NZ.java,
9360         gnu/java/locale/LocaleInformation_en_PH.java,
9361         gnu/java/locale/LocaleInformation_en_SG.java,
9362         gnu/java/locale/LocaleInformation_en_US.java,
9363         gnu/java/locale/LocaleInformation_en_ZA.java,
9364         gnu/java/locale/LocaleInformation_en_ZW.java,
9365         gnu/java/locale/LocaleInformation_es_AR.java,
9366         gnu/java/locale/LocaleInformation_es_BO.java,
9367         gnu/java/locale/LocaleInformation_es_CL.java,
9368         gnu/java/locale/LocaleInformation_es_CO.java,
9369         gnu/java/locale/LocaleInformation_es_CR.java,
9370         gnu/java/locale/LocaleInformation_es_DO.java,
9371         gnu/java/locale/LocaleInformation_es_EC.java,
9372         gnu/java/locale/LocaleInformation_es_ES.java,
9373         gnu/java/locale/LocaleInformation_es_GT.java,
9374         gnu/java/locale/LocaleInformation_es_HN.java,
9375         gnu/java/locale/LocaleInformation_es_MX.java,
9376         gnu/java/locale/LocaleInformation_es_NI.java,
9377         gnu/java/locale/LocaleInformation_es_PA.java,
9378         gnu/java/locale/LocaleInformation_es_PE.java,
9379         gnu/java/locale/LocaleInformation_es_PR.java,
9380         gnu/java/locale/LocaleInformation_es_PY.java,
9381         gnu/java/locale/LocaleInformation_es_SV.java,
9382         gnu/java/locale/LocaleInformation_es_US.java,
9383         gnu/java/locale/LocaleInformation_es_UY.java,
9384         gnu/java/locale/LocaleInformation_es_VE.java,
9385         gnu/java/locale/LocaleInformation_et_EE.java,
9386         gnu/java/locale/LocaleInformation_eu_ES.java,
9387         gnu/java/locale/LocaleInformation_fa_IR.java,
9388         gnu/java/locale/LocaleInformation_fi_FI.java,
9389         gnu/java/locale/LocaleInformation_fo_FO.java,
9390         gnu/java/locale/LocaleInformation_fr_BE.java,
9391         gnu/java/locale/LocaleInformation_fr_CA.java,
9392         gnu/java/locale/LocaleInformation_fr_CH.java,
9393         gnu/java/locale/LocaleInformation_fr_FR.java,
9394         gnu/java/locale/LocaleInformation_fr_LU.java,
9395         gnu/java/locale/LocaleInformation_ga_IE.java,
9396         gnu/java/locale/LocaleInformation_gd_GB.java,
9397         gnu/java/locale/LocaleInformation_gl_ES.java,
9398         gnu/java/locale/LocaleInformation_gv_GB.java,
9399         gnu/java/locale/LocaleInformation_he_IL.java,
9400         gnu/java/locale/LocaleInformation_hi_IN.java,
9401         gnu/java/locale/LocaleInformation_hr_HR.java,
9402         gnu/java/locale/LocaleInformation_hu_HU.java,
9403         gnu/java/locale/LocaleInformation_id_ID.java,
9404         gnu/java/locale/LocaleInformation_it_CH.java,
9405         gnu/java/locale/LocaleInformation_it_IT.java,
9406         gnu/java/locale/LocaleInformation_iw_IL.java,
9407         gnu/java/locale/LocaleInformation_ja_JP.java,
9408         gnu/java/locale/LocaleInformation_ka_GE.java,
9409         gnu/java/locale/LocaleInformation_kl_GL.java,
9410         gnu/java/locale/LocaleInformation_ko_KR.java,
9411         gnu/java/locale/LocaleInformation_kw_GB.java,
9412         gnu/java/locale/LocaleInformation_lt_LT.java,
9413         gnu/java/locale/LocaleInformation_lv_LV.java,
9414         gnu/java/locale/LocaleInformation_mi_NZ.java,
9415         gnu/java/locale/LocaleInformation_mk_MK.java,
9416         gnu/java/locale/LocaleInformation_mr_IN.java,
9417         gnu/java/locale/LocaleInformation_mt_MT.java,
9418         gnu/java/locale/LocaleInformation_nl_BE.java,
9419         gnu/java/locale/LocaleInformation_nl_NL.java,
9420         gnu/java/locale/LocaleInformation_nn_NO.java,
9421         gnu/java/locale/LocaleInformation_no_NO.java,
9422         gnu/java/locale/LocaleInformation_oc_FR.java,
9423         gnu/java/locale/LocaleInformation_pl_PL.java,
9424         gnu/java/locale/LocaleInformation_pt_BR.java,
9425         gnu/java/locale/LocaleInformation_pt_PT.java,
9426         gnu/java/locale/LocaleInformation_ro_RO.java,
9427         gnu/java/locale/LocaleInformation_ru_RU.java,
9428         gnu/java/locale/LocaleInformation_ru_UA.java,
9429         gnu/java/locale/LocaleInformation_se_NO.java,
9430         gnu/java/locale/LocaleInformation_sk_SK.java,
9431         gnu/java/locale/LocaleInformation_sl_SI.java,
9432         gnu/java/locale/LocaleInformation_sq_AL.java,
9433         gnu/java/locale/LocaleInformation_sr_YU.java,
9434         gnu/java/locale/LocaleInformation_sv_FI.java,
9435         gnu/java/locale/LocaleInformation_sv_SE.java,
9436         gnu/java/locale/LocaleInformation_ta_IN.java,
9437         gnu/java/locale/LocaleInformation_te_IN.java,
9438         gnu/java/locale/LocaleInformation_tg_TJ.java,
9439         gnu/java/locale/LocaleInformation_tl_PH.java,
9440         gnu/java/locale/LocaleInformation_tr_TR.java,
9441         gnu/java/locale/LocaleInformation_uk_UA.java,
9442         gnu/java/locale/LocaleInformation_ur_PK.java,
9443         gnu/java/locale/LocaleInformation_uz_UZ.java,
9444         gnu/java/locale/LocaleInformation_vi_VN.java,
9445         gnu/java/locale/LocaleInformation_yi_US.java,
9446         gnu/java/locale/LocaleInformation_zh_CN.java,
9447         gnu/java/locale/LocaleInformation_zh_HK.java,
9448         gnu/java/locale/LocaleInformation_zh_SG.java,
9449         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
9450         info; from Classpath.
9451
9452         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
9453         isPaintPending): New methods.
9454         * gnu/awt/xlib/XFramePeer.java (getState, setState,
9455         setMaximizedBounds): New methods.
9456         (beginLayout, endLayout, isPaintPending): Likewise.
9457         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
9458         (requestFocus): Likewise.
9459         (isObscured): Likewise.
9460         (canDetermineObscurity): Likewise.
9461         (coalescePaintEvent): Likewise.
9462         (updateCursorImmediately): Likewise.
9463         (createVolatileImage): Likewise.
9464         (handlesWheelScrolling): Likewise.
9465         (createBuffers): Likewise.
9466         (getBackBuffer): Likewise.
9467         (flip): Likewise.
9468         (destroyBuffers): Likewise.
9469
9470         * Makefile.in: Rebuilt.
9471         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
9472         RobotPeer.java.
9473         * gnu/java/awt/GLightweightPeer.java,
9474         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9475         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9476         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9477         gnu/java/awt/peer/gtk/GtkFramePeer.java,
9478         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
9479         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9480         java/awt/dnd/peer/DragSourceContextPeer.java,
9481         java/awt/dnd/peer/DropTargetContextPeer.java,
9482         java/awt/peer/ButtonPeer.java,
9483         java/awt/peer/CheckboxMenuItemPeer.java,
9484         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
9485         java/awt/peer/ComponentPeer.java,
9486         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
9487         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
9488         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
9489         java/awt/peer/MenuBarPeer.java,
9490         java/awt/peer/MenuComponentPeer.java,
9491         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
9492         java/awt/peer/PopupMenuPeer.java,
9493         java/awt/peer/ScrollPanePeer.java,
9494         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
9495         java/awt/peer/TextComponentPeer.java,
9496         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
9497         New versions from Classpath.
9498         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
9499         * java/awt/peer/RobotPeer.java: Likewise.
9500
9501 2003-03-01  Mark Wielaard  <mark@klomp.org>
9502
9503         * java/io/ObjectInputStream.java: Reindent.
9504         * java/io/ObjectOutputStream.java: Likewise.
9505
9506 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
9507
9508         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
9509         jvalue for each argument. Simplify.
9510         * testsuite/libjava.jni/calls.c (docall),
9511         testsuite/libjava.jni/calls.java (longpb_f): check for argument
9512         misalignment.
9513
9514 2003-02-28  Mark Wielaard  <mark@klomp.org>
9515
9516         * Makefile.am (nat_source_files): Remove
9517         java/io/natObjectOutputStream.cc.
9518         * Makefile.in: Regenerated.
9519         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
9520         * java/io/ObjectStreamField.java (typename): New field.
9521         (ObjectStreamField(String, Class)): Initialize new field.
9522         (ObjectStreamField(String, String)): New Constructor.
9523         (getTypeCode): Use new field.
9524         (getTypeString): Use new field.
9525         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
9526         ObjectStreamExceptions. Remember and reset old BlockDataMode.
9527         Handle reading of Proxy classes. Never drain(), just write
9528         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
9529         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
9530         (flush): Call flush(), not just drain().
9531         (writeBoolean): Always use blockDataOutput.
9532         (writeByte): Likewise.
9533         (writeShort): Likewise.
9534         (writeChar): Likewise.
9535         (writeInt): Likewise.
9536         (writeLong): Likewise.
9537         (writeFloat): Likewise.
9538         (writeDouble): Likewise.
9539         (writeBytes): Likewise.
9540         (putfield (put(String,Object))): Throw IllegalArgumentException if
9541         field cannot be found.
9542         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
9543         (writeArraySizeAndElements): Write byte[] in one go.
9544         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
9545         set BlockDataMode to false.
9546         (annotateProxyClass): New method.
9547         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
9548         (getField): No longer native.
9549         (getMethod): Likewise.
9550         (setBlockDataMode): Always drain() on switch, return old mode.
9551         (static): New static code block.
9552         * java/io/natObjectOutputStream.cc: Removed.
9553         * java/io/ObjectInputStream.java (getField): No longer native.
9554         (getMethod): Likewise.
9555         (readObject): Remember and reset old BlockDataMode. Track whether
9556         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
9557         TC_LONGSTRING.
9558         (defaultReadObject): Set BlockDataMode to false during readFields.
9559         (resolveClass): Create new SecurityManager if necessary.
9560         Use Class.forName() if null ClassLoader found.
9561         (read(byte[],int,int): Copy remaining bytes to data before calling
9562         readNextBlock().
9563         (readFields): Set and reset BlockDataMode on call_read_method.
9564         Catch NoSuchFieldErrors.
9565         (setBlockDataMode): Return old mode.
9566         (static): New static code block.
9567         * java/io/natObjectInputStream.cc (getField): Removed.
9568         (getMethod): Likewise.
9569
9570 2003-02-27  Michael Koch  <konqueror@gmx.de>
9571
9572         * java/beans/Beans.java,
9573         java/beans/FeatureDescriptor.java
9574         java/beans/PropertyEditorManager.java:
9575         Reformated to GNU style.
9576
9577 2003-02-25  Michael Koch  <konqueror@gmx.de>
9578
9579         * gnu/java/nio/MappedByteFileBuffer.java,
9580         gnu/java/nio/natMappedByteFileBuffer.cc:
9581         New files, both are not compiled yet to get not noncompiling CVS.
9582
9583 2003-02-24  Tom Tromey  <tromey@redhat.com>
9584
9585         * java/util/prefs/AbstractPreferences.java (isUserNode):
9586         Implemented.
9587
9588 2003-02-24  Tom Tromey  <tromey@redhat.com>
9589
9590         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
9591         Deprecate.
9592         * java/lang/Thread.java (resume): Deprecate.
9593         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
9594         in @deprecated.
9595
9596 2003-02-23  Tom Tromey  <tromey@redhat.com>
9597
9598         * Makefile.in: Rebuilt.
9599         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
9600
9601 2003-02-23  Tom Tromey  <tromey@redhat.com>
9602
9603         * java/lang/natRuntime.cc (libraries_size, libraries_count,
9604         libraries): Removed.
9605         (add_library): Removed.
9606         (_load): Don't call add_library.
9607         (loadLibraryInternal): Likewise.
9608         (init): Likewise.
9609         (lookup_data): New struct.
9610         (find_symbol): New function.
9611         (_Jv_FindSymbolInExecutable): Use it.
9612
9613 2002-02-21  Anthony Green  <green@redhat.com>
9614
9615         * java/lang/Thread.java (Thread): New constructor taking stack
9616         size parameter (ignored for now).
9617         * Many methods: Merged GNU Classpath documentation.
9618
9619         * java/lang/Class.java (finalize): throws a Throwable.
9620
9621 2003-02-21  Mark Wielaard  <mark@klomp.org>
9622
9623         * java/util/zip/ZipEntry.java (setComment): Don't check length when
9624         argument is null.
9625
9626 2003-02-21  Mark Wielaard  <mark@klomp.org>
9627
9628         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
9629         then 65535 chars throw IllegalArgumentException.
9630
9631 2003-02-21  Mark Wielaard  <mark@klomp.org>
9632
9633         * java/util/zip/ZipFile.java (finalize): New method.
9634
9635 2003-02-21  Michael Koch  <konqueror@gmx.de>
9636
9637         * gnu/java/nio/natSocketChannelImpl.cc:
9638         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
9639         <cato@df.lth.se> for pointing to it.
9640
9641 2003-02-20  Raif S. Naffah <raif@fl.net.au>
9642
9643         * java/math/BigInteger.java (euclidInv): Take result array as an
9644         argument.  Updated all callers.
9645         (modInverse): Removed unused variables.
9646
9647 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
9648
9649         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
9650         config.status.
9651         * configure: Rebuilt.
9652
9653 2003-02-19  Michael Koch  <konqueror@gmx.de>
9654
9655         * gnu/java/nio/natSocketChannelImpl.cc:
9656         Added support for platforms without network support.
9657
9658 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9659
9660         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
9661         after config.h.  Use <> for consistency.
9662         * java/lang/natObject.cc: Likewise.
9663         * java/lang/natRuntime.cc: Likewise.
9664         * java/lang/natSystem.cc: Likewise.
9665         * java/util/natTimeZone.cc: Likewise.
9666         * win32.cc: Likewise.
9667         * include/posix.h (fcntl, socket, connect, close, bind, accept,
9668         listen, write, read): Undef to avoid interference from OS macros.
9669
9670 2003-02-19  Michael Koch  <konqueror@gmx.de>
9671
9672         * gnu/java/nio/ByteBufferImpl.java
9673         (ByteBufferImpl): Renamed two variables.
9674         * gnu/java/nio/CharBufferImpl.java
9675         (CharBufferImpl): Renamed two variables.
9676         * gnu/java/nio/DoubleBufferImpl.java
9677         (DoubleBufferImpl): Renamed two variables.
9678         * gnu/java/nio/FloatBufferImpl.java
9679         (FloatBufferImpl): Renamed two variables.
9680         * gnu/java/nio/IntBufferImpl.java
9681         (IntBufferImpl): Renamed two variables.
9682         * gnu/java/nio/LongBufferImpl.java
9683         (LongBufferImpl): Renamed two variables.
9684         * gnu/java/nio/ShortBufferImpl.java
9685         (ShortBufferImpl): Renamed two variables.
9686         * java/nio/CharBuffer.java
9687         (wrap): Fixed arguments to CharBufferImpl constructor.
9688         (hasArray): Only not read-only buffers have backing arrays.
9689         (length): Documentation added.
9690         (subSequence): Documentation added.
9691         * java/nio/DoubleBuffer.java
9692         (hasArray): Only not read-only buffers have backing arrays.
9693         * java/nio/FloatBuffer.java
9694         (hasArray): Only not read-only buffers have backing arrays.
9695         * java/nio/IntBuffer.java
9696         (hasArray): Only not read-only buffers have backing arrays.
9697         * java/nio/LongBuffer.java
9698         (hasArray): Only not read-only buffers have backing arrays.
9699         * java/nio/ShortBuffer.java
9700         (hasArray): Only not read-only buffers have backing arrays.
9701         
9702 2003-02-19  Michael Koch  <konqueror@gmx.de>
9703
9704         * javax/accessibility/AccessibleContext.java
9705         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
9706
9707 2003-02-19  Michael Koch  <konqueror@gmx.de>
9708
9709         * java/awt/ScrollPaneAdjustable.java: Reformated.
9710
9711 2003-02-19  Michael Koch <konqueror@gmx.de>
9712
9713         * gnu/awt/j2d/Graphics2DImpl.java
9714         (getFontRenderContext): New method.
9715         (drawGlyphVector): New method.
9716         * java/awt/Graphics2D.java
9717         (getFontRenderContext): New abstract method.
9718         (drawGlyphVector): New abstract method.
9719         
9720 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
9721
9722         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
9723         if necessary.
9724         
9725         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9726         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9727         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9728         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9729         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9730         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
9731         (setFont, gtkSetFont): add.
9732         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
9733         Propagate font to peer.  (setFont): add FIXME comment.
9734
9735         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9736         (gtkTextGetSize): fix height, width computation.
9737
9738         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
9739         Make X font name a bit less bogus.
9740
9741         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9742         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
9743
9744         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
9745         (processAdjustmentEvent): Adjust value.
9746
9747         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
9748         logic errors.
9749
9750         * java/awt/Component.java (setVisible, show, hide): Call show and
9751         hide methods in subclasses.
9752         (getPreferredSize): don't set prefSize before we have peer.
9753
9754         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
9755         Guess (0,0) if we don't have peer.
9756
9757
9758 2003-02-18  Michael Koch  <konqueror@gmx.de>
9759
9760         * java/nio/channels/FileChannel.java
9761         (toString): New implementation, added documentation.
9762         (map): Added exception documentation.
9763         (size): Added exception documentation.
9764         (write): New methods, documentation work.
9765         (read): New methods, documentation work.
9766         (implCloseChannel): Rewrote exception documentation.
9767         (force): Throws IOException, added documentation.
9768         (lock): New methods.
9769         (tryLock): New methods.
9770         (position): New methods.
9771         (transferTo): New method.
9772         (transferFrom): New method.
9773         (truncate): New method.
9774         * java/nio/channels/spi/SelectorProvider.java
9775         (provider): Implemented.
9776         * Makefile.am
9777         (ordinary_java_source_files): Added the following files:
9778         gnu/java/nio/DatagramChannelImpl.java
9779         gnu/java/nio/FileChannelImpl.java
9780         gnu/java/nio/PipeImpl.java
9781         gnu/java/nio/SelectionKeyImpl.java
9782         gnu/java/nio/SelectorImpl.java
9783         gnu/java/nio/SelectorProviderImpl.java
9784         gnu/java/nio/ServerSocketChannelImpl.java
9785         gnu/java/nio/SocketChannelImpl.java
9786         java/nio/channels/FileLock.java
9787         (nat_java_source_files): Added the following files:
9788         gnu/java/nio/natFileChannelImpl.cc
9789         gnu/java/nio/natSelectorImpl.cc
9790         gnu/java/nio/natSocketChannelImpl.cc
9791         * Makefile.in: Regenerated.
9792
9793 2003-02-17  Tom Tromey  <tromey@redhat.com>
9794
9795         * java/awt/image/ColorModel.java: Re-merged with Classpath.
9796         * java/awt/image/ImageFilter.java: Likewise.
9797
9798 2003-02-17  Raif S. Naffah <raif@fl.net.au>
9799
9800         * java/math/BigInteger.java (euclidInv): Return array of
9801         `BigInteger's.  Changed all callers.
9802
9803 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
9804
9805         * java/util/Properties.java (store): Move the code formerly in
9806         list(), into this method.
9807         (list (PrintStream)): Just call list (PrintWriter) with a 
9808         PrintWriter object constructed from the given PrintStream object.
9809         (list (PrintWriter)): Emulate the output of Properties.list()
9810         as found in JDK 1.3/1.4.
9811
9812 2003-02-17  Michael Koch  <konqueror@gmx.de>
9813
9814         * java/net/DatagramSocket.java
9815         (connect): Merged with classpath.
9816         (disconnect): Merged documentation with classpath.
9817         (receice): Merged documentation with classpath.
9818         (send): Merged documentation with classpath.
9819         
9820 2003-02-17  Michael Koch  <konqueror@gmx.de>
9821
9822         * java/awt/dnd/DragSourceContext.java
9823         (addDragSourceListener): Added documentation.
9824         * java/awt/dnd/DragSourceDragEvent.java
9825         (serialVersionUID): New member variable.
9826         (getDropAction): Reformated.
9827         * java/awt/dnd/DragSourceDropEvent.java
9828         (serialVersionUID): New member variable.
9829         (dropSuccess): Renamed from success for serialization issues.
9830         * java/awt/dnd/DragSourceEvent.java
9831         (serialVersionUID): New member variable.
9832         * java/awt/dnd/DropTarget.java
9833         (serialVersionUID): New member variable.
9834         (DropTarget): Implemented, documentation reworked.
9835         (setComponent): Documentation added.
9836         (getComponent): Documentation added.
9837         (setDefaultActions): Documentation added.
9838         (getDefaultActions): Documentation added.
9839         (addDropTargetListener): Documentation added.
9840         * java/awt/dnd/DropTargetContext.java
9841         (DropTargetContext): Documentation added.
9842         (TransferableProxy.TransferableProxy): New method.
9843         (dropComplete): Fixed documentation.
9844         (getTransferable): Fixed documentation.
9845         (createTransferableProxy): Implemented.
9846         * java/awt/dnd/DropTargetDragEvent.java
9847         (DropTargetDragEvent): Documentation added.
9848         (serialVersionUID): New member variable.
9849         (DropTargetDragEvent): Throw exceptions, documentation added.
9850         (acceptDrag): Implemented.
9851         (getCurrentDataFlavors): Implemented.3yy
9852         (getCurrentDataFlavorsAsList): Implemented.
9853         (isDataFlavorSupported): Implemented.
9854         (rejectDrag): Implemented.
9855         * java/awt/dnd/DropTargetDropEvent.java
9856         (DropTargetDropEvent): Documentation added.
9857         (serialVersionUID): New member variable.
9858         (actions): Renamed from srcActions for serialization issues.
9859         (isLocalTx): Renamed from isLocalTx for serialization issues.
9860         (DropTargetDropEvent): New implementation, throw exceptions,
9861         documentation added.
9862         (getCurrentDataFlavors): Implemented.
9863         (getCurrentDataFlavorsAsList): Implemented.
9864         (isDataFlavorSupported): Implemented.
9865         (getSourceActions): Implemented.
9866         (getDropAction): Implemented.
9867         (getTransferable): Implemented.
9868         (acceptDrop): Implemented.
9869         (rejectDrop): Implemented.
9870         * java/awt/dnd/DropTargetListener.java
9871         (drop): Fixed documentation.
9872         * java/awt/dnd/MouseDragGestureRecognizer.java
9873         (MouseDragGestureRecognizer): Documentation added.
9874
9875 2003-02-17  Michael Koch  <konqueror@gmx.de>
9876
9877         * java/awt/font/FontRenderContext.java,
9878         java/awt/font/ShapeGraphicAttribute.java,
9879         java/awt/font/MultipleMaster.java,
9880         java/awt/font/TransformAttribute.java,
9881         java/awt/font/GlyphJustificationInfo.java,
9882         java/awt/font/LineBreakMeasurer.java,
9883         java/awt/font/TextMeasurer.java,
9884         java/awt/font/TextLayout.java,
9885         java/awt/font/LineMetrics.java,
9886         java/awt/font/TextAttribute.java,
9887         java/awt/font/GlyphMetrics.java,
9888         java/awt/font/OpenType.java,
9889         java/awt/font/GlyphVector.java,
9890         java/awt/font/GraphicAttribute.java,
9891         java/awt/font/ImageGraphicAttribute.java,
9892         java/awt/font/NumericShaper.java: New files.
9893         * Makefile.am
9894         (awt_java_source_files): Added the following files:
9895         java/awt/font/FontRenderContext.java
9896         java/awt/font/ShapeGraphicAttribute.java
9897         java/awt/font/MultipleMaster.java
9898         java/awt/font/TransformAttribute.java
9899         java/awt/font/GlyphJustificationInfo.java
9900         java/awt/font/LineBreakMeasurer.java
9901         java/awt/font/TextMeasurer.java
9902         java/awt/font/TextLayout.java
9903         java/awt/font/LineMetrics.java
9904         java/awt/font/TextAttribute.java
9905         java/awt/font/GlyphMetrics.java
9906         java/awt/font/OpenType.java
9907         java/awt/font/GlyphVector.java
9908         java/awt/font/GraphicAttribute.java
9909         java/awt/font/ImageGraphicAttribute.java
9910         java/awt/font/NumericShaper.java
9911         * Makefile.in: Regenerated.
9912
9913 2003-02-17  Michael Koch  <konqueror@gmx.de>
9914
9915         * java/awt/print/Paper.java
9916         (Paper): Implements Cloneable.
9917         * java/awt/print/PrinterJob.java
9918         (setJobName): Return value must be void.
9919         (print): Throws PrinterException.
9920         
9921 2003-02-16  Tom Tromey  <tromey@redhat.com>
9922
9923         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
9924         variable.
9925
9926 2003-02-15  Michael Koch  <konqueror@gmx.de>
9927
9928         * java/awt/datatransfer/DataFlavor.java
9929         (isRepresentationClassByteBuffer): Removed try-catch block.
9930         (isRepresentationClassCharBuffer): Removed try-catch block.
9931         (isRepresentationClassReader): Removed try-catch block.
9932
9933 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9934
9935         * java/nio/charset/Charset.java
9936         (isRegistered): Fixed method args and implementation.
9937         * java/nio/charset/CharsetEncoder.java
9938         (unmappableCharacterAction): New method.
9939
9940 2003-02-15  Michael Koch  <konqueror@gmx.de>
9941
9942         * java/awt/CheckboxMenuItem.java
9943         (CheckBoxMenuItem): Dont implement Serializable.
9944         (getListeners): New method,
9945         (getItemListeners): New method.
9946         * java/awt/Choice.java
9947         (getListeners): New method,
9948         (getItemListeners): New method.
9949         * java/awt/Container.java
9950         (getListeners): Added exception documentation.
9951         (setFocusTraversalKeys): Throw exceptions, added documentattion.
9952         (getFocusTraversalKeys): Added documentation.
9953         (areFocusTraversalKeysSet): Added documentation.
9954         (applyComponentOrientation): Added documentation.
9955         * java/awt/ContainerOrderFocusTraversalPolicy.java
9956         (implicitDownCycleTraversal): Renamed from downCycle for
9957         serialization.
9958         (ContainerOrderFocusTraversalPolicy): Added documentation.
9959         (accept): Reformated.
9960         * java/awt/Dialog.java
9961         (Dialog): Dont implement Serializable.
9962         (Dialog): Added documentation.
9963         * java/awt/Font.java
9964         (Font): Dont use absolute class name.
9965         * java/awt/Frame.java
9966         (Frame): Font implement Serializable.
9967         * java/awt/List.java
9968         (getListeners): New method,
9969         (getActionListeners): New method.       
9970         (getItemListeners): New method.
9971         * java/awt/Menu.java
9972         (countItems): New deprecated method.
9973         * java/awt/Scrollbar.java
9974         (getListeners): New method,
9975         (getAdjustmentListeners): New method,
9976         * java/awt/TextComponent.java
9977         (getListeners): New method,
9978         (getTextListeners): New method,
9979         * java/awt/TextField.java
9980         (getListeners): New method,
9981         (getActionListeners): New method.       
9982         * java/awt/Window.java
9983         (windowFocusListener): New member variable.
9984         (windowStateListener): New member variable.
9985         (getWindowFocusListeners): New method.
9986         (getWindowStateListeners): New method.
9987         (addWindowFocusListener): New method.
9988         (addWindowStateListener): New method.
9989         (removeWindowFocusListener): New method.
9990         (removeWindowStateListener): New method.
9991         * java/awt/datatransfer/DataFlavor.java
9992         (isRepresentationClassByteBuffer): New method.
9993         (isRepresentationClassCharBuffer): New method.
9994         (isRepresentationClassReader): New method.
9995
9996 2003-02-14  Mark Wielaard  <mark@klomp.org>
9997
9998         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
9999         zero when there is an exponent and the significant is zero.
10000         (divide): Always set scale to newScale even in special ZERO case.
10001
10002 2003-02-14  Tom Tromey  <tromey@redhat.com>
10003
10004         * java/lang/System.java (properties): Use Properties.clone.
10005         (setProperties): Likewise.
10006
10007 2003-02-14  Michael Koch  <konqueror@gmx.de>
10008
10009         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
10010         * gnu/java/nio/ServerSocketChannelImpl.java
10011         (SocketAccept): Removed.
10012         (accept): Commented out use of SocketAccept.
10013
10014 2003-02-13  Tom Tromey  <tromey@redhat.com>
10015
10016         * verify.cc (state::seen_subrs): New field.
10017         (state::state): Initialize it.
10018         (state::clean_subrs): New method.
10019         (state::~state): Call it.
10020         (state::copy): Copy subroutine list.
10021         (state::add_subr): New method.
10022         (state::merge): Only register a change if the current subroutine
10023         hasn't yet been noted.
10024
10025 2003-02-13  Mark Wielaard  <mark@klomp.org>
10026
10027         * java/io/InputStreamReader.java (getEncoding): Return null when
10028         closed.
10029         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
10030
10031 2003-02-13  Mark Wielaard  <mark@klomp.org>
10032  
10033         * java/util/zip/InflaterInputStream.java (read): Return zero when len
10034         is zero.
10035
10036 2003-02-13  Mark Wielaard  <mark@klomp.org>
10037
10038         * java/io/BufferedOutputStream.java (write(int)): Only flush when
10039         next byte cannot be buffered.
10040
10041 2003-02-13  Michael Koch  <konqueror@gmx.de>
10042  
10043         * java/awt/Label.java
10044         (Label): Don't implement Serializable directly.
10045         (addNotify): Fixed typo in documentation.
10046         * java/awt/List.java
10047         (List): Don't implement Serializable directly.
10048         * java/awt/PopupMenu.java
10049         (PopupMenu): Don't implement Serializable directly.
10050         * java/awt/ScrollPane.java
10051         (ScrollPane): Don't implement Serializable directly.
10052         * java/awt/Scrollbar.java
10053         (Scrollbar): Don't implement Serializable directly.
10054         * java/awt/TextArea.java
10055         (preferredSize): Fixed method arguments.
10056         * java/awt/TextField.java
10057         (TextField): Don't implement Serializable directly.
10058         * java/awt/color/ICC_ColorSpace.java
10059         (fromCIOXYZ): Documentation added.
10060         (getMinValue): Documentation added.
10061         (getMaxValue): Documentation added.
10062         * java/awt/datatransfer/DataFlavor.java
10063         (isMimeTypeEqual): May not be final.
10064         (clone): Throws CloneNotSupportedException.
10065         (getReaderForText): Don't throws UnsupportedEncodingException.
10066
10067 2003-02-13  Michael Koch  <konqueror@gmx.de>
10068  
10069         * gnu/java/awt/peer/gtk/GdkGraphics.java
10070         (drawString): New stubbed method.
10071         * java/awt/Graphics.java
10072         (drawString): New method.
10073
10074 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
10075
10076         PR libgcj/9271:
10077         * java/security/SecureRandom.java (next): Avoid bias in results.
10078
10079 2003-02-13  Michael  <konqueror@gmx.de>
10080
10081         * gnu/java/nio/FileChannelImpl.java
10082         (lengthInternal): Must be native.
10083         (size): Check if channel is already closed.
10084         (implCloseChannel): Reformated.
10085         (read): w was unused, removed it.
10086         (read): Removed.
10087         (read): New method.
10088         (write): New method.
10089         (map): Check arguments.
10090         (force): Throws IOException, check if channel is closed.
10091         (transferTo): New method.
10092         (transferFrom): New method.
10093         (lock): New method.
10094         (tryLock): New method.
10095         (position): New method.
10096         (truncate): New method.
10097         (nio_mmap_file): Uncommented.
10098         (nio_munmap_file): Uncommented.
10099         (nio_msync): Uncommented.
10100         * gnu/java/nio/natFileChannelImpl.cc: New file.
10101         
10102 2003-02-13  Michael Koch  <konqueror@gmx.de>
10103
10104         * java/nio/ByteBuffer.java
10105         (endian): New member variable.
10106         (get): New methods.
10107         (equals): New method.
10108         (compareTo): New method.
10109         (order): New methods.
10110         (compact): New method.
10111         (isDirect): New method.
10112         (slice): New method.
10113         (duplicate): New method.
10114         (asReadOnlyBuffer): New method.
10115         (asCharBuffer): New method.
10116         (asDoubleBuffer): New method.
10117         (asFloatBuffer): New method.
10118         (asIntBuffer): New method.
10119         (asLongBuffer): New method.
10120         (asShortBuffer): New method.
10121         (get*): New methods.
10122         (put*): New methods.
10123         (toString): New method.
10124         * java/nio/CharBuffer.java
10125         (CharBuffer): Implement Comparable instead of Cloneable.
10126         (get): May not be final.
10127         (put): May not be final.
10128         
10129 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
10130
10131         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
10132         lastIndexOf( ) instead of indexOf( ) to find the colon before
10133         the line number, because Win32 file names might contain a 
10134         drive letter and a colon at the start of an absolute path.
10135
10136 2003-02-13  Michael Koch  <konqueror@gmx.de>
10137
10138         * gnu/java/nio/natSocketChannelImpl.cc
10139         (SocketConnect): This is not implemented yet.
10140         (SocketBind): This is not implemented yet.
10141
10142 2003-02-13  Michael Koch  <konqueror@gmx.de>
10143
10144         * gnu/java/nio/natByteBufferImpl.cc,
10145         gnu/java/nio/natCharBufferImpl.cc,
10146         gnu/java/nio/natDoubleBufferImpl.cc,
10147         gnu/java/nio/natFloatBufferImpl.cc,
10148         gnu/java/nio/natIntBufferImpl.cc,
10149         gnu/java/nio/natLongBufferImpl.cc,
10150         gnu/java/nio/natShortBufferImpl.cc:
10151         Added copyright and license.
10152         * java/nio/DoubleBuffer.java,
10153         java/nio/FloatBuffer.java,
10154         java/nio/IntBuffer.java,
10155         java/nio/LongBuffer.java,
10156         java/nio/ShortBuffer.java
10157         (array): Throw exceptions.
10158         (arrayOffset): Throw exceptions.
10159
10160 2003-02-13  Michael Koch  <konqueror@gmx.de>
10161  
10162         * gnu/java/util/prefs/FileBasedFactory.java,
10163         gnu/java/util/prefs/MemmoryBasedFactory.java,
10164         gnu/java/util/prefs/MemoryBasedPreferences.java,
10165         gnu/java/util/prefs/NodeReader.java,
10166         gnu/java/util/prefs/NodeWriter.java,
10167         java/util/prefs/AbstractPreferences.java,
10168         java/util/prefs/BackingStoreException.java,
10169         java/util/prefs/InvalidPreferencesFormatException.java,
10170         java/util/prefs/NodeChangeEvent.java,
10171         java/util/prefs/NodeChangeListener.java,
10172         java/util/prefs/PreferenceChangeEvent.java,
10173         java/util/prefs/PreferenceChangeListener.java,
10174         java/util/prefs/Preferences.java,
10175         java/util/prefs/PreferencesFactory.java:
10176         New files, all merged from classpath.
10177         * Makefile.am
10178         (ordinary_java_source_files): Added the following files:
10179         gnu/java/util/prefs/FileBasedFactory.java,
10180         gnu/java/util/prefs/MemmoryBasedFactory.java,
10181         gnu/java/util/prefs/MemoryBasedPreferences.java,
10182         gnu/java/util/prefs/NodeReader.java,
10183         gnu/java/util/prefs/NodeWriter.java,
10184         (core_java_source_files): Added the following files:
10185         java/util/prefs/AbstractPreferences.java,
10186         java/util/prefs/BackingStoreException.java,
10187         java/util/prefs/InvalidPreferencesFormatException.java,
10188         java/util/prefs/NodeChangeEvent.java,
10189         java/util/prefs/NodeChangeListener.java,
10190         java/util/prefs/PreferenceChangeEvent.java,
10191         java/util/prefs/PreferenceChangeListener.java,
10192         java/util/prefs/Preferences.java,
10193         java/util/prefs/PreferencesFactory.java
10194         * Makefile.in: Regenerated.
10195  
10196 2003-02-13  Michael Koch  <konqueror@gmx.de>
10197
10198         * java/net/NetPermission.java
10199         (NetPermission): Make doucmentation match the method declaration.
10200         * java/net/NetworkInterface.java
10201         (equals): Reformated for GNU coding style.
10202         * java/net/ServerSocket.java: Merged with classpath.
10203         * java/net/Socket.java: Partly merged with classpath (Added some @since).
10204         * java/net/SocketImpl.java
10205         (localPort): Merged with classpath (initialize with -1).
10206         * java/net/SocketPermission.java: Merged with classpath (reindented).
10207         * java/net/URLDecoder.java: Merged with classpath (reindented).
10208
10209 2003-02-13  Michael Koch  <konqueror@gmx.de>
10210
10211         * java/awt/GridBagConstraints.java
10212         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
10213         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
10214         * java/awt/KeyboardFocusManager.java
10215         (setGlobalCurrentFocusCycleRoot): Must be public.
10216         * java/awt/MenuComponent.java
10217         (MenuComponent): Must be public.
10218         * java/awt/Toolkit.java:
10219         Added some empty lines to make documentation more readable.
10220         (getFontPeer): Added @deprecated.
10221         (getColorModel): Added exception documentation.
10222         (getProperty): Fixed documentation.
10223  
10224 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
10225
10226         * configure.host (alpha*-*): Default to -mieee.
10227         * configure.in (IEEESPEC): New.
10228         * libgcj.spec.in (jc1): Add IEEESPEC.
10229         * configure: Rebuild.
10230
10231 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
10232
10233         * include/win32.h: Include ws2tcpip.h instead of
10234         winsock.h to obtain definition of the socklen_t type.
10235         Remove IP_TOS definition - not needed with ws2tcpip.h
10236         (_Jv_connect): Correct slight formatting error.
10237
10238 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
10239
10240         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
10241         size of the arguments for a JNI function. For Win32,
10242         modify to search for all forms of possible exported
10243         names of an stdcall JNI function.
10244         (_Jv_JNIMethod::call): Modify to calculate the size
10245         of the arguments passed to a JNI function and pass
10246         it to _Jv_LookupJNIMethod.
10247
10248 2003-02-12  Michael Koch  <konqueror@gmx.de>
10249
10250         * java/nio/channels/Channels.java: New file.
10251         * Makefile.am
10252         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
10253         * Makefile.in: Regenerated.
10254
10255 2003-02-12  Michael Koch  <konqueror@gmx.de>
10256
10257         * java/nio/ByteBuffer.java
10258         (allocate): Implemented.
10259         (wrap): Implemented.
10260         * java/nio/CharBuffer.java:
10261         Some documentation added and reworked.
10262         (endian): Removed.
10263         (allocate): Implemented.
10264         (wrap): Implemented.
10265         (array): Throw exceptions.
10266         (arrayOffset): Throw exceptions.
10267         (toString): Implemented.
10268         (length): Implemented.
10269         (put): Implemented.
10270         (charAt): Implemented.
10271
10272 2003-02-11  John Leuner  <jewel@debian.org>
10273
10274         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
10275         reads from end of file.
10276
10277 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
10278
10279         * java/io/natFileDescriptorWin32.cc 
10280         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
10281         returns with Win32 error code ERROR_BROKEN_PIPE.
10282
10283 2003-02-11  Michael Koch  <konqueror@gmx.de>
10284
10285         * Makefile.in
10286         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
10287
10288 2003-02-11  Michael Koch  <konqueror@gmx.de>
10289
10290         * gnu/java/nio/ByteBufferImpl.java:
10291         Reformated and removed some code.
10292         (backing_buffer): Removed.      
10293         (array_offset): Removed.
10294         (ro): Renamed to readOnly.
10295         (ByteBufferImpl): Use parent constructor, initialize readOnly.
10296         * gnu/java/nio/CharBufferImpl.java:
10297         Reformated and removed some code.
10298         (array_offset): Removed.
10299         (ro): Renamed to readOnly.
10300         (CharBufferImpl): Use parent constructor, initialize readOnly.
10301         (inc_pos): Removed.
10302         (order): New method.
10303         * gnu/java/nio/DoubleBufferImpl.java:
10304         Reformated and removed some code.
10305         (array_offset): Removed.
10306         (ro): Renamed to readOnly.
10307         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
10308         (inc_pos): Removed.
10309         (order): New method.
10310         * gnu/java/nio/FloatBufferImpl.java:
10311         Reformated and removed some code.
10312         (array_offset): Removed.
10313         (ro): Renamed to readOnly.
10314         (FloatBufferImpl): Use parent constructor, initialize readOnly.
10315         (inc_pos): Removed.
10316         (order): New method.
10317         * gnu/java/nio/IntBufferImpl.java:
10318         Reformated and removed some code.
10319         (array_offset): Removed.
10320         (ro): Renamed to readOnly.
10321         (IntBufferImpl): Use parent constructor, initialize readOnly.
10322         (inc_pos): Removed.
10323         (order): New method.
10324         * gnu/java/nio/LongBufferImpl.java:
10325         Reformated and removed some code.
10326         (array_offset): Removed.
10327         (ro): Renamed to readOnly.
10328         (LongBufferImpl): Use parent constructor, initialize readOnly.
10329         (inc_pos): Removed.
10330         (order): New method.
10331         * gnu/java/nio/ShortBufferImpl.java:
10332         Reformated and removed some code.
10333         (array_offset): Removed.
10334         (ro): Renamed to readOnly.
10335         (ShortBufferImpl): Use parent constructor, initialize readOnly.
10336         (inc_pos): Removed.
10337         (order): New method.
10338         * Makefile.am
10339         (ordinary_java_source_files): Added the following files:
10340         gnu/java/nio/ByteBufferImpl.java
10341         gnu/java/nio/CharBufferImpl.java
10342         gnu/java/nio/DoubleBufferImpl.java
10343         gnu/java/nio/FloatBufferImpl.java
10344         gnu/java/nio/IntBufferImpl.java
10345         gnu/java/nio/LongBufferImpl.java
10346         gnu/java/nio/ShortBufferImpl.java
10347         java/nio/DoubleBuffer.java
10348         java/nio/FloatBuffer.java
10349         java/nio/IntBuffer.java
10350         java/nio/LongBuffer.java
10351         java/nio/ShortBuffer.java
10352         (nat_source_files): Added the following files:
10353         gnu/java/nio/natByteBufferImpl.cc
10354         gnu/java/nio/natCharBufferImpl.cc
10355         gnu/java/nio/natDoubleBufferImpl.cc
10356         gnu/java/nio/natFloatBufferImpl.cc
10357         gnu/java/nio/natIntBufferImpl.cc
10358         gnu/java/nio/natLongBufferImpl.cc
10359         gnu/java/nio/natShortBufferImpl.cc
10360         * Makefile.in: Regenerated.
10361
10362 2003-02-11  Michael Koch  <konqueror@gmx.de>
10363
10364         * gnu/java/nio/natCharBufferImpl.cc
10365         (nio_cast): Removed.
10366         (nio_put_*): Removed.
10367         (nio_get_*): Removed.
10368         * gnu/java/nio/natDoubleBufferImpl.cc
10369         (nio_cast): Removed.
10370         (nio_put_*): Removed.
10371         (nio_get_*): Removed.
10372         * gnu/java/nio/natFloatBufferImpl.cc
10373         (nio_cast): Removed.
10374         (nio_put_*): Removed.
10375         (nio_get_*): Removed.
10376         * gnu/java/nio/natIntBufferImpl.cc
10377         (nio_cast): Removed.
10378         (nio_put_*): Removed.
10379         (nio_get_*): Removed.
10380         * gnu/java/nio/natLongBufferImpl.cc
10381         (nio_cast): Removed.
10382         (nio_put_*): Removed.
10383         (nio_get_*): Removed.
10384         * gnu/java/nio/natShortBufferImpl.cc
10385         (nio_cast): Removed.
10386         (nio_put_*): Removed.
10387         (nio_get_*): Removed.
10388         * gnu/java/nio/SelectorProviderImpl.java
10389         (openDatagramChannel): Throws IOException.
10390         (openPipe): Throws IOException.
10391         (openSelector): Throws IOException.
10392         (openServerSocketChannel): Throws IOException.
10393         (openSocketChannel): Throws IOException.
10394         * gnu/java/nio/ServerSocketChannelImpl.java
10395         (ServerSocketChannelImpl): Throws IOException.
10396         (implCloseSelectableChannel): Throws IOException.
10397         (implConfigureBlocking): Throws IOException.
10398         * java/nio/ByteBuffer.java
10399         (readOnly): Removed.
10400         (hasArray): Use isReadOnly() instead of readOnly.
10401         (array): Use isReadOnly() instead of readOnly.
10402         (arrayOffset): Use isReadOnly() instead of readOnly.
10403         * java/nio/CharBuffer.java
10404         (CharBuffer): Implements Cloneable and CharSequence.
10405
10406 2003-02-11  Michael Koch  <konqueror@gmx.de>
10407
10408         * java/nio/DoubleBuffer.java
10409         (DoubleBuffer): Implements Comparable.
10410         (endian): Removed.
10411         (array_offset): New member variable.
10412         (DoubleBuffer): New constuctor.
10413         (get): May not be final.
10414         (put): May not be final.
10415         (arrayOffset): Implemented.
10416         (order): Made abstract.
10417         (order): Removed.
10418         (as*Buffer): Removed.
10419         (get*): Removed.
10420         (put*): Removed.
10421         * java/nio/FloatBuffer.java
10422         (FloatBuffer): Implements Comparable.
10423         (endian): Removed.
10424         (array_offset): New member variable.
10425         (FloatBuffer): New constuctor.
10426         (get): May not be final.
10427         (put): May not be final.
10428         (arrayOffset): Implemented.
10429         (order): Made abstract.
10430         (order): Removed.
10431         (as*Buffer): Removed.
10432         (get*): Removed.
10433         (put*): Removed.
10434         * java/nio/IntBuffer.java
10435         (IntBuffer): Implements Comparable.
10436         (endian): Removed.
10437         (array_offset): New member variable.
10438         (IntBuffer): New constuctor.
10439         (get): May not be final.
10440         (put): May not be final.
10441         (arrayOffset): Implemented.
10442         (order): Made abstract.
10443         (order): Removed.
10444         (as*Buffer): Removed.
10445         (get*): Removed.
10446         (put*): Removed.
10447         * java/nio/LongBuffer.java
10448         (LongBuffer): Implements Comparable.
10449         (endian): Removed.
10450         (array_offset): New member variable.
10451         (LongBuffer): New constuctor.
10452         (get): May not be final.
10453         (put): May not be final.
10454         (arrayOffset): Implemented.
10455         (order): Made abstract.
10456         (order): Removed.
10457         (as*Buffer): Removed.
10458         (get*): Removed.
10459         (put*): Removed.
10460         * java/nio/ShortBuffer.java
10461         (ShortBuffer): Implements Comparable.
10462         (endian): Removed.
10463         (array_offset): New member variable.
10464         (ShortBuffer): New constuctor.
10465         (get): May not be final.
10466         (put): May not be final.
10467         (arrayOffset): Implemented.
10468         (order): Made abstract.
10469         (order): Removed.
10470         (as*Buffer): Removed.
10471         (get*): Removed.
10472         (put*): Removed.
10473
10474 2003-02-11   Michael Koch  <konqueror@gmx.de>
10475
10476         * java/nio/channels/SelectionKey.java
10477         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
10478         values.
10479
10480 2003-02-11  Michael Koch  <konqueror@gmx.de>
10481
10482         * java/nio/channels/DatagramChannel.java
10483         (write): Throws IOException.
10484         (connect): Throws IOException.
10485         (disconnect): Throws IOException.
10486         (read): Throws IOException.
10487         (receive): Throws IOException.
10488         (send): Throws IOException.
10489         * java/nio/channels/Pipe.java
10490         (open): Throws IOException.
10491         * java/nio/channels/SelectableChannel.java
10492         (configureBlocking): Throws IOException.
10493         * java/nio/channels/ServerSocketChannel.java
10494         (accept): Throws IOException.
10495         * java/nio/channels/SocketChannel.java
10496         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
10497         GatheringByteChannel.
10498         (read): Throws IOException.
10499         (write): Throws IOException.
10500         (finishConnect): Throws IOException.
10501         * java/nio/channels/spi/AbstractInterruptibleChannel.java
10502         (end): Throws AsynchronousCloseException.
10503         * java/nio/channels/spi/AbstractSelectableChannel.java
10504         (configureBlocking): Throws IOException.
10505         (implCloseChannel): Throws IOException.
10506         (implCloseSelectableChannel): Throws IOException.
10507         (implConfigureBlocking): Throws IOException.
10508         * java/nio/channels/spi/SelectorProvider.java
10509         (openDatagramChannel): Throws IOException.
10510         (openPipe): Throws IOException.
10511         (openSelector): Throws IOException.
10512         (openServerSocketChannel): Throws IOException.
10513         (openSocketChannel): Throws IOException.
10514
10515 2003-02-11  Michael Koch  <konqueror@gmx.de>
10516
10517         * gnu/java/nio/FileLockImpl.java,
10518         java/nio/channels/FileLock.java: New files.
10519
10520 2003-02-11  Michael Koch  <konqueror@gmx.de>
10521
10522         * java/nio/charset/IllegalCharsetNameException.java
10523         (serialVersionUID): New member variable.
10524         (charsetName): New member variable.
10525         (IllegalCharsetException): New implementation.
10526         (getCharsetName): New implementation.
10527         * java/nio/charset/UnsupportedCharsetException.java
10528         (serialVersionUID): New member variable.
10529         (charsetName): New member variable.
10530         (UnsupportedCharsetException): New implementation.
10531         (getCharsetName): New implementation.
10532
10533 2003-02-10  Tom Tromey  <tromey@redhat.com>
10534
10535         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
10536         (ex): Renamed from sqlException.
10537
10538 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
10539
10540         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
10541         method used to ensure seeding has occurred and that a specific 
10542         seed can be set and used.
10543
10544 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
10545
10546         * java/lang/Win32Process.java (destroy): Declare as native.
10547         (hasExited): New native method.
10548         (exitValue): Define.
10549         (getErrorStream): Likewise.
10550         (getInputStream): Likewise.
10551         (getOutputStream): Likewise.
10552         (waitFor): Declare as native.
10553         (startProcess): New native method.
10554         (cleanup): Likewise.
10555         (ConcreteProcess): Define.
10556         (outputStream, inputStream, errorStream): New members.
10557         (procHandle, exitCode): Likewise.
10558
10559         * java/lang/natWin32Process.cc
10560         (java::lang::ConcreteProcess::cleanup): Define.
10561         (java::lang::ConcreteProcess::destroy): Likewise.
10562         (java::lang::ConcreteProcess::hasExited): Likewise.
10563         (java::lang::ConcreteProcess::waitFor): Likewise.
10564         (new_string): Likewise.
10565         (java::lang::ConcreteProcess::startProcess): Likewise.
10566
10567 2003-02-10  Raif S. Naffah <raif@fl.net.au>
10568
10569         * java/math/BigInteger.java:
10570         Updated notice to include years 2002 and 3.
10571         Added 2 private (int) arrays with values from the HAC (Handbook of
10572         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
10573         and t[] that contains nbr. of tests --used in isProbablePrime().
10574
10575         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
10576
10577         * java/math/BigInteger.java (make(int[],int), add(int,int),
10578         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
10579         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
10580         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
10581         make(long).
10582
10583         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
10584         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
10585         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
10586         BIs and returns void.
10587         (modInverse(BI)): Use new signatures of euclidInv().
10588
10589         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
10590         static small primes instead of remainder().
10591         Use pre-computed max nbr of trials based on bitlength of BI to test.
10592         Use pre-computed small primes for the trial tests instead of random
10593         numbers.
10594
10595         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
10596         not used.
10597
10598         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
10599         invoacation of MPN.chars_per_word().  not used.
10600
10601         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
10602         local var and used where needed.
10603
10604         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
10605         Combined declaration with initialisation of locals.
10606         Removed unused var.
10607
10608         * java/math/BigInteger.java: Style changes
10609         (pow(int)): Removed 'else' keyword.
10610         (toString(int)): idem.
10611         (doubleValue()): idem.
10612         (bitLength()): idem.
10613         (equals(Object)): Use static methods name in same class w/o prepending
10614         class name.
10615         (doubleValue()): idem.
10616         (setNegative(BI)): idem.
10617         (negate()): idem.
10618         (and(BI,int)): idem.
10619         (and(BI)): idem.
10620         (gcd(BI)): idem.
10621         (byteArrayToIntArray()): Removed casting to (int). this is
10622         std. behaviour.
10623         (canonicalize()): idem.
10624         (alloc(int)): Always instantiate a new BI.
10625
10626 2003-02-10  Tom Tromey  <tromey@redhat.com>
10627
10628         * java/sql/Timestamp.java (compareTo(Object)): New method.
10629         (compareTo(Timestamp)): Likewise.
10630         (serialVersionUID): Updated.
10631
10632 2003-02-07  Mark Wielaard  <mark@klomp.org>
10633
10634         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
10635         when verify is true.
10636         (JarFile(File, boolean)): Likewise.
10637         (manifestRead): Set manifestRead field correctly.
10638
10639 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10640
10641         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
10642         tests; see patch #1016 on Savannah.
10643
10644 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10645
10646         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
10647         (toString): do not return Strings starting with . and - erroneously.
10648         Improves Mauve results to 12 of 600 instead of 16 of 338 on
10649         DiagBigDecimal.
10650
10651 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10652
10653         * java/beans/PropertyDescriptor.java
10654         (PropertyDescriptor(String, Class)): Sanity check getter and setter
10655         methods.
10656         (PropertyDescriptor(String, Class, String, String)): Likewise.
10657         (PropertyDescriptor(String, Method, Method): Factor out getter and
10658         setter method sanity checks into new method.
10659         (findMethods): Don't do parameter sanity checking of get method here.
10660         (checkMethods): New method.
10661
10662 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10663
10664         * java/beans/PropertyDescriptor.java: Reformat.
10665
10666 2003-02-04  Tom Tromey  <tromey@redhat.com>
10667
10668         * java/io/PipedOutputStream.java (flush): Declare as throwing
10669         IOException.
10670         (close): Likewise.
10671         * java/io/PipedWriter.java (close): Declare as throwing
10672         IOException.
10673         * java/io/StringWriter.java (close): Declare as throwing
10674         IOException.
10675
10676 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10677
10678         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
10679         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
10680         could also have been exported as "JNI_OnLoad@8" (MinGW) or
10681         "_JNI_OnLoad@8" (MSVC).
10682
10683 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10684
10685         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
10686         convention on Win32 to invoke native JNI methods.
10687
10688 2003-02-03  Andrew Haley  <aph@redhat.com>
10689
10690         * configure.host (x86_64): Enable interpreter.
10691
10692 2003-02-03  Andrew Haley  <aph@redhat.com>
10693
10694         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
10695         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
10696         * configure.in (BACKTRACESPEC): New.
10697         * configure: Regenerate.
10698
10699 2003-02-02  Tom Tromey  <tromey@redhat.com>
10700
10701         * configure: Rebuilt.
10702         * configure.in (TOOLKIT) [xlib]: Set correctly.
10703
10704         * Makefile.in: Rebuilt.
10705         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
10706         libstdc++.
10707
10708 2003-01-31  Mark WIelaard  <mark@klomp.org>
10709
10710         * Makefile.in: Rebuilt.
10711         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
10712
10713 2003-01-31  Tom Tromey  <tromey@redhat.com>
10714
10715         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
10716         cast to element type.
10717         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
10718         (_Jv_JNI_GetObjectArrayElement): Likewise.
10719
10720         * Makefile.in: Rebuilt.
10721         * Makefile.am (cond_x_ltlibrary): Renamed library to
10722         lib-gnu-awt-xlib.la.
10723         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
10724         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
10725         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
10726         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
10727         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
10728         (lib_gnu_awt_xlib_la_LINK): Likewise.
10729         (install-exec-hook): Removed.
10730         (lib-gnu-awt-xlib.la): Renamed.
10731
10732 2003-01-31  Tom Tromey  <tromey@redhat.com>
10733
10734         * aclocal.m4, configure, include/config.h.in: Rebuilt.
10735         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
10736         aclocal.m4 and lost in some merge.
10737
10738         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
10739         Don't try to find graphics configuration.
10740         * java/awt/Toolkit.java (default_toolkit_name): Use new
10741         Configuration entry.
10742         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
10743         New global.
10744         * configure: Rebuilt.
10745         * configure.in (TOOLKIT): New subst.
10746         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
10747         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
10748         directory.  Make output directories for .c files.
10749         * Makefile.in: Rebuilt.
10750         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
10751         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
10752         (all_java_source_files): Added new sources.
10753         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
10754         (gtk_c_files): New macro.
10755         (gtk_c_source_files): New macro.
10756         (cond_gtk_ltlibrary): New macro.
10757         ($(gtk_c_files)): New target.
10758         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
10759         (gtk_awt_peer_sources): New macro.
10760         (gtk_c_headers): New macro.
10761         ($(gtk_c_headers)): New target.
10762         (ACLOCAL_AMFLAGS): New macro.
10763         * gtk.m4, glib.m4, libart.m4: New files.
10764         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
10765         gnu/java/awt/peer/gtk/GdkGraphics.java,
10766         gnu/java/awt/peer/gtk/GtkArg.java,
10767         gnu/java/awt/peer/gtk/GtkArgList.java,
10768         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10769         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
10770         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
10771         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
10772         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
10773         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10774         gnu/java/awt/peer/gtk/GtkClipboard.java,
10775         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10776         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10777         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
10778         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
10779         gnu/java/awt/peer/gtk/GtkFontPeer.java,
10780         gnu/java/awt/peer/gtk/GtkFramePeer.java,
10781         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
10782         gnu/java/awt/peer/gtk/GtkImage.java,
10783         gnu/java/awt/peer/gtk/GtkImagePainter.java,
10784         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
10785         gnu/java/awt/peer/gtk/GtkListPeer.java,
10786         gnu/java/awt/peer/gtk/GtkMainThread.java,
10787         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
10788         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
10789         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
10790         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
10791         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
10792         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
10793         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10794         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
10795         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
10796         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10797         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10798         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10799         gnu/java/awt/peer/gtk/GtkToolkit.java,
10800         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10801         gnu/java/awt/peer/gtk/TestAWT.java,
10802         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
10803         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
10804         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
10805         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10806         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
10807         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
10808         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
10809         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
10810         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
10811         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
10812         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
10813         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
10814         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
10815         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
10816         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
10817         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
10818         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
10819         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
10820         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
10821         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
10822         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
10823         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
10824         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
10825         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10826         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
10827         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
10828         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
10829         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
10830         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
10831         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
10832         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
10833         jni/classpath/native_state.c, jni/classpath/native_state.h,
10834         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
10835
10836 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
10837
10838         * java/util/Properties.java (load): Ignore backslash before EOF.
10839
10840 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
10841
10842         * java/lang/natClass.cc (initializeClass): Check tables when
10843         (state == JV_STATE_IN_PROGRESS).
10844         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
10845         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
10846         interpreted classes.
10847         (linkClass0): Use _Jv_WaitForState.
10848
10849 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
10850
10851         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
10852         object when finished.
10853
10854 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
10855
10856         * libjava/configure.host: Disable can_unwind_signal on darwin.
10857
10858 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
10859
10860         Fixes PR java/9254:
10861         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
10862         additionally containing id of the owner thread as well as
10863         the number of nested times the thread has acquired the mutex.
10864         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
10865         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
10866         (_Jv_MutexUnlock): Check if really the owner thread, reset
10867         owner thread id to 0 before leaving, if leaving for the last
10868         time.
10869         (_Jv_MutexLock): Set owner thread id in the mutex and increment
10870         refcount.
10871         (_Jv_ThreadYield): Yield using a call to Sleep(0).
10872         * win32-threads.cc (_Jv_CondWait): Check if really owner of
10873         the passed mutex.
10874         Pass handle of the broadcast event, instead of a pointer to it
10875         in Win32 ResetEvent( ) call.
10876         Remove incorrect return values.
10877         (_Jv_CondDestroy): Close both event handles and delete
10878         critical section.
10879         (_Jv_CondNotify): Check if really the owner thread.
10880         (_Jv_CondNotifyAll): Check if really the owner thread.
10881         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
10882         (really_start): Use SetEvent( ) to signal daemon_cond.
10883         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
10884         WaitForSingleObject( ) instead to wait for daemon_cond to be
10885         signalled.
10886
10887 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
10888
10889         * configure.in: Specifically define HAVE_BACKTRACE if building
10890         for MinGW.
10891         * include/win32.h: Remove HAVE_BACKTRACE definition.
10892         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
10893         * configure: Rebuilt.
10894
10895 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
10896
10897         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
10898         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
10899         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
10900         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
10901         * Makefile.in, configure: Rebuilt.
10902
10903 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
10904
10905         Fixes PR java/9253:
10906         * java/io/natFileWin32.cc (performList): Append only "*.*"
10907         if the canonical file path already has a "\" at the end.
10908
10909 2003-01-24  Tom Tromey  <tromey@redhat.com>
10910
10911         * defineclass.cc (handleMethodsEnd): Precompute code for static
10912         method.
10913         (handleCodeAttribute): Likewise.
10914         * resolve.cc (ncode): Use run_class for unsynchronized static
10915         methods.
10916         * include/java-interp.h (class _Jv_InterpMethod): Declare
10917         run_class.
10918         * interpret.cc (run_synch_class): Initialize class.
10919         (run) [insn_invokestatic]: Don't initialize class.
10920         [insn_anewarray]: Likewise.
10921         [insn_multianewarray]: Likewise.
10922         (run_class): New function.
10923
10924 2003-01-24  Tom Tromey  <tromey@redhat.com>
10925
10926         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
10927         comment.
10928
10929 2003-01-22  Andrew Haley  <aph@redhat.com>
10930
10931         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
10932         * configure.host (CHECKREFSPEC): Define for x86_64.
10933
10934 2003-01-21  Tom Tromey  <tromey@redhat.com>
10935
10936         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
10937         search at 2, not 3.
10938
10939 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
10940
10941         * java/io/natFileWin32.cc (isAbsolute): Check path length before
10942         looking at any characters.
10943         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
10944         be used.
10945         (isAbsolute): Check path's length as well.
10946
10947 2003-01-17  Mark Wielaard  <mark@klomp.org>
10948
10949         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
10950         (nat_source_files): Add natVMObjectStreamClass.cc.
10951         * Makefile.in: Regenerated.
10952         * gcj/javaprims.h (namespace java): Regenerated.
10953         * java/io/ObjectStreamClass.java (getClassUID): Call
10954         VMObjectStreamClass.hasClassInitializer().
10955         (hasClassInitializer): Removed.
10956         * java/io/VMObjectStreamClass.java: New class.
10957         * java/io/natVMObjectStreamClass.cc: New file.
10958         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
10959
10960 2003-01-16  Mark Wielaard  <mark@klomp.org>
10961
10962         * java/net/SocketImpl.java (toString): Don't explicitly call
10963         toString() on possible null address.
10964
10965 2003-01-16  Michael Koch  <konqueror@gmx.de>
10966
10967         * java/net/MulticastSocket.java
10968         (setInterface): Reindented.
10969
10970 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10971
10972         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
10973         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
10974         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
10975         translateY arguments.  Implement.
10976         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
10977         down translation arguments.
10978         (drawPolyline, drawPolygon): Fix incorrect tests.
10979         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
10980         translateX and translateY arguments.
10981
10982 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10983
10984         * Makefile.in: Rebuilt.
10985         * Makefile.am (xlib_includes): New macro.
10986         (INCLUDES): Use it.
10987
10988 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10989
10990         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
10991         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
10992         16-bit display mode.
10993
10994 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10995
10996         * java/awt/CardLayout.java (show): Rewrote.
10997         (gotoComponent): Removed `target' argument.  Simplified code.
10998         Don't pre-compute `choice' unless `what' is FIRST or LAST.
10999         Changed all callers.
11000         (NONE): Removed.
11001         
11002 2003-01-14  Michael Koch  <konqueror@gmx.de>
11003
11004         * java/net/InetSocketAddress.java
11005         (serialVersionUID): New member variable.
11006         * java/net/NetPermission.java
11007         (NetPermission): Dont implement java.io.Serialization directly.
11008         * java/net/SocketAddress.java:
11009         (serialVersionUID): Documentation added.
11010         
11011 2003-01-14  Michael Koch  <konqueror@gmx.de>
11012
11013         * java/awt/Label.java
11014         (Label): Implements javax.accessibility.Accessible;
11015         * java/awt/List.java
11016         (List): Implements javax.accessibility.Accessible;
11017         * java/awt/ScrollPane.java
11018         (ScrollPane): Implements javax.accessibility.Accessible;
11019         * java/awt/Scrollbar.java
11020         (Scrollbar): Implements javax.accessibility.Accessible;
11021         * java/awt/TextComponent.java
11022         (setCaretPosition): Throw exception, documentation added.
11023         * java/awt/Toolkit.java:
11024         Added some newlines in method documentations.
11025         (createButton): Exception documentation added.
11026         (createTextField): Exception documentation added.
11027         (createLabel): Exception documentation added.
11028         (createList): Exception documentation added.
11029         (createCheckbox): Exception documentation added.
11030         (createScrollbar): Exception documentation added.
11031         (createScrollPane): Exception documentation added.
11032         (createTextArea): Exception documentation added.
11033         (createChoice): Exception documentation added.
11034         (createFrame): Exception documentation added.
11035         (createWindow): Exception documentation added.
11036         (createDialog): Exception documentation added.
11037         (createMenuBar): Exception documentation added.
11038         (createMenu): Exception documentation added.
11039         (createMenuItem): Exception documentation added.
11040         (createFileDialog): Exception documentation added.
11041         (createCheckboxMenuItem): Exception documentation added.
11042         (loadSystemColors): Exception documentation added.
11043         (setDynamicLayout): Exception documentation added.
11044         (isDynamicLayoutSet): Exception documentation added.
11045         (isDynamicLayoutActive): Exception documentation added.
11046         (getScreenSize): Exception documentation added.
11047         (getScreenResolution): Exception documentation added.
11048         (getScreenInsets): Exception documentation added.
11049         (getColorModel): Exception documentation added.
11050         (getSystemClipboard): Exception documentation added.
11051         (getSystemSelection): Exception documentation added.
11052         (getMenuShortcutKeyMask): Exception documentation added.
11053         (getSystemEventQueue): Exception documentation added.
11054         * java/awt/Window.java:
11055         Reindented some code.
11056         (Window): Centralized implementation, documentation added.
11057         (finalize): Documentation added.
11058         (hide): Fixed typo in comment.
11059         (getWindowListeners): Documentation added.
11060         * java/awt/color/ColorSpace.java
11061         (toRGB): Documentation added.
11062         * java/awt/color/ICC_ColorSpace.java
11063         (ICC_ColorSpace): Documentation added.
11064         (toRGB): Throw exception, documentation added.
11065         (fromRGB): Throw exception, documentation added.
11066         (toCIEXYZ): Documentation added.
11067         (fromCIEXYZ): Documentation added.
11068         (getMinValue): Documentation added.
11069         (getMaxValue): Documentation added.
11070         * java/awt/geom/Dimension2D.java
11071         (clone): Documentation added.
11072         * java/awt/geom/GeneralPath.java
11073         (clone): Documentation added.
11074         * java/awt/geom/Line2D.java
11075         (clone): Documentation added.
11076         * java/awt/geom/QuadCurve2D.java
11077         (clone): Documentation added.
11078         * java/awt/image/ColorModel.java
11079         (ColorModel): Throw exception, documentation added.
11080         * java/awt/image/ImageFilter.java
11081         (clone): Doesnt throw CloneNotSupportedException.
11082
11083 2003-01-14  Andrew Haley  <aph@redhat.com>
11084
11085         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
11086         in a try block.
11087
11088 2003-01-10  Andrew Haley  <aph@redhat.com>
11089
11090         * include/dwarf2-signal.h: Remove x86_64.
11091         * configure.host (x86_64 DIVIDESPEC): Remove.
11092         * include/x86_64-signal.h: New file.
11093         * configure.in: Regenerate.
11094
11095 2003-01-10  Michael Koch  <konqueror@gmx.de>
11096
11097         * java/net/DatagramSocket.java
11098         (ch): Description added.
11099         (remotePort): Initialize with -1.
11100         (connect): Doesnt throws SocketException.
11101         * java/net/MulticastSocket.java
11102         (setInterface): Merge with Classpath.
11103         * java/net/ServerSocket.java
11104         (closed): New member variable.
11105         (bind): Check if socket is closed.
11106         (close): Close an associated channel too, set new value to closed.
11107         (isBound): Reindented.
11108         (isClosed): Implemented.
11109         * java/net/Socket.java
11110         (closed): New member variable.
11111         (bind): Check if socket is closed.
11112         (connect): Check if socket is closed.
11113         (close): Close an associated channel too, set new value to closed.
11114         (isClosed): Implemented.
11115
11116 2003-01-10  Michael Koch  <konqueror@gmx.de>
11117
11118         * java/awt/DisplayMode.java
11119         (equals): Fixed argument type and implementation.
11120
11121 2003-01-07  Tom Tromey  <tromey@redhat.com>
11122
11123         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
11124         JV_HASH_SYNCHRONIZATION.
11125         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
11126         JV_HASH_SYNCHRONIZATION.
11127
11128 2003-01-07  Michael Koch  <konqueror@gmx.de>
11129  
11130         * java/net/DatagramSocket.java:
11131         Added classpath license info.
11132         (DatagramSocket): Merged description with classpath.
11133         (close): Merged description with classpath.
11134         (getChannel): Merged description with classpath.
11135         (getInetAddress): Merged description with classpath.
11136         (getPort): Merged description with classpath.
11137         (getLocalAddress): Merged description with classpath.
11138         (getLocalPort): Merged description with classpath.
11139         (getSoTimeout): Merged description with classpath.
11140         (setSoTimeout): Merged description with classpath.
11141         (getSendBufferSize): Merged description with classpath.
11142         (setSendBufferSize): Merged description with classpath.
11143         (getReceiveBufferSize): Merged description with classpath.
11144         (setReceiveBufferSize): Merged description with classpath.
11145         
11146 2003-01-04  Tom Tromey  <tromey@redhat.com>
11147
11148         * java/awt/List.java: Merged with Classpath.
11149
11150 2003-01-03  Mark Wielaard  <mark@klomp.org>
11151
11152         * java/io/FileDescriptor.java (position): New private field.
11153         * java/io/natFileDescriptorPosix.cc (write): Up position.
11154         (setLength): Use and set position.
11155         (seek): Set position.
11156         (getFilePointer): Return position.
11157         (read): Up position.
11158
11159 2003-01-03  Mark Wielaard  <mark@klomp.org>
11160
11161         Merge with Classpath:
11162         * java/io/ObjectStreamClass.java (lookup): Split method and call
11163         lookupForClassObject().
11164         (lookupForClassObject): New method.
11165         (isProxyClass): New field.
11166         (setClass): Set isProxyClass, add object to classLookupTable, set
11167         superClass and calculateOffsets.
11168         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
11169         and not a proxy class.
11170         (setFields): Set accessible true for serialPersistentFields.
11171         (getClassUID): Same for suid. And check if suid is of type long.
11172         (hasClassInitializer): Don't throw NoSuchMethodError.
11173
11174 2003-01-03  Mark Wielaard  <mark@klomp.org>
11175
11176         * java/io/FileInputStream.java (finalize): Don't explicitly
11177         finalize FileDescriptor.
11178
11179 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
11180
11181         * configure.host (sparc*-*): Enable bytecode interpreter.
11182
11183 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
11184
11185         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
11186         Don't throw RemoteException.
11187         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
11188         throw RemoteException.
11189
11190 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
11191
11192         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
11193         proxyHost): New static fields.
11194         (<clinit>): Initialize new fields.
11195         (connect): Use proxy if necessary.
11196         (usingProxy): Implement.
11197
11198 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
11199
11200         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
11201         (TreeIterator.remove): Prefer IllegalStateException over
11202         ConcurrentModificationException, to match Sun.
11203
11204 2002-12-22  Anthony Green  <green@redhat.com>
11205
11206         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
11207
11208 2003-01-02  Mark Wielaard  <mark@klomp.org>
11209
11210         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
11211         public.
11212         (HTTP_USE_PROXY): Add field.
11213         (getResponseVals): Only set responseCode when not yet explicitly
11214         set by subclass.
11215
11216 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
11217             Mark Wielaard  <mark@klomp.org>
11218
11219         * java/util/zip/ZipFile.java (entries): Now HashMap.
11220         (readLeShort(DataInput, byte[])): Read from given byte array.
11221         (readLeInt(DataInput, byte[]): Likewise.
11222         (readLeShort(byte[] b, int off)): New method.
11223         (readLeInt(byte[] b, int off)): Likewise.
11224         (readEntries): Use byte arrays to read info in bigger chunks.
11225         (getEntries): Return HashMap.
11226         (getEntry): Use HashMap.
11227         (locBuf): New private field.
11228         (checkLocalHeader): Use locBuf to read info in one chunk.
11229         (getInputStream): Use entries HashMap, wrap PartialInputStream
11230         in BufferedInputStream.
11231         (ZipEntryEnumeration): Use HashMap and Interator.
11232
11233 2003-01-02  Mark Wielaard  <mark@klomp.org>
11234             Jeroen Frijters  <jeroen@sumatra.nl>
11235
11236         * java/net/URLClassLoader.java (Resource.getCodeSource):
11237         Fix check certs == null.
11238         (getCanonicalFileURL): Removed method.
11239         (JarURLLoader): Don't call removed method.
11240         (FileURLLoader): Likewise.
11241         (FileURLLoader.getResource): Don't canonicalize file name.
11242
11243 2003-01-01  Tom Tromey  <tromey@redhat.com>
11244
11245         * Makefile.in: Rebuilt.
11246         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
11247         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
11248         java/awt/BufferCapabilities.java, java/awt/Button.java,
11249         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
11250         java/awt/Container.java, java/awt/Cursor.java,
11251         java/awt/EventQueue.java, java/awt/FileDialog.java,
11252         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
11253         java/awt/MenuBar.java, java/awt/MenuComponent.java,
11254         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
11255         java/awt/Scrollbar.java, java/awt/TextArea.java,
11256         java/awt/TextField.java, java/awt/color/CMMException.java,
11257         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
11258         java/awt/color/ProfileDataException.java,
11259         java/awt/datatransfer/Clipboard.java,
11260         java/awt/datatransfer/DataFlavor.java,
11261         java/awt/datatransfer/FlavorMap.java,
11262         java/awt/datatransfer/SystemFlavorMap.java,
11263         java/awt/dnd/DragGestureEvent.java,
11264         java/awt/dnd/DragGestureRecognizer.java,
11265         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
11266         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
11267         java/awt/im/InputMethodHighlight.java,
11268         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
11269         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
11270
11271         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
11272         `op' to BufferedImageOp.
11273
11274 2002-12-31  Tom Tromey  <tromey@redhat.com>
11275
11276         Fix for PR libgcj/7416:
11277         * javax/naming/InitialContext.java (init): Use
11278         gnu.classpath.home.url.
11279         * java/security/Security.java: Use new properties.
11280         (loadProviders): Accept base url; use it.
11281         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
11282         gnu.classpath.home.url.
11283         (gnu.classpath.home.url): Define.
11284         (gnu.classpath.vm.shortname): Likewise.
11285
11286 2002-12-31  Tom Tromey  <tromey@redhat.com>
11287             Ranjit Mathew  <rmathew@hotmail.com>
11288
11289         Fix for PR libgcj/8997:
11290         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
11291         Include platform.h.
11292         * include/posix.h (_Jv_platform_usleep): New function.
11293         * include/win32.h (_Jv_platform_usleep): New function.
11294
11295 2002-12-29  Tom Tromey  <tromey@redhat.com>
11296
11297         * gcj/javaprims.h: Updated.
11298         * scripts/classes.pl (scan): Removed stray semicolon.
11299
11300 2002-12-30  Mark Wielaard  <mark@klomp.org>
11301
11302         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
11303         if zero or smaller.
11304
11305 2002-12-30  Mark Wielaard  <mark@klomp.org>
11306
11307         * java/util/Properties (formatForOutput): Don't fall through to
11308         default case after escaping character.
11309
11310 2002-12-30  Mark Wielaard  <mark@klomp.org>
11311
11312         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
11313         against count.
11314
11315 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
11316
11317         * boehm.cc: Remove stray semicolon.
11318         * interpret.cc: Likewise.
11319         * prims.cc: Likewise.
11320         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
11321         earlier to ensure default arguments are processed.
11322         * gcj/array.h (JArray): Add forward declaration.
11323         (elements): Likewise.
11324         * gcj/javaprim.h: Remove stray semicolons.
11325         * include/bohm-gc.h: Likewise.
11326         * include/jni.h: Likewise.
11327         * include/jvm.h: Likewise.
11328         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
11329         
11330 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
11331
11332         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
11333         of catch_type.
11334         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
11335         idt tables after initializing superclass.
11336         * java/lang/natClassLoader.cc (uaddr): New typedef.
11337         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
11338         if they are constant pool indicies.  Don't link vtable, otable yet.
11339
11340 2002-12-21  Anthony Green  <green@redhat.com>
11341
11342         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
11343         libraries.
11344         * Makefile.in: Rebuilt.
11345
11346 2002-12-19  Anthony Green  <green@redhat.com>
11347
11348         * Makefile.am (ordinary_java_source_files): Add
11349         org/xml/sax/helpers/NewInstance.java.
11350         * Makefile.in: Rebuilt.
11351         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
11352         org/xml/sax/helpers/package.html: New files.
11353         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
11354         http://www.saxproject.org.
11355
11356 2002-12-19  Andrew Haley  <aph@redhat.com>
11357
11358         * java/util/natResourceBundle.cc: Include
11359         ArrayIndexOutOfBoundsException.h.
11360         (getCallingClassLoader): Don't put upper bound on stack search.
11361         Catch ArrayIndexOutOfBoundsException.
11362
11363 2002-12-19  Tom Tromey  <tromey@redhat.com>
11364
11365         * libtool-version: Increased `current'.
11366
11367 2002-12-19  Tom Tromey  <tromey@redhat.com>
11368
11369         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
11370         comment.
11371         * java/lang/ClassLoader.java (defineClass): Use chained
11372         exception when rethrowing.
11373         * defineclass.cc (handleClassBegin): Mark class as interpreted.
11374         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
11375         constants.
11376         * resolve.cc (_Jv_PrepareMissingMethods): New function.
11377         (_Jv_PrepareClass): Use it.
11378         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
11379         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
11380         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
11381         (Class): _Jv_PrepareMissingMethods now friend.
11382         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
11383         Record `NULL' for system class loader.
11384         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
11385         system class loader.
11386         (_Jv_FindClassInCache): Likewise.
11387         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
11388         (_Jv_FindClass): Special case system class loader.
11389         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
11390         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
11391         vtable slots.
11392         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
11393         in a final class.
11394         (_getDeclaredMethod): Don't return synthetic methods.
11395         (getDeclaredMethods): Likewise.
11396         (_getMethod): Likewise.
11397         (_getMethods): Likewise.
11398
11399 2002-12-18  Raif Naffah  <raif@fl.net.au>
11400
11401         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
11402         canonical form after divide().
11403         (modInverse): Likewise.
11404
11405 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
11406             Mark Wielaard  <mark@klomp.org>
11407
11408         * java/security/SecurityRandom (digest): Removed field.
11409         (SecureRandom): Check all providers for case-insensitive SecureRandom
11410         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
11411         if necessary.
11412         (getInstance(String,Provider,boolean): New method.
11413         (getInstance(String)): Use new method.
11414         (getInstance(String,String)): Likewise.
11415         (getInstance(String,Provider)): Likewise.
11416
11417 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
11418
11419         * java/security/Security.java (loadProviders): Increment i only once.
11420
11421 2002-12-12  Mark Wielaard  <mark@klomp.org>
11422
11423         * java/lang/ClassLoader.java (resolveClass0): Transform
11424         ClassNotFoundException to NoClassDefFoundError. Transform all other
11425         throwables to LinkageError.
11426
11427 2002-12-11  Tom Tromey  <tromey@redhat.com>
11428
11429         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
11430
11431         * java/lang/ClassLoader.java (loadedClasses): New field.
11432         (defineClass): Fixed indentation.  Put new class in
11433         loadedClasses.
11434         (findLoadedClass): Implement here.
11435         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
11436
11437 2002-12-10  Tom Tromey  <tromey@redhat.com>
11438
11439         * Makefile.in: Rebuilt.
11440         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11441         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
11442         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
11443         * java/lang/natClassLoader.cc
11444         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
11445
11446 2002-12-10  Mark Wielaard  <mark@klomp.org>
11447             Tom Tromey  <tromey@redhat.com>
11448
11449         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
11450         (JarURLLoader): Use it.
11451         (FileURLLoader): Likewise.
11452         (JarURLResource.getURL): Use chained exception.
11453         (FileResource.getURL): Likewise.
11454         (FileURLLoader.getResource): Use canonical file name.
11455         (addURL): Indentation fix.
11456
11457 2002-12-10  Tom Tromey  <tromey@redhat.com>
11458
11459         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
11460         From Laurent Bardet <l.bardet@magic.fr>.
11461
11462 2002-12-09  Tom Tromey  <tromey@redhat.com>
11463
11464         * include/win32.h (_Jv_platform_solib_prefix): New define.
11465         (_Jv_platform_solib_suffix): Likewise.
11466         * include/posix.h (_Jv_platform_solib_prefix): New define.
11467         (_Jv_platform_solib_suffix): Likewise.
11468         * java/lang/natRuntime.cc: Include StackTrace.h.
11469         (_load): Use findLibrary and new platform defines.
11470         (nativeGetLibname): Use new platform defines.
11471
11472         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
11473         `t' won't be null.
11474
11475 2002-12-08  Mark Wielaard  <mark@klomp.org>
11476
11477         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
11478         cache remote jar files.
11479         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
11480         add File.separator to URL when it is a directory.
11481         * java/lang/ClassLoader.java: Add Classpath javadoc.
11482         (parent): final.
11483         (getParent): Add (disabled) security check.
11484         (findLibrary): New default method.
11485         * java/net/JarURLConnection.java (getManifest): Implement.
11486         (getInputStream): Only create InputStream when entry exists.
11487         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
11488         when they exist.
11489         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
11490
11491 2002-12-08  Mark Wielaard  <mark@klomp.org>
11492
11493         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
11494         (lastDefaultLocale): New field.
11495         (getBundle): When Locale.getDefault != lastDefaultLocale reset
11496         resourceBundleCache.
11497
11498 2002-12-06  Mark Wielaard  <mark@klomp.org>
11499
11500         * java/net/InetAddress.java (toString): Use hostname when not null,
11501         don't do an explicit reverse getHostName() lookup.
11502         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
11503         NullPointerException.
11504
11505 2002-12-06  Tom Tromey  <tromey@redhat.com>
11506
11507         * include/java-interp.h (class _Jv_InterpMethod): Added
11508         JV_MARKOBJ_DECL.
11509         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
11510         mark `prepared' field of interpreted method.
11511         * interpret.cc (compile): Use _Jv_AllocBytes.
11512
11513 2002-12-05  Andrew Haley  <aph@redhat.com>
11514
11515         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
11516         #ifdef (HAVE_BACKTRACE) around the whole function body.
11517
11518 2002-12-05  Tom Tromey  <tromey@redhat.com>
11519
11520         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
11521         * resolve.cc: Don't include AbstractMethodError.h.
11522         (_Jv_abstractMethodError): Removed.
11523         * defineclass.cc (handleMethodsBegin): Initialize method index to
11524         -1.
11525         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
11526         method index for "new" final method.
11527         (_Jv_SetVTableEntries): Compare index against -1 instead of using
11528         isVirtualMethod.  Added `flags' argument.
11529         (_Jv_MakeVTable): Throw exception for abstract method in concrete
11530         class.
11531
11532 2002-12-04  Tom Tromey  <tromey@redhat.com>
11533
11534         * java/net/SocketPermission.java (hashCode): Rewrote.
11535
11536 2002-12-04  Tom Tromey  <tromey@redhat.com>
11537
11538         * Makefile.in: Rebuilt.
11539         * Makefile.am (nat_source_files): Added natVMSecurityManager,
11540         natResourceBundle.
11541         * java/util/ResourceBundle.java (Security): Removed.
11542         (getCallingClassLoader): Now native.
11543         * java/util/natResourceBundle.cc: New file.
11544         * java/lang/natVMSecurityManager.cc: New file.
11545         * java/lang/VMSecurityManager.java (getClassContext): Now native.
11546
11547 2002-12-03  Mark Wielaard  <mark@klomp.org>
11548
11549         * java/util/jar/JarFile.java (manifest): Not final.
11550         (manifestRead): New field.
11551         (JarFile): Don't read Manifest in constructor.
11552         (getManifest): New method.
11553         (JarEnumeration.nextElement): Use new method.
11554         (getEntry): Likewise.
11555         * java/util/zip/ZipFile.java (name): Final.
11556         (raf): Likewsie.
11557         (entries): Change type to Hashtable.
11558         (closed): New field.
11559         (ZipFile): Don't read enties in constructor.
11560         (readEntries): Use Hashtable.
11561         (close): Set new close flag and set entries to null inside
11562         synchronized block.
11563         (entries): Contruct enumeration using new getEntries() method and
11564         entries Hashtable.
11565         (getEntryIndex): Removed.
11566         (getEntries): New method.
11567         (getEntry): Use new getEntries() method and entries Hastable.
11568         (getInputStream): Likewise.
11569         (size): Return getEntries().size().
11570         (ZipEntryEnumeration): Wrap entries Hashtable elements.
11571         * java/util/zip/ZipEntry.java (cal): Don't initialize.
11572         (time): Removed
11573         (dostime): New field.
11574         (zipFileIndex): Removed.
11575         (ZipEntry(ZipEntry)): Copy dostime.
11576         (setDOSTime): Now final and doesn't convert dos time.
11577         (getDOSTime): Likewise.
11578         (setTime): Convert dos time.
11579         (getTime): Likewise.
11580         (getCalendar): New method.
11581         (setExtra): Use setTime().
11582         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
11583
11584 2002-12-03  Tom Tromey  <tromey@redhat.com>
11585
11586         * java/lang/Character.java (forDigit): Formatting fix.
11587
11588 2002-12-03  Raif Naffah  <raif@fl.net.au>
11589
11590         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
11591         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
11592         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
11593
11594 2002-12-03  Andrew Haley  <aph@redhat.com>
11595
11596         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
11597         _Jv_PushClass.
11598         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
11599         (_Jv_PopClass): New.
11600         (_Jv_PushClass): New.
11601         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
11602         discover the ClassLoader of our caller.
11603         (_Jv_CheckArrayStore): Don't check that a class is assignment
11604         compatible with Object.
11605         * java/lang/natVMTHrowable.cc: Delete.
11606         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
11607         java.lang.VMThrowable.
11608         (StackTrace(), StackTrace(int)): New constructors.
11609         (classAt, methodAt, update, methodAtAddress): New methods.
11610         (map): New field.
11611         * java/lang/VMThrowable.java: Use StackTrace instead of
11612         natVMTHrowable.
11613         * java/lang/Class.h (getClassLoaderInternal): New.
11614         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
11615         Be friendly with gnu::gcj::runtime::StackTrace.
11616         (Object.chain): New field.
11617         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
11618         gnu::gcj::runtime::StackTrace.
11619         * gnu/gcj/runtime/natStackTrace.cc: New file.
11620         * gnu/gcj/runtime/MethodRef.java: New file.
11621         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
11622         instead of getClassLoader().
11623         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
11624         java::lang::VMThrowable.
11625         * Makefile.am (core_java_source_files): Add MethodRef.java,
11626         StackTrace.java.
11627         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
11628         * Makefile.in: Rebuild.
11629
11630 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
11631
11632         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
11633         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
11634         yes also for sh-linux* and sh[34]*-linux*.
11635         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
11636         set SIGNAL_HANDLER to use DWARF2 exception for them.
11637         * configure: Regenerate.
11638
11639 2002-12-02  Tom Tromey  <tromey@redhat.com>
11640
11641         * jni.cc: Added `name' argument.
11642         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
11643         `const char *' argument.
11644         (class _Jv_JNIEnv) [DefineClass]: Likewise.
11645
11646 2002-12-01  Tom Tromey  <tromey@redhat.com>
11647
11648         Bug compatibility, for PR libgcj/8738:
11649         * java/io/CharArrayWriter.java (close): Do nothing.
11650         (flush): Likewise.
11651         (reset): Don't touch `closed'.
11652         (write(int)): Don't throw IOException.
11653         (write(char[],int,int)): Likewise.
11654         (write(String,int,int)): Likewise.
11655         (closed): Removed.
11656
11657 2002-12-01  Mark Wielaard  <mark@klomp.org>
11658
11659         * java/lang/SecurityManager.java: Remerge comments, indenting and
11660         checkXXX methods with Classpath.
11661
11662 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
11663
11664         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
11665         getNormalizedComponents): Fix calculation which was using one too
11666         many bits in the unnormalized format.
11667
11668 2002-11-29  Gary Benson  <gbenson@redhat.com>
11669
11670         For PR libgcj/8759:
11671         * java/beans/Introspector.java (flushCaches): New method.
11672         (flushFromCaches): Likewise.
11673
11674 2002-11-29  Michael Koch <konqueror@gmx.de>
11675
11676         * java/nio/channels/DatagramChannel.java
11677         (open): Added exception documentation.
11678         (write): Added exception documentation.
11679         (connect): Added exception documentation.
11680         (disconnect): Added exception documentation.
11681         (isConnected): Added exception documentation.
11682         (read): Added exception documentation.
11683         (receive): Added exception documentation.
11684         (send): Added exception documentation.
11685         (validOps): Added exception documentation.
11686         * java/nio/channels/SocketChannel.java
11687         (open): Added exception documentation.
11688         (read): Added exception documentation.
11689         (write): Added exception documentation.
11690         (connect): Added exception documentation.
11691         (finishConnect): Added exception documentation.
11692
11693 2002-11-29  Michael Koch <konqueror@gmx.de>
11694
11695         * gnu/java/nio/DatagramChannelImpl:
11696         (fd): New member variable to store file descriptor of socket.
11697         * gnu/java/nio/SelectionKeyImpl.java:
11698         (ops): Removed.
11699         (readyOps): New member variable.
11700         (interestOps): New member variable.
11701         (readyOps): Implemented.
11702         (readyOps): New method to set member variable readyOps.
11703         (interestOps): Replaced ops by interestOps.
11704         * gnu/java/nio/SelectorImpl.java:
11705         (SelectorImpl): Initialize key sets.
11706         (select): Call select with -1 instead of Long.MAX_VALUE).
11707         (java_do_select): Make it a native method.
11708         (getFDsAsArray): New helper method.
11709         (select): Remove canceled keys, give only interested file discriptors
11710         to java_do_select, set ready ops.
11711         (add): No need to initialize keys set here.
11712         (add_selected): No need to initialize selected set here.
11713         (deregisterCanceledKeys): New helper method.
11714         (register): Set interest ops, set attachments, added handling of datagram
11715         channels.
11716         * gnu/java/nio/ServerSocketChannelImpl:
11717         (SocketAccept): Renamed from NioSocketAccept.
11718         (implConfigureBlocking): Implemented.
11719         (accept): Use SocketAccept instead of NioSocketAccept.
11720         * gnu/java/nio/SocketChannelImpl:
11721         Reactivate native methods.
11722
11723 2002-11-29  Michael Koch <konqueror@gmx.de>
11724
11725         * gnu/java/nio/natByteBufferImpl.cc,
11726         gnu/java/nio/natCharBufferImpl.cc,
11727         gnu/java/nio/natDoubleBufferImpl.cc,
11728         gnu/java/nio/natFloatBufferImpl.cc,
11729         gnu/java/nio/natIntBufferImpl.cc,
11730         gnu/java/nio/natLongBufferImpl.cc,
11731         gnu/java/nio/natSelectorImpl.cc,
11732         gnu/java/nio/natServerSocketChannelImpl.cc,
11733         gnu/java/nio/natShortBufferImpl.cc,
11734         gnu/java/nio/natSocketChannelImpl.cc:
11735         New files that implement native functionalities.
11736
11737 2002-11-29  Michael Koch <konqueror@gmx.de>
11738
11739         * gnu/java/nio/ByteBufferImpl.java
11740         (ByteBufferImpl): Moved position() after limit.
11741         (nio_*): Use native implementation.
11742         * gnu/java/nio/CharBufferImpl.java:
11743         Reformated.
11744         (endian): New member variable string endianess of buffer.
11745         (CharBufferImpl): Moved position() after limit.
11746         (nio_*): Use native implementation.
11747         (subSequence): Implemented.
11748         * gnu/java/nio/DoubleBufferImpl.java
11749         (DoubleBufferImpl): Moved position() after limit.
11750         (nio_*): Use native implementation.
11751         * gnu/java/nio/FloatBufferImpl.java
11752         Reformated.
11753         (FloatBufferImpl): Moved position() after limit.
11754         (nio_*): Use native implementation.
11755         * gnu/java/nio/IntBufferImpl.java
11756         Added needed imports, Reformated.
11757         (IntBufferImpl): Moved position() after limit.
11758         (nio_*): Use native implementation.
11759         * gnu/java/nio/LongBufferImpl.java
11760         Reformated.
11761         (LongBufferImpl): Moved position() after limit.
11762         (nio_*): Use native implementation.
11763         * gnu/java/nio/ShortBufferImpl.java
11764         Reformated.
11765         (ShortBufferImpl): Moved position() after limit.
11766         (nio_*): Use native implementation.
11767
11768 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
11769
11770         * java/util/Locale.java (toString): Improve efficiency if country
11771         and variant are both empty.
11772
11773 2002-11-26  Tom Tromey  <tromey@redhat.com>
11774
11775         * verify.cc (pop_init_ref): New method.
11776         (verify_instructions_0) [op_iaload, op_laload, op_faload,
11777         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
11778         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
11779         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
11780         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
11781         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
11782         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
11783         let `this' argument be uninitialized.  Don't let `null' be passed
11784         as `this' to construtor.
11785
11786 2002-11-26  Mark Wielaard  <mark@klomp.org>
11787
11788         * javax/transaction/HeuristicCommitException.java: Classpath merge.
11789         * javax/transaction/HeuristicMixedException.java: Likewise.
11790         * javax/transaction/HeuristicRollbackException.java: Likewise.
11791         * javax/transaction/InvalidTransactionException.java: Likewise.
11792         * javax/transaction/NotSupportedException.java: Likewise.
11793         * javax/transaction/RollbackException.java: Likewise.
11794         * javax/transaction/Status.java: Likewise.
11795         * javax/transaction/Synchronization.java: Likewise.
11796         * javax/transaction/SystemException.java: Likewise.
11797         * javax/transaction/Transaction.java: Likewise.
11798         * javax/transaction/TransactionManager.java: Likewise.
11799         * javax/transaction/TransactionRequiredException.java: Likewise.
11800         * javax/transaction/TransactionRolledbackException.java: Likewise.
11801         * javax/transaction/UserTransaction.java: Likewise.
11802         * javax/transaction/xa/XAException.java: Likewise.
11803         * javax/transaction/xa/XAResource.java: Likewise.
11804         * javax/transaction/xa/Xid.java: Likewise.
11805
11806 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
11807
11808         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
11809         define.
11810         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
11811         * include/posix.h (socklen_t): Define if not already defined.
11812
11813 2002-11-25  Tom Tromey  <tromey@redhat.com>
11814
11815         * verify.cc (type::compatible): Backed out broken change.
11816
11817         * verify.cc (type::compatible): Check initialization status
11818         first.
11819         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
11820         Don't use NULLCHECK.
11821
11822 2002-11-23  H.J. Lu <hjl@gnu.org>
11823
11824         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
11825         Include ../config/accross.m4.
11826         * aclocal.m4; Rebuild.
11827         * configure: Likewise.
11828
11829 2002-11-23  Mark Wielaard  <mark@klomp.org>
11830
11831         * javax/naming/AuthenticationException.java: Update copyright header.
11832         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
11833         * javax/naming/Binding.java: Likewise.
11834         * javax/naming/CannotProceedException.java: Likewise.
11835         * javax/naming/CommunicationException.java: Likewise.
11836         * javax/naming/CompositeName.java: Likewise.
11837         * javax/naming/CompoundName.java: Likewise.
11838         * javax/naming/ConfigurationException.java: Likewise.
11839         * javax/naming/Context.java: Likewise.
11840         * javax/naming/ContextNotEmptyException.java: Likewise.
11841         * javax/naming/InitialContext.java: Likewise.
11842         * javax/naming/InsufficientResourcesException.java: Likewise.
11843         * javax/naming/InterruptedNamingException.java: Likewise.
11844         * javax/naming/LimitExceededException.java: Likewise.
11845         * javax/naming/LinkException.java: Likewise.
11846         * javax/naming/LinkLoopException.java: Likewise.
11847         * javax/naming/LinkRef.java: Likewise.
11848         * javax/naming/MalformedLinkException.java: Likewise.
11849         * javax/naming/NameAlreadyBoundException.java: Likewise.
11850         * javax/naming/NameClassPair.java: Likewise.
11851         * javax/naming/NameNotFoundException.java: Likewise.
11852         * javax/naming/NameParser.java: Likewise.
11853         * javax/naming/NamingEnumeration.java: Likewise.
11854         * javax/naming/NamingSecurityException.java: Likewise.
11855         * javax/naming/NoInitialContextException.java: Likewise.
11856         * javax/naming/NoPermissionException.java: Likewise.
11857         * javax/naming/NotContextException.java: Likewise.
11858         * javax/naming/OperationNotSupportedException.java: Likewise.
11859         * javax/naming/PartialResultException.java: Likewise.
11860         * javax/naming/Reference.java: Likewise.
11861         * javax/naming/Referenceable.java: Likewise.
11862         * javax/naming/ReferralException.java: Likewise.
11863         * javax/naming/ServiceUnavailableException.java: Likewise.
11864         * javax/naming/SizeLimitExceededException.java: Likewise.
11865         * javax/naming/TimeLimitExceededException.java: Likewise.
11866         * javax/naming/directory/Attribute.java: Likewise.
11867         * javax/naming/directory/AttributeInUseException.java: Likewise.
11868         * javax/naming/directory/AttributeModificationException.java: Likewise.
11869         * javax/naming/directory/Attributes.java: Likewise.
11870         * javax/naming/directory/BasicAttribute.java: Likewise.
11871         * javax/naming/directory/BasicAttributes.java: Likewise.
11872         * javax/naming/directory/DirContext.java: Likewise.
11873         * javax/naming/directory/InitialDirContext.java: Likewise.
11874         * javax/naming/directory/InvalidAttributeIdentifierException.java:
11875         Likewise.
11876         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
11877         * javax/naming/directory/InvalidAttributesException.java: Likewise.
11878         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
11879         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
11880         * javax/naming/directory/ModificationItem.java: Likewise.
11881         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
11882         * javax/naming/directory/SchemaViolationException.java: Likewise.
11883         * javax/naming/directory/SearchControls.java: Likewise.
11884         * javax/naming/directory/SearchResult.java: Likewise.
11885         * javax/naming/event/EventContext.java: Likewise.
11886         * javax/naming/event/EventDirContext.java: Likewise.
11887         * javax/naming/event/NamespaceChangeListener.java: Likewise.
11888         * javax/naming/event/NamingEvent.java: Likewise.
11889         * javax/naming/event/NamingExceptionEvent.java: Likewise.
11890         * javax/naming/event/NamingListener.java: Likewise.
11891         * javax/naming/event/ObjectChangeListener.java: Likewise.
11892         * javax/naming/ldap/Control.java: Likewise.
11893         * javax/naming/ldap/ControlFactory.java: Likewise.
11894         * javax/naming/ldap/ExtendedRequest.java: Likewise.
11895         * javax/naming/ldap/ExtendedResponse.java: Likewise.
11896         * javax/naming/ldap/HasControls.java: Likewise.
11897         * javax/naming/ldap/InitialLdapContext.java: Likewise.
11898         * javax/naming/ldap/LdapContext.java: Likewise.
11899         * javax/naming/ldap/LdapReferralException.java: Likewise.
11900         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
11901         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
11902         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
11903         * javax/naming/spi/DirObjectFactory.java: Likewise.
11904         * javax/naming/spi/DirStateFactory.java: Likewise.
11905         * javax/naming/spi/DirectoryManager.java: Likewise.
11906         * javax/naming/spi/InitialContextFactory.java: Likewise.
11907         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
11908         * javax/naming/spi/NamingManager.java: Likewise.
11909         * javax/naming/spi/ObjectFactory.java: Likewise.
11910         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
11911         * javax/naming/spi/ResolveResult.java: Likewise.
11912         * javax/naming/spi/Resolver.java: Likewise.
11913         * javax/naming/spi/StateFactory.java: Likewise.
11914
11915         * javax/naming/spi/NamingManager.java (ofb): Package private.
11916
11917 2002-11-21  Mark Wielaard  <mark@klomp.org>
11918
11919         * java/net/URL.java: Merge with Classpath (partly).
11920         * java/net/URLStreamHandler: Merge with Classpath.
11921
11922 2002-11-22  Michael Koch <konqueror@gmx.de>
11923
11924         * include/posix.h:
11925         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11926         * include/win32.h:
11927         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11928         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
11929
11930 2002-11-21  Michael Koch <konqueror@gmx.de>
11931
11932         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
11933         Only the new network functions should be in it.
11934
11935 2002-11-21  Michael Koch <konqueror@gmx.de>
11936
11937         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11938         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11939
11940 2002-11-21  Michael Koch <konqueror@gmx.de>
11941
11942         * java/nio/channels/AsynchronousCloseException.java,
11943         java/nio/channels/CancelledKeyException.java,
11944         java/nio/channels/ClosedByInterruptException.java,
11945         java/nio/channels/ConnectionPendingException.java,
11946         java/nio/channels/FileLockInterruptionException.java,
11947         java/nio/channels/IllegalSelectorException.java,
11948         java/nio/channels/NoConnectionPendingException.java,
11949         java/nio/channels/NonReadableChannelException.java,
11950         java/nio/channels/NonWritableChannelException.java,
11951         java/nio/channels/NotYetBoundException.java,
11952         java/nio/channels/NotYetConnectedException.java,
11953         java/nio/channels/OverlappingFileLockException.java,
11954         java/nio/channels/UnresolvedAddressException.java,
11955         java/nio/channels/UnsupportedAddressTypeException.java:
11956         New files.
11957         * Makefile.am (ordinary_java_source_files): Added new files.
11958         * Makefile.in: Regenerated.
11959
11960 2002-11-21  Michael Koch <konqueror@gmx.de>
11961
11962         * include/posix.h
11963         (_Jv_socket): New method.
11964         (_Jv_connect): New method.
11965         (_Jv_close): New method.
11966         (_Jv_platform_close_on_exec): Prefixed system function with "::".
11967         (_Jv_bind): New method.
11968         (_Jv_listen): New method.
11969         (_Jv_write): New method.
11970         (_Jv_read): New method.
11971         * include/win32.h
11972         (_Jv_socket): New method.
11973         (_Jv_connect): New method.
11974         (_Jv_close): New method.
11975         (_Jv_bind): New method.
11976         (_Jv_listen): New method.
11977         (_Jv_write): New method.
11978         (_Jv_read): New method.
11979         * java/net/natNetworkInterface.cc:
11980         Include platform.h, removed inclusion of socket.h
11981         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
11982         ::close() by _Jv_close().
11983         * java/net/natPlainDatagramSocketImpl.cc:
11984         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
11985         added some new lines to make code more readable.
11986         (create): Replaced ::socket() by _Jv_socket().
11987         (close): Replaced NATIVE_CLOSE() by _Jv_close().
11988         * java/net/natPlainSocketImpl.cc:
11989         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
11990         removed include of socket.h, removed some windows defines
11991         (now in include/win32.h).
11992         (create): Replaced ::socket() by _Jv_socket().
11993         (close): Replaced NATIVE_CLOSE() by _Jv_close().
11994         (write): Replaced ::read by _Jv_write().
11995         (read): Replaced ::read by _Jv_read().
11996
11997 2002-11-20  Michael Koch <konqueror@gmx.de>
11998
11999         * Makefile.am (ordinary_java_source_files):
12000         Added java/nio/channels/FileChannel.java.
12001         * Makefile.in: Regenerated.
12002
12003 2002-11-20  Michael Koch <konqueror@gmx.de>
12004
12005         * java/io/FileInputStream.java
12006         (getChannel): New method.
12007         * java/io/FileOutputStream.java
12008         (getChannel): New method.
12009         * java/net/ServerSocket.java
12010         (bind): Removed duplicate code and called another bind method instead.
12011         * java/nio/channels/SelectionKey.java
12012         (isValid): Removed wrong exception documentation.
12013         * java/nio/channels/ServerSocketChannel.java
12014         (accept): Added exception documentation.
12015         (open): Fixed typo, added exception documentation.
12016         * java/nio/channels/spi/AbstractSelectableChannel.java
12017         (implCloseChannel): Added exception documentation.
12018         (add): Reformated.
12019         (register): Added exception documentation.
12020
12021 2002-11-20  Andreas Jaeger  <aj@suse.de>
12022
12023         * configure: Regenerated with new libtool.m4.
12024
12025 2002-11-19  Tom Tromey  <tromey@redhat.com>
12026
12027         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
12028         `referent'.
12029         (finalize_referred_to_object): Don't modify `referent' or `copy'
12030         fields.
12031         (add_to_hash): Correctly set `n->next' when updating list.
12032         * java/lang/ref/Reference.java (enqueue): Return false if already
12033         enqueued.
12034
12035 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
12036
12037         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
12038         to function and function pointer declarations in accordance with
12039         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
12040         based on whether __GCJ_JNI_IMPL__ has been defined or not.
12041         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
12042         JNI function definitions.
12043
12044 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12045
12046         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
12047         that was causing CoderResults to be cached, not WeakReferences
12048         to CoderResults.
12049
12050 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
12051
12052         * java/security/KeyStore.java (getInstance): Fix
12053         comment and throw IllegalArgumentException if
12054         given provider is null.
12055         (getInstance): New method for jdk1.4 compatibility.
12056
12057 2002-11-18  Michael Koch <konqueror@gmx.de>
12058
12059         * java/net/PlainSocketImpl.java: Fix imports.
12060
12061 2002-11-18  Michael Koch <konqueror@gmx.de>
12062
12063         * java/nio/channels/SelectionKey.java
12064         (isValid): Added exception documentation.
12065         * java/nio/channels/Selector.java
12066         (open): Declare "throws IOException".
12067
12068 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12069
12070         * java/nio/charset/Charset.java
12071         (<clinit>): New method.
12072         (encode): Synchronize use of cached encoder object.
12073         (decode): Synchronize use of cached encoder object.
12074
12075 2002-11-18  Michael Koch <konqueror@gmx.de>
12076
12077         * gnu/java/nio/ByteBufferImpl.java,
12078         gnu/java/nio/CharBufferImpl.java,
12079         gnu/java/nio/DatagramChannelImpl.java,
12080         gnu/java/nio/DoubleBufferImpl.java,
12081         gnu/java/nio/FileChannelImpl.java,
12082         gnu/java/nio/FloatBufferImpl.java,
12083         gnu/java/nio/IntBufferImpl.java,
12084         gnu/java/nio/LongBufferImpl.java,
12085         gnu/java/nio/PipeImpl.java,
12086         gnu/java/nio/SelectionKeyImpl.java,
12087         gnu/java/nio/SelectorImpl.java,
12088         gnu/java/nio/SelectorProviderImpl.java,
12089         gnu/java/nio/ServerSocketChannelImpl.java,
12090         gnu/java/nio/ShortBufferImpl.java,
12091         gnu/java/nio/SocketChannelImpl.java,
12092         java/nio/DoubleBuffer.java,
12093         java/nio/FloatBuffer.java,
12094         java/nio/IntBuffer.java,
12095         java/nio/LongBuffer.java,
12096         java/nio/ShortBuffer.java,
12097         java/nio/channels/FileChannel.java: New files.
12098
12099 2002-11-18  Michael Koch <konqueror@gmx.de>
12100
12101         * Makefile.am (ordinary_java_source_files):
12102         Added java/nio/ReadOnlyBufferException.java and
12103         java/nio/channels/ClosedSelectorException.java.
12104         * Makefile.in: Regenerated.
12105
12106 2002-11-18  Michael Koch <konqueror@gmx.de>
12107
12108         * java/net/PlainSocketImpl.java: Reworked imports.
12109         * java/net/ServerSocket.java
12110         (ServerSocket): Create socket.
12111         * java/net/SocketAddress.java: Documentation added.
12112         * java/net/natPlainSocketImpl.cc: Reindented.
12113         * java/nio/ReadOnlyBufferException.java: New file
12114         * java/nio/channels/ClosedChannelException.java: Documentation added.
12115         * java/nio/channels/ClosedSelectorException.java: New file.
12116
12117 2002-11-17  Mark Wielaard  <mark@klomp.org>
12118
12119         * java/net/HttpURLConnection.java ((getPermission): Take port
12120         into consideration.
12121         (getErrorStream): Implement.
12122
12123 2002-11-17  Mark Wielaard  <mark@klomp.org>
12124
12125         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
12126
12127 2002-11-16  Mark Wielaard  <mark@klomp.org>
12128
12129         Integrate work by Raif S. Naffah (raif@fl.net.au)
12130         * java/security/DummyKeyPairGenerator.java (clone): New method.
12131         * java/security/DummyMessageDigest.java (clone): New method.
12132         (engineUpdate): Now public.
12133         (engineReset): Likewise.
12134         (engineDigest): Likewise.
12135         (engineGetDigestLength): New method.
12136         * java/security/DummySignature.java (clone): New method.
12137         * java/security/KeyPairGenerator.java (provider): Now package private.
12138         (getInstance(String)): Use getInstance(String,Provider).
12139         (getInstance(String,String): Use getInstance(String,Provider)
12140         (getInstance(String,Provider): New method.
12141         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
12142         * java/security/KeyPairGeneratorSpi.java (clone): New method.
12143         * java/security/MessageDigest.java (provider): Now package private.
12144         (getInstance(String): Use getInstance(String,Provider).
12145         (getInstance(String,String): Use getInstance(String,Provider)
12146         (getInstance(String,Provider): New method.
12147         * java/security/Provider.java (toCanonicalKey): New method.
12148         (get): New method that uses toCanonicalKey().
12149         (put): Use toCanonicalKey().
12150         (remove): Likewise.
12151         * java/security/Security.java (insertProviderAt): Provider index is one
12152         based, not zero based.
12153         (addProvider): Likewise.
12154         (removeProvider): Likewise.
12155         * java/security/Signature.java (provider): Now package private.
12156         (getInstance(String)): Use getInstance(String,Provider).
12157         (getInstance(String,String): Use getInstance(String,Provider)
12158         (getInstance(String,Provider): New method.
12159         (getInstance(String,String,Provider): Don't cast DummySignature.
12160
12161 2002-11-15  Tom Tromey  <tromey@redhat.com>
12162
12163         For PR libgcj/8593:
12164         * java/util/zip/GZIPInputStream.java (read): Check file size.
12165         Look in inflater for remaining input bytes.
12166         (read4): Added buf and offset arguments.
12167
12168 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
12169
12170         * java/applet/AppletContext.java: Fix typo and remove redundant
12171         modifiers.
12172
12173 2002-11-14  Tom Tromey  <tromey@redhat.com>
12174
12175         * java/lang/natRuntime.cc (insertSystemProperties): Set
12176         gnu.classpath.home.
12177
12178 2002-11-13  Michael Koch <konqueror@gmx.de>
12179
12180         * java/nio/ByteBuffer.java
12181         (allocate): New method.
12182         (wrap): New method.
12183         (put): New method.
12184         (get): New method.
12185
12186 2002-11-13  Michael Koch <konqueror@gmx.de>
12187
12188         * java/nio/channels/AlreadyConnectedException.java:
12189         Removed unneeded import.
12190         (AlreadyConnectedException): Documentation added.
12191         * java/nio/channels/Pipe.java
12192         (SinkChannel.SinkChannel): Documentation added.
12193         (SinkChannel.validOps): New method.
12194         (SourceChannel.SourceChannel): Documentation added.
12195         (SourceChannel.validOps): New method.
12196         (Pipe): Documentation added.
12197         (open): Documentation added.
12198         (SinkChannel.channel): Documentation added.
12199         (SourceChannel.channel): Documentation added.
12200         * java/nio/channel/SelectableChannel.java
12201         (SelectableChannel): Documentation added.
12202         (blockingLock): Documentation added.
12203         (configureBlocking):Documentation added.
12204         (isBlocking):Documentation added.
12205         (isRegistered):Documentation added.
12206         (keyFor):Documentation added.
12207         (provider):Documentation added.
12208         (register): Documentation added.
12209         (validOps): Documentation added.
12210         * jaba/nio/channels/SelectionKey.java
12211         (SelectionKey): Documentation added.
12212         (attach): Documentation added.
12213         (attachment): Documentation added.
12214         (isAcceptable): Documentation added.
12215         (isConnetable): Documentation added.
12216         (isReadable): Documentation added.
12217         (isWritable): Documentation added.
12218         (cancel): Documentation added.
12219         (channel): Documentation added.
12220         (interestOps): Documentation added.
12221         (isValid): Documentation added.
12222         (readyOps): Documentation added.
12223         (selector): Documentation added.
12224         * jaba/nio/channels/Selector.java
12225         (Selector): Documentation added.
12226         (open): Documentation added.
12227         (close): Documentation added.
12228         (isOpen): Documentation added.
12229         (keys): Documentation added.
12230         (provider): Documentation added.
12231         (select): Documentation added.
12232         (selectedKeys): Documentation added.
12233         (selectNow): Documentation added.
12234         (wakeup): Documentation added.
12235         * java/nio/channels/spi/AbstractInterruptibleChannel.java
12236         (AbstractInterruptibleChannel): Documentation added.
12237         (opened): Default to true;
12238         (begin): Documentation added.
12239         (close): Set opened to false, documentation added.
12240         (isOpen): Documentation added.
12241         * java/nio/channels/spi/AbstractSelectionKey.java
12242         (AbstractSelectionKey): Documentation added.
12243         (cancel): Documentation added.
12244         (isValid): Documentation added.
12245         * java/nio/channels/spi/AbstractSelector.java
12246         (AbstractSelector): Documentation added.
12247         (begin): Documentation added.
12248         (close): Documentation added.
12249         (isOpen): Documentation added.
12250         (deregister): Documentation added.
12251         (end): Documentation added.
12252         (provider): Documentation added.
12253         (implCloseSelector): Documentation added.
12254         (register): Documentation added.
12255         * java/nio/channels/spi/SelectorProvider.java
12256         (SelectorProvider): Documentation added.
12257         (openDatagramChannel): Documentation added.
12258         (openPipe): Documentation added.
12259         (openSelector): Documentation added.
12260         (openServerSocketChannel): Documentation added.
12261         (openSocketChannel): Documentation added.
12262         (provider): Documentation added.
12263
12264 2002-11-12  Michael Koch <konqueror@gmx.de>
12265
12266         * java/nio/Buffer.java: Implemented.
12267         * java/nio/CharBuffer.java: New file.
12268         * java/nio/InvalidMarkException.java: New file.
12269         * java/nio/channels/DatagramChannel.java: Implemented.
12270         * java/nio/channels/ServerSocketChannel.java: Implemented.
12271         * java/nio/channels/SocketChannel.java: Implemented.
12272         * java/nio/channels/spi/AbstractChannel.java: Removed.
12273         * java/nio/channels/spi/AbstractSelectableChannel.java:
12274         Implemented.
12275         * java/nio/charset/Charset.java:
12276         Merge from Classpath.
12277         * java/nio/charset/CharsetDecoder.java: New file.
12278         * java/nio/charset/CharsetEncoder.java: New file.
12279         * java/nio/charset/CoderResult.java: New file.
12280         * Makefile.am (ordinary_java_source_files): Added new files.
12281         * Makefile.in: Regenerated.
12282
12283 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12284
12285         * gnu/java/nio/charset/ISO_8859_1.java,
12286         gnu/java/nio/charset/Provider.java,
12287         gnu/java/nio/charset/US_ASCII.java,
12288         gnu/java/nio/charset/UTF_16.java,
12289         gnu/java/nio/charset/UTF_16BE.java,
12290         gnu/java/nio/charset/UTF_16Decoder.java,
12291         gnu/java/nio/charset/UTF_16Encoder.java,
12292         gnu/java/nio/charset/UTF_16LE.java,
12293         gnu/java/nio/charset/UTF_8.java: New files.
12294
12295 2002-11-11  Michael Koch <konqueror@gmx.de>
12296
12297         * java/nio/charset/CharacterCodingException.java:
12298         This class must be public.
12299         * java/nio/charset/CoderMalfunctionError.java:
12300         This class must be public.
12301         * java/nio/charset/CodingErrorAction.java:
12302         This class must be public.
12303         * java/nio/charset/IllegalCharsetNameException.java:
12304         This class must be public, better implementation.
12305         * java/nio/charset/MalformedInputException.java:
12306         This class must be public, better implementation.
12307         * java/nio/charset/UnmappableCharacterException.java:
12308         This class must be public, better implementation.
12309         * java/nio/charset/UnsupportedCharsetException.java:
12310         This class must be public, better implementation.
12311
12312 2002-11-11  Michael Koch <konqueror@gmx.de>
12313
12314         * java/nio/BufferOverflowException.java,
12315         java/nio/BufferUnderflowException.java: New file.
12316         * Makefile.am (ordinary_java_source_files):
12317         Added new files.
12318         * Makefile.in: Regenerated.
12319
12320 2002-11-10  Tom Tromey  <tromey@redhat.com>
12321
12322         * java/awt/Container.java (validate): Use tree lock.
12323         (getComponent): Likewise.
12324         (getComponents): Likewise.
12325         (addImpl): Likewise.
12326         (remove): Likewise.
12327         (removeAll): Likewise.
12328         (processEvent): Fixed indentation.
12329         (getComponentAt): Use tree lock.
12330         (findComponentAt): Likewise.
12331         (removeNotify): Likewise.
12332         (isAncestorOf): Likewise.
12333         (list): Likewise.
12334         (visitChildren): Likewise.
12335         (findNextFocusComponent): Likewise.
12336         (addNotifyContainerChildren): Likewise.
12337         (getAccessibleChildrenCount): Likewise.
12338         (getAccessibleChild): Likewise.
12339
12340         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
12341         (getSize): Likewise.
12342         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
12343         (getSize): Likewise.
12344         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
12345         (calcSize): Likewise.
12346         * java/awt/CardLayout.java (getSize): Use tree lock.
12347         (gotoComponent): Likewise.
12348         (layoutContainer): Likewise.
12349
12350         * java/io/natFileDescriptorWin32.cc (read): Handle case where
12351         count is 0.
12352         * java/io/natFileDescriptorPosix.cc (read): Handle case where
12353         count is 0.
12354
12355         * java/io/Externalizable.java, java/io/FilePermission.java,
12356         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
12357         java/io/SerializablePermission.java, java/text/Format.java,
12358         java/util/AbstractMap.java, java/util/HashMap.java,
12359         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
12360         versions from Classpath.
12361
12362 2002-11-10  Anthony Green  <green@redhat.com>
12363
12364         * java/util/jar/Attributes.java (Name): Fix name check.
12365
12366 2002-11-10  Mark Wielaard  <mark@klomp.org>
12367
12368         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
12369         with getName() as message.
12370         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
12371         type as message.
12372
12373         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
12374         unused.
12375
12376 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
12377
12378         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
12379         for Win32. JNICALL has been defined to __stdcall to be compatible
12380         with Sun's JDKs.
12381
12382 2002-11-10  Tom Tromey  <tromey@redhat.com>
12383
12384         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
12385         (setRows): Check newRows, not rows.
12386
12387         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
12388
12389 2002-11-09  Tom Tromey  <tromey@redhat.com>
12390
12391         * java/applet/Applet.java, java/applet/AppletContext.java,
12392         java/applet/AppletStub.java, java/applet/AudioClip.java,
12393         java/awt/CardLayout.java,
12394         java/awt/ContainerOrderFocusTraversalPolicy.java,
12395         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
12396         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
12397         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
12398         java/awt/color/ICC_ColorSpace.java,
12399         java/awt/color/ICC_Profile.java,
12400         java/awt/color/ICC_ProfileGray.java,
12401         java/awt/color/ICC_ProfileRGB.java,
12402         java/awt/datatransfer/DataFlavor.java,
12403         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
12404         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
12405         New versions from Classpath.
12406         * Makefile.in: Rebuilt.
12407         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
12408         ICC_ProfileRGB.
12409
12410         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
12411         display policy.
12412
12413         * java/awt/List.java (processEvent): Added missing `else's.
12414
12415         * java/awt/Window.java (show): validate() before showing.  Make
12416         parent displayable.
12417         (isDisplayable): New method.
12418
12419 2002-11-07  Mark Wielaard  <mark@klomp.org>
12420
12421         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
12422         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
12423
12424         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
12425         annotation.
12426         (loadClass): Take String as codebases.
12427         (getClassAnnotation): Use MyClassLoader annotations.
12428         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
12429         call exportObject(this).
12430
12431         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
12432         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
12433         (setAnnotation): Don't set locBytesStream and locStream.
12434         (replaceObject): Removed.
12435         (flush): Don't test locStream.
12436         (getLocBytes): LikeWise.
12437         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
12438         (leaseCache): New field.
12439         (dirty): Use leaseCache.
12440         (LeaseRecord): New inner class.
12441         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
12442         explicitly call exportObject().
12443         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
12444         false to communicate with Sun JDK130.
12445         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
12446         * gnu/java/rmi/server/RMIObjectInputStream.java
12447         (UnicastConnectionManager): Removed field.
12448         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
12449         Use UnicastServer.getExportedRef().
12450         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
12451         (expireTime): Likewise.
12452         (CONNECTION_TIMEOUT): Likewise.
12453         (disconnect): Call sock.close().
12454         (isExpired): New method.
12455         (resetTime): Likewise.
12456         (run): Use do while loop and catch Exception for discardConnection().
12457         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
12458         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
12459         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
12460         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
12461         (exportObject): Use refcache.
12462         (unexportObject): Likewise.
12463         (getExportedRef): New method.
12464         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
12465         constructor.
12466         (exportObject): Save manager.serverobj.
12467         (getStub): New method.
12468
12469 2002-11-07  Mark Wielaard  <mark@klomp.org>
12470
12471         * java/lang/reflect/natField.cc (getBoolean): Use getType().
12472         (getByte): Likewise.
12473         (getShort): Likewise.
12474         (getInt): Likewise.
12475         (getLong): Likewise.
12476         (getFloat): Likewise.
12477         (getDouble): Likewise.
12478         (get): Likewise.
12479         (setChar): Likewise.
12480         (setByte): Likewise.
12481         (setShort): Likewise.
12482         (setInt): Likewise.
12483         (setLong): Likewise.
12484         (setFloat): Likewise.
12485         (setDouble): Likewise.
12486
12487 2002-11-07  Michael Koch <konqueror@gmx.de>
12488
12489         * java/awt/Choice.java,
12490         java/awt/Container.java,
12491         java/awt/GridBagLayout.java:
12492         Fixed documentation.
12493         * java/awt/peer/ContainerPeer.java:
12494         Reindented.
12495
12496 2002-11-07  Michael Koch <konqueror@gmx.de>
12497
12498         * java/awt/color/ICC_Profile.java:
12499         Added missing constants.
12500         * java/awt/color/ICC_ColorSpace.java
12501         (getMinValue): Added dummy implementation.
12502         (getMaxValue): Added dummy implementation.
12503         * java/awt/datatransfer/DataFlavor.java
12504         (imageFlavor): Added.
12505         (isMimeTypeEqual): Must be final.
12506         (getDefaultRepresentationClass): Must be non-static.
12507         (getDefaultRepresentationClassAsString): Must be non-static.
12508         * java/awt/dnd/DragSourceContext.java
12509         (dragExit): Corrected argument.
12510         (dragDropEnd): Corrected argument.
12511         * java/awt/dnd/DragSourceListener.java.java
12512         (dragExit): Corrected argument.
12513         (dragDropEnd): Corrected argument.
12514         * java/awt/font/TextHitInfo.java
12515         (toString): Added stubbed implementation.
12516         * java/awt/geom/PathIterator.java:
12517         The constants must be static.
12518         * java/awt/image/VolatileImage.java
12519         (IMAGE_INCOMPATIBLE): Fixed typo.
12520         * java/awt/image/renderable/RenderableImage.java
12521         (HINTS_OBSERVED): Must be static.
12522         * java/beans/BeanInfo.java:
12523         Constants must be final.
12524
12525 2002-11-06  Tom Tromey  <tromey@redhat.com>
12526
12527         From svens@it.uu.se.  For PR libgcj/8481.
12528         * java/util/Random.java (nextInt(int)): Only use 31 bits.
12529
12530 2002-11-06  Tom Tromey  <tromey@redhat.com>
12531
12532         * jni.cc (array_from_valist): Assume that jlong won't be
12533         promoted.
12534
12535 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
12536
12537         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
12538         Return 20.
12539         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
12540         Return 16.
12541
12542 2002-11-03  Tom Tromey  <tromey@redhat.com>
12543
12544         * java/lang/ClassLoader.java (loadClass): Call loadClass on
12545         VMClassLoader, not findClass.
12546
12547 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
12548
12549         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
12550         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
12551         _Jv_DetermineVTableIndex, to determine vtable offset.
12552         (_Jv_DetermineVTableIndex): Remove.
12553         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
12554
12555         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
12556
12557 2002-11-03  Tom Tromey  <tromey@redhat.com>
12558
12559         * java/nio/channels/AlreadyConnectedException.java: Extend
12560         IllegalStateException, per spec.
12561
12562 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
12563
12564         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
12565
12566 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12567
12568         * java/util/ArrayList.java (readObject, writeObject): Only read/write
12569         size items.
12570
12571 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12572
12573         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
12574         initial estimated size to avoid enlarge buffer frequently.
12575
12576 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12577
12578         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
12579         ClassLoader when null.
12580         (ProxyType.hashCode): Loader null check no longer needed.
12581         (ProxyType.sameTypes): New method.
12582         (ProxyType.equals): Use new method.
12583
12584 2002-10-31  Mark Wielaard  <mark@klomp.org>
12585
12586         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
12587         length of String.
12588         * java/net/URLEncoder.java (encode): Likewise.
12589
12590 2002-10-31  Mark Wielaard  <mark@klomp.org>
12591
12592         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
12593         when stream is closed.
12594         (closeEntry): Likewise.
12595         (read): Likewise.
12596         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
12597         ZipException when no entry active.
12598         (closeEntry): Likewise.
12599         (write): Likewise.
12600
12601 2002-11-02  Tom Tromey  <tromey@redhat.com>
12602
12603         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
12604         * java/lang/natClass.cc (initializeClass): Don't return just
12605         because self==thread.
12606
12607         For PR java/8415:
12608         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
12609         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
12610
12611 2002-11-02  Andreas Schwab  <schwab@suse.de>
12612
12613         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
12614         pass GCJFLAGS.
12615         (FLAGS_TO_PASS): Define.
12616         * Makefile.in: Regenerated.
12617
12618 2002-11-01  Michael Koch  <konqueror@gmx.de>
12619
12620         * java/nio/ByteOrder.java: New file.
12621         * java/nio/channels/DatagramChannel.java:
12622         (DatagramChannel): New constructor.
12623         * java/nio/channels/Pipe.java: New file.
12624         * java/nio/channels/SelectableChannel.java: New file.
12625         * java/nio/channels/SelectionKey.java: New file.
12626         * java/nio/channels/Selector.java: New file.
12627         * java/nio/channels/ServerSocketChannel.java
12628         (ServerSocketChannel): New constructor.
12629         * java/nio/channels/SocketChannel.java
12630         (SocketChannel): New constructor.
12631         * java/nio/channels/Pipe.java: New file.
12632         * java/nio/channels/spi/AbstractChannel.java: New file.
12633         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
12634         * java/nio/channels/spi/AbstractSelectableChannel.java:
12635         License added
12636         (AbstractSelectableChannel): New stubbed method.
12637         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
12638         * java/nio/channels/spi/AbstractSelector.java: New file.
12639         * java/nio/channels/spi/SelectorProvider.java: New file.
12640         * java/nio/charset/Charset.java: New file.
12641         * java/nio/charset/CoderMalfunctionError.java: New file.
12642         * java/nio/charset/CodingErrorAction.java: New file.
12643         * java/nio/charset/spi/CharsetProvider.java
12644         (charsetForName): Uncommented.
12645         * Makefile.am (java_native_source_files): Added new files.
12646         * Makefile.in: Regenerated.
12647
12648 2002-11-01  Michael Koch  <konqueror@gmx.de>
12649
12650         * java/net/InetAddress.java:
12651         (isAnyLocalAddress): Implemented.
12652         (isLoopbackAddress): Implemented, comment added.
12653         (isLinkLocalAddress): Implemented, documentation added.
12654         (isSiteLocalAddress): Implemented, documentation added.
12655         (isMCGlobal): Implemented, documentation added.
12656         (isMCNodeLocal): Implemented, documentation added.
12657         (isMCLinkLocal): Implemented, documentation added.
12658         (isMCSiteLocal): Implemented, documentation added.
12659         (isMCOrgLocal): Implemented, documentation added.
12660         (getHostName): Documentation added.
12661         (getCanonicalHostName): Implemented, documentation added.
12662         (getAddress): Documentation added.
12663         (hashCode): Documentation added.
12664         (equals): Documentation added.
12665         (toString): Fixed implementation.
12666         (getByAddress): Use Inet4Address and Inet6Address.
12667         (lookup): New linewrap.
12668         (getByName): SecurityManager check added, support Inet4Address and
12669         Inet6address, comments added.
12670         (getAllByName): SecurityManager check added, comments added.
12671         * java/net/Inet6Address.java:
12672         (Inet6Address): Initialize parent class with addr instead of null.
12673         * java/net/URL.java
12674         (equals): Documentation added.
12675         (getFile): Documentation added.
12676         (hashCode): Documentation added.
12677         * java/net/natInetAddress.cc:
12678         (aton): Fix IPv6 support.
12679         * java/net/natPlainDatagramSocketImpl.cc:
12680         (peek): Throw PortUnreachableException when suitable.
12681         (peekData): Throw PortUnreachableException when suitable.
12682         (send): Throw PortUnreachableException when suitable.
12683         (receive): Throw PortUnreachableException when suitable.
12684
12685 2002-10-27  Mark Wielaard  <mark@klomp.org>
12686
12687         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
12688         argument.
12689         (readLeShort): Likewise and use byte[].
12690         (readLeInt): Likewise.
12691         (readEntries): Use new versions of methods and use byte[] for reading
12692         a complete zip entry. Add ZipFile name to exceptions.
12693         (entries): Add ZipFile name to exceptions.
12694         (getEntry): Likewise.
12695         (checkLocalHeader): Use new versions of methods and add ZipFile name
12696         to exceptions.
12697
12698 2002-10-31  Mark Anderson  <mark@panonet.net>
12699
12700         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
12701         added
12702
12703 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
12704
12705         * configure.in: Disable hash sync when not using threads.
12706         * configure: Regenerated.
12707
12708 2002-10-24  Tom Tromey  <tromey@redhat.com>
12709
12710         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
12711         (_Jv_FindSymbolInExecutable): Removed argument name.
12712         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
12713         java.library.path is set.
12714
12715         * gij.cc (help): Document --showversion.
12716         (version): Don't exit.
12717         (main): Handle --showversion.  Exit if --version given.
12718
12719 2002-10-23  Tom Tromey  <tromey@redhat.com>
12720
12721         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
12722         (array_from_valist): Correctly handle promotion for jint, jlong,
12723         jfloat, and jdouble.
12724
12725 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
12726
12727         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
12728         GetFileAttributesEx( ) to find file length and modification times,
12729         as the latter is not present on Windows 95.
12730
12731 2002-10-21  Michael Koch  <konqueror@gmx.de>
12732
12733         * java/net/URL.java
12734         (URL): Activate SecurityManager checks.
12735         (equals): Use URLStreamHandler implementation instead of doing it
12736         alone. This allows special protocol stream handlers to change default
12737         behaviour.
12738         (hashCode): Use URLStreamHandler implementation instead of doing it
12739         alone. This allows special protocol stream handlers to change default
12740         behaviour.
12741         * java/net/URLStreamHandler.java
12742         (equals): Implemented default URL equality check.
12743         (hostsEqual): Implemented default URL equality check.
12744         (hashCode): Implemented default URL hashCode algorithm.
12745         * java/net/natPlainDatagramSocketImpl.cc:
12746         No lines longer then 80 characters.
12747
12748 2002-10-20  Adam Megacz <adam@xwt.org>
12749
12750         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
12751         * configure.in: enabled hash sync on Win32
12752         * include/win32-threads.h (_Jv_ThreadId_t): added.
12753         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
12754         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
12755         removed some posix-isms, use Thread::sleep() instead of usleep,
12756         added code to clear bottom three bits if platform has a broken
12757         linker.
12758         * include/win32-threads.h (_Jv_ThreadId_t): added.
12759
12760 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
12761
12762         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
12763         runtime property "gnu.gcj.progname" containing the name used to
12764         invoke the current Java program (similar to argv[0] for C
12765         programs).
12766
12767 2002-10-15  Tom Tromey  <tromey@redhat.com>
12768
12769         Fix for PR libgcj/8234:
12770         * java/util/zip/natInflater.cc (reset): Reset avail_in.
12771         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
12772
12773 2002-10-13  Mark Wielaard  <mark@klomp.org>
12774
12775         * mauve-libgcj: Enable Mauve tests that compile now.
12776
12777 2002-10-11  Mark Wielaard  <mark@klomp.org>
12778
12779         Fix for PR libgcj/8142
12780         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
12781         loading native modules.
12782
12783 2002-10-10  Michael Koch  <konqueror@gmx.de>
12784
12785         * javax/swing/AbstractListModel.java
12786         (getListDataListeners): New stubbed method.
12787         javax/swing/DefaultBoundedRangeModel.java
12788         (getChangeListeners): New stubbed method.
12789         javax/swing/DefaultSingleSelectionModel.java
12790         (getChangeListeners): New stubbed method.
12791
12792 2002-10-10  Michael Koch  <konqueror@gmx.de>
12793
12794         * gcj/.cvsignore: New file to ignore files generated during build.
12795         * include/.cvsignore: New file to ignore files generated during build.
12796
12797 2002-10-10  Michael Koch  <konqueror@gmx.de>
12798
12799         * java/net/HttpURLConnection.java
12800         (getPermission): New method.
12801         (getErrorStream): New stub method.
12802         (getHeaderFieldDate): New stub method.
12803         * java/net/Inet4Address.java:
12804         (isLinkLocalAddress): Typo fixed.
12805         * java/net/InetAddress.java:
12806         (readResolve): New stubbed method (for serialization).
12807         (isAnyLocalAddress): New stubbed method.
12808         (isLoopbackAddress): New stubbed method.
12809         (isLinkLocalAddress): New stubbed method.
12810         (isSiteLocalAddress): New stubbed method.
12811         (isMCGlobal): New stubbed method.
12812         (isMCNodeGlobal): New stubbed method.
12813         (isMCLinkLocal): New stubbed method.
12814         (isMCSiteLocal): New stubbed method.
12815         (isMCOrgLocal): New stubbed method.
12816         (getCanonicalHostName): New stubbed method.
12817         (getByAddress): Create instances of Inet4Address/Inet6Address,
12818         instead of InetAddress, documentation added.
12819         * java/net/MulticastSocket.java
12820         (getInterface): Removed FIXME.
12821         (getNetworkInterface): New method.
12822         (setNetworkInterface): New method.
12823         * java/net/NetworkInterface.java:
12824         (toString): Use property "line.separator" instead of "\n".
12825         * java/net/URLConnection.java
12826         (getContent): New stubbed method.
12827         * java/net/URLStreamHandler.java:
12828         (equals): New stubbed method.
12829         (hostsEqual): New stubbed method.
12830         (hashCode): New stubbed method.
12831         * java/net/natNetworkInterface.cc:
12832         (getRealNetworkInterfaces): Create Inet4Address object
12833         instead of InetAddress.
12834
12835 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
12836
12837         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
12838         unsigned long temporary to implement insn_iushr shifts.
12839
12840 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
12841
12842         * configure.host [s390*-*]: Enable Java interpreter.
12843         Enable hash synchronization.  Add sysdeps dir.
12844         * sysdep/s390/locks.h: New file.
12845
12846 2002-10-06  Mark Wielaard  <mark@klomp.org>
12847
12848         * java/lang/Thread.java (setDaemon): Check startable_flag,
12849         not isAlive().
12850
12851 2002-10-07  Michael Koch  <konqueror@gmx.de>
12852
12853         * java/nio/Buffer.java: New stub file.
12854         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
12855         of class Charset.
12856         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
12857         * Makefile.in: Regenerated.
12858
12859 2002-10-07  Michael Koch  <konqueror@gmx.de>
12860
12861         * java/nio/ByteBuffer.java:
12862         removed import of not commited class.
12863
12864 2002-10-07  Michael Koch  <konqueror@gmx.de>
12865
12866         * java/nio/ByteBuffer.java,
12867         java/nio/MappedByteBuffer.java:
12868         New files, forgot to add these dummies.
12869         * Makefile.am (java_native_source_files): Added new files.
12870         * Makefile.in: Regenerated.
12871
12872 2002-10-07  Michael Koch  <konqueror@gmx.de>
12873
12874         * java/nio/channels/AlreadyConnectedException.java,
12875         java/nio/channels/ClosedChannelException.java,
12876         java/nio/channels/ReadableByteChannel.java,
12877         java/nio/channels/InterruptibleChannel.java,
12878         java/nio/channels/Channel.java,
12879         java/nio/channels/ByteChannel.java,
12880         java/nio/channels/GatheringByteChannel.java,
12881         java/nio/channels/ScatteringByteChannel.java,
12882         java/nio/channels/WritableByteChannel.java,
12883         java/nio/charset/CharacterCodingException.java,
12884         java/nio/charset/IllegalCharsetNameException.java,
12885         java/nio/charset/MalformedInputException.java,
12886         java/nio/charset/UnmappableCharacterException.java,
12887         java/nio/charset/UnsupportedCharsetException.java,
12888         java/nio/charset/spi/CharsetProvider.java: New file.
12889         These files are exceptions or interfaces,
12890         no real or abstract classes.
12891         * Makefile.am (java_native_source_files): Added new files.
12892         * Makefile.in: Regenerated.
12893
12894 2002-10-05  Michael Koch  <konqueror@gmx.de>
12895
12896         * java/net/InetAddress.java
12897         (getByAddress): Fixed documentation.
12898         (getByAddress): New method.
12899         * java/net/Inet4Address.java: New file.
12900         * java/net/URL.java
12901         (URL): Documentation added.
12902         (getContent): Documentation added.
12903         (getContent): New stubbed method.
12904         (getQuery): New method.
12905         (openConnection): Documentation added.
12906         (openStream): Documentation added.
12907         (setURLStreamHandlerFactory): Documentation added.
12908         * java/net/URI.java: New stub file.
12909         * Makefile.am
12910         (java_native_source_files): Added java/net/Inet4Address.java,
12911         java/net/Inet6Address.java and java/net/URI.java.
12912         * Makefile.in: Regenerated.
12913
12914 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
12915
12916         * java/lang/ProtectionDomain.java (linesep): Remove field.
12917         (toString): Use System.getProperty("line.separator").
12918
12919 2002-10-04  Michael Koch  <konqueror@gmx.de>
12920
12921         * java/security/Identity.java: Added serialVersionUID.
12922         * java/security/KeyPair.java: Added serialVersionUID.
12923         * java/security/Provider.java: Added serialVersionUID.
12924         * java/security/SecureRandom.java: Added serialVersionUID.
12925         * java/security/SecureRandomSpi.java: Added serialVersionUID.
12926         * java/security/SignedObject.java: Added serialVersionUID.
12927         * java/security/cert/Certificate.java: Added serialVersionUID.
12928
12929 2002-10-04  Mark Wielaard <mark@klomp.org>
12930
12931         * java/security/Security.java: Use java.home or gnu.classpath.home
12932         to load providers.
12933         (loadProviders): Extra dir argument.
12934         (getProvider): Return null when not found.
12935
12936 2002-10-04  Mark Wielaard  <mark@klomp.org>
12937
12938         * java/lang/Throwable.java: Remerge with Classpath.
12939
12940 2002-10-04  Michael Koch  <konqueror@gmx.de>
12941
12942         * java/net/InetAddress.java:
12943         (isMulticastAddress): Added documentation.
12944         (getHostAddress): Added documentation.
12945         (toString): Added documentation.
12946         (getByAddress): Fixed documentation.
12947         (getByName): Added documentation.
12948         (getAllByName): Added documentation.
12949         (getLocalHost): Added documentation.
12950
12951 2002-10-04  Michael Koch  <konqueror@gmx.de>
12952
12953         * java/beans/beancontext/BeanContextChildSupport.java:
12954         Added serialVersionUID.
12955         * java/text/Collator.java: (compare): Made documentation HTML-aware.
12956         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
12957         * javax/naming/Name.java: Added serialVersionUID.
12958
12959 2002-10-03  Adam Megacz <adam@xwt.org>
12960
12961         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
12962         some functionality that isn't supported yet on WIN32.
12963
12964 2002-10-03  Tom Tromey  <tromey@redhat.com>
12965
12966         * Makefile.in: Rebuilt.
12967         * Makefile.am (awt_java_source_files): Added new files.
12968
12969 2002-10-03  Michael Koch  <konqueror@gmx.de>
12970
12971         * java/net/InetAddress.java
12972         (class InetAddress): Removed final keyword.
12973         (equals): Fixed typo.
12974         (getByAddress): New method.
12975
12976 2002-10-03  Michael Koch  <konqueror@gmx.de>
12977
12978         * java/awt/dnd/Autoscroll.java:
12979         New file, merge from Classpath.
12980         * java/awt/dnd/DragSourceAdapter.java:
12981         (dragExit): Fixed typos in argument type.
12982         (dragDropEnd): Fixed typos in argument type.
12983         * java/awt/dnd/DragSourceDropEvent.java:
12984         New file, merge from Classpath.
12985         * java/awt/dnd/DropTarget.java:
12986         Added stubs, merge from Classpath.
12987         * java/awt/dnd/DropTargetAdapter.java:
12988         New file, merge from Classpath.
12989         * java/awt/dnd/DropTargetContext.java:
12990         New file, merge from Classpath.
12991         * java/awt/dnd/DropTargetDragEvent.java:
12992         New file, merge from Classpath.
12993         * java/awt/dnd/DropTargetDropEvent.java:
12994         New file, merge from Classpath.
12995         * java/awt/dnd/DropTargetEvent.java:
12996         New file, merge from Classpath.
12997         * java/awt/dnd/DropTargetListener.java:
12998         New file, merge from Classpath.
12999         * java/awt/dnd/MouseDragGestureRecognizer.java:
13000         New file, merge from Classpath.
13001         * java/awt/dnd/peer/DropTargetContextPeer.java:
13002         New file, merge from Classpath.
13003
13004 2002-10-03  Michael Koch  <konqueror@gmx.de>
13005
13006         * java/net/DatagramPacket.java
13007         (setLength): Fixed typo and be HTML-aware.
13008         * java/net/InetSocketAddress.java
13009         (InetSocketAddress): Correct initialization of hostname, fixed typo.
13010         (equals): Added comment about equality of InetSocketAddress objects.
13011         * java/net/ServerSocket.java
13012         (accept): Added checks.
13013         (isClosed): New stubbed method.
13014         * java/net/SocketOptions.java: Reindention.
13015         * java/net/SocketPermission
13016         (SocketPermission): Documentation fixed.
13017
13018 2002-10-03  Michael Koch  <konqueror@gmx.de>
13019
13020         * java/net/DatagramSocket.java
13021         (receive): Check with SecurityManager AFTER the packet is received,
13022         check if connected to multicast address, documentation added.
13023         (send): Only check SecurityManager if connected, check address of
13024         packet to send.
13025         (connect): Implemented, documentation added.
13026         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
13027         * java/net/InetSocketAddress.java
13028         (whole file): Reindented.
13029         (hostname): New attribute.
13030         (InetSocketAddress): Initialize new attribute.
13031         (getAddress): Documentation added.
13032         (getHostName): Documentation added.
13033         (getPort): Documentation added.
13034         (hashCode): Documentation added.
13035         (isUnresolved): Documentation added.
13036         (toString): Conform to output of JDK 1.4.1, documentation added.
13037         * java/net/MulticastSocket.java
13038         (joinGroup): Removed FIXME, documentation added.
13039         (leaveGroup): Removed FIXME, documentation added.
13040         (send): Documentation added.
13041         * java/net/Socket.java
13042         (inputShutdown): New variable.
13043         (outputShutdown): New variable.
13044         (Socket): Initialize new variables.
13045         (getRemoteSocketAddress): Check if connected.
13046         (shutdownInput): Set new variable.
13047         (shutdownOutput): Set new variable.
13048         (isConnected): New method.
13049         (isClosed): New method.
13050         (isInputShutdown): New method.
13051         (isOutputShutdown): New method.
13052         * java/net/URLStreamHandler.java
13053         (URLStreamHandler): New method.
13054         (openConnection): Added documentation.
13055         (parseURL): Added documentation.
13056         (getHostAddress): New method.
13057         (getDefaultPort): New method.
13058
13059 2002-10-02  Tom Tromey  <tromey@redhat.com>
13060
13061         * java/rmi/activation/ActivationDesc.java,
13062         java/rmi/activation/ActivationGroupDesc.java,
13063         java/rmi/activation/ActivationGroupID.java,
13064         java/rmi/activation/ActivationID.java: New versions from
13065         Classpath.
13066
13067 2002-09-30  Bo Thorsen  <bo@suse.de>
13068
13069         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
13070
13071 2002-09-30  Tom Tromey  <tromey@redhat.com>
13072
13073         * java/io/ObjectInputStream.java (resolveProxyClass): New method
13074         from Classpath.
13075         * Makefile.in: Rebuilt.
13076         * Makefile.am (rmi_java_source_files): Added new files.
13077         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
13078         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
13079         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
13080         Classpath.
13081         * gnu/java/rmi/dgc/DGCImpl.java,
13082         gnu/java/rmi/dgc/DGCImpl_Skel.java,
13083         gnu/java/rmi/dgc/DGCImpl_Stub.java,
13084         gnu/java/rmi/registry/RegistryImpl_Skel.java,
13085         gnu/java/rmi/registry/RegistryImpl_Stub.java,
13086         gnu/java/rmi/server/RMIHashes.java,
13087         gnu/java/rmi/server/RMIObjectInputStream.java,
13088         gnu/java/rmi/server/RMIObjectOutputStream.java,
13089         gnu/java/rmi/server/UnicastConnection.java,
13090         gnu/java/rmi/server/UnicastConnectionManager.java,
13091         gnu/java/rmi/server/UnicastRef.java,
13092         gnu/java/rmi/server/UnicastServer.java,
13093         gnu/java/rmi/server/UnicastServerRef.java,
13094         java/rmi/MarshalledObject.java,
13095         java/rmi/server/RMIClassLoader.java,
13096         java/rmi/server/RemoteObject.java,
13097         java/rmi/server/UnicastRemoteObject.java,
13098         java/security/SecureClassLoader.java: Merged from Classpath.
13099
13100 2002-09-29  Anthony Green  <green@redhat.com>
13101
13102         * java/lang/reflect/UndeclaredThrowableException.java: New file.
13103         Imported from GNU Classpath.
13104         * java/lang/reflect/natProxy.cc: New file.
13105         * java/lang/reflect/InvocationHandler.java: New file.  Imported
13106         from GNU Classpath.
13107         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
13108         Classpath.
13109         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
13110         Classpath.
13111         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
13112         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
13113         New statics.
13114         * gcj/javaprims.h ("Java"): Add new classes.
13115         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
13116         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
13117         java/lang/reflect/Proxy$$ProxyType.h): And this.
13118         (inner_nat_headers): Add these new headers.
13119         (ordinary_java_source_files): Add new files.
13120         (nat_source_files): Add new file.
13121         * Makefile.in: Rebuilt.
13122
13123 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
13124
13125         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
13126         a single configuration.
13127
13128 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13129
13130         * java/util/TimeZone.java (getDSTSavings): New method.
13131         Fixes PR libgcj/7786.
13132
13133 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13134
13135         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
13136         to see if `the_method == 0' before looking up vtable index.
13137         Fixes PR libgcj/7709.
13138
13139 2002-09-25  Tom Tromey  <tromey@redhat.com>
13140
13141         * java/lang/natClassLoader.cc:
13142         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
13143         * resolve.cc: Include NoClassDefFoundError.h, not
13144         ClassNotFoundException.h.
13145         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
13146
13147         * defineclass.cc: Don't include ClassNotFoundException.h.
13148
13149         * resolve.cc: Include StringBuffer.
13150         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
13151
13152         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
13153         allocated but not initialized.
13154
13155 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13156
13157         Fix for PR libgcj/7766:
13158         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
13159         (getNextEntry): Set it.
13160         (closeEntry): Likewise.
13161         (read): Likewise.
13162         (close): Likewise.
13163         (available): Use it.
13164
13165 2002-09-25  Michael Koch  <konqueror@gmx.de>
13166
13167         * java/net/DatagramSocket.java
13168         (DatagramSocket): Initialize new instance variables.
13169         (close): Reset new instance variables.
13170         (getLocalAddress): Remove unneeded SecurityManager usage.
13171         (getLocalPort): Check if socket is already bound.
13172         (isConnected): New method.
13173         (getInetAddress): Implemented.
13174         (getPort): Better Implementation, documentation fixed.
13175         (getRemoteSocketAddress): New method.
13176         * java/net/JarURLConnection.java
13177         (element): Typo fixed.
13178         (getMainAttributes): New method.
13179         (getAttributes): New method (stub only).
13180         (getManifest): New method (stub only).
13181         * java/net/NetPermission.java: Added serialVersionsUID.
13182         * java/net/Socket.java
13183         (connect): Check blocking mode of associated channel,
13184         documentation added.
13185         (getLocalSocketAddress): Better implementation.
13186         (getRemoteSocketAddress): Implemented.
13187         (isBound): New method.
13188         (setSendBufferSize): Documentation added.
13189         * java/net/SocketAddress.java: Added serialVersionsUID.
13190         * java/net/SocketPermission.java: Added serialVersionsUID.
13191         * java/net/URL.java
13192         (URL): Wrap for shorter lines, initialize new instance variables,
13193         documentation added.
13194         (equals): Check new instance variables too.
13195         (getContent): Documentation added.
13196         (getPath): Documentation added.
13197         (getAuthority): New method.
13198         (getHost): Documentation added.
13199         (getPort): Documentation added.
13200         (getDefaultPort): New method.
13201         (getProtocol): Documentation added.
13202         (getUserInfo): Documentation added.
13203         (set): Initialize new instance variables, documentation added.
13204         * java/net/URLStreamHandler.java
13205         (setURL): New method.
13206         * java/net/natPlainDatagramSocketImpl.cc
13207         (connect): Fix exception name.
13208         (disconnect): Fix exception name.
13209
13210 2002-09-25  Michael Koch  <konqueror@gmx.de>
13211
13212         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
13213         * java/nio/channels/DatagramChannel.java:
13214         extends AbstractSelectableChannel
13215         * java/nio/channels/ServerSocketChannel.java:
13216         extends AbstractSelectableChannel
13217         * java/nio/channels/SocketChannel.java:
13218         extends AbstractSelectableChannel
13219         * Makefile.am (ordinary_java_source_files):
13220         java/nio/channels/spi/AbstractSelectableChannel.java added.
13221         * Makefile.in: Regenerated.
13222
13223 2002-09-25  Michael Koch  <konqueror@gmx.de>
13224
13225         * java/net/DatagramSocket.java
13226         (DatagramSocket): Exception documentation added.
13227         (bind): Exception documentation added, addded SecurityManager check,
13228         added SocketAddress type check.
13229         (getSoTimeout): Check impl.
13230         (receive): Fix SecurityManager check, check impl, documentation added.
13231         (send): Check channel mode, documentation added.
13232         (connect): New method.
13233         (disconnect): Implemented.
13234         (getLocalSocketAddress): New method.
13235         (getReceiveBufferSize): Check impl.
13236         (setReuseAddress): Check impl.
13237         (getReuseAddress): Check impl.
13238         (setBroadcast): Check impl.
13239         (getBroadcast): Check impl.
13240         (setTrafficClass): Check impl, Documentation cleared.
13241         (getTrafficClass): Check impl.
13242         (getSendBufferSize): Check impl.
13243         (setReceiveBufferSize): Check impl, documentation added.
13244         (setSendBufferSize): Documentation added.
13245         (setDatagramSocketImplFactory): New method.
13246         * java/net/HttpURLConnection.java
13247         (HTTP_INTERNAL_ERROR): The correct code is 500.
13248         (HTTP_NOT_IMPLEMENTED): Added new constant.
13249         (setFollowRedirects): Documentation added.
13250         (getInstanceFollowRedirects): New method.
13251         (setInstanceFollowRedirects): New method.
13252         (setRequestMethod): Documentation added.
13253         (getResponseCode): Documentation added.
13254         (getResponseMessage): Documentation added.
13255         * java/net/JarURLConnection.java
13256         (JarURLConnection): protected since JDK 1.4.
13257         (getJarEntry): java.io.IOException to IOException, documentation added.
13258         (getJarFile): Documentation added.
13259         * java/net/ServerSocket.java
13260         (ServerSocket): Private to public, exception added.
13261         (ServerSocket): java.io.IOException to IOException, documentation added.
13262         (bind): Check socket address type, documentation added.
13263         (bind): java.io.IOException to IOException, documentation added.
13264         (accept): Documentation added.
13265         (implAccept): Check ch is not non-blocking, documentation added.
13266         (setSoTimeout): Documentation fixed.
13267         (setReceiveBufferSize): Documentation added.
13268         * java/net/Socket.java
13269         (Socket): Documentation added.
13270         (bind): Documentation added.
13271         (connect): Check socket address type, documentation added.
13272         (getRemoteSocketAddress): New method.
13273         (getLocalSocketAddress): New method.
13274         (setSoLinger): Documentation added.
13275         (getReuseAddress): New method.
13276         (setReuseAddress): New method.
13277         (getTrafficClass): New method.
13278         (setTrafficClass): New method.
13279         * java/net/URLStreamHandler.java
13280         (openConnection): java.io.IOException to IOException.
13281         (parseURL): Documentation added.
13282         (sameFile): public to protected, documentation added.
13283         (setURL): Documentation added.
13284         * java/nio/IllegalBlockingModeException.java: New file.
13285         * Makefile.am (ordinary_java_source_files):
13286         added java/nio/IllegalBlockingModeException.java
13287         * Makefile.in: Regenerated.
13288
13289 2002-09-25  Michael Koch  <konqueror@gmx.de>
13290
13291         * java/net/DatagramPacket
13292         (DatagramPacket): Exception documentation added.
13293         (setData): Likewise.
13294         (setSocketAddress): Likewise.
13295         * java/net/DatagramSocketImpl.java
13296         (peek): Documentation addded.
13297         (peekData): Documentation addded.
13298         (send): Documentation addded.
13299         (receive): Documentation addded.
13300         (connect): New method.
13301         (disconnect): New method.
13302         (joinGroup): New abstract method.
13303         (leaveGroup): New abstract method.
13304         * java/net/InetSocketAddress.java
13305         (InetSocketAddress): Documentation added.
13306         (equals): final keyword added.
13307         (getAddress): final keyword added.
13308         (getHostName): final keyword added.
13309         (getPort): final keyword added.
13310         (hashCode): final keyword added.
13311         (isUnresolved): final keyword added.
13312         * java/net/MulticastSocket.java
13313         (MulticastSocket): Documentation added.
13314         (MulticastSocket): New method.
13315         (joinGroup): Documentation added.
13316         (joinGroup): New method.
13317         (leaveGroup): Documentation added.
13318         (leaveGroup): New method.
13319         (send): Documentation added.
13320         * java/net/NetworkInterface.java
13321         (getByName): Documentation added.
13322         (getByInetAddress): Documentation added.
13323         (getNetworkInterfaces): Documentation added.
13324         * java/net/PlainDatagramSocketImpl.java
13325         (connect): New method.
13326         (disconnect): New method.
13327         * java/net/SocketImpl.java
13328         (create): Documentation added.
13329         (shutdownInput): Convert public to protected, as it always was.
13330         (shutdownOutput): Convert public to protected, as it always was.
13331         * java/net/SocketOptions.java
13332         (whole file): Reintented.
13333         * java/net/URLClassLoader.java
13334         (URLClassLoader): SecurityManager check added, documentation added.
13335         (findResources): Documentation added.
13336         (findClass): Documentation added.
13337         (newInstance): More correct method arguments.
13338         * java/net/URLConnection.java
13339         (connect): Documentation added.
13340         (getContent): Documentation added.
13341         (getPermission): Documentation added.
13342         (getInputStream): Documentation added.
13343         (getOutputStream): Documentation added.
13344         (setDoInput): Throw correct exception, documentation added.
13345         (setDoOutput): Throw correct exception, documentation added.
13346         (setAllowUserInteraction): Throw correct exception, documentation added.
13347         (setUseCaches): Throw correct exception, documentation added.
13348         (setIfModifiedSince): Throw correct exception, documentation added.
13349         (setRequestProperty): Throw exception, documentation added.
13350         (addRequestProperty): Throw exception, documentation added.
13351         (getRequestProperty): Throw exception, documentation added.
13352         (getRequestProperties): Documentation added.
13353         (setContentHandlerFactory): Documentation added.
13354         (guessContentTypeFromName): protected to public.
13355         (setFileNameMap): Documentation added.
13356         * java/net/URLDecoder.java
13357         (URLDecoder): New method.
13358         (decode): Documentation added.
13359         (whole file): Reindented.
13360         * java/net/URLEncoder.java
13361         (encode): Documentation added.
13362         * java/net/natPlainDatagramSocketImpl.cc
13363         (connect): New method.
13364         (disconnect): New method.
13365         * javax/naming/RefAddr:
13366         (addrType): addrType was never final.
13367         (equals): Fix typo in method name.
13368         * javax/naming/BinaryRefAddr:
13369         (equals): Fix typo in method name.
13370
13371 2002-09-22  Tom Tromey  <tromey@redhat.com>
13372
13373         Fix for PR libgcj/6576:
13374         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
13375         didn't find a given bundle.
13376         (getBundle): Don't require base bundle.
13377         (setParent): Removed old comment.
13378         (tryLocalBundle): Try components even if preceding components were
13379         empty.
13380
13381 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13382
13383         * Makefile.am (all-multi): Fix multilib parallel build.
13384
13385 2002-09-21  Michael Koch  <konqueror@gmx.de>
13386
13387         * java/net/Socket.java
13388         (sendUrgentData): New method.
13389         (getChannel): New method.
13390         * java/net/ServerSocket.java
13391         (getChannel): New method.
13392         (isBound): New method.
13393         * java/net/DatagramSocket.java
13394         (DatagramSocket): Two new methods.
13395         (bind): New method.
13396         (getChannel): New method.
13397         (isBound): New method.
13398         (send): Added newline to to make shorter lines.
13399         * java/net/PlainDatagramSocketImpl.java
13400         (mcastGrp): Added argument.
13401         (join): Use new mcastGrp.
13402         (leave): Use new mcastGrp.
13403         (joinGroup): New method.
13404         (leaveGroup): New method.
13405         * java/net/natPlainDatagramSocketImpl.cc
13406         (mcastGrp): Added argument, no yet really implemented.
13407         (getOption): Added newline for shorter lines.
13408         * java/net/natPlainSocketImpl.cc
13409         (read, setOption, getOption): Added newline for shorter lines.
13410
13411 2002-09-19  Tom Tromey  <tromey@redhat.com>
13412
13413        * java/lang/ClassLoader.java (resolveClass0): Set cause for
13414        newly-created exception.
13415
13416 2002-09-18  Michael Koch  <konqueror@gmx.de>
13417
13418         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
13419         java/util/regex/PatternSyntaxException.java:
13420         Merge with classpath, new files.
13421         * Makefile.am (core_java_source_files):
13422         Added java/util/regex/Matcher.java,
13423         java/util/regex/Pattern.java,
13424         java/util/regex/PatternSyntaxException.java
13425         * Makefile.in: Regenerated.
13426         * include/config.h.in: Added HAVE_NET_IF_H.
13427         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
13428         Removed #if 0 ... #endif.
13429
13430 2002-09-17  Michael Koch  <konqueror@gmx.de>
13431
13432         * java/net/natNetworkInterface.cc:
13433         Removed unneed and yet wrong includes.
13434
13435 2002-09-17  Michael Koch  <konqueror@gmx.de>
13436
13437         * java/net/NetworkInterface.java: New file.
13438         * java/net/natNetworkInterface.java: New file.
13439         * configure.in: Added check for net/if.h.
13440         * configure: Regenerated.
13441         * Makefile.am
13442         (ordinary_java_source_files): Added NetworkInterface.java.
13443         (nat_source_files): Added natNetworkInterface.cc.
13444         * Makefile.in: Regenerated.
13445
13446 2002-09-16  Tom Tromey  <tromey@redhat.com>
13447
13448         * java/net/URLClassLoader.java (findClass): Code source for a
13449         class from a jar is not necessarily a jar: URL.
13450
13451 2002-09-16  Michael Koch  <konqueror@gmx.de>
13452
13453         * java/lang/AssertionError.java:
13454         Merge with classpath, fixes HTML.
13455         * java/rmi/server/LogStream.java:
13456         Merge with classpath, fixes some constants.
13457         * java/net/server/RemoteServer.java:
13458         Merge with classpath, adds serialVersionUID.
13459         * javax/naming/BinaryRefAddr.java:
13460         Merge with classpath, s/equal/equals/.
13461         * javax/naming/NamingException.java:
13462         Merge with classpath, fixed typo.
13463         * javax/naming/RefAddr.java:
13464         Merge with classpath, s/equal/equals/.
13465         * java/awt/Toolkit.java:
13466         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
13467         and typo fixed.
13468
13469 2002-09-15  Adam Megacz <adam@xwt.org>
13470
13471         * java/net/natPlainSocketImpl.cc: fixed typo.
13472
13473 2002-09-15  Adam Megacz <adam@xwt.org>
13474
13475         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
13476         which don't work on Win32 (yet).
13477
13478 2002-09-14  Adam Megacz <adam@xwt.org>
13479
13480         * java/net/natPlainDatagramSocket.cc: removed #include
13481         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
13482         * include/win32.h: included definition for IP_TOS to satisfy
13483         natPlainDatagramSocket.cc
13484
13485 2002-09-13  Michael Koch  <konqueror@gmx.de>
13486
13487         * java/net/DatagramPacket.java (DatagramPacket):
13488         Added linebreak for 80 chars per line.
13489         * java/net/JarURLConection.java
13490         (getInputStreami, getJarEntry): Likewise.
13491         * java/net/SocketPErmission.java
13492         (SocketPermission class docu, implies): Likewise.
13493         * java/net/URLClassLoader.java (findResources): Likewise.
13494         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
13495
13496 2002-09-13  Michael Koch  <konqueror@gmx.de>
13497
13498         * java/nio/channels/DatagramChannel.java,
13499         java/nio/channels/ServerSocketChannel.java
13500         java/nio/channels/SocketChannel.java:
13501         New dummy files to make java.net fully JDK 1.4 compatible
13502         * Makefile.am (ordinary_java_source_files): Added
13503         java/net/DatagramSocketImplFactory.java (long forgotten),
13504         java/nio/SocketChannel.java,
13505         java/nio/ServerSocketChannel.java,
13506         java/nio/DatagramChannel.java
13507         * Makefile.in: Regenrated.
13508
13509 2002-09-12  Michael Koch  <konqueror@gmx.de>
13510
13511         * java/net/DatagramSocketImpl.java
13512         (peekData): New method.
13513         * java/net/PlainDatagramSocketImpl.java
13514         (peekData): New method.
13515         * java/net/natPlainDatagramSocketImpl.cc
13516         (peekData): New method.
13517         * java/net/URLConnection
13518         (getPermission): New method.
13519         (addRequestProperty): New method.
13520         (getRequestProperties): New method.
13521         (guessContentTypeFromStream): New method, not really implemented.
13522         (URLConnection): Added/updated documentation.
13523         (connect): Added/updated documentation.
13524         (getURL): Added/updated documentation.
13525         (getContentLength): Added/updated documentation.
13526         (getContentType: Added/updated documentation.
13527         (getContentEncoding): Added/updated documentation.
13528         (getExpiration): Added/updated documentation.
13529         (getDate): Added/updated documentation.
13530         (getLastModified): Added/updated documentation.
13531         (getHeaderField): Added/updated documentation.
13532         (getHeaderFields): Added/updated documentation.
13533         (getHeaderFieldInt): Added/updated documentation.
13534         (getHeaderFieldDate): Added/updated documentation.
13535         (getHeaderFieldKey): Added/updated documentation.
13536         (getContent): Added/updated documentation.
13537         (getInputStream): Added/updated documentation.
13538         (getOutputStream): Added/updated documentation.
13539         (toString): Added/updated documentation.
13540         (setDoInput): Added/updated documentation.
13541         (getDoInput): Added/updated documentation.
13542         (setDoOutput): Added/updated documentation.
13543         (getDoOutput): Added/updated documentation.
13544         (setAllowUserInteraction): Added/updated documentation.
13545         (getAllowUserInteraction): Added/updated documentation.
13546         (setDefaultAllowUserInteraction): Added/updated documentation.
13547         (getDefaultAllowUserInteraction): Added/updated documentation.
13548         (setUseCaches): Added/updated documentation.
13549         (getUseCaches): Added/updated documentation.
13550         (setIfModifiedSince): Added/updated documentation.
13551         (getIfModifiedSince): Added/updated documentation.
13552         (getDefaultUseCaches): Added/updated documentation.
13553         (setDefaultUseCaches): Added/updated documentation.
13554         (setRequestProperty): Added/updated documentation.
13555         (getRequestProperty): Added/updated documentation.
13556         (setDefaultRequestProperty): Added/updated documentation.
13557         (getDefaultRequestProperty): Added/updated documentation.
13558         (setContentHandlerFactory): Added/updated documentation.
13559         (guessContentTypeFromName): Added/updated documentation.
13560         (getFileNameMap): Added/updated documentation.
13561         (setFileNameMap): Added/updated documentation.
13562
13563 2002-09-11  Michael Koch  <konqueror@gmx.de>
13564
13565         * java/net/Socket.java
13566         (Socket): protected to public (since JDK 1.4). Added @specnote.
13567         (bind): New method.
13568         (connect): Two new methods.
13569         (getKeepalive): Get correct socket option.
13570         (setKeepalive): Set correct socket option.
13571         (getOOBInline): New method.
13572         (setOOBInline): New method.
13573         * java/net/ServerSocket.java
13574         (bind): Two new methods.
13575         (getInetAddress): Reimplemented, catch exception.
13576         (getLocalSocketAddress): New method.
13577         (setReuseAddress): New method.
13578         (getReuseAdress): New method.
13579         (setReceiveBufferSize): New method.
13580         (getReceiveBufferSize): New method.
13581         (toString): Made string JDK 1.4 compliant.
13582
13583 2002-09-10  Michael Koch  <konqueror@gmx.de>
13584
13585         * java/net/SocketImpl.java
13586         (connect): New method.
13587         (supportsUrgentData): New method.
13588         (sendUrgentData): New method.
13589         * java/net/PlainSocketImpl.java
13590         (connect): One new method and two new implementation.
13591         (sendUrgentData): New method.
13592         * java/natPlainSocketImpl.cc
13593         (connect): Arguments changed, added support for timeouts.
13594         (getOption): Another __java_boolean to jboolean.
13595
13596 2002-09-07  Adam Megacz <adam@xwt.org>
13597
13598         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
13599         definition of IP_TOS.
13600
13601 2002-09-04  Michael Koch  <konqueror@gmx.de>
13602
13603         * java/net/DatagramSocket.java
13604         (DatagramSocket): Added documentation.
13605         (close): Likewise.
13606         (getLocalAddress): Likewise.
13607         (getLocalPort): Likewise.
13608         (receive): Likewise.
13609         (send): Likewise.
13610         (setSoTimeout): Likewise.
13611         (connect): New method.
13612         (disconnect): New method.
13613         (getInetAddress): New method (FIXME)
13614         (getPort): New method.
13615         (setReuseAddress): New method.
13616         (getReuseAddress): New method.
13617         (setBroadcast): New method.
13618         (getBroadcast): New method.
13619         (setTrafficClass): New method.
13620         (getTrafficClass): New method.
13621         * java/net/MulticastSocket.java):
13622         (getTTL): Added @see in documentation.
13623         (setTTL): Added @see in documentation.
13624         (setLoopbackMode): New method.
13625         (getLoopbackMode): New method.
13626         * java/net/PlainSocketImpl.java:
13627         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
13628         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13629         * java/net/PlainDatagramSocketImpl.java
13630         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
13631         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13632         * java/net/natPlainSocketImpl.cc
13633         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13634         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13635         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13636         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13637         This should also fix SO_KEEPALIVE
13638         * java/net/natPlainDatagramSocketImpl.cc
13639         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13640         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13641         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13642         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13643
13644 2002-09-04  Michael Koch  <konqueror@gmx.de>
13645
13646         * java/net/SocketOptions.java: added static variables to be JDK 1.4
13647         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
13648         IP_MULTICAST_LOOP, IP_TOS
13649
13650 2002-09-03  Tom Tromey  <tromey@redhat.com>
13651
13652         * java/lang/Class.h (_getDeclaredMethod): Declare.
13653         (_getMethod): Now private.
13654         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
13655         getDeclaredMethod.  Now returns NULL on failure.
13656         * java/lang/Class.java (_getDeclaredMethod): Declare.
13657         (getDeclaredMethod): No longer native; implements access checks.
13658
13659 2002-09-01  Mark Wielaard  <mark@klomp.org>
13660
13661         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
13662         (sanitizeStack): Correctly reset unknown and interpreter counters,
13663         detect interpreter runtime frames.
13664         (demangleInterpreterMethod): New method.
13665         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
13666         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
13667         filling in addrs[].
13668
13669 2002-09-02  Michael Koch  <konqueror@gmx.de>
13670
13671         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
13672         re-indented documentation.
13673
13674 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13675
13676         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
13677         public, per 1.4 spec.  Fixes PR libgcj/7785.
13678
13679 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
13680
13681         * Makefile.in: Rebuilt.
13682         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
13683
13684 2002-08-29  Tom Tromey  <tromey@redhat.com>
13685
13686         * java/net/JarURLConnection.java (getCertificates): New method
13687         from Classpath.
13688         * java/net/URLClassLoader.java (URLClassLoader): Extends
13689         SecureClassLoader.
13690         (definePackage): New method from Classpath.
13691         (getPermissions): Likewise.
13692         (newInstance): Likewise.
13693         (findClass): Construct CodeSource for new class (from Classpath).
13694         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
13695         methods.
13696         * java/net/URL.java (getUserInfo): New method.
13697         (set(String,String,int,String,String,String,String,String)): New
13698         method.
13699         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
13700         (shutdownInput, shutdownOutput): Declare.
13701         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
13702         Define.
13703         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
13704         (getOption): Likewise.
13705         (shutdownInput): New method.
13706         (shutdownOutput): Likewise.
13707         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
13708         keepalive.
13709         (getOption): Likewise.
13710         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
13711         * java/net/Socket.java (setKeepAlive): New method.
13712         (getKeepAlive): Likewise.
13713         (shutdownInput, shutdownOutput): New methods.
13714
13715 2002-08-29  Michael Koch  <konqueror@gmx.de>
13716
13717         * java/net/DatagramPacket.java: updated to JDK 1.4 API
13718         new methods are:
13719         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
13720           address),
13721         DatagramPacket(byte[] buf, int length, SocketAddress address),
13722         void setSocketAddress(SocketAddress address)
13723         public SocketAddress getSocketAddress()
13724
13725 2002-08-29  Tom Tromey  <tromey@redhat.com>
13726
13727         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
13728         ftruncate is missing.
13729         * configure, include/config.h.in: Rebuilt.
13730         * acconfig.h (HAVE_FTRUNCATE): Mention.
13731         * configure.in: Check for ftruncate.
13732
13733 2002-08-29  Tom Tromey  <tromey@redhat.com>
13734
13735         * include/jvm.h (struct _Jv_frame_info): New structure.
13736         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
13737         java-interp.h.
13738         (lookupInterp): New method.
13739         (getAddrAsString): Use _Jv_frame_info.
13740         (dladdrLookup): Likewise.
13741         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
13742         interpreted frame.
13743         (lookupInterp): Declare.
13744         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
13745         (fillInStackTrace): Collect information on interpreted frames.
13746         Use _Jv_frame_info.
13747         * interpret.cc: Include Thread.h.
13748         (run): Create and push _Jv_MethodChain object.
13749         (_Jv_EndOfInterpreter): New global.
13750         * java/lang/Thread.java (interp_frame): New field.
13751         * include/java-interp.h (struct _Jv_MethodChain): New structure.
13752         Include NameFinder.h.
13753
13754 2002-08-28  Tom Tromey  <tromey@redhat.com>
13755
13756         * java/lang/Class.h: Include Package.h.
13757         (Class::getProtectionDomain): Declare.
13758         (Class::getPackage): Declare.
13759
13760 2002-08-28  Michael Koch <konqueror@gmx.de>
13761
13762         * java/net/InetSocketAddress.java: Added some documentation and argument
13763         checks for the port numbers.
13764         * java/net/DatagramSocketImplFactory.java: New file.
13765
13766 2002-08-28  Michael Koch <konqueror@gmx.de>
13767
13768         * java/net/Authenticator.java: added some documentation.
13769
13770 2002-08-27  Tom Tromey  <tromey@redhat.com>
13771
13772         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
13773         class.
13774         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
13775
13776 2002-08-27  Michael Koch <konqueror@gmx.de>
13777
13778         * java/net/BindException.java,
13779         java/net/JarURLConnection.java,
13780         java/net/FileNameMap.java,
13781         java/net/HttpURLConnection.java,
13782         java/net/InetSocketAddress.java,
13783         java/net/DatagramPacket.java,
13784         java/net/DatagramSocket.java,
13785         java/net/DatagramSocketImpl.java,
13786         java/net/MulticastSocket.java,
13787         java/net/PasswordAuthentication.java,
13788         java/net/ServerSocket.java,
13789         java/net/Socket.java,
13790         java/net/URLClassLoader.java,
13791         java/net/URLConnection.java: add/update of some @since/@deprecated
13792
13793 2002-08-27  Tony Kimball <alk@pobox.com>
13794             Tom Tromey  <tromey@redhat.com>
13795
13796         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
13797         define.
13798         (::close): Removed.
13799         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
13800         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
13801         (::close): Removed.
13802         (PlainSocketImpl::close): Use NATIVE_CLOSE.
13803         * include/win32.h (getcwd): Removed declaration.  Include io.h.
13804
13805 2002-08-25  Adam Megacz <adam@xwt.org>
13806
13807         * include/win32.h (getcwd): copied function declaration as
13808         temporary fix for header confusion.
13809
13810 2002-08-24  Mark Wielaard <mark@klomp.org>
13811
13812         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
13813         (core_java_source_files): Add VMThrowable.java and NameFinder.java
13814         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
13815         and natNameFinder.cc.
13816         * Makefile.in: Regenerate.
13817         * prims.cc: Use trace_enabled from VMThrowable.
13818         * name-finder.cc: Removed.
13819         * gcj/javaprims.h: Add class VMThrowable.
13820         * gnu/gcj/runtime/NameFinder.java: New file.
13821         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
13822         * include/name-finder.h: Removed.
13823         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
13824         method stackTraceString().
13825         (printStackTrace (PrintWriter)): Likewise.
13826         (stackTraceString): Complete rewrite of old printStackTrace using
13827         StringBuffer.
13828         (stackTraceStringBuffer): New helper method for stackTraceString().
13829         (fillInStackTrace): Delegate to VMTrowable.
13830         (getStackTrace): Likewise.
13831         (getStackTrace0): Removed.
13832         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
13833         (setStackTrace): Copy given array.
13834         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
13835         * java/lang/VMThrowable.java: New class.
13836         * java/lang/natVMThrowable.cc: New file.
13837
13838 2003-08-23  Michael Koch  <konqueror@gmx.de>
13839
13840         * java/net/URLConnection.java,
13841         java/netJarURLConnection.java,
13842         gnu/gcj/protocol/core/Connection.java,
13843         gnu/gcj/protocol/file/Connection.java,
13844         gnu/gcj/protocol/http/Connection.java: Added implementation of
13845         getHeaderFields().
13846
13847 2002-08-22  Tom Tromey  <tromey@redhat.com>
13848
13849         * gij.cc (help): Document -cp and -classpath.
13850         (main): Handle -classpath.
13851
13852 2002-08-21  Tom Tromey  <tromey@redhat.com>
13853
13854         * Makefile.in: Rebuilt.
13855         * Makefile.am (ordinary_java_source_files): Added
13856         SocketAddress.java, InetSocketAddress.java.
13857         * java/net/PortUnreachableException.java: Merged with Classpath.
13858         * java/net/SocketTimeoutException.java: Likewise.
13859         * java/net/URISyntaxException.java: Likewise.
13860         * java/net/SocketAddress.java: New class from Classpath.
13861         * java/net/InetSocketAddress.java: Likewise.
13862
13863 2003-08-21  Michael Koch  <konqueror@gmx.de>
13864
13865         * java/net/Authenticator.java: updated JDK 1.4
13866         * java/net/ContentHandler.java: updated JDK 1.4
13867
13868 2002-08-20  Michael Koch  <konqueror@gmx.de>
13869
13870         * java/net/URISyntaxException.java: New file.
13871         * java/net/SocketTimeoutException.java: New file.
13872         * java/net/PortUnreachableException.java: New file.
13873         * Makefile.am: Updated.
13874         * Makefile.in: Rebuilt.
13875
13876 2002-08-18  Mark Wielaard  <mark@klomp.org>
13877
13878         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
13879         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13880         MessageDigestSpi (fixes Classpath bug #783).
13881
13882 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13883
13884         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
13885         (startProcess): Allocate path for chdir in async-signal-safe way.
13886
13887 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13888
13889         Fix for PR libgcj/7570 and PR libgcj/7578:
13890         * java/lang/natPosixProcess.cc: Include java/io/File.h.
13891         (startProcess): Handle new `dir' argument.
13892         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
13893         argument.
13894         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
13895         argument.
13896         (startProcess): Likewise.
13897         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
13898         argument.
13899         * java/lang/Runtime.java (execInternal): Added `dir' argument.
13900         (exec): Don't create new environment if ENV==null.  Pass DIR to
13901         execInternal.
13902         * java/lang/natRuntime.cc: Include java/io/File.h.
13903         (execInternal): Added `dir' argument.
13904
13905 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
13906
13907         * java/io/RandomAccessFile.java (skipBytes): Return number of
13908         bytes skipped.
13909
13910 2002-08-01  Mark Wielaard  <mark@klomp.org>
13911
13912         Reenable patch since shared library troubles on powerpc are solved:
13913         * gnu/java/security/provider/Gnu.java: Reference all implementation
13914         classes by using Class.getName().
13915         * gnu/java/security/der/DEREncodingException.java,
13916         gnu/java/security/provider/DERReader.java,
13917         gnu/java/security/provider/DERWriter.java,
13918         gnu/java/security/provider/DSAKeyPairGenerator.java,
13919         gnu/java/security/provider/DSAParameterGenerator.java,
13920         gnu/java/security/provider/DSAParameters.java,
13921         gnu/java/security/provider/DSASignature.java,
13922         gnu/java/security/provider/GnuDSAPrivateKey.java,
13923         gnu/java/security/provider/GnuDSAPublicKey.java,
13924         gnu/java/security/provider/MD5.java,
13925         gnu/java/security/util/Prime.java: New classes
13926         * Makefile.am (ordinary_java_source_files): Add above files.
13927         * Makefile.in: Regenerate.
13928         * gnu/java/security/provider/DefaultPolicy.java
13929         (getPermissions): Don't maintain static class variable of Permissions.
13930         * gnu/java/security/provider/SHA.java
13931         (engineUpdate): algorithm change.
13932         (engineDigest): algorithm change.
13933
13934 2002-08-09  Mark Wielaard  <mark@klomp.org>
13935
13936         * java/awt/image/MemoryImageSource.java: Change constructor to take
13937         int[] not byte[].
13938         * java/awt/Graphics2D.java: Uncomment methods that can now be
13939         compiled.
13940         * java/awt/GridBagLayout.java: New stub implementation.
13941         * javax/swing/text/html/HTML.java: Stub implementation.
13942         * javax/swing/text/html/parser/ParserDelegator.java: New stub
13943         implementation.
13944
13945         * Makefile.am: Add new files.
13946         * Makefile.in: Rebuilt.
13947
13948 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13949
13950         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
13951         methods in Graphics2D.
13952
13953 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13954
13955         AWT/Swing merge from GNU Classpath.
13956
13957         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
13958         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
13959         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
13960         java/awt/color/ProfileDataException.java,
13961         java/awt/CompositeContext.java, java/awt/Composite.java,
13962         java/awt/ContainerOrderFocusTraversalPolicy.java,
13963         java/awt/datatransfer/FlavorTable.java,
13964         java/awt/DefaultFocusTraversalPolicy.java,
13965         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
13966         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
13967         java/awt/dnd/DragGestureListener.java,
13968         java/awt/dnd/DragGestureRecognizer.java,
13969         java/awt/dnd/DragSourceAdapter.java,
13970         java/awt/dnd/DragSourceContext.java,
13971         java/awt/dnd/DragSourceDragEvent.java,
13972         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
13973         java/awt/dnd/DragSourceListener.java,
13974         java/awt/dnd/DragSourceMotionListener.java,
13975         java/awt/dnd/DropTarget.java,
13976         java/awt/dnd/InvalidDnDOperationException.java,
13977         java/awt/dnd/peer/DragSourceContextPeer.java,
13978         java/awt/event/AWTEventListenerProxy.java,
13979         java/awt/event/MouseWheelEvent.java,
13980         java/awt/event/MouseWheelListener.java,
13981         java/awt/event/WindowFocusListener.java,
13982         java/awt/event/WindowStateListener.java,
13983         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
13984         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
13985         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
13986         java/awt/geom/FlatteningPathIterator.java,
13987         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
13988         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
13989         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
13990         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
13991         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
13992         java/awt/image/ImagingOpException.java,
13993         java/awt/image/RasterFormatException.java,
13994         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
13995         java/awt/image/VolatileImage.java,
13996         java/awt/image/WritableRenderedImage.java,
13997         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
13998         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
13999         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
14000         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
14001         java/awt/PageAttributes.java, java/awt/print/Book.java,
14002         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
14003         java/awt/print/Paper.java, java/awt/print/Printable.java,
14004         java/awt/print/PrinterAbortException.java,
14005         java/awt/print/PrinterException.java,
14006         java/awt/print/PrinterGraphics.java,
14007         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
14008         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
14009         java/awt/Stroke.java, java/awt/TexturePaint.java,
14010         javax/accessibility/AccessibleAction.java,
14011         javax/accessibility/AccessibleBundle.java,
14012         javax/accessibility/AccessibleComponent.java,
14013         javax/accessibility/AccessibleContext.java,
14014         javax/accessibility/AccessibleEditableText.java,
14015         javax/accessibility/AccessibleExtendedComponent.java,
14016         javax/accessibility/AccessibleExtendedTable.java,
14017         javax/accessibility/AccessibleHyperlink.java,
14018         javax/accessibility/AccessibleHypertext.java,
14019         javax/accessibility/AccessibleIcon.java,
14020         javax/accessibility/Accessible.java,
14021         javax/accessibility/AccessibleKeyBinding.java,
14022         javax/accessibility/AccessibleRelation.java,
14023         javax/accessibility/AccessibleRelationSet.java,
14024         javax/accessibility/AccessibleResourceBundle.java,
14025         javax/accessibility/AccessibleRole.java,
14026         javax/accessibility/AccessibleSelection.java,
14027         javax/accessibility/AccessibleState.java,
14028         javax/accessibility/AccessibleStateSet.java,
14029         javax/accessibility/AccessibleTable.java,
14030         javax/accessibility/AccessibleTableModelChange.java,
14031         javax/accessibility/AccessibleText.java,
14032         javax/accessibility/AccessibleValue.java,
14033         javax/swing/AbstractAction.java,
14034         javax/swing/AbstractButton.java,
14035         javax/swing/AbstractCellEditor.java,
14036         javax/swing/AbstractListModel.java,
14037         javax/swing/AbstractSet.java, javax/swing/Action.java,
14038         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
14039         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
14040         javax/swing/border/CompoundBorder.java,
14041         javax/swing/border/EmptyBorder.java,
14042         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
14043         javax/swing/border/LineBorder.java,
14044         javax/swing/border/MatteBorder.java,
14045         javax/swing/border/TitledBorder.java,
14046         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
14047         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
14048         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
14049         javax/swing/CellRendererPane.java,
14050         javax/swing/colorchooser/AbstractColorChooserPanel.java,
14051         javax/swing/colorchooser/ColorChooserComponentFactory.java,
14052         javax/swing/colorchooser/ColorSelectionModel.java,
14053         javax/swing/colorchooser/DefaultColorSelectionModel.java,
14054         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
14055         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
14056         javax/swing/DefaultBoundedRangeModel.java,
14057         javax/swing/DefaultButtonModel.java,
14058         javax/swing/DefaultCellEditor.java,
14059         javax/swing/DefaultCellRenderer.java,
14060         javax/swing/DefaultComboBoxModel.java,
14061         javax/swing/DefaultDesktopManager.java,
14062         javax/swing/DefaultFocusManager.java,
14063         javax/swing/DefaultListCellRenderer.java,
14064         javax/swing/DefaultListModel.java,
14065         javax/swing/DefaultListSelectionModel.java,
14066         javax/swing/DefaultSingleSelectionModel.java,
14067         javax/swing/DesktopManager.java,
14068         javax/swing/event/AncestorEvent.java,
14069         javax/swing/event/AncestorListener.java,
14070         javax/swing/event/CaretEvent.java,
14071         javax/swing/event/CaretListener.java,
14072         javax/swing/event/CellEditorListener.java,
14073         javax/swing/event/ChangeEvent.java,
14074         javax/swing/event/ChangeListener.java,
14075         javax/swing/event/DocumentEvent.java,
14076         javax/swing/event/DocumentListener.java,
14077         javax/swing/event/EventListenerList.java,
14078         javax/swing/event/HyperlinkEvent.java,
14079         javax/swing/event/HyperlinkListener.java,
14080         javax/swing/event/InternalFrameAdapter.java,
14081         javax/swing/event/InternalFrameEvent.java,
14082         javax/swing/event/InternalFrameListener.java,
14083         javax/swing/event/ListDataEvent.java,
14084         javax/swing/event/ListDataListener.java,
14085         javax/swing/event/ListSelectionEvent.java,
14086         javax/swing/event/ListSelectionListener.java,
14087         javax/swing/event/MenuDragMouseEvent.java,
14088         javax/swing/event/MenuDragMouseListener.java,
14089         javax/swing/event/MenuEvent.java,
14090         javax/swing/event/MenuKeyEvent.java,
14091         javax/swing/event/MenuKeyListener.java,
14092         javax/swing/event/MenuListener.java,
14093         javax/swing/event/MouseInputAdapter.java,
14094         javax/swing/event/MouseInputListener.java,
14095         javax/swing/event/PopupMenuEvent.java,
14096         javax/swing/event/PopupMenuListener.java,
14097         javax/swing/event/SwingPropertyChangeSupport.java,
14098         javax/swing/event/TableColumnModelEvent.java,
14099         javax/swing/event/TableColumnModelListener.java,
14100         javax/swing/event/TableModelEvent.java,
14101         javax/swing/event/TableModelListener.java,
14102         javax/swing/event/TreeExpansionEvent.java,
14103         javax/swing/event/TreeExpansionListener.java,
14104         javax/swing/event/TreeModelEvent.java,
14105         javax/swing/event/TreeModelListener.java,
14106         javax/swing/event/TreeSelectionEvent.java,
14107         javax/swing/event/TreeSelectionListener.java,
14108         javax/swing/event/TreeWillExpandListener.java,
14109         javax/swing/event/UndoableEditEvent.java,
14110         javax/swing/event/UndoableEditListener.java,
14111         javax/swing/filechooser/FileFilter.java,
14112         javax/swing/filechooser/FileSystemView.java,
14113         javax/swing/filechooser/FileView.java,
14114         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
14115         javax/swing/Icon.java, javax/swing/ImageIcon.java,
14116         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
14117         javax/swing/JApplet.java, javax/swing/JButton.java,
14118         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
14119         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
14120         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
14121         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
14122         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
14123         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
14124         javax/swing/JLayeredPane.java, javax/swing/JList.java,
14125         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
14126         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
14127         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
14128         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
14129         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
14130         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
14131         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
14132         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
14133         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
14134         javax/swing/JTextField.java, javax/swing/JTextPane.java,
14135         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
14136         javax/swing/JToolTip.java, javax/swing/JTree.java,
14137         javax/swing/JViewport.java, javax/swing/JWindow.java,
14138         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
14139         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
14140         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
14141         javax/swing/MenuSelectionManager.java,
14142         javax/swing/MutableComboBoxModel.java,
14143         javax/swing/OverlayLayout.java,
14144         javax/swing/plaf/ActionMapUIResource.java,
14145         javax/swing/plaf/basic/BasicBorders.java,
14146         javax/swing/plaf/basic/BasicButtonUI.java,
14147         javax/swing/plaf/basic/BasicCheckBoxUI.java,
14148         javax/swing/plaf/basic/BasicDefaults.java,
14149         javax/swing/plaf/basic/BasicGraphicsUtils.java,
14150         javax/swing/plaf/basic/BasicIconFactory.java,
14151         javax/swing/plaf/basic/BasicLabelUI.java,
14152         javax/swing/plaf/basic/BasicListUI.java,
14153         javax/swing/plaf/basic/BasicLookAndFeel.java,
14154         javax/swing/plaf/basic/BasicOptionPaneUI.java,
14155         javax/swing/plaf/basic/BasicPanelUI.java,
14156         javax/swing/plaf/basic/BasicRadioButtonUI.java,
14157         javax/swing/plaf/basic/BasicScrollPaneUI.java,
14158         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
14159         javax/swing/plaf/basic/BasicTextUI.java,
14160         javax/swing/plaf/basic/BasicToggleButtonUI.java,
14161         javax/swing/plaf/basic/BasicTreeUI.java,
14162         javax/swing/plaf/basic/BasicViewportUI.java,
14163         javax/swing/plaf/BorderUIResource.java,
14164         javax/swing/plaf/ButtonUI.java,
14165         javax/swing/plaf/ColorChooserUI.java,
14166         javax/swing/plaf/ColorUIResource.java,
14167         javax/swing/plaf/ComboBoxUI.java,
14168         javax/swing/plaf/ComponentInputMapUIResource.java,
14169         javax/swing/plaf/ComponentUI.java,
14170         javax/swing/plaf/DesktopIconUI.java,
14171         javax/swing/plaf/DesktopPaneUI.java,
14172         javax/swing/plaf/DimensionUIResource.java,
14173         javax/swing/plaf/FileChooserUI.java,
14174         javax/swing/plaf/FontUIResource.java,
14175         javax/swing/plaf/IconUIResource.java,
14176         javax/swing/plaf/InputMapUIResource.java,
14177         javax/swing/plaf/InsetsUIResource.java,
14178         javax/swing/plaf/InternalFrameUI.java,
14179         javax/swing/plaf/LabelUI.java,
14180         javax/swing/plaf/ListUI.java,
14181         javax/swing/plaf/MenuBarUI.java,
14182         javax/swing/plaf/MenuItemUI.java,
14183         javax/swing/plaf/OptionPaneUI.java,
14184         javax/swing/plaf/PanelUI.java,
14185         javax/swing/plaf/PopupMenuUI.java,
14186         javax/swing/plaf/ProgressBarUI.java,
14187         javax/swing/plaf/RootPaneUI.java,
14188         javax/swing/plaf/ScrollBarUI.java,
14189         javax/swing/plaf/ScrollPaneUI.java,
14190         javax/swing/plaf/SeparatorUI.java,
14191         javax/swing/plaf/SliderUI.java,
14192         javax/swing/plaf/SplitPaneUI.java,
14193         javax/swing/plaf/TabbedPaneUI.java,
14194         javax/swing/plaf/TableHeaderUI.java,
14195         javax/swing/plaf/TableUI.java,
14196         javax/swing/plaf/TextUI.java,
14197         javax/swing/plaf/ToolBarUI.java,
14198         javax/swing/plaf/ToolTipUI.java,
14199         javax/swing/plaf/TreeUI.java,
14200         javax/swing/plaf/UIResource.java,
14201         javax/swing/plaf/ViewportUI.java,
14202         javax/swing/ProgressMonitorInputStream.java,
14203         javax/swing/ProgressMonitor.java,
14204         javax/swing/Renderer.java,
14205         javax/swing/RepaintManager.java,
14206         javax/swing/RootPaneContainer.java,
14207         javax/swing/Scrollable.java,
14208         javax/swing/ScrollPaneConstants.java,
14209         javax/swing/ScrollPaneLayout.java,
14210         javax/swing/SingleSelectionModel.java,
14211         javax/swing/SizeRequirements.java,
14212         javax/swing/SizeSequence.java,
14213         javax/swing/SwingConstants.java,
14214         javax/swing/SwingUtilities.java,
14215         javax/swing/table/AbstractTableModel.java,
14216         javax/swing/table/DefaultTableCellRenderer.java,
14217         javax/swing/table/DefaultTableColumnModel.java,
14218         javax/swing/table/DefaultTableModel.java,
14219         javax/swing/table/TableCellEditor.java,
14220         javax/swing/table/TableCellRenderer.java,
14221         javax/swing/table/TableColumn.java,
14222         javax/swing/table/TableColumnModel.java,
14223         javax/swing/table/TableModel.java,
14224         javax/swing/text/AbstractDocument.java,
14225         javax/swing/text/AttributeSet.java,
14226         javax/swing/text/BadLocationException.java,
14227         javax/swing/text/Caret.java,
14228         javax/swing/text/CharacterIterator.java,
14229         javax/swing/text/ComponentView.java,
14230         javax/swing/text/DefaultCaret.java,
14231         javax/swing/text/DefaultEditorKit.java,
14232         javax/swing/text/Document.java,
14233         javax/swing/text/EditorKit.java,
14234         javax/swing/text/Element.java,
14235         javax/swing/text/GapContent.java,
14236         javax/swing/text/JTextComponent.java,
14237         javax/swing/text/Keymap.java,
14238         javax/swing/text/MutableAttributeSet.java,
14239         javax/swing/text/PlainDocument.java,
14240         javax/swing/text/PlainEditorKit.java,
14241         javax/swing/text/Position.java,
14242         javax/swing/text/Segment.java,
14243         javax/swing/text/StyledDocument.java,
14244         javax/swing/text/StyledEditorKit.java,
14245         javax/swing/text/Style.java,
14246         javax/swing/text/TextAction.java,
14247         javax/swing/text/ViewFactory.java,
14248         javax/swing/text/View.java,
14249         javax/swing/Timer.java,
14250         javax/swing/ToggleButtonModel.java,
14251         javax/swing/ToolTipManager.java,
14252         javax/swing/tree/AbstractLayoutCache.java,
14253         javax/swing/tree/DefaultMutableTreeNode.java,
14254         javax/swing/tree/DefaultTreeCellEditor.java,
14255         javax/swing/tree/DefaultTreeCellRenderer.java,
14256         javax/swing/tree/DefaultTreeModel.java,
14257         javax/swing/tree/DefaultTreeSelectionModel.java,
14258         javax/swing/tree/ExpandVetoException.java,
14259         javax/swing/tree/FixedHeightLayoutCache.java,
14260         javax/swing/tree/MutableTreeNode.java,
14261         javax/swing/tree/RowMapper.java,
14262         javax/swing/tree/TreeCellEditor.java,
14263         javax/swing/tree/TreeCellRenderer.java,
14264         javax/swing/tree/TreeModel.java,
14265         javax/swing/tree/TreeNode.java,
14266         javax/swing/tree/TreePath.java,
14267         javax/swing/tree/TreeSelectionModel.java,
14268         javax/swing/tree/VariableHeightLayoutCache.java,
14269         javax/swing/UIDefaults.java,
14270         javax/swing/UIManager.java,
14271         javax/swing/undo/AbstractUndoableEdit.java,
14272         javax/swing/undo/CannotRedoException.java,
14273         javax/swing/undo/CannotUndoException.java,
14274         javax/swing/undo/CompoundEdit.java,
14275         javax/swing/undo/StateEditable.java,
14276         javax/swing/undo/StateEdit.java,
14277         javax/swing/undo/UndoableEdit.java,
14278         javax/swing/undo/UndoableEditSupport.java,
14279         javax/swing/undo/UndoManager.java,
14280         javax/swing/UnsupportedLookAndFeelException.java,
14281         javax/swing/ViewportLayout.java,
14282         javax/swing/WindowConstants.java: New files, from GNU Classpath.
14283
14284         * java/awt/ActiveEvent.java,
14285         java/awt/Adjustable.java, java/awt/AWTError.java,
14286         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
14287         java/awt/AWTException.java, java/awt/AWTPermission.java,
14288         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
14289         java/awt/Color.java, java/awt/Component.java,
14290         java/awt/ComponentOrientation.java, java/awt/Container.java,
14291         java/awt/datatransfer/MimeTypeParseException.java,
14292         java/awt/datatransfer/Transferable.java,
14293         java/awt/datatransfer/UnsupportedFlavorException.java,
14294         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
14295         java/awt/event/ActionListener.java,
14296         java/awt/event/AdjustmentEvent.java,
14297         java/awt/event/AdjustmentListener.java,
14298         java/awt/event/AWTEventListener.java,
14299         java/awt/event/ComponentAdapter.java,
14300         java/awt/event/ComponentEvent.java,
14301         java/awt/event/ComponentListener.java,
14302         java/awt/event/ContainerAdapter.java,
14303         java/awt/event/ContainerEvent.java,
14304         java/awt/event/ContainerListener.java,
14305         java/awt/event/FocusAdapter.java,
14306         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
14307         java/awt/event/HierarchyBoundsAdapter.java,
14308         java/awt/event/HierarchyBoundsListener.java,
14309         java/awt/event/HierarchyEvent.java,
14310         java/awt/event/HierarchyListener.java,
14311         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
14312         java/awt/event/InputMethodListener.java,
14313         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
14314         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
14315         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
14316         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
14317         java/awt/event/MouseListener.java,
14318         java/awt/event/MouseMotionAdapter.java,
14319         java/awt/event/MouseMotionListener.java,
14320         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
14321         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
14322         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
14323         java/awt/event/WindowListener.java, java/awt/Font.java,
14324         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
14325         java/awt/geom/Ellipse2D.java,
14326         java/awt/geom/IllegalPathStateException.java,
14327         java/awt/geom/Line2D.java,
14328         java/awt/geom/NoninvertibleTransformException.java,
14329         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
14330         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
14331         java/awt/geom/RoundRectangle2D.java,
14332         java/awt/GraphicsConfiguration.java,
14333         java/awt/IllegalComponentStateException.java,
14334         java/awt/image/IndexColorModel.java,
14335         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
14336         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
14337         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
14338         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
14339         java/awt/MenuItem.java, java/awt/PaintContext.java,
14340         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
14341         java/awt/Polygon.java, java/awt/PrintGraphics.java,
14342         java/awt/PrintJob.java, java/awt/Rectangle.java,
14343         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
14344         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
14345         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
14346
14347         * java/awt/im/spi/InputMethod.java,
14348         java/awt/im/spi/InputMethodContext.java,
14349         java/awt/im/spi/InputMethodDescriptor.java,
14350         java/awt/image/renderable/ContextualRenderedImageFactory.java,
14351         java/awt/image/renderable/ParameterBlock.java,
14352         java/awt/image/renderable/RenderContext.java,
14353         java/awt/image/renderable/RenderableImage.java,
14354         java/awt/image/renderable/RenderableImageOp.java,
14355         java/awt/image/renderable/RenderableImageProducer.java,
14356         java/awt/image/renderable/RenderedImageFactory.java: New files from
14357         classpath.
14358
14359         * gnu/java/awt/EventModifier.java,
14360         gnu/java/awt/image/ImageDecoder.java,
14361         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
14362
14363         * gnu/awt/xlib/XGraphicsConfiguration.java,
14364         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
14365         API.
14366
14367         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
14368         GNU Classpath.
14369
14370         * Makefile.am: Add new files.
14371         * Makefile.in: Rebuilt.
14372
14373 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14374
14375         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
14376         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
14377         findResource, getResources, findResources): Add javadoc from classpath.
14378         (getSystemResources): Implemented.
14379
14380 2002-08-01  Mark Wielaard  <mark@klomp.org>
14381
14382         Revert patch that breaks libgcj shared library on powerpc:
14383         * gnu/java/security/provider/Gnu.java: Reverse referencing all
14384         implementation classes by using Class.getName(). Uses Strings again.
14385         * gnu/java/security/der/DEREncodingException.java,
14386         gnu/java/security/provider/DERReader.java,
14387         gnu/java/security/provider/DERWriter.java,
14388         gnu/java/security/provider/DSAKeyPairGenerator.java,
14389         gnu/java/security/provider/DSAParameterGenerator.java,
14390         gnu/java/security/provider/DSAParameters.java,
14391         gnu/java/security/provider/DSASignature.java,
14392         gnu/java/security/provider/GnuDSAPrivateKey.java,
14393         gnu/java/security/provider/GnuDSAPublicKey.java,
14394         gnu/java/security/provider/MD5.java,
14395         gnu/java/security/util/Prime.java: Removed.
14396         * Makefile.am (ordinary_java_source_files): Remove above files.
14397         * Makefile.in: Regenerate.
14398         * gnu/java/security/provider/DefaultPolicy.java
14399         (getPermissions): Revert to maintaining static class variable of
14400         Permissions.
14401         * gnu/java/security/provider/SHA.java
14402         (engineUpdate): Revert algorithm change.
14403         (engineDigest): Revert algorithm change.
14404
14405 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
14406
14407         * configure.host: Add SH support.
14408         * sysdep/sh/locks.h: New file.
14409
14410 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14411
14412         * java/awt/Frame.java (Frame): Remove println calls.
14413
14414 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
14415
14416         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
14417         * configure: Rebuilt.
14418
14419 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
14420
14421         * sysdep/powerpc/locks.h: Formatting.
14422         (_LARX): Define.
14423         (_STCX): Define.
14424         (compare_and_swap): Use _LARX and _STCX.
14425         (compare_and_swap_release): Likewise.
14426
14427 2002-07-26  Tom Tromey  <tromey@redhat.com>
14428
14429         * java/net/Authenticator.java: New version from Classpath.
14430         * java/net/DatagramSocketImpl.java: New version from Classpath.
14431
14432 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
14433
14434         * configure.host: Add powerpc64*-* entry.
14435
14436 2002-07-26  Tom Tromey  <tromey@redhat.com>
14437
14438         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
14439         fcntl.h.
14440
14441 2002-07-24  Tom Tromey  <tromey@redhat.com>
14442
14443         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
14444         argument to _load.
14445
14446 2002-07-24  Tom Tromey  <tromey@redhat.com>
14447             Tony Kimball <alk@pobox.com>
14448
14449         * java/io/natFileDescriptorWin32.cc (setLength): New method.
14450         * java/io/natFileDescriptorPosix.cc (setLength): New method.
14451         * java/io/RandomAccessFile.java (setLength): New method.
14452         * java/io/natFileDescriptorEcos.cc (setLength): New method.
14453         * java/io/FileDescriptor.java (setLength): New method.
14454
14455 2002-07-24  Mark Wielaard  <mark@klomp.org>
14456
14457         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
14458         * java/io/ObjectInputStream.java (setBooleanField): Before setting
14459         field call setAccessible(true).
14460         (setByteField): Likewise.
14461         (setCharField): Likewise.
14462         (setDoubleField): Likewise.
14463         (setFloatField): Likewise.
14464         (setIntField): Likewise.
14465         (setLongField): Likewise.
14466         (setShortField): Likewise.
14467         (setObjectField): Likewise.
14468
14469 2002-07-24  Tom Tromey  <tromey@redhat.com>
14470
14471         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
14472         use toString() to format array element.
14473
14474 2002-07-23  Mark Wielaard  <mark@klomp.org>
14475
14476         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
14477         MessageDigestSpi (fixes Classpath bug #783).
14478
14479 2002-07-21  Mark Wielaard  <mark@klomp.org>
14480
14481         * gnu/java/security/provider/Gnu.java: Reference all implementation
14482         classes by using Class.getName().
14483
14484 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
14485
14486         * java/lang/ieeefp.h: Add x86-64 support.
14487         * configure.in: Likewise.
14488         * configure.host: Likewise.
14489         * configure: Regenerated.
14490         * sysdep/x86-64/locks.h: New file with x86-64 locks.
14491
14492 2002-07-16  Mark Wielaard  <mark@klomp.org>
14493
14494         * java/io/StreamTokenizer.java (pushBack): Update documentation.
14495         (whitespaceChars): call resetChar().
14496
14497 2002-07-15  Tom Tromey  <tromey@redhat.com>
14498
14499         * Makefile.in: Rebuilt.
14500         * Makefile.am (awt_java_source_files): Added new files.
14501         * java/beans/ExceptionListener.java: Merged with Classpath.
14502         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
14503         * java/beans/PropertyChangeListener.java: Merged with Classpath.
14504         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
14505         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
14506         * java/beans/VetoableChangeListener.java: Merged with Classpath.
14507         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
14508         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
14509
14510 2002-07-14  Mark Wielaard  <mark@klomp.org>
14511
14512         * gnu/java/security/der/DEREncodingException.java,
14513         gnu/java/security/provider/DERReader.java,
14514         gnu/java/security/provider/DERWriter.java,
14515         gnu/java/security/provider/DSAKeyPairGenerator.java,
14516         gnu/java/security/provider/DSAParameterGenerator.java,
14517         gnu/java/security/provider/DSAParameters.java,
14518         gnu/java/security/provider/DSASignature.java,
14519         gnu/java/security/provider/GnuDSAPrivateKey.java,
14520         gnu/java/security/provider/GnuDSAPublicKey.java,
14521         gnu/java/security/provider/MD5.java,
14522         gnu/java/security/util/Prime.java: New files from Classpath.
14523         * Makefile.am (ordinary_java_source_files): Add new files.
14524         * Makefile.in: Regenerate.
14525
14526 2002-07-14  C. Brian Jones <cbj@gnu.org>
14527
14528         * gnu/java/security/provider/DefaultPolicy.java
14529         (getPermissions): do not maintain static class variable of
14530         Permissions
14531         * gnu/java/security/provider/SHA.java
14532         (engineUpdate): algorithm change
14533         (engineDigest): algorithm change
14534
14535 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
14536
14537         For PR libgcj/7292:
14538         * java/lang/Character.java (toString(char)): Now static.
14539
14540 2002-07-12  Mark Wielaard  <mark@klomp.org>
14541
14542         * java/lang/natThrowable.cc (printRawStackTrace): removed.
14543         (getStackTrace0): new method.
14544         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
14545         (printStackTrace(PrintWriter)): replace with pure java implementation.
14546         (printRawStackTrace): removed.
14547         (getStackTrace0): new method.
14548         * java/lang/StackTraceElement.java (toString): add extra whitespace.
14549         * gcj/javaprims.h: regenerate class list.
14550         * include/name-finder.h (lookup): new returns StackTraceElement*.
14551         (method_name, file_name): fields removed.
14552         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
14553         (~_Jv_name_finder): close new descriptors.
14554         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
14555         (createStackTraceElement): new method.
14556         (lookup): returns StackTraceElement*, uses createStackTraceElement().
14557
14558 2002-07-10  Tom Tromey  <tromey@redhat.com>
14559
14560         * configure: Rebuilt.
14561         * configure.in: Use `test' after `&&'.  From Chris Faylor.
14562
14563 2002-07-08  Mark Wielaard  <mark@klomp.org>
14564
14565         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
14566         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
14567         java.sql.DatabaseMetaData.TestJdbc20
14568
14569 2002-07-05  Tony Kimball  <alk@pobox.com>
14570
14571         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
14572
14573 2002-07-04  Tom Tromey  <tromey@redhat.com>
14574             Jeff Sturm  <jsturm@one-point.com>
14575
14576         Fix for PR libgcj/7060:
14577         * java/lang/Class.h (_getMethod): Renamed from getMethod.
14578         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
14579         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
14580         * java/lang/Class.java (getMethod): New Java implementation;
14581         complies with spec.
14582         (_getMethod): New native method.
14583
14584 2002-07-02  Tom Tromey  <tromey@redhat.com>
14585             David Hovemeyer  <daveho@cs.umd.edu>
14586
14587         * java/text/ChoiceFormat.java
14588         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
14589         in check loop.
14590         * java/text/MessageFormat.java
14591         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
14592         to MessageFormat.
14593
14594 2002-07-01  Tom Tromey  <tromey@redhat.com>
14595
14596         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
14597         StringTokenizer on null string.  For PR libgcj/7180.
14598         From daveho@cs.umd.edu.
14599
14600 2002-06-24  Tom Tromey  <tromey@redhat.com>
14601
14602         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
14603         (IntegerClass): Likewise.
14604         * java/lang/natClass.cc (CloneableClass): Removed.
14605         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
14606         ConstructorClass): Likewise.
14607         * java/lang/natClassLoader.cc (CloneableClass): Removed.
14608         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
14609         SerializableClass): Likewise.
14610         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
14611         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
14612         LongClass, FloatClass, DoubleClass): Likewise.
14613
14614         * verify.cc (branch_prepass): Updated for change to exception
14615         handler type.
14616         (verify_instructions_0): Likewise.
14617         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
14618         (handleExceptionTableEntry): Updated for change to exception
14619         handler type.
14620         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
14621         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
14622         (union _Jv_InterpPC): New.
14623         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
14624         (class _Jv_InterpMethod): Added new `prepared' field.
14625         (class _Jv_InterpMethod): Added `compile' method.  Removed
14626         `continue1' and `find_exception'.  Changed arguments to `run'.
14627         * interpret.cc (union insn_slot): New.
14628         (find_exception): Removed.
14629         (run_normal): Removed most logic.
14630         (run_synch_object): Likewise; also, use JvSynchronize.
14631         (run_synch_class): Likewise.
14632         (run): Removed.
14633         (continue1): Renamed as `run'.  Compile bytecode if required.
14634         Add new code to allow refinement of direct-threaded code at
14635         runtime.  Handle exceptions.
14636         (SAVE_PC): Removed.
14637         (compile): New method.
14638         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
14639         (NULLARRAYCHECK): Don't use SAVE_PC.
14640         (pc_t): New typedef.
14641         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
14642         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
14643
14644 2002-06-23  Tom Tromey  <tromey@redhat.com>
14645
14646         * configure: Rebuilt.
14647         * configure.in (INTERPRETER): New subst.
14648         (AM_RUNTESTFLAGS): Don't subst.
14649
14650         * Makefile.in: Rebuilt.
14651         * Makefile.am ($(srcdir)/java/lang/Object.h,
14652         $(srcdir)/java/lang/Class.h): Added dummy targets.
14653
14654 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14655
14656         Reformat JDBC classes and add new JDK 1.4 classes and methods.
14657
14658         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
14659         java/sql/Savepoint.java: New files.
14660         * java/sql/Array.java, java/sql/BatchUpdateException.java,
14661         java/sql/Blob.java, java/sql/CallableStatement.java,
14662         java/sql/Clob.java, java/sql/Connection.java,
14663         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
14664         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
14665         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
14666         java/sql/Ref.java, java/sql/ResultSet.java,
14667         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
14668         java/sql/SQLException.java, java/sql/SQLInput.java,
14669         java/sql/SQLOutput.java, java/sql/SQLWarning.java
14670         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
14671         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
14672         (JDK 1.4) specification.
14673         * javax/sql/ConnectionEvent.java,
14674         javax/sql/ConnectionEventListener.java,
14675         javax/sql/ConnectionPoolDataSource.java,
14676         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
14677         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
14678         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
14679         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
14680         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
14681         javax/sql/XADataSource.java: New files.
14682         * Makefile.am: Add new files.
14683         * Makefile.in: Rebuilt.
14684
14685 2002-06-20  Tom Tromey  <tromey@redhat.com>
14686
14687         For PR libgcj/7073:
14688         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
14689         exists.
14690         * defineclass.cc (handleClassBegin): Superclass for interface is
14691         `null'.
14692
14693 2002-06-18  Tom Tromey  <tromey@redhat.com>
14694
14695         * gcj/javaprims.h: Updated class declaration list.
14696         * Makefile.in: Rebuilt.
14697         * Makefile.am (core_java_source_files): Removed
14698         BasicMapEntry.java.
14699         * java/util/BasicMapEntry.java: Removed.
14700
14701 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
14702
14703         * java/net/natPlainDatagramSocketImpl.cc (receive):
14704         Check bounds of argument to FD_SET.
14705         (setOption): Throw exception if socket is closed.
14706
14707         * java/net/natPlainSocketImpl.cc (accept, read):
14708         Check bounds of argument to FD_SET.
14709         (setOption): Throw exception if socket is closed.
14710
14711 2002-06-18  Tom Tromey  <tromey@redhat.com>
14712
14713         * gcj/javaprims.h: Updated class declaration list.
14714         * Makefile.in: Rebuilt.
14715         * Makefile.am (core_java_source_files): Added
14716         PropertyPermissionCollection.java.
14717         * java/lang/Thread.java (group, name): Now package-private.
14718         * java/lang/ThreadGroup.java: Re-merge with Classpath.
14719         * java/util/AbstractList.java: Likewise.
14720         * java/util/AbstractMap.java: Likewise.
14721         * java/util/Calendar.java: Likewise.
14722         * java/util/Collections.java: Likewise.
14723         * java/util/HashMap.java: Likewise.
14724         * java/util/Hashtable.java: Likewise.
14725         * java/util/LinkedHashMap.java: Likewise.
14726         * java/util/LinkedList.java: Likewise.
14727         * java/util/List.java: Likewise.
14728         * java/util/ListResourceBundle.java: Likewise.
14729         * java/util/Map.java: Likewise.
14730         * java/util/Observable.java: Likewise.
14731         * java/util/Properties.java: Likewise.
14732         * java/util/PropertyPermission.java: Likewise.
14733         * java/util/PropertyPermissionCollection.java: Likewise.
14734         * java/util/PropertyResourceBundle.java: Likewise.
14735         * java/util/Random.java: Likewise.
14736         * java/util/SimpleTimeZone.java: Likewise.
14737         * java/util/StringTokenizer.java: Likewise.
14738         * java/util/TimerTask.java: Likewise.
14739         * java/util/TreeMap.java: Likewise.
14740         * java/util/WeakHashMap.java: Likewise.
14741         * java/util/jar/Attributes.java: Likewise.
14742         * java/util/jar/JarException.java: Likewise.
14743         * java/util/jar/Manifest.java: Likewise.
14744
14745 2002-06-17  Tom Tromey  <tromey@redhat.com>
14746
14747         * gcj/javaprims.h: Updated class declaration list.
14748         * Makefile.in: Rebuilt.
14749         * Makefile.am (core_java_source_files): Added new file.
14750         * java/util/EventListenerProxy.java: New file.
14751         * java/util/EventListener.java: Re-merge with Classpath.
14752         * java/util/EventObject.java: Re-merge with Classpath.
14753
14754 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14755
14756         * java/lang/ClassNotFoundException.java: New Classpath version.
14757
14758 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14759
14760         * java/rmi/activation/ActivateFailedException.java: Remerge from
14761         Classpath version.
14762         * java/rmi/activation/ActivationException.java: Ditto.
14763         * java/rmi/activation/UnknownGroupException.java: Ditto.
14764         * java/rmi/activation/UnknownObjectException.java: Ditto.
14765         * java/rmi/server/ExportException: Ditto.
14766         * java/rmi/server/ServerCloneException: Ditto.
14767         * java/rmi/server/ServerNotActiveException: Ditto.
14768         * java/rmi/server/SkeletonMismatchException: Ditto.
14769         * java/rmi/server/SkeletonNotFoundException: Ditto.
14770         * java/rmi/server/SocketSecurityException: Ditto.
14771
14772 2002-06-16  Tom Tromey  <tromey@redhat.com>
14773
14774         * gcj/javaprims.h: Updated class declaration list.
14775
14776         * java/io/LineNumberInputStream.java: Merged with Classpath.
14777
14778         * java/lang/RuntimeException.java: Re-merge with Classpath.
14779         * java/util/ArrayList.java: Likewise.
14780         * java/util/Arrays.java: Likewise.
14781         * java/util/BitSet.java: Likewise.
14782         * java/util/Dictionary.java: Likewise.
14783         * java/util/IdentityHashMap.java: Likewise.
14784         * java/util/MissingResourceException.java: Likewise.
14785         * java/util/Observer.java: Likewise.
14786         * java/util/TooManyListenersException.java: Likewise.
14787         * java/util/zip/DataFormatException.java: Likewise.
14788         * java/util/zip/ZipException.java: Likewise.
14789
14790 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
14791
14792         * java/rmi/AccessException.java: Remerge from Classpath.
14793         * java/rmi/AlreadyBoundException.java: Ditto.
14794         * java/rmi/ConnectException.java: Ditto.
14795         * java/rmi/ConnectIOException.java: Ditto.
14796         * java/rmi/MarshalException.java: Ditto.
14797         * java/rmi/NoSuchObjectException.java: Ditto.
14798         * java/rmi/NotBoundException.java: Ditto.
14799         * java/rmi/RemoteException.java: Ditto.
14800         * java/rmi/RMISecurityException.java: Ditto.
14801         * java/rmi/ServerError.java: Ditto.
14802         * java/rmi/ServerException.java: Ditto.
14803         * java/rmi/ServerRuntimeException.java: Ditto.
14804         * java/rmi/StubNotFoundException.java: Ditto.
14805         * java/rmi/UnexpectedExcpetion.java: Ditto.
14806         * java/rmi/UnknownHostException.java: Ditto.
14807         * java/rmi/UnmarshalException.java: Ditto.
14808
14809 2002-06-15  Tom Tromey  <tromey@redhat.com>
14810
14811         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
14812         * java/lang/ArithmeticException.java: Likewise.
14813         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
14814         * java/lang/ArrayStoreException.java: Likewise.
14815         * java/lang/Byte.java: Likewise.
14816         * java/lang/CharSequence.java: Likewise.
14817         * java/lang/ClassCastException.java: Likewise.
14818         * java/lang/ClassCircularityError.java: Likewise.
14819         * java/lang/ClassFormatError.java: Likewise.
14820         * java/lang/CloneNotSupportedException.java: Likewise.
14821         * java/lang/Cloneable.java: Likewise.
14822         * java/lang/Comparable.java: Likewise.
14823         * java/lang/Compiler.java: Likewise.
14824         * java/lang/Error.java: Likewise.
14825         * java/lang/ExceptionInInitializerError.java: Likewise.
14826         * java/lang/IllegalAccessError.java: Likewise.
14827         * java/lang/IllegalAccessException.java: Likewise.
14828         * java/lang/IllegalArgumentException.java: Likewise.
14829         * java/lang/IllegalMonitorStateException.java: Likewise.
14830         * java/lang/IllegalStateException.java: Likewise.
14831         * java/lang/IllegalThreadStateException.java: Likewise.
14832         * java/lang/IncompatibleClassChangeError.java: Likewise.
14833         * java/lang/IndexOutOfBoundsException.java: Likewise.
14834         * java/lang/InheritableThreadLocal.java: Likewise.
14835         * java/lang/InstantiationError.java: Likewise.
14836         * java/lang/InstantiationException.java: Likewise.
14837         * java/lang/InternalError.java: Likewise.
14838         * java/lang/InterruptedException.java: Likewise.
14839         * java/lang/LinkageError.java: Likewise.
14840         * java/lang/NegativeArraySizeException.java: Likewise.
14841         * java/lang/NoClassDefFoundError.java: Likewise.
14842         * java/lang/NoSuchFieldError.java: Likewise.
14843         * java/lang/NoSuchFieldException.java: Likewise.
14844         * java/lang/NoSuchMethodError.java: Likewise.
14845         * java/lang/NoSuchMethodException.java: Likewise.
14846         * java/lang/NullPointerException.java: Likewise.
14847         * java/lang/NumberFormatException.java: Likewise.
14848         * java/lang/OutOfMemoryError.java: Likewise.
14849         * java/lang/Process.java: Likewise.
14850         * java/lang/Runnable.java: Likewise.
14851         * java/lang/RuntimePermission.java: Likewise.
14852         * java/lang/SecurityException.java: Likewise.
14853         * java/lang/Short.java: Likewise.
14854         * java/lang/StackOverflowError.java: Likewise.
14855         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
14856         * java/lang/ThreadDeath.java: Likewise.
14857         * java/lang/ThreadLocal.java: Likewise.
14858         * java/lang/UnknownError.java: Likewise.
14859         * java/lang/UnsatisfiedLinkError.java: Likewise.
14860         * java/lang/UnsupportedClassVersionError.java: Likewise.
14861         * java/lang/UnsupportedOperationException.java: Likewise.
14862         * java/lang/VerifyError.java: Likewise.
14863         * java/lang/VirtualMachineError.java: Likewise.
14864         * java/lang/reflect/InvocationTargetException.java: Likewise.
14865         * java/net/BindException.java: Likewise.
14866         * java/net/ConnectException.java: Likewise.
14867         * java/net/MalformedURLException.java: Likewise.
14868         * java/net/NoRouteToHostException.java: Likewise.
14869         * java/net/ProtocolException.java: Likewise.
14870         * java/net/SocketException.java: Likewise.
14871         * java/net/UnknownHostException.java: Likewise.
14872         * java/net/UnknownServiceException.java: Likewise.
14873
14874         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
14875         * java/io/CharConversionException.java: Likewise.
14876         * java/io/EOFException.java: Likewise.
14877         * java/io/FileNotFoundException.java: Likewise.
14878         * java/io/IOException.java: Likewise.
14879         * java/io/InterruptedIOException.java: Likewise.
14880         * java/io/InvalidClassException.java: Likewise.
14881         * java/io/InvalidObjectException.java: Likewise.
14882         * java/io/NotActiveException.java: Likewise.
14883         * java/io/NotSerializableException.java: Likewise.
14884         * java/io/ObjectStreamException.java: Likewise.
14885         * java/io/ObjectStreamConstants.java: Likewise.
14886         * java/io/OptionalDataException.java: Likewise.
14887         * java/io/PipedInputStream.java: Likewise.
14888         * java/io/PushbackInputStream.java: Likewise.
14889         * java/io/StreamCorruptedException.java: Likewise.
14890         * java/io/SyncFailedException.java: Likewise.
14891         * java/io/UTFDataFormatException.java: Likewise.
14892         * java/io/UnsupportedEncodingException.java: Likewise.
14893         * java/io/WriteAbortedException.java: Likewise.
14894
14895 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
14896
14897         * java/text/ChoiceFormat.java: Update comments from Classpath.
14898         * java/text/ParseException.java (serialVersionUID): New
14899         field from Classpath.
14900         * java/text/ParseException.java: Update formatting & comments
14901         from Classpath.
14902
14903 2002-06-15  Tom Tromey  <tromey@redhat.com>
14904
14905         * java/util/zip/InflaterInputStream.java (read): Loop if data has
14906         been read but none output by inflater.
14907         * java/util/zip/natDeflater.cc (reset): Set is_finished.
14908         * java/util/zip/natInflater.cc (reset): Set dist_needed and
14909         is_finished.
14910         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
14911         version.
14912         * java/util/zip/ZipFile.java: Replaced with Classpath version.
14913         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
14914         * java/util/zip/ZipInputStream.java: Replaced with Classpath
14915         version.
14916         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
14917
14918 2002-06-13  Tom Tromey  <tromey@redhat.com>
14919
14920         * java/lang/natString.cc (init): Handle case where DONT_COPY is
14921         true and OFFSET!=0.
14922         * java/lang/String.java (String(char[],int,int,boolean): New
14923         constructor.
14924         * java/lang/Long.java: Imported new version from Classpath.
14925         * java/lang/Number.java: Likewise.
14926         * java/lang/Integer.java: Likewise.
14927         * java/lang/Long.java: Likewise.
14928         * java/lang/Float.java: Likewise.
14929         * java/lang/Boolean.java: Likewise.
14930         * java/lang/Double.java: Likewise.
14931         * java/lang/Void.java: Likewise.
14932
14933 2002-06-12  Tom Tromey  <tromey@redhat.com>
14934
14935         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
14936         Fixes PR libgcj/6652.
14937
14938 2002-06-10  Tom Tromey  <tromey@redhat.com>
14939
14940         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
14941         (Class::getPackagePortion): Likewise.
14942         * java/lang/Class.java (desiredAssertionStatus): New method from
14943         Classpath.
14944         (getPackagePortion): Likewise.
14945         * java/lang/VMClassLoader.java (defaultAssertionStatus,
14946         packageAssertionStatus, classAssertionStatus): New methods from
14947         Classpath.
14948         * java/lang/ClassLoader.java (defaultAssertionStatus,
14949         systemPackageAssertionStatus, packageAssertionStatus,
14950         systemClassAssertionStatus, classAssertionStatus): New fields from
14951         Classpath.
14952         (setDefaultAssertionStatus, setPackageAssertionStatus,
14953         setClassAssertionStatus, clearAssertionStatus): New methods from
14954         Classpath.
14955         * Makefile.in: Rebuilt.
14956         * Makefile.am (core_java_source_files): Added AssertionError.java.
14957         * java/lang/AssertionError.java: New from Classpath.
14958
14959 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14960
14961         * configure.host: Disable hash synchronization and slow_pthread_self
14962         for cygwin.
14963
14964 2002-06-06  Adam Megacz <adam@xwt.org>
14965
14966         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
14967         locking, just like the Sun JVM does.
14968
14969 2002-06-05  H.J. Lu  (hjl@gnu.org)
14970
14971         * Makefile.am (libgcj_convenience.la): Revert the last change.
14972         (libgcj.la): Likewise.
14973         * Makefile.in: Regenerated.
14974
14975 2002-06-04  H.J. Lu  (hjl@gnu.org)
14976
14977         * Makefile.am (libgcj_convenience.la): New target.
14978         (libgcj.la): Depend on libgcj_convenience.la.
14979         * Makefile.in: Regenerated.
14980
14981 2002-06-04  H.J. Lu  (hjl@gnu.org)
14982
14983         * configure.in (--with-newlib): New option:
14984         Check ${with_newlib} instead of ${with_cross_host} for newlib.
14985         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
14986         Linux.
14987         * configure: Regenerated.
14988
14989 2002-06-04  Tom Tromey  <tromey@redhat.com>
14990
14991         * java/util/natTimeZone.cc: Include <stdio.h>.
14992
14993 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
14994
14995         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
14996         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
14997         Set SIGNAL_HANDLER=include/s390-linux.h.
14998         * configure: Regenerate.
14999         * include/s390-linux.h: New file.
15000
15001 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15002
15003         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
15004         not "stackTrace".
15005
15006 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15007
15008         Merge JDK 1.4 java.security changes from classpath.
15009
15010         * java/security/AccessControlException.java: Merge from Classpath.
15011         * java/security/AccessController.java: Likewise.
15012         * java/security/AllPermission.java: Likewise.
15013         * java/security/BasicPermission.java: Likewise.
15014         * java/security/Certificate.java: Likewise.
15015         * java/security/CodeSource.java: Likewise.
15016         * java/security/DigestException.java: Likewise.
15017         * java/security/DigestOutputStream.java: Likewise.
15018         * java/security/DomainCombiner.java: Likewise.
15019         * java/security/GeneralSecurityException.java: Likewise.
15020         * java/security/Guard.java: Likewise.
15021         * java/security/GuardedObject.java: Likewise.
15022         * java/security/InvalidAlgorithmParameterException.java: Likewise.
15023         * java/security/InvalidKeyException.java: Likewise.
15024         * java/security/InvalidParameterException.java: Likewise.
15025         * java/security/Key.java: Likewise.
15026         * java/security/KeyException.java: Likewise.
15027         * java/security/KeyManagementException.java: Likewise.
15028         * java/security/KeyStoreException.java: Likewise.
15029         * java/security/MessageDigest.java: Likewise.
15030         * java/security/NoSuchAlgorithmException.java: Likewise.
15031         * java/security/NoSuchProviderException.java: Likewise.
15032         * java/security/Permission.java: Likewise.
15033         * java/security/PermissionCollection.java: Likewise.
15034         * java/security/Permissions.java: Likewise.
15035         * java/security/Policy.java: Likewise.
15036         * java/security/Principal.java: Likewise.
15037         * java/security/PrivateKey.java: Likewise.
15038         * java/security/PrivilegedAction.java: Likewise.
15039         * java/security/PrivilegedActionException.java: Likewise.
15040         * java/security/PrivilegedExceptionAction.java: Likewise.
15041         * java/security/ProtectionDomain.java: Likewise.
15042         * java/security/ProviderException.java: Likewise.
15043         * java/security/PublicKey.java: Likewise.
15044         * java/security/SecureClassLoader.java: Likewise.
15045         * java/security/SecurityPermission.java: Likewise.
15046         * java/security/SignatureException.java: Likewise.
15047         * java/security/UnrecoverableKeyException.java: Likewise.
15048         * java/security/UnresolvedPermission.java: Likewise.
15049         * java/security/acl/AclNotFoundException.java: Likewise.
15050         * java/security/acl/LastOwnerException.java: Likewise.
15051         * java/security/acl/NotOwnerException.java: Likewise.
15052         * java/security/cert/CRLException.java: Likewise.
15053         * java/security/cert/CertificateEncodingException.java: Likewise.
15054         * java/security/cert/CertificateException.java: Likewise.
15055         * java/security/cert/CertificateExpiredException.java: Likewise.
15056         * java/security/cert/CertificateFactory.java: Likewise.
15057         * java/security/cert/CertificateNotYetValidException.java: Likewise.
15058         * java/security/cert/CertificateParsingException.java: Likewise.
15059         * java/security/spec/InvalidKeySpecException.java: Likewise.
15060         * java/security/spec/InvalidParameterSpecException.java: Likewise.
15061
15062         * java/security/cert/CertPath.java: New file.
15063         * java/security/cert/CertPathBuilderException.java: New file.
15064         * java/security/cert/CertPathValidatorException.java: New file.
15065         * java/security/cert/CertStoreException.java: New file.
15066
15067         * Makefile.am: Add new CertPath classes.
15068         * Makefile.in: Rebuilt.
15069
15070         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
15071
15072 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15073
15074         Merge JDK 1.4 exception chaining support from classpath.
15075
15076         * java/lang/Throwable.java: Merge 1.4 support from classpath.
15077         (stackTraceBytes): Rename from stackTrace.
15078         * java/lang/Exception.java: Merge from classpath.
15079         * java/lang/StackTraceElement: New file from classpath.
15080         * gcj/javaprims.h: Rebuild CNI namespace declarations.
15081         * Makefile.am: Add StackTraceElement.
15082         * Makefile.in: Rebuilt.
15083
15084 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15085
15086         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
15087         they build first.
15088         * Makefile.in: Rebuilt.
15089
15090 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15091
15092         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
15093         * configure.in: Likewise.
15094         * aclocal.m4: Regenerate.
15095         * configure: Regenerate.
15096
15097 2002-05-13  Tom Tromey  <tromey@redhat.com>
15098
15099         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
15100         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
15101         Include platform.h.
15102
15103         Fixes PR libgcj/6389:
15104         * Makefile.in: Rebuilt.
15105         * Makefile.am (nat_source_files): Added natTimeZone.cc.
15106         * java/util/natTimeZone.cc: New file.
15107         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
15108         * java/lang/System.java: Merged with Classpath.
15109         * java/lang/Runtime.java: Merged with Classpath.
15110         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
15111         security check.
15112         (setIn0): Renamed from setIn; don't run security check.
15113         (setOut0): Renamed from setOut; don't run security check.
15114         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
15115         init_properties): Moved to natRuntime.cc.
15116         Moved many includes to natRuntime.cc.
15117         (isWordsBigEndian): New method.
15118         * java/lang/natRuntime.cc: Include Long.h, also other includes
15119         previously in natSystem.cc.
15120         (maxMemory): New function.
15121         (exitInternal): Renamed from `_exit'.
15122         (exit): Removed.
15123         (init): Don't set finalize_on_exit.
15124         (exitInternal): Use `finalizeOnExit'.
15125         (file_encoding, getpwuid_adaptor): New functions from
15126         natSystem.cc.
15127         (insertSystemProperties): New method, renamed from
15128         System::init_properties.  Don't set user.timezone.
15129         (_load): Don't call checkLink.
15130         (execInternal): New method.
15131         (availableProcessors): Likewise.
15132         (nativeGetLibname): Likewise.
15133
15134 2002-05-11  Mark Wielaard  <mark@klomp.org>
15135
15136         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
15137         space characters.
15138         (previous_internal): Likewise.
15139
15140 2002-05-09  Tom Tromey  <tromey@redhat.com>
15141
15142         * jni.cc (_Jv_JNIFunctions): Fixed typo.
15143
15144         * java/util/ResourceBundle.java: New version from Classpath.
15145         * java/util/Locale.java: Likewise.
15146
15147 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
15148
15149         * testsuite/lib/libjava.exp (libjava_arguments): Append all
15150         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
15151         LD_LIBRARY_PATH.
15152
15153 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
15154
15155         * libjava/Makefile.am (all_java_source_files): New variable.
15156         (all_java_class_files): Likewise.
15157         .java.class: New rule.
15158         (CLEANFILES): Remove tmp-list.
15159         * libjava/Makefile.in: Regenerated.
15160
15161 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
15162
15163         * testsuite/lib/libjava.exp (test_libjava_from_javac):
15164         Append .exe to executable names.  Fix for cygwin.
15165
15166 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
15167
15168         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
15169         script entry, and set LD to it when configuring multilibs.
15170         * configure: Rebuilt.
15171
15172 2002-05-07  Tom Tromey  <tromey@redhat.com>
15173
15174         * java/lang/natString.cc (unintern): Fixed typo.
15175
15176 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
15177
15178         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
15179         with -no-install on *-*-cygwin*.
15180
15181 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
15182
15183         * testsuite/lib/libjava.exp (test_libjava_from_source):
15184         Add comment explaining last patch
15185
15186 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
15187
15188         * testsuite/lib/libjava.exp (test_libjava_from_source):
15189         Append .exe to executable names.  If no suffix is present,
15190         then ".exe" is added by default on win32.  Harmless
15191         elsewhere so always do it.
15192
15193 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
15194             Tom Tromey  <tromey@redhat.com>
15195
15196         * java/lang/natSystem.cc (getSystemTimeZone): Use
15197         HAVE_UNDERSCORE_TIMEZONE.
15198         * include/config.h.in: Rebuilt.
15199         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
15200         * aclocal.m4, configure: Rebuilt.
15201         * acinclude.m4: Run AC_EXEEXT.
15202         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
15203         Add test for `_timezone'.
15204
15205 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
15206
15207         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15208         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
15209         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15210         * Makefile.in: Rebuilt.
15211
15212 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
15213
15214         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
15215         use sigaction instead of __libc_sigaction.
15216
15217 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15218
15219         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
15220         (libjava_init): Use it to find libgcj.spec.
15221         (libjava_arguments): Likewise.
15222
15223 2002-05-02  David S. Miller  <davem@redhat.com>
15224
15225         PR bootstrap/6525
15226         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
15227         __libc_sigaction on Sparc.
15228
15229 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
15230
15231         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
15232         sys/filio.h, if present.
15233
15234 2002-04-30  Tom Tromey  <tromey@redhat.com>
15235
15236         * java/io/BufferedReader.java (fill): Handle case where markPos
15237         point to ignored \n.  Fixes PR libgcj/6301.
15238
15239 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
15240
15241         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
15242
15243 2002-04-29  Adam King <aking@dreammechanics.com>
15244
15245         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
15246         of file in APPEND mode.
15247
15248 2002-04-25  David S. Miller  <davem@redhat.com>
15249
15250         PR target/6422
15251         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
15252         program counter to next program counter minus 8.  Update
15253         comments in this macro to explain why.
15254
15255 2002-04-26  Tom Tromey  <tromey@redhat.com>
15256
15257         * verify.cc (construct_primitive_array_type) [void_type]: New
15258         case.
15259         (branch_prepass): Added dummy entries for unused instruction
15260         values.
15261         (verify_instructions_0): Likewise.
15262         * interpret.cc (continue1): Comment fix.
15263         * include/java-insns.h (op_xxxunusedxxx1): Removed.
15264         * Makefile.in: Rebuilt.
15265         * Makefile.am: Added -Wswitch-enum.
15266
15267 2002-04-24  Tom Tromey  <tromey@redhat.com>
15268
15269         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
15270         correct length of UTF-8 encoded name.  Strip leading `/'.
15271         (_Jv_RegisterResource): Use _Jv_Malloc.
15272
15273 2002-04-23  Adam Megacz <adam@xwt.org>
15274
15275         * win32.cc, include/win32.cc (backtrace): Added this function
15276         because Win32 does not supply it.
15277
15278 2002-04-21  David S. Miller  <davem@redhat.com>
15279
15280         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
15281         magic instruction reading sequence.
15282
15283 2002-04-21  Mark Wielaard  <mark@klomp.org>
15284
15285         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
15286
15287 2002-04-19  David S. Miller  <davem@redhat.com>
15288
15289         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
15290         arg.
15291         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
15292         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
15293         on Sparc too.
15294         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
15295         for 64-bit sparc.
15296         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
15297         * sysdeps/sparc/locks.h: New file.
15298         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
15299         on all sparc Solaris configurations.  Set to
15300         include/dwarf2-signal.h on sparc Linux.
15301         * configure: Regenerate
15302         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
15303
15304 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
15305
15306         * configure: Rebuilt.
15307         * configure.in (backtrace): Function doesn't work on IA-64.
15308
15309 2002-04-17  Adam King <aking@dreammechanics.com>
15310
15311         * java/io/File.java (normalizePath): Add Win32 support for auto
15312         conversion of a '/' path separator to Win32's '\' separator.
15313
15314 2002-04-16  Tom Tromey  <tromey@redhat.com>
15315
15316         Fix for PR libgcj/6081:
15317         * Makefile.in: Rebuilt.
15318         * Makefile.am (install-data-local): Use GNU make trick to avoid
15319         shell limit.
15320
15321 2002-04-16  Adam King <aking@dreammechanics.com>
15322             Tom Tromey  <tromey@redhat.com>
15323
15324         * java/io/natFileWin32.cc (performList): Return the correct array
15325         type.  Don't duplicate the creation of a File since it's already
15326         done earlier in the method and the existing code would cause a
15327         ArrayStoreException.  Don't use fixed-size array.
15328         (_access, _stat, attr, getCanonicalPath, performMkdir,
15329         performRenameTo): Don't use fixed-size array.
15330         (getCanonicalPath): Use throw, not _Jv_Throw.
15331
15332 2002-04-15  DJ Delorie  <dj@redhat.com>
15333
15334         * configure.in: Allow building in $srcdir.
15335         * configure: Regenerated.
15336
15337 2002-04-14  Mark Wielaard <mark@klomp.org>
15338
15339         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
15340         * java/net/natSocketImpl.cc (close): Likewise.
15341
15342 2002-04-14  Mark Wielaard <mark@klomp.org>
15343
15344         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
15345
15346 2002-04-13  Adam King <aking@dreammechanics.com>
15347
15348         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
15349         the f/F/d/D modifiers.
15350
15351 2002-04-12  Anthony Green  <green@redhat.com>
15352
15353         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
15354         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
15355         * Makefile.in: Rebuilt.
15356         * configure.in: Substitute gcc_version.
15357         * configure: Rebuilt.
15358
15359 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15360
15361         * configure.host: Set can_unwind_signal on hosts which support it.
15362         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
15363         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
15364         exceptions and can_unwind_signal isn't set.
15365         * configure: Rebuilt.
15366
15367 2002-04-11  Tom Tromey  <tromey@redhat.com>
15368
15369         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
15370
15371 2002-04-11  Adam King <aking@dreammechanics.com>
15372             Tom Tromey  <tromey@redhat.com>
15373
15374         * include/jvm.h (_Jv_ThrowBadArrayIndex,
15375         _Jv_ThrowNullPointerException): Mark as noreturn.
15376         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
15377         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
15378         fixes.
15379
15380 2002-04-10  Tom Tromey  <tromey@redhat.com>
15381
15382         * Makefile.in: Rebuilt.
15383         * Makefile.am (java/lang/Thread.h): Mark
15384         _Jv_AttachCurrentThreadAsDaemon as friend.
15385         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
15386         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
15387         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
15388         function.
15389         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
15390         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
15391         (_Jv_JNI_InvokeFunctions): Added
15392         _Jv_JNI_AttachCurrentThreadAsDaemon.
15393         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
15394         (JNI_GetDefaultJavaVMInitArgs): Likewise.
15395         (JNI_CreateJavaVM): Likewise.
15396         (_Jv_JNI_AttachCurrentThread): Likewise.
15397         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
15398         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
15399         (_Jv_JNIFunctions): Initialize new fields.
15400         (_Jv_JNI_NewDirectByteBuffer): New function.
15401         (_Jv_JNI_GetDirectBufferAddress): Likewise.
15402         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
15403         * include/jni.h (JNI_VERSION_1_4): New macro.
15404         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
15405         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
15406         (JNINativeInterface::NewDirectByteBuffer): New field.
15407         (JNINativeInterface::GetDirectBufferAddress): New field.
15408         (JNINativeInterface::GetDirectBufferCapacity): New field.
15409         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
15410         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
15411         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
15412
15413 2002-04-09  Tom Tromey  <tromey@redhat.com>
15414
15415         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
15416
15417 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
15418
15419         Fix for PR libgcj/6187:
15420         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
15421         distance.
15422
15423 2002-04-07  Mark Wielaard <mark@klomp.org>
15424
15425         * java/util/AbstractMap.java (putAll): Use entrySet size.
15426         (toString): Explicitly use getKey() and getValue().
15427
15428 2002-04-07  Mark Wielaard <mark@klomp.org>
15429
15430         * java/util/Hashtable.java (contains): Remove NullPointer check.
15431         (containsValue): Add NullPointer check.
15432         (remove): Always throw NullPointerException when key
15433         is null.
15434
15435 2002-04-07  Adam King <aking@dreammechanics.com>
15436
15437         * java/lang/natSystem.cc (init_properties): Call new function
15438         _Jv_platform_initProperties.
15439         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
15440         support for the System properties os.name, os.arch, os.version,
15441         user.name, user.home, and user.dir.
15442         * include/posix.h, include/win32.h, posix.cc: New function
15443         _Jv_platform_initProperties.
15444
15445 2002-04-06  Mark Wielaard <mark@klomp.org>
15446
15447         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
15448
15449 2002-04-06  Mark Wielaard <mark@klomp.org>
15450
15451         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
15452         all of the remaining elements.
15453         * java/util/Vector.java (addAll(int,Collection)): Likewise.
15454         (removeRange): If toIndex == fromIndex do
15455         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
15456         (removeAll): Always throw NullPointerException when collection is
15457         null.
15458         (retrainAll): Likewise.
15459
15460 2002-04-05  Mark Wielaard <mark@klomp.org>
15461
15462         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
15463         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
15464
15465 2002-04-05  Adam Megacz <adam@xwt.org>
15466
15467         * exception.cc (abort): added static modifier
15468
15469 2002-04-04  Adam Megacz <adam@xwt.org>
15470
15471         * include/win32.h (_Jv_platform_close_on_exec): added inline
15472         modifier.
15473
15474 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
15475
15476         * configure.host: Add case statement to support generic port
15477         properties.  Add *-*-freebsd* section.
15478
15479 2002-04-04  Mark Wielaard  <mark@klomp.org>
15480
15481         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
15482         test.
15483         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
15484         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
15485         that depend on awt code and BufferedByteOutputStream.interrupt.
15486
15487 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15488
15489         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
15490         incorrect "hi" value when count > 40.
15491
15492 2002-04-03  Mark Wielaard  <mark@klomp.org>
15493
15494         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
15495         ordering.
15496
15497 2002-04-02  Tom Tromey  <tromey@redhat.com>
15498
15499         * java/lang/natClassLoader.cc (findClass): Compare against `3',
15500         not `0'.
15501
15502 2002-04-02  Mark Wielaard  <mark@klomp.org>
15503
15504         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
15505         list of testsuite crashers.
15506
15507 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15508
15509         * java/util/IdentityHashMap.java (put): Set new threshold correctly
15510         when resizing table.
15511
15512 2002-04-01  Mark Wielaard  <mark@klomp.org>
15513
15514         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
15515         NegativeArraySizeException
15516         (clear(int)): Use sign extended shift.
15517         (flip(int)): Likewise.
15518         (get(int)): Likewise.
15519         (nextClearBit(int)): Likewise.
15520         (nextSetBit(int)): Likewise.
15521         (set(int)): Likewise.
15522
15523 2002-04-01  Mark Wielaard  <mark@klomp.org>
15524
15525         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
15526         that can be compiled now and add testsuite crashers to ignore list.
15527
15528 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
15529
15530         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
15531
15532         * libgcj.spec.in: Override libgcc, not lib.
15533         * libgcj-test.spec.in: Likewise.
15534
15535 2002-03-29  Tom Tromey  <tromey@redhat.com>
15536
15537         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
15538         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
15539
15540 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
15541
15542         * java/net/PlainDatagramSocketImpl.java
15543         (close): Use native implementation.
15544         (finalize): New method.
15545
15546         * java/net/PlainSocketImpl.java (finalize): New method.
15547
15548         * java/net/natPlainDatagramSocketImpl.cc
15549         (java/io/FileDescriptor.h): Don't include.
15550         (close): Implement method here.
15551         (create): Don't assign fd.
15552
15553         * java/net/natPlainSocketImpl.cc
15554         (java/io/FileDescriptor.h): Don't include.
15555         (create): Don't assign fd.
15556         (accept): Likewise.
15557         (close): Synchronize.
15558
15559 2002-03-27  Richard Henderson  <rth@redhat.com>
15560
15561         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
15562
15563 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15564
15565         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15566         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
15567         instead of syscall on IA-64.
15568         Add FIXME comment.
15569
15570 2002-03-27  Anthony Green  <green@redhat.com>
15571
15572         * libgcj.spec.in: Add CHECKREFSPEC.
15573         * configure.in: Ditto.
15574         * configure.host: Ditto.  Check references for xscale-elf.
15575         * configure: Rebuilt.
15576
15577 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
15578
15579         * include/dwarf2-signal.h: Temporarily back out last change.
15580
15581 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
15582
15583         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
15584
15585 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15586
15587         * configure.in, configure: enable dwarf2-exception-style
15588         exception handling on IA-64.
15589         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15590         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
15591         Add FIXME comment.
15592
15593 2002-03-25  Tom Tromey  <tromey@redhat.com>
15594
15595         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
15596         (jv_convert_LDFLAGS): Likewise.
15597         (gij_LDFLAGS): Likewise.
15598         (rmic_LDFLAGS): Likewise.
15599         (rmiregistry_LDFLAGS): Likewise.
15600         * configure.in (THREADLDFLAGS): New subst; set correctly for
15601         *BSD.
15602
15603 2002-03-25  Tom Tromey  <tromey@redhat.com>
15604
15605         For PR libgcj/5303:
15606         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
15607         and --version.
15608         (help): New method.
15609         (version): Likewise.
15610         * gnu/gcj/convert/Convert.java (version): Removed extraneous
15611         "GNU".
15612         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
15613         "GNU".
15614
15615 2002-03-25  Tom Tromey  <tromey@redhat.com>
15616
15617         * java/awt/Component.java (processEvent): Check ComponentEvent
15618         after KeyEvent.
15619
15620 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15621
15622         * java/io/PushbackReader.java: Reformat.
15623
15624         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
15625         calculate correct number of bytes skipped.
15626
15627         Based on patch from Intel's ORP team:
15628         * java/io/PushbackInputStream.java (available): Calculate correct
15629         number of bytes in buffer.
15630         (read): Remove redundant bound check. Return bytes from both the
15631         buffer and the stream.
15632
15633 2002-03-24  Tom Tromey  <tromey@redhat.com>
15634
15635         * java/awt/TextComponent.java (TextComponent): Editable by
15636         default.
15637
15638         * java/awt/MenuItem.java (eventMask): No longer private.
15639         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
15640         superclass if we didn't handle event.
15641         * java/awt/Checkbox.java (dispatchEventImpl): New method.
15642         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
15643         * java/awt/Choice.java (dispatchEventImpl): New method.
15644         * java/awt/List.java (dispatchEventImpl): New method.
15645         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
15646         * java/awt/TextComponent.java (dispatchEventImpl): New method.
15647         * java/awt/TextField.java (dispatchEventImpl): New method.
15648
15649 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
15650
15651         * java/beans/IntrospectionException.java: Update to 1.4.
15652         * java/beans/PropertyVetoException.java: Ditto.
15653
15654 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
15655
15656         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
15657         Arrays.equals instead of ArrayHelper.equalsArray.
15658
15659 2002-03-24  C. Brian Jones <cbj@gnu.org>
15660
15661         * java/beans/Introspector.java: added new static final fields
15662         introduced in 1.2, lots of other updates remain to be done
15663
15664 2002-03-24  C. Brian Jones <cbj@gnu.org>
15665
15666         * java/beans/Introspector.java: reformatting
15667
15668 2002-03-24  C. Brian Jones <cbj@gnu.org>
15669
15670         * java/beans/Introspector.java: default beanInfoSearchPath will
15671         not include sun.beans.infos given we provide no such package and
15672         the API doesn't really require it; gnu.java.beans.info is the
15673         default.
15674
15675 2002-03-24  Mark Wielaard  <mark@klomp.org>
15676
15677         Thanks to Orp developers
15678         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
15679         switch TRUE and FALSE return values.
15680
15681 2002-03-23  Tom Tromey  <tromey@redhat.com>
15682
15683         * include/name-finder.h (_Jv_name_finder::myclose): New method.
15684         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
15685
15686 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
15687
15688         * java/util/GregorianCalendar.java (minimums, maximums): Correct
15689         MONTH entry.  Fixes PR libgcj/6045.
15690
15691 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
15692
15693         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
15694
15695 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15696
15697         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
15698         not release_set.
15699         * sysdep/powerpc/locks.h (write_barrier): New function.
15700         * sysdep/i386/locks.h (write_barrier): New function.
15701
15702 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
15703
15704         * include/jni.h Use correct C comments.
15705
15706 2002-03-18  Tom Tromey  <tromey@redhat.com>
15707
15708         * include/jni.h (JNIIMPORT): New macro.
15709         (JNIEXPORT): Likewise.
15710         (JNICALL): Likewise.
15711
15712 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15713
15714         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
15715         systems.
15716
15717 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
15718
15719         * include/i386-signal.h (old_i386_kernel_sigaction): New.
15720         INIT_SEGV: Use old_i386_kernel_sigaction.
15721         INIT_FP: Likewise.
15722
15723 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15724
15725         * java/lang/natSystem.cc (init_properties): Update VM version
15726         properties.
15727         * configure.in: Set GCJVERSION.
15728         * acconfig.h: Add GCJVERSION.
15729         * configure: Rebuilt.
15730         * include/config.h.in: Rebuilt.
15731
15732 2002-03-17  Anthony Green  <green@redhat.com>
15733
15734         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
15735
15736 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15737
15738         Build a single libgcj.so, without separate gc and zlib libraries.
15739         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
15740         SYS_ZLIBS if system zlib is used.
15741         * configure: Rebuilt.
15742         * Makefile.am: Use boehm-gc and zlib convenience libraries.
15743         * Makefile.in: Rebuilt.
15744         * libtool-version: Increment .so version number.
15745
15746         * Makefile.am: Escape quotes in echo.
15747         * Makefile.in: Rebuilt.
15748
15749 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15750
15751         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
15752         * Makefile.in: Rebuilt.
15753
15754 2002-03-15  Anthony Green  <green@redhat.com>
15755
15756         * configure.host (FILE): New macro for specifing File
15757         implementation.
15758         * configure: Rebuilt.
15759         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
15760
15761 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
15762
15763         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
15764         already implicitly brought in from libgcj.la.
15765         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15766         * Makefile.in: Rebuilt.
15767
15768 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
15769
15770         * THANKS: Fix punctuation, alphabetization.
15771
15772 2002-03-15  Tom Tromey  <tromey@redhat.com>
15773             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15774
15775         Fix for PR libgcj/5944.
15776         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
15777
15778 2002-03-15  Anthony Green  <green@redhat.com>
15779
15780         * configure.in (tool_include_dir): Define.
15781         * configure: Rebuilt.
15782         * gcj/Makefile.am: Install libgcj-config.h relative to
15783         tool_include_dir.
15784         * gcj/Makefile: Rebuilt.
15785         * gcj/libgcj-config.h: Add warning comment.
15786
15787 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
15788
15789         * configure.host (powerpc*-darwin*): Enable interpreter.
15790
15791 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15792
15793         * include/posix.h: Add multiple include header protection.
15794         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
15795
15796 2002-03-10  Adam Megacz <adam@xwt.org>
15797
15798         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
15799
15800 2002-03-10  Tom Tromey  <tromey@redhat.com>
15801
15802         * java/awt/GridLayout.java (layoutContainer): Handle case where
15803         there are no items in container.
15804
15805         * java/lang/Win32Process.java: Added comment.
15806         * include/posix.h (_Jv_platform_close_on_exec): New function.
15807         Include fcntl.h.
15808         * include/win32.h (_Jv_platform_close_on_exec): New function.
15809         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
15810         flag.
15811         (accept): Likewise.
15812         * java/net/natPlainDatagramSocketImpl.cc (create): Set
15813         close-on-exec flag.
15814         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
15815         flag.
15816
15817 2002-03-09  Tom Tromey  <tromey@redhat.com>
15818
15819         * verify.cc (state::NO_STACK): New constant.
15820         (state::is_unmerged_ret_state): Handle case where stacktop is
15821         NO_STACK.
15822         (state::merge): Handle NO_STACK merges.
15823         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
15824         for instruction following jsr.
15825         (stacktop, stackdepth): Removed unused variables.
15826         (pop_jump): Ignore case where all remaining states are skipped.
15827
15828 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15829
15830         * java/awt/ImageMediaEntry: Removed.
15831         * java/awt/MediaEntry: Removed.
15832
15833 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15834
15835         Hashtable synchronization for PowerPC.
15836         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
15837         slow_pthread_self. Set up symlink for sysdeps directory.
15838         * configure: Rebuild.
15839         * configure.host: Document more shell variables. Set sysdeps_dir
15840         for most platforms. Set slow_pthread_self for i686. Set
15841         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
15842         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
15843         that memory barrier is emitted where required.
15844         * prims.cc: 64-bit align static primitive class instances.
15845         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
15846         read_barrier() to enforce ordering of reads.
15847         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
15848         primitives for PowerPC.
15849         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
15850         moved from natObject.cc.
15851         * sysdep/alpha/locks.h: Likewise.
15852         * sysdep/ia64/locks.h: Likewise.
15853         * sysdep/generic/locks.h: Likewise.
15854         * java/lang/natObject.cc: Move thread synchronization primitives to
15855         system-dependent headers.
15856
15857 2002-03-09  Adam Megacz  <adam@xwt.org>
15858
15859         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
15860         bytes read and no failure code returned.
15861
15862 2002-03-09  Adam Megacz  <adam@xwt.org>
15863
15864         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
15865         definitions to simulate -mthreads.
15866
15867 2002-03-09  Adam Megacz  <adam@xwt.org>
15868
15869         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
15870         avoid precision loss.
15871
15872 2002-03-09  Per Bothner  <per@bothner.com>
15873
15874         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
15875         * gnu/gcj/xlib/XImage.java:  Likewise.
15876         * gnu/gcj/xlib/XColor.java:  Likewise.
15877
15878 2002-03-09  Adam Megacz  <adam@xwt.org>
15879
15880         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
15881         IOException so that Throwable.printStackTrace fails correctly.
15882
15883 2002-03-08  Adam Megacz  <adam@xwt.org>
15884
15885         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
15886         fixed.
15887
15888 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15889
15890         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
15891         truncated to int.
15892
15893 2002-03-08  Tom Tromey  <tromey@redhat.com>
15894
15895         * include/jni.h: Include stdio.h.
15896
15897 2002-03-08  Tom Tromey  <tromey@redhat.com>
15898
15899         * posix.cc (internal_gettimeofday): New function.
15900         (_Jv_select): Use it.
15901
15902 2002-03-07  Adam Megacz  <adam@xwt.org>
15903
15904         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
15905         WIN32, and added thunks for read(), write(), and close().
15906         * java/net/natPlainSocketImpl.cc (accept, read, read):
15907         Disabled timeouts on WIN32 pending discussion.
15908
15909 2002-03-07  Adam Megacz  <adam@xwt.org>
15910
15911         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
15912         returns jlong. Added implementation
15913         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
15914         returns jlong.
15915         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
15916         returns jlong.
15917         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
15918         returns jlong.
15919         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
15920         _Jv_platform_gettimeofday signature.
15921
15922 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15923
15924         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
15925         (read): Call recv() directly, not _Jv_recv().
15926
15927 2002-03-06  Tom Tromey  <tromey@redhat.com>
15928
15929         * java/io/natFileDescriptorEcos.cc (init): Don't use
15930         GetStdHandle.
15931         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
15932         is negative.
15933         (init): Don't use GetStdHandle.
15934
15935         * include/config.h.in: Rebuilt.
15936         * configure: Rebuilt.
15937         * Makefile.in: Rebuilt.
15938
15939 2002-03-06  Adam Megacz  <adam@xwt.org>
15940
15941         * java/io/FileDescriptor.java: Initialize in/out/err in init().
15942         * java/io/natFileDescriptorWin32.cc (init()): Added function.
15943         * java/io/natFileDescriptorPosix.cc (init()): Added function.
15944         * java/io/natFileDescriptorEcos.cc (init()): Added function.
15945
15946 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
15947
15948         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
15949         the code for generating include/java-chartables.h.
15950         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
15951         merge with Classpath.
15952         * scripts/unicode-muncher.pl: Copy from Classpath.
15953         * scritps/MakeCharTables.java: New file.
15954         * gnu/gcj/convert/Blocks-3.txt: New file.
15955         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
15956         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
15957         * gnu/java/lang/CharData.java: Copy from Classpath.
15958         * Makefile.am (ordinary_java_source_files): Add
15959         gnu/java/lang/CharData.java.
15960         * configure.in: Remove --enable-fast-character option.
15961         * java/lang/Character.java: Merge algorithms and Javadoc with
15962         Classpath.
15963         * java/lang/natCharacter.cc: Implement Unicode lookup table more
15964         efficiently.
15965         * include/java-chardecomp.h: Regenerate.
15966         * include/java-chartables.h: Regenerate.
15967
15968 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15969
15970         * java/awt/MediaTracker.java: Implemented.
15971         * Makefile.am: Add MediaTracker.
15972         * Makefile.in: Rebuilt.
15973
15974 2002-03-05  Tom Tromey  <tromey@redhat.com>
15975
15976         * java/lang/natPosixProcess.cc (fail): Removed.
15977         (startProcess): Simplified error-handling.  Preserve
15978         LD_LIBRARY_PATH across exec.
15979
15980         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
15981         AbstractMethodError.
15982
15983 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15984
15985         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
15986         * Makefile.in: Rebuilt.
15987
15988 2002-03-03 Mark Wielaard <mark@klomp.org>
15989
15990         * java/util/Timer (TaskQueue.stop): set elements to zero.
15991
15992 2002-02-28  Anthony Green  <green@redhat.com>
15993
15994         * java/lang/reflect/natMethod.cc (result): Add void* element.
15995         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
15996         constructor test.
15997
15998 2002-02-27  Adam Megacz <adam@xwt.org>
15999
16000         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
16001         '#undef STRICT'.
16002
16003 2002-02-26  Tom Tromey  <tromey@redhat.com>
16004
16005         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
16006         * gij.cc (version): Use __VERSION__.
16007         * include/config.h.in: Rebuilt.
16008         * acconfig.h (GCJVERSION): Removed.
16009         * configure: Rebuilt.
16010         * configure.in (GCJVERSION): Removed.
16011
16012 2002-02-26  Andreas Schwab  <schwab@suse.de>
16013
16014         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
16015         glibcpp_CXX, since libjava uses even another CXX.
16016         * aclocal.m4, configure: Regenerated.
16017
16018 2002-02-26  Tom Tromey  <tromey@redhat.com>
16019
16020         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
16021         `1'.
16022
16023 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16024
16025         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
16026         dependency tracking for .java files.
16027         * Makefile.in: Rebuilt.
16028
16029 2002-02-24  Adam Megacz  <adam@xwt.org>
16030
16031         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
16032         typo. Sorry.
16033
16034 2002-02-24  Adam Megacz  <adam@xwt.org>
16035
16036         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
16037         for Win32, changed #ifdefs to check WIN32 instead of the
16038         (now-obsolete) USE_WINSOCK, and removed support for socket
16039         timeouts on Win32 pending further discussion.
16040
16041 2002-02-24  Adam Megacz  <adam@xwt.org>
16042
16043         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
16044         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
16045         delete
16046
16047 2002-02-24  Adam Megacz  <adam@xwt.org>
16048
16049         * java/lang/Win32Process.java: Created a dummy class to allow
16050         build process to run to completion.
16051
16052 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
16053
16054         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
16055         Define ffi_result union for ffi_call result.  Cast
16056         ffi_result members to jvalue.
16057
16058 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
16059
16060         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
16061         * testsuite/Makefile.in: Likewise.
16062
16063 2002-02-20  Per Bothner  <per@bothner.com>
16064
16065         * java/net/URL.java (getPath):  New JDK 1.3 method.
16066
16067         * java/net/URLStreamHandler.java (parseURL):
16068         It is wrong to prepend '/' to the file part of a relative url.
16069
16070         * java/net/URLStreamHandler.java (parseURL):
16071         Minor optizations - append '/' rather than "/".
16072
16073         * java/net/URLStreamHandler.java (parseURL):
16074         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
16075         We probably should canonicalize for a context-relative url, though.
16076         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
16077         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
16078         (sameFile):  New method.  Uses canonicalizeFilename.
16079
16080 2002-02-22  Tom Tromey  <tromey@redhat.com>
16081
16082         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
16083         java.vendor and java.vm.vendor.
16084         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
16085         recent copyright date.
16086         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
16087         * gij.cc (version): Print `Inc'.
16088
16089 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16090
16091         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
16092         * aclocal.m4, configure: Rebuilt.
16093
16094 2002-02-20  Per Bothner  <per@bothner.com>
16095
16096         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
16097         and/or output streams immediately here, instead of using File.exists.
16098         (inputStream, outputStream):  New fields to save open streams.
16099         (getInputStream, getOutputStream):  Use already-opened streams.
16100
16101 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16102
16103         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
16104         Use it.
16105         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
16106         * aclocal.m4, configure, Makefile.in: Rebuilt.
16107
16108 2002-02-19  Tom Tromey  <tromey@redhat.com>
16109
16110         Fix for PR libgcj/5696:
16111         * verify.cc (is_assignable_from_slow): Never call
16112         _Jv_IsAssignableFrom.
16113         (verify_instructions_0): Added new debug statement.
16114         (state::print): Print information about whether local has
16115         changed.
16116         (state::merge): Don't call note_variable when merging locals.
16117         (state::set_exception): Removed old FIXME comment.
16118
16119 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16120
16121         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
16122         enable SO_BROADCAST.
16123
16124 2002-02-18  Jason Merrill  <jason@redhat.com>
16125
16126         * name-finder.cc (toHex): Use word mode, not long long.
16127
16128         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
16129
16130 2002-02-15  Tom Tromey  <tromey@redhat.com>
16131
16132         Fix for PR libgcj/5695:
16133         * verify.cc (is_assignable_from_slow): Check to see if target is
16134         an Object before checking to see if source is an interface.
16135         (verify_instructions_0) [op_invokeinterface]: Handle case where
16136         we're making an interface call on Object.
16137
16138 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16139
16140         * Makefile.in: Rebuilt with Eric's change below.
16141
16142         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
16143         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
16144         Removed functions which are now implemented in Math.java.
16145
16146 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16147
16148         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
16149         * Makefile.am (core_java_source_files): Add
16150         java/lang/StrictMath.java.
16151         * java/lang/Math.java: Merge with Classpath.
16152         * java/lang/StrictMath.java: New file - merge with Classpath.
16153
16154 2002-02-14  Mark Wielaard  <mark@klomp.org>
16155
16156         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
16157         package as a workaround for gcj 3.0.x
16158
16159 2002-02-14  Mark Wielaard <mark@klomp.org>
16160
16161         * java/security/BasicPermission.java: extends with fully qualified
16162         classname as workaround for gcj 3.0.4.
16163
16164 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16165
16166         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
16167         around gcj bug of wrong emitted qualifier for inherited method.
16168         * java/net/SocketImpl.java (setOption, getOption): Ditto.
16169         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
16170         constructor to reduce amount of emitted bytecode. While this
16171         happens to work around a jikes 1.15 bug, it is still a useful
16172         patch even for correct compilers.
16173         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
16174         * gnu/java/rmi/server/UnicastRemoteCall.java
16175         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
16176
16177 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16178
16179         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
16180         * java/net/SocketImpl.java: Ditto.
16181         * java/rmi/server/RMIClassLoader.java: Ditto.
16182         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
16183
16184 2002-02-14  Mark Wielaard <mark@klomp.org>
16185
16186         Thanks to Takashi Okamoto
16187         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
16188         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
16189         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
16190
16191 2002-02-13  Todd Stock  <toddastock@yahoo.com>
16192
16193         Fix for PR libgcj/5670:
16194         * verify.cc (is_assignable_from_slow): If `source' is interface,
16195         recursively look for merge with `target'.
16196
16197 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
16198
16199         * include/jni.h: Fix typo.
16200
16201 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
16202
16203         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
16204         correctly.
16205
16206 2002-02-13  Todd Stock  <toddastock@yahoo.com>
16207
16208         Fix for PR libgcj/5671:
16209         * verify.cc (state::merge): Handle case where we're merging
16210         against an interface.
16211
16212 2002-02-12  Tom Tromey  <tromey@redhat.com>
16213
16214         * exception.cc (std::abort): Mark as noreturn.
16215
16216 2002-02-12  Adam Megacz <adam@xwt.org>
16217
16218         * java/lang/Win32Process.java: Filled in a placeholder
16219         implementation so Win32 will build.
16220
16221 2002-02-12  Adam Megacz <adam@xwt.org>
16222
16223         * java/io/natFilePosix.cc: Copied this from natFile.cc.
16224         * java/io/natFile.cc: Removed from repository.
16225         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
16226
16227 2002-02-12  Adam Megacz <adam@xwt.org>
16228
16229         * win32.cc: Added two #includes to make win32.cc compile.
16230
16231 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16232
16233         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
16234         declarations.
16235         (_Jv_InitGC): Don't bother locking, as this is always called from a
16236         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
16237
16238 2002-02-11  Adam Megacz <adam@xwt.org>
16239
16240         * include/win32.h: Added _Jv_platform_gettimeofday.
16241         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
16242
16243 2002-02-11  Adam Megacz <adam@xwt.org>
16244
16245         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
16246         Added #undef STRICT to make windows.h and
16247         java/lang/reflect/Modifier.h cooperate.
16248
16249 2002-02-11  Adam Megacz <adam@xwt.org>
16250
16251         * java/io/natFileWin32.cc: Created a placeholder class with lots
16252         of FIXMEs.
16253
16254 2002-02-11  Adam Megacz <adam@xwt.org>
16255
16256         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
16257         std::abort() to simply abort(). Also added "fake" std::abort() so
16258         we can #include unwind-pe.h without having to link against
16259         libstdc++-v3.
16260
16261 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
16262
16263         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
16264
16265 2002-02-08  Tom Tromey  <tromey@redhat.com>
16266
16267         * interpret.cc (convert): New function.
16268         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
16269         convert.
16270         Include Long.h.
16271
16272 2002-02-08  Anthony Green  <green@redhat.com>
16273
16274         * configure.host: Add support for xscale-elf embedded target.
16275
16276 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
16277
16278         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
16279         dereferenced.
16280         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
16281         frame.
16282
16283 2002-02-07  Tom Tromey  <tromey@redhat.com>
16284
16285         * java/io/natFile.cc (_access): Use __builtin_alloca.
16286         (_stat): Likewise.
16287         (attr): Likewise.
16288         (getCanonicalPath): Likewise.
16289         (performList): Likewise.
16290         (performMkdir): Likewise.
16291         (performSetReadOnly): Likewise.
16292         (performRenameTo): Likewise.
16293         (performSetLastModified): Likewise.
16294         (performCreate): Likewise.
16295         (performDelete): Likewise.
16296
16297 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16298
16299         * HACKING: Fix URL for the automake-gcj.
16300
16301 2002-02-07  Tom Tromey  <tromey@redhat.com>
16302
16303         * java/lang/natThrowable.cc: Updated copyright.
16304         * java/io/natFileWin32.cc: Updated copyright.
16305         * java/io/natFileDescriptorWin32.cc: Updated copyright.
16306         * win32-threads.cc: Updated copyright.
16307         * name-finder.cc: Updated copyright.
16308         * include/name-finder.h: Updated copyright.
16309
16310         * include/name-finder.h: Conditionally include sys/wait.h.
16311         * include/config.h.in: Rebuilt.
16312
16313         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
16314         Size buffer based on real size of string.
16315         (_stat): Likewise.
16316         (attr): Likewise.
16317         (getCanonicalPath): Likewise.
16318         (performList): Likewise.
16319         (performMkdir): Likewise.
16320         (performSetReadOnly): Likewise.
16321         (unixroot): Removed.
16322         (performRenameTo): Likewise.
16323         (performSetLastModified): Likewise.
16324         (performCreate): Likewise.
16325         (performDelete): Likewise.
16326         (performListRoots): Always return new array.
16327
16328         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
16329         * win32.cc (win32_exception_handler): Now static.
16330         * include/win32.h (_Jv_platform_initialize): Declare.
16331         (win32_exception_handler): Don't declare.
16332         * java/lang/natSystem.cc (currentTimeMillis): Use
16333         _Jv_platform_gettimeofday.
16334         * posix.cc (_Jv_platform_gettimeofday): Renamed.
16335         (_Jv_select): Use new name.
16336         (_Jv_platform_initialize): New function.
16337         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
16338         _Jv_gettimeofday.
16339         (_Jv_platform_initialize): Declare.
16340
16341         * configure: Rebuilt.
16342         * configure.in: Removed unnecessary parens.
16343
16344 2002-02-06  Adam Megacz <adam@xwt.org>
16345
16346        * configure.in: Changed mingw) to *mingw*).
16347        * win32.cc: Created this file.
16348        * win32.h: Created this file.
16349        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
16350        win32_exception_handler from prims.cc to win32.cc, added
16351        header in win32.h.
16352        * prims.cc: removed some #ifdef-WIN32'd headers which are no
16353        longer needed now that we have platform.h
16354
16355 2002-02-06  Adam Megacz <adam@xwt.org>
16356
16357         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
16358         use uint<n>_t instead of LONG and BYTE
16359
16360 2002-02-06  Adam Megacz <adam@xwt.org>
16361
16362         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
16363
16364 2002-02-06  Anthony Green  <green@redhat.com>
16365
16366         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
16367         Implement missing method stubs.
16368         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
16369         targets.
16370         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
16371         concept of timezones.
16372         (init_properties): Don't refer to _Jv_Environment_Properties
16373         when this feature is not available.
16374         * include/config.h.in: Rebuilt.
16375         * acconfig.h: Add DISABLE_MAIN_ARGS.
16376         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
16377         * configure: Rebuilt.
16378         * configure.in: Add --disable-main-args option.  Test for
16379           opendir function.  Replace AC_CHECK_SIZEOF with
16380           AC_COMPILE_CHECK_SIZEOF.
16381         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
16382         * aclocal.m4: Rebuilt.
16383         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
16384
16385 2002-02-06  Tom Tromey  <tromey@redhat.com>
16386
16387         * verify.cc (require_array_type): If argument is a null array of
16388         references, return null as the element type.
16389
16390 2002-02-06  Mark Wielaard  <mark@klomp.org>
16391
16392         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
16393         duplicate of a wide type.
16394
16395 2002-02-06  Tom Tromey  <tromey@redhat.com>
16396
16397         * verify.cc (type::isnull): New method.
16398         (require_array_type): Handle case where array is null.
16399         (verify_instructions_0) [op_arraylength]: Likewise.
16400
16401 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16402
16403         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
16404         Symlink PLATFORMH to platform.h.
16405         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
16406         PLATFORMOBJS.
16407         * java/lang/natSystem.cc: #include platform.h not posix.h.
16408         * Makefile.in: Rebuilt with libgcj automake.
16409         * configure: Rebuilt.
16410
16411 2002-02-05  Richard Henderson  <rth@redhat.com>
16412
16413         * Makefile.in: Undo munging last change.
16414
16415 2002-02-04  Adam Megacz <adam@xwt.org>
16416
16417         * win32.cc: Created it.
16418         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
16419         which is set to posix.cc or win32.cc.
16420         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
16421
16422 2002-02-04  Adam Megacz <adam@xwt.org>
16423
16424         * configure.in: Corrected mingw case branches; added * before
16425         and after.
16426
16427 2002-02-04  Adam Megacz <adam@xwt.org>
16428
16429         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
16430         if compiling for win32
16431
16432 2002-02-04  Adam Megacz <adam@xwt.org>
16433
16434         * win32-threads.cc: #undef STRICT after gc.h inclusion
16435
16436 2002-02-02  Tom Tromey  <tromey@redhat.com>
16437
16438         * Makefile.in: Rebuilt.
16439
16440 2002-02-02  Jason Merrill  <jason@redhat.com>
16441
16442         * Makefile.am (clean-nat): New target.
16443
16444 2002-02-02  Tom Tromey  <tromey@redhat.com>
16445
16446         * java/io/natFile.cc: Removed old "FIXME" comments.
16447
16448 2002-02-01  Tom Tromey  <tromey@redhat.com>
16449
16450         * java/lang/natPosixProcess.cc (myclose): New function.
16451         (fail): Use it.
16452         (startProcess): Likewise.
16453
16454 2002-02-01  Adam Megacz <adam@xwt.org>
16455
16456         * prims.cc: Added #undef STRICT after #include<windows.h>.
16457
16458 2002-02-01  Adam Megacz <adam@xwt.org>
16459
16460         * prims.cc
16461         (_Jv_CreateJavaVM): We now use WIN32 instead of
16462         USE_WIN32_SIGNALLING and USE_WINSOCK.
16463         (win32_exception_handler): Now throws an exception out of
16464         the signal handler; assumes SJLJ.
16465
16466 2002-02-01  Adam Megacz <adam@xwt.org>
16467
16468         * win32-threads.cc:
16469         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
16470         wait() algorithm to make it safe.
16471         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
16472         Added lazy creation of Win32 Events for better performance
16473         (really_start): This now uses GC_CreateThread so boehm-gc
16474         knows about new threads even when statically linked.
16475
16476 2002-02-01  Adam Megacz <adam@xwt.org>
16477
16478         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
16479         enable safer wait() algorithm.
16480         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
16481         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
16482         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
16483         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
16484         instead of mutex.
16485         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
16486
16487 2002-02-01  Adam Megacz <adam@xwt.org>
16488
16489         * configure.in: Added support for mingw.
16490         * java/lang/Win32Process.java: Created as empty file.
16491         * java/lang/natWin32Process.cc: Created as empty file.
16492
16493 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
16494
16495         PR java/4972
16496         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
16497         for libiconv in LIBICONV variable.
16498         * configure: Regenerated.
16499
16500 2002-01-31  Tom Tromey  <tromey@redhat.com>
16501
16502         * verify.cc (state::enter_subroutine): New method.
16503         (handle_jsr_insn): Use it.
16504         (state::merge): When processing a `ret', correctly use
16505         subroutine's state to determine which local variables have
16506         changed.
16507         (push_exception_jump): Don't let stack overflow.
16508
16509 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
16510
16511         * gnu/gcj/convert/Convert.java: Only include one copyright year in
16512         --version output.
16513
16514 2002-01-30  Tom Tromey  <tromey@redhat.com>
16515
16516         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
16517         parameter for `recv' return type.
16518
16519         * verify.cc (handle_ret_insn): Check for subroutine merge here...
16520         (state::merge): ... not here.
16521         (subr_entry_info): New structure.
16522         (entry_points): New field.
16523         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
16524         entry_points.
16525
16526 2002-01-29  Tom Tromey  <tromey@redhat.com>
16527
16528         * java/awt/List.java (addNotify): Correctly check to see if peer
16529         does not exist.
16530
16531         * java/awt/GridLayout.java (layoutContainer): Use number of rows
16532         to compute height of each cell, and number of columns to compute
16533         width of each cell.
16534         * java/awt/Window.java (getOwnedWindows): Don't return null.
16535         * java/awt/FlowLayout.java (layoutContainer): Set width and height
16536         of component.  Increment x using horizontal gap, not vertical
16537         gap.
16538
16539 2002-01-28  Tom Tromey  <tromey@redhat.com>
16540
16541         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
16542         `nargs' byte is number of words, not number of arguments.
16543
16544 2002-01-27  Tom Tromey  <tromey@redhat.com>
16545
16546         * java/awt/event/MouseEvent.java (modifiers): Removed field.
16547         (when): Likewise.
16548         * java/awt/event/InputEvent.java (modifiers, when): Now
16549         package-private.
16550
16551         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
16552         and to-do list.
16553         (state::merge): Use current class' class loader.
16554         (state::print): Print subroutine.
16555         (state::merge): Don't look at subroutine of unmerged `ret'.
16556
16557 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
16558
16559         * nogc.cc: Remove warnings.
16560         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
16561         New functions.
16562
16563 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16564
16565         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
16566         int, int):  Remove empty "if" statement to work around compiler bug.
16567         (newPixels(int[], ColorModel, int, int): Likewise.
16568
16569 2002-01-25  Per Bothner  <per@bothner.com>
16570
16571         * verify.cc (verify_fail):  Change from being a top-level function
16572         to e method of _Jv_BytecodeVerifier.  Emit current method name.
16573         Pass the current verifier to type: and state: methods as needed,
16574         for better error messages, and for resolve.
16575         (resolve):  Pass current class's loader for Class.forName and
16576         _Jv_FindClassFromSignature, rather than using the default loader.
16577         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
16578         (get_type_val_for_signature):  Make non-static.
16579         (various methods):  Pass start_PC implicitly, not explicitly.
16580
16581 2002-01-25  Tom Tromey  <tromey@redhat.com>
16582
16583         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
16584         loop termination condition.
16585         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
16586         width.
16587
16588 2002-01-24  Tom Tromey  <tromey@redhat.com>
16589
16590         * java/awt/Shape.java: Merged with Classpath.
16591         * java/awt/Scrollbar.java: Merged with Classpath.
16592
16593         * java/awt/Container.java (addNotify): Unconditionally call
16594         addNotifyContainerChildren and superclass addNotify.
16595
16596         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
16597         getAlpha, not getBlue.
16598
16599 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16600
16601         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
16602
16603         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
16604         (grabPixels(long)): Wait to be notified that the ImageProducer has
16605         completed.
16606
16607 2002-01-24  Per Bothner  <per@bothner.com>
16608
16609         * verify.cc (is_assignable_from_slow): If target is an interface,
16610         we must still check the source's superclass before giving up.
16611
16612 2002-01-24  Tom Tromey  <tromey@redhat.com>
16613
16614         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
16615
16616 2002-01-23  Tom Tromey  <tromey@redhat.com>
16617
16618         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
16619         `else'.
16620
16621         * Makefile.in: Rebuilt.
16622         * Makefile.am (awt_java_source_files): Added new files.
16623         * java/awt/Toolkit.java: Merged with Classpath.
16624         * java/awt/PrintGraphics.java: New file from Classpath.
16625         * java/awt/PrintJob.java: New file from Classpath.
16626         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
16627         * java/awt/datatransfer/ClipboardOwner.java: New file from
16628         Classpath.
16629         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
16630         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
16631         * java/awt/datatransfer/MimeTypeParseException.java: New file from
16632         Classpath.
16633         * java/awt/datatransfer/StringSelection.java: New file from
16634         Classpath.
16635         * java/awt/datatransfer/SystemFlavorMap.java: New file from
16636         Classpath.
16637         * java/awt/datatransfer/Transferable.java: New file from
16638         Classpath.
16639         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
16640         from Classpath.
16641
16642         * Makefile.in: Rebuilt.
16643         * Makefile.am (awt_java_source_files): Added new files.
16644         * java/awt/image/AreaAveragingScaleFilter.java: New file from
16645         Classpath.
16646         * java/awt/image/CropImageFilter.java: New file from Classpath.
16647         * java/awt/image/FilteredImageSource.java: New file from
16648         Classpath.
16649         * java/awt/image/ImageFilter.java: New file from Classpath.
16650         * java/awt/image/MemoryImageSource.java: New file from Classpath.
16651         * java/awt/image/PixelGrabber.java: New file from Classpath.
16652         * java/awt/image/RGBImageFilter.java: New file from Classpath.
16653         * java/awt/image/ReplicateScaleFilter.java: New file from
16654         Classpath.
16655         * java/awt/image/ImageProducer.java: Replaced with Classpath
16656         version.
16657         * java/awt/image/ImageObserver.java: Replaced with Classpath
16658         version.
16659         * java/awt/image/ImageConsumer.java: Replaced with Classpath
16660         version.
16661         * java/awt/GridBagConstraints.java (clone): Catch
16662         CloneNotSupportedException.
16663
16664 2002-01-23  Per Bothner  <per@bothner.com>
16665
16666         * java/lang/reflect/natField.cc (setAddr):  New function.
16667         Calls getAddr and then checks that the field isn't final.
16668         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
16669         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
16670         (set):  Call setAddr before check that new value has right type,
16671         to better match specified semantics.
16672
16673 2002-01-22  Tom Tromey  <tromey@redhat.com>
16674
16675         * java/awt/TextField.java: Replaced with Classpath version.
16676         * java/awt/TextArea.java: Replaced with Classpath version.
16677         * java/awt/TextComponent.java: Replaced with Classpath version.
16678
16679         * java/awt/GridBagConstraints.java: Updated copyright.
16680
16681 2002-01-22  Mark Wielaard <mark@klomp.org>
16682
16683         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
16684         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
16685         java/awt/Dialog.java java/awt/FileDialog.java
16686         java/awt/Font.java java/awt/FontMetrics.java
16687         java/awt/Image.java java/awt/ImageMediaEntry.java
16688         java/awt/Insets.java java/awt/List.java
16689         java/awt/MediaEntry.java java/awt/MediaTracker.java
16690         java/awt/Menu.java java/awt/MenuBar.java
16691         java/awt/MenuContainer.java java/awt/MenuShortcut.java
16692         java/awt/PaintContext.java java/awt/Panel.java
16693         java/awt/PopupMenu.java java/awt/SystemColor.java
16694         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
16695         java/awt/peer/CheckboxMenuItemPeer.java
16696         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
16697         java/awt/peer/ComponentPeer.java
16698         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
16699         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
16700         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
16701         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
16702         java/awt/peer/MenuBarPeer.java
16703         java/awt/peer/MenuComponentPeer.java
16704         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
16705         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
16706         java/awt/peer/ScrollPanePeer.java
16707         java/awt/peer/ScrollbarPeer.java
16708         java/awt/peer/TextAreaPeer.java
16709         java/awt/peer/TextComponentPeer.java
16710         java/awt/peer/TextFieldPeer.java
16711         java/awt/peer/WindowPeer.java: Add license clarification.
16712
16713 2002-01-22  Mark Wielaard <mark@klomp.org>
16714
16715         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
16716         gnu/gcj/runtime/StringBuffer.java
16717         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
16718         gnu/java/awt/ComponentDataBlitOp.java
16719         gnu/java/awt/GLightweightPeer.java
16720         gnu/java/beans/BeanInfoEmbryo.java
16721         gnu/java/beans/EmptyBeanInfo.java
16722         gnu/java/beans/ExplicitBeanInfo.java
16723         gnu/java/beans/IntrospectionIncubator.java
16724         gnu/java/beans/editors/ColorEditor.java
16725         gnu/java/beans/editors/FontEditor.java
16726         gnu/java/beans/editors/NativeBooleanEditor.java
16727         gnu/java/beans/editors/NativeByteEditor.java
16728         gnu/java/beans/editors/NativeDoubleEditor.java
16729         gnu/java/beans/editors/NativeFloatEditor.java
16730         gnu/java/beans/editors/NativeIntEditor.java
16731         gnu/java/beans/editors/NativeLongEditor.java
16732         gnu/java/beans/editors/NativeShortEditor.java
16733         gnu/java/beans/editors/StringEditor.java
16734         gnu/java/beans/info/ComponentBeanInfo.java
16735         gnu/java/io/ClassLoaderObjectInputStream.java
16736         gnu/java/io/NullOutputStream.java
16737         gnu/java/io/ObjectIdentityWrapper.java
16738         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
16739         gnu/java/lang/reflect/TypeSignature.java
16740         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
16741         gnu/java/locale/Calendar_en.java
16742         gnu/java/locale/Calendar_nl.java
16743         gnu/java/locale/LocaleInformation.java
16744         gnu/java/locale/LocaleInformation_de.java
16745         gnu/java/locale/LocaleInformation_en.java
16746         gnu/java/locale/LocaleInformation_nl.java
16747         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
16748         gnu/java/rmi/registry/RegistryImpl.java
16749         gnu/java/rmi/rmic/Compile_gcj.java
16750         gnu/java/rmi/rmic/Compiler.java
16751         gnu/java/rmi/rmic/CompilerProcess.java
16752         gnu/java/rmi/rmic/RMIC.java
16753         gnu/java/rmi/rmic/TabbedWriter.java
16754         gnu/java/rmi/server/ProtocolConstants.java
16755         gnu/java/rmi/server/RMIDefaultSocketFactory.java
16756         gnu/java/rmi/server/RMIHashes.java
16757         gnu/java/rmi/server/RMIObjectInputStream.java
16758         gnu/java/rmi/server/RMIObjectOutputStream.java
16759         gnu/java/rmi/server/UnicastConnection.java
16760         gnu/java/rmi/server/UnicastConnectionManager.java
16761         gnu/java/rmi/server/UnicastRef.java
16762         gnu/java/rmi/server/UnicastRemoteCall.java
16763         gnu/java/rmi/server/UnicastRemoteStub.java
16764         gnu/java/rmi/server/UnicastServer.java
16765         gnu/java/rmi/server/UnicastServerRef.java
16766         gnu/java/security/provider/DefaultPolicy.java
16767         gnu/java/security/provider/Gnu.java
16768         gnu/java/security/provider/SHA.java
16769         gnu/java/security/provider/SHA1PRNG.java
16770         gnu/java/text/BaseBreakIterator.java
16771         gnu/java/text/CharacterBreakIterator.java
16772         gnu/java/text/LineBreakIterator.java
16773         gnu/java/text/SentenceBreakIterator.java
16774         gnu/java/text/WordBreakIterator.java
16775         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
16776         java/applet/AppletContext.java java/applet/AppletStub.java
16777         java/applet/AudioClip.java java/awt/AWTError.java
16778         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
16779         java/awt/AWTException.java java/awt/AWTPermission.java
16780         java/awt/ActiveEvent.java java/awt/BorderLayout.java
16781         java/awt/Button.java java/awt/Canvas.java
16782         java/awt/CardLayout.java java/awt/Checkbox.java
16783         java/awt/CheckboxGroup.java java/awt/Component.java
16784         java/awt/ComponentOrientation.java java/awt/Container.java
16785         java/awt/Dimension.java java/awt/Event.java
16786         java/awt/EventDispatchThread.java java/awt/EventQueue.java
16787         java/awt/FlowLayout.java java/awt/Frame.java
16788         java/awt/Graphics.java java/awt/Graphics2D.java
16789         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
16790         java/awt/IllegalComponentStateException.java
16791         java/awt/ItemSelectable.java java/awt/Label.java
16792         java/awt/LayoutManager.java java/awt/LayoutManager2.java
16793         java/awt/MenuComponent.java java/awt/MenuItem.java
16794         java/awt/Paint.java java/awt/Point.java
16795         java/awt/Rectangle.java java/awt/RenderingHints.java
16796         java/awt/Transparency.java java/awt/Window.java
16797         java/awt/color/ColorSpace.java
16798         java/awt/color/ICC_ColorSpace.java
16799         java/awt/color/ICC_Profile.java
16800         java/awt/event/HierarchyBoundsAdapter.java
16801         java/awt/event/HierarchyBoundsListener.java
16802         java/awt/event/HierarchyEvent.java
16803         java/awt/event/HierarchyListener.java
16804         java/awt/geom/AffineTransform.java
16805         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
16806         java/awt/geom/IllegalPathStateException.java
16807         java/awt/geom/Line2D.java
16808         java/awt/geom/NoninvertibleTransformException.java
16809         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
16810         java/awt/geom/Rectangle2D.java
16811         java/awt/geom/RectangularShape.java
16812         java/awt/geom/RoundRectangle2D.java
16813         java/awt/image/BufferedImage.java
16814         java/awt/image/ColorModel.java
16815         java/awt/image/ComponentColorModel.java
16816         java/awt/image/ComponentSampleModel.java
16817         java/awt/image/DataBuffer.java
16818         java/awt/image/DataBufferByte.java
16819         java/awt/image/DataBufferInt.java
16820         java/awt/image/DataBufferUShort.java
16821         java/awt/image/DirectColorModel.java
16822         java/awt/image/PackedColorModel.java
16823         java/awt/image/Raster.java java/awt/image/RasterOp.java
16824         java/awt/image/SampleModel.java
16825         java/awt/image/SinglePixelPackedSampleModel.java
16826         java/awt/image/WritableRaster.java
16827         java/beans/AppletInitializer.java
16828         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
16829         java/beans/Beans.java java/beans/Customizer.java
16830         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
16831         java/beans/FeatureDescriptor.java
16832         java/beans/IndexedPropertyDescriptor.java
16833         java/beans/IntrospectionException.java
16834         java/beans/Introspector.java java/beans/MethodDescriptor.java
16835         java/beans/ParameterDescriptor.java
16836         java/beans/PropertyChangeEvent.java
16837         java/beans/PropertyChangeListener.java
16838         java/beans/PropertyChangeSupport.java
16839         java/beans/PropertyDescriptor.java
16840         java/beans/PropertyEditor.java
16841         java/beans/PropertyEditorManager.java
16842         java/beans/PropertyEditorSupport.java
16843         java/beans/PropertyVetoException.java
16844         java/beans/SimpleBeanInfo.java
16845         java/beans/VetoableChangeListener.java
16846         java/beans/VetoableChangeSupport.java
16847         java/beans/Visibility.java
16848         java/beans/beancontext/BeanContext.java
16849         java/beans/beancontext/BeanContextChild.java
16850         java/beans/beancontext/BeanContextChildComponentProxy.java
16851         java/beans/beancontext/BeanContextChildSupport.java
16852         java/beans/beancontext/BeanContextContainerProxy.java
16853         java/beans/beancontext/BeanContextEvent.java
16854         java/beans/beancontext/BeanContextMembershipEvent.java
16855         java/beans/beancontext/BeanContextMembershipListener.java
16856         java/beans/beancontext/BeanContextProxy.java
16857         java/beans/beancontext/BeanContextServiceAvailableEvent.java
16858         java/beans/beancontext/BeanContextServiceProvider.java
16859         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
16860         java/beans/beancontext/BeanContextServiceRevokedEvent.java
16861         java/beans/beancontext/BeanContextServiceRevokedListener.java
16862         java/beans/beancontext/BeanContextServices.java
16863         java/beans/beancontext/BeanContextServicesListener.java
16864         java/io/BufferedInputStream.java
16865         java/io/BufferedOutputStream.java java/io/BufferedReader.java
16866         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
16867         java/io/ByteArrayOutputStream.java
16868         java/io/CharArrayReader.java java/io/CharArrayWriter.java
16869         java/io/CharConversionException.java java/io/DataInput.java
16870         java/io/DataInputStream.java java/io/DataOutput.java
16871         java/io/EOFException.java java/io/Externalizable.java
16872         java/io/FileFilter.java java/io/FileNotFoundException.java
16873         java/io/FilePermission.java java/io/FileReader.java
16874         java/io/FileWriter.java java/io/FilenameFilter.java
16875         java/io/FilterInputStream.java java/io/FilterOutputStream.java
16876         java/io/FilterReader.java java/io/FilterWriter.java
16877         java/io/IOException.java java/io/InputStream.java
16878         java/io/InterruptedIOException.java
16879         java/io/InvalidClassException.java
16880         java/io/InvalidObjectException.java
16881         java/io/NotActiveException.java
16882         java/io/NotSerializableException.java java/io/ObjectInput.java
16883         java/io/ObjectInputStream.java
16884         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
16885         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
16886         java/io/ObjectStreamConstants.java
16887         java/io/ObjectStreamException.java
16888         java/io/ObjectStreamField.java
16889         java/io/OptionalDataException.java java/io/OutputStream.java
16890         java/io/PipedInputStream.java java/io/PipedOutputStream.java
16891         java/io/PipedReader.java java/io/PipedWriter.java
16892         java/io/PrintWriter.java java/io/PushbackInputStream.java
16893         java/io/PushbackReader.java java/io/Reader.java
16894         java/io/SequenceInputStream.java java/io/Serializable.java
16895         java/io/SerializablePermission.java
16896         java/io/StreamCorruptedException.java
16897         java/io/StreamTokenizer.java
16898         java/io/StringBufferInputStream.java java/io/StringReader.java
16899         java/io/StringWriter.java java/io/SyncFailedException.java
16900         java/io/UTFDataFormatException.java
16901         java/io/UnsupportedEncodingException.java
16902         java/io/WriteAbortedException.java java/io/Writer.java
16903         java/lang/AbstractMethodError.java
16904         java/lang/ArithmeticException.java
16905         java/lang/ArrayIndexOutOfBoundsException.java
16906         java/lang/ArrayStoreException.java java/lang/Boolean.java
16907         java/lang/Byte.java java/lang/CharSequence.java
16908         java/lang/ClassCastException.java
16909         java/lang/ClassCircularityError.java
16910         java/lang/ClassFormatError.java
16911         java/lang/ClassNotFoundException.java
16912         java/lang/CloneNotSupportedException.java
16913         java/lang/Cloneable.java java/lang/Comparable.java
16914         java/lang/Compiler.java java/lang/Double.java
16915         java/lang/Error.java java/lang/Exception.java
16916         java/lang/ExceptionInInitializerError.java
16917         java/lang/Float.java java/lang/IllegalAccessError.java
16918         java/lang/IllegalAccessException.java
16919         java/lang/IllegalArgumentException.java
16920         java/lang/IllegalMonitorStateException.java
16921         java/lang/IllegalStateException.java
16922         java/lang/IllegalThreadStateException.java
16923         java/lang/IncompatibleClassChangeError.java
16924         java/lang/IndexOutOfBoundsException.java
16925         java/lang/InheritableThreadLocal.java
16926         java/lang/InstantiationError.java
16927         java/lang/InstantiationException.java java/lang/Integer.java
16928         java/lang/InternalError.java
16929         java/lang/InterruptedException.java
16930         java/lang/LinkageError.java java/lang/Long.java
16931         java/lang/NegativeArraySizeException.java
16932         java/lang/NoClassDefFoundError.java
16933         java/lang/NoSuchFieldError.java
16934         java/lang/NoSuchFieldException.java
16935         java/lang/NoSuchMethodError.java
16936         java/lang/NoSuchMethodException.java
16937         java/lang/NullPointerException.java java/lang/Number.java
16938         java/lang/NumberFormatException.java
16939         java/lang/OutOfMemoryError.java java/lang/Package.java
16940         java/lang/Process.java java/lang/Runnable.java
16941         java/lang/RuntimeException.java
16942         java/lang/RuntimePermission.java
16943         java/lang/SecurityException.java
16944         java/lang/SecurityManager.java java/lang/Short.java
16945         java/lang/StackOverflowError.java java/lang/StringBuffer.java
16946         java/lang/StringIndexOutOfBoundsException.java
16947         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
16948         java/lang/ThreadLocal.java java/lang/UnknownError.java
16949         java/lang/UnsatisfiedLinkError.java
16950         java/lang/UnsupportedClassVersionError.java
16951         java/lang/UnsupportedOperationException.java
16952         java/lang/VerifyError.java java/lang/VirtualMachineError.java
16953         java/lang/Void.java java/lang/ref/PhantomReference.java
16954         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
16955         java/lang/ref/SoftReference.java
16956         java/lang/ref/WeakReference.java
16957         java/lang/reflect/AccessibleObject.java
16958         java/lang/reflect/InvocationTargetException.java
16959         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
16960         java/lang/reflect/ReflectPermission.java
16961         java/math/BigDecimal.java java/math/BigInteger.java
16962         java/net/Authenticator.java java/net/BindException.java
16963         java/net/ConnectException.java java/net/ContentHandler.java
16964         java/net/ContentHandlerFactory.java
16965         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
16966         java/net/FileNameMap.java java/net/MalformedURLException.java
16967         java/net/MulticastSocket.java java/net/NetPermission.java
16968         java/net/NoRouteToHostException.java
16969         java/net/PasswordAuthentication.java
16970         java/net/ProtocolException.java java/net/ServerSocket.java
16971         java/net/Socket.java java/net/SocketException.java
16972         java/net/SocketImpl.java java/net/SocketImplFactory.java
16973         java/net/SocketOptions.java java/net/SocketPermission.java
16974         java/net/URLDecoder.java java/net/URLEncoder.java
16975         java/net/URLStreamHandlerFactory.java
16976         java/net/UnknownHostException.java
16977         java/net/UnknownServiceException.java
16978         java/rmi/AccessException.java
16979         java/rmi/AlreadyBoundException.java
16980         java/rmi/ConnectException.java
16981         java/rmi/ConnectIOException.java
16982         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
16983         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
16984         java/rmi/NotBoundException.java
16985         java/rmi/RMISecurityException.java
16986         java/rmi/RMISecurityManager.java java/rmi/Remote.java
16987         java/rmi/RemoteException.java java/rmi/ServerError.java
16988         java/rmi/ServerException.java
16989         java/rmi/ServerRuntimeException.java
16990         java/rmi/StubNotFoundException.java
16991         java/rmi/UnexpectedException.java
16992         java/rmi/UnknownHostException.java
16993         java/rmi/UnmarshalException.java
16994         java/rmi/activation/Activatable.java
16995         java/rmi/activation/ActivateFailedException.java
16996         java/rmi/activation/ActivationDesc.java
16997         java/rmi/activation/ActivationException.java
16998         java/rmi/activation/ActivationGroup.java
16999         java/rmi/activation/ActivationGroupDesc.java
17000         java/rmi/activation/ActivationGroupID.java
17001         java/rmi/activation/ActivationID.java
17002         java/rmi/activation/ActivationInstantiator.java
17003         java/rmi/activation/ActivationMonitor.java
17004         java/rmi/activation/ActivationSystem.java
17005         java/rmi/activation/Activator.java
17006         java/rmi/activation/UnknownGroupException.java
17007         java/rmi/activation/UnknownObjectException.java
17008         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
17009         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
17010         java/rmi/registry/Registry.java
17011         java/rmi/registry/RegistryHandler.java
17012         java/rmi/server/ExportException.java
17013         java/rmi/server/LoaderHandler.java
17014         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
17015         java/rmi/server/Operation.java
17016         java/rmi/server/RMIClassLoader.java
17017         java/rmi/server/RMIClientSocketFactory.java
17018         java/rmi/server/RMIFailureHandler.java
17019         java/rmi/server/RMIServerSocketFactory.java
17020         java/rmi/server/RMISocketFactory.java
17021         java/rmi/server/RemoteCall.java
17022         java/rmi/server/RemoteObject.java
17023         java/rmi/server/RemoteRef.java
17024         java/rmi/server/RemoteServer.java
17025         java/rmi/server/RemoteStub.java
17026         java/rmi/server/ServerCloneException.java
17027         java/rmi/server/ServerNotActiveException.java
17028         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
17029         java/rmi/server/SkeletonMismatchException.java
17030         java/rmi/server/SkeletonNotFoundException.java
17031         java/rmi/server/SocketSecurityException.java
17032         java/rmi/server/UID.java
17033         java/rmi/server/UnicastRemoteObject.java
17034         java/rmi/server/Unreferenced.java
17035         java/security/AccessControlContext.java
17036         java/security/AccessControlException.java
17037         java/security/AccessController.java
17038         java/security/AlgorithmParameterGenerator.java
17039         java/security/AlgorithmParameterGeneratorSpi.java
17040         java/security/AlgorithmParameters.java
17041         java/security/AlgorithmParametersSpi.java
17042         java/security/AllPermission.java
17043         java/security/BasicPermission.java
17044         java/security/Certificate.java java/security/CodeSource.java
17045         java/security/DigestException.java
17046         java/security/DigestInputStream.java
17047         java/security/DigestOutputStream.java
17048         java/security/DomainCombiner.java
17049         java/security/DummyKeyPairGenerator.java
17050         java/security/DummyMessageDigest.java
17051         java/security/DummySignature.java
17052         java/security/GeneralSecurityException.java
17053         java/security/Guard.java java/security/GuardedObject.java
17054         java/security/Identity.java java/security/IdentityScope.java
17055         java/security/InvalidAlgorithmParameterException.java
17056         java/security/InvalidKeyException.java
17057         java/security/InvalidParameterException.java
17058         java/security/Key.java java/security/KeyException.java
17059         java/security/KeyFactory.java java/security/KeyFactorySpi.java
17060         java/security/KeyManagementException.java
17061         java/security/KeyPair.java java/security/KeyPairGenerator.java
17062         java/security/KeyPairGeneratorSpi.java
17063         java/security/KeyStore.java
17064         java/security/KeyStoreException.java
17065         java/security/KeyStoreSpi.java
17066         java/security/MessageDigest.java
17067         java/security/MessageDigestSpi.java
17068         java/security/NoSuchAlgorithmException.java
17069         java/security/NoSuchProviderException.java
17070         java/security/Permission.java
17071         java/security/PermissionCollection.java
17072         java/security/Permissions.java java/security/Policy.java
17073         java/security/Principal.java java/security/PrivateKey.java
17074         java/security/PrivilegedAction.java
17075         java/security/PrivilegedActionException.java
17076         java/security/PrivilegedExceptionAction.java
17077         java/security/ProtectionDomain.java
17078         java/security/Provider.java
17079         java/security/ProviderException.java
17080         java/security/PublicKey.java
17081         java/security/SecureClassLoader.java
17082         java/security/SecureRandom.java
17083         java/security/SecureRandomSpi.java java/security/Security.java
17084         java/security/SecurityPermission.java
17085         java/security/Signature.java
17086         java/security/SignatureException.java
17087         java/security/SignatureSpi.java
17088         java/security/SignedObject.java java/security/Signer.java
17089         java/security/UnrecoverableKeyException.java
17090         java/security/UnresolvedPermission.java
17091         java/security/acl/Acl.java java/security/acl/AclEntry.java
17092         java/security/acl/AclNotFoundException.java
17093         java/security/acl/Group.java
17094         java/security/acl/LastOwnerException.java
17095         java/security/acl/NotOwnerException.java
17096         java/security/acl/Owner.java java/security/acl/Permission.java
17097         java/security/cert/CRL.java
17098         java/security/cert/CRLException.java
17099         java/security/cert/Certificate.java
17100         java/security/cert/CertificateEncodingException.java
17101         java/security/cert/CertificateException.java
17102         java/security/cert/CertificateExpiredException.java
17103         java/security/cert/CertificateFactory.java
17104         java/security/cert/CertificateFactorySpi.java
17105         java/security/cert/CertificateNotYetValidException.java
17106         java/security/cert/CertificateParsingException.java
17107         java/security/cert/X509CRL.java
17108         java/security/cert/X509CRLEntry.java
17109         java/security/cert/X509Certificate.java
17110         java/security/cert/X509Extension.java
17111         java/security/interfaces/DSAKey.java
17112         java/security/interfaces/DSAKeyPairGenerator.java
17113         java/security/interfaces/DSAParams.java
17114         java/security/interfaces/DSAPrivateKey.java
17115         java/security/interfaces/DSAPublicKey.java
17116         java/security/interfaces/RSAKey.java
17117         java/security/interfaces/RSAPrivateCrtKey.java
17118         java/security/interfaces/RSAPrivateKey.java
17119         java/security/interfaces/RSAPublicKey.java
17120         java/security/spec/AlgorithmParameterSpec.java
17121         java/security/spec/DSAParameterSpec.java
17122         java/security/spec/DSAPrivateKeySpec.java
17123         java/security/spec/DSAPublicKeySpec.java
17124         java/security/spec/EncodedKeySpec.java
17125         java/security/spec/InvalidKeySpecException.java
17126         java/security/spec/InvalidParameterSpecException.java
17127         java/security/spec/KeySpec.java
17128         java/security/spec/PKCS8EncodedKeySpec.java
17129         java/security/spec/RSAKeyGenParameterSpec.java
17130         java/security/spec/RSAPrivateCrtKeySpec.java
17131         java/security/spec/RSAPrivateKeySpec.java
17132         java/security/spec/RSAPublicKeySpec.java
17133         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
17134         java/sql/BatchUpdateException.java java/sql/Blob.java
17135         java/sql/CallableStatement.java java/sql/Clob.java
17136         java/sql/Connection.java java/sql/DataTruncation.java
17137         java/sql/DatabaseMetaData.java java/sql/Date.java
17138         java/sql/Driver.java java/sql/DriverManager.java
17139         java/sql/DriverPropertyInfo.java
17140         java/sql/PreparedStatement.java java/sql/Ref.java
17141         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
17142         java/sql/SQLData.java java/sql/SQLException.java
17143         java/sql/SQLInput.java java/sql/SQLOutput.java
17144         java/sql/SQLWarning.java java/sql/Statement.java
17145         java/sql/Struct.java java/sql/Time.java
17146         java/sql/Timestamp.java java/sql/Types.java
17147         java/text/Annotation.java
17148         java/text/AttributedCharacterIterator.java
17149         java/text/AttributedString.java
17150         java/text/AttributedStringIterator.java
17151         java/text/BreakIterator.java java/text/CharacterIterator.java
17152         java/text/ChoiceFormat.java java/text/Collator.java
17153         java/text/DateFormat.java java/text/DateFormatSymbols.java
17154         java/text/DecimalFormat.java
17155         java/text/DecimalFormatSymbols.java
17156         java/text/FieldPosition.java java/text/Format.java
17157         java/text/MessageFormat.java java/text/NumberFormat.java
17158         java/text/ParseException.java java/text/ParsePosition.java
17159         java/text/SimpleDateFormat.java
17160         java/text/StringCharacterIterator.java
17161         java/util/AbstractCollection.java java/util/AbstractList.java
17162         java/util/AbstractMap.java
17163         java/util/AbstractSequentialList.java
17164         java/util/AbstractSet.java java/util/ArrayList.java
17165         java/util/Arrays.java java/util/BasicMapEntry.java
17166         java/util/BitSet.java java/util/Calendar.java
17167         java/util/Collection.java java/util/Collections.java
17168         java/util/Comparator.java
17169         java/util/ConcurrentModificationException.java
17170         java/util/Date.java java/util/Dictionary.java
17171         java/util/EmptyStackException.java java/util/Enumeration.java
17172         java/util/EventListener.java java/util/EventObject.java
17173         java/util/GregorianCalendar.java java/util/HashMap.java
17174         java/util/HashSet.java java/util/Hashtable.java
17175         java/util/IdentityHashMap.java java/util/Iterator.java
17176         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
17177         java/util/LinkedList.java java/util/List.java
17178         java/util/ListIterator.java java/util/ListResourceBundle.java
17179         java/util/Locale.java java/util/Map.java
17180         java/util/MissingResourceException.java
17181         java/util/NoSuchElementException.java
17182         java/util/Observable.java java/util/Observer.java
17183         java/util/Properties.java java/util/PropertyPermission.java
17184         java/util/PropertyResourceBundle.java java/util/Random.java
17185         java/util/RandomAccess.java java/util/ResourceBundle.java
17186         java/util/Set.java java/util/SimpleTimeZone.java
17187         java/util/SortedMap.java java/util/SortedSet.java
17188         java/util/Stack.java java/util/StringTokenizer.java
17189         java/util/TimeZone.java java/util/Timer.java
17190         java/util/TimerTask.java
17191         java/util/TooManyListenersException.java
17192         java/util/TreeMap.java java/util/TreeSet.java
17193         java/util/Vector.java java/util/WeakHashMap.java
17194         java/util/jar/Attributes.java java/util/jar/JarEntry.java
17195         java/util/jar/JarException.java java/util/jar/JarFile.java
17196         java/util/jar/JarInputStream.java
17197         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
17198         java/util/zip/Adler32.java java/util/zip/CRC32.java
17199         java/util/zip/CheckedInputStream.java
17200         java/util/zip/CheckedOutputStream.java
17201         java/util/zip/Checksum.java
17202         java/util/zip/DataFormatException.java
17203         java/util/zip/Deflater.java
17204         java/util/zip/DeflaterOutputStream.java
17205         java/util/zip/GZIPInputStream.java
17206         java/util/zip/GZIPOutputStream.java
17207         java/util/zip/Inflater.java
17208         java/util/zip/InflaterInputStream.java
17209         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
17210         java/util/zip/ZipException.java java/util/zip/ZipFile.java
17211         java/util/zip/ZipInputStream.java
17212         java/util/zip/ZipOutputStream.java
17213         javax/naming/BinaryRefAddr.java
17214         javax/naming/InvalidNameException.java javax/naming/Name.java
17215         javax/naming/NamingException.java javax/naming/RefAddr.java
17216         javax/naming/StringRefAddr.java: Add license clarification.
17217
17218 2002-01-22  Tom Tromey  <tromey@redhat.com>
17219
17220         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
17221         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
17222         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
17223         version.
17224         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
17225         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
17226         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
17227         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
17228         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
17229         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
17230         * java/awt/peer/FontPeer.java: Replace with Classpath version.
17231         * java/awt/peer/FramePeer.java: Replace with Classpath version.
17232         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
17233         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
17234         * java/awt/peer/ListPeer.java: Replace with Classpath version.
17235         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
17236         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
17237         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
17238         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
17239         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
17240         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
17241         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
17242         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
17243         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
17244         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
17245         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
17246         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
17247         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
17248         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
17249         (minimumSize, preferredSize, reshape): Likewise.
17250         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
17251         getColorModel): New methods.
17252         * java/awt/PopupMenu.java: Merged with Classpath.
17253         * java/awt/MenuBar.java: Merged with Classpath.
17254         * java/awt/SystemColor.java: Replace with Classpath version.
17255         * java/awt/Panel.java: Merged with Classpath.
17256         * java/awt/PaintContext.java: Updated copyright.
17257         * java/awt/MenuShortcut.java: Merged with Classpath.
17258         * java/awt/MenuContainer.java: Merged with Classpath.
17259         * java/awt/Menu.java: Merged with Classpath.
17260         * java/awt/MediaEntry.java: New file from Classpath.
17261         * java/awt/MediaTracker.java: New file from Classpath.
17262         * java/awt/List.java: Merged with Classpath version.
17263         * java/awt/Insets.java: Merged with Classpath version.
17264         * java/awt/ImageMediaEntry.java: New file from Classpath.
17265         * java/awt/Image.java: Replaced with Classpath version.
17266         * java/awt/FontMetrics.java: Merged with Classpath version.
17267         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
17268         constant.
17269         * java/awt/Font.java: Merged with Classpath version.
17270         * java/awt/Dialog.java: Merged with Classpath version.
17271         * java/awt/Color.java: Merged with Classpath version.
17272         * java/awt/Choice.java: Merged with Classpath version.
17273         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
17274         * java/awt/Adjustable.java: Replace with Classpath version.
17275         * java/awt/MenuItem.java (paramString): Don't include class name
17276         or brackets.  Call superclass paramString.
17277         * java/awt/MenuComponent.java (toString): Call paramString.
17278         (paramString): Compute string; don't call toString.
17279         * java/awt/Label.java (paramString): Don't include class name
17280         or brackets.  Call superclass paramString.
17281         * java/awt/Checkbox.java (paramString): Don't include class name
17282         or brackets.  Call superclass paramString.
17283         * java/awt/Button.java (paramString): Don't include class name or
17284         brackets.  Call superclass paramString.
17285         * java/awt/MenuComponent.java (getTreeLock): Now protected.
17286
17287 2002-01-20  Andreas Schwab  <schwab@suse.de>
17288
17289         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
17290         function and of parameter recv_func to ssize_t, as specified by
17291         POSIX.
17292
17293 2002-01-19  Per Bothner  <per@bothner.com>
17294
17295         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
17296         uncompressed_size in readiness for next entry.
17297
17298 2002-01-18  Tom Tromey  <tromey@redhat.com>
17299
17300         * java/net/natPlainSocketImpl.cc: Include
17301         IllegalArgumentException.h.
17302         (_Jv_recv): New template function.
17303         (BooleanClass): Removed.
17304         (read): Use _Jv_recv.
17305         (setOption): Use Boolean::class$.  Throw exception if object is
17306         not Boolean or Integer.
17307
17308 2002-01-17  Tom Tromey  <tromey@redhat.com>
17309
17310         * java/awt/MenuComponent.java: Merged with Classpath.
17311         * java/awt/MenuItem.java: Merged with Classpath.
17312         * java/awt/Button.java: Merged with Classpath.
17313
17314         * java/awt/ActiveEvent.java: Updated copyright.
17315
17316         * java/awt/AWTError.java: Replaced with Classpath version.
17317         * java/awt/AWTException.java: Replaced with Classpath version.
17318         * java/awt/IllegalComponentStateException.java: Replaced with
17319         Classpath version.
17320
17321 2002-01-16  Tom Tromey  <tromey@redhat.com>
17322
17323         * java/awt/Canvas.java (serialVersionUID): New constant.
17324         Updated copyright.  Added javadoc from Classpath.
17325         * java/awt/ItemSelectable.java: Replaced with Classpath version.
17326
17327         * java/awt/CheckboxGroup.java: Merged with Classpath.
17328         * java/awt/Checkbox.java: Merged with Classpath.
17329
17330         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
17331         Classpath.
17332         * java/awt/Point.java: Updated copyright.
17333
17334         * java/awt/Point.java (toString): Use getClass().getName().
17335         Added javadoc.
17336
17337         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
17338         commented code.
17339         (hash): Correctly compute initial value for `h'.
17340
17341         * java/awt/Label.java: Merged with Classpath.
17342
17343 2002-01-15  Tom Tromey  <tromey@redhat.com>
17344
17345         * java/awt/AWTPermission.java: Updated copyright.
17346
17347         * java/awt/LayoutManager2.java: Merged with Classpath.
17348         * java/awt/LayoutManager.java: Merged with Classpath.
17349         * java/awt/GridLayout.java: Updated copyright and javadoc.
17350         (getSize): Use `parent.ncomponents'.  Handle insets.
17351         (layoutContainer): Use `parent.ncomponents'.  Handle case where
17352         there are fewer children than columns.  Correctly compute size of
17353         each cell in the grid.  Handle case where there isn't enough
17354         space.
17355         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
17356         all users.
17357         (gotoComponent): Use parent.ncomponents.  Ensure child exists
17358         before calling setVisible() on it.  Last item is `num - 1', not
17359         `num'.
17360         (layoutContainer): Hoist invariants out of loop.
17361
17362         Start of AWT merge with Classpath:
17363         * Makefile.in: Rebuilt.
17364         * Makefile.am (awt_java_source_files): Reference files in
17365         gnu/java/awt, not gnu/gcj/awt.
17366         * java/awt/image/BufferedImage.java: Updated copyright.
17367         * java/awt/image/ComponentColorModel.java: Updated copyright.
17368         * java/awt/image/ComponentSampleModel.java: Updated copyright.
17369         * java/awt/image/DataBuffer.java: Updated copyright.
17370         * java/awt/image/DataBufferByte.java: Updated copyright.
17371         * java/awt/image/DataBufferInt.java: Updated copyright.
17372         * java/awt/image/DataBufferUShort.java: Updated copyright.
17373         * java/awt/image/IndexColorModel.java: Updated copyright.
17374         * java/awt/image/PackedColorModel.java: Updated copyright.
17375         * java/awt/image/Raster.java: Updated copyright.
17376         * java/awt/image/RasterOp.java: Updated copyright.
17377         * java/awt/image/SampleModel.java: Updated copyright.
17378         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
17379         * java/awt/image/WritableRaster.java: Updated copyright.
17380         * java/awt/color/ColorSpace.java: Updated copyright.
17381         * java/awt/color/ICC_ColorSpace.java: Updated copyright
17382         * java/awt/color/ICC_Profile.java: Updated copyright.
17383         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
17384         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
17385         * java/awt/event/HierarchyEvent.java: Updated copyright.
17386         * java/awt/event/HierarchyListener.java: Updated copyright.
17387         * java/awt/geom/AffineTransform.java: Updated copyright.
17388         * java/awt/geom/Dimension2D.java: Updated copyright.
17389         * java/awt/geom/Ellipse2D.java: Updated copyright.
17390         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
17391         * java/awt/geom/Line2D.java: Updated copyright.
17392         * java/awt/geom/NoninvertibleTransformException.java: Updated
17393         copyright.
17394         * java/awt/geom/PathIterator.java: Updated copyright.
17395         * java/awt/geom/Point2D.java: Updated copyright.
17396         * java/awt/geom/Rectangle2D.java: Updated copyright.
17397         * java/awt/geom/RectangularShape.java: Updated copyright.
17398         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
17399         * java/awt/Toolkit.java: Updated import for file moves.
17400         * java/awt/Rectangle.java: Updated copyright; added javadoc from
17401         Classpath.
17402         (hashCode): New method from Classpath.
17403         * java/awt/Graphics2D.java: Updated copyright.
17404         * java/awt/Transparency.java: Updated copyright.
17405         * java/awt/Paint.java: Updated copyright.
17406         * java/awt/Graphics.java: New version from Classpath.
17407         * java/awt/EventDispatchThread.java: Updated copyright.
17408         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
17409         children.
17410         (gotoComponent): Wrap around on next/previous.
17411         * gnu/gcj/awt/BitMaskExtent.java: Removed.
17412         * gnu/gcj/awt/Buffers.java: Removed.
17413         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
17414         * gnu/gcj/awt/GLightweightPeer.java: Removed.
17415         * gnu/java/awt/BitMaskExtent.java: Added.
17416         * gnu/java/awt/Buffers.java: Added.
17417         * gnu/java/awt/ComponentDataBlitOp.java: Added.
17418         * gnu/java/awt/GLightweightPeer.java: Added.
17419         * java/awt/geom/Line2D.java (clone): Ignore
17420         CloneNotSupportedException.
17421         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
17422         * java/awt/Frame.java: Merged with Classpath.
17423         * java/awt/RenderingHints.java: Copyright update.
17424         * java/awt/Paint.java: Copyright update.
17425         * java/awt/image/DirectColorModel.java: Merged with Classpath.
17426         * java/awt/image/ColorModel.java: Merged with Classpath.
17427         * java/awt/Window.java (show): New Implementation from Classpath.
17428         (isShowing): Use super.isShowing().
17429         * java/awt/EventQueue.java: Merged with Classpath.
17430         * java/awt/AWTEventMulticaster.java (save): Throw
17431         RuntimeException.
17432         (saveInternal): Likewise.
17433         * java/awt/AWTEvent.java: Now implements Serializable.
17434         * java/awt/Event.java: Copyright update.
17435         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
17436         * java/awt/image/BufferedImage.java: Copyright update.
17437         * java/awt/GraphicsConfiguration.java: Copyright update.
17438         * java/awt/Component.java: (addNotify): Don't call
17439         addNotifyContainerChildren().
17440         (addNotifyContainerChildren): Removed.
17441         (setPeer): New method from Classpath.
17442         (setTreeLock): Likewise.
17443         (setVisible): Rewrote.
17444         (show): Use it.
17445         (hide): Likewise.
17446         (validate): Set `valid'.
17447         (checkImage(Image,ImageObserver)): Implementation from Classpath.
17448         (createImage(ImageProducer)): Likewise.
17449         (prepareImage): Likewise.
17450         * java/awt/Container.java (addImpl): Handle case where constraint
17451         is not a String.  Post event via system event queue.
17452         (remove): Post event via system event queue.
17453         (validateTree): Only validate child if it is invalid.
17454         (getAlignmentX): Call super method as default.
17455         (getAlignmentY): Likewise.
17456         (addContainerListener): Now synchronized.
17457         (removeContainerListener): Likewise.
17458         (addNotifyContainerChildren): Now private.
17459         * java/awt/ComponentOrientation.java: Updated copyright.  Added
17460         @author.
17461         * java/awt/FlowLayout.java (serialVersionUID): New field.
17462         (setAlignment): Better exception message.
17463         (layoutContainer): Don't compute component's preferred size unless
17464         we're going to use it.
17465         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
17466         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
17467         (firstLine, lastLine, firstItem, lastItem): New fields.
17468         (addLayoutComponent): Handle case where constraints is null.
17469         Also, handle relative locations.
17470         (removeLayoutComponent): Handle relative locations.
17471         (MIN, MAX, PREF): New constants.
17472         (calcCompSize): New method.
17473         (calcSize): New method.
17474         (minimumLayoutSize): Use it.
17475         (preferredLayoutSize): Likewise.
17476         (maximumLayoutSize): Likewise.
17477         (toString): Include more information.
17478         (setBounds): New method.
17479         (layoutContainer): Use libgcj implementation; extended to handle
17480         relative locations.
17481
17482 2002-01-15  Tom Tromey  <tromey@redhat.com>
17483
17484         * java/lang/Float.java (equals): Preserve old code.
17485         * java/lang/Double.java (equals): Preserve old code.
17486
17487 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
17488
17489         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
17490         * java/lang/Float.java (equals, compare): Ditto.
17491
17492 2002-01-13  Mark Wielaard  <mark@klomp.org>
17493
17494         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
17495         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
17496         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
17497         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
17498
17499 2002-01-11  Mark Wielaard  <mark@klomp.org>
17500
17501         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
17502         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
17503         InetAddress.
17504         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
17505         * java/net/Socket.java: Merge with Classpath.
17506         * java/net/ServerSocket.java: Likewise.
17507
17508 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
17509
17510         * interpret.cc (NULLARRAYCHECK): New macro.
17511         (SAVE_PC): Just store `pc'.
17512         (find_exception): Subtract one from `pc' here.
17513         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17514         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17515         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17516         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
17517         don't call SAVE_PC.
17518         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
17519         call SAVE_PC.
17520
17521 2002-01-11  Tom Tromey  <tromey@redhat.com>
17522
17523         * java/lang/natSystem.cc (init_properties): Only look for default
17524         locale if LC_MESSAGES is defined.
17525         * aclocal.m4, configure, include/config.h.in: Rebuilt.
17526         * configure.in: Call AM_LC_MESSAGES.
17527         * acinclude.m4 (AM_LC_MESSAGES): New macro.
17528
17529 2002-01-10  Tom Tromey  <tromey@redhat.com>
17530
17531         For PR libgcj/5303:
17532         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
17533         --version.  Recognize GNU-style long options.  Print GNU-style
17534         error messages.
17535         (usage): Print GNU-style help.  Exit with status 0.
17536         (error): New method.
17537         (run): Print error message if no class names found.
17538         (main): Don't print usage on error.
17539
17540 2002-01-09  Tom Tromey  <tromey@redhat.com>
17541
17542         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
17543         property.
17544         (help, version): Use println(), not println("").
17545
17546         For PR libgcj/5303:
17547         * gnu/gcj/convert/Convert.java (error): Program is called
17548         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
17549         -1.
17550         (main): Handle --help and --version.
17551         (help): New method.
17552         (version): Likewise.
17553
17554 2002-01-08  Tom Tromey  <tromey@redhat.com>
17555
17556         * Makefile.in: Rebuilt.
17557         * Makefile.am (ordinary_java_source_files): Added new files.
17558         * gnu/java/locale/LocaleInformation.java: Extend
17559         LocaleInformation_en.
17560         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
17561         and time/date formats.
17562         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
17563         generated.
17564         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
17565         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
17566         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
17567         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
17568         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
17569         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
17570         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
17571         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
17572         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
17573         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
17574         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
17575         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
17576         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
17577         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
17578         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
17579         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
17580         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
17581         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
17582         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
17583         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
17584         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
17585         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
17586         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
17587         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
17588         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
17589         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
17590         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
17591         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
17592         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
17593         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
17594         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
17595         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
17596         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
17597         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
17598         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
17599         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
17600         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
17601         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
17602         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
17603         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
17604         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
17605         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
17606         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
17607         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
17608         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
17609         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
17610         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
17611         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
17612         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
17613         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
17614         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
17615         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
17616         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
17617         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
17618         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
17619         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
17620         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
17621         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
17622         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
17623         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
17624         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
17625         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
17626         * gnu/java/locale/LocaleInformation_es_US.java: New file.
17627         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
17628         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
17629         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
17630         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
17631         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
17632         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
17633         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
17634         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
17635         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
17636         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
17637         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
17638         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
17639         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
17640         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
17641         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
17642         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
17643         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
17644         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
17645         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
17646         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
17647         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
17648         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
17649         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
17650         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
17651         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
17652         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
17653         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
17654         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
17655         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
17656         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
17657         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
17658         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
17659         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
17660         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
17661         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
17662         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
17663         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
17664         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
17665         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
17666         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
17667         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
17668         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
17669         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
17670         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
17671         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
17672         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
17673         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
17674         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
17675         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
17676         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
17677         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
17678         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
17679         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
17680         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
17681         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
17682         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
17683         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
17684         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
17685         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
17686         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
17687         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
17688         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
17689         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
17690         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
17691         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
17692         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
17693         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
17694
17695         For PR libgcj/5031:
17696         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
17697         choose default locale.
17698
17699         * Makefile.in: Rebuilt.
17700         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
17701
17702 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
17703
17704         * java/net/natPlainSocketImpl.cc: Added timeout handling for
17705         sockets.
17706         (close): New function closes the socket.
17707         (write): New functions for output to socket.
17708         (read): New functions for reading from socket.
17709         * java/net/PlainSocketImpl.java: Glue for new timeout
17710         implementation.
17711         (write): Call the native impl.
17712         (read): Likewise.
17713         (getInputStream): Get a stream to read from the socket.
17714         (getOutputStream): Get a stream to write to the socket.
17715
17716 2002-01-08  Tom Tromey  <tromey@redhat.com>
17717
17718         * resolve.cc (_Jv_PrepareClass): Enable verifier.
17719
17720 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
17721
17722         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
17723         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
17724
17725 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
17726
17727         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
17728         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17729         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17730         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17731         insn_bastore, insn_castore, insn_sastore]: Use it.
17732         (continue1) [insn_arraylength]: Check for null array.
17733
17734 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
17735
17736         * configure, include/config.h.in: Rebuilt.
17737         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
17738         * configure.in: Call AC_STRUCT_TIMEZONE.
17739
17740 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
17741
17742         * configure.host: Disable the interpreter for Darwin.
17743
17744 2002-01-04  Tom Tromey  <tromey@redhat.com>
17745
17746         * java/lang/Thread.java (stop): No longer synchronized.
17747         (start): Likewise.
17748
17749 2002-01-02  Tom Tromey  <tromey@redhat.com>
17750
17751         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
17752         patch.
17753
17754 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
17755
17756         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
17757         PPC Darwin, not for all of Darwin.