OSDN Git Service

f8eadf9256447d64730352fa7b2f9677fa93449b
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
2
3         Thanks to Brian Gough <bjg@network-theory.com>
4         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
5         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
6
7 2004-01-04  Matthias Klose  <doko@debian.org>
8
9         * aclocal.m4: Rebuilt using "aclocal -I .".
10         * configure: Rebuilt.
11
12 2004-01-03  Per Bothner  <per@bothner.com>
13
14         * java/util/Date.java (parse):  Fix a number of problems.
15         (skipParens):  Remove no-longer-needed method.
16
17 2003-12-31  Michael Koch  <konqueror@gmx.de>
18
19         * gnu/java/net/protocol/http/Connection.java
20         (sendRequest): Dont encode output in default character encoding,
21         add correct version number to HTTP user agent string.
22
23 2003-12-31  Guilhem Lavaux  <guilhem@kaffe.org>
24
25         * java/io/ObjectOutputStream.java
26         (putFields): Reindented. Fixed behaviour: currentPutField should be
27         null
28         before calling this method.
29         (writeFields): Likewise.
30         (markFieldsWritten): Fixed the exception message.
31         (callWriteMethod): Ensure currentPutField is null.
32         (getBooleanField): Translate IllegalArgumentException into
33         InvalidClassException.
34         (getByteField): Likewise.
35         (getCharField): Likewise.
36         (getDoubleField): Likewise.
37         (getFloatField): Likewise.
38         (getIntField): Likewise.
39         (getLongField): Likewise.
40         (getShortField): Likewise.
41         (getObjectField): Check the type code before returning the object.
42         (getField): Translate NoSuchFieldException into InvalidClassException
43         directly.
44
45 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
46
47         * java/net/URL.java
48         (URL): Change context path to "/" if it is empty.
49
50 2003-12-31  Michael Koch  <konqueror@gmx.de>
51
52         * testsuite/libjava.mauve/xfails: Removed tests that pass now:
53         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
54         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
55         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
56         (number 26)
57         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
58         (number 54)
59         
60
61 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
62
63         * java/util/GregorianCalendar.java
64         (computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>.
65         Fixed the computation of DAY_OF_WEEK_IN_MONTH.
66         (computeTime): 12:00 midnight is AM and 12:00 noon is PM.
67
68 2003-12-30  Michael Koch  <konqueror@gmx.de>
69
70         * testsuite/libjava.mauve/xfails: Removed the following testcase
71         because it passes now:
72         FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict
73         (number 1)
74
75 2003-12-30  Michael Koch  <konqueror@gmx.de>
76
77         * java/io/ObjectInputStream.java,
78         java/io/ObjectOutputStream.java,
79         java/io/ObjectStreamClass.java:
80         Reformated, no functional code changes.
81
82 2003-12-30  Michael Koch  <konqueror@gmx.de>
83
84         * gnu/java/net/protocol/http/Connection.java
85         (outputStream): New field.
86         (bufferedOutputStream): New field.
87         (connect): Initialize outputStream and bufferedOutputStream.
88         (sendRequest): Create PrintWriter object from outputStream,
89         support HTTP 1.1, send missing HTTP headers and buffered output data
90         for POST method.
91         (getOutputStream): Set request method to POST if output stream is
92         used, return bufferedOutputStream.
93         (setRequestMethod): Allow HEAD and POST methods.
94         This fixes libgcj PR/6302 and libgcj PR/7752.
95
96 2003-12-30  Guilhem Lavaux <guilhem@kaffe.org>
97
98         * java/io/LineNumberReader.java
99         (countLines): Removed.
100         (fill): New private method.
101         (mark): Changed logic to use and matchedNewLine.
102         (reset): Likewise.
103         (read): Likewise.
104         (skipRedundantLF): Likewise.
105
106 2003-12-30  Michael Koch  <konqueror@gmx.de>
107
108         * gnu/java/net/protocol/http/Connection.java
109         (requestProperties): New field.
110         (addRequestProperty): New method.
111         (getRequestProperty): New method.
112         (setRequestProperty): New method.
113         (getRequestProperties): New method.
114
115 2003-12-28  Michael Koch  <konqueror@gmx.de>
116
117         * gnu/java/net/protocol/http/Connection.java
118         (inputStream): Made it a DataInputStream.
119         (requestProperties): Removed.
120         (hdrHash): Removed.
121         (hdrVec): Removed.
122         (headers): New field to store headers.
123         (connect): Initialize inputStream.
124         (receiveReply): Merged from classpath. The new algorithm is line based
125         instead of character based.
126         (getHeaderField): Use headers.
127         (getHeaderFields): Use headers.
128         (getKey): Removed.
129         (getField): Removed.
130         * gnu/java/net/HeaderFieldHelper.java: New file.
131         * Makefile.am (ordinary_java_source_files):
132         Added gnu/java/net/HeaderFieldHelper.java.
133         * Makefile.in: Regenerated.
134
135 2003-12-28  Guilhem Lavaux <guilhem@kaffe.org>
136
137         * java/io/LineNumberReader.java
138         (mark): Improved error checking.
139         (read): Likewise.
140         (skip): Likewise. Skip is now really eating the specified number of
141         characters.
142         * java/io/CharArrayReader.java (read): It should throw
143         IndexOutOfBoundsException and not ArrayIndexOutOfBoundsException (see
144         mauve).
145         * java/io/BufferedReader.java (readLine): Make readLine() really block
146         until either EOF is reached or a true error happens.
147
148 2003-12-27  Michael Koch  <konqueror@gmx.de>
149
150         * gnu/java/net/protocol/http/Connection.java
151         (getRequestProperty): Removed.
152         (setRequestProperty): Removed.
153
154 2003-12-27  Michael Koch  <konqueror@gmx.de>
155
156         * gnu/java/net/protocol/http/Connection.java
157         (connect): Call receiveReply().
158         (receiveReply): Renamed from getHttpHeaders().
159         (getOutputStream): Moved check on doOutput before check for connection
160         state.
161
162 2003-12-27  Michael Koch  <konqueror@gmx.de>
163
164         * javax/print/attribute/ResolutionSyntax.java,
165         javax/print/attribute/SetOfIntegerSyntax.java,
166         javax/print/attribute/Size2DSyntax.java,
167         javax/print/attribute/standard/Copies.java,
168         javax/print/attribute/standard/JobImpressions.java,
169         javax/print/attribute/standard/JobMediaSheets.java,
170         javax/print/attribute/standard/NumberOfDocuments.java,
171         javax/print/attribute/standard/NumberOfInterveningJobs.java,
172         javax/print/attribute/standard/PagesPerMinute.java,
173         javax/print/attribute/standard/PagesPerMinuteColor.java,
174         javax/print/attribute/standard/QueuedJobCount.java:
175         Fixed typo (s/then/than/).
176
177 2003-12-27  Guilhem Lavaux  <guilhem@kaffe.org>
178
179         * java/rmi/Naming.java (lookup): Check if the first character of the
180         filename returned by URL.getFile() is a '/', only if it is the case
181         we cut this first character and call the registry with the good name.
182         (bind): Likewise.
183         (rebind): Likewise.
184
185 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
186             Mark Wielaard  <mark@klomp.org>
187
188         * java/io/BufferedReader.java (BufferedReader):
189         Throw IllegalArgumentException when size <= 0.
190         (mark): Document and better exception message for negative
191         readLimit IllegalArgumentException.
192         (read(char[],int,int)): Throw IndexOutOfBoundsException
193         if offset and count are not valid regarding buf.
194         (skip): Throw IllegalArgumentException when count is negative.
195
196 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
197
198         * java/io/FileInputStream.java
199         (FileInputStream(String)): Call FileInputStream(File).
200         (FileInputStream(File)): Check whether the argument is a directory.
201
202 2003-12-26  Michael Koch  <konqueror@gmx.de>
203
204         * Makefile.am (rmi_java_source_files):
205         Added gnu/java/rmi/server/RMIVoidValue.java.
206         * Makefile.in: Regenerated.
207
208 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
209             Mark Wielaard  <mark@klomp.org>
210
211         * gnu/java/rmi/server/UnicastConnectionManager.java
212         (startScavenger): Set the client connection manager to daemon
213         state because it may block clients until TIMEOUT is reached
214         when they are exiting.
215
216         * gnu/java/rmi/RMIVoidValue.java: New file for a class representing
217         a void return.
218
219         * gnu/java/rmi/server/UnicastRemoteCall.java
220         (DummyOutputStream): Add a boolean before each written field to
221         know whether it is a primitive.
222         (releaseOutputStream): Flush parameters at write time.
223
224         * gnu/java/rmi/server/UnicastServerRef.java
225         (incomingMessageCall): Return a RMIVoidValue if no value is to be
226         returned.
227
228         * gnu/java/rmi/server/UnicastServer.java
229         (incomingMessageCall): Do not write a returned object if it is
230         a RMIVoidValue.
231
232 2003-12-25  Andreas Tobler  <a.tobler@schweiz.ch>
233
234         * libltdl/ltdl.c (HAVE_DYLD): Remove ifdef conditional for 
235         darwin. Fixed by fixinclude now.
236
237 2003-12-25  Michael Koch  <konqueror@gmx.de>
238
239         * java/net/ServerSocket.java bind():
240         If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as
241         address to bind to.
242
243 2003-12-23  Guilhem Lavaux <guilhem@kaffe.org>
244
245         * java/io/ObjectInputStream.java
246         (getField): Handle transient and non persistent fields.
247         (readClassDescriptor): Better error handling, use the right
248         class loader.
249         (readFields): Fields marked as not present in the stream
250         or not to be set are not read and set.
251         * java/io/ObjectInputStream.java
252         (readFields): Changed implementation of GetField.
253         (readClassDescriptor): Documented.
254         * java/io/ObjectOutputStream.java
255         (writeClassDescriptor): Added condition when to write class super
256         class information.
257
258 2003-12-22  Fernando Nasser  <fnasser@redhat.com>
259
260         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to...
261         (choicePostItemEvent): Change signature to more specific String object.
262         * java/awt/Choice.java (add): Generate ItemEvent for the first item
263         added.
264         (insert): Generate ItemEvent if insertion caused
265         selection to change.
266         (remove): Generate ItemEvent if removal cause selection to change.
267         (removeAll): Change algorithm to prevent generation of ItemEvents.
268         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
269         (connect_choice_item_selectable_hook): Change argument type.
270         Fix argument value.
271         Make sure resources are feed by registering callback.
272         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
273         above function.
274         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
275         (item_activate): Ditto.
276         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
277         menuitem.
278         (item_removed): New function.  Free resources.
279         * jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
280         name.
281         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
282         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
283         choicePostItemEvent.
284
285 2003-12-23  Michael Koch  <konqueror@gmx.de>
286
287         * javax/print/attribute/standard/Copies.java,
288         javax/print/attribute/standard/JobImpressions.java,
289         javax/print/attribute/standard/JobMediaSheets.java,
290         javax/print/attribute/standard/JobPriority.java,
291         javax/print/attribute/standard/NumberOfDocuments.java,
292         javax/print/attribute/standard/NumberOfInterveningJobs.java,
293         javax/print/attribute/standard/NumberUp.java,
294         javax/print/attribute/standard/PagesPerMinuteColor.java,
295         javax/print/attribute/standard/PagesPerMinute.java,
296         javax/print/attribute/standard/QueuedJobCount.java: New files.
297         * Makefile.am (ordinary_java_source_files): Added new files.
298         * Makefile.in: Regenerated.
299
300 2003-12-23  Michael Koch  <konqueror@gmx.de>
301
302         * javax/print/attribute/AttributeSetUtilities.java
303         (verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
304         * javax/print/attribute/HashAttributeSet.java
305         (HashAttributeSet): Call internal add methods, added missing
306         exceptions.
307         (add): Call addInternal, added exceptions to documentation.
308         (addInternal): New method.
309         (addAll): Call addAllInternal, added exception to documentation.
310         (addAllInternal): New method.
311         (clear): Added exception to documentation.
312         (remove): Likewise.
313         * javax/print/attribute/URISyntax.java
314         (serialVersionUID): Fixed value.
315
316 2003-12-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
317
318         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
319         (pre_event_handler): Don't dereference NULL focus_obj_ptr.
320
321 2003-12-21  Michael Koch  <konqueror@gmx.de>
322
323         * javax/print/attribute/AttributeSetUtilities.java,
324         javax/print/attribute/HashAttributeSet.java,
325         javax/print/attribute/HashDocAttributeSet.java,
326         javax/print/attribute/HashPrintJobAttributeSet.java,
327         javax/print/attribute/HashPrintRequestAttributeSet.java,
328         javax/print/attribute/HashPrintServiceAttributeSet.java: New files.
329         * Makefile.am (ordinary_java_source_files): Added new files.
330         * Makefile.in: Regenerated.
331
332 2003-12-21  Michael Koch  <konqueror@gmx.de>
333
334         * javax/print/attribute/EnumSyntax.java,
335         javax/print/attribute/SetOfIntegerSyntax.java: New files.
336         * Makefile.am (ordinary_java_source_files):
337         Added javax/print/attribute/EnumSyntax.java
338         and javax/print/attribute/SetOfIntegerSyntax.java.
339         * Makefile.in: Regenerated.
340
341 2003-12-21  Michael Koch  <konqueror@gmx.de>
342
343         * javax/print/attribute/PrintJobAttribute.java,
344         javax/print/attribute/PrintJobAttributeSet.java,
345         javax/print/attribute/PrintRequestAttribute.java,
346         javax/print/attribute/PrintServiceAttribute.java,
347         javax/print/attribute/PrintServiceAttributeSet.java,
348         javax/print/attribute/SupportedValuesAttribute.java: New files.
349         * Makefile.am (ordinary_java_source_files): Added new files.
350         * Makefile.in: Regenerated.
351
352 2003-12-21  Michael Koch  <konqueror@gmx.de>
353
354         * javax/print/attribute/DateTimeSyntax.java,
355         javax/print/attribute/DocAttribute.java,
356         javax/print/attribute/DocAttributeSet.java,
357         javax/print/attribute/IntegerSyntax.java,
358         javax/print/attribute/ResolutionSyntax.java,
359         javax/print/attribute/Size2DSyntax.java,
360         javax/print/attribute/TextSyntax.java,
361         javax/print/attribute/URISyntax.java,
362         javax/print/attribute/UnmodifiableSetException.java: New files.
363         * Makefile.am (ordinary_java_source_files): Added new files.
364         * Makefile.in: Regenerated.
365
366 2003-12-21  Michael Koch  <konqueror@gmx.de>
367
368         * gnu/java/net/PlainDatagramSocketImpl.java
369         (mcastGrp): Added documentation.
370
371 2003-12-20  Michael Koch  <konqueror@gmx.de>
372
373         * gnu/java/net/protocol/jar/Connection.java
374         (connectionCache): New field.
375         (connect): New method.
376         (getInputStream): New method.
377         (hdrHash): New field.
378         (hdrVec): New field.
379         (gotHeaders): New field.
380         (getHeaderField): New method.
381         (getHeaderFields): New method.
382         (getHeaderFieldKey): New method.
383         (getKey): New method.
384         (getField): New method.
385         (getHeaders): New method.
386         * java/net/JarURLConnection.java
387         (connectionCache): Removed.
388         (connect): Removed.
389         (getInputStream): Removed.
390         (hdrHash): Removed.
391         (hdrVec): Removed.
392         (gotHeaders): Removed.
393         (getHeaderField): Removed.
394         (getHeaderFields): Removed.
395         (getHeaderFieldKey): Removed.
396         (getKey): Removed.
397         (getField): Removed.
398         (getHeaders): Removed.
399
400 2003-12-20  Michael Koch  <konqueror@gmx.de>
401
402         * java/io/ObjectStreamField.java (isUnshared): Added documentation.
403
404 2003-12-20  Mohan Embar  <gnustuff@thisiscool.com>
405
406         * gnu/java/nio/SelectorImpl.java
407         (selectThreadMutex): New field.
408         (selectThread): New field.
409         (unhandledWakeup): New field.
410         (implCloseSelector): Added skeleton code which
411         synchronizes as per Sun JRE JavaDoc.
412         (keys): Throw ClosedSelectorException if selector
413         is closed.
414         (selectNow): Added comment that we're faking out
415         an immediate select with a one-microsecond-timeout one.
416         (select): Use 0 instead of -1 for infinite timeout.
417         (implSelect): Changed comment in declaration.
418         (select): Added synchronized to method declaration.
419         Added synchronization and wakeup support as per Sun
420         JRE JavaDoc.
421         (selectedKeys): Throw ClosedSelectorException if selector
422         is closed.
423         (wakeup): Implemented.
424         (deregisterCancelledKeys): Synchronize on cancelled key
425         set before deregistering.
426         (register): Synchronize on key set before registering.
427         * java/nio/channels/spi/AbstractSelector.java
428         Added import for java.nio.channels.ClosedSelectorException.
429         (close): Added synchronized to method declaration.
430         (cancelledKeys): Throw ClosedSelectorException if selector
431         is closed.
432         (cancelKey): Synchronize on cancelled key set before key.
433
434 2003-12-20  Michael Koch  <konqueror@gmx.de>
435
436         * Makefile.am (ordinary_java_source_files):
437         Added gnu.java.net.URLParseError.java.
438         * Makefile.in: Regenerated.
439
440 2003-12-20  Guilhem Lavaux <guilhem@kaffe.org>
441
442         * gnu/java/net/URLParseError.java: New file.
443         * gnu/java/net/protocol/jar/Handler.java
444         (parseURL): Throw URLParseError if needed, fix '/' handling.
445         * java/net/URL.java (URL): Catch URLParseError and
446         transform it into a MalformedURLException.
447
448 2003-12-19  Michael Koch  <konqueror@gmx.de>
449
450         * gnu/java/nio/ChannelOutputStream.java: New file.
451         * java/nio/channels/Channels.java
452         (newOutputStream): Implemented.
453         * Makefile.am (ordinary_java_source_files)
454         Added gnu/java/nio/ChannelOutputStream.java.
455         * Makefile.in: Regenerated.
456
457 2003-12-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
458
459         * java/awt/FlowLayout.java (layoutContainer): Let components
460         assume their preferred height.  Centre components vertically.
461
462 2003-12-19  Michael Koch  <konqueror@gmx.de>
463
464         * gnu/java/nio/ChannelInputStream.java: New file.
465         * java/nio/channels/Channels.java (newInputStream): Implemented.
466         * java/nio/channels/FileChannelImpl.java
467         (readImpl): Only put data into buffer if something was read.
468         * Makefile.am (ordinary_java_source_files):
469         Added gnu/java/nio/ChannelInputStream.java.
470         * Makefile.in: Regenerated.
471
472 2003-12-19  Michael Koch  <konqueror@gmx.de>
473
474         * gnu/java/nio/OutputStreamChannel.java: New file.
475         * java/nio/channels/Channels.java (newChannel): Implemented.
476         * Makefile.am (ordinary_java_source_files):
477         Added gnu/java/nio/OutputStreamChannel.java.
478         * Makefile.in: Regenerated.
479
480 2003-12-19  Michael Koch  <konqueror@gmx.de>
481
482         * Makefile.am (ordinary_java_source_files):
483         Added gnu.java.nio.InputStreamChannel. 
484         * Makefile.in: Regenerated.
485
486 2003-12-19  Michael Koch  <konqueror@gmx.de>
487
488         * gnu/java/nio/InputStreamChannel.java: New file.
489         * java/nio/channels/Channels.java (newChannel): Implemented.
490
491 2003-12-19  Michael Koch  <konqueror@gmx.de>
492
493         * java/util/SimpleTimeZone.java
494         (setStartRule): Reformated documentation.
495         (setEndRule): Reworked documentation.
496         (getDSTSavings): Fixed @since tag.
497         (setDSTSavings): New method.
498
499 2003-12-19  Michael Koch  <konqueror@gmx.de>
500
501         * java/text/NumberFormat.java: Sorted imports.
502         (getCurrency): New method.
503         (setCurrency): New method.
504         
505
506 2003-12-19  Michael Koch  <konqueror@gmx.de>
507
508         * java/text/MessageFormat.java
509         (MessageFormat): New constructor.
510
511 2003-12-19  Michael Koch  <konqueror@gmx.de>
512
513         * gnu/java/net/protocol/jar/Handler.java
514         (parseURL): New method.
515         (toExternalForm): New method.
516
517 2003-12-18  Fernando Nasser  <fnasser@redhat.com>
518
519         * java/awt/List.java (replaceItem): Prevent selection to move with
520         replace and minimize flickering.
521  
522 2003-12-18  Michael Koch  <konqueror@gmx.de>
523
524         * libltdl/ltdl.c: Define __private_extern__ if needed.
525
526 2003-12-18  Michael Koch  <konqueror@gmx.de>
527
528         * libltdl/.cvsignore: Ignore autom4te.cache
529         * libltdl/Makefile.in: Regenerated.
530         * libltdl/aclocal.m4: Regenerated.
531         * libltdl/acconfig.h: Removed (obsolete).
532         * libltdl/config-h.in: Regenerated.
533         * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
534         * libltdl/configure: Regenerated.
535
536 2003-12-18  Michael Koch  <konqueror@gmx.de>
537
538         * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
539         java.text.CollationElementIterator tests as they compile again.
540         * testsuite/libjava.mauve/xfails: Added failing
541         java.text.CollationElementIterator tests.
542
543 2003-12-18  Michael Koch  <konqueror@gmx.de>
544
545         * java/util/prefs/AbstractPreferences.java
546         (cachedChildren): New method.
547
548 2003-12-18  Michael Koch  <konqueror@gmx.de>
549
550         * java/util/TimeZone.java (getOffset): New method.
551
552 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
553  
554         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
555         of ActionEvents for mouse double-clicks.
556
557 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
558
559         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
560         null Graphics pointer returned by FileDialogPeer.
561
562 2003-12-17  Michael Koch  <konqueror@gmx.de>
563
564         * libltdl/stamp-h.in: Removed, not used anymore.
565
566 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
567
568         * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
569         Removed unused InterruptedIOException.h include.
570         * gnu/java/net/natPlainSocketImplWin32.cc
571         (connect): Reset and ignore our thread's interrupted
572         flag instead of testing and throwing an InterruptedIOException
573         if set.
574         (accept): Likewise + changed case of SocketTimeoutException
575         text.
576         (write): Likewise (for both overloads).
577         (doRead): Likewise.
578
579 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
580
581         * win32.cc (WSAEventWrapper): Implemented default
582         constructor and init() methods.
583         (_Jv_select): Removed.
584         * gnu/java/nio/natSelectorImplWin32.cc
585         (helper_put_filedescriptors): Removed.
586         (helper_get_filedescriptors): Removed.
587         (implSelect): Implemented in terms of WSAEventWrapper
588         and WSAWaitForMultipleEvents instead of _Jv_select().
589         Added support for thread interruption.
590         * include/win32.h (WSAEventWrapper): Minor formatting
591         changes; added default constructor declaration, init(),
592         getFD() and getEventHandle() methods.
593         (_Jv_select): Removed.
594
595 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
596
597         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
598         (peekData): Throw SocketTimeoutException instead of
599         InterruptedIOException on timeout.
600         (receive): Likewise.
601         * gnu/java/net/natPlainSocketImplPosix.cc
602         (read): Made a minor exception text case change.
603
604 2003-12-16  Michael Koch  <konqueror@gmx.de>
605
606         Fix for PR libgcj/13056.
607         * libltdl/configure.in,
608         libltdl/config.h.in: Removed.
609         * libltdl/configure.ac,
610         libltdl/config-h.in,
611         libltdl/install-sh,
612         libltdl/config.guess,
613         libltdl/config.sub,
614         libltdl/missing,
615         libltdl/mkinstalldirs,
616         libltdl/ltmain.sh: New files.
617         * libltdl/Makefile.am,
618         libltdl/acinclude.m4,
619         libltdl/aclocal.m4,
620         libltdl/ltdl.c,
621         libltdl/ltdl.h,
622         libltdl/README: Update to versions from libtool 1.5.
623         libltdl/configure,
624         * libltdl/Makefile.in: Regenerated.
625         * java/lang/natRuntime.cc (find_symbol):
626         Use type 'lt_ptr' instead of 'lt_ptr_t'.
627
628 2003-12-16  Michael Koch  <konqueror@gmx.de>
629
630         * java/awt/MenuComponent.java
631         (serialVersionUID): Fixed value.
632
633 2003-12-16  Fernando Nasser  <fnasser@redhat.com>
634
635         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
636         (pre_event_handler): Handle GtkButton widgets differently as events
637         go to its event_window.
638         (connect_awt_hook): Remove compiler warning.
639
640 i2003-12-16  Guilhem Lavaux <guilhem@kaffe.org>
641
642         * java/io/ObjectInputStream.java
643         (lookupClass): New method.
644         (currentLoader): New method.
645         (inputGetObjectStreamClasses): New method.
646         (assignNewHandle): Documented.
647         (currentClassLoader): Documented.
648         * java/io/ObjectStreamClass.java
649         (setClass): Changed API. Better handling of the imported/exported
650         fields.
651         (getSerialPersistentFields): Make it throw previously caught exceptions
652         so they can handled in setClass.
653
654 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
655  
656         * java/io/ObjectStreamField.java: A few methods were added in prevision
657         of the upcoming upgrade of the serialization code. This also adds
658         some missing documentation.
659         (ObjectStreamField): We should throw a NullPointerException when 'name'
660         is null.
661
662  2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
663   
664         * java/io/ObjectInputStream.java (setBooleanField):
665         Throw an InvalidClassException if the field hasn't the required type,
666         documentation added.
667         (setByteField) Likewise.
668         (setCharField) Likewise.
669         (setDoubleField) Likewise.
670         (setFloatField) Likewise.
671         (setIntField) Likewise.
672         (setShortField) Likewise.
673         (setLongField) Likewise.
674         (setObjectField) Likewise.
675
676 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
677            Helmer Kraemer <hkraemer@freenet.de>
678  
679         * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
680         Splitted the method so we can specify an explicit boot loader.
681
682 2003-12-15  Graydon Hoare  <graydon@redhat.com>
683
684         * jni/gtk-peer/gdkfont.h: New file.
685         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
686         include of cairo-xlib.h, add extra gdk_flush().
687
688 2003-12-12  Fernando Nasser  <fnasser@redhat.com>
689
690         * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
691         native state table -- native_global_ref_table.
692         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
693         native_global_ref_table pointer.
694         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
695         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
696         global reference is deleted and memory allocated for pointer freed.
697         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
698         JNI global reference instead of JNI local reference.
699         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
700         (pre_event_handler): Remove compilation warning.
701         (connect_awt_hook): Use saved JNI global reference instead of creating
702         a new one.
703         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
704         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
705         reference to the Java object.
706         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
707         unused variable declaration and add comment.
708         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
709         (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
710         reference to the Java object.
711         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
712         (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
713         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
714         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
715         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
716         JNI global reference instead of JNI local reference.
717         (item_toggled): Add debug statement.
718         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
719         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
720         reference to the Java object.
721         (connect_choice_item_selectable_hook): Use saved JNI global references
722         instead of JNI local reference.
723         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
724         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
725         global reference to the Java object.
726         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
727         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
728         reference to the Java object.
729         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
730         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
731         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
732         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
733         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
734         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
735         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
736         (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
737         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
738         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
739         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
740         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
741         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
742         (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
743         (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
744         JNI global reference instead of JNI local reference.
745         (item_selected): Add debug statement.
746         (item_unselected): Add debug statement.
747         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
748         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
749         reference to the Java object.
750         Connect "activate" signal handler using global JNI reference.
751         (connect_activate_hook): Removed in favor of inline code.
752         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
753         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
754         reference to the Java object.
755         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
756         JNI global reference instead of JNI local reference.  Add FIXME comment.
757         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
758         reference to the Java object.  Add FIXME comment.
759         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
760         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
761         reference to the Java object.
762         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
763         JNI global reference instead of JNI local reference.
764         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
765         (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
766         saved JNI global reference instead of JNI local reference.
767         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
768         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
769         reference to the Java object.
770         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
771         JNI global reference instead of JNI local reference.
772
773 2003-12-11  Michael Koch  <konqueror@gmx.de>
774
775         * java/text/Format.java (serialVersionUID): Fixed value.
776
777 2003-12-11  Michael Koch  <konqueror@gmx.de>
778
779         * javax/naming/event/EventDirContext.java: Jalopied.
780         (addNamingListener): Fixed typo in method name.
781         
782
783 2003-12-11  Mohan Embar  <gnustuff@thisiscool.com>
784
785         * gnu/java/nio/SocketChannelImpl.java
786         (write): Removed diagnostic trace.
787         * gnu/java/nio/natSelectorImplPosix.cc: Added
788         includes for java.lang.Thread and java.io.InterruptedIOException.
789         (helper_put_filedescriptors): Don't put invalid file descriptors
790         in select set.
791         (helper_get_filedescriptors): Clear invalid file descriptors
792         from select set.
793         (helper_reset): New method for clearing our file descriptor
794         array.
795         (implSelect): Correctly calculate timeout if specified and
796         legal.
797         Intercept and deal with any java.io.InterruptedIOException
798         thrown by _Jv_select().
799
800 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
801
802         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
803         Most coded moved to pre_event_handler, with the modifications
804         mentioned below.
805         (pre_event_handler): New function.  Called on the Gtk "event" signal.
806         Do not retrieve the jobject from the window property as it is already
807         available as user data in the signal.
808         Do not try and find the grab widget as it is already done by Gtk at
809         this point.
810         Do not search for Window ancestor as Gtk already sends the signal to it.
811         Do not meddle with the activation state of peer widgets on each
812         key press or release.
813         Add CList to the special handling when looking for the focused widget.
814         * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
815         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
816         New function.
817         (connectSignals): New function.
818         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
819         Rename to...
820         (connectSignals): New name.  Get rid of NewGlobalRef call.
821         Use g_signal_connect instead of deprecated gtk_signal_connect.
822         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
823         (connect_choice_item_selectable_hook): Use g_signal_connect instead of
824         deprecated gtk_signal_connect.
825         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
826         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
827         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
828         (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
829         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
830         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
831         function.
832         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
833         function.
834         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
835         function.
836         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
837         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
838         function.
839         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
840         function.
841         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
842         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
843         function.
844         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
845         function.
846         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
847         function.
848         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
849         code.
850         (item_select): Remove indirection.
851         (item_unselect): Ditto.
852         (connect_selectable_hook): Folded into connectSignals.
853         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
854         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
855         function.
856         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
857         function.
858         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
859         function.
860         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
861         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
862         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
863         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
864         function.
865         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
866         function.
867         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare  and call
868         connectJObject and connectSignals instead of connectHooks.
869         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
870         connectSignals.
871         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
872         and not connectHooks.
873         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
874         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
875         and not connectHooks.
876         * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
877         connectSignals instead of connectHooks.
878         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
879         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
880         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto. 
881
882 2003-12-09  Michael Koch  <konqueror@gmx.de>
883
884         * Makefile.am (nat_headers_install): New variable with header files to
885         install automatically.
886         (install-data-local): Install all headers listed in
887         nat_headers_install. Install innert nat headers explicitely.
888         * Makefile.in: Regenerated.
889
890 2003-12-09  Michael Koch  <konqueror@gmx.de>
891
892         * java/util/Calendar.java,
893         java/util/IdentityHashMap.java,
894         java/util/prefs/Preferences.java:
895         Import used classes explicitely.
896
897 2003-12-09  Michael Koch  <konqueror@gmx.de>
898
899         * java/net/DatagramSocket.java
900         (close): Directly return if socket is closed.
901         * java/net/ServerSocket.java
902         (close): Directly return if socket is closed.
903         * java/net/Socket.java
904         (close): Directly return if socket is closed.
905
906 2003-12-09  Michael Koch  <konqueror@gmx.de>
907
908         * gnu/java/nio/SelectorImpl.java
909         (implSelect): Throws IOException.
910         (select): Likewise.
911
912 2003-12-08  Kim Ho  <kho@redhat.com>
913
914         Fix for Checkbox states.
915         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
916         (currentState): New field.
917         (nativeCreate): Add initial state parameter.
918         (create): Changed to reflect new parameter.
919         (setState): Fire only on changed states.
920         (postItemEvent): Fire only on changed states. Also change the 
921         Java Checkbox to reflect new state.
922         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
923         (nativeCreate): Add parameter and set active state.
924
925 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
926  
927         * java/awt/datatransfer/StringSelection.java (getTransferData): Return
928         object of type expected by specified DataFlavor.
929
930 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
931  
932         * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
933         error which was clipping off the first character of a parameter value.
934
935 2003-12-08  Olga Rodimina <rodimina@redhat.com>
936
937         * java/awt/Polygon.java
938         (translate): Fixed error that caused polygon 
939         to move right/left when up/down translation was required.
940         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
941         (getSelectionStart): Initialized start position to 0. 
942         (getSelectionEnd): Initialized end position to 0.
943         (getCaretPosition): Initialized caret position to 0.
944         (getText): Initialized selected text to NULL 
945
946 2003-12-08  Michael Koch  <konqueror@gmx.de>
947
948         Fix for PR libgcj/13176.
949         * java/io/PrintStream.java: Partly revert my previous patches to get
950         (line_separator): New field.
951         (converter): New field.
952         (work): New field.
953         (work_bytes): New field.
954         (pw): Removed.
955         (closed): Removed.
956         (PrintStrean): Initialize converter and not pw.
957         (checkError): Flush always, pw doesn't exist anymore.
958         (close): Close underlying out stream.
959         (print): New method.
960         (writeChars): New method.
961         (print): Use new internal print method.
962         (println): Likewise.
963
964 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
965
966         * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
967         putAllInternal.
968         (putAllInternal): Correct comment.
969         * java/util/HashMap.java (HashMap(Map)): As above.
970         (putAllInternal): As above.
971
972 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
973
974         * java/util/Hashtable.java (internalContainsValue): Removed.
975         (containsValue): Don't delegate to internalContainsValue.
976
977 2003-12-06  Michael Koch  <konqueror@gmx.de>
978
979         * javax/naming/directory/Attribute.java,
980         javax/naming/directory/Attributes.java,
981         javax/naming/directory/DirContext.java,
982         javax/naming/directory/InitialDirContext.java,
983         javax/naming/directory/SearchResult.java,
984         javax/naming/event/EventContext.java,
985         javax/naming/event/NamingEvent.java,
986         javax/naming/event/NamingExceptionEvent.java,
987         javax/naming/ldap/ControlFactory.java,
988         javax/naming/ldap/ExtendedRequest.java,
989         javax/naming/ldap/HasControls.java,
990         javax/naming/ldap/InitialLdapContext.java,
991         javax/naming/ldap/LdapContext.java,
992         javax/naming/ldap/LdapReferralException.java,
993         javax/naming/ldap/UnsolicitedNotification.java,
994         javax/naming/ldap/UnsolicitedNotificationListener.java,
995         javax/naming/spi/DirObjectFactory.java,
996         javax/naming/spi/DirStateFactory.java,
997         javax/naming/spi/DirectoryManager.java,
998         javax/naming/spi/NamingManager.java,
999         javax/naming/spi/ObjectFactoryBuilder.java,
1000         javax/naming/spi/ResolveResult.java,
1001         javax/naming/spi/Resolver.java,
1002         javax/naming/spi/StateFactory.java:
1003         Import used classes explicitely.
1004
1005 2003-12-05  Scott Gilbertson  <scottg@mantatest.com>
1006
1007         * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
1008         (clip): Removed field
1009         (clipRectangles): New field.
1010         (clone): Use new updateClip.
1011         (setClipRectangles): Use new updateClip.
1012         * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
1013
1014 2003-12-04  Michael Koch  <konqueror@gmx.de>
1015
1016         * java/io/FilePermission.java:
1017         Import used classes explicitely.
1018
1019 2003-12-04  Michael Koch  <konqueror@gmx.de>
1020
1021         * java/beans/BeanDescriptor.java,
1022         java/beans/EventSetDescriptor.java,
1023         java/beans/FeatureDescriptor.java,
1024         java/beans/IndexedPropertyDescriptor.java,
1025         java/beans/Introspector.java,
1026         java/beans/MethodDescriptor.java,
1027         java/beans/PropertyDescriptor.java,
1028         java/beans/SimpleBeanInfo.java: Explicitely import used classes.
1029         * java/beans/beancontext/BeanContextServicesSupport.java
1030         (serialVersionUID): New field.
1031
1032 2003-12-04  Michael Koch  <konqueror@gmx.de>
1033
1034         * java/awt/MenuComponent.java: Import java.io.Serialization.
1035         * java/awt/MenuItem.java: Likewise.
1036         * java/awt/TextComponent.java: Likewise.
1037         * java/awt/image/ImagingOpException.java
1038         (serialVersionUID): Fixed.
1039
1040 2003-12-04  Michael Koch  <konqueror@gmx.de>
1041
1042         * gnu/java/net/protocol/http/Connection.java
1043         (sendRequest): Merged writing http headers with classpath.
1044         (getInputStream): Merged documentation from classpath.
1045         (getHeaderField): Likewise.
1046         (getHeaderFieldKey): Likewise.
1047
1048 2003-12-04  Michael Koch  <konqueror@gmx.de>
1049
1050         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
1051
1052 2003-12-04  Michael Koch  <konqueror@gmx.de>
1053
1054         * java/net/DatagramPacket.java
1055         (length): Made packge-private to make it accessible via CNI.
1056         (maxlen): New field.
1057         (DatagramPacket): Cleaned up.
1058         (setSocketAddress): Add message to exception.
1059         (setData): Call other setData().
1060         (setData): Call setLength().
1061         (setLength): Initialize maxlen too.
1062         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
1063         Get maximal length from maxlen field, set length field directly.
1064         (receive): Likewise.
1065         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1066         Get maximal length from maxlen field, set length field directly.
1067         (receive): Likewise.
1068
1069 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
1070
1071         * gnu/java/nio/natSelectorImplPosix.cc
1072         (implSelect): A timeout of 0 means an infinite
1073         timeout.
1074
1075 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1076  
1077         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1078         of ActionEvents.
1079
1080 2003-12-03  Michael Koch  <konqueror@gmx.de>
1081
1082         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
1083         * java/lang/natClass.cc (getSigners): Likewise.
1084         (setSigners): Likewise.
1085
1086 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
1087
1088         * configure.in: Added new MinGW-specific configure flag
1089         --with-win32-nlsapi.
1090         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
1091         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
1092         is set to unicows.
1093         * configure: Rebuilt.
1094         * include/config.h.in: Rebuilt.
1095         * win32.cc (_Jv_Win32NewString): Implemented.
1096         (nativeToUnicode): New helper function defined only for
1097         non-UNICODE builds.
1098         (unicodeToNative): Likewise.
1099         (_Jv_Win32TempString): Implemented.
1100         (lots): Refactored using tchar.h macros.
1101         (WSAEventWrapper): Use _Jv_Win32NewString.
1102         (_Jv_platform_initialize): Use GetModuleFileNameA instead
1103         of GetModuleFileName.
1104         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
1105         Use temporary stack buffer instead of a heap buffer.
1106         * include/win32.h
1107         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
1108         defined; added tchar.h include.
1109         (_Jv_Win32TempString): Declared new helper class.
1110         (JV_TEMP_STRING_WIN32): New helper macro.
1111         (_Jv_Win32NewString): Declared new helper method.
1112         * java/io/natFileDescriptorWin32.cc (open): Use
1113         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1114         (write): Reformatted slightly.
1115         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
1116         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1117         (getCanonicalPath): Use _Jv_Win32NewString instead of
1118         JvNewStringUTF.
1119         (performList): Likewise.
1120         * java/lang/natWin32Process.cc (ChildProcessPipe):
1121         Use tchar.h macros.
1122         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
1123         and UNICODE environment flag for CreateProcess.
1124         * java/net/natNetworkInterfaceWin32.cc
1125         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
1126         _Jv_Win32NewString.
1127
1128 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
1129
1130         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1131         (initState): Mark obj parameter as unused.
1132         (stringWidth): Mark obj parameter as unused.  Initialize
1133         font_name properly.
1134
1135         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
1136         BufferedImageBuilder class static.
1137
1138 2003-12-02  Mark Wielaard  <mark@klomp.org>
1139
1140         * java/security/Security.java: Don't use &nbsp; in the api doc.
1141
1142 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1143
1144         Reported by: Jim Pick <jim@kaffe.org>
1145         * libraries/javalib/java/util/Hashtable.java
1146         (internalcontainsValue): New method.
1147         (contains): Delegate to internalContainsValue.
1148         
1149         Reported by: Mark Wielaard  <mark@klomp.org>
1150         * libraries/javalib/java/util/Hashtable.java
1151         (contains): Improved comment.
1152         
1153         Reported by: Jeroen Frijters  <jeroen@frijters.net>
1154         * libraries/javalib/java/util/Hashtable.java
1155         (containsValue): Delegate to contains(Object) to make sure older
1156         code overwriting it continues to work.
1157
1158 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1159
1160         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
1161         method. Handle mouse and key events that must generate
1162         ActionEvents.
1163         * java/awt/List.java (getSelectedIndex): Return -1
1164         if no list element is selected.
1165         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1166         Correct handling of mouse and key events so that List receives them.
1167         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1168         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
1169         multiple list elements. 
1170
1171 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1172
1173         * java/text/SimpleDateFormat.java (compileFormat):
1174         isLowerCase() and isUpperCase() allow too many characters.
1175         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
1176
1177 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1178
1179         * java/text/FieldPosition.java (equals): Fixed comment.
1180
1181 2003-12-02  Mark Wielaard  <mark@klomp.org>
1182
1183         Reported by Archie Cobbs:
1184         * java/security/DigestInputStream.java (read(byte[], int, int): Call
1185         digest.update() with temp, not len as lenght.
1186
1187 2003-12-02  Michael Koch  <konqueror@gmx.de>
1188
1189         * java/net/DatagramSocket.java
1190         (close): Close associated DatagramChannel object.
1191         * java/net/ServerSocket.java
1192         * java/net/Socket.java
1193         (close): Reset impl and bound before calling getChannel().close() to
1194         prevent from loops.
1195
1196 2003-12-02  Michael Koch  <konqueror@gmx.de>
1197
1198         * java/nio/channels/spi/AbstractInterruptibleChannel.java
1199         (opened): Removed.
1200         (closed): New field.
1201         (close): Check of channel is closed already.
1202         (isOpen): Return !closed.
1203
1204 2003-12-02  Michael Koch  <konqueror@gmx.de>
1205
1206         * gnu/java/nio/DatagramChannelImpl.java
1207         (blocking): Initialize with true by default.
1208         * gnu/java/nio/ServerSocketChannelImpl.java
1209         (serverSocket): Made private.
1210         (blocking): Likewise.
1211         (connected): Likewise.
1212         * gnu/java/nio/SocketChannelImpl.java
1213         (connectionPending): Made private.
1214         * gnu/java/nio/FileLockImpl.java
1215         (static): Load native library (needed for classpath).
1216         * gnu/java/nio/SelectorImpl.java
1217         (static): Load native library (needed for classpath).
1218
1219 2003-12-02  Michael Koch  <konqueror@gmx.de>
1220
1221         * gnu/java/net/protocol/file/Connection.java
1222         (getLastModified): Implement for file connections.
1223         (getContentLength): Likewise.
1224
1225 2003-12-02  Michael Koch  <konqueror@gmx.de>
1226
1227         * gnu/java/net/protocol/file/Connection.java:
1228         Some reformating.
1229         (file): Renamed from fileIn.
1230         (getPermission): Moved around.
1231
1232 2003-12-02  Michael Koch  <konqueror@gmx.de>
1233
1234         * gnu/java/net/protocol/jar/Connection.java
1235         (Connection): Made class final, merged documentation with classpath.
1236         (file_cache): Made private.
1237         (jar_file): Renamed from jarfile.
1238
1239 2003-12-02  Michael Koch  <konqueror@gmx.de>
1240
1241         * gnu/java/net/protocol/http/Connection.java
1242         (Connection): Initialize doOutput to false;
1243         (connect): Initialize inputStream, moved "send request" code to new
1244         method.
1245         (sendRequest): New method.
1246         (getHttpHeaders): Don't reinitialize inputStream.
1247
1248 2003-12-02  Michael Koch  <konqueror@gmx.de>
1249
1250         * gnu/java/net/protocol//http/Connection.java
1251         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
1252         (requestProperties): Initialize, documentation added.
1253         (inputStream): Renamed from bufferedIn.
1254         (Connection): Dont initialize requestProperties.
1255         (setDefaultRequestProperty): Removed.
1256         (getDefaultRequestProperty): Removed.
1257         (usingProxy): Documentation added.
1258         (getHttpHeaders): Likewise.
1259
1260 2003-12-02  Michael Koch  <konqueror@gmx.de>
1261
1262         * java/text/DateFormat.java:
1263         Explicitely import used classes.
1264
1265 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
1266
1267         * verify.cc (state::clean_subrs): Clear seen_subrs.
1268         (state::copy): Walk seen_subrs from copy, not `this'.
1269         Don't clear seen_subrs.
1270
1271 2003-12-01  Kim Ho <kho@redhat.com>
1272
1273         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
1274         Disable wrapping if TextArea has horizontal scroll bars.
1275
1276 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1277
1278         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1279         (awt_event_handler): Hard-code inset values.
1280
1281         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
1282         Pass font name, not XLFD, to initState.
1283         (stringWidth(String, int, String)): New method.
1284         (stringWidth(String)): Call new stringWidth.
1285         (getLeading): Always return 0.
1286         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1287         (initState): New Pango implementation.
1288         (stringWidth): Likewise.
1289
1290 2003-12-01  Olga Rodimina <rodimina@redhat.com>
1291
1292         * java/awt/TextComponent.java:
1293         (getSelectionStart): Updated javadocs.
1294         (getSelectionEnd): Ditto.
1295         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
1296         (getSelectionStart): Changed to return caret position if no
1297         text is selected
1298         (getSelectionEnd): Ditto.
1299
1300 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1301
1302         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
1303         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
1304         gnu/awt/gtk/GtkContainerPeer.java,
1305         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
1306         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
1307         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
1308         gnu/awt/gtk/natGtkComponentPeer.cc,
1309         gnu/awt/gtk/natGtkContainerPeer.cc,
1310         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
1311         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
1312         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
1313
1314         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1315         (closed): Mark loader parameter as unused.
1316
1317 2003-12-01  Michael Koch  <konqueror@gmx.de>
1318
1319         * gnu/java/net/protocol/http/Connection.java
1320         (Connection): Merged class documentation.
1321         (socket): Renamed from sock.
1322         (Connection): Made protected, documentation added.
1323         (connect): Give URL'S host instead of InetAddress to Socket
1324         constructor.
1325         (disconnect): Documentation added.
1326         (getOutputStream): Rewrapped.
1327
1328 2003-12-01  Michael Koch  <konqueror@gmx.de>
1329
1330         * gnu/java/net/protocol/file/Connection.java
1331         (fileIn): Documentation added.
1332         (inputStream): Likewise.
1333         (outputStream): Likewise.
1334         (Connection): Likewise.
1335         (connect): Simplified.
1336
1337 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1338
1339         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
1340         setProperties): Check that io is not null before calling
1341         io.imageUpdate.
1342         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
1343         Update javadocs.
1344         * java/awt/image/PixelGrabber.java: Fix implementation and
1345         update javadocs.
1346
1347 2003-12-01  Michael Koch  <konqueror@gmx.de>
1348
1349         * gnu/java/net/natPlainSocketImplPosix.cc
1350         bind(): Dont set SockedImpl.address field on succesful bind.
1351         * gnu/java/net/natPlainSocketImplWin32.cc
1352         bind(): Likewise.
1353
1354 2003-11-30  Jeff Sturm <jsturm@one-point.com>
1355
1356         * java/net/InetAddress.java:
1357         (static): Don'f force DNS request for ANY_IF address.
1358
1359 2003-11-30  Michael Koch  <konqueror@gmx.de>
1360
1361         * java/net/InetAddress.java,
1362         java/net/natInetAddressNoNet.cc,
1363         java/net/natInetAddressPosix.cc,
1364         java/net/natInetAddressWin32.cc:
1365         Reverted my last patch.
1366
1367 2003-11-28  Michael Koch  <konqueror@gmx.de>
1368
1369         * java/net/InetAddress.java
1370         (lookup): New method that doesnt lookup "0.0.0.0".
1371         (ImplLookup): Renamed from lookup.
1372         * java/net/natInetAddressNoNet.cc
1373         (ImplLookup): Renamed from lookup.
1374         * java/net/natInetAddressPosix.cc
1375         (ImplLookup): Renamed from lookup.
1376         * java/net/natInetAddressWin32.cc
1377         (ImplLookup): Renamed from lookup.
1378
1379 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1380
1381         * configure: Rebuilt.
1382         * configure.in: Require gtk and glib 2.2.0.
1383
1384 2003-11-27  Dalibor Topic <robilad@kaffe.org>
1385
1386         * java/text/FieldPosition.java (equals): Adapted to handle
1387         field_attribute. Added fast-circuit check for comparison to self.
1388         Replaced use of instanceof by getClass to fix symmetry for derived
1389         types.
1390         (toString): Adapted to handle field_attribute. Improved readability.
1391         (hashCode): New method.
1392
1393 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1394
1395         * java/text/FieldPosition.java (field_attribute): New field.
1396         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
1397         getFieldAttribute): New methods.
1398
1399 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1400
1401         * java/text/DecimalFormatSymbols.java (locale): New field.
1402         (DecimalFormatSymbols (Locale)): Set locale.
1403         (serialVersionOnStream): Upgraded to number 2.
1404         (readObject): Assign locale if it wasn't by the serializer.
1405
1406 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1407
1408         * java/text/FormatCharacterIterator.java: Documented the class and
1409
1410 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1411
1412         * java/text/FormatCharacterIterator.java: Fixed some typos.
1413
1414 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1415
1416         * java/text/NumberFormat.java:
1417         (getIntegerInstance) Added the java version in the comments.
1418
1419 2003-11-27  Mark Wielaard  <mark@klomp.org>
1420
1421         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
1422         (readResolve): Reformat.
1423
1424 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1425
1426         * java/text/NumberFormat.java
1427         (NumberFormat.Field): New implemented class to match Java 1.4. 
1428         (getIntegerInstance): Two new Java 1.4 methods.o
1429
1430 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1431
1432         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
1433         the leap day of the leap year twice.
1434         (computeFields): First week of month is 1 not 0.
1435
1436 2003-11-27  Mark Wielaard  <mark@klomp.org>
1437
1438         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
1439         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
1440
1441 2003-11-27  Michael Koch  <konqueror@gmx.de>
1442
1443         * javax/swing/UIDefaults.java:
1444         Reformated to match classpath's version.
1445
1446 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
1447
1448         * javax/swing/UIManager.java (getDefaults, getDimension,
1449         getIcon, getInsets, getInstalledLookAndFeels, getInt,
1450         getLookAndFeel, getString, getSystemLookAndFeelClassName):
1451         Declare as public.
1452
1453 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1454
1455         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
1456         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
1457         isSignificant): Likewise.
1458
1459 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1460
1461         * javax/swing/undo/CompoundEdit.java: Re-format, document.
1462         (inProgress): Set initial value to true.
1463         (undo, redo, die, canUndo, canRedo): Also call inherited
1464         implementation; simplify code structure.
1465         (getPresentationName, getUndoPresentationName,
1466         getRedoPresentationName): Make behavior dependent on lastEdit.
1467         (addEdit, isSignificant): Completely re-written.
1468
1469 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1470
1471         * javax/swing/undo/StateEdit.java: Re-format, document.
1472         (undo, redo): Also call inherited implementation.
1473
1474 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1475
1476         * javax/swing/undo/StateEditable.java: Re-format, document.
1477
1478 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1479
1480         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
1481         (AbstractUndoableEdit): Initialize hasBeenDone to true.
1482         (canUndo, canRedo): Simplify.
1483         (getUndoPresentationName, getRedoPresentationName): Support
1484         localized message; call getPresentationName() only once.
1485
1486 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
1487
1488         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
1489         (ZipFile(File,int)): Likewise.
1490
1491 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
1492
1493         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
1494         (putAllInternal): Likewise.
1495         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
1496         (putAllInternal): Likewise.
1497
1498 2003-11-26  Michael Koch  <konqueror@gmx.de>
1499
1500         * java/net/URLStreamHandler.java
1501         (parseURL): Added comment in catch statement.
1502         (canonicalizeFilename): Add documentation.
1503         (sameURL): Completed documentation.
1504         (equals): Likewise.
1505         (hostsEqual): Likewise.
1506         (getDefaulPort): Likewise.
1507         (hashCode): Likewise.
1508         (toExternalForm): Likewise.
1509         (getHostName): Fix empty hostname check, completed documentation.
1510
1511 2003-11-26  Tom Tromey  <tromey@redhat.com>
1512
1513         * java/lang/natDouble.cc (parseDouble): Reverted patch of
1514         2003-11-13.
1515
1516 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
1517             Mark Wielaard  <mark@klomp.org>
1518
1519         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
1520         ('@' should be checked to distinguish port from userinfo).
1521         (toExternalForm): Add @ userInfo if necessary.
1522
1523
1524 2003-11-26  Michael Koch  <konqueror@gmx.de>
1525
1526         * java/net/DatagramSocket.java
1527         (DategramSocket, bind): Moved binding code from DatagramSocket
1528         constructor to bind method.
1529
1530 2003-11-26  Michael Koch  <konqueror@gmx.de>
1531
1532         * java/net/DatagramSocket.java
1533         (impl): Made private.
1534         (bound): New private member variable.
1535         (DatagramSocket): Fixed documentation, use getImpl().
1536         (getImpl): New package-private method.
1537         (isClosed): Use getImpl().
1538         (getLocalAddress): Completed documentation, use getImpl().
1539         (getLocalPort): Use getImpl().
1540         (getSoTimeout): Likewise.
1541         (setSoTimeout): Likewise.
1542         (getSendBufferSize): Likewise.
1543         (setSendBufferSize): Likewise.
1544         (getReceiveBufferSize): Likewise.
1545         (setReceiveBufferSize): Likewise.
1546         (connect): Likewise.
1547         (disconnect): Likewise.
1548         (receive): Likewise.
1549         (send): Likewise.
1550         (setReuseAddress): Likewise.
1551         (setTrafficClass): Likewise.
1552         (bind): Added message to exception.
1553         (isClosed): Completed documentation.
1554         (getChannel): Likewise.
1555         (connect): Added missing exception, refined exception message.
1556         (isBound): Completed documentation, just return bound.
1557         (isConnected): Completed documentation.
1558         (getRemoteSocketAddress): Likewise.
1559         (getReuseAddress): Completed documentation, use getImpl().
1560         (setSoBroadcast): Likewise.
1561         (getSoBroadcast): Likewise.
1562         (getTrafficClass): Likewise.
1563         (getLocalSocketAddress): Simplified.
1564         * java/net/MulticastSocket.java
1565         (MulticastSocket): Removed comment not applying anymore.
1566         (getInterface): Use getImpl().
1567         (getTTL): Likewise.
1568         (getTimeToLive): Likewise.
1569         (setInterface): Likewise.
1570         (setNetworkInterface): Likewise.
1571         (getNetworkInterface): Likewise.
1572         (setLoopback): Likewise.
1573         (getLoopback): Likewise.
1574         (setTTL): Likewise.
1575         (setTimeToLive): Likewise.
1576         (joinGroup): Likewise.
1577         (leaveGroup): Likewise.
1578         (send): Likewise.
1579
1580 2003-11-26  Michael Koch  <konqueror@gmx.de>
1581
1582         * java/net/Socket.java
1583         (implCreated): Dont set default value explicitely, added
1584         documentation.
1585         (inputShutdown): Likewise.
1586         (outputShutdown): Likewise.
1587         (bound): New private member variable.
1588         (bind): Set bound to true.
1589         (close): Set bound to false.
1590         (isBound): Return bound.
1591         * java/net/ServerSocket.java
1592         (bound): New private member variable.
1593         (bind): Set bound to true.
1594         (close): Set bound to false.
1595         (isBound): Return bound.
1596
1597 2003-11-26  Michael Koch  <konqueror@gmx.de>
1598
1599         * java/net/URL.java
1600         (URL): Fixed documentation to be HTML compliant.
1601         (getContent): Completed documentation.
1602         (getFile): Likewise.
1603         (getPath): Likewise.
1604         (getAuthority): Likewise.
1605         (getHost): Likewise.
1606         (getDefaultPort): Likewise.
1607         (getProtocol): Likewise.
1608         (hashCode): Likewise.
1609         (openConnection): Likewise.
1610         (openStream): Likewise.
1611         (set): Likewise.
1612         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
1613
1614 2003-11-26  Michael Koch  <konqueror@gmx.de>
1615
1616         * java/net/InetSocketAddress.java
1617         (hostname): Made private, added documentation.
1618         (addr): Likewise.
1619         (port): Likewise.
1620         (equals): Completed documentation.
1621         (getAddress): Likewise.
1622         (getHostName): Likewise.
1623         (getPort): Likewise.
1624         (hashCode): Likewise.
1625         (isUnresolved): Likewise.
1626         (toString): Likewise.
1627
1628 2003-11-26  Michael Koch  <konqueror@gmx.de>
1629
1630         * gnu/java/net/protocol/file/Handler.java
1631         (Handler): New explicit constructor.
1632         (openConnection): Added documentation.
1633         * gnu/java/net/protocol/jar/Handler.java
1634         (Handler): New explicit constructor.
1635         (openConnection): Added documentation.
1636
1637 2003-11-26  Michael Koch  <konqueror@gmx.de>
1638
1639         * java/net/DatagramPacket.java
1640         (DatagramPacket): Fixed documentation to become legal HTML.
1641
1642 2003-11-25  Michael Koch  <konqueror@gmx.de>
1643
1644         * gcj/javaprims.h: Added missing java.util.Currency.
1645
1646 2003-11-25  Michael Koch  <konqueror@gmx.de>
1647
1648         * testsuite/libjava.mauve/xfails:
1649         Removed these two tests, they mystically pass now:
1650         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
1651         test_params failed - 5getInetAddress did not return proper values
1652         (number 1)
1653         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
1654         test_BasicServer failed - 11 exception was thrown :Illegal seek
1655         (number 1)
1656
1657 2003-11-25  Michael Koch  <konqueror@gmx.de>
1658
1659         * java/net/DatagramSocket.java
1660         (factory): Made private.
1661         (closed): Removed.
1662         (DatagramSocket): Check impl argument, use constructor with
1663         SocketAddress argument.
1664         (close): Set impl to null, use isClosed().
1665         (isClosed): Check for impl == null.
1666         (getLocalAddress): Use isClosed().
1667         (getLocalPort): Check if socket is closed.
1668         (getSoTimeout): Likewise.
1669         (setSoTimeout): Likewise.
1670         (getSendBufferSize): Likewise.
1671         (setSendBufferSize): Likewise.
1672         (getReceiveBufferSize): Likewise.
1673         (setReceiveBufferSize): Likewise.
1674         (receive): Likewise.
1675         (send): Likewise.
1676         (bind): Likewise.
1677         (connect): Likewise.
1678         (setReuseAddress): Likewise.
1679         (getReuseAddress): Likewise.
1680         (setBroadcast): Likewise.
1681         (getBroadcast): Likewise.
1682         (setTrafficClass): Likewise.
1683         (getTrafficClass): Likewise.
1684         * java/net/MulticastSocket.java
1685         (getInterface): Check if socket is closed.
1686         (getTTL): Likewise.
1687         (getTimeToLive): Likewise.
1688         (setInterface): Likewise.
1689         (setNetworkInterface): Likewise.
1690         (getNetworkInterface): Likewise.
1691         (setLoopbackMode): Likewise.
1692         (setTTL): Likewise.
1693         (setTimeToLive): Likewise.
1694         (joinGroup): Likewise.
1695         (leaveGroup): Likewise.
1696         (send): Likewise.
1697         * java/net/ServerSocket.java
1698         (closed): Removed.
1699         (close): Check if socket is closed, set impl to null.
1700         (isClosed): Check impl == null;
1701         (ServerSocket): Check impl argument.
1702         (getInetAddress): Check if socket is bound.
1703         (getLocalPort): Likewise.
1704         (getLocalSocketAddress): Likewise.
1705         (bind): Check if socket is closed.
1706         (implAccept): Likewise.
1707         (setSoTimeout): Likewise.
1708         (getSoTimeout): Likewise.
1709         (setReuseAddress): Likewise.
1710         (getReuseAddress): Likewise.
1711         (setReceiveBufferSize): Likewise.
1712         (getReceiveBufferSize): Likewise.
1713         (toString): Make output compliant to JDK 1.4.2.
1714         * java/net/Socket.java
1715         (closed): Removed.
1716         (Socket): Fixed documentation.
1717         (connect): Check if socket is closed, changed exception text,
1718         fixed documentation.
1719         (getInputStream): Check of socket is closed  and connected.
1720         (getOutputStream): Likewise.
1721         (bind): Check if socket is closed.
1722         (setTcpNoDelay): Likewise.
1723         (getTcpNoDelay): Likewise.
1724         (setSoLinger): Likewise.
1725         (getSoLinger): Likewise.
1726         (sendUrgentData): Likewise.
1727         (setOOBInline): Likewise.
1728         (getOOBInline): Likewise.
1729         (setSoTimeout): Likewise.
1730         (getSoTimeout): Likewise.
1731         (setSendBufferSize): Likewise.
1732         (getSendBufferSize): Likewise.
1733         (setReceiveBufferSize): Likewise.
1734         (getReceiveBufferSize): Likewise.
1735         (setKeepAlive): Likewise.
1736         (getKeepAlive): Likewise.
1737         (close): Likewise.
1738         (shutdownInput): Likewise.
1739         (shutdownOutput): Likewise.
1740         (getReuseAddress): Likewise.
1741         (getTrafficClass): Likewise.
1742         (setTrafficClass): Likewise.
1743         (isClosed): Check impl == null.
1744         (toString): Added missing ']'.
1745
1746 2003-11-24  Tom Tromey  <tromey@redhat.com>
1747
1748         * Makefile.in: Rebuilt.
1749         * Makefile.am (propdir): New macro.
1750         (install-data-local): Install logging.properties.
1751         (core_java_source_files): Added java.util.logging.*.
1752         * java/util/logging/logging.properties: New file.
1753
1754 2003-11-25  Michael Koch  <konqueror@gmx.de>
1755
1756         * java/net/DatagramSocket.java
1757         (DatagramSocket): Move binding code to bind(), simplify constructors.
1758         * java/net/MulticastSocket.java
1759         (MulticastSocket): Call parent constructor with null argument,
1760         bind socket after setReuseAddress is called, simplify constructors.
1761
1762 2003-11-24  Michael Koch  <konqueror@gmx.de>
1763
1764         * javax/swing/BoxLayout.java
1765         (serialVersionUIR): New member variable.
1766         (X_AXIS, Y_AXIS): Documentation added.
1767         (LINE_AXIS, PAGE_AXIS): New constants.
1768         (grid): Renamed from gridbag.
1769         (BoxLayout): Use new constants, throw exception if invalid value for
1770         way, added documentation.
1771         (BoxLayout): Removed.
1772         (addLayoutComponent): Use new constants, added documentation.
1773         (removeLayoutComponent): Likewise.
1774         (addLayoutContainer): Added documentation.
1775         (preferredLayoutSize): Added documentation, check given argument.
1776         (minimumLayoutSize): Likewise.
1777         (layoutContainer): Likewise.
1778         (getLayoutAlignmentX): Likewise.
1779         (getLayoutAlignmentY): Likewise.
1780         (invalidateLayout): Likewise.
1781         (maximumLayoutSize): Likewise.
1782
1783 2003-11-22  Michael Koch  <konqueror@gmx.de>
1784
1785         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1786         (peekData): Use offset and maximal free space in datagram packet.
1787         (receive): Likewise.
1788         (send): Use offset in datagram packet.
1789
1790 2003-11-22  Michael Koch  <konqueror@gmx.de>
1791
1792         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1793         (peekData): Use offset and maximal free space in datagram packet.
1794         (receive): Likewise.
1795         (send): Use offset in datagram packet.
1796
1797 2003-11-22  Michael Koch  <konqueror@gmx.de>
1798
1799         * gnu/java/nio/DatagramChannelImpl.java
1800         (getNativeFD): Use getPlainDatagramSocketImpl().
1801         * gnu/java/nio/NIODatagramSocket.java
1802         (getPlainDatagramSocketImpl): Renamed from getImpl().
1803         * gnu/java/nio/NIOSocket.java
1804         (getPlainSocketImpl): Renamed from getImpl().
1805         (setChannel): Use getPlainSocketImpl().
1806         * gnu/java/nio/SocketChannelImpl.java
1807         (SocketChannelImpl): Use getPlainSocketImpl().
1808         (getPlainSocketImpl): Renamed from getImpl().
1809         (getNativeFD): Use getPlainSocketImpl().
1810
1811 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1812
1813         * javax/swing/JLayeredPane.java: Implement.
1814         * javax/swing/JFrame.java (getContentPane): Make public
1815         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
1816         Use JLayeredPane.FRAME_CONTENT_LAYER.
1817
1818 2003-11-21  Mark Wielaard  <mark@klomp.org>
1819
1820         * java/lang/Float.java (static): Removed.
1821
1822 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1823
1824         * java/awt/font/TextLayout.java: Implement simple layouts
1825         using attributed strings and glyph vectors.
1826
1827 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1828
1829         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
1830         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
1831         (GdkFontLineMetrics): New inner class.
1832         (getLineMetrics): Return new GdkFontLineMetrics.
1833         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
1834         (layoutGlyphVector): Create GdkGlyphVector.
1835         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
1836         (GdkGraphics2D): Initialize state via mathod calls.
1837         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
1838         (cairoTranslate, cairoScale, cairoRotate): Remove.
1839         (various methods): use setTransform for special transform cases.
1840         (DrawState): New inner class.
1841         (stateSave): New method.
1842         (stateRestore): New method.
1843         (various methods): use stateSave, stateRestore.
1844         (getClipInDevSpace): New method.
1845         (clip, clipRect, setClip, getClip, getClipBounds): 
1846         Follow spec more closely.
1847         (getTransform): Return clone of transform.
1848         (setStroke): Set linewidth to passed width / 2.0.
1849         (setPaintMode): Set SrcOver rather than Xor.
1850         (setColor): Set paint to passed color.
1851         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
1852         transform from image to user space.
1853         (drawRenderedImage, drawRenderableImage): Implement.
1854         (getFontRenderContext, getFontMetrics, drawString, getFont): 
1855         Implement
1856         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
1857         Implement.
1858         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
1859         Match changes to java side.
1860         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
1861         Release resources.
1862         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
1863         Don't use pango for metrics.
1864         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
1865         New file.
1866
1867 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
1868             Jim Pick  <jim@kaffe.org>
1869
1870         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
1871         methods.
1872
1873 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
1874
1875         * java/text/DecimalFormatSymbols.java (getCurrency,
1876         setCurrency): New methods.
1877
1878 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
1879
1880         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
1881         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
1882         Describe how the implementation works.
1883
1884 2003-11-19  Michael Koch  <konqueror@gmx.de>
1885
1886         * java/net/Socket.java
1887         (implCreated): New variable that indicates created impl.
1888         (getImpl): New method.
1889         (toString): Return more SUN compliant string representation.
1890         (various): Use getImpl() instead of impl.
1891
1892 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
1893
1894         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
1895         the right libgcc. Add -multiply_defined suppress and -bind_at_load
1896         flags.
1897
1898 2003-11-18  Tom Tromey  <tromey@redhat.com>
1899
1900         PR libgcj/13026:
1901         * verify.cc (state::copy): Only set local_changed if we're in a
1902         subroutine.  Correctly copy local variables which were modified
1903         by the subroutine.
1904         (push_jump_merge): Added more debugging output.
1905
1906         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
1907         is null.
1908
1909 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1910
1911         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
1912         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
1913
1914 2003-11-16  Tom Tromey  <tromey@redhat.com>
1915
1916         PR libgcj/13062:
1917         * java/io/StreamTokenizer.java (commentChar): Clear other
1918         attributes for character.
1919         (quoteChar): Likewise.
1920
1921 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1922
1923         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
1924         zero-length int arrays when layoutInfo is null.
1925         (getLayoutWeights): Return array of two zero-length double arrays when
1926         layoutInfo is null.
1927
1928 2003-11-13  Tom Tromey  <tromey@redhat.com>
1929
1930         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
1931         JvGetStringUTFRegion.
1932         * java/lang/natPosixProcess.cc (new_string): Pass length of string
1933         to JvGetStringUTFRegion.
1934         * java/lang/natDouble.cc (parseDouble): Pass length of string to
1935         JvGetStringUTFRegion.
1936         * java/lang/natWin32Process.cc (startProcess): Pass length of
1937         string to JvGetStringUTFRegion.
1938         * java/lang/natClass.cc (forName): Pass length of string to
1939         JvGetStringUTFRegion.
1940         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
1941         of string to JvGetStringUTFRegion.
1942         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
1943         JvGetStringUTFRegion.
1944         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
1945         to JvGetStringUTFRegion.
1946         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
1947         string to JvGetStringUTFRegion.
1948
1949 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
1950
1951         * gnu/java/nio/natSelectorImplPosix.cc
1952         (helper_put_filedescriptors): Change to static linkage.
1953         (helper_get_filedescriptors): Likewise.
1954
1955 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1956
1957         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
1958         null check.
1959         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
1960         * java/awt/Component.java (prepareImage): Likewise.
1961
1962         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
1963         Rename to nativeSetAlignment.
1964
1965 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
1966
1967         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
1968         (JNI_GetCreatedJavaVMs): Likewise.
1969         (JNI_GetDefaultJavaVMInitArgs): Likewise.
1970         * include/jni.h (JNIIMPEXP): Remove definition
1971         and replace with...
1972         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
1973         symbols,
1974         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
1975
1976 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1977
1978         * Makefile.am: Add GdkPixbufDecoder.java and
1979         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1980         * Makefile.in: Regenerate.
1981         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
1982         New constructor.
1983         (startProduction): Create ByteArrayInputStream when url and filename are
1984         null.
1985         (produce): Declare stream parameter as InputStream.
1986         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
1987         as InputStream.
1988         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1989         (GdkPixbufDecoder(byte[],int,int)): New constructor.
1990         (produce): Declare stream parameter as InputStream.
1991         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
1992         if image is null.  Set image's observer before running PrepareImage
1993         thread.  Pass image to startProduction.
1994         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
1995         source's member functions.
1996         (observer): New field.
1997         (setObserver): New method.
1998         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
1999         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
2000         new GtkImage.
2001         (prepareImage): Implement.
2002         * java/awt/Component.java: Add static fields incrementalDraw and
2003         redrawRate.
2004         (imageUpdate): Implement.
2005         (createImage): Call Toolkit's createImage if peer is null.
2006         (prepareImage): Throw NPE if image is null.
2007         * java/awt/MediaTracker.java: Fix return value.
2008
2009 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2010
2011         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
2012         (create(String, float)): New method.
2013         (setText): Make native.
2014         (nativeSetAlignment): New method.
2015         (setAlignment): Call nativeSetAlignment.
2016         (getArgs): Remove method.
2017         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2018         (find_fg_color_widget, find_bg_color_widget): New functions.
2019         (gtkWidgetSetForeground): Call find_fg_color_widget.
2020         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
2021         prelight colors.
2022         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
2023         widget in event box.
2024         (setText, setAlignment): Implement new native methods.
2025
2026 2003-11-11  Michael Koch  <konqueror@gmx.de>
2027
2028         * java/awt/Font.java,
2029         java/awt/datatransfer/DataFlavor.java,
2030         java/math/BigInteger.java,
2031         java/net/Inet4Address.java,
2032         java/net/Inet6Address.java,
2033         java/rmi/MarshalledObject.java,
2034         java/rmi/server/RMIClassLoader.java,
2035         java/security/cert/CertStore.java,
2036         java/sql/Timestamp.java,
2037         java/text/SimpleDateFormat.java,
2038         javax/naming/CompoundName.java:
2039         Removed some redundant obj == null checks.
2040
2041 2003-11-11  Michael Koch  <konqueror@gmx.de>
2042
2043         * java/nio/ByteBuffer.java
2044         (equals): Remove redundant obj == null check.
2045
2046 2003-11-11  Michael Koch  <konqueror@gmx.de>
2047
2048         * gnu/java/nio/natPipeImpl.cc,
2049         gnu/java/nio/natSelectorImpl.cc: Removed
2050         * gnu/java/nio/natPipeImplEcos.cc,
2051         gnu/java/nio/natPipeImplPosix.cc,
2052         gnu/java/nio/natPipeImplWin32.cc,
2053         gnu/java/nio/natSelectorImplEcos.cc,
2054         gnu/java/nio/natSelectorImplPosix.cc,
2055         gnu/java/nio/natSelectorImplWin32.cc: New files
2056         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
2057         gnu/java/nio/natSelectorImpl.cc
2058         * configure: Regenerated.
2059
2060 2003-11-11  Micheal Koch  <konqueror@gmx.de>
2061
2062         * java/net/URLStreamHandler.java (toExternalForm): Print port only
2063         if host is printed too and port was really given to URL.
2064
2065 2003-11-10  Gary Benson  <gbenson@redhat.com>
2066
2067         * java/sql/Timestamp.java (valueOf): Correctly handle
2068         nanoseconds.
2069
2070 2003-11-09  Tom Tromey  <tromey@redhat.com>
2071
2072         * java/net/Inet4Address.java (serialVersionUID): Updated.
2073
2074 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2075
2076         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
2077         New fields.
2078
2079 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2080
2081         * java/io/ByteArrayOutputStream.java (resize):
2082         Fix off-by-one error.
2083
2084 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
2085
2086         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
2087         public.
2088
2089 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2090
2091         PR libgcj/12231
2092         * java/lang/Win32Process.java (hasExited) Changed from
2093         public to private.
2094         (startProcess): Likewise.
2095         (cleanup): Likewise.
2096         * java/lang/natWin32Process.cc (cleanup) Don't close
2097         input, output and error streams.
2098         (ChildProcessPipe): New helper class.
2099         (startProcess): Refactored to use ChildProcessPipe.
2100         Use CREATE_NO_WINDOW when launching child process.
2101
2102 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2103
2104         * include/win32.h (_Jv_platform_close_on_exec): Changed
2105         signature and declared extern.
2106         * win32.cc (_Jv_platform_close_on_exec): Implemented.
2107         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2108         (create): Use new signature of _Jv_platform_close_on_exec.
2109         * gnu/java/net/natPlainSocketImplWin32.cc 
2110         (create): Eliminated a few typecasts
2111         Use new signature of _Jv_platform_close_on_exec.
2112         (accept): Eliminated a few typecasts
2113         Use new signature of _Jv_platform_close_on_exec.
2114         * java/io/natFileDescriptorWin32.cc (open): Use
2115         _Jv_platform_close_on_exec.
2116
2117 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
2118
2119         * java/lang/natClass.cc (newInstance): Throw InstantiationException
2120         if class has no null-argument constructor.
2121
2122 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2123
2124         PR libgcj/12647:
2125         * win32-threads.cc (_Jv_CondWait): Respect mutex's
2126         refcount when releasing and reacquiring it.
2127
2128 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2129
2130         * win32.cc: (dirExists) Internal helper function to
2131         test for directory existence.
2132         (getUserHome) New helper function refactored out
2133         of _Jv_platform_initProperties. Uses USERPROFILE
2134         instead of HOMEDIR and attempts to support Win9X and NT.
2135         (_Jv_platform_initProperties) Use getUserHome.
2136
2137 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2138
2139         PR libgcj/11521:
2140         * gnu/java/net/natPlainSocketImplWin32.cc
2141         (bind): Don't use SO_REUSEADDR
2142
2143 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2144
2145         PR libgcj/6652:
2146         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
2147
2148 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
2149
2150         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
2151         dispatch for final methods.
2152
2153 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2154
2155         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
2156         word wrapping.
2157
2158 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
2159
2160         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
2161         scrolled window's size request.
2162
2163 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2164
2165         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
2166         * java/awt/geom/QuadCurve2D.java: Likewise.
2167
2168 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2169
2170         * java/awt/geom/CubicCurve2D.java: Added documentation.
2171         * java/awt/geom/QuadCurve2D.java: Likewise.
2172
2173         * java/awt/geom/doc-files/QuadCurve2D-4.png,
2174         java/awt/geom/doc-files/QuadCurve2D-5.png,
2175         java/awt/geom/doc-files/CubicCurve2D-4.png,
2176         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
2177
2178 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2179
2180         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
2181         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
2182         (subdivide(double[],int,double[],int,double[],int)): Implement.
2183
2184 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2185
2186         * java/awt/geom/doc-files/CubicCurve2D-1.png,
2187         java/awt/geom/doc-files/CubicCurve2D-2.png,
2188         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
2189
2190 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
2191
2192         * java/text/DecimalFormat.java
2193         (scanFormat) corrected so that '%' may appear in a pattern.
2194
2195 2003-10-29  Mark Wielaard  <mark@klomp.org>
2196
2197         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
2198         * java/text/DateFormat.java (Field): New public static inner class.
2199         * java/text/Format.java (Field): Likewise.
2200         (formatToCharacterIterator): New method.
2201         * java/text/FormatCharacterIterator.java: New file.
2202
2203 2003-10-29  Mark Wielaard  <mark@klomp.org>
2204
2205         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
2206         * java/util/Currency.java: New file.
2207
2208 2003-10-29  Michael Koch  <konqueror@gmx.de>
2209
2210         * Makefile.am (ordinary_java_source_files): Added
2211         java/text/FormatCharacterIterator.java and java/util/Currency.java.
2212         * Makefile.in: Regenerated.
2213
2214 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
2215
2216         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
2217         static methods.
2218
2219 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
2220
2221         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
2222         getObjectInstance() with Object, Name, Context and environment
2223         Hashtable from exception. Call fillInStackTrace() on exception when
2224         rethrown.
2225         * javax/naming/InitialContext.java (lookup(Name)): When a
2226         CannotProceedException is thrown use the ContinuationContext.
2227         (lookup(String)): Likewise.
2228         (close): Clear myProps and defaultInitCtx.
2229
2230 2003-10-29  Michael Koch  <konqueror@gmx.de>
2231
2232         * java/net/InetAddress.java
2233         (equals): Remove redundant obj == null check.
2234         * java/net/SocketPermission.java
2235         (equals): Likewise.
2236         * java/net/URL.java
2237         (equals): Likewise.
2238         (getURLStreamHandler): Likewise.
2239
2240 2003-10-29  Michael Koch  <konqueror@gmx.de>
2241
2242         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2243         (setOption): Directly return if no error occured.
2244         * gnu/java/net/natPlainSocketImplPosix.cc
2245         (setOption): Likewise.
2246
2247 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2248
2249         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
2250         vtable slot for final methods. Add FIXME comment.
2251
2252 2003-10-28  David S. Miller  <davem@redhat.com>
2253
2254         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
2255
2256 2003-10-26  Mark Wielaard  <mark@klomp.org>
2257
2258         Reported by Helmer Kraemer <hkraemer@freenet.de>
2259         * java/util/jar/JarInputStream.java (readManifest): Don't call
2260         closeEntry().
2261
2262         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
2263         (finish): Use inbufWrite().
2264         (write(int)): Likewise.
2265         (write(byte[],int,int)): Likewise.
2266
2267 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2268
2269         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
2270         Don't check for AccessibleObject. Update javadocs.
2271         
2272         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
2273
2274 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2275
2276         * java/lang/reflect/Constructor.java (toString): Avoid extra 
2277         whitespace on constructor with no modifiers.
2278         * java/lang/reflect/natConstructor.java (newInstance): Look up
2279         caller and perform accessibility check only if constructor is
2280         non-public and accessible flag is not set.
2281
2282 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2283
2284         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
2285         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
2286         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
2287         is_virtual_call argument.
2288         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
2289         natClass.cc.
2290         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
2291         _Jv_isVirtualMethod.
2292         * java/lang/reflect/natMethod.cc (invoke): Don't use 
2293         _Jv_LookupDeclaredMethod.
2294         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
2295         look up method in target object's vtable.
2296
2297 2003-10-25  Graydon Hoare  <graydon@redhat.com>
2298
2299         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
2300         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
2301         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
2302         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2303         New concrete implementation of ClasspathFontPeer, with native part.
2304         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2305         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2306         New class, with native part.
2307         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2308         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2309         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
2310
2311 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2312
2313         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
2314         on method with no modifiers.
2315
2316 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2317
2318         PR libgcj/11780:
2319         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
2320         accessibility check only if target is non-public and accessible flag
2321         is not set.
2322         * java/lang/reflect/natField.cc (getAddr): Likewise.
2323
2324 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
2325
2326         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
2327         Remove method.
2328         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
2329         New method.
2330         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
2331         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
2332         (dispose): Post WINDOW_CLOSED event.
2333         (addWindowFocusListener, addWindowStateListener): Assign result
2334         of multicaster add back to window listener.
2335         (removeWindowFocusListener, removeWindowStateListener): Assign
2336         result of multicaster remove back to window listener.
2337         (dispatchEventImpl): Add null checks for focus and state
2338         listeners.
2339         (processWindowEvent): Handle case where windowListener is null
2340         but state or focus listeners exist.
2341         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2342         glue for postWindowEvent.
2343         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2344         (window_delete_cb, window_destroy_cb, window_show_cb,
2345         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
2346         window_get_new_state): New functions.
2347         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
2348         macros.  Declare postWindowEventID.
2349
2350 2003-10-24  Anthony Green  <green@redhat.com>
2351
2352         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
2353         we have no interpreter.
2354
2355 2003-10-22  Andrew Haley  <aph@redhat.com>
2356
2357         * java/lang/natClass.cc (initializeClass): Call
2358         _Jv_linkExceptionClassTable.
2359         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
2360         _Jv_Defer_Resolution on a method whose ncode is NULL.
2361         (_Jv_linkExceptionClassTable): New function.
2362         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
2363         entry, look it up.
2364         * java/lang/Class.h (struct _Jv_CatchClass): New.
2365         (_Jv_linkExceptionClassTable): New friend.
2366         (_Jv_Defer_Resolution): New friend.
2367         (class Class.catch_classes): New field.
2368         * include/java-interp.h (Jv_Defer_Resolution): New method.
2369         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
2370         (_Jv_MethodBase.deferred): New field.
2371         (_Jv_Defer_Resolution): New function.
2372         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
2373         * exception.cc (get_ttype_entry): Change return type to void**.
2374         (PERSONALITY_FUNCTION): Remove all code related to using a
2375         Utf8Const* for a match type.  Change match type to be a pointer to
2376         a pointer, rather than a pointer to a Class.
2377         * defineclass.cc (handleCodeAttribute): Initialize
2378         method->deferred.
2379         (handleMethodsEnd): Likewise.
2380
2381 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2382
2383         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
2384         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
2385
2386 2003-10-22  Tom Tromey  <tromey@redhat.com>
2387
2388         PR libgcj/12416:
2389         * java/lang/Class.h: Updated.
2390         * java/lang/natClass.cc (_getFields): Removed.
2391         (getFields): Likewise.
2392         (getDeclaredFields): Added `public_only' parameter.
2393         * java/lang/Class.java (getFields): Now implemented in java; from
2394         Classpath.
2395         (getDeclaredFields): Likewise.
2396         (getDeclaredFields(boolean)): Declare.
2397         (_getFields): Removed.
2398         (internalGetFields): New method, from Classpath.
2399
2400         PR libgcj/12656:
2401         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
2402         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
2403
2404 2003-10-22  David Daney  <ddaney@avtrex.com)
2405
2406         * include/mips-signal.h: New file.
2407         * sysdep/dwarf2-backtrace.cc: New file.
2408         * sysdep/mips: New directory.
2409         * sysdep/mips/locks.h: New file.
2410         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
2411         added to libgcj.
2412         (extra_cc_source_files): Ditto.
2413         * configure.host(disable_dladdr):  New shell variable passed to
2414         configure.
2415         (mips*-*-linux*): sysdeps_dir=mips,
2416         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
2417         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
2418         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
2419         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
2420         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
2421         (EXTRA_CC_FILES): New, to support conditional addition of
2422         sysdep/dwarf2-backtrace.cc.
2423         * configure: Regenerated.
2424         * Makefile.in: Regenerated.
2425         * gcj/Makefile.in: Regenerated.
2426         * include/config.h.in: Regenerated.
2427         * include/Makefile.in: Regenerated.
2428         * testsuite/Makefile.in: Regenerated.
2429         
2430 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2431
2432         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
2433         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
2434
2435 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2436
2437         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
2438         * java/awt/geom/doc-files: New directory.
2439         * java/awt/geom/doc-files/QuadCurve2D-1.png,
2440         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
2441         
2442 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2443
2444         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
2445
2446 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2447
2448         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
2449
2450 2003-10-22  Michael Koch  <konqueror@gmx.de>
2451
2452         * java/io/File.java
2453         (equals): Removed redundant obj == null check.
2454         (createTempFile): Merged comments from classpath.
2455
2456 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2457
2458         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
2459         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
2460         (error): Synchronize on instance, not class.
2461
2462 2003-10-21  Mark Wielaard  <mark@klomp.org>
2463
2464         Reported by M.Negovanovic
2465         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
2466         method.
2467         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
2468
2469 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2470
2471         Fix for Classpath bug #6076.
2472         * java/awt/geom/GeneralPath.java (append): Re-written.
2473
2474 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2475
2476         Fix for Classpath bug #6089.
2477         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
2478         (getPathIterator, GeneralPathIterator): Re-written from scratch.
2479
2480 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2481
2482         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
2483         point, not start of subpath.  Fixes Classpath bug #6075.
2484
2485 2003-10-21  Michael Koch  <konqueror@gmx.de>
2486
2487         * java/nio/ByteOrder.java,
2488         java/nio/DirectByteBufferImpl.java,
2489         java/nio/channels/FileChannelImpl.java:
2490         Add code to load library with code for native methods if needed.
2491
2492 2003-10-21  Michael Koch  <konqueror@gmx.de>
2493
2494         * gnu/java/net/PlainDatagramSocketImpl.java,
2495         gnu/java/net/PlainSocketImpl.java,
2496         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
2497         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
2498         gnu/java/net/natPlainSocketImplPosix.cc,
2499         gnu/java/net/natPlainSocketImplWin32.cc:
2500         Renamed fnum to native_fd to match classpath more.
2501
2502 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
2503
2504         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
2505         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
2506         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
2507         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
2508         _Jv_PthreadCheckMonitor.  Simplify code.
2509         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
2510         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
2511         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
2512         * java/lang/Thread.java (holdsLock): New.
2513         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
2514         without JV_HASH_SYNCHRONIZATION.
2515         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
2516
2517 2003-10-20  Michael Koch  <konqueror@gmx.de>
2518
2519         * java/text/RuleBasedCollator.java
2520         (RuleBasedCollator): Check rules not empty, fixed search in already
2521         existing collation elements.
2522         (is_special): Removed common whitespace characters.
2523         (text_argument): Dont return on whitespaces, add characters between
2524         two ' to string buffer.
2525
2526 2003-10-18  Michael Koch  <konqueror@gmx.de>
2527
2528         * gnu/java/net/protocol/file/Connection.java,
2529         gnu/java/net/protocol/file/Handler.java,
2530         gnu/java/net/protocol/http/Connection.java,
2531         gnu/java/net/protocol/http/Handler.java,
2532         gnu/java/net/protocol/jar/Connection.java,
2533         gnu/java/net/protocol/jar/Handler.java:
2534         Merged copyright text from classpath to make
2535         it possible to merge the classes.
2536
2537 2003-10-18  Mark Wielaard  <mark@klomp.org>
2538
2539         Reported by M.Negovanovic
2540         * java/beans/IndexedPropertyDescriptor.java
2541         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
2542
2543 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
2544
2545         * win32.cc (_Jv_pipe): Implemented.
2546         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
2547         _Jv_pipe instead of ::pipe.
2548         * include/posix.h (_Jv_pipe): New inline.
2549         * include/win32.h (_Jv_pipe): New declaration.
2550         
2551 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2552
2553         * java/lang/StringBuffer.java (getChars): Fix array index checks.
2554         (append, substring, insert): Likewise.
2555         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
2556         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
2557         
2558 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2559
2560         * java/lang/natString.cc (getChars):
2561         Fix validation of array indexes.
2562         (getBytes, regionMatches, startsWith, valueOf): Likewise.
2563         * testsuite/libjava.lang/String_overflow.java: New file.
2564         * testsuite/libjava.lang/String_overflow.out: New file.
2565
2566 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2567
2568         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
2569         overflow a jint.
2570         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
2571         check for overflowing size_t, since the lower level functions
2572         take a jint.
2573         * testsuite/libjava.lang/newarray_overflow.java:  New file.
2574         * testsuite/libjava.lang/newarray_overflow.out:  New file.
2575         
2576 2003-10-15  Michael Koch  <konqueror@gmx.de>
2577
2578         * java/text/RuleBasedCollator.java
2579         (RuleBasedCollator): Moved around, documentation added.
2580         (compare): Documentation added.
2581         (equals): Likewise.
2582         (getCollationElementIterator): Likewise.
2583         (getCollationKey): Likewise.
2584         (getRules): Likewise.
2585         (hashCode): Likewise.
2586
2587 2003-10-15  Michael Koch  <konqueror@gmx.de>
2588
2589         * java/text/RuleBasedCollator.java
2590         (CollationElement): Renamed from RBCElement and moved into
2591         RuledBasedCollator as inner class.
2592
2593 2003-10-15  Michael Koch  <konqueror@gmx.de>
2594
2595         * java/text/CollationElementIterator.java
2596         (CollationElementIterator): Moved, documenatation added, call setText.
2597         (next): Reformated.
2598         (reset): Reformated.
2599         (setText): New method.
2600         (getOffset): New method.
2601         * java/text/CollationKey.java
2602         (getSourceString): Reformated.
2603         (hashCode): Reformated.
2604         (toByteArray): Reformated.
2605
2606 2003-10-15  Michael Koch  <konqueror@gmx.de>
2607
2608         * java/util/zip/InflaterInputStream.java
2609         (InflaterInputStream): Renamed infl to inf and bufsize to size,
2610         added description to exception, check for inf == null and size < 0.
2611
2612 2003-10-15  Michael Koch  <konqueror@gmx.de>
2613
2614         * java/text/AttributedCharacterIterator.java,
2615         java/text/CharacterIterator.java: Reformated.
2616
2617 2003-10-15  Michael Koch  <konqueror@gmx.de>
2618
2619         * javax/swing/UIDefaults.java (putDefaults):
2620         Readded accidently removed "public" modifier.
2621
2622 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
2623
2624         * interpret.cc (_Jv_InterpMethod::run): Don't
2625         use libffi types, they were meant to be internal.
2626         * gcj/javaprims.h (_Jv_ulong): New typedef.
2627
2628 2003-10-13  Tom Tromey  <tromey@redhat.com>
2629
2630         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
2631         (defineClass): Updated.
2632         (_Jv_NewClass): Likewise.
2633         * prims.cc (_Jv_InitPrimClass): Don't call
2634         _Jv_InitNewClassFields.
2635
2636 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
2637
2638         PR libgcj/12592
2639         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
2640         not just \n.
2641
2642 2003-10-13  Michael Koch  <konqueror@gmx.de>
2643
2644         * java/io/File.java: Reformated.
2645         (equals): Check for obj == null.
2646
2647 2003-10-13  Michael Koch  <konqueror@gmx.de>
2648
2649         * java/net/JarURLConnection.java
2650         (jarFileURL): Added dcoumentation.
2651         (jarFileURLConnection): Reformated documentation.
2652         (entryName): Renamed from "element", documentation rewritten.
2653         (connectionCache): Renamed from "conn_cache", documentation
2654         reformated.
2655         (JarURLConnection): Check URL protocol.
2656         (getEntryName): Use entryName.
2657         (connect): Use connectionCache.
2658         (getInputStream): Use entryName, fixed comment.
2659         (getJarEntry): Use entryName.
2660         (getHeaders): Use entryName.
2661         * java/net/URLConnection.java
2662         (addRequestProperty): Fixed documentation.
2663         (setDefaultRequestProptery): Added comment that it does nothing since
2664         JDK 1.3.
2665         (getDefaultRequestProperty): Likewise.
2666
2667 2003-10-13  Michael Koch  <konqueror@gmx.de>
2668
2669         * java/net/java/net/URLStreamHandlerFactory.java
2670         (createURLStreamHandler): Removed redundant "public" modifier.
2671         * java/sql/DatabaseMetaData.java:
2672         (DatabaseMetaData):  Readded accidently removed "public" modifier.
2673         * java/sql/ParameterMetaData.java:
2674         (ParameterMetaData): Readded accidently removed "public" modifier.
2675         * java/sql/PreparedStatement.java:
2676         (PreparedStatement): Readded accidently removed "public" modifier.
2677         * java/sql/Ref.java:
2678         (Ref): Readded accidently removed "public" modifier.
2679
2680 2003-10-13  Michael Koch  <konqueror@gmx.de>
2681
2682         * java/nio/Buffer.java
2683         (hasRemaining): Made implementation more clear.
2684         * java/nio/MappedByteBuffer.java
2685         (loaded): New member variable.
2686         (force): Added comment.
2687         (isLoaded): Return value of loaded.
2688         (load): Set loaded to true, added comment.
2689
2690 2003-10-12  Michael Koch  <konqueror@gmx.de>
2691
2692         * gnu/java/nio/PipeImpl.java
2693         (SourceChannelImpl): New inner class.
2694         (SinkChannelImpl): New inner class.
2695         (sink): New member variable.
2696         (source): New member variable.
2697         (PipeImpl): Add SelectorProvider argument, implemented.
2698         (nativeInit): New method.
2699         (sink): Return sink channel.
2700         (source): Return source channel.
2701         * gnu/java/nio/SelectorProviderImpl.java
2702         (openPipe): Give provider as argument to PipeImpl constructor.
2703         * java/nio/channels/spi/SelectorProvider.java
2704         (pr): Removed.
2705         (systemDefaultProvider): New member variable.
2706         (provider): Made it synchronized, use property
2707         java.nio.channels.spi.SelectorProvider.
2708         * gnu/java/nio/natPipeImpl.cc: New file.
2709         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
2710         * Makefile.in: Regenerated.
2711
2712 2003-10-12  Michael Koch  <konqueror@gmx.de>
2713
2714         * javax/swing/table/DefaultTableModel.java,
2715         javax/swing/table/TableCellEditor.java,
2716         javax/swing/table/TableCellRenderer.java,
2717         javax/swing/table/TableColumnModel.java,
2718         javax/swing/table/TableModel.java,
2719         javax/swing/text/AbstractDocument.java,
2720         javax/swing/text/Document.java,
2721         javax/swing/text/MutableAttributeSet.java,
2722         javax/swing/text/StyledDocument.java,
2723         javax/swing/text/ViewFactory.java,
2724         javax/swing/tree/DefaultMutableTreeNode.java,
2725         javax/swing/tree/MutableTreeNode.java,
2726         javax/swing/tree/RowMapper.java,
2727         javax/swing/tree/TreeCellEditor.java,
2728         javax/swing/tree/TreeCellRenderer.java,
2729         javax/swing/tree/TreeModel.java,
2730         javax/swing/tree/TreeNode.java,
2731         javax/swing/tree/TreeSelectionModel.java,
2732         javax/swing/undo/StateEditable.java,
2733         javax/swing/undo/UndoableEdit.java:
2734         Removed redundant modifiers.
2735
2736 2003-10-12  Michael Koch  <konqueror@gmx.de>
2737
2738         * javax/swing/event/AncestorListener.java,
2739         javax/swing/event/CaretListener.java,
2740         javax/swing/event/CellEditorListener.java,
2741         javax/swing/event/ChangeListener.java,
2742         javax/swing/event/DocumentEvent.java,
2743         javax/swing/event/DocumentListener.java,
2744         javax/swing/event/HyperlinkListener.java,
2745         javax/swing/event/InternalFrameListener.java,
2746         javax/swing/event/ListDataListener.java,
2747         javax/swing/event/ListSelectionListener.java,
2748         javax/swing/event/MenuDragMouseListener.java,
2749         javax/swing/event/MenuKeyListener.java,
2750         javax/swing/event/MenuListener.java,
2751         javax/swing/event/MouseInputListener.java,
2752         javax/swing/event/PopupMenuListener.java,
2753         javax/swing/event/TableColumnModelListener.java,
2754         javax/swing/event/TableModelListener.java,
2755         javax/swing/event/TreeExpansionListener.java,
2756         javax/swing/event/TreeModelListener.java,
2757         javax/swing/event/TreeSelectionListener.java,
2758         javax/swing/event/TreeWillExpandListener.java,
2759         javax/swing/event/UndoableEditListener.java,
2760         javax/swing/plaf/UIResource.java,
2761         javax/swing/plaf/metal/MetalLookAndFeel.java:
2762         Removed redundant modifiers.
2763
2764 2003-10-12  Michael Koch  <konqueror@gmx.de>
2765
2766         * javax/swing/Action.java,
2767         javax/swing/BoundedRangeModel.java,
2768         javax/swing/CellEditor.java,
2769         javax/swing/ComboBoxEditor.java,
2770         javax/swing/ComboBoxModel.java,
2771         javax/swing/DesktopManager.java,
2772         javax/swing/JComboBox.java,
2773         javax/swing/ListCellRenderer.java,
2774         javax/swing/ListSelectionModel.java,
2775         javax/swing/MenuElement.java,
2776         javax/swing/MutableComboBoxModel.java,
2777         javax/swing/Renderer.java,
2778         javax/swing/RootPaneContainer.java,
2779         javax/swing/ScrollPaneConstants.java,
2780         javax/swing/SingleSelectionModel.java,
2781         javax/swing/SpinnerModel.java,
2782         javax/swing/SwingConstants.java,
2783         javax/swing/UIDefaults.java,
2784         javax/swing/WindowConstants.java,
2785         javax/swing/border/Border.java,
2786         javax/swing/colorchooser/ColorSelectionModel.java:
2787         Removed redundant modifiers.
2788
2789 2003-10-11  Michael Koch  <konqueror@gmx.de>
2790
2791         * javax/transaction/Status.java,
2792         javax/transaction/Synchronization.java,
2793         javax/transaction/Transaction.java,
2794         javax/transaction/TransactionManager.java,
2795         javax/transaction/UserTransaction.java,
2796         javax/transaction/xa/XAResource.java,
2797         javax/transaction/xa/Xid.java:
2798         Removing redundant modifiers.
2799
2800 2003-10-11  Michael Koch  <konqueror@gmx.de>
2801
2802         * javax/print/attribute/Attribute.java,
2803         javax/print/attribute/AttributeSet.java,
2804         javax/print/attribute/PrintRequestAttributeSet.java:
2805         Removing redundant modifiers.
2806
2807 2003-10-11  Michael Koch  <konqueror@gmx.de>
2808
2809         * javax/sql/ConnectionEventListener.java,
2810         javax/sql/ConnectionPoolDataSource.java,
2811         javax/sql/DataSource.java,
2812         javax/sql/PooledConnection.java,
2813         javax/sql/RowSet.java,
2814         javax/sql/RowSetInternal.java,
2815         javax/sql/RowSetListener.java,
2816         javax/sql/RowSetMetaData.java,
2817         javax/sql/RowSetReader.java,
2818         javax/sql/RowSetWriter.java,
2819         javax/sql/XAConnection.java,
2820         javax/sql/XADataSource.java:
2821         Removing redundant modifiers.
2822
2823 2003-10-11  Michael Koch  <konqueror@gmx.de>
2824
2825         * javax/naming/Context.java,
2826         javax/naming/Name.java,
2827         javax/naming/NameParser.java,
2828         javax/naming/NamingEnumeration.java,
2829         javax/naming/Referenceable.java,
2830         javax/naming/directory/Attribute.java,
2831         javax/naming/directory/Attributes.java,
2832         javax/naming/directory/DirContext.java,
2833         javax/naming/event/EventContext.java,
2834         javax/naming/event/EventDirContext.java,
2835         javax/naming/event/NamespaceChangeListener.java,
2836         javax/naming/event/NamingListener.java,
2837         javax/naming/event/ObjectChangeListener.java,
2838         javax/naming/ldap/Control.java,
2839         javax/naming/ldap/ExtendedRequest.java,
2840         javax/naming/ldap/ExtendedResponse.java,
2841         javax/naming/ldap/HasControls.java,
2842         javax/naming/ldap/LdapContext.java,
2843         javax/naming/ldap/UnsolicitedNotification.java,
2844         javax/naming/ldap/UnsolicitedNotificationListener.java,
2845         javax/naming/spi/DirObjectFactory.java,
2846         javax/naming/spi/DirStateFactory.java,
2847         javax/naming/spi/InitialContextFactory.java,
2848         javax/naming/spi/InitialContextFactoryBuilder.java,
2849         javax/naming/spi/ObjectFactory.java,
2850         javax/naming/spi/ObjectFactoryBuilder.java,
2851         javax/naming/spi/Resolver.java,
2852         javax/naming/spi/StateFactory.java:
2853         Removing redundant modifiers.
2854
2855 2003-10-11  Michael Koch  <konqueror@gmx.de>
2856
2857         * java/security/Key.java,
2858         * java/security/PrivateKey.java,
2859         * java/security/PublicKey.java,
2860         * java/security/acl/Acl.java,
2861         * java/security/acl/AclEntry.java,
2862         * java/security/acl/Group.java,
2863         * java/security/acl/Owner.java,
2864         * java/security/acl/Permission.java,
2865         * java/security/cert/X509Extension.java,
2866         * java/security/interfaces/DSAKey.java,
2867         * java/security/interfaces/DSAKeyPairGenerator.java,
2868         * java/security/interfaces/DSAParams.java,
2869         * java/security/interfaces/DSAPrivateKey.java,
2870         * java/security/interfaces/DSAPublicKey.java,
2871         * java/security/interfaces/RSAKey.java,
2872         * java/security/interfaces/RSAPrivateCrtKey.java,
2873         * java/security/interfaces/RSAPrivateKey.java,
2874         * java/security/interfaces/RSAPublicKey.java:
2875         Removed redundant modifiers.
2876
2877 2003-10-11  Michael Koch  <konqueror@gmx.de>
2878
2879         * gnu/java/rmi/server/ProtocolConstants.java,
2880         gnu/java/security/der/DER.java:
2881         Removing redundant modifiers.
2882
2883 2003-10-11  Michael Koch  <konqueror@gmx.de>
2884
2885         * java/util/Map.java,
2886         java/util/Observer.java,
2887         java/util/zip/Checksum.java,
2888         java/util/zip/ZipConstants.java:
2889         Removed redundant modifiers.
2890
2891 2003-10-11  Michael Koch  <konqueror@gmx.de>
2892
2893         * java/text/AttributedCharacterIterator.java,
2894         java/text/CharacterIterator.java:
2895         Removed redundant modifiers.
2896
2897 2003-10-11  Michael Koch  <konqueror@gmx.de>
2898
2899         * java/sql/Array.java,
2900         java/sql/Blob.java,
2901         java/sql/CallableStatement.java,
2902         java/sql/Clob.java,
2903         java/sql/Connection.java,
2904         java/sql/DatabaseMetaData.java,
2905         java/sql/Driver.java,
2906         java/sql/ParameterMetaData.java,
2907         java/sql/PreparedStatement.java,
2908         java/sql/Ref.java,
2909         java/sql/ResultSet.java,
2910         java/sql/ResultSetMetaData.java,
2911         java/sql/SQLData.java,
2912         java/sql/SQLInput.java,
2913         java/sql/SQLOutput.java,
2914         java/sql/Savepoint.java,
2915         java/sql/Statement.java,
2916         java/sql/Struct.java:
2917         Removed redundant modifiers.
2918
2919 2003-10-11  Michael Koch  <konqueror@gmx.de>
2920
2921         * java/nio/channels/Channel.java,
2922         java/nio/channels/GatheringByteChannel.java,
2923         java/nio/channels/ReadableByteChannel.java,
2924         java/nio/channels/ScatteringByteChannel.java,
2925         java/nio/channels/WritableByteChannel.java:
2926         Removed redundant modifiers.
2927
2928 2003-10-11  Michael Koch  <konqueror@gmx.de>
2929
2930         * java/rmi/activation/ActivationInstantiator.java,
2931         java/rmi/activation/ActivationMonitor.java,
2932         java/rmi/activation/ActivationSystem.java,
2933         java/rmi/activation/Activator.java,
2934         java/rmi/dgc/DGC.java,
2935         java/rmi/registry/Registry.java,
2936         java/rmi/registry/RegistryHandler.java,
2937         java/rmi/server/LoaderHandler.java,
2938         java/rmi/server/RMIClientSocketFactory.java,
2939         java/rmi/server/RMIFailureHandler.java,
2940         java/rmi/server/RMIServerSocketFactory.java,
2941         java/rmi/server/RemoteCall.java,
2942         java/rmi/server/RemoteRef.java,
2943         java/rmi/server/ServerRef.java,
2944         java/rmi/server/Skeleton.java,
2945         java/rmi/server/Unreferenced.java:
2946         Removed redundant modifiers.
2947
2948 2003-10-11  Michael Koch  <konqueror@gmx.de>
2949
2950         * java/net/ContentHandlerFactory.java,
2951         java/net/DatagramSocketImplFactory.java,
2952         java/net/FileNameMap.java,
2953         java/net/SocketImplFactory.java,
2954         java/net/SocketOptions.java,
2955         java/net/URLStreamHandlerFactory.java:
2956         Removed redundant modifiers.
2957
2958 2003-10-11  Michael Koch  <konqueror@gmx.de>
2959
2960         * java/io/Externalizable.java,
2961         java/io/FileFilter.java,
2962         java/io/FilePermission.java,
2963         java/io/ObjectInput.java,
2964         java/io/ObjectInputValidation.java,
2965         java/io/ObjectOutput.java,
2966         java/io/ObjectStreamClass.java,
2967         java/io/ObjectStreamConstants.java,
2968         java/io/Serializable.java:
2969         Removed redundant modifiers.
2970
2971 2003-10-11  Ingo Proetel  <proetel@aicas.com>
2972
2973         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
2974         codebase and context classloader.
2975
2976 2003-10-11  Michael Koch  <konqueror@gmx.de>
2977
2978         * java/beans/beancontext/BeanContext.java,
2979         java/beans/beancontext/BeanContextChild.java,
2980         java/beans/beancontext/BeanContextChildComponentProxy.java,
2981         java/beans/beancontext/BeanContextChildSupport.java,
2982         java/beans/beancontext/BeanContextContainerProxy.java,
2983         java/beans/beancontext/BeanContextMembershipListener.java,
2984         java/beans/beancontext/BeanContextProxy.java,
2985         java/beans/beancontext/BeanContextServiceProvider.java,
2986         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
2987         java/beans/beancontext/BeanContextServiceRevokedListener.java,
2988         java/beans/beancontext/BeanContextServices.java,
2989         java/beans/beancontext/BeanContextServicesListener.java:
2990         Removed redundant modifiers.
2991
2992 2003-10-11  Michael Koch  <konqueror@gmx.de>
2993
2994         * java/beans/AppletInitializer.java,
2995         java/beans/BeanInfo.java,
2996         java/beans/Customizer.java,
2997         java/beans/DesignMode.java,
2998         java/beans/PropertyEditor.java,
2999         java/beans/Visibility.java:
3000         Removed redundant modifiers.
3001
3002 2003-10-11  Michael Koch  <konqueror@gmx.de>
3003
3004         * java/awt/print/Pageable.java,
3005         * java/awt/print/Printable.java,
3006         java/awt/print/PrinterGraphics.java:
3007         Removed redundant modifiers.
3008
3009 2003-10-11  Michael Koch  <konqueror@gmx.de>
3010
3011         * java/awt/peer/ButtonPeer.java,
3012         java/awt/peer/CheckboxMenuItemPeer.java,
3013         java/awt/peer/CheckboxPeer.java,
3014         java/awt/peer/ChoicePeer.java,
3015         java/awt/peer/ComponentPeer.java,
3016         java/awt/peer/ContainerPeer.java,
3017         java/awt/peer/DialogPeer.java,
3018         java/awt/peer/FileDialogPeer.java,
3019         java/awt/peer/FramePeer.java,
3020         java/awt/peer/LabelPeer.java,
3021         java/awt/peer/ListPeer.java,
3022         java/awt/peer/MenuBarPeer.java,
3023         java/awt/peer/MenuComponentPeer.java,
3024         java/awt/peer/MenuItemPeer.java,
3025         java/awt/peer/MenuPeer.java,
3026         java/awt/peer/PopupMenuPeer.java,
3027         java/awt/peer/RobotPeer.java,
3028         java/awt/peer/ScrollPanePeer.java,
3029         java/awt/peer/ScrollbarPeer.java,
3030         java/awt/peer/TextAreaPeer.java,
3031         java/awt/peer/TextComponentPeer.java,
3032         java/awt/peer/TextFieldPeer.java,
3033         java/awt/peer/WindowPeer.java:
3034         Removed redundant modifiers.
3035
3036 2003-10-11  Michael Koch  <konqueror@gmx.de>
3037
3038         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
3039         * gnu/java/nio/ServerSocketChannelImpl.java
3040         (serverSocket): Made it a NIOServerSocket.
3041         (impl): Removed.
3042         (ServerSocketChannelImpl): Initialize only serverSocket.
3043         (initServerSocket): Removed.
3044         (getNativeFD): Rewritten.
3045         (implConfigureBlocking): Set socket timeout and removed comment.
3046         (accept): Rewritten.
3047         * gnu/java/nio/SocketChannelImpl.java
3048         (impl): New variable.
3049         (connected): Removed.
3050         (SocketChannelImpl): Initialize impl too.
3051         (getImpl): New method.
3052         (isConnected): Rewritten.
3053         (read): Rewritten, set position in buffer correctly.
3054         (write): Set position in buffer correctly.
3055         * java/net/ServerSocket.java (getImpl): New method.
3056         * gnu/java/nio/NIOServerSocket.java,
3057         gnu/java/nio/natNIOServerSocket.cc: New files.
3058         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3059         * Makefile.am
3060         (ordinary_java_source_files):
3061         Added gnu/java/nio/NIOServerSocket.java.
3062         (nat_source_files):
3063         Removed gnu/java/nio/natServerSocketChannelImpl.cc
3064         and added gnu/java/nio/natNIOServerSocket.cc.
3065         * Makefile.in: Regenerated.
3066
3067 2003-10-11  Michael Koch  <konqueror@gmx.de>
3068
3069         * java/awt/ActiveEvent.java,
3070         java/awt/datatransfer/ClipboardOwner.java,
3071         java/awt/datatransfer/FlavorMap.java,
3072         java/awt/datatransfer/Transferable.java,
3073         java/awt/dnd/Autoscroll.java,
3074         java/awt/dnd/peer/DragSourceContextPeer.java,
3075         java/awt/dnd/peer/DropTargetContextPeer.java,
3076         java/awt/dnd/peer/DropTargetPeer.java,
3077         java/awt/font/MultipleMaster.java,
3078         java/awt/font/OpenType.java,
3079         java/awt/im/spi/InputMethodDescriptor.java,
3080         java/awt/image/ImageObserver.java,
3081         java/awt/image/ImageConsumer.java,
3082         java/awt/image/ImageProducer.java,
3083         java/awt/image/RGBImageFilter.java,
3084         java/awt/image/RasterOp.java,
3085         java/awt/image/renderable/RenderableImage.java:
3086         Removed redundant modifiers.
3087
3088 2003-10-11  Michael Koch  <konqueror@gmx.de>
3089
3090         * gnu/awt/j2d/DirectRasterGraphics.java,
3091         gnu/java/awt/EmbeddedWindowSupport.java:
3092         Removed redundant modifiers.
3093
3094 2003-10-09  Michael Koch  <konqueror@gmx.de>
3095
3096         * gnu/java/nio/SelectorImpl.java (register):
3097         Use ServerSocketChannelSelectionKey for server socket channels,
3098         removed unneeded comments.
3099         * gnu/java/nio/ServerSocketChannelImpl.java
3100         (ServerSocketChannelImpl): Made class public final.
3101         (impl): New member variable.
3102         (ServerSocketChannelImpl): Initialize member variables correctly.
3103         (initServerSocket): New method.
3104         (getNativeFD): Likewise.
3105         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
3106         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
3107         * Makefile.am (ordinary_java_source_files):
3108         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
3109         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
3110         * Makefile.in: Regenrated.
3111
3112 2003-10-09  Michael Koch  <konqueror@gmx.de>
3113
3114         * java/nio/channels/spi/AbstractSelectableChannel.java
3115         (registered): Made private.
3116         (blocking): Likewise.
3117         (LOCK): Likewise.
3118         (provider): Likewise.
3119         (keys): Made it a private LinkedList.
3120         (AbstractSelectableChannel): Initialize keys.
3121         (isRegistered): New implementation.
3122         (locate): Rewritten.
3123         (register): Rewritten.
3124         * java/nio/channels/spi/AbstractSelectionKey.java
3125         (ok): Removed.
3126         (cancelled): New member variable.
3127         (cancel): Rewritten.
3128         (isValid): Rewritten.
3129         * java/nio/channels/spi/AbstractSelector.java:
3130         Some methods moved.
3131         (closed): Make private.
3132         (provider): Likewise.
3133         (cancelledKeys): New member variable.
3134         (AbstractSelector): Initialize cancelledKeys.
3135         (cancelKey): New method.
3136
3137 2003-10-09  Tom Tromey  <tromey@redhat.com>
3138
3139         * java/lang/ClassLoader.java (setSigners): Implemented.
3140         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
3141         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
3142         Initialize new fields.
3143         * java/lang/Class.java (getSigners): Now native.
3144         (setSigners): Declare.
3145         * java/lang/natClass.cc (getSigners): New method.
3146         (getSigners): Likewise.
3147         * java/lang/Class.h (Class::signers): New field.
3148         (Class::setSigners): New method.
3149
3150 2003-10-09  Michael Koch  <konqueror@gmx.de>
3151
3152         * java/rmi/server/RMIClassLoader.java:
3153         Removed unused imports, little reformatings.
3154         (getClassLoader): New method, implementation was part of old loadCLass
3155         method.
3156         (loadClass): Simplified by moving functionality to new method and
3157         reworking the code a bit.
3158         (getClassAnnotation): Merged documentation from classpath.
3159
3160 2003-10-09  Michael Koch  <konqueror@gmx.de>
3161
3162         * java/math/BigInteger.java
3163         (add): Removed unused local variable len.
3164
3165 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3166
3167         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
3168         modality check.
3169         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3170         Initialize insets to use latest insets.
3171         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
3172         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
3173         field.
3174         (postConfigureEvent): Update latestInsets field when insets
3175         change.  Remove call to setSize.  Move validate call outside of
3176         if blocks.
3177         (setVisible): Call setBounds before showing window.
3178         (nativeSetVisible): New native method.
3179         * java/awt/Window.java (show): Show visible owned windows.
3180         (hide): Hide visible owned windows.
3181         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3182         (awt_event_handler): Implement modality using GTK grabs.
3183         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3184         (global_gtk_window_group): New global variable.
3185         (gtkInit): Initialize global_gtk_window_group.
3186         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3187         Clamp width and height values to at least 1.  Add this window to
3188         the global GTK window group.
3189         (setVisible): Rename to nativeSetVisible.
3190         (setup_window): Remove function.
3191         (setSize): Clamp width and height values to at least 1.
3192         (nativeSetBounds): Likewise.
3193         (gdk_window_get_root_geometry): Remove function.
3194         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
3195         and setup_window declarations.  Declare global_gtk_window_group.
3196
3197         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3198         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3199         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3200         (gtkWidgetSetForeground): New method.
3201         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3202         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3203         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
3204         (setBackground, setForeground): Implement.
3205         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3206         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3207         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3208         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3209         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3210         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3211         Position PangoLayout relative to text's baseline.
3212         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
3213
3214         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
3215         for CENTER and RIGHT alignments.
3216
3217 2003-10-08  Michael Koch  <konqueror@gmx.de>
3218
3219         * java/security/Security.java: Reformated.
3220
3221 2003-10-08  Michael Koch  <konqueror@gmx.de>
3222
3223         * java/text/SimpleDateFormat.java
3224         (compileFormat): Replace Character.isLetter() test with
3225         Character.isLowerCase() || Character.isUpperCase().
3226
3227 2003-10-08  Tom Tromey  <tromey@redhat.com>
3228
3229         * java/lang/StrictMath.java (toDegrees): Multiply before
3230         dividing.
3231         (toRadians): Likewise.
3232
3233 2003-10-08  C. Brian Jones  <cbj@gnu.org>
3234
3235         * java/lang/Math.java
3236         (toRadians): multiply before dividing to reduce decimal error
3237         (toDegrees): ditto
3238
3239 2003-10-08  Michael Koch  <konqueror@gmx.de>
3240
3241         * gnu/gcj/protocol/core/Connection.java,
3242         gnu/gcj/protocol/core/CoreInputStream.java,
3243         gnu/gcj/protocol/core/Handler.java,
3244         gnu/gcj/protocol/core/natCoreInputStream.cc,
3245         gnu/gcj/protocol/file/Connection.java,
3246         gnu/gcj/protocol/file/Handler.java,
3247         gnu/gcj/protocol/gcjlib/Connection.java,
3248         gnu/gcj/protocol/gcjlib/Handler.java,
3249         gnu/gcj/protocol/http/Connection.java,
3250         gnu/gcj/protocol/http/Handler.java,
3251         gnu/gcj/protocol/jar/Connection.java,
3252         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
3253         * gnu/java/net/protocol/core/Connection.java,
3254         gnu/java/net/protocol/core/CoreInputStream.java,
3255         gnu/java/net/protocol/core/Handler.java,
3256         gnu/java/net/protocol/core/natCoreInputStream.cc,
3257         gnu/java/net/protocol/file/Connection.java,
3258         gnu/java/net/protocol/file/Handler.java,
3259         gnu/java/net/protocol/gcjlib/Connection.java,
3260         gnu/java/net/protocol/gcjlib/Handler.java,
3261         gnu/java/net/protocol/http/Connection.java,
3262         gnu/java/net/protocol/http/Handler.java,
3263         gnu/java/net/protocol/jar/Connection.java,
3264         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
3265         * gnu/gcj/runtime/FirstThread.java,
3266         java/net/URL.java: Use moved protocol handlers.
3267         * Makefile.am
3268         (ordinary_java_source_files): Moved files.
3269         (nat_source_files): Likewise.
3270         * Makefile.in: Regenerated.
3271
3272 2003-10-08  Michael Koch  <konqueror@gmx.de>
3273
3274         * gnu/java/nio/SocketChannelImpl.java
3275         (read): Write only read data to buffer.
3276
3277 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3278
3279         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
3280         out.
3281         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
3282         (JCL_free): Attach "unused" attribute to env parameter.
3283         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
3284         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
3285         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3286         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
3287         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3288         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3289         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
3290         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
3291         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
3292         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3293         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
3294         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3295         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
3296         parameters.
3297         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
3298         (initNativeState): Pass 0 as info argument to
3299         gtk_selection_add_target.
3300         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3301         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
3302         unused method implementations.
3303         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3304         (awt_event_handler): Add break statement after default label.
3305         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
3306         (drawPixels): Remove unused variable i.
3307         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3308         (setEnabled): Remove method implementation.
3309         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3310         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
3311         argument.
3312         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
3313         unused function.
3314         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3315         (menu_pos): Assign TRUE to push_in.
3316         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
3317         argument.
3318         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
3319         (create): Remove unused variable layout.
3320         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3321         Pass window_widget, rather than window, to
3322         gtk_widget_set_size_request.
3323         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
3324         structure initialization with NULL values.
3325         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
3326
3327 2003-10-08  Michael Koch  <konqueror@gmx.de>
3328
3329         * java/util/LinkedList.java:
3330         Removed whitespace to match classpath's version again.
3331
3332 2003-10-08  Michael Koch  <konqueror@gmx.de>
3333
3334         * java/util/prefs/Preferences.java
3335         (defaultFactoryClass): Fixed class name.
3336         (getFactory): Create instance of class returned by Class.forName(),
3337         reformated code.
3338
3339 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
3340
3341         * javax/swing/table/AbstractTableModel.java
3342         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
3343         helped stop pulling my hair on this +1 then -1 tricky thing!
3344
3345 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
3346
3347         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
3348         Remove unused parameters.
3349         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
3350         Likewise.
3351         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3352         (keyevent_state_to_awt_mods): Export function.
3353         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3354         (getCaretPosition): Fix TextArea case.
3355         (textcomponent_commit_cb): Get exact event time and modifier
3356         state.
3357         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
3358
3359 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
3360
3361         * java/net/InetSocketAddress.java
3362         (InetSocketAddress): Made exception more clear.
3363         (equals): Handle case when addr is null.
3364         (toString): Likewise.
3365         * java/net/NetworkInterface.java
3366         (static): Load native library.
3367         (getNetworkInterfaces): Rewritten.
3368
3369 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3370
3371         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
3372         field.
3373         (initializeInsets): New method.
3374         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
3375         setBounds unconditionally.
3376         (setBounds): Convert coordinates if parent is a Window.
3377         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
3378         field to GtkComponentPeer.
3379         (GtkContainerPeer): Don't initialize insets.
3380         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3381         New method.
3382         (create): Call new GtkWindowPeer create method.
3383         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
3384         New method.
3385         (create): Call new GtkWindowPeer create method.
3386         (setBounds): Remove method.
3387         (postConfigureEvent): Likewise.
3388         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
3389         type constants with GDK window type constants.
3390         (create(int,boolean,int,int,GtkWindowPeer)): New method.
3391         (create(int,boolean)): Likewise.
3392         (create()): Call create(int,boolean).
3393         (nativeSetBounds): New native method declaration.
3394         (setBounds): Call native method declaration.
3395         (setSize): New native method declaration.
3396         (setBoundsCallback): Likewise.
3397         (postConfigureEvent): Handle change in insets.  Call setSize and
3398         setBoundsCallback methods.
3399         * java/awt/Window.java (Window): Set visible to false.
3400         (setBoundsCallback): New method.
3401         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3402         (gtkWidgetGetLocationOnScreen): If this component is not a
3403         container, adjust the location returned based on the peer's
3404         allocation.
3405         (set(String,boolean)): Revert change from 2003-09-19.
3406         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3407         (awt_event_handler): Fix inset calculation.
3408         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
3409         glue for Window.setBoundsCallback.
3410         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3411         Set up stacking order, window decorations and window manager
3412         hints.
3413         (setBoundsCallback): New method.
3414         (setSize): New method.
3415         (nativeSetBounds): New method.
3416         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
3417
3418 2003-10-02  Tom Tromey  <tromey@redhat.com>
3419
3420         * java/lang/VMClassLoader.java (loadClass): Now native.
3421         * java/lang/natClassLoader.cc (loadClass): Implement.
3422         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
3423
3424 2003-10-02  Michael Koch  <konqueror@gmx.de>
3425
3426         * java/net/InetAddress.java
3427         (zeros): Removed.
3428         (ANY_IF): Initalizie in static block.
3429         (static): Load library with native methods here and initialize ANY_IF.
3430         (isAnyLocalAddress): Check if equal to ANY_IF.
3431         (equals): Use addr directly instead of addr1. Simplify for loop.
3432         (toString): Rename "result" to "host" and add IP address allways.
3433         (getLocalHost): Merged documentation from classpath.
3434         * java/net/ServerSocket.java
3435         (ServerSocket): New package-private constructor used by java.nio.
3436         * java/net/URLConnection.java
3437         (getRequestProperties): Check if already connected.
3438
3439 2003-10-02  Michael Koch  <konqueror@gmx.de>
3440
3441         * java/nio/ByteBufferHelper.java:
3442         Rewrote all methods by suggestions from Eric Blake.
3443
3444 2003-10-02  Michael Koch  <konqueror@gmx.de>
3445
3446         * java/net/URL.java
3447         (DEFAULT_SEARCH_PATH): New static variable.
3448         (ph_cache): Made it a HashMap.
3449         (getURLStreamHandler): Rename propVal to ph_search_path and use
3450         DEFAULT_SEARCH_PATH.
3451
3452 2003-10-02  Michael Koch  <konqueror@gmx.de>
3453
3454         * javax/swing/table/AbstractTableModel.java
3455         (findColumnName): Prevent from NullPointerException if argument
3456         columnName is null.
3457
3458 2003-10-02  Michael Koch  <konqueror@gmx.de>
3459
3460         * javax/swing/table/AbstractTableModel.java:
3461         This patch is based on a patch done by Arnaud Vandyck
3462         <arnaud.vandyck@ulg.ac.be>.
3463         (getColumnName): Fixed method documentation.
3464         (findColumn): Likewise.
3465         (getColumnClass): Likewise.
3466         (isCellEditable): Likewise.
3467         (setValueAt): Likewise.
3468         (addTableModelListener): Likewise.
3469         (removeTableModelListener): Likewise.
3470         (getTableModelListeners): New method.
3471
3472 2003-10-02  Michael Koch  <konqueror@gmx.de>
3473
3474         * javax/swing/table/AbstractTableModel.java:
3475         Reformated.
3476
3477 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
3478
3479         Fix PR libgcj/12475
3480         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
3481         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
3482
3483 2003-10-01  Tom Tromey  <tromey@redhat.com>
3484
3485         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
3486
3487 2003-10-01  Andrew Haley  <aph@redhat.com>
3488
3489         * java/lang/natClass.cc (initializeClass): Check for otable and
3490         atable.
3491         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
3492         loops using for().  Search superinterfaces.  Check for fields as
3493         well as methods.  Initialize atable as well as otable: check for
3494         static methods as well as virtual methods.
3495         * java/lang/Class.h (struct _Jv_AddressTable): New.
3496         (atable): New.
3497         (atable_syms): New.
3498         * include/jvm.h (_Jv_equalUtf8Consts): constify.
3499         * prims.cc (_Jv_equalUtf8Consts): constify.
3500
3501 2003-09-29  Tom Tromey  <tromey@redhat.com>
3502
3503         PR libgcj/10596:
3504         * include/jvm.h (_Jv_FinalizeString,
3505         _Jv_RegisterStringFinalizer): Declare.
3506         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
3507         unintern.
3508         (intern): Updated.
3509         (_Jv_NewStringUtf8Const): Likewise.
3510         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3511         Add special case when finalizing a String.
3512         (in_hash): New function.
3513         (_Jv_RegisterStringFinalizer): Likewise.
3514         (maybe_add_finalize): Likewise.
3515
3516 2003-09-29  Michael Koch  <konqueror@gmx.de>
3517
3518         * java/net/InetAddress.java:
3519         (isMulticastAddress): Dont use local variable to store address length.
3520         Let the compiler optimize this.
3521         (getHostName): Merged dcoumentation from classpath.
3522         (getAddress): Likewise.
3523         (getHostAddress): Likewise.
3524         (hashCode): Likewise.
3525         (equals): Likewise.
3526         (toString): Likewise.
3527         (getByName): Likewise.
3528         (getAllByName): Likewise.
3529
3530 2003-09-29  Michael Koch  <konqueror@gmx.de>
3531
3532         * java/awt/image/IndexColorModel.java: Reformated.
3533
3534 2003-09-29  Michael Koch  <konqueror@gmx.de>
3535
3536         * java/net/InetAddress.java,
3537         java/net/URL.java: Reformated.
3538
3539 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
3540
3541         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
3542         significant bit of descriptor. Include the vtable and sync_info 
3543         fields.
3544
3545 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3546
3547         * java/text/DateFormat.java (format): Throw IllegalArgumentException
3548         if `obj' is not a Number or Date instance.
3549         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
3550         instead of Vector.
3551
3552 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3553
3554         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
3555         Don't call setTimeZone on calendar.
3556
3557 2003-09-27  Michael Koch  <konqueror@gmx.de>
3558
3559         * java/net/URL.java (getURLStreamHandler): Compile fixes.
3560
3561 2003-09-27  Michael Koch  <konqueror@gmx.de>
3562
3563         * java/net/URL.java (getURLStreamHandler):
3564         Check if we have to use cache before trying to retrieve handler from
3565         cache. Rename facName to clsName to match classpath more. Reformated
3566         some little pieces.
3567
3568 2003-09-27  Michael Koch  <konqueror@gmx.de>
3569
3570         * gnu/java/nio/SelectionKeyImpl.java
3571         (ch): Make package-private again. Jikes found this bug.
3572         Jeff Sturm submitted PR12426 for this to bugzilla
3573         to fix this bug in gcj.
3574
3575 2003-09-26  Michael Koch  <konqueror@gmx.de>
3576
3577         * java/rmi/server/RMIClassLoader.java:
3578         Reformatted file, no functional code changes.
3579
3580 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
3581
3582         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
3583         Save space for some pixels at the buffer end.  Added Javadoc.
3584
3585 2003-09-26  Tom Tromey  <tromey@redhat.com>
3586
3587         * java/io/ObjectOutputStream.java (writeFields): Fixed
3588         indentation.
3589         (putFields): Likewise.
3590
3591 2003-09-26  Michael Koch  <konqueror@gmx.de>
3592
3593         * java/nio/ByteBufferHelper.java:
3594         Totally reworked with help from Eric Blake.
3595
3596 2003-09-26  Tom Tromey  <tromey@redhat.com>
3597
3598         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
3599         * java/awt/geom/PathIterator.java: Documentation fixes.
3600
3601 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
3602
3603         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
3604         (select): Likewise.
3605         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
3606
3607 2003-09-25  Michael Koch  <konqueror@gmx.de>
3608
3609         * gnu/java/nio/DatagramChannelImpl.java
3610         (getNativeFD): New method.
3611         * gnu/java/nio/SelectionKeyImpl.java
3612         (SelectionKeyImpl): Class made abstract.
3613         (fd): Removed.
3614         (SelectionKeyImpl): Remove fd argument.
3615         (getNativeFD): New method.
3616         * gnu/java/nio/SocketChannelImpl.java
3617         (getNativeFD): New method.
3618         gnu/java/nio/DatagramChannelSelectionKey.java,
3619         * gnu/java/nio/SocketChannelSelectionKey.java:
3620         New files.
3621         * Makefile.am (ordinary_java_source_files):
3622         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
3623         gnu/java/nio/SocketChannelSelectionKey.java.
3624         * Makefile.in: Regenerated.
3625
3626 2003-09-25  Michael Koch  <konqueror@gmx.de>
3627
3628         * java/lang/reflect/Proxy.java
3629         (getProxyClass): Remove workaround for gcj 3.0.x.
3630
3631 2003-09-25  Michael Koch  <konqueror@gmx.de>
3632
3633         * gnu/java/net/PlainDatagramSocketImpl.java
3634         (finalize): Moved to directly after constructor.
3635         (getNativeFD): New method.
3636         * gnu/java/net/PlainSocketImpl.java
3637         (getNativeFD): New method.
3638
3639 2003-09-25  Ingo Proetel  <proetel@aicas.com>
3640
3641         * java/io/ObjectOutputStream.java:
3642         Allow putFields be called more than once.
3643
3644 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
3645
3646         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
3647         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
3648         * java/awt/image/BufferedImage.java (toString): Implement.
3649
3650 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
3651
3652         * aclocal.m4: Rebuilt.
3653         * configure: Rebuilt.
3654
3655 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
3656
3657         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
3658         field.
3659
3660 2003-09-25  Michael Koch  <konqueror@gmx.de>
3661
3662         * gnu/java/nio/SelectorImpl.java
3663         (implSelect): Renamed from java_do_select.
3664         (select): Call native implSelect() and add support for Thread
3665         interruption.
3666         * gnu/java/nio/natSelectorImpl.cc
3667         (implSelect): Renamed from java_do_select.
3668
3669 2003-09-25  Michael Koch  <konqueror@gmx.de>
3670
3671         * gnu/java/nio/SelectorImpl.java
3672         (selectNow): Made final, throws IOException.
3673         (select): Likewise.
3674         (getFDsAsArray): Made final.
3675         (selectedKeys): Likewise.
3676         (wakeup): Likewise.
3677         (deregisterCancelledKeys): Likewise.
3678         (register): Likewise.
3679         (ass): Removed.
3680         (add_selected): Removed.
3681         * gnu/java/nio/natSelectorImpl.cc:
3682         No need to include bstring.h or gcj/cni.h.
3683         (helper_put_filedescriptors): Rewritten.
3684         (helper_get_filedescriptors): Rewritten.
3685
3686 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
3687
3688         * java/awt/font/FontRenderContext.java (getTransform): Return
3689         copy of internal transform object. Add Javadoc.
3690         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
3691         winding rule as Sun J2SE.
3692         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
3693
3694 2003-09-25  Ingo Proetel  <proetel@aicas.com>
3695
3696         * java/rmi/Naming.java:
3697         Added comments, now accepts pseudo protocol "rmi".
3698
3699 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
3700
3701         * java/text/DecimalFormat.java (format): Don't immediatly round
3702         baseNumber to long.
3703         (setMinimumIntegerDigits): Call super.
3704         (setMinimumFractionDigits): Likewise.
3705         (setMaximumIntegerDigits): Likewise.
3706         (setMaximumFractionDigits): Likewise.
3707
3708 2003-09-25  Michael Koch  <konqueror@gmx.de>
3709
3710         * gnu/java/nio/DatagramChannelImpl.java
3711         (DatagramChannelImpl): Made class final.
3712         (blocking): Made private.
3713         (socket): Made it a NIODatagramSocket and private.
3714         (DatagramChannelImpl): create NIODatagramSocket instead of
3715         DatagramSocket.
3716         (implConfigureBlocking): Set socket timeout.
3717         (connect): Check that channel is not closed.
3718         (write): Implemented.
3719         (write): Rewritten.
3720         (read): Implemented.
3721         (read): Rewritten.
3722         (receive): Implemented.
3723         (send): Implemented.
3724         * gnu/java/nio/SelectionKeyImpl.java
3725         (readyOps): Made private.
3726         (interestOps): Made private.
3727         (impl): Made private.
3728         (ch): Made private.
3729         (readyOps): Check if selection key is valid.
3730         (interestOps): Likewise.
3731         * gnu/java/nio/SelectorImpl.java
3732         (closed): Removed.
3733         (keys): Made private.
3734         (selected): Made private.
3735         (finalize): New method.
3736         (implCloseSelector): Rewritten.
3737         (keys): Return unmodifiable Set.
3738         (deregisterCancelledKeys): Fixed typo in method name.
3739         * gnu/java/nio/SocketChannelImpl.java
3740         (SocketChannelImpl): Made class final.
3741         (socket): Made it a NIOSocket and private.
3742         (blocking): Made private.
3743         (connected): Made private.
3744         (connectionPending): New member variable.
3745         (SocketChannelImpl): New implementation.
3746         (finalizer): Use isConnected().
3747         (connect): Rewritten.
3748         (finishConnect): Throws IOException, implemented.
3749         (isConnectionPending): Return connectionPending.
3750         (read): Rewritten.
3751         (write): Rewritten.
3752         * gnu/java/nio/NIOConstants.java: New file.
3753         * Makefile.am (ordinary_java_source_files):
3754         Added gnu/java/nio/NIOConstants.java.
3755         * Makefile.in: Regenerated.
3756
3757 2003-09-25  Michael Koch  <konqueror@gmx.de>
3758
3759         * java/net/InetAddress.java:
3760         Reorder imports, remove implementation comment.
3761         (isMulticastAddress): Merged documentation from classpath.
3762         * java/net/URLConnection.java
3763         (setRequestProperty): Check key for null, fix documentation.
3764         (adREquestProperty): Check key for null, remove wrong implementation
3765         and replace it with comment to overwrite this method in subclasses,
3766         fix documentation.
3767
3768 2003-09-25  Tom Tromey  <tromey@redhat.com>
3769
3770         * java/lang/reflect/Proxy.java (generate): Uncomment protection
3771         domain code.
3772         * java/lang/natClassLoader.cc (defineClass): Added `loader'
3773         argument.
3774         (linkClass0): Now in VMClassLoader.
3775         (markClassErrorState0): Likewise.
3776         (getSystemClassLoaderInternal): New method.
3777         * java/lang/natClass.cc (initializeClass): Use
3778         VMClassLoader::resolveClass.
3779         * java/lang/ClassLoader.java: New version, from Classpath.
3780         * java/lang/Class.java (getProtectionDomain):
3781         protectionDomainPermission and unknownProtectionDomain now in
3782         VMClassLoader.
3783         * java/lang/Class.h: VMClassLoader now a friend class.
3784         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
3785         package-private.
3786         * gcj/javaprims.h: Regenerated class list.
3787         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
3788         * java/lang/VMClassLoader.java: New version from Classpath;
3789         modified for libgcj use.
3790
3791 2003-09-25  Michael Koch  <konqueror@gmx.de>
3792
3793         * java/nio/ByteBufferHelper.java:
3794         New file.
3795         * java/nio/ByteBufferImpl.java,
3796         java/nio/DirectByteBufferImpl.java,
3797         java/nio/MappedByteBufferImpl.java
3798         (getType,putType): Use new helper class ByteBufferHelper.
3799         * Makefile.am (ordinary_java_source_files):
3800         Added java/nio/ByteBufferHelper.java.
3801         * Makefile.in: Regenerated.
3802
3803 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
3804
3805         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
3806         PR libgcj/12388.
3807
3808 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3809
3810         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
3811         Strings, even if buffer is already shared.
3812
3813 2003-09-24  Michael Koch  <konqueror@gmx.de>
3814
3815         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
3816
3817 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3818
3819         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
3820         (write): Likewise.
3821         (SocketInputStream): Declare `read' and `write' methods native.
3822         Remove implementations which called back into PlainSocketImpl.
3823         Remove unneccessary overridden methods.
3824         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
3825         to inner class PlainSocketImpl.SocketInputStream.
3826         (write): Likewise.
3827         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
3828         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
3829         * gnu/java/net/SocketInputStream.java: Remove unused file.
3830         * gnu/java/net/SocketOutputStream.java: Likewise.
3831         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
3832         and SocketOutputStream.
3833         * Makefile.in: Rebuilt.
3834
3835 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
3836
3837         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
3838
3839         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
3840         markers.
3841
3842 2003-09-22  Anthony Green  <green@redhat.com>
3843
3844         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
3845         * configure: Rebuilt.
3846
3847 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
3848
3849         PR java/12350:
3850         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
3851
3852 2003-09-22  Michael Koch  <konqueror@gmx.de>
3853
3854         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
3855         compiler warning but produces a different one now.
3856
3857 2003-09-22  Michael Koch  <konqueror@gmx.de>
3858
3859         * java/net/InetAddress.java:
3860         Moves around some code, reformats and adds documentation.
3861         No functional changes.
3862
3863 2003-09-22  Michael Koch  <konqueror@gmx.de>
3864
3865         * java/net/JarURLConnection.java
3866         (JarURLConnection): Modifed code to match classpath more, fixed comment.
3867         (getCertificates): Made it more error prone.
3868         (getMainAttributes): Likewise.
3869         (getAttributes): Implemented.
3870         (getManifest): Reformatted code.
3871
3872 2003-09-20  Tom Tromey  <tromey@redhat.com>
3873
3874         * java/awt/Component.java: Indentation cleanup from Classpath.
3875
3876 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
3877
3878        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
3879        checking to follow 1.4.2 spec.
3880
3881 2003-08-11  Ingo Proetel  <proetel@aicas.com>
3882
3883         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
3884         is compatible in case client and server are running in the same VM
3885         (remerged from Classpath on 2003-09-20)
3886
3887 2003-09-19  David Daney <ddaney@avtrex.com>
3888
3889         * java/lang/ref/Reference.java (clear): Set referent to null and
3890         synchronize.
3891
3892 2003-09-19  Michael Koch  <konqueror@gmx.de>
3893
3894         * gnu/java/nio/NIODatagramSocket.java,
3895         gnu/java/nio/NIOSocket.java: New files.
3896         * Makefile.am (ordinary_java_source_files):
3897         Added gnu/java/nio/NIODatagramSocket.java and
3898         gnu/java/nio/NIOSocket.java.
3899         * Makefile.in: Regenerated.
3900
3901 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3902
3903         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
3904         top-level GTK window.
3905         (getArgs): Add "title" property.
3906         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
3907         "allow_shrink" and "allow_grow" properties.
3908         * java/awt/Dialog.java: Initialize resizable to true and change
3909         comments accordingly.  Initialize visible to false in
3910         constructors.
3911         * java/awt/Frame.java (dispose): Remove method.
3912         * java/awt/Window.java (ownedWindows): New field.
3913         (Window(Window,GraphicsConfiguration)): Add a weak reference to
3914         owner's ownedWindows vector.
3915         (finalize): Remove method.
3916         (hide): Hide owned windows.
3917         (dispose): Dispose of owned windows.
3918         (getOwnedWindows): Implement.
3919         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
3920         unused GtkArg code.
3921         (set(String,boolean)): Clamp gboolean parameter to g_object_set
3922         to TRUE or FALSE.
3923         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3924         (create): Set window's size requisition.
3925         (connectHooks): Fix indentation.
3926         (setResizable): Remove function.
3927         (static setBounds): Likewise.
3928         (setBounds): Replace call to setBounds with GTK size requisition
3929         and resize calls.
3930
3931 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
3932
3933         * win32-threads.cc: (ensure_interrupt_event_initialized) New
3934         function for lazy initialization of an auto-reset event.
3935         (_Jv_CondWait) Added thread interrupt support.
3936         (_Jv_ThreadInitData) Added initialization of interrupt support
3937         members.
3938         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
3939         (_Jv_ThreadStart) Removed unused code.
3940         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
3941         to an external caller.
3942         (_Jv_ThreadInterrupt) Implemented.
3943         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
3944         event for interrupt support as well as a mutex which regulates
3945         access to this.
3946         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
3947         event to an external caller.
3948         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
3949         process.
3950         (waitFor) Added interrupt support.
3951
3952 2003-09-19  Michael Koch  <konqueror@gmx.de>
3953
3954         * java/net/DatagramSocket.java (getLocalAddress):
3955         Renamed result variable to localAddr.
3956         * java/net/MulticastSocket.java:
3957         No need to import gnu.java.net.PlainDatagramSocketImpl.
3958
3959 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
3960
3961         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
3962         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
3963
3964 2003-09-18  Tom Tromey  <tromey@redhat.com>
3965
3966         * javax/naming/InitialContext.java: Reindented.
3967
3968 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
3969             Helmer Kraemer <hkraemer@freenet.de>
3970
3971         * javax/naming/spi/NamingManager.java (getURLContext,
3972         getObjectInstance, getStateToBind): Always use current thread's
3973         context class loader when calling Class.forName.
3974
3975 2003-09-18  Michael Koch  <konqueror@gmx.de>
3976
3977         * java/util/Timer.java (finalize): Added "throws Throwable".
3978
3979 2003-09-18  Michael Koch  <konqueror@gmx.de>
3980
3981         * java/net/DatagramSocket.java
3982         (ch): Removed.
3983         (receive): Use getChannel() instead of ch.
3984         (send): Likewise.
3985         (getChannel): Return null.
3986         * java/net/ServerSocket.java
3987         (ch): Removed.
3988         (setChannel): Removed.
3989         (implAccept): Use getChannel() instead of ch.
3990         (close): Likewise.
3991         (getChannel): Return null.
3992         * java/net/Socket.java
3993         (ch): Removed.
3994         (connect): Use getChannel() instead of ch.
3995         (setChannel): Removed.
3996         (getChannel): Return null.
3997
3998 2003-09-18  Mark Wielaard  <mark@klomp.org>
3999
4000         Reported by Guilhem Lavaux and Julian Dolby
4001         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
4002         field "serialPersistentFields", not "getSerialPersistentFields".
4003
4004 2003-09-18  Ingo Proetel  <proetel@aicas.com>
4005
4006         * java/util/TimeZone.java: Initialize lazily.
4007         * java/util/Locale.java (readManifest): Fix check for country.
4008         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
4009         traceable 
4010         * java/util/Calendar.java: Make use of ResourceBundle better
4011         traceable.
4012
4013 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
4014
4015         * java/sql/Timestamp.java
4016         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
4017
4018 2003-09-18  David P Grove  <groved@us.ibm.com>
4019
4020         * java/io/LineNumberReader (read): Don't reset pos & limit when
4021         markPos is 0.
4022
4023 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
4024
4025         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
4026         constant.
4027         (computeArguments): use computeTypicalArguments.
4028
4029         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
4030         Compile_jikes.java and RMICException.java.
4031         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
4032         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
4033         * gnu/java/rmi/rmic/RMICException.java: Likewise.
4034  
4035         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
4036  
4037         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
4038         (computeTypicalArguments): New method.
4039         (compile): Print compiler output to System.out. Collect compiler
4040         error output and use it in exception message.
4041  
4042         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
4043         (destination): Initialize to null.
4044         (run): Replace file separator with '.' when processing class.
4045         (processClass): Replace '.' with file separator when compiling
4046         classes.
4047         (findClass): Use SystemClassLoader to load class.
4048         (generateStub): Use full class name for generated stub, that puts
4049         it in right path.  Replace '.' with file separator when generating
4050         stub file name. Write just the stub class name without package
4051         information as class name, and constructor name. Write only
4052         interface names for interfaces extending java.rmi.Remote as
4053         implemented.
4054         (generateSkel): Use full class name for generated skel, that puts
4055         it in right path.  Replace '.' with file separator when generating
4056         stub file name. Write just the stub class name without package
4057         information as class name.
4058
4059 2003-09-18  Michael Koch  <konqueror@gmx.de>
4060
4061         * Makefile.am (rmi_java_source_files):
4062         Added gnu/java/rmi/rmic/Compile_kjc.java,
4063         gnu/java/rmi/rmic/Compile_jikes.java and
4064         gnu/java/rmi/rmic/RMICException.java
4065         * Makefile.in: Regenerated.
4066
4067 2003-09-17  Graydon Hoare  <graydon@redhat.com>
4068
4069         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4070         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4071         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
4072         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
4073         New files.
4074
4075 2003-09-16  Graydon Hoare  <graydon@redhat.com>
4076
4077         * java/awt/BufferedImage.java (setData): Support non-component
4078         sample models.
4079         (getData): Same.
4080
4081 2003-09-10  Graydon Hoare  <graydon@redhat.com>
4082
4083         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
4084         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
4085
4086 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
4087
4088         * configure.in: Standardized help text case of
4089         --enable-hash-synchronization
4090         New configure switch --enable-libgcj-multifile and corresponding
4091         automake conditional ONESTEP.
4092         * configure: Rebuilt.
4093         * Makefile.am: Use automake conditional ONESTEP to determine
4094         whether classfiles should be compiled individually or all
4095         at once.
4096         * Makefile.in: Rebuilt.
4097
4098 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
4099
4100         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
4101         Remove method declaration.
4102         (create()): Call native create.
4103         (create(int)): New method.
4104         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4105         (create): Add window_id parameter.  Call gtk_plug_new with
4106         window_id parameter.
4107         (construct): Remove method implementation.
4108
4109 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
4110
4111         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
4112         (mostlyclean-local): New target patterned after clean-local
4113         which recursively deletes all libtool objects using 'libtool rm'.
4114         (clean-local): Slightly modified comment to alleviate monotony.
4115         (distclean-local): New target patterned after clean-local
4116         which recursively deletes all .d files.
4117         * Makefile.in: Rebuilt.
4118
4119 2003-09-11  Tom Tromey  <tromey@redhat.com>
4120
4121         * java/net/URLStreamHandler.java (parseURL): If original file
4122         ends with "/", so must canonical result.
4123         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
4124         with nul-termination and finding previous "/".
4125
4126 2003-09-11  Michael Koch  <konqueror@gmx.de>
4127
4128         * acconfig.h: Removed most items.
4129         * configure.in: Added descriptions to AC_DEFINE macros that where in
4130         acconfig.h before.
4131         * include/config.h.in: Regenerated.
4132
4133 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
4134
4135         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
4136         if one is installed. Improve Javadoc.
4137         (getSystemEventQueueImpl): Improve Javadoc.
4138
4139 2003-09-11  Tom Tromey  <tromey@redhat.com>
4140
4141         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
4142         file does not exist.
4143
4144 2003-09-10  Anthony Green  <green@redhat.com>
4145
4146         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
4147         Specify full name when referencing ::java::net::InetAddress.
4148         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
4149         Fix argument type.
4150
4151 2003-09-10  Michael Koch  <konqueror@gmx.de>
4152
4153         * acconfig.h (__NO_MATH_INLINES): Removed.
4154         * configure.in: Removed check for g++ math inlining bug from 2000.
4155         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
4156         libgcj_cxxflags.
4157         * configure: Regenerated.
4158
4159 2003-09-10  David Daney <ddaney@avtrex.com>
4160
4161         * java/util/Arrays.java (equals(all variants)): Quit using
4162         NullPointerException catching to detect null valued parameters.
4163
4164 2003-09-10  Michael Koch  <konqueror@gmx.de>
4165
4166         * java/net/DatagramSocket.java,
4167         java/net/MulticastSocket.java,
4168         java/net/ServerSocket.java,
4169         java/net/Socket.java:
4170         Use gnu.java.net.Plain*SocketImpl instead of
4171         java.net.PlainSocketImpl.
4172         * java/net/PlainDatagramSocketImpl.java,
4173         java/net/PlainSocketImpl.java,
4174         java/net/SocketInputStream.java,
4175         java/net/SocketOutputStream.java,
4176         java/net/natPlainDatagramSocketImplNoNet.cc,
4177         java/net/natPlainDatagramSocketImplPosix.cc,
4178         java/net/natPlainDatagramSocketImplWin32.cc,
4179         java/net/natPlainSocketImplNoNet.cc,
4180         java/net/natPlainSocketImplPosix.cc,
4181         java/net/natPlainSocketImplWin32.cc:
4182         Removed.
4183         * gnu/java/net/PlainDatagramSocketImpl.java,
4184         gnu/java/net/PlainSocketImpl.java,
4185         gnu/java/net/SocketInputStream.java,
4186         gnu/java/net/SocketOutputStream.java,
4187         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
4188         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
4189         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
4190         gnu/java/net/natPlainSocketImplNoNet.cc,
4191         gnu/java/net/natPlainSocketImplPosix.cc,
4192         gnu/java/net/natPlainSocketImplWin32.cc:
4193         New files (moved from java/net).
4194         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
4195         instead of java/net/natPlain*SocketImpl.cc.
4196         * configure: Regenerated.
4197         * Makefile.am: Moved files from java/net to gnu/java/net.
4198         * Makefile.in: Regenerated.
4199
4200 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
4201
4202         * configure: Regenerate.
4203
4204 2003-09-04  Tom Tromey  <tromey@redhat.com>
4205
4206         * configure.host: Removed erroneous comment.
4207
4208         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
4209         lvalue cast; use correct rvalue cast.
4210
4211 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
4212
4213         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
4214         and height arguments to GtkWindowPeer.create method call.
4215         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4216         (create(int,int,int)): New method.
4217         (create(int)): Add call to new create method.
4218         (create()): Add width and height arguments to create method
4219         call.
4220         (GtkWindowPeer): Remove call to setBounds.
4221         * java/awt/Frame.java (Frame(String)): Initialize visible field
4222         to false.
4223         (Frame(GraphicsConfiguration)): Likewise.
4224         (Frame(String,GraphicsConfiguration)): Likewise.
4225         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4226         Add width and height parameters.  Call
4227         gtk_window_set_default_size.
4228         (connectHooks): Remove unused name variable.
4229         (static setBounds): Call gtk_window_resize not
4230         gtk_widget_set_usize.
4231         (setBounds): Remove unused nchildren variable.
4232
4233 2003-08-31  Ingo Proetel  <proetel@aicas.com>
4234
4235         * java/util/logging/Logger.java: provide class and method information
4236         * java/util/logging/LogManager.java: create handlers
4237         * java/util/logging/SimpleFormatter.java: print souceClassName and
4238         sourceMethodName
4239
4240 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4241
4242         * win32.cc: fixed tab, indentation and whitespace
4243         inconsistencies
4244         removed jvm.h include
4245         added includes java/lang/UnsupportedOperationException.h,
4246         java/io/IOException.h, java/net/SocketException.h
4247         (WSAEventWrapper): class implementation
4248         (_Jv_WinStrError): implemented both overloads
4249         (_Jv_ThrowIOException): implemented both overloads
4250         (_Jv_ThrowSocketException): implemented both overloads
4251         (_Jv_select): implemented
4252         * include/win32.h: fixed tab, indentation and whitespace
4253         inconsistencies
4254         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
4255         added jvm.h include
4256         (WSAEventWrapper): added class declaration
4257         (_Jv_WinStrError): added both overload declarations
4258         (_Jv_ThrowIOException): added both overload declarations
4259         (_Jv_ThrowSocketException): added both overload declarations
4260         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
4261         (_Jv_select): added declaration
4262         (_Jv_socket): removed
4263         (_Jv_connect): removed
4264         (_Jv_close): removed
4265         (_Jv_bind): removed
4266         (_Jv_accept): removed
4267         (_Jv_listen): removed
4268         (_Jv_write): removed
4269         (_Jv_read): removed
4270         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
4271         whitespace inconsistencies
4272         replaced <windows.h> #include with <platform.h>
4273         removed jvm.h include
4274         (testCanUseGetHandleInfo): new function which tests whether Win32
4275         GetHandleInformation() call can be used with console buffer handles
4276         (only supported on >=WinNT 5.0)
4277         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
4278         (valid): rewrote implementation using GetHandleInformation()
4279         (sync):         changed exception throwing to use error string and exception
4280         helper methods declared in include/win32.h
4281         (open): likewise
4282         (write): likewise
4283         (setLength): likewise
4284         (close): likewise
4285         (seek): likewise
4286         (getFilePointer): likewise
4287         (read): likewise
4288         * java/io/natFileWin32.cc: fixed tab, indentation and
4289         whitespace inconsistencies
4290         replaced <windows.h> #include with <platform.h>
4291         removed jvm.h include
4292         (_access): use JV_TEMP_UTF_STRING
4293         (_stat): likewise
4294         (performMkDir): use JV_TEMP_UTF_STRING
4295         (performRenameTo): likewise
4296         (performDelete): likewise
4297         (performCreate): likewise
4298         (performSetReadOnly): likewise
4299         (performSetLastModified): likewise
4300         * java/lang/natWin32Process.cc: fixed tab, indentation and
4301         whitespace inconsistencies
4302         replaced <windows.h> #include with <platform.h>
4303         removed includes gcj/cni.h, jvm.h
4304         (new_string): removed
4305         (startProcess): use JV_TEMP_UTF_STRING,
4306         changed exception throwing to use error string and exception
4307         helper methods declared in include/win32.h
4308         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
4309         whitespace inconsistencies
4310         replaced <windows.h> #include with <platform.h>
4311         removed jvm.h include
4312         removed DISABLE_JAVA_NET conditional code
4313         removed POSIX conditional code not relevant to Win32
4314         (aton): use JV_TEMP_UTF_STRING
4315         removed POSIX conditional code not relevant to Win32
4316         (lookup): likewise
4317         (getLocalHostName): likewise
4318         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
4319         whitespace inconsistencies
4320         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
4321         removed DISABLE_JAVA_NET conditional code
4322         removed POSIX conditional code not relevant to Win32
4323         (winsock2GetRealNetworkInterfaces): new function to compute network
4324         interfaces via Winsock2 API
4325         (determineGetRealNetworkInterfacesFN): new function for returning
4326         a function pointer to the function used to compute network interfaces.
4327         (getRealNetworkInterfaces): implemented
4328         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
4329         whitespace inconsistencies
4330         removed gcj/cni.h include
4331         removed DISABLE_JAVA_NET conditional code
4332         removed POSIX conditional code not relevant to Win32
4333         changed net POSIXisms to Win32isms
4334         replaced _Jv socket-related calls with their real Win32 equivalents
4335         changed exception throwing to use error string and exception
4336         helper methods declared in include/win32.h
4337         (peekData): implemented timeout support
4338         (receive): likewise
4339         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
4340         whitespace inconsistencies
4341         removed gcj/cni.h and gcj/javaprims.h includes
4342         removed DISABLE_JAVA_NET conditional code
4343         removed POSIX conditional code not relevant to Win32
4344         changed net POSIXisms to Win32isms
4345         replaced _Jv socket-related calls with their real Win32
4346         equivalents
4347         changed exception throwing to use error string and exception
4348         helper methods declared in include/win32.h
4349         (throwConnectException): helper function for connect()
4350         (connect): implemented timeout support
4351         (accept): likewise
4352         (doRead): new helper function common to both read() method overloads,
4353         includes timeout support
4354         (read): implemented both overloads in terms of doRead()
4355         (available): implemented using ioctlsocket()
4356
4357 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4358
4359         * java/net/natInetAddressWin32.cc,
4360         java/net/natNetworkInterfaceWin32.cc,
4361         java/net/natPlainDatagramSocketImplWin32.cc,
4362         java/net/natPlainSocketImplWin32.cc:
4363         Readded code enclosed in DISABLE_JAVA_NET defines
4364         in preparation for MinGW cleanup / networking
4365         patch
4366
4367 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4368
4369         * Makefile.am: Fixed problems with parallel makes.
4370         (all_java_class_files): Readded definition.
4371         (all_java_class_files): New target which depends on
4372         libgcj-@gcc_version@.jar
4373         * Makefile.in: Rebuilt
4374
4375 2003-08-28  Tom Tromey  <tromey@redhat.com>
4376
4377         * Makefile.in: Rebuilt.
4378         * Makefile.am (ordinary_java_source_files): Added new files.
4379         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
4380         friend.
4381         * java/net/URLClassLoader.java (findClass): Don't use
4382         findURLResource.  Use loader's getClass method.
4383         (URLLoader.getClass): New method.
4384         (addURL): Handle `gcjlib' URLs.
4385         (SoURLLoader): New class.
4386         (SoResource): Likewise.
4387         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
4388         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
4389         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
4390         (_Jv_RegisterCoreHook): Declare.
4391         (_Jv_FindCore): Declare.
4392         * gnu/gcj/runtime/SharedLibHelper.java: New file.
4393         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
4394         typedef.
4395         (core_hook): New function.
4396         (struct SharedLibDummy) [saved_core]: New field.
4397         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
4398         (register_hook): Set protection domain and class loader on new
4399         class.
4400         (finalize): Free core chain.
4401         * gnu/gcj/Core.java (Core): New constructor.
4402         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
4403         SharedLibHelper.
4404         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
4405         (_Jv_create_core): New function.
4406         (create): Use it.
4407         (default_register_resource): New function.
4408         (_Jv_RegisterCoreHook): New global.
4409         (_Jv_RegisterResource): Use it.
4410         (core_chain_struct): Removed.
4411         (_Jv_FindCore): New function.
4412         (_Jv_FreeCoreChain): New function.
4413
4414 2003-08-29  Michael Koch  <konqueror@gmx.de>
4415
4416         * java/net/natInetAddressWin32.cc,
4417         java/net/natNetworkInterfaceWin32.cc,
4418         java/net/natPlainDatagramSocketImplWin32.cc,
4419         java/net/natPlainSocketImplWin32.cc:
4420         Removed code enclosed in DISABLE_JAVA_NET defines.
4421
4422 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
4423
4424         * Makefile.am: (write_entries_to_file) New parameterized
4425         function for writing entries to a file one line at a time.
4426         (all_java_class_files): Removed definition.
4427         (.java.class) Removed.target.
4428         (libgcj-@gcc_version@.jar): Changed dependency to
4429         $(all_java_source_files); added compilation step which compiles
4430         all changed source files in one pass.
4431         (libgcj.la) Refactored to use write_entries_to_file.
4432         (lib-gnu-awt-xlib.la) Likewise.
4433         (install-data-local) Likewise.
4434         (write-entries-to-file-check) New target which tests write_entries_to_file.
4435         (all-recursive): Changed dependency from $(all_java_class_files)
4436         to libgcj-@gcc_version@.jar
4437         * Makefile.in: Rebuilt.
4438
4439 2003-08-26  Tom Tromey  <tromey@redhat.com>
4440
4441         * java/lang/StrictMath.java: Typo fix.
4442         * java/lang/Math.java: Typo fix.
4443
4444 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
4445
4446         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
4447         of the removed Thread.
4448
4449 2003-08-26  Mark Wielaard  <mark@klomp.org>
4450
4451         Reported by David Holmes <dholmes@dltech.com.au>.
4452         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
4453         Collections.synchronizedMap.
4454         * java/lang/ThreadLocal.java (valueMap): Likewise.
4455
4456 2003-08-26  Mark Wielaard  <mark@klomp.org>
4457
4458         * java/security/acl/Acl.java: Fix broken p tag.
4459         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
4460         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
4461         * javax/swing/plaf/TreeUI.java: Likewise.
4462         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
4463         * java/util/Properties.java: Use the word umlaut, not &auml; in api
4464         documentation.
4465         * java/util/PropertyResourceBundle.java: Likewise and add closing code
4466         tag.
4467
4468 2003-08-26  Tom Tromey  <tromey@redhat.com>
4469
4470         * Makefile.in: Rebuilt.
4471         * Makefile.am: Removed all GNU-make-specific FIXME comments.
4472
4473         * java/lang/ref/Reference.java (get): Indentation fix.
4474         (clear): Comment fix.
4475         (enqueue): Likewise.
4476         (lock): Likewise.
4477         (referent): Likewise.
4478
4479 2003-08-26  Tom Tromey  <tromey@redhat.com>
4480
4481         PR java/12058:
4482         * java/lang/reflect/natArray.cc (set): Allow null as argument.
4483
4484         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
4485         (ProxyData.getPackage): New method.
4486         (ProxyData.getProxyData): Use package name, not Package.
4487         (ClassFactory.ClassFactory): Updated.
4488
4489 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
4490         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
4491         * Makefile.in: re-generated.
4492         * gnu/awt/j2d/IntegerGraphicsState.java
4493         (ScreenCoupledImage): new interface.
4494         (drawImage): detect ScreenCoupledImage instances.
4495         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
4496         * gnu/awt/xlib/XEventLoop.java
4497         (createEvent): re-formatted, and rearranged to avoid null pointer.
4498         * gnu/awt/xlib/XGraphics.java
4499         (drawImage): added XOffScreenImage handling.
4500         * gnu/awt/xlib/XOffScreenImage.java: new file.
4501         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
4502         * gnu/gcj/xlib/GC.java (copyArea): new native method.
4503         * gnu/gcj/xlib/XAnyEvent.java
4504         (TYPE_KEY_PRESS): new constant.
4505         (TYPE_KEY_RELEASE): new constant.
4506         (TYPE_MOTION_NOTIFY): new constant.
4507         (TYPE_ENTER_NOTIFY): new constant.
4508         (TYPE_LEAVE_NOTIFY): new constant.
4509         (TYPE_FOCUS_IN): new constant.
4510         (TYPE_FOCUS_OUT): new constant.
4511         (TYPE_KEYMAP_NOTIFY): new constant.
4512         (TYPE_GRAPHICS_EXPOSE): new constant.
4513         (TYPE_NO_EXPOSE): new constant.
4514         (TYPE_VISIBILITY_NOTIFY): new constant.
4515         (TYPE_CREATE_NOTIFY): new constant.
4516         (TYPE_DESTROY_NOTIFY): new constant.
4517         (TYPE_MAP_REQUEST): new constant.
4518         (TYPE_CONFIGURE_REQUEST): new constant.
4519         (TYPE_GRAVITY_NOTIFY): new constant.
4520         (TYPE_RESIZE_REQUEST): new constant.
4521         (TYPE_CIRCULATE_NOTIFY): new constant.
4522         (TYPE_CIRCULATE_REQUEST): new constant.
4523         (TYPE_PROPERTY_NOTIFY): new constant.
4524         (TYPE_SELECTION_CLEAR): new constant.
4525         (TYPE_SELECTION_REQUEST): new constant.
4526         (TYPE_SELECTION_NOTIFY): new constant.
4527         (TYPE_COLORMAP_NOTIFY): new constant.
4528         (TYPE_MAPPING_NOTIFY): new constant.
4529         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
4530         * gnu/gcj/xlib/natGC.cc (copyArea): new method
4531         * java/awt/Component.java (createImage): changed to use peer method.
4532
4533 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4534
4535         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
4536         name, not XLFD, to native drawString.
4537         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4538         Replace XLFD-based implementation with Pango-based
4539         implementation.
4540
4541 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4542
4543         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
4544         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
4545
4546 2003-08-21  David Daney  <ddaney@avtrex.com>
4547
4548         Fix for PR libgcj/12013:
4549         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4550         Check `cleared' field.
4551         * java/lang/ref/Reference.java (copy): Updated comments.
4552         (cleared): New field.
4553         (clear): Rewrote.
4554
4555 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
4556             Thomas Fitzsimmons  <fitzsim@redhat.com>
4557
4558         * Makefile.am (gtk_awt_peer_sources): Add
4559         gnu/java/awt/peer/GLightweightPeer.java.  Remove
4560         gnu/java/awt/GLightweightPeer.java.
4561         * gnu/java/awt/GLightweightPeer.java: Remove file.
4562         * gnu/java/awt/peer/GLightweightPeer.java: New file.
4563         * java/awt/Component.java (getToolkit): Add comment about
4564         lightweight components.
4565         * java/awt/Toolkit.java (createComponent): Return
4566         gnu.java.awt.peer.GLightweightPeer.
4567
4568 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
4569
4570         * configure.in: Fix detection of gcj when building with newlib.
4571         * configure: Regenerated.
4572
4573 2003-08-20  Graydon Hoare  <graydon@redhat.com>
4574
4575         * jni.cc: Replace "cheating" pointer-casting code with
4576         extract_from_jvalue<> template.
4577
4578 2003-08-20  Andrew Haley  <aph@redhat.com>
4579
4580         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
4581         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
4582         (classAt): Break out class lookup function into getClass().
4583         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
4584         handlers when using -fno-assume-compiled.
4585
4586 2003-08-20  Tom Tromey  <tromey@redhat.com>
4587
4588         Fix for PR libgcj/9125:
4589         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
4590         object outside of loop.  Respect lib_control setting.
4591         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
4592         field.
4593         (lib_control): New field.
4594         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
4595         (VMClassLoader): Initialize new field.
4596
4597         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4598         Set `list->reference' to DELETED_REFERENCE when removing dead
4599         object.
4600         (find_slot): Added an assert.
4601         (DELETED_REFERENCE): New define.
4602         (add_to_hash): Check for DELETED_REFERENCE.
4603         (remove_from_hash): Just return if found slot isn't ours.
4604
4605 2003-08-19  Andrew Haley  <aph@redhat.com>
4606
4607         * prims.cc (unblock_signal): New function.
4608         (catch_segv): Use it.
4609         (catch_fpe): Likewise.
4610
4611 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
4612
4613         PR libgcj/11575
4614         * java/io/natFileDescriptorWin32.cc (open): Set create
4615         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
4616         Honor EXCL when openning with WRITE flag. 
4617
4618 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
4619
4620         * include/jvm.h: New class _Jv_TempUTFString (helper class for
4621         getting a temporary C string from a jstring)
4622         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
4623         but uses a stack buffer if the string length is less than 256
4624         bytes.
4625
4626 2003-08-18  Tom Tromey  <tromey@redhat.com>
4627
4628         PR libgcj/11951:
4629         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
4630         void.  Throw VirtualMachineError if ffi fails.  Initialize return
4631         value.  Added is_jni_call argument; only wrap exception if not a
4632         JNI call.  Use descriptive message if operation not supported.
4633         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
4634         array class.
4635         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
4636         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
4637         _Jv_CallAnyMethodA.
4638         (_Jv_JNI_CallAnyMethodA): Likewise.
4639         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
4640         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
4641
4642 2003-08-13  Tom Tromey  <tromey@redhat.com>
4643
4644         * gij.cc (help): Document -? and -X.
4645
4646 2003-08-12  Graydon Hoare  <graydon@redhat.com>
4647
4648         * java/awt/Font.java: 
4649         Stub out more recent API. 
4650
4651 2003-08-12  Graydon Hoare  <graydon@redhat.com>
4652
4653         * java/awt/Color.java (getAlpha): 
4654         Prevent sign-extended alpha values.
4655
4656 2003-08-12  Tom Tromey  <tromey@redhat.com>
4657
4658         * gij.cc (main): Handle -? and -X.
4659
4660 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
4661
4662         * java/awt/Container.java
4663         (getPreferredSize): Call preferredSize.
4664         (preferredSize): Moved body of getPreferredSize here.
4665         (getMinimumSize): Call minimumSize.
4666         (minimumSize): Moved body of getMinimumSize here.
4667
4668 2003-08-11  Tom Tromey  <tromey@redhat.com>
4669
4670         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
4671         (postEvent): Removed FIXME comment.
4672         (isDispatchThread): Documented.
4673         (getCurrentEvent): New method.
4674         (dispatchEvent): Set currentEvent and lastWhen.
4675         (getMostRecentEventTime): Rewrote.
4676         (invokeLater): Documented.
4677
4678 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
4679
4680         * java/io/PrintStream.java (print): Always flush if auto_flush is
4681         set. Don't check for newline characters.
4682         (write (int)): Implement without using a temporary array.
4683         (write (byte[], int, int): Always flush if auto_flush is set. Don't
4684         check for newline characters.
4685         Fixes PR libgcj/11778.
4686
4687 2003-08-08  Andrew Haley  <aph@redhat.com>
4688
4689         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
4690         * Makefile.in: Rebuild.
4691         * java/lang/natRuntime.cc (insertSystemProperties): Add
4692         "sun.boot.class.path".
4693
4694 2003-08-07  Andrew Haley  <aph@redhat.com>
4695
4696         * java/io/PrintStream.java: Don't crash on a null string.
4697         
4698 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4699
4700         * configure.in: Don't initialize GCINCS to boehm-gc/include.
4701         * configure: Regenerate.
4702
4703 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4704
4705         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
4706         SocketImpl. Update Javadoc.
4707         (bind): Call close() not impl.close() in event of exception.
4708         (connect): Likewise.
4709         Remove superfluous null checks throughout.
4710         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
4711         Don't create an extra socket. Fix for PR libgcj/10868.
4712         (bind): Clean up exception handling.
4713         Remove superfluous null checks throughout.
4714
4715 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
4716             Bryce McKinlay  <bryce@mckinlay.net.nz>
4717
4718         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
4719         ready-to-write argument to _Jv_Select. Reset the socket back to 
4720         non-blocking state after connecting.
4721         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
4722         Throw SocketTimeoutException not InterruptedIOException.
4723         (read): Throw SocketTimeoutException not InterruptedIOException.
4724
4725 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4726
4727         * java/lang/Thread.java (Thread): Check for null "name" from
4728         start of private constructor, not after calling the private
4729         constructor.
4730
4731 2003-08-06  Tom Tromey  <tromey@redhat.com>
4732
4733         * java/io/FilePermission.java (equals): Use correct index for
4734         last character of path.
4735
4736 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
4737
4738         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
4739         * configure.in: Compare with_cross_host to build_alias, not build.
4740         * aclocal.m4: Regenerate.
4741         * configure: Regenerate.
4742
4743 2003-08-05  Tom Tromey  <tromey@redhat.com>
4744
4745         Fix for PR libgcj/11779:
4746         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
4747         class.
4748
4749         * java/lang/reflect/Method.java: Updated status comment.
4750         Imported javadoc from Classpath and re-ordered methods.
4751         * java/lang/reflect/Constructor.java: Reindented.  Updated
4752         status comment.  Imported javadoc from Classpath and re-ordered
4753         methods.
4754
4755 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
4756
4757         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
4758         Add keyLocation parameter.
4759         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
4760         string.
4761         (paramString): Generate keyChar string according to keyChar, not
4762         keyCode.
4763         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4764         (state_to_awt_mods): Handle ALT key.
4765         (keyevent_state_to_awt_mods): New function.
4766         (get_first_keyval_from_keymap): New function.
4767         (keysym_to_awt_keycode): Get virtual key code from keymap.
4768         Handle missing VK_ values.
4769         (keysym_to_awt_keylocation): New function.
4770         (keyevent_to_awt_keychar): New function.
4771         (generates_key_typed_event): Handle non-text-component case.
4772         Handle GDK_KP_Delete and GDK_KP_Enter.
4773         (awt_event_handler): Call new functions to get postKeyEvent
4774         parameters.
4775         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
4776         Update postKeyEvent method signature.
4777         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
4778         VK_ defines.
4779
4780 2003-08-05  Matthias Klose  <doko@debian.org>
4781
4782         * aclocal.m4: check for libart-config binary
4783           under the name libart2-config as well.
4784         * configure: regenerated.
4785
4786 2003-08-04  David P Grove  <groved@us.ibm.com>
4787
4788         * java/text/DecimalFormat.java (format): avoid ArithmeticException
4789         when groupingSize is 0.
4790         (parse): Likewise.
4791
4792 2003-08-04  Matthias Klose  <doko@debian.org>
4793
4794         * libart.m4: check for libart-config binary
4795           under the name libart2-config as well.
4796         * configure, aclocal.m4: regenerated.
4797
4798 2003-08-02  Michael Koch  <konqueror@gmx.de>
4799
4800         * java/nio/ByteBufferImpl.java
4801         (getChar): Check remaining bytes, fixed comment about endianess.
4802         (putChar): Likewise.
4803         (getShort): Likewise.
4804         (putShort): Likewise.
4805         (getInt): Check remaining bytes, fixed conversion, fixed comment about
4806         endianess.
4807         (putInt): Likewise.
4808         (getLong): Likewise.
4809         (putLong): Likewise.
4810         (getFloat): Likewise.
4811         (putFloat): Likewise.
4812         (getDouble): Likewise.
4813         (putDouble): Likewise.
4814         * java/nio/DirectByteBufferImpl.java
4815         (getChar): Wrapped code, fixed comment about endianess.
4816         (putchar): Likewise.
4817         (getShort): Likewise.
4818         (putShort): Likewise.
4819         (getInt): Fixed conversion, fixed comment about endianess.
4820         (putInt): Likewise.
4821         (getLong): Likewise.
4822         (putLong): Likewise.
4823         (getFloat): Likewise.
4824         (putFloat): Likewise.
4825         (getDouble): Likewise.
4826         (putDouble): Likewise.
4827         * java/nio/MappedByteBufferImpl.java
4828         (compact): Implemented.
4829         (getChar): Implemented.
4830         (putChar): Implemented.
4831         (getDouble): Implemented.
4832         (putdouble): Implemented.
4833         (getFloat): Implemented.
4834         (putFloat): Implemented.
4835         (getInt): Implemented.
4836         (putInt): Implemented.
4837         (getLong): Implemented.
4838         (putLong): Implemented.
4839         (getShort): Implemented.
4840         (putShort): Implemented.
4841         * java/nio/channels/FileChannelImpl.java
4842         (read): Set position where to access file.
4843         (write): Likewise.
4844         (transferTo): Flip buffer after read and before write.
4845         (transferFrom): Likewise.
4846
4847 2003-08-02  Michael Koch  <konqueror@gmx.de>
4848
4849         * gnu/java/lang/ArrayHelper.java
4850         (equalsArray): Reformated, added method documentation.
4851
4852 2003-08-02  Michael Koch  <konqueror@gmx.de>
4853
4854         * java/net/URL.java
4855         (URL): Added paragraph about the
4856         gnu.java.net.nocache_protocol_handlers property.
4857         (ph_cache): Renamed from handlers to match classpath's implementation.
4858         Reordered it with factory and serialVersionUID member variables.
4859         (cache_handlers): New member variable.
4860         (static): New static initializer to initialize cache_handlers from
4861         gnu.java.net.nocache_protocol_handlers property.
4862         (URL): Use ph_cache instead of handlers, reformatted some code to
4863         match classpath's implementation.
4864
4865 2003-08-01  Tom Tromey  <tromey@redhat.com>
4866
4867         Fix for PR libgcj/11241:
4868         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
4869         initialCapacity is 0, set it to 1.
4870
4871 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
4872
4873         * java/net/SocketImpl.java (toString): Display the remote address
4874         of an unconnected server socket as "0.0.0.0/0.0.0.0".
4875
4876 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
4877
4878         * javax/swing/border/BevelBorder.java,
4879         javax/swing/border/EtchedBorder.java,
4880         javax/swing/border/LineBorder.java,
4881         javax/swing/border/MatteBorder.java,
4882         javax/swing/border/SoftBevelBorder.java,
4883         javax/swing/plaf/BorderUIResource.java,
4884         javax/swing/plaf/ComponentUI.java,
4885         javax/swing/plaf/TreeUI.java,
4886         javax/swing/plaf/basic/BasicBorders.java,
4887         javax/swing/plaf/basic/BasicGraphicsUtils.java,
4888         javax/swing/plaf/basic/BasicTreeUI.java:
4889         Prepend "doc-files" to all paths to embedded Javadoc images, so
4890         that the generated documentation contains the correct URL.
4891
4892 2003-08-01  Tom Tromey  <tromey@redhat.com>
4893
4894         * configure: Rebuilt.
4895         * configure.in (tool_include_dir): Redefine to match gcc.
4896
4897 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
4898             Mark Wielaard  <mark@klomp.org>
4899             
4900         * java/math/BigDecimal (divide): Correctly handle
4901         ROUND_HALF_EVEN when amount is greater than 0.5.
4902         Simplify and optimize code.
4903
4904 2003-07-31  Tom Tromey  <tromey@redhat.com>
4905
4906         More for PR libgcj/11737:
4907         * java/io/ObjectInputStream.java (processResolution): Use
4908         getMethod.
4909         (getMethod): Make method accessible.
4910         (getField): Make field accessible.
4911         (setBooleanField): Don't call setAccessible here.
4912         (setByteField, setCharField, setDoubleField, setFloatField,
4913         setIntField, setLongField, setShortField, setObjectField):
4914         Likewise.
4915         (callReadMethod): Don't check whether method is null.  Catch
4916         NoSuchMethodException.
4917         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
4918         cause on thrown exceptions.
4919
4920 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
4921
4922         Fix for PR libgcj/11728:
4923         * java/util/HashMap.java (readObject): Set size.
4924
4925 2003-07-31  Tom Tromey  <tromey@redhat.com>
4926
4927         Fix for PR libgcj/11737:
4928         * java/io/ObjectOutputStream.java (getMethod): Make method
4929         accessible.
4930         (getField): Likewise.
4931         (writeObject): Use getMethod.
4932         Import PrivilegedAction and AccessController.
4933         (callWriteMethod): Don't check whether m is null.  Catch
4934         NoSuchMethodException.
4935
4936         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
4937         (containsAngle): Likewise.
4938         (getStartPoint): Rewrote.
4939         (getEndPoint): Likewise.
4940         (setAngleStart(Point2D)): Likewise.
4941
4942 2003-07-31  Roger Sayle  <roger@eyesopen.com>
4943             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4944
4945         * configure.in: Add new THREADCXXFLAGS variable.
4946         Handle POSIX threads on alpha*-dec-osf*.
4947         * configure: Regenerate.
4948         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
4949         * Makefile.in: Regenerate.
4950
4951 2003-07-08  Andrew Haley  <aph@redhat.com>
4952
4953         * include/i386-signal.h (RESTORE): New.
4954         (INIT_SEGV): Set restorer.
4955         (INIT_FPE): Likewise.
4956
4957 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
4958
4959         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
4960         than getXLFD.
4961         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
4962         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
4963         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
4964         (gtkSetFont): Scale size parameter by PANGO_SCALE.
4965         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
4966         Likewise.
4967         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
4968         Likewise.
4969
4970 2003-07-29  Tom Tromey  <tromey@redhat.com>
4971
4972         * defineclass.cc (handleField): Throw exception if field name is
4973         duplicated.
4974         (handleMethod): Throw exception for duplicate method.
4975
4976 2003-07-29  Tom Tromey  <tromey@redhat.com>
4977
4978         * gnu/gcj/convert/natIconv.cc (write): Handle case where
4979         output buffer is too small.
4980
4981 2003-07-28  Tom Tromey  <tromey@redhat.com>
4982
4983         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
4984         New method.
4985         Include gnu/gcj/runtime/StringBuffer.h.
4986         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
4987         native method.
4988         (String(gnu.gcj.runtime.StringBuffer)): Use it.
4989
4990 2003-07-27  Anthony Green  <green@redhat.com>
4991
4992         * configure.in: Fix newlib check.
4993         * configure: Rebuilt.
4994
4995 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
4996
4997         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4998         Create vbox and layout for GtkPlug.
4999
5000 2003-07-27  Michael Koch  <konqueror@gmx.de>
5001
5002         * java/awt/Window.java
5003         (Window): Removed now unused constructor. It became oboslete with the
5004         new embedded window patch.
5005
5006 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
5007             Michael Koch  <konqueror@gmx.de>
5008
5009         * gnu/java/awt/EmbeddedWindow.java
5010         (EmbeddedWindow): Extends Frame instead of Window.
5011         (window_id): New member variable to store the native window handle.
5012         (create): Removed.
5013         (EmbeddedWindow): New constructor.
5014         (addNotify): New method.
5015         (getHandler): Likewise.
5016         (setWindowPeer): New native method.
5017         * gnu/java/awt/EmbeddedWindowSupport.java
5018         (EmbeddedWindowSupport): Fixed documentation.
5019         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
5020         WindowPeer, give it an EmbeddedWindow instance instead of the raw
5021         window data.
5022         * gnu/java/awt/natEmbeddedWindow.cc
5023         (create): Removed.
5024         (setWindowPeer): New method.
5025         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
5026         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
5027         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5028         New files
5029         * gnu/java/awt/peer/gtk/GtkToolkit.java
5030         (GtkToolkit): Implements EmbeddedWindowSupport.
5031         (createEmbeddedWindow): New method.
5032         * java/awt/Window.java
5033         (Window): Removed.
5034         * Makefile.am
5035         (java_source_files): Added EmbeddedWindowPeer.java.
5036         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
5037         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
5038         * Makefile.in: Regenerated.
5039
5040 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
5041
5042         * java/lang/Win32Process.java (ConcreteProcess): Surround
5043         a command line element with quotes if it contains an
5044         embedded space or tab.
5045         * java/lang/natWin32Process.cc (startProcess): Do not
5046         surround command line elements with quotes here.
5047
5048         * configure.host: Use -fcheck-references and 
5049         -fuse-divide-subroutine for MinGW until we fix
5050         win32_exception_handler( ) in win32.cc w.r.t. Win32 
5051         Structured Exception Handling (SEH).
5052
5053         * win32.cc (_Jv_platform_initProperties): Use generic names
5054         like "x86" for the "os.arch" property to be consistent with
5055         what Sun's JDK produces. Use the wProcessorArchitecture
5056         member of the Win32 SYSTEM_INFO structure, filled in a call 
5057         to GetSystemInfo( ), instead of dwProcessorType.
5058
5059 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
5060             Ranjit Mathew  <rmathew@hotmail.com>
5061
5062         * Makefile.am: Use cross-compiling gcjh from the path for
5063         a crossed-native build.
5064         * Makefile.in: Rebuilt.
5065         * configure.in: Include libltdl in non-newlib builds.
5066         Moved determination of gcj used to build libraries to
5067         its own section. Fixed cross-compilation issues for
5068         non-newlib builds.
5069         * configure: Rebuilt.
5070
5071 2003-07-25  Tom Tromey  <tromey@redhat.com>
5072
5073         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
5074         (write): Likewise.
5075         (read): Likewise.
5076         (read): Likewise.
5077
5078 2003-07-25  Mark Wielaard  <mark@klomp.org>
5079
5080         * java/lang/natRuntime.cc (_load): Add library name to
5081         UnsatisfiedLinkError when thrown.
5082
5083 2003-07-25  Mark Wielaard  <mark@klomp.org>
5084
5085         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
5086         added.
5087         * Makefile.in: Likewise.
5088
5089 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
5090
5091         * java/awt/Component.java
5092         (getPreferredSize): Call preferredSize.
5093         (preferredSize): Moved body of getPreferredSize here.
5094         (getMinimumSize): Call minimumSize.
5095         (minimumSize): Moved body of getMinimumSize here.
5096         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
5097         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
5098         pass -1
5099         * java/awt/Container.java
5100         (validate): Don't validate if there is no peer.
5101         (update): Clear background before calling paint.
5102         * java/awt/GridBagLayout.java
5103         Completed the implementation and fixed several bugs.
5104         * java/awt/MediaTracker.java
5105         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
5106         combine flags.
5107         * java/awt/Window.java
5108         (Window): Don't call setVisible(false). Windows are invisible by
5109         default and calling virtual methods from constructor causes
5110         compatibility problems (e.g. subclasses may assume that the peer
5111         already exists).
5112
5113 2003-07-25  Michael Koch  <konqueror@gmx.de>
5114
5115         * java/awt/GridBagLayout.java:
5116         Totally reworked and partly implemented.
5117         * java/awt/GridBagLayoutInfo.java:
5118         New file.
5119
5120 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
5121
5122         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
5123         Don't pack label in an event box.
5124
5125 2003-07-24  Tom Tromey  <tromey@redhat.com>
5126
5127         For PR libgcj/7482:
5128         * verify.cc (ref_intersection): New class.
5129         (type_val): Removed unresolved_reference_type,
5130         uninitialized_unresolved_reference_type.
5131         (is_assignable_from_slow): Rewrote.
5132         (type::data): Removed.
5133         (type::klass): New field.
5134         (type::type): Added verifier argument.
5135         (type::resolve): Removed.
5136         (type::set_uninitialized): Updated for change to type_val.
5137         (type::set_initialized): Likewise.
5138         (type::isinitialized): Likewise.
5139         (type::print): Likewise.
5140         (construct_primitive_array_type): Likewise.
5141         (type::compatible): Updated for change to type_val and to use
5142         ref_intersection.
5143         (type::isarray): Updated to use ref_intersection.
5144         (type::isinterface): Likewise.
5145         (type::element_type): Likewise.
5146         (type::to_array): Likewise.
5147         (type::verify_dimensions): Rewrote.
5148         (type::merge): Likewise.
5149         (check_class_constant): Updated for type constructor change.
5150         (check_constant): Likewise.
5151         (check_field_constant): Likewise.
5152         (get_one_type): Likewise.
5153         (initialize_stack): Likewise.
5154         (verify_instructions_0): Likewise.
5155         (verify_instructions_0) [op_invokeinterface]: Removed special
5156         case.
5157         (isect_list): New field.
5158         (_Jv_BytecodeVerifier): Initialize it.
5159         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
5160
5161 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
5162
5163         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
5164         unless field size is 2.
5165
5166 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
5167
5168         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5169         (connectHooks): New method.
5170         (handleEvent): Remove.
5171         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5172         (createHooks): Remove declaration.
5173         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5174         (generates_key_typed_event): Change to handle only certain
5175         keyvals.
5176         (awt_event_handler): Add special handling for GtkTextView.
5177         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5178         (textcomponent_commit_cb): New function.
5179         (textcomponent_changed_cb): Likewise.
5180         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5181         (connectHooks): Remove.
5182
5183 2003-07-23  Tom Tromey  <tromey@redhat.com>
5184
5185         * java/lang/natSystem.cc (arraycopy): Check for overflow.
5186
5187         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
5188
5189 2003-07-22  Tom Tromey  <tromey@redhat.com>
5190
5191         * boehm.cc (_Jv_BuildGCDescr): Wrote.
5192         Include limits.h.
5193
5194 2003-07-22  Tom Tromey  <tromey@redhat.com>
5195
5196         * java/awt/Window.java (getWarningString): Just return the
5197         string.
5198         (Window): Set warningString; check with security manager.
5199
5200 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
5201
5202         * gnu/awt/xlib/XGraphicsConfiguration.java
5203         (FontMetricsCache): Made static.
5204  
5205 2003-07-22  Tom Tromey  <tromey@redhat.com>
5206
5207         * java/net/URLEncoder.java (encode(String)): Use platform default
5208         encoding.
5209         (encode(String,String)): Convert to 2-digit upper-case hex
5210         number.
5211         (hex): New field.
5212
5213 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5214
5215         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5216         (create): Remove unused method implementation.
5217         (connectHooks): Remove debug messages.
5218
5219 2003-07-20  Anthony Green  <green@redhat.com>
5220
5221         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
5222         CloneNotSupportedException.
5223         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
5224         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
5225         * gnu/gcj/xlib/GC.java (clone): Ditto.
5226         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
5227         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
5228
5229         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
5230         handler.
5231         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
5232
5233 2003-07-20  Steve Pribyl <steve@netfuel.com.>
5234
5235         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
5236         String.  Put dlerror() message into exception.
5237         Include UnsatisfiedLinkError.
5238         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
5239         String.  Now native.
5240
5241 2003-07-20  Tom Tromey  <tromey@redhat.com>
5242
5243         * java/lang/Runtime.java: Comment fix.
5244         * java/lang/ClassLoader.java (isAncestorOf): New method.
5245         (getParent): Uncommented security check.  Use isAncestorOf.
5246         * include/jvm.h (_Jv_CheckAccess): Declare.
5247         * java/lang/reflect/natConstructor.cc (newInstance): Perform
5248         access check.
5249         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
5250         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
5251         class loader to _Jv_GetArrayClass.
5252         Include ArrayIndexOutOfBoundsException.h.
5253         * java/lang/reflect/Field.java: Update comment to reflect status.
5254         (equals): Fixed indentation.
5255         * java/lang/Class.h (Class): Declare memberAccessCheck, not
5256         checkMemberAccess.  Make _Jv_CheckAccess a friend.
5257         * java/lang/Class.java (memberAccessCheck): New method from
5258         Classpath.
5259         (checkMemberAccess): Removed.
5260         (getDeclaredMethod): Use memberAccessCheck.
5261         (getField): Likewise.
5262         (getMethod): Likewise.
5263         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
5264         (_Jv_SearchMethodInClass): Likewise.
5265         * prims.cc (_Jv_CheckAccess): New function.
5266         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
5267         (_Jv_JNI_GetAnyFieldID): Likewise.
5268         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
5269         (getClassLoader): Added security check.
5270         (getConstructor): Call memberAccessCheck.
5271         (getDeclaredClasses): Likewise.
5272         (getDeclaredField): Likewise.
5273         (getDeclaredFields): Likewise.
5274         (_getConstructors): Likewise.
5275         (getDeclaredConstructor): Likewise.
5276         (getDeclaredMethods): Likewise.
5277         (getFields): Likewise.
5278         (getMethods): Likewise.
5279         (newInstance): Likewise.
5280         (_Jv_MakeVTable): Put method name in exception.
5281         * java/lang/reflect/natMethod.cc (getType): Use
5282         getClassLoaderInternal.
5283         (_Jv_GetTypesFromSignature): Likewise.
5284         (invoke): Perform access check.
5285         (_Jv_CallAnyMethodA): Removed old FIXME comments.
5286         Include ArrayIndexOutOfBoundsException.h.
5287         * java/lang/reflect/natField.cc (getType): Use
5288         getClassLoaderInternal.
5289         (_Jv_CheckFieldAccessibility): Removed.
5290         (getAddr): Use _Jv_CheckAccess; find caller.
5291         Include ArrayIndexOutOfBoundsException.h.
5292
5293 2003-07-20  Michael Koch  <konqueror@gmx.de>
5294
5295         * java/net/URL.java
5296         (URL): Fixed documentation to name an argument correcty, Reformatted
5297         one method declaration.
5298         (getURLStreamHandler): Added documentation from classpath.
5299
5300 2003-07-19  Tom Tromey  <tromey@redhat.com>
5301
5302         * mauve-libgcj: Don't run CollationElementIterator tests.
5303
5304 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
5305
5306         * java/net/URLClassLoader.java (addURL): Moved implementation to
5307         private addURLImpl() to avoid calling addURL from the constructor.
5308         (addURLImpl): Contains the code that was previously in addURL.
5309         (addURLs): Call addURLImpl(), not addURL().
5310
5311 2003-07-18  Graydon Hoare  <graydon@redhat.com>
5312
5313         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
5314         Handle missing event cases, connect to "value-changed" signal.
5315
5316 2003-07-18  Graydon Hoare  <graydon@redhat.com>
5317
5318         * java/awt/geom/CubicCurve2D.java,
5319         java/awt/geom/Line2D.java,
5320         java/awt/geom/QuadCurve2D.java,
5321         java/awt/geom/Rectangle2D.java: 
5322         Fix path some calculations, make path iterators follow
5323         a consistent style.
5324
5325 2003-07-18  Mark Wielaard  <mark@klomp.org>
5326
5327         * java/util/logging/Handler.java (isLoggable): Check record level
5328         smaller or equal.
5329
5330 2003-07-17  Michael Koch  <konqueror@gmx.de>
5331
5332         * gnu/java/awt/peer/gtk/GtkToolkit.java:
5333         Reworked imports.
5334
5335 2003-07-14  Michael Koch  <konqueror@gmx.de>
5336
5337         * gnu/java/rmi/server/UnicastServerRef.java:
5338         New version from classpath.
5339
5340 2003-07-14  Michael Koch  <konqueror@gmx.de>
5341
5342         * java/awt/image/MemoryImageSource.java,
5343         java/beans/PropertyEditorManager.java,
5344         javax/naming/CompoundName.java,
5345         javax/naming/spi/NamingManager.java,
5346         javax/swing/AbstractButton.java,
5347         javax/swing/ButtonModel.java,
5348         javax/swing/SwingUtilities.java,
5349         javax/swing/UIManager.java,
5350         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5351         javax/swing/event/AncestorEvent.java,
5352         javax/swing/event/InternalFrameEvent.java,
5353         java/util/zip/ZipFile.java:
5354         New versions from classpath.
5355
5356 2003-07-13  Michael Koch  <konqueror@gmx.de>
5357
5358         * gnu/java/nio/FileChannelImpl.java,
5359         gnu/java/nio/natFileChannelImpl.cc: Removed.
5360         * java/io/FileInputStream.java,
5361         java/io/FileOutputStream.java,
5362         java/io/RandomAccessFile.java,
5363         java/nio/MappedByteBufferImpl.java:
5364         Import java.nio.channels.FileChannelImpl instead of
5365         gnu.java.nio.FileChannelImpl.
5366         * java/nio/channels/FileChannelImpl.java,
5367         java/nio/channels/natFileChannelImpl.cc:
5368         New files.
5369         * Makefile.am
5370         (ordinary_java_source_files):
5371         Removed gnu/java/nio/FileChannelImpl.java and added
5372         java/nio/channels/FileChannelImpl.java.
5373         (nat source_files):
5374         Removed gnu/java/nio/natFileChannelImpl.cc and added
5375         java/nio/channels/natFileChannelImpl.cc.
5376         * Makefile.in: Regenerated.
5377
5378 2003-07-13  Michael Koch  <konqueror@gmx.de>
5379
5380         * javax/swing/plaf/basic/BasicBorders.java,
5381         javax/swing/plaf/basic/BasicLabelUI.java,
5382         javax/swing/plaf/basic/BasicLookAndFeel.java,
5383         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5384         javax/swing/plaf/basic/BasicTextUI.java,
5385         javax/swing/plaf/metal/MetalLookAndFeel.java:
5386         New versions from classpath.
5387
5388 2003-07-13  Michael Koch  <konqueror@gmx.de>
5389
5390         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
5391         * gnu/java/awt/peer/gtk/GdkGraphics.java
5392         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
5393         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
5394         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
5395         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
5396         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
5397         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
5398         * gnu/java/awt/peer/gtk/GtkClipboard.java
5399         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
5400         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
5401         * gnu/java/awt/peer/gtk/GtkFramePeer.java
5402         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
5403         * gnu/java/awt/peer/gtk/GtkImage.java
5404         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5405         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
5406         * gnu/java/awt/peer/gtk/GtkListPeer.java
5407         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
5408         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
5409         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5410         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
5411         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
5412         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
5413         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
5414         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
5415         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
5416         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
5417         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5418         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5419
5420 2003-07-13  Michael Koch  <konqueror@gmx.de>
5421
5422         * gnu/java/locale/LocaleInformation_de.java
5423         * gnu/java/locale/LocaleInformation_en.java
5424         * gnu/java/locale/LocaleInformation_nl.java
5425
5426 2003-07-13  Michael Koch  <konqueror@gmx.de>
5427
5428         * gnu/java/awt/EmbeddedWindow.java,
5429         gnu/java/awt/EmbeddedWindowSupport.java,
5430         gnu/java/awt/natEmbeddedWindow.cc:
5431         New files.
5432         * java/awt/Window.java
5433         (Window): New constructor to support embedded windows.
5434         * Makefile.am
5435         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
5436         gnu/java/awt/EmbeddedWindowSupport.java.
5437         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
5438         * Makefile.in: Regenerated.
5439
5440 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
5441
5442         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
5443         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
5444         * java/awt/im/InputContext.java: Remove a redundant
5445         partial line.
5446
5447 2003-07-09  Tom Tromey  <tromey@redhat.com>
5448
5449         * Makefile.in: Rebuilt.
5450         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
5451
5452 2003-07-09  Mark Wielaard  <mark@klomp.org>
5453
5454         * java/io/ObjectOutputStream.java (writeObject): break after
5455         calling writeClassDescriptor().
5456
5457 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
5458
5459         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
5460
5461 2003-07-09  Michael Koch  <konqueror@gmx.de>
5462
5463         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5464         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5465         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5466         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
5467         Explicitly import used classes.
5468         * java/awt/Container.java: New version from classpath.
5469
5470 2003-07-09  Michael Koch  <konqueror@gmx.de>
5471
5472         * libgcj.pc.in: New file.
5473         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
5474         * Makefile.in: Regenerated.
5475         * configure: Regenrated.
5476         * configure.in: Create libgcj.pc from libgcj.pc.in.
5477
5478 2003-07-08  Mark Wielaard <mark@klomp.org>
5479
5480         * gcj/cni.h: CNI now expands to Compiled Native Interface.
5481
5482         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
5483         * java/lang/fdlibm.h: Likewise.
5484
5485 2003-07-07  Adam Megacz <adam@xwt.org>
5486
5487         * posix.cc: added #include<stdio.h>
5488                 
5489 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
5490
5491         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
5492         formatting.
5493
5494         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5495         (setCaretPosition, setEditable): Rely entirely on native
5496         implementation.
5497         (getArgs): Remove.
5498         (postTextEvent): New method.
5499         (handleEvent): New method.
5500         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
5501         method.
5502         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
5503         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5504         (keysym_to_awt_keycode): Fix range checks.
5505         (generates_key_typed_event): New function.
5506         (awt_event_handler): Post AWT_KEY_RELEASED events to event
5507         queue.
5508         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5509         (gtkInit): Store TextComponent's postTextEvent method ID.
5510         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5511         (setText): Post TEXT_VALUE_CHANGED event to event queue.
5512
5513 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5514
5515         * configure.in: Check for usleep declaration.
5516         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
5517         * configure: Regenerate.
5518         * include/config.h.in: Likewise.
5519         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
5520
5521 2003-07-01  Michael Koch  <konqueror@gmx.de>
5522
5523         * gnu/gcj/convert/natIconv.cc
5524         (iconv_init): Fixed possible memory leak by releasing allocated iconv
5525         handle.
5526
5527 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
5528
5529         * glib-2.0.m4: New file.
5530         * gtk-2.0.m4: New file.
5531         * glib.m4: Remove.
5532         * gtk.m4: Remove.
5533         * configure.in: Update AM_PATH_GTK macro call to
5534         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
5535         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5536         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5537         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5538         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5539         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5540         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5541         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5542         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5543         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5544         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5545         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5546         jni/gtk-peer/gthread-jni.c,
5547         jni/gtk-peer/gthread-jni.h:
5548         New versions from classpath.
5549         * aclocal.m4: Regenerate.
5550         * configure: Regenerate.
5551         * Makefile.in: Regenerate.
5552         * gcj/Makefile.in: Regenerate.
5553         * include/Makefile.in: Regenerate.
5554         * testsuite/Makefile.in: Regenerate.
5555
5556 2003-06-30  Gary Benson  <gbenson@redhat.com>
5557
5558         For PR libgcj/11349:
5559         * javax/naming/spi/NamingManager.java (getURLContext): Use
5560         correct name for factory class.
5561
5562 2003-06-28  Michael Koch  <konqueror@gmx.de>
5563
5564         * java/io/PrintStream.java
5565         (checkError): Call flush() instead of direct flushing of the Writer
5566         object.
5567         (print): Call print(String) instead of direct print method of the
5568         Writer Object.
5569         (println): Call println(String) instead of direct println method of the
5570         Writer Object.
5571         (write): Simplified.
5572
5573 2003-06-28  Michael Koch  <konqueror@gmx.de>
5574
5575         * java/net/ServerSocket.java
5576         (setChannel): New method.
5577         * java/net/Socket.java
5578         (setChannel): New method.
5579
5580 2003-06-27  Michael Koch  <konqueror@gmx.de>
5581
5582         * java/beans/beancontext/BeanContextSupport.java:
5583         New version from classpath.
5584
5585 2003-06-27  Michael Koch  <konqueror@gmx.de>
5586
5587         * java/awt/Window.java,
5588         java/awt/font/GraphicAttribute.java,
5589         java/awt/font/ImageGraphicAttribute.java,
5590         java/awt/image/DataBufferByte.java,
5591         java/awt/image/DataBufferInt.java,
5592         java/awt/image/DataBufferUShort.java,
5593         java/awt/image/DirectColorModel.java,
5594         java/awt/image/PixelGrabber.java:
5595         New versions from classpath.
5596
5597 2003-06-27  Michael Koch  <konqueror@gmx.de>
5598
5599         * java/security/Certificate.java
5600         (getGuarantor): Removed wrong @deprecated tag.
5601         (getPrincipal): Likewise.
5602         (getPublicKey): Likewise.
5603         (encode): Likewise.
5604         (decode): Likewise.
5605         (getFormat): Likewise.
5606         (toString): Likewise.
5607         * java/security/cert/PolicyQualifierInfo.java
5608         (PolicyQualifierInfo): Made final.
5609         * javax/security/auth/x500/X500Principal.java
5610         (serialVersionUID): New member variable.
5611
5612 2003-06-27  Michael Koch  <konqueror@gmx.de>
5613
5614         * java/text/Format.java
5615         (serialVersionUID): Fixed value.
5616
5617 2003-06-27  Michael Koch  <konqueror@gmx.de>
5618
5619         * java/net/Inet4Address.java
5620         (Inet4Address): Made package-private.
5621         * java/net/Inet6Address.java
5622         (Inet4Address): Made package-private.
5623
5624 2003-06-27  Michael Koch  <konqueror@gmx.de>
5625
5626         * java/io/RandomAccessFile.java
5627         (readLine): Removed wrong @deprecated tag.
5628         (getChannel): Made final.
5629
5630 2003-06-27  Michael Koch  <konqueror@gmx.de>
5631
5632         * gnu/java/nio/FileChannelImpl.java
5633         (write): Removed.
5634
5635 2003-06-27  Michael Koch  <konqueror@gmx.de>
5636
5637         * java/nio/ByteBufferImpl.java
5638         (ByteBufferImpl): Made it a package-private class
5639         * java/nio/CharBufferImpl.java
5640         (CharBufferImpl): Made it a package-private class
5641         * java/nio/DirectByteBufferImpl.java
5642         (DirectByteBufferImpl): Made it a package-private class
5643         * java/nio/DoubleBufferImpl.java
5644         (DoubleBufferImpl): Made it a package-private class
5645         * java/nio/FloatBufferImpl.java
5646         (FloatBufferImpl): Made it a package-private class
5647         * java/nio/IntBufferImpl.java
5648         (IntBufferImpl): Made it a package-private class
5649         * java/nio/LongBufferImpl.java
5650         (LongBufferImpl): Made it a package-private class
5651         * java/nio/ShortBufferImpl.java
5652         (ShortBufferImpl): Made it a package-private class
5653         * java/nio/channels/FileChannel.java
5654         (write): Made final.
5655         * java/nio/channels/ServerSocketChannel.java
5656         (ServerSocketChanne): Made protected.
5657
5658 2003-06-27  Michael Koch  <konqueror@gmx.de>
5659
5660         * javax/naming/CompositeName.java
5661         (serialVersionUID): New member variable.
5662         * javax/naming/CompoundName.java
5663         (serialVersionUID): New member variable.
5664         * javax/naming/InitialContext.java
5665         (InitialContext): Throws NamingException.
5666         (init): Likewise.
5667         * javax/naming/LinkRef.java
5668         (serialVersionUID): New member variable.
5669         (gteLinkName): Throws NamingException.
5670         * javax/naming/NamingException.java
5671         (serialVersionUID): New member variable.
5672         * javax/naming/NamingSecurityException.java
5673         (NamingSecurityException): Made abstract.
5674         (serialVersionUID): New member variable.
5675         * javax/naming/ReferralException.java
5676         (serialVersionUID): New member variable.
5677         * javax/naming/StringRefAddr.java
5678         (serialVersionUID): New member variable.
5679         * javax/naming/directory/BasicAttribute.java:
5680         Reworked imports.
5681         (serialVersionUID): New member variable.
5682         (get): Throws NamingException.
5683         (getAll): Throws NamingException.
5684         * javax/naming/directory/BasicAttributes.java:
5685         Reworked imports.
5686         (serialVersionUID): New member variable.
5687         * javax/naming/ldap/UnsolicitedNotificationEvent.java
5688         (serialVersionUID): New member variable.
5689
5690 2003-06-27  Michael Koch  <konqueror@gmx.de>
5691
5692         * Makefile.am
5693         (awt_java_source_files): Added new files:
5694         javax/swing/Popup.java,
5695         javax/swing/PopupFactory.java
5696         * Makefile.in: Regenerated.
5697
5698 2003-06-27  Michael Koch  <konqueror@gmx.de>
5699
5700         * javax/swing/JWindow.java,
5701         javax/swing/event/AncestorEvent.java,
5702         javax/swing/event/HyperlinkEvent.java,
5703         javax/swing/event/InternalFrameEvent.java,
5704         javax/swing/event/ListDataEvent.java,
5705         javax/swing/event/TableModelEvent.java,
5706         javax/swing/plaf/PopupMenuUI.java,
5707         javax/swing/plaf/SplitPaneUI.java,
5708         javax/swing/plaf/TabbedPaneUI.java,
5709         javax/swing/plaf/TextUI.java,
5710         javax/swing/plaf/TreeUI.java,
5711         javax/swing/plaf/basic/BasicTextUI.java,
5712         javax/swing/plaf/basic/BasicTreeUI.java:
5713         New versions from classpath.
5714         * javax/swing/Popup.java,
5715         javax/swing/PopupFactory.jav:
5716         New source files from classpath.
5717         * javax/swing/plaf/doc-files/TreeUI-1.png:
5718         New binary files from classpath.
5719
5720 2003-06-25  Michael Koch  <konqueror@gmx.de>
5721
5722         * Makefile.am
5723         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
5724         * Makefile.in: Regenerated.
5725
5726 2003-06-25  Michael Koch  <konqueror@gmx.de>
5727
5728         * javax/swing/plaf/ActionMapUIResource.java,
5729         javax/swing/plaf/BorderUIResource.java,
5730         javax/swing/plaf/ButtonUI.java,
5731         javax/swing/plaf/ColorChooserUI.java,
5732         javax/swing/plaf/ColorUIResource.java,
5733         javax/swing/plaf/ComboBoxUI.java,
5734         javax/swing/plaf/ComponentInputMapUIResource.java,
5735         javax/swing/plaf/ComponentUI.java,
5736         javax/swing/plaf/DesktopIconUI.java,
5737         javax/swing/plaf/DesktopPaneUI.java,
5738         javax/swing/plaf/DimensionUIResource.java,
5739         javax/swing/plaf/FileChooserUI.java,
5740         javax/swing/plaf/FontUIResource.java,
5741         javax/swing/plaf/IconUIResource.java,
5742         javax/swing/plaf/InputMapUIResource.java,
5743         javax/swing/plaf/InsetsUIResource.java,
5744         javax/swing/plaf/InternalFrameUI.java,
5745         javax/swing/plaf/LabelUI.java,
5746         javax/swing/plaf/ListUI.java,
5747         javax/swing/plaf/MenuBarUI.java,
5748         javax/swing/plaf/MenuItemUI.java,
5749         javax/swing/plaf/OptionPaneUI.java,
5750         javax/swing/plaf/PanelUI.java,
5751         javax/swing/plaf/ProgressBarUI.java,
5752         javax/swing/plaf/RootPaneUI.java,
5753         javax/swing/plaf/ScrollBarUI.java,
5754         javax/swing/plaf/ScrollPaneUI.java,
5755         javax/swing/plaf/SeparatorUI.java,
5756         javax/swing/plaf/SliderUI.java,
5757         javax/swing/plaf/TableHeaderUI.java,
5758         javax/swing/plaf/TableUI.java,
5759         javax/swing/plaf/ToolBarUI.java,
5760         javax/swing/plaf/ToolTipUI.java,
5761         javax/swing/plaf/ViewportUI.java:
5762         New versions from classpath.
5763         * javax/swing/plaf/SpinnerUI.java: 
5764         New file from classpath
5765
5766 2003-06-25  Michael Koch  <konqueror@gmx.de>
5767
5768         * java/awt/image/ColorModel.java:
5769         New version from classpath.
5770
5771 2003-06-25  Michael Koch  <konqueror@gmx.de>
5772
5773         * java/net/PlainDatagramSocketImpl.java:
5774         Partly merged with classpath, this mainly adds documentation.
5775
5776 2003-06-25  Michael Koch  <konqueror@gmx.de>
5777
5778         * java/io/ObjectInputStream.java
5779         (readClassDescriptor): New method.
5780         (readObject): Moved functionality to readClassDescriptor().
5781         * java/io/ObjectOutputStream.java
5782         (writeClassDescriptor): New method.
5783         (writeObject): Moved functionality to writeClassDescriptor().
5784
5785 2003-06-25  Michael Koch  <konqueror@gmx.de>
5786
5787         * javax/swing/plaf/basic/BasicListUI.java,
5788         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5789         Added missing methods.
5790
5791 2003-06-25  Michael Koch  <konqueror@gmx.de>
5792
5793         * javax/swing/event/AncestorEvent.java
5794         javax/swing/event/HyperlinkEvent.java
5795         javax/swing/event/InternalFrameEvent.java
5796         javax/swing/event/ListDataEvent.java
5797         javax/swing/event/TableModelEvent.java:
5798         Compile fixes.
5799
5800 2003-06-24  Michael Koch  <konqueror@gmx.de>
5801
5802         * java/net/URL.java:
5803         Renamed "handler" to "ph" in the whole file to match classpaths
5804         version.
5805         * java/net/URLStreamHandler.java:
5806         (equals): Renamed "handler" to "ph".
5807
5808 2003-06-24  Michael Koch  <konqueror@gmx.de>
5809
5810         * javax/swing/event/AncestorEvent.java,
5811         javax/swing/event/HyperlinkEvent.java,
5812         javax/swing/event/InternalFrameEvent.java,
5813         javax/swing/event/ListDataEvent.java,
5814         javax/swing/event/TableModelEvent.java,
5815         javax/swing/event/TreeWillExpandListener.java,
5816         javax/swing/plaf/ComponentUI.java,
5817         javax/swing/plaf/DesktopIconUI.java,
5818         javax/swing/plaf/DesktopPaneUI.java,
5819         javax/swing/plaf/DimensionUIResource.java,
5820         javax/swing/plaf/FileChooserUI.java,
5821         javax/swing/plaf/FontUIResource.java,
5822         javax/swing/plaf/IconUIResource.java,
5823         javax/swing/plaf/InputMapUIResource.java,
5824         javax/swing/plaf/InsetsUIResource.java,
5825         javax/swing/plaf/InternalFrameUI.java,
5826         javax/swing/plaf/LabelUI.java,
5827         javax/swing/plaf/ListUI.java,
5828         javax/swing/plaf/MenuBarUI.java,
5829         javax/swing/plaf/MenuItemUI.java,
5830         javax/swing/plaf/OptionPaneUI.java,
5831         javax/swing/plaf/PanelUI.java,
5832         javax/swing/plaf/ProgressBarUI.java,
5833         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5834         javax/swing/plaf/doc-files/ComponentUI-1.png:
5835         New versions from classpath.
5836
5837 2003-06-24  Michael Koch  <konqueror@gmx.de>
5838
5839         * java/nio/Buffer.java
5840         (cap): Made package-private.
5841         (pos): Likewise.
5842         (limit): Likewise.
5843         (mark): Likewise.
5844
5845 2003-06-24  Michael Koch  <konqueror@gmx.de>
5846
5847         * java/net/SocketImpl.java
5848         (shutdownInput): Made it non-abstract method throwing an exception
5849         like in SUNs JRE.
5850         (shutdownOutput): Likewise.
5851         * java/net/SocketInputStream.java,
5852         java/net/SocketOutputStream.java:
5853         New files from classpath.
5854
5855 2003-06-24  Michael Koch  <konqueror@gmx.de>
5856
5857         * java/awt/Font.java,
5858         java/awt/Window.java,
5859         java/awt/color/ColorSpace.java,
5860         java/awt/datatransfer/StringSelection.java,
5861         java/awt/image/ColorModel.java:
5862         New versions from classpath.
5863
5864 2003-06-24  Michael Koch  <konqueror@gmx.de>
5865
5866         * Makefile.am
5867         (awt_java_source_files): Added new files:
5868         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5869         javax/swing/plaf/basic/BasicSplitPaneUI.java
5870         * Makefile.in: Regenerated.
5871
5872 2003-06-24  Michael Koch  <konqueror@gmx.de>
5873
5874         * javax/swing/text/JTextComponent.java:
5875         New version from classpath.
5876
5877 2003-06-24  Michael Koch  <konqueror@gmx.de>
5878
5879         * javax/swing/Timer.java,
5880         javax/swing/plaf/ActionMapUIResource.java,
5881         javax/swing/plaf/ButtonUI.java,
5882         javax/swing/plaf/ColorChooserUI.java,
5883         javax/swing/plaf/ColorUIResource.java,
5884         javax/swing/plaf/ComboBoxUI.java,
5885         javax/swing/plaf/ComponentInputMapUIResource.java,
5886         javax/swing/plaf/basic/BasicBorders.java:
5887         New versions from classpath.
5888         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
5889         javax/swing/plaf/basic/BasicSplitPaneUI.java:
5890         New file from classpath.
5891         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
5892         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
5893         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
5894         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5895         javax/swing/plaf/doc-files/ComponentUI-1.png:
5896         New binary files from classpath.
5897
5898 2003-06-24  Michael Koch  <konqueror@gmx.de>
5899
5900         * java/io/LineNumberReader.java
5901         (skip): Dont do line number accounting here as this is already done in
5902         read(), simplified.
5903
5904 2003-06-21  Michael Koch  <konqueror@gmx.de>
5905
5906         * java/io/File.java
5907         (static): Load javaio lib if existing (only in classpath).
5908         (File): Revised documentation to show the correct argument name.
5909         (createTempFile): Partly merged with classpath.
5910         (compareTo): Simplified.
5911         (lastModified): Throw exception if time < 0.
5912         (deleteOnExit): Revised documentation.
5913
5914 2003-06-21  Michael Koch  <konqueror@gmx.de>
5915
5916         * java/net/PlainSocketImpl.java:
5917         Reformatted.
5918         (PlainSocketImpl): Merged class documentaion with classpath.
5919         (in): Moved.
5920         (out): Moved.
5921         (PlainSocketImpl): New empty constructor.
5922         (finalize): Moved.
5923         (setOption): Merged documentation from classpath.
5924         (getOption): Likewise.
5925         (create): Likewise.
5926         (connect): Likewise.
5927         (bind): Likewise.
5928         (listen): Likewise.
5929         (accept): Likewise.
5930         (available): Likewise.
5931         (close): Likewise.
5932         (read): Likewise.
5933         (write): Likewise.
5934         (getInputStream): Made synchronozed to get sure that only one stream
5935         object can be created for this socket, merged documentation from
5936         classpath.
5937         (getOutputStream): Likewise.
5938
5939 2003-06-21  Michael Koch  <konqueror@gmx.de>
5940
5941         * java/net/PlainSocketImpl.java:
5942         Reformatting.
5943         (static): New implicit method.
5944         (read): Made package private.
5945         (write): Likewise.
5946
5947 2003-06-21  Michael Koch  <konqueror@gmx.de>
5948
5949         * java/util/SimpleTimeZone.java:
5950         Removed unneeded import, reformatting.
5951
5952 2003-06-21  Michael Koch  <konqueror@gmx.de>
5953
5954         * java/text/DateFormat.java,
5955         java/text/SimpleDateFormat.java,
5956         java/util/Locale.java:
5957         New versions from classpath.
5958
5959 2003-06-21  Michael Koch  <konqueror@gmx.de>
5960
5961         * javax/swing/SpinnerModel.java:
5962         New file from classpath.
5963         * javax/swing/border/LineBorder.java,
5964         javax/swing/border/SoftBevelBorder.java,
5965         javax/swing/plaf/BorderUIResource.java,
5966         javax/swing/plaf/basic/BasicBorders.java:
5967         New versions from classpath.
5968         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
5969         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
5970         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
5971         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
5972         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
5973         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
5974         New binary files from classpath.
5975
5976 2003-06-21  Michael Koch  <konqueror@gmx.de>
5977
5978         * java/util/logging/LogRecord.java,
5979         java/util/logging/Logger.java,
5980         java/util/logging/SocketHandler.java,
5981         java/util/logging/SimpleFormatter.java,
5982         java/util/logging/Formatter.java,
5983         java/util/logging/ErrorManager.java,
5984         java/util/logging/Handler.java,
5985         java/util/logging/FileHandler.java,
5986         java/util/logging/LogManager.java,
5987         java/util/logging/Level.java,
5988         java/util/logging/ConsoleHandler.java,
5989         java/util/logging/StreamHandler.java,
5990         java/util/logging/LoggingPermission.java,
5991         java/util/logging/Filter.java,
5992         java/util/logging/MemoryHandler.java,
5993         java/util/logging/XMLFormatter.java:
5994         New files from classpath.
5995
5996 2003-06-20  Michael Koch  <konqueror@gmx.de>
5997
5998         * java/io/ObjectStreamField.java
5999         (unshared): new member variable.
6000         (ObjectStreamField): New constructor.
6001         (isUnshared): New method.
6002
6003 2003-06-20  Michael Koch  <konqueror@gmx.de>
6004
6005         * java/net/URLStreamHandler.java
6006         (hostsEqual): Rewritten.
6007
6008 2003-06-20  Michael Koch  <konqueror@gmx.de>
6009
6010         * gnu/java/nio/MappedByteFileBuffer.java,
6011         gnu/java/nio/natMappedByteFileBuffer.cc:
6012         Removed
6013         * java/nio/MappedByteBufferImpl.java:
6014         New file.
6015         * gnu/java/nio/FileChannelImpl.java:
6016         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
6017         * Makefile.am
6018         (ordinary_java_source_files): Removed
6019         gnu/java/nio/MappedByteFileBuffer.java and added
6020         java/nio/MappedByteBufferImpl.java.
6021         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
6022         * Makefile.in: Regenerated.
6023
6024 2003-06-19  Michael Koch  <konqueror@gmx.de>
6025
6026         * gnu/java/nio/DatagramChannelImpl.java
6027         (fd): Removed.
6028         (blocking): New member variable.
6029         (socket): Likewise.
6030         (DatagramChannelImpl): Throws IOException, initialize socket.
6031         (socket):Implemented.
6032         (implCloseSelectableChannel): Throws IOException, implemented.
6033         (implConfigureBlocking): Likewise.
6034         (connect): Likewise.
6035         (disconnect): Likewise.
6036         (isConnected): Likewise.
6037         (write): Likewise.
6038         (read): Likewise.
6039         (receive): Throws IOException.
6040         (send): Likewise.
6041         * gnu/java/nio/SocketChannelImpl.java
6042         (read): Implemented.
6043         (write): Implemented.
6044
6045 2003-06-19  Michael Koch  <konqueror@gmx.de>
6046
6047         * javax/swing/JComponent.java,
6048         javax/swing/JInternalFrame.java,
6049         javax/swing/MenuSelectionManager.java,
6050         javax/swing/SwingUtilities.java,
6051         javax/swing/ToggleButtonModel.java:
6052         New versions from classpath.
6053
6054 2003-06-19  Michael Koch  <konqueror@gmx.de>
6055
6056         * java/text/CollationElementIterator.java
6057         (NULLORDER): Initialize with -1 as JDK documentation says.
6058
6059 2003-06-19  Michael Koch  <konqueror@gmx.de>
6060
6061         * java/net/HttpURLConnection.java,
6062         java/net/Inet4Address.java,
6063         java/net/Inet6Address.java,
6064         java/net/SocketImpl.java,
6065         java/net/URLClassLoader.java:
6066         Reworked import statements.
6067         * java/net/InetAddress.java
6068         (getByAddress): Simplified.
6069         * java/net/ServerSocket.java
6070         (ServerSocket): Moved special handling during bind operation to
6071         bind().
6072         (bind): Handle different cases when trying to bind a socket.
6073         * java/net/URLConnection.java
6074         (getHeaderFieldDate): Merged with classpath.
6075         (getHeaderFieldInt): Likewise.
6076
6077 2003-06-19  Michael Koch  <konqueror@gmx.de>
6078
6079         * java/util/zip/InflaterInputStream.java
6080         (InflaterInputStream): Throw NullPointerException if in is null (as
6081         JDK does).
6082
6083 2003-06-19  Michael Koch  <konqueror@gmx.de>
6084
6085         * java/awt/Font.java
6086         javax/swing/UIManager.java
6087         javax/swing/border/AbstractBorder.java
6088         javax/swing/border/BevelBorder.java
6089         javax/swing/border/Border.java
6090         javax/swing/border/CompoundBorder.java
6091         javax/swing/border/EmptyBorder.java
6092         javax/swing/border/EtchedBorder.java
6093         javax/swing/border/LineBorder.java
6094         javax/swing/border/MatteBorder.java
6095         javax/swing/border/TitledBorder.java
6096         javax/swing/plaf/BorderUIResource.java
6097         javax/swing/plaf/basic/BasicBorders.java
6098         javax/swing/plaf/basic/BasicButtonUI.java
6099         javax/swing/plaf/basic/BasicCheckBoxUI.java
6100         javax/swing/plaf/basic/BasicGraphicsUtils.java
6101         javax/swing/plaf/basic/BasicLabelUI.java
6102         javax/swing/plaf/basic/BasicRadioButtonUI.java
6103         javax/swing/plaf/basic/BasicToggleButtonUI.java:
6104         New versions from classpath.
6105         * javax/swing/border/SoftBevelBorder.java:
6106         New file from classpath.
6107         * javax/swing/border/doc-files/LineBorder-1.png,
6108         javax/swing/border/doc-files/BevelBorder-1.png,
6109         javax/swing/border/doc-files/BevelBorder-2.png,
6110         javax/swing/border/doc-files/BevelBorder-3.png,
6111         javax/swing/border/doc-files/EmptyBorder-1.png,
6112         javax/swing/border/doc-files/EtchedBorder-1.png,
6113         javax/swing/border/doc-files/EtchedBorder-2.png,
6114         javax/swing/border/doc-files/MatteBorder-1.png,
6115         javax/swing/border/doc-files/MatteBorder-2.png,
6116         javax/swing/border/doc-files/MatteBorder-3.png,
6117         javax/swing/border/doc-files/MatteBorder-4.png,
6118         javax/swing/border/doc-files/MatteBorder-5.png,
6119         javax/swing/border/doc-files/MatteBorder-6.png,
6120         javax/swing/border/doc-files/SoftBevelBorder-1.png,
6121         javax/swing/border/doc-files/SoftBevelBorder-2.png,
6122         javax/swing/border/doc-files/SoftBevelBorder-3.png,
6123         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
6124         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
6125         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
6126         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
6127         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
6128         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
6129         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
6130         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
6131         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
6132         New binary files from classpath.
6133         * Makefile.am
6134         (awt_java_source_files): Added
6135         javax/swing/border/SoftBevelBorder.java.
6136         * Makefile.in: Regenerated.
6137
6138 2003-06-19  Michael Koch  <konqueror@gmx.de>
6139
6140         * gnu/java/security/x509/X509Certificate.java
6141         (writeReplace): Merged from classpath.
6142
6143 2003-06-19  Michael Koch  <konqueror@gmx.de>
6144
6145         * gnu/java/nio/FileChannelImpl.java
6146         (map_address): Made public.
6147         (FileChannelImpl): Merged with classpath.
6148         * gnu/java/nio/natFileChannelImpl.cc
6149         (nio_mmap_file): Commented out unused arguments.
6150         (nio_unmmap_file): Likewise.
6151         (niu_msync): Likewise.
6152
6153 2003-06-19  Michael Koch  <konqueror@gmx.de>
6154
6155         * java/awt/image/IndexColorModel.java:
6156         New version from classpath.
6157
6158 2003-06-18  Tom Tromey  <tromey@redhat.com>
6159
6160         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
6161         on arrays.
6162         (isLoopbackAddress): Likewise.
6163         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
6164         on arrays.
6165
6166 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
6167
6168         * java/lang/natVMSecurityManager.cc (getClassContext):
6169         Use maxlen instead of len for loop bound.
6170
6171 2003-06-18  Michael Koch  <konqueror@gmx.de>
6172
6173         * gnu/java/nio/SelectorImpl.java
6174         (register): Use fd with value 0 for now, will be fixed later.
6175         * gnu/java/nio/ServerSocketChannelImpl.java
6176         (fd): Removed.
6177         (local_port): Removed.
6178         (InetSocketAddress): Removed.
6179         (ServerSocketChannelImpl): Just initialize internal socket object.
6180         (implCloseSelectableChannel): Close internal socket object.
6181         (implConfigureBlocking): Added comment.
6182         (accept): Use jaba.net stuff to accept socket.
6183         * gnu/java/nio/SocketChannelImpl.java
6184         (fd): Removed.
6185         (local_port): Removed.
6186         (InetSocketAddress): Removed.
6187         (SocketCreate): Removed.
6188         (SocketConnect): Removed.
6189         (SocketBind): Removed.
6190         (SocketListen): Removed.
6191         (SocketAvailable): Removed.
6192         (SocketClose): Removed.
6193         (SocketRead): Removed.
6194         (SocketWrite): Removed.
6195         (SocketChannelImpl): Just initialize internal socket object.
6196         (implCloseSelectableChannel): Close internal socket object.
6197         (implConfigureBlocking): Fixed implementation, added comment.
6198         (connect): Use internal socket object to connect.
6199         (socket): No need for sanity checks.
6200         (read): Comment out some stuff, this will be reimplemented in the next
6201         commit.
6202         (write): Likewise.
6203         * gnu/java/nio/natFileChannelImpl.cc
6204         (nio_mmap_file): Line wrapped.
6205         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
6206         * Makefile.am
6207         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
6208         * Makefile.in: Regenerated.
6209
6210 2003-06-18  Michael Koch  <konqueror@gmx.de>
6211
6212         * java/util/Locale.java
6213         (equals): Merged from classpath.
6214
6215 2003-06-18  Michael Koch  <konqueror@gmx.de>
6216
6217         * java/net/InetAddress.java:
6218         Reformatted to better match classpath's version.
6219         * java/net/URL.java
6220         (equals): Simplified.
6221         * java/net/URLConnection.java
6222         (setDoInput): Revised documentation.
6223         (getDefaultUseCaches): Likewise.
6224         (setRequestProperty): Added @since tag.
6225
6226 2003-06-17  Michael Koch  <konqueror@gmx.de>
6227
6228         * java/net/InetSocketAddress.java
6229         (InetSocketAddress): Use wildcard address if addr is null.
6230         (InetSocketAddress): Dont duplicate implementation.
6231         (InetSocketAddress): Throw exception when hostname is null.
6232         * java/net/Socket.java:
6233         Reworked imports.
6234         (Socket): Throw exception when raddr is null, handle case when laddr
6235         is null.
6236
6237 2003-06-17  Michael Koch  <konqueror@gmx.de>
6238
6239         * java/nio/DirectByteBufferImpl.java
6240         (address): Made package private.
6241         (DirectByteBufferImpl): New constructor.
6242         * java/nio/natDirectByteBufferImpl.cc
6243         (allocateImpl): Moved to java.nio namespace, implemented.
6244         (freeImpl): Likewise.
6245         (getImpl): Likewise.
6246         (putImpl): Likewise.
6247         * jni.cc
6248         (_Jv_JNI_NewDirectByteBuffer): Implemented.
6249         (_Jv_JNI_GetDirectBufferAddress): Implemented.
6250         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
6251
6252 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6253
6254         * include/powerpc-signal.h: New File.
6255         * configure.in: Use it.
6256         * configure: Regenerated.
6257
6258 2003-06-17  Michael Koch  <konqueror@gmx.de>
6259
6260         * java/util/Locale.java
6261         (getDisplayLanguage): Made it final.
6262         (getDisplayCountry): Likewise.
6263         (getDisplayVariant): Likewise.
6264         (getDisplayName): Likewise.
6265
6266 2003-06-17  Michael Koch  <konqueror@gmx.de>
6267
6268         * java/util/PropertyResourceBundle.java:
6269         Removed unneeded import.
6270
6271 2003-06-17  Michael Koch  <konqueror@gmx.de>
6272
6273         * java/util/prefs/AbstractPreferences.java,
6274         java/util/prefs/PreferencesFactory.java:
6275         Reworked imports, removed unused imports.
6276         * java/util/prefs/Preferences.java
6277         (systemNodeForPackage): Method takes a Class not an Object.
6278         (userNodeForPackage): Likewise.
6279         (nodeForPackage): Likewise.
6280
6281 2003-06-17  Michael Koch  <konqueror@gmx.de>
6282
6283         * gnu/java/security/x509/X509Certificate.java:
6284         Explicitely import used classes.
6285
6286 2003-06-17  Michael Koch  <konqueror@gmx.de>
6287
6288         * java/util/zip/ZipEntry.java,
6289         java/util/zip/ZipFile.java,
6290         java/util/zip/ZipInputStream.java,
6291         java/util/zip/ZipOutputStream.java:
6292         Reworked imports, only import used classes.
6293
6294 2003-06-17  Michael Koch  <konqueror@gmx.de>
6295
6296         * gnu/java/lang/ArrayHelper.java,
6297         gnu/java/lang/ClassHelper.java:
6298         Reformatted to match classpath's versions.
6299
6300 2003-06-14  Michael Koch  <konqueror@gmx.de>
6301
6302         * gnu/java/nio/FileChannelImpl.java
6303         (map_address): Removed incorrect comment.        
6304         * gnu/java/nio/SelectorImpl.java
6305         (register): Remove code duplication and code for file channel handling.        
6306         * gnu/java/nio/ServerSocketChannelImpl.java
6307         (serverSocket): Renamed from sock_object.
6308         (ServerSocketChannel): Initialize serverSocket.
6309         (socket): Return serverSocket.
6310         * gnu/java/nio/SocketChannelImpl.java
6311         (socket): Renamed from sock_object.
6312         (isConnectionPenging): Simplified.
6313         (socket): Return socket.
6314 2003-06-14  Michael Koch  <konqueror@gmx.de>
6315
6316         * java/security/BasicPermission.java:
6317         New version from classpath.
6318
6319 2003-06-14  Michael Koch  <konqueror@gmx.de>
6320
6321         * javax/naming/directory/Attribute.java:
6322         New version from classpath.
6323
6324 2003-06-14  Michael Koch  <konqueror@gmx.de>
6325
6326         * java/io/BufferedReader.java,
6327         java/io/FileOutputStream.java:
6328         New versions from classpath.
6329
6330 2003-06-12  Andrew Haley  <aph@redhat.com>
6331
6332         * prims.cc (catch_segv): Create exception in handler.
6333         (catch_fpe): Likewise.  
6334         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
6335         (_Jv_ThrowSignal): Remove.
6336
6337         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
6338         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
6339         to nullp and arithexception.
6340         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6341         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6342         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6343         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6344         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6345
6346 2003-06-11  Andrew Haley  <aph@redhat.com>
6347
6348         * jni.cc (_Jv_JNI_check_types): New.
6349         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
6350         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
6351         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
6352         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
6353         
6354         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
6355         infinite loop.
6356
6357 2003-06-11  Tom Tromey  <tromey@redhat.com>
6358
6359         * java/lang/ClassLoader.java (loadClass): Not deprecated.
6360         * java/io/PrintStream.java: Not deprecated.
6361
6362 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
6363
6364         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
6365         (fillOval): implemented
6366         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
6367         (fillArc): implemented.
6368         * gnu/gcj/xlib/GC.java (drawArc): added native method.
6369         (fillArc): added native method.
6370         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
6371         (fillArc): added native method.
6372
6373 2003-06-11  Michael Koch  <konqueror@gmx.de>
6374
6375         * java/awt/im/InputSubset.java:
6376         New version from classpath.
6377
6378 2003-06-11  Michael Koch  <konqueror@gmx.de>
6379
6380         * javax/swing/AbstractAction.java,
6381         javax/swing/AbstractButton.java,
6382         javax/swing/AbstractCellEditor.java,
6383         javax/swing/AbstractListModel.java,
6384         javax/swing/BorderFactory.java,
6385         javax/swing/Box.java,
6386         javax/swing/BoxLayout.java,
6387         javax/swing/ButtonGroup.java,
6388         javax/swing/DefaultButtonModel.java,
6389         javax/swing/DefaultListModel.java,
6390         javax/swing/DefaultListSelectionModel.java,
6391         javax/swing/FocusManager.java,
6392         javax/swing/ImageIcon.java,
6393         javax/swing/InputMap.java,
6394         javax/swing/JApplet.java,
6395         javax/swing/JButton.java,
6396         javax/swing/JCheckBox.java,
6397         javax/swing/JCheckBoxMenuItem.java,
6398         javax/swing/JColorChooser.java,
6399         javax/swing/JComboBox.java,
6400         javax/swing/JComponent.java,
6401         javax/swing/JDesktopPane.java,
6402         javax/swing/JDialog.java,
6403         javax/swing/JEditorPane.java,
6404         javax/swing/JFileChooser.java,
6405         javax/swing/JFormattedTextField.java,
6406         javax/swing/JFrame.java,
6407         javax/swing/JLabel.java,
6408         javax/swing/JLayeredPane.java,
6409         javax/swing/JList.java,
6410         javax/swing/JMenuBar.java,
6411         javax/swing/JMenuItem.java,
6412         javax/swing/JOptionPane.java,
6413         javax/swing/JPanel.java,
6414         javax/swing/JPasswordField.java,
6415         javax/swing/JPopupMenu.java,
6416         javax/swing/JProgressBar.java,
6417         javax/swing/JRadioButton.java,
6418         javax/swing/JRadioButtonMenuItem.java,
6419         javax/swing/JRootPane.java,
6420         javax/swing/JScrollBar.java,
6421         javax/swing/JScrollPane.java,
6422         javax/swing/JSeparator.java,
6423         javax/swing/JSlider.java,
6424         javax/swing/JTabbedPane.java,
6425         javax/swing/JTable.java,
6426         javax/swing/JTextField.java,
6427         javax/swing/JToggleButton.java,
6428         javax/swing/JToolBar.java,
6429         javax/swing/JToolTip.java,
6430         javax/swing/JTree.java,
6431         javax/swing/JViewport.java,
6432         javax/swing/JWindow.java,
6433         javax/swing/KeyStroke.java,
6434         javax/swing/ListSelectionModel.java,
6435         javax/swing/LookAndFeel.java,
6436         javax/swing/RepaintManager.java,
6437         javax/swing/ScrollPaneLayout.java,
6438         javax/swing/SizeRequirements.java,
6439         javax/swing/SwingConstants.java,
6440         javax/swing/Timer.java,
6441         javax/swing/UIDefaults.java,
6442         javax/swing/UIManager.java,
6443         javax/swing/border/AbstractBorder.java,
6444         javax/swing/border/CompoundBorder.java,
6445         javax/swing/colorchooser/AbstractColorChooserPanel.java,
6446         javax/swing/colorchooser/ColorChooserComponentFactory.java,
6447         javax/swing/colorchooser/ColorSelectionModel.java,
6448         javax/swing/colorchooser/DefaultColorSelectionModel.java,
6449         javax/swing/event/AncestorEvent.java,
6450         javax/swing/event/HyperlinkEvent.java,
6451         javax/swing/event/InternalFrameAdapter.java,
6452         javax/swing/event/InternalFrameEvent.java,
6453         javax/swing/event/ListDataEvent.java,
6454         javax/swing/event/MouseInputAdapter.java,
6455         javax/swing/event/SwingPropertyChangeSupport.java,
6456         javax/swing/event/TableModelEvent.java,
6457         javax/swing/event/TreeWillExpandListener.java,
6458         javax/swing/event/UndoableEditEvent.java,
6459         javax/swing/filechooser/FileFilter.java,
6460         javax/swing/filechooser/FileSystemView.java,
6461         javax/swing/filechooser/FileView.java,
6462         javax/swing/plaf/BorderUIResource.java,
6463         javax/swing/plaf/basic/BasicDefaults.java,
6464         javax/swing/table/AbstractTableModel.java,
6465         javax/swing/table/DefaultTableCellRenderer.java,
6466         javax/swing/table/DefaultTableColumnModel.java,
6467         javax/swing/table/DefaultTableModel.java,
6468         javax/swing/table/TableColumn.java,
6469         javax/swing/text/JTextComponent.java,
6470         javax/swing/tree/AbstractLayoutCache.java,
6471         javax/swing/tree/DefaultMutableTreeNode.java,
6472         javax/swing/tree/DefaultTreeCellEditor.java,
6473         javax/swing/tree/DefaultTreeCellRenderer.java,
6474         javax/swing/tree/DefaultTreeModel.java,
6475         javax/swing/tree/DefaultTreeSelectionModel.java,
6476         javax/swing/tree/FixedHeightLayoutCache.java,
6477         javax/swing/tree/TreeCellEditor.java,
6478         javax/swing/tree/TreeModel.java,
6479         javax/swing/tree/TreeNode.java,
6480         javax/swing/tree/TreePath.java,
6481         javax/swing/tree/TreeSelectionModel.java,
6482         javax/swing/tree/VariableHeightLayoutCache.java,
6483         javax/swing/undo/AbstractUndoableEdit.java,
6484         javax/swing/undo/CompoundEdit.java,
6485         javax/swing/undo/StateEdit.java,
6486         javax/swing/undo/UndoManager.java,
6487         javax/swing/undo/UndoableEditSupport.java:
6488         New versions from classpath.
6489         * javax/swing/table/JTableHeader.java:
6490         New file from classpath.
6491         * Makefile.am
6492         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
6493         * Makefile.in: Regenerated.
6494
6495 2003-06-11  Michael Koch  <konqueror@gmx.de>
6496
6497         * java/nio/MappedByteBuffer.java,
6498         java/nio/channels/Channels.java,
6499         java/nio/channels/ServerSocketChannel.java,
6500         java/nio/channels/spi/AbstractSelector.java:
6501         Removed unneeded imports.
6502
6503 2003-06-11  Michael Koch  <konqueror@gmx.de>
6504
6505         * java/net/DatagramSocket.java:
6506         Partly merged with classpath.
6507
6508 2003-06-11  Michael Koch  <konqueror@gmx.de>
6509
6510         * java/awt/Frame.java,
6511         java/awt/Graphics.java,
6512         java/awt/Menu.java,
6513         java/awt/Robot.java,
6514         java/awt/image/ColorModel.java:
6515         New versions from classpath.
6516
6517 2003-06-10  Michael Koch  <konqueror@gmx.de>
6518
6519         * java/io/PrintStream.java:
6520         Merged version from classpath.
6521         (close): Removed sychronized keyword. This class is not garantied to
6522         be thread-safe.
6523         (write): Likewise.
6524
6525 2003-06-09  Tom Tromey  <tromey@redhat.com>
6526
6527         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
6528         field.
6529         (getDescent): Likewise, for "descent".
6530
6531 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
6532
6533         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
6534         (getMaxDescent): adjusted return value.
6535         (getAscent): modified to use metrics for 'O'.
6536         (getDescent): modified to use metrics for 'y'.
6537
6538 2003-06-08  Anthony Green  <green@redhat.com>
6539
6540         * java/net/URLStreamHandler.java (sameFile): Fix port value
6541         comparison.
6542         * java/net/URL.java (handler): Make package private.
6543         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
6544
6545 2003-06-07  Tom Tromey  <tromey@redhat.com>
6546
6547         For PR libgcj/11085:
6548         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
6549         Limit number of characters in numeric field when required.
6550         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
6551         Respect maximumIntegerDigits.
6552
6553 2003-06-08  Michael Koch  <konqueror@gmx.de>
6554
6555         * java/net/Socket.java
6556         (Socket): Dont initialize inputShutdown and outputShutdown twice,
6557         call bind() and connect() to actually do the bind and connect tasks.
6558         (bind): Connect to canonical address if bindpoint is null, create
6559         socket and bind it to bindpoint.
6560         (connect): Check for exceptions.
6561
6562 2003-06-08  Michael Koch  <konqueror@gmx.de>
6563
6564         * java/net/DatagramSocket.java
6565         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
6566         into the Multicast constructors.
6567         * java/net/DatagramSocketImpl.java
6568         (getOption): Removed.
6569         (setOption): Removed.
6570         * java/net/MulticastSocket.java
6571         (MulticastSocket): Call setReuseAddress (true).
6572         * java/net/SocketImpl.java
6573         (getOption): Removed.
6574         (setOption): Removed.
6575
6576 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
6577
6578         PR libgcj/10886:
6579         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
6580         Test for empty vector.
6581
6582 2003-06-06  Mark Wielaard  <mark@klomp.org>
6583
6584         * java/security/Security.java (secprops): Initialize.
6585         (loadProviders): Return boolean.
6586         (static): Check result of loadProvider calls. If necessary
6587         display WARNING and fallback to Gnu provider.
6588
6589 2002-06-06  James Clark  <jjc@jclark.com>
6590
6591         Fix for PR libgcj/8738:
6592         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
6593         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
6594         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
6595         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
6596         (write): Always decrease avail when count is increased.
6597         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
6598         and whether output buffer is full before increasing size.
6599
6600 2002-06-06  Mark Wielaard  <mark@klomp dot org>
6601
6602         * java/io/PrintStream.java (writeChars(char[],int, int)):
6603         Check converter.havePendingBytes().
6604         (writeChars(String,int,int)): Likewise.
6605         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
6606         Check converter.havePendingBytes() and flush buffer when stalled.
6607
6608 2003-06-07  Michael Koch  <konqueror@gmx.de>
6609
6610         * include/posix.h
6611         (O_DSYNC): Define O_DSYNC on platforms not
6612         supporting O_FSYNC (newlib).
6613
6614 2003-06-06  Mark Wielaard  <mark@klomp.org>
6615
6616         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
6617         AWTError.
6618
6619 2003-06-06  Michael Koch  <konqueror@gmx.de>
6620
6621         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6622         More compile fixes from my stupid work yesterday.
6623
6624 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
6625
6626         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
6627         if _IEEE_LIBM is undefined.
6628
6629 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
6630
6631         * libjava/include/posix.h (O_SYNC): Define if not available
6632         and a reasonable, perhaps more conservative, replacement exists.
6633         (O_DSYNC): Likewise.
6634         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
6635
6636 2003-06-05  Michael Koch  <konqueror@gmx.de>
6637
6638         * javax/swing/plaf/BorderUIResource.java,
6639         javax/swing/plaf/basic/BasicDefaults.java,
6640         javax/swing/plaf/basic/BasicOptionPaneUI.java:
6641         More compile fixes for latest Border commit. I should not commit
6642         something in this heat here ...
6643
6644 2003-06-05  Michael Koch  <konqueror@gmx.de>
6645
6646         * javax/swing/border/BevelBorder.java
6647         (BevelBorder): Removed.
6648         * javax/swing/border/EmptyBorder.java:
6649         Reformatted.
6650         (EmptyBorder): Removed.
6651         (getBorderInsets): Dont use l, r, t and b.
6652         * javax/swing/border/EtchedBorder.java
6653         (EtchedBorder): Removed.
6654         * javax/swing/border/LineBorder.java
6655         (LineBorder): Removed.
6656         * javax/swing/border/MatteBorder.java
6657         (MatteBorder): Removed.
6658         * javax/swing/border/TitledBorder.java
6659         (defaultBorder): Use other default for now.
6660         (defaultFont): Likewise.
6661         (defaultColor): Likewise.
6662
6663 2003-06-05  Michael Koch  <konqueror@gmx.de>
6664
6665         * javax/swing/border/Border.java:
6666         New version from classpath.
6667
6668 2003-06-05  Michael Koch  <konqueror@gmx.de>
6669
6670         * javax/swing/border/AbstractBorder.java,
6671         javax/swing/border/BevelBorder.java,
6672         javax/swing/border/CompoundBorder.java,
6673         javax/swing/border/EmptyBorder.java,
6674         javax/swing/border/EtchedBorder.java,
6675         javax/swing/border/LineBorder.java,
6676         javax/swing/border/MatteBorder.java,
6677         javax/swing/border/TitledBorder.java:
6678         New versions from Classpath.
6679
6680 2003-06-05  Michael Koch  <konqueror@gmx.de>
6681
6682         * java/awt/Button.java,
6683         java/awt/Checkbox.java,
6684         java/awt/CheckboxMenuItem.java,
6685         java/awt/Choice.java,
6686         java/awt/Container.java,
6687         java/awt/Dialog.java,
6688         java/awt/EventQueue.java,
6689         java/awt/FileDialog.java,
6690         java/awt/Frame.java,
6691         java/awt/Label.java,
6692         java/awt/List.java,
6693         java/awt/Menu.java,
6694         java/awt/MenuItem.java,
6695         java/awt/Panel.java,
6696         java/awt/PopupMenu.java,
6697         java/awt/Rectangle.java,
6698         java/awt/ScrollPane.java,
6699         java/awt/Scrollbar.java,
6700         java/awt/TextArea.java,
6701         java/awt/TextField.java,
6702         java/awt/Window.java,
6703         java/awt/datatransfer/DataFlavor.java,
6704         java/awt/dnd/DragSource.java,
6705         java/awt/dnd/DragSourceContext.java,
6706         java/awt/event/HierarchyEvent.java,
6707         java/awt/event/MouseWheelEvent.java,
6708         java/awt/im/InputContext.java,
6709         java/awt/image/BufferedImage.java,
6710         java/awt/image/ComponentColorModel.java,
6711         java/awt/image/Raster.java,
6712         java/awt/image/WritableRaster.java,
6713         java/awt/peer/ComponentPeer.java,
6714         java/awt/print/PageFormat.java,
6715         java/awt/print/PrinterJob.java:
6716         New versions from Classpath.
6717
6718 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
6719
6720         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
6721         numberFormat.setParseIntegerOnly(true).
6722
6723 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
6724
6725         * include/posix-threads.h: Include <machine/pal.h> on OSF.
6726
6727 2003-06-03  Andrew Haley  <aph@redhat.com>
6728
6729         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
6730         stack volatile to prevent optimization from removing it.
6731
6732 2003-05-27  Michael Koch  <konqueror@gmx.de>
6733
6734         * java/util/zip/Deflater.java
6735         (FILTERED): Merged documentation from classpath.
6736         * java/util/zip/DeflaterOutputStream.java
6737         (DeflaterOutputStream): Merged documentation and argument validity
6738         check from classpath.
6739         (deflate): Merged documentation from classpath.
6740         (finish): Likewise.
6741         * java/util/zip/Inflater.java
6742         (Inflater): Merged class documentation from classpath.
6743         (zstream): Reordered.
6744         (is_finished): Reordered.
6745         (dict_needed): Reordered.
6746         (Inflater): Reordered, merged documentation from classpath.
6747         (end): Likewise.
6748         (finalize): Merged documentation from classpath.
6749         (finished): Likewise.
6750         (getAdler): Likewise.
6751         (getRemaining): Likewise.
6752         (getTotalIn): Likewise.
6753         (getTotalOut): Likewise.
6754         (inflate): Likewise.
6755         (needsDictionary): Likewise.
6756         (needsInput): Likewise.
6757         (reset): Likewise.
6758         (setDictionary): Likewise.
6759         (setInput): Likewise.
6760
6761 2003-05-27  Michael Koch  <konqueror@gmx.de>
6762
6763         * java/net/URLConnection.java
6764         (getHeaderFieldInt): Merged with classpath.
6765
6766 2003-05-27  Michael Koch  <konqueror@gmx.de>
6767
6768         * java/io/PrintStream.java
6769         (PrintStream): Reformatted.
6770         (PrintStream): New method, merged from classpath.
6771         (write): Reformatted.
6772
6773 2003-05-27  Michael Koch  <konqueror@gmx.de>
6774
6775         * java/lang/System.java:
6776         Explicitely import needed classes.
6777
6778 2003-05-26  Michael Koch  <konqueror@gmx.de>
6779
6780         * java/net/NetPermission.java,
6781         java/net/NetworkInterface.java,
6782         java/net/PasswordAuthentication.java,
6783         java/net/SocketPermission.java:
6784         New versions from classpath.
6785
6786 2003-05-25  Michael Koch  <konqueror@gmx.de>
6787
6788         * java/io/PushbackInputStream.java,
6789         java/net/Authenticator.java,
6790         java/net/ContentHandler.java,
6791         java/net/ContentHandlerFactory.java,
6792         java/net/DatagramSocket.java,
6793         java/net/DatagramSocketImpl.java,
6794         java/net/DatagramSocketImplFactory.java,
6795         java/net/FileNameMap.java,
6796         java/net/SocketImplFactory.java,
6797         java/net/SocketOptions.java,
6798         java/net/URLStreamHandlerFactory.java:
6799         Merged new versions from classpath.
6800
6801 2003-05-25  Michael Koch  <konqueror@gmx.de>
6802
6803         * java/awt/Checkbox.java,
6804         java/awt/Dialog.java,
6805         java/awt/Font.java,
6806         java/awt/Frame.java,
6807         java/awt/ScrollPaneAdjustable.java,
6808         java/awt/Scrollbar.java,
6809         java/awt/Window.java:
6810         New versions from classpath.
6811
6812 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
6813
6814         PR libgcj/10838:
6815         * java/io/ObjectInputStream (enableResolveObject):
6816         Fixed spelling of permission name.
6817
6818 2003-05-20  Michael Koch  <konqueror@gmx.de>
6819
6820         * java/io/DataInputStream.java
6821         (convertFromUTF): Merged comment from classpath.
6822         * java/io/PrintStream.java
6823         (error_occured): Renamed from error, merged comment from classpath.
6824         (PrintStream): No need to initialized error.
6825         (checkError): Replace error with error_occurred.
6826         (setError): Likewise.
6827
6828 2003-05-20  Michael Koch  <konqueror@gmx.de>
6829
6830         * java/io/DataInputStream.java:
6831         Reformatted, Replaced < and & with html entitites in documentation.
6832         * java/io/File.java:
6833         Reformatted.
6834         * java/io/PrintWriter.java:
6835         Moved class documentation.
6836
6837 2003-05-20  Michael Koch  <konqueror@gmx.de>
6838
6839         * gnu/java/nio/ByteBufferImpl.java,
6840         gnu/java/nio/CharBufferImpl.java,
6841         gnu/java/nio/CharViewBufferImpl.java,
6842         gnu/java/nio/DirectByteBufferImpl.java,
6843         gnu/java/nio/DoubleBufferImpl.java,
6844         gnu/java/nio/DoubleViewBufferImpl.java,
6845         gnu/java/nio/FloatBufferImpl.java,
6846         gnu/java/nio/FloatViewBufferImpl.java,
6847         gnu/java/nio/IntBufferImpl.java,
6848         gnu/java/nio/IntViewBufferImpl.java,
6849         gnu/java/nio/LongBufferImpl.java,
6850         gnu/java/nio/LongViewBufferImpl.java,
6851         gnu/java/nio/natDirectByteBufferImpl.cc,
6852         gnu/java/nio/ShortBufferImpl.java,
6853         gnu/java/nio/ShortViewBufferImpl.java:
6854         Moved files to java/nio.
6855         * gnu/java/nio/SocketChannelImpl.java
6856         
6857         * java/nio/ByteBuffer.java,
6858         java/nio/CharBuffer.java,
6859         java/nio/DoubleBuffer.java,
6860         java/nio/FloatBuffer.java,
6861         java/nio/IntBuffer.java,
6862         java/nio/LongBuffer.java,
6863         java/nio/ShortBuffer.java:
6864         Dont import anything.
6865         * java/nio/ByteBufferImpl.java,
6866         java/nio/CharBufferImpl.java,
6867         java/nio/CharViewBufferImpl.java,
6868         java/nio/DirectByteBufferImpl.java,
6869         java/nio/DoubleBufferImpl.java,
6870         java/nio/DoubleViewBufferImpl.java,
6871         java/nio/FloatBufferImpl.java,
6872         java/nio/FloatViewBufferImpl.java,
6873         java/nio/IntBufferImpl.java,
6874         java/nio/IntViewBufferImpl.java,
6875         java/nio/LongBufferImpl.java,
6876         java/nio/LongViewBufferImpl.java,
6877         java/nio/natDirectByteBufferImpl.cc,
6878         java/nio/ShortBufferImpl.java,
6879         java/nio/ShortViewBufferImpl.java:
6880         Moved from gnu/java/nio.
6881         * Makefile.am
6882         (ordinary_java_source_files): Moved files from gnu/java/nio to
6883         java/nio.
6884         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
6885         to java/nio.
6886         * Makefile.in: Regenerated.
6887
6888 2003-05-19  Michael Koch  <konqueror@gmx.de>
6889
6890         * java/util/Calendar.java
6891         (get): Not final anymore since JDK 1.4
6892         (set): Likewise.
6893
6894 2003-05-19  Michael Koch  <konqueror@gmx.de>
6895
6896         * java/text/CollationKey.java:
6897         Merged copyright and dat from classpath.
6898         * java/text/RuleBasedCollator.java:
6899         Merged class documentation from classpath.
6900
6901 2003-05-19  Michael Koch  <konqueror@gmx.de>
6902
6903         * java/nio/CharBuffer.java
6904         (toString): Compile fix.
6905
6906 2003-05-19  Michael Koch  <konqueror@gmx.de>
6907
6908         * gnu/java/nio/ByteBufferImpl.java
6909         (putLong): Fixed conversion to bytes.
6910         (putDouble): Fixed conversion to bytes.
6911         * gnu/java/nio/DirectByteBufferImpl.java
6912         (putLong): Fixed conversion to bytes.
6913         (putDouble): Fixed conversion to bytes.
6914         * gnu/java/nio/FileLockImpl.java
6915         (isValid): Reformatted.
6916         * java/nio/Buffer.java
6917         (Buffer): Fixed off-by-one bug in handling mark.
6918         * java/nio/ByteBuffer.java:
6919         Added newline.
6920         * java/nio/CharBuffer.java
6921         (toString): Don't use relative get to get string data.
6922
6923 2003-05-16  Michael Koch  <konqueror@gmx.de>
6924
6925         * java/io/natFileDescriptorPosix.cc
6926         (open): Commented out the O_SYNC and O_DSYNC usage until its better
6927         tested.
6928
6929 2003-05-14  Michael Koch  <konqueror@gmx.de>
6930
6931         * gnu/java/nio/FileLockImpl.java
6932         (released): New member variable.
6933         (FileLockImpl): Initialize released.
6934         (releaseImpl): New native method.
6935         (release): Implemented.
6936         * gnu/java/nio/SelectorImpl.java: Reformatted.
6937         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
6938         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
6939         (accept): Throws IOException.
6940         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
6941         (implConfigureBlocking): Throws IOException.
6942         (connect): Likewise.
6943         (read): Likewise.
6944         (write): Likewise.
6945         * gnu/java/nio/natFileLockImpl.cc: New file.
6946         * java/nio/channels/FileLock.java: Reformatted.
6947         * Makefile.am:
6948         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
6949         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
6950         * Makefile.in: Regenerated.
6951
6952 2003-05-13  Michael Koch  <konqueror@gmx.de>
6953
6954         * gnu/java/nio/CharViewBufferImpl.java
6955         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
6956         (get): Shift bits to the right direction.
6957         (put): Likewise.
6958         * gnu/java/nio/DoubleViewBufferImpl.java
6959         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
6960         (get): Shift bits to the right direction.
6961         (put): Likewise.
6962         * gnu/java/nio/FloatViewBufferImpl.java
6963         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
6964         (get): Shift bits to the right direction.
6965         (put): Likewise.
6966         * gnu/java/nio/IntViewBufferImpl.java
6967         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
6968         (get): Shift bits to the right direction.
6969         (put): Likewise.
6970         * gnu/java/nio/LongViewBufferImpl.java
6971         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
6972         (get): Shift bits to the right direction.
6973         (put): Likewise.
6974         * gnu/java/nio/ShortViewBufferImpl.java
6975         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
6976         (get): Shift bits to the right direction.
6977         (put): Likewise.
6978
6979 2003-05-13  Michael Koch  <konqueror@gmx.de>
6980
6981         * gnu/java/nio/natDirectByteBufferImpl.cc
6982         (allocateImpl): jlong -> RawData*.
6983         (freeImpl): Likewise.
6984
6985 2003-05-13  Michael Koch  <konqueror@gmx.de>
6986
6987         * java/nio/channels/FileChannel.java
6988         (MapMode.m): Made it package-private to match JDK 1.4.
6989         * java/nio/charset/Charset.java
6990         (decode): Made it final to match JDK 1.4.
6991
6992 2003-05-13  Michael Koch  <konqueror@gmx.de>
6993
6994        * java/io/FileDescriptor.java
6995        (SYNC): New constant.
6996        (DSYNC): Likewise.
6997        (getLength): Renamed from lenght() to match classpath's
6998        FileDescriptor.java.
6999        * java/io/RandomAccessFile.java
7000        (RandomAccessFile): Removed unneeded mode check, implemented mode
7001        "rws" and "rwd", merged documentation from classpath.
7002        (setLength): Reformatted.
7003        (length): Use new getLength() of FileDescriptor.
7004        * java/io/natFileDescriptorEcos.cc
7005        (getLength): Renamed from length().
7006        * java/io/natFileDescriptorPosix.cc
7007        (open): Implemented support for SYNC and DSYNC.
7008        (seek): Use getLength() instead of length().
7009        (getLength): Renamed from length().
7010        * java/io/natFileDescriptorWin32.cc
7011        (getLength): Renamed from length().
7012        (seek): Use getLength() instead of length().
7013        (available): Likewise.
7014        * gnu/java/nio/natFileChannelImpl.cc
7015        (size): Use getLength() instead of length().
7016
7017 2003-05-13  Michael Koch  <konqueror@gmx.de>
7018
7019         * gnu/java/nio/ByteBufferImpl.java
7020         (ByteBufferImpl): All constructors revised.
7021         (slice): Reimplemented.
7022         (duplicate): Reimplemented.
7023         (asReadOnlyBuffer): Reimplemented.
7024         * java/nio/ByteBuffer.java:
7025         Reformatted.
7026         (array_offset): Renamed from "offset" to match all other buffer
7027         classes.
7028         (ByteBuffer): All constructors revised.
7029         (allocateDirect): Implemented.
7030         (allocate): New implementation, documentation reworked.
7031         (wrap): Likewise.
7032         (get): Documentation reworked.
7033         (put): New implementation, documentation reworked.
7034         (hasArray): Documentation reworked.
7035         (arrayOffset): Likewise.
7036         (hashCode): Likewise.
7037         (equals): Likewise.
7038         (compareTo): Likewise.
7039         (order): Likewise.
7040         (compact): Likewise.
7041         (isDirect): Likewise.
7042         (slice): Likewise.
7043         (duplicate): Likewise.
7044         (asReadOnlyBuffer): Likewise.
7045         * Makefile.am
7046         (ordinary_java_source_files):
7047         Added gnu/java/nio/DirectByteBufferImpl.java.
7048         (nat_source_files):
7049         Added gnu/java/nio/natDirectByteBufferImpl.cc.
7050         * Makefile.in: Regenerated.
7051
7052 2003-05-12  Michael Koch  <konqueror@gmx.de>
7053
7054         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
7055         (nio_get_*): Removed.
7056         (nio_put_*): Removed.
7057         (as*Buffer): Implemented.
7058         (compact): Implemented.
7059         (get): Documentation added.
7060         (put): Documentation added.
7061         (get*): Newly implemented.
7062         (put*): Newly implemented.
7063         * gnu/java/nio/CharBufferImpl.java: Reformatted.
7064         (CharBufferImpl): Revised.
7065         (slice): New implementation.
7066         (duplicate): New implementation.
7067         (compact): New implementation.
7068         (asReadOnlyBuffer): New implementation.
7069         (get): Documentation revised.
7070         (order): Return native byte order.
7071         * gnu/java/nio/DirectByteBufferImpl.java
7072         (allocateDirect): objects can be null not 0.
7073         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
7074         (DoubleBufferImpl): Revised.
7075         (slice): New implementation.
7076         (duplicate): New implementation.
7077         (compact): New implementation.
7078         (asReadOnlyBuffer): New implementation.
7079         (get): Documentation revised.
7080         (order): Return native byte order.
7081         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
7082         (FloatBufferImpl): Revised.
7083         (slice): New implementation.
7084         (duplicate): New implementation.
7085         (compact): New implementation.
7086         (asReadOnlyBuffer): New implementation.
7087         (get): Documentation revised.
7088         (order): Return native byte order.
7089         * gnu/java/nio/IntBufferImpl.java: Reformatted.
7090         (IntBufferImpl): Revised.
7091         (slice): New implementation.
7092         (duplicate): New implementation.
7093         (compact): New implementation.
7094         (asReadOnlyBuffer): New implementation.
7095         (get): Documentation revised.
7096         (order): Return native byte order.
7097         * gnu/java/nio/LongBufferImpl.java: Reformatted.
7098         (LongBufferImpl): Revised.
7099         (slice): New implementation.
7100         (duplicate): New implementation.
7101         (compact): New implementation.
7102         (asReadOnlyBuffer): New implementation.
7103         (get): Documentation revised.
7104         (order): Return native byte order.
7105         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
7106         (ShortBufferImpl): Revised.
7107         (slice): New implementation.
7108         (duplicate): New implementation.
7109         (compact): New implementation.
7110         (asReadOnlyBuffer): New implementation.
7111         (get): Documentation revised.
7112         (order): Return native byte order.
7113         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
7114         (CharBuffer): Revised.
7115         (order): Removed.
7116         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
7117         (DoubleBuffer): Revised.
7118         (allocateDirect): Removed.
7119         (order): Removed.
7120         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
7121         (FloatBuffer): Revised.
7122         (allocateDirect): Removed.
7123         (order): Removed.
7124         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
7125         (IntBuffer): Revised.
7126         (allocateDirect): Removed.
7127         (order): Removed.
7128         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
7129         (LongBuffer): Revised.
7130         (allocateDirect): Removed.
7131         (order): Removed.
7132         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
7133         (ShortBuffer): Revised.
7134         (allocateDirect): Removed.
7135         (order): Removed.
7136         * gnu/java/nio/natByteBufferImpl.cc: Removed.
7137         * gnu/java/nio/natCharBufferImpl.cc: Removed.
7138         * Makefile.am
7139         (ordinary_java_source_files): Added the following files:
7140         gnu/java/nio/CharViewBufferImpl.java,
7141         gnu/java/nio/DoubleViewBufferImpl.java,
7142         gnu/java/nio/FloatViewBufferImpl.java,
7143         gnu/java/nio/IntViewBufferImpl.java,
7144         gnu/java/nio/LongViewBufferImpl.java,
7145         gnu/java/nio/ShortViewBufferImpl.java
7146         (nat_source_files): Removed the following files:
7147         gnu/java/nio/natByteBufferImpl.cc,
7148         gnu/java/nio/natCharBufferImpl.cc
7149         * Makefile.in: Regenerated.
7150
7151 2003-05-12  Michael Koch  <konqueror@gmx.de>
7152
7153         * gnu/java/nio/CharViewBufferImpl.java,
7154         gnu/java/nio/DirectByteBufferImpl.java,
7155         gnu/java/nio/DoubleViewBufferImpl.java,
7156         gnu/java/nio/FloatViewBufferImpl.java,
7157         gnu/java/nio/IntViewBufferImpl.java,
7158         gnu/java/nio/LongViewBufferImpl.java,
7159         gnu/java/nio/ShortViewBufferImpl.java,
7160         gnu/java/nio/natDirectByteBufferImpl.cc:
7161         New files, not yet to be compiled.
7162
7163 2003-05-10  Michael Koch  <konqueror@gmx.de>
7164
7165         * javax/swing/plaf/ButtonUI.java,
7166         javax/swing/plaf/ColorUIResource.java,
7167         javax/swing/plaf/ComponentUI.java,
7168         javax/swing/plaf/DimensionUIResource.java,
7169         javax/swing/plaf/FontUIResource.java,
7170         javax/swing/plaf/IconUIResource.java,
7171         javax/swing/plaf/InsetsUIResource.java,
7172         javax/swing/plaf/LabelUI.java,
7173         javax/swing/plaf/ListUI.java,
7174         javax/swing/plaf/OptionPaneUI.java,
7175         javax/swing/plaf/PanelUI.java,
7176         javax/swing/plaf/TabbedPaneUI.java,
7177         javax/swing/plaf/TextUI.java,
7178         javax/swing/plaf/TreeUI.java,
7179         javax/swing/plaf/ViewportUI.java,
7180         javax/swing/plaf/basic/BasicBorders.java,
7181         javax/swing/plaf/basic/BasicButtonUI.java,
7182         javax/swing/plaf/basic/BasicCheckBoxUI.java,
7183         javax/swing/plaf/basic/BasicDefaults.java,
7184         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7185         javax/swing/plaf/basic/BasicIconFactory.java,
7186         javax/swing/plaf/basic/BasicLabelUI.java,
7187         javax/swing/plaf/basic/BasicListUI.java,
7188         javax/swing/plaf/basic/BasicOptionPaneUI.java,
7189         javax/swing/plaf/basic/BasicPanelUI.java,
7190         javax/swing/plaf/basic/BasicRadioButtonUI.java,
7191         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7192         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7193         javax/swing/plaf/basic/BasicTextUI.java,
7194         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7195         javax/swing/plaf/basic/BasicTreeUI.java,
7196         javax/swing/plaf/basic/BasicViewportUI.java,
7197         javax/swing/plaf/metal/MetalLookAndFeel.java:
7198         New versions from classpath. This adds copyrights to all files and
7199         some serialVersionUIDs.
7200
7201 2003-05-10  Michael Koch  <konqueror@gmx.de>
7202
7203         * java/nio/CharBuffer.java
7204         (offset): Make it package-private.
7205         (backing_buffer): Likewise.
7206         * java/nio/DoubleBuffer.java
7207         (offset): Make it package-private.
7208         (backing_buffer): Likewise.
7209         (put): Reformatted.
7210         * java/nio/FloatBuffer.java
7211         (offset): Make it package-private.
7212         (backing_buffer): Likewise.
7213         * java/nio/IntBuffer.java
7214         (offset): Make it package-private.
7215         (backing_buffer): Likewise.
7216         * java/nio/LongBuffer.java
7217         (offset): Make it package-private.
7218         (backing_buffer): Likewise.
7219         * java/nio/ShortBuffer.java
7220         (offset): Make it package-private.
7221         (backing_buffer): Likewise.
7222
7223 2003-05-10  Michael Koch  <konqueror@gmx.de>
7224
7225         * java/nio/CharBuffer.java
7226         (put): Fixed precondtion check.
7227         (toString): Make it work without backing array.
7228         (put): Skip one level of method calling.
7229
7230 2003-05-10  Michael Koch  <konqueror@gmx.de>
7231
7232         * java/security/Identity.java,
7233         java/security/IdentityScope.java,
7234         java/security/Key.java,
7235         java/security/KeyPair.java,
7236         java/security/PrivateKey.java,
7237         java/security/Provider.java,
7238         java/security/PublicKey.java,
7239         java/security/SecureRandom.java,
7240         java/security/SecureRandomSpi.java,
7241         java/security/SignedObject.java,
7242         java/security/Signer.java,
7243         java/security/cert/Certificate.java,
7244         java/security/cert/PKIXCertPathBuilderResult.java,
7245         java/security/cert/X509Certificate.java:
7246         New versions from classpath.
7247
7248 2003-05-09  Tom Tromey  <tromey@redhat.com>
7249
7250         * Makefile.in: Rebuilt.
7251         * Makefile.am (nat_source_files): Removed old files.
7252         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
7253         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
7254         * gnu/java/nio/natIntBufferImpl.cc: Removed.
7255         * gnu/java/nio/natLongBufferImpl.cc: Removed.
7256         * gnu/java/nio/natShortBufferImpl.cc: Removed.
7257
7258 2003-05-09  Michael Koch  <konqueror@gmx.de>
7259
7260         * gnu/java/nio/ByteBufferImpl.java
7261         (nio_cast): Removed.
7262         (ByteBufferImpl): Removed.
7263         (nio_get_Byte): Removed.
7264         (nio_put_Byte): Removed.
7265         (asByteBuffer): Removed.
7266         (asCharBuffer): Removed implementation and throw exception.
7267         (asShortBuffer): Likewise.
7268         (asIntBuffer): Likewise.
7269         (asLongBuffer): Likewise.
7270         (asFloatBuffer): Likewise.
7271         (asDoubleBuffer): Likewise.
7272         * gnu/java/nio/CharBufferImpl.java
7273         (CharBufferImpl): Removed.
7274         (nio_get_Byte): Removed.
7275         (nio_put_Byte): Removed.
7276         (asByteBuffer): Removed.
7277         * gnu/java/nio/DoubleBufferImpl.java
7278         (DoubleBufferImpl): Removed.
7279         (nio_get_Byte): Removed.
7280         (nio_put_Byte): Removed.
7281         (asByteBuffer): Removed.
7282         * gnu/java/nio/FloatBufferImpl.java
7283         (FloatBufferImpl): Removed.
7284         (nio_get_Byte): Removed.
7285         (nio_put_Byte): Removed.
7286         (asByteBuffer): Removed.
7287         * gnu/java/nio/IntBufferImpl.java
7288         (IntBufferImpl): Removed.
7289         (nio_get_Byte): Removed.
7290         (nio_put_Byte): Removed.
7291         (asByteBuffer): Removed.
7292         * gnu/java/nio/LongBufferImpl.java
7293         (LongBufferImpl): Removed.
7294         (nio_get_Byte): Removed.
7295         (nio_put_Byte): Removed.
7296         (asByteBuffer): Removed.
7297         * gnu/java/nio/ShortBufferImpl.java
7298         (ShortBufferImpl): Removed.
7299         (nio_get_Byte): Removed.
7300         (nio_put_Byte): Removed.
7301         (asByteBuffer): Removed.
7302         * gnu/java/nio/natByteBufferImpl.cc
7303         (nio_cast): Removed.
7304         (nio_get_Byte): Removed.
7305         (nio_put_Byte): Removed.
7306         * gnu/java/nio/natCharBufferImpl.cc
7307         (nio_get_Byte): Removed.
7308         (nio_put_Byte): Removed.
7309
7310 2003-05-09  Michael Koch  <konqueror@gmx.de>
7311
7312         * java/net/JarURLConnection.java
7313         (getJarEntry): Merged documentation from classpath.
7314         (getJarFile): Likewise.
7315         (getMainAttributes): Likewise.
7316         (getAttributes): Likewise.
7317         (getManifest): Likewise.
7318         (getCertificates): Reformatted.
7319         * java/net/URLConnection.java:
7320         Little classpath merge.
7321
7322 2003-05-09  Michael Koch  <konqueror@gmx.de>
7323
7324         * java/io/DataOutputStream.java
7325         (writeShort): Made it synchronized.
7326         (writeChar): Likewise.
7327         (writeInt): Likewise.
7328         (writeLong): Liekwise.
7329         (writeUTF): Made it synchronized, renamed argument to match classpath.
7330         * java/io/InputStreamReader.java
7331         (converter): Added documentation.
7332         (read): Merged documentation from classpath.
7333         * java/io/OutputStreamWriter.java
7334         (OutputStreamWriter): Merged documentation from classpath.
7335         (close): Reformatted.
7336         (getEncoding): Likewise.
7337         (flush): Likewise.
7338         (write): Merged documentation from classpath, reformatted.
7339
7340 2003-05-08  Tom Tromey  <tromey@redhat.com>
7341
7342         * configure.host <powerpc64*-*>: Set with_libffi_default and
7343         libgcj_interpreter to "yes".
7344
7345 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
7346
7347         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
7348         
7349 2003-05-06  Tom Tromey  <tromey@redhat.com>
7350
7351         * verify.cc: Reverted previous patch.
7352
7353 2003-05-06  Michael Koch  <konqueror@gmx.de>
7354
7355         * java/io/DataOutputStream.java
7356         (write): Renamed argument to "value", merged documentation from
7357         classpath.
7358         (writeBoolean): Likewise.
7359         (writeByte): Likewise.
7360         (writeShort): Likewise.
7361         (writeChar): Likewise.
7362         (writeInt): Likewise.
7363         (writeLong): Likewise.
7364         (writeFloat): Likewise.
7365         (writeDouble): Likewise.
7366         (writeBytes): Likewise.
7367         (writeChars): Likewise.
7368         (writeUTF): Likewise.
7369         * java/io/File.java
7370         (performDelete): Added documentation.
7371         (performList): Likewise.
7372         (performMkdir): Likewise.
7373         (performSetReadOnly): Likewise.
7374         (performRenameTo): Likewise.
7375         (performSetLastModified): Likewise.
7376         (delete): Made it sychronized.
7377         (renameTo): Made it sychronized.
7378         (equals): Reformatted.
7379         (isHidden): Likewise.
7380         (listFiles): Likewise.
7381         (setReadOnly): Likewise.
7382         (listRoots): Likewise.
7383         (setLastModified): Likewise.
7384         (checkRead): Likewise.
7385         (checkWrite): Likewise.
7386         * java/io/FileInputStream.java
7387         (skip): Made it sychronized, merged from classpath.
7388         * java/io/FileOutputStream.java
7389         (write): Merged from classpath.
7390         * java/io/InputStreamReader.java:
7391         (InputStreamReader): Merged documentation from classpath.
7392
7393 2003-05-05  Michael Koch  <konqueror@gmx.de>
7394
7395         * java/net/NetworkInterface.java
7396         (networkInterfaces): Removed.
7397         (getByName): Use getRealNetworkInterfaces() instead of
7398         networkInterfaces.
7399         (getByInetAddress): Likewise.
7400         (getNetworkInterfaces): Likewise.
7401         (toString): Fix output of addresses of an interface.
7402
7403 2003-05-05  Michael Koch  <konqueror@gmx.de>
7404
7405         * java/io/DataInputStream.java:
7406         Merged new documentation from classpath.
7407
7408 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
7409
7410         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
7411         "version".
7412         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
7413         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
7414         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
7415         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
7416         * gnu/awt/gtk/GtkMainThread.java: Likewise.
7417         * gnu/awt/gtk/GtkToolkit.java: Likewise.
7418         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
7419         * java/security/Key.java: Likewise.
7420         * java/security/PrivateKey.java: Likewise.
7421         * java/security/Provider.java: Likewise.
7422         * java/security/PublicKey.java: Likewise.
7423
7424 2003-05-02  Michael Koch  <konqueror@gmx.de>
7425
7426         * java/net/URI.java
7427         (create): Doesnt throws any exceptions.
7428         * java/net/URLConnection.java
7429         (URLConnection): Commend added.
7430         (getExpiration): The header field is called "expires" not
7431         "expiration".
7432         (getHeaderField): Merged documentation with classpath.
7433         (getHeaderFieldInt): Likewise.
7434         (getHeaderFieldDate): Likewise.
7435         (getHeaderFieldKey): Likewise.
7436         (getPermission): Likewise.
7437         (setDefaultUseCaches): Likewise.
7438         (setRequestProperty): Likewise.
7439         (addRequestProperty): Likewise.
7440         (getRequestProperty): Likewise.
7441         (getRequestProperties): Likewise.
7442         (setDefaultRequestProperty): Likewise.
7443         (getDefaultRequestProperty): Likewise.
7444         (guessContentTypeFromStream): Likewise.
7445         (getFileNameMap): Likewise.
7446         (setFileNameMap): Likewise.
7447         (setDoInput): Merged implementation and documentation with classpath.
7448         (setDoOutput): Likewise.
7449         (setAllowUserInteraction): Likewise.
7450         (setDefaultAllowUserInteraction): Likewise.
7451         (setContentHandlerFactory): Made it synchronized, merged documentation
7452         with classpath.
7453         (guessContentTypeFromName): Renamed argument fname to filename to
7454         match classpath, merged documentation with classpath.
7455
7456 2003-05-02  Michael Koch  <konqueror@gmx.de>
7457
7458         * java/net/JarURLConnection.java
7459         (JarURLConnection): Class documentation merged with classpath.
7460         (getJarFileURL): Moved and documentation merged with classpath.
7461         (getEntryName): Likewise.
7462         (JarURLConnection): Documentation merged with classpath.
7463         (getJarEntry): Likewise.
7464         (getJarFile): Likewise.
7465         * java/net/PlainDatagramSocketImpl.java:
7466         Class documentation moved.
7467         * java/net/URLConnection.java
7468         (fileNameMap): Moved and documentation merged with classpath.
7469         (factory): Likewise.
7470         (defaultAllowUserInteraction): Likewis.
7471         (defaultUseCaches): Likewise.
7472         (allowUserInteraction): Likewise.
7473         (connected): Likewise.
7474         (url): Likewise.
7475         (connect): Documentation merged with classpath.
7476         (getURL): Likewise.
7477         (getContentLength): Likewise.
7478         (getContentType): Likewise.
7479         (getContentEncoding): Likewise.
7480         (getExpiration): Likewise.
7481         (getDate): Likewise.
7482         (getLastModified): Likewise.
7483         (getHeaderField): Likewise.
7484         (getContent): Likewise.
7485         (getPermission): Likewise.
7486         (getInputStream): Likewise.
7487         (getOutputStream): Likewise.
7488         (toString): Likewise.
7489         (getDoInput): Likewise.
7490         (getDoOutput): Likewise.
7491         (setAllowUserInteraction): Likewise.
7492         (getAllowUserInteraction): Likewise.
7493         (setDefaultAllowUserInteraction): Likewise.
7494         (getDefaultAllowUserInteraction): Likewise.
7495         (setUseCaches): Likewise.
7496         (getUseCaches): Likewise.
7497         (setIfModifiedSince): Likewise.
7498         (getIfModifiedSince): Likewise.
7499         (setDefaultRequestProperty): Likewise.
7500         (getDefaultRequestProperty): Likewise.
7501         (setContentHandlerFactory): Likewise.
7502         (setFileNameMap): Likewise.
7503
7504 2003-05-02  Michael Koch  <konqueror@gmx.de>
7505
7506         * java/net/InetAddress.java:
7507         Merged class documentation with classpath.
7508         * java/net/JarURLConnection.java:
7509         Explicitely import all used classes.
7510         * java/net/URL.java:
7511         Reformatting.
7512         * java/net/ServerSocket.java,
7513         java/net/Socket.java:
7514         New versions from classpath.
7515
7516 2003-05-02  Michael Koch  <konqueror@gmx.de>
7517
7518         * gnu/java/nio/FileChannelImpl.java
7519         (read): New implementation.
7520         (implRead): New methods.
7521         (write): New implementation, call other write insteal of read method.
7522         (implWrite): New methods.
7523         (map): Added comment.
7524         (transferFrom): Implemented.
7525         (transferTo): Implemented.
7526         (lock): Added checks to throw exceptions.
7527         (truncate): Added check to throw exception.
7528         * gnu/java/nio/natFileChannelImpl.cc
7529         (implRead): New method.
7530         (implWrite): New method.
7531         * java/nio/ByteBuffer.java
7532         (hashCode): Fixed comment.
7533         (get): Fixed exception documentation.
7534         (put): Fixed exception documentation.
7535         * java/nio/CharBuffer.java:
7536         Added comment for later optimizations.
7537
7538 2003-04-30  Tom Tromey  <tromey@redhat.com>
7539
7540         PR libgcj/10582:
7541         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
7542         Removed.
7543         (type::compatible): Use _Jv_IsAssignableFrom.
7544         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
7545         (_Jv_IsAssignableFrom): Work even when source or target class is
7546         not prepared.
7547
7548 2003-04-30  Michael Koch  <konqueror@gmx.de>
7549
7550         * java/text/BreakIterator.java
7551         (clone): New method.
7552
7553 2003-04-30  Michael Koch  <konqueror@gmx.de>
7554
7555         * java/text/CollationElementIterator.java,
7556         java/text/CollationKey.java,
7557         java/text/RuleBasedCollator.java:
7558         Merged copyright and documentation from classpath and
7559         rearranged some code. No code changes done.
7560
7561 2003-04-30  Michael Koch  <konqueror@gmx.de>
7562
7563         * java/util/regex/Matcher.java
7564         (pattern): New member variable.
7565         (appendReplacement): New method.
7566         (appendTail): New method.
7567         (end): New method.
7568         (find): New method.
7569         (group): New method.
7570         (replaceFirst): Added documentation.
7571         (replaceAll): Added documentation.
7572         (groupCount): New method.
7573         (lookingAt): New method.
7574         (matches): New method.
7575         (reset): New method.
7576         (start): New method.
7577         * java/util/regex/Pattern.java
7578         (serialVersionUID): New constant.
7579         (CANON_EQ): New constant.
7580         (CASE_INSENSITIVE): New constant.
7581         (COMMENTS): New constant.
7582         (DOTALL): New constant.
7583         (MULTILINE): New constant.
7584         (UNICODE_CASE): New constant.
7585         (UNIX_LINES): New constant.
7586         (regex): New member variable.
7587         (flags): New member variable.
7588         (Pattern): New method.
7589         (compile): Documentation added.
7590         (flags): New method.
7591         (matches): Documentation added.
7592         (matcher): Documentation added.
7593         (split): Documentation added.
7594         (pattern): New method.
7595
7596 2003-04-30  Michael Koch  <konqueror@gmx.de>
7597
7598         * gnu/java/security/Engine.java,
7599         gnu/java/security/OID.java,
7600         gnu/java/security/der/BitString.java,
7601         gnu/java/security/der/DER.java,
7602         gnu/java/security/der/DERReader.java,
7603         gnu/java/security/der/DERValue.java,
7604         gnu/java/security/der/DERWriter.java,
7605         gnu/java/security/provider/DSAKeyFactory.java,
7606         gnu/java/security/provider/X509CertificateFactory.java,
7607         gnu/java/security/x509/X500DistinguishedName.java,
7608         gnu/java/security/x509/X509CRL.java,
7609         gnu/java/security/x509/X509CRLEntry.java,
7610         gnu/java/security/x509/X509Certificate.java,
7611         java/security/cert/CRLSelector.java,
7612         java/security/cert/CertPathBuilder.java,
7613         java/security/cert/CertPathBuilderResult.java,
7614         java/security/cert/CertPathBuilderSpi.java,
7615         java/security/cert/CertPathParameters.java,
7616         java/security/cert/CertPathValidator.java,
7617         java/security/cert/CertPathValidatorResult.java,
7618         java/security/cert/CertPathValidatorSpi.java,
7619         java/security/cert/CertSelector.java,
7620         java/security/cert/CertStore.java,
7621         java/security/cert/CertStoreParameters.java,
7622         java/security/cert/CertStoreSpi.java,
7623         java/security/cert/CollectionCertStoreParameters.java,
7624         java/security/cert/LDAPCertStoreParameters.java,
7625         java/security/cert/PKIXBuilderParameters.java,
7626         java/security/cert/PKIXCertPathBuilderResult.java,
7627         java/security/cert/PKIXCertPathChecker.java,
7628         java/security/cert/PKIXCertPathValidatorResult.java,
7629         java/security/cert/PKIXParameters.java,
7630         java/security/cert/PolicyNode.java,
7631         java/security/cert/PolicyQualifierInfo.java,
7632         java/security/cert/TrustAnchor.java,
7633         javax/security/auth/x500/X500Principal.java:
7634         New files from classpath.
7635         * gnu/java/io/ASN1ParsingException.java,
7636         gnu/java/io/Base64InputStream.java,
7637         gnu/java/security/der/DEREncodingException.java,
7638         gnu/java/security/provider/DSAParameters.java,
7639         gnu/java/security/provider/DSASignature.java,
7640         gnu/java/security/provider/Gnu.java,
7641         gnu/java/security/provider/GnuDSAPrivateKey.java,
7642         gnu/java/security/provider/GnuDSAPublicKey.java,
7643         java/security/AlgorithmParameterGenerator.java,
7644         java/security/AlgorithmParameters.java,
7645         java/security/KeyFactory.java,
7646         java/security/KeyPairGenerator.java,
7647         java/security/KeyStore.java,
7648         java/security/MessageDigest.java,
7649         java/security/SecureClassLoader.java,
7650         java/security/SecureRandom.java,
7651         java/security/Security.java,
7652         java/security/Signature.java,
7653         java/security/cert/Certificate.java,
7654         java/security/cert/CertificateFactory.java,
7655         java/security/cert/CertificateFactorySpi.java,
7656         java/security/cert/X509CRL.java,
7657         java/security/cert/X509Certificate.java,
7658         java/security/spec/DSAPublicKeySpec.java:
7659         New versions from classpath.
7660         * gnu/java/security/provider/DERReader.java,
7661         gnu/java/security/provider/DERWriter.java,
7662         java/security/Engine.java: Removed.
7663         * Makefile.am
7664         (java_source_files, javax_source_files): Added new files.
7665         * Makefile.in: Regenerated.
7666
7667 2003-04-29  Michael Koch  <konqueror@gmx.de>
7668
7669         * javax/swing/JTable.java
7670         (AUTO_RESIZE_ALL_COLUMNS): New constant.
7671         (AUTO_RESIZE_LAST_COLUMN): New constant.
7672         (AUTO_RESIZE_NEXT_COLUMN): New constant.
7673         (AUTO_RESIZE_OFF): New constant.
7674         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
7675         (JTable): New method.
7676         (columnAdded): New method.
7677         (columnMarginChanged): New method.
7678         (columnMoved): New method.
7679         (columnRemoved): New method.
7680         (columnSelectionChanged): New method.
7681         (editingCanceled): New method.
7682         (editingStopped): New method.
7683         (getColumnModel): New method.
7684         (getPreferredScrollableViewportSize): New method.
7685         (getScrollableBlockIncrement): New method.
7686         (getScrollableTracksViewportHeight): New method.
7687         (getScrollableTracksViewportWidth): New method.
7688         (getScrollableUnitIncrement): New method.
7689         (getSelectedRow): New method.
7690         (getSelectionModel): New method.
7691         (tableChanged): New method.
7692         (setModel): New method.
7693         (setSelectionMode): New method.
7694         (setSelectionModel): New method.
7695         (setShowGrid): New method.
7696         (valueChanged): New method.
7697         * javax/swing/text/DefaultEditorKit.java
7698         (backwardAction): New constant.
7699         (beepAction): New constant.
7700         (beginAction): New constant.
7701         (beginLineAction): New constant.
7702         (beginParagraphAction): New constant.
7703         (beginWordAction): New constant.
7704         (copyAction): New constant.
7705         (cutAction): New constant.
7706         (defaultKeyTypedAction): New constant.
7707         (deleteNextCharAction): New constant.
7708         (deletePrevCharAction): New constant.
7709         (downAction): New constant.
7710         (endAction): New constant.
7711         (endLineAction): New constant.
7712         (endOfLineStringProperty): New constant.
7713         (endParagraphAction): New constant.
7714         (endWordAction): New constant.
7715         (forwardAction): New constant.
7716         (insertBreakAction): New constant.
7717         (insertContentAction): New constant.
7718         (insertTabAction): New constant.
7719         (nextWordAction): New constant.
7720         (pageDownAction): New constant.
7721         (pageUpAction): New constant.
7722         (pasteAction): New constant.
7723         (previousWordAction): New constant.
7724         (readOnlyAction): New constant.
7725         (selectAllAction): New constant.
7726         (selectionBackwardAction): New constant.
7727         (selectionBeginAction): New constant.
7728         (selectionBeginLineAction): New constant.
7729         (selectionBeginParagraphAction): New constant.
7730         (selectionBeginWordAction): New constant.
7731         (selectionDownAction): New constant.
7732         (selectionEndAction): New constant.
7733         (selectionEndLineAction): New constant.
7734         (selectionEndParagraphAction): New constant.
7735         (selectionEndWordAction): New constant.
7736         (selectionForwardAction): New constant.
7737         (selectionNextWordAction): New constant.
7738         (selectionPreviousWordAction): New constant.
7739         (selectionUpAction): New constant.
7740         (selectLineAction): New constant.
7741         (selectParagraphAction): New constant.
7742         (selectWordAction): New constant.
7743         (upAction): New constant.
7744         (writableAction): New constant.
7745
7746 2003-04-29  Michael Koch  <konqueror@gmx.de>
7747
7748         * java/util/PropertyPermission.java:
7749         New version from classpath
7750         * java/util/ResourceBundle.java:
7751         Partly merged from classpath
7752         (getObject): Reformated.
7753         (tryBundle): Set foundBundle = null if no bundle found.
7754
7755 2003-04-29  Michael Koch  <konqueror@gmx.de>
7756
7757         * javax/swing/AbstractListModel.java,
7758         javax/swing/DefaultBoundedRangeModel.java,
7759         javax/swing/DefaultSingleSelectionModel.java:
7760         New Versions from classpath.
7761
7762 2003-04-29  Michael Koch  <konqueror@gmx.de>
7763
7764         * java/awt/Window.java
7765         (show): Call super.show() instead of setVisible() to avoid endless
7766         loop.
7767         (hide): Call super.hide() instead of setVisible() to avoid endless
7768         loop.
7769
7770 2003-04-29  Michael Koch  <konqueror@gmx.de>
7771
7772         * java/util/zip/Deflater.java,
7773         java/util/zip/DeflaterOutputStream.java:
7774         Partly merged with classpath.
7775
7776 2003-04-27  Tom Tromey  <tromey@redhat.com>
7777
7778         * java/lang/natString.cc (_Jv_AllocString): Initialize
7779         cachedHashCode.
7780         (init): Likewise.
7781         (_Jv_NewStringUtf8Const): Likewise.
7782
7783 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
7784
7785         * include/jvm.h: (_Jv_GetNbArgs) added
7786         (_Jv_GetSafeArg) added
7787         (_Jv_SetArgs) added
7788         * prims.cc: (_Jv_GetNbArgs) implemented
7789         (_Jv_GetSafeArg) implemented
7790         (_Jv_SetArgs) implemented
7791         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
7792         setting _Jv_argc and _Jv_argv
7793         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
7794         instead of _Jv_argv
7795         * java/lang/natRuntime.cc: (insertSystemProperties) use
7796         _Jv_GetSafeArg() instead of _Jv_argv
7797
7798 2003-04-23  Tom Tromey  <tromey@redhat.com>
7799
7800         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
7801         required by this object.  Search superclasses to find required
7802         alignment.
7803         (get_alignment_from_class): Use alignment of type as it appears
7804         in a struct.
7805         (ALIGNOF): New macro.
7806         (struct aligner): New helper structure.
7807
7808 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
7809
7810         * java/awt/Container.java (addImpl): Enable paint events if adding
7811         a lightweight to a heavyweight.
7812         (addNotify): Ensure that peer is created before
7813         addNotifyContainerChildren.
7814         (addNotifyContainerChildren): Enable paint events if a heavyweight
7815         container contains a lightweight.
7816
7817 2003-04-20  Tom Tromey  <tromey@redhat.com>
7818
7819         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
7820         java/io/DataInput.java, java/io/DataOutput.java: Imports from
7821         Classpath.
7822
7823 2003-04-19  Tom Tromey  <tromey@redhat.com>
7824
7825         * java/sql/Date.java, java/sql/DriverManager.java,
7826         java/sql/Time.java, java/sql/Timestamp.java: New versions from
7827         Classpath.
7828
7829         * Makefile.in: Rebuilt.
7830         * Makefile.am (ordinary_java_source_files): Added new files.
7831         * java/security/AlgorithmParameterGenerator.java,
7832         java/security/AlgorithmParameters.java, java/security/Engine.java,
7833         java/security/Identity.java, java/security/IdentityScope.java,
7834         java/security/KeyFactory.java,
7835         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
7836         java/security/MessageDigest.java, java/security/Policy.java,
7837         java/security/ProtectionDomain.java,
7838         java/security/SecureRandom.java, java/security/Security.java,
7839         java/security/Signature.java, java/security/SignatureSpi.java,
7840         java/security/SignedObject.java, java/security/Signer.java,
7841         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
7842         java/security/spec/PSSParameterSpec.java,
7843         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
7844         java/security/spec/RSAOtherPrimeInfo.java: New versions from
7845         Classpath.
7846
7847 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7848
7849         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
7850         (dispose): Null metrics.
7851         * gnu/awt/xlib/XToolkit.java (sync): Implement.
7852         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
7853         finalize.
7854         (finalize): Call dispose.
7855         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
7856         (gcCachedCount): New field.
7857         (finalize): New method.
7858         (putGCInCache): New method.
7859         (getGCFromCache): New method.
7860         * gnu/gcj/xlib/GC.java (GC): Make protected.
7861         (clone): Get new GC from cache if possible.
7862         (create): New static method.
7863         (dispose): Save old GC in cache.
7864         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
7865         deleting.
7866         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
7867         is null.
7868         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
7869         * java/awt/Container.java (visitChild): Dispose gfx2 when
7870         finished.
7871
7872 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
7873
7874         * java/math/BigInteger.java (probablePrime): New.
7875         * java/math/BigDecimal.java (unscaledValue): New.
7876
7877 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
7878
7879         * java/io/File.java (getAbsolutePath): On Windows, take care
7880         of paths like "C:", "G:foo\bar", etc.
7881         (getName): Make it work correctly on Windows.
7882         (getParent): Make it work correctly on Windows. For UNIX,
7883         fix bug that causes "/" to be returned as the parent of "/",
7884         instead of null as returned by Sun's JRE.
7885
7886         * java/io/natFileWin32.cc: Change copyright owner to FSF.
7887
7888 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7889
7890         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
7891         inner class.
7892         (CACHE_SIZE_PER_DISPLAY): New field
7893         (fontMetricsCache): New field
7894         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
7895         loading ISO10646-1 fonts.
7896
7897 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7898
7899         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
7900         characters.
7901         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
7902         characters.
7903
7904 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
7905
7906         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
7907         floating point.
7908
7909 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
7910
7911         * configure.host (*-linux*): Don't set slow_pthread_self if primary
7912         installed libpthread is either linuxthreads with floating stacks or
7913         NPTL.
7914
7915 2003-04-14  Tom Tromey  <tromey@redhat.com>
7916
7917         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
7918         of alignment.
7919
7920 2003-04-10  Tom Tromey  <tromey@redhat.com>
7921
7922         * verify.cc (pop64): Removed.
7923         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
7924         exception if top-of-stack is narrow.
7925         (initialize_stack): Check to ensure that <init> is not static and
7926         <clinit> is.
7927
7928 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
7929
7930         * java/io/ObjectStreamException
7931         * java/io/FileFilter
7932         * java/io/FilenameFilter
7933         * java/io/ObjectInput
7934         * java/io/ObjectOutput
7935         * java/io/ObjectStreamConstants
7936         Minor doc fixes, format fixes, spelling corrections, etc.
7937         * java/io/DataInput
7938         Corrected code samples in Javadocs to match reality
7939         * java/io/DataOutput
7940         * java/io/ObjectInputValidation
7941         Major documentation fixes - all Javadocs re-written or updated
7942
7943 2003-04-06  Michael Koch  <konqueror@gmx.de>
7944
7945         * java/net/URLConnection.java:
7946         Import classes directly.
7947         (URLConnection): Merged class documentation with classpath.
7948         (url): Moved, documentation from classpath added.
7949         (doInput): Moved, documentation from classpath added.
7950         (doOutput): Moved, documentation from classpath added.
7951         (allowUserInteraction): Moved.
7952         (useCaches): Moved, documentation from classpath added.
7953         (ifModifiedSince): Moved, documentation from classpath added.
7954         (connected): Moved, documentation from classpath added.
7955
7956 2003-04-06  Michael Koch  <konqueror@gmx.de>
7957
7958         * java/io/FileInputStream.java
7959         (skip): Renamed some variables to match classpath, added
7960         checks from classpath.
7961
7962 2003-03-31  Michael Koch  <konqueror@gmx.de>
7963
7964         * javax/swing/AbstractAction.java
7965         (AbstractAction): Reformatted.
7966         (serialVersionUID): New private member variable.
7967         * javax/swing/plaf/BorderUIResource.java
7968         (serialVersionUID): New private member variable.
7969         * javax/swing/plaf/basic/BasicLookAndFeel.java
7970         (serialVersionUID): New private member variable.
7971
7972 2003-03-31  Michael Koch  <konqueror@gmx.de>
7973
7974         * java/sql/Date.java
7975         (valueOf): Deprecated, reformatted.
7976         (toString): Deprecated, reformatted.
7977         * java/sql/Time.java
7978         (valueOf): Deprecated, reformatted.
7979         (toString): Deprecated, reformatted.
7980
7981 2003-03-31  Michael Koch  <konqueror@gmx.de>
7982
7983         * java/rmi/dgc/VMID.java
7984         (isUnique): Deprecated.
7985
7986 2003-03-31  Michael Koch  <konqueror@gmx.de>
7987
7988         * java/io/File.java
7989         (separator): Merged documentation from classpath.
7990         (separatorChar): Merged documentation from classpath.
7991         (pathSeparator): Merged documentation from classpath.
7992         (pathSeparatorChar): Merged documentation from classpath.
7993         (path): Merged documentation from classpath.
7994         (canRead): Merged documentation from classpath.
7995         (canWrite): Merged documentation from classpath.
7996         (createNewFile): Merged documentation from classpath.
7997         (delete): Merged documentation from classpath.
7998         (equals): Merged documentation from classpath.
7999         (exists): Merged documentation from classpath.
8000         (File): Renamed p to name to match classpath, merged documentation
8001         from classpath.
8002         (getAbsolutePath): Merged documentation from classpath.
8003         (getCanonicalPath): Merged documentation from classpath.
8004         (getCanonicalFile): Merged documentation from classpath.
8005         (getName): Merged documentation from classpath.
8006         (getParent): Merged documentation from classpath.
8007         (getParentFile): Merged documentation from classpath.
8008         (getPath): Merged documentation from classpath.
8009         (hashCode): Merged documentation from classpath.
8010         (isAbsolute): Merged documentation from classpath.
8011         (isDirectory): Merged documentation from classpath.
8012         (isFile): Merged documentation from classpath.
8013         (isHidden): Merged documentation from classpath.
8014         (lastModified): Merged documentation from classpath.
8015         (length): Merged documentation from classpath.
8016         (list): Merged documentation from classpath.
8017         (listFiles): Merged documentation from classpath.
8018         (toString): Merged documentation from classpath.
8019         (toURL): Merged documentation from classpath.
8020         (mkdir): Merged documentation from classpath.
8021         (mkdirs): Merged documentation from classpath.
8022         (createTempFile): Merged documentation from classpath.
8023         (setReadOnly): Merged documentation from classpath.
8024         (listRoots): Merged documentation from classpath.
8025         (compareTo): Merged documentation from classpath.
8026         (renameTo): Merged documentation from classpath.
8027         (setLastModified): Merged documentation from classpath.
8028         * java/io/PrintStream.java
8029         (auto_flush): Merged documentation from classpath.
8030         (PrintStream): Merged documentation from classpath.
8031         (checkError): Merged documentation from classpath.
8032         (setError): Merged documentation from classpath.
8033         (close): Merged documentation from classpath.
8034         (flush): Merged documentation from classpath.
8035         (print): Merged documentation from classpath.
8036         (println):  Merged documentation from classpath.
8037         (write): Renamed count to len to match classpath,
8038         merged documentation from classpath.
8039         * java/io/RandomAccessFile.java
8040         (readShort): Merged documentation from classpath.
8041         (readUnsignedByte): Merged documentation from classpath.
8042         (readUnsignedShort): Merged documentation from classpath.
8043         (readUTF): Merged documentation from classpath.
8044         (seek): Reformatted, merged documentation from classpath.
8045         (skipBytes): Renamed some variables to match classpath, reformatted,
8046         merged documentation from classpath.
8047         (write): Merged documentation from classpath.
8048         (writeBoolean): Merged documentation from classpath.
8049         (writeByte): Merged documentation from classpath.
8050         (writeShort): Merged documentation from classpath.
8051         (writeChar): Merged documentation from classpath.
8052         (writeInt): Merged documentation from classpath.
8053         (writeLong): Merged documentation from classpath.
8054         (writeFloat): Merged documentation from classpath.
8055         (writeDouble): Merged documentation from classpath.
8056         (writeBytes): Merged documentation from classpath.
8057         (writeChars): Merged documentation from classpath.
8058         (writeUTF): Reformatted.
8059         (getChannel): Reformatted.
8060
8061 2003-03-31  Michael Koch  <konqueror@gmx.de>
8062
8063         * java/awt/font/TextAttribute.java
8064         (readResolve): Throws java.io.InvalidObjectException.
8065
8066 2003-03-31  Michael Koch  <konqueror@gmx.de>
8067
8068         * java/rmi/server/LoaderHandler.java
8069         (loadClass): Deprecated.
8070         (getSecurityContext): Deprecated.
8071         * java/rmi/server/LogStream.java
8072         (getDefaultStream): Deprecated.
8073         (setDefaultStream): Deprecated.
8074         (getOutputStream): Deprecated.
8075         (setOutputStream): Deprecated.
8076         (write): Deprecated.
8077         (toString): Deprecated.
8078         (parseLevel): Deprecated.
8079         * java/rmi/server/Operation.java
8080         (Operation): Deprecated.
8081         (getOperation): Deprecated.
8082         (toString): Deprecated.
8083         * java/rmi/server/RemoteCall.java
8084         (getOutputStream): Deprecated.
8085         (releaseOutputStream): Deprecated.
8086         (getInputStream): Deprecated.
8087         (releaseInputStream): Deprecated.
8088         (getResultStream): Deprecated.
8089         (executeCall): Deprecated.
8090         (done): Deprecated.
8091         * java/rmi/server/RemoteRef.java
8092         (invoke): Deprecated.
8093         (newCall): Deprecated.
8094         (done): Deprecated.
8095         * java/rmi/server/RemoteStub.java
8096         (setRef): Deprecated.
8097         * java/rmi/server/Skeleton.java:
8098         No need to import java.lang.Exception explicitly.
8099         (dispatch): Deprecated.
8100         (getOperations): Deprecated.
8101
8102 2003-03-31  Michael Koch  <konqueror@gmx.de>
8103
8104         * java/rmi/dgc/VMID.java,
8105         java/rmi/registry/RegistryHandler.java,
8106         java/rmi/server/LogStream.java,
8107         java/rmi/server/Operation.java,
8108         java/rmi/server/RemoteCall.java,
8109         java/rmi/server/RemoteRef.java,
8110         java/rmi/server/RemoteStub.java:
8111         Reformatted.
8112
8113 2003-03-31  Michael Koch  <konqueror@gmx.de>
8114
8115         * javax/swing/AbstractCellEditor.java,
8116         javax/swing/AbstractListModel.java,
8117         javax/swing/ActionMap.java,
8118         javax/swing/BorderFactory.java,
8119         javax/swing/ButtonGroup.java,
8120         javax/swing/DefaultBoundedRangeModel.java,
8121         javax/swing/DefaultButtonModel.java,
8122         javax/swing/DefaultCellEditor.java,
8123         javax/swing/DefaultComboBoxModel.java,
8124         javax/swing/DefaultDesktopManager.java,
8125         javax/swing/DefaultListCellRenderer.java,
8126         javax/swing/DefaultSingleSelectionModel.java,
8127         javax/swing/InputMap.java,
8128         javax/swing/JComponent.java,
8129         javax/swing/JMenu.java,
8130         javax/swing/JSlider.java,
8131         javax/swing/KeyStroke.java,
8132         javax/swing/OverlayLayout.java,
8133         javax/swing/ScrollPaneLayout.java,
8134         javax/swing/SizeRequirements.java,
8135         javax/swing/UIManager.java,
8136         javax/swing/ViewportLayout.java,
8137         javax/swing/border/AbstractBorder.java,
8138         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8139         javax/swing/event/EventListenerList.java,
8140         javax/swing/table/AbstractTableModel.java,
8141         javax/swing/table/DefaultTableCellRenderer.java,
8142         javax/swing/table/DefaultTableColumnModel.java,
8143         javax/swing/table/DefaultTableModel.java,
8144         javax/swing/table/TableColumn.java,
8145         javax/swing/text/StyledEditorKit.java,
8146         javax/swing/tree/DefaultMutableTreeNode.java,
8147         javax/swing/tree/DefaultTreeModel.java,
8148         javax/swing/tree/DefaultTreeSelectionModel.java,
8149         javax/swing/tree/TreePath.java,
8150         javax/swing/undo/AbstractUndoableEdit.java,
8151         javax/swing/undo/StateEdit.java,
8152         javax/swing/undo/StateEditable.java,
8153         javax/swing/undo/UndoableEditSupport.java:
8154         Merges from classpath.
8155
8156 2003-03-30  Tom Tromey  <tromey@redhat.com>
8157
8158         * java/lang/String.java (data, boffset, count): Documented.
8159         (String(byte[],String)): Reformatted.
8160         (String(byte[])): Likewise.
8161         (lastIndexOf(int)): Likewise.
8162         (lastIndexOf(String)): Likewise.
8163         (substring(int)): Renamed argument to match Classpath.
8164         (String(StringBuffer)): Don't share buffer if it is nearly empty.
8165
8166         * java/lang/String.java: Miscellaneous minor formatting changes
8167         to match Classpath more closely.
8168
8169 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
8170             Tom Tromey  <tromey@redhat.com>
8171
8172         * java/lang/natString.cc (hashCode): Use cachedHashCode.
8173         (init()): Removed.
8174         (charAt): Put index in exception.
8175         (contentEquals): New method.
8176         Include StringBuffer.h.
8177         * java/lang/String.java (cachedHashCode): New field.
8178         (String()): Follow classpath implementation.
8179         (init()): Removed.
8180         (contentEquals): Declare.
8181         (subSequence): Don't declare IndexOutIfBoundsException in throws
8182         clause.
8183         (matches, replaceFirst, replaceAll, split): New methods from
8184         Classpath.
8185
8186 2003-03-29  Tom Tromey  <tromey@redhat.com>
8187
8188         * java/lang/String.java: Reordered to follow Classpath; merged in
8189         javadoc.
8190
8191         * java/text/MessageFormat.java: Removed some whitespace.
8192
8193         * Makefile.in: Rebuilt.
8194         * Makefile.am (awt_java_source_files): Added new files.
8195         * gnu/javax/rmi/PortableServer.java,
8196         gnu/javax/rmi/CORBA/DelegateFactory.java,
8197         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
8198         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
8199         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
8200         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
8201         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
8202         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
8203         javax/rmi/PortableRemoteObject.java,
8204         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
8205         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8206         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
8207         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
8208         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
8209         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
8210
8211         * java/lang/natClass.cc (newInstance): Put method name in
8212         exception.
8213         (getConstructor): Likewise.
8214         (getDeclaredConstructor): Likewise.
8215         (getPrivateMethod): Likewise.
8216
8217 2003-03-28  Tom Tromey  <tromey@redhat.com>
8218
8219         * java/lang/reflect/Proxy.java: New version from Classpath.
8220         * java/lang/Package.java: New version from Classpath.
8221
8222 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
8223
8224         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
8225         * configure: Regenerate.
8226
8227 2003-03-28  Michael Koch  <konqueror@gmx.de>
8228
8229         * java/io/File.java:
8230         Import needed classes instead of whole packages, merged class
8231         documentation with classpath, moved constants and variables to top of
8232         class.
8233         * java/io/PrintStream.java:
8234         Merged class documentation with classpath, moved constants and
8235         variables to top of class.
8236         * java/io/RandomAccessFile.java
8237         (RandomAccessFile): Merged with classpath.
8238         (read): Merged with classpath).
8239         (read*): Reformatted.
8240
8241 2003-03-28  Michael Koch  <konqueror@gmx.de>
8242
8243         * java/io/FileDescriptor.java
8244         (finalize): Throws Throwable, not IOException.
8245         * java/io/ObjectOutputStream.java
8246         (PutField.put): Doesnt throws anything.
8247
8248 2003­03-28  Michael Koch  <konqueror@gmx.de>
8249
8250         * java/io/FileOutputStream.java:
8251         Merged class documentation and authors with classpath.
8252         (FileOutputStream): Partly merged with classpath.
8253         (write): Merged with classpath.
8254         (getChannel): Make it synchronized instead of explicit block in this
8255         method.
8256         * java/io/RandomAccessFile.java:
8257         Merged class documentation and authors with classpath.
8258
8259 2003-03-26  Tom Tromey  <tromey@redhat.com>
8260
8261         * java/lang/natRuntime.cc (insertSystemProperties): Set
8262         gnu.classpath.home.url.
8263         * Makefile.in: Rebuilt.
8264         * Makefile.am: Define LIBDIR.
8265
8266 2003-03-25  Michael Koch  <konqueror@gmx.de>
8267
8268         * java/io/FileInputStream.java
8269         (read): Renamed b to buf and off to offset.
8270         * java/io/FileOutputStream.java
8271         (ch): Documentation added.
8272         (FileOutputStream): Documentation added.
8273         (getFD): Documentation added.
8274         (write): Documentation added.
8275         (close): Documentation added.
8276         (getChannel): Documentation added.
8277
8278 2003-03-24  Michael Koch  <konqueror@gmx.de>
8279
8280         * java/io/DataOutputStream.java
8281         (write): Merged from classpath.
8282         * java/io/File.java:
8283         Merged copyrigth with classpath.
8284         * java/io/FileInputStream.java
8285         (getChannel): Made it synchronized instead of using a synchronized
8286         block.
8287         * java/io/FileOutputStream.java: Reformatted.
8288         * java/io/InputStreamReader.java
8289         (InputStreamReader): Renamed enc to encoding_name.
8290         (close): Merged documentation from classpath.
8291         (getEncoding): Merged documentation from classpath.
8292         (ready): Merged documentation from classpath.
8293         (read): Merged documentation from classpath.
8294         * java/io/LineNumberReader.java
8295         (lineNumber): Made it private.
8296         (LineNumberReader): Use Constant instead of a direct value.
8297         * java/io/OutputStreamWriter.java
8298         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
8299         documentation from classpath.
8300         (close): Merged documentation from classpath.
8301         (flush): Merged documentation from classpath.
8302         (write): Merged documentation from classpath.
8303         * java/io/PrintStream.java: Reformatted.
8304
8305 2003-03-24  Michael Koch  <konqueror@gmx.de>
8306
8307         * javax/swing/text/ComponentView.java
8308         (getComponent): Must be final.
8309         * javax/swing/tree/DefaultTreeCellRenderer.java:
8310         Reformatted.
8311         * javax/swing/undo/StateEditable.java:
8312         Reformatted.
8313
8314 2003-03-24  Michael Koch  <konqueror@gmx.de>
8315
8316         * java/rmi/activation/ActivationInstantiator.java:
8317         Reformatted.
8318         * java/rmi/activation/Activator.java:
8319         Reformatted.
8320         * java/rmi/registry/RegistryHandler.java:
8321         Remerged from classpath.
8322
8323 2003-03-24  Michael Koch  <konqueror@gmx.de>
8324
8325         * java/util/Date.java:
8326         Fixed documentation starting tag to make javadoc happy.
8327         * java/util/regex/Pattern.java
8328         (Pattern): Implements Serializable.
8329         * java/util/PatternSyntaxException.java
8330         (serialVersionUID): New member variable.
8331
8332 2003-03-24  Michael Koch  <koqnueror@gmx.de>
8333
8334         * java/awt/ContainerOrderFocusTraversalPolicy.java
8335         (getFirstComponent): Implemented.
8336         (getLastComponent): Implemented.
8337         (getDefaultComponent): Implemented.
8338         (setImplicitDownCycleTraversal): Fixed implementation.
8339         * java/awt/Robot.java
8340         (Robot): Added documentation.
8341         * java/awt/Toolkit.java
8342         (getFontList): Deprecated.
8343         (getFontMetrics): Deprecated.
8344         (getPrintJob): Added documentation.
8345         (getSystemSelection): Added documentation.
8346         (getLockingKeyState): Added documentation.
8347         (setLockingKeyState): Added documentation.
8348         (createCustomCursor): Added documentation.
8349         (getBestCursorSize): Added documentation.
8350         (getMaximumCursorColors): Added documentation.
8351         (isFrameStateSupported): Added documentation.
8352
8353 2003-03-24  Michael Koch  <konqueror@gmx.de>
8354
8355         * java/io/RandomAccessFile.java:
8356         More little merges with classpath. No code changes.
8357
8358 2003-03-24  Michael Koch  <konqueror@gmx.de>
8359
8360         * java/net/natInetAddressNoNet.cc:
8361         Include stddef.h.
8362         * java/net/natPlainDatagramSocketImplNoNet.cc:
8363         Fixed inlcude of java/net/DatagramPacket.h.
8364         * java/net/natPlainSocketImplNoNet.cc:
8365         Include some missing classes.
8366
8367 2003-03-24  Michael Koch  <konqueror@gmx.de>
8368
8369         * java/awt/dnd/DropTarget.java
8370         (DropTargetAutoScroller): According to the online documentation, this
8371         is protected, but in reality it is public.
8372         * java/awt/dnd/DropTargetContext.java
8373         (TransferableProxy): According to the online documentation, this
8374         is protected, but in reality it is public.
8375
8376 2003-03-24  Michael Koch  <konqueror@gmx.de>
8377
8378         * java/io/DataInputStream.java
8379         (): Wrapped documentation line.
8380         (): Fixed @return tag.
8381         * java/io/DataOutputStream.java
8382         (written): Moved to top of class.
8383         (all methods): Merged documentation from classpath.
8384         * java/io/File.java:
8385         Merged copyright year with classpath.
8386         * java/io/FileInputStream.java
8387         (all methods): Merged documentation from classpath.
8388         * java/io/LineNumberReader.java
8389         (getLineNumber): Fixed @return tag.
8390         * java/io/ObjectInputStream.java.
8391         Reformatted.
8392         * java/io/ObjectOutputStream.java:
8393         Reformatted, fixed some @see tags.
8394         * java/io/OutputStreamWriter.java:
8395         Deleted empty line.
8396         * java/io/Writer.java:
8397         Reformatted.
8398
8399 2003-03-24  Michael Koch  <konqueror@gmx.de>
8400
8401         * java/awt/Frame.java
8402         (DEFAULT_CURSOR): Fixed @deprecated tag.
8403         (setCursor): Fixed @deprecated tag.
8404
8405 2003-03-24  Michael Koch  <konqueror@gmx.de>
8406
8407         * java/beans/beancontext/BeanContextEvent.java:
8408         Reformated.
8409
8410 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
8411
8412         * java/lang/natStringBuffer.cc (regionMatches): New function.
8413         * java/lang/String.java (count): Now package-private.
8414         * java/lang/StringBuffer.java: Merged with Classpath.
8415
8416 2003-03-23  Michael Koch  <konqueror@gmx.de>
8417
8418         * java/io/BufferedOutputStream.java:
8419         Reformated.
8420         * java/io/BufferedReader.java:
8421         Reformated.
8422         * java/io/ByteArrayOutputStream.java
8423         (size): Fixed @see tag.
8424         * java/io/CharArrayWriter.java
8425         (size): Fixed @see tag.
8426         * java/io/DataInput.java:
8427         Reformated.
8428         * java/io/DataOutput.java:
8429         Reformated.
8430         * java/io/DataOutputStream.java:
8431         Merged copyright years with classpath.
8432         * java/io/Externalizable.java:
8433         Reformated.
8434         * java/io/FileFilter.java:
8435         Reformated.
8436         * java/io/FileInputStream.java:
8437         Merged copyright years with classpath.
8438         * java/io/FileOutputStream.java:
8439         Merged copyright years with classpath.
8440         * java/io/FilePermission.java
8441         (FilePermission): Replaced @XXX with FIXME:.
8442         * java/io/FileWriter.java:
8443         Reformated.
8444         * java/io/FilenameFilter.java:
8445         Reformated.
8446         * java/io/FilterInputStream.java:
8447         Reformated.
8448         * java/io/FilterOutputStream.java:
8449         Reformated.
8450         * java/io/FilterReader.java:
8451         Reformated.
8452         * java/io/FilterWriter.java:
8453         Reformated.
8454         * java/io/LineNumberInputStream.java
8455         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
8456         happy.
8457         (getLineNumber): Fixed @return tag.
8458         * java/io/ObjectInput.java:
8459         Reformated.
8460         * java/io/ObjectOutput.java:
8461         Reformated.
8462         * java/io/ObjectStreamClass.java:
8463         Reformated.
8464         * java/io/PrintStream.java:
8465         Merged copyright years with classpath.
8466         * java/io/PushbackReader.java
8467         (PushbackReader): Replaced @code with @param.
8468         * java/io/SerializablePermission.java:
8469         Reformated.
8470         * java/io/StreamTokenizer.java
8471         (resetSyntax): Fixed @see tag.
8472
8473 2003-03-22  Richard Henderson  <rth@redhat.com>
8474
8475         * sysdep/ia64/locks.h: Include ia64intrin.h.
8476         (compare_and_swap): Use __sync_bool_compare_and_swap.
8477         (compare_and_swap_release): Expose ar.ccv assignment.
8478
8479 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
8480
8481         * include/posix.h: Add suffix for darwin dynamic libraries.
8482
8483 2003-03-21  Michael Koch  <konqueror@gmx.de>
8484
8485         * javax/swing/Action.java
8486         (ACCELERATOR_KEY): New constant.
8487         (ACTION_COMMAND_KEY): Likewise.
8488         (MNEMONIC_KEY): Likewise.
8489         * javax/swing/UnsupportedLookAndFeelException.java
8490         (UnsupportedLookAndFeelException): Must be public.
8491         * javax/swing/WindowConstants.java
8492         (EXIT_ON_CLOSE): New constant.
8493         * javax/swing/text/BadLocationException.java
8494         (offset): New member variable.
8495         (BadLocationException): New implementation, documentation added.
8496         (offsetRequested): New method.
8497         * javax/swing/text/Caret.java:
8498         Reformated.
8499         * javax/swing/text/Document.java:
8500         Reformated.
8501
8502 2003-03-21  Michael Koch  <konqueror@gmx.de>
8503
8504         * java/rmi/activation/Activatable.java
8505         (serialVersionUID): New member variable.
8506         * java/rmi/activation/ActivationGroup.java
8507         (serialVersionUID): New member variable.
8508         * java/rmi/activation/ActivationGroupDesc.java
8509         (serialVersionUID): New member variable.
8510         * java/rmi/registry/Registry.java:
8511         Reformated.
8512         (Registry): Deprecated.
8513         * java/rmi/server/LoaderHandler.java
8514         Reformated.
8515         (LoaderHandler): Deprecated.
8516         * java/rmi/server/LogStream.java
8517         Reformated.
8518         (LogStream): Deprecated.
8519         * java/rmi/server/Operation.java
8520         (Operation): Deprecated.
8521         * java/rmi/server/RMIFailureHandler.java:
8522         Reformated.
8523         * java/rmi/server/RMISocketFactory.java:
8524         Reformated.
8525         * java/rmi/server/RemoteCall.java
8526         (RemoteCall): Deprecated.
8527         * java/rmi/server/RemoteStub.java:
8528         Reformated.
8529         * java/rmi/server/Skeleton.java
8530         Reformated.
8531         (Skeleton): Deprecated.
8532
8533 2003-03-21  Michael Koch  <konqueror@gmx.de>
8534
8535         * java/io/LineNumberReader.java
8536         (LineNumberReader): Merged documentation with classpath.
8537         (getLineNumber): Likewise.
8538         (setLineNumber): Likewise.
8539         (mark): Likewise.
8540         (reset): Likewise.
8541         (read): Likewise.
8542         (readLine): Likewise.
8543         (skip): Likewise.
8544
8545 2003-03-21  Michael Koch  <konqueror@gmx.de>
8546
8547         * java/rmi/RMISecurityManager.java
8548         (checkAccept): Removed.
8549         (checkAccess): Likewise.
8550         (checkAccess): Likewise.
8551         (checkAwtEventQueueAccess): Likewise.
8552         (checkConnect): Likewise.
8553         (checkCreateClassLoader): Likewise.
8554         (checkDelete): Likewise.
8555         (checkExec): Likewise.
8556         (checkExit): Likewise.
8557         (checkLink): Likewise.
8558         (checkListen): Likewise.
8559         (checkMemberAccess): Likewise.
8560         (checkMulticast): Likewise.
8561         (checkPackageAccess): Likewise.
8562         (checkPackageDefinition): Likewise.
8563         (checkPermission): Likewise.
8564         (checkPrintJobAccess): Likewise.
8565         (checkPropertiesAccess): Likewise.
8566         (checkPropertyAccess): Likewise.
8567         (checkRead): Likewise.
8568         (checkSecurityAccess): Likewise.
8569         (checkSetFactory): Likewise.
8570         (checkSystemClipboardAccess): Likewise.
8571         (checkTopLevelWindow): Likewise.
8572         (checkWrite): Likewise.
8573
8574 2003-03-20  Michael Koch  <konqueror@gmx.de>
8575
8576         * gnu/java/nio/FileChannelImpl.java
8577         (address): Removed.
8578         (map_address): New member variable.
8579         (length): Make it package private.
8580         (fd): Make it package private.
8581         (buf): Make it package private.
8582         (file_obj): Make it package private.
8583         (FileChannelImpl): New constructor.
8584         (nio_mmap_file): Use RawData instead of long.
8585         (nio_munmap_file): Use RawData instead of long.
8586         (nio_msync): Use RawData instead of long.
8587         (implCloseChannel): New implementation using map_address.
8588         (read): Reformated.
8589         (map): Implemented.
8590         (create_direct_mapped_buffer): Implemented, use RawData, throws
8591         IOException.
8592         (force): Use map_address instead of address.
8593         * gnu/java/nio/MappedByteFileBuffer.java
8594         (address): Removed.
8595         (map_address): New member variable.
8596         (MappedByteFileBuffer): Use map_address instead of address, reformated.
8597         (several methods): Use map_address instead of address, replaced long
8598         with RawData where appropriate.
8599         * gnu/java/nio/natFileChannelImpl.cc
8600         (nio_mmap_file): Replaced long with RawData.
8601         (nio_munmap_file): Replaced long with RawData.
8602         (nio_msync): Replaced long with RawData.
8603         * gnu/java/nio/natMappedByteFileBuffer.cc
8604         (several methods): Replaced long with RawData where appropriate.
8605
8606 2003-03-20  Michael Koch  <konqueror@gmx.de>
8607
8608         * java/net/InetAddress.java,
8609         java/net/JarURLConnection.java,
8610         java/net/PlainDatagramSocketImpl.java,
8611         java/net/PlainSocketImpl.java,
8612         java/net/URLConnection.java:
8613         Merged copyright statements with classpath for easier merging.
8614
8615 2003-03-20  Michael Koch  <konqueror@gmx.de>
8616
8617         * java/io/FileInputStream.java
8618         (getChannel): New implementation.
8619         * java/io/FileOutputStream.java
8620         (ch): New member variable.
8621         (getChannel): Implemented.
8622         * java/io/RandomAccessFile.java
8623         (RandomAccessFile): Throws FileNotFoundException instead of
8624         IOException.
8625         (getChannel): New method.
8626         (ch): New member variable.
8627
8628 2003-03-20  Michael Koch  <konqueror@gmx.de>
8629
8630         * java/io/DataOutputStream.java,
8631         java/io/File.java,
8632         java/io/FileInputStream.java,
8633         java/io/FileOutputStream.java,
8634         java/io/InputStreamReader.java,
8635         java/io/LineNumberReader.java,
8636         java/io/OutputStreamWriter.java,
8637         java/io/PrintStream.java,
8638         java/io/RandomAccessFile.java:
8639         Merged copyright statements with classpath for easier merging.
8640
8641 2003-03-19  Michael Koch  <konqueror@gmx.de>
8642
8643         * java/lang/Process.java:
8644         Merged from classpath.
8645
8646 2003-03-19  Michael Koch  <konqueror@gmx.de>
8647
8648         * java/io/FileOutputStream.java
8649         (FileOutputStream): New constructor, merged from classpath.
8650         * java/io/FileWriter.java
8651         (FileWriter): New constructor, merged from classpath.
8652
8653 2003-03-18  Michael Koch  <konqueror@gmx.de>
8654
8655         * java/awt/ScrollPane.java
8656         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
8657         (getViewportSize): Likewise.
8658         (addNotify): Likewise.
8659         (removeNotify): Likewise.
8660         * java/awt/ScrollPaneAdjustable.java
8661         (ScrollPaneAdjustable): No longer extends Scrollbar.
8662         * java/beans/beancontext/BeanContextServices.java:
8663         Reformated.
8664         (getService): Added throws TooManyListenersException;
8665         * java/beans/beancontext/BeanContextServicesSupport.java:
8666         Reformated.
8667
8668 2003-03-18  Michael Koch  <konqueror@gmx.de>
8669
8670         * java/io/BufferedOutputStream.java,
8671         java/io/DataInput.java,
8672         java/io/DataInputStream.java,
8673         java/io/DataOutput.java,
8674         java/io/Externalizable.java:
8675         More merges from classpath.
8676
8677 2003-03-18  Michael Koch  <konqueror@gmx.de>
8678
8679         * configure.in: Fixed links to platform dependant java.net files.
8680         * configure: Regenerated.
8681         * java/net/natInetAddress.cc,
8682         java/net/natNetworkInterface.cc,
8683         java/net/natPlainDatagramSocketImpl.cc,
8684         java/net/natPlainSocketImpl.cc:
8685         Removed.
8686
8687 2003-03-18  Michael Koch  <konqueror@gmx.de>
8688
8689         * configure.in: Create links to architecture dependent files,
8690         introduced PLATFORMNET variable (set to NoNet for newlib usage).
8691         * configure: Regenerated.
8692         * java/net/natInetAddressNoNet.cc,
8693         java/net/natInetAddressPosix.cc,
8694         java/net/natInetAddressWin32.cc,
8695         java/net/natNetworkInterfaceNoNet.cc,
8696         java/net/natNetworkInterfacePosix.cc,
8697         java/net/natNetworkInterfaceWin32.cc,
8698         java/net/natPlainDatagramSocketImplNoNet.cc,
8699         java/net/natPlainDatagramSocketImplPosix.cc,
8700         java/net/natPlainDatagramSocketImplWin32.cc,
8701         java/net/natPlainSocketImplNoNet.cc,
8702         java/net/natPlainSocketImplPosix.cc,
8703         java/net/natPlainSocketImplWin32.cc: New files.
8704
8705 2003-03-18  Michael Koch  <konqueror@gmx.de>
8706
8707         * java/io/BufferedReader.java,
8708         java/io/BufferedWriter.java,
8709         java/io/ByteArrayOutputStream.java,
8710         java/io/FileFilter.java,
8711         java/io/FilePermission.java,
8712         java/io/FileReader.java,
8713         java/io/FileWriter.java,
8714         java/io/FilenameFilter.java,
8715         java/io/FilterInputStream.java,
8716         java/io/FilterOutputStream.java,
8717         java/io/FilterReader.java,
8718         java/io/FilterWriter.java,
8719         java/io/ObjectInput.java,
8720         java/io/ObjectInputValidation.java,
8721         java/io/ObjectOutput.java,
8722         java/io/ObjectStreamField.java,
8723         java/io/PipedInputStream.java,
8724         java/io/PipedReader.java,
8725         java/io/PrintWriter.java,
8726         java/io/PushbackReader.java,
8727         java/io/Reader.java,
8728         java/io/SerializablePermission.java,
8729         java/io/StringReader.java,
8730         java/io/Writer.java:
8731         Merged from classpath.
8732
8733 2003-03-17  Michael Koch  <konqueror@gmx.de>
8734
8735         * java/awt/ScrollPaneAdjustable.java:
8736         Compile fixes.
8737         
8738 2003-03-17  Michael Koch  <konqueror@gmx.de>
8739
8740         * java/net/DatagramSocket.java
8741         (connect): Fixed comment.
8742         * java/nio/ByteBuffer.java
8743         (hasArray): Fixed comment.
8744
8745 2003-03-17  Michael Koch  <konqueror@gmx.de>
8746
8747         * java/beans/Beans.java:
8748         Explicitely import classes not packages.
8749         * java/beans/FeatureDescriptor.java
8750         (preferred): New member variable.
8751         (isPreferred): New method.
8752         (setPreferred): New method.
8753         * java/beans/PropertyEditorManager.java:
8754         Explicitely import used classes.
8755         * java/beans/beancontext/BeanContextChild.java:
8756         Added line wrapping.
8757         * java/beans/beancontext/BeanContextChildSupport.java:
8758         Reindented.
8759         * java/beans/beancontext/BeanContextEvent.java:
8760         Reindented.
8761
8762 2003-03-17  Michael Koch  <konqueror@gmx.de>
8763
8764         * java/awt/Dialog.java
8765         (Dialog): New constructor, changed implementations, added
8766         documentation.
8767         * java/awt/ScrollPaneAdjustable.java
8768         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
8769         Serializable.
8770         (serialVersionUID): New member variable.
8771         (sp): New member variable.
8772         (orientation): New member variable.
8773         (value): New member variable.
8774         (minimum): New member variable.
8775         (maximum): New member variable.
8776         (visibleAmount): New member variable.
8777         (unitIncrement): New member variable.
8778         (blockIncrement): New member variable.
8779         (AdjustmentListener): New member variable.
8780         (ScrollPaneAdjustable): New implementation.
8781         (addAdjustmentListener): New method.
8782         (removeAdjustmentListener): New method.
8783         (getAdjustmentListeners): New method.
8784         (getBlockIncrement): New method.
8785         (getMaximum): New method.
8786         (getMinimum): New method.
8787         (getOrientation): New method.
8788         (getUnitIncrement): New method.
8789         (getValue): New method.
8790         (getVisibleAmount): New method.
8791         (setBlockIncrement): New method.
8792         (setMaximum): Implemented.
8793         (setMinimum): Implemented.
8794         (setUnitIncrement): New method.
8795         (setValue): New method.
8796         (setVisibleAmount): Implemented. 
8797         (paramString): New stubbed method.
8798         * java/awt/Window.java
8799         (show): Call setVisible().
8800         (hide): Call setVisible().
8801         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
8802         and WINDOW_STATE_CHANGED.
8803         (processWindowFocusEvent): New method.
8804         (processWindowStateEvent): New method.
8805         (postEvent): Deprecated.
8806         (applyResourceBundle): Deprecated.
8807         * java/awt/datatransfer/DataFlavor.java
8808         (DataFlavor): Doesn't thow ClassNotFoundException.
8809
8810 2003-03-17  Michael Koch
8811
8812         * javax/print/attribute/Attribute.java,
8813         javax/print/attribute/AttributeSet.java,
8814         javax/print/attribute/PrintRequestAttributeSet.java:
8815         New files.
8816         * Makefile.am
8817         (javax_source_files): Added new files:
8818         javax/print/attribute/Attribute.java
8819         javax/print/attribute/AttributeSet.java
8820         javax/print/attribute/PrintRequestAttributeSet.java
8821         * Makefile.in: Regenerated.
8822
8823 2003-03-17  Michael Koch
8824
8825         * javax/print/attribute/Attribute.java,
8826         javax/print/attribute/AttributeSet.java,
8827         javax/print/attribute/PrintRequestAttributeSet.java:
8828         New files.
8829         * Makefile.am
8830         (awt_java_source_files): Added new files:
8831         javax/print/attribute/Attribute.java
8832         javax/print/attribute/AttributeSet.java
8833         javax/print/attribute/PrintRequestAttributeSet.java
8834         * Makefile.in: Regenerated.
8835
8836 2003-03-16  Tom Tromey  <tromey@redhat.com>
8837
8838         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
8839         Include platform.h.
8840         * java/lang/natRuntime.cc (insertSystemProperties): Use
8841         _Jv_platform_path_separator.
8842         (nativeGetLibname): Use _Jv_platform_file_separator.
8843         (_load): Use _Jv_platform_onload_names.
8844         (onload_names): New global.
8845         * include/win32.h (_Jv_platform_file_separator): New define.
8846         (_Jv_platform_path_separator): Likewise.
8847         (_Jv_platform_onload_names): Likewise.
8848         (_Jv_platform_ffi_abi): Likewise.
8849         * include/posix.h (_Jv_platform_file_separator): New define.
8850         (_Jv_platform_path_separator): Likewise.
8851         (_Jv_platform_onload_names): Likewise.
8852         (_Jv_platform_ffi_abi): Likewise.
8853
8854 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
8855
8856         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
8857
8858 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
8859
8860         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
8861         hierarchy loop.
8862         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
8863         list to Object,ObjectStreamClass, moved callReadMethod code up into
8864         readObject and added Class argument to all setXxxField calls.
8865         (callReadMethod): Changed Class argument to ObjectStreamClass to be
8866         consistent with ObjectOutputStream and to facilitate caching the
8867         Method in the future.
8868         (setBooleanField): Added Class argument.
8869         (setByteField): Likewise.
8870         (setCharField): Likewise.
8871         (setDoubleField): Likewise.
8872         (setFloatField): Likewise.
8873         (setIntField): Likewise.
8874         (setLongField): Likewise.
8875         (setShortField): Likewise.
8876         (setObjectField): Likewise.
8877         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
8878         class hierarchy loop.
8879         (defaultWriteObject): Call writeFields with new argument list.
8880         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
8881         list to Object,ObjectStreamClass, moved callWriteMethod up into
8882         writeObject and added Class argument to all getXxxField calls.
8883         (callWriteMethod): Added ObjectStreamClass argument to be able to
8884         get the proper class to call getMethod on (each class can have (or
8885         not have) its own writeObject method).
8886         (getBooleanField): Added Class argument.
8887         (getByteField): Likewise.
8888         (getCharField): Likewise.
8889         (getDoubleField): Likewise.
8890         (getFloatField): Likewise.
8891         (getIntField): Likewise.
8892         (getLongField): Likewise.
8893         (getShortField): Likewise.
8894         (getObjectField): Likewise.
8895         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
8896         facilitate caching the Method object in the future.
8897
8898 2003-03-12  Andreas Schwab  <schwab@suse.de>
8899
8900         * configure.in: Avoid trailing /. in toolexeclibdir.
8901         * configure: Rebuilt.
8902
8903 2003-03-11  Michael Koch  <konqueror@gmx.de>
8904
8905         * gnu/java/nio/ByteBufferImpl.java
8906         (putInt): Use limit() instead of limit.
8907         * gnu/java/nio/CharBufferImpl.java
8908         (slice): Fixed implementation.
8909         (subSequence): Better bounds checking.
8910         * gnu/java/nio/MappedByteFileBuffer.java:
8911         Import all needed classes directly.
8912         * java/nio/ByteBuffer.java
8913         (hashCode): New dummy method.
8914         * java/nio/CharBuffer.java
8915         (array_offset): New member variable.
8916         (hasArray): Fixed documentation.
8917         (arrayOffset): Return array_offset.
8918
8919 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
8920
8921         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
8922         setter; made return value of getter const char* instead of char*
8923         * prims.cc: removed all references to _Jv_ThisExecutable().
8924         These are in the platform-specific sections now.
8925         * posix.cc: define platform-specific _Jv_ThisExecutable().
8926         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
8927         * win32.cc: define platform-specific _Jv_ThisExecutable()
8928         using GetModuleFilename()
8929         * java/lang/natRuntime.cc: set gnu.gcj.progname property
8930         to argv[0] instead of _Jv_ThisExecutable()
8931
8932 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
8933
8934         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
8935         that is set if we are using addr2name.awk instead of addr2line.
8936         (NameFinder): Set usingAddr2name if using addr2name.awk.
8937         (getExternalLabel): New native method to convert a method 
8938         name to an external label.
8939         (lookup): Convert name given by addr2line to an external label
8940         before demangling.
8941
8942         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
8943         constant representing the prefix attached to method names to
8944         convert them to an external label.
8945         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
8946         using LABEL_PREFIX.
8947
8948 2003-03-10  Tom Tromey  <tromey@redhat.com>
8949
8950         * Makefile.in: Rebuilt.
8951         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
8952         (JC1FLAGS): Removed -Wno-deprecated.
8953
8954 2003-03-10  Michael Koch  <konqueror@gmx.de>
8955
8956         * java/nio/ByteOrder.java
8957         (nativeOrder): Working implementation, added documentation.
8958         (toString): Added documentation.
8959
8960 2003-03-10  Michael Koch  <konqueror@gmx.de>
8961
8962         * java/net/DatagramSocket.java,
8963         java/net/MulticastSocket.java,
8964         java/net/Socket.java,
8965         java/net/URL.java,
8966         java/net/URLConnection.java:
8967         Fixed some documentation tags to make javadoc and friends happy.
8968
8969 2003-03-10  Michael Koch  <koqnueror@gmx.de>
8970
8971         * java/beans/beancontext/BeanContextServicesSupport.java,
8972         java/beans/beancontext/BeanContextSupport.java: New files.
8973         * Makefile.am
8974         (awt_source_files): Added new files.
8975         * Makefile.in: Regenerated.
8976
8977 2003-03-10  Michael Koch  <konqueror@gmx.de>
8978
8979         * java/awt/FocusTraversalPolicy.java
8980         (FocusTraversalPolicy): Documentation added.
8981         (getComponentAfter): Documentation added.
8982         (getComponentBefore): Documentation added.
8983         (getFirstComponent): Documentation added.
8984         (getLastComponent): Documentation added.
8985         (getDefaultComponent): Documentation added.
8986         (getInitialComponent): Documentation added.
8987         * java/awt/ScrollPaneAdjustable.java
8988         (sp): New member variable.
8989         (orientation): New member variable.
8990         (value): New member variable.
8991         (minimum): New member variable.
8992         (maximum): New member variable.
8993         (visibleAmount): New member variable.
8994         (unitIncrement): New member variable.
8995         (blockIncrement): New member variable.
8996         (adjustmentListener): New member variable.
8997         (ScrollPaneAdjustable): Rewrote.
8998         (addAdjustmentListener): New method.
8999         (removeAdjustmentListener): New method.
9000         (getAdjustmentListeners): New method.
9001         (getBlockIncrement): New method.
9002         (getMaximum): New method.
9003         (getMinimum): New method.
9004         (getOrientation): New method.
9005         (getUnitIncrement): New method.
9006         (getValue): New method.
9007         (getVisibleAmount): New method.
9008         (setBlockIncrement): New method.
9009         (setUnitIncrement): New method.
9010         (setMaximum): Implemented.
9011         (setMinimum): Implemented.
9012         (setValue): New method.
9013         (setVisibleAmount): Implemented.
9014         (paramString): New method.
9015         * java/awt/Window.java
9016         (show): Use setVisible(true) instead of super.show().
9017         (hide): Use sevVisible(false) instead of super.hide().
9018         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
9019         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
9020         (postEvent): Deprecated.
9021         (applyResourceBundle): Deprecated.
9022         (processWindowFocusEvent): New method.
9023         (processWindowStateEvent): New method.
9024         * java/awt/datatransfer/DataFlavor.java: Reindented.
9025         * java/awt/font/TextHitInfo.java
9026         (charIndex): New member variable.
9027         (leadingEdge): New member variable.
9028         (TextHitInfo): New constructor.
9029         (getCharIndex): Implemented.
9030         (isLeadingEdge): Implemented.
9031         (getInsertionIndex): Implemented.
9032         (hashCode): Access charIndex directly.
9033         (equals): Reformated.
9034         (leading): Implemented.
9035         (trailing): Implemented.
9036         (beforeOffset): Implemented.
9037         (afterOffset): Implemented.
9038         (getOtherHit): Implemented.
9039         (getOffsetHit): Implemented.
9040         (toString): Implemented.
9041         * java/awt/image/BufferedImage.java
9042         (BufferedImage): Implements WritableRenderedImage.
9043         (observers): New member variable.
9044         (addTileObserver): New method.
9045         (removeTileObserver): New method.
9046
9047 2003-03-09  Tom Tromey  <tromey@redhat.com>
9048
9049         PR libgcj/9934:
9050         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
9051         to lseek.  Return 0 if we can't compute the value.
9052
9053 2003-03-03  Michael Koch  <konqueror@gmx.de>
9054
9055         * java/net/NetworkInterface.java: Merged with classpath.
9056
9057 2003-03-03  Tom Tromey  <tromey@redhat.com>
9058
9059         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
9060         of bytecode.
9061         (handle_ret_insn): Fail if returning to jsr that appears at end of
9062         bytecode.
9063
9064 2003-03-03  Michael Koch  <konqueror@gmx.de>
9065
9066         * Makefile.am
9067         (ordinary_java_source_files):
9068         Added gnu/java/nio/MappedByteFileBuffer.java.
9069         (nat_source_files):
9070         Added gnu/java/nio/natMappedByteFileBuffer.cc.
9071         * Makefile.in: Regenerated.
9072
9073 2003-03-03  Michael Koch  <konqueror@gmx.de>
9074
9075         * java/net/DatagramSocket.java
9076         (connect): Merged comment from classpath.
9077         (receive): Merged documentation from classpath.
9078         * java/net/Socket.java
9079         (setSoTimeout): Clarified documentation.
9080         * java/net/URL.java
9081         (getPath): Merged from classpath.
9082         (getUserInfo): Merged from classpath.
9083         (getQuery): Merged from classpath.
9084         * java/net/URLStreamHandler.java
9085         (toExternalForm): Merged from classpath.
9086
9087 2003-03-02  Mark Wielaard  <mark@klomp.org>
9088
9089         * java/util/Properties.java (load): Only skip line if the first
9090         character is a comment, whitespaces don't count.
9091
9092 2003-03-02  Michael Koch  <konqueror@gmx.de>
9093
9094         * java/net/NetPermission.java:
9095         Merged copyright with classpath.
9096
9097 2003-03-02  Michael Koch  <konqueror@gmx.de>
9098
9099         * java/lang/Package.java:
9100         Remerged from classpath.
9101
9102 2003-03-02  Michael Koch  <konqueror@gmx.de>
9103
9104         * java/net/HttpURLConnection.java
9105         (HTTP_SERVER_ERROR): Deprecated.
9106         * java/net/MulticastSocket.java
9107         (send): Replaced checkMulticast with appropriate checkPermission call,
9108         deprecated.
9109         * java/net/URLDecoder.java
9110         (decode): Deprecated.
9111         * java/net/URLEncoder.java
9112         (encode): Deprecated.
9113
9114 2003-03-02  Michael Koch  <konqueror@gmx.de>
9115
9116         * javax/swing/text/Caret.java
9117         (getMagicCaretPosition): Fixed typo in method name.
9118         * javax/swing/text/DefaultCaret.java
9119         (getMagicCaretPosition): Fixed typo in method name.
9120
9121 2003-03-02  Michael Koch  <konqueror@gmx.de>
9122
9123         * java/awt/List.java
9124         (setMultipleSelections): Deprecated.
9125         (delItem): Deprecated.
9126         * java/awt/MenuComponent.java
9127         (getPeer): Deprecated.
9128         * java/awt/ScrollPane.java
9129         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
9130         * java/awt/dnd/MouseDragGestureRecognizer.java
9131         (mouseClicked): Added comment.
9132         (mousePressed): Added comment.
9133         (mouseReleased): Added comment.
9134         (mouseEntered): Added comment.
9135         (mouseExited): Added comment.
9136         (mouseDragged): Added comment.
9137         (mouseMoved): Added comment.
9138         * java/awt/event/KeyEvent.java
9139         (KeyEvent): Deprecated.
9140         (setModifiers): Deprecated.
9141         
9142 2003-03-02  Michael Koch  <konqueror@gmx.de>
9143
9144         * gnu/java/nio/FileChannelImpl.java
9145         (fd): Type FileDescriptor instead of int.
9146         (lengthInternal): Removed.
9147         (FileChannelImpl): Fixed arguments, check type of file object.
9148         (size): Made it native.
9149         (implPosition): New native method.
9150         (implTruncate): New native method.
9151         (position): Implemented.
9152         (truncate): Implemented.
9153         (nio_mmap_file): Changed arguments.
9154         (nio_munmap_file): Changed arguments.
9155         (nio_msync): Changed arguments.
9156         * gnu/java/nio/natFileChannelImpl.cc
9157         (lengthInternal): Removed.
9158         (size): New method.
9159         (implPosition): New method.
9160         (implTruncate): New method.
9161         (nio_mmap_file): Changed arguments.
9162         (nio_munmap_file): Changed arguments.
9163         (nio_msync): Changed arguments.
9164
9165 2003-03-02  Michael Koch  <konqueror@gmx.de>
9166
9167         * java/awt/dnd/DropTargetContext.java:
9168         Compile fix: Forgot to commit import.
9169         
9170 2003-03-02  Michael Koch  <konqueror@gmx.de>
9171
9172         * java/awt/Component.java,
9173         java/awt/ScrollPane.java:
9174         Fixed typos.
9175
9176 2003-03-02  Michael Koch  <konqueror@gmx.de>
9177
9178         * java/awt/dnd/DnDEventMulticaster.java: New file.
9179         * java/awt/dnd/DragSource.java
9180         (flavorMap): New member variable.
9181         (dragSourceListener): New member variable.
9182         (dragSourceMotionListener): New member variable.
9183         (getFlavorMap): Implemented.
9184         (createDragGestureRecognizer): Implemented.
9185         (addDragSourceListener): Implemented.
9186         (removeDragSourceListener): Implemented.
9187         (getDragSourceListeners): Implemented.
9188         (addDragSourceMotionListener): Implemented.
9189         (removeDragSourceMotionListener): Implemented.
9190         (getDragSourceMotionListeners): Implemented.
9191         (getListeners): Implemented.
9192         * java/awt/dnd/DragSourceContext.java
9193         (peer): New member variable.
9194         (cursor): New member variable.
9195         (transferable): New member variable.
9196         (trigger): New member variable.
9197         (dragSourceListener): New member variable.
9198         (image): New member variable.
9199         (offset): New member variable.
9200         (DragSourceContext): Implemented.
9201         (getDragSource): Implemented.
9202         (getComponent): Implemented.
9203         (getTrigger): Implemented.
9204         (getSourceActions): Implemented.
9205         (setCursor): Implemented.
9206         (getCursor): Implemented.
9207         (addDragSourceListener): Implemented.
9208         (removeDragSourceListener): Implemented.
9209         (getTransferable): Implemented.
9210         * java/awt/dnd/DropTarget.java
9211         (DropTargetAutoScroller.component): New member variable.
9212         (DropTargetAutoScroller.point): New member variable.
9213         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
9214         (DropTargetAutoScroller.updateLocation): Implemented.
9215         (active): Renamed from isActive, defaults to true now.
9216         (component): New member variable.
9217         (flavorMap): New member variable.
9218         (actions): New member variable.
9219         (dropTargetContext): New member variable.
9220         (dropTargetListener): New member variable.
9221         (DropTarget): Implemented.
9222         (getComponent): Implemented.
9223         (setComponent): Implemented.
9224         (setDefaultActions): Implemented.
9225         (getDefaultActions): Implemented.
9226         (setActive): Use active instead of isActive.
9227         (isActive): Use active instead of isActive.
9228         (addDropTargetListener): Implemented.
9229         (removeDropTargetListener): Implemented.
9230         (getFlavorMap): Implemented.
9231         (setFlavorMap): Implemented.
9232         (getDropTargetContext): Implemented.
9233         (createDropTargetContext): Implemented.
9234         (createDropTargetAutoScroller): Implemented.
9235         * java/awt/dnd/DropTargetContext.java
9236         (TransferableProxy.getTransferDataFlavors): Implemented.
9237         (TransferableProxy.isDataFlavorSupported): Implemented.
9238         (TransferableProxy.getTransferData): Implemented.
9239         (dropTarget):  New member variable.
9240         (dtcp): New member variable.
9241         (DropTargetContext): New package private constructor.
9242         (getDropTarget): Implemented.
9243         (getComponent): Implemented.
9244         (addNotify): Implemented.
9245         (removeNotify): Implemented.
9246         (getCurrentDataFlavorsAsList): Implemented.
9247         (isDataFlavorSupported): Implemented.
9248         * java/awt/dnd/MouseDragGestureRecognizer.java
9249         (registerListeners): Implemented.
9250         (unregisterListeners): Implemented.
9251         * Makefile.am
9252         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
9253         * Makefile.in: Regenerated.
9254
9255 2003-03-02  Michael Koch  <konqueror@gmx.de>
9256
9257         * java/awt/Component.java
9258         (eventTypeEnabled): New method.
9259         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
9260         * java/awt/Container.java
9261         (changeSupport): New member variable.
9262         (addPropertyChangeListener): New methods.
9263         * java/awt/ContainerOrderFocusTraversalPolicy.java
9264         (ContainerOrderFocusTraversalPolicy): Added comment.
9265         (getComponentAfter): Throw exception, documentation added.
9266         (getComponentBefore): Throw exception, documentation added.
9267         (getFirstComponent): Throw exception, documentation added.
9268         (getLastComponent): Throw exception, documentation added.
9269         (getDefaultComponent): Throw exception, documentation added.
9270         * java/awt/EventQueue.java: Reindented.
9271         * java/awt/FocusTraversalPolicy.java:
9272         (FocusTraversalPolicy): Added comment.
9273         (getComponentAfter): Documentation added.
9274         (getComponentBefore): Documentation added.
9275         (getFirstComponent): Documentation added.
9276         (getLastComponent): Documentation added.
9277         (getDefaultComponent): Documentation added.
9278         (getInitialComponent): Documentation added.
9279         * java/awt/ScrollPane.java
9280         (wheelScrollingEnabled): New member variable.
9281         (ScrollPane): Initialize wheelScollingEnabled.
9282         (eventTypeEnabled): New method.
9283         (isWheelScrollingEnabled): New method.
9284         (setWheelScrollingEnabled): New method.
9285
9286 2003-03-02  Michael Koch  <konqueror@gmx.de>
9287
9288         * java/net/DatagramSocket.java
9289         (closed): New member variable.
9290         (close): Use closed variable.
9291         (getInetAddress): No need to call isConnected().
9292         (getPort): No need to call isConnected().
9293         (disconnect): Reset remoteAddress and remotePort, fixed typo.
9294         (isClosed): Reimplemented.
9295         
9296 2003-03-02  Michael Koch  <konqueror@gmx.de>
9297
9298         * configure.in: Added check for memory mapping of files.
9299         * configure: Regenerated.
9300         * config.h.in: Regenerated.
9301
9302 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
9303
9304         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
9305         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
9306
9307 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
9308
9309         * java/io/File.java (normalizePath): Remove trailing separator
9310         on Windows only if path is not of the form "x:\".
9311
9312         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
9313         (java::io::File::attr): Change formatting a bit and use
9314         WIN32_EPOCH_MILLIS instead of magic numbers.
9315         (java::io::File::isAbsolute): Path must have at least 3 
9316         characters for a UNC network path.
9317         (java::io::File::init_native): Define.
9318         (java::io::File::performCreate): Likewise.
9319         (java::io::File::performSetReadOnly): Likewise.
9320         (java::io::File::performSetLastModified): Likewise.
9321         (java::io::File::performListRoots): Likewise.
9322
9323 2003-03-01  Tom Tromey  <tromey@redhat.com>
9324
9325         * java/lang/natObject.cc: Don't include assert.h.
9326         (heavy_lock_obj_finalization_proc): Use JvAssert.
9327         (remove_all_heavy): Likewise.
9328         (_Jv_MonitorEnter): Likewise.
9329         (_Jv_MonitorExit): Likewise.
9330         (wait): Likewise.
9331
9332 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
9333
9334         * java/io/File (getAbsolutePath): Prefix drive specifier on
9335         Windows for paths starting with a '\'.
9336         (toURL): Make URL more consistent with what Sun's JDK returns.
9337
9338         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
9339         true only if the path is a UNC network path or it starts with a
9340         drive specifier.
9341
9342         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
9343         Be prepared to handle either '/' or '\\' in the file path for
9344         Windows if using the "file" protocol.
9345         Canonicalise the file path if using a relative path in the given
9346         context and the "file" protocol.
9347
9348 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
9349
9350         * java/lang/natWin32Process.cc (startProcess): Double-quote each
9351         program array element passed to CreateProcess.
9352
9353 2003-03-01  Tom Tromey  <tromey@redhat.com>
9354
9355         * java/rmi/registry/RegistryHandler.java: Deprecate.
9356
9357 2003-03-01  Tom Tromey  <tromey@redhat.com>
9358
9359         * javax/accessibility/AccessibleEditableText.java,
9360         javax/accessibility/AccessibleHyperlink.java: New versions from
9361         Classpath.
9362
9363         * gnu/java/locale/LocaleInformation_af_ZA.java,
9364         gnu/java/locale/LocaleInformation_ar_AE.java,
9365         gnu/java/locale/LocaleInformation_ar_BH.java,
9366         gnu/java/locale/LocaleInformation_ar_DZ.java,
9367         gnu/java/locale/LocaleInformation_ar_EG.java,
9368         gnu/java/locale/LocaleInformation_ar_IN.java,
9369         gnu/java/locale/LocaleInformation_ar_IQ.java,
9370         gnu/java/locale/LocaleInformation_ar_JO.java,
9371         gnu/java/locale/LocaleInformation_ar_KW.java,
9372         gnu/java/locale/LocaleInformation_ar_LB.java,
9373         gnu/java/locale/LocaleInformation_ar_LY.java,
9374         gnu/java/locale/LocaleInformation_ar_MA.java,
9375         gnu/java/locale/LocaleInformation_ar_OM.java,
9376         gnu/java/locale/LocaleInformation_ar_QA.java,
9377         gnu/java/locale/LocaleInformation_ar_SD.java,
9378         gnu/java/locale/LocaleInformation_ar_SY.java,
9379         gnu/java/locale/LocaleInformation_ar_TN.java,
9380         gnu/java/locale/LocaleInformation_ar_YE.java,
9381         gnu/java/locale/LocaleInformation_be_BY.java,
9382         gnu/java/locale/LocaleInformation_bn_IN.java,
9383         gnu/java/locale/LocaleInformation_br_FR.java,
9384         gnu/java/locale/LocaleInformation_bs_BA.java,
9385         gnu/java/locale/LocaleInformation_ca_ES.java,
9386         gnu/java/locale/LocaleInformation_cs_CZ.java,
9387         gnu/java/locale/LocaleInformation_cy_GB.java,
9388         gnu/java/locale/LocaleInformation_da_DK.java,
9389         gnu/java/locale/LocaleInformation_de_AT.java,
9390         gnu/java/locale/LocaleInformation_de_BE.java,
9391         gnu/java/locale/LocaleInformation_de_CH.java,
9392         gnu/java/locale/LocaleInformation_de_DE.java,
9393         gnu/java/locale/LocaleInformation_de_LU.java,
9394         gnu/java/locale/LocaleInformation_el_GR.java,
9395         gnu/java/locale/LocaleInformation_en_AU.java,
9396         gnu/java/locale/LocaleInformation_en_BW.java,
9397         gnu/java/locale/LocaleInformation_en_CA.java,
9398         gnu/java/locale/LocaleInformation_en_DK.java,
9399         gnu/java/locale/LocaleInformation_en_GB.java,
9400         gnu/java/locale/LocaleInformation_en_HK.java,
9401         gnu/java/locale/LocaleInformation_en_IE.java,
9402         gnu/java/locale/LocaleInformation_en_IN.java,
9403         gnu/java/locale/LocaleInformation_en_NZ.java,
9404         gnu/java/locale/LocaleInformation_en_PH.java,
9405         gnu/java/locale/LocaleInformation_en_SG.java,
9406         gnu/java/locale/LocaleInformation_en_US.java,
9407         gnu/java/locale/LocaleInformation_en_ZA.java,
9408         gnu/java/locale/LocaleInformation_en_ZW.java,
9409         gnu/java/locale/LocaleInformation_es_AR.java,
9410         gnu/java/locale/LocaleInformation_es_BO.java,
9411         gnu/java/locale/LocaleInformation_es_CL.java,
9412         gnu/java/locale/LocaleInformation_es_CO.java,
9413         gnu/java/locale/LocaleInformation_es_CR.java,
9414         gnu/java/locale/LocaleInformation_es_DO.java,
9415         gnu/java/locale/LocaleInformation_es_EC.java,
9416         gnu/java/locale/LocaleInformation_es_ES.java,
9417         gnu/java/locale/LocaleInformation_es_GT.java,
9418         gnu/java/locale/LocaleInformation_es_HN.java,
9419         gnu/java/locale/LocaleInformation_es_MX.java,
9420         gnu/java/locale/LocaleInformation_es_NI.java,
9421         gnu/java/locale/LocaleInformation_es_PA.java,
9422         gnu/java/locale/LocaleInformation_es_PE.java,
9423         gnu/java/locale/LocaleInformation_es_PR.java,
9424         gnu/java/locale/LocaleInformation_es_PY.java,
9425         gnu/java/locale/LocaleInformation_es_SV.java,
9426         gnu/java/locale/LocaleInformation_es_US.java,
9427         gnu/java/locale/LocaleInformation_es_UY.java,
9428         gnu/java/locale/LocaleInformation_es_VE.java,
9429         gnu/java/locale/LocaleInformation_et_EE.java,
9430         gnu/java/locale/LocaleInformation_eu_ES.java,
9431         gnu/java/locale/LocaleInformation_fa_IR.java,
9432         gnu/java/locale/LocaleInformation_fi_FI.java,
9433         gnu/java/locale/LocaleInformation_fo_FO.java,
9434         gnu/java/locale/LocaleInformation_fr_BE.java,
9435         gnu/java/locale/LocaleInformation_fr_CA.java,
9436         gnu/java/locale/LocaleInformation_fr_CH.java,
9437         gnu/java/locale/LocaleInformation_fr_FR.java,
9438         gnu/java/locale/LocaleInformation_fr_LU.java,
9439         gnu/java/locale/LocaleInformation_ga_IE.java,
9440         gnu/java/locale/LocaleInformation_gd_GB.java,
9441         gnu/java/locale/LocaleInformation_gl_ES.java,
9442         gnu/java/locale/LocaleInformation_gv_GB.java,
9443         gnu/java/locale/LocaleInformation_he_IL.java,
9444         gnu/java/locale/LocaleInformation_hi_IN.java,
9445         gnu/java/locale/LocaleInformation_hr_HR.java,
9446         gnu/java/locale/LocaleInformation_hu_HU.java,
9447         gnu/java/locale/LocaleInformation_id_ID.java,
9448         gnu/java/locale/LocaleInformation_it_CH.java,
9449         gnu/java/locale/LocaleInformation_it_IT.java,
9450         gnu/java/locale/LocaleInformation_iw_IL.java,
9451         gnu/java/locale/LocaleInformation_ja_JP.java,
9452         gnu/java/locale/LocaleInformation_ka_GE.java,
9453         gnu/java/locale/LocaleInformation_kl_GL.java,
9454         gnu/java/locale/LocaleInformation_ko_KR.java,
9455         gnu/java/locale/LocaleInformation_kw_GB.java,
9456         gnu/java/locale/LocaleInformation_lt_LT.java,
9457         gnu/java/locale/LocaleInformation_lv_LV.java,
9458         gnu/java/locale/LocaleInformation_mi_NZ.java,
9459         gnu/java/locale/LocaleInformation_mk_MK.java,
9460         gnu/java/locale/LocaleInformation_mr_IN.java,
9461         gnu/java/locale/LocaleInformation_mt_MT.java,
9462         gnu/java/locale/LocaleInformation_nl_BE.java,
9463         gnu/java/locale/LocaleInformation_nl_NL.java,
9464         gnu/java/locale/LocaleInformation_nn_NO.java,
9465         gnu/java/locale/LocaleInformation_no_NO.java,
9466         gnu/java/locale/LocaleInformation_oc_FR.java,
9467         gnu/java/locale/LocaleInformation_pl_PL.java,
9468         gnu/java/locale/LocaleInformation_pt_BR.java,
9469         gnu/java/locale/LocaleInformation_pt_PT.java,
9470         gnu/java/locale/LocaleInformation_ro_RO.java,
9471         gnu/java/locale/LocaleInformation_ru_RU.java,
9472         gnu/java/locale/LocaleInformation_ru_UA.java,
9473         gnu/java/locale/LocaleInformation_se_NO.java,
9474         gnu/java/locale/LocaleInformation_sk_SK.java,
9475         gnu/java/locale/LocaleInformation_sl_SI.java,
9476         gnu/java/locale/LocaleInformation_sq_AL.java,
9477         gnu/java/locale/LocaleInformation_sr_YU.java,
9478         gnu/java/locale/LocaleInformation_sv_FI.java,
9479         gnu/java/locale/LocaleInformation_sv_SE.java,
9480         gnu/java/locale/LocaleInformation_ta_IN.java,
9481         gnu/java/locale/LocaleInformation_te_IN.java,
9482         gnu/java/locale/LocaleInformation_tg_TJ.java,
9483         gnu/java/locale/LocaleInformation_tl_PH.java,
9484         gnu/java/locale/LocaleInformation_tr_TR.java,
9485         gnu/java/locale/LocaleInformation_uk_UA.java,
9486         gnu/java/locale/LocaleInformation_ur_PK.java,
9487         gnu/java/locale/LocaleInformation_uz_UZ.java,
9488         gnu/java/locale/LocaleInformation_vi_VN.java,
9489         gnu/java/locale/LocaleInformation_yi_US.java,
9490         gnu/java/locale/LocaleInformation_zh_CN.java,
9491         gnu/java/locale/LocaleInformation_zh_HK.java,
9492         gnu/java/locale/LocaleInformation_zh_SG.java,
9493         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
9494         info; from Classpath.
9495
9496         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
9497         isPaintPending): New methods.
9498         * gnu/awt/xlib/XFramePeer.java (getState, setState,
9499         setMaximizedBounds): New methods.
9500         (beginLayout, endLayout, isPaintPending): Likewise.
9501         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
9502         (requestFocus): Likewise.
9503         (isObscured): Likewise.
9504         (canDetermineObscurity): Likewise.
9505         (coalescePaintEvent): Likewise.
9506         (updateCursorImmediately): Likewise.
9507         (createVolatileImage): Likewise.
9508         (handlesWheelScrolling): Likewise.
9509         (createBuffers): Likewise.
9510         (getBackBuffer): Likewise.
9511         (flip): Likewise.
9512         (destroyBuffers): Likewise.
9513
9514         * Makefile.in: Rebuilt.
9515         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
9516         RobotPeer.java.
9517         * gnu/java/awt/GLightweightPeer.java,
9518         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9519         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9520         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9521         gnu/java/awt/peer/gtk/GtkFramePeer.java,
9522         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
9523         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9524         java/awt/dnd/peer/DragSourceContextPeer.java,
9525         java/awt/dnd/peer/DropTargetContextPeer.java,
9526         java/awt/peer/ButtonPeer.java,
9527         java/awt/peer/CheckboxMenuItemPeer.java,
9528         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
9529         java/awt/peer/ComponentPeer.java,
9530         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
9531         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
9532         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
9533         java/awt/peer/MenuBarPeer.java,
9534         java/awt/peer/MenuComponentPeer.java,
9535         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
9536         java/awt/peer/PopupMenuPeer.java,
9537         java/awt/peer/ScrollPanePeer.java,
9538         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
9539         java/awt/peer/TextComponentPeer.java,
9540         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
9541         New versions from Classpath.
9542         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
9543         * java/awt/peer/RobotPeer.java: Likewise.
9544
9545 2003-03-01  Mark Wielaard  <mark@klomp.org>
9546
9547         * java/io/ObjectInputStream.java: Reindent.
9548         * java/io/ObjectOutputStream.java: Likewise.
9549
9550 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
9551
9552         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
9553         jvalue for each argument. Simplify.
9554         * testsuite/libjava.jni/calls.c (docall),
9555         testsuite/libjava.jni/calls.java (longpb_f): check for argument
9556         misalignment.
9557
9558 2003-02-28  Mark Wielaard  <mark@klomp.org>
9559
9560         * Makefile.am (nat_source_files): Remove
9561         java/io/natObjectOutputStream.cc.
9562         * Makefile.in: Regenerated.
9563         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
9564         * java/io/ObjectStreamField.java (typename): New field.
9565         (ObjectStreamField(String, Class)): Initialize new field.
9566         (ObjectStreamField(String, String)): New Constructor.
9567         (getTypeCode): Use new field.
9568         (getTypeString): Use new field.
9569         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
9570         ObjectStreamExceptions. Remember and reset old BlockDataMode.
9571         Handle reading of Proxy classes. Never drain(), just write
9572         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
9573         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
9574         (flush): Call flush(), not just drain().
9575         (writeBoolean): Always use blockDataOutput.
9576         (writeByte): Likewise.
9577         (writeShort): Likewise.
9578         (writeChar): Likewise.
9579         (writeInt): Likewise.
9580         (writeLong): Likewise.
9581         (writeFloat): Likewise.
9582         (writeDouble): Likewise.
9583         (writeBytes): Likewise.
9584         (putfield (put(String,Object))): Throw IllegalArgumentException if
9585         field cannot be found.
9586         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
9587         (writeArraySizeAndElements): Write byte[] in one go.
9588         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
9589         set BlockDataMode to false.
9590         (annotateProxyClass): New method.
9591         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
9592         (getField): No longer native.
9593         (getMethod): Likewise.
9594         (setBlockDataMode): Always drain() on switch, return old mode.
9595         (static): New static code block.
9596         * java/io/natObjectOutputStream.cc: Removed.
9597         * java/io/ObjectInputStream.java (getField): No longer native.
9598         (getMethod): Likewise.
9599         (readObject): Remember and reset old BlockDataMode. Track whether
9600         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
9601         TC_LONGSTRING.
9602         (defaultReadObject): Set BlockDataMode to false during readFields.
9603         (resolveClass): Create new SecurityManager if necessary.
9604         Use Class.forName() if null ClassLoader found.
9605         (read(byte[],int,int): Copy remaining bytes to data before calling
9606         readNextBlock().
9607         (readFields): Set and reset BlockDataMode on call_read_method.
9608         Catch NoSuchFieldErrors.
9609         (setBlockDataMode): Return old mode.
9610         (static): New static code block.
9611         * java/io/natObjectInputStream.cc (getField): Removed.
9612         (getMethod): Likewise.
9613
9614 2003-02-27  Michael Koch  <konqueror@gmx.de>
9615
9616         * java/beans/Beans.java,
9617         java/beans/FeatureDescriptor.java
9618         java/beans/PropertyEditorManager.java:
9619         Reformated to GNU style.
9620
9621 2003-02-25  Michael Koch  <konqueror@gmx.de>
9622
9623         * gnu/java/nio/MappedByteFileBuffer.java,
9624         gnu/java/nio/natMappedByteFileBuffer.cc:
9625         New files, both are not compiled yet to get not noncompiling CVS.
9626
9627 2003-02-24  Tom Tromey  <tromey@redhat.com>
9628
9629         * java/util/prefs/AbstractPreferences.java (isUserNode):
9630         Implemented.
9631
9632 2003-02-24  Tom Tromey  <tromey@redhat.com>
9633
9634         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
9635         Deprecate.
9636         * java/lang/Thread.java (resume): Deprecate.
9637         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
9638         in @deprecated.
9639
9640 2003-02-23  Tom Tromey  <tromey@redhat.com>
9641
9642         * Makefile.in: Rebuilt.
9643         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
9644
9645 2003-02-23  Tom Tromey  <tromey@redhat.com>
9646
9647         * java/lang/natRuntime.cc (libraries_size, libraries_count,
9648         libraries): Removed.
9649         (add_library): Removed.
9650         (_load): Don't call add_library.
9651         (loadLibraryInternal): Likewise.
9652         (init): Likewise.
9653         (lookup_data): New struct.
9654         (find_symbol): New function.
9655         (_Jv_FindSymbolInExecutable): Use it.
9656
9657 2002-02-21  Anthony Green  <green@redhat.com>
9658
9659         * java/lang/Thread.java (Thread): New constructor taking stack
9660         size parameter (ignored for now).
9661         * Many methods: Merged GNU Classpath documentation.
9662
9663         * java/lang/Class.java (finalize): throws a Throwable.
9664
9665 2003-02-21  Mark Wielaard  <mark@klomp.org>
9666
9667         * java/util/zip/ZipEntry.java (setComment): Don't check length when
9668         argument is null.
9669
9670 2003-02-21  Mark Wielaard  <mark@klomp.org>
9671
9672         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
9673         then 65535 chars throw IllegalArgumentException.
9674
9675 2003-02-21  Mark Wielaard  <mark@klomp.org>
9676
9677         * java/util/zip/ZipFile.java (finalize): New method.
9678
9679 2003-02-21  Michael Koch  <konqueror@gmx.de>
9680
9681         * gnu/java/nio/natSocketChannelImpl.cc:
9682         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
9683         <cato@df.lth.se> for pointing to it.
9684
9685 2003-02-20  Raif S. Naffah <raif@fl.net.au>
9686
9687         * java/math/BigInteger.java (euclidInv): Take result array as an
9688         argument.  Updated all callers.
9689         (modInverse): Removed unused variables.
9690
9691 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
9692
9693         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
9694         config.status.
9695         * configure: Rebuilt.
9696
9697 2003-02-19  Michael Koch  <konqueror@gmx.de>
9698
9699         * gnu/java/nio/natSocketChannelImpl.cc:
9700         Added support for platforms without network support.
9701
9702 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9703
9704         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
9705         after config.h.  Use <> for consistency.
9706         * java/lang/natObject.cc: Likewise.
9707         * java/lang/natRuntime.cc: Likewise.
9708         * java/lang/natSystem.cc: Likewise.
9709         * java/util/natTimeZone.cc: Likewise.
9710         * win32.cc: Likewise.
9711         * include/posix.h (fcntl, socket, connect, close, bind, accept,
9712         listen, write, read): Undef to avoid interference from OS macros.
9713
9714 2003-02-19  Michael Koch  <konqueror@gmx.de>
9715
9716         * gnu/java/nio/ByteBufferImpl.java
9717         (ByteBufferImpl): Renamed two variables.
9718         * gnu/java/nio/CharBufferImpl.java
9719         (CharBufferImpl): Renamed two variables.
9720         * gnu/java/nio/DoubleBufferImpl.java
9721         (DoubleBufferImpl): Renamed two variables.
9722         * gnu/java/nio/FloatBufferImpl.java
9723         (FloatBufferImpl): Renamed two variables.
9724         * gnu/java/nio/IntBufferImpl.java
9725         (IntBufferImpl): Renamed two variables.
9726         * gnu/java/nio/LongBufferImpl.java
9727         (LongBufferImpl): Renamed two variables.
9728         * gnu/java/nio/ShortBufferImpl.java
9729         (ShortBufferImpl): Renamed two variables.
9730         * java/nio/CharBuffer.java
9731         (wrap): Fixed arguments to CharBufferImpl constructor.
9732         (hasArray): Only not read-only buffers have backing arrays.
9733         (length): Documentation added.
9734         (subSequence): Documentation added.
9735         * java/nio/DoubleBuffer.java
9736         (hasArray): Only not read-only buffers have backing arrays.
9737         * java/nio/FloatBuffer.java
9738         (hasArray): Only not read-only buffers have backing arrays.
9739         * java/nio/IntBuffer.java
9740         (hasArray): Only not read-only buffers have backing arrays.
9741         * java/nio/LongBuffer.java
9742         (hasArray): Only not read-only buffers have backing arrays.
9743         * java/nio/ShortBuffer.java
9744         (hasArray): Only not read-only buffers have backing arrays.
9745         
9746 2003-02-19  Michael Koch  <konqueror@gmx.de>
9747
9748         * javax/accessibility/AccessibleContext.java
9749         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
9750
9751 2003-02-19  Michael Koch  <konqueror@gmx.de>
9752
9753         * java/awt/ScrollPaneAdjustable.java: Reformated.
9754
9755 2003-02-19  Michael Koch <konqueror@gmx.de>
9756
9757         * gnu/awt/j2d/Graphics2DImpl.java
9758         (getFontRenderContext): New method.
9759         (drawGlyphVector): New method.
9760         * java/awt/Graphics2D.java
9761         (getFontRenderContext): New abstract method.
9762         (drawGlyphVector): New abstract method.
9763         
9764 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
9765
9766         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
9767         if necessary.
9768         
9769         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9770         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9771         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9772         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9773         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9774         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
9775         (setFont, gtkSetFont): add.
9776         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
9777         Propagate font to peer.  (setFont): add FIXME comment.
9778
9779         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9780         (gtkTextGetSize): fix height, width computation.
9781
9782         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
9783         Make X font name a bit less bogus.
9784
9785         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9786         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
9787
9788         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
9789         (processAdjustmentEvent): Adjust value.
9790
9791         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
9792         logic errors.
9793
9794         * java/awt/Component.java (setVisible, show, hide): Call show and
9795         hide methods in subclasses.
9796         (getPreferredSize): don't set prefSize before we have peer.
9797
9798         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
9799         Guess (0,0) if we don't have peer.
9800
9801
9802 2003-02-18  Michael Koch  <konqueror@gmx.de>
9803
9804         * java/nio/channels/FileChannel.java
9805         (toString): New implementation, added documentation.
9806         (map): Added exception documentation.
9807         (size): Added exception documentation.
9808         (write): New methods, documentation work.
9809         (read): New methods, documentation work.
9810         (implCloseChannel): Rewrote exception documentation.
9811         (force): Throws IOException, added documentation.
9812         (lock): New methods.
9813         (tryLock): New methods.
9814         (position): New methods.
9815         (transferTo): New method.
9816         (transferFrom): New method.
9817         (truncate): New method.
9818         * java/nio/channels/spi/SelectorProvider.java
9819         (provider): Implemented.
9820         * Makefile.am
9821         (ordinary_java_source_files): Added the following files:
9822         gnu/java/nio/DatagramChannelImpl.java
9823         gnu/java/nio/FileChannelImpl.java
9824         gnu/java/nio/PipeImpl.java
9825         gnu/java/nio/SelectionKeyImpl.java
9826         gnu/java/nio/SelectorImpl.java
9827         gnu/java/nio/SelectorProviderImpl.java
9828         gnu/java/nio/ServerSocketChannelImpl.java
9829         gnu/java/nio/SocketChannelImpl.java
9830         java/nio/channels/FileLock.java
9831         (nat_java_source_files): Added the following files:
9832         gnu/java/nio/natFileChannelImpl.cc
9833         gnu/java/nio/natSelectorImpl.cc
9834         gnu/java/nio/natSocketChannelImpl.cc
9835         * Makefile.in: Regenerated.
9836
9837 2003-02-17  Tom Tromey  <tromey@redhat.com>
9838
9839         * java/awt/image/ColorModel.java: Re-merged with Classpath.
9840         * java/awt/image/ImageFilter.java: Likewise.
9841
9842 2003-02-17  Raif S. Naffah <raif@fl.net.au>
9843
9844         * java/math/BigInteger.java (euclidInv): Return array of
9845         `BigInteger's.  Changed all callers.
9846
9847 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
9848
9849         * java/util/Properties.java (store): Move the code formerly in
9850         list(), into this method.
9851         (list (PrintStream)): Just call list (PrintWriter) with a 
9852         PrintWriter object constructed from the given PrintStream object.
9853         (list (PrintWriter)): Emulate the output of Properties.list()
9854         as found in JDK 1.3/1.4.
9855
9856 2003-02-17  Michael Koch  <konqueror@gmx.de>
9857
9858         * java/net/DatagramSocket.java
9859         (connect): Merged with classpath.
9860         (disconnect): Merged documentation with classpath.
9861         (receice): Merged documentation with classpath.
9862         (send): Merged documentation with classpath.
9863         
9864 2003-02-17  Michael Koch  <konqueror@gmx.de>
9865
9866         * java/awt/dnd/DragSourceContext.java
9867         (addDragSourceListener): Added documentation.
9868         * java/awt/dnd/DragSourceDragEvent.java
9869         (serialVersionUID): New member variable.
9870         (getDropAction): Reformated.
9871         * java/awt/dnd/DragSourceDropEvent.java
9872         (serialVersionUID): New member variable.
9873         (dropSuccess): Renamed from success for serialization issues.
9874         * java/awt/dnd/DragSourceEvent.java
9875         (serialVersionUID): New member variable.
9876         * java/awt/dnd/DropTarget.java
9877         (serialVersionUID): New member variable.
9878         (DropTarget): Implemented, documentation reworked.
9879         (setComponent): Documentation added.
9880         (getComponent): Documentation added.
9881         (setDefaultActions): Documentation added.
9882         (getDefaultActions): Documentation added.
9883         (addDropTargetListener): Documentation added.
9884         * java/awt/dnd/DropTargetContext.java
9885         (DropTargetContext): Documentation added.
9886         (TransferableProxy.TransferableProxy): New method.
9887         (dropComplete): Fixed documentation.
9888         (getTransferable): Fixed documentation.
9889         (createTransferableProxy): Implemented.
9890         * java/awt/dnd/DropTargetDragEvent.java
9891         (DropTargetDragEvent): Documentation added.
9892         (serialVersionUID): New member variable.
9893         (DropTargetDragEvent): Throw exceptions, documentation added.
9894         (acceptDrag): Implemented.
9895         (getCurrentDataFlavors): Implemented.3yy
9896         (getCurrentDataFlavorsAsList): Implemented.
9897         (isDataFlavorSupported): Implemented.
9898         (rejectDrag): Implemented.
9899         * java/awt/dnd/DropTargetDropEvent.java
9900         (DropTargetDropEvent): Documentation added.
9901         (serialVersionUID): New member variable.
9902         (actions): Renamed from srcActions for serialization issues.
9903         (isLocalTx): Renamed from isLocalTx for serialization issues.
9904         (DropTargetDropEvent): New implementation, throw exceptions,
9905         documentation added.
9906         (getCurrentDataFlavors): Implemented.
9907         (getCurrentDataFlavorsAsList): Implemented.
9908         (isDataFlavorSupported): Implemented.
9909         (getSourceActions): Implemented.
9910         (getDropAction): Implemented.
9911         (getTransferable): Implemented.
9912         (acceptDrop): Implemented.
9913         (rejectDrop): Implemented.
9914         * java/awt/dnd/DropTargetListener.java
9915         (drop): Fixed documentation.
9916         * java/awt/dnd/MouseDragGestureRecognizer.java
9917         (MouseDragGestureRecognizer): Documentation added.
9918
9919 2003-02-17  Michael Koch  <konqueror@gmx.de>
9920
9921         * java/awt/font/FontRenderContext.java,
9922         java/awt/font/ShapeGraphicAttribute.java,
9923         java/awt/font/MultipleMaster.java,
9924         java/awt/font/TransformAttribute.java,
9925         java/awt/font/GlyphJustificationInfo.java,
9926         java/awt/font/LineBreakMeasurer.java,
9927         java/awt/font/TextMeasurer.java,
9928         java/awt/font/TextLayout.java,
9929         java/awt/font/LineMetrics.java,
9930         java/awt/font/TextAttribute.java,
9931         java/awt/font/GlyphMetrics.java,
9932         java/awt/font/OpenType.java,
9933         java/awt/font/GlyphVector.java,
9934         java/awt/font/GraphicAttribute.java,
9935         java/awt/font/ImageGraphicAttribute.java,
9936         java/awt/font/NumericShaper.java: New files.
9937         * Makefile.am
9938         (awt_java_source_files): Added the following files:
9939         java/awt/font/FontRenderContext.java
9940         java/awt/font/ShapeGraphicAttribute.java
9941         java/awt/font/MultipleMaster.java
9942         java/awt/font/TransformAttribute.java
9943         java/awt/font/GlyphJustificationInfo.java
9944         java/awt/font/LineBreakMeasurer.java
9945         java/awt/font/TextMeasurer.java
9946         java/awt/font/TextLayout.java
9947         java/awt/font/LineMetrics.java
9948         java/awt/font/TextAttribute.java
9949         java/awt/font/GlyphMetrics.java
9950         java/awt/font/OpenType.java
9951         java/awt/font/GlyphVector.java
9952         java/awt/font/GraphicAttribute.java
9953         java/awt/font/ImageGraphicAttribute.java
9954         java/awt/font/NumericShaper.java
9955         * Makefile.in: Regenerated.
9956
9957 2003-02-17  Michael Koch  <konqueror@gmx.de>
9958
9959         * java/awt/print/Paper.java
9960         (Paper): Implements Cloneable.
9961         * java/awt/print/PrinterJob.java
9962         (setJobName): Return value must be void.
9963         (print): Throws PrinterException.
9964         
9965 2003-02-16  Tom Tromey  <tromey@redhat.com>
9966
9967         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
9968         variable.
9969
9970 2003-02-15  Michael Koch  <konqueror@gmx.de>
9971
9972         * java/awt/datatransfer/DataFlavor.java
9973         (isRepresentationClassByteBuffer): Removed try-catch block.
9974         (isRepresentationClassCharBuffer): Removed try-catch block.
9975         (isRepresentationClassReader): Removed try-catch block.
9976
9977 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9978
9979         * java/nio/charset/Charset.java
9980         (isRegistered): Fixed method args and implementation.
9981         * java/nio/charset/CharsetEncoder.java
9982         (unmappableCharacterAction): New method.
9983
9984 2003-02-15  Michael Koch  <konqueror@gmx.de>
9985
9986         * java/awt/CheckboxMenuItem.java
9987         (CheckBoxMenuItem): Dont implement Serializable.
9988         (getListeners): New method,
9989         (getItemListeners): New method.
9990         * java/awt/Choice.java
9991         (getListeners): New method,
9992         (getItemListeners): New method.
9993         * java/awt/Container.java
9994         (getListeners): Added exception documentation.
9995         (setFocusTraversalKeys): Throw exceptions, added documentattion.
9996         (getFocusTraversalKeys): Added documentation.
9997         (areFocusTraversalKeysSet): Added documentation.
9998         (applyComponentOrientation): Added documentation.
9999         * java/awt/ContainerOrderFocusTraversalPolicy.java
10000         (implicitDownCycleTraversal): Renamed from downCycle for
10001         serialization.
10002         (ContainerOrderFocusTraversalPolicy): Added documentation.
10003         (accept): Reformated.
10004         * java/awt/Dialog.java
10005         (Dialog): Dont implement Serializable.
10006         (Dialog): Added documentation.
10007         * java/awt/Font.java
10008         (Font): Dont use absolute class name.
10009         * java/awt/Frame.java
10010         (Frame): Font implement Serializable.
10011         * java/awt/List.java
10012         (getListeners): New method,
10013         (getActionListeners): New method.       
10014         (getItemListeners): New method.
10015         * java/awt/Menu.java
10016         (countItems): New deprecated method.
10017         * java/awt/Scrollbar.java
10018         (getListeners): New method,
10019         (getAdjustmentListeners): New method,
10020         * java/awt/TextComponent.java
10021         (getListeners): New method,
10022         (getTextListeners): New method,
10023         * java/awt/TextField.java
10024         (getListeners): New method,
10025         (getActionListeners): New method.       
10026         * java/awt/Window.java
10027         (windowFocusListener): New member variable.
10028         (windowStateListener): New member variable.
10029         (getWindowFocusListeners): New method.
10030         (getWindowStateListeners): New method.
10031         (addWindowFocusListener): New method.
10032         (addWindowStateListener): New method.
10033         (removeWindowFocusListener): New method.
10034         (removeWindowStateListener): New method.
10035         * java/awt/datatransfer/DataFlavor.java
10036         (isRepresentationClassByteBuffer): New method.
10037         (isRepresentationClassCharBuffer): New method.
10038         (isRepresentationClassReader): New method.
10039
10040 2003-02-14  Mark Wielaard  <mark@klomp.org>
10041
10042         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
10043         zero when there is an exponent and the significant is zero.
10044         (divide): Always set scale to newScale even in special ZERO case.
10045
10046 2003-02-14  Tom Tromey  <tromey@redhat.com>
10047
10048         * java/lang/System.java (properties): Use Properties.clone.
10049         (setProperties): Likewise.
10050
10051 2003-02-14  Michael Koch  <konqueror@gmx.de>
10052
10053         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
10054         * gnu/java/nio/ServerSocketChannelImpl.java
10055         (SocketAccept): Removed.
10056         (accept): Commented out use of SocketAccept.
10057
10058 2003-02-13  Tom Tromey  <tromey@redhat.com>
10059
10060         * verify.cc (state::seen_subrs): New field.
10061         (state::state): Initialize it.
10062         (state::clean_subrs): New method.
10063         (state::~state): Call it.
10064         (state::copy): Copy subroutine list.
10065         (state::add_subr): New method.
10066         (state::merge): Only register a change if the current subroutine
10067         hasn't yet been noted.
10068
10069 2003-02-13  Mark Wielaard  <mark@klomp.org>
10070
10071         * java/io/InputStreamReader.java (getEncoding): Return null when
10072         closed.
10073         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
10074
10075 2003-02-13  Mark Wielaard  <mark@klomp.org>
10076  
10077         * java/util/zip/InflaterInputStream.java (read): Return zero when len
10078         is zero.
10079
10080 2003-02-13  Mark Wielaard  <mark@klomp.org>
10081
10082         * java/io/BufferedOutputStream.java (write(int)): Only flush when
10083         next byte cannot be buffered.
10084
10085 2003-02-13  Michael Koch  <konqueror@gmx.de>
10086  
10087         * java/awt/Label.java
10088         (Label): Don't implement Serializable directly.
10089         (addNotify): Fixed typo in documentation.
10090         * java/awt/List.java
10091         (List): Don't implement Serializable directly.
10092         * java/awt/PopupMenu.java
10093         (PopupMenu): Don't implement Serializable directly.
10094         * java/awt/ScrollPane.java
10095         (ScrollPane): Don't implement Serializable directly.
10096         * java/awt/Scrollbar.java
10097         (Scrollbar): Don't implement Serializable directly.
10098         * java/awt/TextArea.java
10099         (preferredSize): Fixed method arguments.
10100         * java/awt/TextField.java
10101         (TextField): Don't implement Serializable directly.
10102         * java/awt/color/ICC_ColorSpace.java
10103         (fromCIOXYZ): Documentation added.
10104         (getMinValue): Documentation added.
10105         (getMaxValue): Documentation added.
10106         * java/awt/datatransfer/DataFlavor.java
10107         (isMimeTypeEqual): May not be final.
10108         (clone): Throws CloneNotSupportedException.
10109         (getReaderForText): Don't throws UnsupportedEncodingException.
10110
10111 2003-02-13  Michael Koch  <konqueror@gmx.de>
10112  
10113         * gnu/java/awt/peer/gtk/GdkGraphics.java
10114         (drawString): New stubbed method.
10115         * java/awt/Graphics.java
10116         (drawString): New method.
10117
10118 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
10119
10120         PR libgcj/9271:
10121         * java/security/SecureRandom.java (next): Avoid bias in results.
10122
10123 2003-02-13  Michael  <konqueror@gmx.de>
10124
10125         * gnu/java/nio/FileChannelImpl.java
10126         (lengthInternal): Must be native.
10127         (size): Check if channel is already closed.
10128         (implCloseChannel): Reformated.
10129         (read): w was unused, removed it.
10130         (read): Removed.
10131         (read): New method.
10132         (write): New method.
10133         (map): Check arguments.
10134         (force): Throws IOException, check if channel is closed.
10135         (transferTo): New method.
10136         (transferFrom): New method.
10137         (lock): New method.
10138         (tryLock): New method.
10139         (position): New method.
10140         (truncate): New method.
10141         (nio_mmap_file): Uncommented.
10142         (nio_munmap_file): Uncommented.
10143         (nio_msync): Uncommented.
10144         * gnu/java/nio/natFileChannelImpl.cc: New file.
10145         
10146 2003-02-13  Michael Koch  <konqueror@gmx.de>
10147
10148         * java/nio/ByteBuffer.java
10149         (endian): New member variable.
10150         (get): New methods.
10151         (equals): New method.
10152         (compareTo): New method.
10153         (order): New methods.
10154         (compact): New method.
10155         (isDirect): New method.
10156         (slice): New method.
10157         (duplicate): New method.
10158         (asReadOnlyBuffer): New method.
10159         (asCharBuffer): New method.
10160         (asDoubleBuffer): New method.
10161         (asFloatBuffer): New method.
10162         (asIntBuffer): New method.
10163         (asLongBuffer): New method.
10164         (asShortBuffer): New method.
10165         (get*): New methods.
10166         (put*): New methods.
10167         (toString): New method.
10168         * java/nio/CharBuffer.java
10169         (CharBuffer): Implement Comparable instead of Cloneable.
10170         (get): May not be final.
10171         (put): May not be final.
10172         
10173 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
10174
10175         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
10176         lastIndexOf( ) instead of indexOf( ) to find the colon before
10177         the line number, because Win32 file names might contain a 
10178         drive letter and a colon at the start of an absolute path.
10179
10180 2003-02-13  Michael Koch  <konqueror@gmx.de>
10181
10182         * gnu/java/nio/natSocketChannelImpl.cc
10183         (SocketConnect): This is not implemented yet.
10184         (SocketBind): This is not implemented yet.
10185
10186 2003-02-13  Michael Koch  <konqueror@gmx.de>
10187
10188         * gnu/java/nio/natByteBufferImpl.cc,
10189         gnu/java/nio/natCharBufferImpl.cc,
10190         gnu/java/nio/natDoubleBufferImpl.cc,
10191         gnu/java/nio/natFloatBufferImpl.cc,
10192         gnu/java/nio/natIntBufferImpl.cc,
10193         gnu/java/nio/natLongBufferImpl.cc,
10194         gnu/java/nio/natShortBufferImpl.cc:
10195         Added copyright and license.
10196         * java/nio/DoubleBuffer.java,
10197         java/nio/FloatBuffer.java,
10198         java/nio/IntBuffer.java,
10199         java/nio/LongBuffer.java,
10200         java/nio/ShortBuffer.java
10201         (array): Throw exceptions.
10202         (arrayOffset): Throw exceptions.
10203
10204 2003-02-13  Michael Koch  <konqueror@gmx.de>
10205  
10206         * gnu/java/util/prefs/FileBasedFactory.java,
10207         gnu/java/util/prefs/MemmoryBasedFactory.java,
10208         gnu/java/util/prefs/MemoryBasedPreferences.java,
10209         gnu/java/util/prefs/NodeReader.java,
10210         gnu/java/util/prefs/NodeWriter.java,
10211         java/util/prefs/AbstractPreferences.java,
10212         java/util/prefs/BackingStoreException.java,
10213         java/util/prefs/InvalidPreferencesFormatException.java,
10214         java/util/prefs/NodeChangeEvent.java,
10215         java/util/prefs/NodeChangeListener.java,
10216         java/util/prefs/PreferenceChangeEvent.java,
10217         java/util/prefs/PreferenceChangeListener.java,
10218         java/util/prefs/Preferences.java,
10219         java/util/prefs/PreferencesFactory.java:
10220         New files, all merged from classpath.
10221         * Makefile.am
10222         (ordinary_java_source_files): Added the following files:
10223         gnu/java/util/prefs/FileBasedFactory.java,
10224         gnu/java/util/prefs/MemmoryBasedFactory.java,
10225         gnu/java/util/prefs/MemoryBasedPreferences.java,
10226         gnu/java/util/prefs/NodeReader.java,
10227         gnu/java/util/prefs/NodeWriter.java,
10228         (core_java_source_files): Added the following files:
10229         java/util/prefs/AbstractPreferences.java,
10230         java/util/prefs/BackingStoreException.java,
10231         java/util/prefs/InvalidPreferencesFormatException.java,
10232         java/util/prefs/NodeChangeEvent.java,
10233         java/util/prefs/NodeChangeListener.java,
10234         java/util/prefs/PreferenceChangeEvent.java,
10235         java/util/prefs/PreferenceChangeListener.java,
10236         java/util/prefs/Preferences.java,
10237         java/util/prefs/PreferencesFactory.java
10238         * Makefile.in: Regenerated.
10239  
10240 2003-02-13  Michael Koch  <konqueror@gmx.de>
10241
10242         * java/net/NetPermission.java
10243         (NetPermission): Make doucmentation match the method declaration.
10244         * java/net/NetworkInterface.java
10245         (equals): Reformated for GNU coding style.
10246         * java/net/ServerSocket.java: Merged with classpath.
10247         * java/net/Socket.java: Partly merged with classpath (Added some @since).
10248         * java/net/SocketImpl.java
10249         (localPort): Merged with classpath (initialize with -1).
10250         * java/net/SocketPermission.java: Merged with classpath (reindented).
10251         * java/net/URLDecoder.java: Merged with classpath (reindented).
10252
10253 2003-02-13  Michael Koch  <konqueror@gmx.de>
10254
10255         * java/awt/GridBagConstraints.java
10256         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
10257         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
10258         * java/awt/KeyboardFocusManager.java
10259         (setGlobalCurrentFocusCycleRoot): Must be public.
10260         * java/awt/MenuComponent.java
10261         (MenuComponent): Must be public.
10262         * java/awt/Toolkit.java:
10263         Added some empty lines to make documentation more readable.
10264         (getFontPeer): Added @deprecated.
10265         (getColorModel): Added exception documentation.
10266         (getProperty): Fixed documentation.
10267  
10268 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
10269
10270         * configure.host (alpha*-*): Default to -mieee.
10271         * configure.in (IEEESPEC): New.
10272         * libgcj.spec.in (jc1): Add IEEESPEC.
10273         * configure: Rebuild.
10274
10275 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
10276
10277         * include/win32.h: Include ws2tcpip.h instead of
10278         winsock.h to obtain definition of the socklen_t type.
10279         Remove IP_TOS definition - not needed with ws2tcpip.h
10280         (_Jv_connect): Correct slight formatting error.
10281
10282 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
10283
10284         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
10285         size of the arguments for a JNI function. For Win32,
10286         modify to search for all forms of possible exported
10287         names of an stdcall JNI function.
10288         (_Jv_JNIMethod::call): Modify to calculate the size
10289         of the arguments passed to a JNI function and pass
10290         it to _Jv_LookupJNIMethod.
10291
10292 2003-02-12  Michael Koch  <konqueror@gmx.de>
10293
10294         * java/nio/channels/Channels.java: New file.
10295         * Makefile.am
10296         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
10297         * Makefile.in: Regenerated.
10298
10299 2003-02-12  Michael Koch  <konqueror@gmx.de>
10300
10301         * java/nio/ByteBuffer.java
10302         (allocate): Implemented.
10303         (wrap): Implemented.
10304         * java/nio/CharBuffer.java:
10305         Some documentation added and reworked.
10306         (endian): Removed.
10307         (allocate): Implemented.
10308         (wrap): Implemented.
10309         (array): Throw exceptions.
10310         (arrayOffset): Throw exceptions.
10311         (toString): Implemented.
10312         (length): Implemented.
10313         (put): Implemented.
10314         (charAt): Implemented.
10315
10316 2003-02-11  John Leuner  <jewel@debian.org>
10317
10318         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
10319         reads from end of file.
10320
10321 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
10322
10323         * java/io/natFileDescriptorWin32.cc 
10324         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
10325         returns with Win32 error code ERROR_BROKEN_PIPE.
10326
10327 2003-02-11  Michael Koch  <konqueror@gmx.de>
10328
10329         * Makefile.in
10330         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
10331
10332 2003-02-11  Michael Koch  <konqueror@gmx.de>
10333
10334         * gnu/java/nio/ByteBufferImpl.java:
10335         Reformated and removed some code.
10336         (backing_buffer): Removed.      
10337         (array_offset): Removed.
10338         (ro): Renamed to readOnly.
10339         (ByteBufferImpl): Use parent constructor, initialize readOnly.
10340         * gnu/java/nio/CharBufferImpl.java:
10341         Reformated and removed some code.
10342         (array_offset): Removed.
10343         (ro): Renamed to readOnly.
10344         (CharBufferImpl): Use parent constructor, initialize readOnly.
10345         (inc_pos): Removed.
10346         (order): New method.
10347         * gnu/java/nio/DoubleBufferImpl.java:
10348         Reformated and removed some code.
10349         (array_offset): Removed.
10350         (ro): Renamed to readOnly.
10351         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
10352         (inc_pos): Removed.
10353         (order): New method.
10354         * gnu/java/nio/FloatBufferImpl.java:
10355         Reformated and removed some code.
10356         (array_offset): Removed.
10357         (ro): Renamed to readOnly.
10358         (FloatBufferImpl): Use parent constructor, initialize readOnly.
10359         (inc_pos): Removed.
10360         (order): New method.
10361         * gnu/java/nio/IntBufferImpl.java:
10362         Reformated and removed some code.
10363         (array_offset): Removed.
10364         (ro): Renamed to readOnly.
10365         (IntBufferImpl): Use parent constructor, initialize readOnly.
10366         (inc_pos): Removed.
10367         (order): New method.
10368         * gnu/java/nio/LongBufferImpl.java:
10369         Reformated and removed some code.
10370         (array_offset): Removed.
10371         (ro): Renamed to readOnly.
10372         (LongBufferImpl): Use parent constructor, initialize readOnly.
10373         (inc_pos): Removed.
10374         (order): New method.
10375         * gnu/java/nio/ShortBufferImpl.java:
10376         Reformated and removed some code.
10377         (array_offset): Removed.
10378         (ro): Renamed to readOnly.
10379         (ShortBufferImpl): Use parent constructor, initialize readOnly.
10380         (inc_pos): Removed.
10381         (order): New method.
10382         * Makefile.am
10383         (ordinary_java_source_files): Added the following files:
10384         gnu/java/nio/ByteBufferImpl.java
10385         gnu/java/nio/CharBufferImpl.java
10386         gnu/java/nio/DoubleBufferImpl.java
10387         gnu/java/nio/FloatBufferImpl.java
10388         gnu/java/nio/IntBufferImpl.java
10389         gnu/java/nio/LongBufferImpl.java
10390         gnu/java/nio/ShortBufferImpl.java
10391         java/nio/DoubleBuffer.java
10392         java/nio/FloatBuffer.java
10393         java/nio/IntBuffer.java
10394         java/nio/LongBuffer.java
10395         java/nio/ShortBuffer.java
10396         (nat_source_files): Added the following files:
10397         gnu/java/nio/natByteBufferImpl.cc
10398         gnu/java/nio/natCharBufferImpl.cc
10399         gnu/java/nio/natDoubleBufferImpl.cc
10400         gnu/java/nio/natFloatBufferImpl.cc
10401         gnu/java/nio/natIntBufferImpl.cc
10402         gnu/java/nio/natLongBufferImpl.cc
10403         gnu/java/nio/natShortBufferImpl.cc
10404         * Makefile.in: Regenerated.
10405
10406 2003-02-11  Michael Koch  <konqueror@gmx.de>
10407
10408         * gnu/java/nio/natCharBufferImpl.cc
10409         (nio_cast): Removed.
10410         (nio_put_*): Removed.
10411         (nio_get_*): Removed.
10412         * gnu/java/nio/natDoubleBufferImpl.cc
10413         (nio_cast): Removed.
10414         (nio_put_*): Removed.
10415         (nio_get_*): Removed.
10416         * gnu/java/nio/natFloatBufferImpl.cc
10417         (nio_cast): Removed.
10418         (nio_put_*): Removed.
10419         (nio_get_*): Removed.
10420         * gnu/java/nio/natIntBufferImpl.cc
10421         (nio_cast): Removed.
10422         (nio_put_*): Removed.
10423         (nio_get_*): Removed.
10424         * gnu/java/nio/natLongBufferImpl.cc
10425         (nio_cast): Removed.
10426         (nio_put_*): Removed.
10427         (nio_get_*): Removed.
10428         * gnu/java/nio/natShortBufferImpl.cc
10429         (nio_cast): Removed.
10430         (nio_put_*): Removed.
10431         (nio_get_*): Removed.
10432         * gnu/java/nio/SelectorProviderImpl.java
10433         (openDatagramChannel): Throws IOException.
10434         (openPipe): Throws IOException.
10435         (openSelector): Throws IOException.
10436         (openServerSocketChannel): Throws IOException.
10437         (openSocketChannel): Throws IOException.
10438         * gnu/java/nio/ServerSocketChannelImpl.java
10439         (ServerSocketChannelImpl): Throws IOException.
10440         (implCloseSelectableChannel): Throws IOException.
10441         (implConfigureBlocking): Throws IOException.
10442         * java/nio/ByteBuffer.java
10443         (readOnly): Removed.
10444         (hasArray): Use isReadOnly() instead of readOnly.
10445         (array): Use isReadOnly() instead of readOnly.
10446         (arrayOffset): Use isReadOnly() instead of readOnly.
10447         * java/nio/CharBuffer.java
10448         (CharBuffer): Implements Cloneable and CharSequence.
10449
10450 2003-02-11  Michael Koch  <konqueror@gmx.de>
10451
10452         * java/nio/DoubleBuffer.java
10453         (DoubleBuffer): Implements Comparable.
10454         (endian): Removed.
10455         (array_offset): New member variable.
10456         (DoubleBuffer): New constuctor.
10457         (get): May not be final.
10458         (put): May not be final.
10459         (arrayOffset): Implemented.
10460         (order): Made abstract.
10461         (order): Removed.
10462         (as*Buffer): Removed.
10463         (get*): Removed.
10464         (put*): Removed.
10465         * java/nio/FloatBuffer.java
10466         (FloatBuffer): Implements Comparable.
10467         (endian): Removed.
10468         (array_offset): New member variable.
10469         (FloatBuffer): New constuctor.
10470         (get): May not be final.
10471         (put): May not be final.
10472         (arrayOffset): Implemented.
10473         (order): Made abstract.
10474         (order): Removed.
10475         (as*Buffer): Removed.
10476         (get*): Removed.
10477         (put*): Removed.
10478         * java/nio/IntBuffer.java
10479         (IntBuffer): Implements Comparable.
10480         (endian): Removed.
10481         (array_offset): New member variable.
10482         (IntBuffer): New constuctor.
10483         (get): May not be final.
10484         (put): May not be final.
10485         (arrayOffset): Implemented.
10486         (order): Made abstract.
10487         (order): Removed.
10488         (as*Buffer): Removed.
10489         (get*): Removed.
10490         (put*): Removed.
10491         * java/nio/LongBuffer.java
10492         (LongBuffer): Implements Comparable.
10493         (endian): Removed.
10494         (array_offset): New member variable.
10495         (LongBuffer): New constuctor.
10496         (get): May not be final.
10497         (put): May not be final.
10498         (arrayOffset): Implemented.
10499         (order): Made abstract.
10500         (order): Removed.
10501         (as*Buffer): Removed.
10502         (get*): Removed.
10503         (put*): Removed.
10504         * java/nio/ShortBuffer.java
10505         (ShortBuffer): Implements Comparable.
10506         (endian): Removed.
10507         (array_offset): New member variable.
10508         (ShortBuffer): New constuctor.
10509         (get): May not be final.
10510         (put): May not be final.
10511         (arrayOffset): Implemented.
10512         (order): Made abstract.
10513         (order): Removed.
10514         (as*Buffer): Removed.
10515         (get*): Removed.
10516         (put*): Removed.
10517
10518 2003-02-11   Michael Koch  <konqueror@gmx.de>
10519
10520         * java/nio/channels/SelectionKey.java
10521         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
10522         values.
10523
10524 2003-02-11  Michael Koch  <konqueror@gmx.de>
10525
10526         * java/nio/channels/DatagramChannel.java
10527         (write): Throws IOException.
10528         (connect): Throws IOException.
10529         (disconnect): Throws IOException.
10530         (read): Throws IOException.
10531         (receive): Throws IOException.
10532         (send): Throws IOException.
10533         * java/nio/channels/Pipe.java
10534         (open): Throws IOException.
10535         * java/nio/channels/SelectableChannel.java
10536         (configureBlocking): Throws IOException.
10537         * java/nio/channels/ServerSocketChannel.java
10538         (accept): Throws IOException.
10539         * java/nio/channels/SocketChannel.java
10540         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
10541         GatheringByteChannel.
10542         (read): Throws IOException.
10543         (write): Throws IOException.
10544         (finishConnect): Throws IOException.
10545         * java/nio/channels/spi/AbstractInterruptibleChannel.java
10546         (end): Throws AsynchronousCloseException.
10547         * java/nio/channels/spi/AbstractSelectableChannel.java
10548         (configureBlocking): Throws IOException.
10549         (implCloseChannel): Throws IOException.
10550         (implCloseSelectableChannel): Throws IOException.
10551         (implConfigureBlocking): Throws IOException.
10552         * java/nio/channels/spi/SelectorProvider.java
10553         (openDatagramChannel): Throws IOException.
10554         (openPipe): Throws IOException.
10555         (openSelector): Throws IOException.
10556         (openServerSocketChannel): Throws IOException.
10557         (openSocketChannel): Throws IOException.
10558
10559 2003-02-11  Michael Koch  <konqueror@gmx.de>
10560
10561         * gnu/java/nio/FileLockImpl.java,
10562         java/nio/channels/FileLock.java: New files.
10563
10564 2003-02-11  Michael Koch  <konqueror@gmx.de>
10565
10566         * java/nio/charset/IllegalCharsetNameException.java
10567         (serialVersionUID): New member variable.
10568         (charsetName): New member variable.
10569         (IllegalCharsetException): New implementation.
10570         (getCharsetName): New implementation.
10571         * java/nio/charset/UnsupportedCharsetException.java
10572         (serialVersionUID): New member variable.
10573         (charsetName): New member variable.
10574         (UnsupportedCharsetException): New implementation.
10575         (getCharsetName): New implementation.
10576
10577 2003-02-10  Tom Tromey  <tromey@redhat.com>
10578
10579         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
10580         (ex): Renamed from sqlException.
10581
10582 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
10583
10584         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
10585         method used to ensure seeding has occurred and that a specific 
10586         seed can be set and used.
10587
10588 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
10589
10590         * java/lang/Win32Process.java (destroy): Declare as native.
10591         (hasExited): New native method.
10592         (exitValue): Define.
10593         (getErrorStream): Likewise.
10594         (getInputStream): Likewise.
10595         (getOutputStream): Likewise.
10596         (waitFor): Declare as native.
10597         (startProcess): New native method.
10598         (cleanup): Likewise.
10599         (ConcreteProcess): Define.
10600         (outputStream, inputStream, errorStream): New members.
10601         (procHandle, exitCode): Likewise.
10602
10603         * java/lang/natWin32Process.cc
10604         (java::lang::ConcreteProcess::cleanup): Define.
10605         (java::lang::ConcreteProcess::destroy): Likewise.
10606         (java::lang::ConcreteProcess::hasExited): Likewise.
10607         (java::lang::ConcreteProcess::waitFor): Likewise.
10608         (new_string): Likewise.
10609         (java::lang::ConcreteProcess::startProcess): Likewise.
10610
10611 2003-02-10  Raif S. Naffah <raif@fl.net.au>
10612
10613         * java/math/BigInteger.java:
10614         Updated notice to include years 2002 and 3.
10615         Added 2 private (int) arrays with values from the HAC (Handbook of
10616         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
10617         and t[] that contains nbr. of tests --used in isProbablePrime().
10618
10619         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
10620
10621         * java/math/BigInteger.java (make(int[],int), add(int,int),
10622         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
10623         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
10624         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
10625         make(long).
10626
10627         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
10628         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
10629         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
10630         BIs and returns void.
10631         (modInverse(BI)): Use new signatures of euclidInv().
10632
10633         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
10634         static small primes instead of remainder().
10635         Use pre-computed max nbr of trials based on bitlength of BI to test.
10636         Use pre-computed small primes for the trial tests instead of random
10637         numbers.
10638
10639         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
10640         not used.
10641
10642         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
10643         invoacation of MPN.chars_per_word().  not used.
10644
10645         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
10646         local var and used where needed.
10647
10648         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
10649         Combined declaration with initialisation of locals.
10650         Removed unused var.
10651
10652         * java/math/BigInteger.java: Style changes
10653         (pow(int)): Removed 'else' keyword.
10654         (toString(int)): idem.
10655         (doubleValue()): idem.
10656         (bitLength()): idem.
10657         (equals(Object)): Use static methods name in same class w/o prepending
10658         class name.
10659         (doubleValue()): idem.
10660         (setNegative(BI)): idem.
10661         (negate()): idem.
10662         (and(BI,int)): idem.
10663         (and(BI)): idem.
10664         (gcd(BI)): idem.
10665         (byteArrayToIntArray()): Removed casting to (int). this is
10666         std. behaviour.
10667         (canonicalize()): idem.
10668         (alloc(int)): Always instantiate a new BI.
10669
10670 2003-02-10  Tom Tromey  <tromey@redhat.com>
10671
10672         * java/sql/Timestamp.java (compareTo(Object)): New method.
10673         (compareTo(Timestamp)): Likewise.
10674         (serialVersionUID): Updated.
10675
10676 2003-02-07  Mark Wielaard  <mark@klomp.org>
10677
10678         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
10679         when verify is true.
10680         (JarFile(File, boolean)): Likewise.
10681         (manifestRead): Set manifestRead field correctly.
10682
10683 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10684
10685         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
10686         tests; see patch #1016 on Savannah.
10687
10688 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10689
10690         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
10691         (toString): do not return Strings starting with . and - erroneously.
10692         Improves Mauve results to 12 of 600 instead of 16 of 338 on
10693         DiagBigDecimal.
10694
10695 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10696
10697         * java/beans/PropertyDescriptor.java
10698         (PropertyDescriptor(String, Class)): Sanity check getter and setter
10699         methods.
10700         (PropertyDescriptor(String, Class, String, String)): Likewise.
10701         (PropertyDescriptor(String, Method, Method): Factor out getter and
10702         setter method sanity checks into new method.
10703         (findMethods): Don't do parameter sanity checking of get method here.
10704         (checkMethods): New method.
10705
10706 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10707
10708         * java/beans/PropertyDescriptor.java: Reformat.
10709
10710 2003-02-04  Tom Tromey  <tromey@redhat.com>
10711
10712         * java/io/PipedOutputStream.java (flush): Declare as throwing
10713         IOException.
10714         (close): Likewise.
10715         * java/io/PipedWriter.java (close): Declare as throwing
10716         IOException.
10717         * java/io/StringWriter.java (close): Declare as throwing
10718         IOException.
10719
10720 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10721
10722         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
10723         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
10724         could also have been exported as "JNI_OnLoad@8" (MinGW) or
10725         "_JNI_OnLoad@8" (MSVC).
10726
10727 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10728
10729         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
10730         convention on Win32 to invoke native JNI methods.
10731
10732 2003-02-03  Andrew Haley  <aph@redhat.com>
10733
10734         * configure.host (x86_64): Enable interpreter.
10735
10736 2003-02-03  Andrew Haley  <aph@redhat.com>
10737
10738         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
10739         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
10740         * configure.in (BACKTRACESPEC): New.
10741         * configure: Regenerate.
10742
10743 2003-02-02  Tom Tromey  <tromey@redhat.com>
10744
10745         * configure: Rebuilt.
10746         * configure.in (TOOLKIT) [xlib]: Set correctly.
10747
10748         * Makefile.in: Rebuilt.
10749         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
10750         libstdc++.
10751
10752 2003-01-31  Mark WIelaard  <mark@klomp.org>
10753
10754         * Makefile.in: Rebuilt.
10755         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
10756
10757 2003-01-31  Tom Tromey  <tromey@redhat.com>
10758
10759         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
10760         cast to element type.
10761         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
10762         (_Jv_JNI_GetObjectArrayElement): Likewise.
10763
10764         * Makefile.in: Rebuilt.
10765         * Makefile.am (cond_x_ltlibrary): Renamed library to
10766         lib-gnu-awt-xlib.la.
10767         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
10768         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
10769         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
10770         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
10771         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
10772         (lib_gnu_awt_xlib_la_LINK): Likewise.
10773         (install-exec-hook): Removed.
10774         (lib-gnu-awt-xlib.la): Renamed.
10775
10776 2003-01-31  Tom Tromey  <tromey@redhat.com>
10777
10778         * aclocal.m4, configure, include/config.h.in: Rebuilt.
10779         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
10780         aclocal.m4 and lost in some merge.
10781
10782         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
10783         Don't try to find graphics configuration.
10784         * java/awt/Toolkit.java (default_toolkit_name): Use new
10785         Configuration entry.
10786         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
10787         New global.
10788         * configure: Rebuilt.
10789         * configure.in (TOOLKIT): New subst.
10790         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
10791         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
10792         directory.  Make output directories for .c files.
10793         * Makefile.in: Rebuilt.
10794         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
10795         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
10796         (all_java_source_files): Added new sources.
10797         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
10798         (gtk_c_files): New macro.
10799         (gtk_c_source_files): New macro.
10800         (cond_gtk_ltlibrary): New macro.
10801         ($(gtk_c_files)): New target.
10802         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
10803         (gtk_awt_peer_sources): New macro.
10804         (gtk_c_headers): New macro.
10805         ($(gtk_c_headers)): New target.
10806         (ACLOCAL_AMFLAGS): New macro.
10807         * gtk.m4, glib.m4, libart.m4: New files.
10808         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
10809         gnu/java/awt/peer/gtk/GdkGraphics.java,
10810         gnu/java/awt/peer/gtk/GtkArg.java,
10811         gnu/java/awt/peer/gtk/GtkArgList.java,
10812         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10813         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
10814         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
10815         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
10816         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
10817         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10818         gnu/java/awt/peer/gtk/GtkClipboard.java,
10819         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10820         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10821         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
10822         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
10823         gnu/java/awt/peer/gtk/GtkFontPeer.java,
10824         gnu/java/awt/peer/gtk/GtkFramePeer.java,
10825         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
10826         gnu/java/awt/peer/gtk/GtkImage.java,
10827         gnu/java/awt/peer/gtk/GtkImagePainter.java,
10828         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
10829         gnu/java/awt/peer/gtk/GtkListPeer.java,
10830         gnu/java/awt/peer/gtk/GtkMainThread.java,
10831         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
10832         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
10833         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
10834         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
10835         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
10836         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
10837         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10838         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
10839         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
10840         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10841         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10842         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10843         gnu/java/awt/peer/gtk/GtkToolkit.java,
10844         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10845         gnu/java/awt/peer/gtk/TestAWT.java,
10846         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
10847         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
10848         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
10849         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10850         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
10851         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
10852         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
10853         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
10854         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
10855         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
10856         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
10857         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
10858         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
10859         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
10860         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
10861         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
10862         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
10863         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
10864         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
10865         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
10866         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
10867         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
10868         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
10869         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10870         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
10871         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
10872         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
10873         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
10874         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
10875         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
10876         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
10877         jni/classpath/native_state.c, jni/classpath/native_state.h,
10878         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
10879
10880 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
10881
10882         * java/util/Properties.java (load): Ignore backslash before EOF.
10883
10884 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
10885
10886         * java/lang/natClass.cc (initializeClass): Check tables when
10887         (state == JV_STATE_IN_PROGRESS).
10888         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
10889         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
10890         interpreted classes.
10891         (linkClass0): Use _Jv_WaitForState.
10892
10893 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
10894
10895         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
10896         object when finished.
10897
10898 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
10899
10900         * libjava/configure.host: Disable can_unwind_signal on darwin.
10901
10902 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
10903
10904         Fixes PR java/9254:
10905         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
10906         additionally containing id of the owner thread as well as
10907         the number of nested times the thread has acquired the mutex.
10908         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
10909         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
10910         (_Jv_MutexUnlock): Check if really the owner thread, reset
10911         owner thread id to 0 before leaving, if leaving for the last
10912         time.
10913         (_Jv_MutexLock): Set owner thread id in the mutex and increment
10914         refcount.
10915         (_Jv_ThreadYield): Yield using a call to Sleep(0).
10916         * win32-threads.cc (_Jv_CondWait): Check if really owner of
10917         the passed mutex.
10918         Pass handle of the broadcast event, instead of a pointer to it
10919         in Win32 ResetEvent( ) call.
10920         Remove incorrect return values.
10921         (_Jv_CondDestroy): Close both event handles and delete
10922         critical section.
10923         (_Jv_CondNotify): Check if really the owner thread.
10924         (_Jv_CondNotifyAll): Check if really the owner thread.
10925         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
10926         (really_start): Use SetEvent( ) to signal daemon_cond.
10927         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
10928         WaitForSingleObject( ) instead to wait for daemon_cond to be
10929         signalled.
10930
10931 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
10932
10933         * configure.in: Specifically define HAVE_BACKTRACE if building
10934         for MinGW.
10935         * include/win32.h: Remove HAVE_BACKTRACE definition.
10936         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
10937         * configure: Rebuilt.
10938
10939 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
10940
10941         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
10942         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
10943         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
10944         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
10945         * Makefile.in, configure: Rebuilt.
10946
10947 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
10948
10949         Fixes PR java/9253:
10950         * java/io/natFileWin32.cc (performList): Append only "*.*"
10951         if the canonical file path already has a "\" at the end.
10952
10953 2003-01-24  Tom Tromey  <tromey@redhat.com>
10954
10955         * defineclass.cc (handleMethodsEnd): Precompute code for static
10956         method.
10957         (handleCodeAttribute): Likewise.
10958         * resolve.cc (ncode): Use run_class for unsynchronized static
10959         methods.
10960         * include/java-interp.h (class _Jv_InterpMethod): Declare
10961         run_class.
10962         * interpret.cc (run_synch_class): Initialize class.
10963         (run) [insn_invokestatic]: Don't initialize class.
10964         [insn_anewarray]: Likewise.
10965         [insn_multianewarray]: Likewise.
10966         (run_class): New function.
10967
10968 2003-01-24  Tom Tromey  <tromey@redhat.com>
10969
10970         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
10971         comment.
10972
10973 2003-01-22  Andrew Haley  <aph@redhat.com>
10974
10975         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
10976         * configure.host (CHECKREFSPEC): Define for x86_64.
10977
10978 2003-01-21  Tom Tromey  <tromey@redhat.com>
10979
10980         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
10981         search at 2, not 3.
10982
10983 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
10984
10985         * java/io/natFileWin32.cc (isAbsolute): Check path length before
10986         looking at any characters.
10987         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
10988         be used.
10989         (isAbsolute): Check path's length as well.
10990
10991 2003-01-17  Mark Wielaard  <mark@klomp.org>
10992
10993         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
10994         (nat_source_files): Add natVMObjectStreamClass.cc.
10995         * Makefile.in: Regenerated.
10996         * gcj/javaprims.h (namespace java): Regenerated.
10997         * java/io/ObjectStreamClass.java (getClassUID): Call
10998         VMObjectStreamClass.hasClassInitializer().
10999         (hasClassInitializer): Removed.
11000         * java/io/VMObjectStreamClass.java: New class.
11001         * java/io/natVMObjectStreamClass.cc: New file.
11002         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
11003
11004 2003-01-16  Mark Wielaard  <mark@klomp.org>
11005
11006         * java/net/SocketImpl.java (toString): Don't explicitly call
11007         toString() on possible null address.
11008
11009 2003-01-16  Michael Koch  <konqueror@gmx.de>
11010
11011         * java/net/MulticastSocket.java
11012         (setInterface): Reindented.
11013
11014 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11015
11016         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
11017         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
11018         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
11019         translateY arguments.  Implement.
11020         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
11021         down translation arguments.
11022         (drawPolyline, drawPolygon): Fix incorrect tests.
11023         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
11024         translateX and translateY arguments.
11025
11026 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11027
11028         * Makefile.in: Rebuilt.
11029         * Makefile.am (xlib_includes): New macro.
11030         (INCLUDES): Use it.
11031
11032 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11033
11034         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
11035         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
11036         16-bit display mode.
11037
11038 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11039
11040         * java/awt/CardLayout.java (show): Rewrote.
11041         (gotoComponent): Removed `target' argument.  Simplified code.
11042         Don't pre-compute `choice' unless `what' is FIRST or LAST.
11043         Changed all callers.
11044         (NONE): Removed.
11045         
11046 2003-01-14  Michael Koch  <konqueror@gmx.de>
11047
11048         * java/net/InetSocketAddress.java
11049         (serialVersionUID): New member variable.
11050         * java/net/NetPermission.java
11051         (NetPermission): Dont implement java.io.Serialization directly.
11052         * java/net/SocketAddress.java:
11053         (serialVersionUID): Documentation added.
11054         
11055 2003-01-14  Michael Koch  <konqueror@gmx.de>
11056
11057         * java/awt/Label.java
11058         (Label): Implements javax.accessibility.Accessible;
11059         * java/awt/List.java
11060         (List): Implements javax.accessibility.Accessible;
11061         * java/awt/ScrollPane.java
11062         (ScrollPane): Implements javax.accessibility.Accessible;
11063         * java/awt/Scrollbar.java
11064         (Scrollbar): Implements javax.accessibility.Accessible;
11065         * java/awt/TextComponent.java
11066         (setCaretPosition): Throw exception, documentation added.
11067         * java/awt/Toolkit.java:
11068         Added some newlines in method documentations.
11069         (createButton): Exception documentation added.
11070         (createTextField): Exception documentation added.
11071         (createLabel): Exception documentation added.
11072         (createList): Exception documentation added.
11073         (createCheckbox): Exception documentation added.
11074         (createScrollbar): Exception documentation added.
11075         (createScrollPane): Exception documentation added.
11076         (createTextArea): Exception documentation added.
11077         (createChoice): Exception documentation added.
11078         (createFrame): Exception documentation added.
11079         (createWindow): Exception documentation added.
11080         (createDialog): Exception documentation added.
11081         (createMenuBar): Exception documentation added.
11082         (createMenu): Exception documentation added.
11083         (createMenuItem): Exception documentation added.
11084         (createFileDialog): Exception documentation added.
11085         (createCheckboxMenuItem): Exception documentation added.
11086         (loadSystemColors): Exception documentation added.
11087         (setDynamicLayout): Exception documentation added.
11088         (isDynamicLayoutSet): Exception documentation added.
11089         (isDynamicLayoutActive): Exception documentation added.
11090         (getScreenSize): Exception documentation added.
11091         (getScreenResolution): Exception documentation added.
11092         (getScreenInsets): Exception documentation added.
11093         (getColorModel): Exception documentation added.
11094         (getSystemClipboard): Exception documentation added.
11095         (getSystemSelection): Exception documentation added.
11096         (getMenuShortcutKeyMask): Exception documentation added.
11097         (getSystemEventQueue): Exception documentation added.
11098         * java/awt/Window.java:
11099         Reindented some code.
11100         (Window): Centralized implementation, documentation added.
11101         (finalize): Documentation added.
11102         (hide): Fixed typo in comment.
11103         (getWindowListeners): Documentation added.
11104         * java/awt/color/ColorSpace.java
11105         (toRGB): Documentation added.
11106         * java/awt/color/ICC_ColorSpace.java
11107         (ICC_ColorSpace): Documentation added.
11108         (toRGB): Throw exception, documentation added.
11109         (fromRGB): Throw exception, documentation added.
11110         (toCIEXYZ): Documentation added.
11111         (fromCIEXYZ): Documentation added.
11112         (getMinValue): Documentation added.
11113         (getMaxValue): Documentation added.
11114         * java/awt/geom/Dimension2D.java
11115         (clone): Documentation added.
11116         * java/awt/geom/GeneralPath.java
11117         (clone): Documentation added.
11118         * java/awt/geom/Line2D.java
11119         (clone): Documentation added.
11120         * java/awt/geom/QuadCurve2D.java
11121         (clone): Documentation added.
11122         * java/awt/image/ColorModel.java
11123         (ColorModel): Throw exception, documentation added.
11124         * java/awt/image/ImageFilter.java
11125         (clone): Doesnt throw CloneNotSupportedException.
11126
11127 2003-01-14  Andrew Haley  <aph@redhat.com>
11128
11129         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
11130         in a try block.
11131
11132 2003-01-10  Andrew Haley  <aph@redhat.com>
11133
11134         * include/dwarf2-signal.h: Remove x86_64.
11135         * configure.host (x86_64 DIVIDESPEC): Remove.
11136         * include/x86_64-signal.h: New file.
11137         * configure.in: Regenerate.
11138
11139 2003-01-10  Michael Koch  <konqueror@gmx.de>
11140
11141         * java/net/DatagramSocket.java
11142         (ch): Description added.
11143         (remotePort): Initialize with -1.
11144         (connect): Doesnt throws SocketException.
11145         * java/net/MulticastSocket.java
11146         (setInterface): Merge with Classpath.
11147         * java/net/ServerSocket.java
11148         (closed): New member variable.
11149         (bind): Check if socket is closed.
11150         (close): Close an associated channel too, set new value to closed.
11151         (isBound): Reindented.
11152         (isClosed): Implemented.
11153         * java/net/Socket.java
11154         (closed): New member variable.
11155         (bind): Check if socket is closed.
11156         (connect): Check if socket is closed.
11157         (close): Close an associated channel too, set new value to closed.
11158         (isClosed): Implemented.
11159
11160 2003-01-10  Michael Koch  <konqueror@gmx.de>
11161
11162         * java/awt/DisplayMode.java
11163         (equals): Fixed argument type and implementation.
11164
11165 2003-01-07  Tom Tromey  <tromey@redhat.com>
11166
11167         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
11168         JV_HASH_SYNCHRONIZATION.
11169         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
11170         JV_HASH_SYNCHRONIZATION.
11171
11172 2003-01-07  Michael Koch  <konqueror@gmx.de>
11173  
11174         * java/net/DatagramSocket.java:
11175         Added classpath license info.
11176         (DatagramSocket): Merged description with classpath.
11177         (close): Merged description with classpath.
11178         (getChannel): Merged description with classpath.
11179         (getInetAddress): Merged description with classpath.
11180         (getPort): Merged description with classpath.
11181         (getLocalAddress): Merged description with classpath.
11182         (getLocalPort): Merged description with classpath.
11183         (getSoTimeout): Merged description with classpath.
11184         (setSoTimeout): Merged description with classpath.
11185         (getSendBufferSize): Merged description with classpath.
11186         (setSendBufferSize): Merged description with classpath.
11187         (getReceiveBufferSize): Merged description with classpath.
11188         (setReceiveBufferSize): Merged description with classpath.
11189         
11190 2003-01-04  Tom Tromey  <tromey@redhat.com>
11191
11192         * java/awt/List.java: Merged with Classpath.
11193
11194 2003-01-03  Mark Wielaard  <mark@klomp.org>
11195
11196         * java/io/FileDescriptor.java (position): New private field.
11197         * java/io/natFileDescriptorPosix.cc (write): Up position.
11198         (setLength): Use and set position.
11199         (seek): Set position.
11200         (getFilePointer): Return position.
11201         (read): Up position.
11202
11203 2003-01-03  Mark Wielaard  <mark@klomp.org>
11204
11205         Merge with Classpath:
11206         * java/io/ObjectStreamClass.java (lookup): Split method and call
11207         lookupForClassObject().
11208         (lookupForClassObject): New method.
11209         (isProxyClass): New field.
11210         (setClass): Set isProxyClass, add object to classLookupTable, set
11211         superClass and calculateOffsets.
11212         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
11213         and not a proxy class.
11214         (setFields): Set accessible true for serialPersistentFields.
11215         (getClassUID): Same for suid. And check if suid is of type long.
11216         (hasClassInitializer): Don't throw NoSuchMethodError.
11217
11218 2003-01-03  Mark Wielaard  <mark@klomp.org>
11219
11220         * java/io/FileInputStream.java (finalize): Don't explicitly
11221         finalize FileDescriptor.
11222
11223 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
11224
11225         * configure.host (sparc*-*): Enable bytecode interpreter.
11226
11227 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
11228
11229         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
11230         Don't throw RemoteException.
11231         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
11232         throw RemoteException.
11233
11234 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
11235
11236         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
11237         proxyHost): New static fields.
11238         (<clinit>): Initialize new fields.
11239         (connect): Use proxy if necessary.
11240         (usingProxy): Implement.
11241
11242 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
11243
11244         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
11245         (TreeIterator.remove): Prefer IllegalStateException over
11246         ConcurrentModificationException, to match Sun.
11247
11248 2002-12-22  Anthony Green  <green@redhat.com>
11249
11250         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
11251
11252 2003-01-02  Mark Wielaard  <mark@klomp.org>
11253
11254         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
11255         public.
11256         (HTTP_USE_PROXY): Add field.
11257         (getResponseVals): Only set responseCode when not yet explicitly
11258         set by subclass.
11259
11260 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
11261             Mark Wielaard  <mark@klomp.org>
11262
11263         * java/util/zip/ZipFile.java (entries): Now HashMap.
11264         (readLeShort(DataInput, byte[])): Read from given byte array.
11265         (readLeInt(DataInput, byte[]): Likewise.
11266         (readLeShort(byte[] b, int off)): New method.
11267         (readLeInt(byte[] b, int off)): Likewise.
11268         (readEntries): Use byte arrays to read info in bigger chunks.
11269         (getEntries): Return HashMap.
11270         (getEntry): Use HashMap.
11271         (locBuf): New private field.
11272         (checkLocalHeader): Use locBuf to read info in one chunk.
11273         (getInputStream): Use entries HashMap, wrap PartialInputStream
11274         in BufferedInputStream.
11275         (ZipEntryEnumeration): Use HashMap and Interator.
11276
11277 2003-01-02  Mark Wielaard  <mark@klomp.org>
11278             Jeroen Frijters  <jeroen@sumatra.nl>
11279
11280         * java/net/URLClassLoader.java (Resource.getCodeSource):
11281         Fix check certs == null.
11282         (getCanonicalFileURL): Removed method.
11283         (JarURLLoader): Don't call removed method.
11284         (FileURLLoader): Likewise.
11285         (FileURLLoader.getResource): Don't canonicalize file name.
11286
11287 2003-01-01  Tom Tromey  <tromey@redhat.com>
11288
11289         * Makefile.in: Rebuilt.
11290         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
11291         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
11292         java/awt/BufferCapabilities.java, java/awt/Button.java,
11293         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
11294         java/awt/Container.java, java/awt/Cursor.java,
11295         java/awt/EventQueue.java, java/awt/FileDialog.java,
11296         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
11297         java/awt/MenuBar.java, java/awt/MenuComponent.java,
11298         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
11299         java/awt/Scrollbar.java, java/awt/TextArea.java,
11300         java/awt/TextField.java, java/awt/color/CMMException.java,
11301         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
11302         java/awt/color/ProfileDataException.java,
11303         java/awt/datatransfer/Clipboard.java,
11304         java/awt/datatransfer/DataFlavor.java,
11305         java/awt/datatransfer/FlavorMap.java,
11306         java/awt/datatransfer/SystemFlavorMap.java,
11307         java/awt/dnd/DragGestureEvent.java,
11308         java/awt/dnd/DragGestureRecognizer.java,
11309         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
11310         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
11311         java/awt/im/InputMethodHighlight.java,
11312         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
11313         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
11314
11315         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
11316         `op' to BufferedImageOp.
11317
11318 2002-12-31  Tom Tromey  <tromey@redhat.com>
11319
11320         Fix for PR libgcj/7416:
11321         * javax/naming/InitialContext.java (init): Use
11322         gnu.classpath.home.url.
11323         * java/security/Security.java: Use new properties.
11324         (loadProviders): Accept base url; use it.
11325         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
11326         gnu.classpath.home.url.
11327         (gnu.classpath.home.url): Define.
11328         (gnu.classpath.vm.shortname): Likewise.
11329
11330 2002-12-31  Tom Tromey  <tromey@redhat.com>
11331             Ranjit Mathew  <rmathew@hotmail.com>
11332
11333         Fix for PR libgcj/8997:
11334         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
11335         Include platform.h.
11336         * include/posix.h (_Jv_platform_usleep): New function.
11337         * include/win32.h (_Jv_platform_usleep): New function.
11338
11339 2002-12-29  Tom Tromey  <tromey@redhat.com>
11340
11341         * gcj/javaprims.h: Updated.
11342         * scripts/classes.pl (scan): Removed stray semicolon.
11343
11344 2002-12-30  Mark Wielaard  <mark@klomp.org>
11345
11346         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
11347         if zero or smaller.
11348
11349 2002-12-30  Mark Wielaard  <mark@klomp.org>
11350
11351         * java/util/Properties (formatForOutput): Don't fall through to
11352         default case after escaping character.
11353
11354 2002-12-30  Mark Wielaard  <mark@klomp.org>
11355
11356         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
11357         against count.
11358
11359 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
11360
11361         * boehm.cc: Remove stray semicolon.
11362         * interpret.cc: Likewise.
11363         * prims.cc: Likewise.
11364         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
11365         earlier to ensure default arguments are processed.
11366         * gcj/array.h (JArray): Add forward declaration.
11367         (elements): Likewise.
11368         * gcj/javaprim.h: Remove stray semicolons.
11369         * include/bohm-gc.h: Likewise.
11370         * include/jni.h: Likewise.
11371         * include/jvm.h: Likewise.
11372         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
11373         
11374 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
11375
11376         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
11377         of catch_type.
11378         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
11379         idt tables after initializing superclass.
11380         * java/lang/natClassLoader.cc (uaddr): New typedef.
11381         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
11382         if they are constant pool indicies.  Don't link vtable, otable yet.
11383
11384 2002-12-21  Anthony Green  <green@redhat.com>
11385
11386         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
11387         libraries.
11388         * Makefile.in: Rebuilt.
11389
11390 2002-12-19  Anthony Green  <green@redhat.com>
11391
11392         * Makefile.am (ordinary_java_source_files): Add
11393         org/xml/sax/helpers/NewInstance.java.
11394         * Makefile.in: Rebuilt.
11395         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
11396         org/xml/sax/helpers/package.html: New files.
11397         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
11398         http://www.saxproject.org.
11399
11400 2002-12-19  Andrew Haley  <aph@redhat.com>
11401
11402         * java/util/natResourceBundle.cc: Include
11403         ArrayIndexOutOfBoundsException.h.
11404         (getCallingClassLoader): Don't put upper bound on stack search.
11405         Catch ArrayIndexOutOfBoundsException.
11406
11407 2002-12-19  Tom Tromey  <tromey@redhat.com>
11408
11409         * libtool-version: Increased `current'.
11410
11411 2002-12-19  Tom Tromey  <tromey@redhat.com>
11412
11413         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
11414         comment.
11415         * java/lang/ClassLoader.java (defineClass): Use chained
11416         exception when rethrowing.
11417         * defineclass.cc (handleClassBegin): Mark class as interpreted.
11418         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
11419         constants.
11420         * resolve.cc (_Jv_PrepareMissingMethods): New function.
11421         (_Jv_PrepareClass): Use it.
11422         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
11423         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
11424         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
11425         (Class): _Jv_PrepareMissingMethods now friend.
11426         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
11427         Record `NULL' for system class loader.
11428         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
11429         system class loader.
11430         (_Jv_FindClassInCache): Likewise.
11431         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
11432         (_Jv_FindClass): Special case system class loader.
11433         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
11434         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
11435         vtable slots.
11436         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
11437         in a final class.
11438         (_getDeclaredMethod): Don't return synthetic methods.
11439         (getDeclaredMethods): Likewise.
11440         (_getMethod): Likewise.
11441         (_getMethods): Likewise.
11442
11443 2002-12-18  Raif Naffah  <raif@fl.net.au>
11444
11445         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
11446         canonical form after divide().
11447         (modInverse): Likewise.
11448
11449 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
11450             Mark Wielaard  <mark@klomp.org>
11451
11452         * java/security/SecurityRandom (digest): Removed field.
11453         (SecureRandom): Check all providers for case-insensitive SecureRandom
11454         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
11455         if necessary.
11456         (getInstance(String,Provider,boolean): New method.
11457         (getInstance(String)): Use new method.
11458         (getInstance(String,String)): Likewise.
11459         (getInstance(String,Provider)): Likewise.
11460
11461 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
11462
11463         * java/security/Security.java (loadProviders): Increment i only once.
11464
11465 2002-12-12  Mark Wielaard  <mark@klomp.org>
11466
11467         * java/lang/ClassLoader.java (resolveClass0): Transform
11468         ClassNotFoundException to NoClassDefFoundError. Transform all other
11469         throwables to LinkageError.
11470
11471 2002-12-11  Tom Tromey  <tromey@redhat.com>
11472
11473         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
11474
11475         * java/lang/ClassLoader.java (loadedClasses): New field.
11476         (defineClass): Fixed indentation.  Put new class in
11477         loadedClasses.
11478         (findLoadedClass): Implement here.
11479         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
11480
11481 2002-12-10  Tom Tromey  <tromey@redhat.com>
11482
11483         * Makefile.in: Rebuilt.
11484         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11485         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
11486         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
11487         * java/lang/natClassLoader.cc
11488         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
11489
11490 2002-12-10  Mark Wielaard  <mark@klomp.org>
11491             Tom Tromey  <tromey@redhat.com>
11492
11493         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
11494         (JarURLLoader): Use it.
11495         (FileURLLoader): Likewise.
11496         (JarURLResource.getURL): Use chained exception.
11497         (FileResource.getURL): Likewise.
11498         (FileURLLoader.getResource): Use canonical file name.
11499         (addURL): Indentation fix.
11500
11501 2002-12-10  Tom Tromey  <tromey@redhat.com>
11502
11503         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
11504         From Laurent Bardet <l.bardet@magic.fr>.
11505
11506 2002-12-09  Tom Tromey  <tromey@redhat.com>
11507
11508         * include/win32.h (_Jv_platform_solib_prefix): New define.
11509         (_Jv_platform_solib_suffix): Likewise.
11510         * include/posix.h (_Jv_platform_solib_prefix): New define.
11511         (_Jv_platform_solib_suffix): Likewise.
11512         * java/lang/natRuntime.cc: Include StackTrace.h.
11513         (_load): Use findLibrary and new platform defines.
11514         (nativeGetLibname): Use new platform defines.
11515
11516         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
11517         `t' won't be null.
11518
11519 2002-12-08  Mark Wielaard  <mark@klomp.org>
11520
11521         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
11522         cache remote jar files.
11523         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
11524         add File.separator to URL when it is a directory.
11525         * java/lang/ClassLoader.java: Add Classpath javadoc.
11526         (parent): final.
11527         (getParent): Add (disabled) security check.
11528         (findLibrary): New default method.
11529         * java/net/JarURLConnection.java (getManifest): Implement.
11530         (getInputStream): Only create InputStream when entry exists.
11531         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
11532         when they exist.
11533         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
11534
11535 2002-12-08  Mark Wielaard  <mark@klomp.org>
11536
11537         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
11538         (lastDefaultLocale): New field.
11539         (getBundle): When Locale.getDefault != lastDefaultLocale reset
11540         resourceBundleCache.
11541
11542 2002-12-06  Mark Wielaard  <mark@klomp.org>
11543
11544         * java/net/InetAddress.java (toString): Use hostname when not null,
11545         don't do an explicit reverse getHostName() lookup.
11546         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
11547         NullPointerException.
11548
11549 2002-12-06  Tom Tromey  <tromey@redhat.com>
11550
11551         * include/java-interp.h (class _Jv_InterpMethod): Added
11552         JV_MARKOBJ_DECL.
11553         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
11554         mark `prepared' field of interpreted method.
11555         * interpret.cc (compile): Use _Jv_AllocBytes.
11556
11557 2002-12-05  Andrew Haley  <aph@redhat.com>
11558
11559         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
11560         #ifdef (HAVE_BACKTRACE) around the whole function body.
11561
11562 2002-12-05  Tom Tromey  <tromey@redhat.com>
11563
11564         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
11565         * resolve.cc: Don't include AbstractMethodError.h.
11566         (_Jv_abstractMethodError): Removed.
11567         * defineclass.cc (handleMethodsBegin): Initialize method index to
11568         -1.
11569         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
11570         method index for "new" final method.
11571         (_Jv_SetVTableEntries): Compare index against -1 instead of using
11572         isVirtualMethod.  Added `flags' argument.
11573         (_Jv_MakeVTable): Throw exception for abstract method in concrete
11574         class.
11575
11576 2002-12-04  Tom Tromey  <tromey@redhat.com>
11577
11578         * java/net/SocketPermission.java (hashCode): Rewrote.
11579
11580 2002-12-04  Tom Tromey  <tromey@redhat.com>
11581
11582         * Makefile.in: Rebuilt.
11583         * Makefile.am (nat_source_files): Added natVMSecurityManager,
11584         natResourceBundle.
11585         * java/util/ResourceBundle.java (Security): Removed.
11586         (getCallingClassLoader): Now native.
11587         * java/util/natResourceBundle.cc: New file.
11588         * java/lang/natVMSecurityManager.cc: New file.
11589         * java/lang/VMSecurityManager.java (getClassContext): Now native.
11590
11591 2002-12-03  Mark Wielaard  <mark@klomp.org>
11592
11593         * java/util/jar/JarFile.java (manifest): Not final.
11594         (manifestRead): New field.
11595         (JarFile): Don't read Manifest in constructor.
11596         (getManifest): New method.
11597         (JarEnumeration.nextElement): Use new method.
11598         (getEntry): Likewise.
11599         * java/util/zip/ZipFile.java (name): Final.
11600         (raf): Likewsie.
11601         (entries): Change type to Hashtable.
11602         (closed): New field.
11603         (ZipFile): Don't read enties in constructor.
11604         (readEntries): Use Hashtable.
11605         (close): Set new close flag and set entries to null inside
11606         synchronized block.
11607         (entries): Contruct enumeration using new getEntries() method and
11608         entries Hashtable.
11609         (getEntryIndex): Removed.
11610         (getEntries): New method.
11611         (getEntry): Use new getEntries() method and entries Hastable.
11612         (getInputStream): Likewise.
11613         (size): Return getEntries().size().
11614         (ZipEntryEnumeration): Wrap entries Hashtable elements.
11615         * java/util/zip/ZipEntry.java (cal): Don't initialize.
11616         (time): Removed
11617         (dostime): New field.
11618         (zipFileIndex): Removed.
11619         (ZipEntry(ZipEntry)): Copy dostime.
11620         (setDOSTime): Now final and doesn't convert dos time.
11621         (getDOSTime): Likewise.
11622         (setTime): Convert dos time.
11623         (getTime): Likewise.
11624         (getCalendar): New method.
11625         (setExtra): Use setTime().
11626         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
11627
11628 2002-12-03  Tom Tromey  <tromey@redhat.com>
11629
11630         * java/lang/Character.java (forDigit): Formatting fix.
11631
11632 2002-12-03  Raif Naffah  <raif@fl.net.au>
11633
11634         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
11635         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
11636         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
11637
11638 2002-12-03  Andrew Haley  <aph@redhat.com>
11639
11640         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
11641         _Jv_PushClass.
11642         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
11643         (_Jv_PopClass): New.
11644         (_Jv_PushClass): New.
11645         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
11646         discover the ClassLoader of our caller.
11647         (_Jv_CheckArrayStore): Don't check that a class is assignment
11648         compatible with Object.
11649         * java/lang/natVMTHrowable.cc: Delete.
11650         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
11651         java.lang.VMThrowable.
11652         (StackTrace(), StackTrace(int)): New constructors.
11653         (classAt, methodAt, update, methodAtAddress): New methods.
11654         (map): New field.
11655         * java/lang/VMThrowable.java: Use StackTrace instead of
11656         natVMTHrowable.
11657         * java/lang/Class.h (getClassLoaderInternal): New.
11658         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
11659         Be friendly with gnu::gcj::runtime::StackTrace.
11660         (Object.chain): New field.
11661         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
11662         gnu::gcj::runtime::StackTrace.
11663         * gnu/gcj/runtime/natStackTrace.cc: New file.
11664         * gnu/gcj/runtime/MethodRef.java: New file.
11665         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
11666         instead of getClassLoader().
11667         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
11668         java::lang::VMThrowable.
11669         * Makefile.am (core_java_source_files): Add MethodRef.java,
11670         StackTrace.java.
11671         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
11672         * Makefile.in: Rebuild.
11673
11674 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
11675
11676         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
11677         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
11678         yes also for sh-linux* and sh[34]*-linux*.
11679         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
11680         set SIGNAL_HANDLER to use DWARF2 exception for them.
11681         * configure: Regenerate.
11682
11683 2002-12-02  Tom Tromey  <tromey@redhat.com>
11684
11685         * jni.cc: Added `name' argument.
11686         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
11687         `const char *' argument.
11688         (class _Jv_JNIEnv) [DefineClass]: Likewise.
11689
11690 2002-12-01  Tom Tromey  <tromey@redhat.com>
11691
11692         Bug compatibility, for PR libgcj/8738:
11693         * java/io/CharArrayWriter.java (close): Do nothing.
11694         (flush): Likewise.
11695         (reset): Don't touch `closed'.
11696         (write(int)): Don't throw IOException.
11697         (write(char[],int,int)): Likewise.
11698         (write(String,int,int)): Likewise.
11699         (closed): Removed.
11700
11701 2002-12-01  Mark Wielaard  <mark@klomp.org>
11702
11703         * java/lang/SecurityManager.java: Remerge comments, indenting and
11704         checkXXX methods with Classpath.
11705
11706 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
11707
11708         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
11709         getNormalizedComponents): Fix calculation which was using one too
11710         many bits in the unnormalized format.
11711
11712 2002-11-29  Gary Benson  <gbenson@redhat.com>
11713
11714         For PR libgcj/8759:
11715         * java/beans/Introspector.java (flushCaches): New method.
11716         (flushFromCaches): Likewise.
11717
11718 2002-11-29  Michael Koch <konqueror@gmx.de>
11719
11720         * java/nio/channels/DatagramChannel.java
11721         (open): Added exception documentation.
11722         (write): Added exception documentation.
11723         (connect): Added exception documentation.
11724         (disconnect): Added exception documentation.
11725         (isConnected): Added exception documentation.
11726         (read): Added exception documentation.
11727         (receive): Added exception documentation.
11728         (send): Added exception documentation.
11729         (validOps): Added exception documentation.
11730         * java/nio/channels/SocketChannel.java
11731         (open): Added exception documentation.
11732         (read): Added exception documentation.
11733         (write): Added exception documentation.
11734         (connect): Added exception documentation.
11735         (finishConnect): Added exception documentation.
11736
11737 2002-11-29  Michael Koch <konqueror@gmx.de>
11738
11739         * gnu/java/nio/DatagramChannelImpl:
11740         (fd): New member variable to store file descriptor of socket.
11741         * gnu/java/nio/SelectionKeyImpl.java:
11742         (ops): Removed.
11743         (readyOps): New member variable.
11744         (interestOps): New member variable.
11745         (readyOps): Implemented.
11746         (readyOps): New method to set member variable readyOps.
11747         (interestOps): Replaced ops by interestOps.
11748         * gnu/java/nio/SelectorImpl.java:
11749         (SelectorImpl): Initialize key sets.
11750         (select): Call select with -1 instead of Long.MAX_VALUE).
11751         (java_do_select): Make it a native method.
11752         (getFDsAsArray): New helper method.
11753         (select): Remove canceled keys, give only interested file discriptors
11754         to java_do_select, set ready ops.
11755         (add): No need to initialize keys set here.
11756         (add_selected): No need to initialize selected set here.
11757         (deregisterCanceledKeys): New helper method.
11758         (register): Set interest ops, set attachments, added handling of datagram
11759         channels.
11760         * gnu/java/nio/ServerSocketChannelImpl:
11761         (SocketAccept): Renamed from NioSocketAccept.
11762         (implConfigureBlocking): Implemented.
11763         (accept): Use SocketAccept instead of NioSocketAccept.
11764         * gnu/java/nio/SocketChannelImpl:
11765         Reactivate native methods.
11766
11767 2002-11-29  Michael Koch <konqueror@gmx.de>
11768
11769         * gnu/java/nio/natByteBufferImpl.cc,
11770         gnu/java/nio/natCharBufferImpl.cc,
11771         gnu/java/nio/natDoubleBufferImpl.cc,
11772         gnu/java/nio/natFloatBufferImpl.cc,
11773         gnu/java/nio/natIntBufferImpl.cc,
11774         gnu/java/nio/natLongBufferImpl.cc,
11775         gnu/java/nio/natSelectorImpl.cc,
11776         gnu/java/nio/natServerSocketChannelImpl.cc,
11777         gnu/java/nio/natShortBufferImpl.cc,
11778         gnu/java/nio/natSocketChannelImpl.cc:
11779         New files that implement native functionalities.
11780
11781 2002-11-29  Michael Koch <konqueror@gmx.de>
11782
11783         * gnu/java/nio/ByteBufferImpl.java
11784         (ByteBufferImpl): Moved position() after limit.
11785         (nio_*): Use native implementation.
11786         * gnu/java/nio/CharBufferImpl.java:
11787         Reformated.
11788         (endian): New member variable string endianess of buffer.
11789         (CharBufferImpl): Moved position() after limit.
11790         (nio_*): Use native implementation.
11791         (subSequence): Implemented.
11792         * gnu/java/nio/DoubleBufferImpl.java
11793         (DoubleBufferImpl): Moved position() after limit.
11794         (nio_*): Use native implementation.
11795         * gnu/java/nio/FloatBufferImpl.java
11796         Reformated.
11797         (FloatBufferImpl): Moved position() after limit.
11798         (nio_*): Use native implementation.
11799         * gnu/java/nio/IntBufferImpl.java
11800         Added needed imports, Reformated.
11801         (IntBufferImpl): Moved position() after limit.
11802         (nio_*): Use native implementation.
11803         * gnu/java/nio/LongBufferImpl.java
11804         Reformated.
11805         (LongBufferImpl): Moved position() after limit.
11806         (nio_*): Use native implementation.
11807         * gnu/java/nio/ShortBufferImpl.java
11808         Reformated.
11809         (ShortBufferImpl): Moved position() after limit.
11810         (nio_*): Use native implementation.
11811
11812 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
11813
11814         * java/util/Locale.java (toString): Improve efficiency if country
11815         and variant are both empty.
11816
11817 2002-11-26  Tom Tromey  <tromey@redhat.com>
11818
11819         * verify.cc (pop_init_ref): New method.
11820         (verify_instructions_0) [op_iaload, op_laload, op_faload,
11821         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
11822         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
11823         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
11824         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
11825         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
11826         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
11827         let `this' argument be uninitialized.  Don't let `null' be passed
11828         as `this' to construtor.
11829
11830 2002-11-26  Mark Wielaard  <mark@klomp.org>
11831
11832         * javax/transaction/HeuristicCommitException.java: Classpath merge.
11833         * javax/transaction/HeuristicMixedException.java: Likewise.
11834         * javax/transaction/HeuristicRollbackException.java: Likewise.
11835         * javax/transaction/InvalidTransactionException.java: Likewise.
11836         * javax/transaction/NotSupportedException.java: Likewise.
11837         * javax/transaction/RollbackException.java: Likewise.
11838         * javax/transaction/Status.java: Likewise.
11839         * javax/transaction/Synchronization.java: Likewise.
11840         * javax/transaction/SystemException.java: Likewise.
11841         * javax/transaction/Transaction.java: Likewise.
11842         * javax/transaction/TransactionManager.java: Likewise.
11843         * javax/transaction/TransactionRequiredException.java: Likewise.
11844         * javax/transaction/TransactionRolledbackException.java: Likewise.
11845         * javax/transaction/UserTransaction.java: Likewise.
11846         * javax/transaction/xa/XAException.java: Likewise.
11847         * javax/transaction/xa/XAResource.java: Likewise.
11848         * javax/transaction/xa/Xid.java: Likewise.
11849
11850 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
11851
11852         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
11853         define.
11854         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
11855         * include/posix.h (socklen_t): Define if not already defined.
11856
11857 2002-11-25  Tom Tromey  <tromey@redhat.com>
11858
11859         * verify.cc (type::compatible): Backed out broken change.
11860
11861         * verify.cc (type::compatible): Check initialization status
11862         first.
11863         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
11864         Don't use NULLCHECK.
11865
11866 2002-11-23  H.J. Lu <hjl@gnu.org>
11867
11868         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
11869         Include ../config/accross.m4.
11870         * aclocal.m4; Rebuild.
11871         * configure: Likewise.
11872
11873 2002-11-23  Mark Wielaard  <mark@klomp.org>
11874
11875         * javax/naming/AuthenticationException.java: Update copyright header.
11876         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
11877         * javax/naming/Binding.java: Likewise.
11878         * javax/naming/CannotProceedException.java: Likewise.
11879         * javax/naming/CommunicationException.java: Likewise.
11880         * javax/naming/CompositeName.java: Likewise.
11881         * javax/naming/CompoundName.java: Likewise.
11882         * javax/naming/ConfigurationException.java: Likewise.
11883         * javax/naming/Context.java: Likewise.
11884         * javax/naming/ContextNotEmptyException.java: Likewise.
11885         * javax/naming/InitialContext.java: Likewise.
11886         * javax/naming/InsufficientResourcesException.java: Likewise.
11887         * javax/naming/InterruptedNamingException.java: Likewise.
11888         * javax/naming/LimitExceededException.java: Likewise.
11889         * javax/naming/LinkException.java: Likewise.
11890         * javax/naming/LinkLoopException.java: Likewise.
11891         * javax/naming/LinkRef.java: Likewise.
11892         * javax/naming/MalformedLinkException.java: Likewise.
11893         * javax/naming/NameAlreadyBoundException.java: Likewise.
11894         * javax/naming/NameClassPair.java: Likewise.
11895         * javax/naming/NameNotFoundException.java: Likewise.
11896         * javax/naming/NameParser.java: Likewise.
11897         * javax/naming/NamingEnumeration.java: Likewise.
11898         * javax/naming/NamingSecurityException.java: Likewise.
11899         * javax/naming/NoInitialContextException.java: Likewise.
11900         * javax/naming/NoPermissionException.java: Likewise.
11901         * javax/naming/NotContextException.java: Likewise.
11902         * javax/naming/OperationNotSupportedException.java: Likewise.
11903         * javax/naming/PartialResultException.java: Likewise.
11904         * javax/naming/Reference.java: Likewise.
11905         * javax/naming/Referenceable.java: Likewise.
11906         * javax/naming/ReferralException.java: Likewise.
11907         * javax/naming/ServiceUnavailableException.java: Likewise.
11908         * javax/naming/SizeLimitExceededException.java: Likewise.
11909         * javax/naming/TimeLimitExceededException.java: Likewise.
11910         * javax/naming/directory/Attribute.java: Likewise.
11911         * javax/naming/directory/AttributeInUseException.java: Likewise.
11912         * javax/naming/directory/AttributeModificationException.java: Likewise.
11913         * javax/naming/directory/Attributes.java: Likewise.
11914         * javax/naming/directory/BasicAttribute.java: Likewise.
11915         * javax/naming/directory/BasicAttributes.java: Likewise.
11916         * javax/naming/directory/DirContext.java: Likewise.
11917         * javax/naming/directory/InitialDirContext.java: Likewise.
11918         * javax/naming/directory/InvalidAttributeIdentifierException.java:
11919         Likewise.
11920         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
11921         * javax/naming/directory/InvalidAttributesException.java: Likewise.
11922         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
11923         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
11924         * javax/naming/directory/ModificationItem.java: Likewise.
11925         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
11926         * javax/naming/directory/SchemaViolationException.java: Likewise.
11927         * javax/naming/directory/SearchControls.java: Likewise.
11928         * javax/naming/directory/SearchResult.java: Likewise.
11929         * javax/naming/event/EventContext.java: Likewise.
11930         * javax/naming/event/EventDirContext.java: Likewise.
11931         * javax/naming/event/NamespaceChangeListener.java: Likewise.
11932         * javax/naming/event/NamingEvent.java: Likewise.
11933         * javax/naming/event/NamingExceptionEvent.java: Likewise.
11934         * javax/naming/event/NamingListener.java: Likewise.
11935         * javax/naming/event/ObjectChangeListener.java: Likewise.
11936         * javax/naming/ldap/Control.java: Likewise.
11937         * javax/naming/ldap/ControlFactory.java: Likewise.
11938         * javax/naming/ldap/ExtendedRequest.java: Likewise.
11939         * javax/naming/ldap/ExtendedResponse.java: Likewise.
11940         * javax/naming/ldap/HasControls.java: Likewise.
11941         * javax/naming/ldap/InitialLdapContext.java: Likewise.
11942         * javax/naming/ldap/LdapContext.java: Likewise.
11943         * javax/naming/ldap/LdapReferralException.java: Likewise.
11944         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
11945         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
11946         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
11947         * javax/naming/spi/DirObjectFactory.java: Likewise.
11948         * javax/naming/spi/DirStateFactory.java: Likewise.
11949         * javax/naming/spi/DirectoryManager.java: Likewise.
11950         * javax/naming/spi/InitialContextFactory.java: Likewise.
11951         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
11952         * javax/naming/spi/NamingManager.java: Likewise.
11953         * javax/naming/spi/ObjectFactory.java: Likewise.
11954         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
11955         * javax/naming/spi/ResolveResult.java: Likewise.
11956         * javax/naming/spi/Resolver.java: Likewise.
11957         * javax/naming/spi/StateFactory.java: Likewise.
11958
11959         * javax/naming/spi/NamingManager.java (ofb): Package private.
11960
11961 2002-11-21  Mark Wielaard  <mark@klomp.org>
11962
11963         * java/net/URL.java: Merge with Classpath (partly).
11964         * java/net/URLStreamHandler: Merge with Classpath.
11965
11966 2002-11-22  Michael Koch <konqueror@gmx.de>
11967
11968         * include/posix.h:
11969         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11970         * include/win32.h:
11971         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11972         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
11973
11974 2002-11-21  Michael Koch <konqueror@gmx.de>
11975
11976         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
11977         Only the new network functions should be in it.
11978
11979 2002-11-21  Michael Koch <konqueror@gmx.de>
11980
11981         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11982         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11983
11984 2002-11-21  Michael Koch <konqueror@gmx.de>
11985
11986         * java/nio/channels/AsynchronousCloseException.java,
11987         java/nio/channels/CancelledKeyException.java,
11988         java/nio/channels/ClosedByInterruptException.java,
11989         java/nio/channels/ConnectionPendingException.java,
11990         java/nio/channels/FileLockInterruptionException.java,
11991         java/nio/channels/IllegalSelectorException.java,
11992         java/nio/channels/NoConnectionPendingException.java,
11993         java/nio/channels/NonReadableChannelException.java,
11994         java/nio/channels/NonWritableChannelException.java,
11995         java/nio/channels/NotYetBoundException.java,
11996         java/nio/channels/NotYetConnectedException.java,
11997         java/nio/channels/OverlappingFileLockException.java,
11998         java/nio/channels/UnresolvedAddressException.java,
11999         java/nio/channels/UnsupportedAddressTypeException.java:
12000         New files.
12001         * Makefile.am (ordinary_java_source_files): Added new files.
12002         * Makefile.in: Regenerated.
12003
12004 2002-11-21  Michael Koch <konqueror@gmx.de>
12005
12006         * include/posix.h
12007         (_Jv_socket): New method.
12008         (_Jv_connect): New method.
12009         (_Jv_close): New method.
12010         (_Jv_platform_close_on_exec): Prefixed system function with "::".
12011         (_Jv_bind): New method.
12012         (_Jv_listen): New method.
12013         (_Jv_write): New method.
12014         (_Jv_read): New method.
12015         * include/win32.h
12016         (_Jv_socket): New method.
12017         (_Jv_connect): New method.
12018         (_Jv_close): New method.
12019         (_Jv_bind): New method.
12020         (_Jv_listen): New method.
12021         (_Jv_write): New method.
12022         (_Jv_read): New method.
12023         * java/net/natNetworkInterface.cc:
12024         Include platform.h, removed inclusion of socket.h
12025         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
12026         ::close() by _Jv_close().
12027         * java/net/natPlainDatagramSocketImpl.cc:
12028         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
12029         added some new lines to make code more readable.
12030         (create): Replaced ::socket() by _Jv_socket().
12031         (close): Replaced NATIVE_CLOSE() by _Jv_close().
12032         * java/net/natPlainSocketImpl.cc:
12033         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
12034         removed include of socket.h, removed some windows defines
12035         (now in include/win32.h).
12036         (create): Replaced ::socket() by _Jv_socket().
12037         (close): Replaced NATIVE_CLOSE() by _Jv_close().
12038         (write): Replaced ::read by _Jv_write().
12039         (read): Replaced ::read by _Jv_read().
12040
12041 2002-11-20  Michael Koch <konqueror@gmx.de>
12042
12043         * Makefile.am (ordinary_java_source_files):
12044         Added java/nio/channels/FileChannel.java.
12045         * Makefile.in: Regenerated.
12046
12047 2002-11-20  Michael Koch <konqueror@gmx.de>
12048
12049         * java/io/FileInputStream.java
12050         (getChannel): New method.
12051         * java/io/FileOutputStream.java
12052         (getChannel): New method.
12053         * java/net/ServerSocket.java
12054         (bind): Removed duplicate code and called another bind method instead.
12055         * java/nio/channels/SelectionKey.java
12056         (isValid): Removed wrong exception documentation.
12057         * java/nio/channels/ServerSocketChannel.java
12058         (accept): Added exception documentation.
12059         (open): Fixed typo, added exception documentation.
12060         * java/nio/channels/spi/AbstractSelectableChannel.java
12061         (implCloseChannel): Added exception documentation.
12062         (add): Reformated.
12063         (register): Added exception documentation.
12064
12065 2002-11-20  Andreas Jaeger  <aj@suse.de>
12066
12067         * configure: Regenerated with new libtool.m4.
12068
12069 2002-11-19  Tom Tromey  <tromey@redhat.com>
12070
12071         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
12072         `referent'.
12073         (finalize_referred_to_object): Don't modify `referent' or `copy'
12074         fields.
12075         (add_to_hash): Correctly set `n->next' when updating list.
12076         * java/lang/ref/Reference.java (enqueue): Return false if already
12077         enqueued.
12078
12079 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
12080
12081         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
12082         to function and function pointer declarations in accordance with
12083         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
12084         based on whether __GCJ_JNI_IMPL__ has been defined or not.
12085         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
12086         JNI function definitions.
12087
12088 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12089
12090         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
12091         that was causing CoderResults to be cached, not WeakReferences
12092         to CoderResults.
12093
12094 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
12095
12096         * java/security/KeyStore.java (getInstance): Fix
12097         comment and throw IllegalArgumentException if
12098         given provider is null.
12099         (getInstance): New method for jdk1.4 compatibility.
12100
12101 2002-11-18  Michael Koch <konqueror@gmx.de>
12102
12103         * java/net/PlainSocketImpl.java: Fix imports.
12104
12105 2002-11-18  Michael Koch <konqueror@gmx.de>
12106
12107         * java/nio/channels/SelectionKey.java
12108         (isValid): Added exception documentation.
12109         * java/nio/channels/Selector.java
12110         (open): Declare "throws IOException".
12111
12112 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12113
12114         * java/nio/charset/Charset.java
12115         (<clinit>): New method.
12116         (encode): Synchronize use of cached encoder object.
12117         (decode): Synchronize use of cached encoder object.
12118
12119 2002-11-18  Michael Koch <konqueror@gmx.de>
12120
12121         * gnu/java/nio/ByteBufferImpl.java,
12122         gnu/java/nio/CharBufferImpl.java,
12123         gnu/java/nio/DatagramChannelImpl.java,
12124         gnu/java/nio/DoubleBufferImpl.java,
12125         gnu/java/nio/FileChannelImpl.java,
12126         gnu/java/nio/FloatBufferImpl.java,
12127         gnu/java/nio/IntBufferImpl.java,
12128         gnu/java/nio/LongBufferImpl.java,
12129         gnu/java/nio/PipeImpl.java,
12130         gnu/java/nio/SelectionKeyImpl.java,
12131         gnu/java/nio/SelectorImpl.java,
12132         gnu/java/nio/SelectorProviderImpl.java,
12133         gnu/java/nio/ServerSocketChannelImpl.java,
12134         gnu/java/nio/ShortBufferImpl.java,
12135         gnu/java/nio/SocketChannelImpl.java,
12136         java/nio/DoubleBuffer.java,
12137         java/nio/FloatBuffer.java,
12138         java/nio/IntBuffer.java,
12139         java/nio/LongBuffer.java,
12140         java/nio/ShortBuffer.java,
12141         java/nio/channels/FileChannel.java: New files.
12142
12143 2002-11-18  Michael Koch <konqueror@gmx.de>
12144
12145         * Makefile.am (ordinary_java_source_files):
12146         Added java/nio/ReadOnlyBufferException.java and
12147         java/nio/channels/ClosedSelectorException.java.
12148         * Makefile.in: Regenerated.
12149
12150 2002-11-18  Michael Koch <konqueror@gmx.de>
12151
12152         * java/net/PlainSocketImpl.java: Reworked imports.
12153         * java/net/ServerSocket.java
12154         (ServerSocket): Create socket.
12155         * java/net/SocketAddress.java: Documentation added.
12156         * java/net/natPlainSocketImpl.cc: Reindented.
12157         * java/nio/ReadOnlyBufferException.java: New file
12158         * java/nio/channels/ClosedChannelException.java: Documentation added.
12159         * java/nio/channels/ClosedSelectorException.java: New file.
12160
12161 2002-11-17  Mark Wielaard  <mark@klomp.org>
12162
12163         * java/net/HttpURLConnection.java ((getPermission): Take port
12164         into consideration.
12165         (getErrorStream): Implement.
12166
12167 2002-11-17  Mark Wielaard  <mark@klomp.org>
12168
12169         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
12170
12171 2002-11-16  Mark Wielaard  <mark@klomp.org>
12172
12173         Integrate work by Raif S. Naffah (raif@fl.net.au)
12174         * java/security/DummyKeyPairGenerator.java (clone): New method.
12175         * java/security/DummyMessageDigest.java (clone): New method.
12176         (engineUpdate): Now public.
12177         (engineReset): Likewise.
12178         (engineDigest): Likewise.
12179         (engineGetDigestLength): New method.
12180         * java/security/DummySignature.java (clone): New method.
12181         * java/security/KeyPairGenerator.java (provider): Now package private.
12182         (getInstance(String)): Use getInstance(String,Provider).
12183         (getInstance(String,String): Use getInstance(String,Provider)
12184         (getInstance(String,Provider): New method.
12185         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
12186         * java/security/KeyPairGeneratorSpi.java (clone): New method.
12187         * java/security/MessageDigest.java (provider): Now package private.
12188         (getInstance(String): Use getInstance(String,Provider).
12189         (getInstance(String,String): Use getInstance(String,Provider)
12190         (getInstance(String,Provider): New method.
12191         * java/security/Provider.java (toCanonicalKey): New method.
12192         (get): New method that uses toCanonicalKey().
12193         (put): Use toCanonicalKey().
12194         (remove): Likewise.
12195         * java/security/Security.java (insertProviderAt): Provider index is one
12196         based, not zero based.
12197         (addProvider): Likewise.
12198         (removeProvider): Likewise.
12199         * java/security/Signature.java (provider): Now package private.
12200         (getInstance(String)): Use getInstance(String,Provider).
12201         (getInstance(String,String): Use getInstance(String,Provider)
12202         (getInstance(String,Provider): New method.
12203         (getInstance(String,String,Provider): Don't cast DummySignature.
12204
12205 2002-11-15  Tom Tromey  <tromey@redhat.com>
12206
12207         For PR libgcj/8593:
12208         * java/util/zip/GZIPInputStream.java (read): Check file size.
12209         Look in inflater for remaining input bytes.
12210         (read4): Added buf and offset arguments.
12211
12212 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
12213
12214         * java/applet/AppletContext.java: Fix typo and remove redundant
12215         modifiers.
12216
12217 2002-11-14  Tom Tromey  <tromey@redhat.com>
12218
12219         * java/lang/natRuntime.cc (insertSystemProperties): Set
12220         gnu.classpath.home.
12221
12222 2002-11-13  Michael Koch <konqueror@gmx.de>
12223
12224         * java/nio/ByteBuffer.java
12225         (allocate): New method.
12226         (wrap): New method.
12227         (put): New method.
12228         (get): New method.
12229
12230 2002-11-13  Michael Koch <konqueror@gmx.de>
12231
12232         * java/nio/channels/AlreadyConnectedException.java:
12233         Removed unneeded import.
12234         (AlreadyConnectedException): Documentation added.
12235         * java/nio/channels/Pipe.java
12236         (SinkChannel.SinkChannel): Documentation added.
12237         (SinkChannel.validOps): New method.
12238         (SourceChannel.SourceChannel): Documentation added.
12239         (SourceChannel.validOps): New method.
12240         (Pipe): Documentation added.
12241         (open): Documentation added.
12242         (SinkChannel.channel): Documentation added.
12243         (SourceChannel.channel): Documentation added.
12244         * java/nio/channel/SelectableChannel.java
12245         (SelectableChannel): Documentation added.
12246         (blockingLock): Documentation added.
12247         (configureBlocking):Documentation added.
12248         (isBlocking):Documentation added.
12249         (isRegistered):Documentation added.
12250         (keyFor):Documentation added.
12251         (provider):Documentation added.
12252         (register): Documentation added.
12253         (validOps): Documentation added.
12254         * jaba/nio/channels/SelectionKey.java
12255         (SelectionKey): Documentation added.
12256         (attach): Documentation added.
12257         (attachment): Documentation added.
12258         (isAcceptable): Documentation added.
12259         (isConnetable): Documentation added.
12260         (isReadable): Documentation added.
12261         (isWritable): Documentation added.
12262         (cancel): Documentation added.
12263         (channel): Documentation added.
12264         (interestOps): Documentation added.
12265         (isValid): Documentation added.
12266         (readyOps): Documentation added.
12267         (selector): Documentation added.
12268         * jaba/nio/channels/Selector.java
12269         (Selector): Documentation added.
12270         (open): Documentation added.
12271         (close): Documentation added.
12272         (isOpen): Documentation added.
12273         (keys): Documentation added.
12274         (provider): Documentation added.
12275         (select): Documentation added.
12276         (selectedKeys): Documentation added.
12277         (selectNow): Documentation added.
12278         (wakeup): Documentation added.
12279         * java/nio/channels/spi/AbstractInterruptibleChannel.java
12280         (AbstractInterruptibleChannel): Documentation added.
12281         (opened): Default to true;
12282         (begin): Documentation added.
12283         (close): Set opened to false, documentation added.
12284         (isOpen): Documentation added.
12285         * java/nio/channels/spi/AbstractSelectionKey.java
12286         (AbstractSelectionKey): Documentation added.
12287         (cancel): Documentation added.
12288         (isValid): Documentation added.
12289         * java/nio/channels/spi/AbstractSelector.java
12290         (AbstractSelector): Documentation added.
12291         (begin): Documentation added.
12292         (close): Documentation added.
12293         (isOpen): Documentation added.
12294         (deregister): Documentation added.
12295         (end): Documentation added.
12296         (provider): Documentation added.
12297         (implCloseSelector): Documentation added.
12298         (register): Documentation added.
12299         * java/nio/channels/spi/SelectorProvider.java
12300         (SelectorProvider): Documentation added.
12301         (openDatagramChannel): Documentation added.
12302         (openPipe): Documentation added.
12303         (openSelector): Documentation added.
12304         (openServerSocketChannel): Documentation added.
12305         (openSocketChannel): Documentation added.
12306         (provider): Documentation added.
12307
12308 2002-11-12  Michael Koch <konqueror@gmx.de>
12309
12310         * java/nio/Buffer.java: Implemented.
12311         * java/nio/CharBuffer.java: New file.
12312         * java/nio/InvalidMarkException.java: New file.
12313         * java/nio/channels/DatagramChannel.java: Implemented.
12314         * java/nio/channels/ServerSocketChannel.java: Implemented.
12315         * java/nio/channels/SocketChannel.java: Implemented.
12316         * java/nio/channels/spi/AbstractChannel.java: Removed.
12317         * java/nio/channels/spi/AbstractSelectableChannel.java:
12318         Implemented.
12319         * java/nio/charset/Charset.java:
12320         Merge from Classpath.
12321         * java/nio/charset/CharsetDecoder.java: New file.
12322         * java/nio/charset/CharsetEncoder.java: New file.
12323         * java/nio/charset/CoderResult.java: New file.
12324         * Makefile.am (ordinary_java_source_files): Added new files.
12325         * Makefile.in: Regenerated.
12326
12327 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12328
12329         * gnu/java/nio/charset/ISO_8859_1.java,
12330         gnu/java/nio/charset/Provider.java,
12331         gnu/java/nio/charset/US_ASCII.java,
12332         gnu/java/nio/charset/UTF_16.java,
12333         gnu/java/nio/charset/UTF_16BE.java,
12334         gnu/java/nio/charset/UTF_16Decoder.java,
12335         gnu/java/nio/charset/UTF_16Encoder.java,
12336         gnu/java/nio/charset/UTF_16LE.java,
12337         gnu/java/nio/charset/UTF_8.java: New files.
12338
12339 2002-11-11  Michael Koch <konqueror@gmx.de>
12340
12341         * java/nio/charset/CharacterCodingException.java:
12342         This class must be public.
12343         * java/nio/charset/CoderMalfunctionError.java:
12344         This class must be public.
12345         * java/nio/charset/CodingErrorAction.java:
12346         This class must be public.
12347         * java/nio/charset/IllegalCharsetNameException.java:
12348         This class must be public, better implementation.
12349         * java/nio/charset/MalformedInputException.java:
12350         This class must be public, better implementation.
12351         * java/nio/charset/UnmappableCharacterException.java:
12352         This class must be public, better implementation.
12353         * java/nio/charset/UnsupportedCharsetException.java:
12354         This class must be public, better implementation.
12355
12356 2002-11-11  Michael Koch <konqueror@gmx.de>
12357
12358         * java/nio/BufferOverflowException.java,
12359         java/nio/BufferUnderflowException.java: New file.
12360         * Makefile.am (ordinary_java_source_files):
12361         Added new files.
12362         * Makefile.in: Regenerated.
12363
12364 2002-11-10  Tom Tromey  <tromey@redhat.com>
12365
12366         * java/awt/Container.java (validate): Use tree lock.
12367         (getComponent): Likewise.
12368         (getComponents): Likewise.
12369         (addImpl): Likewise.
12370         (remove): Likewise.
12371         (removeAll): Likewise.
12372         (processEvent): Fixed indentation.
12373         (getComponentAt): Use tree lock.
12374         (findComponentAt): Likewise.
12375         (removeNotify): Likewise.
12376         (isAncestorOf): Likewise.
12377         (list): Likewise.
12378         (visitChildren): Likewise.
12379         (findNextFocusComponent): Likewise.
12380         (addNotifyContainerChildren): Likewise.
12381         (getAccessibleChildrenCount): Likewise.
12382         (getAccessibleChild): Likewise.
12383
12384         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
12385         (getSize): Likewise.
12386         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
12387         (getSize): Likewise.
12388         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
12389         (calcSize): Likewise.
12390         * java/awt/CardLayout.java (getSize): Use tree lock.
12391         (gotoComponent): Likewise.
12392         (layoutContainer): Likewise.
12393
12394         * java/io/natFileDescriptorWin32.cc (read): Handle case where
12395         count is 0.
12396         * java/io/natFileDescriptorPosix.cc (read): Handle case where
12397         count is 0.
12398
12399         * java/io/Externalizable.java, java/io/FilePermission.java,
12400         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
12401         java/io/SerializablePermission.java, java/text/Format.java,
12402         java/util/AbstractMap.java, java/util/HashMap.java,
12403         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
12404         versions from Classpath.
12405
12406 2002-11-10  Anthony Green  <green@redhat.com>
12407
12408         * java/util/jar/Attributes.java (Name): Fix name check.
12409
12410 2002-11-10  Mark Wielaard  <mark@klomp.org>
12411
12412         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
12413         with getName() as message.
12414         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
12415         type as message.
12416
12417         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
12418         unused.
12419
12420 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
12421
12422         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
12423         for Win32. JNICALL has been defined to __stdcall to be compatible
12424         with Sun's JDKs.
12425
12426 2002-11-10  Tom Tromey  <tromey@redhat.com>
12427
12428         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
12429         (setRows): Check newRows, not rows.
12430
12431         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
12432
12433 2002-11-09  Tom Tromey  <tromey@redhat.com>
12434
12435         * java/applet/Applet.java, java/applet/AppletContext.java,
12436         java/applet/AppletStub.java, java/applet/AudioClip.java,
12437         java/awt/CardLayout.java,
12438         java/awt/ContainerOrderFocusTraversalPolicy.java,
12439         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
12440         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
12441         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
12442         java/awt/color/ICC_ColorSpace.java,
12443         java/awt/color/ICC_Profile.java,
12444         java/awt/color/ICC_ProfileGray.java,
12445         java/awt/color/ICC_ProfileRGB.java,
12446         java/awt/datatransfer/DataFlavor.java,
12447         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
12448         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
12449         New versions from Classpath.
12450         * Makefile.in: Rebuilt.
12451         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
12452         ICC_ProfileRGB.
12453
12454         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
12455         display policy.
12456
12457         * java/awt/List.java (processEvent): Added missing `else's.
12458
12459         * java/awt/Window.java (show): validate() before showing.  Make
12460         parent displayable.
12461         (isDisplayable): New method.
12462
12463 2002-11-07  Mark Wielaard  <mark@klomp.org>
12464
12465         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
12466         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
12467
12468         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
12469         annotation.
12470         (loadClass): Take String as codebases.
12471         (getClassAnnotation): Use MyClassLoader annotations.
12472         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
12473         call exportObject(this).
12474
12475         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
12476         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
12477         (setAnnotation): Don't set locBytesStream and locStream.
12478         (replaceObject): Removed.
12479         (flush): Don't test locStream.
12480         (getLocBytes): LikeWise.
12481         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
12482         (leaseCache): New field.
12483         (dirty): Use leaseCache.
12484         (LeaseRecord): New inner class.
12485         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
12486         explicitly call exportObject().
12487         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
12488         false to communicate with Sun JDK130.
12489         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
12490         * gnu/java/rmi/server/RMIObjectInputStream.java
12491         (UnicastConnectionManager): Removed field.
12492         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
12493         Use UnicastServer.getExportedRef().
12494         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
12495         (expireTime): Likewise.
12496         (CONNECTION_TIMEOUT): Likewise.
12497         (disconnect): Call sock.close().
12498         (isExpired): New method.
12499         (resetTime): Likewise.
12500         (run): Use do while loop and catch Exception for discardConnection().
12501         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
12502         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
12503         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
12504         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
12505         (exportObject): Use refcache.
12506         (unexportObject): Likewise.
12507         (getExportedRef): New method.
12508         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
12509         constructor.
12510         (exportObject): Save manager.serverobj.
12511         (getStub): New method.
12512
12513 2002-11-07  Mark Wielaard  <mark@klomp.org>
12514
12515         * java/lang/reflect/natField.cc (getBoolean): Use getType().
12516         (getByte): Likewise.
12517         (getShort): Likewise.
12518         (getInt): Likewise.
12519         (getLong): Likewise.
12520         (getFloat): Likewise.
12521         (getDouble): Likewise.
12522         (get): Likewise.
12523         (setChar): Likewise.
12524         (setByte): Likewise.
12525         (setShort): Likewise.
12526         (setInt): Likewise.
12527         (setLong): Likewise.
12528         (setFloat): Likewise.
12529         (setDouble): Likewise.
12530
12531 2002-11-07  Michael Koch <konqueror@gmx.de>
12532
12533         * java/awt/Choice.java,
12534         java/awt/Container.java,
12535         java/awt/GridBagLayout.java:
12536         Fixed documentation.
12537         * java/awt/peer/ContainerPeer.java:
12538         Reindented.
12539
12540 2002-11-07  Michael Koch <konqueror@gmx.de>
12541
12542         * java/awt/color/ICC_Profile.java:
12543         Added missing constants.
12544         * java/awt/color/ICC_ColorSpace.java
12545         (getMinValue): Added dummy implementation.
12546         (getMaxValue): Added dummy implementation.
12547         * java/awt/datatransfer/DataFlavor.java
12548         (imageFlavor): Added.
12549         (isMimeTypeEqual): Must be final.
12550         (getDefaultRepresentationClass): Must be non-static.
12551         (getDefaultRepresentationClassAsString): Must be non-static.
12552         * java/awt/dnd/DragSourceContext.java
12553         (dragExit): Corrected argument.
12554         (dragDropEnd): Corrected argument.
12555         * java/awt/dnd/DragSourceListener.java.java
12556         (dragExit): Corrected argument.
12557         (dragDropEnd): Corrected argument.
12558         * java/awt/font/TextHitInfo.java
12559         (toString): Added stubbed implementation.
12560         * java/awt/geom/PathIterator.java:
12561         The constants must be static.
12562         * java/awt/image/VolatileImage.java
12563         (IMAGE_INCOMPATIBLE): Fixed typo.
12564         * java/awt/image/renderable/RenderableImage.java
12565         (HINTS_OBSERVED): Must be static.
12566         * java/beans/BeanInfo.java:
12567         Constants must be final.
12568
12569 2002-11-06  Tom Tromey  <tromey@redhat.com>
12570
12571         From svens@it.uu.se.  For PR libgcj/8481.
12572         * java/util/Random.java (nextInt(int)): Only use 31 bits.
12573
12574 2002-11-06  Tom Tromey  <tromey@redhat.com>
12575
12576         * jni.cc (array_from_valist): Assume that jlong won't be
12577         promoted.
12578
12579 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
12580
12581         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
12582         Return 20.
12583         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
12584         Return 16.
12585
12586 2002-11-03  Tom Tromey  <tromey@redhat.com>
12587
12588         * java/lang/ClassLoader.java (loadClass): Call loadClass on
12589         VMClassLoader, not findClass.
12590
12591 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
12592
12593         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
12594         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
12595         _Jv_DetermineVTableIndex, to determine vtable offset.
12596         (_Jv_DetermineVTableIndex): Remove.
12597         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
12598
12599         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
12600
12601 2002-11-03  Tom Tromey  <tromey@redhat.com>
12602
12603         * java/nio/channels/AlreadyConnectedException.java: Extend
12604         IllegalStateException, per spec.
12605
12606 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
12607
12608         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
12609
12610 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12611
12612         * java/util/ArrayList.java (readObject, writeObject): Only read/write
12613         size items.
12614
12615 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12616
12617         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
12618         initial estimated size to avoid enlarge buffer frequently.
12619
12620 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12621
12622         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
12623         ClassLoader when null.
12624         (ProxyType.hashCode): Loader null check no longer needed.
12625         (ProxyType.sameTypes): New method.
12626         (ProxyType.equals): Use new method.
12627
12628 2002-10-31  Mark Wielaard  <mark@klomp.org>
12629
12630         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
12631         length of String.
12632         * java/net/URLEncoder.java (encode): Likewise.
12633
12634 2002-10-31  Mark Wielaard  <mark@klomp.org>
12635
12636         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
12637         when stream is closed.
12638         (closeEntry): Likewise.
12639         (read): Likewise.
12640         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
12641         ZipException when no entry active.
12642         (closeEntry): Likewise.
12643         (write): Likewise.
12644
12645 2002-11-02  Tom Tromey  <tromey@redhat.com>
12646
12647         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
12648         * java/lang/natClass.cc (initializeClass): Don't return just
12649         because self==thread.
12650
12651         For PR java/8415:
12652         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
12653         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
12654
12655 2002-11-02  Andreas Schwab  <schwab@suse.de>
12656
12657         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
12658         pass GCJFLAGS.
12659         (FLAGS_TO_PASS): Define.
12660         * Makefile.in: Regenerated.
12661
12662 2002-11-01  Michael Koch  <konqueror@gmx.de>
12663
12664         * java/nio/ByteOrder.java: New file.
12665         * java/nio/channels/DatagramChannel.java:
12666         (DatagramChannel): New constructor.
12667         * java/nio/channels/Pipe.java: New file.
12668         * java/nio/channels/SelectableChannel.java: New file.
12669         * java/nio/channels/SelectionKey.java: New file.
12670         * java/nio/channels/Selector.java: New file.
12671         * java/nio/channels/ServerSocketChannel.java
12672         (ServerSocketChannel): New constructor.
12673         * java/nio/channels/SocketChannel.java
12674         (SocketChannel): New constructor.
12675         * java/nio/channels/Pipe.java: New file.
12676         * java/nio/channels/spi/AbstractChannel.java: New file.
12677         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
12678         * java/nio/channels/spi/AbstractSelectableChannel.java:
12679         License added
12680         (AbstractSelectableChannel): New stubbed method.
12681         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
12682         * java/nio/channels/spi/AbstractSelector.java: New file.
12683         * java/nio/channels/spi/SelectorProvider.java: New file.
12684         * java/nio/charset/Charset.java: New file.
12685         * java/nio/charset/CoderMalfunctionError.java: New file.
12686         * java/nio/charset/CodingErrorAction.java: New file.
12687         * java/nio/charset/spi/CharsetProvider.java
12688         (charsetForName): Uncommented.
12689         * Makefile.am (java_native_source_files): Added new files.
12690         * Makefile.in: Regenerated.
12691
12692 2002-11-01  Michael Koch  <konqueror@gmx.de>
12693
12694         * java/net/InetAddress.java:
12695         (isAnyLocalAddress): Implemented.
12696         (isLoopbackAddress): Implemented, comment added.
12697         (isLinkLocalAddress): Implemented, documentation added.
12698         (isSiteLocalAddress): Implemented, documentation added.
12699         (isMCGlobal): Implemented, documentation added.
12700         (isMCNodeLocal): Implemented, documentation added.
12701         (isMCLinkLocal): Implemented, documentation added.
12702         (isMCSiteLocal): Implemented, documentation added.
12703         (isMCOrgLocal): Implemented, documentation added.
12704         (getHostName): Documentation added.
12705         (getCanonicalHostName): Implemented, documentation added.
12706         (getAddress): Documentation added.
12707         (hashCode): Documentation added.
12708         (equals): Documentation added.
12709         (toString): Fixed implementation.
12710         (getByAddress): Use Inet4Address and Inet6Address.
12711         (lookup): New linewrap.
12712         (getByName): SecurityManager check added, support Inet4Address and
12713         Inet6address, comments added.
12714         (getAllByName): SecurityManager check added, comments added.
12715         * java/net/Inet6Address.java:
12716         (Inet6Address): Initialize parent class with addr instead of null.
12717         * java/net/URL.java
12718         (equals): Documentation added.
12719         (getFile): Documentation added.
12720         (hashCode): Documentation added.
12721         * java/net/natInetAddress.cc:
12722         (aton): Fix IPv6 support.
12723         * java/net/natPlainDatagramSocketImpl.cc:
12724         (peek): Throw PortUnreachableException when suitable.
12725         (peekData): Throw PortUnreachableException when suitable.
12726         (send): Throw PortUnreachableException when suitable.
12727         (receive): Throw PortUnreachableException when suitable.
12728
12729 2002-10-27  Mark Wielaard  <mark@klomp.org>
12730
12731         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
12732         argument.
12733         (readLeShort): Likewise and use byte[].
12734         (readLeInt): Likewise.
12735         (readEntries): Use new versions of methods and use byte[] for reading
12736         a complete zip entry. Add ZipFile name to exceptions.
12737         (entries): Add ZipFile name to exceptions.
12738         (getEntry): Likewise.
12739         (checkLocalHeader): Use new versions of methods and add ZipFile name
12740         to exceptions.
12741
12742 2002-10-31  Mark Anderson  <mark@panonet.net>
12743
12744         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
12745         added
12746
12747 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
12748
12749         * configure.in: Disable hash sync when not using threads.
12750         * configure: Regenerated.
12751
12752 2002-10-24  Tom Tromey  <tromey@redhat.com>
12753
12754         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
12755         (_Jv_FindSymbolInExecutable): Removed argument name.
12756         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
12757         java.library.path is set.
12758
12759         * gij.cc (help): Document --showversion.
12760         (version): Don't exit.
12761         (main): Handle --showversion.  Exit if --version given.
12762
12763 2002-10-23  Tom Tromey  <tromey@redhat.com>
12764
12765         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
12766         (array_from_valist): Correctly handle promotion for jint, jlong,
12767         jfloat, and jdouble.
12768
12769 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
12770
12771         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
12772         GetFileAttributesEx( ) to find file length and modification times,
12773         as the latter is not present on Windows 95.
12774
12775 2002-10-21  Michael Koch  <konqueror@gmx.de>
12776
12777         * java/net/URL.java
12778         (URL): Activate SecurityManager checks.
12779         (equals): Use URLStreamHandler implementation instead of doing it
12780         alone. This allows special protocol stream handlers to change default
12781         behaviour.
12782         (hashCode): Use URLStreamHandler implementation instead of doing it
12783         alone. This allows special protocol stream handlers to change default
12784         behaviour.
12785         * java/net/URLStreamHandler.java
12786         (equals): Implemented default URL equality check.
12787         (hostsEqual): Implemented default URL equality check.
12788         (hashCode): Implemented default URL hashCode algorithm.
12789         * java/net/natPlainDatagramSocketImpl.cc:
12790         No lines longer then 80 characters.
12791
12792 2002-10-20  Adam Megacz <adam@xwt.org>
12793
12794         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
12795         * configure.in: enabled hash sync on Win32
12796         * include/win32-threads.h (_Jv_ThreadId_t): added.
12797         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
12798         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
12799         removed some posix-isms, use Thread::sleep() instead of usleep,
12800         added code to clear bottom three bits if platform has a broken
12801         linker.
12802         * include/win32-threads.h (_Jv_ThreadId_t): added.
12803
12804 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
12805
12806         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
12807         runtime property "gnu.gcj.progname" containing the name used to
12808         invoke the current Java program (similar to argv[0] for C
12809         programs).
12810
12811 2002-10-15  Tom Tromey  <tromey@redhat.com>
12812
12813         Fix for PR libgcj/8234:
12814         * java/util/zip/natInflater.cc (reset): Reset avail_in.
12815         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
12816
12817 2002-10-13  Mark Wielaard  <mark@klomp.org>
12818
12819         * mauve-libgcj: Enable Mauve tests that compile now.
12820
12821 2002-10-11  Mark Wielaard  <mark@klomp.org>
12822
12823         Fix for PR libgcj/8142
12824         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
12825         loading native modules.
12826
12827 2002-10-10  Michael Koch  <konqueror@gmx.de>
12828
12829         * javax/swing/AbstractListModel.java
12830         (getListDataListeners): New stubbed method.
12831         javax/swing/DefaultBoundedRangeModel.java
12832         (getChangeListeners): New stubbed method.
12833         javax/swing/DefaultSingleSelectionModel.java
12834         (getChangeListeners): New stubbed method.
12835
12836 2002-10-10  Michael Koch  <konqueror@gmx.de>
12837
12838         * gcj/.cvsignore: New file to ignore files generated during build.
12839         * include/.cvsignore: New file to ignore files generated during build.
12840
12841 2002-10-10  Michael Koch  <konqueror@gmx.de>
12842
12843         * java/net/HttpURLConnection.java
12844         (getPermission): New method.
12845         (getErrorStream): New stub method.
12846         (getHeaderFieldDate): New stub method.
12847         * java/net/Inet4Address.java:
12848         (isLinkLocalAddress): Typo fixed.
12849         * java/net/InetAddress.java:
12850         (readResolve): New stubbed method (for serialization).
12851         (isAnyLocalAddress): New stubbed method.
12852         (isLoopbackAddress): New stubbed method.
12853         (isLinkLocalAddress): New stubbed method.
12854         (isSiteLocalAddress): New stubbed method.
12855         (isMCGlobal): New stubbed method.
12856         (isMCNodeGlobal): New stubbed method.
12857         (isMCLinkLocal): New stubbed method.
12858         (isMCSiteLocal): New stubbed method.
12859         (isMCOrgLocal): New stubbed method.
12860         (getCanonicalHostName): New stubbed method.
12861         (getByAddress): Create instances of Inet4Address/Inet6Address,
12862         instead of InetAddress, documentation added.
12863         * java/net/MulticastSocket.java
12864         (getInterface): Removed FIXME.
12865         (getNetworkInterface): New method.
12866         (setNetworkInterface): New method.
12867         * java/net/NetworkInterface.java:
12868         (toString): Use property "line.separator" instead of "\n".
12869         * java/net/URLConnection.java
12870         (getContent): New stubbed method.
12871         * java/net/URLStreamHandler.java:
12872         (equals): New stubbed method.
12873         (hostsEqual): New stubbed method.
12874         (hashCode): New stubbed method.
12875         * java/net/natNetworkInterface.cc:
12876         (getRealNetworkInterfaces): Create Inet4Address object
12877         instead of InetAddress.
12878
12879 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
12880
12881         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
12882         unsigned long temporary to implement insn_iushr shifts.
12883
12884 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
12885
12886         * configure.host [s390*-*]: Enable Java interpreter.
12887         Enable hash synchronization.  Add sysdeps dir.
12888         * sysdep/s390/locks.h: New file.
12889
12890 2002-10-06  Mark Wielaard  <mark@klomp.org>
12891
12892         * java/lang/Thread.java (setDaemon): Check startable_flag,
12893         not isAlive().
12894
12895 2002-10-07  Michael Koch  <konqueror@gmx.de>
12896
12897         * java/nio/Buffer.java: New stub file.
12898         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
12899         of class Charset.
12900         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
12901         * Makefile.in: Regenerated.
12902
12903 2002-10-07  Michael Koch  <konqueror@gmx.de>
12904
12905         * java/nio/ByteBuffer.java:
12906         removed import of not commited class.
12907
12908 2002-10-07  Michael Koch  <konqueror@gmx.de>
12909
12910         * java/nio/ByteBuffer.java,
12911         java/nio/MappedByteBuffer.java:
12912         New files, forgot to add these dummies.
12913         * Makefile.am (java_native_source_files): Added new files.
12914         * Makefile.in: Regenerated.
12915
12916 2002-10-07  Michael Koch  <konqueror@gmx.de>
12917
12918         * java/nio/channels/AlreadyConnectedException.java,
12919         java/nio/channels/ClosedChannelException.java,
12920         java/nio/channels/ReadableByteChannel.java,
12921         java/nio/channels/InterruptibleChannel.java,
12922         java/nio/channels/Channel.java,
12923         java/nio/channels/ByteChannel.java,
12924         java/nio/channels/GatheringByteChannel.java,
12925         java/nio/channels/ScatteringByteChannel.java,
12926         java/nio/channels/WritableByteChannel.java,
12927         java/nio/charset/CharacterCodingException.java,
12928         java/nio/charset/IllegalCharsetNameException.java,
12929         java/nio/charset/MalformedInputException.java,
12930         java/nio/charset/UnmappableCharacterException.java,
12931         java/nio/charset/UnsupportedCharsetException.java,
12932         java/nio/charset/spi/CharsetProvider.java: New file.
12933         These files are exceptions or interfaces,
12934         no real or abstract classes.
12935         * Makefile.am (java_native_source_files): Added new files.
12936         * Makefile.in: Regenerated.
12937
12938 2002-10-05  Michael Koch  <konqueror@gmx.de>
12939
12940         * java/net/InetAddress.java
12941         (getByAddress): Fixed documentation.
12942         (getByAddress): New method.
12943         * java/net/Inet4Address.java: New file.
12944         * java/net/URL.java
12945         (URL): Documentation added.
12946         (getContent): Documentation added.
12947         (getContent): New stubbed method.
12948         (getQuery): New method.
12949         (openConnection): Documentation added.
12950         (openStream): Documentation added.
12951         (setURLStreamHandlerFactory): Documentation added.
12952         * java/net/URI.java: New stub file.
12953         * Makefile.am
12954         (java_native_source_files): Added java/net/Inet4Address.java,
12955         java/net/Inet6Address.java and java/net/URI.java.
12956         * Makefile.in: Regenerated.
12957
12958 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
12959
12960         * java/lang/ProtectionDomain.java (linesep): Remove field.
12961         (toString): Use System.getProperty("line.separator").
12962
12963 2002-10-04  Michael Koch  <konqueror@gmx.de>
12964
12965         * java/security/Identity.java: Added serialVersionUID.
12966         * java/security/KeyPair.java: Added serialVersionUID.
12967         * java/security/Provider.java: Added serialVersionUID.
12968         * java/security/SecureRandom.java: Added serialVersionUID.
12969         * java/security/SecureRandomSpi.java: Added serialVersionUID.
12970         * java/security/SignedObject.java: Added serialVersionUID.
12971         * java/security/cert/Certificate.java: Added serialVersionUID.
12972
12973 2002-10-04  Mark Wielaard <mark@klomp.org>
12974
12975         * java/security/Security.java: Use java.home or gnu.classpath.home
12976         to load providers.
12977         (loadProviders): Extra dir argument.
12978         (getProvider): Return null when not found.
12979
12980 2002-10-04  Mark Wielaard  <mark@klomp.org>
12981
12982         * java/lang/Throwable.java: Remerge with Classpath.
12983
12984 2002-10-04  Michael Koch  <konqueror@gmx.de>
12985
12986         * java/net/InetAddress.java:
12987         (isMulticastAddress): Added documentation.
12988         (getHostAddress): Added documentation.
12989         (toString): Added documentation.
12990         (getByAddress): Fixed documentation.
12991         (getByName): Added documentation.
12992         (getAllByName): Added documentation.
12993         (getLocalHost): Added documentation.
12994
12995 2002-10-04  Michael Koch  <konqueror@gmx.de>
12996
12997         * java/beans/beancontext/BeanContextChildSupport.java:
12998         Added serialVersionUID.
12999         * java/text/Collator.java: (compare): Made documentation HTML-aware.
13000         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
13001         * javax/naming/Name.java: Added serialVersionUID.
13002
13003 2002-10-03  Adam Megacz <adam@xwt.org>
13004
13005         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
13006         some functionality that isn't supported yet on WIN32.
13007
13008 2002-10-03  Tom Tromey  <tromey@redhat.com>
13009
13010         * Makefile.in: Rebuilt.
13011         * Makefile.am (awt_java_source_files): Added new files.
13012
13013 2002-10-03  Michael Koch  <konqueror@gmx.de>
13014
13015         * java/net/InetAddress.java
13016         (class InetAddress): Removed final keyword.
13017         (equals): Fixed typo.
13018         (getByAddress): New method.
13019
13020 2002-10-03  Michael Koch  <konqueror@gmx.de>
13021
13022         * java/awt/dnd/Autoscroll.java:
13023         New file, merge from Classpath.
13024         * java/awt/dnd/DragSourceAdapter.java:
13025         (dragExit): Fixed typos in argument type.
13026         (dragDropEnd): Fixed typos in argument type.
13027         * java/awt/dnd/DragSourceDropEvent.java:
13028         New file, merge from Classpath.
13029         * java/awt/dnd/DropTarget.java:
13030         Added stubs, merge from Classpath.
13031         * java/awt/dnd/DropTargetAdapter.java:
13032         New file, merge from Classpath.
13033         * java/awt/dnd/DropTargetContext.java:
13034         New file, merge from Classpath.
13035         * java/awt/dnd/DropTargetDragEvent.java:
13036         New file, merge from Classpath.
13037         * java/awt/dnd/DropTargetDropEvent.java:
13038         New file, merge from Classpath.
13039         * java/awt/dnd/DropTargetEvent.java:
13040         New file, merge from Classpath.
13041         * java/awt/dnd/DropTargetListener.java:
13042         New file, merge from Classpath.
13043         * java/awt/dnd/MouseDragGestureRecognizer.java:
13044         New file, merge from Classpath.
13045         * java/awt/dnd/peer/DropTargetContextPeer.java:
13046         New file, merge from Classpath.
13047
13048 2002-10-03  Michael Koch  <konqueror@gmx.de>
13049
13050         * java/net/DatagramPacket.java
13051         (setLength): Fixed typo and be HTML-aware.
13052         * java/net/InetSocketAddress.java
13053         (InetSocketAddress): Correct initialization of hostname, fixed typo.
13054         (equals): Added comment about equality of InetSocketAddress objects.
13055         * java/net/ServerSocket.java
13056         (accept): Added checks.
13057         (isClosed): New stubbed method.
13058         * java/net/SocketOptions.java: Reindention.
13059         * java/net/SocketPermission
13060         (SocketPermission): Documentation fixed.
13061
13062 2002-10-03  Michael Koch  <konqueror@gmx.de>
13063
13064         * java/net/DatagramSocket.java
13065         (receive): Check with SecurityManager AFTER the packet is received,
13066         check if connected to multicast address, documentation added.
13067         (send): Only check SecurityManager if connected, check address of
13068         packet to send.
13069         (connect): Implemented, documentation added.
13070         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
13071         * java/net/InetSocketAddress.java
13072         (whole file): Reindented.
13073         (hostname): New attribute.
13074         (InetSocketAddress): Initialize new attribute.
13075         (getAddress): Documentation added.
13076         (getHostName): Documentation added.
13077         (getPort): Documentation added.
13078         (hashCode): Documentation added.
13079         (isUnresolved): Documentation added.
13080         (toString): Conform to output of JDK 1.4.1, documentation added.
13081         * java/net/MulticastSocket.java
13082         (joinGroup): Removed FIXME, documentation added.
13083         (leaveGroup): Removed FIXME, documentation added.
13084         (send): Documentation added.
13085         * java/net/Socket.java
13086         (inputShutdown): New variable.
13087         (outputShutdown): New variable.
13088         (Socket): Initialize new variables.
13089         (getRemoteSocketAddress): Check if connected.
13090         (shutdownInput): Set new variable.
13091         (shutdownOutput): Set new variable.
13092         (isConnected): New method.
13093         (isClosed): New method.
13094         (isInputShutdown): New method.
13095         (isOutputShutdown): New method.
13096         * java/net/URLStreamHandler.java
13097         (URLStreamHandler): New method.
13098         (openConnection): Added documentation.
13099         (parseURL): Added documentation.
13100         (getHostAddress): New method.
13101         (getDefaultPort): New method.
13102
13103 2002-10-02  Tom Tromey  <tromey@redhat.com>
13104
13105         * java/rmi/activation/ActivationDesc.java,
13106         java/rmi/activation/ActivationGroupDesc.java,
13107         java/rmi/activation/ActivationGroupID.java,
13108         java/rmi/activation/ActivationID.java: New versions from
13109         Classpath.
13110
13111 2002-09-30  Bo Thorsen  <bo@suse.de>
13112
13113         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
13114
13115 2002-09-30  Tom Tromey  <tromey@redhat.com>
13116
13117         * java/io/ObjectInputStream.java (resolveProxyClass): New method
13118         from Classpath.
13119         * Makefile.in: Rebuilt.
13120         * Makefile.am (rmi_java_source_files): Added new files.
13121         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
13122         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
13123         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
13124         Classpath.
13125         * gnu/java/rmi/dgc/DGCImpl.java,
13126         gnu/java/rmi/dgc/DGCImpl_Skel.java,
13127         gnu/java/rmi/dgc/DGCImpl_Stub.java,
13128         gnu/java/rmi/registry/RegistryImpl_Skel.java,
13129         gnu/java/rmi/registry/RegistryImpl_Stub.java,
13130         gnu/java/rmi/server/RMIHashes.java,
13131         gnu/java/rmi/server/RMIObjectInputStream.java,
13132         gnu/java/rmi/server/RMIObjectOutputStream.java,
13133         gnu/java/rmi/server/UnicastConnection.java,
13134         gnu/java/rmi/server/UnicastConnectionManager.java,
13135         gnu/java/rmi/server/UnicastRef.java,
13136         gnu/java/rmi/server/UnicastServer.java,
13137         gnu/java/rmi/server/UnicastServerRef.java,
13138         java/rmi/MarshalledObject.java,
13139         java/rmi/server/RMIClassLoader.java,
13140         java/rmi/server/RemoteObject.java,
13141         java/rmi/server/UnicastRemoteObject.java,
13142         java/security/SecureClassLoader.java: Merged from Classpath.
13143
13144 2002-09-29  Anthony Green  <green@redhat.com>
13145
13146         * java/lang/reflect/UndeclaredThrowableException.java: New file.
13147         Imported from GNU Classpath.
13148         * java/lang/reflect/natProxy.cc: New file.
13149         * java/lang/reflect/InvocationHandler.java: New file.  Imported
13150         from GNU Classpath.
13151         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
13152         Classpath.
13153         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
13154         Classpath.
13155         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
13156         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
13157         New statics.
13158         * gcj/javaprims.h ("Java"): Add new classes.
13159         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
13160         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
13161         java/lang/reflect/Proxy$$ProxyType.h): And this.
13162         (inner_nat_headers): Add these new headers.
13163         (ordinary_java_source_files): Add new files.
13164         (nat_source_files): Add new file.
13165         * Makefile.in: Rebuilt.
13166
13167 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
13168
13169         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
13170         a single configuration.
13171
13172 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13173
13174         * java/util/TimeZone.java (getDSTSavings): New method.
13175         Fixes PR libgcj/7786.
13176
13177 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13178
13179         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
13180         to see if `the_method == 0' before looking up vtable index.
13181         Fixes PR libgcj/7709.
13182
13183 2002-09-25  Tom Tromey  <tromey@redhat.com>
13184
13185         * java/lang/natClassLoader.cc:
13186         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
13187         * resolve.cc: Include NoClassDefFoundError.h, not
13188         ClassNotFoundException.h.
13189         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
13190
13191         * defineclass.cc: Don't include ClassNotFoundException.h.
13192
13193         * resolve.cc: Include StringBuffer.
13194         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
13195
13196         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
13197         allocated but not initialized.
13198
13199 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13200
13201         Fix for PR libgcj/7766:
13202         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
13203         (getNextEntry): Set it.
13204         (closeEntry): Likewise.
13205         (read): Likewise.
13206         (close): Likewise.
13207         (available): Use it.
13208
13209 2002-09-25  Michael Koch  <konqueror@gmx.de>
13210
13211         * java/net/DatagramSocket.java
13212         (DatagramSocket): Initialize new instance variables.
13213         (close): Reset new instance variables.
13214         (getLocalAddress): Remove unneeded SecurityManager usage.
13215         (getLocalPort): Check if socket is already bound.
13216         (isConnected): New method.
13217         (getInetAddress): Implemented.
13218         (getPort): Better Implementation, documentation fixed.
13219         (getRemoteSocketAddress): New method.
13220         * java/net/JarURLConnection.java
13221         (element): Typo fixed.
13222         (getMainAttributes): New method.
13223         (getAttributes): New method (stub only).
13224         (getManifest): New method (stub only).
13225         * java/net/NetPermission.java: Added serialVersionsUID.
13226         * java/net/Socket.java
13227         (connect): Check blocking mode of associated channel,
13228         documentation added.
13229         (getLocalSocketAddress): Better implementation.
13230         (getRemoteSocketAddress): Implemented.
13231         (isBound): New method.
13232         (setSendBufferSize): Documentation added.
13233         * java/net/SocketAddress.java: Added serialVersionsUID.
13234         * java/net/SocketPermission.java: Added serialVersionsUID.
13235         * java/net/URL.java
13236         (URL): Wrap for shorter lines, initialize new instance variables,
13237         documentation added.
13238         (equals): Check new instance variables too.
13239         (getContent): Documentation added.
13240         (getPath): Documentation added.
13241         (getAuthority): New method.
13242         (getHost): Documentation added.
13243         (getPort): Documentation added.
13244         (getDefaultPort): New method.
13245         (getProtocol): Documentation added.
13246         (getUserInfo): Documentation added.
13247         (set): Initialize new instance variables, documentation added.
13248         * java/net/URLStreamHandler.java
13249         (setURL): New method.
13250         * java/net/natPlainDatagramSocketImpl.cc
13251         (connect): Fix exception name.
13252         (disconnect): Fix exception name.
13253
13254 2002-09-25  Michael Koch  <konqueror@gmx.de>
13255
13256         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
13257         * java/nio/channels/DatagramChannel.java:
13258         extends AbstractSelectableChannel
13259         * java/nio/channels/ServerSocketChannel.java:
13260         extends AbstractSelectableChannel
13261         * java/nio/channels/SocketChannel.java:
13262         extends AbstractSelectableChannel
13263         * Makefile.am (ordinary_java_source_files):
13264         java/nio/channels/spi/AbstractSelectableChannel.java added.
13265         * Makefile.in: Regenerated.
13266
13267 2002-09-25  Michael Koch  <konqueror@gmx.de>
13268
13269         * java/net/DatagramSocket.java
13270         (DatagramSocket): Exception documentation added.
13271         (bind): Exception documentation added, addded SecurityManager check,
13272         added SocketAddress type check.
13273         (getSoTimeout): Check impl.
13274         (receive): Fix SecurityManager check, check impl, documentation added.
13275         (send): Check channel mode, documentation added.
13276         (connect): New method.
13277         (disconnect): Implemented.
13278         (getLocalSocketAddress): New method.
13279         (getReceiveBufferSize): Check impl.
13280         (setReuseAddress): Check impl.
13281         (getReuseAddress): Check impl.
13282         (setBroadcast): Check impl.
13283         (getBroadcast): Check impl.
13284         (setTrafficClass): Check impl, Documentation cleared.
13285         (getTrafficClass): Check impl.
13286         (getSendBufferSize): Check impl.
13287         (setReceiveBufferSize): Check impl, documentation added.
13288         (setSendBufferSize): Documentation added.
13289         (setDatagramSocketImplFactory): New method.
13290         * java/net/HttpURLConnection.java
13291         (HTTP_INTERNAL_ERROR): The correct code is 500.
13292         (HTTP_NOT_IMPLEMENTED): Added new constant.
13293         (setFollowRedirects): Documentation added.
13294         (getInstanceFollowRedirects): New method.
13295         (setInstanceFollowRedirects): New method.
13296         (setRequestMethod): Documentation added.
13297         (getResponseCode): Documentation added.
13298         (getResponseMessage): Documentation added.
13299         * java/net/JarURLConnection.java
13300         (JarURLConnection): protected since JDK 1.4.
13301         (getJarEntry): java.io.IOException to IOException, documentation added.
13302         (getJarFile): Documentation added.
13303         * java/net/ServerSocket.java
13304         (ServerSocket): Private to public, exception added.
13305         (ServerSocket): java.io.IOException to IOException, documentation added.
13306         (bind): Check socket address type, documentation added.
13307         (bind): java.io.IOException to IOException, documentation added.
13308         (accept): Documentation added.
13309         (implAccept): Check ch is not non-blocking, documentation added.
13310         (setSoTimeout): Documentation fixed.
13311         (setReceiveBufferSize): Documentation added.
13312         * java/net/Socket.java
13313         (Socket): Documentation added.
13314         (bind): Documentation added.
13315         (connect): Check socket address type, documentation added.
13316         (getRemoteSocketAddress): New method.
13317         (getLocalSocketAddress): New method.
13318         (setSoLinger): Documentation added.
13319         (getReuseAddress): New method.
13320         (setReuseAddress): New method.
13321         (getTrafficClass): New method.
13322         (setTrafficClass): New method.
13323         * java/net/URLStreamHandler.java
13324         (openConnection): java.io.IOException to IOException.
13325         (parseURL): Documentation added.
13326         (sameFile): public to protected, documentation added.
13327         (setURL): Documentation added.
13328         * java/nio/IllegalBlockingModeException.java: New file.
13329         * Makefile.am (ordinary_java_source_files):
13330         added java/nio/IllegalBlockingModeException.java
13331         * Makefile.in: Regenerated.
13332
13333 2002-09-25  Michael Koch  <konqueror@gmx.de>
13334
13335         * java/net/DatagramPacket
13336         (DatagramPacket): Exception documentation added.
13337         (setData): Likewise.
13338         (setSocketAddress): Likewise.
13339         * java/net/DatagramSocketImpl.java
13340         (peek): Documentation addded.
13341         (peekData): Documentation addded.
13342         (send): Documentation addded.
13343         (receive): Documentation addded.
13344         (connect): New method.
13345         (disconnect): New method.
13346         (joinGroup): New abstract method.
13347         (leaveGroup): New abstract method.
13348         * java/net/InetSocketAddress.java
13349         (InetSocketAddress): Documentation added.
13350         (equals): final keyword added.
13351         (getAddress): final keyword added.
13352         (getHostName): final keyword added.
13353         (getPort): final keyword added.
13354         (hashCode): final keyword added.
13355         (isUnresolved): final keyword added.
13356         * java/net/MulticastSocket.java
13357         (MulticastSocket): Documentation added.
13358         (MulticastSocket): New method.
13359         (joinGroup): Documentation added.
13360         (joinGroup): New method.
13361         (leaveGroup): Documentation added.
13362         (leaveGroup): New method.
13363         (send): Documentation added.
13364         * java/net/NetworkInterface.java
13365         (getByName): Documentation added.
13366         (getByInetAddress): Documentation added.
13367         (getNetworkInterfaces): Documentation added.
13368         * java/net/PlainDatagramSocketImpl.java
13369         (connect): New method.
13370         (disconnect): New method.
13371         * java/net/SocketImpl.java
13372         (create): Documentation added.
13373         (shutdownInput): Convert public to protected, as it always was.
13374         (shutdownOutput): Convert public to protected, as it always was.
13375         * java/net/SocketOptions.java
13376         (whole file): Reintented.
13377         * java/net/URLClassLoader.java
13378         (URLClassLoader): SecurityManager check added, documentation added.
13379         (findResources): Documentation added.
13380         (findClass): Documentation added.
13381         (newInstance): More correct method arguments.
13382         * java/net/URLConnection.java
13383         (connect): Documentation added.
13384         (getContent): Documentation added.
13385         (getPermission): Documentation added.
13386         (getInputStream): Documentation added.
13387         (getOutputStream): Documentation added.
13388         (setDoInput): Throw correct exception, documentation added.
13389         (setDoOutput): Throw correct exception, documentation added.
13390         (setAllowUserInteraction): Throw correct exception, documentation added.
13391         (setUseCaches): Throw correct exception, documentation added.
13392         (setIfModifiedSince): Throw correct exception, documentation added.
13393         (setRequestProperty): Throw exception, documentation added.
13394         (addRequestProperty): Throw exception, documentation added.
13395         (getRequestProperty): Throw exception, documentation added.
13396         (getRequestProperties): Documentation added.
13397         (setContentHandlerFactory): Documentation added.
13398         (guessContentTypeFromName): protected to public.
13399         (setFileNameMap): Documentation added.
13400         * java/net/URLDecoder.java
13401         (URLDecoder): New method.
13402         (decode): Documentation added.
13403         (whole file): Reindented.
13404         * java/net/URLEncoder.java
13405         (encode): Documentation added.
13406         * java/net/natPlainDatagramSocketImpl.cc
13407         (connect): New method.
13408         (disconnect): New method.
13409         * javax/naming/RefAddr:
13410         (addrType): addrType was never final.
13411         (equals): Fix typo in method name.
13412         * javax/naming/BinaryRefAddr:
13413         (equals): Fix typo in method name.
13414
13415 2002-09-22  Tom Tromey  <tromey@redhat.com>
13416
13417         Fix for PR libgcj/6576:
13418         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
13419         didn't find a given bundle.
13420         (getBundle): Don't require base bundle.
13421         (setParent): Removed old comment.
13422         (tryLocalBundle): Try components even if preceding components were
13423         empty.
13424
13425 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13426
13427         * Makefile.am (all-multi): Fix multilib parallel build.
13428
13429 2002-09-21  Michael Koch  <konqueror@gmx.de>
13430
13431         * java/net/Socket.java
13432         (sendUrgentData): New method.
13433         (getChannel): New method.
13434         * java/net/ServerSocket.java
13435         (getChannel): New method.
13436         (isBound): New method.
13437         * java/net/DatagramSocket.java
13438         (DatagramSocket): Two new methods.
13439         (bind): New method.
13440         (getChannel): New method.
13441         (isBound): New method.
13442         (send): Added newline to to make shorter lines.
13443         * java/net/PlainDatagramSocketImpl.java
13444         (mcastGrp): Added argument.
13445         (join): Use new mcastGrp.
13446         (leave): Use new mcastGrp.
13447         (joinGroup): New method.
13448         (leaveGroup): New method.
13449         * java/net/natPlainDatagramSocketImpl.cc
13450         (mcastGrp): Added argument, no yet really implemented.
13451         (getOption): Added newline for shorter lines.
13452         * java/net/natPlainSocketImpl.cc
13453         (read, setOption, getOption): Added newline for shorter lines.
13454
13455 2002-09-19  Tom Tromey  <tromey@redhat.com>
13456
13457        * java/lang/ClassLoader.java (resolveClass0): Set cause for
13458        newly-created exception.
13459
13460 2002-09-18  Michael Koch  <konqueror@gmx.de>
13461
13462         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
13463         java/util/regex/PatternSyntaxException.java:
13464         Merge with classpath, new files.
13465         * Makefile.am (core_java_source_files):
13466         Added java/util/regex/Matcher.java,
13467         java/util/regex/Pattern.java,
13468         java/util/regex/PatternSyntaxException.java
13469         * Makefile.in: Regenerated.
13470         * include/config.h.in: Added HAVE_NET_IF_H.
13471         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
13472         Removed #if 0 ... #endif.
13473
13474 2002-09-17  Michael Koch  <konqueror@gmx.de>
13475
13476         * java/net/natNetworkInterface.cc:
13477         Removed unneed and yet wrong includes.
13478
13479 2002-09-17  Michael Koch  <konqueror@gmx.de>
13480
13481         * java/net/NetworkInterface.java: New file.
13482         * java/net/natNetworkInterface.java: New file.
13483         * configure.in: Added check for net/if.h.
13484         * configure: Regenerated.
13485         * Makefile.am
13486         (ordinary_java_source_files): Added NetworkInterface.java.
13487         (nat_source_files): Added natNetworkInterface.cc.
13488         * Makefile.in: Regenerated.
13489
13490 2002-09-16  Tom Tromey  <tromey@redhat.com>
13491
13492         * java/net/URLClassLoader.java (findClass): Code source for a
13493         class from a jar is not necessarily a jar: URL.
13494
13495 2002-09-16  Michael Koch  <konqueror@gmx.de>
13496
13497         * java/lang/AssertionError.java:
13498         Merge with classpath, fixes HTML.
13499         * java/rmi/server/LogStream.java:
13500         Merge with classpath, fixes some constants.
13501         * java/net/server/RemoteServer.java:
13502         Merge with classpath, adds serialVersionUID.
13503         * javax/naming/BinaryRefAddr.java:
13504         Merge with classpath, s/equal/equals/.
13505         * javax/naming/NamingException.java:
13506         Merge with classpath, fixed typo.
13507         * javax/naming/RefAddr.java:
13508         Merge with classpath, s/equal/equals/.
13509         * java/awt/Toolkit.java:
13510         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
13511         and typo fixed.
13512
13513 2002-09-15  Adam Megacz <adam@xwt.org>
13514
13515         * java/net/natPlainSocketImpl.cc: fixed typo.
13516
13517 2002-09-15  Adam Megacz <adam@xwt.org>
13518
13519         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
13520         which don't work on Win32 (yet).
13521
13522 2002-09-14  Adam Megacz <adam@xwt.org>
13523
13524         * java/net/natPlainDatagramSocket.cc: removed #include
13525         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
13526         * include/win32.h: included definition for IP_TOS to satisfy
13527         natPlainDatagramSocket.cc
13528
13529 2002-09-13  Michael Koch  <konqueror@gmx.de>
13530
13531         * java/net/DatagramPacket.java (DatagramPacket):
13532         Added linebreak for 80 chars per line.
13533         * java/net/JarURLConection.java
13534         (getInputStreami, getJarEntry): Likewise.
13535         * java/net/SocketPErmission.java
13536         (SocketPermission class docu, implies): Likewise.
13537         * java/net/URLClassLoader.java (findResources): Likewise.
13538         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
13539
13540 2002-09-13  Michael Koch  <konqueror@gmx.de>
13541
13542         * java/nio/channels/DatagramChannel.java,
13543         java/nio/channels/ServerSocketChannel.java
13544         java/nio/channels/SocketChannel.java:
13545         New dummy files to make java.net fully JDK 1.4 compatible
13546         * Makefile.am (ordinary_java_source_files): Added
13547         java/net/DatagramSocketImplFactory.java (long forgotten),
13548         java/nio/SocketChannel.java,
13549         java/nio/ServerSocketChannel.java,
13550         java/nio/DatagramChannel.java
13551         * Makefile.in: Regenrated.
13552
13553 2002-09-12  Michael Koch  <konqueror@gmx.de>
13554
13555         * java/net/DatagramSocketImpl.java
13556         (peekData): New method.
13557         * java/net/PlainDatagramSocketImpl.java
13558         (peekData): New method.
13559         * java/net/natPlainDatagramSocketImpl.cc
13560         (peekData): New method.
13561         * java/net/URLConnection
13562         (getPermission): New method.
13563         (addRequestProperty): New method.
13564         (getRequestProperties): New method.
13565         (guessContentTypeFromStream): New method, not really implemented.
13566         (URLConnection): Added/updated documentation.
13567         (connect): Added/updated documentation.
13568         (getURL): Added/updated documentation.
13569         (getContentLength): Added/updated documentation.
13570         (getContentType: Added/updated documentation.
13571         (getContentEncoding): Added/updated documentation.
13572         (getExpiration): Added/updated documentation.
13573         (getDate): Added/updated documentation.
13574         (getLastModified): Added/updated documentation.
13575         (getHeaderField): Added/updated documentation.
13576         (getHeaderFields): Added/updated documentation.
13577         (getHeaderFieldInt): Added/updated documentation.
13578         (getHeaderFieldDate): Added/updated documentation.
13579         (getHeaderFieldKey): Added/updated documentation.
13580         (getContent): Added/updated documentation.
13581         (getInputStream): Added/updated documentation.
13582         (getOutputStream): Added/updated documentation.
13583         (toString): Added/updated documentation.
13584         (setDoInput): Added/updated documentation.
13585         (getDoInput): Added/updated documentation.
13586         (setDoOutput): Added/updated documentation.
13587         (getDoOutput): Added/updated documentation.
13588         (setAllowUserInteraction): Added/updated documentation.
13589         (getAllowUserInteraction): Added/updated documentation.
13590         (setDefaultAllowUserInteraction): Added/updated documentation.
13591         (getDefaultAllowUserInteraction): Added/updated documentation.
13592         (setUseCaches): Added/updated documentation.
13593         (getUseCaches): Added/updated documentation.
13594         (setIfModifiedSince): Added/updated documentation.
13595         (getIfModifiedSince): Added/updated documentation.
13596         (getDefaultUseCaches): Added/updated documentation.
13597         (setDefaultUseCaches): Added/updated documentation.
13598         (setRequestProperty): Added/updated documentation.
13599         (getRequestProperty): Added/updated documentation.
13600         (setDefaultRequestProperty): Added/updated documentation.
13601         (getDefaultRequestProperty): Added/updated documentation.
13602         (setContentHandlerFactory): Added/updated documentation.
13603         (guessContentTypeFromName): Added/updated documentation.
13604         (getFileNameMap): Added/updated documentation.
13605         (setFileNameMap): Added/updated documentation.
13606
13607 2002-09-11  Michael Koch  <konqueror@gmx.de>
13608
13609         * java/net/Socket.java
13610         (Socket): protected to public (since JDK 1.4). Added @specnote.
13611         (bind): New method.
13612         (connect): Two new methods.
13613         (getKeepalive): Get correct socket option.
13614         (setKeepalive): Set correct socket option.
13615         (getOOBInline): New method.
13616         (setOOBInline): New method.
13617         * java/net/ServerSocket.java
13618         (bind): Two new methods.
13619         (getInetAddress): Reimplemented, catch exception.
13620         (getLocalSocketAddress): New method.
13621         (setReuseAddress): New method.
13622         (getReuseAdress): New method.
13623         (setReceiveBufferSize): New method.
13624         (getReceiveBufferSize): New method.
13625         (toString): Made string JDK 1.4 compliant.
13626
13627 2002-09-10  Michael Koch  <konqueror@gmx.de>
13628
13629         * java/net/SocketImpl.java
13630         (connect): New method.
13631         (supportsUrgentData): New method.
13632         (sendUrgentData): New method.
13633         * java/net/PlainSocketImpl.java
13634         (connect): One new method and two new implementation.
13635         (sendUrgentData): New method.
13636         * java/natPlainSocketImpl.cc
13637         (connect): Arguments changed, added support for timeouts.
13638         (getOption): Another __java_boolean to jboolean.
13639
13640 2002-09-07  Adam Megacz <adam@xwt.org>
13641
13642         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
13643         definition of IP_TOS.
13644
13645 2002-09-04  Michael Koch  <konqueror@gmx.de>
13646
13647         * java/net/DatagramSocket.java
13648         (DatagramSocket): Added documentation.
13649         (close): Likewise.
13650         (getLocalAddress): Likewise.
13651         (getLocalPort): Likewise.
13652         (receive): Likewise.
13653         (send): Likewise.
13654         (setSoTimeout): Likewise.
13655         (connect): New method.
13656         (disconnect): New method.
13657         (getInetAddress): New method (FIXME)
13658         (getPort): New method.
13659         (setReuseAddress): New method.
13660         (getReuseAddress): New method.
13661         (setBroadcast): New method.
13662         (getBroadcast): New method.
13663         (setTrafficClass): New method.
13664         (getTrafficClass): New method.
13665         * java/net/MulticastSocket.java):
13666         (getTTL): Added @see in documentation.
13667         (setTTL): Added @see in documentation.
13668         (setLoopbackMode): New method.
13669         (getLoopbackMode): New method.
13670         * java/net/PlainSocketImpl.java:
13671         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
13672         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13673         * java/net/PlainDatagramSocketImpl.java
13674         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
13675         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13676         * java/net/natPlainSocketImpl.cc
13677         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13678         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13679         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13680         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13681         This should also fix SO_KEEPALIVE
13682         * java/net/natPlainDatagramSocketImpl.cc
13683         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13684         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13685         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13686         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13687
13688 2002-09-04  Michael Koch  <konqueror@gmx.de>
13689
13690         * java/net/SocketOptions.java: added static variables to be JDK 1.4
13691         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
13692         IP_MULTICAST_LOOP, IP_TOS
13693
13694 2002-09-03  Tom Tromey  <tromey@redhat.com>
13695
13696         * java/lang/Class.h (_getDeclaredMethod): Declare.
13697         (_getMethod): Now private.
13698         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
13699         getDeclaredMethod.  Now returns NULL on failure.
13700         * java/lang/Class.java (_getDeclaredMethod): Declare.
13701         (getDeclaredMethod): No longer native; implements access checks.
13702
13703 2002-09-01  Mark Wielaard  <mark@klomp.org>
13704
13705         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
13706         (sanitizeStack): Correctly reset unknown and interpreter counters,
13707         detect interpreter runtime frames.
13708         (demangleInterpreterMethod): New method.
13709         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
13710         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
13711         filling in addrs[].
13712
13713 2002-09-02  Michael Koch  <konqueror@gmx.de>
13714
13715         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
13716         re-indented documentation.
13717
13718 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13719
13720         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
13721         public, per 1.4 spec.  Fixes PR libgcj/7785.
13722
13723 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
13724
13725         * Makefile.in: Rebuilt.
13726         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
13727
13728 2002-08-29  Tom Tromey  <tromey@redhat.com>
13729
13730         * java/net/JarURLConnection.java (getCertificates): New method
13731         from Classpath.
13732         * java/net/URLClassLoader.java (URLClassLoader): Extends
13733         SecureClassLoader.
13734         (definePackage): New method from Classpath.
13735         (getPermissions): Likewise.
13736         (newInstance): Likewise.
13737         (findClass): Construct CodeSource for new class (from Classpath).
13738         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
13739         methods.
13740         * java/net/URL.java (getUserInfo): New method.
13741         (set(String,String,int,String,String,String,String,String)): New
13742         method.
13743         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
13744         (shutdownInput, shutdownOutput): Declare.
13745         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
13746         Define.
13747         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
13748         (getOption): Likewise.
13749         (shutdownInput): New method.
13750         (shutdownOutput): Likewise.
13751         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
13752         keepalive.
13753         (getOption): Likewise.
13754         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
13755         * java/net/Socket.java (setKeepAlive): New method.
13756         (getKeepAlive): Likewise.
13757         (shutdownInput, shutdownOutput): New methods.
13758
13759 2002-08-29  Michael Koch  <konqueror@gmx.de>
13760
13761         * java/net/DatagramPacket.java: updated to JDK 1.4 API
13762         new methods are:
13763         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
13764           address),
13765         DatagramPacket(byte[] buf, int length, SocketAddress address),
13766         void setSocketAddress(SocketAddress address)
13767         public SocketAddress getSocketAddress()
13768
13769 2002-08-29  Tom Tromey  <tromey@redhat.com>
13770
13771         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
13772         ftruncate is missing.
13773         * configure, include/config.h.in: Rebuilt.
13774         * acconfig.h (HAVE_FTRUNCATE): Mention.
13775         * configure.in: Check for ftruncate.
13776
13777 2002-08-29  Tom Tromey  <tromey@redhat.com>
13778
13779         * include/jvm.h (struct _Jv_frame_info): New structure.
13780         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
13781         java-interp.h.
13782         (lookupInterp): New method.
13783         (getAddrAsString): Use _Jv_frame_info.
13784         (dladdrLookup): Likewise.
13785         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
13786         interpreted frame.
13787         (lookupInterp): Declare.
13788         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
13789         (fillInStackTrace): Collect information on interpreted frames.
13790         Use _Jv_frame_info.
13791         * interpret.cc: Include Thread.h.
13792         (run): Create and push _Jv_MethodChain object.
13793         (_Jv_EndOfInterpreter): New global.
13794         * java/lang/Thread.java (interp_frame): New field.
13795         * include/java-interp.h (struct _Jv_MethodChain): New structure.
13796         Include NameFinder.h.
13797
13798 2002-08-28  Tom Tromey  <tromey@redhat.com>
13799
13800         * java/lang/Class.h: Include Package.h.
13801         (Class::getProtectionDomain): Declare.
13802         (Class::getPackage): Declare.
13803
13804 2002-08-28  Michael Koch <konqueror@gmx.de>
13805
13806         * java/net/InetSocketAddress.java: Added some documentation and argument
13807         checks for the port numbers.
13808         * java/net/DatagramSocketImplFactory.java: New file.
13809
13810 2002-08-28  Michael Koch <konqueror@gmx.de>
13811
13812         * java/net/Authenticator.java: added some documentation.
13813
13814 2002-08-27  Tom Tromey  <tromey@redhat.com>
13815
13816         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
13817         class.
13818         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
13819
13820 2002-08-27  Michael Koch <konqueror@gmx.de>
13821
13822         * java/net/BindException.java,
13823         java/net/JarURLConnection.java,
13824         java/net/FileNameMap.java,
13825         java/net/HttpURLConnection.java,
13826         java/net/InetSocketAddress.java,
13827         java/net/DatagramPacket.java,
13828         java/net/DatagramSocket.java,
13829         java/net/DatagramSocketImpl.java,
13830         java/net/MulticastSocket.java,
13831         java/net/PasswordAuthentication.java,
13832         java/net/ServerSocket.java,
13833         java/net/Socket.java,
13834         java/net/URLClassLoader.java,
13835         java/net/URLConnection.java: add/update of some @since/@deprecated
13836
13837 2002-08-27  Tony Kimball <alk@pobox.com>
13838             Tom Tromey  <tromey@redhat.com>
13839
13840         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
13841         define.
13842         (::close): Removed.
13843         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
13844         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
13845         (::close): Removed.
13846         (PlainSocketImpl::close): Use NATIVE_CLOSE.
13847         * include/win32.h (getcwd): Removed declaration.  Include io.h.
13848
13849 2002-08-25  Adam Megacz <adam@xwt.org>
13850
13851         * include/win32.h (getcwd): copied function declaration as
13852         temporary fix for header confusion.
13853
13854 2002-08-24  Mark Wielaard <mark@klomp.org>
13855
13856         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
13857         (core_java_source_files): Add VMThrowable.java and NameFinder.java
13858         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
13859         and natNameFinder.cc.
13860         * Makefile.in: Regenerate.
13861         * prims.cc: Use trace_enabled from VMThrowable.
13862         * name-finder.cc: Removed.
13863         * gcj/javaprims.h: Add class VMThrowable.
13864         * gnu/gcj/runtime/NameFinder.java: New file.
13865         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
13866         * include/name-finder.h: Removed.
13867         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
13868         method stackTraceString().
13869         (printStackTrace (PrintWriter)): Likewise.
13870         (stackTraceString): Complete rewrite of old printStackTrace using
13871         StringBuffer.
13872         (stackTraceStringBuffer): New helper method for stackTraceString().
13873         (fillInStackTrace): Delegate to VMTrowable.
13874         (getStackTrace): Likewise.
13875         (getStackTrace0): Removed.
13876         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
13877         (setStackTrace): Copy given array.
13878         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
13879         * java/lang/VMThrowable.java: New class.
13880         * java/lang/natVMThrowable.cc: New file.
13881
13882 2003-08-23  Michael Koch  <konqueror@gmx.de>
13883
13884         * java/net/URLConnection.java,
13885         java/netJarURLConnection.java,
13886         gnu/gcj/protocol/core/Connection.java,
13887         gnu/gcj/protocol/file/Connection.java,
13888         gnu/gcj/protocol/http/Connection.java: Added implementation of
13889         getHeaderFields().
13890
13891 2002-08-22  Tom Tromey  <tromey@redhat.com>
13892
13893         * gij.cc (help): Document -cp and -classpath.
13894         (main): Handle -classpath.
13895
13896 2002-08-21  Tom Tromey  <tromey@redhat.com>
13897
13898         * Makefile.in: Rebuilt.
13899         * Makefile.am (ordinary_java_source_files): Added
13900         SocketAddress.java, InetSocketAddress.java.
13901         * java/net/PortUnreachableException.java: Merged with Classpath.
13902         * java/net/SocketTimeoutException.java: Likewise.
13903         * java/net/URISyntaxException.java: Likewise.
13904         * java/net/SocketAddress.java: New class from Classpath.
13905         * java/net/InetSocketAddress.java: Likewise.
13906
13907 2003-08-21  Michael Koch  <konqueror@gmx.de>
13908
13909         * java/net/Authenticator.java: updated JDK 1.4
13910         * java/net/ContentHandler.java: updated JDK 1.4
13911
13912 2002-08-20  Michael Koch  <konqueror@gmx.de>
13913
13914         * java/net/URISyntaxException.java: New file.
13915         * java/net/SocketTimeoutException.java: New file.
13916         * java/net/PortUnreachableException.java: New file.
13917         * Makefile.am: Updated.
13918         * Makefile.in: Rebuilt.
13919
13920 2002-08-18  Mark Wielaard  <mark@klomp.org>
13921
13922         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
13923         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13924         MessageDigestSpi (fixes Classpath bug #783).
13925
13926 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13927
13928         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
13929         (startProcess): Allocate path for chdir in async-signal-safe way.
13930
13931 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13932
13933         Fix for PR libgcj/7570 and PR libgcj/7578:
13934         * java/lang/natPosixProcess.cc: Include java/io/File.h.
13935         (startProcess): Handle new `dir' argument.
13936         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
13937         argument.
13938         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
13939         argument.
13940         (startProcess): Likewise.
13941         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
13942         argument.
13943         * java/lang/Runtime.java (execInternal): Added `dir' argument.
13944         (exec): Don't create new environment if ENV==null.  Pass DIR to
13945         execInternal.
13946         * java/lang/natRuntime.cc: Include java/io/File.h.
13947         (execInternal): Added `dir' argument.
13948
13949 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
13950
13951         * java/io/RandomAccessFile.java (skipBytes): Return number of
13952         bytes skipped.
13953
13954 2002-08-01  Mark Wielaard  <mark@klomp.org>
13955
13956         Reenable patch since shared library troubles on powerpc are solved:
13957         * gnu/java/security/provider/Gnu.java: Reference all implementation
13958         classes by using Class.getName().
13959         * gnu/java/security/der/DEREncodingException.java,
13960         gnu/java/security/provider/DERReader.java,
13961         gnu/java/security/provider/DERWriter.java,
13962         gnu/java/security/provider/DSAKeyPairGenerator.java,
13963         gnu/java/security/provider/DSAParameterGenerator.java,
13964         gnu/java/security/provider/DSAParameters.java,
13965         gnu/java/security/provider/DSASignature.java,
13966         gnu/java/security/provider/GnuDSAPrivateKey.java,
13967         gnu/java/security/provider/GnuDSAPublicKey.java,
13968         gnu/java/security/provider/MD5.java,
13969         gnu/java/security/util/Prime.java: New classes
13970         * Makefile.am (ordinary_java_source_files): Add above files.
13971         * Makefile.in: Regenerate.
13972         * gnu/java/security/provider/DefaultPolicy.java
13973         (getPermissions): Don't maintain static class variable of Permissions.
13974         * gnu/java/security/provider/SHA.java
13975         (engineUpdate): algorithm change.
13976         (engineDigest): algorithm change.
13977
13978 2002-08-09  Mark Wielaard  <mark@klomp.org>
13979
13980         * java/awt/image/MemoryImageSource.java: Change constructor to take
13981         int[] not byte[].
13982         * java/awt/Graphics2D.java: Uncomment methods that can now be
13983         compiled.
13984         * java/awt/GridBagLayout.java: New stub implementation.
13985         * javax/swing/text/html/HTML.java: Stub implementation.
13986         * javax/swing/text/html/parser/ParserDelegator.java: New stub
13987         implementation.
13988
13989         * Makefile.am: Add new files.
13990         * Makefile.in: Rebuilt.
13991
13992 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13993
13994         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
13995         methods in Graphics2D.
13996
13997 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13998
13999         AWT/Swing merge from GNU Classpath.
14000
14001         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
14002         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
14003         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
14004         java/awt/color/ProfileDataException.java,
14005         java/awt/CompositeContext.java, java/awt/Composite.java,
14006         java/awt/ContainerOrderFocusTraversalPolicy.java,
14007         java/awt/datatransfer/FlavorTable.java,
14008         java/awt/DefaultFocusTraversalPolicy.java,
14009         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
14010         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
14011         java/awt/dnd/DragGestureListener.java,
14012         java/awt/dnd/DragGestureRecognizer.java,
14013         java/awt/dnd/DragSourceAdapter.java,
14014         java/awt/dnd/DragSourceContext.java,
14015         java/awt/dnd/DragSourceDragEvent.java,
14016         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
14017         java/awt/dnd/DragSourceListener.java,
14018         java/awt/dnd/DragSourceMotionListener.java,
14019         java/awt/dnd/DropTarget.java,
14020         java/awt/dnd/InvalidDnDOperationException.java,
14021         java/awt/dnd/peer/DragSourceContextPeer.java,
14022         java/awt/event/AWTEventListenerProxy.java,
14023         java/awt/event/MouseWheelEvent.java,
14024         java/awt/event/MouseWheelListener.java,
14025         java/awt/event/WindowFocusListener.java,
14026         java/awt/event/WindowStateListener.java,
14027         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
14028         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
14029         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
14030         java/awt/geom/FlatteningPathIterator.java,
14031         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
14032         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
14033         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
14034         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
14035         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
14036         java/awt/image/ImagingOpException.java,
14037         java/awt/image/RasterFormatException.java,
14038         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
14039         java/awt/image/VolatileImage.java,
14040         java/awt/image/WritableRenderedImage.java,
14041         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
14042         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
14043         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
14044         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
14045         java/awt/PageAttributes.java, java/awt/print/Book.java,
14046         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
14047         java/awt/print/Paper.java, java/awt/print/Printable.java,
14048         java/awt/print/PrinterAbortException.java,
14049         java/awt/print/PrinterException.java,
14050         java/awt/print/PrinterGraphics.java,
14051         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
14052         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
14053         java/awt/Stroke.java, java/awt/TexturePaint.java,
14054         javax/accessibility/AccessibleAction.java,
14055         javax/accessibility/AccessibleBundle.java,
14056         javax/accessibility/AccessibleComponent.java,
14057         javax/accessibility/AccessibleContext.java,
14058         javax/accessibility/AccessibleEditableText.java,
14059         javax/accessibility/AccessibleExtendedComponent.java,
14060         javax/accessibility/AccessibleExtendedTable.java,
14061         javax/accessibility/AccessibleHyperlink.java,
14062         javax/accessibility/AccessibleHypertext.java,
14063         javax/accessibility/AccessibleIcon.java,
14064         javax/accessibility/Accessible.java,
14065         javax/accessibility/AccessibleKeyBinding.java,
14066         javax/accessibility/AccessibleRelation.java,
14067         javax/accessibility/AccessibleRelationSet.java,
14068         javax/accessibility/AccessibleResourceBundle.java,
14069         javax/accessibility/AccessibleRole.java,
14070         javax/accessibility/AccessibleSelection.java,
14071         javax/accessibility/AccessibleState.java,
14072         javax/accessibility/AccessibleStateSet.java,
14073         javax/accessibility/AccessibleTable.java,
14074         javax/accessibility/AccessibleTableModelChange.java,
14075         javax/accessibility/AccessibleText.java,
14076         javax/accessibility/AccessibleValue.java,
14077         javax/swing/AbstractAction.java,
14078         javax/swing/AbstractButton.java,
14079         javax/swing/AbstractCellEditor.java,
14080         javax/swing/AbstractListModel.java,
14081         javax/swing/AbstractSet.java, javax/swing/Action.java,
14082         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
14083         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
14084         javax/swing/border/CompoundBorder.java,
14085         javax/swing/border/EmptyBorder.java,
14086         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
14087         javax/swing/border/LineBorder.java,
14088         javax/swing/border/MatteBorder.java,
14089         javax/swing/border/TitledBorder.java,
14090         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
14091         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
14092         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
14093         javax/swing/CellRendererPane.java,
14094         javax/swing/colorchooser/AbstractColorChooserPanel.java,
14095         javax/swing/colorchooser/ColorChooserComponentFactory.java,
14096         javax/swing/colorchooser/ColorSelectionModel.java,
14097         javax/swing/colorchooser/DefaultColorSelectionModel.java,
14098         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
14099         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
14100         javax/swing/DefaultBoundedRangeModel.java,
14101         javax/swing/DefaultButtonModel.java,
14102         javax/swing/DefaultCellEditor.java,
14103         javax/swing/DefaultCellRenderer.java,
14104         javax/swing/DefaultComboBoxModel.java,
14105         javax/swing/DefaultDesktopManager.java,
14106         javax/swing/DefaultFocusManager.java,
14107         javax/swing/DefaultListCellRenderer.java,
14108         javax/swing/DefaultListModel.java,
14109         javax/swing/DefaultListSelectionModel.java,
14110         javax/swing/DefaultSingleSelectionModel.java,
14111         javax/swing/DesktopManager.java,
14112         javax/swing/event/AncestorEvent.java,
14113         javax/swing/event/AncestorListener.java,
14114         javax/swing/event/CaretEvent.java,
14115         javax/swing/event/CaretListener.java,
14116         javax/swing/event/CellEditorListener.java,
14117         javax/swing/event/ChangeEvent.java,
14118         javax/swing/event/ChangeListener.java,
14119         javax/swing/event/DocumentEvent.java,
14120         javax/swing/event/DocumentListener.java,
14121         javax/swing/event/EventListenerList.java,
14122         javax/swing/event/HyperlinkEvent.java,
14123         javax/swing/event/HyperlinkListener.java,
14124         javax/swing/event/InternalFrameAdapter.java,
14125         javax/swing/event/InternalFrameEvent.java,
14126         javax/swing/event/InternalFrameListener.java,
14127         javax/swing/event/ListDataEvent.java,
14128         javax/swing/event/ListDataListener.java,
14129         javax/swing/event/ListSelectionEvent.java,
14130         javax/swing/event/ListSelectionListener.java,
14131         javax/swing/event/MenuDragMouseEvent.java,
14132         javax/swing/event/MenuDragMouseListener.java,
14133         javax/swing/event/MenuEvent.java,
14134         javax/swing/event/MenuKeyEvent.java,
14135         javax/swing/event/MenuKeyListener.java,
14136         javax/swing/event/MenuListener.java,
14137         javax/swing/event/MouseInputAdapter.java,
14138         javax/swing/event/MouseInputListener.java,
14139         javax/swing/event/PopupMenuEvent.java,
14140         javax/swing/event/PopupMenuListener.java,
14141         javax/swing/event/SwingPropertyChangeSupport.java,
14142         javax/swing/event/TableColumnModelEvent.java,
14143         javax/swing/event/TableColumnModelListener.java,
14144         javax/swing/event/TableModelEvent.java,
14145         javax/swing/event/TableModelListener.java,
14146         javax/swing/event/TreeExpansionEvent.java,
14147         javax/swing/event/TreeExpansionListener.java,
14148         javax/swing/event/TreeModelEvent.java,
14149         javax/swing/event/TreeModelListener.java,
14150         javax/swing/event/TreeSelectionEvent.java,
14151         javax/swing/event/TreeSelectionListener.java,
14152         javax/swing/event/TreeWillExpandListener.java,
14153         javax/swing/event/UndoableEditEvent.java,
14154         javax/swing/event/UndoableEditListener.java,
14155         javax/swing/filechooser/FileFilter.java,
14156         javax/swing/filechooser/FileSystemView.java,
14157         javax/swing/filechooser/FileView.java,
14158         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
14159         javax/swing/Icon.java, javax/swing/ImageIcon.java,
14160         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
14161         javax/swing/JApplet.java, javax/swing/JButton.java,
14162         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
14163         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
14164         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
14165         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
14166         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
14167         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
14168         javax/swing/JLayeredPane.java, javax/swing/JList.java,
14169         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
14170         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
14171         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
14172         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
14173         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
14174         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
14175         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
14176         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
14177         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
14178         javax/swing/JTextField.java, javax/swing/JTextPane.java,
14179         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
14180         javax/swing/JToolTip.java, javax/swing/JTree.java,
14181         javax/swing/JViewport.java, javax/swing/JWindow.java,
14182         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
14183         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
14184         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
14185         javax/swing/MenuSelectionManager.java,
14186         javax/swing/MutableComboBoxModel.java,
14187         javax/swing/OverlayLayout.java,
14188         javax/swing/plaf/ActionMapUIResource.java,
14189         javax/swing/plaf/basic/BasicBorders.java,
14190         javax/swing/plaf/basic/BasicButtonUI.java,
14191         javax/swing/plaf/basic/BasicCheckBoxUI.java,
14192         javax/swing/plaf/basic/BasicDefaults.java,
14193         javax/swing/plaf/basic/BasicGraphicsUtils.java,
14194         javax/swing/plaf/basic/BasicIconFactory.java,
14195         javax/swing/plaf/basic/BasicLabelUI.java,
14196         javax/swing/plaf/basic/BasicListUI.java,
14197         javax/swing/plaf/basic/BasicLookAndFeel.java,
14198         javax/swing/plaf/basic/BasicOptionPaneUI.java,
14199         javax/swing/plaf/basic/BasicPanelUI.java,
14200         javax/swing/plaf/basic/BasicRadioButtonUI.java,
14201         javax/swing/plaf/basic/BasicScrollPaneUI.java,
14202         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
14203         javax/swing/plaf/basic/BasicTextUI.java,
14204         javax/swing/plaf/basic/BasicToggleButtonUI.java,
14205         javax/swing/plaf/basic/BasicTreeUI.java,
14206         javax/swing/plaf/basic/BasicViewportUI.java,
14207         javax/swing/plaf/BorderUIResource.java,
14208         javax/swing/plaf/ButtonUI.java,
14209         javax/swing/plaf/ColorChooserUI.java,
14210         javax/swing/plaf/ColorUIResource.java,
14211         javax/swing/plaf/ComboBoxUI.java,
14212         javax/swing/plaf/ComponentInputMapUIResource.java,
14213         javax/swing/plaf/ComponentUI.java,
14214         javax/swing/plaf/DesktopIconUI.java,
14215         javax/swing/plaf/DesktopPaneUI.java,
14216         javax/swing/plaf/DimensionUIResource.java,
14217         javax/swing/plaf/FileChooserUI.java,
14218         javax/swing/plaf/FontUIResource.java,
14219         javax/swing/plaf/IconUIResource.java,
14220         javax/swing/plaf/InputMapUIResource.java,
14221         javax/swing/plaf/InsetsUIResource.java,
14222         javax/swing/plaf/InternalFrameUI.java,
14223         javax/swing/plaf/LabelUI.java,
14224         javax/swing/plaf/ListUI.java,
14225         javax/swing/plaf/MenuBarUI.java,
14226         javax/swing/plaf/MenuItemUI.java,
14227         javax/swing/plaf/OptionPaneUI.java,
14228         javax/swing/plaf/PanelUI.java,
14229         javax/swing/plaf/PopupMenuUI.java,
14230         javax/swing/plaf/ProgressBarUI.java,
14231         javax/swing/plaf/RootPaneUI.java,
14232         javax/swing/plaf/ScrollBarUI.java,
14233         javax/swing/plaf/ScrollPaneUI.java,
14234         javax/swing/plaf/SeparatorUI.java,
14235         javax/swing/plaf/SliderUI.java,
14236         javax/swing/plaf/SplitPaneUI.java,
14237         javax/swing/plaf/TabbedPaneUI.java,
14238         javax/swing/plaf/TableHeaderUI.java,
14239         javax/swing/plaf/TableUI.java,
14240         javax/swing/plaf/TextUI.java,
14241         javax/swing/plaf/ToolBarUI.java,
14242         javax/swing/plaf/ToolTipUI.java,
14243         javax/swing/plaf/TreeUI.java,
14244         javax/swing/plaf/UIResource.java,
14245         javax/swing/plaf/ViewportUI.java,
14246         javax/swing/ProgressMonitorInputStream.java,
14247         javax/swing/ProgressMonitor.java,
14248         javax/swing/Renderer.java,
14249         javax/swing/RepaintManager.java,
14250         javax/swing/RootPaneContainer.java,
14251         javax/swing/Scrollable.java,
14252         javax/swing/ScrollPaneConstants.java,
14253         javax/swing/ScrollPaneLayout.java,
14254         javax/swing/SingleSelectionModel.java,
14255         javax/swing/SizeRequirements.java,
14256         javax/swing/SizeSequence.java,
14257         javax/swing/SwingConstants.java,
14258         javax/swing/SwingUtilities.java,
14259         javax/swing/table/AbstractTableModel.java,
14260         javax/swing/table/DefaultTableCellRenderer.java,
14261         javax/swing/table/DefaultTableColumnModel.java,
14262         javax/swing/table/DefaultTableModel.java,
14263         javax/swing/table/TableCellEditor.java,
14264         javax/swing/table/TableCellRenderer.java,
14265         javax/swing/table/TableColumn.java,
14266         javax/swing/table/TableColumnModel.java,
14267         javax/swing/table/TableModel.java,
14268         javax/swing/text/AbstractDocument.java,
14269         javax/swing/text/AttributeSet.java,
14270         javax/swing/text/BadLocationException.java,
14271         javax/swing/text/Caret.java,
14272         javax/swing/text/CharacterIterator.java,
14273         javax/swing/text/ComponentView.java,
14274         javax/swing/text/DefaultCaret.java,
14275         javax/swing/text/DefaultEditorKit.java,
14276         javax/swing/text/Document.java,
14277         javax/swing/text/EditorKit.java,
14278         javax/swing/text/Element.java,
14279         javax/swing/text/GapContent.java,
14280         javax/swing/text/JTextComponent.java,
14281         javax/swing/text/Keymap.java,
14282         javax/swing/text/MutableAttributeSet.java,
14283         javax/swing/text/PlainDocument.java,
14284         javax/swing/text/PlainEditorKit.java,
14285         javax/swing/text/Position.java,
14286         javax/swing/text/Segment.java,
14287         javax/swing/text/StyledDocument.java,
14288         javax/swing/text/StyledEditorKit.java,
14289         javax/swing/text/Style.java,
14290         javax/swing/text/TextAction.java,
14291         javax/swing/text/ViewFactory.java,
14292         javax/swing/text/View.java,
14293         javax/swing/Timer.java,
14294         javax/swing/ToggleButtonModel.java,
14295         javax/swing/ToolTipManager.java,
14296         javax/swing/tree/AbstractLayoutCache.java,
14297         javax/swing/tree/DefaultMutableTreeNode.java,
14298         javax/swing/tree/DefaultTreeCellEditor.java,
14299         javax/swing/tree/DefaultTreeCellRenderer.java,
14300         javax/swing/tree/DefaultTreeModel.java,
14301         javax/swing/tree/DefaultTreeSelectionModel.java,
14302         javax/swing/tree/ExpandVetoException.java,
14303         javax/swing/tree/FixedHeightLayoutCache.java,
14304         javax/swing/tree/MutableTreeNode.java,
14305         javax/swing/tree/RowMapper.java,
14306         javax/swing/tree/TreeCellEditor.java,
14307         javax/swing/tree/TreeCellRenderer.java,
14308         javax/swing/tree/TreeModel.java,
14309         javax/swing/tree/TreeNode.java,
14310         javax/swing/tree/TreePath.java,
14311         javax/swing/tree/TreeSelectionModel.java,
14312         javax/swing/tree/VariableHeightLayoutCache.java,
14313         javax/swing/UIDefaults.java,
14314         javax/swing/UIManager.java,
14315         javax/swing/undo/AbstractUndoableEdit.java,
14316         javax/swing/undo/CannotRedoException.java,
14317         javax/swing/undo/CannotUndoException.java,
14318         javax/swing/undo/CompoundEdit.java,
14319         javax/swing/undo/StateEditable.java,
14320         javax/swing/undo/StateEdit.java,
14321         javax/swing/undo/UndoableEdit.java,
14322         javax/swing/undo/UndoableEditSupport.java,
14323         javax/swing/undo/UndoManager.java,
14324         javax/swing/UnsupportedLookAndFeelException.java,
14325         javax/swing/ViewportLayout.java,
14326         javax/swing/WindowConstants.java: New files, from GNU Classpath.
14327
14328         * java/awt/ActiveEvent.java,
14329         java/awt/Adjustable.java, java/awt/AWTError.java,
14330         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
14331         java/awt/AWTException.java, java/awt/AWTPermission.java,
14332         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
14333         java/awt/Color.java, java/awt/Component.java,
14334         java/awt/ComponentOrientation.java, java/awt/Container.java,
14335         java/awt/datatransfer/MimeTypeParseException.java,
14336         java/awt/datatransfer/Transferable.java,
14337         java/awt/datatransfer/UnsupportedFlavorException.java,
14338         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
14339         java/awt/event/ActionListener.java,
14340         java/awt/event/AdjustmentEvent.java,
14341         java/awt/event/AdjustmentListener.java,
14342         java/awt/event/AWTEventListener.java,
14343         java/awt/event/ComponentAdapter.java,
14344         java/awt/event/ComponentEvent.java,
14345         java/awt/event/ComponentListener.java,
14346         java/awt/event/ContainerAdapter.java,
14347         java/awt/event/ContainerEvent.java,
14348         java/awt/event/ContainerListener.java,
14349         java/awt/event/FocusAdapter.java,
14350         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
14351         java/awt/event/HierarchyBoundsAdapter.java,
14352         java/awt/event/HierarchyBoundsListener.java,
14353         java/awt/event/HierarchyEvent.java,
14354         java/awt/event/HierarchyListener.java,
14355         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
14356         java/awt/event/InputMethodListener.java,
14357         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
14358         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
14359         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
14360         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
14361         java/awt/event/MouseListener.java,
14362         java/awt/event/MouseMotionAdapter.java,
14363         java/awt/event/MouseMotionListener.java,
14364         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
14365         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
14366         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
14367         java/awt/event/WindowListener.java, java/awt/Font.java,
14368         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
14369         java/awt/geom/Ellipse2D.java,
14370         java/awt/geom/IllegalPathStateException.java,
14371         java/awt/geom/Line2D.java,
14372         java/awt/geom/NoninvertibleTransformException.java,
14373         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
14374         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
14375         java/awt/geom/RoundRectangle2D.java,
14376         java/awt/GraphicsConfiguration.java,
14377         java/awt/IllegalComponentStateException.java,
14378         java/awt/image/IndexColorModel.java,
14379         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
14380         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
14381         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
14382         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
14383         java/awt/MenuItem.java, java/awt/PaintContext.java,
14384         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
14385         java/awt/Polygon.java, java/awt/PrintGraphics.java,
14386         java/awt/PrintJob.java, java/awt/Rectangle.java,
14387         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
14388         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
14389         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
14390
14391         * java/awt/im/spi/InputMethod.java,
14392         java/awt/im/spi/InputMethodContext.java,
14393         java/awt/im/spi/InputMethodDescriptor.java,
14394         java/awt/image/renderable/ContextualRenderedImageFactory.java,
14395         java/awt/image/renderable/ParameterBlock.java,
14396         java/awt/image/renderable/RenderContext.java,
14397         java/awt/image/renderable/RenderableImage.java,
14398         java/awt/image/renderable/RenderableImageOp.java,
14399         java/awt/image/renderable/RenderableImageProducer.java,
14400         java/awt/image/renderable/RenderedImageFactory.java: New files from
14401         classpath.
14402
14403         * gnu/java/awt/EventModifier.java,
14404         gnu/java/awt/image/ImageDecoder.java,
14405         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
14406
14407         * gnu/awt/xlib/XGraphicsConfiguration.java,
14408         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
14409         API.
14410
14411         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
14412         GNU Classpath.
14413
14414         * Makefile.am: Add new files.
14415         * Makefile.in: Rebuilt.
14416
14417 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14418
14419         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
14420         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
14421         findResource, getResources, findResources): Add javadoc from classpath.
14422         (getSystemResources): Implemented.
14423
14424 2002-08-01  Mark Wielaard  <mark@klomp.org>
14425
14426         Revert patch that breaks libgcj shared library on powerpc:
14427         * gnu/java/security/provider/Gnu.java: Reverse referencing all
14428         implementation classes by using Class.getName(). Uses Strings again.
14429         * gnu/java/security/der/DEREncodingException.java,
14430         gnu/java/security/provider/DERReader.java,
14431         gnu/java/security/provider/DERWriter.java,
14432         gnu/java/security/provider/DSAKeyPairGenerator.java,
14433         gnu/java/security/provider/DSAParameterGenerator.java,
14434         gnu/java/security/provider/DSAParameters.java,
14435         gnu/java/security/provider/DSASignature.java,
14436         gnu/java/security/provider/GnuDSAPrivateKey.java,
14437         gnu/java/security/provider/GnuDSAPublicKey.java,
14438         gnu/java/security/provider/MD5.java,
14439         gnu/java/security/util/Prime.java: Removed.
14440         * Makefile.am (ordinary_java_source_files): Remove above files.
14441         * Makefile.in: Regenerate.
14442         * gnu/java/security/provider/DefaultPolicy.java
14443         (getPermissions): Revert to maintaining static class variable of
14444         Permissions.
14445         * gnu/java/security/provider/SHA.java
14446         (engineUpdate): Revert algorithm change.
14447         (engineDigest): Revert algorithm change.
14448
14449 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
14450
14451         * configure.host: Add SH support.
14452         * sysdep/sh/locks.h: New file.
14453
14454 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14455
14456         * java/awt/Frame.java (Frame): Remove println calls.
14457
14458 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
14459
14460         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
14461         * configure: Rebuilt.
14462
14463 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
14464
14465         * sysdep/powerpc/locks.h: Formatting.
14466         (_LARX): Define.
14467         (_STCX): Define.
14468         (compare_and_swap): Use _LARX and _STCX.
14469         (compare_and_swap_release): Likewise.
14470
14471 2002-07-26  Tom Tromey  <tromey@redhat.com>
14472
14473         * java/net/Authenticator.java: New version from Classpath.
14474         * java/net/DatagramSocketImpl.java: New version from Classpath.
14475
14476 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
14477
14478         * configure.host: Add powerpc64*-* entry.
14479
14480 2002-07-26  Tom Tromey  <tromey@redhat.com>
14481
14482         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
14483         fcntl.h.
14484
14485 2002-07-24  Tom Tromey  <tromey@redhat.com>
14486
14487         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
14488         argument to _load.
14489
14490 2002-07-24  Tom Tromey  <tromey@redhat.com>
14491             Tony Kimball <alk@pobox.com>
14492
14493         * java/io/natFileDescriptorWin32.cc (setLength): New method.
14494         * java/io/natFileDescriptorPosix.cc (setLength): New method.
14495         * java/io/RandomAccessFile.java (setLength): New method.
14496         * java/io/natFileDescriptorEcos.cc (setLength): New method.
14497         * java/io/FileDescriptor.java (setLength): New method.
14498
14499 2002-07-24  Mark Wielaard  <mark@klomp.org>
14500
14501         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
14502         * java/io/ObjectInputStream.java (setBooleanField): Before setting
14503         field call setAccessible(true).
14504         (setByteField): Likewise.
14505         (setCharField): Likewise.
14506         (setDoubleField): Likewise.
14507         (setFloatField): Likewise.
14508         (setIntField): Likewise.
14509         (setLongField): Likewise.
14510         (setShortField): Likewise.
14511         (setObjectField): Likewise.
14512
14513 2002-07-24  Tom Tromey  <tromey@redhat.com>
14514
14515         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
14516         use toString() to format array element.
14517
14518 2002-07-23  Mark Wielaard  <mark@klomp.org>
14519
14520         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
14521         MessageDigestSpi (fixes Classpath bug #783).
14522
14523 2002-07-21  Mark Wielaard  <mark@klomp.org>
14524
14525         * gnu/java/security/provider/Gnu.java: Reference all implementation
14526         classes by using Class.getName().
14527
14528 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
14529
14530         * java/lang/ieeefp.h: Add x86-64 support.
14531         * configure.in: Likewise.
14532         * configure.host: Likewise.
14533         * configure: Regenerated.
14534         * sysdep/x86-64/locks.h: New file with x86-64 locks.
14535
14536 2002-07-16  Mark Wielaard  <mark@klomp.org>
14537
14538         * java/io/StreamTokenizer.java (pushBack): Update documentation.
14539         (whitespaceChars): call resetChar().
14540
14541 2002-07-15  Tom Tromey  <tromey@redhat.com>
14542
14543         * Makefile.in: Rebuilt.
14544         * Makefile.am (awt_java_source_files): Added new files.
14545         * java/beans/ExceptionListener.java: Merged with Classpath.
14546         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
14547         * java/beans/PropertyChangeListener.java: Merged with Classpath.
14548         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
14549         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
14550         * java/beans/VetoableChangeListener.java: Merged with Classpath.
14551         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
14552         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
14553
14554 2002-07-14  Mark Wielaard  <mark@klomp.org>
14555
14556         * gnu/java/security/der/DEREncodingException.java,
14557         gnu/java/security/provider/DERReader.java,
14558         gnu/java/security/provider/DERWriter.java,
14559         gnu/java/security/provider/DSAKeyPairGenerator.java,
14560         gnu/java/security/provider/DSAParameterGenerator.java,
14561         gnu/java/security/provider/DSAParameters.java,
14562         gnu/java/security/provider/DSASignature.java,
14563         gnu/java/security/provider/GnuDSAPrivateKey.java,
14564         gnu/java/security/provider/GnuDSAPublicKey.java,
14565         gnu/java/security/provider/MD5.java,
14566         gnu/java/security/util/Prime.java: New files from Classpath.
14567         * Makefile.am (ordinary_java_source_files): Add new files.
14568         * Makefile.in: Regenerate.
14569
14570 2002-07-14  C. Brian Jones <cbj@gnu.org>
14571
14572         * gnu/java/security/provider/DefaultPolicy.java
14573         (getPermissions): do not maintain static class variable of
14574         Permissions
14575         * gnu/java/security/provider/SHA.java
14576         (engineUpdate): algorithm change
14577         (engineDigest): algorithm change
14578
14579 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
14580
14581         For PR libgcj/7292:
14582         * java/lang/Character.java (toString(char)): Now static.
14583
14584 2002-07-12  Mark Wielaard  <mark@klomp.org>
14585
14586         * java/lang/natThrowable.cc (printRawStackTrace): removed.
14587         (getStackTrace0): new method.
14588         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
14589         (printStackTrace(PrintWriter)): replace with pure java implementation.
14590         (printRawStackTrace): removed.
14591         (getStackTrace0): new method.
14592         * java/lang/StackTraceElement.java (toString): add extra whitespace.
14593         * gcj/javaprims.h: regenerate class list.
14594         * include/name-finder.h (lookup): new returns StackTraceElement*.
14595         (method_name, file_name): fields removed.
14596         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
14597         (~_Jv_name_finder): close new descriptors.
14598         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
14599         (createStackTraceElement): new method.
14600         (lookup): returns StackTraceElement*, uses createStackTraceElement().
14601
14602 2002-07-10  Tom Tromey  <tromey@redhat.com>
14603
14604         * configure: Rebuilt.
14605         * configure.in: Use `test' after `&&'.  From Chris Faylor.
14606
14607 2002-07-08  Mark Wielaard  <mark@klomp.org>
14608
14609         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
14610         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
14611         java.sql.DatabaseMetaData.TestJdbc20
14612
14613 2002-07-05  Tony Kimball  <alk@pobox.com>
14614
14615         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
14616
14617 2002-07-04  Tom Tromey  <tromey@redhat.com>
14618             Jeff Sturm  <jsturm@one-point.com>
14619
14620         Fix for PR libgcj/7060:
14621         * java/lang/Class.h (_getMethod): Renamed from getMethod.
14622         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
14623         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
14624         * java/lang/Class.java (getMethod): New Java implementation;
14625         complies with spec.
14626         (_getMethod): New native method.
14627
14628 2002-07-02  Tom Tromey  <tromey@redhat.com>
14629             David Hovemeyer  <daveho@cs.umd.edu>
14630
14631         * java/text/ChoiceFormat.java
14632         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
14633         in check loop.
14634         * java/text/MessageFormat.java
14635         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
14636         to MessageFormat.
14637
14638 2002-07-01  Tom Tromey  <tromey@redhat.com>
14639
14640         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
14641         StringTokenizer on null string.  For PR libgcj/7180.
14642         From daveho@cs.umd.edu.
14643
14644 2002-06-24  Tom Tromey  <tromey@redhat.com>
14645
14646         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
14647         (IntegerClass): Likewise.
14648         * java/lang/natClass.cc (CloneableClass): Removed.
14649         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
14650         ConstructorClass): Likewise.
14651         * java/lang/natClassLoader.cc (CloneableClass): Removed.
14652         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
14653         SerializableClass): Likewise.
14654         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
14655         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
14656         LongClass, FloatClass, DoubleClass): Likewise.
14657
14658         * verify.cc (branch_prepass): Updated for change to exception
14659         handler type.
14660         (verify_instructions_0): Likewise.
14661         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
14662         (handleExceptionTableEntry): Updated for change to exception
14663         handler type.
14664         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
14665         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
14666         (union _Jv_InterpPC): New.
14667         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
14668         (class _Jv_InterpMethod): Added new `prepared' field.
14669         (class _Jv_InterpMethod): Added `compile' method.  Removed
14670         `continue1' and `find_exception'.  Changed arguments to `run'.
14671         * interpret.cc (union insn_slot): New.
14672         (find_exception): Removed.
14673         (run_normal): Removed most logic.
14674         (run_synch_object): Likewise; also, use JvSynchronize.
14675         (run_synch_class): Likewise.
14676         (run): Removed.
14677         (continue1): Renamed as `run'.  Compile bytecode if required.
14678         Add new code to allow refinement of direct-threaded code at
14679         runtime.  Handle exceptions.
14680         (SAVE_PC): Removed.
14681         (compile): New method.
14682         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
14683         (NULLARRAYCHECK): Don't use SAVE_PC.
14684         (pc_t): New typedef.
14685         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
14686         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
14687
14688 2002-06-23  Tom Tromey  <tromey@redhat.com>
14689
14690         * configure: Rebuilt.
14691         * configure.in (INTERPRETER): New subst.
14692         (AM_RUNTESTFLAGS): Don't subst.
14693
14694         * Makefile.in: Rebuilt.
14695         * Makefile.am ($(srcdir)/java/lang/Object.h,
14696         $(srcdir)/java/lang/Class.h): Added dummy targets.
14697
14698 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14699
14700         Reformat JDBC classes and add new JDK 1.4 classes and methods.
14701
14702         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
14703         java/sql/Savepoint.java: New files.
14704         * java/sql/Array.java, java/sql/BatchUpdateException.java,
14705         java/sql/Blob.java, java/sql/CallableStatement.java,
14706         java/sql/Clob.java, java/sql/Connection.java,
14707         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
14708         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
14709         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
14710         java/sql/Ref.java, java/sql/ResultSet.java,
14711         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
14712         java/sql/SQLException.java, java/sql/SQLInput.java,
14713         java/sql/SQLOutput.java, java/sql/SQLWarning.java
14714         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
14715         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
14716         (JDK 1.4) specification.
14717         * javax/sql/ConnectionEvent.java,
14718         javax/sql/ConnectionEventListener.java,
14719         javax/sql/ConnectionPoolDataSource.java,
14720         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
14721         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
14722         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
14723         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
14724         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
14725         javax/sql/XADataSource.java: New files.
14726         * Makefile.am: Add new files.
14727         * Makefile.in: Rebuilt.
14728
14729 2002-06-20  Tom Tromey  <tromey@redhat.com>
14730
14731         For PR libgcj/7073:
14732         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
14733         exists.
14734         * defineclass.cc (handleClassBegin): Superclass for interface is
14735         `null'.
14736
14737 2002-06-18  Tom Tromey  <tromey@redhat.com>
14738
14739         * gcj/javaprims.h: Updated class declaration list.
14740         * Makefile.in: Rebuilt.
14741         * Makefile.am (core_java_source_files): Removed
14742         BasicMapEntry.java.
14743         * java/util/BasicMapEntry.java: Removed.
14744
14745 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
14746
14747         * java/net/natPlainDatagramSocketImpl.cc (receive):
14748         Check bounds of argument to FD_SET.
14749         (setOption): Throw exception if socket is closed.
14750
14751         * java/net/natPlainSocketImpl.cc (accept, read):
14752         Check bounds of argument to FD_SET.
14753         (setOption): Throw exception if socket is closed.
14754
14755 2002-06-18  Tom Tromey  <tromey@redhat.com>
14756
14757         * gcj/javaprims.h: Updated class declaration list.
14758         * Makefile.in: Rebuilt.
14759         * Makefile.am (core_java_source_files): Added
14760         PropertyPermissionCollection.java.
14761         * java/lang/Thread.java (group, name): Now package-private.
14762         * java/lang/ThreadGroup.java: Re-merge with Classpath.
14763         * java/util/AbstractList.java: Likewise.
14764         * java/util/AbstractMap.java: Likewise.
14765         * java/util/Calendar.java: Likewise.
14766         * java/util/Collections.java: Likewise.
14767         * java/util/HashMap.java: Likewise.
14768         * java/util/Hashtable.java: Likewise.
14769         * java/util/LinkedHashMap.java: Likewise.
14770         * java/util/LinkedList.java: Likewise.
14771         * java/util/List.java: Likewise.
14772         * java/util/ListResourceBundle.java: Likewise.
14773         * java/util/Map.java: Likewise.
14774         * java/util/Observable.java: Likewise.
14775         * java/util/Properties.java: Likewise.
14776         * java/util/PropertyPermission.java: Likewise.
14777         * java/util/PropertyPermissionCollection.java: Likewise.
14778         * java/util/PropertyResourceBundle.java: Likewise.
14779         * java/util/Random.java: Likewise.
14780         * java/util/SimpleTimeZone.java: Likewise.
14781         * java/util/StringTokenizer.java: Likewise.
14782         * java/util/TimerTask.java: Likewise.
14783         * java/util/TreeMap.java: Likewise.
14784         * java/util/WeakHashMap.java: Likewise.
14785         * java/util/jar/Attributes.java: Likewise.
14786         * java/util/jar/JarException.java: Likewise.
14787         * java/util/jar/Manifest.java: Likewise.
14788
14789 2002-06-17  Tom Tromey  <tromey@redhat.com>
14790
14791         * gcj/javaprims.h: Updated class declaration list.
14792         * Makefile.in: Rebuilt.
14793         * Makefile.am (core_java_source_files): Added new file.
14794         * java/util/EventListenerProxy.java: New file.
14795         * java/util/EventListener.java: Re-merge with Classpath.
14796         * java/util/EventObject.java: Re-merge with Classpath.
14797
14798 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14799
14800         * java/lang/ClassNotFoundException.java: New Classpath version.
14801
14802 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14803
14804         * java/rmi/activation/ActivateFailedException.java: Remerge from
14805         Classpath version.
14806         * java/rmi/activation/ActivationException.java: Ditto.
14807         * java/rmi/activation/UnknownGroupException.java: Ditto.
14808         * java/rmi/activation/UnknownObjectException.java: Ditto.
14809         * java/rmi/server/ExportException: Ditto.
14810         * java/rmi/server/ServerCloneException: Ditto.
14811         * java/rmi/server/ServerNotActiveException: Ditto.
14812         * java/rmi/server/SkeletonMismatchException: Ditto.
14813         * java/rmi/server/SkeletonNotFoundException: Ditto.
14814         * java/rmi/server/SocketSecurityException: Ditto.
14815
14816 2002-06-16  Tom Tromey  <tromey@redhat.com>
14817
14818         * gcj/javaprims.h: Updated class declaration list.
14819
14820         * java/io/LineNumberInputStream.java: Merged with Classpath.
14821
14822         * java/lang/RuntimeException.java: Re-merge with Classpath.
14823         * java/util/ArrayList.java: Likewise.
14824         * java/util/Arrays.java: Likewise.
14825         * java/util/BitSet.java: Likewise.
14826         * java/util/Dictionary.java: Likewise.
14827         * java/util/IdentityHashMap.java: Likewise.
14828         * java/util/MissingResourceException.java: Likewise.
14829         * java/util/Observer.java: Likewise.
14830         * java/util/TooManyListenersException.java: Likewise.
14831         * java/util/zip/DataFormatException.java: Likewise.
14832         * java/util/zip/ZipException.java: Likewise.
14833
14834 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
14835
14836         * java/rmi/AccessException.java: Remerge from Classpath.
14837         * java/rmi/AlreadyBoundException.java: Ditto.
14838         * java/rmi/ConnectException.java: Ditto.
14839         * java/rmi/ConnectIOException.java: Ditto.
14840         * java/rmi/MarshalException.java: Ditto.
14841         * java/rmi/NoSuchObjectException.java: Ditto.
14842         * java/rmi/NotBoundException.java: Ditto.
14843         * java/rmi/RemoteException.java: Ditto.
14844         * java/rmi/RMISecurityException.java: Ditto.
14845         * java/rmi/ServerError.java: Ditto.
14846         * java/rmi/ServerException.java: Ditto.
14847         * java/rmi/ServerRuntimeException.java: Ditto.
14848         * java/rmi/StubNotFoundException.java: Ditto.
14849         * java/rmi/UnexpectedExcpetion.java: Ditto.
14850         * java/rmi/UnknownHostException.java: Ditto.
14851         * java/rmi/UnmarshalException.java: Ditto.
14852
14853 2002-06-15  Tom Tromey  <tromey@redhat.com>
14854
14855         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
14856         * java/lang/ArithmeticException.java: Likewise.
14857         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
14858         * java/lang/ArrayStoreException.java: Likewise.
14859         * java/lang/Byte.java: Likewise.
14860         * java/lang/CharSequence.java: Likewise.
14861         * java/lang/ClassCastException.java: Likewise.
14862         * java/lang/ClassCircularityError.java: Likewise.
14863         * java/lang/ClassFormatError.java: Likewise.
14864         * java/lang/CloneNotSupportedException.java: Likewise.
14865         * java/lang/Cloneable.java: Likewise.
14866         * java/lang/Comparable.java: Likewise.
14867         * java/lang/Compiler.java: Likewise.
14868         * java/lang/Error.java: Likewise.
14869         * java/lang/ExceptionInInitializerError.java: Likewise.
14870         * java/lang/IllegalAccessError.java: Likewise.
14871         * java/lang/IllegalAccessException.java: Likewise.
14872         * java/lang/IllegalArgumentException.java: Likewise.
14873         * java/lang/IllegalMonitorStateException.java: Likewise.
14874         * java/lang/IllegalStateException.java: Likewise.
14875         * java/lang/IllegalThreadStateException.java: Likewise.
14876         * java/lang/IncompatibleClassChangeError.java: Likewise.
14877         * java/lang/IndexOutOfBoundsException.java: Likewise.
14878         * java/lang/InheritableThreadLocal.java: Likewise.
14879         * java/lang/InstantiationError.java: Likewise.
14880         * java/lang/InstantiationException.java: Likewise.
14881         * java/lang/InternalError.java: Likewise.
14882         * java/lang/InterruptedException.java: Likewise.
14883         * java/lang/LinkageError.java: Likewise.
14884         * java/lang/NegativeArraySizeException.java: Likewise.
14885         * java/lang/NoClassDefFoundError.java: Likewise.
14886         * java/lang/NoSuchFieldError.java: Likewise.
14887         * java/lang/NoSuchFieldException.java: Likewise.
14888         * java/lang/NoSuchMethodError.java: Likewise.
14889         * java/lang/NoSuchMethodException.java: Likewise.
14890         * java/lang/NullPointerException.java: Likewise.
14891         * java/lang/NumberFormatException.java: Likewise.
14892         * java/lang/OutOfMemoryError.java: Likewise.
14893         * java/lang/Process.java: Likewise.
14894         * java/lang/Runnable.java: Likewise.
14895         * java/lang/RuntimePermission.java: Likewise.
14896         * java/lang/SecurityException.java: Likewise.
14897         * java/lang/Short.java: Likewise.
14898         * java/lang/StackOverflowError.java: Likewise.
14899         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
14900         * java/lang/ThreadDeath.java: Likewise.
14901         * java/lang/ThreadLocal.java: Likewise.
14902         * java/lang/UnknownError.java: Likewise.
14903         * java/lang/UnsatisfiedLinkError.java: Likewise.
14904         * java/lang/UnsupportedClassVersionError.java: Likewise.
14905         * java/lang/UnsupportedOperationException.java: Likewise.
14906         * java/lang/VerifyError.java: Likewise.
14907         * java/lang/VirtualMachineError.java: Likewise.
14908         * java/lang/reflect/InvocationTargetException.java: Likewise.
14909         * java/net/BindException.java: Likewise.
14910         * java/net/ConnectException.java: Likewise.
14911         * java/net/MalformedURLException.java: Likewise.
14912         * java/net/NoRouteToHostException.java: Likewise.
14913         * java/net/ProtocolException.java: Likewise.
14914         * java/net/SocketException.java: Likewise.
14915         * java/net/UnknownHostException.java: Likewise.
14916         * java/net/UnknownServiceException.java: Likewise.
14917
14918         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
14919         * java/io/CharConversionException.java: Likewise.
14920         * java/io/EOFException.java: Likewise.
14921         * java/io/FileNotFoundException.java: Likewise.
14922         * java/io/IOException.java: Likewise.
14923         * java/io/InterruptedIOException.java: Likewise.
14924         * java/io/InvalidClassException.java: Likewise.
14925         * java/io/InvalidObjectException.java: Likewise.
14926         * java/io/NotActiveException.java: Likewise.
14927         * java/io/NotSerializableException.java: Likewise.
14928         * java/io/ObjectStreamException.java: Likewise.
14929         * java/io/ObjectStreamConstants.java: Likewise.
14930         * java/io/OptionalDataException.java: Likewise.
14931         * java/io/PipedInputStream.java: Likewise.
14932         * java/io/PushbackInputStream.java: Likewise.
14933         * java/io/StreamCorruptedException.java: Likewise.
14934         * java/io/SyncFailedException.java: Likewise.
14935         * java/io/UTFDataFormatException.java: Likewise.
14936         * java/io/UnsupportedEncodingException.java: Likewise.
14937         * java/io/WriteAbortedException.java: Likewise.
14938
14939 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
14940
14941         * java/text/ChoiceFormat.java: Update comments from Classpath.
14942         * java/text/ParseException.java (serialVersionUID): New
14943         field from Classpath.
14944         * java/text/ParseException.java: Update formatting & comments
14945         from Classpath.
14946
14947 2002-06-15  Tom Tromey  <tromey@redhat.com>
14948
14949         * java/util/zip/InflaterInputStream.java (read): Loop if data has
14950         been read but none output by inflater.
14951         * java/util/zip/natDeflater.cc (reset): Set is_finished.
14952         * java/util/zip/natInflater.cc (reset): Set dist_needed and
14953         is_finished.
14954         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
14955         version.
14956         * java/util/zip/ZipFile.java: Replaced with Classpath version.
14957         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
14958         * java/util/zip/ZipInputStream.java: Replaced with Classpath
14959         version.
14960         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
14961
14962 2002-06-13  Tom Tromey  <tromey@redhat.com>
14963
14964         * java/lang/natString.cc (init): Handle case where DONT_COPY is
14965         true and OFFSET!=0.
14966         * java/lang/String.java (String(char[],int,int,boolean): New
14967         constructor.
14968         * java/lang/Long.java: Imported new version from Classpath.
14969         * java/lang/Number.java: Likewise.
14970         * java/lang/Integer.java: Likewise.
14971         * java/lang/Long.java: Likewise.
14972         * java/lang/Float.java: Likewise.
14973         * java/lang/Boolean.java: Likewise.
14974         * java/lang/Double.java: Likewise.
14975         * java/lang/Void.java: Likewise.
14976
14977 2002-06-12  Tom Tromey  <tromey@redhat.com>
14978
14979         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
14980         Fixes PR libgcj/6652.
14981
14982 2002-06-10  Tom Tromey  <tromey@redhat.com>
14983
14984         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
14985         (Class::getPackagePortion): Likewise.
14986         * java/lang/Class.java (desiredAssertionStatus): New method from
14987         Classpath.
14988         (getPackagePortion): Likewise.
14989         * java/lang/VMClassLoader.java (defaultAssertionStatus,
14990         packageAssertionStatus, classAssertionStatus): New methods from
14991         Classpath.
14992         * java/lang/ClassLoader.java (defaultAssertionStatus,
14993         systemPackageAssertionStatus, packageAssertionStatus,
14994         systemClassAssertionStatus, classAssertionStatus): New fields from
14995         Classpath.
14996         (setDefaultAssertionStatus, setPackageAssertionStatus,
14997         setClassAssertionStatus, clearAssertionStatus): New methods from
14998         Classpath.
14999         * Makefile.in: Rebuilt.
15000         * Makefile.am (core_java_source_files): Added AssertionError.java.
15001         * java/lang/AssertionError.java: New from Classpath.
15002
15003 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15004
15005         * configure.host: Disable hash synchronization and slow_pthread_self
15006         for cygwin.
15007
15008 2002-06-06  Adam Megacz <adam@xwt.org>
15009
15010         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
15011         locking, just like the Sun JVM does.
15012
15013 2002-06-05  H.J. Lu  (hjl@gnu.org)
15014
15015         * Makefile.am (libgcj_convenience.la): Revert the last change.
15016         (libgcj.la): Likewise.
15017         * Makefile.in: Regenerated.
15018
15019 2002-06-04  H.J. Lu  (hjl@gnu.org)
15020
15021         * Makefile.am (libgcj_convenience.la): New target.
15022         (libgcj.la): Depend on libgcj_convenience.la.
15023         * Makefile.in: Regenerated.
15024
15025 2002-06-04  H.J. Lu  (hjl@gnu.org)
15026
15027         * configure.in (--with-newlib): New option:
15028         Check ${with_newlib} instead of ${with_cross_host} for newlib.
15029         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
15030         Linux.
15031         * configure: Regenerated.
15032
15033 2002-06-04  Tom Tromey  <tromey@redhat.com>
15034
15035         * java/util/natTimeZone.cc: Include <stdio.h>.
15036
15037 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
15038
15039         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
15040         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
15041         Set SIGNAL_HANDLER=include/s390-linux.h.
15042         * configure: Regenerate.
15043         * include/s390-linux.h: New file.
15044
15045 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15046
15047         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
15048         not "stackTrace".
15049
15050 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15051
15052         Merge JDK 1.4 java.security changes from classpath.
15053
15054         * java/security/AccessControlException.java: Merge from Classpath.
15055         * java/security/AccessController.java: Likewise.
15056         * java/security/AllPermission.java: Likewise.
15057         * java/security/BasicPermission.java: Likewise.
15058         * java/security/Certificate.java: Likewise.
15059         * java/security/CodeSource.java: Likewise.
15060         * java/security/DigestException.java: Likewise.
15061         * java/security/DigestOutputStream.java: Likewise.
15062         * java/security/DomainCombiner.java: Likewise.
15063         * java/security/GeneralSecurityException.java: Likewise.
15064         * java/security/Guard.java: Likewise.
15065         * java/security/GuardedObject.java: Likewise.
15066         * java/security/InvalidAlgorithmParameterException.java: Likewise.
15067         * java/security/InvalidKeyException.java: Likewise.
15068         * java/security/InvalidParameterException.java: Likewise.
15069         * java/security/Key.java: Likewise.
15070         * java/security/KeyException.java: Likewise.
15071         * java/security/KeyManagementException.java: Likewise.
15072         * java/security/KeyStoreException.java: Likewise.
15073         * java/security/MessageDigest.java: Likewise.
15074         * java/security/NoSuchAlgorithmException.java: Likewise.
15075         * java/security/NoSuchProviderException.java: Likewise.
15076         * java/security/Permission.java: Likewise.
15077         * java/security/PermissionCollection.java: Likewise.
15078         * java/security/Permissions.java: Likewise.
15079         * java/security/Policy.java: Likewise.
15080         * java/security/Principal.java: Likewise.
15081         * java/security/PrivateKey.java: Likewise.
15082         * java/security/PrivilegedAction.java: Likewise.
15083         * java/security/PrivilegedActionException.java: Likewise.
15084         * java/security/PrivilegedExceptionAction.java: Likewise.
15085         * java/security/ProtectionDomain.java: Likewise.
15086         * java/security/ProviderException.java: Likewise.
15087         * java/security/PublicKey.java: Likewise.
15088         * java/security/SecureClassLoader.java: Likewise.
15089         * java/security/SecurityPermission.java: Likewise.
15090         * java/security/SignatureException.java: Likewise.
15091         * java/security/UnrecoverableKeyException.java: Likewise.
15092         * java/security/UnresolvedPermission.java: Likewise.
15093         * java/security/acl/AclNotFoundException.java: Likewise.
15094         * java/security/acl/LastOwnerException.java: Likewise.
15095         * java/security/acl/NotOwnerException.java: Likewise.
15096         * java/security/cert/CRLException.java: Likewise.
15097         * java/security/cert/CertificateEncodingException.java: Likewise.
15098         * java/security/cert/CertificateException.java: Likewise.
15099         * java/security/cert/CertificateExpiredException.java: Likewise.
15100         * java/security/cert/CertificateFactory.java: Likewise.
15101         * java/security/cert/CertificateNotYetValidException.java: Likewise.
15102         * java/security/cert/CertificateParsingException.java: Likewise.
15103         * java/security/spec/InvalidKeySpecException.java: Likewise.
15104         * java/security/spec/InvalidParameterSpecException.java: Likewise.
15105
15106         * java/security/cert/CertPath.java: New file.
15107         * java/security/cert/CertPathBuilderException.java: New file.
15108         * java/security/cert/CertPathValidatorException.java: New file.
15109         * java/security/cert/CertStoreException.java: New file.
15110
15111         * Makefile.am: Add new CertPath classes.
15112         * Makefile.in: Rebuilt.
15113
15114         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
15115
15116 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15117
15118         Merge JDK 1.4 exception chaining support from classpath.
15119
15120         * java/lang/Throwable.java: Merge 1.4 support from classpath.
15121         (stackTraceBytes): Rename from stackTrace.
15122         * java/lang/Exception.java: Merge from classpath.
15123         * java/lang/StackTraceElement: New file from classpath.
15124         * gcj/javaprims.h: Rebuild CNI namespace declarations.
15125         * Makefile.am: Add StackTraceElement.
15126         * Makefile.in: Rebuilt.
15127
15128 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15129
15130         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
15131         they build first.
15132         * Makefile.in: Rebuilt.
15133
15134 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15135
15136         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
15137         * configure.in: Likewise.
15138         * aclocal.m4: Regenerate.
15139         * configure: Regenerate.
15140
15141 2002-05-13  Tom Tromey  <tromey@redhat.com>
15142
15143         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
15144         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
15145         Include platform.h.
15146
15147         Fixes PR libgcj/6389:
15148         * Makefile.in: Rebuilt.
15149         * Makefile.am (nat_source_files): Added natTimeZone.cc.
15150         * java/util/natTimeZone.cc: New file.
15151         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
15152         * java/lang/System.java: Merged with Classpath.
15153         * java/lang/Runtime.java: Merged with Classpath.
15154         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
15155         security check.
15156         (setIn0): Renamed from setIn; don't run security check.
15157         (setOut0): Renamed from setOut; don't run security check.
15158         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
15159         init_properties): Moved to natRuntime.cc.
15160         Moved many includes to natRuntime.cc.
15161         (isWordsBigEndian): New method.
15162         * java/lang/natRuntime.cc: Include Long.h, also other includes
15163         previously in natSystem.cc.
15164         (maxMemory): New function.
15165         (exitInternal): Renamed from `_exit'.
15166         (exit): Removed.
15167         (init): Don't set finalize_on_exit.
15168         (exitInternal): Use `finalizeOnExit'.
15169         (file_encoding, getpwuid_adaptor): New functions from
15170         natSystem.cc.
15171         (insertSystemProperties): New method, renamed from
15172         System::init_properties.  Don't set user.timezone.
15173         (_load): Don't call checkLink.
15174         (execInternal): New method.
15175         (availableProcessors): Likewise.
15176         (nativeGetLibname): Likewise.
15177
15178 2002-05-11  Mark Wielaard  <mark@klomp.org>
15179
15180         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
15181         space characters.
15182         (previous_internal): Likewise.
15183
15184 2002-05-09  Tom Tromey  <tromey@redhat.com>
15185
15186         * jni.cc (_Jv_JNIFunctions): Fixed typo.
15187
15188         * java/util/ResourceBundle.java: New version from Classpath.
15189         * java/util/Locale.java: Likewise.
15190
15191 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
15192
15193         * testsuite/lib/libjava.exp (libjava_arguments): Append all
15194         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
15195         LD_LIBRARY_PATH.
15196
15197 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
15198
15199         * libjava/Makefile.am (all_java_source_files): New variable.
15200         (all_java_class_files): Likewise.
15201         .java.class: New rule.
15202         (CLEANFILES): Remove tmp-list.
15203         * libjava/Makefile.in: Regenerated.
15204
15205 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
15206
15207         * testsuite/lib/libjava.exp (test_libjava_from_javac):
15208         Append .exe to executable names.  Fix for cygwin.
15209
15210 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
15211
15212         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
15213         script entry, and set LD to it when configuring multilibs.
15214         * configure: Rebuilt.
15215
15216 2002-05-07  Tom Tromey  <tromey@redhat.com>
15217
15218         * java/lang/natString.cc (unintern): Fixed typo.
15219
15220 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
15221
15222         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
15223         with -no-install on *-*-cygwin*.
15224
15225 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
15226
15227         * testsuite/lib/libjava.exp (test_libjava_from_source):
15228         Add comment explaining last patch
15229
15230 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
15231
15232         * testsuite/lib/libjava.exp (test_libjava_from_source):
15233         Append .exe to executable names.  If no suffix is present,
15234         then ".exe" is added by default on win32.  Harmless
15235         elsewhere so always do it.
15236
15237 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
15238             Tom Tromey  <tromey@redhat.com>
15239
15240         * java/lang/natSystem.cc (getSystemTimeZone): Use
15241         HAVE_UNDERSCORE_TIMEZONE.
15242         * include/config.h.in: Rebuilt.
15243         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
15244         * aclocal.m4, configure: Rebuilt.
15245         * acinclude.m4: Run AC_EXEEXT.
15246         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
15247         Add test for `_timezone'.
15248
15249 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
15250
15251         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15252         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
15253         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15254         * Makefile.in: Rebuilt.
15255
15256 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
15257
15258         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
15259         use sigaction instead of __libc_sigaction.
15260
15261 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15262
15263         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
15264         (libjava_init): Use it to find libgcj.spec.
15265         (libjava_arguments): Likewise.
15266
15267 2002-05-02  David S. Miller  <davem@redhat.com>
15268
15269         PR bootstrap/6525
15270         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
15271         __libc_sigaction on Sparc.
15272
15273 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
15274
15275         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
15276         sys/filio.h, if present.
15277
15278 2002-04-30  Tom Tromey  <tromey@redhat.com>
15279
15280         * java/io/BufferedReader.java (fill): Handle case where markPos
15281         point to ignored \n.  Fixes PR libgcj/6301.
15282
15283 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
15284
15285         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
15286
15287 2002-04-29  Adam King <aking@dreammechanics.com>
15288
15289         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
15290         of file in APPEND mode.
15291
15292 2002-04-25  David S. Miller  <davem@redhat.com>
15293
15294         PR target/6422
15295         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
15296         program counter to next program counter minus 8.  Update
15297         comments in this macro to explain why.
15298
15299 2002-04-26  Tom Tromey  <tromey@redhat.com>
15300
15301         * verify.cc (construct_primitive_array_type) [void_type]: New
15302         case.
15303         (branch_prepass): Added dummy entries for unused instruction
15304         values.
15305         (verify_instructions_0): Likewise.
15306         * interpret.cc (continue1): Comment fix.
15307         * include/java-insns.h (op_xxxunusedxxx1): Removed.
15308         * Makefile.in: Rebuilt.
15309         * Makefile.am: Added -Wswitch-enum.
15310
15311 2002-04-24  Tom Tromey  <tromey@redhat.com>
15312
15313         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
15314         correct length of UTF-8 encoded name.  Strip leading `/'.
15315         (_Jv_RegisterResource): Use _Jv_Malloc.
15316
15317 2002-04-23  Adam Megacz <adam@xwt.org>
15318
15319         * win32.cc, include/win32.cc (backtrace): Added this function
15320         because Win32 does not supply it.
15321
15322 2002-04-21  David S. Miller  <davem@redhat.com>
15323
15324         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
15325         magic instruction reading sequence.
15326
15327 2002-04-21  Mark Wielaard  <mark@klomp.org>
15328
15329         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
15330
15331 2002-04-19  David S. Miller  <davem@redhat.com>
15332
15333         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
15334         arg.
15335         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
15336         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
15337         on Sparc too.
15338         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
15339         for 64-bit sparc.
15340         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
15341         * sysdeps/sparc/locks.h: New file.
15342         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
15343         on all sparc Solaris configurations.  Set to
15344         include/dwarf2-signal.h on sparc Linux.
15345         * configure: Regenerate
15346         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
15347
15348 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
15349
15350         * configure: Rebuilt.
15351         * configure.in (backtrace): Function doesn't work on IA-64.
15352
15353 2002-04-17  Adam King <aking@dreammechanics.com>
15354
15355         * java/io/File.java (normalizePath): Add Win32 support for auto
15356         conversion of a '/' path separator to Win32's '\' separator.
15357
15358 2002-04-16  Tom Tromey  <tromey@redhat.com>
15359
15360         Fix for PR libgcj/6081:
15361         * Makefile.in: Rebuilt.
15362         * Makefile.am (install-data-local): Use GNU make trick to avoid
15363         shell limit.
15364
15365 2002-04-16  Adam King <aking@dreammechanics.com>
15366             Tom Tromey  <tromey@redhat.com>
15367
15368         * java/io/natFileWin32.cc (performList): Return the correct array
15369         type.  Don't duplicate the creation of a File since it's already
15370         done earlier in the method and the existing code would cause a
15371         ArrayStoreException.  Don't use fixed-size array.
15372         (_access, _stat, attr, getCanonicalPath, performMkdir,
15373         performRenameTo): Don't use fixed-size array.
15374         (getCanonicalPath): Use throw, not _Jv_Throw.
15375
15376 2002-04-15  DJ Delorie  <dj@redhat.com>
15377
15378         * configure.in: Allow building in $srcdir.
15379         * configure: Regenerated.
15380
15381 2002-04-14  Mark Wielaard <mark@klomp.org>
15382
15383         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
15384         * java/net/natSocketImpl.cc (close): Likewise.
15385
15386 2002-04-14  Mark Wielaard <mark@klomp.org>
15387
15388         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
15389
15390 2002-04-13  Adam King <aking@dreammechanics.com>
15391
15392         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
15393         the f/F/d/D modifiers.
15394
15395 2002-04-12  Anthony Green  <green@redhat.com>
15396
15397         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
15398         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
15399         * Makefile.in: Rebuilt.
15400         * configure.in: Substitute gcc_version.
15401         * configure: Rebuilt.
15402
15403 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15404
15405         * configure.host: Set can_unwind_signal on hosts which support it.
15406         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
15407         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
15408         exceptions and can_unwind_signal isn't set.
15409         * configure: Rebuilt.
15410
15411 2002-04-11  Tom Tromey  <tromey@redhat.com>
15412
15413         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
15414
15415 2002-04-11  Adam King <aking@dreammechanics.com>
15416             Tom Tromey  <tromey@redhat.com>
15417
15418         * include/jvm.h (_Jv_ThrowBadArrayIndex,
15419         _Jv_ThrowNullPointerException): Mark as noreturn.
15420         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
15421         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
15422         fixes.
15423
15424 2002-04-10  Tom Tromey  <tromey@redhat.com>
15425
15426         * Makefile.in: Rebuilt.
15427         * Makefile.am (java/lang/Thread.h): Mark
15428         _Jv_AttachCurrentThreadAsDaemon as friend.
15429         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
15430         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
15431         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
15432         function.
15433         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
15434         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
15435         (_Jv_JNI_InvokeFunctions): Added
15436         _Jv_JNI_AttachCurrentThreadAsDaemon.
15437         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
15438         (JNI_GetDefaultJavaVMInitArgs): Likewise.
15439         (JNI_CreateJavaVM): Likewise.
15440         (_Jv_JNI_AttachCurrentThread): Likewise.
15441         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
15442         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
15443         (_Jv_JNIFunctions): Initialize new fields.
15444         (_Jv_JNI_NewDirectByteBuffer): New function.
15445         (_Jv_JNI_GetDirectBufferAddress): Likewise.
15446         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
15447         * include/jni.h (JNI_VERSION_1_4): New macro.
15448         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
15449         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
15450         (JNINativeInterface::NewDirectByteBuffer): New field.
15451         (JNINativeInterface::GetDirectBufferAddress): New field.
15452         (JNINativeInterface::GetDirectBufferCapacity): New field.
15453         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
15454         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
15455         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
15456
15457 2002-04-09  Tom Tromey  <tromey@redhat.com>
15458
15459         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
15460
15461 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
15462
15463         Fix for PR libgcj/6187:
15464         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
15465         distance.
15466
15467 2002-04-07  Mark Wielaard <mark@klomp.org>
15468
15469         * java/util/AbstractMap.java (putAll): Use entrySet size.
15470         (toString): Explicitly use getKey() and getValue().
15471
15472 2002-04-07  Mark Wielaard <mark@klomp.org>
15473
15474         * java/util/Hashtable.java (contains): Remove NullPointer check.
15475         (containsValue): Add NullPointer check.
15476         (remove): Always throw NullPointerException when key
15477         is null.
15478
15479 2002-04-07  Adam King <aking@dreammechanics.com>
15480
15481         * java/lang/natSystem.cc (init_properties): Call new function
15482         _Jv_platform_initProperties.
15483         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
15484         support for the System properties os.name, os.arch, os.version,
15485         user.name, user.home, and user.dir.
15486         * include/posix.h, include/win32.h, posix.cc: New function
15487         _Jv_platform_initProperties.
15488
15489 2002-04-06  Mark Wielaard <mark@klomp.org>
15490
15491         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
15492
15493 2002-04-06  Mark Wielaard <mark@klomp.org>
15494
15495         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
15496         all of the remaining elements.
15497         * java/util/Vector.java (addAll(int,Collection)): Likewise.
15498         (removeRange): If toIndex == fromIndex do
15499         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
15500         (removeAll): Always throw NullPointerException when collection is
15501         null.
15502         (retrainAll): Likewise.
15503
15504 2002-04-05  Mark Wielaard <mark@klomp.org>
15505
15506         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
15507         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
15508
15509 2002-04-05  Adam Megacz <adam@xwt.org>
15510
15511         * exception.cc (abort): added static modifier
15512
15513 2002-04-04  Adam Megacz <adam@xwt.org>
15514
15515         * include/win32.h (_Jv_platform_close_on_exec): added inline
15516         modifier.
15517
15518 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
15519
15520         * configure.host: Add case statement to support generic port
15521         properties.  Add *-*-freebsd* section.
15522
15523 2002-04-04  Mark Wielaard  <mark@klomp.org>
15524
15525         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
15526         test.
15527         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
15528         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
15529         that depend on awt code and BufferedByteOutputStream.interrupt.
15530
15531 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15532
15533         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
15534         incorrect "hi" value when count > 40.
15535
15536 2002-04-03  Mark Wielaard  <mark@klomp.org>
15537
15538         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
15539         ordering.
15540
15541 2002-04-02  Tom Tromey  <tromey@redhat.com>
15542
15543         * java/lang/natClassLoader.cc (findClass): Compare against `3',
15544         not `0'.
15545
15546 2002-04-02  Mark Wielaard  <mark@klomp.org>
15547
15548         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
15549         list of testsuite crashers.
15550
15551 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15552
15553         * java/util/IdentityHashMap.java (put): Set new threshold correctly
15554         when resizing table.
15555
15556 2002-04-01  Mark Wielaard  <mark@klomp.org>
15557
15558         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
15559         NegativeArraySizeException
15560         (clear(int)): Use sign extended shift.
15561         (flip(int)): Likewise.
15562         (get(int)): Likewise.
15563         (nextClearBit(int)): Likewise.
15564         (nextSetBit(int)): Likewise.
15565         (set(int)): Likewise.
15566
15567 2002-04-01  Mark Wielaard  <mark@klomp.org>
15568
15569         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
15570         that can be compiled now and add testsuite crashers to ignore list.
15571
15572 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
15573
15574         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
15575
15576         * libgcj.spec.in: Override libgcc, not lib.
15577         * libgcj-test.spec.in: Likewise.
15578
15579 2002-03-29  Tom Tromey  <tromey@redhat.com>
15580
15581         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
15582         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
15583
15584 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
15585
15586         * java/net/PlainDatagramSocketImpl.java
15587         (close): Use native implementation.
15588         (finalize): New method.
15589
15590         * java/net/PlainSocketImpl.java (finalize): New method.
15591
15592         * java/net/natPlainDatagramSocketImpl.cc
15593         (java/io/FileDescriptor.h): Don't include.
15594         (close): Implement method here.
15595         (create): Don't assign fd.
15596
15597         * java/net/natPlainSocketImpl.cc
15598         (java/io/FileDescriptor.h): Don't include.
15599         (create): Don't assign fd.
15600         (accept): Likewise.
15601         (close): Synchronize.
15602
15603 2002-03-27  Richard Henderson  <rth@redhat.com>
15604
15605         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
15606
15607 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15608
15609         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15610         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
15611         instead of syscall on IA-64.
15612         Add FIXME comment.
15613
15614 2002-03-27  Anthony Green  <green@redhat.com>
15615
15616         * libgcj.spec.in: Add CHECKREFSPEC.
15617         * configure.in: Ditto.
15618         * configure.host: Ditto.  Check references for xscale-elf.
15619         * configure: Rebuilt.
15620
15621 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
15622
15623         * include/dwarf2-signal.h: Temporarily back out last change.
15624
15625 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
15626
15627         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
15628
15629 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15630
15631         * configure.in, configure: enable dwarf2-exception-style
15632         exception handling on IA-64.
15633         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15634         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
15635         Add FIXME comment.
15636
15637 2002-03-25  Tom Tromey  <tromey@redhat.com>
15638
15639         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
15640         (jv_convert_LDFLAGS): Likewise.
15641         (gij_LDFLAGS): Likewise.
15642         (rmic_LDFLAGS): Likewise.
15643         (rmiregistry_LDFLAGS): Likewise.
15644         * configure.in (THREADLDFLAGS): New subst; set correctly for
15645         *BSD.
15646
15647 2002-03-25  Tom Tromey  <tromey@redhat.com>
15648
15649         For PR libgcj/5303:
15650         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
15651         and --version.
15652         (help): New method.
15653         (version): Likewise.
15654         * gnu/gcj/convert/Convert.java (version): Removed extraneous
15655         "GNU".
15656         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
15657         "GNU".
15658
15659 2002-03-25  Tom Tromey  <tromey@redhat.com>
15660
15661         * java/awt/Component.java (processEvent): Check ComponentEvent
15662         after KeyEvent.
15663
15664 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15665
15666         * java/io/PushbackReader.java: Reformat.
15667
15668         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
15669         calculate correct number of bytes skipped.
15670
15671         Based on patch from Intel's ORP team:
15672         * java/io/PushbackInputStream.java (available): Calculate correct
15673         number of bytes in buffer.
15674         (read): Remove redundant bound check. Return bytes from both the
15675         buffer and the stream.
15676
15677 2002-03-24  Tom Tromey  <tromey@redhat.com>
15678
15679         * java/awt/TextComponent.java (TextComponent): Editable by
15680         default.
15681
15682         * java/awt/MenuItem.java (eventMask): No longer private.
15683         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
15684         superclass if we didn't handle event.
15685         * java/awt/Checkbox.java (dispatchEventImpl): New method.
15686         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
15687         * java/awt/Choice.java (dispatchEventImpl): New method.
15688         * java/awt/List.java (dispatchEventImpl): New method.
15689         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
15690         * java/awt/TextComponent.java (dispatchEventImpl): New method.
15691         * java/awt/TextField.java (dispatchEventImpl): New method.
15692
15693 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
15694
15695         * java/beans/IntrospectionException.java: Update to 1.4.
15696         * java/beans/PropertyVetoException.java: Ditto.
15697
15698 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
15699
15700         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
15701         Arrays.equals instead of ArrayHelper.equalsArray.
15702
15703 2002-03-24  C. Brian Jones <cbj@gnu.org>
15704
15705         * java/beans/Introspector.java: added new static final fields
15706         introduced in 1.2, lots of other updates remain to be done
15707
15708 2002-03-24  C. Brian Jones <cbj@gnu.org>
15709
15710         * java/beans/Introspector.java: reformatting
15711
15712 2002-03-24  C. Brian Jones <cbj@gnu.org>
15713
15714         * java/beans/Introspector.java: default beanInfoSearchPath will
15715         not include sun.beans.infos given we provide no such package and
15716         the API doesn't really require it; gnu.java.beans.info is the
15717         default.
15718
15719 2002-03-24  Mark Wielaard  <mark@klomp.org>
15720
15721         Thanks to Orp developers
15722         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
15723         switch TRUE and FALSE return values.
15724
15725 2002-03-23  Tom Tromey  <tromey@redhat.com>
15726
15727         * include/name-finder.h (_Jv_name_finder::myclose): New method.
15728         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
15729
15730 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
15731
15732         * java/util/GregorianCalendar.java (minimums, maximums): Correct
15733         MONTH entry.  Fixes PR libgcj/6045.
15734
15735 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
15736
15737         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
15738
15739 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15740
15741         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
15742         not release_set.
15743         * sysdep/powerpc/locks.h (write_barrier): New function.
15744         * sysdep/i386/locks.h (write_barrier): New function.
15745
15746 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
15747
15748         * include/jni.h Use correct C comments.
15749
15750 2002-03-18  Tom Tromey  <tromey@redhat.com>
15751
15752         * include/jni.h (JNIIMPORT): New macro.
15753         (JNIEXPORT): Likewise.
15754         (JNICALL): Likewise.
15755
15756 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15757
15758         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
15759         systems.
15760
15761 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
15762
15763         * include/i386-signal.h (old_i386_kernel_sigaction): New.
15764         INIT_SEGV: Use old_i386_kernel_sigaction.
15765         INIT_FP: Likewise.
15766
15767 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15768
15769         * java/lang/natSystem.cc (init_properties): Update VM version
15770         properties.
15771         * configure.in: Set GCJVERSION.
15772         * acconfig.h: Add GCJVERSION.
15773         * configure: Rebuilt.
15774         * include/config.h.in: Rebuilt.
15775
15776 2002-03-17  Anthony Green  <green@redhat.com>
15777
15778         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
15779
15780 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15781
15782         Build a single libgcj.so, without separate gc and zlib libraries.
15783         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
15784         SYS_ZLIBS if system zlib is used.
15785         * configure: Rebuilt.
15786         * Makefile.am: Use boehm-gc and zlib convenience libraries.
15787         * Makefile.in: Rebuilt.
15788         * libtool-version: Increment .so version number.
15789
15790         * Makefile.am: Escape quotes in echo.
15791         * Makefile.in: Rebuilt.
15792
15793 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15794
15795         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
15796         * Makefile.in: Rebuilt.
15797
15798 2002-03-15  Anthony Green  <green@redhat.com>
15799
15800         * configure.host (FILE): New macro for specifing File
15801         implementation.
15802         * configure: Rebuilt.
15803         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
15804
15805 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
15806
15807         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
15808         already implicitly brought in from libgcj.la.
15809         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15810         * Makefile.in: Rebuilt.
15811
15812 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
15813
15814         * THANKS: Fix punctuation, alphabetization.
15815
15816 2002-03-15  Tom Tromey  <tromey@redhat.com>
15817             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15818
15819         Fix for PR libgcj/5944.
15820         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
15821
15822 2002-03-15  Anthony Green  <green@redhat.com>
15823
15824         * configure.in (tool_include_dir): Define.
15825         * configure: Rebuilt.
15826         * gcj/Makefile.am: Install libgcj-config.h relative to
15827         tool_include_dir.
15828         * gcj/Makefile: Rebuilt.
15829         * gcj/libgcj-config.h: Add warning comment.
15830
15831 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
15832
15833         * configure.host (powerpc*-darwin*): Enable interpreter.
15834
15835 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15836
15837         * include/posix.h: Add multiple include header protection.
15838         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
15839
15840 2002-03-10  Adam Megacz <adam@xwt.org>
15841
15842         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
15843
15844 2002-03-10  Tom Tromey  <tromey@redhat.com>
15845
15846         * java/awt/GridLayout.java (layoutContainer): Handle case where
15847         there are no items in container.
15848
15849         * java/lang/Win32Process.java: Added comment.
15850         * include/posix.h (_Jv_platform_close_on_exec): New function.
15851         Include fcntl.h.
15852         * include/win32.h (_Jv_platform_close_on_exec): New function.
15853         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
15854         flag.
15855         (accept): Likewise.
15856         * java/net/natPlainDatagramSocketImpl.cc (create): Set
15857         close-on-exec flag.
15858         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
15859         flag.
15860
15861 2002-03-09  Tom Tromey  <tromey@redhat.com>
15862
15863         * verify.cc (state::NO_STACK): New constant.
15864         (state::is_unmerged_ret_state): Handle case where stacktop is
15865         NO_STACK.
15866         (state::merge): Handle NO_STACK merges.
15867         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
15868         for instruction following jsr.
15869         (stacktop, stackdepth): Removed unused variables.
15870         (pop_jump): Ignore case where all remaining states are skipped.
15871
15872 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15873
15874         * java/awt/ImageMediaEntry: Removed.
15875         * java/awt/MediaEntry: Removed.
15876
15877 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15878
15879         Hashtable synchronization for PowerPC.
15880         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
15881         slow_pthread_self. Set up symlink for sysdeps directory.
15882         * configure: Rebuild.
15883         * configure.host: Document more shell variables. Set sysdeps_dir
15884         for most platforms. Set slow_pthread_self for i686. Set
15885         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
15886         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
15887         that memory barrier is emitted where required.
15888         * prims.cc: 64-bit align static primitive class instances.
15889         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
15890         read_barrier() to enforce ordering of reads.
15891         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
15892         primitives for PowerPC.
15893         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
15894         moved from natObject.cc.
15895         * sysdep/alpha/locks.h: Likewise.
15896         * sysdep/ia64/locks.h: Likewise.
15897         * sysdep/generic/locks.h: Likewise.
15898         * java/lang/natObject.cc: Move thread synchronization primitives to
15899         system-dependent headers.
15900
15901 2002-03-09  Adam Megacz  <adam@xwt.org>
15902
15903         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
15904         bytes read and no failure code returned.
15905
15906 2002-03-09  Adam Megacz  <adam@xwt.org>
15907
15908         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
15909         definitions to simulate -mthreads.
15910
15911 2002-03-09  Adam Megacz  <adam@xwt.org>
15912
15913         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
15914         avoid precision loss.
15915
15916 2002-03-09  Per Bothner  <per@bothner.com>
15917
15918         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
15919         * gnu/gcj/xlib/XImage.java:  Likewise.
15920         * gnu/gcj/xlib/XColor.java:  Likewise.
15921
15922 2002-03-09  Adam Megacz  <adam@xwt.org>
15923
15924         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
15925         IOException so that Throwable.printStackTrace fails correctly.
15926
15927 2002-03-08  Adam Megacz  <adam@xwt.org>
15928
15929         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
15930         fixed.
15931
15932 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15933
15934         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
15935         truncated to int.
15936
15937 2002-03-08  Tom Tromey  <tromey@redhat.com>
15938
15939         * include/jni.h: Include stdio.h.
15940
15941 2002-03-08  Tom Tromey  <tromey@redhat.com>
15942
15943         * posix.cc (internal_gettimeofday): New function.
15944         (_Jv_select): Use it.
15945
15946 2002-03-07  Adam Megacz  <adam@xwt.org>
15947
15948         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
15949         WIN32, and added thunks for read(), write(), and close().
15950         * java/net/natPlainSocketImpl.cc (accept, read, read):
15951         Disabled timeouts on WIN32 pending discussion.
15952
15953 2002-03-07  Adam Megacz  <adam@xwt.org>
15954
15955         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
15956         returns jlong. Added implementation
15957         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
15958         returns jlong.
15959         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
15960         returns jlong.
15961         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
15962         returns jlong.
15963         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
15964         _Jv_platform_gettimeofday signature.
15965
15966 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15967
15968         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
15969         (read): Call recv() directly, not _Jv_recv().
15970
15971 2002-03-06  Tom Tromey  <tromey@redhat.com>
15972
15973         * java/io/natFileDescriptorEcos.cc (init): Don't use
15974         GetStdHandle.
15975         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
15976         is negative.
15977         (init): Don't use GetStdHandle.
15978
15979         * include/config.h.in: Rebuilt.
15980         * configure: Rebuilt.
15981         * Makefile.in: Rebuilt.
15982
15983 2002-03-06  Adam Megacz  <adam@xwt.org>
15984
15985         * java/io/FileDescriptor.java: Initialize in/out/err in init().
15986         * java/io/natFileDescriptorWin32.cc (init()): Added function.
15987         * java/io/natFileDescriptorPosix.cc (init()): Added function.
15988         * java/io/natFileDescriptorEcos.cc (init()): Added function.
15989
15990 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
15991
15992         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
15993         the code for generating include/java-chartables.h.
15994         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
15995         merge with Classpath.
15996         * scripts/unicode-muncher.pl: Copy from Classpath.
15997         * scritps/MakeCharTables.java: New file.
15998         * gnu/gcj/convert/Blocks-3.txt: New file.
15999         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
16000         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
16001         * gnu/java/lang/CharData.java: Copy from Classpath.
16002         * Makefile.am (ordinary_java_source_files): Add
16003         gnu/java/lang/CharData.java.
16004         * configure.in: Remove --enable-fast-character option.
16005         * java/lang/Character.java: Merge algorithms and Javadoc with
16006         Classpath.
16007         * java/lang/natCharacter.cc: Implement Unicode lookup table more
16008         efficiently.
16009         * include/java-chardecomp.h: Regenerate.
16010         * include/java-chartables.h: Regenerate.
16011
16012 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16013
16014         * java/awt/MediaTracker.java: Implemented.
16015         * Makefile.am: Add MediaTracker.
16016         * Makefile.in: Rebuilt.
16017
16018 2002-03-05  Tom Tromey  <tromey@redhat.com>
16019
16020         * java/lang/natPosixProcess.cc (fail): Removed.
16021         (startProcess): Simplified error-handling.  Preserve
16022         LD_LIBRARY_PATH across exec.
16023
16024         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
16025         AbstractMethodError.
16026
16027 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16028
16029         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
16030         * Makefile.in: Rebuilt.
16031
16032 2002-03-03 Mark Wielaard <mark@klomp.org>
16033
16034         * java/util/Timer (TaskQueue.stop): set elements to zero.
16035
16036 2002-02-28  Anthony Green  <green@redhat.com>
16037
16038         * java/lang/reflect/natMethod.cc (result): Add void* element.
16039         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
16040         constructor test.
16041
16042 2002-02-27  Adam Megacz <adam@xwt.org>
16043
16044         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
16045         '#undef STRICT'.
16046
16047 2002-02-26  Tom Tromey  <tromey@redhat.com>
16048
16049         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
16050         * gij.cc (version): Use __VERSION__.
16051         * include/config.h.in: Rebuilt.
16052         * acconfig.h (GCJVERSION): Removed.
16053         * configure: Rebuilt.
16054         * configure.in (GCJVERSION): Removed.
16055
16056 2002-02-26  Andreas Schwab  <schwab@suse.de>
16057
16058         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
16059         glibcpp_CXX, since libjava uses even another CXX.
16060         * aclocal.m4, configure: Regenerated.
16061
16062 2002-02-26  Tom Tromey  <tromey@redhat.com>
16063
16064         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
16065         `1'.
16066
16067 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16068
16069         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
16070         dependency tracking for .java files.
16071         * Makefile.in: Rebuilt.
16072
16073 2002-02-24  Adam Megacz  <adam@xwt.org>
16074
16075         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
16076         typo. Sorry.
16077
16078 2002-02-24  Adam Megacz  <adam@xwt.org>
16079
16080         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
16081         for Win32, changed #ifdefs to check WIN32 instead of the
16082         (now-obsolete) USE_WINSOCK, and removed support for socket
16083         timeouts on Win32 pending further discussion.
16084
16085 2002-02-24  Adam Megacz  <adam@xwt.org>
16086
16087         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
16088         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
16089         delete
16090
16091 2002-02-24  Adam Megacz  <adam@xwt.org>
16092
16093         * java/lang/Win32Process.java: Created a dummy class to allow
16094         build process to run to completion.
16095
16096 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
16097
16098         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
16099         Define ffi_result union for ffi_call result.  Cast
16100         ffi_result members to jvalue.
16101
16102 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
16103
16104         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
16105         * testsuite/Makefile.in: Likewise.
16106
16107 2002-02-20  Per Bothner  <per@bothner.com>
16108
16109         * java/net/URL.java (getPath):  New JDK 1.3 method.
16110
16111         * java/net/URLStreamHandler.java (parseURL):
16112         It is wrong to prepend '/' to the file part of a relative url.
16113
16114         * java/net/URLStreamHandler.java (parseURL):
16115         Minor optizations - append '/' rather than "/".
16116
16117         * java/net/URLStreamHandler.java (parseURL):
16118         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
16119         We probably should canonicalize for a context-relative url, though.
16120         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
16121         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
16122         (sameFile):  New method.  Uses canonicalizeFilename.
16123
16124 2002-02-22  Tom Tromey  <tromey@redhat.com>
16125
16126         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
16127         java.vendor and java.vm.vendor.
16128         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
16129         recent copyright date.
16130         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
16131         * gij.cc (version): Print `Inc'.
16132
16133 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16134
16135         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
16136         * aclocal.m4, configure: Rebuilt.
16137
16138 2002-02-20  Per Bothner  <per@bothner.com>
16139
16140         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
16141         and/or output streams immediately here, instead of using File.exists.
16142         (inputStream, outputStream):  New fields to save open streams.
16143         (getInputStream, getOutputStream):  Use already-opened streams.
16144
16145 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16146
16147         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
16148         Use it.
16149         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
16150         * aclocal.m4, configure, Makefile.in: Rebuilt.
16151
16152 2002-02-19  Tom Tromey  <tromey@redhat.com>
16153
16154         Fix for PR libgcj/5696:
16155         * verify.cc (is_assignable_from_slow): Never call
16156         _Jv_IsAssignableFrom.
16157         (verify_instructions_0): Added new debug statement.
16158         (state::print): Print information about whether local has
16159         changed.
16160         (state::merge): Don't call note_variable when merging locals.
16161         (state::set_exception): Removed old FIXME comment.
16162
16163 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16164
16165         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
16166         enable SO_BROADCAST.
16167
16168 2002-02-18  Jason Merrill  <jason@redhat.com>
16169
16170         * name-finder.cc (toHex): Use word mode, not long long.
16171
16172         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
16173
16174 2002-02-15  Tom Tromey  <tromey@redhat.com>
16175
16176         Fix for PR libgcj/5695:
16177         * verify.cc (is_assignable_from_slow): Check to see if target is
16178         an Object before checking to see if source is an interface.
16179         (verify_instructions_0) [op_invokeinterface]: Handle case where
16180         we're making an interface call on Object.
16181
16182 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16183
16184         * Makefile.in: Rebuilt with Eric's change below.
16185
16186         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
16187         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
16188         Removed functions which are now implemented in Math.java.
16189
16190 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16191
16192         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
16193         * Makefile.am (core_java_source_files): Add
16194         java/lang/StrictMath.java.
16195         * java/lang/Math.java: Merge with Classpath.
16196         * java/lang/StrictMath.java: New file - merge with Classpath.
16197
16198 2002-02-14  Mark Wielaard  <mark@klomp.org>
16199
16200         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
16201         package as a workaround for gcj 3.0.x
16202
16203 2002-02-14  Mark Wielaard <mark@klomp.org>
16204
16205         * java/security/BasicPermission.java: extends with fully qualified
16206         classname as workaround for gcj 3.0.4.
16207
16208 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16209
16210         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
16211         around gcj bug of wrong emitted qualifier for inherited method.
16212         * java/net/SocketImpl.java (setOption, getOption): Ditto.
16213         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
16214         constructor to reduce amount of emitted bytecode. While this
16215         happens to work around a jikes 1.15 bug, it is still a useful
16216         patch even for correct compilers.
16217         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
16218         * gnu/java/rmi/server/UnicastRemoteCall.java
16219         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
16220
16221 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16222
16223         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
16224         * java/net/SocketImpl.java: Ditto.
16225         * java/rmi/server/RMIClassLoader.java: Ditto.
16226         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
16227
16228 2002-02-14  Mark Wielaard <mark@klomp.org>
16229
16230         Thanks to Takashi Okamoto
16231         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
16232         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
16233         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
16234
16235 2002-02-13  Todd Stock  <toddastock@yahoo.com>
16236
16237         Fix for PR libgcj/5670:
16238         * verify.cc (is_assignable_from_slow): If `source' is interface,
16239         recursively look for merge with `target'.
16240
16241 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
16242
16243         * include/jni.h: Fix typo.
16244
16245 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
16246
16247         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
16248         correctly.
16249
16250 2002-02-13  Todd Stock  <toddastock@yahoo.com>
16251
16252         Fix for PR libgcj/5671:
16253         * verify.cc (state::merge): Handle case where we're merging
16254         against an interface.
16255
16256 2002-02-12  Tom Tromey  <tromey@redhat.com>
16257
16258         * exception.cc (std::abort): Mark as noreturn.
16259
16260 2002-02-12  Adam Megacz <adam@xwt.org>
16261
16262         * java/lang/Win32Process.java: Filled in a placeholder
16263         implementation so Win32 will build.
16264
16265 2002-02-12  Adam Megacz <adam@xwt.org>
16266
16267         * java/io/natFilePosix.cc: Copied this from natFile.cc.
16268         * java/io/natFile.cc: Removed from repository.
16269         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
16270
16271 2002-02-12  Adam Megacz <adam@xwt.org>
16272
16273         * win32.cc: Added two #includes to make win32.cc compile.
16274
16275 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16276
16277         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
16278         declarations.
16279         (_Jv_InitGC): Don't bother locking, as this is always called from a
16280         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
16281
16282 2002-02-11  Adam Megacz <adam@xwt.org>
16283
16284         * include/win32.h: Added _Jv_platform_gettimeofday.
16285         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
16286
16287 2002-02-11  Adam Megacz <adam@xwt.org>
16288
16289         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
16290         Added #undef STRICT to make windows.h and
16291         java/lang/reflect/Modifier.h cooperate.
16292
16293 2002-02-11  Adam Megacz <adam@xwt.org>
16294
16295         * java/io/natFileWin32.cc: Created a placeholder class with lots
16296         of FIXMEs.
16297
16298 2002-02-11  Adam Megacz <adam@xwt.org>
16299
16300         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
16301         std::abort() to simply abort(). Also added "fake" std::abort() so
16302         we can #include unwind-pe.h without having to link against
16303         libstdc++-v3.
16304
16305 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
16306
16307         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
16308
16309 2002-02-08  Tom Tromey  <tromey@redhat.com>
16310
16311         * interpret.cc (convert): New function.
16312         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
16313         convert.
16314         Include Long.h.
16315
16316 2002-02-08  Anthony Green  <green@redhat.com>
16317
16318         * configure.host: Add support for xscale-elf embedded target.
16319
16320 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
16321
16322         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
16323         dereferenced.
16324         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
16325         frame.
16326
16327 2002-02-07  Tom Tromey  <tromey@redhat.com>
16328
16329         * java/io/natFile.cc (_access): Use __builtin_alloca.
16330         (_stat): Likewise.
16331         (attr): Likewise.
16332         (getCanonicalPath): Likewise.
16333         (performList): Likewise.
16334         (performMkdir): Likewise.
16335         (performSetReadOnly): Likewise.
16336         (performRenameTo): Likewise.
16337         (performSetLastModified): Likewise.
16338         (performCreate): Likewise.
16339         (performDelete): Likewise.
16340
16341 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16342
16343         * HACKING: Fix URL for the automake-gcj.
16344
16345 2002-02-07  Tom Tromey  <tromey@redhat.com>
16346
16347         * java/lang/natThrowable.cc: Updated copyright.
16348         * java/io/natFileWin32.cc: Updated copyright.
16349         * java/io/natFileDescriptorWin32.cc: Updated copyright.
16350         * win32-threads.cc: Updated copyright.
16351         * name-finder.cc: Updated copyright.
16352         * include/name-finder.h: Updated copyright.
16353
16354         * include/name-finder.h: Conditionally include sys/wait.h.
16355         * include/config.h.in: Rebuilt.
16356
16357         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
16358         Size buffer based on real size of string.
16359         (_stat): Likewise.
16360         (attr): Likewise.
16361         (getCanonicalPath): Likewise.
16362         (performList): Likewise.
16363         (performMkdir): Likewise.
16364         (performSetReadOnly): Likewise.
16365         (unixroot): Removed.
16366         (performRenameTo): Likewise.
16367         (performSetLastModified): Likewise.
16368         (performCreate): Likewise.
16369         (performDelete): Likewise.
16370         (performListRoots): Always return new array.
16371
16372         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
16373         * win32.cc (win32_exception_handler): Now static.
16374         * include/win32.h (_Jv_platform_initialize): Declare.
16375         (win32_exception_handler): Don't declare.
16376         * java/lang/natSystem.cc (currentTimeMillis): Use
16377         _Jv_platform_gettimeofday.
16378         * posix.cc (_Jv_platform_gettimeofday): Renamed.
16379         (_Jv_select): Use new name.
16380         (_Jv_platform_initialize): New function.
16381         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
16382         _Jv_gettimeofday.
16383         (_Jv_platform_initialize): Declare.
16384
16385         * configure: Rebuilt.
16386         * configure.in: Removed unnecessary parens.
16387
16388 2002-02-06  Adam Megacz <adam@xwt.org>
16389
16390        * configure.in: Changed mingw) to *mingw*).
16391        * win32.cc: Created this file.
16392        * win32.h: Created this file.
16393        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
16394        win32_exception_handler from prims.cc to win32.cc, added
16395        header in win32.h.
16396        * prims.cc: removed some #ifdef-WIN32'd headers which are no
16397        longer needed now that we have platform.h
16398
16399 2002-02-06  Adam Megacz <adam@xwt.org>
16400
16401         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
16402         use uint<n>_t instead of LONG and BYTE
16403
16404 2002-02-06  Adam Megacz <adam@xwt.org>
16405
16406         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
16407
16408 2002-02-06  Anthony Green  <green@redhat.com>
16409
16410         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
16411         Implement missing method stubs.
16412         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
16413         targets.
16414         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
16415         concept of timezones.
16416         (init_properties): Don't refer to _Jv_Environment_Properties
16417         when this feature is not available.
16418         * include/config.h.in: Rebuilt.
16419         * acconfig.h: Add DISABLE_MAIN_ARGS.
16420         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
16421         * configure: Rebuilt.
16422         * configure.in: Add --disable-main-args option.  Test for
16423           opendir function.  Replace AC_CHECK_SIZEOF with
16424           AC_COMPILE_CHECK_SIZEOF.
16425         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
16426         * aclocal.m4: Rebuilt.
16427         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
16428
16429 2002-02-06  Tom Tromey  <tromey@redhat.com>
16430
16431         * verify.cc (require_array_type): If argument is a null array of
16432         references, return null as the element type.
16433
16434 2002-02-06  Mark Wielaard  <mark@klomp.org>
16435
16436         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
16437         duplicate of a wide type.
16438
16439 2002-02-06  Tom Tromey  <tromey@redhat.com>
16440
16441         * verify.cc (type::isnull): New method.
16442         (require_array_type): Handle case where array is null.
16443         (verify_instructions_0) [op_arraylength]: Likewise.
16444
16445 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16446
16447         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
16448         Symlink PLATFORMH to platform.h.
16449         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
16450         PLATFORMOBJS.
16451         * java/lang/natSystem.cc: #include platform.h not posix.h.
16452         * Makefile.in: Rebuilt with libgcj automake.
16453         * configure: Rebuilt.
16454
16455 2002-02-05  Richard Henderson  <rth@redhat.com>
16456
16457         * Makefile.in: Undo munging last change.
16458
16459 2002-02-04  Adam Megacz <adam@xwt.org>
16460
16461         * win32.cc: Created it.
16462         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
16463         which is set to posix.cc or win32.cc.
16464         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
16465
16466 2002-02-04  Adam Megacz <adam@xwt.org>
16467
16468         * configure.in: Corrected mingw case branches; added * before
16469         and after.
16470
16471 2002-02-04  Adam Megacz <adam@xwt.org>
16472
16473         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
16474         if compiling for win32
16475
16476 2002-02-04  Adam Megacz <adam@xwt.org>
16477
16478         * win32-threads.cc: #undef STRICT after gc.h inclusion
16479
16480 2002-02-02  Tom Tromey  <tromey@redhat.com>
16481
16482         * Makefile.in: Rebuilt.
16483
16484 2002-02-02  Jason Merrill  <jason@redhat.com>
16485
16486         * Makefile.am (clean-nat): New target.
16487
16488 2002-02-02  Tom Tromey  <tromey@redhat.com>
16489
16490         * java/io/natFile.cc: Removed old "FIXME" comments.
16491
16492 2002-02-01  Tom Tromey  <tromey@redhat.com>
16493
16494         * java/lang/natPosixProcess.cc (myclose): New function.
16495         (fail): Use it.
16496         (startProcess): Likewise.
16497
16498 2002-02-01  Adam Megacz <adam@xwt.org>
16499
16500         * prims.cc: Added #undef STRICT after #include<windows.h>.
16501
16502 2002-02-01  Adam Megacz <adam@xwt.org>
16503
16504         * prims.cc
16505         (_Jv_CreateJavaVM): We now use WIN32 instead of
16506         USE_WIN32_SIGNALLING and USE_WINSOCK.
16507         (win32_exception_handler): Now throws an exception out of
16508         the signal handler; assumes SJLJ.
16509
16510 2002-02-01  Adam Megacz <adam@xwt.org>
16511
16512         * win32-threads.cc:
16513         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
16514         wait() algorithm to make it safe.
16515         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
16516         Added lazy creation of Win32 Events for better performance
16517         (really_start): This now uses GC_CreateThread so boehm-gc
16518         knows about new threads even when statically linked.
16519
16520 2002-02-01  Adam Megacz <adam@xwt.org>
16521
16522         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
16523         enable safer wait() algorithm.
16524         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
16525         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
16526         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
16527         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
16528         instead of mutex.
16529         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
16530
16531 2002-02-01  Adam Megacz <adam@xwt.org>
16532
16533         * configure.in: Added support for mingw.
16534         * java/lang/Win32Process.java: Created as empty file.
16535         * java/lang/natWin32Process.cc: Created as empty file.
16536
16537 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
16538
16539         PR java/4972
16540         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
16541         for libiconv in LIBICONV variable.
16542         * configure: Regenerated.
16543
16544 2002-01-31  Tom Tromey  <tromey@redhat.com>
16545
16546         * verify.cc (state::enter_subroutine): New method.
16547         (handle_jsr_insn): Use it.
16548         (state::merge): When processing a `ret', correctly use
16549         subroutine's state to determine which local variables have
16550         changed.
16551         (push_exception_jump): Don't let stack overflow.
16552
16553 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
16554
16555         * gnu/gcj/convert/Convert.java: Only include one copyright year in
16556         --version output.
16557
16558 2002-01-30  Tom Tromey  <tromey@redhat.com>
16559
16560         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
16561         parameter for `recv' return type.
16562
16563         * verify.cc (handle_ret_insn): Check for subroutine merge here...
16564         (state::merge): ... not here.
16565         (subr_entry_info): New structure.
16566         (entry_points): New field.
16567         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
16568         entry_points.
16569
16570 2002-01-29  Tom Tromey  <tromey@redhat.com>
16571
16572         * java/awt/List.java (addNotify): Correctly check to see if peer
16573         does not exist.
16574
16575         * java/awt/GridLayout.java (layoutContainer): Use number of rows
16576         to compute height of each cell, and number of columns to compute
16577         width of each cell.
16578         * java/awt/Window.java (getOwnedWindows): Don't return null.
16579         * java/awt/FlowLayout.java (layoutContainer): Set width and height
16580         of component.  Increment x using horizontal gap, not vertical
16581         gap.
16582
16583 2002-01-28  Tom Tromey  <tromey@redhat.com>
16584
16585         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
16586         `nargs' byte is number of words, not number of arguments.
16587
16588 2002-01-27  Tom Tromey  <tromey@redhat.com>
16589
16590         * java/awt/event/MouseEvent.java (modifiers): Removed field.
16591         (when): Likewise.
16592         * java/awt/event/InputEvent.java (modifiers, when): Now
16593         package-private.
16594
16595         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
16596         and to-do list.
16597         (state::merge): Use current class' class loader.
16598         (state::print): Print subroutine.
16599         (state::merge): Don't look at subroutine of unmerged `ret'.
16600
16601 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
16602
16603         * nogc.cc: Remove warnings.
16604         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
16605         New functions.
16606
16607 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16608
16609         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
16610         int, int):  Remove empty "if" statement to work around compiler bug.
16611         (newPixels(int[], ColorModel, int, int): Likewise.
16612
16613 2002-01-25  Per Bothner  <per@bothner.com>
16614
16615         * verify.cc (verify_fail):  Change from being a top-level function
16616         to e method of _Jv_BytecodeVerifier.  Emit current method name.
16617         Pass the current verifier to type: and state: methods as needed,
16618         for better error messages, and for resolve.
16619         (resolve):  Pass current class's loader for Class.forName and
16620         _Jv_FindClassFromSignature, rather than using the default loader.
16621         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
16622         (get_type_val_for_signature):  Make non-static.
16623         (various methods):  Pass start_PC implicitly, not explicitly.
16624
16625 2002-01-25  Tom Tromey  <tromey@redhat.com>
16626
16627         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
16628         loop termination condition.
16629         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
16630         width.
16631
16632 2002-01-24  Tom Tromey  <tromey@redhat.com>
16633
16634         * java/awt/Shape.java: Merged with Classpath.
16635         * java/awt/Scrollbar.java: Merged with Classpath.
16636
16637         * java/awt/Container.java (addNotify): Unconditionally call
16638         addNotifyContainerChildren and superclass addNotify.
16639
16640         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
16641         getAlpha, not getBlue.
16642
16643 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16644
16645         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
16646
16647         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
16648         (grabPixels(long)): Wait to be notified that the ImageProducer has
16649         completed.
16650
16651 2002-01-24  Per Bothner  <per@bothner.com>
16652
16653         * verify.cc (is_assignable_from_slow): If target is an interface,
16654         we must still check the source's superclass before giving up.
16655
16656 2002-01-24  Tom Tromey  <tromey@redhat.com>
16657
16658         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
16659
16660 2002-01-23  Tom Tromey  <tromey@redhat.com>
16661
16662         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
16663         `else'.
16664
16665         * Makefile.in: Rebuilt.
16666         * Makefile.am (awt_java_source_files): Added new files.
16667         * java/awt/Toolkit.java: Merged with Classpath.
16668         * java/awt/PrintGraphics.java: New file from Classpath.
16669         * java/awt/PrintJob.java: New file from Classpath.
16670         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
16671         * java/awt/datatransfer/ClipboardOwner.java: New file from
16672         Classpath.
16673         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
16674         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
16675         * java/awt/datatransfer/MimeTypeParseException.java: New file from
16676         Classpath.
16677         * java/awt/datatransfer/StringSelection.java: New file from
16678         Classpath.
16679         * java/awt/datatransfer/SystemFlavorMap.java: New file from
16680         Classpath.
16681         * java/awt/datatransfer/Transferable.java: New file from
16682         Classpath.
16683         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
16684         from Classpath.
16685
16686         * Makefile.in: Rebuilt.
16687         * Makefile.am (awt_java_source_files): Added new files.
16688         * java/awt/image/AreaAveragingScaleFilter.java: New file from
16689         Classpath.
16690         * java/awt/image/CropImageFilter.java: New file from Classpath.
16691         * java/awt/image/FilteredImageSource.java: New file from
16692         Classpath.
16693         * java/awt/image/ImageFilter.java: New file from Classpath.
16694         * java/awt/image/MemoryImageSource.java: New file from Classpath.
16695         * java/awt/image/PixelGrabber.java: New file from Classpath.
16696         * java/awt/image/RGBImageFilter.java: New file from Classpath.
16697         * java/awt/image/ReplicateScaleFilter.java: New file from
16698         Classpath.
16699         * java/awt/image/ImageProducer.java: Replaced with Classpath
16700         version.
16701         * java/awt/image/ImageObserver.java: Replaced with Classpath
16702         version.
16703         * java/awt/image/ImageConsumer.java: Replaced with Classpath
16704         version.
16705         * java/awt/GridBagConstraints.java (clone): Catch
16706         CloneNotSupportedException.
16707
16708 2002-01-23  Per Bothner  <per@bothner.com>
16709
16710         * java/lang/reflect/natField.cc (setAddr):  New function.
16711         Calls getAddr and then checks that the field isn't final.
16712         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
16713         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
16714         (set):  Call setAddr before check that new value has right type,
16715         to better match specified semantics.
16716
16717 2002-01-22  Tom Tromey  <tromey@redhat.com>
16718
16719         * java/awt/TextField.java: Replaced with Classpath version.
16720         * java/awt/TextArea.java: Replaced with Classpath version.
16721         * java/awt/TextComponent.java: Replaced with Classpath version.
16722
16723         * java/awt/GridBagConstraints.java: Updated copyright.
16724
16725 2002-01-22  Mark Wielaard <mark@klomp.org>
16726
16727         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
16728         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
16729         java/awt/Dialog.java java/awt/FileDialog.java
16730         java/awt/Font.java java/awt/FontMetrics.java
16731         java/awt/Image.java java/awt/ImageMediaEntry.java
16732         java/awt/Insets.java java/awt/List.java
16733         java/awt/MediaEntry.java java/awt/MediaTracker.java
16734         java/awt/Menu.java java/awt/MenuBar.java
16735         java/awt/MenuContainer.java java/awt/MenuShortcut.java
16736         java/awt/PaintContext.java java/awt/Panel.java
16737         java/awt/PopupMenu.java java/awt/SystemColor.java
16738         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
16739         java/awt/peer/CheckboxMenuItemPeer.java
16740         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
16741         java/awt/peer/ComponentPeer.java
16742         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
16743         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
16744         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
16745         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
16746         java/awt/peer/MenuBarPeer.java
16747         java/awt/peer/MenuComponentPeer.java
16748         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
16749         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
16750         java/awt/peer/ScrollPanePeer.java
16751         java/awt/peer/ScrollbarPeer.java
16752         java/awt/peer/TextAreaPeer.java
16753         java/awt/peer/TextComponentPeer.java
16754         java/awt/peer/TextFieldPeer.java
16755         java/awt/peer/WindowPeer.java: Add license clarification.
16756
16757 2002-01-22  Mark Wielaard <mark@klomp.org>
16758
16759         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
16760         gnu/gcj/runtime/StringBuffer.java
16761         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
16762         gnu/java/awt/ComponentDataBlitOp.java
16763         gnu/java/awt/GLightweightPeer.java
16764         gnu/java/beans/BeanInfoEmbryo.java
16765         gnu/java/beans/EmptyBeanInfo.java
16766         gnu/java/beans/ExplicitBeanInfo.java
16767         gnu/java/beans/IntrospectionIncubator.java
16768         gnu/java/beans/editors/ColorEditor.java
16769         gnu/java/beans/editors/FontEditor.java
16770         gnu/java/beans/editors/NativeBooleanEditor.java
16771         gnu/java/beans/editors/NativeByteEditor.java
16772         gnu/java/beans/editors/NativeDoubleEditor.java
16773         gnu/java/beans/editors/NativeFloatEditor.java
16774         gnu/java/beans/editors/NativeIntEditor.java
16775         gnu/java/beans/editors/NativeLongEditor.java
16776         gnu/java/beans/editors/NativeShortEditor.java
16777         gnu/java/beans/editors/StringEditor.java
16778         gnu/java/beans/info/ComponentBeanInfo.java
16779         gnu/java/io/ClassLoaderObjectInputStream.java
16780         gnu/java/io/NullOutputStream.java
16781         gnu/java/io/ObjectIdentityWrapper.java
16782         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
16783         gnu/java/lang/reflect/TypeSignature.java
16784         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
16785         gnu/java/locale/Calendar_en.java
16786         gnu/java/locale/Calendar_nl.java
16787         gnu/java/locale/LocaleInformation.java
16788         gnu/java/locale/LocaleInformation_de.java
16789         gnu/java/locale/LocaleInformation_en.java
16790         gnu/java/locale/LocaleInformation_nl.java
16791         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
16792         gnu/java/rmi/registry/RegistryImpl.java
16793         gnu/java/rmi/rmic/Compile_gcj.java
16794         gnu/java/rmi/rmic/Compiler.java
16795         gnu/java/rmi/rmic/CompilerProcess.java
16796         gnu/java/rmi/rmic/RMIC.java
16797         gnu/java/rmi/rmic/TabbedWriter.java
16798         gnu/java/rmi/server/ProtocolConstants.java
16799         gnu/java/rmi/server/RMIDefaultSocketFactory.java
16800         gnu/java/rmi/server/RMIHashes.java
16801         gnu/java/rmi/server/RMIObjectInputStream.java
16802         gnu/java/rmi/server/RMIObjectOutputStream.java
16803         gnu/java/rmi/server/UnicastConnection.java
16804         gnu/java/rmi/server/UnicastConnectionManager.java
16805         gnu/java/rmi/server/UnicastRef.java
16806         gnu/java/rmi/server/UnicastRemoteCall.java
16807         gnu/java/rmi/server/UnicastRemoteStub.java
16808         gnu/java/rmi/server/UnicastServer.java
16809         gnu/java/rmi/server/UnicastServerRef.java
16810         gnu/java/security/provider/DefaultPolicy.java
16811         gnu/java/security/provider/Gnu.java
16812         gnu/java/security/provider/SHA.java
16813         gnu/java/security/provider/SHA1PRNG.java
16814         gnu/java/text/BaseBreakIterator.java
16815         gnu/java/text/CharacterBreakIterator.java
16816         gnu/java/text/LineBreakIterator.java
16817         gnu/java/text/SentenceBreakIterator.java
16818         gnu/java/text/WordBreakIterator.java
16819         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
16820         java/applet/AppletContext.java java/applet/AppletStub.java
16821         java/applet/AudioClip.java java/awt/AWTError.java
16822         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
16823         java/awt/AWTException.java java/awt/AWTPermission.java
16824         java/awt/ActiveEvent.java java/awt/BorderLayout.java
16825         java/awt/Button.java java/awt/Canvas.java
16826         java/awt/CardLayout.java java/awt/Checkbox.java
16827         java/awt/CheckboxGroup.java java/awt/Component.java
16828         java/awt/ComponentOrientation.java java/awt/Container.java
16829         java/awt/Dimension.java java/awt/Event.java
16830         java/awt/EventDispatchThread.java java/awt/EventQueue.java
16831         java/awt/FlowLayout.java java/awt/Frame.java
16832         java/awt/Graphics.java java/awt/Graphics2D.java
16833         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
16834         java/awt/IllegalComponentStateException.java
16835         java/awt/ItemSelectable.java java/awt/Label.java
16836         java/awt/LayoutManager.java java/awt/LayoutManager2.java
16837         java/awt/MenuComponent.java java/awt/MenuItem.java
16838         java/awt/Paint.java java/awt/Point.java
16839         java/awt/Rectangle.java java/awt/RenderingHints.java
16840         java/awt/Transparency.java java/awt/Window.java
16841         java/awt/color/ColorSpace.java
16842         java/awt/color/ICC_ColorSpace.java
16843         java/awt/color/ICC_Profile.java
16844         java/awt/event/HierarchyBoundsAdapter.java
16845         java/awt/event/HierarchyBoundsListener.java
16846         java/awt/event/HierarchyEvent.java
16847         java/awt/event/HierarchyListener.java
16848         java/awt/geom/AffineTransform.java
16849         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
16850         java/awt/geom/IllegalPathStateException.java
16851         java/awt/geom/Line2D.java
16852         java/awt/geom/NoninvertibleTransformException.java
16853         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
16854         java/awt/geom/Rectangle2D.java
16855         java/awt/geom/RectangularShape.java
16856         java/awt/geom/RoundRectangle2D.java
16857         java/awt/image/BufferedImage.java
16858         java/awt/image/ColorModel.java
16859         java/awt/image/ComponentColorModel.java
16860         java/awt/image/ComponentSampleModel.java
16861         java/awt/image/DataBuffer.java
16862         java/awt/image/DataBufferByte.java
16863         java/awt/image/DataBufferInt.java
16864         java/awt/image/DataBufferUShort.java
16865         java/awt/image/DirectColorModel.java
16866         java/awt/image/PackedColorModel.java
16867         java/awt/image/Raster.java java/awt/image/RasterOp.java
16868         java/awt/image/SampleModel.java
16869         java/awt/image/SinglePixelPackedSampleModel.java
16870         java/awt/image/WritableRaster.java
16871         java/beans/AppletInitializer.java
16872         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
16873         java/beans/Beans.java java/beans/Customizer.java
16874         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
16875         java/beans/FeatureDescriptor.java
16876         java/beans/IndexedPropertyDescriptor.java
16877         java/beans/IntrospectionException.java
16878         java/beans/Introspector.java java/beans/MethodDescriptor.java
16879         java/beans/ParameterDescriptor.java
16880         java/beans/PropertyChangeEvent.java
16881         java/beans/PropertyChangeListener.java
16882         java/beans/PropertyChangeSupport.java
16883         java/beans/PropertyDescriptor.java
16884         java/beans/PropertyEditor.java
16885         java/beans/PropertyEditorManager.java
16886         java/beans/PropertyEditorSupport.java
16887         java/beans/PropertyVetoException.java
16888         java/beans/SimpleBeanInfo.java
16889         java/beans/VetoableChangeListener.java
16890         java/beans/VetoableChangeSupport.java
16891         java/beans/Visibility.java
16892         java/beans/beancontext/BeanContext.java
16893         java/beans/beancontext/BeanContextChild.java
16894         java/beans/beancontext/BeanContextChildComponentProxy.java
16895         java/beans/beancontext/BeanContextChildSupport.java
16896         java/beans/beancontext/BeanContextContainerProxy.java
16897         java/beans/beancontext/BeanContextEvent.java
16898         java/beans/beancontext/BeanContextMembershipEvent.java
16899         java/beans/beancontext/BeanContextMembershipListener.java
16900         java/beans/beancontext/BeanContextProxy.java
16901         java/beans/beancontext/BeanContextServiceAvailableEvent.java
16902         java/beans/beancontext/BeanContextServiceProvider.java
16903         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
16904         java/beans/beancontext/BeanContextServiceRevokedEvent.java
16905         java/beans/beancontext/BeanContextServiceRevokedListener.java
16906         java/beans/beancontext/BeanContextServices.java
16907         java/beans/beancontext/BeanContextServicesListener.java
16908         java/io/BufferedInputStream.java
16909         java/io/BufferedOutputStream.java java/io/BufferedReader.java
16910         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
16911         java/io/ByteArrayOutputStream.java
16912         java/io/CharArrayReader.java java/io/CharArrayWriter.java
16913         java/io/CharConversionException.java java/io/DataInput.java
16914         java/io/DataInputStream.java java/io/DataOutput.java
16915         java/io/EOFException.java java/io/Externalizable.java
16916         java/io/FileFilter.java java/io/FileNotFoundException.java
16917         java/io/FilePermission.java java/io/FileReader.java
16918         java/io/FileWriter.java java/io/FilenameFilter.java
16919         java/io/FilterInputStream.java java/io/FilterOutputStream.java
16920         java/io/FilterReader.java java/io/FilterWriter.java
16921         java/io/IOException.java java/io/InputStream.java
16922         java/io/InterruptedIOException.java
16923         java/io/InvalidClassException.java
16924         java/io/InvalidObjectException.java
16925         java/io/NotActiveException.java
16926         java/io/NotSerializableException.java java/io/ObjectInput.java
16927         java/io/ObjectInputStream.java
16928         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
16929         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
16930         java/io/ObjectStreamConstants.java
16931         java/io/ObjectStreamException.java
16932         java/io/ObjectStreamField.java
16933         java/io/OptionalDataException.java java/io/OutputStream.java
16934         java/io/PipedInputStream.java java/io/PipedOutputStream.java
16935         java/io/PipedReader.java java/io/PipedWriter.java
16936         java/io/PrintWriter.java java/io/PushbackInputStream.java
16937         java/io/PushbackReader.java java/io/Reader.java
16938         java/io/SequenceInputStream.java java/io/Serializable.java
16939         java/io/SerializablePermission.java
16940         java/io/StreamCorruptedException.java
16941         java/io/StreamTokenizer.java
16942         java/io/StringBufferInputStream.java java/io/StringReader.java
16943         java/io/StringWriter.java java/io/SyncFailedException.java
16944         java/io/UTFDataFormatException.java
16945         java/io/UnsupportedEncodingException.java
16946         java/io/WriteAbortedException.java java/io/Writer.java
16947         java/lang/AbstractMethodError.java
16948         java/lang/ArithmeticException.java
16949         java/lang/ArrayIndexOutOfBoundsException.java
16950         java/lang/ArrayStoreException.java java/lang/Boolean.java
16951         java/lang/Byte.java java/lang/CharSequence.java
16952         java/lang/ClassCastException.java
16953         java/lang/ClassCircularityError.java
16954         java/lang/ClassFormatError.java
16955         java/lang/ClassNotFoundException.java
16956         java/lang/CloneNotSupportedException.java
16957         java/lang/Cloneable.java java/lang/Comparable.java
16958         java/lang/Compiler.java java/lang/Double.java
16959         java/lang/Error.java java/lang/Exception.java
16960         java/lang/ExceptionInInitializerError.java
16961         java/lang/Float.java java/lang/IllegalAccessError.java
16962         java/lang/IllegalAccessException.java
16963         java/lang/IllegalArgumentException.java
16964         java/lang/IllegalMonitorStateException.java
16965         java/lang/IllegalStateException.java
16966         java/lang/IllegalThreadStateException.java
16967         java/lang/IncompatibleClassChangeError.java
16968         java/lang/IndexOutOfBoundsException.java
16969         java/lang/InheritableThreadLocal.java
16970         java/lang/InstantiationError.java
16971         java/lang/InstantiationException.java java/lang/Integer.java
16972         java/lang/InternalError.java
16973         java/lang/InterruptedException.java
16974         java/lang/LinkageError.java java/lang/Long.java
16975         java/lang/NegativeArraySizeException.java
16976         java/lang/NoClassDefFoundError.java
16977         java/lang/NoSuchFieldError.java
16978         java/lang/NoSuchFieldException.java
16979         java/lang/NoSuchMethodError.java
16980         java/lang/NoSuchMethodException.java
16981         java/lang/NullPointerException.java java/lang/Number.java
16982         java/lang/NumberFormatException.java
16983         java/lang/OutOfMemoryError.java java/lang/Package.java
16984         java/lang/Process.java java/lang/Runnable.java
16985         java/lang/RuntimeException.java
16986         java/lang/RuntimePermission.java
16987         java/lang/SecurityException.java
16988         java/lang/SecurityManager.java java/lang/Short.java
16989         java/lang/StackOverflowError.java java/lang/StringBuffer.java
16990         java/lang/StringIndexOutOfBoundsException.java
16991         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
16992         java/lang/ThreadLocal.java java/lang/UnknownError.java
16993         java/lang/UnsatisfiedLinkError.java
16994         java/lang/UnsupportedClassVersionError.java
16995         java/lang/UnsupportedOperationException.java
16996         java/lang/VerifyError.java java/lang/VirtualMachineError.java
16997         java/lang/Void.java java/lang/ref/PhantomReference.java
16998         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
16999         java/lang/ref/SoftReference.java
17000         java/lang/ref/WeakReference.java
17001         java/lang/reflect/AccessibleObject.java
17002         java/lang/reflect/InvocationTargetException.java
17003         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
17004         java/lang/reflect/ReflectPermission.java
17005         java/math/BigDecimal.java java/math/BigInteger.java
17006         java/net/Authenticator.java java/net/BindException.java
17007         java/net/ConnectException.java java/net/ContentHandler.java
17008         java/net/ContentHandlerFactory.java
17009         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
17010         java/net/FileNameMap.java java/net/MalformedURLException.java
17011         java/net/MulticastSocket.java java/net/NetPermission.java
17012         java/net/NoRouteToHostException.java
17013         java/net/PasswordAuthentication.java
17014         java/net/ProtocolException.java java/net/ServerSocket.java
17015         java/net/Socket.java java/net/SocketException.java
17016         java/net/SocketImpl.java java/net/SocketImplFactory.java
17017         java/net/SocketOptions.java java/net/SocketPermission.java
17018         java/net/URLDecoder.java java/net/URLEncoder.java
17019         java/net/URLStreamHandlerFactory.java
17020         java/net/UnknownHostException.java
17021         java/net/UnknownServiceException.java
17022         java/rmi/AccessException.java
17023         java/rmi/AlreadyBoundException.java
17024         java/rmi/ConnectException.java
17025         java/rmi/ConnectIOException.java
17026         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
17027         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
17028         java/rmi/NotBoundException.java
17029         java/rmi/RMISecurityException.java
17030         java/rmi/RMISecurityManager.java java/rmi/Remote.java
17031         java/rmi/RemoteException.java java/rmi/ServerError.java
17032         java/rmi/ServerException.java
17033         java/rmi/ServerRuntimeException.java
17034         java/rmi/StubNotFoundException.java
17035         java/rmi/UnexpectedException.java
17036         java/rmi/UnknownHostException.java
17037         java/rmi/UnmarshalException.java
17038         java/rmi/activation/Activatable.java
17039         java/rmi/activation/ActivateFailedException.java
17040         java/rmi/activation/ActivationDesc.java
17041         java/rmi/activation/ActivationException.java
17042         java/rmi/activation/ActivationGroup.java
17043         java/rmi/activation/ActivationGroupDesc.java
17044         java/rmi/activation/ActivationGroupID.java
17045         java/rmi/activation/ActivationID.java
17046         java/rmi/activation/ActivationInstantiator.java
17047         java/rmi/activation/ActivationMonitor.java
17048         java/rmi/activation/ActivationSystem.java
17049         java/rmi/activation/Activator.java
17050         java/rmi/activation/UnknownGroupException.java
17051         java/rmi/activation/UnknownObjectException.java
17052         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
17053         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
17054         java/rmi/registry/Registry.java
17055         java/rmi/registry/RegistryHandler.java
17056         java/rmi/server/ExportException.java
17057         java/rmi/server/LoaderHandler.java
17058         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
17059         java/rmi/server/Operation.java
17060         java/rmi/server/RMIClassLoader.java
17061         java/rmi/server/RMIClientSocketFactory.java
17062         java/rmi/server/RMIFailureHandler.java
17063         java/rmi/server/RMIServerSocketFactory.java
17064         java/rmi/server/RMISocketFactory.java
17065         java/rmi/server/RemoteCall.java
17066         java/rmi/server/RemoteObject.java
17067         java/rmi/server/RemoteRef.java
17068         java/rmi/server/RemoteServer.java
17069         java/rmi/server/RemoteStub.java
17070         java/rmi/server/ServerCloneException.java
17071         java/rmi/server/ServerNotActiveException.java
17072         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
17073         java/rmi/server/SkeletonMismatchException.java
17074         java/rmi/server/SkeletonNotFoundException.java
17075         java/rmi/server/SocketSecurityException.java
17076         java/rmi/server/UID.java
17077         java/rmi/server/UnicastRemoteObject.java
17078         java/rmi/server/Unreferenced.java
17079         java/security/AccessControlContext.java
17080         java/security/AccessControlException.java
17081         java/security/AccessController.java
17082         java/security/AlgorithmParameterGenerator.java
17083         java/security/AlgorithmParameterGeneratorSpi.java
17084         java/security/AlgorithmParameters.java
17085         java/security/AlgorithmParametersSpi.java
17086         java/security/AllPermission.java
17087         java/security/BasicPermission.java
17088         java/security/Certificate.java java/security/CodeSource.java
17089         java/security/DigestException.java
17090         java/security/DigestInputStream.java
17091         java/security/DigestOutputStream.java
17092         java/security/DomainCombiner.java
17093         java/security/DummyKeyPairGenerator.java
17094         java/security/DummyMessageDigest.java
17095         java/security/DummySignature.java
17096         java/security/GeneralSecurityException.java
17097         java/security/Guard.java java/security/GuardedObject.java
17098         java/security/Identity.java java/security/IdentityScope.java
17099         java/security/InvalidAlgorithmParameterException.java
17100         java/security/InvalidKeyException.java
17101         java/security/InvalidParameterException.java
17102         java/security/Key.java java/security/KeyException.java
17103         java/security/KeyFactory.java java/security/KeyFactorySpi.java
17104         java/security/KeyManagementException.java
17105         java/security/KeyPair.java java/security/KeyPairGenerator.java
17106         java/security/KeyPairGeneratorSpi.java
17107         java/security/KeyStore.java
17108         java/security/KeyStoreException.java
17109         java/security/KeyStoreSpi.java
17110         java/security/MessageDigest.java
17111         java/security/MessageDigestSpi.java
17112         java/security/NoSuchAlgorithmException.java
17113         java/security/NoSuchProviderException.java
17114         java/security/Permission.java
17115         java/security/PermissionCollection.java
17116         java/security/Permissions.java java/security/Policy.java
17117         java/security/Principal.java java/security/PrivateKey.java
17118         java/security/PrivilegedAction.java
17119         java/security/PrivilegedActionException.java
17120         java/security/PrivilegedExceptionAction.java
17121         java/security/ProtectionDomain.java
17122         java/security/Provider.java
17123         java/security/ProviderException.java
17124         java/security/PublicKey.java
17125         java/security/SecureClassLoader.java
17126         java/security/SecureRandom.java
17127         java/security/SecureRandomSpi.java java/security/Security.java
17128         java/security/SecurityPermission.java
17129         java/security/Signature.java
17130         java/security/SignatureException.java
17131         java/security/SignatureSpi.java
17132         java/security/SignedObject.java java/security/Signer.java
17133         java/security/UnrecoverableKeyException.java
17134         java/security/UnresolvedPermission.java
17135         java/security/acl/Acl.java java/security/acl/AclEntry.java
17136         java/security/acl/AclNotFoundException.java
17137         java/security/acl/Group.java
17138         java/security/acl/LastOwnerException.java
17139         java/security/acl/NotOwnerException.java
17140         java/security/acl/Owner.java java/security/acl/Permission.java
17141         java/security/cert/CRL.java
17142         java/security/cert/CRLException.java
17143         java/security/cert/Certificate.java
17144         java/security/cert/CertificateEncodingException.java
17145         java/security/cert/CertificateException.java
17146         java/security/cert/CertificateExpiredException.java
17147         java/security/cert/CertificateFactory.java
17148         java/security/cert/CertificateFactorySpi.java
17149         java/security/cert/CertificateNotYetValidException.java
17150         java/security/cert/CertificateParsingException.java
17151         java/security/cert/X509CRL.java
17152         java/security/cert/X509CRLEntry.java
17153         java/security/cert/X509Certificate.java
17154         java/security/cert/X509Extension.java
17155         java/security/interfaces/DSAKey.java
17156         java/security/interfaces/DSAKeyPairGenerator.java
17157         java/security/interfaces/DSAParams.java
17158         java/security/interfaces/DSAPrivateKey.java
17159         java/security/interfaces/DSAPublicKey.java
17160         java/security/interfaces/RSAKey.java
17161         java/security/interfaces/RSAPrivateCrtKey.java
17162         java/security/interfaces/RSAPrivateKey.java
17163         java/security/interfaces/RSAPublicKey.java
17164         java/security/spec/AlgorithmParameterSpec.java
17165         java/security/spec/DSAParameterSpec.java
17166         java/security/spec/DSAPrivateKeySpec.java
17167         java/security/spec/DSAPublicKeySpec.java
17168         java/security/spec/EncodedKeySpec.java
17169         java/security/spec/InvalidKeySpecException.java
17170         java/security/spec/InvalidParameterSpecException.java
17171         java/security/spec/KeySpec.java
17172         java/security/spec/PKCS8EncodedKeySpec.java
17173         java/security/spec/RSAKeyGenParameterSpec.java
17174         java/security/spec/RSAPrivateCrtKeySpec.java
17175         java/security/spec/RSAPrivateKeySpec.java
17176         java/security/spec/RSAPublicKeySpec.java
17177         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
17178         java/sql/BatchUpdateException.java java/sql/Blob.java
17179         java/sql/CallableStatement.java java/sql/Clob.java
17180         java/sql/Connection.java java/sql/DataTruncation.java
17181         java/sql/DatabaseMetaData.java java/sql/Date.java
17182         java/sql/Driver.java java/sql/DriverManager.java
17183         java/sql/DriverPropertyInfo.java
17184         java/sql/PreparedStatement.java java/sql/Ref.java
17185         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
17186         java/sql/SQLData.java java/sql/SQLException.java
17187         java/sql/SQLInput.java java/sql/SQLOutput.java
17188         java/sql/SQLWarning.java java/sql/Statement.java
17189         java/sql/Struct.java java/sql/Time.java
17190         java/sql/Timestamp.java java/sql/Types.java
17191         java/text/Annotation.java
17192         java/text/AttributedCharacterIterator.java
17193         java/text/AttributedString.java
17194         java/text/AttributedStringIterator.java
17195         java/text/BreakIterator.java java/text/CharacterIterator.java
17196         java/text/ChoiceFormat.java java/text/Collator.java
17197         java/text/DateFormat.java java/text/DateFormatSymbols.java
17198         java/text/DecimalFormat.java
17199         java/text/DecimalFormatSymbols.java
17200         java/text/FieldPosition.java java/text/Format.java
17201         java/text/MessageFormat.java java/text/NumberFormat.java
17202         java/text/ParseException.java java/text/ParsePosition.java
17203         java/text/SimpleDateFormat.java
17204         java/text/StringCharacterIterator.java
17205         java/util/AbstractCollection.java java/util/AbstractList.java
17206         java/util/AbstractMap.java
17207         java/util/AbstractSequentialList.java
17208         java/util/AbstractSet.java java/util/ArrayList.java
17209         java/util/Arrays.java java/util/BasicMapEntry.java
17210         java/util/BitSet.java java/util/Calendar.java
17211         java/util/Collection.java java/util/Collections.java
17212         java/util/Comparator.java
17213         java/util/ConcurrentModificationException.java
17214         java/util/Date.java java/util/Dictionary.java
17215         java/util/EmptyStackException.java java/util/Enumeration.java
17216         java/util/EventListener.java java/util/EventObject.java
17217         java/util/GregorianCalendar.java java/util/HashMap.java
17218         java/util/HashSet.java java/util/Hashtable.java
17219         java/util/IdentityHashMap.java java/util/Iterator.java
17220         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
17221         java/util/LinkedList.java java/util/List.java
17222         java/util/ListIterator.java java/util/ListResourceBundle.java
17223         java/util/Locale.java java/util/Map.java
17224         java/util/MissingResourceException.java
17225         java/util/NoSuchElementException.java
17226         java/util/Observable.java java/util/Observer.java
17227         java/util/Properties.java java/util/PropertyPermission.java
17228         java/util/PropertyResourceBundle.java java/util/Random.java
17229         java/util/RandomAccess.java java/util/ResourceBundle.java
17230         java/util/Set.java java/util/SimpleTimeZone.java
17231         java/util/SortedMap.java java/util/SortedSet.java
17232         java/util/Stack.java java/util/StringTokenizer.java
17233         java/util/TimeZone.java java/util/Timer.java
17234         java/util/TimerTask.java
17235         java/util/TooManyListenersException.java
17236         java/util/TreeMap.java java/util/TreeSet.java
17237         java/util/Vector.java java/util/WeakHashMap.java
17238         java/util/jar/Attributes.java java/util/jar/JarEntry.java
17239         java/util/jar/JarException.java java/util/jar/JarFile.java
17240         java/util/jar/JarInputStream.java
17241         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
17242         java/util/zip/Adler32.java java/util/zip/CRC32.java
17243         java/util/zip/CheckedInputStream.java
17244         java/util/zip/CheckedOutputStream.java
17245         java/util/zip/Checksum.java
17246         java/util/zip/DataFormatException.java
17247         java/util/zip/Deflater.java
17248         java/util/zip/DeflaterOutputStream.java
17249         java/util/zip/GZIPInputStream.java
17250         java/util/zip/GZIPOutputStream.java
17251         java/util/zip/Inflater.java
17252         java/util/zip/InflaterInputStream.java
17253         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
17254         java/util/zip/ZipException.java java/util/zip/ZipFile.java
17255         java/util/zip/ZipInputStream.java
17256         java/util/zip/ZipOutputStream.java
17257         javax/naming/BinaryRefAddr.java
17258         javax/naming/InvalidNameException.java javax/naming/Name.java
17259         javax/naming/NamingException.java javax/naming/RefAddr.java
17260         javax/naming/StringRefAddr.java: Add license clarification.
17261
17262 2002-01-22  Tom Tromey  <tromey@redhat.com>
17263
17264         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
17265         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
17266         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
17267         version.
17268         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
17269         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
17270         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
17271         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
17272         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
17273         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
17274         * java/awt/peer/FontPeer.java: Replace with Classpath version.
17275         * java/awt/peer/FramePeer.java: Replace with Classpath version.
17276         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
17277         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
17278         * java/awt/peer/ListPeer.java: Replace with Classpath version.
17279         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
17280         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
17281         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
17282         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
17283         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
17284         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
17285         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
17286         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
17287         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
17288         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
17289         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
17290         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
17291         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
17292         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
17293         (minimumSize, preferredSize, reshape): Likewise.
17294         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
17295         getColorModel): New methods.
17296         * java/awt/PopupMenu.java: Merged with Classpath.
17297         * java/awt/MenuBar.java: Merged with Classpath.
17298         * java/awt/SystemColor.java: Replace with Classpath version.
17299         * java/awt/Panel.java: Merged with Classpath.
17300         * java/awt/PaintContext.java: Updated copyright.
17301         * java/awt/MenuShortcut.java: Merged with Classpath.
17302         * java/awt/MenuContainer.java: Merged with Classpath.
17303         * java/awt/Menu.java: Merged with Classpath.
17304         * java/awt/MediaEntry.java: New file from Classpath.
17305         * java/awt/MediaTracker.java: New file from Classpath.
17306         * java/awt/List.java: Merged with Classpath version.
17307         * java/awt/Insets.java: Merged with Classpath version.
17308         * java/awt/ImageMediaEntry.java: New file from Classpath.
17309         * java/awt/Image.java: Replaced with Classpath version.
17310         * java/awt/FontMetrics.java: Merged with Classpath version.
17311         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
17312         constant.
17313         * java/awt/Font.java: Merged with Classpath version.
17314         * java/awt/Dialog.java: Merged with Classpath version.
17315         * java/awt/Color.java: Merged with Classpath version.
17316         * java/awt/Choice.java: Merged with Classpath version.
17317         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
17318         * java/awt/Adjustable.java: Replace with Classpath version.
17319         * java/awt/MenuItem.java (paramString): Don't include class name
17320         or brackets.  Call superclass paramString.
17321         * java/awt/MenuComponent.java (toString): Call paramString.
17322         (paramString): Compute string; don't call toString.
17323         * java/awt/Label.java (paramString): Don't include class name
17324         or brackets.  Call superclass paramString.
17325         * java/awt/Checkbox.java (paramString): Don't include class name
17326         or brackets.  Call superclass paramString.
17327         * java/awt/Button.java (paramString): Don't include class name or
17328         brackets.  Call superclass paramString.
17329         * java/awt/MenuComponent.java (getTreeLock): Now protected.
17330
17331 2002-01-20  Andreas Schwab  <schwab@suse.de>
17332
17333         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
17334         function and of parameter recv_func to ssize_t, as specified by
17335         POSIX.
17336
17337 2002-01-19  Per Bothner  <per@bothner.com>
17338
17339         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
17340         uncompressed_size in readiness for next entry.
17341
17342 2002-01-18  Tom Tromey  <tromey@redhat.com>
17343
17344         * java/net/natPlainSocketImpl.cc: Include
17345         IllegalArgumentException.h.
17346         (_Jv_recv): New template function.
17347         (BooleanClass): Removed.
17348         (read): Use _Jv_recv.
17349         (setOption): Use Boolean::class$.  Throw exception if object is
17350         not Boolean or Integer.
17351
17352 2002-01-17  Tom Tromey  <tromey@redhat.com>
17353
17354         * java/awt/MenuComponent.java: Merged with Classpath.
17355         * java/awt/MenuItem.java: Merged with Classpath.
17356         * java/awt/Button.java: Merged with Classpath.
17357
17358         * java/awt/ActiveEvent.java: Updated copyright.
17359
17360         * java/awt/AWTError.java: Replaced with Classpath version.
17361         * java/awt/AWTException.java: Replaced with Classpath version.
17362         * java/awt/IllegalComponentStateException.java: Replaced with
17363         Classpath version.
17364
17365 2002-01-16  Tom Tromey  <tromey@redhat.com>
17366
17367         * java/awt/Canvas.java (serialVersionUID): New constant.
17368         Updated copyright.  Added javadoc from Classpath.
17369         * java/awt/ItemSelectable.java: Replaced with Classpath version.
17370
17371         * java/awt/CheckboxGroup.java: Merged with Classpath.
17372         * java/awt/Checkbox.java: Merged with Classpath.
17373
17374         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
17375         Classpath.
17376         * java/awt/Point.java: Updated copyright.
17377
17378         * java/awt/Point.java (toString): Use getClass().getName().
17379         Added javadoc.
17380
17381         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
17382         commented code.
17383         (hash): Correctly compute initial value for `h'.
17384
17385         * java/awt/Label.java: Merged with Classpath.
17386
17387 2002-01-15  Tom Tromey  <tromey@redhat.com>
17388
17389         * java/awt/AWTPermission.java: Updated copyright.
17390
17391         * java/awt/LayoutManager2.java: Merged with Classpath.
17392         * java/awt/LayoutManager.java: Merged with Classpath.
17393         * java/awt/GridLayout.java: Updated copyright and javadoc.
17394         (getSize): Use `parent.ncomponents'.  Handle insets.
17395         (layoutContainer): Use `parent.ncomponents'.  Handle case where
17396         there are fewer children than columns.  Correctly compute size of
17397         each cell in the grid.  Handle case where there isn't enough
17398         space.
17399         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
17400         all users.
17401         (gotoComponent): Use parent.ncomponents.  Ensure child exists
17402         before calling setVisible() on it.  Last item is `num - 1', not
17403         `num'.
17404         (layoutContainer): Hoist invariants out of loop.
17405
17406         Start of AWT merge with Classpath:
17407         * Makefile.in: Rebuilt.
17408         * Makefile.am (awt_java_source_files): Reference files in
17409         gnu/java/awt, not gnu/gcj/awt.
17410         * java/awt/image/BufferedImage.java: Updated copyright.
17411         * java/awt/image/ComponentColorModel.java: Updated copyright.
17412         * java/awt/image/ComponentSampleModel.java: Updated copyright.
17413         * java/awt/image/DataBuffer.java: Updated copyright.
17414         * java/awt/image/DataBufferByte.java: Updated copyright.
17415         * java/awt/image/DataBufferInt.java: Updated copyright.
17416         * java/awt/image/DataBufferUShort.java: Updated copyright.
17417         * java/awt/image/IndexColorModel.java: Updated copyright.
17418         * java/awt/image/PackedColorModel.java: Updated copyright.
17419         * java/awt/image/Raster.java: Updated copyright.
17420         * java/awt/image/RasterOp.java: Updated copyright.
17421         * java/awt/image/SampleModel.java: Updated copyright.
17422         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
17423         * java/awt/image/WritableRaster.java: Updated copyright.
17424         * java/awt/color/ColorSpace.java: Updated copyright.
17425         * java/awt/color/ICC_ColorSpace.java: Updated copyright
17426         * java/awt/color/ICC_Profile.java: Updated copyright.
17427         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
17428         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
17429         * java/awt/event/HierarchyEvent.java: Updated copyright.
17430         * java/awt/event/HierarchyListener.java: Updated copyright.
17431         * java/awt/geom/AffineTransform.java: Updated copyright.
17432         * java/awt/geom/Dimension2D.java: Updated copyright.
17433         * java/awt/geom/Ellipse2D.java: Updated copyright.
17434         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
17435         * java/awt/geom/Line2D.java: Updated copyright.
17436         * java/awt/geom/NoninvertibleTransformException.java: Updated
17437         copyright.
17438         * java/awt/geom/PathIterator.java: Updated copyright.
17439         * java/awt/geom/Point2D.java: Updated copyright.
17440         * java/awt/geom/Rectangle2D.java: Updated copyright.
17441         * java/awt/geom/RectangularShape.java: Updated copyright.
17442         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
17443         * java/awt/Toolkit.java: Updated import for file moves.
17444         * java/awt/Rectangle.java: Updated copyright; added javadoc from
17445         Classpath.
17446         (hashCode): New method from Classpath.
17447         * java/awt/Graphics2D.java: Updated copyright.
17448         * java/awt/Transparency.java: Updated copyright.
17449         * java/awt/Paint.java: Updated copyright.
17450         * java/awt/Graphics.java: New version from Classpath.
17451         * java/awt/EventDispatchThread.java: Updated copyright.
17452         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
17453         children.
17454         (gotoComponent): Wrap around on next/previous.
17455         * gnu/gcj/awt/BitMaskExtent.java: Removed.
17456         * gnu/gcj/awt/Buffers.java: Removed.
17457         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
17458         * gnu/gcj/awt/GLightweightPeer.java: Removed.
17459         * gnu/java/awt/BitMaskExtent.java: Added.
17460         * gnu/java/awt/Buffers.java: Added.
17461         * gnu/java/awt/ComponentDataBlitOp.java: Added.
17462         * gnu/java/awt/GLightweightPeer.java: Added.
17463         * java/awt/geom/Line2D.java (clone): Ignore
17464         CloneNotSupportedException.
17465         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
17466         * java/awt/Frame.java: Merged with Classpath.
17467         * java/awt/RenderingHints.java: Copyright update.
17468         * java/awt/Paint.java: Copyright update.
17469         * java/awt/image/DirectColorModel.java: Merged with Classpath.
17470         * java/awt/image/ColorModel.java: Merged with Classpath.
17471         * java/awt/Window.java (show): New Implementation from Classpath.
17472         (isShowing): Use super.isShowing().
17473         * java/awt/EventQueue.java: Merged with Classpath.
17474         * java/awt/AWTEventMulticaster.java (save): Throw
17475         RuntimeException.
17476         (saveInternal): Likewise.
17477         * java/awt/AWTEvent.java: Now implements Serializable.
17478         * java/awt/Event.java: Copyright update.
17479         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
17480         * java/awt/image/BufferedImage.java: Copyright update.
17481         * java/awt/GraphicsConfiguration.java: Copyright update.
17482         * java/awt/Component.java: (addNotify): Don't call
17483         addNotifyContainerChildren().
17484         (addNotifyContainerChildren): Removed.
17485         (setPeer): New method from Classpath.
17486         (setTreeLock): Likewise.
17487         (setVisible): Rewrote.
17488         (show): Use it.
17489         (hide): Likewise.
17490         (validate): Set `valid'.
17491         (checkImage(Image,ImageObserver)): Implementation from Classpath.
17492         (createImage(ImageProducer)): Likewise.
17493         (prepareImage): Likewise.
17494         * java/awt/Container.java (addImpl): Handle case where constraint
17495         is not a String.  Post event via system event queue.
17496         (remove): Post event via system event queue.
17497         (validateTree): Only validate child if it is invalid.
17498         (getAlignmentX): Call super method as default.
17499         (getAlignmentY): Likewise.
17500         (addContainerListener): Now synchronized.
17501         (removeContainerListener): Likewise.
17502         (addNotifyContainerChildren): Now private.
17503         * java/awt/ComponentOrientation.java: Updated copyright.  Added
17504         @author.
17505         * java/awt/FlowLayout.java (serialVersionUID): New field.
17506         (setAlignment): Better exception message.
17507         (layoutContainer): Don't compute component's preferred size unless
17508         we're going to use it.
17509         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
17510         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
17511         (firstLine, lastLine, firstItem, lastItem): New fields.
17512         (addLayoutComponent): Handle case where constraints is null.
17513         Also, handle relative locations.
17514         (removeLayoutComponent): Handle relative locations.
17515         (MIN, MAX, PREF): New constants.
17516         (calcCompSize): New method.
17517         (calcSize): New method.
17518         (minimumLayoutSize): Use it.
17519         (preferredLayoutSize): Likewise.
17520         (maximumLayoutSize): Likewise.
17521         (toString): Include more information.
17522         (setBounds): New method.
17523         (layoutContainer): Use libgcj implementation; extended to handle
17524         relative locations.
17525
17526 2002-01-15  Tom Tromey  <tromey@redhat.com>
17527
17528         * java/lang/Float.java (equals): Preserve old code.
17529         * java/lang/Double.java (equals): Preserve old code.
17530
17531 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
17532
17533         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
17534         * java/lang/Float.java (equals, compare): Ditto.
17535
17536 2002-01-13  Mark Wielaard  <mark@klomp.org>
17537
17538         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
17539         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
17540         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
17541         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
17542
17543 2002-01-11  Mark Wielaard  <mark@klomp.org>
17544
17545         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
17546         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
17547         InetAddress.
17548         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
17549         * java/net/Socket.java: Merge with Classpath.
17550         * java/net/ServerSocket.java: Likewise.
17551
17552 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
17553
17554         * interpret.cc (NULLARRAYCHECK): New macro.
17555         (SAVE_PC): Just store `pc'.
17556         (find_exception): Subtract one from `pc' here.
17557         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17558         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17559         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17560         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
17561         don't call SAVE_PC.
17562         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
17563         call SAVE_PC.
17564
17565 2002-01-11  Tom Tromey  <tromey@redhat.com>
17566
17567         * java/lang/natSystem.cc (init_properties): Only look for default
17568         locale if LC_MESSAGES is defined.
17569         * aclocal.m4, configure, include/config.h.in: Rebuilt.
17570         * configure.in: Call AM_LC_MESSAGES.
17571         * acinclude.m4 (AM_LC_MESSAGES): New macro.
17572
17573 2002-01-10  Tom Tromey  <tromey@redhat.com>
17574
17575         For PR libgcj/5303:
17576         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
17577         --version.  Recognize GNU-style long options.  Print GNU-style
17578         error messages.
17579         (usage): Print GNU-style help.  Exit with status 0.
17580         (error): New method.
17581         (run): Print error message if no class names found.
17582         (main): Don't print usage on error.
17583
17584 2002-01-09  Tom Tromey  <tromey@redhat.com>
17585
17586         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
17587         property.
17588         (help, version): Use println(), not println("").
17589
17590         For PR libgcj/5303:
17591         * gnu/gcj/convert/Convert.java (error): Program is called
17592         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
17593         -1.
17594         (main): Handle --help and --version.
17595         (help): New method.
17596         (version): Likewise.
17597
17598 2002-01-08  Tom Tromey  <tromey@redhat.com>
17599
17600         * Makefile.in: Rebuilt.
17601         * Makefile.am (ordinary_java_source_files): Added new files.
17602         * gnu/java/locale/LocaleInformation.java: Extend
17603         LocaleInformation_en.
17604         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
17605         and time/date formats.
17606         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
17607         generated.
17608         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
17609         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
17610         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
17611         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
17612         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
17613         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
17614         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
17615         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
17616         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
17617         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
17618         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
17619         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
17620         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
17621         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
17622         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
17623         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
17624         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
17625         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
17626         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
17627         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
17628         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
17629         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
17630         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
17631         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
17632         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
17633         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
17634         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
17635         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
17636         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
17637         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
17638         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
17639         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
17640         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
17641         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
17642         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
17643         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
17644         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
17645         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
17646         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
17647         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
17648         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
17649         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
17650         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
17651         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
17652         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
17653         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
17654         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
17655         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
17656         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
17657         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
17658         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
17659         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
17660         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
17661         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
17662         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
17663         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
17664         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
17665         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
17666         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
17667         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
17668         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
17669         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
17670         * gnu/java/locale/LocaleInformation_es_US.java: New file.
17671         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
17672         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
17673         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
17674         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
17675         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
17676         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
17677         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
17678         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
17679         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
17680         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
17681         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
17682         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
17683         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
17684         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
17685         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
17686         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
17687         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
17688         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
17689         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
17690         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
17691         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
17692         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
17693         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
17694         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
17695         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
17696         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
17697         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
17698         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
17699         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
17700         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
17701         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
17702         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
17703         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
17704         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
17705         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
17706         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
17707         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
17708         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
17709         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
17710         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
17711         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
17712         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
17713         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
17714         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
17715         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
17716         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
17717         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
17718         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
17719         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
17720         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
17721         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
17722         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
17723         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
17724         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
17725         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
17726         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
17727         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
17728         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
17729         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
17730         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
17731         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
17732         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
17733         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
17734         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
17735         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
17736         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
17737         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
17738
17739         For PR libgcj/5031:
17740         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
17741         choose default locale.
17742
17743         * Makefile.in: Rebuilt.
17744         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
17745
17746 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
17747
17748         * java/net/natPlainSocketImpl.cc: Added timeout handling for
17749         sockets.
17750         (close): New function closes the socket.
17751         (write): New functions for output to socket.
17752         (read): New functions for reading from socket.
17753         * java/net/PlainSocketImpl.java: Glue for new timeout
17754         implementation.
17755         (write): Call the native impl.
17756         (read): Likewise.
17757         (getInputStream): Get a stream to read from the socket.
17758         (getOutputStream): Get a stream to write to the socket.
17759
17760 2002-01-08  Tom Tromey  <tromey@redhat.com>
17761
17762         * resolve.cc (_Jv_PrepareClass): Enable verifier.
17763
17764 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
17765
17766         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
17767         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
17768
17769 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
17770
17771         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
17772         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17773         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17774         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17775         insn_bastore, insn_castore, insn_sastore]: Use it.
17776         (continue1) [insn_arraylength]: Check for null array.
17777
17778 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
17779
17780         * configure, include/config.h.in: Rebuilt.
17781         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
17782         * configure.in: Call AC_STRUCT_TIMEZONE.
17783
17784 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
17785
17786         * configure.host: Disable the interpreter for Darwin.
17787
17788 2002-01-04  Tom Tromey  <tromey@redhat.com>
17789
17790         * java/lang/Thread.java (stop): No longer synchronized.
17791         (start): Likewise.
17792
17793 2002-01-02  Tom Tromey  <tromey@redhat.com>
17794
17795         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
17796         patch.
17797
17798 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
17799
17800         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
17801         PPC Darwin, not for all of Darwin.