OSDN Git Service

2003-12-02 Thomas Fitzsimmons <fitzsim@redhat.com>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
2
3         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
4         (initState): Mark obj parameter as unused.
5         (stringWidth): Mark obj parameter as unused.  Initialize
6         font_name properly.
7
8         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
9         BufferedImageBuilder class static.
10
11 2003-12-02  Mark Wielaard  <mark@klomp.org>
12
13         * java/security/Security.java: Don't use &nbsp; in the api doc.
14
15 2003-12-02  Dalibor Topic <robilad@kaffe.org>
16
17         Reported by: Jim Pick <jim@kaffe.org>
18         * libraries/javalib/java/util/Hashtable.java
19         (internalcontainsValue): New method.
20         (contains): Delegate to internalContainsValue.
21         
22         Reported by: Mark Wielaard  <mark@klomp.org>
23         * libraries/javalib/java/util/Hashtable.java
24         (contains): Improved comment.
25         
26         Reported by: Jeroen Frijters  <jeroen@frijters.net>
27         * libraries/javalib/java/util/Hashtable.java
28         (containsValue): Delegate to contains(Object) to make sure older
29         code overwriting it continues to work.
30
31 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
32
33         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
34         method. Handle mouse and key events that must generate
35         ActionEvents.
36         * java/awt/List.java (getSelectedIndex): Return -1
37         if no list element is selected.
38         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
39         Correct handling of mouse and key events so that List receives them.
40         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
41         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
42         multiple list elements. 
43
44 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
45
46         * java/text/SimpleDateFormat.java (compileFormat):
47         isLowerCase() and isUpperCase() allow too many characters.
48         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
49
50 2003-12-02  Dalibor Topic <robilad@kaffe.org>
51
52         * java/text/FieldPosition.java (equals): Fixed comment.
53
54 2003-12-02  Mark Wielaard  <mark@klomp.org>
55
56         Reported by Archie Cobbs:
57         * java/security/DigestInputStream.java (read(byte[], int, int): Call
58         digest.update() with temp, not len as lenght.
59
60 2003-12-02  Michael Koch  <konqueror@gmx.de>
61
62         * java/net/DatagramSocket.java
63         (close): Close associated DatagramChannel object.
64         * java/net/ServerSocket.java
65         * java/net/Socket.java
66         (close): Reset impl and bound before calling getChannel().close() to
67         prevent from loops.
68
69 2003-12-02  Michael Koch  <konqueror@gmx.de>
70
71         * java/nio/channels/spi/AbstractInterruptibleChannel.java
72         (opened): Removed.
73         (closed): New field.
74         (close): Check of channel is closed already.
75         (isOpen): Return !closed.
76
77 2003-12-02  Michael Koch  <konqueror@gmx.de>
78
79         * gnu/java/nio/DatagramChannelImpl.java
80         (blocking): Initialize with true by default.
81         * gnu/java/nio/ServerSocketChannelImpl.java
82         (serverSocket): Made private.
83         (blocking): Likewise.
84         (connected): Likewise.
85         * gnu/java/nio/SocketChannelImpl.java
86         (connectionPending): Made private.
87         * gnu/java/nio/FileLockImpl.java
88         (static): Load native library (needed for classpath).
89         * gnu/java/nio/SelectorImpl.java
90         (static): Load native library (needed for classpath).
91
92 2003-12-02  Michael Koch  <konqueror@gmx.de>
93
94         * gnu/java/net/protocol/file/Connection.java
95         (getLastModified): Implement for file connections.
96         (getContentLength): Likewise.
97
98 2003-12-02  Michael Koch  <konqueror@gmx.de>
99
100         * gnu/java/net/protocol/file/Connection.java:
101         Some reformating.
102         (file): Renamed from fileIn.
103         (getPermission): Moved around.
104
105 2003-12-02  Michael Koch  <konqueror@gmx.de>
106
107         * gnu/java/net/protocol/jar/Connection.java
108         (Connection): Made class final, merged documentation with classpath.
109         (file_cache): Made private.
110         (jar_file): Renamed from jarfile.
111
112 2003-12-02  Michael Koch  <konqueror@gmx.de>
113
114         * gnu/java/net/protocol/http/Connection.java
115         (Connection): Initialize doOutput to false;
116         (connect): Initialize inputStream, moved "send request" code to new
117         method.
118         (sendRequest): New method.
119         (getHttpHeaders): Don't reinitialize inputStream.
120
121 2003-12-02  Michael Koch  <konqueror@gmx.de>
122
123         * gnu/java/net/protocol//http/Connection.java
124         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
125         (requestProperties): Initialize, documentation added.
126         (inputStream): Renamed from bufferedIn.
127         (Connection): Dont initialize requestProperties.
128         (setDefaultRequestProperty): Removed.
129         (getDefaultRequestProperty): Removed.
130         (usingProxy): Documentation added.
131         (getHttpHeaders): Likewise.
132
133 2003-12-02  Michael Koch  <konqueror@gmx.de>
134
135         * java/text/DateFormat.java:
136         Explicitely import used classes.
137
138 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
139
140         * verify.cc (state::clean_subrs): Clear seen_subrs.
141         (state::copy): Walk seen_subrs from copy, not `this'.
142         Don't clear seen_subrs.
143
144 2003-12-01  Kim Ho <kho@redhat.com>
145
146         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
147         Disable wrapping if TextArea has horizontal scroll bars.
148
149 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
150
151         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
152         (awt_event_handler): Hard-code inset values.
153
154         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
155         Pass font name, not XLFD, to initState.
156         (stringWidth(String, int, String)): New method.
157         (stringWidth(String)): Call new stringWidth.
158         (getLeading): Always return 0.
159         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
160         (initState): New Pango implementation.
161         (stringWidth): Likewise.
162
163 2003-12-01  Olga Rodimina <rodimina@redhat.com>
164
165         * java/awt/TextComponent.java:
166         (getSelectionStart): Updated javadocs.
167         (getSelectionEnd): Ditto.
168         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
169         (getSelectionStart): Changed to return caret position if no
170         text is selected
171         (getSelectionEnd): Ditto.
172
173 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
174
175         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
176         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
177         gnu/awt/gtk/GtkContainerPeer.java,
178         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
179         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
180         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
181         gnu/awt/gtk/natGtkComponentPeer.cc,
182         gnu/awt/gtk/natGtkContainerPeer.cc,
183         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
184         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
185         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
186
187         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
188         (closed): Mark loader parameter as unused.
189
190 2003-12-01  Michael Koch  <konqueror@gmx.de>
191
192         * gnu/java/net/protocol/http/Connection.java
193         (Connection): Merged class documentation.
194         (socket): Renamed from sock.
195         (Connection): Made protected, documentation added.
196         (connect): Give URL'S host instead of InetAddress to Socket
197         constructor.
198         (disconnect): Documentation added.
199         (getOutputStream): Rewrapped.
200
201 2003-12-01  Michael Koch  <konqueror@gmx.de>
202
203         * gnu/java/net/protocol/file/Connection.java
204         (fileIn): Documentation added.
205         (inputStream): Likewise.
206         (outputStream): Likewise.
207         (Connection): Likewise.
208         (connect): Simplified.
209
210 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
211
212         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
213         setProperties): Check that io is not null before calling
214         io.imageUpdate.
215         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
216         Update javadocs.
217         * java/awt/image/PixelGrabber.java: Fix implementation and
218         update javadocs.
219
220 2003-12-01  Michael Koch  <konqueror@gmx.de>
221
222         * gnu/java/net/natPlainSocketImplPosix.cc
223         bind(): Dont set SockedImpl.address field on succesful bind.
224         * gnu/java/net/natPlainSocketImplWin32.cc
225         bind(): Likewise.
226
227 2003-11-30  Jeff Sturm <jsturm@one-point.com>
228
229         * java/net/InetAddress.java:
230         (static): Don'f force DNS request for ANY_IF address.
231
232 2003-11-30  Michael Koch  <konqueror@gmx.de>
233
234         * java/net/InetAddress.java,
235         java/net/natInetAddressNoNet.cc,
236         java/net/natInetAddressPosix.cc,
237         java/net/natInetAddressWin32.cc:
238         Reverted my last patch.
239
240 2003-11-28  Michael Koch  <konqueror@gmx.de>
241
242         * java/net/InetAddress.java
243         (lookup): New method that doesnt lookup "0.0.0.0".
244         (ImplLookup): Renamed from lookup.
245         * java/net/natInetAddressNoNet.cc
246         (ImplLookup): Renamed from lookup.
247         * java/net/natInetAddressPosix.cc
248         (ImplLookup): Renamed from lookup.
249         * java/net/natInetAddressWin32.cc
250         (ImplLookup): Renamed from lookup.
251
252 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
253
254         * configure: Rebuilt.
255         * configure.in: Require gtk and glib 2.2.0.
256
257 2003-11-27  Dalibor Topic <robilad@kaffe.org>
258
259         * java/text/FieldPosition.java (equals): Adapted to handle
260         field_attribute. Added fast-circuit check for comparison to self.
261         Replaced use of instanceof by getClass to fix symmetry for derived
262         types.
263         (toString): Adapted to handle field_attribute. Improved readability.
264         (hashCode): New method.
265
266 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
267
268         * java/text/FieldPosition.java (field_attribute): New field.
269         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
270         getFieldAttribute): New methods.
271
272 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
273
274         * java/text/DecimalFormatSymbols.java (locale): New field.
275         (DecimalFormatSymbols (Locale)): Set locale.
276         (serialVersionOnStream): Upgraded to number 2.
277         (readObject): Assign locale if it wasn't by the serializer.
278
279 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
280
281         * java/text/FormatCharacterIterator.java: Documented the class and
282
283 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
284
285         * java/text/FormatCharacterIterator.java: Fixed some typos.
286
287 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
288
289         * java/text/NumberFormat.java:
290         (getIntegerInstance) Added the java version in the comments.
291
292 2003-11-27  Mark Wielaard  <mark@klomp.org>
293
294         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
295         (readResolve): Reformat.
296
297 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
298
299         * java/text/NumberFormat.java
300         (NumberFormat.Field): New implemented class to match Java 1.4. 
301         (getIntegerInstance): Two new Java 1.4 methods.o
302
303 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
304
305         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
306         the leap day of the leap year twice.
307         (computeFields): First week of month is 1 not 0.
308
309 2003-11-27  Mark Wielaard  <mark@klomp.org>
310
311         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
312         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
313
314 2003-11-27  Michael Koch  <konqueror@gmx.de>
315
316         * javax/swing/UIDefaults.java:
317         Reformated to match classpath's version.
318
319 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
320
321         * javax/swing/UIManager.java (getDefaults, getDimension,
322         getIcon, getInsets, getInstalledLookAndFeels, getInt,
323         getLookAndFeel, getString, getSystemLookAndFeelClassName):
324         Declare as public.
325
326 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
327
328         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
329         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
330         isSignificant): Likewise.
331
332 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
333
334         * javax/swing/undo/CompoundEdit.java: Re-format, document.
335         (inProgress): Set initial value to true.
336         (undo, redo, die, canUndo, canRedo): Also call inherited
337         implementation; simplify code structure.
338         (getPresentationName, getUndoPresentationName,
339         getRedoPresentationName): Make behavior dependent on lastEdit.
340         (addEdit, isSignificant): Completely re-written.
341
342 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
343
344         * javax/swing/undo/StateEdit.java: Re-format, document.
345         (undo, redo): Also call inherited implementation.
346
347 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
348
349         * javax/swing/undo/StateEditable.java: Re-format, document.
350
351 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
352
353         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
354         (AbstractUndoableEdit): Initialize hasBeenDone to true.
355         (canUndo, canRedo): Simplify.
356         (getUndoPresentationName, getRedoPresentationName): Support
357         localized message; call getPresentationName() only once.
358
359 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
360
361         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
362         (ZipFile(File,int)): Likewise.
363
364 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
365
366         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
367         (putAllInternal): Likewise.
368         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
369         (putAllInternal): Likewise.
370
371 2003-11-26  Michael Koch  <konqueror@gmx.de>
372
373         * java/net/URLStreamHandler.java
374         (parseURL): Added comment in catch statement.
375         (canonicalizeFilename): Add documentation.
376         (sameURL): Completed documentation.
377         (equals): Likewise.
378         (hostsEqual): Likewise.
379         (getDefaulPort): Likewise.
380         (hashCode): Likewise.
381         (toExternalForm): Likewise.
382         (getHostName): Fix empty hostname check, completed documentation.
383
384 2003-11-26  Tom Tromey  <tromey@redhat.com>
385
386         * java/lang/natDouble.cc (parseDouble): Reverted patch of
387         2003-11-13.
388
389 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
390             Mark Wielaard  <mark@klomp.org>
391
392         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
393         ('@' should be checked to distinguish port from userinfo).
394         (toExternalForm): Add @ userInfo if necessary.
395
396
397 2003-11-26  Michael Koch  <konqueror@gmx.de>
398
399         * java/net/DatagramSocket.java
400         (DategramSocket, bind): Moved binding code from DatagramSocket
401         constructor to bind method.
402
403 2003-11-26  Michael Koch  <konqueror@gmx.de>
404
405         * java/net/DatagramSocket.java
406         (impl): Made private.
407         (bound): New private member variable.
408         (DatagramSocket): Fixed documentation, use getImpl().
409         (getImpl): New package-private method.
410         (isClosed): Use getImpl().
411         (getLocalAddress): Completed documentation, use getImpl().
412         (getLocalPort): Use getImpl().
413         (getSoTimeout): Likewise.
414         (setSoTimeout): Likewise.
415         (getSendBufferSize): Likewise.
416         (setSendBufferSize): Likewise.
417         (getReceiveBufferSize): Likewise.
418         (setReceiveBufferSize): Likewise.
419         (connect): Likewise.
420         (disconnect): Likewise.
421         (receive): Likewise.
422         (send): Likewise.
423         (setReuseAddress): Likewise.
424         (setTrafficClass): Likewise.
425         (bind): Added message to exception.
426         (isClosed): Completed documentation.
427         (getChannel): Likewise.
428         (connect): Added missing exception, refined exception message.
429         (isBound): Completed documentation, just return bound.
430         (isConnected): Completed documentation.
431         (getRemoteSocketAddress): Likewise.
432         (getReuseAddress): Completed documentation, use getImpl().
433         (setSoBroadcast): Likewise.
434         (getSoBroadcast): Likewise.
435         (getTrafficClass): Likewise.
436         (getLocalSocketAddress): Simplified.
437         * java/net/MulticastSocket.java
438         (MulticastSocket): Removed comment not applying anymore.
439         (getInterface): Use getImpl().
440         (getTTL): Likewise.
441         (getTimeToLive): Likewise.
442         (setInterface): Likewise.
443         (setNetworkInterface): Likewise.
444         (getNetworkInterface): Likewise.
445         (setLoopback): Likewise.
446         (getLoopback): Likewise.
447         (setTTL): Likewise.
448         (setTimeToLive): Likewise.
449         (joinGroup): Likewise.
450         (leaveGroup): Likewise.
451         (send): Likewise.
452
453 2003-11-26  Michael Koch  <konqueror@gmx.de>
454
455         * java/net/Socket.java
456         (implCreated): Dont set default value explicitely, added
457         documentation.
458         (inputShutdown): Likewise.
459         (outputShutdown): Likewise.
460         (bound): New private member variable.
461         (bind): Set bound to true.
462         (close): Set bound to false.
463         (isBound): Return bound.
464         * java/net/ServerSocket.java
465         (bound): New private member variable.
466         (bind): Set bound to true.
467         (close): Set bound to false.
468         (isBound): Return bound.
469
470 2003-11-26  Michael Koch  <konqueror@gmx.de>
471
472         * java/net/URL.java
473         (URL): Fixed documentation to be HTML compliant.
474         (getContent): Completed documentation.
475         (getFile): Likewise.
476         (getPath): Likewise.
477         (getAuthority): Likewise.
478         (getHost): Likewise.
479         (getDefaultPort): Likewise.
480         (getProtocol): Likewise.
481         (hashCode): Likewise.
482         (openConnection): Likewise.
483         (openStream): Likewise.
484         (set): Likewise.
485         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
486
487 2003-11-26  Michael Koch  <konqueror@gmx.de>
488
489         * java/net/InetSocketAddress.java
490         (hostname): Made private, added documentation.
491         (addr): Likewise.
492         (port): Likewise.
493         (equals): Completed documentation.
494         (getAddress): Likewise.
495         (getHostName): Likewise.
496         (getPort): Likewise.
497         (hashCode): Likewise.
498         (isUnresolved): Likewise.
499         (toString): Likewise.
500
501 2003-11-26  Michael Koch  <konqueror@gmx.de>
502
503         * gnu/java/net/protocol/file/Handler.java
504         (Handler): New explicit constructor.
505         (openConnection): Added documentation.
506         * gnu/java/net/protocol/jar/Handler.java
507         (Handler): New explicit constructor.
508         (openConnection): Added documentation.
509
510 2003-11-26  Michael Koch  <konqueror@gmx.de>
511
512         * java/net/DatagramPacket.java
513         (DatagramPacket): Fixed documentation to become legal HTML.
514
515 2003-11-25  Michael Koch  <konqueror@gmx.de>
516
517         * gcj/javaprims.h: Added missing java.util.Currency.
518
519 2003-11-25  Michael Koch  <konqueror@gmx.de>
520
521         * testsuite/libjava.mauve/xfails:
522         Removed these two tests, they mystically pass now:
523         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
524         test_params failed - 5getInetAddress did not return proper values
525         (number 1)
526         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
527         test_BasicServer failed - 11 exception was thrown :Illegal seek
528         (number 1)
529
530 2003-11-25  Michael Koch  <konqueror@gmx.de>
531
532         * java/net/DatagramSocket.java
533         (factory): Made private.
534         (closed): Removed.
535         (DatagramSocket): Check impl argument, use constructor with
536         SocketAddress argument.
537         (close): Set impl to null, use isClosed().
538         (isClosed): Check for impl == null.
539         (getLocalAddress): Use isClosed().
540         (getLocalPort): Check if socket is closed.
541         (getSoTimeout): Likewise.
542         (setSoTimeout): Likewise.
543         (getSendBufferSize): Likewise.
544         (setSendBufferSize): Likewise.
545         (getReceiveBufferSize): Likewise.
546         (setReceiveBufferSize): Likewise.
547         (receive): Likewise.
548         (send): Likewise.
549         (bind): Likewise.
550         (connect): Likewise.
551         (setReuseAddress): Likewise.
552         (getReuseAddress): Likewise.
553         (setBroadcast): Likewise.
554         (getBroadcast): Likewise.
555         (setTrafficClass): Likewise.
556         (getTrafficClass): Likewise.
557         * java/net/MulticastSocket.java
558         (getInterface): Check if socket is closed.
559         (getTTL): Likewise.
560         (getTimeToLive): Likewise.
561         (setInterface): Likewise.
562         (setNetworkInterface): Likewise.
563         (getNetworkInterface): Likewise.
564         (setLoopbackMode): Likewise.
565         (setTTL): Likewise.
566         (setTimeToLive): Likewise.
567         (joinGroup): Likewise.
568         (leaveGroup): Likewise.
569         (send): Likewise.
570         * java/net/ServerSocket.java
571         (closed): Removed.
572         (close): Check if socket is closed, set impl to null.
573         (isClosed): Check impl == null;
574         (ServerSocket): Check impl argument.
575         (getInetAddress): Check if socket is bound.
576         (getLocalPort): Likewise.
577         (getLocalSocketAddress): Likewise.
578         (bind): Check if socket is closed.
579         (implAccept): Likewise.
580         (setSoTimeout): Likewise.
581         (getSoTimeout): Likewise.
582         (setReuseAddress): Likewise.
583         (getReuseAddress): Likewise.
584         (setReceiveBufferSize): Likewise.
585         (getReceiveBufferSize): Likewise.
586         (toString): Make output compliant to JDK 1.4.2.
587         * java/net/Socket.java
588         (closed): Removed.
589         (Socket): Fixed documentation.
590         (connect): Check if socket is closed, changed exception text,
591         fixed documentation.
592         (getInputStream): Check of socket is closed  and connected.
593         (getOutputStream): Likewise.
594         (bind): Check if socket is closed.
595         (setTcpNoDelay): Likewise.
596         (getTcpNoDelay): Likewise.
597         (setSoLinger): Likewise.
598         (getSoLinger): Likewise.
599         (sendUrgentData): Likewise.
600         (setOOBInline): Likewise.
601         (getOOBInline): Likewise.
602         (setSoTimeout): Likewise.
603         (getSoTimeout): Likewise.
604         (setSendBufferSize): Likewise.
605         (getSendBufferSize): Likewise.
606         (setReceiveBufferSize): Likewise.
607         (getReceiveBufferSize): Likewise.
608         (setKeepAlive): Likewise.
609         (getKeepAlive): Likewise.
610         (close): Likewise.
611         (shutdownInput): Likewise.
612         (shutdownOutput): Likewise.
613         (getReuseAddress): Likewise.
614         (getTrafficClass): Likewise.
615         (setTrafficClass): Likewise.
616         (isClosed): Check impl == null.
617         (toString): Added missing ']'.
618
619 2003-11-24  Tom Tromey  <tromey@redhat.com>
620
621         * Makefile.in: Rebuilt.
622         * Makefile.am (propdir): New macro.
623         (install-data-local): Install logging.properties.
624         (core_java_source_files): Added java.util.logging.*.
625         * java/util/logging/logging.properties: New file.
626
627 2003-11-25  Michael Koch  <konqueror@gmx.de>
628
629         * java/net/DatagramSocket.java
630         (DatagramSocket): Move binding code to bind(), simplify constructors.
631         * java/net/MulticastSocket.java
632         (MulticastSocket): Call parent constructor with null argument,
633         bind socket after setReuseAddress is called, simplify constructors.
634
635 2003-11-24  Michael Koch  <konqueror@gmx.de>
636
637         * javax/swing/BoxLayout.java
638         (serialVersionUIR): New member variable.
639         (X_AXIS, Y_AXIS): Documentation added.
640         (LINE_AXIS, PAGE_AXIS): New constants.
641         (grid): Renamed from gridbag.
642         (BoxLayout): Use new constants, throw exception if invalid value for
643         way, added documentation.
644         (BoxLayout): Removed.
645         (addLayoutComponent): Use new constants, added documentation.
646         (removeLayoutComponent): Likewise.
647         (addLayoutContainer): Added documentation.
648         (preferredLayoutSize): Added documentation, check given argument.
649         (minimumLayoutSize): Likewise.
650         (layoutContainer): Likewise.
651         (getLayoutAlignmentX): Likewise.
652         (getLayoutAlignmentY): Likewise.
653         (invalidateLayout): Likewise.
654         (maximumLayoutSize): Likewise.
655
656 2003-11-22  Michael Koch  <konqueror@gmx.de>
657
658         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
659         (peekData): Use offset and maximal free space in datagram packet.
660         (receive): Likewise.
661         (send): Use offset in datagram packet.
662
663 2003-11-22  Michael Koch  <konqueror@gmx.de>
664
665         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
666         (peekData): Use offset and maximal free space in datagram packet.
667         (receive): Likewise.
668         (send): Use offset in datagram packet.
669
670 2003-11-22  Michael Koch  <konqueror@gmx.de>
671
672         * gnu/java/nio/DatagramChannelImpl.java
673         (getNativeFD): Use getPlainDatagramSocketImpl().
674         * gnu/java/nio/NIODatagramSocket.java
675         (getPlainDatagramSocketImpl): Renamed from getImpl().
676         * gnu/java/nio/NIOSocket.java
677         (getPlainSocketImpl): Renamed from getImpl().
678         (setChannel): Use getPlainSocketImpl().
679         * gnu/java/nio/SocketChannelImpl.java
680         (SocketChannelImpl): Use getPlainSocketImpl().
681         (getPlainSocketImpl): Renamed from getImpl().
682         (getNativeFD): Use getPlainSocketImpl().
683
684 2003-11-18  Graydon Hoare  <graydon@redhat.com>
685
686         * javax/swing/JLayeredPane.java: Implement.
687         * javax/swing/JFrame.java (getContentPane): Make public
688         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
689         Use JLayeredPane.FRAME_CONTENT_LAYER.
690
691 2003-11-21  Mark Wielaard  <mark@klomp.org>
692
693         * java/lang/Float.java (static): Removed.
694
695 2003-11-18  Graydon Hoare  <graydon@redhat.com>
696
697         * java/awt/font/TextLayout.java: Implement simple layouts
698         using attributed strings and glyph vectors.
699
700 2003-11-17  Graydon Hoare  <graydon@redhat.com>
701
702         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
703         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
704         (GdkFontLineMetrics): New inner class.
705         (getLineMetrics): Return new GdkFontLineMetrics.
706         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
707         (layoutGlyphVector): Create GdkGlyphVector.
708         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
709         (GdkGraphics2D): Initialize state via mathod calls.
710         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
711         (cairoTranslate, cairoScale, cairoRotate): Remove.
712         (various methods): use setTransform for special transform cases.
713         (DrawState): New inner class.
714         (stateSave): New method.
715         (stateRestore): New method.
716         (various methods): use stateSave, stateRestore.
717         (getClipInDevSpace): New method.
718         (clip, clipRect, setClip, getClip, getClipBounds): 
719         Follow spec more closely.
720         (getTransform): Return clone of transform.
721         (setStroke): Set linewidth to passed width / 2.0.
722         (setPaintMode): Set SrcOver rather than Xor.
723         (setColor): Set paint to passed color.
724         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
725         transform from image to user space.
726         (drawRenderedImage, drawRenderableImage): Implement.
727         (getFontRenderContext, getFontMetrics, drawString, getFont): 
728         Implement
729         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
730         Implement.
731         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
732         Match changes to java side.
733         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
734         Release resources.
735         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
736         Don't use pango for metrics.
737         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
738         New file.
739
740 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
741             Jim Pick  <jim@kaffe.org>
742
743         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
744         methods.
745
746 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
747
748         * java/text/DecimalFormatSymbols.java (getCurrency,
749         setCurrency): New methods.
750
751 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
752
753         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
754         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
755         Describe how the implementation works.
756
757 2003-11-19  Michael Koch  <konqueror@gmx.de>
758
759         * java/net/Socket.java
760         (implCreated): New variable that indicates created impl.
761         (getImpl): New method.
762         (toString): Return more SUN compliant string representation.
763         (various): Use getImpl() instead of impl.
764
765 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
766
767         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
768         the right libgcc. Add -multiply_defined suppress and -bind_at_load
769         flags.
770
771 2003-11-18  Tom Tromey  <tromey@redhat.com>
772
773         PR libgcj/13026:
774         * verify.cc (state::copy): Only set local_changed if we're in a
775         subroutine.  Correctly copy local variables which were modified
776         by the subroutine.
777         (push_jump_merge): Added more debugging output.
778
779         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
780         is null.
781
782 2003-11-17  Graydon Hoare  <graydon@redhat.com>
783
784         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
785         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
786
787 2003-11-16  Tom Tromey  <tromey@redhat.com>
788
789         PR libgcj/13062:
790         * java/io/StreamTokenizer.java (commentChar): Clear other
791         attributes for character.
792         (quoteChar): Likewise.
793
794 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
795
796         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
797         zero-length int arrays when layoutInfo is null.
798         (getLayoutWeights): Return array of two zero-length double arrays when
799         layoutInfo is null.
800
801 2003-11-13  Tom Tromey  <tromey@redhat.com>
802
803         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
804         JvGetStringUTFRegion.
805         * java/lang/natPosixProcess.cc (new_string): Pass length of string
806         to JvGetStringUTFRegion.
807         * java/lang/natDouble.cc (parseDouble): Pass length of string to
808         JvGetStringUTFRegion.
809         * java/lang/natWin32Process.cc (startProcess): Pass length of
810         string to JvGetStringUTFRegion.
811         * java/lang/natClass.cc (forName): Pass length of string to
812         JvGetStringUTFRegion.
813         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
814         of string to JvGetStringUTFRegion.
815         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
816         JvGetStringUTFRegion.
817         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
818         to JvGetStringUTFRegion.
819         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
820         string to JvGetStringUTFRegion.
821
822 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
823
824         * gnu/java/nio/natSelectorImplPosix.cc
825         (helper_put_filedescriptors): Change to static linkage.
826         (helper_get_filedescriptors): Likewise.
827
828 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
829
830         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
831         null check.
832         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
833         * java/awt/Component.java (prepareImage): Likewise.
834
835         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
836         Rename to nativeSetAlignment.
837
838 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
839
840         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
841         (JNI_GetCreatedJavaVMs): Likewise.
842         (JNI_GetDefaultJavaVMInitArgs): Likewise.
843         * include/jni.h (JNIIMPEXP): Remove definition
844         and replace with...
845         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
846         symbols,
847         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
848
849 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
850
851         * Makefile.am: Add GdkPixbufDecoder.java and
852         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
853         * Makefile.in: Regenerate.
854         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
855         New constructor.
856         (startProduction): Create ByteArrayInputStream when url and filename are
857         null.
858         (produce): Declare stream parameter as InputStream.
859         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
860         as InputStream.
861         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
862         (GdkPixbufDecoder(byte[],int,int)): New constructor.
863         (produce): Declare stream parameter as InputStream.
864         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
865         if image is null.  Set image's observer before running PrepareImage
866         thread.  Pass image to startProduction.
867         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
868         source's member functions.
869         (observer): New field.
870         (setObserver): New method.
871         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
872         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
873         new GtkImage.
874         (prepareImage): Implement.
875         * java/awt/Component.java: Add static fields incrementalDraw and
876         redrawRate.
877         (imageUpdate): Implement.
878         (createImage): Call Toolkit's createImage if peer is null.
879         (prepareImage): Throw NPE if image is null.
880         * java/awt/MediaTracker.java: Fix return value.
881
882 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
883
884         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
885         (create(String, float)): New method.
886         (setText): Make native.
887         (nativeSetAlignment): New method.
888         (setAlignment): Call nativeSetAlignment.
889         (getArgs): Remove method.
890         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
891         (find_fg_color_widget, find_bg_color_widget): New functions.
892         (gtkWidgetSetForeground): Call find_fg_color_widget.
893         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
894         prelight colors.
895         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
896         widget in event box.
897         (setText, setAlignment): Implement new native methods.
898
899 2003-11-11  Michael Koch  <konqueror@gmx.de>
900
901         * java/awt/Font.java,
902         java/awt/datatransfer/DataFlavor.java,
903         java/math/BigInteger.java,
904         java/net/Inet4Address.java,
905         java/net/Inet6Address.java,
906         java/rmi/MarshalledObject.java,
907         java/rmi/server/RMIClassLoader.java,
908         java/security/cert/CertStore.java,
909         java/sql/Timestamp.java,
910         java/text/SimpleDateFormat.java,
911         javax/naming/CompoundName.java:
912         Removed some redundant obj == null checks.
913
914 2003-11-11  Michael Koch  <konqueror@gmx.de>
915
916         * java/nio/ByteBuffer.java
917         (equals): Remove redundant obj == null check.
918
919 2003-11-11  Michael Koch  <konqueror@gmx.de>
920
921         * gnu/java/nio/natPipeImpl.cc,
922         gnu/java/nio/natSelectorImpl.cc: Removed
923         * gnu/java/nio/natPipeImplEcos.cc,
924         gnu/java/nio/natPipeImplPosix.cc,
925         gnu/java/nio/natPipeImplWin32.cc,
926         gnu/java/nio/natSelectorImplEcos.cc,
927         gnu/java/nio/natSelectorImplPosix.cc,
928         gnu/java/nio/natSelectorImplWin32.cc: New files
929         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
930         gnu/java/nio/natSelectorImpl.cc
931         * configure: Regenerated.
932
933 2003-11-11  Micheal Koch  <konqueror@gmx.de>
934
935         * java/net/URLStreamHandler.java (toExternalForm): Print port only
936         if host is printed too and port was really given to URL.
937
938 2003-11-10  Gary Benson  <gbenson@redhat.com>
939
940         * java/sql/Timestamp.java (valueOf): Correctly handle
941         nanoseconds.
942
943 2003-11-09  Tom Tromey  <tromey@redhat.com>
944
945         * java/net/Inet4Address.java (serialVersionUID): Updated.
946
947 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
948
949         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
950         New fields.
951
952 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
953
954         * java/io/ByteArrayOutputStream.java (resize):
955         Fix off-by-one error.
956
957 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
958
959         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
960         public.
961
962 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
963
964         PR libgcj/12231
965         * java/lang/Win32Process.java (hasExited) Changed from
966         public to private.
967         (startProcess): Likewise.
968         (cleanup): Likewise.
969         * java/lang/natWin32Process.cc (cleanup) Don't close
970         input, output and error streams.
971         (ChildProcessPipe): New helper class.
972         (startProcess): Refactored to use ChildProcessPipe.
973         Use CREATE_NO_WINDOW when launching child process.
974
975 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
976
977         * include/win32.h (_Jv_platform_close_on_exec): Changed
978         signature and declared extern.
979         * win32.cc (_Jv_platform_close_on_exec): Implemented.
980         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
981         (create): Use new signature of _Jv_platform_close_on_exec.
982         * gnu/java/net/natPlainSocketImplWin32.cc 
983         (create): Eliminated a few typecasts
984         Use new signature of _Jv_platform_close_on_exec.
985         (accept): Eliminated a few typecasts
986         Use new signature of _Jv_platform_close_on_exec.
987         * java/io/natFileDescriptorWin32.cc (open): Use
988         _Jv_platform_close_on_exec.
989
990 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
991
992         * java/lang/natClass.cc (newInstance): Throw InstantiationException
993         if class has no null-argument constructor.
994
995 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
996
997         PR libgcj/12647:
998         * win32-threads.cc (_Jv_CondWait): Respect mutex's
999         refcount when releasing and reacquiring it.
1000
1001 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1002
1003         * win32.cc: (dirExists) Internal helper function to
1004         test for directory existence.
1005         (getUserHome) New helper function refactored out
1006         of _Jv_platform_initProperties. Uses USERPROFILE
1007         instead of HOMEDIR and attempts to support Win9X and NT.
1008         (_Jv_platform_initProperties) Use getUserHome.
1009
1010 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1011
1012         PR libgcj/11521:
1013         * gnu/java/net/natPlainSocketImplWin32.cc
1014         (bind): Don't use SO_REUSEADDR
1015
1016 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1017
1018         PR libgcj/6652:
1019         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
1020
1021 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
1022
1023         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
1024         dispatch for final methods.
1025
1026 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1027
1028         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
1029         word wrapping.
1030
1031 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1032
1033         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
1034         scrolled window's size request.
1035
1036 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1037
1038         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
1039         * java/awt/geom/QuadCurve2D.java: Likewise.
1040
1041 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1042
1043         * java/awt/geom/CubicCurve2D.java: Added documentation.
1044         * java/awt/geom/QuadCurve2D.java: Likewise.
1045
1046         * java/awt/geom/doc-files/QuadCurve2D-4.png,
1047         java/awt/geom/doc-files/QuadCurve2D-5.png,
1048         java/awt/geom/doc-files/CubicCurve2D-4.png,
1049         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
1050
1051 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1052
1053         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
1054         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
1055         (subdivide(double[],int,double[],int,double[],int)): Implement.
1056
1057 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1058
1059         * java/awt/geom/doc-files/CubicCurve2D-1.png,
1060         java/awt/geom/doc-files/CubicCurve2D-2.png,
1061         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
1062
1063 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
1064
1065         * java/text/DecimalFormat.java
1066         (scanFormat) corrected so that '%' may appear in a pattern.
1067
1068 2003-10-29  Mark Wielaard  <mark@klomp.org>
1069
1070         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1071         * java/text/DateFormat.java (Field): New public static inner class.
1072         * java/text/Format.java (Field): Likewise.
1073         (formatToCharacterIterator): New method.
1074         * java/text/FormatCharacterIterator.java: New file.
1075
1076 2003-10-29  Mark Wielaard  <mark@klomp.org>
1077
1078         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1079         * java/util/Currency.java: New file.
1080
1081 2003-10-29  Michael Koch  <konqueror@gmx.de>
1082
1083         * Makefile.am (ordinary_java_source_files): Added
1084         java/text/FormatCharacterIterator.java and java/util/Currency.java.
1085         * Makefile.in: Regenerated.
1086
1087 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
1088
1089         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
1090         static methods.
1091
1092 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
1093
1094         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
1095         getObjectInstance() with Object, Name, Context and environment
1096         Hashtable from exception. Call fillInStackTrace() on exception when
1097         rethrown.
1098         * javax/naming/InitialContext.java (lookup(Name)): When a
1099         CannotProceedException is thrown use the ContinuationContext.
1100         (lookup(String)): Likewise.
1101         (close): Clear myProps and defaultInitCtx.
1102
1103 2003-10-29  Michael Koch  <konqueror@gmx.de>
1104
1105         * java/net/InetAddress.java
1106         (equals): Remove redundant obj == null check.
1107         * java/net/SocketPermission.java
1108         (equals): Likewise.
1109         * java/net/URL.java
1110         (equals): Likewise.
1111         (getURLStreamHandler): Likewise.
1112
1113 2003-10-29  Michael Koch  <konqueror@gmx.de>
1114
1115         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1116         (setOption): Directly return if no error occured.
1117         * gnu/java/net/natPlainSocketImplPosix.cc
1118         (setOption): Likewise.
1119
1120 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1121
1122         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
1123         vtable slot for final methods. Add FIXME comment.
1124
1125 2003-10-28  David S. Miller  <davem@redhat.com>
1126
1127         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
1128
1129 2003-10-26  Mark Wielaard  <mark@klomp.org>
1130
1131         Reported by Helmer Kraemer <hkraemer@freenet.de>
1132         * java/util/jar/JarInputStream.java (readManifest): Don't call
1133         closeEntry().
1134
1135         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
1136         (finish): Use inbufWrite().
1137         (write(int)): Likewise.
1138         (write(byte[],int,int)): Likewise.
1139
1140 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1141
1142         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
1143         Don't check for AccessibleObject. Update javadocs.
1144         
1145         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
1146
1147 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1148
1149         * java/lang/reflect/Constructor.java (toString): Avoid extra 
1150         whitespace on constructor with no modifiers.
1151         * java/lang/reflect/natConstructor.java (newInstance): Look up
1152         caller and perform accessibility check only if constructor is
1153         non-public and accessible flag is not set.
1154
1155 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1156
1157         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
1158         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
1159         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
1160         is_virtual_call argument.
1161         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
1162         natClass.cc.
1163         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
1164         _Jv_isVirtualMethod.
1165         * java/lang/reflect/natMethod.cc (invoke): Don't use 
1166         _Jv_LookupDeclaredMethod.
1167         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
1168         look up method in target object's vtable.
1169
1170 2003-10-25  Graydon Hoare  <graydon@redhat.com>
1171
1172         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
1173         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
1174         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1175         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1176         New concrete implementation of ClasspathFontPeer, with native part.
1177         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1178         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
1179         New class, with native part.
1180         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1181         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1182         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
1183
1184 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1185
1186         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
1187         on method with no modifiers.
1188
1189 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1190
1191         PR libgcj/11780:
1192         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
1193         accessibility check only if target is non-public and accessible flag
1194         is not set.
1195         * java/lang/reflect/natField.cc (getAddr): Likewise.
1196
1197 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1198
1199         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
1200         Remove method.
1201         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
1202         New method.
1203         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
1204         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
1205         (dispose): Post WINDOW_CLOSED event.
1206         (addWindowFocusListener, addWindowStateListener): Assign result
1207         of multicaster add back to window listener.
1208         (removeWindowFocusListener, removeWindowStateListener): Assign
1209         result of multicaster remove back to window listener.
1210         (dispatchEventImpl): Add null checks for focus and state
1211         listeners.
1212         (processWindowEvent): Handle case where windowListener is null
1213         but state or focus listeners exist.
1214         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
1215         glue for postWindowEvent.
1216         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1217         (window_delete_cb, window_destroy_cb, window_show_cb,
1218         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
1219         window_get_new_state): New functions.
1220         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
1221         macros.  Declare postWindowEventID.
1222
1223 2003-10-24  Anthony Green  <green@redhat.com>
1224
1225         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
1226         we have no interpreter.
1227
1228 2003-10-22  Andrew Haley  <aph@redhat.com>
1229
1230         * java/lang/natClass.cc (initializeClass): Call
1231         _Jv_linkExceptionClassTable.
1232         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
1233         _Jv_Defer_Resolution on a method whose ncode is NULL.
1234         (_Jv_linkExceptionClassTable): New function.
1235         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
1236         entry, look it up.
1237         * java/lang/Class.h (struct _Jv_CatchClass): New.
1238         (_Jv_linkExceptionClassTable): New friend.
1239         (_Jv_Defer_Resolution): New friend.
1240         (class Class.catch_classes): New field.
1241         * include/java-interp.h (Jv_Defer_Resolution): New method.
1242         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
1243         (_Jv_MethodBase.deferred): New field.
1244         (_Jv_Defer_Resolution): New function.
1245         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
1246         * exception.cc (get_ttype_entry): Change return type to void**.
1247         (PERSONALITY_FUNCTION): Remove all code related to using a
1248         Utf8Const* for a match type.  Change match type to be a pointer to
1249         a pointer, rather than a pointer to a Class.
1250         * defineclass.cc (handleCodeAttribute): Initialize
1251         method->deferred.
1252         (handleMethodsEnd): Likewise.
1253
1254 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1255
1256         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
1257         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
1258
1259 2003-10-22  Tom Tromey  <tromey@redhat.com>
1260
1261         PR libgcj/12416:
1262         * java/lang/Class.h: Updated.
1263         * java/lang/natClass.cc (_getFields): Removed.
1264         (getFields): Likewise.
1265         (getDeclaredFields): Added `public_only' parameter.
1266         * java/lang/Class.java (getFields): Now implemented in java; from
1267         Classpath.
1268         (getDeclaredFields): Likewise.
1269         (getDeclaredFields(boolean)): Declare.
1270         (_getFields): Removed.
1271         (internalGetFields): New method, from Classpath.
1272
1273         PR libgcj/12656:
1274         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
1275         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
1276
1277 2003-10-22  David Daney  <ddaney@avtrex.com)
1278
1279         * include/mips-signal.h: New file.
1280         * sysdep/dwarf2-backtrace.cc: New file.
1281         * sysdep/mips: New directory.
1282         * sysdep/mips/locks.h: New file.
1283         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
1284         added to libgcj.
1285         (extra_cc_source_files): Ditto.
1286         * configure.host(disable_dladdr):  New shell variable passed to
1287         configure.
1288         (mips*-*-linux*): sysdeps_dir=mips,
1289         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
1290         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
1291         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
1292         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
1293         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
1294         (EXTRA_CC_FILES): New, to support conditional addition of
1295         sysdep/dwarf2-backtrace.cc.
1296         * configure: Regenerated.
1297         * Makefile.in: Regenerated.
1298         * gcj/Makefile.in: Regenerated.
1299         * include/config.h.in: Regenerated.
1300         * include/Makefile.in: Regenerated.
1301         * testsuite/Makefile.in: Regenerated.
1302         
1303 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1304
1305         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
1306         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
1307
1308 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1309
1310         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
1311         * java/awt/geom/doc-files: New directory.
1312         * java/awt/geom/doc-files/QuadCurve2D-1.png,
1313         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
1314         
1315 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1316
1317         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
1318
1319 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1320
1321         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
1322
1323 2003-10-22  Michael Koch  <konqueror@gmx.de>
1324
1325         * java/io/File.java
1326         (equals): Removed redundant obj == null check.
1327         (createTempFile): Merged comments from classpath.
1328
1329 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1330
1331         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
1332         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
1333         (error): Synchronize on instance, not class.
1334
1335 2003-10-21  Mark Wielaard  <mark@klomp.org>
1336
1337         Reported by M.Negovanovic
1338         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
1339         method.
1340         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
1341
1342 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1343
1344         Fix for Classpath bug #6076.
1345         * java/awt/geom/GeneralPath.java (append): Re-written.
1346
1347 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1348
1349         Fix for Classpath bug #6089.
1350         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
1351         (getPathIterator, GeneralPathIterator): Re-written from scratch.
1352
1353 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1354
1355         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
1356         point, not start of subpath.  Fixes Classpath bug #6075.
1357
1358 2003-10-21  Michael Koch  <konqueror@gmx.de>
1359
1360         * java/nio/ByteOrder.java,
1361         java/nio/DirectByteBufferImpl.java,
1362         java/nio/channels/FileChannelImpl.java:
1363         Add code to load library with code for native methods if needed.
1364
1365 2003-10-21  Michael Koch  <konqueror@gmx.de>
1366
1367         * gnu/java/net/PlainDatagramSocketImpl.java,
1368         gnu/java/net/PlainSocketImpl.java,
1369         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1370         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1371         gnu/java/net/natPlainSocketImplPosix.cc,
1372         gnu/java/net/natPlainSocketImplWin32.cc:
1373         Renamed fnum to native_fd to match classpath more.
1374
1375 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
1376
1377         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
1378         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
1379         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
1380         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
1381         _Jv_PthreadCheckMonitor.  Simplify code.
1382         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
1383         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
1384         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
1385         * java/lang/Thread.java (holdsLock): New.
1386         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
1387         without JV_HASH_SYNCHRONIZATION.
1388         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
1389
1390 2003-10-20  Michael Koch  <konqueror@gmx.de>
1391
1392         * java/text/RuleBasedCollator.java
1393         (RuleBasedCollator): Check rules not empty, fixed search in already
1394         existing collation elements.
1395         (is_special): Removed common whitespace characters.
1396         (text_argument): Dont return on whitespaces, add characters between
1397         two ' to string buffer.
1398
1399 2003-10-18  Michael Koch  <konqueror@gmx.de>
1400
1401         * gnu/java/net/protocol/file/Connection.java,
1402         gnu/java/net/protocol/file/Handler.java,
1403         gnu/java/net/protocol/http/Connection.java,
1404         gnu/java/net/protocol/http/Handler.java,
1405         gnu/java/net/protocol/jar/Connection.java,
1406         gnu/java/net/protocol/jar/Handler.java:
1407         Merged copyright text from classpath to make
1408         it possible to merge the classes.
1409
1410 2003-10-18  Mark Wielaard  <mark@klomp.org>
1411
1412         Reported by M.Negovanovic
1413         * java/beans/IndexedPropertyDescriptor.java
1414         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
1415
1416 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
1417
1418         * win32.cc (_Jv_pipe): Implemented.
1419         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
1420         _Jv_pipe instead of ::pipe.
1421         * include/posix.h (_Jv_pipe): New inline.
1422         * include/win32.h (_Jv_pipe): New declaration.
1423         
1424 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1425
1426         * java/lang/StringBuffer.java (getChars): Fix array index checks.
1427         (append, substring, insert): Likewise.
1428         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
1429         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
1430         
1431 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1432
1433         * java/lang/natString.cc (getChars):
1434         Fix validation of array indexes.
1435         (getBytes, regionMatches, startsWith, valueOf): Likewise.
1436         * testsuite/libjava.lang/String_overflow.java: New file.
1437         * testsuite/libjava.lang/String_overflow.out: New file.
1438
1439 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1440
1441         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
1442         overflow a jint.
1443         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
1444         check for overflowing size_t, since the lower level functions
1445         take a jint.
1446         * testsuite/libjava.lang/newarray_overflow.java:  New file.
1447         * testsuite/libjava.lang/newarray_overflow.out:  New file.
1448         
1449 2003-10-15  Michael Koch  <konqueror@gmx.de>
1450
1451         * java/text/RuleBasedCollator.java
1452         (RuleBasedCollator): Moved around, documentation added.
1453         (compare): Documentation added.
1454         (equals): Likewise.
1455         (getCollationElementIterator): Likewise.
1456         (getCollationKey): Likewise.
1457         (getRules): Likewise.
1458         (hashCode): Likewise.
1459
1460 2003-10-15  Michael Koch  <konqueror@gmx.de>
1461
1462         * java/text/RuleBasedCollator.java
1463         (CollationElement): Renamed from RBCElement and moved into
1464         RuledBasedCollator as inner class.
1465
1466 2003-10-15  Michael Koch  <konqueror@gmx.de>
1467
1468         * java/text/CollationElementIterator.java
1469         (CollationElementIterator): Moved, documenatation added, call setText.
1470         (next): Reformated.
1471         (reset): Reformated.
1472         (setText): New method.
1473         (getOffset): New method.
1474         * java/text/CollationKey.java
1475         (getSourceString): Reformated.
1476         (hashCode): Reformated.
1477         (toByteArray): Reformated.
1478
1479 2003-10-15  Michael Koch  <konqueror@gmx.de>
1480
1481         * java/util/zip/InflaterInputStream.java
1482         (InflaterInputStream): Renamed infl to inf and bufsize to size,
1483         added description to exception, check for inf == null and size < 0.
1484
1485 2003-10-15  Michael Koch  <konqueror@gmx.de>
1486
1487         * java/text/AttributedCharacterIterator.java,
1488         java/text/CharacterIterator.java: Reformated.
1489
1490 2003-10-15  Michael Koch  <konqueror@gmx.de>
1491
1492         * javax/swing/UIDefaults.java (putDefaults):
1493         Readded accidently removed "public" modifier.
1494
1495 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
1496
1497         * interpret.cc (_Jv_InterpMethod::run): Don't
1498         use libffi types, they were meant to be internal.
1499         * gcj/javaprims.h (_Jv_ulong): New typedef.
1500
1501 2003-10-13  Tom Tromey  <tromey@redhat.com>
1502
1503         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
1504         (defineClass): Updated.
1505         (_Jv_NewClass): Likewise.
1506         * prims.cc (_Jv_InitPrimClass): Don't call
1507         _Jv_InitNewClassFields.
1508
1509 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
1510
1511         PR libgcj/12592
1512         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
1513         not just \n.
1514
1515 2003-10-13  Michael Koch  <konqueror@gmx.de>
1516
1517         * java/io/File.java: Reformated.
1518         (equals): Check for obj == null.
1519
1520 2003-10-13  Michael Koch  <konqueror@gmx.de>
1521
1522         * java/net/JarURLConnection.java
1523         (jarFileURL): Added dcoumentation.
1524         (jarFileURLConnection): Reformated documentation.
1525         (entryName): Renamed from "element", documentation rewritten.
1526         (connectionCache): Renamed from "conn_cache", documentation
1527         reformated.
1528         (JarURLConnection): Check URL protocol.
1529         (getEntryName): Use entryName.
1530         (connect): Use connectionCache.
1531         (getInputStream): Use entryName, fixed comment.
1532         (getJarEntry): Use entryName.
1533         (getHeaders): Use entryName.
1534         * java/net/URLConnection.java
1535         (addRequestProperty): Fixed documentation.
1536         (setDefaultRequestProptery): Added comment that it does nothing since
1537         JDK 1.3.
1538         (getDefaultRequestProperty): Likewise.
1539
1540 2003-10-13  Michael Koch  <konqueror@gmx.de>
1541
1542         * java/net/java/net/URLStreamHandlerFactory.java
1543         (createURLStreamHandler): Removed redundant "public" modifier.
1544         * java/sql/DatabaseMetaData.java:
1545         (DatabaseMetaData):  Readded accidently removed "public" modifier.
1546         * java/sql/ParameterMetaData.java:
1547         (ParameterMetaData): Readded accidently removed "public" modifier.
1548         * java/sql/PreparedStatement.java:
1549         (PreparedStatement): Readded accidently removed "public" modifier.
1550         * java/sql/Ref.java:
1551         (Ref): Readded accidently removed "public" modifier.
1552
1553 2003-10-13  Michael Koch  <konqueror@gmx.de>
1554
1555         * java/nio/Buffer.java
1556         (hasRemaining): Made implementation more clear.
1557         * java/nio/MappedByteBuffer.java
1558         (loaded): New member variable.
1559         (force): Added comment.
1560         (isLoaded): Return value of loaded.
1561         (load): Set loaded to true, added comment.
1562
1563 2003-10-12  Michael Koch  <konqueror@gmx.de>
1564
1565         * gnu/java/nio/PipeImpl.java
1566         (SourceChannelImpl): New inner class.
1567         (SinkChannelImpl): New inner class.
1568         (sink): New member variable.
1569         (source): New member variable.
1570         (PipeImpl): Add SelectorProvider argument, implemented.
1571         (nativeInit): New method.
1572         (sink): Return sink channel.
1573         (source): Return source channel.
1574         * gnu/java/nio/SelectorProviderImpl.java
1575         (openPipe): Give provider as argument to PipeImpl constructor.
1576         * java/nio/channels/spi/SelectorProvider.java
1577         (pr): Removed.
1578         (systemDefaultProvider): New member variable.
1579         (provider): Made it synchronized, use property
1580         java.nio.channels.spi.SelectorProvider.
1581         * gnu/java/nio/natPipeImpl.cc: New file.
1582         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
1583         * Makefile.in: Regenerated.
1584
1585 2003-10-12  Michael Koch  <konqueror@gmx.de>
1586
1587         * javax/swing/table/DefaultTableModel.java,
1588         javax/swing/table/TableCellEditor.java,
1589         javax/swing/table/TableCellRenderer.java,
1590         javax/swing/table/TableColumnModel.java,
1591         javax/swing/table/TableModel.java,
1592         javax/swing/text/AbstractDocument.java,
1593         javax/swing/text/Document.java,
1594         javax/swing/text/MutableAttributeSet.java,
1595         javax/swing/text/StyledDocument.java,
1596         javax/swing/text/ViewFactory.java,
1597         javax/swing/tree/DefaultMutableTreeNode.java,
1598         javax/swing/tree/MutableTreeNode.java,
1599         javax/swing/tree/RowMapper.java,
1600         javax/swing/tree/TreeCellEditor.java,
1601         javax/swing/tree/TreeCellRenderer.java,
1602         javax/swing/tree/TreeModel.java,
1603         javax/swing/tree/TreeNode.java,
1604         javax/swing/tree/TreeSelectionModel.java,
1605         javax/swing/undo/StateEditable.java,
1606         javax/swing/undo/UndoableEdit.java:
1607         Removed redundant modifiers.
1608
1609 2003-10-12  Michael Koch  <konqueror@gmx.de>
1610
1611         * javax/swing/event/AncestorListener.java,
1612         javax/swing/event/CaretListener.java,
1613         javax/swing/event/CellEditorListener.java,
1614         javax/swing/event/ChangeListener.java,
1615         javax/swing/event/DocumentEvent.java,
1616         javax/swing/event/DocumentListener.java,
1617         javax/swing/event/HyperlinkListener.java,
1618         javax/swing/event/InternalFrameListener.java,
1619         javax/swing/event/ListDataListener.java,
1620         javax/swing/event/ListSelectionListener.java,
1621         javax/swing/event/MenuDragMouseListener.java,
1622         javax/swing/event/MenuKeyListener.java,
1623         javax/swing/event/MenuListener.java,
1624         javax/swing/event/MouseInputListener.java,
1625         javax/swing/event/PopupMenuListener.java,
1626         javax/swing/event/TableColumnModelListener.java,
1627         javax/swing/event/TableModelListener.java,
1628         javax/swing/event/TreeExpansionListener.java,
1629         javax/swing/event/TreeModelListener.java,
1630         javax/swing/event/TreeSelectionListener.java,
1631         javax/swing/event/TreeWillExpandListener.java,
1632         javax/swing/event/UndoableEditListener.java,
1633         javax/swing/plaf/UIResource.java,
1634         javax/swing/plaf/metal/MetalLookAndFeel.java:
1635         Removed redundant modifiers.
1636
1637 2003-10-12  Michael Koch  <konqueror@gmx.de>
1638
1639         * javax/swing/Action.java,
1640         javax/swing/BoundedRangeModel.java,
1641         javax/swing/CellEditor.java,
1642         javax/swing/ComboBoxEditor.java,
1643         javax/swing/ComboBoxModel.java,
1644         javax/swing/DesktopManager.java,
1645         javax/swing/JComboBox.java,
1646         javax/swing/ListCellRenderer.java,
1647         javax/swing/ListSelectionModel.java,
1648         javax/swing/MenuElement.java,
1649         javax/swing/MutableComboBoxModel.java,
1650         javax/swing/Renderer.java,
1651         javax/swing/RootPaneContainer.java,
1652         javax/swing/ScrollPaneConstants.java,
1653         javax/swing/SingleSelectionModel.java,
1654         javax/swing/SpinnerModel.java,
1655         javax/swing/SwingConstants.java,
1656         javax/swing/UIDefaults.java,
1657         javax/swing/WindowConstants.java,
1658         javax/swing/border/Border.java,
1659         javax/swing/colorchooser/ColorSelectionModel.java:
1660         Removed redundant modifiers.
1661
1662 2003-10-11  Michael Koch  <konqueror@gmx.de>
1663
1664         * javax/transaction/Status.java,
1665         javax/transaction/Synchronization.java,
1666         javax/transaction/Transaction.java,
1667         javax/transaction/TransactionManager.java,
1668         javax/transaction/UserTransaction.java,
1669         javax/transaction/xa/XAResource.java,
1670         javax/transaction/xa/Xid.java:
1671         Removing redundant modifiers.
1672
1673 2003-10-11  Michael Koch  <konqueror@gmx.de>
1674
1675         * javax/print/attribute/Attribute.java,
1676         javax/print/attribute/AttributeSet.java,
1677         javax/print/attribute/PrintRequestAttributeSet.java:
1678         Removing redundant modifiers.
1679
1680 2003-10-11  Michael Koch  <konqueror@gmx.de>
1681
1682         * javax/sql/ConnectionEventListener.java,
1683         javax/sql/ConnectionPoolDataSource.java,
1684         javax/sql/DataSource.java,
1685         javax/sql/PooledConnection.java,
1686         javax/sql/RowSet.java,
1687         javax/sql/RowSetInternal.java,
1688         javax/sql/RowSetListener.java,
1689         javax/sql/RowSetMetaData.java,
1690         javax/sql/RowSetReader.java,
1691         javax/sql/RowSetWriter.java,
1692         javax/sql/XAConnection.java,
1693         javax/sql/XADataSource.java:
1694         Removing redundant modifiers.
1695
1696 2003-10-11  Michael Koch  <konqueror@gmx.de>
1697
1698         * javax/naming/Context.java,
1699         javax/naming/Name.java,
1700         javax/naming/NameParser.java,
1701         javax/naming/NamingEnumeration.java,
1702         javax/naming/Referenceable.java,
1703         javax/naming/directory/Attribute.java,
1704         javax/naming/directory/Attributes.java,
1705         javax/naming/directory/DirContext.java,
1706         javax/naming/event/EventContext.java,
1707         javax/naming/event/EventDirContext.java,
1708         javax/naming/event/NamespaceChangeListener.java,
1709         javax/naming/event/NamingListener.java,
1710         javax/naming/event/ObjectChangeListener.java,
1711         javax/naming/ldap/Control.java,
1712         javax/naming/ldap/ExtendedRequest.java,
1713         javax/naming/ldap/ExtendedResponse.java,
1714         javax/naming/ldap/HasControls.java,
1715         javax/naming/ldap/LdapContext.java,
1716         javax/naming/ldap/UnsolicitedNotification.java,
1717         javax/naming/ldap/UnsolicitedNotificationListener.java,
1718         javax/naming/spi/DirObjectFactory.java,
1719         javax/naming/spi/DirStateFactory.java,
1720         javax/naming/spi/InitialContextFactory.java,
1721         javax/naming/spi/InitialContextFactoryBuilder.java,
1722         javax/naming/spi/ObjectFactory.java,
1723         javax/naming/spi/ObjectFactoryBuilder.java,
1724         javax/naming/spi/Resolver.java,
1725         javax/naming/spi/StateFactory.java:
1726         Removing redundant modifiers.
1727
1728 2003-10-11  Michael Koch  <konqueror@gmx.de>
1729
1730         * java/security/Key.java,
1731         * java/security/PrivateKey.java,
1732         * java/security/PublicKey.java,
1733         * java/security/acl/Acl.java,
1734         * java/security/acl/AclEntry.java,
1735         * java/security/acl/Group.java,
1736         * java/security/acl/Owner.java,
1737         * java/security/acl/Permission.java,
1738         * java/security/cert/X509Extension.java,
1739         * java/security/interfaces/DSAKey.java,
1740         * java/security/interfaces/DSAKeyPairGenerator.java,
1741         * java/security/interfaces/DSAParams.java,
1742         * java/security/interfaces/DSAPrivateKey.java,
1743         * java/security/interfaces/DSAPublicKey.java,
1744         * java/security/interfaces/RSAKey.java,
1745         * java/security/interfaces/RSAPrivateCrtKey.java,
1746         * java/security/interfaces/RSAPrivateKey.java,
1747         * java/security/interfaces/RSAPublicKey.java:
1748         Removed redundant modifiers.
1749
1750 2003-10-11  Michael Koch  <konqueror@gmx.de>
1751
1752         * gnu/java/rmi/server/ProtocolConstants.java,
1753         gnu/java/security/der/DER.java:
1754         Removing redundant modifiers.
1755
1756 2003-10-11  Michael Koch  <konqueror@gmx.de>
1757
1758         * java/util/Map.java,
1759         java/util/Observer.java,
1760         java/util/zip/Checksum.java,
1761         java/util/zip/ZipConstants.java:
1762         Removed redundant modifiers.
1763
1764 2003-10-11  Michael Koch  <konqueror@gmx.de>
1765
1766         * java/text/AttributedCharacterIterator.java,
1767         java/text/CharacterIterator.java:
1768         Removed redundant modifiers.
1769
1770 2003-10-11  Michael Koch  <konqueror@gmx.de>
1771
1772         * java/sql/Array.java,
1773         java/sql/Blob.java,
1774         java/sql/CallableStatement.java,
1775         java/sql/Clob.java,
1776         java/sql/Connection.java,
1777         java/sql/DatabaseMetaData.java,
1778         java/sql/Driver.java,
1779         java/sql/ParameterMetaData.java,
1780         java/sql/PreparedStatement.java,
1781         java/sql/Ref.java,
1782         java/sql/ResultSet.java,
1783         java/sql/ResultSetMetaData.java,
1784         java/sql/SQLData.java,
1785         java/sql/SQLInput.java,
1786         java/sql/SQLOutput.java,
1787         java/sql/Savepoint.java,
1788         java/sql/Statement.java,
1789         java/sql/Struct.java:
1790         Removed redundant modifiers.
1791
1792 2003-10-11  Michael Koch  <konqueror@gmx.de>
1793
1794         * java/nio/channels/Channel.java,
1795         java/nio/channels/GatheringByteChannel.java,
1796         java/nio/channels/ReadableByteChannel.java,
1797         java/nio/channels/ScatteringByteChannel.java,
1798         java/nio/channels/WritableByteChannel.java:
1799         Removed redundant modifiers.
1800
1801 2003-10-11  Michael Koch  <konqueror@gmx.de>
1802
1803         * java/rmi/activation/ActivationInstantiator.java,
1804         java/rmi/activation/ActivationMonitor.java,
1805         java/rmi/activation/ActivationSystem.java,
1806         java/rmi/activation/Activator.java,
1807         java/rmi/dgc/DGC.java,
1808         java/rmi/registry/Registry.java,
1809         java/rmi/registry/RegistryHandler.java,
1810         java/rmi/server/LoaderHandler.java,
1811         java/rmi/server/RMIClientSocketFactory.java,
1812         java/rmi/server/RMIFailureHandler.java,
1813         java/rmi/server/RMIServerSocketFactory.java,
1814         java/rmi/server/RemoteCall.java,
1815         java/rmi/server/RemoteRef.java,
1816         java/rmi/server/ServerRef.java,
1817         java/rmi/server/Skeleton.java,
1818         java/rmi/server/Unreferenced.java:
1819         Removed redundant modifiers.
1820
1821 2003-10-11  Michael Koch  <konqueror@gmx.de>
1822
1823         * java/net/ContentHandlerFactory.java,
1824         java/net/DatagramSocketImplFactory.java,
1825         java/net/FileNameMap.java,
1826         java/net/SocketImplFactory.java,
1827         java/net/SocketOptions.java,
1828         java/net/URLStreamHandlerFactory.java:
1829         Removed redundant modifiers.
1830
1831 2003-10-11  Michael Koch  <konqueror@gmx.de>
1832
1833         * java/io/Externalizable.java,
1834         java/io/FileFilter.java,
1835         java/io/FilePermission.java,
1836         java/io/ObjectInput.java,
1837         java/io/ObjectInputValidation.java,
1838         java/io/ObjectOutput.java,
1839         java/io/ObjectStreamClass.java,
1840         java/io/ObjectStreamConstants.java,
1841         java/io/Serializable.java:
1842         Removed redundant modifiers.
1843
1844 2003-10-11  Ingo Proetel  <proetel@aicas.com>
1845
1846         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
1847         codebase and context classloader.
1848
1849 2003-10-11  Michael Koch  <konqueror@gmx.de>
1850
1851         * java/beans/beancontext/BeanContext.java,
1852         java/beans/beancontext/BeanContextChild.java,
1853         java/beans/beancontext/BeanContextChildComponentProxy.java,
1854         java/beans/beancontext/BeanContextChildSupport.java,
1855         java/beans/beancontext/BeanContextContainerProxy.java,
1856         java/beans/beancontext/BeanContextMembershipListener.java,
1857         java/beans/beancontext/BeanContextProxy.java,
1858         java/beans/beancontext/BeanContextServiceProvider.java,
1859         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
1860         java/beans/beancontext/BeanContextServiceRevokedListener.java,
1861         java/beans/beancontext/BeanContextServices.java,
1862         java/beans/beancontext/BeanContextServicesListener.java:
1863         Removed redundant modifiers.
1864
1865 2003-10-11  Michael Koch  <konqueror@gmx.de>
1866
1867         * java/beans/AppletInitializer.java,
1868         java/beans/BeanInfo.java,
1869         java/beans/Customizer.java,
1870         java/beans/DesignMode.java,
1871         java/beans/PropertyEditor.java,
1872         java/beans/Visibility.java:
1873         Removed redundant modifiers.
1874
1875 2003-10-11  Michael Koch  <konqueror@gmx.de>
1876
1877         * java/awt/print/Pageable.java,
1878         * java/awt/print/Printable.java,
1879         java/awt/print/PrinterGraphics.java:
1880         Removed redundant modifiers.
1881
1882 2003-10-11  Michael Koch  <konqueror@gmx.de>
1883
1884         * java/awt/peer/ButtonPeer.java,
1885         java/awt/peer/CheckboxMenuItemPeer.java,
1886         java/awt/peer/CheckboxPeer.java,
1887         java/awt/peer/ChoicePeer.java,
1888         java/awt/peer/ComponentPeer.java,
1889         java/awt/peer/ContainerPeer.java,
1890         java/awt/peer/DialogPeer.java,
1891         java/awt/peer/FileDialogPeer.java,
1892         java/awt/peer/FramePeer.java,
1893         java/awt/peer/LabelPeer.java,
1894         java/awt/peer/ListPeer.java,
1895         java/awt/peer/MenuBarPeer.java,
1896         java/awt/peer/MenuComponentPeer.java,
1897         java/awt/peer/MenuItemPeer.java,
1898         java/awt/peer/MenuPeer.java,
1899         java/awt/peer/PopupMenuPeer.java,
1900         java/awt/peer/RobotPeer.java,
1901         java/awt/peer/ScrollPanePeer.java,
1902         java/awt/peer/ScrollbarPeer.java,
1903         java/awt/peer/TextAreaPeer.java,
1904         java/awt/peer/TextComponentPeer.java,
1905         java/awt/peer/TextFieldPeer.java,
1906         java/awt/peer/WindowPeer.java:
1907         Removed redundant modifiers.
1908
1909 2003-10-11  Michael Koch  <konqueror@gmx.de>
1910
1911         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
1912         * gnu/java/nio/ServerSocketChannelImpl.java
1913         (serverSocket): Made it a NIOServerSocket.
1914         (impl): Removed.
1915         (ServerSocketChannelImpl): Initialize only serverSocket.
1916         (initServerSocket): Removed.
1917         (getNativeFD): Rewritten.
1918         (implConfigureBlocking): Set socket timeout and removed comment.
1919         (accept): Rewritten.
1920         * gnu/java/nio/SocketChannelImpl.java
1921         (impl): New variable.
1922         (connected): Removed.
1923         (SocketChannelImpl): Initialize impl too.
1924         (getImpl): New method.
1925         (isConnected): Rewritten.
1926         (read): Rewritten, set position in buffer correctly.
1927         (write): Set position in buffer correctly.
1928         * java/net/ServerSocket.java (getImpl): New method.
1929         * gnu/java/nio/NIOServerSocket.java,
1930         gnu/java/nio/natNIOServerSocket.cc: New files.
1931         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
1932         * Makefile.am
1933         (ordinary_java_source_files):
1934         Added gnu/java/nio/NIOServerSocket.java.
1935         (nat_source_files):
1936         Removed gnu/java/nio/natServerSocketChannelImpl.cc
1937         and added gnu/java/nio/natNIOServerSocket.cc.
1938         * Makefile.in: Regenerated.
1939
1940 2003-10-11  Michael Koch  <konqueror@gmx.de>
1941
1942         * java/awt/ActiveEvent.java,
1943         java/awt/datatransfer/ClipboardOwner.java,
1944         java/awt/datatransfer/FlavorMap.java,
1945         java/awt/datatransfer/Transferable.java,
1946         java/awt/dnd/Autoscroll.java,
1947         java/awt/dnd/peer/DragSourceContextPeer.java,
1948         java/awt/dnd/peer/DropTargetContextPeer.java,
1949         java/awt/dnd/peer/DropTargetPeer.java,
1950         java/awt/font/MultipleMaster.java,
1951         java/awt/font/OpenType.java,
1952         java/awt/im/spi/InputMethodDescriptor.java,
1953         java/awt/image/ImageObserver.java,
1954         java/awt/image/ImageConsumer.java,
1955         java/awt/image/ImageProducer.java,
1956         java/awt/image/RGBImageFilter.java,
1957         java/awt/image/RasterOp.java,
1958         java/awt/image/renderable/RenderableImage.java:
1959         Removed redundant modifiers.
1960
1961 2003-10-11  Michael Koch  <konqueror@gmx.de>
1962
1963         * gnu/awt/j2d/DirectRasterGraphics.java,
1964         gnu/java/awt/EmbeddedWindowSupport.java:
1965         Removed redundant modifiers.
1966
1967 2003-10-09  Michael Koch  <konqueror@gmx.de>
1968
1969         * gnu/java/nio/SelectorImpl.java (register):
1970         Use ServerSocketChannelSelectionKey for server socket channels,
1971         removed unneeded comments.
1972         * gnu/java/nio/ServerSocketChannelImpl.java
1973         (ServerSocketChannelImpl): Made class public final.
1974         (impl): New member variable.
1975         (ServerSocketChannelImpl): Initialize member variables correctly.
1976         (initServerSocket): New method.
1977         (getNativeFD): Likewise.
1978         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
1979         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
1980         * Makefile.am (ordinary_java_source_files):
1981         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
1982         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
1983         * Makefile.in: Regenrated.
1984
1985 2003-10-09  Michael Koch  <konqueror@gmx.de>
1986
1987         * java/nio/channels/spi/AbstractSelectableChannel.java
1988         (registered): Made private.
1989         (blocking): Likewise.
1990         (LOCK): Likewise.
1991         (provider): Likewise.
1992         (keys): Made it a private LinkedList.
1993         (AbstractSelectableChannel): Initialize keys.
1994         (isRegistered): New implementation.
1995         (locate): Rewritten.
1996         (register): Rewritten.
1997         * java/nio/channels/spi/AbstractSelectionKey.java
1998         (ok): Removed.
1999         (cancelled): New member variable.
2000         (cancel): Rewritten.
2001         (isValid): Rewritten.
2002         * java/nio/channels/spi/AbstractSelector.java:
2003         Some methods moved.
2004         (closed): Make private.
2005         (provider): Likewise.
2006         (cancelledKeys): New member variable.
2007         (AbstractSelector): Initialize cancelledKeys.
2008         (cancelKey): New method.
2009
2010 2003-10-09  Tom Tromey  <tromey@redhat.com>
2011
2012         * java/lang/ClassLoader.java (setSigners): Implemented.
2013         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
2014         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
2015         Initialize new fields.
2016         * java/lang/Class.java (getSigners): Now native.
2017         (setSigners): Declare.
2018         * java/lang/natClass.cc (getSigners): New method.
2019         (getSigners): Likewise.
2020         * java/lang/Class.h (Class::signers): New field.
2021         (Class::setSigners): New method.
2022
2023 2003-10-09  Michael Koch  <konqueror@gmx.de>
2024
2025         * java/rmi/server/RMIClassLoader.java:
2026         Removed unused imports, little reformatings.
2027         (getClassLoader): New method, implementation was part of old loadCLass
2028         method.
2029         (loadClass): Simplified by moving functionality to new method and
2030         reworking the code a bit.
2031         (getClassAnnotation): Merged documentation from classpath.
2032
2033 2003-10-09  Michael Koch  <konqueror@gmx.de>
2034
2035         * java/math/BigInteger.java
2036         (add): Removed unused local variable len.
2037
2038 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2039
2040         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
2041         modality check.
2042         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2043         Initialize insets to use latest insets.
2044         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
2045         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
2046         field.
2047         (postConfigureEvent): Update latestInsets field when insets
2048         change.  Remove call to setSize.  Move validate call outside of
2049         if blocks.
2050         (setVisible): Call setBounds before showing window.
2051         (nativeSetVisible): New native method.
2052         * java/awt/Window.java (show): Show visible owned windows.
2053         (hide): Hide visible owned windows.
2054         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2055         (awt_event_handler): Implement modality using GTK grabs.
2056         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2057         (global_gtk_window_group): New global variable.
2058         (gtkInit): Initialize global_gtk_window_group.
2059         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2060         Clamp width and height values to at least 1.  Add this window to
2061         the global GTK window group.
2062         (setVisible): Rename to nativeSetVisible.
2063         (setup_window): Remove function.
2064         (setSize): Clamp width and height values to at least 1.
2065         (nativeSetBounds): Likewise.
2066         (gdk_window_get_root_geometry): Remove function.
2067         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
2068         and setup_window declarations.  Declare global_gtk_window_group.
2069
2070         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2071         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2072         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2073         (gtkWidgetSetForeground): New method.
2074         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2075         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2076         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
2077         (setBackground, setForeground): Implement.
2078         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2079         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2080         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2081         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2082         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2083         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2084         Position PangoLayout relative to text's baseline.
2085         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
2086
2087         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
2088         for CENTER and RIGHT alignments.
2089
2090 2003-10-08  Michael Koch  <konqueror@gmx.de>
2091
2092         * java/security/Security.java: Reformated.
2093
2094 2003-10-08  Michael Koch  <konqueror@gmx.de>
2095
2096         * java/text/SimpleDateFormat.java
2097         (compileFormat): Replace Character.isLetter() test with
2098         Character.isLowerCase() || Character.isUpperCase().
2099
2100 2003-10-08  Tom Tromey  <tromey@redhat.com>
2101
2102         * java/lang/StrictMath.java (toDegrees): Multiply before
2103         dividing.
2104         (toRadians): Likewise.
2105
2106 2003-10-08  C. Brian Jones  <cbj@gnu.org>
2107
2108         * java/lang/Math.java
2109         (toRadians): multiply before dividing to reduce decimal error
2110         (toDegrees): ditto
2111
2112 2003-10-08  Michael Koch  <konqueror@gmx.de>
2113
2114         * gnu/gcj/protocol/core/Connection.java,
2115         gnu/gcj/protocol/core/CoreInputStream.java,
2116         gnu/gcj/protocol/core/Handler.java,
2117         gnu/gcj/protocol/core/natCoreInputStream.cc,
2118         gnu/gcj/protocol/file/Connection.java,
2119         gnu/gcj/protocol/file/Handler.java,
2120         gnu/gcj/protocol/gcjlib/Connection.java,
2121         gnu/gcj/protocol/gcjlib/Handler.java,
2122         gnu/gcj/protocol/http/Connection.java,
2123         gnu/gcj/protocol/http/Handler.java,
2124         gnu/gcj/protocol/jar/Connection.java,
2125         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
2126         * gnu/java/net/protocol/core/Connection.java,
2127         gnu/java/net/protocol/core/CoreInputStream.java,
2128         gnu/java/net/protocol/core/Handler.java,
2129         gnu/java/net/protocol/core/natCoreInputStream.cc,
2130         gnu/java/net/protocol/file/Connection.java,
2131         gnu/java/net/protocol/file/Handler.java,
2132         gnu/java/net/protocol/gcjlib/Connection.java,
2133         gnu/java/net/protocol/gcjlib/Handler.java,
2134         gnu/java/net/protocol/http/Connection.java,
2135         gnu/java/net/protocol/http/Handler.java,
2136         gnu/java/net/protocol/jar/Connection.java,
2137         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
2138         * gnu/gcj/runtime/FirstThread.java,
2139         java/net/URL.java: Use moved protocol handlers.
2140         * Makefile.am
2141         (ordinary_java_source_files): Moved files.
2142         (nat_source_files): Likewise.
2143         * Makefile.in: Regenerated.
2144
2145 2003-10-08  Michael Koch  <konqueror@gmx.de>
2146
2147         * gnu/java/nio/SocketChannelImpl.java
2148         (read): Write only read data to buffer.
2149
2150 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2151
2152         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
2153         out.
2154         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
2155         (JCL_free): Attach "unused" attribute to env parameter.
2156         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
2157         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
2158         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2159         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
2160         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2161         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2162         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
2163         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
2164         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
2165         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2166         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
2167         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2168         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
2169         parameters.
2170         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
2171         (initNativeState): Pass 0 as info argument to
2172         gtk_selection_add_target.
2173         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2174         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
2175         unused method implementations.
2176         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2177         (awt_event_handler): Add break statement after default label.
2178         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
2179         (drawPixels): Remove unused variable i.
2180         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2181         (setEnabled): Remove method implementation.
2182         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2183         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
2184         argument.
2185         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
2186         unused function.
2187         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
2188         (menu_pos): Assign TRUE to push_in.
2189         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
2190         argument.
2191         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
2192         (create): Remove unused variable layout.
2193         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2194         Pass window_widget, rather than window, to
2195         gtk_widget_set_size_request.
2196         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
2197         structure initialization with NULL values.
2198         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
2199
2200 2003-10-08  Michael Koch  <konqueror@gmx.de>
2201
2202         * java/util/LinkedList.java:
2203         Removed whitespace to match classpath's version again.
2204
2205 2003-10-08  Michael Koch  <konqueror@gmx.de>
2206
2207         * java/util/prefs/Preferences.java
2208         (defaultFactoryClass): Fixed class name.
2209         (getFactory): Create instance of class returned by Class.forName(),
2210         reformated code.
2211
2212 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
2213
2214         * javax/swing/table/AbstractTableModel.java
2215         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
2216         helped stop pulling my hair on this +1 then -1 tricky thing!
2217
2218 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2219
2220         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
2221         Remove unused parameters.
2222         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
2223         Likewise.
2224         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2225         (keyevent_state_to_awt_mods): Export function.
2226         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2227         (getCaretPosition): Fix TextArea case.
2228         (textcomponent_commit_cb): Get exact event time and modifier
2229         state.
2230         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
2231
2232 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
2233
2234         * java/net/InetSocketAddress.java
2235         (InetSocketAddress): Made exception more clear.
2236         (equals): Handle case when addr is null.
2237         (toString): Likewise.
2238         * java/net/NetworkInterface.java
2239         (static): Load native library.
2240         (getNetworkInterfaces): Rewritten.
2241
2242 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
2243
2244         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
2245         field.
2246         (initializeInsets): New method.
2247         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
2248         setBounds unconditionally.
2249         (setBounds): Convert coordinates if parent is a Window.
2250         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
2251         field to GtkComponentPeer.
2252         (GtkContainerPeer): Don't initialize insets.
2253         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2254         New method.
2255         (create): Call new GtkWindowPeer create method.
2256         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
2257         New method.
2258         (create): Call new GtkWindowPeer create method.
2259         (setBounds): Remove method.
2260         (postConfigureEvent): Likewise.
2261         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
2262         type constants with GDK window type constants.
2263         (create(int,boolean,int,int,GtkWindowPeer)): New method.
2264         (create(int,boolean)): Likewise.
2265         (create()): Call create(int,boolean).
2266         (nativeSetBounds): New native method declaration.
2267         (setBounds): Call native method declaration.
2268         (setSize): New native method declaration.
2269         (setBoundsCallback): Likewise.
2270         (postConfigureEvent): Handle change in insets.  Call setSize and
2271         setBoundsCallback methods.
2272         * java/awt/Window.java (Window): Set visible to false.
2273         (setBoundsCallback): New method.
2274         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2275         (gtkWidgetGetLocationOnScreen): If this component is not a
2276         container, adjust the location returned based on the peer's
2277         allocation.
2278         (set(String,boolean)): Revert change from 2003-09-19.
2279         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2280         (awt_event_handler): Fix inset calculation.
2281         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2282         glue for Window.setBoundsCallback.
2283         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2284         Set up stacking order, window decorations and window manager
2285         hints.
2286         (setBoundsCallback): New method.
2287         (setSize): New method.
2288         (nativeSetBounds): New method.
2289         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
2290
2291 2003-10-02  Tom Tromey  <tromey@redhat.com>
2292
2293         * java/lang/VMClassLoader.java (loadClass): Now native.
2294         * java/lang/natClassLoader.cc (loadClass): Implement.
2295         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
2296
2297 2003-10-02  Michael Koch  <konqueror@gmx.de>
2298
2299         * java/net/InetAddress.java
2300         (zeros): Removed.
2301         (ANY_IF): Initalizie in static block.
2302         (static): Load library with native methods here and initialize ANY_IF.
2303         (isAnyLocalAddress): Check if equal to ANY_IF.
2304         (equals): Use addr directly instead of addr1. Simplify for loop.
2305         (toString): Rename "result" to "host" and add IP address allways.
2306         (getLocalHost): Merged documentation from classpath.
2307         * java/net/ServerSocket.java
2308         (ServerSocket): New package-private constructor used by java.nio.
2309         * java/net/URLConnection.java
2310         (getRequestProperties): Check if already connected.
2311
2312 2003-10-02  Michael Koch  <konqueror@gmx.de>
2313
2314         * java/nio/ByteBufferHelper.java:
2315         Rewrote all methods by suggestions from Eric Blake.
2316
2317 2003-10-02  Michael Koch  <konqueror@gmx.de>
2318
2319         * java/net/URL.java
2320         (DEFAULT_SEARCH_PATH): New static variable.
2321         (ph_cache): Made it a HashMap.
2322         (getURLStreamHandler): Rename propVal to ph_search_path and use
2323         DEFAULT_SEARCH_PATH.
2324
2325 2003-10-02  Michael Koch  <konqueror@gmx.de>
2326
2327         * javax/swing/table/AbstractTableModel.java
2328         (findColumnName): Prevent from NullPointerException if argument
2329         columnName is null.
2330
2331 2003-10-02  Michael Koch  <konqueror@gmx.de>
2332
2333         * javax/swing/table/AbstractTableModel.java:
2334         This patch is based on a patch done by Arnaud Vandyck
2335         <arnaud.vandyck@ulg.ac.be>.
2336         (getColumnName): Fixed method documentation.
2337         (findColumn): Likewise.
2338         (getColumnClass): Likewise.
2339         (isCellEditable): Likewise.
2340         (setValueAt): Likewise.
2341         (addTableModelListener): Likewise.
2342         (removeTableModelListener): Likewise.
2343         (getTableModelListeners): New method.
2344
2345 2003-10-02  Michael Koch  <konqueror@gmx.de>
2346
2347         * javax/swing/table/AbstractTableModel.java:
2348         Reformated.
2349
2350 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
2351
2352         Fix PR libgcj/12475
2353         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
2354         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
2355
2356 2003-10-01  Tom Tromey  <tromey@redhat.com>
2357
2358         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
2359
2360 2003-10-01  Andrew Haley  <aph@redhat.com>
2361
2362         * java/lang/natClass.cc (initializeClass): Check for otable and
2363         atable.
2364         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
2365         loops using for().  Search superinterfaces.  Check for fields as
2366         well as methods.  Initialize atable as well as otable: check for
2367         static methods as well as virtual methods.
2368         * java/lang/Class.h (struct _Jv_AddressTable): New.
2369         (atable): New.
2370         (atable_syms): New.
2371         * include/jvm.h (_Jv_equalUtf8Consts): constify.
2372         * prims.cc (_Jv_equalUtf8Consts): constify.
2373
2374 2003-09-29  Tom Tromey  <tromey@redhat.com>
2375
2376         PR libgcj/10596:
2377         * include/jvm.h (_Jv_FinalizeString,
2378         _Jv_RegisterStringFinalizer): Declare.
2379         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
2380         unintern.
2381         (intern): Updated.
2382         (_Jv_NewStringUtf8Const): Likewise.
2383         * java/lang/ref/natReference.cc (finalize_referred_to_object):
2384         Add special case when finalizing a String.
2385         (in_hash): New function.
2386         (_Jv_RegisterStringFinalizer): Likewise.
2387         (maybe_add_finalize): Likewise.
2388
2389 2003-09-29  Michael Koch  <konqueror@gmx.de>
2390
2391         * java/net/InetAddress.java:
2392         (isMulticastAddress): Dont use local variable to store address length.
2393         Let the compiler optimize this.
2394         (getHostName): Merged dcoumentation from classpath.
2395         (getAddress): Likewise.
2396         (getHostAddress): Likewise.
2397         (hashCode): Likewise.
2398         (equals): Likewise.
2399         (toString): Likewise.
2400         (getByName): Likewise.
2401         (getAllByName): Likewise.
2402
2403 2003-09-29  Michael Koch  <konqueror@gmx.de>
2404
2405         * java/awt/image/IndexColorModel.java: Reformated.
2406
2407 2003-09-29  Michael Koch  <konqueror@gmx.de>
2408
2409         * java/net/InetAddress.java,
2410         java/net/URL.java: Reformated.
2411
2412 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
2413
2414         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
2415         significant bit of descriptor. Include the vtable and sync_info 
2416         fields.
2417
2418 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2419
2420         * java/text/DateFormat.java (format): Throw IllegalArgumentException
2421         if `obj' is not a Number or Date instance.
2422         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
2423         instead of Vector.
2424
2425 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2426
2427         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
2428         Don't call setTimeZone on calendar.
2429
2430 2003-09-27  Michael Koch  <konqueror@gmx.de>
2431
2432         * java/net/URL.java (getURLStreamHandler): Compile fixes.
2433
2434 2003-09-27  Michael Koch  <konqueror@gmx.de>
2435
2436         * java/net/URL.java (getURLStreamHandler):
2437         Check if we have to use cache before trying to retrieve handler from
2438         cache. Rename facName to clsName to match classpath more. Reformated
2439         some little pieces.
2440
2441 2003-09-27  Michael Koch  <konqueror@gmx.de>
2442
2443         * gnu/java/nio/SelectionKeyImpl.java
2444         (ch): Make package-private again. Jikes found this bug.
2445         Jeff Sturm submitted PR12426 for this to bugzilla
2446         to fix this bug in gcj.
2447
2448 2003-09-26  Michael Koch  <konqueror@gmx.de>
2449
2450         * java/rmi/server/RMIClassLoader.java:
2451         Reformatted file, no functional code changes.
2452
2453 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
2454
2455         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
2456         Save space for some pixels at the buffer end.  Added Javadoc.
2457
2458 2003-09-26  Tom Tromey  <tromey@redhat.com>
2459
2460         * java/io/ObjectOutputStream.java (writeFields): Fixed
2461         indentation.
2462         (putFields): Likewise.
2463
2464 2003-09-26  Michael Koch  <konqueror@gmx.de>
2465
2466         * java/nio/ByteBufferHelper.java:
2467         Totally reworked with help from Eric Blake.
2468
2469 2003-09-26  Tom Tromey  <tromey@redhat.com>
2470
2471         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
2472         * java/awt/geom/PathIterator.java: Documentation fixes.
2473
2474 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
2475
2476         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
2477         (select): Likewise.
2478         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
2479
2480 2003-09-25  Michael Koch  <konqueror@gmx.de>
2481
2482         * gnu/java/nio/DatagramChannelImpl.java
2483         (getNativeFD): New method.
2484         * gnu/java/nio/SelectionKeyImpl.java
2485         (SelectionKeyImpl): Class made abstract.
2486         (fd): Removed.
2487         (SelectionKeyImpl): Remove fd argument.
2488         (getNativeFD): New method.
2489         * gnu/java/nio/SocketChannelImpl.java
2490         (getNativeFD): New method.
2491         gnu/java/nio/DatagramChannelSelectionKey.java,
2492         * gnu/java/nio/SocketChannelSelectionKey.java:
2493         New files.
2494         * Makefile.am (ordinary_java_source_files):
2495         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
2496         gnu/java/nio/SocketChannelSelectionKey.java.
2497         * Makefile.in: Regenerated.
2498
2499 2003-09-25  Michael Koch  <konqueror@gmx.de>
2500
2501         * java/lang/reflect/Proxy.java
2502         (getProxyClass): Remove workaround for gcj 3.0.x.
2503
2504 2003-09-25  Michael Koch  <konqueror@gmx.de>
2505
2506         * gnu/java/net/PlainDatagramSocketImpl.java
2507         (finalize): Moved to directly after constructor.
2508         (getNativeFD): New method.
2509         * gnu/java/net/PlainSocketImpl.java
2510         (getNativeFD): New method.
2511
2512 2003-09-25  Ingo Proetel  <proetel@aicas.com>
2513
2514         * java/io/ObjectOutputStream.java:
2515         Allow putFields be called more than once.
2516
2517 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
2518
2519         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
2520         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
2521         * java/awt/image/BufferedImage.java (toString): Implement.
2522
2523 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
2524
2525         * aclocal.m4: Rebuilt.
2526         * configure: Rebuilt.
2527
2528 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
2529
2530         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
2531         field.
2532
2533 2003-09-25  Michael Koch  <konqueror@gmx.de>
2534
2535         * gnu/java/nio/SelectorImpl.java
2536         (implSelect): Renamed from java_do_select.
2537         (select): Call native implSelect() and add support for Thread
2538         interruption.
2539         * gnu/java/nio/natSelectorImpl.cc
2540         (implSelect): Renamed from java_do_select.
2541
2542 2003-09-25  Michael Koch  <konqueror@gmx.de>
2543
2544         * gnu/java/nio/SelectorImpl.java
2545         (selectNow): Made final, throws IOException.
2546         (select): Likewise.
2547         (getFDsAsArray): Made final.
2548         (selectedKeys): Likewise.
2549         (wakeup): Likewise.
2550         (deregisterCancelledKeys): Likewise.
2551         (register): Likewise.
2552         (ass): Removed.
2553         (add_selected): Removed.
2554         * gnu/java/nio/natSelectorImpl.cc:
2555         No need to include bstring.h or gcj/cni.h.
2556         (helper_put_filedescriptors): Rewritten.
2557         (helper_get_filedescriptors): Rewritten.
2558
2559 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
2560
2561         * java/awt/font/FontRenderContext.java (getTransform): Return
2562         copy of internal transform object. Add Javadoc.
2563         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
2564         winding rule as Sun J2SE.
2565         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
2566
2567 2003-09-25  Ingo Proetel  <proetel@aicas.com>
2568
2569         * java/rmi/Naming.java:
2570         Added comments, now accepts pseudo protocol "rmi".
2571
2572 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
2573
2574         * java/text/DecimalFormat.java (format): Don't immediatly round
2575         baseNumber to long.
2576         (setMinimumIntegerDigits): Call super.
2577         (setMinimumFractionDigits): Likewise.
2578         (setMaximumIntegerDigits): Likewise.
2579         (setMaximumFractionDigits): Likewise.
2580
2581 2003-09-25  Michael Koch  <konqueror@gmx.de>
2582
2583         * gnu/java/nio/DatagramChannelImpl.java
2584         (DatagramChannelImpl): Made class final.
2585         (blocking): Made private.
2586         (socket): Made it a NIODatagramSocket and private.
2587         (DatagramChannelImpl): create NIODatagramSocket instead of
2588         DatagramSocket.
2589         (implConfigureBlocking): Set socket timeout.
2590         (connect): Check that channel is not closed.
2591         (write): Implemented.
2592         (write): Rewritten.
2593         (read): Implemented.
2594         (read): Rewritten.
2595         (receive): Implemented.
2596         (send): Implemented.
2597         * gnu/java/nio/SelectionKeyImpl.java
2598         (readyOps): Made private.
2599         (interestOps): Made private.
2600         (impl): Made private.
2601         (ch): Made private.
2602         (readyOps): Check if selection key is valid.
2603         (interestOps): Likewise.
2604         * gnu/java/nio/SelectorImpl.java
2605         (closed): Removed.
2606         (keys): Made private.
2607         (selected): Made private.
2608         (finalize): New method.
2609         (implCloseSelector): Rewritten.
2610         (keys): Return unmodifiable Set.
2611         (deregisterCancelledKeys): Fixed typo in method name.
2612         * gnu/java/nio/SocketChannelImpl.java
2613         (SocketChannelImpl): Made class final.
2614         (socket): Made it a NIOSocket and private.
2615         (blocking): Made private.
2616         (connected): Made private.
2617         (connectionPending): New member variable.
2618         (SocketChannelImpl): New implementation.
2619         (finalizer): Use isConnected().
2620         (connect): Rewritten.
2621         (finishConnect): Throws IOException, implemented.
2622         (isConnectionPending): Return connectionPending.
2623         (read): Rewritten.
2624         (write): Rewritten.
2625         * gnu/java/nio/NIOConstants.java: New file.
2626         * Makefile.am (ordinary_java_source_files):
2627         Added gnu/java/nio/NIOConstants.java.
2628         * Makefile.in: Regenerated.
2629
2630 2003-09-25  Michael Koch  <konqueror@gmx.de>
2631
2632         * java/net/InetAddress.java:
2633         Reorder imports, remove implementation comment.
2634         (isMulticastAddress): Merged documentation from classpath.
2635         * java/net/URLConnection.java
2636         (setRequestProperty): Check key for null, fix documentation.
2637         (adREquestProperty): Check key for null, remove wrong implementation
2638         and replace it with comment to overwrite this method in subclasses,
2639         fix documentation.
2640
2641 2003-09-25  Tom Tromey  <tromey@redhat.com>
2642
2643         * java/lang/reflect/Proxy.java (generate): Uncomment protection
2644         domain code.
2645         * java/lang/natClassLoader.cc (defineClass): Added `loader'
2646         argument.
2647         (linkClass0): Now in VMClassLoader.
2648         (markClassErrorState0): Likewise.
2649         (getSystemClassLoaderInternal): New method.
2650         * java/lang/natClass.cc (initializeClass): Use
2651         VMClassLoader::resolveClass.
2652         * java/lang/ClassLoader.java: New version, from Classpath.
2653         * java/lang/Class.java (getProtectionDomain):
2654         protectionDomainPermission and unknownProtectionDomain now in
2655         VMClassLoader.
2656         * java/lang/Class.h: VMClassLoader now a friend class.
2657         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
2658         package-private.
2659         * gcj/javaprims.h: Regenerated class list.
2660         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
2661         * java/lang/VMClassLoader.java: New version from Classpath;
2662         modified for libgcj use.
2663
2664 2003-09-25  Michael Koch  <konqueror@gmx.de>
2665
2666         * java/nio/ByteBufferHelper.java:
2667         New file.
2668         * java/nio/ByteBufferImpl.java,
2669         java/nio/DirectByteBufferImpl.java,
2670         java/nio/MappedByteBufferImpl.java
2671         (getType,putType): Use new helper class ByteBufferHelper.
2672         * Makefile.am (ordinary_java_source_files):
2673         Added java/nio/ByteBufferHelper.java.
2674         * Makefile.in: Regenerated.
2675
2676 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2677
2678         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
2679         PR libgcj/12388.
2680
2681 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
2682
2683         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
2684         Strings, even if buffer is already shared.
2685
2686 2003-09-24  Michael Koch  <konqueror@gmx.de>
2687
2688         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
2689
2690 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
2691
2692         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
2693         (write): Likewise.
2694         (SocketInputStream): Declare `read' and `write' methods native.
2695         Remove implementations which called back into PlainSocketImpl.
2696         Remove unneccessary overridden methods.
2697         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
2698         to inner class PlainSocketImpl.SocketInputStream.
2699         (write): Likewise.
2700         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
2701         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
2702         * gnu/java/net/SocketInputStream.java: Remove unused file.
2703         * gnu/java/net/SocketOutputStream.java: Likewise.
2704         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
2705         and SocketOutputStream.
2706         * Makefile.in: Rebuilt.
2707
2708 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
2709
2710         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
2711
2712         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
2713         markers.
2714
2715 2003-09-22  Anthony Green  <green@redhat.com>
2716
2717         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
2718         * configure: Rebuilt.
2719
2720 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
2721
2722         PR java/12350:
2723         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
2724
2725 2003-09-22  Michael Koch  <konqueror@gmx.de>
2726
2727         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
2728         compiler warning but produces a different one now.
2729
2730 2003-09-22  Michael Koch  <konqueror@gmx.de>
2731
2732         * java/net/InetAddress.java:
2733         Moves around some code, reformats and adds documentation.
2734         No functional changes.
2735
2736 2003-09-22  Michael Koch  <konqueror@gmx.de>
2737
2738         * java/net/JarURLConnection.java
2739         (JarURLConnection): Modifed code to match classpath more, fixed comment.
2740         (getCertificates): Made it more error prone.
2741         (getMainAttributes): Likewise.
2742         (getAttributes): Implemented.
2743         (getManifest): Reformatted code.
2744
2745 2003-09-20  Tom Tromey  <tromey@redhat.com>
2746
2747         * java/awt/Component.java: Indentation cleanup from Classpath.
2748
2749 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
2750
2751        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
2752        checking to follow 1.4.2 spec.
2753
2754 2003-08-11  Ingo Proetel  <proetel@aicas.com>
2755
2756         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
2757         is compatible in case client and server are running in the same VM
2758         (remerged from Classpath on 2003-09-20)
2759
2760 2003-09-19  David Daney <ddaney@avtrex.com>
2761
2762         * java/lang/ref/Reference.java (clear): Set referent to null and
2763         synchronize.
2764
2765 2003-09-19  Michael Koch  <konqueror@gmx.de>
2766
2767         * gnu/java/nio/NIODatagramSocket.java,
2768         gnu/java/nio/NIOSocket.java: New files.
2769         * Makefile.am (ordinary_java_source_files):
2770         Added gnu/java/nio/NIODatagramSocket.java and
2771         gnu/java/nio/NIOSocket.java.
2772         * Makefile.in: Regenerated.
2773
2774 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
2775
2776         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
2777         top-level GTK window.
2778         (getArgs): Add "title" property.
2779         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
2780         "allow_shrink" and "allow_grow" properties.
2781         * java/awt/Dialog.java: Initialize resizable to true and change
2782         comments accordingly.  Initialize visible to false in
2783         constructors.
2784         * java/awt/Frame.java (dispose): Remove method.
2785         * java/awt/Window.java (ownedWindows): New field.
2786         (Window(Window,GraphicsConfiguration)): Add a weak reference to
2787         owner's ownedWindows vector.
2788         (finalize): Remove method.
2789         (hide): Hide owned windows.
2790         (dispose): Dispose of owned windows.
2791         (getOwnedWindows): Implement.
2792         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
2793         unused GtkArg code.
2794         (set(String,boolean)): Clamp gboolean parameter to g_object_set
2795         to TRUE or FALSE.
2796         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2797         (create): Set window's size requisition.
2798         (connectHooks): Fix indentation.
2799         (setResizable): Remove function.
2800         (static setBounds): Likewise.
2801         (setBounds): Replace call to setBounds with GTK size requisition
2802         and resize calls.
2803
2804 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
2805
2806         * win32-threads.cc: (ensure_interrupt_event_initialized) New
2807         function for lazy initialization of an auto-reset event.
2808         (_Jv_CondWait) Added thread interrupt support.
2809         (_Jv_ThreadInitData) Added initialization of interrupt support
2810         members.
2811         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
2812         (_Jv_ThreadStart) Removed unused code.
2813         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
2814         to an external caller.
2815         (_Jv_ThreadInterrupt) Implemented.
2816         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
2817         event for interrupt support as well as a mutex which regulates
2818         access to this.
2819         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
2820         event to an external caller.
2821         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
2822         process.
2823         (waitFor) Added interrupt support.
2824
2825 2003-09-19  Michael Koch  <konqueror@gmx.de>
2826
2827         * java/net/DatagramSocket.java (getLocalAddress):
2828         Renamed result variable to localAddr.
2829         * java/net/MulticastSocket.java:
2830         No need to import gnu.java.net.PlainDatagramSocketImpl.
2831
2832 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
2833
2834         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
2835         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
2836
2837 2003-09-18  Tom Tromey  <tromey@redhat.com>
2838
2839         * javax/naming/InitialContext.java: Reindented.
2840
2841 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
2842             Helmer Kraemer <hkraemer@freenet.de>
2843
2844         * javax/naming/spi/NamingManager.java (getURLContext,
2845         getObjectInstance, getStateToBind): Always use current thread's
2846         context class loader when calling Class.forName.
2847
2848 2003-09-18  Michael Koch  <konqueror@gmx.de>
2849
2850         * java/util/Timer.java (finalize): Added "throws Throwable".
2851
2852 2003-09-18  Michael Koch  <konqueror@gmx.de>
2853
2854         * java/net/DatagramSocket.java
2855         (ch): Removed.
2856         (receive): Use getChannel() instead of ch.
2857         (send): Likewise.
2858         (getChannel): Return null.
2859         * java/net/ServerSocket.java
2860         (ch): Removed.
2861         (setChannel): Removed.
2862         (implAccept): Use getChannel() instead of ch.
2863         (close): Likewise.
2864         (getChannel): Return null.
2865         * java/net/Socket.java
2866         (ch): Removed.
2867         (connect): Use getChannel() instead of ch.
2868         (setChannel): Removed.
2869         (getChannel): Return null.
2870
2871 2003-09-18  Mark Wielaard  <mark@klomp.org>
2872
2873         Reported by Guilhem Lavaux and Julian Dolby
2874         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
2875         field "serialPersistentFields", not "getSerialPersistentFields".
2876
2877 2003-09-18  Ingo Proetel  <proetel@aicas.com>
2878
2879         * java/util/TimeZone.java: Initialize lazily.
2880         * java/util/Locale.java (readManifest): Fix check for country.
2881         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
2882         traceable 
2883         * java/util/Calendar.java: Make use of ResourceBundle better
2884         traceable.
2885
2886 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
2887
2888         * java/sql/Timestamp.java
2889         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
2890
2891 2003-09-18  David P Grove  <groved@us.ibm.com>
2892
2893         * java/io/LineNumberReader (read): Don't reset pos & limit when
2894         markPos is 0.
2895
2896 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
2897
2898         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
2899         constant.
2900         (computeArguments): use computeTypicalArguments.
2901
2902         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
2903         Compile_jikes.java and RMICException.java.
2904         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
2905         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
2906         * gnu/java/rmi/rmic/RMICException.java: Likewise.
2907  
2908         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
2909  
2910         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
2911         (computeTypicalArguments): New method.
2912         (compile): Print compiler output to System.out. Collect compiler
2913         error output and use it in exception message.
2914  
2915         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
2916         (destination): Initialize to null.
2917         (run): Replace file separator with '.' when processing class.
2918         (processClass): Replace '.' with file separator when compiling
2919         classes.
2920         (findClass): Use SystemClassLoader to load class.
2921         (generateStub): Use full class name for generated stub, that puts
2922         it in right path.  Replace '.' with file separator when generating
2923         stub file name. Write just the stub class name without package
2924         information as class name, and constructor name. Write only
2925         interface names for interfaces extending java.rmi.Remote as
2926         implemented.
2927         (generateSkel): Use full class name for generated skel, that puts
2928         it in right path.  Replace '.' with file separator when generating
2929         stub file name. Write just the stub class name without package
2930         information as class name.
2931
2932 2003-09-18  Michael Koch  <konqueror@gmx.de>
2933
2934         * Makefile.am (rmi_java_source_files):
2935         Added gnu/java/rmi/rmic/Compile_kjc.java,
2936         gnu/java/rmi/rmic/Compile_jikes.java and
2937         gnu/java/rmi/rmic/RMICException.java
2938         * Makefile.in: Regenerated.
2939
2940 2003-09-17  Graydon Hoare  <graydon@redhat.com>
2941
2942         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2943         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2944         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
2945         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
2946         New files.
2947
2948 2003-09-16  Graydon Hoare  <graydon@redhat.com>
2949
2950         * java/awt/BufferedImage.java (setData): Support non-component
2951         sample models.
2952         (getData): Same.
2953
2954 2003-09-10  Graydon Hoare  <graydon@redhat.com>
2955
2956         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
2957         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
2958
2959 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
2960
2961         * configure.in: Standardized help text case of
2962         --enable-hash-synchronization
2963         New configure switch --enable-libgcj-multifile and corresponding
2964         automake conditional ONESTEP.
2965         * configure: Rebuilt.
2966         * Makefile.am: Use automake conditional ONESTEP to determine
2967         whether classfiles should be compiled individually or all
2968         at once.
2969         * Makefile.in: Rebuilt.
2970
2971 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
2972
2973         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
2974         Remove method declaration.
2975         (create()): Call native create.
2976         (create(int)): New method.
2977         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2978         (create): Add window_id parameter.  Call gtk_plug_new with
2979         window_id parameter.
2980         (construct): Remove method implementation.
2981
2982 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
2983
2984         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
2985         (mostlyclean-local): New target patterned after clean-local
2986         which recursively deletes all libtool objects using 'libtool rm'.
2987         (clean-local): Slightly modified comment to alleviate monotony.
2988         (distclean-local): New target patterned after clean-local
2989         which recursively deletes all .d files.
2990         * Makefile.in: Rebuilt.
2991
2992 2003-09-11  Tom Tromey  <tromey@redhat.com>
2993
2994         * java/net/URLStreamHandler.java (parseURL): If original file
2995         ends with "/", so must canonical result.
2996         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
2997         with nul-termination and finding previous "/".
2998
2999 2003-09-11  Michael Koch  <konqueror@gmx.de>
3000
3001         * acconfig.h: Removed most items.
3002         * configure.in: Added descriptions to AC_DEFINE macros that where in
3003         acconfig.h before.
3004         * include/config.h.in: Regenerated.
3005
3006 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
3007
3008         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
3009         if one is installed. Improve Javadoc.
3010         (getSystemEventQueueImpl): Improve Javadoc.
3011
3012 2003-09-11  Tom Tromey  <tromey@redhat.com>
3013
3014         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
3015         file does not exist.
3016
3017 2003-09-10  Anthony Green  <green@redhat.com>
3018
3019         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
3020         Specify full name when referencing ::java::net::InetAddress.
3021         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
3022         Fix argument type.
3023
3024 2003-09-10  Michael Koch  <konqueror@gmx.de>
3025
3026         * acconfig.h (__NO_MATH_INLINES): Removed.
3027         * configure.in: Removed check for g++ math inlining bug from 2000.
3028         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
3029         libgcj_cxxflags.
3030         * configure: Regenerated.
3031
3032 2003-09-10  David Daney <ddaney@avtrex.com>
3033
3034         * java/util/Arrays.java (equals(all variants)): Quit using
3035         NullPointerException catching to detect null valued parameters.
3036
3037 2003-09-10  Michael Koch  <konqueror@gmx.de>
3038
3039         * java/net/DatagramSocket.java,
3040         java/net/MulticastSocket.java,
3041         java/net/ServerSocket.java,
3042         java/net/Socket.java:
3043         Use gnu.java.net.Plain*SocketImpl instead of
3044         java.net.PlainSocketImpl.
3045         * java/net/PlainDatagramSocketImpl.java,
3046         java/net/PlainSocketImpl.java,
3047         java/net/SocketInputStream.java,
3048         java/net/SocketOutputStream.java,
3049         java/net/natPlainDatagramSocketImplNoNet.cc,
3050         java/net/natPlainDatagramSocketImplPosix.cc,
3051         java/net/natPlainDatagramSocketImplWin32.cc,
3052         java/net/natPlainSocketImplNoNet.cc,
3053         java/net/natPlainSocketImplPosix.cc,
3054         java/net/natPlainSocketImplWin32.cc:
3055         Removed.
3056         * gnu/java/net/PlainDatagramSocketImpl.java,
3057         gnu/java/net/PlainSocketImpl.java,
3058         gnu/java/net/SocketInputStream.java,
3059         gnu/java/net/SocketOutputStream.java,
3060         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
3061         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
3062         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
3063         gnu/java/net/natPlainSocketImplNoNet.cc,
3064         gnu/java/net/natPlainSocketImplPosix.cc,
3065         gnu/java/net/natPlainSocketImplWin32.cc:
3066         New files (moved from java/net).
3067         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
3068         instead of java/net/natPlain*SocketImpl.cc.
3069         * configure: Regenerated.
3070         * Makefile.am: Moved files from java/net to gnu/java/net.
3071         * Makefile.in: Regenerated.
3072
3073 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
3074
3075         * configure: Regenerate.
3076
3077 2003-09-04  Tom Tromey  <tromey@redhat.com>
3078
3079         * configure.host: Removed erroneous comment.
3080
3081         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
3082         lvalue cast; use correct rvalue cast.
3083
3084 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3085
3086         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
3087         and height arguments to GtkWindowPeer.create method call.
3088         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3089         (create(int,int,int)): New method.
3090         (create(int)): Add call to new create method.
3091         (create()): Add width and height arguments to create method
3092         call.
3093         (GtkWindowPeer): Remove call to setBounds.
3094         * java/awt/Frame.java (Frame(String)): Initialize visible field
3095         to false.
3096         (Frame(GraphicsConfiguration)): Likewise.
3097         (Frame(String,GraphicsConfiguration)): Likewise.
3098         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3099         Add width and height parameters.  Call
3100         gtk_window_set_default_size.
3101         (connectHooks): Remove unused name variable.
3102         (static setBounds): Call gtk_window_resize not
3103         gtk_widget_set_usize.
3104         (setBounds): Remove unused nchildren variable.
3105
3106 2003-08-31  Ingo Proetel  <proetel@aicas.com>
3107
3108         * java/util/logging/Logger.java: provide class and method information
3109         * java/util/logging/LogManager.java: create handlers
3110         * java/util/logging/SimpleFormatter.java: print souceClassName and
3111         sourceMethodName
3112
3113 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3114
3115         * win32.cc: fixed tab, indentation and whitespace
3116         inconsistencies
3117         removed jvm.h include
3118         added includes java/lang/UnsupportedOperationException.h,
3119         java/io/IOException.h, java/net/SocketException.h
3120         (WSAEventWrapper): class implementation
3121         (_Jv_WinStrError): implemented both overloads
3122         (_Jv_ThrowIOException): implemented both overloads
3123         (_Jv_ThrowSocketException): implemented both overloads
3124         (_Jv_select): implemented
3125         * include/win32.h: fixed tab, indentation and whitespace
3126         inconsistencies
3127         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
3128         added jvm.h include
3129         (WSAEventWrapper): added class declaration
3130         (_Jv_WinStrError): added both overload declarations
3131         (_Jv_ThrowIOException): added both overload declarations
3132         (_Jv_ThrowSocketException): added both overload declarations
3133         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
3134         (_Jv_select): added declaration
3135         (_Jv_socket): removed
3136         (_Jv_connect): removed
3137         (_Jv_close): removed
3138         (_Jv_bind): removed
3139         (_Jv_accept): removed
3140         (_Jv_listen): removed
3141         (_Jv_write): removed
3142         (_Jv_read): removed
3143         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
3144         whitespace inconsistencies
3145         replaced <windows.h> #include with <platform.h>
3146         removed jvm.h include
3147         (testCanUseGetHandleInfo): new function which tests whether Win32
3148         GetHandleInformation() call can be used with console buffer handles
3149         (only supported on >=WinNT 5.0)
3150         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
3151         (valid): rewrote implementation using GetHandleInformation()
3152         (sync):         changed exception throwing to use error string and exception
3153         helper methods declared in include/win32.h
3154         (open): likewise
3155         (write): likewise
3156         (setLength): likewise
3157         (close): likewise
3158         (seek): likewise
3159         (getFilePointer): likewise
3160         (read): likewise
3161         * java/io/natFileWin32.cc: fixed tab, indentation and
3162         whitespace inconsistencies
3163         replaced <windows.h> #include with <platform.h>
3164         removed jvm.h include
3165         (_access): use JV_TEMP_UTF_STRING
3166         (_stat): likewise
3167         (performMkDir): use JV_TEMP_UTF_STRING
3168         (performRenameTo): likewise
3169         (performDelete): likewise
3170         (performCreate): likewise
3171         (performSetReadOnly): likewise
3172         (performSetLastModified): likewise
3173         * java/lang/natWin32Process.cc: fixed tab, indentation and
3174         whitespace inconsistencies
3175         replaced <windows.h> #include with <platform.h>
3176         removed includes gcj/cni.h, jvm.h
3177         (new_string): removed
3178         (startProcess): use JV_TEMP_UTF_STRING,
3179         changed exception throwing to use error string and exception
3180         helper methods declared in include/win32.h
3181         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
3182         whitespace inconsistencies
3183         replaced <windows.h> #include with <platform.h>
3184         removed jvm.h include
3185         removed DISABLE_JAVA_NET conditional code
3186         removed POSIX conditional code not relevant to Win32
3187         (aton): use JV_TEMP_UTF_STRING
3188         removed POSIX conditional code not relevant to Win32
3189         (lookup): likewise
3190         (getLocalHostName): likewise
3191         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
3192         whitespace inconsistencies
3193         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
3194         removed DISABLE_JAVA_NET conditional code
3195         removed POSIX conditional code not relevant to Win32
3196         (winsock2GetRealNetworkInterfaces): new function to compute network
3197         interfaces via Winsock2 API
3198         (determineGetRealNetworkInterfacesFN): new function for returning
3199         a function pointer to the function used to compute network interfaces.
3200         (getRealNetworkInterfaces): implemented
3201         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
3202         whitespace inconsistencies
3203         removed gcj/cni.h include
3204         removed DISABLE_JAVA_NET conditional code
3205         removed POSIX conditional code not relevant to Win32
3206         changed net POSIXisms to Win32isms
3207         replaced _Jv socket-related calls with their real Win32 equivalents
3208         changed exception throwing to use error string and exception
3209         helper methods declared in include/win32.h
3210         (peekData): implemented timeout support
3211         (receive): likewise
3212         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
3213         whitespace inconsistencies
3214         removed gcj/cni.h and gcj/javaprims.h includes
3215         removed DISABLE_JAVA_NET conditional code
3216         removed POSIX conditional code not relevant to Win32
3217         changed net POSIXisms to Win32isms
3218         replaced _Jv socket-related calls with their real Win32
3219         equivalents
3220         changed exception throwing to use error string and exception
3221         helper methods declared in include/win32.h
3222         (throwConnectException): helper function for connect()
3223         (connect): implemented timeout support
3224         (accept): likewise
3225         (doRead): new helper function common to both read() method overloads,
3226         includes timeout support
3227         (read): implemented both overloads in terms of doRead()
3228         (available): implemented using ioctlsocket()
3229
3230 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3231
3232         * java/net/natInetAddressWin32.cc,
3233         java/net/natNetworkInterfaceWin32.cc,
3234         java/net/natPlainDatagramSocketImplWin32.cc,
3235         java/net/natPlainSocketImplWin32.cc:
3236         Readded code enclosed in DISABLE_JAVA_NET defines
3237         in preparation for MinGW cleanup / networking
3238         patch
3239
3240 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3241
3242         * Makefile.am: Fixed problems with parallel makes.
3243         (all_java_class_files): Readded definition.
3244         (all_java_class_files): New target which depends on
3245         libgcj-@gcc_version@.jar
3246         * Makefile.in: Rebuilt
3247
3248 2003-08-28  Tom Tromey  <tromey@redhat.com>
3249
3250         * Makefile.in: Rebuilt.
3251         * Makefile.am (ordinary_java_source_files): Added new files.
3252         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
3253         friend.
3254         * java/net/URLClassLoader.java (findClass): Don't use
3255         findURLResource.  Use loader's getClass method.
3256         (URLLoader.getClass): New method.
3257         (addURL): Handle `gcjlib' URLs.
3258         (SoURLLoader): New class.
3259         (SoResource): Likewise.
3260         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
3261         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
3262         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
3263         (_Jv_RegisterCoreHook): Declare.
3264         (_Jv_FindCore): Declare.
3265         * gnu/gcj/runtime/SharedLibHelper.java: New file.
3266         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
3267         typedef.
3268         (core_hook): New function.
3269         (struct SharedLibDummy) [saved_core]: New field.
3270         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
3271         (register_hook): Set protection domain and class loader on new
3272         class.
3273         (finalize): Free core chain.
3274         * gnu/gcj/Core.java (Core): New constructor.
3275         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
3276         SharedLibHelper.
3277         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
3278         (_Jv_create_core): New function.
3279         (create): Use it.
3280         (default_register_resource): New function.
3281         (_Jv_RegisterCoreHook): New global.
3282         (_Jv_RegisterResource): Use it.
3283         (core_chain_struct): Removed.
3284         (_Jv_FindCore): New function.
3285         (_Jv_FreeCoreChain): New function.
3286
3287 2003-08-29  Michael Koch  <konqueror@gmx.de>
3288
3289         * java/net/natInetAddressWin32.cc,
3290         java/net/natNetworkInterfaceWin32.cc,
3291         java/net/natPlainDatagramSocketImplWin32.cc,
3292         java/net/natPlainSocketImplWin32.cc:
3293         Removed code enclosed in DISABLE_JAVA_NET defines.
3294
3295 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
3296
3297         * Makefile.am: (write_entries_to_file) New parameterized
3298         function for writing entries to a file one line at a time.
3299         (all_java_class_files): Removed definition.
3300         (.java.class) Removed.target.
3301         (libgcj-@gcc_version@.jar): Changed dependency to
3302         $(all_java_source_files); added compilation step which compiles
3303         all changed source files in one pass.
3304         (libgcj.la) Refactored to use write_entries_to_file.
3305         (lib-gnu-awt-xlib.la) Likewise.
3306         (install-data-local) Likewise.
3307         (write-entries-to-file-check) New target which tests write_entries_to_file.
3308         (all-recursive): Changed dependency from $(all_java_class_files)
3309         to libgcj-@gcc_version@.jar
3310         * Makefile.in: Rebuilt.
3311
3312 2003-08-26  Tom Tromey  <tromey@redhat.com>
3313
3314         * java/lang/StrictMath.java: Typo fix.
3315         * java/lang/Math.java: Typo fix.
3316
3317 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
3318
3319         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
3320         of the removed Thread.
3321
3322 2003-08-26  Mark Wielaard  <mark@klomp.org>
3323
3324         Reported by David Holmes <dholmes@dltech.com.au>.
3325         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
3326         Collections.synchronizedMap.
3327         * java/lang/ThreadLocal.java (valueMap): Likewise.
3328
3329 2003-08-26  Mark Wielaard  <mark@klomp.org>
3330
3331         * java/security/acl/Acl.java: Fix broken p tag.
3332         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
3333         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
3334         * javax/swing/plaf/TreeUI.java: Likewise.
3335         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
3336         * java/util/Properties.java: Use the word umlaut, not &auml; in api
3337         documentation.
3338         * java/util/PropertyResourceBundle.java: Likewise and add closing code
3339         tag.
3340
3341 2003-08-26  Tom Tromey  <tromey@redhat.com>
3342
3343         * Makefile.in: Rebuilt.
3344         * Makefile.am: Removed all GNU-make-specific FIXME comments.
3345
3346         * java/lang/ref/Reference.java (get): Indentation fix.
3347         (clear): Comment fix.
3348         (enqueue): Likewise.
3349         (lock): Likewise.
3350         (referent): Likewise.
3351
3352 2003-08-26  Tom Tromey  <tromey@redhat.com>
3353
3354         PR java/12058:
3355         * java/lang/reflect/natArray.cc (set): Allow null as argument.
3356
3357         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
3358         (ProxyData.getPackage): New method.
3359         (ProxyData.getProxyData): Use package name, not Package.
3360         (ClassFactory.ClassFactory): Updated.
3361
3362 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
3363         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
3364         * Makefile.in: re-generated.
3365         * gnu/awt/j2d/IntegerGraphicsState.java
3366         (ScreenCoupledImage): new interface.
3367         (drawImage): detect ScreenCoupledImage instances.
3368         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
3369         * gnu/awt/xlib/XEventLoop.java
3370         (createEvent): re-formatted, and rearranged to avoid null pointer.
3371         * gnu/awt/xlib/XGraphics.java
3372         (drawImage): added XOffScreenImage handling.
3373         * gnu/awt/xlib/XOffScreenImage.java: new file.
3374         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
3375         * gnu/gcj/xlib/GC.java (copyArea): new native method.
3376         * gnu/gcj/xlib/XAnyEvent.java
3377         (TYPE_KEY_PRESS): new constant.
3378         (TYPE_KEY_RELEASE): new constant.
3379         (TYPE_MOTION_NOTIFY): new constant.
3380         (TYPE_ENTER_NOTIFY): new constant.
3381         (TYPE_LEAVE_NOTIFY): new constant.
3382         (TYPE_FOCUS_IN): new constant.
3383         (TYPE_FOCUS_OUT): new constant.
3384         (TYPE_KEYMAP_NOTIFY): new constant.
3385         (TYPE_GRAPHICS_EXPOSE): new constant.
3386         (TYPE_NO_EXPOSE): new constant.
3387         (TYPE_VISIBILITY_NOTIFY): new constant.
3388         (TYPE_CREATE_NOTIFY): new constant.
3389         (TYPE_DESTROY_NOTIFY): new constant.
3390         (TYPE_MAP_REQUEST): new constant.
3391         (TYPE_CONFIGURE_REQUEST): new constant.
3392         (TYPE_GRAVITY_NOTIFY): new constant.
3393         (TYPE_RESIZE_REQUEST): new constant.
3394         (TYPE_CIRCULATE_NOTIFY): new constant.
3395         (TYPE_CIRCULATE_REQUEST): new constant.
3396         (TYPE_PROPERTY_NOTIFY): new constant.
3397         (TYPE_SELECTION_CLEAR): new constant.
3398         (TYPE_SELECTION_REQUEST): new constant.
3399         (TYPE_SELECTION_NOTIFY): new constant.
3400         (TYPE_COLORMAP_NOTIFY): new constant.
3401         (TYPE_MAPPING_NOTIFY): new constant.
3402         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
3403         * gnu/gcj/xlib/natGC.cc (copyArea): new method
3404         * java/awt/Component.java (createImage): changed to use peer method.
3405
3406 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3407
3408         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
3409         name, not XLFD, to native drawString.
3410         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3411         Replace XLFD-based implementation with Pango-based
3412         implementation.
3413
3414 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3415
3416         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
3417         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
3418
3419 2003-08-21  David Daney  <ddaney@avtrex.com>
3420
3421         Fix for PR libgcj/12013:
3422         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3423         Check `cleared' field.
3424         * java/lang/ref/Reference.java (copy): Updated comments.
3425         (cleared): New field.
3426         (clear): Rewrote.
3427
3428 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
3429             Thomas Fitzsimmons  <fitzsim@redhat.com>
3430
3431         * Makefile.am (gtk_awt_peer_sources): Add
3432         gnu/java/awt/peer/GLightweightPeer.java.  Remove
3433         gnu/java/awt/GLightweightPeer.java.
3434         * gnu/java/awt/GLightweightPeer.java: Remove file.
3435         * gnu/java/awt/peer/GLightweightPeer.java: New file.
3436         * java/awt/Component.java (getToolkit): Add comment about
3437         lightweight components.
3438         * java/awt/Toolkit.java (createComponent): Return
3439         gnu.java.awt.peer.GLightweightPeer.
3440
3441 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
3442
3443         * configure.in: Fix detection of gcj when building with newlib.
3444         * configure: Regenerated.
3445
3446 2003-08-20  Graydon Hoare  <graydon@redhat.com>
3447
3448         * jni.cc: Replace "cheating" pointer-casting code with
3449         extract_from_jvalue<> template.
3450
3451 2003-08-20  Andrew Haley  <aph@redhat.com>
3452
3453         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
3454         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
3455         (classAt): Break out class lookup function into getClass().
3456         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
3457         handlers when using -fno-assume-compiled.
3458
3459 2003-08-20  Tom Tromey  <tromey@redhat.com>
3460
3461         Fix for PR libgcj/9125:
3462         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
3463         object outside of loop.  Respect lib_control setting.
3464         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
3465         field.
3466         (lib_control): New field.
3467         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
3468         (VMClassLoader): Initialize new field.
3469
3470         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3471         Set `list->reference' to DELETED_REFERENCE when removing dead
3472         object.
3473         (find_slot): Added an assert.
3474         (DELETED_REFERENCE): New define.
3475         (add_to_hash): Check for DELETED_REFERENCE.
3476         (remove_from_hash): Just return if found slot isn't ours.
3477
3478 2003-08-19  Andrew Haley  <aph@redhat.com>
3479
3480         * prims.cc (unblock_signal): New function.
3481         (catch_segv): Use it.
3482         (catch_fpe): Likewise.
3483
3484 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
3485
3486         PR libgcj/11575
3487         * java/io/natFileDescriptorWin32.cc (open): Set create
3488         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
3489         Honor EXCL when openning with WRITE flag. 
3490
3491 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
3492
3493         * include/jvm.h: New class _Jv_TempUTFString (helper class for
3494         getting a temporary C string from a jstring)
3495         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
3496         but uses a stack buffer if the string length is less than 256
3497         bytes.
3498
3499 2003-08-18  Tom Tromey  <tromey@redhat.com>
3500
3501         PR libgcj/11951:
3502         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
3503         void.  Throw VirtualMachineError if ffi fails.  Initialize return
3504         value.  Added is_jni_call argument; only wrap exception if not a
3505         JNI call.  Use descriptive message if operation not supported.
3506         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
3507         array class.
3508         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
3509         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
3510         _Jv_CallAnyMethodA.
3511         (_Jv_JNI_CallAnyMethodA): Likewise.
3512         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
3513         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
3514
3515 2003-08-13  Tom Tromey  <tromey@redhat.com>
3516
3517         * gij.cc (help): Document -? and -X.
3518
3519 2003-08-12  Graydon Hoare  <graydon@redhat.com>
3520
3521         * java/awt/Font.java: 
3522         Stub out more recent API. 
3523
3524 2003-08-12  Graydon Hoare  <graydon@redhat.com>
3525
3526         * java/awt/Color.java (getAlpha): 
3527         Prevent sign-extended alpha values.
3528
3529 2003-08-12  Tom Tromey  <tromey@redhat.com>
3530
3531         * gij.cc (main): Handle -? and -X.
3532
3533 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
3534
3535         * java/awt/Container.java
3536         (getPreferredSize): Call preferredSize.
3537         (preferredSize): Moved body of getPreferredSize here.
3538         (getMinimumSize): Call minimumSize.
3539         (minimumSize): Moved body of getMinimumSize here.
3540
3541 2003-08-11  Tom Tromey  <tromey@redhat.com>
3542
3543         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
3544         (postEvent): Removed FIXME comment.
3545         (isDispatchThread): Documented.
3546         (getCurrentEvent): New method.
3547         (dispatchEvent): Set currentEvent and lastWhen.
3548         (getMostRecentEventTime): Rewrote.
3549         (invokeLater): Documented.
3550
3551 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
3552
3553         * java/io/PrintStream.java (print): Always flush if auto_flush is
3554         set. Don't check for newline characters.
3555         (write (int)): Implement without using a temporary array.
3556         (write (byte[], int, int): Always flush if auto_flush is set. Don't
3557         check for newline characters.
3558         Fixes PR libgcj/11778.
3559
3560 2003-08-08  Andrew Haley  <aph@redhat.com>
3561
3562         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
3563         * Makefile.in: Rebuild.
3564         * java/lang/natRuntime.cc (insertSystemProperties): Add
3565         "sun.boot.class.path".
3566
3567 2003-08-07  Andrew Haley  <aph@redhat.com>
3568
3569         * java/io/PrintStream.java: Don't crash on a null string.
3570         
3571 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3572
3573         * configure.in: Don't initialize GCINCS to boehm-gc/include.
3574         * configure: Regenerate.
3575
3576 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
3577
3578         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
3579         SocketImpl. Update Javadoc.
3580         (bind): Call close() not impl.close() in event of exception.
3581         (connect): Likewise.
3582         Remove superfluous null checks throughout.
3583         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
3584         Don't create an extra socket. Fix for PR libgcj/10868.
3585         (bind): Clean up exception handling.
3586         Remove superfluous null checks throughout.
3587
3588 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
3589             Bryce McKinlay  <bryce@mckinlay.net.nz>
3590
3591         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
3592         ready-to-write argument to _Jv_Select. Reset the socket back to 
3593         non-blocking state after connecting.
3594         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
3595         Throw SocketTimeoutException not InterruptedIOException.
3596         (read): Throw SocketTimeoutException not InterruptedIOException.
3597
3598 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
3599
3600         * java/lang/Thread.java (Thread): Check for null "name" from
3601         start of private constructor, not after calling the private
3602         constructor.
3603
3604 2003-08-06  Tom Tromey  <tromey@redhat.com>
3605
3606         * java/io/FilePermission.java (equals): Use correct index for
3607         last character of path.
3608
3609 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
3610
3611         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
3612         * configure.in: Compare with_cross_host to build_alias, not build.
3613         * aclocal.m4: Regenerate.
3614         * configure: Regenerate.
3615
3616 2003-08-05  Tom Tromey  <tromey@redhat.com>
3617
3618         Fix for PR libgcj/11779:
3619         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
3620         class.
3621
3622         * java/lang/reflect/Method.java: Updated status comment.
3623         Imported javadoc from Classpath and re-ordered methods.
3624         * java/lang/reflect/Constructor.java: Reindented.  Updated
3625         status comment.  Imported javadoc from Classpath and re-ordered
3626         methods.
3627
3628 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
3629
3630         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
3631         Add keyLocation parameter.
3632         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
3633         string.
3634         (paramString): Generate keyChar string according to keyChar, not
3635         keyCode.
3636         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3637         (state_to_awt_mods): Handle ALT key.
3638         (keyevent_state_to_awt_mods): New function.
3639         (get_first_keyval_from_keymap): New function.
3640         (keysym_to_awt_keycode): Get virtual key code from keymap.
3641         Handle missing VK_ values.
3642         (keysym_to_awt_keylocation): New function.
3643         (keyevent_to_awt_keychar): New function.
3644         (generates_key_typed_event): Handle non-text-component case.
3645         Handle GDK_KP_Delete and GDK_KP_Enter.
3646         (awt_event_handler): Call new functions to get postKeyEvent
3647         parameters.
3648         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
3649         Update postKeyEvent method signature.
3650         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
3651         VK_ defines.
3652
3653 2003-08-05  Matthias Klose  <doko@debian.org>
3654
3655         * aclocal.m4: check for libart-config binary
3656           under the name libart2-config as well.
3657         * configure: regenerated.
3658
3659 2003-08-04  David P Grove  <groved@us.ibm.com>
3660
3661         * java/text/DecimalFormat.java (format): avoid ArithmeticException
3662         when groupingSize is 0.
3663         (parse): Likewise.
3664
3665 2003-08-04  Matthias Klose  <doko@debian.org>
3666
3667         * libart.m4: check for libart-config binary
3668           under the name libart2-config as well.
3669         * configure, aclocal.m4: regenerated.
3670
3671 2003-08-02  Michael Koch  <konqueror@gmx.de>
3672
3673         * java/nio/ByteBufferImpl.java
3674         (getChar): Check remaining bytes, fixed comment about endianess.
3675         (putChar): Likewise.
3676         (getShort): Likewise.
3677         (putShort): Likewise.
3678         (getInt): Check remaining bytes, fixed conversion, fixed comment about
3679         endianess.
3680         (putInt): Likewise.
3681         (getLong): Likewise.
3682         (putLong): Likewise.
3683         (getFloat): Likewise.
3684         (putFloat): Likewise.
3685         (getDouble): Likewise.
3686         (putDouble): Likewise.
3687         * java/nio/DirectByteBufferImpl.java
3688         (getChar): Wrapped code, fixed comment about endianess.
3689         (putchar): Likewise.
3690         (getShort): Likewise.
3691         (putShort): Likewise.
3692         (getInt): Fixed conversion, fixed comment about endianess.
3693         (putInt): Likewise.
3694         (getLong): Likewise.
3695         (putLong): Likewise.
3696         (getFloat): Likewise.
3697         (putFloat): Likewise.
3698         (getDouble): Likewise.
3699         (putDouble): Likewise.
3700         * java/nio/MappedByteBufferImpl.java
3701         (compact): Implemented.
3702         (getChar): Implemented.
3703         (putChar): Implemented.
3704         (getDouble): Implemented.
3705         (putdouble): Implemented.
3706         (getFloat): Implemented.
3707         (putFloat): Implemented.
3708         (getInt): Implemented.
3709         (putInt): Implemented.
3710         (getLong): Implemented.
3711         (putLong): Implemented.
3712         (getShort): Implemented.
3713         (putShort): Implemented.
3714         * java/nio/channels/FileChannelImpl.java
3715         (read): Set position where to access file.
3716         (write): Likewise.
3717         (transferTo): Flip buffer after read and before write.
3718         (transferFrom): Likewise.
3719
3720 2003-08-02  Michael Koch  <konqueror@gmx.de>
3721
3722         * gnu/java/lang/ArrayHelper.java
3723         (equalsArray): Reformated, added method documentation.
3724
3725 2003-08-02  Michael Koch  <konqueror@gmx.de>
3726
3727         * java/net/URL.java
3728         (URL): Added paragraph about the
3729         gnu.java.net.nocache_protocol_handlers property.
3730         (ph_cache): Renamed from handlers to match classpath's implementation.
3731         Reordered it with factory and serialVersionUID member variables.
3732         (cache_handlers): New member variable.
3733         (static): New static initializer to initialize cache_handlers from
3734         gnu.java.net.nocache_protocol_handlers property.
3735         (URL): Use ph_cache instead of handlers, reformatted some code to
3736         match classpath's implementation.
3737
3738 2003-08-01  Tom Tromey  <tromey@redhat.com>
3739
3740         Fix for PR libgcj/11241:
3741         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
3742         initialCapacity is 0, set it to 1.
3743
3744 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
3745
3746         * java/net/SocketImpl.java (toString): Display the remote address
3747         of an unconnected server socket as "0.0.0.0/0.0.0.0".
3748
3749 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
3750
3751         * javax/swing/border/BevelBorder.java,
3752         javax/swing/border/EtchedBorder.java,
3753         javax/swing/border/LineBorder.java,
3754         javax/swing/border/MatteBorder.java,
3755         javax/swing/border/SoftBevelBorder.java,
3756         javax/swing/plaf/BorderUIResource.java,
3757         javax/swing/plaf/ComponentUI.java,
3758         javax/swing/plaf/TreeUI.java,
3759         javax/swing/plaf/basic/BasicBorders.java,
3760         javax/swing/plaf/basic/BasicGraphicsUtils.java,
3761         javax/swing/plaf/basic/BasicTreeUI.java:
3762         Prepend "doc-files" to all paths to embedded Javadoc images, so
3763         that the generated documentation contains the correct URL.
3764
3765 2003-08-01  Tom Tromey  <tromey@redhat.com>
3766
3767         * configure: Rebuilt.
3768         * configure.in (tool_include_dir): Redefine to match gcc.
3769
3770 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
3771             Mark Wielaard  <mark@klomp.org>
3772             
3773         * java/math/BigDecimal (divide): Correctly handle
3774         ROUND_HALF_EVEN when amount is greater than 0.5.
3775         Simplify and optimize code.
3776
3777 2003-07-31  Tom Tromey  <tromey@redhat.com>
3778
3779         More for PR libgcj/11737:
3780         * java/io/ObjectInputStream.java (processResolution): Use
3781         getMethod.
3782         (getMethod): Make method accessible.
3783         (getField): Make field accessible.
3784         (setBooleanField): Don't call setAccessible here.
3785         (setByteField, setCharField, setDoubleField, setFloatField,
3786         setIntField, setLongField, setShortField, setObjectField):
3787         Likewise.
3788         (callReadMethod): Don't check whether method is null.  Catch
3789         NoSuchMethodException.
3790         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
3791         cause on thrown exceptions.
3792
3793 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
3794
3795         Fix for PR libgcj/11728:
3796         * java/util/HashMap.java (readObject): Set size.
3797
3798 2003-07-31  Tom Tromey  <tromey@redhat.com>
3799
3800         Fix for PR libgcj/11737:
3801         * java/io/ObjectOutputStream.java (getMethod): Make method
3802         accessible.
3803         (getField): Likewise.
3804         (writeObject): Use getMethod.
3805         Import PrivilegedAction and AccessController.
3806         (callWriteMethod): Don't check whether m is null.  Catch
3807         NoSuchMethodException.
3808
3809         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
3810         (containsAngle): Likewise.
3811         (getStartPoint): Rewrote.
3812         (getEndPoint): Likewise.
3813         (setAngleStart(Point2D)): Likewise.
3814
3815 2003-07-31  Roger Sayle  <roger@eyesopen.com>
3816             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3817
3818         * configure.in: Add new THREADCXXFLAGS variable.
3819         Handle POSIX threads on alpha*-dec-osf*.
3820         * configure: Regenerate.
3821         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
3822         * Makefile.in: Regenerate.
3823
3824 2003-07-08  Andrew Haley  <aph@redhat.com>
3825
3826         * include/i386-signal.h (RESTORE): New.
3827         (INIT_SEGV): Set restorer.
3828         (INIT_FPE): Likewise.
3829
3830 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
3831
3832         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
3833         than getXLFD.
3834         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
3835         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
3836         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3837         (gtkSetFont): Scale size parameter by PANGO_SCALE.
3838         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
3839         Likewise.
3840         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
3841         Likewise.
3842
3843 2003-07-29  Tom Tromey  <tromey@redhat.com>
3844
3845         * defineclass.cc (handleField): Throw exception if field name is
3846         duplicated.
3847         (handleMethod): Throw exception for duplicate method.
3848
3849 2003-07-29  Tom Tromey  <tromey@redhat.com>
3850
3851         * gnu/gcj/convert/natIconv.cc (write): Handle case where
3852         output buffer is too small.
3853
3854 2003-07-28  Tom Tromey  <tromey@redhat.com>
3855
3856         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
3857         New method.
3858         Include gnu/gcj/runtime/StringBuffer.h.
3859         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
3860         native method.
3861         (String(gnu.gcj.runtime.StringBuffer)): Use it.
3862
3863 2003-07-27  Anthony Green  <green@redhat.com>
3864
3865         * configure.in: Fix newlib check.
3866         * configure: Rebuilt.
3867
3868 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
3869
3870         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3871         Create vbox and layout for GtkPlug.
3872
3873 2003-07-27  Michael Koch  <konqueror@gmx.de>
3874
3875         * java/awt/Window.java
3876         (Window): Removed now unused constructor. It became oboslete with the
3877         new embedded window patch.
3878
3879 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
3880             Michael Koch  <konqueror@gmx.de>
3881
3882         * gnu/java/awt/EmbeddedWindow.java
3883         (EmbeddedWindow): Extends Frame instead of Window.
3884         (window_id): New member variable to store the native window handle.
3885         (create): Removed.
3886         (EmbeddedWindow): New constructor.
3887         (addNotify): New method.
3888         (getHandler): Likewise.
3889         (setWindowPeer): New native method.
3890         * gnu/java/awt/EmbeddedWindowSupport.java
3891         (EmbeddedWindowSupport): Fixed documentation.
3892         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
3893         WindowPeer, give it an EmbeddedWindow instance instead of the raw
3894         window data.
3895         * gnu/java/awt/natEmbeddedWindow.cc
3896         (create): Removed.
3897         (setWindowPeer): New method.
3898         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
3899         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
3900         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3901         New files
3902         * gnu/java/awt/peer/gtk/GtkToolkit.java
3903         (GtkToolkit): Implements EmbeddedWindowSupport.
3904         (createEmbeddedWindow): New method.
3905         * java/awt/Window.java
3906         (Window): Removed.
3907         * Makefile.am
3908         (java_source_files): Added EmbeddedWindowPeer.java.
3909         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
3910         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
3911         * Makefile.in: Regenerated.
3912
3913 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
3914
3915         * java/lang/Win32Process.java (ConcreteProcess): Surround
3916         a command line element with quotes if it contains an
3917         embedded space or tab.
3918         * java/lang/natWin32Process.cc (startProcess): Do not
3919         surround command line elements with quotes here.
3920
3921         * configure.host: Use -fcheck-references and 
3922         -fuse-divide-subroutine for MinGW until we fix
3923         win32_exception_handler( ) in win32.cc w.r.t. Win32 
3924         Structured Exception Handling (SEH).
3925
3926         * win32.cc (_Jv_platform_initProperties): Use generic names
3927         like "x86" for the "os.arch" property to be consistent with
3928         what Sun's JDK produces. Use the wProcessorArchitecture
3929         member of the Win32 SYSTEM_INFO structure, filled in a call 
3930         to GetSystemInfo( ), instead of dwProcessorType.
3931
3932 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
3933             Ranjit Mathew  <rmathew@hotmail.com>
3934
3935         * Makefile.am: Use cross-compiling gcjh from the path for
3936         a crossed-native build.
3937         * Makefile.in: Rebuilt.
3938         * configure.in: Include libltdl in non-newlib builds.
3939         Moved determination of gcj used to build libraries to
3940         its own section. Fixed cross-compilation issues for
3941         non-newlib builds.
3942         * configure: Rebuilt.
3943
3944 2003-07-25  Tom Tromey  <tromey@redhat.com>
3945
3946         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
3947         (write): Likewise.
3948         (read): Likewise.
3949         (read): Likewise.
3950
3951 2003-07-25  Mark Wielaard  <mark@klomp.org>
3952
3953         * java/lang/natRuntime.cc (_load): Add library name to
3954         UnsatisfiedLinkError when thrown.
3955
3956 2003-07-25  Mark Wielaard  <mark@klomp.org>
3957
3958         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
3959         added.
3960         * Makefile.in: Likewise.
3961
3962 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
3963
3964         * java/awt/Component.java
3965         (getPreferredSize): Call preferredSize.
3966         (preferredSize): Moved body of getPreferredSize here.
3967         (getMinimumSize): Call minimumSize.
3968         (minimumSize): Moved body of getMinimumSize here.
3969         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
3970         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
3971         pass -1
3972         * java/awt/Container.java
3973         (validate): Don't validate if there is no peer.
3974         (update): Clear background before calling paint.
3975         * java/awt/GridBagLayout.java
3976         Completed the implementation and fixed several bugs.
3977         * java/awt/MediaTracker.java
3978         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
3979         combine flags.
3980         * java/awt/Window.java
3981         (Window): Don't call setVisible(false). Windows are invisible by
3982         default and calling virtual methods from constructor causes
3983         compatibility problems (e.g. subclasses may assume that the peer
3984         already exists).
3985
3986 2003-07-25  Michael Koch  <konqueror@gmx.de>
3987
3988         * java/awt/GridBagLayout.java:
3989         Totally reworked and partly implemented.
3990         * java/awt/GridBagLayoutInfo.java:
3991         New file.
3992
3993 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
3994
3995         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
3996         Don't pack label in an event box.
3997
3998 2003-07-24  Tom Tromey  <tromey@redhat.com>
3999
4000         For PR libgcj/7482:
4001         * verify.cc (ref_intersection): New class.
4002         (type_val): Removed unresolved_reference_type,
4003         uninitialized_unresolved_reference_type.
4004         (is_assignable_from_slow): Rewrote.
4005         (type::data): Removed.
4006         (type::klass): New field.
4007         (type::type): Added verifier argument.
4008         (type::resolve): Removed.
4009         (type::set_uninitialized): Updated for change to type_val.
4010         (type::set_initialized): Likewise.
4011         (type::isinitialized): Likewise.
4012         (type::print): Likewise.
4013         (construct_primitive_array_type): Likewise.
4014         (type::compatible): Updated for change to type_val and to use
4015         ref_intersection.
4016         (type::isarray): Updated to use ref_intersection.
4017         (type::isinterface): Likewise.
4018         (type::element_type): Likewise.
4019         (type::to_array): Likewise.
4020         (type::verify_dimensions): Rewrote.
4021         (type::merge): Likewise.
4022         (check_class_constant): Updated for type constructor change.
4023         (check_constant): Likewise.
4024         (check_field_constant): Likewise.
4025         (get_one_type): Likewise.
4026         (initialize_stack): Likewise.
4027         (verify_instructions_0): Likewise.
4028         (verify_instructions_0) [op_invokeinterface]: Removed special
4029         case.
4030         (isect_list): New field.
4031         (_Jv_BytecodeVerifier): Initialize it.
4032         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
4033
4034 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
4035
4036         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
4037         unless field size is 2.
4038
4039 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
4040
4041         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4042         (connectHooks): New method.
4043         (handleEvent): Remove.
4044         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4045         (createHooks): Remove declaration.
4046         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4047         (generates_key_typed_event): Change to handle only certain
4048         keyvals.
4049         (awt_event_handler): Add special handling for GtkTextView.
4050         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4051         (textcomponent_commit_cb): New function.
4052         (textcomponent_changed_cb): Likewise.
4053         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4054         (connectHooks): Remove.
4055
4056 2003-07-23  Tom Tromey  <tromey@redhat.com>
4057
4058         * java/lang/natSystem.cc (arraycopy): Check for overflow.
4059
4060         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
4061
4062 2003-07-22  Tom Tromey  <tromey@redhat.com>
4063
4064         * boehm.cc (_Jv_BuildGCDescr): Wrote.
4065         Include limits.h.
4066
4067 2003-07-22  Tom Tromey  <tromey@redhat.com>
4068
4069         * java/awt/Window.java (getWarningString): Just return the
4070         string.
4071         (Window): Set warningString; check with security manager.
4072
4073 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
4074
4075         * gnu/awt/xlib/XGraphicsConfiguration.java
4076         (FontMetricsCache): Made static.
4077  
4078 2003-07-22  Tom Tromey  <tromey@redhat.com>
4079
4080         * java/net/URLEncoder.java (encode(String)): Use platform default
4081         encoding.
4082         (encode(String,String)): Convert to 2-digit upper-case hex
4083         number.
4084         (hex): New field.
4085
4086 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4087
4088         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4089         (create): Remove unused method implementation.
4090         (connectHooks): Remove debug messages.
4091
4092 2003-07-20  Anthony Green  <green@redhat.com>
4093
4094         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
4095         CloneNotSupportedException.
4096         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
4097         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
4098         * gnu/gcj/xlib/GC.java (clone): Ditto.
4099         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
4100         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
4101
4102         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
4103         handler.
4104         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
4105
4106 2003-07-20  Steve Pribyl <steve@netfuel.com.>
4107
4108         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
4109         String.  Put dlerror() message into exception.
4110         Include UnsatisfiedLinkError.
4111         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
4112         String.  Now native.
4113
4114 2003-07-20  Tom Tromey  <tromey@redhat.com>
4115
4116         * java/lang/Runtime.java: Comment fix.
4117         * java/lang/ClassLoader.java (isAncestorOf): New method.
4118         (getParent): Uncommented security check.  Use isAncestorOf.
4119         * include/jvm.h (_Jv_CheckAccess): Declare.
4120         * java/lang/reflect/natConstructor.cc (newInstance): Perform
4121         access check.
4122         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
4123         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
4124         class loader to _Jv_GetArrayClass.
4125         Include ArrayIndexOutOfBoundsException.h.
4126         * java/lang/reflect/Field.java: Update comment to reflect status.
4127         (equals): Fixed indentation.
4128         * java/lang/Class.h (Class): Declare memberAccessCheck, not
4129         checkMemberAccess.  Make _Jv_CheckAccess a friend.
4130         * java/lang/Class.java (memberAccessCheck): New method from
4131         Classpath.
4132         (checkMemberAccess): Removed.
4133         (getDeclaredMethod): Use memberAccessCheck.
4134         (getField): Likewise.
4135         (getMethod): Likewise.
4136         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
4137         (_Jv_SearchMethodInClass): Likewise.
4138         * prims.cc (_Jv_CheckAccess): New function.
4139         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
4140         (_Jv_JNI_GetAnyFieldID): Likewise.
4141         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
4142         (getClassLoader): Added security check.
4143         (getConstructor): Call memberAccessCheck.
4144         (getDeclaredClasses): Likewise.
4145         (getDeclaredField): Likewise.
4146         (getDeclaredFields): Likewise.
4147         (_getConstructors): Likewise.
4148         (getDeclaredConstructor): Likewise.
4149         (getDeclaredMethods): Likewise.
4150         (getFields): Likewise.
4151         (getMethods): Likewise.
4152         (newInstance): Likewise.
4153         (_Jv_MakeVTable): Put method name in exception.
4154         * java/lang/reflect/natMethod.cc (getType): Use
4155         getClassLoaderInternal.
4156         (_Jv_GetTypesFromSignature): Likewise.
4157         (invoke): Perform access check.
4158         (_Jv_CallAnyMethodA): Removed old FIXME comments.
4159         Include ArrayIndexOutOfBoundsException.h.
4160         * java/lang/reflect/natField.cc (getType): Use
4161         getClassLoaderInternal.
4162         (_Jv_CheckFieldAccessibility): Removed.
4163         (getAddr): Use _Jv_CheckAccess; find caller.
4164         Include ArrayIndexOutOfBoundsException.h.
4165
4166 2003-07-20  Michael Koch  <konqueror@gmx.de>
4167
4168         * java/net/URL.java
4169         (URL): Fixed documentation to name an argument correcty, Reformatted
4170         one method declaration.
4171         (getURLStreamHandler): Added documentation from classpath.
4172
4173 2003-07-19  Tom Tromey  <tromey@redhat.com>
4174
4175         * mauve-libgcj: Don't run CollationElementIterator tests.
4176
4177 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
4178
4179         * java/net/URLClassLoader.java (addURL): Moved implementation to
4180         private addURLImpl() to avoid calling addURL from the constructor.
4181         (addURLImpl): Contains the code that was previously in addURL.
4182         (addURLs): Call addURLImpl(), not addURL().
4183
4184 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4185
4186         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
4187         Handle missing event cases, connect to "value-changed" signal.
4188
4189 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4190
4191         * java/awt/geom/CubicCurve2D.java,
4192         java/awt/geom/Line2D.java,
4193         java/awt/geom/QuadCurve2D.java,
4194         java/awt/geom/Rectangle2D.java: 
4195         Fix path some calculations, make path iterators follow
4196         a consistent style.
4197
4198 2003-07-18  Mark Wielaard  <mark@klomp.org>
4199
4200         * java/util/logging/Handler.java (isLoggable): Check record level
4201         smaller or equal.
4202
4203 2003-07-17  Michael Koch  <konqueror@gmx.de>
4204
4205         * gnu/java/awt/peer/gtk/GtkToolkit.java:
4206         Reworked imports.
4207
4208 2003-07-14  Michael Koch  <konqueror@gmx.de>
4209
4210         * gnu/java/rmi/server/UnicastServerRef.java:
4211         New version from classpath.
4212
4213 2003-07-14  Michael Koch  <konqueror@gmx.de>
4214
4215         * java/awt/image/MemoryImageSource.java,
4216         java/beans/PropertyEditorManager.java,
4217         javax/naming/CompoundName.java,
4218         javax/naming/spi/NamingManager.java,
4219         javax/swing/AbstractButton.java,
4220         javax/swing/ButtonModel.java,
4221         javax/swing/SwingUtilities.java,
4222         javax/swing/UIManager.java,
4223         javax/swing/colorchooser/DefaultColorSelectionModel.java,
4224         javax/swing/event/AncestorEvent.java,
4225         javax/swing/event/InternalFrameEvent.java,
4226         java/util/zip/ZipFile.java:
4227         New versions from classpath.
4228
4229 2003-07-13  Michael Koch  <konqueror@gmx.de>
4230
4231         * gnu/java/nio/FileChannelImpl.java,
4232         gnu/java/nio/natFileChannelImpl.cc: Removed.
4233         * java/io/FileInputStream.java,
4234         java/io/FileOutputStream.java,
4235         java/io/RandomAccessFile.java,
4236         java/nio/MappedByteBufferImpl.java:
4237         Import java.nio.channels.FileChannelImpl instead of
4238         gnu.java.nio.FileChannelImpl.
4239         * java/nio/channels/FileChannelImpl.java,
4240         java/nio/channels/natFileChannelImpl.cc:
4241         New files.
4242         * Makefile.am
4243         (ordinary_java_source_files):
4244         Removed gnu/java/nio/FileChannelImpl.java and added
4245         java/nio/channels/FileChannelImpl.java.
4246         (nat source_files):
4247         Removed gnu/java/nio/natFileChannelImpl.cc and added
4248         java/nio/channels/natFileChannelImpl.cc.
4249         * Makefile.in: Regenerated.
4250
4251 2003-07-13  Michael Koch  <konqueror@gmx.de>
4252
4253         * javax/swing/plaf/basic/BasicBorders.java,
4254         javax/swing/plaf/basic/BasicLabelUI.java,
4255         javax/swing/plaf/basic/BasicLookAndFeel.java,
4256         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4257         javax/swing/plaf/basic/BasicTextUI.java,
4258         javax/swing/plaf/metal/MetalLookAndFeel.java:
4259         New versions from classpath.
4260
4261 2003-07-13  Michael Koch  <konqueror@gmx.de>
4262
4263         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
4264         * gnu/java/awt/peer/gtk/GdkGraphics.java
4265         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
4266         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
4267         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
4268         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
4269         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
4270         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
4271         * gnu/java/awt/peer/gtk/GtkClipboard.java
4272         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
4273         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4274         * gnu/java/awt/peer/gtk/GtkFramePeer.java
4275         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
4276         * gnu/java/awt/peer/gtk/GtkImage.java
4277         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4278         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
4279         * gnu/java/awt/peer/gtk/GtkListPeer.java
4280         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
4281         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
4282         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
4283         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
4284         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
4285         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
4286         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
4287         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4288         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
4289         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
4290         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4291         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4292
4293 2003-07-13  Michael Koch  <konqueror@gmx.de>
4294
4295         * gnu/java/locale/LocaleInformation_de.java
4296         * gnu/java/locale/LocaleInformation_en.java
4297         * gnu/java/locale/LocaleInformation_nl.java
4298
4299 2003-07-13  Michael Koch  <konqueror@gmx.de>
4300
4301         * gnu/java/awt/EmbeddedWindow.java,
4302         gnu/java/awt/EmbeddedWindowSupport.java,
4303         gnu/java/awt/natEmbeddedWindow.cc:
4304         New files.
4305         * java/awt/Window.java
4306         (Window): New constructor to support embedded windows.
4307         * Makefile.am
4308         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
4309         gnu/java/awt/EmbeddedWindowSupport.java.
4310         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
4311         * Makefile.in: Regenerated.
4312
4313 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
4314
4315         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
4316         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
4317         * java/awt/im/InputContext.java: Remove a redundant
4318         partial line.
4319
4320 2003-07-09  Tom Tromey  <tromey@redhat.com>
4321
4322         * Makefile.in: Rebuilt.
4323         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
4324
4325 2003-07-09  Mark Wielaard  <mark@klomp.org>
4326
4327         * java/io/ObjectOutputStream.java (writeObject): break after
4328         calling writeClassDescriptor().
4329
4330 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
4331
4332         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
4333
4334 2003-07-09  Michael Koch  <konqueror@gmx.de>
4335
4336         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4337         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4338         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4339         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
4340         Explicitly import used classes.
4341         * java/awt/Container.java: New version from classpath.
4342
4343 2003-07-09  Michael Koch  <konqueror@gmx.de>
4344
4345         * libgcj.pc.in: New file.
4346         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
4347         * Makefile.in: Regenerated.
4348         * configure: Regenrated.
4349         * configure.in: Create libgcj.pc from libgcj.pc.in.
4350
4351 2003-07-08  Mark Wielaard <mark@klomp.org>
4352
4353         * gcj/cni.h: CNI now expands to Compiled Native Interface.
4354
4355         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
4356         * java/lang/fdlibm.h: Likewise.
4357
4358 2003-07-07  Adam Megacz <adam@xwt.org>
4359
4360         * posix.cc: added #include<stdio.h>
4361                 
4362 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
4363
4364         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
4365         formatting.
4366
4367         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4368         (setCaretPosition, setEditable): Rely entirely on native
4369         implementation.
4370         (getArgs): Remove.
4371         (postTextEvent): New method.
4372         (handleEvent): New method.
4373         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
4374         method.
4375         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
4376         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4377         (keysym_to_awt_keycode): Fix range checks.
4378         (generates_key_typed_event): New function.
4379         (awt_event_handler): Post AWT_KEY_RELEASED events to event
4380         queue.
4381         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4382         (gtkInit): Store TextComponent's postTextEvent method ID.
4383         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4384         (setText): Post TEXT_VALUE_CHANGED event to event queue.
4385
4386 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4387
4388         * configure.in: Check for usleep declaration.
4389         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
4390         * configure: Regenerate.
4391         * include/config.h.in: Likewise.
4392         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
4393
4394 2003-07-01  Michael Koch  <konqueror@gmx.de>
4395
4396         * gnu/gcj/convert/natIconv.cc
4397         (iconv_init): Fixed possible memory leak by releasing allocated iconv
4398         handle.
4399
4400 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
4401
4402         * glib-2.0.m4: New file.
4403         * gtk-2.0.m4: New file.
4404         * glib.m4: Remove.
4405         * gtk.m4: Remove.
4406         * configure.in: Update AM_PATH_GTK macro call to
4407         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
4408         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4409         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4410         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4411         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4412         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4413         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4414         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4415         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4416         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4417         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4418         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4419         jni/gtk-peer/gthread-jni.c,
4420         jni/gtk-peer/gthread-jni.h:
4421         New versions from classpath.
4422         * aclocal.m4: Regenerate.
4423         * configure: Regenerate.
4424         * Makefile.in: Regenerate.
4425         * gcj/Makefile.in: Regenerate.
4426         * include/Makefile.in: Regenerate.
4427         * testsuite/Makefile.in: Regenerate.
4428
4429 2003-06-30  Gary Benson  <gbenson@redhat.com>
4430
4431         For PR libgcj/11349:
4432         * javax/naming/spi/NamingManager.java (getURLContext): Use
4433         correct name for factory class.
4434
4435 2003-06-28  Michael Koch  <konqueror@gmx.de>
4436
4437         * java/io/PrintStream.java
4438         (checkError): Call flush() instead of direct flushing of the Writer
4439         object.
4440         (print): Call print(String) instead of direct print method of the
4441         Writer Object.
4442         (println): Call println(String) instead of direct println method of the
4443         Writer Object.
4444         (write): Simplified.
4445
4446 2003-06-28  Michael Koch  <konqueror@gmx.de>
4447
4448         * java/net/ServerSocket.java
4449         (setChannel): New method.
4450         * java/net/Socket.java
4451         (setChannel): New method.
4452
4453 2003-06-27  Michael Koch  <konqueror@gmx.de>
4454
4455         * java/beans/beancontext/BeanContextSupport.java:
4456         New version from classpath.
4457
4458 2003-06-27  Michael Koch  <konqueror@gmx.de>
4459
4460         * java/awt/Window.java,
4461         java/awt/font/GraphicAttribute.java,
4462         java/awt/font/ImageGraphicAttribute.java,
4463         java/awt/image/DataBufferByte.java,
4464         java/awt/image/DataBufferInt.java,
4465         java/awt/image/DataBufferUShort.java,
4466         java/awt/image/DirectColorModel.java,
4467         java/awt/image/PixelGrabber.java:
4468         New versions from classpath.
4469
4470 2003-06-27  Michael Koch  <konqueror@gmx.de>
4471
4472         * java/security/Certificate.java
4473         (getGuarantor): Removed wrong @deprecated tag.
4474         (getPrincipal): Likewise.
4475         (getPublicKey): Likewise.
4476         (encode): Likewise.
4477         (decode): Likewise.
4478         (getFormat): Likewise.
4479         (toString): Likewise.
4480         * java/security/cert/PolicyQualifierInfo.java
4481         (PolicyQualifierInfo): Made final.
4482         * javax/security/auth/x500/X500Principal.java
4483         (serialVersionUID): New member variable.
4484
4485 2003-06-27  Michael Koch  <konqueror@gmx.de>
4486
4487         * java/text/Format.java
4488         (serialVersionUID): Fixed value.
4489
4490 2003-06-27  Michael Koch  <konqueror@gmx.de>
4491
4492         * java/net/Inet4Address.java
4493         (Inet4Address): Made package-private.
4494         * java/net/Inet6Address.java
4495         (Inet4Address): Made package-private.
4496
4497 2003-06-27  Michael Koch  <konqueror@gmx.de>
4498
4499         * java/io/RandomAccessFile.java
4500         (readLine): Removed wrong @deprecated tag.
4501         (getChannel): Made final.
4502
4503 2003-06-27  Michael Koch  <konqueror@gmx.de>
4504
4505         * gnu/java/nio/FileChannelImpl.java
4506         (write): Removed.
4507
4508 2003-06-27  Michael Koch  <konqueror@gmx.de>
4509
4510         * java/nio/ByteBufferImpl.java
4511         (ByteBufferImpl): Made it a package-private class
4512         * java/nio/CharBufferImpl.java
4513         (CharBufferImpl): Made it a package-private class
4514         * java/nio/DirectByteBufferImpl.java
4515         (DirectByteBufferImpl): Made it a package-private class
4516         * java/nio/DoubleBufferImpl.java
4517         (DoubleBufferImpl): Made it a package-private class
4518         * java/nio/FloatBufferImpl.java
4519         (FloatBufferImpl): Made it a package-private class
4520         * java/nio/IntBufferImpl.java
4521         (IntBufferImpl): Made it a package-private class
4522         * java/nio/LongBufferImpl.java
4523         (LongBufferImpl): Made it a package-private class
4524         * java/nio/ShortBufferImpl.java
4525         (ShortBufferImpl): Made it a package-private class
4526         * java/nio/channels/FileChannel.java
4527         (write): Made final.
4528         * java/nio/channels/ServerSocketChannel.java
4529         (ServerSocketChanne): Made protected.
4530
4531 2003-06-27  Michael Koch  <konqueror@gmx.de>
4532
4533         * javax/naming/CompositeName.java
4534         (serialVersionUID): New member variable.
4535         * javax/naming/CompoundName.java
4536         (serialVersionUID): New member variable.
4537         * javax/naming/InitialContext.java
4538         (InitialContext): Throws NamingException.
4539         (init): Likewise.
4540         * javax/naming/LinkRef.java
4541         (serialVersionUID): New member variable.
4542         (gteLinkName): Throws NamingException.
4543         * javax/naming/NamingException.java
4544         (serialVersionUID): New member variable.
4545         * javax/naming/NamingSecurityException.java
4546         (NamingSecurityException): Made abstract.
4547         (serialVersionUID): New member variable.
4548         * javax/naming/ReferralException.java
4549         (serialVersionUID): New member variable.
4550         * javax/naming/StringRefAddr.java
4551         (serialVersionUID): New member variable.
4552         * javax/naming/directory/BasicAttribute.java:
4553         Reworked imports.
4554         (serialVersionUID): New member variable.
4555         (get): Throws NamingException.
4556         (getAll): Throws NamingException.
4557         * javax/naming/directory/BasicAttributes.java:
4558         Reworked imports.
4559         (serialVersionUID): New member variable.
4560         * javax/naming/ldap/UnsolicitedNotificationEvent.java
4561         (serialVersionUID): New member variable.
4562
4563 2003-06-27  Michael Koch  <konqueror@gmx.de>
4564
4565         * Makefile.am
4566         (awt_java_source_files): Added new files:
4567         javax/swing/Popup.java,
4568         javax/swing/PopupFactory.java
4569         * Makefile.in: Regenerated.
4570
4571 2003-06-27  Michael Koch  <konqueror@gmx.de>
4572
4573         * javax/swing/JWindow.java,
4574         javax/swing/event/AncestorEvent.java,
4575         javax/swing/event/HyperlinkEvent.java,
4576         javax/swing/event/InternalFrameEvent.java,
4577         javax/swing/event/ListDataEvent.java,
4578         javax/swing/event/TableModelEvent.java,
4579         javax/swing/plaf/PopupMenuUI.java,
4580         javax/swing/plaf/SplitPaneUI.java,
4581         javax/swing/plaf/TabbedPaneUI.java,
4582         javax/swing/plaf/TextUI.java,
4583         javax/swing/plaf/TreeUI.java,
4584         javax/swing/plaf/basic/BasicTextUI.java,
4585         javax/swing/plaf/basic/BasicTreeUI.java:
4586         New versions from classpath.
4587         * javax/swing/Popup.java,
4588         javax/swing/PopupFactory.jav:
4589         New source files from classpath.
4590         * javax/swing/plaf/doc-files/TreeUI-1.png:
4591         New binary files from classpath.
4592
4593 2003-06-25  Michael Koch  <konqueror@gmx.de>
4594
4595         * Makefile.am
4596         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
4597         * Makefile.in: Regenerated.
4598
4599 2003-06-25  Michael Koch  <konqueror@gmx.de>
4600
4601         * javax/swing/plaf/ActionMapUIResource.java,
4602         javax/swing/plaf/BorderUIResource.java,
4603         javax/swing/plaf/ButtonUI.java,
4604         javax/swing/plaf/ColorChooserUI.java,
4605         javax/swing/plaf/ColorUIResource.java,
4606         javax/swing/plaf/ComboBoxUI.java,
4607         javax/swing/plaf/ComponentInputMapUIResource.java,
4608         javax/swing/plaf/ComponentUI.java,
4609         javax/swing/plaf/DesktopIconUI.java,
4610         javax/swing/plaf/DesktopPaneUI.java,
4611         javax/swing/plaf/DimensionUIResource.java,
4612         javax/swing/plaf/FileChooserUI.java,
4613         javax/swing/plaf/FontUIResource.java,
4614         javax/swing/plaf/IconUIResource.java,
4615         javax/swing/plaf/InputMapUIResource.java,
4616         javax/swing/plaf/InsetsUIResource.java,
4617         javax/swing/plaf/InternalFrameUI.java,
4618         javax/swing/plaf/LabelUI.java,
4619         javax/swing/plaf/ListUI.java,
4620         javax/swing/plaf/MenuBarUI.java,
4621         javax/swing/plaf/MenuItemUI.java,
4622         javax/swing/plaf/OptionPaneUI.java,
4623         javax/swing/plaf/PanelUI.java,
4624         javax/swing/plaf/ProgressBarUI.java,
4625         javax/swing/plaf/RootPaneUI.java,
4626         javax/swing/plaf/ScrollBarUI.java,
4627         javax/swing/plaf/ScrollPaneUI.java,
4628         javax/swing/plaf/SeparatorUI.java,
4629         javax/swing/plaf/SliderUI.java,
4630         javax/swing/plaf/TableHeaderUI.java,
4631         javax/swing/plaf/TableUI.java,
4632         javax/swing/plaf/ToolBarUI.java,
4633         javax/swing/plaf/ToolTipUI.java,
4634         javax/swing/plaf/ViewportUI.java:
4635         New versions from classpath.
4636         * javax/swing/plaf/SpinnerUI.java: 
4637         New file from classpath
4638
4639 2003-06-25  Michael Koch  <konqueror@gmx.de>
4640
4641         * java/awt/image/ColorModel.java:
4642         New version from classpath.
4643
4644 2003-06-25  Michael Koch  <konqueror@gmx.de>
4645
4646         * java/net/PlainDatagramSocketImpl.java:
4647         Partly merged with classpath, this mainly adds documentation.
4648
4649 2003-06-25  Michael Koch  <konqueror@gmx.de>
4650
4651         * java/io/ObjectInputStream.java
4652         (readClassDescriptor): New method.
4653         (readObject): Moved functionality to readClassDescriptor().
4654         * java/io/ObjectOutputStream.java
4655         (writeClassDescriptor): New method.
4656         (writeObject): Moved functionality to writeClassDescriptor().
4657
4658 2003-06-25  Michael Koch  <konqueror@gmx.de>
4659
4660         * javax/swing/plaf/basic/BasicListUI.java,
4661         javax/swing/plaf/basic/BasicOptionPaneUI.java:
4662         Added missing methods.
4663
4664 2003-06-25  Michael Koch  <konqueror@gmx.de>
4665
4666         * javax/swing/event/AncestorEvent.java
4667         javax/swing/event/HyperlinkEvent.java
4668         javax/swing/event/InternalFrameEvent.java
4669         javax/swing/event/ListDataEvent.java
4670         javax/swing/event/TableModelEvent.java:
4671         Compile fixes.
4672
4673 2003-06-24  Michael Koch  <konqueror@gmx.de>
4674
4675         * java/net/URL.java:
4676         Renamed "handler" to "ph" in the whole file to match classpaths
4677         version.
4678         * java/net/URLStreamHandler.java:
4679         (equals): Renamed "handler" to "ph".
4680
4681 2003-06-24  Michael Koch  <konqueror@gmx.de>
4682
4683         * javax/swing/event/AncestorEvent.java,
4684         javax/swing/event/HyperlinkEvent.java,
4685         javax/swing/event/InternalFrameEvent.java,
4686         javax/swing/event/ListDataEvent.java,
4687         javax/swing/event/TableModelEvent.java,
4688         javax/swing/event/TreeWillExpandListener.java,
4689         javax/swing/plaf/ComponentUI.java,
4690         javax/swing/plaf/DesktopIconUI.java,
4691         javax/swing/plaf/DesktopPaneUI.java,
4692         javax/swing/plaf/DimensionUIResource.java,
4693         javax/swing/plaf/FileChooserUI.java,
4694         javax/swing/plaf/FontUIResource.java,
4695         javax/swing/plaf/IconUIResource.java,
4696         javax/swing/plaf/InputMapUIResource.java,
4697         javax/swing/plaf/InsetsUIResource.java,
4698         javax/swing/plaf/InternalFrameUI.java,
4699         javax/swing/plaf/LabelUI.java,
4700         javax/swing/plaf/ListUI.java,
4701         javax/swing/plaf/MenuBarUI.java,
4702         javax/swing/plaf/MenuItemUI.java,
4703         javax/swing/plaf/OptionPaneUI.java,
4704         javax/swing/plaf/PanelUI.java,
4705         javax/swing/plaf/ProgressBarUI.java,
4706         javax/swing/plaf/doc-files/ComponentUI-1.dia,
4707         javax/swing/plaf/doc-files/ComponentUI-1.png:
4708         New versions from classpath.
4709
4710 2003-06-24  Michael Koch  <konqueror@gmx.de>
4711
4712         * java/nio/Buffer.java
4713         (cap): Made package-private.
4714         (pos): Likewise.
4715         (limit): Likewise.
4716         (mark): Likewise.
4717
4718 2003-06-24  Michael Koch  <konqueror@gmx.de>
4719
4720         * java/net/SocketImpl.java
4721         (shutdownInput): Made it non-abstract method throwing an exception
4722         like in SUNs JRE.
4723         (shutdownOutput): Likewise.
4724         * java/net/SocketInputStream.java,
4725         java/net/SocketOutputStream.java:
4726         New files from classpath.
4727
4728 2003-06-24  Michael Koch  <konqueror@gmx.de>
4729
4730         * java/awt/Font.java,
4731         java/awt/Window.java,
4732         java/awt/color/ColorSpace.java,
4733         java/awt/datatransfer/StringSelection.java,
4734         java/awt/image/ColorModel.java:
4735         New versions from classpath.
4736
4737 2003-06-24  Michael Koch  <konqueror@gmx.de>
4738
4739         * Makefile.am
4740         (awt_java_source_files): Added new files:
4741         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4742         javax/swing/plaf/basic/BasicSplitPaneUI.java
4743         * Makefile.in: Regenerated.
4744
4745 2003-06-24  Michael Koch  <konqueror@gmx.de>
4746
4747         * javax/swing/text/JTextComponent.java:
4748         New version from classpath.
4749
4750 2003-06-24  Michael Koch  <konqueror@gmx.de>
4751
4752         * javax/swing/Timer.java,
4753         javax/swing/plaf/ActionMapUIResource.java,
4754         javax/swing/plaf/ButtonUI.java,
4755         javax/swing/plaf/ColorChooserUI.java,
4756         javax/swing/plaf/ColorUIResource.java,
4757         javax/swing/plaf/ComboBoxUI.java,
4758         javax/swing/plaf/ComponentInputMapUIResource.java,
4759         javax/swing/plaf/basic/BasicBorders.java:
4760         New versions from classpath.
4761         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
4762         javax/swing/plaf/basic/BasicSplitPaneUI.java:
4763         New file from classpath.
4764         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
4765         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
4766         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
4767         javax/swing/plaf/doc-files/ComponentUI-1.dia,
4768         javax/swing/plaf/doc-files/ComponentUI-1.png:
4769         New binary files from classpath.
4770
4771 2003-06-24  Michael Koch  <konqueror@gmx.de>
4772
4773         * java/io/LineNumberReader.java
4774         (skip): Dont do line number accounting here as this is already done in
4775         read(), simplified.
4776
4777 2003-06-21  Michael Koch  <konqueror@gmx.de>
4778
4779         * java/io/File.java
4780         (static): Load javaio lib if existing (only in classpath).
4781         (File): Revised documentation to show the correct argument name.
4782         (createTempFile): Partly merged with classpath.
4783         (compareTo): Simplified.
4784         (lastModified): Throw exception if time < 0.
4785         (deleteOnExit): Revised documentation.
4786
4787 2003-06-21  Michael Koch  <konqueror@gmx.de>
4788
4789         * java/net/PlainSocketImpl.java:
4790         Reformatted.
4791         (PlainSocketImpl): Merged class documentaion with classpath.
4792         (in): Moved.
4793         (out): Moved.
4794         (PlainSocketImpl): New empty constructor.
4795         (finalize): Moved.
4796         (setOption): Merged documentation from classpath.
4797         (getOption): Likewise.
4798         (create): Likewise.
4799         (connect): Likewise.
4800         (bind): Likewise.
4801         (listen): Likewise.
4802         (accept): Likewise.
4803         (available): Likewise.
4804         (close): Likewise.
4805         (read): Likewise.
4806         (write): Likewise.
4807         (getInputStream): Made synchronozed to get sure that only one stream
4808         object can be created for this socket, merged documentation from
4809         classpath.
4810         (getOutputStream): Likewise.
4811
4812 2003-06-21  Michael Koch  <konqueror@gmx.de>
4813
4814         * java/net/PlainSocketImpl.java:
4815         Reformatting.
4816         (static): New implicit method.
4817         (read): Made package private.
4818         (write): Likewise.
4819
4820 2003-06-21  Michael Koch  <konqueror@gmx.de>
4821
4822         * java/util/SimpleTimeZone.java:
4823         Removed unneeded import, reformatting.
4824
4825 2003-06-21  Michael Koch  <konqueror@gmx.de>
4826
4827         * java/text/DateFormat.java,
4828         java/text/SimpleDateFormat.java,
4829         java/util/Locale.java:
4830         New versions from classpath.
4831
4832 2003-06-21  Michael Koch  <konqueror@gmx.de>
4833
4834         * javax/swing/SpinnerModel.java:
4835         New file from classpath.
4836         * javax/swing/border/LineBorder.java,
4837         javax/swing/border/SoftBevelBorder.java,
4838         javax/swing/plaf/BorderUIResource.java,
4839         javax/swing/plaf/basic/BasicBorders.java:
4840         New versions from classpath.
4841         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
4842         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
4843         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
4844         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
4845         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
4846         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
4847         New binary files from classpath.
4848
4849 2003-06-21  Michael Koch  <konqueror@gmx.de>
4850
4851         * java/util/logging/LogRecord.java,
4852         java/util/logging/Logger.java,
4853         java/util/logging/SocketHandler.java,
4854         java/util/logging/SimpleFormatter.java,
4855         java/util/logging/Formatter.java,
4856         java/util/logging/ErrorManager.java,
4857         java/util/logging/Handler.java,
4858         java/util/logging/FileHandler.java,
4859         java/util/logging/LogManager.java,
4860         java/util/logging/Level.java,
4861         java/util/logging/ConsoleHandler.java,
4862         java/util/logging/StreamHandler.java,
4863         java/util/logging/LoggingPermission.java,
4864         java/util/logging/Filter.java,
4865         java/util/logging/MemoryHandler.java,
4866         java/util/logging/XMLFormatter.java:
4867         New files from classpath.
4868
4869 2003-06-20  Michael Koch  <konqueror@gmx.de>
4870
4871         * java/io/ObjectStreamField.java
4872         (unshared): new member variable.
4873         (ObjectStreamField): New constructor.
4874         (isUnshared): New method.
4875
4876 2003-06-20  Michael Koch  <konqueror@gmx.de>
4877
4878         * java/net/URLStreamHandler.java
4879         (hostsEqual): Rewritten.
4880
4881 2003-06-20  Michael Koch  <konqueror@gmx.de>
4882
4883         * gnu/java/nio/MappedByteFileBuffer.java,
4884         gnu/java/nio/natMappedByteFileBuffer.cc:
4885         Removed
4886         * java/nio/MappedByteBufferImpl.java:
4887         New file.
4888         * gnu/java/nio/FileChannelImpl.java:
4889         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
4890         * Makefile.am
4891         (ordinary_java_source_files): Removed
4892         gnu/java/nio/MappedByteFileBuffer.java and added
4893         java/nio/MappedByteBufferImpl.java.
4894         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
4895         * Makefile.in: Regenerated.
4896
4897 2003-06-19  Michael Koch  <konqueror@gmx.de>
4898
4899         * gnu/java/nio/DatagramChannelImpl.java
4900         (fd): Removed.
4901         (blocking): New member variable.
4902         (socket): Likewise.
4903         (DatagramChannelImpl): Throws IOException, initialize socket.
4904         (socket):Implemented.
4905         (implCloseSelectableChannel): Throws IOException, implemented.
4906         (implConfigureBlocking): Likewise.
4907         (connect): Likewise.
4908         (disconnect): Likewise.
4909         (isConnected): Likewise.
4910         (write): Likewise.
4911         (read): Likewise.
4912         (receive): Throws IOException.
4913         (send): Likewise.
4914         * gnu/java/nio/SocketChannelImpl.java
4915         (read): Implemented.
4916         (write): Implemented.
4917
4918 2003-06-19  Michael Koch  <konqueror@gmx.de>
4919
4920         * javax/swing/JComponent.java,
4921         javax/swing/JInternalFrame.java,
4922         javax/swing/MenuSelectionManager.java,
4923         javax/swing/SwingUtilities.java,
4924         javax/swing/ToggleButtonModel.java:
4925         New versions from classpath.
4926
4927 2003-06-19  Michael Koch  <konqueror@gmx.de>
4928
4929         * java/text/CollationElementIterator.java
4930         (NULLORDER): Initialize with -1 as JDK documentation says.
4931
4932 2003-06-19  Michael Koch  <konqueror@gmx.de>
4933
4934         * java/net/HttpURLConnection.java,
4935         java/net/Inet4Address.java,
4936         java/net/Inet6Address.java,
4937         java/net/SocketImpl.java,
4938         java/net/URLClassLoader.java:
4939         Reworked import statements.
4940         * java/net/InetAddress.java
4941         (getByAddress): Simplified.
4942         * java/net/ServerSocket.java
4943         (ServerSocket): Moved special handling during bind operation to
4944         bind().
4945         (bind): Handle different cases when trying to bind a socket.
4946         * java/net/URLConnection.java
4947         (getHeaderFieldDate): Merged with classpath.
4948         (getHeaderFieldInt): Likewise.
4949
4950 2003-06-19  Michael Koch  <konqueror@gmx.de>
4951
4952         * java/util/zip/InflaterInputStream.java
4953         (InflaterInputStream): Throw NullPointerException if in is null (as
4954         JDK does).
4955
4956 2003-06-19  Michael Koch  <konqueror@gmx.de>
4957
4958         * java/awt/Font.java
4959         javax/swing/UIManager.java
4960         javax/swing/border/AbstractBorder.java
4961         javax/swing/border/BevelBorder.java
4962         javax/swing/border/Border.java
4963         javax/swing/border/CompoundBorder.java
4964         javax/swing/border/EmptyBorder.java
4965         javax/swing/border/EtchedBorder.java
4966         javax/swing/border/LineBorder.java
4967         javax/swing/border/MatteBorder.java
4968         javax/swing/border/TitledBorder.java
4969         javax/swing/plaf/BorderUIResource.java
4970         javax/swing/plaf/basic/BasicBorders.java
4971         javax/swing/plaf/basic/BasicButtonUI.java
4972         javax/swing/plaf/basic/BasicCheckBoxUI.java
4973         javax/swing/plaf/basic/BasicGraphicsUtils.java
4974         javax/swing/plaf/basic/BasicLabelUI.java
4975         javax/swing/plaf/basic/BasicRadioButtonUI.java
4976         javax/swing/plaf/basic/BasicToggleButtonUI.java:
4977         New versions from classpath.
4978         * javax/swing/border/SoftBevelBorder.java:
4979         New file from classpath.
4980         * javax/swing/border/doc-files/LineBorder-1.png,
4981         javax/swing/border/doc-files/BevelBorder-1.png,
4982         javax/swing/border/doc-files/BevelBorder-2.png,
4983         javax/swing/border/doc-files/BevelBorder-3.png,
4984         javax/swing/border/doc-files/EmptyBorder-1.png,
4985         javax/swing/border/doc-files/EtchedBorder-1.png,
4986         javax/swing/border/doc-files/EtchedBorder-2.png,
4987         javax/swing/border/doc-files/MatteBorder-1.png,
4988         javax/swing/border/doc-files/MatteBorder-2.png,
4989         javax/swing/border/doc-files/MatteBorder-3.png,
4990         javax/swing/border/doc-files/MatteBorder-4.png,
4991         javax/swing/border/doc-files/MatteBorder-5.png,
4992         javax/swing/border/doc-files/MatteBorder-6.png,
4993         javax/swing/border/doc-files/SoftBevelBorder-1.png,
4994         javax/swing/border/doc-files/SoftBevelBorder-2.png,
4995         javax/swing/border/doc-files/SoftBevelBorder-3.png,
4996         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
4997         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
4998         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
4999         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
5000         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
5001         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
5002         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
5003         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
5004         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
5005         New binary files from classpath.
5006         * Makefile.am
5007         (awt_java_source_files): Added
5008         javax/swing/border/SoftBevelBorder.java.
5009         * Makefile.in: Regenerated.
5010
5011 2003-06-19  Michael Koch  <konqueror@gmx.de>
5012
5013         * gnu/java/security/x509/X509Certificate.java
5014         (writeReplace): Merged from classpath.
5015
5016 2003-06-19  Michael Koch  <konqueror@gmx.de>
5017
5018         * gnu/java/nio/FileChannelImpl.java
5019         (map_address): Made public.
5020         (FileChannelImpl): Merged with classpath.
5021         * gnu/java/nio/natFileChannelImpl.cc
5022         (nio_mmap_file): Commented out unused arguments.
5023         (nio_unmmap_file): Likewise.
5024         (niu_msync): Likewise.
5025
5026 2003-06-19  Michael Koch  <konqueror@gmx.de>
5027
5028         * java/awt/image/IndexColorModel.java:
5029         New version from classpath.
5030
5031 2003-06-18  Tom Tromey  <tromey@redhat.com>
5032
5033         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
5034         on arrays.
5035         (isLoopbackAddress): Likewise.
5036         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
5037         on arrays.
5038
5039 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
5040
5041         * java/lang/natVMSecurityManager.cc (getClassContext):
5042         Use maxlen instead of len for loop bound.
5043
5044 2003-06-18  Michael Koch  <konqueror@gmx.de>
5045
5046         * gnu/java/nio/SelectorImpl.java
5047         (register): Use fd with value 0 for now, will be fixed later.
5048         * gnu/java/nio/ServerSocketChannelImpl.java
5049         (fd): Removed.
5050         (local_port): Removed.
5051         (InetSocketAddress): Removed.
5052         (ServerSocketChannelImpl): Just initialize internal socket object.
5053         (implCloseSelectableChannel): Close internal socket object.
5054         (implConfigureBlocking): Added comment.
5055         (accept): Use jaba.net stuff to accept socket.
5056         * gnu/java/nio/SocketChannelImpl.java
5057         (fd): Removed.
5058         (local_port): Removed.
5059         (InetSocketAddress): Removed.
5060         (SocketCreate): Removed.
5061         (SocketConnect): Removed.
5062         (SocketBind): Removed.
5063         (SocketListen): Removed.
5064         (SocketAvailable): Removed.
5065         (SocketClose): Removed.
5066         (SocketRead): Removed.
5067         (SocketWrite): Removed.
5068         (SocketChannelImpl): Just initialize internal socket object.
5069         (implCloseSelectableChannel): Close internal socket object.
5070         (implConfigureBlocking): Fixed implementation, added comment.
5071         (connect): Use internal socket object to connect.
5072         (socket): No need for sanity checks.
5073         (read): Comment out some stuff, this will be reimplemented in the next
5074         commit.
5075         (write): Likewise.
5076         * gnu/java/nio/natFileChannelImpl.cc
5077         (nio_mmap_file): Line wrapped.
5078         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
5079         * Makefile.am
5080         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
5081         * Makefile.in: Regenerated.
5082
5083 2003-06-18  Michael Koch  <konqueror@gmx.de>
5084
5085         * java/util/Locale.java
5086         (equals): Merged from classpath.
5087
5088 2003-06-18  Michael Koch  <konqueror@gmx.de>
5089
5090         * java/net/InetAddress.java:
5091         Reformatted to better match classpath's version.
5092         * java/net/URL.java
5093         (equals): Simplified.
5094         * java/net/URLConnection.java
5095         (setDoInput): Revised documentation.
5096         (getDefaultUseCaches): Likewise.
5097         (setRequestProperty): Added @since tag.
5098
5099 2003-06-17  Michael Koch  <konqueror@gmx.de>
5100
5101         * java/net/InetSocketAddress.java
5102         (InetSocketAddress): Use wildcard address if addr is null.
5103         (InetSocketAddress): Dont duplicate implementation.
5104         (InetSocketAddress): Throw exception when hostname is null.
5105         * java/net/Socket.java:
5106         Reworked imports.
5107         (Socket): Throw exception when raddr is null, handle case when laddr
5108         is null.
5109
5110 2003-06-17  Michael Koch  <konqueror@gmx.de>
5111
5112         * java/nio/DirectByteBufferImpl.java
5113         (address): Made package private.
5114         (DirectByteBufferImpl): New constructor.
5115         * java/nio/natDirectByteBufferImpl.cc
5116         (allocateImpl): Moved to java.nio namespace, implemented.
5117         (freeImpl): Likewise.
5118         (getImpl): Likewise.
5119         (putImpl): Likewise.
5120         * jni.cc
5121         (_Jv_JNI_NewDirectByteBuffer): Implemented.
5122         (_Jv_JNI_GetDirectBufferAddress): Implemented.
5123         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
5124
5125 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5126
5127         * include/powerpc-signal.h: New File.
5128         * configure.in: Use it.
5129         * configure: Regenerated.
5130
5131 2003-06-17  Michael Koch  <konqueror@gmx.de>
5132
5133         * java/util/Locale.java
5134         (getDisplayLanguage): Made it final.
5135         (getDisplayCountry): Likewise.
5136         (getDisplayVariant): Likewise.
5137         (getDisplayName): Likewise.
5138
5139 2003-06-17  Michael Koch  <konqueror@gmx.de>
5140
5141         * java/util/PropertyResourceBundle.java:
5142         Removed unneeded import.
5143
5144 2003-06-17  Michael Koch  <konqueror@gmx.de>
5145
5146         * java/util/prefs/AbstractPreferences.java,
5147         java/util/prefs/PreferencesFactory.java:
5148         Reworked imports, removed unused imports.
5149         * java/util/prefs/Preferences.java
5150         (systemNodeForPackage): Method takes a Class not an Object.
5151         (userNodeForPackage): Likewise.
5152         (nodeForPackage): Likewise.
5153
5154 2003-06-17  Michael Koch  <konqueror@gmx.de>
5155
5156         * gnu/java/security/x509/X509Certificate.java:
5157         Explicitely import used classes.
5158
5159 2003-06-17  Michael Koch  <konqueror@gmx.de>
5160
5161         * java/util/zip/ZipEntry.java,
5162         java/util/zip/ZipFile.java,
5163         java/util/zip/ZipInputStream.java,
5164         java/util/zip/ZipOutputStream.java:
5165         Reworked imports, only import used classes.
5166
5167 2003-06-17  Michael Koch  <konqueror@gmx.de>
5168
5169         * gnu/java/lang/ArrayHelper.java,
5170         gnu/java/lang/ClassHelper.java:
5171         Reformatted to match classpath's versions.
5172
5173 2003-06-14  Michael Koch  <konqueror@gmx.de>
5174
5175         * gnu/java/nio/FileChannelImpl.java
5176         (map_address): Removed incorrect comment.        
5177         * gnu/java/nio/SelectorImpl.java
5178         (register): Remove code duplication and code for file channel handling.        
5179         * gnu/java/nio/ServerSocketChannelImpl.java
5180         (serverSocket): Renamed from sock_object.
5181         (ServerSocketChannel): Initialize serverSocket.
5182         (socket): Return serverSocket.
5183         * gnu/java/nio/SocketChannelImpl.java
5184         (socket): Renamed from sock_object.
5185         (isConnectionPenging): Simplified.
5186         (socket): Return socket.
5187 2003-06-14  Michael Koch  <konqueror@gmx.de>
5188
5189         * java/security/BasicPermission.java:
5190         New version from classpath.
5191
5192 2003-06-14  Michael Koch  <konqueror@gmx.de>
5193
5194         * javax/naming/directory/Attribute.java:
5195         New version from classpath.
5196
5197 2003-06-14  Michael Koch  <konqueror@gmx.de>
5198
5199         * java/io/BufferedReader.java,
5200         java/io/FileOutputStream.java:
5201         New versions from classpath.
5202
5203 2003-06-12  Andrew Haley  <aph@redhat.com>
5204
5205         * prims.cc (catch_segv): Create exception in handler.
5206         (catch_fpe): Likewise.  
5207         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
5208         (_Jv_ThrowSignal): Remove.
5209
5210         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
5211         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
5212         to nullp and arithexception.
5213         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5214         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5215         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5216         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5217         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5218
5219 2003-06-11  Andrew Haley  <aph@redhat.com>
5220
5221         * jni.cc (_Jv_JNI_check_types): New.
5222         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
5223         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
5224         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
5225         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
5226         
5227         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
5228         infinite loop.
5229
5230 2003-06-11  Tom Tromey  <tromey@redhat.com>
5231
5232         * java/lang/ClassLoader.java (loadClass): Not deprecated.
5233         * java/io/PrintStream.java: Not deprecated.
5234
5235 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
5236
5237         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
5238         (fillOval): implemented
5239         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
5240         (fillArc): implemented.
5241         * gnu/gcj/xlib/GC.java (drawArc): added native method.
5242         (fillArc): added native method.
5243         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
5244         (fillArc): added native method.
5245
5246 2003-06-11  Michael Koch  <konqueror@gmx.de>
5247
5248         * java/awt/im/InputSubset.java:
5249         New version from classpath.
5250
5251 2003-06-11  Michael Koch  <konqueror@gmx.de>
5252
5253         * javax/swing/AbstractAction.java,
5254         javax/swing/AbstractButton.java,
5255         javax/swing/AbstractCellEditor.java,
5256         javax/swing/AbstractListModel.java,
5257         javax/swing/BorderFactory.java,
5258         javax/swing/Box.java,
5259         javax/swing/BoxLayout.java,
5260         javax/swing/ButtonGroup.java,
5261         javax/swing/DefaultButtonModel.java,
5262         javax/swing/DefaultListModel.java,
5263         javax/swing/DefaultListSelectionModel.java,
5264         javax/swing/FocusManager.java,
5265         javax/swing/ImageIcon.java,
5266         javax/swing/InputMap.java,
5267         javax/swing/JApplet.java,
5268         javax/swing/JButton.java,
5269         javax/swing/JCheckBox.java,
5270         javax/swing/JCheckBoxMenuItem.java,
5271         javax/swing/JColorChooser.java,
5272         javax/swing/JComboBox.java,
5273         javax/swing/JComponent.java,
5274         javax/swing/JDesktopPane.java,
5275         javax/swing/JDialog.java,
5276         javax/swing/JEditorPane.java,
5277         javax/swing/JFileChooser.java,
5278         javax/swing/JFormattedTextField.java,
5279         javax/swing/JFrame.java,
5280         javax/swing/JLabel.java,
5281         javax/swing/JLayeredPane.java,
5282         javax/swing/JList.java,
5283         javax/swing/JMenuBar.java,
5284         javax/swing/JMenuItem.java,
5285         javax/swing/JOptionPane.java,
5286         javax/swing/JPanel.java,
5287         javax/swing/JPasswordField.java,
5288         javax/swing/JPopupMenu.java,
5289         javax/swing/JProgressBar.java,
5290         javax/swing/JRadioButton.java,
5291         javax/swing/JRadioButtonMenuItem.java,
5292         javax/swing/JRootPane.java,
5293         javax/swing/JScrollBar.java,
5294         javax/swing/JScrollPane.java,
5295         javax/swing/JSeparator.java,
5296         javax/swing/JSlider.java,
5297         javax/swing/JTabbedPane.java,
5298         javax/swing/JTable.java,
5299         javax/swing/JTextField.java,
5300         javax/swing/JToggleButton.java,
5301         javax/swing/JToolBar.java,
5302         javax/swing/JToolTip.java,
5303         javax/swing/JTree.java,
5304         javax/swing/JViewport.java,
5305         javax/swing/JWindow.java,
5306         javax/swing/KeyStroke.java,
5307         javax/swing/ListSelectionModel.java,
5308         javax/swing/LookAndFeel.java,
5309         javax/swing/RepaintManager.java,
5310         javax/swing/ScrollPaneLayout.java,
5311         javax/swing/SizeRequirements.java,
5312         javax/swing/SwingConstants.java,
5313         javax/swing/Timer.java,
5314         javax/swing/UIDefaults.java,
5315         javax/swing/UIManager.java,
5316         javax/swing/border/AbstractBorder.java,
5317         javax/swing/border/CompoundBorder.java,
5318         javax/swing/colorchooser/AbstractColorChooserPanel.java,
5319         javax/swing/colorchooser/ColorChooserComponentFactory.java,
5320         javax/swing/colorchooser/ColorSelectionModel.java,
5321         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5322         javax/swing/event/AncestorEvent.java,
5323         javax/swing/event/HyperlinkEvent.java,
5324         javax/swing/event/InternalFrameAdapter.java,
5325         javax/swing/event/InternalFrameEvent.java,
5326         javax/swing/event/ListDataEvent.java,
5327         javax/swing/event/MouseInputAdapter.java,
5328         javax/swing/event/SwingPropertyChangeSupport.java,
5329         javax/swing/event/TableModelEvent.java,
5330         javax/swing/event/TreeWillExpandListener.java,
5331         javax/swing/event/UndoableEditEvent.java,
5332         javax/swing/filechooser/FileFilter.java,
5333         javax/swing/filechooser/FileSystemView.java,
5334         javax/swing/filechooser/FileView.java,
5335         javax/swing/plaf/BorderUIResource.java,
5336         javax/swing/plaf/basic/BasicDefaults.java,
5337         javax/swing/table/AbstractTableModel.java,
5338         javax/swing/table/DefaultTableCellRenderer.java,
5339         javax/swing/table/DefaultTableColumnModel.java,
5340         javax/swing/table/DefaultTableModel.java,
5341         javax/swing/table/TableColumn.java,
5342         javax/swing/text/JTextComponent.java,
5343         javax/swing/tree/AbstractLayoutCache.java,
5344         javax/swing/tree/DefaultMutableTreeNode.java,
5345         javax/swing/tree/DefaultTreeCellEditor.java,
5346         javax/swing/tree/DefaultTreeCellRenderer.java,
5347         javax/swing/tree/DefaultTreeModel.java,
5348         javax/swing/tree/DefaultTreeSelectionModel.java,
5349         javax/swing/tree/FixedHeightLayoutCache.java,
5350         javax/swing/tree/TreeCellEditor.java,
5351         javax/swing/tree/TreeModel.java,
5352         javax/swing/tree/TreeNode.java,
5353         javax/swing/tree/TreePath.java,
5354         javax/swing/tree/TreeSelectionModel.java,
5355         javax/swing/tree/VariableHeightLayoutCache.java,
5356         javax/swing/undo/AbstractUndoableEdit.java,
5357         javax/swing/undo/CompoundEdit.java,
5358         javax/swing/undo/StateEdit.java,
5359         javax/swing/undo/UndoManager.java,
5360         javax/swing/undo/UndoableEditSupport.java:
5361         New versions from classpath.
5362         * javax/swing/table/JTableHeader.java:
5363         New file from classpath.
5364         * Makefile.am
5365         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
5366         * Makefile.in: Regenerated.
5367
5368 2003-06-11  Michael Koch  <konqueror@gmx.de>
5369
5370         * java/nio/MappedByteBuffer.java,
5371         java/nio/channels/Channels.java,
5372         java/nio/channels/ServerSocketChannel.java,
5373         java/nio/channels/spi/AbstractSelector.java:
5374         Removed unneeded imports.
5375
5376 2003-06-11  Michael Koch  <konqueror@gmx.de>
5377
5378         * java/net/DatagramSocket.java:
5379         Partly merged with classpath.
5380
5381 2003-06-11  Michael Koch  <konqueror@gmx.de>
5382
5383         * java/awt/Frame.java,
5384         java/awt/Graphics.java,
5385         java/awt/Menu.java,
5386         java/awt/Robot.java,
5387         java/awt/image/ColorModel.java:
5388         New versions from classpath.
5389
5390 2003-06-10  Michael Koch  <konqueror@gmx.de>
5391
5392         * java/io/PrintStream.java:
5393         Merged version from classpath.
5394         (close): Removed sychronized keyword. This class is not garantied to
5395         be thread-safe.
5396         (write): Likewise.
5397
5398 2003-06-09  Tom Tromey  <tromey@redhat.com>
5399
5400         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
5401         field.
5402         (getDescent): Likewise, for "descent".
5403
5404 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
5405
5406         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
5407         (getMaxDescent): adjusted return value.
5408         (getAscent): modified to use metrics for 'O'.
5409         (getDescent): modified to use metrics for 'y'.
5410
5411 2003-06-08  Anthony Green  <green@redhat.com>
5412
5413         * java/net/URLStreamHandler.java (sameFile): Fix port value
5414         comparison.
5415         * java/net/URL.java (handler): Make package private.
5416         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
5417
5418 2003-06-07  Tom Tromey  <tromey@redhat.com>
5419
5420         For PR libgcj/11085:
5421         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
5422         Limit number of characters in numeric field when required.
5423         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
5424         Respect maximumIntegerDigits.
5425
5426 2003-06-08  Michael Koch  <konqueror@gmx.de>
5427
5428         * java/net/Socket.java
5429         (Socket): Dont initialize inputShutdown and outputShutdown twice,
5430         call bind() and connect() to actually do the bind and connect tasks.
5431         (bind): Connect to canonical address if bindpoint is null, create
5432         socket and bind it to bindpoint.
5433         (connect): Check for exceptions.
5434
5435 2003-06-08  Michael Koch  <konqueror@gmx.de>
5436
5437         * java/net/DatagramSocket.java
5438         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
5439         into the Multicast constructors.
5440         * java/net/DatagramSocketImpl.java
5441         (getOption): Removed.
5442         (setOption): Removed.
5443         * java/net/MulticastSocket.java
5444         (MulticastSocket): Call setReuseAddress (true).
5445         * java/net/SocketImpl.java
5446         (getOption): Removed.
5447         (setOption): Removed.
5448
5449 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
5450
5451         PR libgcj/10886:
5452         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
5453         Test for empty vector.
5454
5455 2003-06-06  Mark Wielaard  <mark@klomp.org>
5456
5457         * java/security/Security.java (secprops): Initialize.
5458         (loadProviders): Return boolean.
5459         (static): Check result of loadProvider calls. If necessary
5460         display WARNING and fallback to Gnu provider.
5461
5462 2002-06-06  James Clark  <jjc@jclark.com>
5463
5464         Fix for PR libgcj/8738:
5465         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
5466         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
5467         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
5468         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
5469         (write): Always decrease avail when count is increased.
5470         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
5471         and whether output buffer is full before increasing size.
5472
5473 2002-06-06  Mark Wielaard  <mark@klomp dot org>
5474
5475         * java/io/PrintStream.java (writeChars(char[],int, int)):
5476         Check converter.havePendingBytes().
5477         (writeChars(String,int,int)): Likewise.
5478         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
5479         Check converter.havePendingBytes() and flush buffer when stalled.
5480
5481 2003-06-07  Michael Koch  <konqueror@gmx.de>
5482
5483         * include/posix.h
5484         (O_DSYNC): Define O_DSYNC on platforms not
5485         supporting O_FSYNC (newlib).
5486
5487 2003-06-06  Mark Wielaard  <mark@klomp.org>
5488
5489         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
5490         AWTError.
5491
5492 2003-06-06  Michael Koch  <konqueror@gmx.de>
5493
5494         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
5495         More compile fixes from my stupid work yesterday.
5496
5497 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
5498
5499         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
5500         if _IEEE_LIBM is undefined.
5501
5502 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
5503
5504         * libjava/include/posix.h (O_SYNC): Define if not available
5505         and a reasonable, perhaps more conservative, replacement exists.
5506         (O_DSYNC): Likewise.
5507         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
5508
5509 2003-06-05  Michael Koch  <konqueror@gmx.de>
5510
5511         * javax/swing/plaf/BorderUIResource.java,
5512         javax/swing/plaf/basic/BasicDefaults.java,
5513         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5514         More compile fixes for latest Border commit. I should not commit
5515         something in this heat here ...
5516
5517 2003-06-05  Michael Koch  <konqueror@gmx.de>
5518
5519         * javax/swing/border/BevelBorder.java
5520         (BevelBorder): Removed.
5521         * javax/swing/border/EmptyBorder.java:
5522         Reformatted.
5523         (EmptyBorder): Removed.
5524         (getBorderInsets): Dont use l, r, t and b.
5525         * javax/swing/border/EtchedBorder.java
5526         (EtchedBorder): Removed.
5527         * javax/swing/border/LineBorder.java
5528         (LineBorder): Removed.
5529         * javax/swing/border/MatteBorder.java
5530         (MatteBorder): Removed.
5531         * javax/swing/border/TitledBorder.java
5532         (defaultBorder): Use other default for now.
5533         (defaultFont): Likewise.
5534         (defaultColor): Likewise.
5535
5536 2003-06-05  Michael Koch  <konqueror@gmx.de>
5537
5538         * javax/swing/border/Border.java:
5539         New version from classpath.
5540
5541 2003-06-05  Michael Koch  <konqueror@gmx.de>
5542
5543         * javax/swing/border/AbstractBorder.java,
5544         javax/swing/border/BevelBorder.java,
5545         javax/swing/border/CompoundBorder.java,
5546         javax/swing/border/EmptyBorder.java,
5547         javax/swing/border/EtchedBorder.java,
5548         javax/swing/border/LineBorder.java,
5549         javax/swing/border/MatteBorder.java,
5550         javax/swing/border/TitledBorder.java:
5551         New versions from Classpath.
5552
5553 2003-06-05  Michael Koch  <konqueror@gmx.de>
5554
5555         * java/awt/Button.java,
5556         java/awt/Checkbox.java,
5557         java/awt/CheckboxMenuItem.java,
5558         java/awt/Choice.java,
5559         java/awt/Container.java,
5560         java/awt/Dialog.java,
5561         java/awt/EventQueue.java,
5562         java/awt/FileDialog.java,
5563         java/awt/Frame.java,
5564         java/awt/Label.java,
5565         java/awt/List.java,
5566         java/awt/Menu.java,
5567         java/awt/MenuItem.java,
5568         java/awt/Panel.java,
5569         java/awt/PopupMenu.java,
5570         java/awt/Rectangle.java,
5571         java/awt/ScrollPane.java,
5572         java/awt/Scrollbar.java,
5573         java/awt/TextArea.java,
5574         java/awt/TextField.java,
5575         java/awt/Window.java,
5576         java/awt/datatransfer/DataFlavor.java,
5577         java/awt/dnd/DragSource.java,
5578         java/awt/dnd/DragSourceContext.java,
5579         java/awt/event/HierarchyEvent.java,
5580         java/awt/event/MouseWheelEvent.java,
5581         java/awt/im/InputContext.java,
5582         java/awt/image/BufferedImage.java,
5583         java/awt/image/ComponentColorModel.java,
5584         java/awt/image/Raster.java,
5585         java/awt/image/WritableRaster.java,
5586         java/awt/peer/ComponentPeer.java,
5587         java/awt/print/PageFormat.java,
5588         java/awt/print/PrinterJob.java:
5589         New versions from Classpath.
5590
5591 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
5592
5593         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
5594         numberFormat.setParseIntegerOnly(true).
5595
5596 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
5597
5598         * include/posix-threads.h: Include <machine/pal.h> on OSF.
5599
5600 2003-06-03  Andrew Haley  <aph@redhat.com>
5601
5602         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
5603         stack volatile to prevent optimization from removing it.
5604
5605 2003-05-27  Michael Koch  <konqueror@gmx.de>
5606
5607         * java/util/zip/Deflater.java
5608         (FILTERED): Merged documentation from classpath.
5609         * java/util/zip/DeflaterOutputStream.java
5610         (DeflaterOutputStream): Merged documentation and argument validity
5611         check from classpath.
5612         (deflate): Merged documentation from classpath.
5613         (finish): Likewise.
5614         * java/util/zip/Inflater.java
5615         (Inflater): Merged class documentation from classpath.
5616         (zstream): Reordered.
5617         (is_finished): Reordered.
5618         (dict_needed): Reordered.
5619         (Inflater): Reordered, merged documentation from classpath.
5620         (end): Likewise.
5621         (finalize): Merged documentation from classpath.
5622         (finished): Likewise.
5623         (getAdler): Likewise.
5624         (getRemaining): Likewise.
5625         (getTotalIn): Likewise.
5626         (getTotalOut): Likewise.
5627         (inflate): Likewise.
5628         (needsDictionary): Likewise.
5629         (needsInput): Likewise.
5630         (reset): Likewise.
5631         (setDictionary): Likewise.
5632         (setInput): Likewise.
5633
5634 2003-05-27  Michael Koch  <konqueror@gmx.de>
5635
5636         * java/net/URLConnection.java
5637         (getHeaderFieldInt): Merged with classpath.
5638
5639 2003-05-27  Michael Koch  <konqueror@gmx.de>
5640
5641         * java/io/PrintStream.java
5642         (PrintStream): Reformatted.
5643         (PrintStream): New method, merged from classpath.
5644         (write): Reformatted.
5645
5646 2003-05-27  Michael Koch  <konqueror@gmx.de>
5647
5648         * java/lang/System.java:
5649         Explicitely import needed classes.
5650
5651 2003-05-26  Michael Koch  <konqueror@gmx.de>
5652
5653         * java/net/NetPermission.java,
5654         java/net/NetworkInterface.java,
5655         java/net/PasswordAuthentication.java,
5656         java/net/SocketPermission.java:
5657         New versions from classpath.
5658
5659 2003-05-25  Michael Koch  <konqueror@gmx.de>
5660
5661         * java/io/PushbackInputStream.java,
5662         java/net/Authenticator.java,
5663         java/net/ContentHandler.java,
5664         java/net/ContentHandlerFactory.java,
5665         java/net/DatagramSocket.java,
5666         java/net/DatagramSocketImpl.java,
5667         java/net/DatagramSocketImplFactory.java,
5668         java/net/FileNameMap.java,
5669         java/net/SocketImplFactory.java,
5670         java/net/SocketOptions.java,
5671         java/net/URLStreamHandlerFactory.java:
5672         Merged new versions from classpath.
5673
5674 2003-05-25  Michael Koch  <konqueror@gmx.de>
5675
5676         * java/awt/Checkbox.java,
5677         java/awt/Dialog.java,
5678         java/awt/Font.java,
5679         java/awt/Frame.java,
5680         java/awt/ScrollPaneAdjustable.java,
5681         java/awt/Scrollbar.java,
5682         java/awt/Window.java:
5683         New versions from classpath.
5684
5685 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
5686
5687         PR libgcj/10838:
5688         * java/io/ObjectInputStream (enableResolveObject):
5689         Fixed spelling of permission name.
5690
5691 2003-05-20  Michael Koch  <konqueror@gmx.de>
5692
5693         * java/io/DataInputStream.java
5694         (convertFromUTF): Merged comment from classpath.
5695         * java/io/PrintStream.java
5696         (error_occured): Renamed from error, merged comment from classpath.
5697         (PrintStream): No need to initialized error.
5698         (checkError): Replace error with error_occurred.
5699         (setError): Likewise.
5700
5701 2003-05-20  Michael Koch  <konqueror@gmx.de>
5702
5703         * java/io/DataInputStream.java:
5704         Reformatted, Replaced < and & with html entitites in documentation.
5705         * java/io/File.java:
5706         Reformatted.
5707         * java/io/PrintWriter.java:
5708         Moved class documentation.
5709
5710 2003-05-20  Michael Koch  <konqueror@gmx.de>
5711
5712         * gnu/java/nio/ByteBufferImpl.java,
5713         gnu/java/nio/CharBufferImpl.java,
5714         gnu/java/nio/CharViewBufferImpl.java,
5715         gnu/java/nio/DirectByteBufferImpl.java,
5716         gnu/java/nio/DoubleBufferImpl.java,
5717         gnu/java/nio/DoubleViewBufferImpl.java,
5718         gnu/java/nio/FloatBufferImpl.java,
5719         gnu/java/nio/FloatViewBufferImpl.java,
5720         gnu/java/nio/IntBufferImpl.java,
5721         gnu/java/nio/IntViewBufferImpl.java,
5722         gnu/java/nio/LongBufferImpl.java,
5723         gnu/java/nio/LongViewBufferImpl.java,
5724         gnu/java/nio/natDirectByteBufferImpl.cc,
5725         gnu/java/nio/ShortBufferImpl.java,
5726         gnu/java/nio/ShortViewBufferImpl.java:
5727         Moved files to java/nio.
5728         * gnu/java/nio/SocketChannelImpl.java
5729         
5730         * java/nio/ByteBuffer.java,
5731         java/nio/CharBuffer.java,
5732         java/nio/DoubleBuffer.java,
5733         java/nio/FloatBuffer.java,
5734         java/nio/IntBuffer.java,
5735         java/nio/LongBuffer.java,
5736         java/nio/ShortBuffer.java:
5737         Dont import anything.
5738         * java/nio/ByteBufferImpl.java,
5739         java/nio/CharBufferImpl.java,
5740         java/nio/CharViewBufferImpl.java,
5741         java/nio/DirectByteBufferImpl.java,
5742         java/nio/DoubleBufferImpl.java,
5743         java/nio/DoubleViewBufferImpl.java,
5744         java/nio/FloatBufferImpl.java,
5745         java/nio/FloatViewBufferImpl.java,
5746         java/nio/IntBufferImpl.java,
5747         java/nio/IntViewBufferImpl.java,
5748         java/nio/LongBufferImpl.java,
5749         java/nio/LongViewBufferImpl.java,
5750         java/nio/natDirectByteBufferImpl.cc,
5751         java/nio/ShortBufferImpl.java,
5752         java/nio/ShortViewBufferImpl.java:
5753         Moved from gnu/java/nio.
5754         * Makefile.am
5755         (ordinary_java_source_files): Moved files from gnu/java/nio to
5756         java/nio.
5757         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
5758         to java/nio.
5759         * Makefile.in: Regenerated.
5760
5761 2003-05-19  Michael Koch  <konqueror@gmx.de>
5762
5763         * java/util/Calendar.java
5764         (get): Not final anymore since JDK 1.4
5765         (set): Likewise.
5766
5767 2003-05-19  Michael Koch  <konqueror@gmx.de>
5768
5769         * java/text/CollationKey.java:
5770         Merged copyright and dat from classpath.
5771         * java/text/RuleBasedCollator.java:
5772         Merged class documentation from classpath.
5773
5774 2003-05-19  Michael Koch  <konqueror@gmx.de>
5775
5776         * java/nio/CharBuffer.java
5777         (toString): Compile fix.
5778
5779 2003-05-19  Michael Koch  <konqueror@gmx.de>
5780
5781         * gnu/java/nio/ByteBufferImpl.java
5782         (putLong): Fixed conversion to bytes.
5783         (putDouble): Fixed conversion to bytes.
5784         * gnu/java/nio/DirectByteBufferImpl.java
5785         (putLong): Fixed conversion to bytes.
5786         (putDouble): Fixed conversion to bytes.
5787         * gnu/java/nio/FileLockImpl.java
5788         (isValid): Reformatted.
5789         * java/nio/Buffer.java
5790         (Buffer): Fixed off-by-one bug in handling mark.
5791         * java/nio/ByteBuffer.java:
5792         Added newline.
5793         * java/nio/CharBuffer.java
5794         (toString): Don't use relative get to get string data.
5795
5796 2003-05-16  Michael Koch  <konqueror@gmx.de>
5797
5798         * java/io/natFileDescriptorPosix.cc
5799         (open): Commented out the O_SYNC and O_DSYNC usage until its better
5800         tested.
5801
5802 2003-05-14  Michael Koch  <konqueror@gmx.de>
5803
5804         * gnu/java/nio/FileLockImpl.java
5805         (released): New member variable.
5806         (FileLockImpl): Initialize released.
5807         (releaseImpl): New native method.
5808         (release): Implemented.
5809         * gnu/java/nio/SelectorImpl.java: Reformatted.
5810         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
5811         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
5812         (accept): Throws IOException.
5813         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
5814         (implConfigureBlocking): Throws IOException.
5815         (connect): Likewise.
5816         (read): Likewise.
5817         (write): Likewise.
5818         * gnu/java/nio/natFileLockImpl.cc: New file.
5819         * java/nio/channels/FileLock.java: Reformatted.
5820         * Makefile.am:
5821         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
5822         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
5823         * Makefile.in: Regenerated.
5824
5825 2003-05-13  Michael Koch  <konqueror@gmx.de>
5826
5827         * gnu/java/nio/CharViewBufferImpl.java
5828         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
5829         (get): Shift bits to the right direction.
5830         (put): Likewise.
5831         * gnu/java/nio/DoubleViewBufferImpl.java
5832         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
5833         (get): Shift bits to the right direction.
5834         (put): Likewise.
5835         * gnu/java/nio/FloatViewBufferImpl.java
5836         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
5837         (get): Shift bits to the right direction.
5838         (put): Likewise.
5839         * gnu/java/nio/IntViewBufferImpl.java
5840         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
5841         (get): Shift bits to the right direction.
5842         (put): Likewise.
5843         * gnu/java/nio/LongViewBufferImpl.java
5844         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
5845         (get): Shift bits to the right direction.
5846         (put): Likewise.
5847         * gnu/java/nio/ShortViewBufferImpl.java
5848         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
5849         (get): Shift bits to the right direction.
5850         (put): Likewise.
5851
5852 2003-05-13  Michael Koch  <konqueror@gmx.de>
5853
5854         * gnu/java/nio/natDirectByteBufferImpl.cc
5855         (allocateImpl): jlong -> RawData*.
5856         (freeImpl): Likewise.
5857
5858 2003-05-13  Michael Koch  <konqueror@gmx.de>
5859
5860         * java/nio/channels/FileChannel.java
5861         (MapMode.m): Made it package-private to match JDK 1.4.
5862         * java/nio/charset/Charset.java
5863         (decode): Made it final to match JDK 1.4.
5864
5865 2003-05-13  Michael Koch  <konqueror@gmx.de>
5866
5867        * java/io/FileDescriptor.java
5868        (SYNC): New constant.
5869        (DSYNC): Likewise.
5870        (getLength): Renamed from lenght() to match classpath's
5871        FileDescriptor.java.
5872        * java/io/RandomAccessFile.java
5873        (RandomAccessFile): Removed unneeded mode check, implemented mode
5874        "rws" and "rwd", merged documentation from classpath.
5875        (setLength): Reformatted.
5876        (length): Use new getLength() of FileDescriptor.
5877        * java/io/natFileDescriptorEcos.cc
5878        (getLength): Renamed from length().
5879        * java/io/natFileDescriptorPosix.cc
5880        (open): Implemented support for SYNC and DSYNC.
5881        (seek): Use getLength() instead of length().
5882        (getLength): Renamed from length().
5883        * java/io/natFileDescriptorWin32.cc
5884        (getLength): Renamed from length().
5885        (seek): Use getLength() instead of length().
5886        (available): Likewise.
5887        * gnu/java/nio/natFileChannelImpl.cc
5888        (size): Use getLength() instead of length().
5889
5890 2003-05-13  Michael Koch  <konqueror@gmx.de>
5891
5892         * gnu/java/nio/ByteBufferImpl.java
5893         (ByteBufferImpl): All constructors revised.
5894         (slice): Reimplemented.
5895         (duplicate): Reimplemented.
5896         (asReadOnlyBuffer): Reimplemented.
5897         * java/nio/ByteBuffer.java:
5898         Reformatted.
5899         (array_offset): Renamed from "offset" to match all other buffer
5900         classes.
5901         (ByteBuffer): All constructors revised.
5902         (allocateDirect): Implemented.
5903         (allocate): New implementation, documentation reworked.
5904         (wrap): Likewise.
5905         (get): Documentation reworked.
5906         (put): New implementation, documentation reworked.
5907         (hasArray): Documentation reworked.
5908         (arrayOffset): Likewise.
5909         (hashCode): Likewise.
5910         (equals): Likewise.
5911         (compareTo): Likewise.
5912         (order): Likewise.
5913         (compact): Likewise.
5914         (isDirect): Likewise.
5915         (slice): Likewise.
5916         (duplicate): Likewise.
5917         (asReadOnlyBuffer): Likewise.
5918         * Makefile.am
5919         (ordinary_java_source_files):
5920         Added gnu/java/nio/DirectByteBufferImpl.java.
5921         (nat_source_files):
5922         Added gnu/java/nio/natDirectByteBufferImpl.cc.
5923         * Makefile.in: Regenerated.
5924
5925 2003-05-12  Michael Koch  <konqueror@gmx.de>
5926
5927         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
5928         (nio_get_*): Removed.
5929         (nio_put_*): Removed.
5930         (as*Buffer): Implemented.
5931         (compact): Implemented.
5932         (get): Documentation added.
5933         (put): Documentation added.
5934         (get*): Newly implemented.
5935         (put*): Newly implemented.
5936         * gnu/java/nio/CharBufferImpl.java: Reformatted.
5937         (CharBufferImpl): Revised.
5938         (slice): New implementation.
5939         (duplicate): New implementation.
5940         (compact): New implementation.
5941         (asReadOnlyBuffer): New implementation.
5942         (get): Documentation revised.
5943         (order): Return native byte order.
5944         * gnu/java/nio/DirectByteBufferImpl.java
5945         (allocateDirect): objects can be null not 0.
5946         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
5947         (DoubleBufferImpl): Revised.
5948         (slice): New implementation.
5949         (duplicate): New implementation.
5950         (compact): New implementation.
5951         (asReadOnlyBuffer): New implementation.
5952         (get): Documentation revised.
5953         (order): Return native byte order.
5954         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
5955         (FloatBufferImpl): Revised.
5956         (slice): New implementation.
5957         (duplicate): New implementation.
5958         (compact): New implementation.
5959         (asReadOnlyBuffer): New implementation.
5960         (get): Documentation revised.
5961         (order): Return native byte order.
5962         * gnu/java/nio/IntBufferImpl.java: Reformatted.
5963         (IntBufferImpl): Revised.
5964         (slice): New implementation.
5965         (duplicate): New implementation.
5966         (compact): New implementation.
5967         (asReadOnlyBuffer): New implementation.
5968         (get): Documentation revised.
5969         (order): Return native byte order.
5970         * gnu/java/nio/LongBufferImpl.java: Reformatted.
5971         (LongBufferImpl): Revised.
5972         (slice): New implementation.
5973         (duplicate): New implementation.
5974         (compact): New implementation.
5975         (asReadOnlyBuffer): New implementation.
5976         (get): Documentation revised.
5977         (order): Return native byte order.
5978         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
5979         (ShortBufferImpl): Revised.
5980         (slice): New implementation.
5981         (duplicate): New implementation.
5982         (compact): New implementation.
5983         (asReadOnlyBuffer): New implementation.
5984         (get): Documentation revised.
5985         (order): Return native byte order.
5986         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
5987         (CharBuffer): Revised.
5988         (order): Removed.
5989         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
5990         (DoubleBuffer): Revised.
5991         (allocateDirect): Removed.
5992         (order): Removed.
5993         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
5994         (FloatBuffer): Revised.
5995         (allocateDirect): Removed.
5996         (order): Removed.
5997         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
5998         (IntBuffer): Revised.
5999         (allocateDirect): Removed.
6000         (order): Removed.
6001         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
6002         (LongBuffer): Revised.
6003         (allocateDirect): Removed.
6004         (order): Removed.
6005         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
6006         (ShortBuffer): Revised.
6007         (allocateDirect): Removed.
6008         (order): Removed.
6009         * gnu/java/nio/natByteBufferImpl.cc: Removed.
6010         * gnu/java/nio/natCharBufferImpl.cc: Removed.
6011         * Makefile.am
6012         (ordinary_java_source_files): Added the following files:
6013         gnu/java/nio/CharViewBufferImpl.java,
6014         gnu/java/nio/DoubleViewBufferImpl.java,
6015         gnu/java/nio/FloatViewBufferImpl.java,
6016         gnu/java/nio/IntViewBufferImpl.java,
6017         gnu/java/nio/LongViewBufferImpl.java,
6018         gnu/java/nio/ShortViewBufferImpl.java
6019         (nat_source_files): Removed the following files:
6020         gnu/java/nio/natByteBufferImpl.cc,
6021         gnu/java/nio/natCharBufferImpl.cc
6022         * Makefile.in: Regenerated.
6023
6024 2003-05-12  Michael Koch  <konqueror@gmx.de>
6025
6026         * gnu/java/nio/CharViewBufferImpl.java,
6027         gnu/java/nio/DirectByteBufferImpl.java,
6028         gnu/java/nio/DoubleViewBufferImpl.java,
6029         gnu/java/nio/FloatViewBufferImpl.java,
6030         gnu/java/nio/IntViewBufferImpl.java,
6031         gnu/java/nio/LongViewBufferImpl.java,
6032         gnu/java/nio/ShortViewBufferImpl.java,
6033         gnu/java/nio/natDirectByteBufferImpl.cc:
6034         New files, not yet to be compiled.
6035
6036 2003-05-10  Michael Koch  <konqueror@gmx.de>
6037
6038         * javax/swing/plaf/ButtonUI.java,
6039         javax/swing/plaf/ColorUIResource.java,
6040         javax/swing/plaf/ComponentUI.java,
6041         javax/swing/plaf/DimensionUIResource.java,
6042         javax/swing/plaf/FontUIResource.java,
6043         javax/swing/plaf/IconUIResource.java,
6044         javax/swing/plaf/InsetsUIResource.java,
6045         javax/swing/plaf/LabelUI.java,
6046         javax/swing/plaf/ListUI.java,
6047         javax/swing/plaf/OptionPaneUI.java,
6048         javax/swing/plaf/PanelUI.java,
6049         javax/swing/plaf/TabbedPaneUI.java,
6050         javax/swing/plaf/TextUI.java,
6051         javax/swing/plaf/TreeUI.java,
6052         javax/swing/plaf/ViewportUI.java,
6053         javax/swing/plaf/basic/BasicBorders.java,
6054         javax/swing/plaf/basic/BasicButtonUI.java,
6055         javax/swing/plaf/basic/BasicCheckBoxUI.java,
6056         javax/swing/plaf/basic/BasicDefaults.java,
6057         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6058         javax/swing/plaf/basic/BasicIconFactory.java,
6059         javax/swing/plaf/basic/BasicLabelUI.java,
6060         javax/swing/plaf/basic/BasicListUI.java,
6061         javax/swing/plaf/basic/BasicOptionPaneUI.java,
6062         javax/swing/plaf/basic/BasicPanelUI.java,
6063         javax/swing/plaf/basic/BasicRadioButtonUI.java,
6064         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6065         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6066         javax/swing/plaf/basic/BasicTextUI.java,
6067         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6068         javax/swing/plaf/basic/BasicTreeUI.java,
6069         javax/swing/plaf/basic/BasicViewportUI.java,
6070         javax/swing/plaf/metal/MetalLookAndFeel.java:
6071         New versions from classpath. This adds copyrights to all files and
6072         some serialVersionUIDs.
6073
6074 2003-05-10  Michael Koch  <konqueror@gmx.de>
6075
6076         * java/nio/CharBuffer.java
6077         (offset): Make it package-private.
6078         (backing_buffer): Likewise.
6079         * java/nio/DoubleBuffer.java
6080         (offset): Make it package-private.
6081         (backing_buffer): Likewise.
6082         (put): Reformatted.
6083         * java/nio/FloatBuffer.java
6084         (offset): Make it package-private.
6085         (backing_buffer): Likewise.
6086         * java/nio/IntBuffer.java
6087         (offset): Make it package-private.
6088         (backing_buffer): Likewise.
6089         * java/nio/LongBuffer.java
6090         (offset): Make it package-private.
6091         (backing_buffer): Likewise.
6092         * java/nio/ShortBuffer.java
6093         (offset): Make it package-private.
6094         (backing_buffer): Likewise.
6095
6096 2003-05-10  Michael Koch  <konqueror@gmx.de>
6097
6098         * java/nio/CharBuffer.java
6099         (put): Fixed precondtion check.
6100         (toString): Make it work without backing array.
6101         (put): Skip one level of method calling.
6102
6103 2003-05-10  Michael Koch  <konqueror@gmx.de>
6104
6105         * java/security/Identity.java,
6106         java/security/IdentityScope.java,
6107         java/security/Key.java,
6108         java/security/KeyPair.java,
6109         java/security/PrivateKey.java,
6110         java/security/Provider.java,
6111         java/security/PublicKey.java,
6112         java/security/SecureRandom.java,
6113         java/security/SecureRandomSpi.java,
6114         java/security/SignedObject.java,
6115         java/security/Signer.java,
6116         java/security/cert/Certificate.java,
6117         java/security/cert/PKIXCertPathBuilderResult.java,
6118         java/security/cert/X509Certificate.java:
6119         New versions from classpath.
6120
6121 2003-05-09  Tom Tromey  <tromey@redhat.com>
6122
6123         * Makefile.in: Rebuilt.
6124         * Makefile.am (nat_source_files): Removed old files.
6125         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
6126         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
6127         * gnu/java/nio/natIntBufferImpl.cc: Removed.
6128         * gnu/java/nio/natLongBufferImpl.cc: Removed.
6129         * gnu/java/nio/natShortBufferImpl.cc: Removed.
6130
6131 2003-05-09  Michael Koch  <konqueror@gmx.de>
6132
6133         * gnu/java/nio/ByteBufferImpl.java
6134         (nio_cast): Removed.
6135         (ByteBufferImpl): Removed.
6136         (nio_get_Byte): Removed.
6137         (nio_put_Byte): Removed.
6138         (asByteBuffer): Removed.
6139         (asCharBuffer): Removed implementation and throw exception.
6140         (asShortBuffer): Likewise.
6141         (asIntBuffer): Likewise.
6142         (asLongBuffer): Likewise.
6143         (asFloatBuffer): Likewise.
6144         (asDoubleBuffer): Likewise.
6145         * gnu/java/nio/CharBufferImpl.java
6146         (CharBufferImpl): Removed.
6147         (nio_get_Byte): Removed.
6148         (nio_put_Byte): Removed.
6149         (asByteBuffer): Removed.
6150         * gnu/java/nio/DoubleBufferImpl.java
6151         (DoubleBufferImpl): Removed.
6152         (nio_get_Byte): Removed.
6153         (nio_put_Byte): Removed.
6154         (asByteBuffer): Removed.
6155         * gnu/java/nio/FloatBufferImpl.java
6156         (FloatBufferImpl): Removed.
6157         (nio_get_Byte): Removed.
6158         (nio_put_Byte): Removed.
6159         (asByteBuffer): Removed.
6160         * gnu/java/nio/IntBufferImpl.java
6161         (IntBufferImpl): Removed.
6162         (nio_get_Byte): Removed.
6163         (nio_put_Byte): Removed.
6164         (asByteBuffer): Removed.
6165         * gnu/java/nio/LongBufferImpl.java
6166         (LongBufferImpl): Removed.
6167         (nio_get_Byte): Removed.
6168         (nio_put_Byte): Removed.
6169         (asByteBuffer): Removed.
6170         * gnu/java/nio/ShortBufferImpl.java
6171         (ShortBufferImpl): Removed.
6172         (nio_get_Byte): Removed.
6173         (nio_put_Byte): Removed.
6174         (asByteBuffer): Removed.
6175         * gnu/java/nio/natByteBufferImpl.cc
6176         (nio_cast): Removed.
6177         (nio_get_Byte): Removed.
6178         (nio_put_Byte): Removed.
6179         * gnu/java/nio/natCharBufferImpl.cc
6180         (nio_get_Byte): Removed.
6181         (nio_put_Byte): Removed.
6182
6183 2003-05-09  Michael Koch  <konqueror@gmx.de>
6184
6185         * java/net/JarURLConnection.java
6186         (getJarEntry): Merged documentation from classpath.
6187         (getJarFile): Likewise.
6188         (getMainAttributes): Likewise.
6189         (getAttributes): Likewise.
6190         (getManifest): Likewise.
6191         (getCertificates): Reformatted.
6192         * java/net/URLConnection.java:
6193         Little classpath merge.
6194
6195 2003-05-09  Michael Koch  <konqueror@gmx.de>
6196
6197         * java/io/DataOutputStream.java
6198         (writeShort): Made it synchronized.
6199         (writeChar): Likewise.
6200         (writeInt): Likewise.
6201         (writeLong): Liekwise.
6202         (writeUTF): Made it synchronized, renamed argument to match classpath.
6203         * java/io/InputStreamReader.java
6204         (converter): Added documentation.
6205         (read): Merged documentation from classpath.
6206         * java/io/OutputStreamWriter.java
6207         (OutputStreamWriter): Merged documentation from classpath.
6208         (close): Reformatted.
6209         (getEncoding): Likewise.
6210         (flush): Likewise.
6211         (write): Merged documentation from classpath, reformatted.
6212
6213 2003-05-08  Tom Tromey  <tromey@redhat.com>
6214
6215         * configure.host <powerpc64*-*>: Set with_libffi_default and
6216         libgcj_interpreter to "yes".
6217
6218 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
6219
6220         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
6221         
6222 2003-05-06  Tom Tromey  <tromey@redhat.com>
6223
6224         * verify.cc: Reverted previous patch.
6225
6226 2003-05-06  Michael Koch  <konqueror@gmx.de>
6227
6228         * java/io/DataOutputStream.java
6229         (write): Renamed argument to "value", merged documentation from
6230         classpath.
6231         (writeBoolean): Likewise.
6232         (writeByte): Likewise.
6233         (writeShort): Likewise.
6234         (writeChar): Likewise.
6235         (writeInt): Likewise.
6236         (writeLong): Likewise.
6237         (writeFloat): Likewise.
6238         (writeDouble): Likewise.
6239         (writeBytes): Likewise.
6240         (writeChars): Likewise.
6241         (writeUTF): Likewise.
6242         * java/io/File.java
6243         (performDelete): Added documentation.
6244         (performList): Likewise.
6245         (performMkdir): Likewise.
6246         (performSetReadOnly): Likewise.
6247         (performRenameTo): Likewise.
6248         (performSetLastModified): Likewise.
6249         (delete): Made it sychronized.
6250         (renameTo): Made it sychronized.
6251         (equals): Reformatted.
6252         (isHidden): Likewise.
6253         (listFiles): Likewise.
6254         (setReadOnly): Likewise.
6255         (listRoots): Likewise.
6256         (setLastModified): Likewise.
6257         (checkRead): Likewise.
6258         (checkWrite): Likewise.
6259         * java/io/FileInputStream.java
6260         (skip): Made it sychronized, merged from classpath.
6261         * java/io/FileOutputStream.java
6262         (write): Merged from classpath.
6263         * java/io/InputStreamReader.java:
6264         (InputStreamReader): Merged documentation from classpath.
6265
6266 2003-05-05  Michael Koch  <konqueror@gmx.de>
6267
6268         * java/net/NetworkInterface.java
6269         (networkInterfaces): Removed.
6270         (getByName): Use getRealNetworkInterfaces() instead of
6271         networkInterfaces.
6272         (getByInetAddress): Likewise.
6273         (getNetworkInterfaces): Likewise.
6274         (toString): Fix output of addresses of an interface.
6275
6276 2003-05-05  Michael Koch  <konqueror@gmx.de>
6277
6278         * java/io/DataInputStream.java:
6279         Merged new documentation from classpath.
6280
6281 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
6282
6283         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
6284         "version".
6285         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
6286         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
6287         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
6288         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
6289         * gnu/awt/gtk/GtkMainThread.java: Likewise.
6290         * gnu/awt/gtk/GtkToolkit.java: Likewise.
6291         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
6292         * java/security/Key.java: Likewise.
6293         * java/security/PrivateKey.java: Likewise.
6294         * java/security/Provider.java: Likewise.
6295         * java/security/PublicKey.java: Likewise.
6296
6297 2003-05-02  Michael Koch  <konqueror@gmx.de>
6298
6299         * java/net/URI.java
6300         (create): Doesnt throws any exceptions.
6301         * java/net/URLConnection.java
6302         (URLConnection): Commend added.
6303         (getExpiration): The header field is called "expires" not
6304         "expiration".
6305         (getHeaderField): Merged documentation with classpath.
6306         (getHeaderFieldInt): Likewise.
6307         (getHeaderFieldDate): Likewise.
6308         (getHeaderFieldKey): Likewise.
6309         (getPermission): Likewise.
6310         (setDefaultUseCaches): Likewise.
6311         (setRequestProperty): Likewise.
6312         (addRequestProperty): Likewise.
6313         (getRequestProperty): Likewise.
6314         (getRequestProperties): Likewise.
6315         (setDefaultRequestProperty): Likewise.
6316         (getDefaultRequestProperty): Likewise.
6317         (guessContentTypeFromStream): Likewise.
6318         (getFileNameMap): Likewise.
6319         (setFileNameMap): Likewise.
6320         (setDoInput): Merged implementation and documentation with classpath.
6321         (setDoOutput): Likewise.
6322         (setAllowUserInteraction): Likewise.
6323         (setDefaultAllowUserInteraction): Likewise.
6324         (setContentHandlerFactory): Made it synchronized, merged documentation
6325         with classpath.
6326         (guessContentTypeFromName): Renamed argument fname to filename to
6327         match classpath, merged documentation with classpath.
6328
6329 2003-05-02  Michael Koch  <konqueror@gmx.de>
6330
6331         * java/net/JarURLConnection.java
6332         (JarURLConnection): Class documentation merged with classpath.
6333         (getJarFileURL): Moved and documentation merged with classpath.
6334         (getEntryName): Likewise.
6335         (JarURLConnection): Documentation merged with classpath.
6336         (getJarEntry): Likewise.
6337         (getJarFile): Likewise.
6338         * java/net/PlainDatagramSocketImpl.java:
6339         Class documentation moved.
6340         * java/net/URLConnection.java
6341         (fileNameMap): Moved and documentation merged with classpath.
6342         (factory): Likewise.
6343         (defaultAllowUserInteraction): Likewis.
6344         (defaultUseCaches): Likewise.
6345         (allowUserInteraction): Likewise.
6346         (connected): Likewise.
6347         (url): Likewise.
6348         (connect): Documentation merged with classpath.
6349         (getURL): Likewise.
6350         (getContentLength): Likewise.
6351         (getContentType): Likewise.
6352         (getContentEncoding): Likewise.
6353         (getExpiration): Likewise.
6354         (getDate): Likewise.
6355         (getLastModified): Likewise.
6356         (getHeaderField): Likewise.
6357         (getContent): Likewise.
6358         (getPermission): Likewise.
6359         (getInputStream): Likewise.
6360         (getOutputStream): Likewise.
6361         (toString): Likewise.
6362         (getDoInput): Likewise.
6363         (getDoOutput): Likewise.
6364         (setAllowUserInteraction): Likewise.
6365         (getAllowUserInteraction): Likewise.
6366         (setDefaultAllowUserInteraction): Likewise.
6367         (getDefaultAllowUserInteraction): Likewise.
6368         (setUseCaches): Likewise.
6369         (getUseCaches): Likewise.
6370         (setIfModifiedSince): Likewise.
6371         (getIfModifiedSince): Likewise.
6372         (setDefaultRequestProperty): Likewise.
6373         (getDefaultRequestProperty): Likewise.
6374         (setContentHandlerFactory): Likewise.
6375         (setFileNameMap): Likewise.
6376
6377 2003-05-02  Michael Koch  <konqueror@gmx.de>
6378
6379         * java/net/InetAddress.java:
6380         Merged class documentation with classpath.
6381         * java/net/JarURLConnection.java:
6382         Explicitely import all used classes.
6383         * java/net/URL.java:
6384         Reformatting.
6385         * java/net/ServerSocket.java,
6386         java/net/Socket.java:
6387         New versions from classpath.
6388
6389 2003-05-02  Michael Koch  <konqueror@gmx.de>
6390
6391         * gnu/java/nio/FileChannelImpl.java
6392         (read): New implementation.
6393         (implRead): New methods.
6394         (write): New implementation, call other write insteal of read method.
6395         (implWrite): New methods.
6396         (map): Added comment.
6397         (transferFrom): Implemented.
6398         (transferTo): Implemented.
6399         (lock): Added checks to throw exceptions.
6400         (truncate): Added check to throw exception.
6401         * gnu/java/nio/natFileChannelImpl.cc
6402         (implRead): New method.
6403         (implWrite): New method.
6404         * java/nio/ByteBuffer.java
6405         (hashCode): Fixed comment.
6406         (get): Fixed exception documentation.
6407         (put): Fixed exception documentation.
6408         * java/nio/CharBuffer.java:
6409         Added comment for later optimizations.
6410
6411 2003-04-30  Tom Tromey  <tromey@redhat.com>
6412
6413         PR libgcj/10582:
6414         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
6415         Removed.
6416         (type::compatible): Use _Jv_IsAssignableFrom.
6417         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
6418         (_Jv_IsAssignableFrom): Work even when source or target class is
6419         not prepared.
6420
6421 2003-04-30  Michael Koch  <konqueror@gmx.de>
6422
6423         * java/text/BreakIterator.java
6424         (clone): New method.
6425
6426 2003-04-30  Michael Koch  <konqueror@gmx.de>
6427
6428         * java/text/CollationElementIterator.java,
6429         java/text/CollationKey.java,
6430         java/text/RuleBasedCollator.java:
6431         Merged copyright and documentation from classpath and
6432         rearranged some code. No code changes done.
6433
6434 2003-04-30  Michael Koch  <konqueror@gmx.de>
6435
6436         * java/util/regex/Matcher.java
6437         (pattern): New member variable.
6438         (appendReplacement): New method.
6439         (appendTail): New method.
6440         (end): New method.
6441         (find): New method.
6442         (group): New method.
6443         (replaceFirst): Added documentation.
6444         (replaceAll): Added documentation.
6445         (groupCount): New method.
6446         (lookingAt): New method.
6447         (matches): New method.
6448         (reset): New method.
6449         (start): New method.
6450         * java/util/regex/Pattern.java
6451         (serialVersionUID): New constant.
6452         (CANON_EQ): New constant.
6453         (CASE_INSENSITIVE): New constant.
6454         (COMMENTS): New constant.
6455         (DOTALL): New constant.
6456         (MULTILINE): New constant.
6457         (UNICODE_CASE): New constant.
6458         (UNIX_LINES): New constant.
6459         (regex): New member variable.
6460         (flags): New member variable.
6461         (Pattern): New method.
6462         (compile): Documentation added.
6463         (flags): New method.
6464         (matches): Documentation added.
6465         (matcher): Documentation added.
6466         (split): Documentation added.
6467         (pattern): New method.
6468
6469 2003-04-30  Michael Koch  <konqueror@gmx.de>
6470
6471         * gnu/java/security/Engine.java,
6472         gnu/java/security/OID.java,
6473         gnu/java/security/der/BitString.java,
6474         gnu/java/security/der/DER.java,
6475         gnu/java/security/der/DERReader.java,
6476         gnu/java/security/der/DERValue.java,
6477         gnu/java/security/der/DERWriter.java,
6478         gnu/java/security/provider/DSAKeyFactory.java,
6479         gnu/java/security/provider/X509CertificateFactory.java,
6480         gnu/java/security/x509/X500DistinguishedName.java,
6481         gnu/java/security/x509/X509CRL.java,
6482         gnu/java/security/x509/X509CRLEntry.java,
6483         gnu/java/security/x509/X509Certificate.java,
6484         java/security/cert/CRLSelector.java,
6485         java/security/cert/CertPathBuilder.java,
6486         java/security/cert/CertPathBuilderResult.java,
6487         java/security/cert/CertPathBuilderSpi.java,
6488         java/security/cert/CertPathParameters.java,
6489         java/security/cert/CertPathValidator.java,
6490         java/security/cert/CertPathValidatorResult.java,
6491         java/security/cert/CertPathValidatorSpi.java,
6492         java/security/cert/CertSelector.java,
6493         java/security/cert/CertStore.java,
6494         java/security/cert/CertStoreParameters.java,
6495         java/security/cert/CertStoreSpi.java,
6496         java/security/cert/CollectionCertStoreParameters.java,
6497         java/security/cert/LDAPCertStoreParameters.java,
6498         java/security/cert/PKIXBuilderParameters.java,
6499         java/security/cert/PKIXCertPathBuilderResult.java,
6500         java/security/cert/PKIXCertPathChecker.java,
6501         java/security/cert/PKIXCertPathValidatorResult.java,
6502         java/security/cert/PKIXParameters.java,
6503         java/security/cert/PolicyNode.java,
6504         java/security/cert/PolicyQualifierInfo.java,
6505         java/security/cert/TrustAnchor.java,
6506         javax/security/auth/x500/X500Principal.java:
6507         New files from classpath.
6508         * gnu/java/io/ASN1ParsingException.java,
6509         gnu/java/io/Base64InputStream.java,
6510         gnu/java/security/der/DEREncodingException.java,
6511         gnu/java/security/provider/DSAParameters.java,
6512         gnu/java/security/provider/DSASignature.java,
6513         gnu/java/security/provider/Gnu.java,
6514         gnu/java/security/provider/GnuDSAPrivateKey.java,
6515         gnu/java/security/provider/GnuDSAPublicKey.java,
6516         java/security/AlgorithmParameterGenerator.java,
6517         java/security/AlgorithmParameters.java,
6518         java/security/KeyFactory.java,
6519         java/security/KeyPairGenerator.java,
6520         java/security/KeyStore.java,
6521         java/security/MessageDigest.java,
6522         java/security/SecureClassLoader.java,
6523         java/security/SecureRandom.java,
6524         java/security/Security.java,
6525         java/security/Signature.java,
6526         java/security/cert/Certificate.java,
6527         java/security/cert/CertificateFactory.java,
6528         java/security/cert/CertificateFactorySpi.java,
6529         java/security/cert/X509CRL.java,
6530         java/security/cert/X509Certificate.java,
6531         java/security/spec/DSAPublicKeySpec.java:
6532         New versions from classpath.
6533         * gnu/java/security/provider/DERReader.java,
6534         gnu/java/security/provider/DERWriter.java,
6535         java/security/Engine.java: Removed.
6536         * Makefile.am
6537         (java_source_files, javax_source_files): Added new files.
6538         * Makefile.in: Regenerated.
6539
6540 2003-04-29  Michael Koch  <konqueror@gmx.de>
6541
6542         * javax/swing/JTable.java
6543         (AUTO_RESIZE_ALL_COLUMNS): New constant.
6544         (AUTO_RESIZE_LAST_COLUMN): New constant.
6545         (AUTO_RESIZE_NEXT_COLUMN): New constant.
6546         (AUTO_RESIZE_OFF): New constant.
6547         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
6548         (JTable): New method.
6549         (columnAdded): New method.
6550         (columnMarginChanged): New method.
6551         (columnMoved): New method.
6552         (columnRemoved): New method.
6553         (columnSelectionChanged): New method.
6554         (editingCanceled): New method.
6555         (editingStopped): New method.
6556         (getColumnModel): New method.
6557         (getPreferredScrollableViewportSize): New method.
6558         (getScrollableBlockIncrement): New method.
6559         (getScrollableTracksViewportHeight): New method.
6560         (getScrollableTracksViewportWidth): New method.
6561         (getScrollableUnitIncrement): New method.
6562         (getSelectedRow): New method.
6563         (getSelectionModel): New method.
6564         (tableChanged): New method.
6565         (setModel): New method.
6566         (setSelectionMode): New method.
6567         (setSelectionModel): New method.
6568         (setShowGrid): New method.
6569         (valueChanged): New method.
6570         * javax/swing/text/DefaultEditorKit.java
6571         (backwardAction): New constant.
6572         (beepAction): New constant.
6573         (beginAction): New constant.
6574         (beginLineAction): New constant.
6575         (beginParagraphAction): New constant.
6576         (beginWordAction): New constant.
6577         (copyAction): New constant.
6578         (cutAction): New constant.
6579         (defaultKeyTypedAction): New constant.
6580         (deleteNextCharAction): New constant.
6581         (deletePrevCharAction): New constant.
6582         (downAction): New constant.
6583         (endAction): New constant.
6584         (endLineAction): New constant.
6585         (endOfLineStringProperty): New constant.
6586         (endParagraphAction): New constant.
6587         (endWordAction): New constant.
6588         (forwardAction): New constant.
6589         (insertBreakAction): New constant.
6590         (insertContentAction): New constant.
6591         (insertTabAction): New constant.
6592         (nextWordAction): New constant.
6593         (pageDownAction): New constant.
6594         (pageUpAction): New constant.
6595         (pasteAction): New constant.
6596         (previousWordAction): New constant.
6597         (readOnlyAction): New constant.
6598         (selectAllAction): New constant.
6599         (selectionBackwardAction): New constant.
6600         (selectionBeginAction): New constant.
6601         (selectionBeginLineAction): New constant.
6602         (selectionBeginParagraphAction): New constant.
6603         (selectionBeginWordAction): New constant.
6604         (selectionDownAction): New constant.
6605         (selectionEndAction): New constant.
6606         (selectionEndLineAction): New constant.
6607         (selectionEndParagraphAction): New constant.
6608         (selectionEndWordAction): New constant.
6609         (selectionForwardAction): New constant.
6610         (selectionNextWordAction): New constant.
6611         (selectionPreviousWordAction): New constant.
6612         (selectionUpAction): New constant.
6613         (selectLineAction): New constant.
6614         (selectParagraphAction): New constant.
6615         (selectWordAction): New constant.
6616         (upAction): New constant.
6617         (writableAction): New constant.
6618
6619 2003-04-29  Michael Koch  <konqueror@gmx.de>
6620
6621         * java/util/PropertyPermission.java:
6622         New version from classpath
6623         * java/util/ResourceBundle.java:
6624         Partly merged from classpath
6625         (getObject): Reformated.
6626         (tryBundle): Set foundBundle = null if no bundle found.
6627
6628 2003-04-29  Michael Koch  <konqueror@gmx.de>
6629
6630         * javax/swing/AbstractListModel.java,
6631         javax/swing/DefaultBoundedRangeModel.java,
6632         javax/swing/DefaultSingleSelectionModel.java:
6633         New Versions from classpath.
6634
6635 2003-04-29  Michael Koch  <konqueror@gmx.de>
6636
6637         * java/awt/Window.java
6638         (show): Call super.show() instead of setVisible() to avoid endless
6639         loop.
6640         (hide): Call super.hide() instead of setVisible() to avoid endless
6641         loop.
6642
6643 2003-04-29  Michael Koch  <konqueror@gmx.de>
6644
6645         * java/util/zip/Deflater.java,
6646         java/util/zip/DeflaterOutputStream.java:
6647         Partly merged with classpath.
6648
6649 2003-04-27  Tom Tromey  <tromey@redhat.com>
6650
6651         * java/lang/natString.cc (_Jv_AllocString): Initialize
6652         cachedHashCode.
6653         (init): Likewise.
6654         (_Jv_NewStringUtf8Const): Likewise.
6655
6656 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
6657
6658         * include/jvm.h: (_Jv_GetNbArgs) added
6659         (_Jv_GetSafeArg) added
6660         (_Jv_SetArgs) added
6661         * prims.cc: (_Jv_GetNbArgs) implemented
6662         (_Jv_GetSafeArg) implemented
6663         (_Jv_SetArgs) implemented
6664         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
6665         setting _Jv_argc and _Jv_argv
6666         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
6667         instead of _Jv_argv
6668         * java/lang/natRuntime.cc: (insertSystemProperties) use
6669         _Jv_GetSafeArg() instead of _Jv_argv
6670
6671 2003-04-23  Tom Tromey  <tromey@redhat.com>
6672
6673         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
6674         required by this object.  Search superclasses to find required
6675         alignment.
6676         (get_alignment_from_class): Use alignment of type as it appears
6677         in a struct.
6678         (ALIGNOF): New macro.
6679         (struct aligner): New helper structure.
6680
6681 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
6682
6683         * java/awt/Container.java (addImpl): Enable paint events if adding
6684         a lightweight to a heavyweight.
6685         (addNotify): Ensure that peer is created before
6686         addNotifyContainerChildren.
6687         (addNotifyContainerChildren): Enable paint events if a heavyweight
6688         container contains a lightweight.
6689
6690 2003-04-20  Tom Tromey  <tromey@redhat.com>
6691
6692         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
6693         java/io/DataInput.java, java/io/DataOutput.java: Imports from
6694         Classpath.
6695
6696 2003-04-19  Tom Tromey  <tromey@redhat.com>
6697
6698         * java/sql/Date.java, java/sql/DriverManager.java,
6699         java/sql/Time.java, java/sql/Timestamp.java: New versions from
6700         Classpath.
6701
6702         * Makefile.in: Rebuilt.
6703         * Makefile.am (ordinary_java_source_files): Added new files.
6704         * java/security/AlgorithmParameterGenerator.java,
6705         java/security/AlgorithmParameters.java, java/security/Engine.java,
6706         java/security/Identity.java, java/security/IdentityScope.java,
6707         java/security/KeyFactory.java,
6708         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
6709         java/security/MessageDigest.java, java/security/Policy.java,
6710         java/security/ProtectionDomain.java,
6711         java/security/SecureRandom.java, java/security/Security.java,
6712         java/security/Signature.java, java/security/SignatureSpi.java,
6713         java/security/SignedObject.java, java/security/Signer.java,
6714         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
6715         java/security/spec/PSSParameterSpec.java,
6716         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
6717         java/security/spec/RSAOtherPrimeInfo.java: New versions from
6718         Classpath.
6719
6720 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6721
6722         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
6723         (dispose): Null metrics.
6724         * gnu/awt/xlib/XToolkit.java (sync): Implement.
6725         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
6726         finalize.
6727         (finalize): Call dispose.
6728         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
6729         (gcCachedCount): New field.
6730         (finalize): New method.
6731         (putGCInCache): New method.
6732         (getGCFromCache): New method.
6733         * gnu/gcj/xlib/GC.java (GC): Make protected.
6734         (clone): Get new GC from cache if possible.
6735         (create): New static method.
6736         (dispose): Save old GC in cache.
6737         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
6738         deleting.
6739         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
6740         is null.
6741         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
6742         * java/awt/Container.java (visitChild): Dispose gfx2 when
6743         finished.
6744
6745 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
6746
6747         * java/math/BigInteger.java (probablePrime): New.
6748         * java/math/BigDecimal.java (unscaledValue): New.
6749
6750 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
6751
6752         * java/io/File.java (getAbsolutePath): On Windows, take care
6753         of paths like "C:", "G:foo\bar", etc.
6754         (getName): Make it work correctly on Windows.
6755         (getParent): Make it work correctly on Windows. For UNIX,
6756         fix bug that causes "/" to be returned as the parent of "/",
6757         instead of null as returned by Sun's JRE.
6758
6759         * java/io/natFileWin32.cc: Change copyright owner to FSF.
6760
6761 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6762
6763         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
6764         inner class.
6765         (CACHE_SIZE_PER_DISPLAY): New field
6766         (fontMetricsCache): New field
6767         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
6768         loading ISO10646-1 fonts.
6769
6770 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6771
6772         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
6773         characters.
6774         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
6775         characters.
6776
6777 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
6778
6779         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
6780         floating point.
6781
6782 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
6783
6784         * configure.host (*-linux*): Don't set slow_pthread_self if primary
6785         installed libpthread is either linuxthreads with floating stacks or
6786         NPTL.
6787
6788 2003-04-14  Tom Tromey  <tromey@redhat.com>
6789
6790         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
6791         of alignment.
6792
6793 2003-04-10  Tom Tromey  <tromey@redhat.com>
6794
6795         * verify.cc (pop64): Removed.
6796         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
6797         exception if top-of-stack is narrow.
6798         (initialize_stack): Check to ensure that <init> is not static and
6799         <clinit> is.
6800
6801 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
6802
6803         * java/io/ObjectStreamException
6804         * java/io/FileFilter
6805         * java/io/FilenameFilter
6806         * java/io/ObjectInput
6807         * java/io/ObjectOutput
6808         * java/io/ObjectStreamConstants
6809         Minor doc fixes, format fixes, spelling corrections, etc.
6810         * java/io/DataInput
6811         Corrected code samples in Javadocs to match reality
6812         * java/io/DataOutput
6813         * java/io/ObjectInputValidation
6814         Major documentation fixes - all Javadocs re-written or updated
6815
6816 2003-04-06  Michael Koch  <konqueror@gmx.de>
6817
6818         * java/net/URLConnection.java:
6819         Import classes directly.
6820         (URLConnection): Merged class documentation with classpath.
6821         (url): Moved, documentation from classpath added.
6822         (doInput): Moved, documentation from classpath added.
6823         (doOutput): Moved, documentation from classpath added.
6824         (allowUserInteraction): Moved.
6825         (useCaches): Moved, documentation from classpath added.
6826         (ifModifiedSince): Moved, documentation from classpath added.
6827         (connected): Moved, documentation from classpath added.
6828
6829 2003-04-06  Michael Koch  <konqueror@gmx.de>
6830
6831         * java/io/FileInputStream.java
6832         (skip): Renamed some variables to match classpath, added
6833         checks from classpath.
6834
6835 2003-03-31  Michael Koch  <konqueror@gmx.de>
6836
6837         * javax/swing/AbstractAction.java
6838         (AbstractAction): Reformatted.
6839         (serialVersionUID): New private member variable.
6840         * javax/swing/plaf/BorderUIResource.java
6841         (serialVersionUID): New private member variable.
6842         * javax/swing/plaf/basic/BasicLookAndFeel.java
6843         (serialVersionUID): New private member variable.
6844
6845 2003-03-31  Michael Koch  <konqueror@gmx.de>
6846
6847         * java/sql/Date.java
6848         (valueOf): Deprecated, reformatted.
6849         (toString): Deprecated, reformatted.
6850         * java/sql/Time.java
6851         (valueOf): Deprecated, reformatted.
6852         (toString): Deprecated, reformatted.
6853
6854 2003-03-31  Michael Koch  <konqueror@gmx.de>
6855
6856         * java/rmi/dgc/VMID.java
6857         (isUnique): Deprecated.
6858
6859 2003-03-31  Michael Koch  <konqueror@gmx.de>
6860
6861         * java/io/File.java
6862         (separator): Merged documentation from classpath.
6863         (separatorChar): Merged documentation from classpath.
6864         (pathSeparator): Merged documentation from classpath.
6865         (pathSeparatorChar): Merged documentation from classpath.
6866         (path): Merged documentation from classpath.
6867         (canRead): Merged documentation from classpath.
6868         (canWrite): Merged documentation from classpath.
6869         (createNewFile): Merged documentation from classpath.
6870         (delete): Merged documentation from classpath.
6871         (equals): Merged documentation from classpath.
6872         (exists): Merged documentation from classpath.
6873         (File): Renamed p to name to match classpath, merged documentation
6874         from classpath.
6875         (getAbsolutePath): Merged documentation from classpath.
6876         (getCanonicalPath): Merged documentation from classpath.
6877         (getCanonicalFile): Merged documentation from classpath.
6878         (getName): Merged documentation from classpath.
6879         (getParent): Merged documentation from classpath.
6880         (getParentFile): Merged documentation from classpath.
6881         (getPath): Merged documentation from classpath.
6882         (hashCode): Merged documentation from classpath.
6883         (isAbsolute): Merged documentation from classpath.
6884         (isDirectory): Merged documentation from classpath.
6885         (isFile): Merged documentation from classpath.
6886         (isHidden): Merged documentation from classpath.
6887         (lastModified): Merged documentation from classpath.
6888         (length): Merged documentation from classpath.
6889         (list): Merged documentation from classpath.
6890         (listFiles): Merged documentation from classpath.
6891         (toString): Merged documentation from classpath.
6892         (toURL): Merged documentation from classpath.
6893         (mkdir): Merged documentation from classpath.
6894         (mkdirs): Merged documentation from classpath.
6895         (createTempFile): Merged documentation from classpath.
6896         (setReadOnly): Merged documentation from classpath.
6897         (listRoots): Merged documentation from classpath.
6898         (compareTo): Merged documentation from classpath.
6899         (renameTo): Merged documentation from classpath.
6900         (setLastModified): Merged documentation from classpath.
6901         * java/io/PrintStream.java
6902         (auto_flush): Merged documentation from classpath.
6903         (PrintStream): Merged documentation from classpath.
6904         (checkError): Merged documentation from classpath.
6905         (setError): Merged documentation from classpath.
6906         (close): Merged documentation from classpath.
6907         (flush): Merged documentation from classpath.
6908         (print): Merged documentation from classpath.
6909         (println):  Merged documentation from classpath.
6910         (write): Renamed count to len to match classpath,
6911         merged documentation from classpath.
6912         * java/io/RandomAccessFile.java
6913         (readShort): Merged documentation from classpath.
6914         (readUnsignedByte): Merged documentation from classpath.
6915         (readUnsignedShort): Merged documentation from classpath.
6916         (readUTF): Merged documentation from classpath.
6917         (seek): Reformatted, merged documentation from classpath.
6918         (skipBytes): Renamed some variables to match classpath, reformatted,
6919         merged documentation from classpath.
6920         (write): Merged documentation from classpath.
6921         (writeBoolean): Merged documentation from classpath.
6922         (writeByte): Merged documentation from classpath.
6923         (writeShort): Merged documentation from classpath.
6924         (writeChar): Merged documentation from classpath.
6925         (writeInt): Merged documentation from classpath.
6926         (writeLong): Merged documentation from classpath.
6927         (writeFloat): Merged documentation from classpath.
6928         (writeDouble): Merged documentation from classpath.
6929         (writeBytes): Merged documentation from classpath.
6930         (writeChars): Merged documentation from classpath.
6931         (writeUTF): Reformatted.
6932         (getChannel): Reformatted.
6933
6934 2003-03-31  Michael Koch  <konqueror@gmx.de>
6935
6936         * java/awt/font/TextAttribute.java
6937         (readResolve): Throws java.io.InvalidObjectException.
6938
6939 2003-03-31  Michael Koch  <konqueror@gmx.de>
6940
6941         * java/rmi/server/LoaderHandler.java
6942         (loadClass): Deprecated.
6943         (getSecurityContext): Deprecated.
6944         * java/rmi/server/LogStream.java
6945         (getDefaultStream): Deprecated.
6946         (setDefaultStream): Deprecated.
6947         (getOutputStream): Deprecated.
6948         (setOutputStream): Deprecated.
6949         (write): Deprecated.
6950         (toString): Deprecated.
6951         (parseLevel): Deprecated.
6952         * java/rmi/server/Operation.java
6953         (Operation): Deprecated.
6954         (getOperation): Deprecated.
6955         (toString): Deprecated.
6956         * java/rmi/server/RemoteCall.java
6957         (getOutputStream): Deprecated.
6958         (releaseOutputStream): Deprecated.
6959         (getInputStream): Deprecated.
6960         (releaseInputStream): Deprecated.
6961         (getResultStream): Deprecated.
6962         (executeCall): Deprecated.
6963         (done): Deprecated.
6964         * java/rmi/server/RemoteRef.java
6965         (invoke): Deprecated.
6966         (newCall): Deprecated.
6967         (done): Deprecated.
6968         * java/rmi/server/RemoteStub.java
6969         (setRef): Deprecated.
6970         * java/rmi/server/Skeleton.java:
6971         No need to import java.lang.Exception explicitly.
6972         (dispatch): Deprecated.
6973         (getOperations): Deprecated.
6974
6975 2003-03-31  Michael Koch  <konqueror@gmx.de>
6976
6977         * java/rmi/dgc/VMID.java,
6978         java/rmi/registry/RegistryHandler.java,
6979         java/rmi/server/LogStream.java,
6980         java/rmi/server/Operation.java,
6981         java/rmi/server/RemoteCall.java,
6982         java/rmi/server/RemoteRef.java,
6983         java/rmi/server/RemoteStub.java:
6984         Reformatted.
6985
6986 2003-03-31  Michael Koch  <konqueror@gmx.de>
6987
6988         * javax/swing/AbstractCellEditor.java,
6989         javax/swing/AbstractListModel.java,
6990         javax/swing/ActionMap.java,
6991         javax/swing/BorderFactory.java,
6992         javax/swing/ButtonGroup.java,
6993         javax/swing/DefaultBoundedRangeModel.java,
6994         javax/swing/DefaultButtonModel.java,
6995         javax/swing/DefaultCellEditor.java,
6996         javax/swing/DefaultComboBoxModel.java,
6997         javax/swing/DefaultDesktopManager.java,
6998         javax/swing/DefaultListCellRenderer.java,
6999         javax/swing/DefaultSingleSelectionModel.java,
7000         javax/swing/InputMap.java,
7001         javax/swing/JComponent.java,
7002         javax/swing/JMenu.java,
7003         javax/swing/JSlider.java,
7004         javax/swing/KeyStroke.java,
7005         javax/swing/OverlayLayout.java,
7006         javax/swing/ScrollPaneLayout.java,
7007         javax/swing/SizeRequirements.java,
7008         javax/swing/UIManager.java,
7009         javax/swing/ViewportLayout.java,
7010         javax/swing/border/AbstractBorder.java,
7011         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7012         javax/swing/event/EventListenerList.java,
7013         javax/swing/table/AbstractTableModel.java,
7014         javax/swing/table/DefaultTableCellRenderer.java,
7015         javax/swing/table/DefaultTableColumnModel.java,
7016         javax/swing/table/DefaultTableModel.java,
7017         javax/swing/table/TableColumn.java,
7018         javax/swing/text/StyledEditorKit.java,
7019         javax/swing/tree/DefaultMutableTreeNode.java,
7020         javax/swing/tree/DefaultTreeModel.java,
7021         javax/swing/tree/DefaultTreeSelectionModel.java,
7022         javax/swing/tree/TreePath.java,
7023         javax/swing/undo/AbstractUndoableEdit.java,
7024         javax/swing/undo/StateEdit.java,
7025         javax/swing/undo/StateEditable.java,
7026         javax/swing/undo/UndoableEditSupport.java:
7027         Merges from classpath.
7028
7029 2003-03-30  Tom Tromey  <tromey@redhat.com>
7030
7031         * java/lang/String.java (data, boffset, count): Documented.
7032         (String(byte[],String)): Reformatted.
7033         (String(byte[])): Likewise.
7034         (lastIndexOf(int)): Likewise.
7035         (lastIndexOf(String)): Likewise.
7036         (substring(int)): Renamed argument to match Classpath.
7037         (String(StringBuffer)): Don't share buffer if it is nearly empty.
7038
7039         * java/lang/String.java: Miscellaneous minor formatting changes
7040         to match Classpath more closely.
7041
7042 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
7043             Tom Tromey  <tromey@redhat.com>
7044
7045         * java/lang/natString.cc (hashCode): Use cachedHashCode.
7046         (init()): Removed.
7047         (charAt): Put index in exception.
7048         (contentEquals): New method.
7049         Include StringBuffer.h.
7050         * java/lang/String.java (cachedHashCode): New field.
7051         (String()): Follow classpath implementation.
7052         (init()): Removed.
7053         (contentEquals): Declare.
7054         (subSequence): Don't declare IndexOutIfBoundsException in throws
7055         clause.
7056         (matches, replaceFirst, replaceAll, split): New methods from
7057         Classpath.
7058
7059 2003-03-29  Tom Tromey  <tromey@redhat.com>
7060
7061         * java/lang/String.java: Reordered to follow Classpath; merged in
7062         javadoc.
7063
7064         * java/text/MessageFormat.java: Removed some whitespace.
7065
7066         * Makefile.in: Rebuilt.
7067         * Makefile.am (awt_java_source_files): Added new files.
7068         * gnu/javax/rmi/PortableServer.java,
7069         gnu/javax/rmi/CORBA/DelegateFactory.java,
7070         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7071         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7072         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7073         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7074         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7075         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
7076         javax/rmi/PortableRemoteObject.java,
7077         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
7078         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7079         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
7080         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
7081         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
7082         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
7083
7084         * java/lang/natClass.cc (newInstance): Put method name in
7085         exception.
7086         (getConstructor): Likewise.
7087         (getDeclaredConstructor): Likewise.
7088         (getPrivateMethod): Likewise.
7089
7090 2003-03-28  Tom Tromey  <tromey@redhat.com>
7091
7092         * java/lang/reflect/Proxy.java: New version from Classpath.
7093         * java/lang/Package.java: New version from Classpath.
7094
7095 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
7096
7097         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
7098         * configure: Regenerate.
7099
7100 2003-03-28  Michael Koch  <konqueror@gmx.de>
7101
7102         * java/io/File.java:
7103         Import needed classes instead of whole packages, merged class
7104         documentation with classpath, moved constants and variables to top of
7105         class.
7106         * java/io/PrintStream.java:
7107         Merged class documentation with classpath, moved constants and
7108         variables to top of class.
7109         * java/io/RandomAccessFile.java
7110         (RandomAccessFile): Merged with classpath.
7111         (read): Merged with classpath).
7112         (read*): Reformatted.
7113
7114 2003-03-28  Michael Koch  <konqueror@gmx.de>
7115
7116         * java/io/FileDescriptor.java
7117         (finalize): Throws Throwable, not IOException.
7118         * java/io/ObjectOutputStream.java
7119         (PutField.put): Doesnt throws anything.
7120
7121 2003­03-28  Michael Koch  <konqueror@gmx.de>
7122
7123         * java/io/FileOutputStream.java:
7124         Merged class documentation and authors with classpath.
7125         (FileOutputStream): Partly merged with classpath.
7126         (write): Merged with classpath.
7127         (getChannel): Make it synchronized instead of explicit block in this
7128         method.
7129         * java/io/RandomAccessFile.java:
7130         Merged class documentation and authors with classpath.
7131
7132 2003-03-26  Tom Tromey  <tromey@redhat.com>
7133
7134         * java/lang/natRuntime.cc (insertSystemProperties): Set
7135         gnu.classpath.home.url.
7136         * Makefile.in: Rebuilt.
7137         * Makefile.am: Define LIBDIR.
7138
7139 2003-03-25  Michael Koch  <konqueror@gmx.de>
7140
7141         * java/io/FileInputStream.java
7142         (read): Renamed b to buf and off to offset.
7143         * java/io/FileOutputStream.java
7144         (ch): Documentation added.
7145         (FileOutputStream): Documentation added.
7146         (getFD): Documentation added.
7147         (write): Documentation added.
7148         (close): Documentation added.
7149         (getChannel): Documentation added.
7150
7151 2003-03-24  Michael Koch  <konqueror@gmx.de>
7152
7153         * java/io/DataOutputStream.java
7154         (write): Merged from classpath.
7155         * java/io/File.java:
7156         Merged copyrigth with classpath.
7157         * java/io/FileInputStream.java
7158         (getChannel): Made it synchronized instead of using a synchronized
7159         block.
7160         * java/io/FileOutputStream.java: Reformatted.
7161         * java/io/InputStreamReader.java
7162         (InputStreamReader): Renamed enc to encoding_name.
7163         (close): Merged documentation from classpath.
7164         (getEncoding): Merged documentation from classpath.
7165         (ready): Merged documentation from classpath.
7166         (read): Merged documentation from classpath.
7167         * java/io/LineNumberReader.java
7168         (lineNumber): Made it private.
7169         (LineNumberReader): Use Constant instead of a direct value.
7170         * java/io/OutputStreamWriter.java
7171         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
7172         documentation from classpath.
7173         (close): Merged documentation from classpath.
7174         (flush): Merged documentation from classpath.
7175         (write): Merged documentation from classpath.
7176         * java/io/PrintStream.java: Reformatted.
7177
7178 2003-03-24  Michael Koch  <konqueror@gmx.de>
7179
7180         * javax/swing/text/ComponentView.java
7181         (getComponent): Must be final.
7182         * javax/swing/tree/DefaultTreeCellRenderer.java:
7183         Reformatted.
7184         * javax/swing/undo/StateEditable.java:
7185         Reformatted.
7186
7187 2003-03-24  Michael Koch  <konqueror@gmx.de>
7188
7189         * java/rmi/activation/ActivationInstantiator.java:
7190         Reformatted.
7191         * java/rmi/activation/Activator.java:
7192         Reformatted.
7193         * java/rmi/registry/RegistryHandler.java:
7194         Remerged from classpath.
7195
7196 2003-03-24  Michael Koch  <konqueror@gmx.de>
7197
7198         * java/util/Date.java:
7199         Fixed documentation starting tag to make javadoc happy.
7200         * java/util/regex/Pattern.java
7201         (Pattern): Implements Serializable.
7202         * java/util/PatternSyntaxException.java
7203         (serialVersionUID): New member variable.
7204
7205 2003-03-24  Michael Koch  <koqnueror@gmx.de>
7206
7207         * java/awt/ContainerOrderFocusTraversalPolicy.java
7208         (getFirstComponent): Implemented.
7209         (getLastComponent): Implemented.
7210         (getDefaultComponent): Implemented.
7211         (setImplicitDownCycleTraversal): Fixed implementation.
7212         * java/awt/Robot.java
7213         (Robot): Added documentation.
7214         * java/awt/Toolkit.java
7215         (getFontList): Deprecated.
7216         (getFontMetrics): Deprecated.
7217         (getPrintJob): Added documentation.
7218         (getSystemSelection): Added documentation.
7219         (getLockingKeyState): Added documentation.
7220         (setLockingKeyState): Added documentation.
7221         (createCustomCursor): Added documentation.
7222         (getBestCursorSize): Added documentation.
7223         (getMaximumCursorColors): Added documentation.
7224         (isFrameStateSupported): Added documentation.
7225
7226 2003-03-24  Michael Koch  <konqueror@gmx.de>
7227
7228         * java/io/RandomAccessFile.java:
7229         More little merges with classpath. No code changes.
7230
7231 2003-03-24  Michael Koch  <konqueror@gmx.de>
7232
7233         * java/net/natInetAddressNoNet.cc:
7234         Include stddef.h.
7235         * java/net/natPlainDatagramSocketImplNoNet.cc:
7236         Fixed inlcude of java/net/DatagramPacket.h.
7237         * java/net/natPlainSocketImplNoNet.cc:
7238         Include some missing classes.
7239
7240 2003-03-24  Michael Koch  <konqueror@gmx.de>
7241
7242         * java/awt/dnd/DropTarget.java
7243         (DropTargetAutoScroller): According to the online documentation, this
7244         is protected, but in reality it is public.
7245         * java/awt/dnd/DropTargetContext.java
7246         (TransferableProxy): According to the online documentation, this
7247         is protected, but in reality it is public.
7248
7249 2003-03-24  Michael Koch  <konqueror@gmx.de>
7250
7251         * java/io/DataInputStream.java
7252         (): Wrapped documentation line.
7253         (): Fixed @return tag.
7254         * java/io/DataOutputStream.java
7255         (written): Moved to top of class.
7256         (all methods): Merged documentation from classpath.
7257         * java/io/File.java:
7258         Merged copyright year with classpath.
7259         * java/io/FileInputStream.java
7260         (all methods): Merged documentation from classpath.
7261         * java/io/LineNumberReader.java
7262         (getLineNumber): Fixed @return tag.
7263         * java/io/ObjectInputStream.java.
7264         Reformatted.
7265         * java/io/ObjectOutputStream.java:
7266         Reformatted, fixed some @see tags.
7267         * java/io/OutputStreamWriter.java:
7268         Deleted empty line.
7269         * java/io/Writer.java:
7270         Reformatted.
7271
7272 2003-03-24  Michael Koch  <konqueror@gmx.de>
7273
7274         * java/awt/Frame.java
7275         (DEFAULT_CURSOR): Fixed @deprecated tag.
7276         (setCursor): Fixed @deprecated tag.
7277
7278 2003-03-24  Michael Koch  <konqueror@gmx.de>
7279
7280         * java/beans/beancontext/BeanContextEvent.java:
7281         Reformated.
7282
7283 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
7284
7285         * java/lang/natStringBuffer.cc (regionMatches): New function.
7286         * java/lang/String.java (count): Now package-private.
7287         * java/lang/StringBuffer.java: Merged with Classpath.
7288
7289 2003-03-23  Michael Koch  <konqueror@gmx.de>
7290
7291         * java/io/BufferedOutputStream.java:
7292         Reformated.
7293         * java/io/BufferedReader.java:
7294         Reformated.
7295         * java/io/ByteArrayOutputStream.java
7296         (size): Fixed @see tag.
7297         * java/io/CharArrayWriter.java
7298         (size): Fixed @see tag.
7299         * java/io/DataInput.java:
7300         Reformated.
7301         * java/io/DataOutput.java:
7302         Reformated.
7303         * java/io/DataOutputStream.java:
7304         Merged copyright years with classpath.
7305         * java/io/Externalizable.java:
7306         Reformated.
7307         * java/io/FileFilter.java:
7308         Reformated.
7309         * java/io/FileInputStream.java:
7310         Merged copyright years with classpath.
7311         * java/io/FileOutputStream.java:
7312         Merged copyright years with classpath.
7313         * java/io/FilePermission.java
7314         (FilePermission): Replaced @XXX with FIXME:.
7315         * java/io/FileWriter.java:
7316         Reformated.
7317         * java/io/FilenameFilter.java:
7318         Reformated.
7319         * java/io/FilterInputStream.java:
7320         Reformated.
7321         * java/io/FilterOutputStream.java:
7322         Reformated.
7323         * java/io/FilterReader.java:
7324         Reformated.
7325         * java/io/FilterWriter.java:
7326         Reformated.
7327         * java/io/LineNumberInputStream.java
7328         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
7329         happy.
7330         (getLineNumber): Fixed @return tag.
7331         * java/io/ObjectInput.java:
7332         Reformated.
7333         * java/io/ObjectOutput.java:
7334         Reformated.
7335         * java/io/ObjectStreamClass.java:
7336         Reformated.
7337         * java/io/PrintStream.java:
7338         Merged copyright years with classpath.
7339         * java/io/PushbackReader.java
7340         (PushbackReader): Replaced @code with @param.
7341         * java/io/SerializablePermission.java:
7342         Reformated.
7343         * java/io/StreamTokenizer.java
7344         (resetSyntax): Fixed @see tag.
7345
7346 2003-03-22  Richard Henderson  <rth@redhat.com>
7347
7348         * sysdep/ia64/locks.h: Include ia64intrin.h.
7349         (compare_and_swap): Use __sync_bool_compare_and_swap.
7350         (compare_and_swap_release): Expose ar.ccv assignment.
7351
7352 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
7353
7354         * include/posix.h: Add suffix for darwin dynamic libraries.
7355
7356 2003-03-21  Michael Koch  <konqueror@gmx.de>
7357
7358         * javax/swing/Action.java
7359         (ACCELERATOR_KEY): New constant.
7360         (ACTION_COMMAND_KEY): Likewise.
7361         (MNEMONIC_KEY): Likewise.
7362         * javax/swing/UnsupportedLookAndFeelException.java
7363         (UnsupportedLookAndFeelException): Must be public.
7364         * javax/swing/WindowConstants.java
7365         (EXIT_ON_CLOSE): New constant.
7366         * javax/swing/text/BadLocationException.java
7367         (offset): New member variable.
7368         (BadLocationException): New implementation, documentation added.
7369         (offsetRequested): New method.
7370         * javax/swing/text/Caret.java:
7371         Reformated.
7372         * javax/swing/text/Document.java:
7373         Reformated.
7374
7375 2003-03-21  Michael Koch  <konqueror@gmx.de>
7376
7377         * java/rmi/activation/Activatable.java
7378         (serialVersionUID): New member variable.
7379         * java/rmi/activation/ActivationGroup.java
7380         (serialVersionUID): New member variable.
7381         * java/rmi/activation/ActivationGroupDesc.java
7382         (serialVersionUID): New member variable.
7383         * java/rmi/registry/Registry.java:
7384         Reformated.
7385         (Registry): Deprecated.
7386         * java/rmi/server/LoaderHandler.java
7387         Reformated.
7388         (LoaderHandler): Deprecated.
7389         * java/rmi/server/LogStream.java
7390         Reformated.
7391         (LogStream): Deprecated.
7392         * java/rmi/server/Operation.java
7393         (Operation): Deprecated.
7394         * java/rmi/server/RMIFailureHandler.java:
7395         Reformated.
7396         * java/rmi/server/RMISocketFactory.java:
7397         Reformated.
7398         * java/rmi/server/RemoteCall.java
7399         (RemoteCall): Deprecated.
7400         * java/rmi/server/RemoteStub.java:
7401         Reformated.
7402         * java/rmi/server/Skeleton.java
7403         Reformated.
7404         (Skeleton): Deprecated.
7405
7406 2003-03-21  Michael Koch  <konqueror@gmx.de>
7407
7408         * java/io/LineNumberReader.java
7409         (LineNumberReader): Merged documentation with classpath.
7410         (getLineNumber): Likewise.
7411         (setLineNumber): Likewise.
7412         (mark): Likewise.
7413         (reset): Likewise.
7414         (read): Likewise.
7415         (readLine): Likewise.
7416         (skip): Likewise.
7417
7418 2003-03-21  Michael Koch  <konqueror@gmx.de>
7419
7420         * java/rmi/RMISecurityManager.java
7421         (checkAccept): Removed.
7422         (checkAccess): Likewise.
7423         (checkAccess): Likewise.
7424         (checkAwtEventQueueAccess): Likewise.
7425         (checkConnect): Likewise.
7426         (checkCreateClassLoader): Likewise.
7427         (checkDelete): Likewise.
7428         (checkExec): Likewise.
7429         (checkExit): Likewise.
7430         (checkLink): Likewise.
7431         (checkListen): Likewise.
7432         (checkMemberAccess): Likewise.
7433         (checkMulticast): Likewise.
7434         (checkPackageAccess): Likewise.
7435         (checkPackageDefinition): Likewise.
7436         (checkPermission): Likewise.
7437         (checkPrintJobAccess): Likewise.
7438         (checkPropertiesAccess): Likewise.
7439         (checkPropertyAccess): Likewise.
7440         (checkRead): Likewise.
7441         (checkSecurityAccess): Likewise.
7442         (checkSetFactory): Likewise.
7443         (checkSystemClipboardAccess): Likewise.
7444         (checkTopLevelWindow): Likewise.
7445         (checkWrite): Likewise.
7446
7447 2003-03-20  Michael Koch  <konqueror@gmx.de>
7448
7449         * gnu/java/nio/FileChannelImpl.java
7450         (address): Removed.
7451         (map_address): New member variable.
7452         (length): Make it package private.
7453         (fd): Make it package private.
7454         (buf): Make it package private.
7455         (file_obj): Make it package private.
7456         (FileChannelImpl): New constructor.
7457         (nio_mmap_file): Use RawData instead of long.
7458         (nio_munmap_file): Use RawData instead of long.
7459         (nio_msync): Use RawData instead of long.
7460         (implCloseChannel): New implementation using map_address.
7461         (read): Reformated.
7462         (map): Implemented.
7463         (create_direct_mapped_buffer): Implemented, use RawData, throws
7464         IOException.
7465         (force): Use map_address instead of address.
7466         * gnu/java/nio/MappedByteFileBuffer.java
7467         (address): Removed.
7468         (map_address): New member variable.
7469         (MappedByteFileBuffer): Use map_address instead of address, reformated.
7470         (several methods): Use map_address instead of address, replaced long
7471         with RawData where appropriate.
7472         * gnu/java/nio/natFileChannelImpl.cc
7473         (nio_mmap_file): Replaced long with RawData.
7474         (nio_munmap_file): Replaced long with RawData.
7475         (nio_msync): Replaced long with RawData.
7476         * gnu/java/nio/natMappedByteFileBuffer.cc
7477         (several methods): Replaced long with RawData where appropriate.
7478
7479 2003-03-20  Michael Koch  <konqueror@gmx.de>
7480
7481         * java/net/InetAddress.java,
7482         java/net/JarURLConnection.java,
7483         java/net/PlainDatagramSocketImpl.java,
7484         java/net/PlainSocketImpl.java,
7485         java/net/URLConnection.java:
7486         Merged copyright statements with classpath for easier merging.
7487
7488 2003-03-20  Michael Koch  <konqueror@gmx.de>
7489
7490         * java/io/FileInputStream.java
7491         (getChannel): New implementation.
7492         * java/io/FileOutputStream.java
7493         (ch): New member variable.
7494         (getChannel): Implemented.
7495         * java/io/RandomAccessFile.java
7496         (RandomAccessFile): Throws FileNotFoundException instead of
7497         IOException.
7498         (getChannel): New method.
7499         (ch): New member variable.
7500
7501 2003-03-20  Michael Koch  <konqueror@gmx.de>
7502
7503         * java/io/DataOutputStream.java,
7504         java/io/File.java,
7505         java/io/FileInputStream.java,
7506         java/io/FileOutputStream.java,
7507         java/io/InputStreamReader.java,
7508         java/io/LineNumberReader.java,
7509         java/io/OutputStreamWriter.java,
7510         java/io/PrintStream.java,
7511         java/io/RandomAccessFile.java:
7512         Merged copyright statements with classpath for easier merging.
7513
7514 2003-03-19  Michael Koch  <konqueror@gmx.de>
7515
7516         * java/lang/Process.java:
7517         Merged from classpath.
7518
7519 2003-03-19  Michael Koch  <konqueror@gmx.de>
7520
7521         * java/io/FileOutputStream.java
7522         (FileOutputStream): New constructor, merged from classpath.
7523         * java/io/FileWriter.java
7524         (FileWriter): New constructor, merged from classpath.
7525
7526 2003-03-18  Michael Koch  <konqueror@gmx.de>
7527
7528         * java/awt/ScrollPane.java
7529         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
7530         (getViewportSize): Likewise.
7531         (addNotify): Likewise.
7532         (removeNotify): Likewise.
7533         * java/awt/ScrollPaneAdjustable.java
7534         (ScrollPaneAdjustable): No longer extends Scrollbar.
7535         * java/beans/beancontext/BeanContextServices.java:
7536         Reformated.
7537         (getService): Added throws TooManyListenersException;
7538         * java/beans/beancontext/BeanContextServicesSupport.java:
7539         Reformated.
7540
7541 2003-03-18  Michael Koch  <konqueror@gmx.de>
7542
7543         * java/io/BufferedOutputStream.java,
7544         java/io/DataInput.java,
7545         java/io/DataInputStream.java,
7546         java/io/DataOutput.java,
7547         java/io/Externalizable.java:
7548         More merges from classpath.
7549
7550 2003-03-18  Michael Koch  <konqueror@gmx.de>
7551
7552         * configure.in: Fixed links to platform dependant java.net files.
7553         * configure: Regenerated.
7554         * java/net/natInetAddress.cc,
7555         java/net/natNetworkInterface.cc,
7556         java/net/natPlainDatagramSocketImpl.cc,
7557         java/net/natPlainSocketImpl.cc:
7558         Removed.
7559
7560 2003-03-18  Michael Koch  <konqueror@gmx.de>
7561
7562         * configure.in: Create links to architecture dependent files,
7563         introduced PLATFORMNET variable (set to NoNet for newlib usage).
7564         * configure: Regenerated.
7565         * java/net/natInetAddressNoNet.cc,
7566         java/net/natInetAddressPosix.cc,
7567         java/net/natInetAddressWin32.cc,
7568         java/net/natNetworkInterfaceNoNet.cc,
7569         java/net/natNetworkInterfacePosix.cc,
7570         java/net/natNetworkInterfaceWin32.cc,
7571         java/net/natPlainDatagramSocketImplNoNet.cc,
7572         java/net/natPlainDatagramSocketImplPosix.cc,
7573         java/net/natPlainDatagramSocketImplWin32.cc,
7574         java/net/natPlainSocketImplNoNet.cc,
7575         java/net/natPlainSocketImplPosix.cc,
7576         java/net/natPlainSocketImplWin32.cc: New files.
7577
7578 2003-03-18  Michael Koch  <konqueror@gmx.de>
7579
7580         * java/io/BufferedReader.java,
7581         java/io/BufferedWriter.java,
7582         java/io/ByteArrayOutputStream.java,
7583         java/io/FileFilter.java,
7584         java/io/FilePermission.java,
7585         java/io/FileReader.java,
7586         java/io/FileWriter.java,
7587         java/io/FilenameFilter.java,
7588         java/io/FilterInputStream.java,
7589         java/io/FilterOutputStream.java,
7590         java/io/FilterReader.java,
7591         java/io/FilterWriter.java,
7592         java/io/ObjectInput.java,
7593         java/io/ObjectInputValidation.java,
7594         java/io/ObjectOutput.java,
7595         java/io/ObjectStreamField.java,
7596         java/io/PipedInputStream.java,
7597         java/io/PipedReader.java,
7598         java/io/PrintWriter.java,
7599         java/io/PushbackReader.java,
7600         java/io/Reader.java,
7601         java/io/SerializablePermission.java,
7602         java/io/StringReader.java,
7603         java/io/Writer.java:
7604         Merged from classpath.
7605
7606 2003-03-17  Michael Koch  <konqueror@gmx.de>
7607
7608         * java/awt/ScrollPaneAdjustable.java:
7609         Compile fixes.
7610         
7611 2003-03-17  Michael Koch  <konqueror@gmx.de>
7612
7613         * java/net/DatagramSocket.java
7614         (connect): Fixed comment.
7615         * java/nio/ByteBuffer.java
7616         (hasArray): Fixed comment.
7617
7618 2003-03-17  Michael Koch  <konqueror@gmx.de>
7619
7620         * java/beans/Beans.java:
7621         Explicitely import classes not packages.
7622         * java/beans/FeatureDescriptor.java
7623         (preferred): New member variable.
7624         (isPreferred): New method.
7625         (setPreferred): New method.
7626         * java/beans/PropertyEditorManager.java:
7627         Explicitely import used classes.
7628         * java/beans/beancontext/BeanContextChild.java:
7629         Added line wrapping.
7630         * java/beans/beancontext/BeanContextChildSupport.java:
7631         Reindented.
7632         * java/beans/beancontext/BeanContextEvent.java:
7633         Reindented.
7634
7635 2003-03-17  Michael Koch  <konqueror@gmx.de>
7636
7637         * java/awt/Dialog.java
7638         (Dialog): New constructor, changed implementations, added
7639         documentation.
7640         * java/awt/ScrollPaneAdjustable.java
7641         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
7642         Serializable.
7643         (serialVersionUID): New member variable.
7644         (sp): New member variable.
7645         (orientation): New member variable.
7646         (value): New member variable.
7647         (minimum): New member variable.
7648         (maximum): New member variable.
7649         (visibleAmount): New member variable.
7650         (unitIncrement): New member variable.
7651         (blockIncrement): New member variable.
7652         (AdjustmentListener): New member variable.
7653         (ScrollPaneAdjustable): New implementation.
7654         (addAdjustmentListener): New method.
7655         (removeAdjustmentListener): New method.
7656         (getAdjustmentListeners): New method.
7657         (getBlockIncrement): New method.
7658         (getMaximum): New method.
7659         (getMinimum): New method.
7660         (getOrientation): New method.
7661         (getUnitIncrement): New method.
7662         (getValue): New method.
7663         (getVisibleAmount): New method.
7664         (setBlockIncrement): New method.
7665         (setMaximum): Implemented.
7666         (setMinimum): Implemented.
7667         (setUnitIncrement): New method.
7668         (setValue): New method.
7669         (setVisibleAmount): Implemented. 
7670         (paramString): New stubbed method.
7671         * java/awt/Window.java
7672         (show): Call setVisible().
7673         (hide): Call setVisible().
7674         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
7675         and WINDOW_STATE_CHANGED.
7676         (processWindowFocusEvent): New method.
7677         (processWindowStateEvent): New method.
7678         (postEvent): Deprecated.
7679         (applyResourceBundle): Deprecated.
7680         * java/awt/datatransfer/DataFlavor.java
7681         (DataFlavor): Doesn't thow ClassNotFoundException.
7682
7683 2003-03-17  Michael Koch
7684
7685         * javax/print/attribute/Attribute.java,
7686         javax/print/attribute/AttributeSet.java,
7687         javax/print/attribute/PrintRequestAttributeSet.java:
7688         New files.
7689         * Makefile.am
7690         (javax_source_files): Added new files:
7691         javax/print/attribute/Attribute.java
7692         javax/print/attribute/AttributeSet.java
7693         javax/print/attribute/PrintRequestAttributeSet.java
7694         * Makefile.in: Regenerated.
7695
7696 2003-03-17  Michael Koch
7697
7698         * javax/print/attribute/Attribute.java,
7699         javax/print/attribute/AttributeSet.java,
7700         javax/print/attribute/PrintRequestAttributeSet.java:
7701         New files.
7702         * Makefile.am
7703         (awt_java_source_files): Added new files:
7704         javax/print/attribute/Attribute.java
7705         javax/print/attribute/AttributeSet.java
7706         javax/print/attribute/PrintRequestAttributeSet.java
7707         * Makefile.in: Regenerated.
7708
7709 2003-03-16  Tom Tromey  <tromey@redhat.com>
7710
7711         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
7712         Include platform.h.
7713         * java/lang/natRuntime.cc (insertSystemProperties): Use
7714         _Jv_platform_path_separator.
7715         (nativeGetLibname): Use _Jv_platform_file_separator.
7716         (_load): Use _Jv_platform_onload_names.
7717         (onload_names): New global.
7718         * include/win32.h (_Jv_platform_file_separator): New define.
7719         (_Jv_platform_path_separator): Likewise.
7720         (_Jv_platform_onload_names): Likewise.
7721         (_Jv_platform_ffi_abi): Likewise.
7722         * include/posix.h (_Jv_platform_file_separator): New define.
7723         (_Jv_platform_path_separator): Likewise.
7724         (_Jv_platform_onload_names): Likewise.
7725         (_Jv_platform_ffi_abi): Likewise.
7726
7727 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
7728
7729         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
7730
7731 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
7732
7733         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
7734         hierarchy loop.
7735         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
7736         list to Object,ObjectStreamClass, moved callReadMethod code up into
7737         readObject and added Class argument to all setXxxField calls.
7738         (callReadMethod): Changed Class argument to ObjectStreamClass to be
7739         consistent with ObjectOutputStream and to facilitate caching the
7740         Method in the future.
7741         (setBooleanField): Added Class argument.
7742         (setByteField): Likewise.
7743         (setCharField): Likewise.
7744         (setDoubleField): Likewise.
7745         (setFloatField): Likewise.
7746         (setIntField): Likewise.
7747         (setLongField): Likewise.
7748         (setShortField): Likewise.
7749         (setObjectField): Likewise.
7750         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
7751         class hierarchy loop.
7752         (defaultWriteObject): Call writeFields with new argument list.
7753         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
7754         list to Object,ObjectStreamClass, moved callWriteMethod up into
7755         writeObject and added Class argument to all getXxxField calls.
7756         (callWriteMethod): Added ObjectStreamClass argument to be able to
7757         get the proper class to call getMethod on (each class can have (or
7758         not have) its own writeObject method).
7759         (getBooleanField): Added Class argument.
7760         (getByteField): Likewise.
7761         (getCharField): Likewise.
7762         (getDoubleField): Likewise.
7763         (getFloatField): Likewise.
7764         (getIntField): Likewise.
7765         (getLongField): Likewise.
7766         (getShortField): Likewise.
7767         (getObjectField): Likewise.
7768         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
7769         facilitate caching the Method object in the future.
7770
7771 2003-03-12  Andreas Schwab  <schwab@suse.de>
7772
7773         * configure.in: Avoid trailing /. in toolexeclibdir.
7774         * configure: Rebuilt.
7775
7776 2003-03-11  Michael Koch  <konqueror@gmx.de>
7777
7778         * gnu/java/nio/ByteBufferImpl.java
7779         (putInt): Use limit() instead of limit.
7780         * gnu/java/nio/CharBufferImpl.java
7781         (slice): Fixed implementation.
7782         (subSequence): Better bounds checking.
7783         * gnu/java/nio/MappedByteFileBuffer.java:
7784         Import all needed classes directly.
7785         * java/nio/ByteBuffer.java
7786         (hashCode): New dummy method.
7787         * java/nio/CharBuffer.java
7788         (array_offset): New member variable.
7789         (hasArray): Fixed documentation.
7790         (arrayOffset): Return array_offset.
7791
7792 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
7793
7794         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
7795         setter; made return value of getter const char* instead of char*
7796         * prims.cc: removed all references to _Jv_ThisExecutable().
7797         These are in the platform-specific sections now.
7798         * posix.cc: define platform-specific _Jv_ThisExecutable().
7799         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
7800         * win32.cc: define platform-specific _Jv_ThisExecutable()
7801         using GetModuleFilename()
7802         * java/lang/natRuntime.cc: set gnu.gcj.progname property
7803         to argv[0] instead of _Jv_ThisExecutable()
7804
7805 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
7806
7807         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
7808         that is set if we are using addr2name.awk instead of addr2line.
7809         (NameFinder): Set usingAddr2name if using addr2name.awk.
7810         (getExternalLabel): New native method to convert a method 
7811         name to an external label.
7812         (lookup): Convert name given by addr2line to an external label
7813         before demangling.
7814
7815         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
7816         constant representing the prefix attached to method names to
7817         convert them to an external label.
7818         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
7819         using LABEL_PREFIX.
7820
7821 2003-03-10  Tom Tromey  <tromey@redhat.com>
7822
7823         * Makefile.in: Rebuilt.
7824         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
7825         (JC1FLAGS): Removed -Wno-deprecated.
7826
7827 2003-03-10  Michael Koch  <konqueror@gmx.de>
7828
7829         * java/nio/ByteOrder.java
7830         (nativeOrder): Working implementation, added documentation.
7831         (toString): Added documentation.
7832
7833 2003-03-10  Michael Koch  <konqueror@gmx.de>
7834
7835         * java/net/DatagramSocket.java,
7836         java/net/MulticastSocket.java,
7837         java/net/Socket.java,
7838         java/net/URL.java,
7839         java/net/URLConnection.java:
7840         Fixed some documentation tags to make javadoc and friends happy.
7841
7842 2003-03-10  Michael Koch  <koqnueror@gmx.de>
7843
7844         * java/beans/beancontext/BeanContextServicesSupport.java,
7845         java/beans/beancontext/BeanContextSupport.java: New files.
7846         * Makefile.am
7847         (awt_source_files): Added new files.
7848         * Makefile.in: Regenerated.
7849
7850 2003-03-10  Michael Koch  <konqueror@gmx.de>
7851
7852         * java/awt/FocusTraversalPolicy.java
7853         (FocusTraversalPolicy): Documentation added.
7854         (getComponentAfter): Documentation added.
7855         (getComponentBefore): Documentation added.
7856         (getFirstComponent): Documentation added.
7857         (getLastComponent): Documentation added.
7858         (getDefaultComponent): Documentation added.
7859         (getInitialComponent): Documentation added.
7860         * java/awt/ScrollPaneAdjustable.java
7861         (sp): New member variable.
7862         (orientation): New member variable.
7863         (value): New member variable.
7864         (minimum): New member variable.
7865         (maximum): New member variable.
7866         (visibleAmount): New member variable.
7867         (unitIncrement): New member variable.
7868         (blockIncrement): New member variable.
7869         (adjustmentListener): New member variable.
7870         (ScrollPaneAdjustable): Rewrote.
7871         (addAdjustmentListener): New method.
7872         (removeAdjustmentListener): New method.
7873         (getAdjustmentListeners): New method.
7874         (getBlockIncrement): New method.
7875         (getMaximum): New method.
7876         (getMinimum): New method.
7877         (getOrientation): New method.
7878         (getUnitIncrement): New method.
7879         (getValue): New method.
7880         (getVisibleAmount): New method.
7881         (setBlockIncrement): New method.
7882         (setUnitIncrement): New method.
7883         (setMaximum): Implemented.
7884         (setMinimum): Implemented.
7885         (setValue): New method.
7886         (setVisibleAmount): Implemented.
7887         (paramString): New method.
7888         * java/awt/Window.java
7889         (show): Use setVisible(true) instead of super.show().
7890         (hide): Use sevVisible(false) instead of super.hide().
7891         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
7892         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
7893         (postEvent): Deprecated.
7894         (applyResourceBundle): Deprecated.
7895         (processWindowFocusEvent): New method.
7896         (processWindowStateEvent): New method.
7897         * java/awt/datatransfer/DataFlavor.java: Reindented.
7898         * java/awt/font/TextHitInfo.java
7899         (charIndex): New member variable.
7900         (leadingEdge): New member variable.
7901         (TextHitInfo): New constructor.
7902         (getCharIndex): Implemented.
7903         (isLeadingEdge): Implemented.
7904         (getInsertionIndex): Implemented.
7905         (hashCode): Access charIndex directly.
7906         (equals): Reformated.
7907         (leading): Implemented.
7908         (trailing): Implemented.
7909         (beforeOffset): Implemented.
7910         (afterOffset): Implemented.
7911         (getOtherHit): Implemented.
7912         (getOffsetHit): Implemented.
7913         (toString): Implemented.
7914         * java/awt/image/BufferedImage.java
7915         (BufferedImage): Implements WritableRenderedImage.
7916         (observers): New member variable.
7917         (addTileObserver): New method.
7918         (removeTileObserver): New method.
7919
7920 2003-03-09  Tom Tromey  <tromey@redhat.com>
7921
7922         PR libgcj/9934:
7923         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
7924         to lseek.  Return 0 if we can't compute the value.
7925
7926 2003-03-03  Michael Koch  <konqueror@gmx.de>
7927
7928         * java/net/NetworkInterface.java: Merged with classpath.
7929
7930 2003-03-03  Tom Tromey  <tromey@redhat.com>
7931
7932         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
7933         of bytecode.
7934         (handle_ret_insn): Fail if returning to jsr that appears at end of
7935         bytecode.
7936
7937 2003-03-03  Michael Koch  <konqueror@gmx.de>
7938
7939         * Makefile.am
7940         (ordinary_java_source_files):
7941         Added gnu/java/nio/MappedByteFileBuffer.java.
7942         (nat_source_files):
7943         Added gnu/java/nio/natMappedByteFileBuffer.cc.
7944         * Makefile.in: Regenerated.
7945
7946 2003-03-03  Michael Koch  <konqueror@gmx.de>
7947
7948         * java/net/DatagramSocket.java
7949         (connect): Merged comment from classpath.
7950         (receive): Merged documentation from classpath.
7951         * java/net/Socket.java
7952         (setSoTimeout): Clarified documentation.
7953         * java/net/URL.java
7954         (getPath): Merged from classpath.
7955         (getUserInfo): Merged from classpath.
7956         (getQuery): Merged from classpath.
7957         * java/net/URLStreamHandler.java
7958         (toExternalForm): Merged from classpath.
7959
7960 2003-03-02  Mark Wielaard  <mark@klomp.org>
7961
7962         * java/util/Properties.java (load): Only skip line if the first
7963         character is a comment, whitespaces don't count.
7964
7965 2003-03-02  Michael Koch  <konqueror@gmx.de>
7966
7967         * java/net/NetPermission.java:
7968         Merged copyright with classpath.
7969
7970 2003-03-02  Michael Koch  <konqueror@gmx.de>
7971
7972         * java/lang/Package.java:
7973         Remerged from classpath.
7974
7975 2003-03-02  Michael Koch  <konqueror@gmx.de>
7976
7977         * java/net/HttpURLConnection.java
7978         (HTTP_SERVER_ERROR): Deprecated.
7979         * java/net/MulticastSocket.java
7980         (send): Replaced checkMulticast with appropriate checkPermission call,
7981         deprecated.
7982         * java/net/URLDecoder.java
7983         (decode): Deprecated.
7984         * java/net/URLEncoder.java
7985         (encode): Deprecated.
7986
7987 2003-03-02  Michael Koch  <konqueror@gmx.de>
7988
7989         * javax/swing/text/Caret.java
7990         (getMagicCaretPosition): Fixed typo in method name.
7991         * javax/swing/text/DefaultCaret.java
7992         (getMagicCaretPosition): Fixed typo in method name.
7993
7994 2003-03-02  Michael Koch  <konqueror@gmx.de>
7995
7996         * java/awt/List.java
7997         (setMultipleSelections): Deprecated.
7998         (delItem): Deprecated.
7999         * java/awt/MenuComponent.java
8000         (getPeer): Deprecated.
8001         * java/awt/ScrollPane.java
8002         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
8003         * java/awt/dnd/MouseDragGestureRecognizer.java
8004         (mouseClicked): Added comment.
8005         (mousePressed): Added comment.
8006         (mouseReleased): Added comment.
8007         (mouseEntered): Added comment.
8008         (mouseExited): Added comment.
8009         (mouseDragged): Added comment.
8010         (mouseMoved): Added comment.
8011         * java/awt/event/KeyEvent.java
8012         (KeyEvent): Deprecated.
8013         (setModifiers): Deprecated.
8014         
8015 2003-03-02  Michael Koch  <konqueror@gmx.de>
8016
8017         * gnu/java/nio/FileChannelImpl.java
8018         (fd): Type FileDescriptor instead of int.
8019         (lengthInternal): Removed.
8020         (FileChannelImpl): Fixed arguments, check type of file object.
8021         (size): Made it native.
8022         (implPosition): New native method.
8023         (implTruncate): New native method.
8024         (position): Implemented.
8025         (truncate): Implemented.
8026         (nio_mmap_file): Changed arguments.
8027         (nio_munmap_file): Changed arguments.
8028         (nio_msync): Changed arguments.
8029         * gnu/java/nio/natFileChannelImpl.cc
8030         (lengthInternal): Removed.
8031         (size): New method.
8032         (implPosition): New method.
8033         (implTruncate): New method.
8034         (nio_mmap_file): Changed arguments.
8035         (nio_munmap_file): Changed arguments.
8036         (nio_msync): Changed arguments.
8037
8038 2003-03-02  Michael Koch  <konqueror@gmx.de>
8039
8040         * java/awt/dnd/DropTargetContext.java:
8041         Compile fix: Forgot to commit import.
8042         
8043 2003-03-02  Michael Koch  <konqueror@gmx.de>
8044
8045         * java/awt/Component.java,
8046         java/awt/ScrollPane.java:
8047         Fixed typos.
8048
8049 2003-03-02  Michael Koch  <konqueror@gmx.de>
8050
8051         * java/awt/dnd/DnDEventMulticaster.java: New file.
8052         * java/awt/dnd/DragSource.java
8053         (flavorMap): New member variable.
8054         (dragSourceListener): New member variable.
8055         (dragSourceMotionListener): New member variable.
8056         (getFlavorMap): Implemented.
8057         (createDragGestureRecognizer): Implemented.
8058         (addDragSourceListener): Implemented.
8059         (removeDragSourceListener): Implemented.
8060         (getDragSourceListeners): Implemented.
8061         (addDragSourceMotionListener): Implemented.
8062         (removeDragSourceMotionListener): Implemented.
8063         (getDragSourceMotionListeners): Implemented.
8064         (getListeners): Implemented.
8065         * java/awt/dnd/DragSourceContext.java
8066         (peer): New member variable.
8067         (cursor): New member variable.
8068         (transferable): New member variable.
8069         (trigger): New member variable.
8070         (dragSourceListener): New member variable.
8071         (image): New member variable.
8072         (offset): New member variable.
8073         (DragSourceContext): Implemented.
8074         (getDragSource): Implemented.
8075         (getComponent): Implemented.
8076         (getTrigger): Implemented.
8077         (getSourceActions): Implemented.
8078         (setCursor): Implemented.
8079         (getCursor): Implemented.
8080         (addDragSourceListener): Implemented.
8081         (removeDragSourceListener): Implemented.
8082         (getTransferable): Implemented.
8083         * java/awt/dnd/DropTarget.java
8084         (DropTargetAutoScroller.component): New member variable.
8085         (DropTargetAutoScroller.point): New member variable.
8086         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
8087         (DropTargetAutoScroller.updateLocation): Implemented.
8088         (active): Renamed from isActive, defaults to true now.
8089         (component): New member variable.
8090         (flavorMap): New member variable.
8091         (actions): New member variable.
8092         (dropTargetContext): New member variable.
8093         (dropTargetListener): New member variable.
8094         (DropTarget): Implemented.
8095         (getComponent): Implemented.
8096         (setComponent): Implemented.
8097         (setDefaultActions): Implemented.
8098         (getDefaultActions): Implemented.
8099         (setActive): Use active instead of isActive.
8100         (isActive): Use active instead of isActive.
8101         (addDropTargetListener): Implemented.
8102         (removeDropTargetListener): Implemented.
8103         (getFlavorMap): Implemented.
8104         (setFlavorMap): Implemented.
8105         (getDropTargetContext): Implemented.
8106         (createDropTargetContext): Implemented.
8107         (createDropTargetAutoScroller): Implemented.
8108         * java/awt/dnd/DropTargetContext.java
8109         (TransferableProxy.getTransferDataFlavors): Implemented.
8110         (TransferableProxy.isDataFlavorSupported): Implemented.
8111         (TransferableProxy.getTransferData): Implemented.
8112         (dropTarget):  New member variable.
8113         (dtcp): New member variable.
8114         (DropTargetContext): New package private constructor.
8115         (getDropTarget): Implemented.
8116         (getComponent): Implemented.
8117         (addNotify): Implemented.
8118         (removeNotify): Implemented.
8119         (getCurrentDataFlavorsAsList): Implemented.
8120         (isDataFlavorSupported): Implemented.
8121         * java/awt/dnd/MouseDragGestureRecognizer.java
8122         (registerListeners): Implemented.
8123         (unregisterListeners): Implemented.
8124         * Makefile.am
8125         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
8126         * Makefile.in: Regenerated.
8127
8128 2003-03-02  Michael Koch  <konqueror@gmx.de>
8129
8130         * java/awt/Component.java
8131         (eventTypeEnabled): New method.
8132         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
8133         * java/awt/Container.java
8134         (changeSupport): New member variable.
8135         (addPropertyChangeListener): New methods.
8136         * java/awt/ContainerOrderFocusTraversalPolicy.java
8137         (ContainerOrderFocusTraversalPolicy): Added comment.
8138         (getComponentAfter): Throw exception, documentation added.
8139         (getComponentBefore): Throw exception, documentation added.
8140         (getFirstComponent): Throw exception, documentation added.
8141         (getLastComponent): Throw exception, documentation added.
8142         (getDefaultComponent): Throw exception, documentation added.
8143         * java/awt/EventQueue.java: Reindented.
8144         * java/awt/FocusTraversalPolicy.java:
8145         (FocusTraversalPolicy): Added comment.
8146         (getComponentAfter): Documentation added.
8147         (getComponentBefore): Documentation added.
8148         (getFirstComponent): Documentation added.
8149         (getLastComponent): Documentation added.
8150         (getDefaultComponent): Documentation added.
8151         (getInitialComponent): Documentation added.
8152         * java/awt/ScrollPane.java
8153         (wheelScrollingEnabled): New member variable.
8154         (ScrollPane): Initialize wheelScollingEnabled.
8155         (eventTypeEnabled): New method.
8156         (isWheelScrollingEnabled): New method.
8157         (setWheelScrollingEnabled): New method.
8158
8159 2003-03-02  Michael Koch  <konqueror@gmx.de>
8160
8161         * java/net/DatagramSocket.java
8162         (closed): New member variable.
8163         (close): Use closed variable.
8164         (getInetAddress): No need to call isConnected().
8165         (getPort): No need to call isConnected().
8166         (disconnect): Reset remoteAddress and remotePort, fixed typo.
8167         (isClosed): Reimplemented.
8168         
8169 2003-03-02  Michael Koch  <konqueror@gmx.de>
8170
8171         * configure.in: Added check for memory mapping of files.
8172         * configure: Regenerated.
8173         * config.h.in: Regenerated.
8174
8175 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
8176
8177         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
8178         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
8179
8180 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8181
8182         * java/io/File.java (normalizePath): Remove trailing separator
8183         on Windows only if path is not of the form "x:\".
8184
8185         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
8186         (java::io::File::attr): Change formatting a bit and use
8187         WIN32_EPOCH_MILLIS instead of magic numbers.
8188         (java::io::File::isAbsolute): Path must have at least 3 
8189         characters for a UNC network path.
8190         (java::io::File::init_native): Define.
8191         (java::io::File::performCreate): Likewise.
8192         (java::io::File::performSetReadOnly): Likewise.
8193         (java::io::File::performSetLastModified): Likewise.
8194         (java::io::File::performListRoots): Likewise.
8195
8196 2003-03-01  Tom Tromey  <tromey@redhat.com>
8197
8198         * java/lang/natObject.cc: Don't include assert.h.
8199         (heavy_lock_obj_finalization_proc): Use JvAssert.
8200         (remove_all_heavy): Likewise.
8201         (_Jv_MonitorEnter): Likewise.
8202         (_Jv_MonitorExit): Likewise.
8203         (wait): Likewise.
8204
8205 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8206
8207         * java/io/File (getAbsolutePath): Prefix drive specifier on
8208         Windows for paths starting with a '\'.
8209         (toURL): Make URL more consistent with what Sun's JDK returns.
8210
8211         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
8212         true only if the path is a UNC network path or it starts with a
8213         drive specifier.
8214
8215         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
8216         Be prepared to handle either '/' or '\\' in the file path for
8217         Windows if using the "file" protocol.
8218         Canonicalise the file path if using a relative path in the given
8219         context and the "file" protocol.
8220
8221 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
8222
8223         * java/lang/natWin32Process.cc (startProcess): Double-quote each
8224         program array element passed to CreateProcess.
8225
8226 2003-03-01  Tom Tromey  <tromey@redhat.com>
8227
8228         * java/rmi/registry/RegistryHandler.java: Deprecate.
8229
8230 2003-03-01  Tom Tromey  <tromey@redhat.com>
8231
8232         * javax/accessibility/AccessibleEditableText.java,
8233         javax/accessibility/AccessibleHyperlink.java: New versions from
8234         Classpath.
8235
8236         * gnu/java/locale/LocaleInformation_af_ZA.java,
8237         gnu/java/locale/LocaleInformation_ar_AE.java,
8238         gnu/java/locale/LocaleInformation_ar_BH.java,
8239         gnu/java/locale/LocaleInformation_ar_DZ.java,
8240         gnu/java/locale/LocaleInformation_ar_EG.java,
8241         gnu/java/locale/LocaleInformation_ar_IN.java,
8242         gnu/java/locale/LocaleInformation_ar_IQ.java,
8243         gnu/java/locale/LocaleInformation_ar_JO.java,
8244         gnu/java/locale/LocaleInformation_ar_KW.java,
8245         gnu/java/locale/LocaleInformation_ar_LB.java,
8246         gnu/java/locale/LocaleInformation_ar_LY.java,
8247         gnu/java/locale/LocaleInformation_ar_MA.java,
8248         gnu/java/locale/LocaleInformation_ar_OM.java,
8249         gnu/java/locale/LocaleInformation_ar_QA.java,
8250         gnu/java/locale/LocaleInformation_ar_SD.java,
8251         gnu/java/locale/LocaleInformation_ar_SY.java,
8252         gnu/java/locale/LocaleInformation_ar_TN.java,
8253         gnu/java/locale/LocaleInformation_ar_YE.java,
8254         gnu/java/locale/LocaleInformation_be_BY.java,
8255         gnu/java/locale/LocaleInformation_bn_IN.java,
8256         gnu/java/locale/LocaleInformation_br_FR.java,
8257         gnu/java/locale/LocaleInformation_bs_BA.java,
8258         gnu/java/locale/LocaleInformation_ca_ES.java,
8259         gnu/java/locale/LocaleInformation_cs_CZ.java,
8260         gnu/java/locale/LocaleInformation_cy_GB.java,
8261         gnu/java/locale/LocaleInformation_da_DK.java,
8262         gnu/java/locale/LocaleInformation_de_AT.java,
8263         gnu/java/locale/LocaleInformation_de_BE.java,
8264         gnu/java/locale/LocaleInformation_de_CH.java,
8265         gnu/java/locale/LocaleInformation_de_DE.java,
8266         gnu/java/locale/LocaleInformation_de_LU.java,
8267         gnu/java/locale/LocaleInformation_el_GR.java,
8268         gnu/java/locale/LocaleInformation_en_AU.java,
8269         gnu/java/locale/LocaleInformation_en_BW.java,
8270         gnu/java/locale/LocaleInformation_en_CA.java,
8271         gnu/java/locale/LocaleInformation_en_DK.java,
8272         gnu/java/locale/LocaleInformation_en_GB.java,
8273         gnu/java/locale/LocaleInformation_en_HK.java,
8274         gnu/java/locale/LocaleInformation_en_IE.java,
8275         gnu/java/locale/LocaleInformation_en_IN.java,
8276         gnu/java/locale/LocaleInformation_en_NZ.java,
8277         gnu/java/locale/LocaleInformation_en_PH.java,
8278         gnu/java/locale/LocaleInformation_en_SG.java,
8279         gnu/java/locale/LocaleInformation_en_US.java,
8280         gnu/java/locale/LocaleInformation_en_ZA.java,
8281         gnu/java/locale/LocaleInformation_en_ZW.java,
8282         gnu/java/locale/LocaleInformation_es_AR.java,
8283         gnu/java/locale/LocaleInformation_es_BO.java,
8284         gnu/java/locale/LocaleInformation_es_CL.java,
8285         gnu/java/locale/LocaleInformation_es_CO.java,
8286         gnu/java/locale/LocaleInformation_es_CR.java,
8287         gnu/java/locale/LocaleInformation_es_DO.java,
8288         gnu/java/locale/LocaleInformation_es_EC.java,
8289         gnu/java/locale/LocaleInformation_es_ES.java,
8290         gnu/java/locale/LocaleInformation_es_GT.java,
8291         gnu/java/locale/LocaleInformation_es_HN.java,
8292         gnu/java/locale/LocaleInformation_es_MX.java,
8293         gnu/java/locale/LocaleInformation_es_NI.java,
8294         gnu/java/locale/LocaleInformation_es_PA.java,
8295         gnu/java/locale/LocaleInformation_es_PE.java,
8296         gnu/java/locale/LocaleInformation_es_PR.java,
8297         gnu/java/locale/LocaleInformation_es_PY.java,
8298         gnu/java/locale/LocaleInformation_es_SV.java,
8299         gnu/java/locale/LocaleInformation_es_US.java,
8300         gnu/java/locale/LocaleInformation_es_UY.java,
8301         gnu/java/locale/LocaleInformation_es_VE.java,
8302         gnu/java/locale/LocaleInformation_et_EE.java,
8303         gnu/java/locale/LocaleInformation_eu_ES.java,
8304         gnu/java/locale/LocaleInformation_fa_IR.java,
8305         gnu/java/locale/LocaleInformation_fi_FI.java,
8306         gnu/java/locale/LocaleInformation_fo_FO.java,
8307         gnu/java/locale/LocaleInformation_fr_BE.java,
8308         gnu/java/locale/LocaleInformation_fr_CA.java,
8309         gnu/java/locale/LocaleInformation_fr_CH.java,
8310         gnu/java/locale/LocaleInformation_fr_FR.java,
8311         gnu/java/locale/LocaleInformation_fr_LU.java,
8312         gnu/java/locale/LocaleInformation_ga_IE.java,
8313         gnu/java/locale/LocaleInformation_gd_GB.java,
8314         gnu/java/locale/LocaleInformation_gl_ES.java,
8315         gnu/java/locale/LocaleInformation_gv_GB.java,
8316         gnu/java/locale/LocaleInformation_he_IL.java,
8317         gnu/java/locale/LocaleInformation_hi_IN.java,
8318         gnu/java/locale/LocaleInformation_hr_HR.java,
8319         gnu/java/locale/LocaleInformation_hu_HU.java,
8320         gnu/java/locale/LocaleInformation_id_ID.java,
8321         gnu/java/locale/LocaleInformation_it_CH.java,
8322         gnu/java/locale/LocaleInformation_it_IT.java,
8323         gnu/java/locale/LocaleInformation_iw_IL.java,
8324         gnu/java/locale/LocaleInformation_ja_JP.java,
8325         gnu/java/locale/LocaleInformation_ka_GE.java,
8326         gnu/java/locale/LocaleInformation_kl_GL.java,
8327         gnu/java/locale/LocaleInformation_ko_KR.java,
8328         gnu/java/locale/LocaleInformation_kw_GB.java,
8329         gnu/java/locale/LocaleInformation_lt_LT.java,
8330         gnu/java/locale/LocaleInformation_lv_LV.java,
8331         gnu/java/locale/LocaleInformation_mi_NZ.java,
8332         gnu/java/locale/LocaleInformation_mk_MK.java,
8333         gnu/java/locale/LocaleInformation_mr_IN.java,
8334         gnu/java/locale/LocaleInformation_mt_MT.java,
8335         gnu/java/locale/LocaleInformation_nl_BE.java,
8336         gnu/java/locale/LocaleInformation_nl_NL.java,
8337         gnu/java/locale/LocaleInformation_nn_NO.java,
8338         gnu/java/locale/LocaleInformation_no_NO.java,
8339         gnu/java/locale/LocaleInformation_oc_FR.java,
8340         gnu/java/locale/LocaleInformation_pl_PL.java,
8341         gnu/java/locale/LocaleInformation_pt_BR.java,
8342         gnu/java/locale/LocaleInformation_pt_PT.java,
8343         gnu/java/locale/LocaleInformation_ro_RO.java,
8344         gnu/java/locale/LocaleInformation_ru_RU.java,
8345         gnu/java/locale/LocaleInformation_ru_UA.java,
8346         gnu/java/locale/LocaleInformation_se_NO.java,
8347         gnu/java/locale/LocaleInformation_sk_SK.java,
8348         gnu/java/locale/LocaleInformation_sl_SI.java,
8349         gnu/java/locale/LocaleInformation_sq_AL.java,
8350         gnu/java/locale/LocaleInformation_sr_YU.java,
8351         gnu/java/locale/LocaleInformation_sv_FI.java,
8352         gnu/java/locale/LocaleInformation_sv_SE.java,
8353         gnu/java/locale/LocaleInformation_ta_IN.java,
8354         gnu/java/locale/LocaleInformation_te_IN.java,
8355         gnu/java/locale/LocaleInformation_tg_TJ.java,
8356         gnu/java/locale/LocaleInformation_tl_PH.java,
8357         gnu/java/locale/LocaleInformation_tr_TR.java,
8358         gnu/java/locale/LocaleInformation_uk_UA.java,
8359         gnu/java/locale/LocaleInformation_ur_PK.java,
8360         gnu/java/locale/LocaleInformation_uz_UZ.java,
8361         gnu/java/locale/LocaleInformation_vi_VN.java,
8362         gnu/java/locale/LocaleInformation_yi_US.java,
8363         gnu/java/locale/LocaleInformation_zh_CN.java,
8364         gnu/java/locale/LocaleInformation_zh_HK.java,
8365         gnu/java/locale/LocaleInformation_zh_SG.java,
8366         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
8367         info; from Classpath.
8368
8369         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
8370         isPaintPending): New methods.
8371         * gnu/awt/xlib/XFramePeer.java (getState, setState,
8372         setMaximizedBounds): New methods.
8373         (beginLayout, endLayout, isPaintPending): Likewise.
8374         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
8375         (requestFocus): Likewise.
8376         (isObscured): Likewise.
8377         (canDetermineObscurity): Likewise.
8378         (coalescePaintEvent): Likewise.
8379         (updateCursorImmediately): Likewise.
8380         (createVolatileImage): Likewise.
8381         (handlesWheelScrolling): Likewise.
8382         (createBuffers): Likewise.
8383         (getBackBuffer): Likewise.
8384         (flip): Likewise.
8385         (destroyBuffers): Likewise.
8386
8387         * Makefile.in: Rebuilt.
8388         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
8389         RobotPeer.java.
8390         * gnu/java/awt/GLightweightPeer.java,
8391         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8392         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8393         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
8394         gnu/java/awt/peer/gtk/GtkFramePeer.java,
8395         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
8396         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
8397         java/awt/dnd/peer/DragSourceContextPeer.java,
8398         java/awt/dnd/peer/DropTargetContextPeer.java,
8399         java/awt/peer/ButtonPeer.java,
8400         java/awt/peer/CheckboxMenuItemPeer.java,
8401         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
8402         java/awt/peer/ComponentPeer.java,
8403         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
8404         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
8405         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
8406         java/awt/peer/MenuBarPeer.java,
8407         java/awt/peer/MenuComponentPeer.java,
8408         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
8409         java/awt/peer/PopupMenuPeer.java,
8410         java/awt/peer/ScrollPanePeer.java,
8411         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
8412         java/awt/peer/TextComponentPeer.java,
8413         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
8414         New versions from Classpath.
8415         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
8416         * java/awt/peer/RobotPeer.java: Likewise.
8417
8418 2003-03-01  Mark Wielaard  <mark@klomp.org>
8419
8420         * java/io/ObjectInputStream.java: Reindent.
8421         * java/io/ObjectOutputStream.java: Likewise.
8422
8423 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
8424
8425         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
8426         jvalue for each argument. Simplify.
8427         * testsuite/libjava.jni/calls.c (docall),
8428         testsuite/libjava.jni/calls.java (longpb_f): check for argument
8429         misalignment.
8430
8431 2003-02-28  Mark Wielaard  <mark@klomp.org>
8432
8433         * Makefile.am (nat_source_files): Remove
8434         java/io/natObjectOutputStream.cc.
8435         * Makefile.in: Regenerated.
8436         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
8437         * java/io/ObjectStreamField.java (typename): New field.
8438         (ObjectStreamField(String, Class)): Initialize new field.
8439         (ObjectStreamField(String, String)): New Constructor.
8440         (getTypeCode): Use new field.
8441         (getTypeString): Use new field.
8442         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
8443         ObjectStreamExceptions. Remember and reset old BlockDataMode.
8444         Handle reading of Proxy classes. Never drain(), just write
8445         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
8446         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
8447         (flush): Call flush(), not just drain().
8448         (writeBoolean): Always use blockDataOutput.
8449         (writeByte): Likewise.
8450         (writeShort): Likewise.
8451         (writeChar): Likewise.
8452         (writeInt): Likewise.
8453         (writeLong): Likewise.
8454         (writeFloat): Likewise.
8455         (writeDouble): Likewise.
8456         (writeBytes): Likewise.
8457         (putfield (put(String,Object))): Throw IllegalArgumentException if
8458         field cannot be found.
8459         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
8460         (writeArraySizeAndElements): Write byte[] in one go.
8461         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
8462         set BlockDataMode to false.
8463         (annotateProxyClass): New method.
8464         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
8465         (getField): No longer native.
8466         (getMethod): Likewise.
8467         (setBlockDataMode): Always drain() on switch, return old mode.
8468         (static): New static code block.
8469         * java/io/natObjectOutputStream.cc: Removed.
8470         * java/io/ObjectInputStream.java (getField): No longer native.
8471         (getMethod): Likewise.
8472         (readObject): Remember and reset old BlockDataMode. Track whether
8473         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
8474         TC_LONGSTRING.
8475         (defaultReadObject): Set BlockDataMode to false during readFields.
8476         (resolveClass): Create new SecurityManager if necessary.
8477         Use Class.forName() if null ClassLoader found.
8478         (read(byte[],int,int): Copy remaining bytes to data before calling
8479         readNextBlock().
8480         (readFields): Set and reset BlockDataMode on call_read_method.
8481         Catch NoSuchFieldErrors.
8482         (setBlockDataMode): Return old mode.
8483         (static): New static code block.
8484         * java/io/natObjectInputStream.cc (getField): Removed.
8485         (getMethod): Likewise.
8486
8487 2003-02-27  Michael Koch  <konqueror@gmx.de>
8488
8489         * java/beans/Beans.java,
8490         java/beans/FeatureDescriptor.java
8491         java/beans/PropertyEditorManager.java:
8492         Reformated to GNU style.
8493
8494 2003-02-25  Michael Koch  <konqueror@gmx.de>
8495
8496         * gnu/java/nio/MappedByteFileBuffer.java,
8497         gnu/java/nio/natMappedByteFileBuffer.cc:
8498         New files, both are not compiled yet to get not noncompiling CVS.
8499
8500 2003-02-24  Tom Tromey  <tromey@redhat.com>
8501
8502         * java/util/prefs/AbstractPreferences.java (isUserNode):
8503         Implemented.
8504
8505 2003-02-24  Tom Tromey  <tromey@redhat.com>
8506
8507         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
8508         Deprecate.
8509         * java/lang/Thread.java (resume): Deprecate.
8510         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
8511         in @deprecated.
8512
8513 2003-02-23  Tom Tromey  <tromey@redhat.com>
8514
8515         * Makefile.in: Rebuilt.
8516         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
8517
8518 2003-02-23  Tom Tromey  <tromey@redhat.com>
8519
8520         * java/lang/natRuntime.cc (libraries_size, libraries_count,
8521         libraries): Removed.
8522         (add_library): Removed.
8523         (_load): Don't call add_library.
8524         (loadLibraryInternal): Likewise.
8525         (init): Likewise.
8526         (lookup_data): New struct.
8527         (find_symbol): New function.
8528         (_Jv_FindSymbolInExecutable): Use it.
8529
8530 2002-02-21  Anthony Green  <green@redhat.com>
8531
8532         * java/lang/Thread.java (Thread): New constructor taking stack
8533         size parameter (ignored for now).
8534         * Many methods: Merged GNU Classpath documentation.
8535
8536         * java/lang/Class.java (finalize): throws a Throwable.
8537
8538 2003-02-21  Mark Wielaard  <mark@klomp.org>
8539
8540         * java/util/zip/ZipEntry.java (setComment): Don't check length when
8541         argument is null.
8542
8543 2003-02-21  Mark Wielaard  <mark@klomp.org>
8544
8545         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
8546         then 65535 chars throw IllegalArgumentException.
8547
8548 2003-02-21  Mark Wielaard  <mark@klomp.org>
8549
8550         * java/util/zip/ZipFile.java (finalize): New method.
8551
8552 2003-02-21  Michael Koch  <konqueror@gmx.de>
8553
8554         * gnu/java/nio/natSocketChannelImpl.cc:
8555         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
8556         <cato@df.lth.se> for pointing to it.
8557
8558 2003-02-20  Raif S. Naffah <raif@fl.net.au>
8559
8560         * java/math/BigInteger.java (euclidInv): Take result array as an
8561         argument.  Updated all callers.
8562         (modInverse): Removed unused variables.
8563
8564 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
8565
8566         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
8567         config.status.
8568         * configure: Rebuilt.
8569
8570 2003-02-19  Michael Koch  <konqueror@gmx.de>
8571
8572         * gnu/java/nio/natSocketChannelImpl.cc:
8573         Added support for platforms without network support.
8574
8575 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8576
8577         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
8578         after config.h.  Use <> for consistency.
8579         * java/lang/natObject.cc: Likewise.
8580         * java/lang/natRuntime.cc: Likewise.
8581         * java/lang/natSystem.cc: Likewise.
8582         * java/util/natTimeZone.cc: Likewise.
8583         * win32.cc: Likewise.
8584         * include/posix.h (fcntl, socket, connect, close, bind, accept,
8585         listen, write, read): Undef to avoid interference from OS macros.
8586
8587 2003-02-19  Michael Koch  <konqueror@gmx.de>
8588
8589         * gnu/java/nio/ByteBufferImpl.java
8590         (ByteBufferImpl): Renamed two variables.
8591         * gnu/java/nio/CharBufferImpl.java
8592         (CharBufferImpl): Renamed two variables.
8593         * gnu/java/nio/DoubleBufferImpl.java
8594         (DoubleBufferImpl): Renamed two variables.
8595         * gnu/java/nio/FloatBufferImpl.java
8596         (FloatBufferImpl): Renamed two variables.
8597         * gnu/java/nio/IntBufferImpl.java
8598         (IntBufferImpl): Renamed two variables.
8599         * gnu/java/nio/LongBufferImpl.java
8600         (LongBufferImpl): Renamed two variables.
8601         * gnu/java/nio/ShortBufferImpl.java
8602         (ShortBufferImpl): Renamed two variables.
8603         * java/nio/CharBuffer.java
8604         (wrap): Fixed arguments to CharBufferImpl constructor.
8605         (hasArray): Only not read-only buffers have backing arrays.
8606         (length): Documentation added.
8607         (subSequence): Documentation added.
8608         * java/nio/DoubleBuffer.java
8609         (hasArray): Only not read-only buffers have backing arrays.
8610         * java/nio/FloatBuffer.java
8611         (hasArray): Only not read-only buffers have backing arrays.
8612         * java/nio/IntBuffer.java
8613         (hasArray): Only not read-only buffers have backing arrays.
8614         * java/nio/LongBuffer.java
8615         (hasArray): Only not read-only buffers have backing arrays.
8616         * java/nio/ShortBuffer.java
8617         (hasArray): Only not read-only buffers have backing arrays.
8618         
8619 2003-02-19  Michael Koch  <konqueror@gmx.de>
8620
8621         * javax/accessibility/AccessibleContext.java
8622         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
8623
8624 2003-02-19  Michael Koch  <konqueror@gmx.de>
8625
8626         * java/awt/ScrollPaneAdjustable.java: Reformated.
8627
8628 2003-02-19  Michael Koch <konqueror@gmx.de>
8629
8630         * gnu/awt/j2d/Graphics2DImpl.java
8631         (getFontRenderContext): New method.
8632         (drawGlyphVector): New method.
8633         * java/awt/Graphics2D.java
8634         (getFontRenderContext): New abstract method.
8635         (drawGlyphVector): New abstract method.
8636         
8637 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
8638
8639         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
8640         if necessary.
8641         
8642         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8643         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8644         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
8645         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
8646         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
8647         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
8648         (setFont, gtkSetFont): add.
8649         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
8650         Propagate font to peer.  (setFont): add FIXME comment.
8651
8652         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8653         (gtkTextGetSize): fix height, width computation.
8654
8655         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
8656         Make X font name a bit less bogus.
8657
8658         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
8659         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
8660
8661         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
8662         (processAdjustmentEvent): Adjust value.
8663
8664         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
8665         logic errors.
8666
8667         * java/awt/Component.java (setVisible, show, hide): Call show and
8668         hide methods in subclasses.
8669         (getPreferredSize): don't set prefSize before we have peer.
8670
8671         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
8672         Guess (0,0) if we don't have peer.
8673
8674
8675 2003-02-18  Michael Koch  <konqueror@gmx.de>
8676
8677         * java/nio/channels/FileChannel.java
8678         (toString): New implementation, added documentation.
8679         (map): Added exception documentation.
8680         (size): Added exception documentation.
8681         (write): New methods, documentation work.
8682         (read): New methods, documentation work.
8683         (implCloseChannel): Rewrote exception documentation.
8684         (force): Throws IOException, added documentation.
8685         (lock): New methods.
8686         (tryLock): New methods.
8687         (position): New methods.
8688         (transferTo): New method.
8689         (transferFrom): New method.
8690         (truncate): New method.
8691         * java/nio/channels/spi/SelectorProvider.java
8692         (provider): Implemented.
8693         * Makefile.am
8694         (ordinary_java_source_files): Added the following files:
8695         gnu/java/nio/DatagramChannelImpl.java
8696         gnu/java/nio/FileChannelImpl.java
8697         gnu/java/nio/PipeImpl.java
8698         gnu/java/nio/SelectionKeyImpl.java
8699         gnu/java/nio/SelectorImpl.java
8700         gnu/java/nio/SelectorProviderImpl.java
8701         gnu/java/nio/ServerSocketChannelImpl.java
8702         gnu/java/nio/SocketChannelImpl.java
8703         java/nio/channels/FileLock.java
8704         (nat_java_source_files): Added the following files:
8705         gnu/java/nio/natFileChannelImpl.cc
8706         gnu/java/nio/natSelectorImpl.cc
8707         gnu/java/nio/natSocketChannelImpl.cc
8708         * Makefile.in: Regenerated.
8709
8710 2003-02-17  Tom Tromey  <tromey@redhat.com>
8711
8712         * java/awt/image/ColorModel.java: Re-merged with Classpath.
8713         * java/awt/image/ImageFilter.java: Likewise.
8714
8715 2003-02-17  Raif S. Naffah <raif@fl.net.au>
8716
8717         * java/math/BigInteger.java (euclidInv): Return array of
8718         `BigInteger's.  Changed all callers.
8719
8720 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
8721
8722         * java/util/Properties.java (store): Move the code formerly in
8723         list(), into this method.
8724         (list (PrintStream)): Just call list (PrintWriter) with a 
8725         PrintWriter object constructed from the given PrintStream object.
8726         (list (PrintWriter)): Emulate the output of Properties.list()
8727         as found in JDK 1.3/1.4.
8728
8729 2003-02-17  Michael Koch  <konqueror@gmx.de>
8730
8731         * java/net/DatagramSocket.java
8732         (connect): Merged with classpath.
8733         (disconnect): Merged documentation with classpath.
8734         (receice): Merged documentation with classpath.
8735         (send): Merged documentation with classpath.
8736         
8737 2003-02-17  Michael Koch  <konqueror@gmx.de>
8738
8739         * java/awt/dnd/DragSourceContext.java
8740         (addDragSourceListener): Added documentation.
8741         * java/awt/dnd/DragSourceDragEvent.java
8742         (serialVersionUID): New member variable.
8743         (getDropAction): Reformated.
8744         * java/awt/dnd/DragSourceDropEvent.java
8745         (serialVersionUID): New member variable.
8746         (dropSuccess): Renamed from success for serialization issues.
8747         * java/awt/dnd/DragSourceEvent.java
8748         (serialVersionUID): New member variable.
8749         * java/awt/dnd/DropTarget.java
8750         (serialVersionUID): New member variable.
8751         (DropTarget): Implemented, documentation reworked.
8752         (setComponent): Documentation added.
8753         (getComponent): Documentation added.
8754         (setDefaultActions): Documentation added.
8755         (getDefaultActions): Documentation added.
8756         (addDropTargetListener): Documentation added.
8757         * java/awt/dnd/DropTargetContext.java
8758         (DropTargetContext): Documentation added.
8759         (TransferableProxy.TransferableProxy): New method.
8760         (dropComplete): Fixed documentation.
8761         (getTransferable): Fixed documentation.
8762         (createTransferableProxy): Implemented.
8763         * java/awt/dnd/DropTargetDragEvent.java
8764         (DropTargetDragEvent): Documentation added.
8765         (serialVersionUID): New member variable.
8766         (DropTargetDragEvent): Throw exceptions, documentation added.
8767         (acceptDrag): Implemented.
8768         (getCurrentDataFlavors): Implemented.3yy
8769         (getCurrentDataFlavorsAsList): Implemented.
8770         (isDataFlavorSupported): Implemented.
8771         (rejectDrag): Implemented.
8772         * java/awt/dnd/DropTargetDropEvent.java
8773         (DropTargetDropEvent): Documentation added.
8774         (serialVersionUID): New member variable.
8775         (actions): Renamed from srcActions for serialization issues.
8776         (isLocalTx): Renamed from isLocalTx for serialization issues.
8777         (DropTargetDropEvent): New implementation, throw exceptions,
8778         documentation added.
8779         (getCurrentDataFlavors): Implemented.
8780         (getCurrentDataFlavorsAsList): Implemented.
8781         (isDataFlavorSupported): Implemented.
8782         (getSourceActions): Implemented.
8783         (getDropAction): Implemented.
8784         (getTransferable): Implemented.
8785         (acceptDrop): Implemented.
8786         (rejectDrop): Implemented.
8787         * java/awt/dnd/DropTargetListener.java
8788         (drop): Fixed documentation.
8789         * java/awt/dnd/MouseDragGestureRecognizer.java
8790         (MouseDragGestureRecognizer): Documentation added.
8791
8792 2003-02-17  Michael Koch  <konqueror@gmx.de>
8793
8794         * java/awt/font/FontRenderContext.java,
8795         java/awt/font/ShapeGraphicAttribute.java,
8796         java/awt/font/MultipleMaster.java,
8797         java/awt/font/TransformAttribute.java,
8798         java/awt/font/GlyphJustificationInfo.java,
8799         java/awt/font/LineBreakMeasurer.java,
8800         java/awt/font/TextMeasurer.java,
8801         java/awt/font/TextLayout.java,
8802         java/awt/font/LineMetrics.java,
8803         java/awt/font/TextAttribute.java,
8804         java/awt/font/GlyphMetrics.java,
8805         java/awt/font/OpenType.java,
8806         java/awt/font/GlyphVector.java,
8807         java/awt/font/GraphicAttribute.java,
8808         java/awt/font/ImageGraphicAttribute.java,
8809         java/awt/font/NumericShaper.java: New files.
8810         * Makefile.am
8811         (awt_java_source_files): Added the following files:
8812         java/awt/font/FontRenderContext.java
8813         java/awt/font/ShapeGraphicAttribute.java
8814         java/awt/font/MultipleMaster.java
8815         java/awt/font/TransformAttribute.java
8816         java/awt/font/GlyphJustificationInfo.java
8817         java/awt/font/LineBreakMeasurer.java
8818         java/awt/font/TextMeasurer.java
8819         java/awt/font/TextLayout.java
8820         java/awt/font/LineMetrics.java
8821         java/awt/font/TextAttribute.java
8822         java/awt/font/GlyphMetrics.java
8823         java/awt/font/OpenType.java
8824         java/awt/font/GlyphVector.java
8825         java/awt/font/GraphicAttribute.java
8826         java/awt/font/ImageGraphicAttribute.java
8827         java/awt/font/NumericShaper.java
8828         * Makefile.in: Regenerated.
8829
8830 2003-02-17  Michael Koch  <konqueror@gmx.de>
8831
8832         * java/awt/print/Paper.java
8833         (Paper): Implements Cloneable.
8834         * java/awt/print/PrinterJob.java
8835         (setJobName): Return value must be void.
8836         (print): Throws PrinterException.
8837         
8838 2003-02-16  Tom Tromey  <tromey@redhat.com>
8839
8840         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
8841         variable.
8842
8843 2003-02-15  Michael Koch  <konqueror@gmx.de>
8844
8845         * java/awt/datatransfer/DataFlavor.java
8846         (isRepresentationClassByteBuffer): Removed try-catch block.
8847         (isRepresentationClassCharBuffer): Removed try-catch block.
8848         (isRepresentationClassReader): Removed try-catch block.
8849
8850 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8851
8852         * java/nio/charset/Charset.java
8853         (isRegistered): Fixed method args and implementation.
8854         * java/nio/charset/CharsetEncoder.java
8855         (unmappableCharacterAction): New method.
8856
8857 2003-02-15  Michael Koch  <konqueror@gmx.de>
8858
8859         * java/awt/CheckboxMenuItem.java
8860         (CheckBoxMenuItem): Dont implement Serializable.
8861         (getListeners): New method,
8862         (getItemListeners): New method.
8863         * java/awt/Choice.java
8864         (getListeners): New method,
8865         (getItemListeners): New method.
8866         * java/awt/Container.java
8867         (getListeners): Added exception documentation.
8868         (setFocusTraversalKeys): Throw exceptions, added documentattion.
8869         (getFocusTraversalKeys): Added documentation.
8870         (areFocusTraversalKeysSet): Added documentation.
8871         (applyComponentOrientation): Added documentation.
8872         * java/awt/ContainerOrderFocusTraversalPolicy.java
8873         (implicitDownCycleTraversal): Renamed from downCycle for
8874         serialization.
8875         (ContainerOrderFocusTraversalPolicy): Added documentation.
8876         (accept): Reformated.
8877         * java/awt/Dialog.java
8878         (Dialog): Dont implement Serializable.
8879         (Dialog): Added documentation.
8880         * java/awt/Font.java
8881         (Font): Dont use absolute class name.
8882         * java/awt/Frame.java
8883         (Frame): Font implement Serializable.
8884         * java/awt/List.java
8885         (getListeners): New method,
8886         (getActionListeners): New method.       
8887         (getItemListeners): New method.
8888         * java/awt/Menu.java
8889         (countItems): New deprecated method.
8890         * java/awt/Scrollbar.java
8891         (getListeners): New method,
8892         (getAdjustmentListeners): New method,
8893         * java/awt/TextComponent.java
8894         (getListeners): New method,
8895         (getTextListeners): New method,
8896         * java/awt/TextField.java
8897         (getListeners): New method,
8898         (getActionListeners): New method.       
8899         * java/awt/Window.java
8900         (windowFocusListener): New member variable.
8901         (windowStateListener): New member variable.
8902         (getWindowFocusListeners): New method.
8903         (getWindowStateListeners): New method.
8904         (addWindowFocusListener): New method.
8905         (addWindowStateListener): New method.
8906         (removeWindowFocusListener): New method.
8907         (removeWindowStateListener): New method.
8908         * java/awt/datatransfer/DataFlavor.java
8909         (isRepresentationClassByteBuffer): New method.
8910         (isRepresentationClassCharBuffer): New method.
8911         (isRepresentationClassReader): New method.
8912
8913 2003-02-14  Mark Wielaard  <mark@klomp.org>
8914
8915         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
8916         zero when there is an exponent and the significant is zero.
8917         (divide): Always set scale to newScale even in special ZERO case.
8918
8919 2003-02-14  Tom Tromey  <tromey@redhat.com>
8920
8921         * java/lang/System.java (properties): Use Properties.clone.
8922         (setProperties): Likewise.
8923
8924 2003-02-14  Michael Koch  <konqueror@gmx.de>
8925
8926         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
8927         * gnu/java/nio/ServerSocketChannelImpl.java
8928         (SocketAccept): Removed.
8929         (accept): Commented out use of SocketAccept.
8930
8931 2003-02-13  Tom Tromey  <tromey@redhat.com>
8932
8933         * verify.cc (state::seen_subrs): New field.
8934         (state::state): Initialize it.
8935         (state::clean_subrs): New method.
8936         (state::~state): Call it.
8937         (state::copy): Copy subroutine list.
8938         (state::add_subr): New method.
8939         (state::merge): Only register a change if the current subroutine
8940         hasn't yet been noted.
8941
8942 2003-02-13  Mark Wielaard  <mark@klomp.org>
8943
8944         * java/io/InputStreamReader.java (getEncoding): Return null when
8945         closed.
8946         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
8947
8948 2003-02-13  Mark Wielaard  <mark@klomp.org>
8949  
8950         * java/util/zip/InflaterInputStream.java (read): Return zero when len
8951         is zero.
8952
8953 2003-02-13  Mark Wielaard  <mark@klomp.org>
8954
8955         * java/io/BufferedOutputStream.java (write(int)): Only flush when
8956         next byte cannot be buffered.
8957
8958 2003-02-13  Michael Koch  <konqueror@gmx.de>
8959  
8960         * java/awt/Label.java
8961         (Label): Don't implement Serializable directly.
8962         (addNotify): Fixed typo in documentation.
8963         * java/awt/List.java
8964         (List): Don't implement Serializable directly.
8965         * java/awt/PopupMenu.java
8966         (PopupMenu): Don't implement Serializable directly.
8967         * java/awt/ScrollPane.java
8968         (ScrollPane): Don't implement Serializable directly.
8969         * java/awt/Scrollbar.java
8970         (Scrollbar): Don't implement Serializable directly.
8971         * java/awt/TextArea.java
8972         (preferredSize): Fixed method arguments.
8973         * java/awt/TextField.java
8974         (TextField): Don't implement Serializable directly.
8975         * java/awt/color/ICC_ColorSpace.java
8976         (fromCIOXYZ): Documentation added.
8977         (getMinValue): Documentation added.
8978         (getMaxValue): Documentation added.
8979         * java/awt/datatransfer/DataFlavor.java
8980         (isMimeTypeEqual): May not be final.
8981         (clone): Throws CloneNotSupportedException.
8982         (getReaderForText): Don't throws UnsupportedEncodingException.
8983
8984 2003-02-13  Michael Koch  <konqueror@gmx.de>
8985  
8986         * gnu/java/awt/peer/gtk/GdkGraphics.java
8987         (drawString): New stubbed method.
8988         * java/awt/Graphics.java
8989         (drawString): New method.
8990
8991 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
8992
8993         PR libgcj/9271:
8994         * java/security/SecureRandom.java (next): Avoid bias in results.
8995
8996 2003-02-13  Michael  <konqueror@gmx.de>
8997
8998         * gnu/java/nio/FileChannelImpl.java
8999         (lengthInternal): Must be native.
9000         (size): Check if channel is already closed.
9001         (implCloseChannel): Reformated.
9002         (read): w was unused, removed it.
9003         (read): Removed.
9004         (read): New method.
9005         (write): New method.
9006         (map): Check arguments.
9007         (force): Throws IOException, check if channel is closed.
9008         (transferTo): New method.
9009         (transferFrom): New method.
9010         (lock): New method.
9011         (tryLock): New method.
9012         (position): New method.
9013         (truncate): New method.
9014         (nio_mmap_file): Uncommented.
9015         (nio_munmap_file): Uncommented.
9016         (nio_msync): Uncommented.
9017         * gnu/java/nio/natFileChannelImpl.cc: New file.
9018         
9019 2003-02-13  Michael Koch  <konqueror@gmx.de>
9020
9021         * java/nio/ByteBuffer.java
9022         (endian): New member variable.
9023         (get): New methods.
9024         (equals): New method.
9025         (compareTo): New method.
9026         (order): New methods.
9027         (compact): New method.
9028         (isDirect): New method.
9029         (slice): New method.
9030         (duplicate): New method.
9031         (asReadOnlyBuffer): New method.
9032         (asCharBuffer): New method.
9033         (asDoubleBuffer): New method.
9034         (asFloatBuffer): New method.
9035         (asIntBuffer): New method.
9036         (asLongBuffer): New method.
9037         (asShortBuffer): New method.
9038         (get*): New methods.
9039         (put*): New methods.
9040         (toString): New method.
9041         * java/nio/CharBuffer.java
9042         (CharBuffer): Implement Comparable instead of Cloneable.
9043         (get): May not be final.
9044         (put): May not be final.
9045         
9046 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
9047
9048         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
9049         lastIndexOf( ) instead of indexOf( ) to find the colon before
9050         the line number, because Win32 file names might contain a 
9051         drive letter and a colon at the start of an absolute path.
9052
9053 2003-02-13  Michael Koch  <konqueror@gmx.de>
9054
9055         * gnu/java/nio/natSocketChannelImpl.cc
9056         (SocketConnect): This is not implemented yet.
9057         (SocketBind): This is not implemented yet.
9058
9059 2003-02-13  Michael Koch  <konqueror@gmx.de>
9060
9061         * gnu/java/nio/natByteBufferImpl.cc,
9062         gnu/java/nio/natCharBufferImpl.cc,
9063         gnu/java/nio/natDoubleBufferImpl.cc,
9064         gnu/java/nio/natFloatBufferImpl.cc,
9065         gnu/java/nio/natIntBufferImpl.cc,
9066         gnu/java/nio/natLongBufferImpl.cc,
9067         gnu/java/nio/natShortBufferImpl.cc:
9068         Added copyright and license.
9069         * java/nio/DoubleBuffer.java,
9070         java/nio/FloatBuffer.java,
9071         java/nio/IntBuffer.java,
9072         java/nio/LongBuffer.java,
9073         java/nio/ShortBuffer.java
9074         (array): Throw exceptions.
9075         (arrayOffset): Throw exceptions.
9076
9077 2003-02-13  Michael Koch  <konqueror@gmx.de>
9078  
9079         * gnu/java/util/prefs/FileBasedFactory.java,
9080         gnu/java/util/prefs/MemmoryBasedFactory.java,
9081         gnu/java/util/prefs/MemoryBasedPreferences.java,
9082         gnu/java/util/prefs/NodeReader.java,
9083         gnu/java/util/prefs/NodeWriter.java,
9084         java/util/prefs/AbstractPreferences.java,
9085         java/util/prefs/BackingStoreException.java,
9086         java/util/prefs/InvalidPreferencesFormatException.java,
9087         java/util/prefs/NodeChangeEvent.java,
9088         java/util/prefs/NodeChangeListener.java,
9089         java/util/prefs/PreferenceChangeEvent.java,
9090         java/util/prefs/PreferenceChangeListener.java,
9091         java/util/prefs/Preferences.java,
9092         java/util/prefs/PreferencesFactory.java:
9093         New files, all merged from classpath.
9094         * Makefile.am
9095         (ordinary_java_source_files): Added the following files:
9096         gnu/java/util/prefs/FileBasedFactory.java,
9097         gnu/java/util/prefs/MemmoryBasedFactory.java,
9098         gnu/java/util/prefs/MemoryBasedPreferences.java,
9099         gnu/java/util/prefs/NodeReader.java,
9100         gnu/java/util/prefs/NodeWriter.java,
9101         (core_java_source_files): Added the following files:
9102         java/util/prefs/AbstractPreferences.java,
9103         java/util/prefs/BackingStoreException.java,
9104         java/util/prefs/InvalidPreferencesFormatException.java,
9105         java/util/prefs/NodeChangeEvent.java,
9106         java/util/prefs/NodeChangeListener.java,
9107         java/util/prefs/PreferenceChangeEvent.java,
9108         java/util/prefs/PreferenceChangeListener.java,
9109         java/util/prefs/Preferences.java,
9110         java/util/prefs/PreferencesFactory.java
9111         * Makefile.in: Regenerated.
9112  
9113 2003-02-13  Michael Koch  <konqueror@gmx.de>
9114
9115         * java/net/NetPermission.java
9116         (NetPermission): Make doucmentation match the method declaration.
9117         * java/net/NetworkInterface.java
9118         (equals): Reformated for GNU coding style.
9119         * java/net/ServerSocket.java: Merged with classpath.
9120         * java/net/Socket.java: Partly merged with classpath (Added some @since).
9121         * java/net/SocketImpl.java
9122         (localPort): Merged with classpath (initialize with -1).
9123         * java/net/SocketPermission.java: Merged with classpath (reindented).
9124         * java/net/URLDecoder.java: Merged with classpath (reindented).
9125
9126 2003-02-13  Michael Koch  <konqueror@gmx.de>
9127
9128         * java/awt/GridBagConstraints.java
9129         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
9130         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
9131         * java/awt/KeyboardFocusManager.java
9132         (setGlobalCurrentFocusCycleRoot): Must be public.
9133         * java/awt/MenuComponent.java
9134         (MenuComponent): Must be public.
9135         * java/awt/Toolkit.java:
9136         Added some empty lines to make documentation more readable.
9137         (getFontPeer): Added @deprecated.
9138         (getColorModel): Added exception documentation.
9139         (getProperty): Fixed documentation.
9140  
9141 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
9142
9143         * configure.host (alpha*-*): Default to -mieee.
9144         * configure.in (IEEESPEC): New.
9145         * libgcj.spec.in (jc1): Add IEEESPEC.
9146         * configure: Rebuild.
9147
9148 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9149
9150         * include/win32.h: Include ws2tcpip.h instead of
9151         winsock.h to obtain definition of the socklen_t type.
9152         Remove IP_TOS definition - not needed with ws2tcpip.h
9153         (_Jv_connect): Correct slight formatting error.
9154
9155 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9156
9157         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
9158         size of the arguments for a JNI function. For Win32,
9159         modify to search for all forms of possible exported
9160         names of an stdcall JNI function.
9161         (_Jv_JNIMethod::call): Modify to calculate the size
9162         of the arguments passed to a JNI function and pass
9163         it to _Jv_LookupJNIMethod.
9164
9165 2003-02-12  Michael Koch  <konqueror@gmx.de>
9166
9167         * java/nio/channels/Channels.java: New file.
9168         * Makefile.am
9169         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
9170         * Makefile.in: Regenerated.
9171
9172 2003-02-12  Michael Koch  <konqueror@gmx.de>
9173
9174         * java/nio/ByteBuffer.java
9175         (allocate): Implemented.
9176         (wrap): Implemented.
9177         * java/nio/CharBuffer.java:
9178         Some documentation added and reworked.
9179         (endian): Removed.
9180         (allocate): Implemented.
9181         (wrap): Implemented.
9182         (array): Throw exceptions.
9183         (arrayOffset): Throw exceptions.
9184         (toString): Implemented.
9185         (length): Implemented.
9186         (put): Implemented.
9187         (charAt): Implemented.
9188
9189 2003-02-11  John Leuner  <jewel@debian.org>
9190
9191         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
9192         reads from end of file.
9193
9194 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
9195
9196         * java/io/natFileDescriptorWin32.cc 
9197         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
9198         returns with Win32 error code ERROR_BROKEN_PIPE.
9199
9200 2003-02-11  Michael Koch  <konqueror@gmx.de>
9201
9202         * Makefile.in
9203         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
9204
9205 2003-02-11  Michael Koch  <konqueror@gmx.de>
9206
9207         * gnu/java/nio/ByteBufferImpl.java:
9208         Reformated and removed some code.
9209         (backing_buffer): Removed.      
9210         (array_offset): Removed.
9211         (ro): Renamed to readOnly.
9212         (ByteBufferImpl): Use parent constructor, initialize readOnly.
9213         * gnu/java/nio/CharBufferImpl.java:
9214         Reformated and removed some code.
9215         (array_offset): Removed.
9216         (ro): Renamed to readOnly.
9217         (CharBufferImpl): Use parent constructor, initialize readOnly.
9218         (inc_pos): Removed.
9219         (order): New method.
9220         * gnu/java/nio/DoubleBufferImpl.java:
9221         Reformated and removed some code.
9222         (array_offset): Removed.
9223         (ro): Renamed to readOnly.
9224         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
9225         (inc_pos): Removed.
9226         (order): New method.
9227         * gnu/java/nio/FloatBufferImpl.java:
9228         Reformated and removed some code.
9229         (array_offset): Removed.
9230         (ro): Renamed to readOnly.
9231         (FloatBufferImpl): Use parent constructor, initialize readOnly.
9232         (inc_pos): Removed.
9233         (order): New method.
9234         * gnu/java/nio/IntBufferImpl.java:
9235         Reformated and removed some code.
9236         (array_offset): Removed.
9237         (ro): Renamed to readOnly.
9238         (IntBufferImpl): Use parent constructor, initialize readOnly.
9239         (inc_pos): Removed.
9240         (order): New method.
9241         * gnu/java/nio/LongBufferImpl.java:
9242         Reformated and removed some code.
9243         (array_offset): Removed.
9244         (ro): Renamed to readOnly.
9245         (LongBufferImpl): Use parent constructor, initialize readOnly.
9246         (inc_pos): Removed.
9247         (order): New method.
9248         * gnu/java/nio/ShortBufferImpl.java:
9249         Reformated and removed some code.
9250         (array_offset): Removed.
9251         (ro): Renamed to readOnly.
9252         (ShortBufferImpl): Use parent constructor, initialize readOnly.
9253         (inc_pos): Removed.
9254         (order): New method.
9255         * Makefile.am
9256         (ordinary_java_source_files): Added the following files:
9257         gnu/java/nio/ByteBufferImpl.java
9258         gnu/java/nio/CharBufferImpl.java
9259         gnu/java/nio/DoubleBufferImpl.java
9260         gnu/java/nio/FloatBufferImpl.java
9261         gnu/java/nio/IntBufferImpl.java
9262         gnu/java/nio/LongBufferImpl.java
9263         gnu/java/nio/ShortBufferImpl.java
9264         java/nio/DoubleBuffer.java
9265         java/nio/FloatBuffer.java
9266         java/nio/IntBuffer.java
9267         java/nio/LongBuffer.java
9268         java/nio/ShortBuffer.java
9269         (nat_source_files): Added the following files:
9270         gnu/java/nio/natByteBufferImpl.cc
9271         gnu/java/nio/natCharBufferImpl.cc
9272         gnu/java/nio/natDoubleBufferImpl.cc
9273         gnu/java/nio/natFloatBufferImpl.cc
9274         gnu/java/nio/natIntBufferImpl.cc
9275         gnu/java/nio/natLongBufferImpl.cc
9276         gnu/java/nio/natShortBufferImpl.cc
9277         * Makefile.in: Regenerated.
9278
9279 2003-02-11  Michael Koch  <konqueror@gmx.de>
9280
9281         * gnu/java/nio/natCharBufferImpl.cc
9282         (nio_cast): Removed.
9283         (nio_put_*): Removed.
9284         (nio_get_*): Removed.
9285         * gnu/java/nio/natDoubleBufferImpl.cc
9286         (nio_cast): Removed.
9287         (nio_put_*): Removed.
9288         (nio_get_*): Removed.
9289         * gnu/java/nio/natFloatBufferImpl.cc
9290         (nio_cast): Removed.
9291         (nio_put_*): Removed.
9292         (nio_get_*): Removed.
9293         * gnu/java/nio/natIntBufferImpl.cc
9294         (nio_cast): Removed.
9295         (nio_put_*): Removed.
9296         (nio_get_*): Removed.
9297         * gnu/java/nio/natLongBufferImpl.cc
9298         (nio_cast): Removed.
9299         (nio_put_*): Removed.
9300         (nio_get_*): Removed.
9301         * gnu/java/nio/natShortBufferImpl.cc
9302         (nio_cast): Removed.
9303         (nio_put_*): Removed.
9304         (nio_get_*): Removed.
9305         * gnu/java/nio/SelectorProviderImpl.java
9306         (openDatagramChannel): Throws IOException.
9307         (openPipe): Throws IOException.
9308         (openSelector): Throws IOException.
9309         (openServerSocketChannel): Throws IOException.
9310         (openSocketChannel): Throws IOException.
9311         * gnu/java/nio/ServerSocketChannelImpl.java
9312         (ServerSocketChannelImpl): Throws IOException.
9313         (implCloseSelectableChannel): Throws IOException.
9314         (implConfigureBlocking): Throws IOException.
9315         * java/nio/ByteBuffer.java
9316         (readOnly): Removed.
9317         (hasArray): Use isReadOnly() instead of readOnly.
9318         (array): Use isReadOnly() instead of readOnly.
9319         (arrayOffset): Use isReadOnly() instead of readOnly.
9320         * java/nio/CharBuffer.java
9321         (CharBuffer): Implements Cloneable and CharSequence.
9322
9323 2003-02-11  Michael Koch  <konqueror@gmx.de>
9324
9325         * java/nio/DoubleBuffer.java
9326         (DoubleBuffer): Implements Comparable.
9327         (endian): Removed.
9328         (array_offset): New member variable.
9329         (DoubleBuffer): New constuctor.
9330         (get): May not be final.
9331         (put): May not be final.
9332         (arrayOffset): Implemented.
9333         (order): Made abstract.
9334         (order): Removed.
9335         (as*Buffer): Removed.
9336         (get*): Removed.
9337         (put*): Removed.
9338         * java/nio/FloatBuffer.java
9339         (FloatBuffer): Implements Comparable.
9340         (endian): Removed.
9341         (array_offset): New member variable.
9342         (FloatBuffer): New constuctor.
9343         (get): May not be final.
9344         (put): May not be final.
9345         (arrayOffset): Implemented.
9346         (order): Made abstract.
9347         (order): Removed.
9348         (as*Buffer): Removed.
9349         (get*): Removed.
9350         (put*): Removed.
9351         * java/nio/IntBuffer.java
9352         (IntBuffer): Implements Comparable.
9353         (endian): Removed.
9354         (array_offset): New member variable.
9355         (IntBuffer): New constuctor.
9356         (get): May not be final.
9357         (put): May not be final.
9358         (arrayOffset): Implemented.
9359         (order): Made abstract.
9360         (order): Removed.
9361         (as*Buffer): Removed.
9362         (get*): Removed.
9363         (put*): Removed.
9364         * java/nio/LongBuffer.java
9365         (LongBuffer): Implements Comparable.
9366         (endian): Removed.
9367         (array_offset): New member variable.
9368         (LongBuffer): New constuctor.
9369         (get): May not be final.
9370         (put): May not be final.
9371         (arrayOffset): Implemented.
9372         (order): Made abstract.
9373         (order): Removed.
9374         (as*Buffer): Removed.
9375         (get*): Removed.
9376         (put*): Removed.
9377         * java/nio/ShortBuffer.java
9378         (ShortBuffer): Implements Comparable.
9379         (endian): Removed.
9380         (array_offset): New member variable.
9381         (ShortBuffer): New constuctor.
9382         (get): May not be final.
9383         (put): May not be final.
9384         (arrayOffset): Implemented.
9385         (order): Made abstract.
9386         (order): Removed.
9387         (as*Buffer): Removed.
9388         (get*): Removed.
9389         (put*): Removed.
9390
9391 2003-02-11   Michael Koch  <konqueror@gmx.de>
9392
9393         * java/nio/channels/SelectionKey.java
9394         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
9395         values.
9396
9397 2003-02-11  Michael Koch  <konqueror@gmx.de>
9398
9399         * java/nio/channels/DatagramChannel.java
9400         (write): Throws IOException.
9401         (connect): Throws IOException.
9402         (disconnect): Throws IOException.
9403         (read): Throws IOException.
9404         (receive): Throws IOException.
9405         (send): Throws IOException.
9406         * java/nio/channels/Pipe.java
9407         (open): Throws IOException.
9408         * java/nio/channels/SelectableChannel.java
9409         (configureBlocking): Throws IOException.
9410         * java/nio/channels/ServerSocketChannel.java
9411         (accept): Throws IOException.
9412         * java/nio/channels/SocketChannel.java
9413         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
9414         GatheringByteChannel.
9415         (read): Throws IOException.
9416         (write): Throws IOException.
9417         (finishConnect): Throws IOException.
9418         * java/nio/channels/spi/AbstractInterruptibleChannel.java
9419         (end): Throws AsynchronousCloseException.
9420         * java/nio/channels/spi/AbstractSelectableChannel.java
9421         (configureBlocking): Throws IOException.
9422         (implCloseChannel): Throws IOException.
9423         (implCloseSelectableChannel): Throws IOException.
9424         (implConfigureBlocking): Throws IOException.
9425         * java/nio/channels/spi/SelectorProvider.java
9426         (openDatagramChannel): Throws IOException.
9427         (openPipe): Throws IOException.
9428         (openSelector): Throws IOException.
9429         (openServerSocketChannel): Throws IOException.
9430         (openSocketChannel): Throws IOException.
9431
9432 2003-02-11  Michael Koch  <konqueror@gmx.de>
9433
9434         * gnu/java/nio/FileLockImpl.java,
9435         java/nio/channels/FileLock.java: New files.
9436
9437 2003-02-11  Michael Koch  <konqueror@gmx.de>
9438
9439         * java/nio/charset/IllegalCharsetNameException.java
9440         (serialVersionUID): New member variable.
9441         (charsetName): New member variable.
9442         (IllegalCharsetException): New implementation.
9443         (getCharsetName): New implementation.
9444         * java/nio/charset/UnsupportedCharsetException.java
9445         (serialVersionUID): New member variable.
9446         (charsetName): New member variable.
9447         (UnsupportedCharsetException): New implementation.
9448         (getCharsetName): New implementation.
9449
9450 2003-02-10  Tom Tromey  <tromey@redhat.com>
9451
9452         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
9453         (ex): Renamed from sqlException.
9454
9455 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
9456
9457         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
9458         method used to ensure seeding has occurred and that a specific 
9459         seed can be set and used.
9460
9461 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
9462
9463         * java/lang/Win32Process.java (destroy): Declare as native.
9464         (hasExited): New native method.
9465         (exitValue): Define.
9466         (getErrorStream): Likewise.
9467         (getInputStream): Likewise.
9468         (getOutputStream): Likewise.
9469         (waitFor): Declare as native.
9470         (startProcess): New native method.
9471         (cleanup): Likewise.
9472         (ConcreteProcess): Define.
9473         (outputStream, inputStream, errorStream): New members.
9474         (procHandle, exitCode): Likewise.
9475
9476         * java/lang/natWin32Process.cc
9477         (java::lang::ConcreteProcess::cleanup): Define.
9478         (java::lang::ConcreteProcess::destroy): Likewise.
9479         (java::lang::ConcreteProcess::hasExited): Likewise.
9480         (java::lang::ConcreteProcess::waitFor): Likewise.
9481         (new_string): Likewise.
9482         (java::lang::ConcreteProcess::startProcess): Likewise.
9483
9484 2003-02-10  Raif S. Naffah <raif@fl.net.au>
9485
9486         * java/math/BigInteger.java:
9487         Updated notice to include years 2002 and 3.
9488         Added 2 private (int) arrays with values from the HAC (Handbook of
9489         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
9490         and t[] that contains nbr. of tests --used in isProbablePrime().
9491
9492         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
9493
9494         * java/math/BigInteger.java (make(int[],int), add(int,int),
9495         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
9496         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
9497         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
9498         make(long).
9499
9500         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
9501         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
9502         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
9503         BIs and returns void.
9504         (modInverse(BI)): Use new signatures of euclidInv().
9505
9506         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
9507         static small primes instead of remainder().
9508         Use pre-computed max nbr of trials based on bitlength of BI to test.
9509         Use pre-computed small primes for the trial tests instead of random
9510         numbers.
9511
9512         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
9513         not used.
9514
9515         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
9516         invoacation of MPN.chars_per_word().  not used.
9517
9518         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
9519         local var and used where needed.
9520
9521         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
9522         Combined declaration with initialisation of locals.
9523         Removed unused var.
9524
9525         * java/math/BigInteger.java: Style changes
9526         (pow(int)): Removed 'else' keyword.
9527         (toString(int)): idem.
9528         (doubleValue()): idem.
9529         (bitLength()): idem.
9530         (equals(Object)): Use static methods name in same class w/o prepending
9531         class name.
9532         (doubleValue()): idem.
9533         (setNegative(BI)): idem.
9534         (negate()): idem.
9535         (and(BI,int)): idem.
9536         (and(BI)): idem.
9537         (gcd(BI)): idem.
9538         (byteArrayToIntArray()): Removed casting to (int). this is
9539         std. behaviour.
9540         (canonicalize()): idem.
9541         (alloc(int)): Always instantiate a new BI.
9542
9543 2003-02-10  Tom Tromey  <tromey@redhat.com>
9544
9545         * java/sql/Timestamp.java (compareTo(Object)): New method.
9546         (compareTo(Timestamp)): Likewise.
9547         (serialVersionUID): Updated.
9548
9549 2003-02-07  Mark Wielaard  <mark@klomp.org>
9550
9551         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
9552         when verify is true.
9553         (JarFile(File, boolean)): Likewise.
9554         (manifestRead): Set manifestRead field correctly.
9555
9556 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9557
9558         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
9559         tests; see patch #1016 on Savannah.
9560
9561 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9562
9563         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
9564         (toString): do not return Strings starting with . and - erroneously.
9565         Improves Mauve results to 12 of 600 instead of 16 of 338 on
9566         DiagBigDecimal.
9567
9568 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9569
9570         * java/beans/PropertyDescriptor.java
9571         (PropertyDescriptor(String, Class)): Sanity check getter and setter
9572         methods.
9573         (PropertyDescriptor(String, Class, String, String)): Likewise.
9574         (PropertyDescriptor(String, Method, Method): Factor out getter and
9575         setter method sanity checks into new method.
9576         (findMethods): Don't do parameter sanity checking of get method here.
9577         (checkMethods): New method.
9578
9579 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9580
9581         * java/beans/PropertyDescriptor.java: Reformat.
9582
9583 2003-02-04  Tom Tromey  <tromey@redhat.com>
9584
9585         * java/io/PipedOutputStream.java (flush): Declare as throwing
9586         IOException.
9587         (close): Likewise.
9588         * java/io/PipedWriter.java (close): Declare as throwing
9589         IOException.
9590         * java/io/StringWriter.java (close): Declare as throwing
9591         IOException.
9592
9593 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
9594
9595         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
9596         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
9597         could also have been exported as "JNI_OnLoad@8" (MinGW) or
9598         "_JNI_OnLoad@8" (MSVC).
9599
9600 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
9601
9602         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
9603         convention on Win32 to invoke native JNI methods.
9604
9605 2003-02-03  Andrew Haley  <aph@redhat.com>
9606
9607         * configure.host (x86_64): Enable interpreter.
9608
9609 2003-02-03  Andrew Haley  <aph@redhat.com>
9610
9611         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
9612         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
9613         * configure.in (BACKTRACESPEC): New.
9614         * configure: Regenerate.
9615
9616 2003-02-02  Tom Tromey  <tromey@redhat.com>
9617
9618         * configure: Rebuilt.
9619         * configure.in (TOOLKIT) [xlib]: Set correctly.
9620
9621         * Makefile.in: Rebuilt.
9622         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
9623         libstdc++.
9624
9625 2003-01-31  Mark WIelaard  <mark@klomp.org>
9626
9627         * Makefile.in: Rebuilt.
9628         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
9629
9630 2003-01-31  Tom Tromey  <tromey@redhat.com>
9631
9632         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
9633         cast to element type.
9634         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
9635         (_Jv_JNI_GetObjectArrayElement): Likewise.
9636
9637         * Makefile.in: Rebuilt.
9638         * Makefile.am (cond_x_ltlibrary): Renamed library to
9639         lib-gnu-awt-xlib.la.
9640         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
9641         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
9642         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
9643         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
9644         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
9645         (lib_gnu_awt_xlib_la_LINK): Likewise.
9646         (install-exec-hook): Removed.
9647         (lib-gnu-awt-xlib.la): Renamed.
9648
9649 2003-01-31  Tom Tromey  <tromey@redhat.com>
9650
9651         * aclocal.m4, configure, include/config.h.in: Rebuilt.
9652         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
9653         aclocal.m4 and lost in some merge.
9654
9655         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
9656         Don't try to find graphics configuration.
9657         * java/awt/Toolkit.java (default_toolkit_name): Use new
9658         Configuration entry.
9659         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
9660         New global.
9661         * configure: Rebuilt.
9662         * configure.in (TOOLKIT): New subst.
9663         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
9664         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
9665         directory.  Make output directories for .c files.
9666         * Makefile.in: Rebuilt.
9667         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
9668         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
9669         (all_java_source_files): Added new sources.
9670         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
9671         (gtk_c_files): New macro.
9672         (gtk_c_source_files): New macro.
9673         (cond_gtk_ltlibrary): New macro.
9674         ($(gtk_c_files)): New target.
9675         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
9676         (gtk_awt_peer_sources): New macro.
9677         (gtk_c_headers): New macro.
9678         ($(gtk_c_headers)): New target.
9679         (ACLOCAL_AMFLAGS): New macro.
9680         * gtk.m4, glib.m4, libart.m4: New files.
9681         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
9682         gnu/java/awt/peer/gtk/GdkGraphics.java,
9683         gnu/java/awt/peer/gtk/GtkArg.java,
9684         gnu/java/awt/peer/gtk/GtkArgList.java,
9685         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9686         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
9687         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
9688         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
9689         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
9690         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9691         gnu/java/awt/peer/gtk/GtkClipboard.java,
9692         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9693         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9694         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
9695         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
9696         gnu/java/awt/peer/gtk/GtkFontPeer.java,
9697         gnu/java/awt/peer/gtk/GtkFramePeer.java,
9698         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
9699         gnu/java/awt/peer/gtk/GtkImage.java,
9700         gnu/java/awt/peer/gtk/GtkImagePainter.java,
9701         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
9702         gnu/java/awt/peer/gtk/GtkListPeer.java,
9703         gnu/java/awt/peer/gtk/GtkMainThread.java,
9704         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
9705         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
9706         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
9707         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
9708         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
9709         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
9710         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
9711         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
9712         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
9713         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9714         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9715         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9716         gnu/java/awt/peer/gtk/GtkToolkit.java,
9717         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
9718         gnu/java/awt/peer/gtk/TestAWT.java,
9719         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
9720         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
9721         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
9722         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9723         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
9724         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
9725         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
9726         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
9727         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
9728         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
9729         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
9730         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
9731         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
9732         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
9733         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
9734         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
9735         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
9736         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
9737         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
9738         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
9739         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
9740         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
9741         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
9742         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9743         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
9744         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
9745         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
9746         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
9747         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
9748         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
9749         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
9750         jni/classpath/native_state.c, jni/classpath/native_state.h,
9751         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
9752
9753 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
9754
9755         * java/util/Properties.java (load): Ignore backslash before EOF.
9756
9757 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
9758
9759         * java/lang/natClass.cc (initializeClass): Check tables when
9760         (state == JV_STATE_IN_PROGRESS).
9761         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
9762         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
9763         interpreted classes.
9764         (linkClass0): Use _Jv_WaitForState.
9765
9766 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
9767
9768         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
9769         object when finished.
9770
9771 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
9772
9773         * libjava/configure.host: Disable can_unwind_signal on darwin.
9774
9775 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
9776
9777         Fixes PR java/9254:
9778         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
9779         additionally containing id of the owner thread as well as
9780         the number of nested times the thread has acquired the mutex.
9781         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
9782         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
9783         (_Jv_MutexUnlock): Check if really the owner thread, reset
9784         owner thread id to 0 before leaving, if leaving for the last
9785         time.
9786         (_Jv_MutexLock): Set owner thread id in the mutex and increment
9787         refcount.
9788         (_Jv_ThreadYield): Yield using a call to Sleep(0).
9789         * win32-threads.cc (_Jv_CondWait): Check if really owner of
9790         the passed mutex.
9791         Pass handle of the broadcast event, instead of a pointer to it
9792         in Win32 ResetEvent( ) call.
9793         Remove incorrect return values.
9794         (_Jv_CondDestroy): Close both event handles and delete
9795         critical section.
9796         (_Jv_CondNotify): Check if really the owner thread.
9797         (_Jv_CondNotifyAll): Check if really the owner thread.
9798         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
9799         (really_start): Use SetEvent( ) to signal daemon_cond.
9800         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
9801         WaitForSingleObject( ) instead to wait for daemon_cond to be
9802         signalled.
9803
9804 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
9805
9806         * configure.in: Specifically define HAVE_BACKTRACE if building
9807         for MinGW.
9808         * include/win32.h: Remove HAVE_BACKTRACE definition.
9809         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
9810         * configure: Rebuilt.
9811
9812 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
9813
9814         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
9815         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
9816         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
9817         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
9818         * Makefile.in, configure: Rebuilt.
9819
9820 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
9821
9822         Fixes PR java/9253:
9823         * java/io/natFileWin32.cc (performList): Append only "*.*"
9824         if the canonical file path already has a "\" at the end.
9825
9826 2003-01-24  Tom Tromey  <tromey@redhat.com>
9827
9828         * defineclass.cc (handleMethodsEnd): Precompute code for static
9829         method.
9830         (handleCodeAttribute): Likewise.
9831         * resolve.cc (ncode): Use run_class for unsynchronized static
9832         methods.
9833         * include/java-interp.h (class _Jv_InterpMethod): Declare
9834         run_class.
9835         * interpret.cc (run_synch_class): Initialize class.
9836         (run) [insn_invokestatic]: Don't initialize class.
9837         [insn_anewarray]: Likewise.
9838         [insn_multianewarray]: Likewise.
9839         (run_class): New function.
9840
9841 2003-01-24  Tom Tromey  <tromey@redhat.com>
9842
9843         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
9844         comment.
9845
9846 2003-01-22  Andrew Haley  <aph@redhat.com>
9847
9848         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
9849         * configure.host (CHECKREFSPEC): Define for x86_64.
9850
9851 2003-01-21  Tom Tromey  <tromey@redhat.com>
9852
9853         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
9854         search at 2, not 3.
9855
9856 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
9857
9858         * java/io/natFileWin32.cc (isAbsolute): Check path length before
9859         looking at any characters.
9860         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
9861         be used.
9862         (isAbsolute): Check path's length as well.
9863
9864 2003-01-17  Mark Wielaard  <mark@klomp.org>
9865
9866         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
9867         (nat_source_files): Add natVMObjectStreamClass.cc.
9868         * Makefile.in: Regenerated.
9869         * gcj/javaprims.h (namespace java): Regenerated.
9870         * java/io/ObjectStreamClass.java (getClassUID): Call
9871         VMObjectStreamClass.hasClassInitializer().
9872         (hasClassInitializer): Removed.
9873         * java/io/VMObjectStreamClass.java: New class.
9874         * java/io/natVMObjectStreamClass.cc: New file.
9875         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
9876
9877 2003-01-16  Mark Wielaard  <mark@klomp.org>
9878
9879         * java/net/SocketImpl.java (toString): Don't explicitly call
9880         toString() on possible null address.
9881
9882 2003-01-16  Michael Koch  <konqueror@gmx.de>
9883
9884         * java/net/MulticastSocket.java
9885         (setInterface): Reindented.
9886
9887 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9888
9889         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
9890         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
9891         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
9892         translateY arguments.  Implement.
9893         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
9894         down translation arguments.
9895         (drawPolyline, drawPolygon): Fix incorrect tests.
9896         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
9897         translateX and translateY arguments.
9898
9899 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9900
9901         * Makefile.in: Rebuilt.
9902         * Makefile.am (xlib_includes): New macro.
9903         (INCLUDES): Use it.
9904
9905 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9906
9907         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
9908         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
9909         16-bit display mode.
9910
9911 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9912
9913         * java/awt/CardLayout.java (show): Rewrote.
9914         (gotoComponent): Removed `target' argument.  Simplified code.
9915         Don't pre-compute `choice' unless `what' is FIRST or LAST.
9916         Changed all callers.
9917         (NONE): Removed.
9918         
9919 2003-01-14  Michael Koch  <konqueror@gmx.de>
9920
9921         * java/net/InetSocketAddress.java
9922         (serialVersionUID): New member variable.
9923         * java/net/NetPermission.java
9924         (NetPermission): Dont implement java.io.Serialization directly.
9925         * java/net/SocketAddress.java:
9926         (serialVersionUID): Documentation added.
9927         
9928 2003-01-14  Michael Koch  <konqueror@gmx.de>
9929
9930         * java/awt/Label.java
9931         (Label): Implements javax.accessibility.Accessible;
9932         * java/awt/List.java
9933         (List): Implements javax.accessibility.Accessible;
9934         * java/awt/ScrollPane.java
9935         (ScrollPane): Implements javax.accessibility.Accessible;
9936         * java/awt/Scrollbar.java
9937         (Scrollbar): Implements javax.accessibility.Accessible;
9938         * java/awt/TextComponent.java
9939         (setCaretPosition): Throw exception, documentation added.
9940         * java/awt/Toolkit.java:
9941         Added some newlines in method documentations.
9942         (createButton): Exception documentation added.
9943         (createTextField): Exception documentation added.
9944         (createLabel): Exception documentation added.
9945         (createList): Exception documentation added.
9946         (createCheckbox): Exception documentation added.
9947         (createScrollbar): Exception documentation added.
9948         (createScrollPane): Exception documentation added.
9949         (createTextArea): Exception documentation added.
9950         (createChoice): Exception documentation added.
9951         (createFrame): Exception documentation added.
9952         (createWindow): Exception documentation added.
9953         (createDialog): Exception documentation added.
9954         (createMenuBar): Exception documentation added.
9955         (createMenu): Exception documentation added.
9956         (createMenuItem): Exception documentation added.
9957         (createFileDialog): Exception documentation added.
9958         (createCheckboxMenuItem): Exception documentation added.
9959         (loadSystemColors): Exception documentation added.
9960         (setDynamicLayout): Exception documentation added.
9961         (isDynamicLayoutSet): Exception documentation added.
9962         (isDynamicLayoutActive): Exception documentation added.
9963         (getScreenSize): Exception documentation added.
9964         (getScreenResolution): Exception documentation added.
9965         (getScreenInsets): Exception documentation added.
9966         (getColorModel): Exception documentation added.
9967         (getSystemClipboard): Exception documentation added.
9968         (getSystemSelection): Exception documentation added.
9969         (getMenuShortcutKeyMask): Exception documentation added.
9970         (getSystemEventQueue): Exception documentation added.
9971         * java/awt/Window.java:
9972         Reindented some code.
9973         (Window): Centralized implementation, documentation added.
9974         (finalize): Documentation added.
9975         (hide): Fixed typo in comment.
9976         (getWindowListeners): Documentation added.
9977         * java/awt/color/ColorSpace.java
9978         (toRGB): Documentation added.
9979         * java/awt/color/ICC_ColorSpace.java
9980         (ICC_ColorSpace): Documentation added.
9981         (toRGB): Throw exception, documentation added.
9982         (fromRGB): Throw exception, documentation added.
9983         (toCIEXYZ): Documentation added.
9984         (fromCIEXYZ): Documentation added.
9985         (getMinValue): Documentation added.
9986         (getMaxValue): Documentation added.
9987         * java/awt/geom/Dimension2D.java
9988         (clone): Documentation added.
9989         * java/awt/geom/GeneralPath.java
9990         (clone): Documentation added.
9991         * java/awt/geom/Line2D.java
9992         (clone): Documentation added.
9993         * java/awt/geom/QuadCurve2D.java
9994         (clone): Documentation added.
9995         * java/awt/image/ColorModel.java
9996         (ColorModel): Throw exception, documentation added.
9997         * java/awt/image/ImageFilter.java
9998         (clone): Doesnt throw CloneNotSupportedException.
9999
10000 2003-01-14  Andrew Haley  <aph@redhat.com>
10001
10002         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
10003         in a try block.
10004
10005 2003-01-10  Andrew Haley  <aph@redhat.com>
10006
10007         * include/dwarf2-signal.h: Remove x86_64.
10008         * configure.host (x86_64 DIVIDESPEC): Remove.
10009         * include/x86_64-signal.h: New file.
10010         * configure.in: Regenerate.
10011
10012 2003-01-10  Michael Koch  <konqueror@gmx.de>
10013
10014         * java/net/DatagramSocket.java
10015         (ch): Description added.
10016         (remotePort): Initialize with -1.
10017         (connect): Doesnt throws SocketException.
10018         * java/net/MulticastSocket.java
10019         (setInterface): Merge with Classpath.
10020         * java/net/ServerSocket.java
10021         (closed): New member variable.
10022         (bind): Check if socket is closed.
10023         (close): Close an associated channel too, set new value to closed.
10024         (isBound): Reindented.
10025         (isClosed): Implemented.
10026         * java/net/Socket.java
10027         (closed): New member variable.
10028         (bind): Check if socket is closed.
10029         (connect): Check if socket is closed.
10030         (close): Close an associated channel too, set new value to closed.
10031         (isClosed): Implemented.
10032
10033 2003-01-10  Michael Koch  <konqueror@gmx.de>
10034
10035         * java/awt/DisplayMode.java
10036         (equals): Fixed argument type and implementation.
10037
10038 2003-01-07  Tom Tromey  <tromey@redhat.com>
10039
10040         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
10041         JV_HASH_SYNCHRONIZATION.
10042         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
10043         JV_HASH_SYNCHRONIZATION.
10044
10045 2003-01-07  Michael Koch  <konqueror@gmx.de>
10046  
10047         * java/net/DatagramSocket.java:
10048         Added classpath license info.
10049         (DatagramSocket): Merged description with classpath.
10050         (close): Merged description with classpath.
10051         (getChannel): Merged description with classpath.
10052         (getInetAddress): Merged description with classpath.
10053         (getPort): Merged description with classpath.
10054         (getLocalAddress): Merged description with classpath.
10055         (getLocalPort): Merged description with classpath.
10056         (getSoTimeout): Merged description with classpath.
10057         (setSoTimeout): Merged description with classpath.
10058         (getSendBufferSize): Merged description with classpath.
10059         (setSendBufferSize): Merged description with classpath.
10060         (getReceiveBufferSize): Merged description with classpath.
10061         (setReceiveBufferSize): Merged description with classpath.
10062         
10063 2003-01-04  Tom Tromey  <tromey@redhat.com>
10064
10065         * java/awt/List.java: Merged with Classpath.
10066
10067 2003-01-03  Mark Wielaard  <mark@klomp.org>
10068
10069         * java/io/FileDescriptor.java (position): New private field.
10070         * java/io/natFileDescriptorPosix.cc (write): Up position.
10071         (setLength): Use and set position.
10072         (seek): Set position.
10073         (getFilePointer): Return position.
10074         (read): Up position.
10075
10076 2003-01-03  Mark Wielaard  <mark@klomp.org>
10077
10078         Merge with Classpath:
10079         * java/io/ObjectStreamClass.java (lookup): Split method and call
10080         lookupForClassObject().
10081         (lookupForClassObject): New method.
10082         (isProxyClass): New field.
10083         (setClass): Set isProxyClass, add object to classLookupTable, set
10084         superClass and calculateOffsets.
10085         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
10086         and not a proxy class.
10087         (setFields): Set accessible true for serialPersistentFields.
10088         (getClassUID): Same for suid. And check if suid is of type long.
10089         (hasClassInitializer): Don't throw NoSuchMethodError.
10090
10091 2003-01-03  Mark Wielaard  <mark@klomp.org>
10092
10093         * java/io/FileInputStream.java (finalize): Don't explicitly
10094         finalize FileDescriptor.
10095
10096 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
10097
10098         * configure.host (sparc*-*): Enable bytecode interpreter.
10099
10100 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
10101
10102         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
10103         Don't throw RemoteException.
10104         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
10105         throw RemoteException.
10106
10107 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
10108
10109         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
10110         proxyHost): New static fields.
10111         (<clinit>): Initialize new fields.
10112         (connect): Use proxy if necessary.
10113         (usingProxy): Implement.
10114
10115 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
10116
10117         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
10118         (TreeIterator.remove): Prefer IllegalStateException over
10119         ConcurrentModificationException, to match Sun.
10120
10121 2002-12-22  Anthony Green  <green@redhat.com>
10122
10123         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
10124
10125 2003-01-02  Mark Wielaard  <mark@klomp.org>
10126
10127         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
10128         public.
10129         (HTTP_USE_PROXY): Add field.
10130         (getResponseVals): Only set responseCode when not yet explicitly
10131         set by subclass.
10132
10133 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
10134             Mark Wielaard  <mark@klomp.org>
10135
10136         * java/util/zip/ZipFile.java (entries): Now HashMap.
10137         (readLeShort(DataInput, byte[])): Read from given byte array.
10138         (readLeInt(DataInput, byte[]): Likewise.
10139         (readLeShort(byte[] b, int off)): New method.
10140         (readLeInt(byte[] b, int off)): Likewise.
10141         (readEntries): Use byte arrays to read info in bigger chunks.
10142         (getEntries): Return HashMap.
10143         (getEntry): Use HashMap.
10144         (locBuf): New private field.
10145         (checkLocalHeader): Use locBuf to read info in one chunk.
10146         (getInputStream): Use entries HashMap, wrap PartialInputStream
10147         in BufferedInputStream.
10148         (ZipEntryEnumeration): Use HashMap and Interator.
10149
10150 2003-01-02  Mark Wielaard  <mark@klomp.org>
10151             Jeroen Frijters  <jeroen@sumatra.nl>
10152
10153         * java/net/URLClassLoader.java (Resource.getCodeSource):
10154         Fix check certs == null.
10155         (getCanonicalFileURL): Removed method.
10156         (JarURLLoader): Don't call removed method.
10157         (FileURLLoader): Likewise.
10158         (FileURLLoader.getResource): Don't canonicalize file name.
10159
10160 2003-01-01  Tom Tromey  <tromey@redhat.com>
10161
10162         * Makefile.in: Rebuilt.
10163         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
10164         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
10165         java/awt/BufferCapabilities.java, java/awt/Button.java,
10166         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
10167         java/awt/Container.java, java/awt/Cursor.java,
10168         java/awt/EventQueue.java, java/awt/FileDialog.java,
10169         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
10170         java/awt/MenuBar.java, java/awt/MenuComponent.java,
10171         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
10172         java/awt/Scrollbar.java, java/awt/TextArea.java,
10173         java/awt/TextField.java, java/awt/color/CMMException.java,
10174         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
10175         java/awt/color/ProfileDataException.java,
10176         java/awt/datatransfer/Clipboard.java,
10177         java/awt/datatransfer/DataFlavor.java,
10178         java/awt/datatransfer/FlavorMap.java,
10179         java/awt/datatransfer/SystemFlavorMap.java,
10180         java/awt/dnd/DragGestureEvent.java,
10181         java/awt/dnd/DragGestureRecognizer.java,
10182         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
10183         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
10184         java/awt/im/InputMethodHighlight.java,
10185         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
10186         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
10187
10188         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
10189         `op' to BufferedImageOp.
10190
10191 2002-12-31  Tom Tromey  <tromey@redhat.com>
10192
10193         Fix for PR libgcj/7416:
10194         * javax/naming/InitialContext.java (init): Use
10195         gnu.classpath.home.url.
10196         * java/security/Security.java: Use new properties.
10197         (loadProviders): Accept base url; use it.
10198         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
10199         gnu.classpath.home.url.
10200         (gnu.classpath.home.url): Define.
10201         (gnu.classpath.vm.shortname): Likewise.
10202
10203 2002-12-31  Tom Tromey  <tromey@redhat.com>
10204             Ranjit Mathew  <rmathew@hotmail.com>
10205
10206         Fix for PR libgcj/8997:
10207         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
10208         Include platform.h.
10209         * include/posix.h (_Jv_platform_usleep): New function.
10210         * include/win32.h (_Jv_platform_usleep): New function.
10211
10212 2002-12-29  Tom Tromey  <tromey@redhat.com>
10213
10214         * gcj/javaprims.h: Updated.
10215         * scripts/classes.pl (scan): Removed stray semicolon.
10216
10217 2002-12-30  Mark Wielaard  <mark@klomp.org>
10218
10219         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
10220         if zero or smaller.
10221
10222 2002-12-30  Mark Wielaard  <mark@klomp.org>
10223
10224         * java/util/Properties (formatForOutput): Don't fall through to
10225         default case after escaping character.
10226
10227 2002-12-30  Mark Wielaard  <mark@klomp.org>
10228
10229         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
10230         against count.
10231
10232 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
10233
10234         * boehm.cc: Remove stray semicolon.
10235         * interpret.cc: Likewise.
10236         * prims.cc: Likewise.
10237         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
10238         earlier to ensure default arguments are processed.
10239         * gcj/array.h (JArray): Add forward declaration.
10240         (elements): Likewise.
10241         * gcj/javaprim.h: Remove stray semicolons.
10242         * include/bohm-gc.h: Likewise.
10243         * include/jni.h: Likewise.
10244         * include/jvm.h: Likewise.
10245         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
10246         
10247 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
10248
10249         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
10250         of catch_type.
10251         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
10252         idt tables after initializing superclass.
10253         * java/lang/natClassLoader.cc (uaddr): New typedef.
10254         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
10255         if they are constant pool indicies.  Don't link vtable, otable yet.
10256
10257 2002-12-21  Anthony Green  <green@redhat.com>
10258
10259         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
10260         libraries.
10261         * Makefile.in: Rebuilt.
10262
10263 2002-12-19  Anthony Green  <green@redhat.com>
10264
10265         * Makefile.am (ordinary_java_source_files): Add
10266         org/xml/sax/helpers/NewInstance.java.
10267         * Makefile.in: Rebuilt.
10268         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
10269         org/xml/sax/helpers/package.html: New files.
10270         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
10271         http://www.saxproject.org.
10272
10273 2002-12-19  Andrew Haley  <aph@redhat.com>
10274
10275         * java/util/natResourceBundle.cc: Include
10276         ArrayIndexOutOfBoundsException.h.
10277         (getCallingClassLoader): Don't put upper bound on stack search.
10278         Catch ArrayIndexOutOfBoundsException.
10279
10280 2002-12-19  Tom Tromey  <tromey@redhat.com>
10281
10282         * libtool-version: Increased `current'.
10283
10284 2002-12-19  Tom Tromey  <tromey@redhat.com>
10285
10286         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
10287         comment.
10288         * java/lang/ClassLoader.java (defineClass): Use chained
10289         exception when rethrowing.
10290         * defineclass.cc (handleClassBegin): Mark class as interpreted.
10291         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
10292         constants.
10293         * resolve.cc (_Jv_PrepareMissingMethods): New function.
10294         (_Jv_PrepareClass): Use it.
10295         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
10296         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
10297         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
10298         (Class): _Jv_PrepareMissingMethods now friend.
10299         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
10300         Record `NULL' for system class loader.
10301         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
10302         system class loader.
10303         (_Jv_FindClassInCache): Likewise.
10304         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
10305         (_Jv_FindClass): Special case system class loader.
10306         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
10307         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
10308         vtable slots.
10309         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
10310         in a final class.
10311         (_getDeclaredMethod): Don't return synthetic methods.
10312         (getDeclaredMethods): Likewise.
10313         (_getMethod): Likewise.
10314         (_getMethods): Likewise.
10315
10316 2002-12-18  Raif Naffah  <raif@fl.net.au>
10317
10318         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
10319         canonical form after divide().
10320         (modInverse): Likewise.
10321
10322 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10323             Mark Wielaard  <mark@klomp.org>
10324
10325         * java/security/SecurityRandom (digest): Removed field.
10326         (SecureRandom): Check all providers for case-insensitive SecureRandom
10327         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
10328         if necessary.
10329         (getInstance(String,Provider,boolean): New method.
10330         (getInstance(String)): Use new method.
10331         (getInstance(String,String)): Likewise.
10332         (getInstance(String,Provider)): Likewise.
10333
10334 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10335
10336         * java/security/Security.java (loadProviders): Increment i only once.
10337
10338 2002-12-12  Mark Wielaard  <mark@klomp.org>
10339
10340         * java/lang/ClassLoader.java (resolveClass0): Transform
10341         ClassNotFoundException to NoClassDefFoundError. Transform all other
10342         throwables to LinkageError.
10343
10344 2002-12-11  Tom Tromey  <tromey@redhat.com>
10345
10346         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
10347
10348         * java/lang/ClassLoader.java (loadedClasses): New field.
10349         (defineClass): Fixed indentation.  Put new class in
10350         loadedClasses.
10351         (findLoadedClass): Implement here.
10352         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
10353
10354 2002-12-10  Tom Tromey  <tromey@redhat.com>
10355
10356         * Makefile.in: Rebuilt.
10357         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10358         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
10359         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
10360         * java/lang/natClassLoader.cc
10361         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
10362
10363 2002-12-10  Mark Wielaard  <mark@klomp.org>
10364             Tom Tromey  <tromey@redhat.com>
10365
10366         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
10367         (JarURLLoader): Use it.
10368         (FileURLLoader): Likewise.
10369         (JarURLResource.getURL): Use chained exception.
10370         (FileResource.getURL): Likewise.
10371         (FileURLLoader.getResource): Use canonical file name.
10372         (addURL): Indentation fix.
10373
10374 2002-12-10  Tom Tromey  <tromey@redhat.com>
10375
10376         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
10377         From Laurent Bardet <l.bardet@magic.fr>.
10378
10379 2002-12-09  Tom Tromey  <tromey@redhat.com>
10380
10381         * include/win32.h (_Jv_platform_solib_prefix): New define.
10382         (_Jv_platform_solib_suffix): Likewise.
10383         * include/posix.h (_Jv_platform_solib_prefix): New define.
10384         (_Jv_platform_solib_suffix): Likewise.
10385         * java/lang/natRuntime.cc: Include StackTrace.h.
10386         (_load): Use findLibrary and new platform defines.
10387         (nativeGetLibname): Use new platform defines.
10388
10389         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
10390         `t' won't be null.
10391
10392 2002-12-08  Mark Wielaard  <mark@klomp.org>
10393
10394         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
10395         cache remote jar files.
10396         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
10397         add File.separator to URL when it is a directory.
10398         * java/lang/ClassLoader.java: Add Classpath javadoc.
10399         (parent): final.
10400         (getParent): Add (disabled) security check.
10401         (findLibrary): New default method.
10402         * java/net/JarURLConnection.java (getManifest): Implement.
10403         (getInputStream): Only create InputStream when entry exists.
10404         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
10405         when they exist.
10406         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
10407
10408 2002-12-08  Mark Wielaard  <mark@klomp.org>
10409
10410         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
10411         (lastDefaultLocale): New field.
10412         (getBundle): When Locale.getDefault != lastDefaultLocale reset
10413         resourceBundleCache.
10414
10415 2002-12-06  Mark Wielaard  <mark@klomp.org>
10416
10417         * java/net/InetAddress.java (toString): Use hostname when not null,
10418         don't do an explicit reverse getHostName() lookup.
10419         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
10420         NullPointerException.
10421
10422 2002-12-06  Tom Tromey  <tromey@redhat.com>
10423
10424         * include/java-interp.h (class _Jv_InterpMethod): Added
10425         JV_MARKOBJ_DECL.
10426         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
10427         mark `prepared' field of interpreted method.
10428         * interpret.cc (compile): Use _Jv_AllocBytes.
10429
10430 2002-12-05  Andrew Haley  <aph@redhat.com>
10431
10432         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
10433         #ifdef (HAVE_BACKTRACE) around the whole function body.
10434
10435 2002-12-05  Tom Tromey  <tromey@redhat.com>
10436
10437         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
10438         * resolve.cc: Don't include AbstractMethodError.h.
10439         (_Jv_abstractMethodError): Removed.
10440         * defineclass.cc (handleMethodsBegin): Initialize method index to
10441         -1.
10442         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
10443         method index for "new" final method.
10444         (_Jv_SetVTableEntries): Compare index against -1 instead of using
10445         isVirtualMethod.  Added `flags' argument.
10446         (_Jv_MakeVTable): Throw exception for abstract method in concrete
10447         class.
10448
10449 2002-12-04  Tom Tromey  <tromey@redhat.com>
10450
10451         * java/net/SocketPermission.java (hashCode): Rewrote.
10452
10453 2002-12-04  Tom Tromey  <tromey@redhat.com>
10454
10455         * Makefile.in: Rebuilt.
10456         * Makefile.am (nat_source_files): Added natVMSecurityManager,
10457         natResourceBundle.
10458         * java/util/ResourceBundle.java (Security): Removed.
10459         (getCallingClassLoader): Now native.
10460         * java/util/natResourceBundle.cc: New file.
10461         * java/lang/natVMSecurityManager.cc: New file.
10462         * java/lang/VMSecurityManager.java (getClassContext): Now native.
10463
10464 2002-12-03  Mark Wielaard  <mark@klomp.org>
10465
10466         * java/util/jar/JarFile.java (manifest): Not final.
10467         (manifestRead): New field.
10468         (JarFile): Don't read Manifest in constructor.
10469         (getManifest): New method.
10470         (JarEnumeration.nextElement): Use new method.
10471         (getEntry): Likewise.
10472         * java/util/zip/ZipFile.java (name): Final.
10473         (raf): Likewsie.
10474         (entries): Change type to Hashtable.
10475         (closed): New field.
10476         (ZipFile): Don't read enties in constructor.
10477         (readEntries): Use Hashtable.
10478         (close): Set new close flag and set entries to null inside
10479         synchronized block.
10480         (entries): Contruct enumeration using new getEntries() method and
10481         entries Hashtable.
10482         (getEntryIndex): Removed.
10483         (getEntries): New method.
10484         (getEntry): Use new getEntries() method and entries Hastable.
10485         (getInputStream): Likewise.
10486         (size): Return getEntries().size().
10487         (ZipEntryEnumeration): Wrap entries Hashtable elements.
10488         * java/util/zip/ZipEntry.java (cal): Don't initialize.
10489         (time): Removed
10490         (dostime): New field.
10491         (zipFileIndex): Removed.
10492         (ZipEntry(ZipEntry)): Copy dostime.
10493         (setDOSTime): Now final and doesn't convert dos time.
10494         (getDOSTime): Likewise.
10495         (setTime): Convert dos time.
10496         (getTime): Likewise.
10497         (getCalendar): New method.
10498         (setExtra): Use setTime().
10499         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
10500
10501 2002-12-03  Tom Tromey  <tromey@redhat.com>
10502
10503         * java/lang/Character.java (forDigit): Formatting fix.
10504
10505 2002-12-03  Raif Naffah  <raif@fl.net.au>
10506
10507         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
10508         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
10509         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
10510
10511 2002-12-03  Andrew Haley  <aph@redhat.com>
10512
10513         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
10514         _Jv_PushClass.
10515         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
10516         (_Jv_PopClass): New.
10517         (_Jv_PushClass): New.
10518         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
10519         discover the ClassLoader of our caller.
10520         (_Jv_CheckArrayStore): Don't check that a class is assignment
10521         compatible with Object.
10522         * java/lang/natVMTHrowable.cc: Delete.
10523         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
10524         java.lang.VMThrowable.
10525         (StackTrace(), StackTrace(int)): New constructors.
10526         (classAt, methodAt, update, methodAtAddress): New methods.
10527         (map): New field.
10528         * java/lang/VMThrowable.java: Use StackTrace instead of
10529         natVMTHrowable.
10530         * java/lang/Class.h (getClassLoaderInternal): New.
10531         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
10532         Be friendly with gnu::gcj::runtime::StackTrace.
10533         (Object.chain): New field.
10534         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
10535         gnu::gcj::runtime::StackTrace.
10536         * gnu/gcj/runtime/natStackTrace.cc: New file.
10537         * gnu/gcj/runtime/MethodRef.java: New file.
10538         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
10539         instead of getClassLoader().
10540         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
10541         java::lang::VMThrowable.
10542         * Makefile.am (core_java_source_files): Add MethodRef.java,
10543         StackTrace.java.
10544         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
10545         * Makefile.in: Rebuild.
10546
10547 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
10548
10549         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
10550         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
10551         yes also for sh-linux* and sh[34]*-linux*.
10552         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
10553         set SIGNAL_HANDLER to use DWARF2 exception for them.
10554         * configure: Regenerate.
10555
10556 2002-12-02  Tom Tromey  <tromey@redhat.com>
10557
10558         * jni.cc: Added `name' argument.
10559         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
10560         `const char *' argument.
10561         (class _Jv_JNIEnv) [DefineClass]: Likewise.
10562
10563 2002-12-01  Tom Tromey  <tromey@redhat.com>
10564
10565         Bug compatibility, for PR libgcj/8738:
10566         * java/io/CharArrayWriter.java (close): Do nothing.
10567         (flush): Likewise.
10568         (reset): Don't touch `closed'.
10569         (write(int)): Don't throw IOException.
10570         (write(char[],int,int)): Likewise.
10571         (write(String,int,int)): Likewise.
10572         (closed): Removed.
10573
10574 2002-12-01  Mark Wielaard  <mark@klomp.org>
10575
10576         * java/lang/SecurityManager.java: Remerge comments, indenting and
10577         checkXXX methods with Classpath.
10578
10579 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
10580
10581         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
10582         getNormalizedComponents): Fix calculation which was using one too
10583         many bits in the unnormalized format.
10584
10585 2002-11-29  Gary Benson  <gbenson@redhat.com>
10586
10587         For PR libgcj/8759:
10588         * java/beans/Introspector.java (flushCaches): New method.
10589         (flushFromCaches): Likewise.
10590
10591 2002-11-29  Michael Koch <konqueror@gmx.de>
10592
10593         * java/nio/channels/DatagramChannel.java
10594         (open): Added exception documentation.
10595         (write): Added exception documentation.
10596         (connect): Added exception documentation.
10597         (disconnect): Added exception documentation.
10598         (isConnected): Added exception documentation.
10599         (read): Added exception documentation.
10600         (receive): Added exception documentation.
10601         (send): Added exception documentation.
10602         (validOps): Added exception documentation.
10603         * java/nio/channels/SocketChannel.java
10604         (open): Added exception documentation.
10605         (read): Added exception documentation.
10606         (write): Added exception documentation.
10607         (connect): Added exception documentation.
10608         (finishConnect): Added exception documentation.
10609
10610 2002-11-29  Michael Koch <konqueror@gmx.de>
10611
10612         * gnu/java/nio/DatagramChannelImpl:
10613         (fd): New member variable to store file descriptor of socket.
10614         * gnu/java/nio/SelectionKeyImpl.java:
10615         (ops): Removed.
10616         (readyOps): New member variable.
10617         (interestOps): New member variable.
10618         (readyOps): Implemented.
10619         (readyOps): New method to set member variable readyOps.
10620         (interestOps): Replaced ops by interestOps.
10621         * gnu/java/nio/SelectorImpl.java:
10622         (SelectorImpl): Initialize key sets.
10623         (select): Call select with -1 instead of Long.MAX_VALUE).
10624         (java_do_select): Make it a native method.
10625         (getFDsAsArray): New helper method.
10626         (select): Remove canceled keys, give only interested file discriptors
10627         to java_do_select, set ready ops.
10628         (add): No need to initialize keys set here.
10629         (add_selected): No need to initialize selected set here.
10630         (deregisterCanceledKeys): New helper method.
10631         (register): Set interest ops, set attachments, added handling of datagram
10632         channels.
10633         * gnu/java/nio/ServerSocketChannelImpl:
10634         (SocketAccept): Renamed from NioSocketAccept.
10635         (implConfigureBlocking): Implemented.
10636         (accept): Use SocketAccept instead of NioSocketAccept.
10637         * gnu/java/nio/SocketChannelImpl:
10638         Reactivate native methods.
10639
10640 2002-11-29  Michael Koch <konqueror@gmx.de>
10641
10642         * gnu/java/nio/natByteBufferImpl.cc,
10643         gnu/java/nio/natCharBufferImpl.cc,
10644         gnu/java/nio/natDoubleBufferImpl.cc,
10645         gnu/java/nio/natFloatBufferImpl.cc,
10646         gnu/java/nio/natIntBufferImpl.cc,
10647         gnu/java/nio/natLongBufferImpl.cc,
10648         gnu/java/nio/natSelectorImpl.cc,
10649         gnu/java/nio/natServerSocketChannelImpl.cc,
10650         gnu/java/nio/natShortBufferImpl.cc,
10651         gnu/java/nio/natSocketChannelImpl.cc:
10652         New files that implement native functionalities.
10653
10654 2002-11-29  Michael Koch <konqueror@gmx.de>
10655
10656         * gnu/java/nio/ByteBufferImpl.java
10657         (ByteBufferImpl): Moved position() after limit.
10658         (nio_*): Use native implementation.
10659         * gnu/java/nio/CharBufferImpl.java:
10660         Reformated.
10661         (endian): New member variable string endianess of buffer.
10662         (CharBufferImpl): Moved position() after limit.
10663         (nio_*): Use native implementation.
10664         (subSequence): Implemented.
10665         * gnu/java/nio/DoubleBufferImpl.java
10666         (DoubleBufferImpl): Moved position() after limit.
10667         (nio_*): Use native implementation.
10668         * gnu/java/nio/FloatBufferImpl.java
10669         Reformated.
10670         (FloatBufferImpl): Moved position() after limit.
10671         (nio_*): Use native implementation.
10672         * gnu/java/nio/IntBufferImpl.java
10673         Added needed imports, Reformated.
10674         (IntBufferImpl): Moved position() after limit.
10675         (nio_*): Use native implementation.
10676         * gnu/java/nio/LongBufferImpl.java
10677         Reformated.
10678         (LongBufferImpl): Moved position() after limit.
10679         (nio_*): Use native implementation.
10680         * gnu/java/nio/ShortBufferImpl.java
10681         Reformated.
10682         (ShortBufferImpl): Moved position() after limit.
10683         (nio_*): Use native implementation.
10684
10685 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
10686
10687         * java/util/Locale.java (toString): Improve efficiency if country
10688         and variant are both empty.
10689
10690 2002-11-26  Tom Tromey  <tromey@redhat.com>
10691
10692         * verify.cc (pop_init_ref): New method.
10693         (verify_instructions_0) [op_iaload, op_laload, op_faload,
10694         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
10695         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
10696         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
10697         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
10698         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
10699         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
10700         let `this' argument be uninitialized.  Don't let `null' be passed
10701         as `this' to construtor.
10702
10703 2002-11-26  Mark Wielaard  <mark@klomp.org>
10704
10705         * javax/transaction/HeuristicCommitException.java: Classpath merge.
10706         * javax/transaction/HeuristicMixedException.java: Likewise.
10707         * javax/transaction/HeuristicRollbackException.java: Likewise.
10708         * javax/transaction/InvalidTransactionException.java: Likewise.
10709         * javax/transaction/NotSupportedException.java: Likewise.
10710         * javax/transaction/RollbackException.java: Likewise.
10711         * javax/transaction/Status.java: Likewise.
10712         * javax/transaction/Synchronization.java: Likewise.
10713         * javax/transaction/SystemException.java: Likewise.
10714         * javax/transaction/Transaction.java: Likewise.
10715         * javax/transaction/TransactionManager.java: Likewise.
10716         * javax/transaction/TransactionRequiredException.java: Likewise.
10717         * javax/transaction/TransactionRolledbackException.java: Likewise.
10718         * javax/transaction/UserTransaction.java: Likewise.
10719         * javax/transaction/xa/XAException.java: Likewise.
10720         * javax/transaction/xa/XAResource.java: Likewise.
10721         * javax/transaction/xa/Xid.java: Likewise.
10722
10723 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
10724
10725         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
10726         define.
10727         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
10728         * include/posix.h (socklen_t): Define if not already defined.
10729
10730 2002-11-25  Tom Tromey  <tromey@redhat.com>
10731
10732         * verify.cc (type::compatible): Backed out broken change.
10733
10734         * verify.cc (type::compatible): Check initialization status
10735         first.
10736         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
10737         Don't use NULLCHECK.
10738
10739 2002-11-23  H.J. Lu <hjl@gnu.org>
10740
10741         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
10742         Include ../config/accross.m4.
10743         * aclocal.m4; Rebuild.
10744         * configure: Likewise.
10745
10746 2002-11-23  Mark Wielaard  <mark@klomp.org>
10747
10748         * javax/naming/AuthenticationException.java: Update copyright header.
10749         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
10750         * javax/naming/Binding.java: Likewise.
10751         * javax/naming/CannotProceedException.java: Likewise.
10752         * javax/naming/CommunicationException.java: Likewise.
10753         * javax/naming/CompositeName.java: Likewise.
10754         * javax/naming/CompoundName.java: Likewise.
10755         * javax/naming/ConfigurationException.java: Likewise.
10756         * javax/naming/Context.java: Likewise.
10757         * javax/naming/ContextNotEmptyException.java: Likewise.
10758         * javax/naming/InitialContext.java: Likewise.
10759         * javax/naming/InsufficientResourcesException.java: Likewise.
10760         * javax/naming/InterruptedNamingException.java: Likewise.
10761         * javax/naming/LimitExceededException.java: Likewise.
10762         * javax/naming/LinkException.java: Likewise.
10763         * javax/naming/LinkLoopException.java: Likewise.
10764         * javax/naming/LinkRef.java: Likewise.
10765         * javax/naming/MalformedLinkException.java: Likewise.
10766         * javax/naming/NameAlreadyBoundException.java: Likewise.
10767         * javax/naming/NameClassPair.java: Likewise.
10768         * javax/naming/NameNotFoundException.java: Likewise.
10769         * javax/naming/NameParser.java: Likewise.
10770         * javax/naming/NamingEnumeration.java: Likewise.
10771         * javax/naming/NamingSecurityException.java: Likewise.
10772         * javax/naming/NoInitialContextException.java: Likewise.
10773         * javax/naming/NoPermissionException.java: Likewise.
10774         * javax/naming/NotContextException.java: Likewise.
10775         * javax/naming/OperationNotSupportedException.java: Likewise.
10776         * javax/naming/PartialResultException.java: Likewise.
10777         * javax/naming/Reference.java: Likewise.
10778         * javax/naming/Referenceable.java: Likewise.
10779         * javax/naming/ReferralException.java: Likewise.
10780         * javax/naming/ServiceUnavailableException.java: Likewise.
10781         * javax/naming/SizeLimitExceededException.java: Likewise.
10782         * javax/naming/TimeLimitExceededException.java: Likewise.
10783         * javax/naming/directory/Attribute.java: Likewise.
10784         * javax/naming/directory/AttributeInUseException.java: Likewise.
10785         * javax/naming/directory/AttributeModificationException.java: Likewise.
10786         * javax/naming/directory/Attributes.java: Likewise.
10787         * javax/naming/directory/BasicAttribute.java: Likewise.
10788         * javax/naming/directory/BasicAttributes.java: Likewise.
10789         * javax/naming/directory/DirContext.java: Likewise.
10790         * javax/naming/directory/InitialDirContext.java: Likewise.
10791         * javax/naming/directory/InvalidAttributeIdentifierException.java:
10792         Likewise.
10793         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
10794         * javax/naming/directory/InvalidAttributesException.java: Likewise.
10795         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
10796         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
10797         * javax/naming/directory/ModificationItem.java: Likewise.
10798         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
10799         * javax/naming/directory/SchemaViolationException.java: Likewise.
10800         * javax/naming/directory/SearchControls.java: Likewise.
10801         * javax/naming/directory/SearchResult.java: Likewise.
10802         * javax/naming/event/EventContext.java: Likewise.
10803         * javax/naming/event/EventDirContext.java: Likewise.
10804         * javax/naming/event/NamespaceChangeListener.java: Likewise.
10805         * javax/naming/event/NamingEvent.java: Likewise.
10806         * javax/naming/event/NamingExceptionEvent.java: Likewise.
10807         * javax/naming/event/NamingListener.java: Likewise.
10808         * javax/naming/event/ObjectChangeListener.java: Likewise.
10809         * javax/naming/ldap/Control.java: Likewise.
10810         * javax/naming/ldap/ControlFactory.java: Likewise.
10811         * javax/naming/ldap/ExtendedRequest.java: Likewise.
10812         * javax/naming/ldap/ExtendedResponse.java: Likewise.
10813         * javax/naming/ldap/HasControls.java: Likewise.
10814         * javax/naming/ldap/InitialLdapContext.java: Likewise.
10815         * javax/naming/ldap/LdapContext.java: Likewise.
10816         * javax/naming/ldap/LdapReferralException.java: Likewise.
10817         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
10818         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
10819         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
10820         * javax/naming/spi/DirObjectFactory.java: Likewise.
10821         * javax/naming/spi/DirStateFactory.java: Likewise.
10822         * javax/naming/spi/DirectoryManager.java: Likewise.
10823         * javax/naming/spi/InitialContextFactory.java: Likewise.
10824         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
10825         * javax/naming/spi/NamingManager.java: Likewise.
10826         * javax/naming/spi/ObjectFactory.java: Likewise.
10827         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
10828         * javax/naming/spi/ResolveResult.java: Likewise.
10829         * javax/naming/spi/Resolver.java: Likewise.
10830         * javax/naming/spi/StateFactory.java: Likewise.
10831
10832         * javax/naming/spi/NamingManager.java (ofb): Package private.
10833
10834 2002-11-21  Mark Wielaard  <mark@klomp.org>
10835
10836         * java/net/URL.java: Merge with Classpath (partly).
10837         * java/net/URLStreamHandler: Merge with Classpath.
10838
10839 2002-11-22  Michael Koch <konqueror@gmx.de>
10840
10841         * include/posix.h:
10842         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
10843         * include/win32.h:
10844         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
10845         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
10846
10847 2002-11-21  Michael Koch <konqueror@gmx.de>
10848
10849         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
10850         Only the new network functions should be in it.
10851
10852 2002-11-21  Michael Koch <konqueror@gmx.de>
10853
10854         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
10855         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
10856
10857 2002-11-21  Michael Koch <konqueror@gmx.de>
10858
10859         * java/nio/channels/AsynchronousCloseException.java,
10860         java/nio/channels/CancelledKeyException.java,
10861         java/nio/channels/ClosedByInterruptException.java,
10862         java/nio/channels/ConnectionPendingException.java,
10863         java/nio/channels/FileLockInterruptionException.java,
10864         java/nio/channels/IllegalSelectorException.java,
10865         java/nio/channels/NoConnectionPendingException.java,
10866         java/nio/channels/NonReadableChannelException.java,
10867         java/nio/channels/NonWritableChannelException.java,
10868         java/nio/channels/NotYetBoundException.java,
10869         java/nio/channels/NotYetConnectedException.java,
10870         java/nio/channels/OverlappingFileLockException.java,
10871         java/nio/channels/UnresolvedAddressException.java,
10872         java/nio/channels/UnsupportedAddressTypeException.java:
10873         New files.
10874         * Makefile.am (ordinary_java_source_files): Added new files.
10875         * Makefile.in: Regenerated.
10876
10877 2002-11-21  Michael Koch <konqueror@gmx.de>
10878
10879         * include/posix.h
10880         (_Jv_socket): New method.
10881         (_Jv_connect): New method.
10882         (_Jv_close): New method.
10883         (_Jv_platform_close_on_exec): Prefixed system function with "::".
10884         (_Jv_bind): New method.
10885         (_Jv_listen): New method.
10886         (_Jv_write): New method.
10887         (_Jv_read): New method.
10888         * include/win32.h
10889         (_Jv_socket): New method.
10890         (_Jv_connect): New method.
10891         (_Jv_close): New method.
10892         (_Jv_bind): New method.
10893         (_Jv_listen): New method.
10894         (_Jv_write): New method.
10895         (_Jv_read): New method.
10896         * java/net/natNetworkInterface.cc:
10897         Include platform.h, removed inclusion of socket.h
10898         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
10899         ::close() by _Jv_close().
10900         * java/net/natPlainDatagramSocketImpl.cc:
10901         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
10902         added some new lines to make code more readable.
10903         (create): Replaced ::socket() by _Jv_socket().
10904         (close): Replaced NATIVE_CLOSE() by _Jv_close().
10905         * java/net/natPlainSocketImpl.cc:
10906         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
10907         removed include of socket.h, removed some windows defines
10908         (now in include/win32.h).
10909         (create): Replaced ::socket() by _Jv_socket().
10910         (close): Replaced NATIVE_CLOSE() by _Jv_close().
10911         (write): Replaced ::read by _Jv_write().
10912         (read): Replaced ::read by _Jv_read().
10913
10914 2002-11-20  Michael Koch <konqueror@gmx.de>
10915
10916         * Makefile.am (ordinary_java_source_files):
10917         Added java/nio/channels/FileChannel.java.
10918         * Makefile.in: Regenerated.
10919
10920 2002-11-20  Michael Koch <konqueror@gmx.de>
10921
10922         * java/io/FileInputStream.java
10923         (getChannel): New method.
10924         * java/io/FileOutputStream.java
10925         (getChannel): New method.
10926         * java/net/ServerSocket.java
10927         (bind): Removed duplicate code and called another bind method instead.
10928         * java/nio/channels/SelectionKey.java
10929         (isValid): Removed wrong exception documentation.
10930         * java/nio/channels/ServerSocketChannel.java
10931         (accept): Added exception documentation.
10932         (open): Fixed typo, added exception documentation.
10933         * java/nio/channels/spi/AbstractSelectableChannel.java
10934         (implCloseChannel): Added exception documentation.
10935         (add): Reformated.
10936         (register): Added exception documentation.
10937
10938 2002-11-20  Andreas Jaeger  <aj@suse.de>
10939
10940         * configure: Regenerated with new libtool.m4.
10941
10942 2002-11-19  Tom Tromey  <tromey@redhat.com>
10943
10944         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
10945         `referent'.
10946         (finalize_referred_to_object): Don't modify `referent' or `copy'
10947         fields.
10948         (add_to_hash): Correctly set `n->next' when updating list.
10949         * java/lang/ref/Reference.java (enqueue): Return false if already
10950         enqueued.
10951
10952 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
10953
10954         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
10955         to function and function pointer declarations in accordance with
10956         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
10957         based on whether __GCJ_JNI_IMPL__ has been defined or not.
10958         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
10959         JNI function definitions.
10960
10961 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
10962
10963         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
10964         that was causing CoderResults to be cached, not WeakReferences
10965         to CoderResults.
10966
10967 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
10968
10969         * java/security/KeyStore.java (getInstance): Fix
10970         comment and throw IllegalArgumentException if
10971         given provider is null.
10972         (getInstance): New method for jdk1.4 compatibility.
10973
10974 2002-11-18  Michael Koch <konqueror@gmx.de>
10975
10976         * java/net/PlainSocketImpl.java: Fix imports.
10977
10978 2002-11-18  Michael Koch <konqueror@gmx.de>
10979
10980         * java/nio/channels/SelectionKey.java
10981         (isValid): Added exception documentation.
10982         * java/nio/channels/Selector.java
10983         (open): Declare "throws IOException".
10984
10985 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
10986
10987         * java/nio/charset/Charset.java
10988         (<clinit>): New method.
10989         (encode): Synchronize use of cached encoder object.
10990         (decode): Synchronize use of cached encoder object.
10991
10992 2002-11-18  Michael Koch <konqueror@gmx.de>
10993
10994         * gnu/java/nio/ByteBufferImpl.java,
10995         gnu/java/nio/CharBufferImpl.java,
10996         gnu/java/nio/DatagramChannelImpl.java,
10997         gnu/java/nio/DoubleBufferImpl.java,
10998         gnu/java/nio/FileChannelImpl.java,
10999         gnu/java/nio/FloatBufferImpl.java,
11000         gnu/java/nio/IntBufferImpl.java,
11001         gnu/java/nio/LongBufferImpl.java,
11002         gnu/java/nio/PipeImpl.java,
11003         gnu/java/nio/SelectionKeyImpl.java,
11004         gnu/java/nio/SelectorImpl.java,
11005         gnu/java/nio/SelectorProviderImpl.java,
11006         gnu/java/nio/ServerSocketChannelImpl.java,
11007         gnu/java/nio/ShortBufferImpl.java,
11008         gnu/java/nio/SocketChannelImpl.java,
11009         java/nio/DoubleBuffer.java,
11010         java/nio/FloatBuffer.java,
11011         java/nio/IntBuffer.java,
11012         java/nio/LongBuffer.java,
11013         java/nio/ShortBuffer.java,
11014         java/nio/channels/FileChannel.java: New files.
11015
11016 2002-11-18  Michael Koch <konqueror@gmx.de>
11017
11018         * Makefile.am (ordinary_java_source_files):
11019         Added java/nio/ReadOnlyBufferException.java and
11020         java/nio/channels/ClosedSelectorException.java.
11021         * Makefile.in: Regenerated.
11022
11023 2002-11-18  Michael Koch <konqueror@gmx.de>
11024
11025         * java/net/PlainSocketImpl.java: Reworked imports.
11026         * java/net/ServerSocket.java
11027         (ServerSocket): Create socket.
11028         * java/net/SocketAddress.java: Documentation added.
11029         * java/net/natPlainSocketImpl.cc: Reindented.
11030         * java/nio/ReadOnlyBufferException.java: New file
11031         * java/nio/channels/ClosedChannelException.java: Documentation added.
11032         * java/nio/channels/ClosedSelectorException.java: New file.
11033
11034 2002-11-17  Mark Wielaard  <mark@klomp.org>
11035
11036         * java/net/HttpURLConnection.java ((getPermission): Take port
11037         into consideration.
11038         (getErrorStream): Implement.
11039
11040 2002-11-17  Mark Wielaard  <mark@klomp.org>
11041
11042         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
11043
11044 2002-11-16  Mark Wielaard  <mark@klomp.org>
11045
11046         Integrate work by Raif S. Naffah (raif@fl.net.au)
11047         * java/security/DummyKeyPairGenerator.java (clone): New method.
11048         * java/security/DummyMessageDigest.java (clone): New method.
11049         (engineUpdate): Now public.
11050         (engineReset): Likewise.
11051         (engineDigest): Likewise.
11052         (engineGetDigestLength): New method.
11053         * java/security/DummySignature.java (clone): New method.
11054         * java/security/KeyPairGenerator.java (provider): Now package private.
11055         (getInstance(String)): Use getInstance(String,Provider).
11056         (getInstance(String,String): Use getInstance(String,Provider)
11057         (getInstance(String,Provider): New method.
11058         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
11059         * java/security/KeyPairGeneratorSpi.java (clone): New method.
11060         * java/security/MessageDigest.java (provider): Now package private.
11061         (getInstance(String): Use getInstance(String,Provider).
11062         (getInstance(String,String): Use getInstance(String,Provider)
11063         (getInstance(String,Provider): New method.
11064         * java/security/Provider.java (toCanonicalKey): New method.
11065         (get): New method that uses toCanonicalKey().
11066         (put): Use toCanonicalKey().
11067         (remove): Likewise.
11068         * java/security/Security.java (insertProviderAt): Provider index is one
11069         based, not zero based.
11070         (addProvider): Likewise.
11071         (removeProvider): Likewise.
11072         * java/security/Signature.java (provider): Now package private.
11073         (getInstance(String)): Use getInstance(String,Provider).
11074         (getInstance(String,String): Use getInstance(String,Provider)
11075         (getInstance(String,Provider): New method.
11076         (getInstance(String,String,Provider): Don't cast DummySignature.
11077
11078 2002-11-15  Tom Tromey  <tromey@redhat.com>
11079
11080         For PR libgcj/8593:
11081         * java/util/zip/GZIPInputStream.java (read): Check file size.
11082         Look in inflater for remaining input bytes.
11083         (read4): Added buf and offset arguments.
11084
11085 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
11086
11087         * java/applet/AppletContext.java: Fix typo and remove redundant
11088         modifiers.
11089
11090 2002-11-14  Tom Tromey  <tromey@redhat.com>
11091
11092         * java/lang/natRuntime.cc (insertSystemProperties): Set
11093         gnu.classpath.home.
11094
11095 2002-11-13  Michael Koch <konqueror@gmx.de>
11096
11097         * java/nio/ByteBuffer.java
11098         (allocate): New method.
11099         (wrap): New method.
11100         (put): New method.
11101         (get): New method.
11102
11103 2002-11-13  Michael Koch <konqueror@gmx.de>
11104
11105         * java/nio/channels/AlreadyConnectedException.java:
11106         Removed unneeded import.
11107         (AlreadyConnectedException): Documentation added.
11108         * java/nio/channels/Pipe.java
11109         (SinkChannel.SinkChannel): Documentation added.
11110         (SinkChannel.validOps): New method.
11111         (SourceChannel.SourceChannel): Documentation added.
11112         (SourceChannel.validOps): New method.
11113         (Pipe): Documentation added.
11114         (open): Documentation added.
11115         (SinkChannel.channel): Documentation added.
11116         (SourceChannel.channel): Documentation added.
11117         * java/nio/channel/SelectableChannel.java
11118         (SelectableChannel): Documentation added.
11119         (blockingLock): Documentation added.
11120         (configureBlocking):Documentation added.
11121         (isBlocking):Documentation added.
11122         (isRegistered):Documentation added.
11123         (keyFor):Documentation added.
11124         (provider):Documentation added.
11125         (register): Documentation added.
11126         (validOps): Documentation added.
11127         * jaba/nio/channels/SelectionKey.java
11128         (SelectionKey): Documentation added.
11129         (attach): Documentation added.
11130         (attachment): Documentation added.
11131         (isAcceptable): Documentation added.
11132         (isConnetable): Documentation added.
11133         (isReadable): Documentation added.
11134         (isWritable): Documentation added.
11135         (cancel): Documentation added.
11136         (channel): Documentation added.
11137         (interestOps): Documentation added.
11138         (isValid): Documentation added.
11139         (readyOps): Documentation added.
11140         (selector): Documentation added.
11141         * jaba/nio/channels/Selector.java
11142         (Selector): Documentation added.
11143         (open): Documentation added.
11144         (close): Documentation added.
11145         (isOpen): Documentation added.
11146         (keys): Documentation added.
11147         (provider): Documentation added.
11148         (select): Documentation added.
11149         (selectedKeys): Documentation added.
11150         (selectNow): Documentation added.
11151         (wakeup): Documentation added.
11152         * java/nio/channels/spi/AbstractInterruptibleChannel.java
11153         (AbstractInterruptibleChannel): Documentation added.
11154         (opened): Default to true;
11155         (begin): Documentation added.
11156         (close): Set opened to false, documentation added.
11157         (isOpen): Documentation added.
11158         * java/nio/channels/spi/AbstractSelectionKey.java
11159         (AbstractSelectionKey): Documentation added.
11160         (cancel): Documentation added.
11161         (isValid): Documentation added.
11162         * java/nio/channels/spi/AbstractSelector.java
11163         (AbstractSelector): Documentation added.
11164         (begin): Documentation added.
11165         (close): Documentation added.
11166         (isOpen): Documentation added.
11167         (deregister): Documentation added.
11168         (end): Documentation added.
11169         (provider): Documentation added.
11170         (implCloseSelector): Documentation added.
11171         (register): Documentation added.
11172         * java/nio/channels/spi/SelectorProvider.java
11173         (SelectorProvider): Documentation added.
11174         (openDatagramChannel): Documentation added.
11175         (openPipe): Documentation added.
11176         (openSelector): Documentation added.
11177         (openServerSocketChannel): Documentation added.
11178         (openSocketChannel): Documentation added.
11179         (provider): Documentation added.
11180
11181 2002-11-12  Michael Koch <konqueror@gmx.de>
11182
11183         * java/nio/Buffer.java: Implemented.
11184         * java/nio/CharBuffer.java: New file.
11185         * java/nio/InvalidMarkException.java: New file.
11186         * java/nio/channels/DatagramChannel.java: Implemented.
11187         * java/nio/channels/ServerSocketChannel.java: Implemented.
11188         * java/nio/channels/SocketChannel.java: Implemented.
11189         * java/nio/channels/spi/AbstractChannel.java: Removed.
11190         * java/nio/channels/spi/AbstractSelectableChannel.java:
11191         Implemented.
11192         * java/nio/charset/Charset.java:
11193         Merge from Classpath.
11194         * java/nio/charset/CharsetDecoder.java: New file.
11195         * java/nio/charset/CharsetEncoder.java: New file.
11196         * java/nio/charset/CoderResult.java: New file.
11197         * Makefile.am (ordinary_java_source_files): Added new files.
11198         * Makefile.in: Regenerated.
11199
11200 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11201
11202         * gnu/java/nio/charset/ISO_8859_1.java,
11203         gnu/java/nio/charset/Provider.java,
11204         gnu/java/nio/charset/US_ASCII.java,
11205         gnu/java/nio/charset/UTF_16.java,
11206         gnu/java/nio/charset/UTF_16BE.java,
11207         gnu/java/nio/charset/UTF_16Decoder.java,
11208         gnu/java/nio/charset/UTF_16Encoder.java,
11209         gnu/java/nio/charset/UTF_16LE.java,
11210         gnu/java/nio/charset/UTF_8.java: New files.
11211
11212 2002-11-11  Michael Koch <konqueror@gmx.de>
11213
11214         * java/nio/charset/CharacterCodingException.java:
11215         This class must be public.
11216         * java/nio/charset/CoderMalfunctionError.java:
11217         This class must be public.
11218         * java/nio/charset/CodingErrorAction.java:
11219         This class must be public.
11220         * java/nio/charset/IllegalCharsetNameException.java:
11221         This class must be public, better implementation.
11222         * java/nio/charset/MalformedInputException.java:
11223         This class must be public, better implementation.
11224         * java/nio/charset/UnmappableCharacterException.java:
11225         This class must be public, better implementation.
11226         * java/nio/charset/UnsupportedCharsetException.java:
11227         This class must be public, better implementation.
11228
11229 2002-11-11  Michael Koch <konqueror@gmx.de>
11230
11231         * java/nio/BufferOverflowException.java,
11232         java/nio/BufferUnderflowException.java: New file.
11233         * Makefile.am (ordinary_java_source_files):
11234         Added new files.
11235         * Makefile.in: Regenerated.
11236
11237 2002-11-10  Tom Tromey  <tromey@redhat.com>
11238
11239         * java/awt/Container.java (validate): Use tree lock.
11240         (getComponent): Likewise.
11241         (getComponents): Likewise.
11242         (addImpl): Likewise.
11243         (remove): Likewise.
11244         (removeAll): Likewise.
11245         (processEvent): Fixed indentation.
11246         (getComponentAt): Use tree lock.
11247         (findComponentAt): Likewise.
11248         (removeNotify): Likewise.
11249         (isAncestorOf): Likewise.
11250         (list): Likewise.
11251         (visitChildren): Likewise.
11252         (findNextFocusComponent): Likewise.
11253         (addNotifyContainerChildren): Likewise.
11254         (getAccessibleChildrenCount): Likewise.
11255         (getAccessibleChild): Likewise.
11256
11257         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
11258         (getSize): Likewise.
11259         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
11260         (getSize): Likewise.
11261         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
11262         (calcSize): Likewise.
11263         * java/awt/CardLayout.java (getSize): Use tree lock.
11264         (gotoComponent): Likewise.
11265         (layoutContainer): Likewise.
11266
11267         * java/io/natFileDescriptorWin32.cc (read): Handle case where
11268         count is 0.
11269         * java/io/natFileDescriptorPosix.cc (read): Handle case where
11270         count is 0.
11271
11272         * java/io/Externalizable.java, java/io/FilePermission.java,
11273         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
11274         java/io/SerializablePermission.java, java/text/Format.java,
11275         java/util/AbstractMap.java, java/util/HashMap.java,
11276         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
11277         versions from Classpath.
11278
11279 2002-11-10  Anthony Green  <green@redhat.com>
11280
11281         * java/util/jar/Attributes.java (Name): Fix name check.
11282
11283 2002-11-10  Mark Wielaard  <mark@klomp.org>
11284
11285         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
11286         with getName() as message.
11287         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
11288         type as message.
11289
11290         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
11291         unused.
11292
11293 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
11294
11295         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
11296         for Win32. JNICALL has been defined to __stdcall to be compatible
11297         with Sun's JDKs.
11298
11299 2002-11-10  Tom Tromey  <tromey@redhat.com>
11300
11301         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
11302         (setRows): Check newRows, not rows.
11303
11304         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
11305
11306 2002-11-09  Tom Tromey  <tromey@redhat.com>
11307
11308         * java/applet/Applet.java, java/applet/AppletContext.java,
11309         java/applet/AppletStub.java, java/applet/AudioClip.java,
11310         java/awt/CardLayout.java,
11311         java/awt/ContainerOrderFocusTraversalPolicy.java,
11312         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
11313         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
11314         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
11315         java/awt/color/ICC_ColorSpace.java,
11316         java/awt/color/ICC_Profile.java,
11317         java/awt/color/ICC_ProfileGray.java,
11318         java/awt/color/ICC_ProfileRGB.java,
11319         java/awt/datatransfer/DataFlavor.java,
11320         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
11321         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
11322         New versions from Classpath.
11323         * Makefile.in: Rebuilt.
11324         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
11325         ICC_ProfileRGB.
11326
11327         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
11328         display policy.
11329
11330         * java/awt/List.java (processEvent): Added missing `else's.
11331
11332         * java/awt/Window.java (show): validate() before showing.  Make
11333         parent displayable.
11334         (isDisplayable): New method.
11335
11336 2002-11-07  Mark Wielaard  <mark@klomp.org>
11337
11338         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
11339         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
11340
11341         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
11342         annotation.
11343         (loadClass): Take String as codebases.
11344         (getClassAnnotation): Use MyClassLoader annotations.
11345         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
11346         call exportObject(this).
11347
11348         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
11349         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
11350         (setAnnotation): Don't set locBytesStream and locStream.
11351         (replaceObject): Removed.
11352         (flush): Don't test locStream.
11353         (getLocBytes): LikeWise.
11354         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
11355         (leaseCache): New field.
11356         (dirty): Use leaseCache.
11357         (LeaseRecord): New inner class.
11358         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
11359         explicitly call exportObject().
11360         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
11361         false to communicate with Sun JDK130.
11362         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
11363         * gnu/java/rmi/server/RMIObjectInputStream.java
11364         (UnicastConnectionManager): Removed field.
11365         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
11366         Use UnicastServer.getExportedRef().
11367         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
11368         (expireTime): Likewise.
11369         (CONNECTION_TIMEOUT): Likewise.
11370         (disconnect): Call sock.close().
11371         (isExpired): New method.
11372         (resetTime): Likewise.
11373         (run): Use do while loop and catch Exception for discardConnection().
11374         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
11375         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
11376         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
11377         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
11378         (exportObject): Use refcache.
11379         (unexportObject): Likewise.
11380         (getExportedRef): New method.
11381         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
11382         constructor.
11383         (exportObject): Save manager.serverobj.
11384         (getStub): New method.
11385
11386 2002-11-07  Mark Wielaard  <mark@klomp.org>
11387
11388         * java/lang/reflect/natField.cc (getBoolean): Use getType().
11389         (getByte): Likewise.
11390         (getShort): Likewise.
11391         (getInt): Likewise.
11392         (getLong): Likewise.
11393         (getFloat): Likewise.
11394         (getDouble): Likewise.
11395         (get): Likewise.
11396         (setChar): Likewise.
11397         (setByte): Likewise.
11398         (setShort): Likewise.
11399         (setInt): Likewise.
11400         (setLong): Likewise.
11401         (setFloat): Likewise.
11402         (setDouble): Likewise.
11403
11404 2002-11-07  Michael Koch <konqueror@gmx.de>
11405
11406         * java/awt/Choice.java,
11407         java/awt/Container.java,
11408         java/awt/GridBagLayout.java:
11409         Fixed documentation.
11410         * java/awt/peer/ContainerPeer.java:
11411         Reindented.
11412
11413 2002-11-07  Michael Koch <konqueror@gmx.de>
11414
11415         * java/awt/color/ICC_Profile.java:
11416         Added missing constants.
11417         * java/awt/color/ICC_ColorSpace.java
11418         (getMinValue): Added dummy implementation.
11419         (getMaxValue): Added dummy implementation.
11420         * java/awt/datatransfer/DataFlavor.java
11421         (imageFlavor): Added.
11422         (isMimeTypeEqual): Must be final.
11423         (getDefaultRepresentationClass): Must be non-static.
11424         (getDefaultRepresentationClassAsString): Must be non-static.
11425         * java/awt/dnd/DragSourceContext.java
11426         (dragExit): Corrected argument.
11427         (dragDropEnd): Corrected argument.
11428         * java/awt/dnd/DragSourceListener.java.java
11429         (dragExit): Corrected argument.
11430         (dragDropEnd): Corrected argument.
11431         * java/awt/font/TextHitInfo.java
11432         (toString): Added stubbed implementation.
11433         * java/awt/geom/PathIterator.java:
11434         The constants must be static.
11435         * java/awt/image/VolatileImage.java
11436         (IMAGE_INCOMPATIBLE): Fixed typo.
11437         * java/awt/image/renderable/RenderableImage.java
11438         (HINTS_OBSERVED): Must be static.
11439         * java/beans/BeanInfo.java:
11440         Constants must be final.
11441
11442 2002-11-06  Tom Tromey  <tromey@redhat.com>
11443
11444         From svens@it.uu.se.  For PR libgcj/8481.
11445         * java/util/Random.java (nextInt(int)): Only use 31 bits.
11446
11447 2002-11-06  Tom Tromey  <tromey@redhat.com>
11448
11449         * jni.cc (array_from_valist): Assume that jlong won't be
11450         promoted.
11451
11452 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
11453
11454         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
11455         Return 20.
11456         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
11457         Return 16.
11458
11459 2002-11-03  Tom Tromey  <tromey@redhat.com>
11460
11461         * java/lang/ClassLoader.java (loadClass): Call loadClass on
11462         VMClassLoader, not findClass.
11463
11464 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
11465
11466         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
11467         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
11468         _Jv_DetermineVTableIndex, to determine vtable offset.
11469         (_Jv_DetermineVTableIndex): Remove.
11470         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
11471
11472         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
11473
11474 2002-11-03  Tom Tromey  <tromey@redhat.com>
11475
11476         * java/nio/channels/AlreadyConnectedException.java: Extend
11477         IllegalStateException, per spec.
11478
11479 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
11480
11481         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
11482
11483 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11484
11485         * java/util/ArrayList.java (readObject, writeObject): Only read/write
11486         size items.
11487
11488 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11489
11490         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
11491         initial estimated size to avoid enlarge buffer frequently.
11492
11493 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11494
11495         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
11496         ClassLoader when null.
11497         (ProxyType.hashCode): Loader null check no longer needed.
11498         (ProxyType.sameTypes): New method.
11499         (ProxyType.equals): Use new method.
11500
11501 2002-10-31  Mark Wielaard  <mark@klomp.org>
11502
11503         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
11504         length of String.
11505         * java/net/URLEncoder.java (encode): Likewise.
11506
11507 2002-10-31  Mark Wielaard  <mark@klomp.org>
11508
11509         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
11510         when stream is closed.
11511         (closeEntry): Likewise.
11512         (read): Likewise.
11513         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
11514         ZipException when no entry active.
11515         (closeEntry): Likewise.
11516         (write): Likewise.
11517
11518 2002-11-02  Tom Tromey  <tromey@redhat.com>
11519
11520         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
11521         * java/lang/natClass.cc (initializeClass): Don't return just
11522         because self==thread.
11523
11524         For PR java/8415:
11525         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
11526         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
11527
11528 2002-11-02  Andreas Schwab  <schwab@suse.de>
11529
11530         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
11531         pass GCJFLAGS.
11532         (FLAGS_TO_PASS): Define.
11533         * Makefile.in: Regenerated.
11534
11535 2002-11-01  Michael Koch  <konqueror@gmx.de>
11536
11537         * java/nio/ByteOrder.java: New file.
11538         * java/nio/channels/DatagramChannel.java:
11539         (DatagramChannel): New constructor.
11540         * java/nio/channels/Pipe.java: New file.
11541         * java/nio/channels/SelectableChannel.java: New file.
11542         * java/nio/channels/SelectionKey.java: New file.
11543         * java/nio/channels/Selector.java: New file.
11544         * java/nio/channels/ServerSocketChannel.java
11545         (ServerSocketChannel): New constructor.
11546         * java/nio/channels/SocketChannel.java
11547         (SocketChannel): New constructor.
11548         * java/nio/channels/Pipe.java: New file.
11549         * java/nio/channels/spi/AbstractChannel.java: New file.
11550         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
11551         * java/nio/channels/spi/AbstractSelectableChannel.java:
11552         License added
11553         (AbstractSelectableChannel): New stubbed method.
11554         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
11555         * java/nio/channels/spi/AbstractSelector.java: New file.
11556         * java/nio/channels/spi/SelectorProvider.java: New file.
11557         * java/nio/charset/Charset.java: New file.
11558         * java/nio/charset/CoderMalfunctionError.java: New file.
11559         * java/nio/charset/CodingErrorAction.java: New file.
11560         * java/nio/charset/spi/CharsetProvider.java
11561         (charsetForName): Uncommented.
11562         * Makefile.am (java_native_source_files): Added new files.
11563         * Makefile.in: Regenerated.
11564
11565 2002-11-01  Michael Koch  <konqueror@gmx.de>
11566
11567         * java/net/InetAddress.java:
11568         (isAnyLocalAddress): Implemented.
11569         (isLoopbackAddress): Implemented, comment added.
11570         (isLinkLocalAddress): Implemented, documentation added.
11571         (isSiteLocalAddress): Implemented, documentation added.
11572         (isMCGlobal): Implemented, documentation added.
11573         (isMCNodeLocal): Implemented, documentation added.
11574         (isMCLinkLocal): Implemented, documentation added.
11575         (isMCSiteLocal): Implemented, documentation added.
11576         (isMCOrgLocal): Implemented, documentation added.
11577         (getHostName): Documentation added.
11578         (getCanonicalHostName): Implemented, documentation added.
11579         (getAddress): Documentation added.
11580         (hashCode): Documentation added.
11581         (equals): Documentation added.
11582         (toString): Fixed implementation.
11583         (getByAddress): Use Inet4Address and Inet6Address.
11584         (lookup): New linewrap.
11585         (getByName): SecurityManager check added, support Inet4Address and
11586         Inet6address, comments added.
11587         (getAllByName): SecurityManager check added, comments added.
11588         * java/net/Inet6Address.java:
11589         (Inet6Address): Initialize parent class with addr instead of null.
11590         * java/net/URL.java
11591         (equals): Documentation added.
11592         (getFile): Documentation added.
11593         (hashCode): Documentation added.
11594         * java/net/natInetAddress.cc:
11595         (aton): Fix IPv6 support.
11596         * java/net/natPlainDatagramSocketImpl.cc:
11597         (peek): Throw PortUnreachableException when suitable.
11598         (peekData): Throw PortUnreachableException when suitable.
11599         (send): Throw PortUnreachableException when suitable.
11600         (receive): Throw PortUnreachableException when suitable.
11601
11602 2002-10-27  Mark Wielaard  <mark@klomp.org>
11603
11604         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
11605         argument.
11606         (readLeShort): Likewise and use byte[].
11607         (readLeInt): Likewise.
11608         (readEntries): Use new versions of methods and use byte[] for reading
11609         a complete zip entry. Add ZipFile name to exceptions.
11610         (entries): Add ZipFile name to exceptions.
11611         (getEntry): Likewise.
11612         (checkLocalHeader): Use new versions of methods and add ZipFile name
11613         to exceptions.
11614
11615 2002-10-31  Mark Anderson  <mark@panonet.net>
11616
11617         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
11618         added
11619
11620 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
11621
11622         * configure.in: Disable hash sync when not using threads.
11623         * configure: Regenerated.
11624
11625 2002-10-24  Tom Tromey  <tromey@redhat.com>
11626
11627         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
11628         (_Jv_FindSymbolInExecutable): Removed argument name.
11629         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
11630         java.library.path is set.
11631
11632         * gij.cc (help): Document --showversion.
11633         (version): Don't exit.
11634         (main): Handle --showversion.  Exit if --version given.
11635
11636 2002-10-23  Tom Tromey  <tromey@redhat.com>
11637
11638         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
11639         (array_from_valist): Correctly handle promotion for jint, jlong,
11640         jfloat, and jdouble.
11641
11642 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
11643
11644         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
11645         GetFileAttributesEx( ) to find file length and modification times,
11646         as the latter is not present on Windows 95.
11647
11648 2002-10-21  Michael Koch  <konqueror@gmx.de>
11649
11650         * java/net/URL.java
11651         (URL): Activate SecurityManager checks.
11652         (equals): Use URLStreamHandler implementation instead of doing it
11653         alone. This allows special protocol stream handlers to change default
11654         behaviour.
11655         (hashCode): Use URLStreamHandler implementation instead of doing it
11656         alone. This allows special protocol stream handlers to change default
11657         behaviour.
11658         * java/net/URLStreamHandler.java
11659         (equals): Implemented default URL equality check.
11660         (hostsEqual): Implemented default URL equality check.
11661         (hashCode): Implemented default URL hashCode algorithm.
11662         * java/net/natPlainDatagramSocketImpl.cc:
11663         No lines longer then 80 characters.
11664
11665 2002-10-20  Adam Megacz <adam@xwt.org>
11666
11667         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
11668         * configure.in: enabled hash sync on Win32
11669         * include/win32-threads.h (_Jv_ThreadId_t): added.
11670         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
11671         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
11672         removed some posix-isms, use Thread::sleep() instead of usleep,
11673         added code to clear bottom three bits if platform has a broken
11674         linker.
11675         * include/win32-threads.h (_Jv_ThreadId_t): added.
11676
11677 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
11678
11679         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
11680         runtime property "gnu.gcj.progname" containing the name used to
11681         invoke the current Java program (similar to argv[0] for C
11682         programs).
11683
11684 2002-10-15  Tom Tromey  <tromey@redhat.com>
11685
11686         Fix for PR libgcj/8234:
11687         * java/util/zip/natInflater.cc (reset): Reset avail_in.
11688         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
11689
11690 2002-10-13  Mark Wielaard  <mark@klomp.org>
11691
11692         * mauve-libgcj: Enable Mauve tests that compile now.
11693
11694 2002-10-11  Mark Wielaard  <mark@klomp.org>
11695
11696         Fix for PR libgcj/8142
11697         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
11698         loading native modules.
11699
11700 2002-10-10  Michael Koch  <konqueror@gmx.de>
11701
11702         * javax/swing/AbstractListModel.java
11703         (getListDataListeners): New stubbed method.
11704         javax/swing/DefaultBoundedRangeModel.java
11705         (getChangeListeners): New stubbed method.
11706         javax/swing/DefaultSingleSelectionModel.java
11707         (getChangeListeners): New stubbed method.
11708
11709 2002-10-10  Michael Koch  <konqueror@gmx.de>
11710
11711         * gcj/.cvsignore: New file to ignore files generated during build.
11712         * include/.cvsignore: New file to ignore files generated during build.
11713
11714 2002-10-10  Michael Koch  <konqueror@gmx.de>
11715
11716         * java/net/HttpURLConnection.java
11717         (getPermission): New method.
11718         (getErrorStream): New stub method.
11719         (getHeaderFieldDate): New stub method.
11720         * java/net/Inet4Address.java:
11721         (isLinkLocalAddress): Typo fixed.
11722         * java/net/InetAddress.java:
11723         (readResolve): New stubbed method (for serialization).
11724         (isAnyLocalAddress): New stubbed method.
11725         (isLoopbackAddress): New stubbed method.
11726         (isLinkLocalAddress): New stubbed method.
11727         (isSiteLocalAddress): New stubbed method.
11728         (isMCGlobal): New stubbed method.
11729         (isMCNodeGlobal): New stubbed method.
11730         (isMCLinkLocal): New stubbed method.
11731         (isMCSiteLocal): New stubbed method.
11732         (isMCOrgLocal): New stubbed method.
11733         (getCanonicalHostName): New stubbed method.
11734         (getByAddress): Create instances of Inet4Address/Inet6Address,
11735         instead of InetAddress, documentation added.
11736         * java/net/MulticastSocket.java
11737         (getInterface): Removed FIXME.
11738         (getNetworkInterface): New method.
11739         (setNetworkInterface): New method.
11740         * java/net/NetworkInterface.java:
11741         (toString): Use property "line.separator" instead of "\n".
11742         * java/net/URLConnection.java
11743         (getContent): New stubbed method.
11744         * java/net/URLStreamHandler.java:
11745         (equals): New stubbed method.
11746         (hostsEqual): New stubbed method.
11747         (hashCode): New stubbed method.
11748         * java/net/natNetworkInterface.cc:
11749         (getRealNetworkInterfaces): Create Inet4Address object
11750         instead of InetAddress.
11751
11752 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
11753
11754         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
11755         unsigned long temporary to implement insn_iushr shifts.
11756
11757 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
11758
11759         * configure.host [s390*-*]: Enable Java interpreter.
11760         Enable hash synchronization.  Add sysdeps dir.
11761         * sysdep/s390/locks.h: New file.
11762
11763 2002-10-06  Mark Wielaard  <mark@klomp.org>
11764
11765         * java/lang/Thread.java (setDaemon): Check startable_flag,
11766         not isAlive().
11767
11768 2002-10-07  Michael Koch  <konqueror@gmx.de>
11769
11770         * java/nio/Buffer.java: New stub file.
11771         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
11772         of class Charset.
11773         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
11774         * Makefile.in: Regenerated.
11775
11776 2002-10-07  Michael Koch  <konqueror@gmx.de>
11777
11778         * java/nio/ByteBuffer.java:
11779         removed import of not commited class.
11780
11781 2002-10-07  Michael Koch  <konqueror@gmx.de>
11782
11783         * java/nio/ByteBuffer.java,
11784         java/nio/MappedByteBuffer.java:
11785         New files, forgot to add these dummies.
11786         * Makefile.am (java_native_source_files): Added new files.
11787         * Makefile.in: Regenerated.
11788
11789 2002-10-07  Michael Koch  <konqueror@gmx.de>
11790
11791         * java/nio/channels/AlreadyConnectedException.java,
11792         java/nio/channels/ClosedChannelException.java,
11793         java/nio/channels/ReadableByteChannel.java,
11794         java/nio/channels/InterruptibleChannel.java,
11795         java/nio/channels/Channel.java,
11796         java/nio/channels/ByteChannel.java,
11797         java/nio/channels/GatheringByteChannel.java,
11798         java/nio/channels/ScatteringByteChannel.java,
11799         java/nio/channels/WritableByteChannel.java,
11800         java/nio/charset/CharacterCodingException.java,
11801         java/nio/charset/IllegalCharsetNameException.java,
11802         java/nio/charset/MalformedInputException.java,
11803         java/nio/charset/UnmappableCharacterException.java,
11804         java/nio/charset/UnsupportedCharsetException.java,
11805         java/nio/charset/spi/CharsetProvider.java: New file.
11806         These files are exceptions or interfaces,
11807         no real or abstract classes.
11808         * Makefile.am (java_native_source_files): Added new files.
11809         * Makefile.in: Regenerated.
11810
11811 2002-10-05  Michael Koch  <konqueror@gmx.de>
11812
11813         * java/net/InetAddress.java
11814         (getByAddress): Fixed documentation.
11815         (getByAddress): New method.
11816         * java/net/Inet4Address.java: New file.
11817         * java/net/URL.java
11818         (URL): Documentation added.
11819         (getContent): Documentation added.
11820         (getContent): New stubbed method.
11821         (getQuery): New method.
11822         (openConnection): Documentation added.
11823         (openStream): Documentation added.
11824         (setURLStreamHandlerFactory): Documentation added.
11825         * java/net/URI.java: New stub file.
11826         * Makefile.am
11827         (java_native_source_files): Added java/net/Inet4Address.java,
11828         java/net/Inet6Address.java and java/net/URI.java.
11829         * Makefile.in: Regenerated.
11830
11831 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
11832
11833         * java/lang/ProtectionDomain.java (linesep): Remove field.
11834         (toString): Use System.getProperty("line.separator").
11835
11836 2002-10-04  Michael Koch  <konqueror@gmx.de>
11837
11838         * java/security/Identity.java: Added serialVersionUID.
11839         * java/security/KeyPair.java: Added serialVersionUID.
11840         * java/security/Provider.java: Added serialVersionUID.
11841         * java/security/SecureRandom.java: Added serialVersionUID.
11842         * java/security/SecureRandomSpi.java: Added serialVersionUID.
11843         * java/security/SignedObject.java: Added serialVersionUID.
11844         * java/security/cert/Certificate.java: Added serialVersionUID.
11845
11846 2002-10-04  Mark Wielaard <mark@klomp.org>
11847
11848         * java/security/Security.java: Use java.home or gnu.classpath.home
11849         to load providers.
11850         (loadProviders): Extra dir argument.
11851         (getProvider): Return null when not found.
11852
11853 2002-10-04  Mark Wielaard  <mark@klomp.org>
11854
11855         * java/lang/Throwable.java: Remerge with Classpath.
11856
11857 2002-10-04  Michael Koch  <konqueror@gmx.de>
11858
11859         * java/net/InetAddress.java:
11860         (isMulticastAddress): Added documentation.
11861         (getHostAddress): Added documentation.
11862         (toString): Added documentation.
11863         (getByAddress): Fixed documentation.
11864         (getByName): Added documentation.
11865         (getAllByName): Added documentation.
11866         (getLocalHost): Added documentation.
11867
11868 2002-10-04  Michael Koch  <konqueror@gmx.de>
11869
11870         * java/beans/beancontext/BeanContextChildSupport.java:
11871         Added serialVersionUID.
11872         * java/text/Collator.java: (compare): Made documentation HTML-aware.
11873         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
11874         * javax/naming/Name.java: Added serialVersionUID.
11875
11876 2002-10-03  Adam Megacz <adam@xwt.org>
11877
11878         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
11879         some functionality that isn't supported yet on WIN32.
11880
11881 2002-10-03  Tom Tromey  <tromey@redhat.com>
11882
11883         * Makefile.in: Rebuilt.
11884         * Makefile.am (awt_java_source_files): Added new files.
11885
11886 2002-10-03  Michael Koch  <konqueror@gmx.de>
11887
11888         * java/net/InetAddress.java
11889         (class InetAddress): Removed final keyword.
11890         (equals): Fixed typo.
11891         (getByAddress): New method.
11892
11893 2002-10-03  Michael Koch  <konqueror@gmx.de>
11894
11895         * java/awt/dnd/Autoscroll.java:
11896         New file, merge from Classpath.
11897         * java/awt/dnd/DragSourceAdapter.java:
11898         (dragExit): Fixed typos in argument type.
11899         (dragDropEnd): Fixed typos in argument type.
11900         * java/awt/dnd/DragSourceDropEvent.java:
11901         New file, merge from Classpath.
11902         * java/awt/dnd/DropTarget.java:
11903         Added stubs, merge from Classpath.
11904         * java/awt/dnd/DropTargetAdapter.java:
11905         New file, merge from Classpath.
11906         * java/awt/dnd/DropTargetContext.java:
11907         New file, merge from Classpath.
11908         * java/awt/dnd/DropTargetDragEvent.java:
11909         New file, merge from Classpath.
11910         * java/awt/dnd/DropTargetDropEvent.java:
11911         New file, merge from Classpath.
11912         * java/awt/dnd/DropTargetEvent.java:
11913         New file, merge from Classpath.
11914         * java/awt/dnd/DropTargetListener.java:
11915         New file, merge from Classpath.
11916         * java/awt/dnd/MouseDragGestureRecognizer.java:
11917         New file, merge from Classpath.
11918         * java/awt/dnd/peer/DropTargetContextPeer.java:
11919         New file, merge from Classpath.
11920
11921 2002-10-03  Michael Koch  <konqueror@gmx.de>
11922
11923         * java/net/DatagramPacket.java
11924         (setLength): Fixed typo and be HTML-aware.
11925         * java/net/InetSocketAddress.java
11926         (InetSocketAddress): Correct initialization of hostname, fixed typo.
11927         (equals): Added comment about equality of InetSocketAddress objects.
11928         * java/net/ServerSocket.java
11929         (accept): Added checks.
11930         (isClosed): New stubbed method.
11931         * java/net/SocketOptions.java: Reindention.
11932         * java/net/SocketPermission
11933         (SocketPermission): Documentation fixed.
11934
11935 2002-10-03  Michael Koch  <konqueror@gmx.de>
11936
11937         * java/net/DatagramSocket.java
11938         (receive): Check with SecurityManager AFTER the packet is received,
11939         check if connected to multicast address, documentation added.
11940         (send): Only check SecurityManager if connected, check address of
11941         packet to send.
11942         (connect): Implemented, documentation added.
11943         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
11944         * java/net/InetSocketAddress.java
11945         (whole file): Reindented.
11946         (hostname): New attribute.
11947         (InetSocketAddress): Initialize new attribute.
11948         (getAddress): Documentation added.
11949         (getHostName): Documentation added.
11950         (getPort): Documentation added.
11951         (hashCode): Documentation added.
11952         (isUnresolved): Documentation added.
11953         (toString): Conform to output of JDK 1.4.1, documentation added.
11954         * java/net/MulticastSocket.java
11955         (joinGroup): Removed FIXME, documentation added.
11956         (leaveGroup): Removed FIXME, documentation added.
11957         (send): Documentation added.
11958         * java/net/Socket.java
11959         (inputShutdown): New variable.
11960         (outputShutdown): New variable.
11961         (Socket): Initialize new variables.
11962         (getRemoteSocketAddress): Check if connected.
11963         (shutdownInput): Set new variable.
11964         (shutdownOutput): Set new variable.
11965         (isConnected): New method.
11966         (isClosed): New method.
11967         (isInputShutdown): New method.
11968         (isOutputShutdown): New method.
11969         * java/net/URLStreamHandler.java
11970         (URLStreamHandler): New method.
11971         (openConnection): Added documentation.
11972         (parseURL): Added documentation.
11973         (getHostAddress): New method.
11974         (getDefaultPort): New method.
11975
11976 2002-10-02  Tom Tromey  <tromey@redhat.com>
11977
11978         * java/rmi/activation/ActivationDesc.java,
11979         java/rmi/activation/ActivationGroupDesc.java,
11980         java/rmi/activation/ActivationGroupID.java,
11981         java/rmi/activation/ActivationID.java: New versions from
11982         Classpath.
11983
11984 2002-09-30  Bo Thorsen  <bo@suse.de>
11985
11986         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
11987
11988 2002-09-30  Tom Tromey  <tromey@redhat.com>
11989
11990         * java/io/ObjectInputStream.java (resolveProxyClass): New method
11991         from Classpath.
11992         * Makefile.in: Rebuilt.
11993         * Makefile.am (rmi_java_source_files): Added new files.
11994         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
11995         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
11996         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
11997         Classpath.
11998         * gnu/java/rmi/dgc/DGCImpl.java,
11999         gnu/java/rmi/dgc/DGCImpl_Skel.java,
12000         gnu/java/rmi/dgc/DGCImpl_Stub.java,
12001         gnu/java/rmi/registry/RegistryImpl_Skel.java,
12002         gnu/java/rmi/registry/RegistryImpl_Stub.java,
12003         gnu/java/rmi/server/RMIHashes.java,
12004         gnu/java/rmi/server/RMIObjectInputStream.java,
12005         gnu/java/rmi/server/RMIObjectOutputStream.java,
12006         gnu/java/rmi/server/UnicastConnection.java,
12007         gnu/java/rmi/server/UnicastConnectionManager.java,
12008         gnu/java/rmi/server/UnicastRef.java,
12009         gnu/java/rmi/server/UnicastServer.java,
12010         gnu/java/rmi/server/UnicastServerRef.java,
12011         java/rmi/MarshalledObject.java,
12012         java/rmi/server/RMIClassLoader.java,
12013         java/rmi/server/RemoteObject.java,
12014         java/rmi/server/UnicastRemoteObject.java,
12015         java/security/SecureClassLoader.java: Merged from Classpath.
12016
12017 2002-09-29  Anthony Green  <green@redhat.com>
12018
12019         * java/lang/reflect/UndeclaredThrowableException.java: New file.
12020         Imported from GNU Classpath.
12021         * java/lang/reflect/natProxy.cc: New file.
12022         * java/lang/reflect/InvocationHandler.java: New file.  Imported
12023         from GNU Classpath.
12024         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
12025         Classpath.
12026         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
12027         Classpath.
12028         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
12029         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
12030         New statics.
12031         * gcj/javaprims.h ("Java"): Add new classes.
12032         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
12033         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
12034         java/lang/reflect/Proxy$$ProxyType.h): And this.
12035         (inner_nat_headers): Add these new headers.
12036         (ordinary_java_source_files): Add new files.
12037         (nat_source_files): Add new file.
12038         * Makefile.in: Rebuilt.
12039
12040 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
12041
12042         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
12043         a single configuration.
12044
12045 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12046
12047         * java/util/TimeZone.java (getDSTSavings): New method.
12048         Fixes PR libgcj/7786.
12049
12050 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12051
12052         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
12053         to see if `the_method == 0' before looking up vtable index.
12054         Fixes PR libgcj/7709.
12055
12056 2002-09-25  Tom Tromey  <tromey@redhat.com>
12057
12058         * java/lang/natClassLoader.cc:
12059         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
12060         * resolve.cc: Include NoClassDefFoundError.h, not
12061         ClassNotFoundException.h.
12062         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
12063
12064         * defineclass.cc: Don't include ClassNotFoundException.h.
12065
12066         * resolve.cc: Include StringBuffer.
12067         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
12068
12069         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
12070         allocated but not initialized.
12071
12072 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12073
12074         Fix for PR libgcj/7766:
12075         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
12076         (getNextEntry): Set it.
12077         (closeEntry): Likewise.
12078         (read): Likewise.
12079         (close): Likewise.
12080         (available): Use it.
12081
12082 2002-09-25  Michael Koch  <konqueror@gmx.de>
12083
12084         * java/net/DatagramSocket.java
12085         (DatagramSocket): Initialize new instance variables.
12086         (close): Reset new instance variables.
12087         (getLocalAddress): Remove unneeded SecurityManager usage.
12088         (getLocalPort): Check if socket is already bound.
12089         (isConnected): New method.
12090         (getInetAddress): Implemented.
12091         (getPort): Better Implementation, documentation fixed.
12092         (getRemoteSocketAddress): New method.
12093         * java/net/JarURLConnection.java
12094         (element): Typo fixed.
12095         (getMainAttributes): New method.
12096         (getAttributes): New method (stub only).
12097         (getManifest): New method (stub only).
12098         * java/net/NetPermission.java: Added serialVersionsUID.
12099         * java/net/Socket.java
12100         (connect): Check blocking mode of associated channel,
12101         documentation added.
12102         (getLocalSocketAddress): Better implementation.
12103         (getRemoteSocketAddress): Implemented.
12104         (isBound): New method.
12105         (setSendBufferSize): Documentation added.
12106         * java/net/SocketAddress.java: Added serialVersionsUID.
12107         * java/net/SocketPermission.java: Added serialVersionsUID.
12108         * java/net/URL.java
12109         (URL): Wrap for shorter lines, initialize new instance variables,
12110         documentation added.
12111         (equals): Check new instance variables too.
12112         (getContent): Documentation added.
12113         (getPath): Documentation added.
12114         (getAuthority): New method.
12115         (getHost): Documentation added.
12116         (getPort): Documentation added.
12117         (getDefaultPort): New method.
12118         (getProtocol): Documentation added.
12119         (getUserInfo): Documentation added.
12120         (set): Initialize new instance variables, documentation added.
12121         * java/net/URLStreamHandler.java
12122         (setURL): New method.
12123         * java/net/natPlainDatagramSocketImpl.cc
12124         (connect): Fix exception name.
12125         (disconnect): Fix exception name.
12126
12127 2002-09-25  Michael Koch  <konqueror@gmx.de>
12128
12129         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
12130         * java/nio/channels/DatagramChannel.java:
12131         extends AbstractSelectableChannel
12132         * java/nio/channels/ServerSocketChannel.java:
12133         extends AbstractSelectableChannel
12134         * java/nio/channels/SocketChannel.java:
12135         extends AbstractSelectableChannel
12136         * Makefile.am (ordinary_java_source_files):
12137         java/nio/channels/spi/AbstractSelectableChannel.java added.
12138         * Makefile.in: Regenerated.
12139
12140 2002-09-25  Michael Koch  <konqueror@gmx.de>
12141
12142         * java/net/DatagramSocket.java
12143         (DatagramSocket): Exception documentation added.
12144         (bind): Exception documentation added, addded SecurityManager check,
12145         added SocketAddress type check.
12146         (getSoTimeout): Check impl.
12147         (receive): Fix SecurityManager check, check impl, documentation added.
12148         (send): Check channel mode, documentation added.
12149         (connect): New method.
12150         (disconnect): Implemented.
12151         (getLocalSocketAddress): New method.
12152         (getReceiveBufferSize): Check impl.
12153         (setReuseAddress): Check impl.
12154         (getReuseAddress): Check impl.
12155         (setBroadcast): Check impl.
12156         (getBroadcast): Check impl.
12157         (setTrafficClass): Check impl, Documentation cleared.
12158         (getTrafficClass): Check impl.
12159         (getSendBufferSize): Check impl.
12160         (setReceiveBufferSize): Check impl, documentation added.
12161         (setSendBufferSize): Documentation added.
12162         (setDatagramSocketImplFactory): New method.
12163         * java/net/HttpURLConnection.java
12164         (HTTP_INTERNAL_ERROR): The correct code is 500.
12165         (HTTP_NOT_IMPLEMENTED): Added new constant.
12166         (setFollowRedirects): Documentation added.
12167         (getInstanceFollowRedirects): New method.
12168         (setInstanceFollowRedirects): New method.
12169         (setRequestMethod): Documentation added.
12170         (getResponseCode): Documentation added.
12171         (getResponseMessage): Documentation added.
12172         * java/net/JarURLConnection.java
12173         (JarURLConnection): protected since JDK 1.4.
12174         (getJarEntry): java.io.IOException to IOException, documentation added.
12175         (getJarFile): Documentation added.
12176         * java/net/ServerSocket.java
12177         (ServerSocket): Private to public, exception added.
12178         (ServerSocket): java.io.IOException to IOException, documentation added.
12179         (bind): Check socket address type, documentation added.
12180         (bind): java.io.IOException to IOException, documentation added.
12181         (accept): Documentation added.
12182         (implAccept): Check ch is not non-blocking, documentation added.
12183         (setSoTimeout): Documentation fixed.
12184         (setReceiveBufferSize): Documentation added.
12185         * java/net/Socket.java
12186         (Socket): Documentation added.
12187         (bind): Documentation added.
12188         (connect): Check socket address type, documentation added.
12189         (getRemoteSocketAddress): New method.
12190         (getLocalSocketAddress): New method.
12191         (setSoLinger): Documentation added.
12192         (getReuseAddress): New method.
12193         (setReuseAddress): New method.
12194         (getTrafficClass): New method.
12195         (setTrafficClass): New method.
12196         * java/net/URLStreamHandler.java
12197         (openConnection): java.io.IOException to IOException.
12198         (parseURL): Documentation added.
12199         (sameFile): public to protected, documentation added.
12200         (setURL): Documentation added.
12201         * java/nio/IllegalBlockingModeException.java: New file.
12202         * Makefile.am (ordinary_java_source_files):
12203         added java/nio/IllegalBlockingModeException.java
12204         * Makefile.in: Regenerated.
12205
12206 2002-09-25  Michael Koch  <konqueror@gmx.de>
12207
12208         * java/net/DatagramPacket
12209         (DatagramPacket): Exception documentation added.
12210         (setData): Likewise.
12211         (setSocketAddress): Likewise.
12212         * java/net/DatagramSocketImpl.java
12213         (peek): Documentation addded.
12214         (peekData): Documentation addded.
12215         (send): Documentation addded.
12216         (receive): Documentation addded.
12217         (connect): New method.
12218         (disconnect): New method.
12219         (joinGroup): New abstract method.
12220         (leaveGroup): New abstract method.
12221         * java/net/InetSocketAddress.java
12222         (InetSocketAddress): Documentation added.
12223         (equals): final keyword added.
12224         (getAddress): final keyword added.
12225         (getHostName): final keyword added.
12226         (getPort): final keyword added.
12227         (hashCode): final keyword added.
12228         (isUnresolved): final keyword added.
12229         * java/net/MulticastSocket.java
12230         (MulticastSocket): Documentation added.
12231         (MulticastSocket): New method.
12232         (joinGroup): Documentation added.
12233         (joinGroup): New method.
12234         (leaveGroup): Documentation added.
12235         (leaveGroup): New method.
12236         (send): Documentation added.
12237         * java/net/NetworkInterface.java
12238         (getByName): Documentation added.
12239         (getByInetAddress): Documentation added.
12240         (getNetworkInterfaces): Documentation added.
12241         * java/net/PlainDatagramSocketImpl.java
12242         (connect): New method.
12243         (disconnect): New method.
12244         * java/net/SocketImpl.java
12245         (create): Documentation added.
12246         (shutdownInput): Convert public to protected, as it always was.
12247         (shutdownOutput): Convert public to protected, as it always was.
12248         * java/net/SocketOptions.java
12249         (whole file): Reintented.
12250         * java/net/URLClassLoader.java
12251         (URLClassLoader): SecurityManager check added, documentation added.
12252         (findResources): Documentation added.
12253         (findClass): Documentation added.
12254         (newInstance): More correct method arguments.
12255         * java/net/URLConnection.java
12256         (connect): Documentation added.
12257         (getContent): Documentation added.
12258         (getPermission): Documentation added.
12259         (getInputStream): Documentation added.
12260         (getOutputStream): Documentation added.
12261         (setDoInput): Throw correct exception, documentation added.
12262         (setDoOutput): Throw correct exception, documentation added.
12263         (setAllowUserInteraction): Throw correct exception, documentation added.
12264         (setUseCaches): Throw correct exception, documentation added.
12265         (setIfModifiedSince): Throw correct exception, documentation added.
12266         (setRequestProperty): Throw exception, documentation added.
12267         (addRequestProperty): Throw exception, documentation added.
12268         (getRequestProperty): Throw exception, documentation added.
12269         (getRequestProperties): Documentation added.
12270         (setContentHandlerFactory): Documentation added.
12271         (guessContentTypeFromName): protected to public.
12272         (setFileNameMap): Documentation added.
12273         * java/net/URLDecoder.java
12274         (URLDecoder): New method.
12275         (decode): Documentation added.
12276         (whole file): Reindented.
12277         * java/net/URLEncoder.java
12278         (encode): Documentation added.
12279         * java/net/natPlainDatagramSocketImpl.cc
12280         (connect): New method.
12281         (disconnect): New method.
12282         * javax/naming/RefAddr:
12283         (addrType): addrType was never final.
12284         (equals): Fix typo in method name.
12285         * javax/naming/BinaryRefAddr:
12286         (equals): Fix typo in method name.
12287
12288 2002-09-22  Tom Tromey  <tromey@redhat.com>
12289
12290         Fix for PR libgcj/6576:
12291         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
12292         didn't find a given bundle.
12293         (getBundle): Don't require base bundle.
12294         (setParent): Removed old comment.
12295         (tryLocalBundle): Try components even if preceding components were
12296         empty.
12297
12298 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12299
12300         * Makefile.am (all-multi): Fix multilib parallel build.
12301
12302 2002-09-21  Michael Koch  <konqueror@gmx.de>
12303
12304         * java/net/Socket.java
12305         (sendUrgentData): New method.
12306         (getChannel): New method.
12307         * java/net/ServerSocket.java
12308         (getChannel): New method.
12309         (isBound): New method.
12310         * java/net/DatagramSocket.java
12311         (DatagramSocket): Two new methods.
12312         (bind): New method.
12313         (getChannel): New method.
12314         (isBound): New method.
12315         (send): Added newline to to make shorter lines.
12316         * java/net/PlainDatagramSocketImpl.java
12317         (mcastGrp): Added argument.
12318         (join): Use new mcastGrp.
12319         (leave): Use new mcastGrp.
12320         (joinGroup): New method.
12321         (leaveGroup): New method.
12322         * java/net/natPlainDatagramSocketImpl.cc
12323         (mcastGrp): Added argument, no yet really implemented.
12324         (getOption): Added newline for shorter lines.
12325         * java/net/natPlainSocketImpl.cc
12326         (read, setOption, getOption): Added newline for shorter lines.
12327
12328 2002-09-19  Tom Tromey  <tromey@redhat.com>
12329
12330        * java/lang/ClassLoader.java (resolveClass0): Set cause for
12331        newly-created exception.
12332
12333 2002-09-18  Michael Koch  <konqueror@gmx.de>
12334
12335         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
12336         java/util/regex/PatternSyntaxException.java:
12337         Merge with classpath, new files.
12338         * Makefile.am (core_java_source_files):
12339         Added java/util/regex/Matcher.java,
12340         java/util/regex/Pattern.java,
12341         java/util/regex/PatternSyntaxException.java
12342         * Makefile.in: Regenerated.
12343         * include/config.h.in: Added HAVE_NET_IF_H.
12344         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
12345         Removed #if 0 ... #endif.
12346
12347 2002-09-17  Michael Koch  <konqueror@gmx.de>
12348
12349         * java/net/natNetworkInterface.cc:
12350         Removed unneed and yet wrong includes.
12351
12352 2002-09-17  Michael Koch  <konqueror@gmx.de>
12353
12354         * java/net/NetworkInterface.java: New file.
12355         * java/net/natNetworkInterface.java: New file.
12356         * configure.in: Added check for net/if.h.
12357         * configure: Regenerated.
12358         * Makefile.am
12359         (ordinary_java_source_files): Added NetworkInterface.java.
12360         (nat_source_files): Added natNetworkInterface.cc.
12361         * Makefile.in: Regenerated.
12362
12363 2002-09-16  Tom Tromey  <tromey@redhat.com>
12364
12365         * java/net/URLClassLoader.java (findClass): Code source for a
12366         class from a jar is not necessarily a jar: URL.
12367
12368 2002-09-16  Michael Koch  <konqueror@gmx.de>
12369
12370         * java/lang/AssertionError.java:
12371         Merge with classpath, fixes HTML.
12372         * java/rmi/server/LogStream.java:
12373         Merge with classpath, fixes some constants.
12374         * java/net/server/RemoteServer.java:
12375         Merge with classpath, adds serialVersionUID.
12376         * javax/naming/BinaryRefAddr.java:
12377         Merge with classpath, s/equal/equals/.
12378         * javax/naming/NamingException.java:
12379         Merge with classpath, fixed typo.
12380         * javax/naming/RefAddr.java:
12381         Merge with classpath, s/equal/equals/.
12382         * java/awt/Toolkit.java:
12383         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
12384         and typo fixed.
12385
12386 2002-09-15  Adam Megacz <adam@xwt.org>
12387
12388         * java/net/natPlainSocketImpl.cc: fixed typo.
12389
12390 2002-09-15  Adam Megacz <adam@xwt.org>
12391
12392         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
12393         which don't work on Win32 (yet).
12394
12395 2002-09-14  Adam Megacz <adam@xwt.org>
12396
12397         * java/net/natPlainDatagramSocket.cc: removed #include
12398         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
12399         * include/win32.h: included definition for IP_TOS to satisfy
12400         natPlainDatagramSocket.cc
12401
12402 2002-09-13  Michael Koch  <konqueror@gmx.de>
12403
12404         * java/net/DatagramPacket.java (DatagramPacket):
12405         Added linebreak for 80 chars per line.
12406         * java/net/JarURLConection.java
12407         (getInputStreami, getJarEntry): Likewise.
12408         * java/net/SocketPErmission.java
12409         (SocketPermission class docu, implies): Likewise.
12410         * java/net/URLClassLoader.java (findResources): Likewise.
12411         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
12412
12413 2002-09-13  Michael Koch  <konqueror@gmx.de>
12414
12415         * java/nio/channels/DatagramChannel.java,
12416         java/nio/channels/ServerSocketChannel.java
12417         java/nio/channels/SocketChannel.java:
12418         New dummy files to make java.net fully JDK 1.4 compatible
12419         * Makefile.am (ordinary_java_source_files): Added
12420         java/net/DatagramSocketImplFactory.java (long forgotten),
12421         java/nio/SocketChannel.java,
12422         java/nio/ServerSocketChannel.java,
12423         java/nio/DatagramChannel.java
12424         * Makefile.in: Regenrated.
12425
12426 2002-09-12  Michael Koch  <konqueror@gmx.de>
12427
12428         * java/net/DatagramSocketImpl.java
12429         (peekData): New method.
12430         * java/net/PlainDatagramSocketImpl.java
12431         (peekData): New method.
12432         * java/net/natPlainDatagramSocketImpl.cc
12433         (peekData): New method.
12434         * java/net/URLConnection
12435         (getPermission): New method.
12436         (addRequestProperty): New method.
12437         (getRequestProperties): New method.
12438         (guessContentTypeFromStream): New method, not really implemented.
12439         (URLConnection): Added/updated documentation.
12440         (connect): Added/updated documentation.
12441         (getURL): Added/updated documentation.
12442         (getContentLength): Added/updated documentation.
12443         (getContentType: Added/updated documentation.
12444         (getContentEncoding): Added/updated documentation.
12445         (getExpiration): Added/updated documentation.
12446         (getDate): Added/updated documentation.
12447         (getLastModified): Added/updated documentation.
12448         (getHeaderField): Added/updated documentation.
12449         (getHeaderFields): Added/updated documentation.
12450         (getHeaderFieldInt): Added/updated documentation.
12451         (getHeaderFieldDate): Added/updated documentation.
12452         (getHeaderFieldKey): Added/updated documentation.
12453         (getContent): Added/updated documentation.
12454         (getInputStream): Added/updated documentation.
12455         (getOutputStream): Added/updated documentation.
12456         (toString): Added/updated documentation.
12457         (setDoInput): Added/updated documentation.
12458         (getDoInput): Added/updated documentation.
12459         (setDoOutput): Added/updated documentation.
12460         (getDoOutput): Added/updated documentation.
12461         (setAllowUserInteraction): Added/updated documentation.
12462         (getAllowUserInteraction): Added/updated documentation.
12463         (setDefaultAllowUserInteraction): Added/updated documentation.
12464         (getDefaultAllowUserInteraction): Added/updated documentation.
12465         (setUseCaches): Added/updated documentation.
12466         (getUseCaches): Added/updated documentation.
12467         (setIfModifiedSince): Added/updated documentation.
12468         (getIfModifiedSince): Added/updated documentation.
12469         (getDefaultUseCaches): Added/updated documentation.
12470         (setDefaultUseCaches): Added/updated documentation.
12471         (setRequestProperty): Added/updated documentation.
12472         (getRequestProperty): Added/updated documentation.
12473         (setDefaultRequestProperty): Added/updated documentation.
12474         (getDefaultRequestProperty): Added/updated documentation.
12475         (setContentHandlerFactory): Added/updated documentation.
12476         (guessContentTypeFromName): Added/updated documentation.
12477         (getFileNameMap): Added/updated documentation.
12478         (setFileNameMap): Added/updated documentation.
12479
12480 2002-09-11  Michael Koch  <konqueror@gmx.de>
12481
12482         * java/net/Socket.java
12483         (Socket): protected to public (since JDK 1.4). Added @specnote.
12484         (bind): New method.
12485         (connect): Two new methods.
12486         (getKeepalive): Get correct socket option.
12487         (setKeepalive): Set correct socket option.
12488         (getOOBInline): New method.
12489         (setOOBInline): New method.
12490         * java/net/ServerSocket.java
12491         (bind): Two new methods.
12492         (getInetAddress): Reimplemented, catch exception.
12493         (getLocalSocketAddress): New method.
12494         (setReuseAddress): New method.
12495         (getReuseAdress): New method.
12496         (setReceiveBufferSize): New method.
12497         (getReceiveBufferSize): New method.
12498         (toString): Made string JDK 1.4 compliant.
12499
12500 2002-09-10  Michael Koch  <konqueror@gmx.de>
12501
12502         * java/net/SocketImpl.java
12503         (connect): New method.
12504         (supportsUrgentData): New method.
12505         (sendUrgentData): New method.
12506         * java/net/PlainSocketImpl.java
12507         (connect): One new method and two new implementation.
12508         (sendUrgentData): New method.
12509         * java/natPlainSocketImpl.cc
12510         (connect): Arguments changed, added support for timeouts.
12511         (getOption): Another __java_boolean to jboolean.
12512
12513 2002-09-07  Adam Megacz <adam@xwt.org>
12514
12515         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
12516         definition of IP_TOS.
12517
12518 2002-09-04  Michael Koch  <konqueror@gmx.de>
12519
12520         * java/net/DatagramSocket.java
12521         (DatagramSocket): Added documentation.
12522         (close): Likewise.
12523         (getLocalAddress): Likewise.
12524         (getLocalPort): Likewise.
12525         (receive): Likewise.
12526         (send): Likewise.
12527         (setSoTimeout): Likewise.
12528         (connect): New method.
12529         (disconnect): New method.
12530         (getInetAddress): New method (FIXME)
12531         (getPort): New method.
12532         (setReuseAddress): New method.
12533         (getReuseAddress): New method.
12534         (setBroadcast): New method.
12535         (getBroadcast): New method.
12536         (setTrafficClass): New method.
12537         (getTrafficClass): New method.
12538         * java/net/MulticastSocket.java):
12539         (getTTL): Added @see in documentation.
12540         (setTTL): Added @see in documentation.
12541         (setLoopbackMode): New method.
12542         (getLoopbackMode): New method.
12543         * java/net/PlainSocketImpl.java:
12544         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12545         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12546         * java/net/PlainDatagramSocketImpl.java
12547         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12548         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12549         * java/net/natPlainSocketImpl.cc
12550         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12551         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12552         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12553         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12554         This should also fix SO_KEEPALIVE
12555         * java/net/natPlainDatagramSocketImpl.cc
12556         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12557         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12558         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12559         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12560
12561 2002-09-04  Michael Koch  <konqueror@gmx.de>
12562
12563         * java/net/SocketOptions.java: added static variables to be JDK 1.4
12564         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
12565         IP_MULTICAST_LOOP, IP_TOS
12566
12567 2002-09-03  Tom Tromey  <tromey@redhat.com>
12568
12569         * java/lang/Class.h (_getDeclaredMethod): Declare.
12570         (_getMethod): Now private.
12571         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
12572         getDeclaredMethod.  Now returns NULL on failure.
12573         * java/lang/Class.java (_getDeclaredMethod): Declare.
12574         (getDeclaredMethod): No longer native; implements access checks.
12575
12576 2002-09-01  Mark Wielaard  <mark@klomp.org>
12577
12578         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
12579         (sanitizeStack): Correctly reset unknown and interpreter counters,
12580         detect interpreter runtime frames.
12581         (demangleInterpreterMethod): New method.
12582         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
12583         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
12584         filling in addrs[].
12585
12586 2002-09-02  Michael Koch  <konqueror@gmx.de>
12587
12588         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
12589         re-indented documentation.
12590
12591 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12592
12593         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
12594         public, per 1.4 spec.  Fixes PR libgcj/7785.
12595
12596 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
12597
12598         * Makefile.in: Rebuilt.
12599         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
12600
12601 2002-08-29  Tom Tromey  <tromey@redhat.com>
12602
12603         * java/net/JarURLConnection.java (getCertificates): New method
12604         from Classpath.
12605         * java/net/URLClassLoader.java (URLClassLoader): Extends
12606         SecureClassLoader.
12607         (definePackage): New method from Classpath.
12608         (getPermissions): Likewise.
12609         (newInstance): Likewise.
12610         (findClass): Construct CodeSource for new class (from Classpath).
12611         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
12612         methods.
12613         * java/net/URL.java (getUserInfo): New method.
12614         (set(String,String,int,String,String,String,String,String)): New
12615         method.
12616         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
12617         (shutdownInput, shutdownOutput): Declare.
12618         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
12619         Define.
12620         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
12621         (getOption): Likewise.
12622         (shutdownInput): New method.
12623         (shutdownOutput): Likewise.
12624         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
12625         keepalive.
12626         (getOption): Likewise.
12627         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
12628         * java/net/Socket.java (setKeepAlive): New method.
12629         (getKeepAlive): Likewise.
12630         (shutdownInput, shutdownOutput): New methods.
12631
12632 2002-08-29  Michael Koch  <konqueror@gmx.de>
12633
12634         * java/net/DatagramPacket.java: updated to JDK 1.4 API
12635         new methods are:
12636         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
12637           address),
12638         DatagramPacket(byte[] buf, int length, SocketAddress address),
12639         void setSocketAddress(SocketAddress address)
12640         public SocketAddress getSocketAddress()
12641
12642 2002-08-29  Tom Tromey  <tromey@redhat.com>
12643
12644         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
12645         ftruncate is missing.
12646         * configure, include/config.h.in: Rebuilt.
12647         * acconfig.h (HAVE_FTRUNCATE): Mention.
12648         * configure.in: Check for ftruncate.
12649
12650 2002-08-29  Tom Tromey  <tromey@redhat.com>
12651
12652         * include/jvm.h (struct _Jv_frame_info): New structure.
12653         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
12654         java-interp.h.
12655         (lookupInterp): New method.
12656         (getAddrAsString): Use _Jv_frame_info.
12657         (dladdrLookup): Likewise.
12658         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
12659         interpreted frame.
12660         (lookupInterp): Declare.
12661         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
12662         (fillInStackTrace): Collect information on interpreted frames.
12663         Use _Jv_frame_info.
12664         * interpret.cc: Include Thread.h.
12665         (run): Create and push _Jv_MethodChain object.
12666         (_Jv_EndOfInterpreter): New global.
12667         * java/lang/Thread.java (interp_frame): New field.
12668         * include/java-interp.h (struct _Jv_MethodChain): New structure.
12669         Include NameFinder.h.
12670
12671 2002-08-28  Tom Tromey  <tromey@redhat.com>
12672
12673         * java/lang/Class.h: Include Package.h.
12674         (Class::getProtectionDomain): Declare.
12675         (Class::getPackage): Declare.
12676
12677 2002-08-28  Michael Koch <konqueror@gmx.de>
12678
12679         * java/net/InetSocketAddress.java: Added some documentation and argument
12680         checks for the port numbers.
12681         * java/net/DatagramSocketImplFactory.java: New file.
12682
12683 2002-08-28  Michael Koch <konqueror@gmx.de>
12684
12685         * java/net/Authenticator.java: added some documentation.
12686
12687 2002-08-27  Tom Tromey  <tromey@redhat.com>
12688
12689         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
12690         class.
12691         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
12692
12693 2002-08-27  Michael Koch <konqueror@gmx.de>
12694
12695         * java/net/BindException.java,
12696         java/net/JarURLConnection.java,
12697         java/net/FileNameMap.java,
12698         java/net/HttpURLConnection.java,
12699         java/net/InetSocketAddress.java,
12700         java/net/DatagramPacket.java,
12701         java/net/DatagramSocket.java,
12702         java/net/DatagramSocketImpl.java,
12703         java/net/MulticastSocket.java,
12704         java/net/PasswordAuthentication.java,
12705         java/net/ServerSocket.java,
12706         java/net/Socket.java,
12707         java/net/URLClassLoader.java,
12708         java/net/URLConnection.java: add/update of some @since/@deprecated
12709
12710 2002-08-27  Tony Kimball <alk@pobox.com>
12711             Tom Tromey  <tromey@redhat.com>
12712
12713         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
12714         define.
12715         (::close): Removed.
12716         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
12717         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
12718         (::close): Removed.
12719         (PlainSocketImpl::close): Use NATIVE_CLOSE.
12720         * include/win32.h (getcwd): Removed declaration.  Include io.h.
12721
12722 2002-08-25  Adam Megacz <adam@xwt.org>
12723
12724         * include/win32.h (getcwd): copied function declaration as
12725         temporary fix for header confusion.
12726
12727 2002-08-24  Mark Wielaard <mark@klomp.org>
12728
12729         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
12730         (core_java_source_files): Add VMThrowable.java and NameFinder.java
12731         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
12732         and natNameFinder.cc.
12733         * Makefile.in: Regenerate.
12734         * prims.cc: Use trace_enabled from VMThrowable.
12735         * name-finder.cc: Removed.
12736         * gcj/javaprims.h: Add class VMThrowable.
12737         * gnu/gcj/runtime/NameFinder.java: New file.
12738         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
12739         * include/name-finder.h: Removed.
12740         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
12741         method stackTraceString().
12742         (printStackTrace (PrintWriter)): Likewise.
12743         (stackTraceString): Complete rewrite of old printStackTrace using
12744         StringBuffer.
12745         (stackTraceStringBuffer): New helper method for stackTraceString().
12746         (fillInStackTrace): Delegate to VMTrowable.
12747         (getStackTrace): Likewise.
12748         (getStackTrace0): Removed.
12749         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
12750         (setStackTrace): Copy given array.
12751         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
12752         * java/lang/VMThrowable.java: New class.
12753         * java/lang/natVMThrowable.cc: New file.
12754
12755 2003-08-23  Michael Koch  <konqueror@gmx.de>
12756
12757         * java/net/URLConnection.java,
12758         java/netJarURLConnection.java,
12759         gnu/gcj/protocol/core/Connection.java,
12760         gnu/gcj/protocol/file/Connection.java,
12761         gnu/gcj/protocol/http/Connection.java: Added implementation of
12762         getHeaderFields().
12763
12764 2002-08-22  Tom Tromey  <tromey@redhat.com>
12765
12766         * gij.cc (help): Document -cp and -classpath.
12767         (main): Handle -classpath.
12768
12769 2002-08-21  Tom Tromey  <tromey@redhat.com>
12770
12771         * Makefile.in: Rebuilt.
12772         * Makefile.am (ordinary_java_source_files): Added
12773         SocketAddress.java, InetSocketAddress.java.
12774         * java/net/PortUnreachableException.java: Merged with Classpath.
12775         * java/net/SocketTimeoutException.java: Likewise.
12776         * java/net/URISyntaxException.java: Likewise.
12777         * java/net/SocketAddress.java: New class from Classpath.
12778         * java/net/InetSocketAddress.java: Likewise.
12779
12780 2003-08-21  Michael Koch  <konqueror@gmx.de>
12781
12782         * java/net/Authenticator.java: updated JDK 1.4
12783         * java/net/ContentHandler.java: updated JDK 1.4
12784
12785 2002-08-20  Michael Koch  <konqueror@gmx.de>
12786
12787         * java/net/URISyntaxException.java: New file.
12788         * java/net/SocketTimeoutException.java: New file.
12789         * java/net/PortUnreachableException.java: New file.
12790         * Makefile.am: Updated.
12791         * Makefile.in: Rebuilt.
12792
12793 2002-08-18  Mark Wielaard  <mark@klomp.org>
12794
12795         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
12796         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
12797         MessageDigestSpi (fixes Classpath bug #783).
12798
12799 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12800
12801         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
12802         (startProcess): Allocate path for chdir in async-signal-safe way.
12803
12804 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12805
12806         Fix for PR libgcj/7570 and PR libgcj/7578:
12807         * java/lang/natPosixProcess.cc: Include java/io/File.h.
12808         (startProcess): Handle new `dir' argument.
12809         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
12810         argument.
12811         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
12812         argument.
12813         (startProcess): Likewise.
12814         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
12815         argument.
12816         * java/lang/Runtime.java (execInternal): Added `dir' argument.
12817         (exec): Don't create new environment if ENV==null.  Pass DIR to
12818         execInternal.
12819         * java/lang/natRuntime.cc: Include java/io/File.h.
12820         (execInternal): Added `dir' argument.
12821
12822 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
12823
12824         * java/io/RandomAccessFile.java (skipBytes): Return number of
12825         bytes skipped.
12826
12827 2002-08-01  Mark Wielaard  <mark@klomp.org>
12828
12829         Reenable patch since shared library troubles on powerpc are solved:
12830         * gnu/java/security/provider/Gnu.java: Reference all implementation
12831         classes by using Class.getName().
12832         * gnu/java/security/der/DEREncodingException.java,
12833         gnu/java/security/provider/DERReader.java,
12834         gnu/java/security/provider/DERWriter.java,
12835         gnu/java/security/provider/DSAKeyPairGenerator.java,
12836         gnu/java/security/provider/DSAParameterGenerator.java,
12837         gnu/java/security/provider/DSAParameters.java,
12838         gnu/java/security/provider/DSASignature.java,
12839         gnu/java/security/provider/GnuDSAPrivateKey.java,
12840         gnu/java/security/provider/GnuDSAPublicKey.java,
12841         gnu/java/security/provider/MD5.java,
12842         gnu/java/security/util/Prime.java: New classes
12843         * Makefile.am (ordinary_java_source_files): Add above files.
12844         * Makefile.in: Regenerate.
12845         * gnu/java/security/provider/DefaultPolicy.java
12846         (getPermissions): Don't maintain static class variable of Permissions.
12847         * gnu/java/security/provider/SHA.java
12848         (engineUpdate): algorithm change.
12849         (engineDigest): algorithm change.
12850
12851 2002-08-09  Mark Wielaard  <mark@klomp.org>
12852
12853         * java/awt/image/MemoryImageSource.java: Change constructor to take
12854         int[] not byte[].
12855         * java/awt/Graphics2D.java: Uncomment methods that can now be
12856         compiled.
12857         * java/awt/GridBagLayout.java: New stub implementation.
12858         * javax/swing/text/html/HTML.java: Stub implementation.
12859         * javax/swing/text/html/parser/ParserDelegator.java: New stub
12860         implementation.
12861
12862         * Makefile.am: Add new files.
12863         * Makefile.in: Rebuilt.
12864
12865 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12866
12867         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
12868         methods in Graphics2D.
12869
12870 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12871
12872         AWT/Swing merge from GNU Classpath.
12873
12874         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
12875         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
12876         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
12877         java/awt/color/ProfileDataException.java,
12878         java/awt/CompositeContext.java, java/awt/Composite.java,
12879         java/awt/ContainerOrderFocusTraversalPolicy.java,
12880         java/awt/datatransfer/FlavorTable.java,
12881         java/awt/DefaultFocusTraversalPolicy.java,
12882         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
12883         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
12884         java/awt/dnd/DragGestureListener.java,
12885         java/awt/dnd/DragGestureRecognizer.java,
12886         java/awt/dnd/DragSourceAdapter.java,
12887         java/awt/dnd/DragSourceContext.java,
12888         java/awt/dnd/DragSourceDragEvent.java,
12889         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
12890         java/awt/dnd/DragSourceListener.java,
12891         java/awt/dnd/DragSourceMotionListener.java,
12892         java/awt/dnd/DropTarget.java,
12893         java/awt/dnd/InvalidDnDOperationException.java,
12894         java/awt/dnd/peer/DragSourceContextPeer.java,
12895         java/awt/event/AWTEventListenerProxy.java,
12896         java/awt/event/MouseWheelEvent.java,
12897         java/awt/event/MouseWheelListener.java,
12898         java/awt/event/WindowFocusListener.java,
12899         java/awt/event/WindowStateListener.java,
12900         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
12901         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
12902         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
12903         java/awt/geom/FlatteningPathIterator.java,
12904         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
12905         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
12906         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
12907         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
12908         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
12909         java/awt/image/ImagingOpException.java,
12910         java/awt/image/RasterFormatException.java,
12911         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
12912         java/awt/image/VolatileImage.java,
12913         java/awt/image/WritableRenderedImage.java,
12914         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
12915         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
12916         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
12917         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
12918         java/awt/PageAttributes.java, java/awt/print/Book.java,
12919         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
12920         java/awt/print/Paper.java, java/awt/print/Printable.java,
12921         java/awt/print/PrinterAbortException.java,
12922         java/awt/print/PrinterException.java,
12923         java/awt/print/PrinterGraphics.java,
12924         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
12925         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
12926         java/awt/Stroke.java, java/awt/TexturePaint.java,
12927         javax/accessibility/AccessibleAction.java,
12928         javax/accessibility/AccessibleBundle.java,
12929         javax/accessibility/AccessibleComponent.java,
12930         javax/accessibility/AccessibleContext.java,
12931         javax/accessibility/AccessibleEditableText.java,
12932         javax/accessibility/AccessibleExtendedComponent.java,
12933         javax/accessibility/AccessibleExtendedTable.java,
12934         javax/accessibility/AccessibleHyperlink.java,
12935         javax/accessibility/AccessibleHypertext.java,
12936         javax/accessibility/AccessibleIcon.java,
12937         javax/accessibility/Accessible.java,
12938         javax/accessibility/AccessibleKeyBinding.java,
12939         javax/accessibility/AccessibleRelation.java,
12940         javax/accessibility/AccessibleRelationSet.java,
12941         javax/accessibility/AccessibleResourceBundle.java,
12942         javax/accessibility/AccessibleRole.java,
12943         javax/accessibility/AccessibleSelection.java,
12944         javax/accessibility/AccessibleState.java,
12945         javax/accessibility/AccessibleStateSet.java,
12946         javax/accessibility/AccessibleTable.java,
12947         javax/accessibility/AccessibleTableModelChange.java,
12948         javax/accessibility/AccessibleText.java,
12949         javax/accessibility/AccessibleValue.java,
12950         javax/swing/AbstractAction.java,
12951         javax/swing/AbstractButton.java,
12952         javax/swing/AbstractCellEditor.java,
12953         javax/swing/AbstractListModel.java,
12954         javax/swing/AbstractSet.java, javax/swing/Action.java,
12955         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
12956         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
12957         javax/swing/border/CompoundBorder.java,
12958         javax/swing/border/EmptyBorder.java,
12959         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
12960         javax/swing/border/LineBorder.java,
12961         javax/swing/border/MatteBorder.java,
12962         javax/swing/border/TitledBorder.java,
12963         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
12964         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
12965         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
12966         javax/swing/CellRendererPane.java,
12967         javax/swing/colorchooser/AbstractColorChooserPanel.java,
12968         javax/swing/colorchooser/ColorChooserComponentFactory.java,
12969         javax/swing/colorchooser/ColorSelectionModel.java,
12970         javax/swing/colorchooser/DefaultColorSelectionModel.java,
12971         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
12972         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
12973         javax/swing/DefaultBoundedRangeModel.java,
12974         javax/swing/DefaultButtonModel.java,
12975         javax/swing/DefaultCellEditor.java,
12976         javax/swing/DefaultCellRenderer.java,
12977         javax/swing/DefaultComboBoxModel.java,
12978         javax/swing/DefaultDesktopManager.java,
12979         javax/swing/DefaultFocusManager.java,
12980         javax/swing/DefaultListCellRenderer.java,
12981         javax/swing/DefaultListModel.java,
12982         javax/swing/DefaultListSelectionModel.java,
12983         javax/swing/DefaultSingleSelectionModel.java,
12984         javax/swing/DesktopManager.java,
12985         javax/swing/event/AncestorEvent.java,
12986         javax/swing/event/AncestorListener.java,
12987         javax/swing/event/CaretEvent.java,
12988         javax/swing/event/CaretListener.java,
12989         javax/swing/event/CellEditorListener.java,
12990         javax/swing/event/ChangeEvent.java,
12991         javax/swing/event/ChangeListener.java,
12992         javax/swing/event/DocumentEvent.java,
12993         javax/swing/event/DocumentListener.java,
12994         javax/swing/event/EventListenerList.java,
12995         javax/swing/event/HyperlinkEvent.java,
12996         javax/swing/event/HyperlinkListener.java,
12997         javax/swing/event/InternalFrameAdapter.java,
12998         javax/swing/event/InternalFrameEvent.java,
12999         javax/swing/event/InternalFrameListener.java,
13000         javax/swing/event/ListDataEvent.java,
13001         javax/swing/event/ListDataListener.java,
13002         javax/swing/event/ListSelectionEvent.java,
13003         javax/swing/event/ListSelectionListener.java,
13004         javax/swing/event/MenuDragMouseEvent.java,
13005         javax/swing/event/MenuDragMouseListener.java,
13006         javax/swing/event/MenuEvent.java,
13007         javax/swing/event/MenuKeyEvent.java,
13008         javax/swing/event/MenuKeyListener.java,
13009         javax/swing/event/MenuListener.java,
13010         javax/swing/event/MouseInputAdapter.java,
13011         javax/swing/event/MouseInputListener.java,
13012         javax/swing/event/PopupMenuEvent.java,
13013         javax/swing/event/PopupMenuListener.java,
13014         javax/swing/event/SwingPropertyChangeSupport.java,
13015         javax/swing/event/TableColumnModelEvent.java,
13016         javax/swing/event/TableColumnModelListener.java,
13017         javax/swing/event/TableModelEvent.java,
13018         javax/swing/event/TableModelListener.java,
13019         javax/swing/event/TreeExpansionEvent.java,
13020         javax/swing/event/TreeExpansionListener.java,
13021         javax/swing/event/TreeModelEvent.java,
13022         javax/swing/event/TreeModelListener.java,
13023         javax/swing/event/TreeSelectionEvent.java,
13024         javax/swing/event/TreeSelectionListener.java,
13025         javax/swing/event/TreeWillExpandListener.java,
13026         javax/swing/event/UndoableEditEvent.java,
13027         javax/swing/event/UndoableEditListener.java,
13028         javax/swing/filechooser/FileFilter.java,
13029         javax/swing/filechooser/FileSystemView.java,
13030         javax/swing/filechooser/FileView.java,
13031         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
13032         javax/swing/Icon.java, javax/swing/ImageIcon.java,
13033         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
13034         javax/swing/JApplet.java, javax/swing/JButton.java,
13035         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
13036         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
13037         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
13038         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
13039         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
13040         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
13041         javax/swing/JLayeredPane.java, javax/swing/JList.java,
13042         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
13043         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
13044         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
13045         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
13046         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
13047         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
13048         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
13049         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
13050         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
13051         javax/swing/JTextField.java, javax/swing/JTextPane.java,
13052         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
13053         javax/swing/JToolTip.java, javax/swing/JTree.java,
13054         javax/swing/JViewport.java, javax/swing/JWindow.java,
13055         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
13056         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
13057         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
13058         javax/swing/MenuSelectionManager.java,
13059         javax/swing/MutableComboBoxModel.java,
13060         javax/swing/OverlayLayout.java,
13061         javax/swing/plaf/ActionMapUIResource.java,
13062         javax/swing/plaf/basic/BasicBorders.java,
13063         javax/swing/plaf/basic/BasicButtonUI.java,
13064         javax/swing/plaf/basic/BasicCheckBoxUI.java,
13065         javax/swing/plaf/basic/BasicDefaults.java,
13066         javax/swing/plaf/basic/BasicGraphicsUtils.java,
13067         javax/swing/plaf/basic/BasicIconFactory.java,
13068         javax/swing/plaf/basic/BasicLabelUI.java,
13069         javax/swing/plaf/basic/BasicListUI.java,
13070         javax/swing/plaf/basic/BasicLookAndFeel.java,
13071         javax/swing/plaf/basic/BasicOptionPaneUI.java,
13072         javax/swing/plaf/basic/BasicPanelUI.java,
13073         javax/swing/plaf/basic/BasicRadioButtonUI.java,
13074         javax/swing/plaf/basic/BasicScrollPaneUI.java,
13075         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
13076         javax/swing/plaf/basic/BasicTextUI.java,
13077         javax/swing/plaf/basic/BasicToggleButtonUI.java,
13078         javax/swing/plaf/basic/BasicTreeUI.java,
13079         javax/swing/plaf/basic/BasicViewportUI.java,
13080         javax/swing/plaf/BorderUIResource.java,
13081         javax/swing/plaf/ButtonUI.java,
13082         javax/swing/plaf/ColorChooserUI.java,
13083         javax/swing/plaf/ColorUIResource.java,
13084         javax/swing/plaf/ComboBoxUI.java,
13085         javax/swing/plaf/ComponentInputMapUIResource.java,
13086         javax/swing/plaf/ComponentUI.java,
13087         javax/swing/plaf/DesktopIconUI.java,
13088         javax/swing/plaf/DesktopPaneUI.java,
13089         javax/swing/plaf/DimensionUIResource.java,
13090         javax/swing/plaf/FileChooserUI.java,
13091         javax/swing/plaf/FontUIResource.java,
13092         javax/swing/plaf/IconUIResource.java,
13093         javax/swing/plaf/InputMapUIResource.java,
13094         javax/swing/plaf/InsetsUIResource.java,
13095         javax/swing/plaf/InternalFrameUI.java,
13096         javax/swing/plaf/LabelUI.java,
13097         javax/swing/plaf/ListUI.java,
13098         javax/swing/plaf/MenuBarUI.java,
13099         javax/swing/plaf/MenuItemUI.java,
13100         javax/swing/plaf/OptionPaneUI.java,
13101         javax/swing/plaf/PanelUI.java,
13102         javax/swing/plaf/PopupMenuUI.java,
13103         javax/swing/plaf/ProgressBarUI.java,
13104         javax/swing/plaf/RootPaneUI.java,
13105         javax/swing/plaf/ScrollBarUI.java,
13106         javax/swing/plaf/ScrollPaneUI.java,
13107         javax/swing/plaf/SeparatorUI.java,
13108         javax/swing/plaf/SliderUI.java,
13109         javax/swing/plaf/SplitPaneUI.java,
13110         javax/swing/plaf/TabbedPaneUI.java,
13111         javax/swing/plaf/TableHeaderUI.java,
13112         javax/swing/plaf/TableUI.java,
13113         javax/swing/plaf/TextUI.java,
13114         javax/swing/plaf/ToolBarUI.java,
13115         javax/swing/plaf/ToolTipUI.java,
13116         javax/swing/plaf/TreeUI.java,
13117         javax/swing/plaf/UIResource.java,
13118         javax/swing/plaf/ViewportUI.java,
13119         javax/swing/ProgressMonitorInputStream.java,
13120         javax/swing/ProgressMonitor.java,
13121         javax/swing/Renderer.java,
13122         javax/swing/RepaintManager.java,
13123         javax/swing/RootPaneContainer.java,
13124         javax/swing/Scrollable.java,
13125         javax/swing/ScrollPaneConstants.java,
13126         javax/swing/ScrollPaneLayout.java,
13127         javax/swing/SingleSelectionModel.java,
13128         javax/swing/SizeRequirements.java,
13129         javax/swing/SizeSequence.java,
13130         javax/swing/SwingConstants.java,
13131         javax/swing/SwingUtilities.java,
13132         javax/swing/table/AbstractTableModel.java,
13133         javax/swing/table/DefaultTableCellRenderer.java,
13134         javax/swing/table/DefaultTableColumnModel.java,
13135         javax/swing/table/DefaultTableModel.java,
13136         javax/swing/table/TableCellEditor.java,
13137         javax/swing/table/TableCellRenderer.java,
13138         javax/swing/table/TableColumn.java,
13139         javax/swing/table/TableColumnModel.java,
13140         javax/swing/table/TableModel.java,
13141         javax/swing/text/AbstractDocument.java,
13142         javax/swing/text/AttributeSet.java,
13143         javax/swing/text/BadLocationException.java,
13144         javax/swing/text/Caret.java,
13145         javax/swing/text/CharacterIterator.java,
13146         javax/swing/text/ComponentView.java,
13147         javax/swing/text/DefaultCaret.java,
13148         javax/swing/text/DefaultEditorKit.java,
13149         javax/swing/text/Document.java,
13150         javax/swing/text/EditorKit.java,
13151         javax/swing/text/Element.java,
13152         javax/swing/text/GapContent.java,
13153         javax/swing/text/JTextComponent.java,
13154         javax/swing/text/Keymap.java,
13155         javax/swing/text/MutableAttributeSet.java,
13156         javax/swing/text/PlainDocument.java,
13157         javax/swing/text/PlainEditorKit.java,
13158         javax/swing/text/Position.java,
13159         javax/swing/text/Segment.java,
13160         javax/swing/text/StyledDocument.java,
13161         javax/swing/text/StyledEditorKit.java,
13162         javax/swing/text/Style.java,
13163         javax/swing/text/TextAction.java,
13164         javax/swing/text/ViewFactory.java,
13165         javax/swing/text/View.java,
13166         javax/swing/Timer.java,
13167         javax/swing/ToggleButtonModel.java,
13168         javax/swing/ToolTipManager.java,
13169         javax/swing/tree/AbstractLayoutCache.java,
13170         javax/swing/tree/DefaultMutableTreeNode.java,
13171         javax/swing/tree/DefaultTreeCellEditor.java,
13172         javax/swing/tree/DefaultTreeCellRenderer.java,
13173         javax/swing/tree/DefaultTreeModel.java,
13174         javax/swing/tree/DefaultTreeSelectionModel.java,
13175         javax/swing/tree/ExpandVetoException.java,
13176         javax/swing/tree/FixedHeightLayoutCache.java,
13177         javax/swing/tree/MutableTreeNode.java,
13178         javax/swing/tree/RowMapper.java,
13179         javax/swing/tree/TreeCellEditor.java,
13180         javax/swing/tree/TreeCellRenderer.java,
13181         javax/swing/tree/TreeModel.java,
13182         javax/swing/tree/TreeNode.java,
13183         javax/swing/tree/TreePath.java,
13184         javax/swing/tree/TreeSelectionModel.java,
13185         javax/swing/tree/VariableHeightLayoutCache.java,
13186         javax/swing/UIDefaults.java,
13187         javax/swing/UIManager.java,
13188         javax/swing/undo/AbstractUndoableEdit.java,
13189         javax/swing/undo/CannotRedoException.java,
13190         javax/swing/undo/CannotUndoException.java,
13191         javax/swing/undo/CompoundEdit.java,
13192         javax/swing/undo/StateEditable.java,
13193         javax/swing/undo/StateEdit.java,
13194         javax/swing/undo/UndoableEdit.java,
13195         javax/swing/undo/UndoableEditSupport.java,
13196         javax/swing/undo/UndoManager.java,
13197         javax/swing/UnsupportedLookAndFeelException.java,
13198         javax/swing/ViewportLayout.java,
13199         javax/swing/WindowConstants.java: New files, from GNU Classpath.
13200
13201         * java/awt/ActiveEvent.java,
13202         java/awt/Adjustable.java, java/awt/AWTError.java,
13203         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
13204         java/awt/AWTException.java, java/awt/AWTPermission.java,
13205         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
13206         java/awt/Color.java, java/awt/Component.java,
13207         java/awt/ComponentOrientation.java, java/awt/Container.java,
13208         java/awt/datatransfer/MimeTypeParseException.java,
13209         java/awt/datatransfer/Transferable.java,
13210         java/awt/datatransfer/UnsupportedFlavorException.java,
13211         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
13212         java/awt/event/ActionListener.java,
13213         java/awt/event/AdjustmentEvent.java,
13214         java/awt/event/AdjustmentListener.java,
13215         java/awt/event/AWTEventListener.java,
13216         java/awt/event/ComponentAdapter.java,
13217         java/awt/event/ComponentEvent.java,
13218         java/awt/event/ComponentListener.java,
13219         java/awt/event/ContainerAdapter.java,
13220         java/awt/event/ContainerEvent.java,
13221         java/awt/event/ContainerListener.java,
13222         java/awt/event/FocusAdapter.java,
13223         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
13224         java/awt/event/HierarchyBoundsAdapter.java,
13225         java/awt/event/HierarchyBoundsListener.java,
13226         java/awt/event/HierarchyEvent.java,
13227         java/awt/event/HierarchyListener.java,
13228         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
13229         java/awt/event/InputMethodListener.java,
13230         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
13231         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
13232         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
13233         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
13234         java/awt/event/MouseListener.java,
13235         java/awt/event/MouseMotionAdapter.java,
13236         java/awt/event/MouseMotionListener.java,
13237         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
13238         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
13239         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
13240         java/awt/event/WindowListener.java, java/awt/Font.java,
13241         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
13242         java/awt/geom/Ellipse2D.java,
13243         java/awt/geom/IllegalPathStateException.java,
13244         java/awt/geom/Line2D.java,
13245         java/awt/geom/NoninvertibleTransformException.java,
13246         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
13247         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
13248         java/awt/geom/RoundRectangle2D.java,
13249         java/awt/GraphicsConfiguration.java,
13250         java/awt/IllegalComponentStateException.java,
13251         java/awt/image/IndexColorModel.java,
13252         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
13253         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
13254         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
13255         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
13256         java/awt/MenuItem.java, java/awt/PaintContext.java,
13257         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
13258         java/awt/Polygon.java, java/awt/PrintGraphics.java,
13259         java/awt/PrintJob.java, java/awt/Rectangle.java,
13260         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
13261         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
13262         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
13263
13264         * java/awt/im/spi/InputMethod.java,
13265         java/awt/im/spi/InputMethodContext.java,
13266         java/awt/im/spi/InputMethodDescriptor.java,
13267         java/awt/image/renderable/ContextualRenderedImageFactory.java,
13268         java/awt/image/renderable/ParameterBlock.java,
13269         java/awt/image/renderable/RenderContext.java,
13270         java/awt/image/renderable/RenderableImage.java,
13271         java/awt/image/renderable/RenderableImageOp.java,
13272         java/awt/image/renderable/RenderableImageProducer.java,
13273         java/awt/image/renderable/RenderedImageFactory.java: New files from
13274         classpath.
13275
13276         * gnu/java/awt/EventModifier.java,
13277         gnu/java/awt/image/ImageDecoder.java,
13278         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
13279
13280         * gnu/awt/xlib/XGraphicsConfiguration.java,
13281         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
13282         API.
13283
13284         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
13285         GNU Classpath.
13286
13287         * Makefile.am: Add new files.
13288         * Makefile.in: Rebuilt.
13289
13290 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13291
13292         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
13293         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
13294         findResource, getResources, findResources): Add javadoc from classpath.
13295         (getSystemResources): Implemented.
13296
13297 2002-08-01  Mark Wielaard  <mark@klomp.org>
13298
13299         Revert patch that breaks libgcj shared library on powerpc:
13300         * gnu/java/security/provider/Gnu.java: Reverse referencing all
13301         implementation classes by using Class.getName(). Uses Strings again.
13302         * gnu/java/security/der/DEREncodingException.java,
13303         gnu/java/security/provider/DERReader.java,
13304         gnu/java/security/provider/DERWriter.java,
13305         gnu/java/security/provider/DSAKeyPairGenerator.java,
13306         gnu/java/security/provider/DSAParameterGenerator.java,
13307         gnu/java/security/provider/DSAParameters.java,
13308         gnu/java/security/provider/DSASignature.java,
13309         gnu/java/security/provider/GnuDSAPrivateKey.java,
13310         gnu/java/security/provider/GnuDSAPublicKey.java,
13311         gnu/java/security/provider/MD5.java,
13312         gnu/java/security/util/Prime.java: Removed.
13313         * Makefile.am (ordinary_java_source_files): Remove above files.
13314         * Makefile.in: Regenerate.
13315         * gnu/java/security/provider/DefaultPolicy.java
13316         (getPermissions): Revert to maintaining static class variable of
13317         Permissions.
13318         * gnu/java/security/provider/SHA.java
13319         (engineUpdate): Revert algorithm change.
13320         (engineDigest): Revert algorithm change.
13321
13322 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
13323
13324         * configure.host: Add SH support.
13325         * sysdep/sh/locks.h: New file.
13326
13327 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13328
13329         * java/awt/Frame.java (Frame): Remove println calls.
13330
13331 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
13332
13333         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
13334         * configure: Rebuilt.
13335
13336 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13337
13338         * sysdep/powerpc/locks.h: Formatting.
13339         (_LARX): Define.
13340         (_STCX): Define.
13341         (compare_and_swap): Use _LARX and _STCX.
13342         (compare_and_swap_release): Likewise.
13343
13344 2002-07-26  Tom Tromey  <tromey@redhat.com>
13345
13346         * java/net/Authenticator.java: New version from Classpath.
13347         * java/net/DatagramSocketImpl.java: New version from Classpath.
13348
13349 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13350
13351         * configure.host: Add powerpc64*-* entry.
13352
13353 2002-07-26  Tom Tromey  <tromey@redhat.com>
13354
13355         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
13356         fcntl.h.
13357
13358 2002-07-24  Tom Tromey  <tromey@redhat.com>
13359
13360         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
13361         argument to _load.
13362
13363 2002-07-24  Tom Tromey  <tromey@redhat.com>
13364             Tony Kimball <alk@pobox.com>
13365
13366         * java/io/natFileDescriptorWin32.cc (setLength): New method.
13367         * java/io/natFileDescriptorPosix.cc (setLength): New method.
13368         * java/io/RandomAccessFile.java (setLength): New method.
13369         * java/io/natFileDescriptorEcos.cc (setLength): New method.
13370         * java/io/FileDescriptor.java (setLength): New method.
13371
13372 2002-07-24  Mark Wielaard  <mark@klomp.org>
13373
13374         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
13375         * java/io/ObjectInputStream.java (setBooleanField): Before setting
13376         field call setAccessible(true).
13377         (setByteField): Likewise.
13378         (setCharField): Likewise.
13379         (setDoubleField): Likewise.
13380         (setFloatField): Likewise.
13381         (setIntField): Likewise.
13382         (setLongField): Likewise.
13383         (setShortField): Likewise.
13384         (setObjectField): Likewise.
13385
13386 2002-07-24  Tom Tromey  <tromey@redhat.com>
13387
13388         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
13389         use toString() to format array element.
13390
13391 2002-07-23  Mark Wielaard  <mark@klomp.org>
13392
13393         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13394         MessageDigestSpi (fixes Classpath bug #783).
13395
13396 2002-07-21  Mark Wielaard  <mark@klomp.org>
13397
13398         * gnu/java/security/provider/Gnu.java: Reference all implementation
13399         classes by using Class.getName().
13400
13401 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
13402
13403         * java/lang/ieeefp.h: Add x86-64 support.
13404         * configure.in: Likewise.
13405         * configure.host: Likewise.
13406         * configure: Regenerated.
13407         * sysdep/x86-64/locks.h: New file with x86-64 locks.
13408
13409 2002-07-16  Mark Wielaard  <mark@klomp.org>
13410
13411         * java/io/StreamTokenizer.java (pushBack): Update documentation.
13412         (whitespaceChars): call resetChar().
13413
13414 2002-07-15  Tom Tromey  <tromey@redhat.com>
13415
13416         * Makefile.in: Rebuilt.
13417         * Makefile.am (awt_java_source_files): Added new files.
13418         * java/beans/ExceptionListener.java: Merged with Classpath.
13419         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
13420         * java/beans/PropertyChangeListener.java: Merged with Classpath.
13421         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
13422         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
13423         * java/beans/VetoableChangeListener.java: Merged with Classpath.
13424         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
13425         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
13426
13427 2002-07-14  Mark Wielaard  <mark@klomp.org>
13428
13429         * gnu/java/security/der/DEREncodingException.java,
13430         gnu/java/security/provider/DERReader.java,
13431         gnu/java/security/provider/DERWriter.java,
13432         gnu/java/security/provider/DSAKeyPairGenerator.java,
13433         gnu/java/security/provider/DSAParameterGenerator.java,
13434         gnu/java/security/provider/DSAParameters.java,
13435         gnu/java/security/provider/DSASignature.java,
13436         gnu/java/security/provider/GnuDSAPrivateKey.java,
13437         gnu/java/security/provider/GnuDSAPublicKey.java,
13438         gnu/java/security/provider/MD5.java,
13439         gnu/java/security/util/Prime.java: New files from Classpath.
13440         * Makefile.am (ordinary_java_source_files): Add new files.
13441         * Makefile.in: Regenerate.
13442
13443 2002-07-14  C. Brian Jones <cbj@gnu.org>
13444
13445         * gnu/java/security/provider/DefaultPolicy.java
13446         (getPermissions): do not maintain static class variable of
13447         Permissions
13448         * gnu/java/security/provider/SHA.java
13449         (engineUpdate): algorithm change
13450         (engineDigest): algorithm change
13451
13452 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
13453
13454         For PR libgcj/7292:
13455         * java/lang/Character.java (toString(char)): Now static.
13456
13457 2002-07-12  Mark Wielaard  <mark@klomp.org>
13458
13459         * java/lang/natThrowable.cc (printRawStackTrace): removed.
13460         (getStackTrace0): new method.
13461         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
13462         (printStackTrace(PrintWriter)): replace with pure java implementation.
13463         (printRawStackTrace): removed.
13464         (getStackTrace0): new method.
13465         * java/lang/StackTraceElement.java (toString): add extra whitespace.
13466         * gcj/javaprims.h: regenerate class list.
13467         * include/name-finder.h (lookup): new returns StackTraceElement*.
13468         (method_name, file_name): fields removed.
13469         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
13470         (~_Jv_name_finder): close new descriptors.
13471         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
13472         (createStackTraceElement): new method.
13473         (lookup): returns StackTraceElement*, uses createStackTraceElement().
13474
13475 2002-07-10  Tom Tromey  <tromey@redhat.com>
13476
13477         * configure: Rebuilt.
13478         * configure.in: Use `test' after `&&'.  From Chris Faylor.
13479
13480 2002-07-08  Mark Wielaard  <mark@klomp.org>
13481
13482         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
13483         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
13484         java.sql.DatabaseMetaData.TestJdbc20
13485
13486 2002-07-05  Tony Kimball  <alk@pobox.com>
13487
13488         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
13489
13490 2002-07-04  Tom Tromey  <tromey@redhat.com>
13491             Jeff Sturm  <jsturm@one-point.com>
13492
13493         Fix for PR libgcj/7060:
13494         * java/lang/Class.h (_getMethod): Renamed from getMethod.
13495         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
13496         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
13497         * java/lang/Class.java (getMethod): New Java implementation;
13498         complies with spec.
13499         (_getMethod): New native method.
13500
13501 2002-07-02  Tom Tromey  <tromey@redhat.com>
13502             David Hovemeyer  <daveho@cs.umd.edu>
13503
13504         * java/text/ChoiceFormat.java
13505         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
13506         in check loop.
13507         * java/text/MessageFormat.java
13508         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
13509         to MessageFormat.
13510
13511 2002-07-01  Tom Tromey  <tromey@redhat.com>
13512
13513         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
13514         StringTokenizer on null string.  For PR libgcj/7180.
13515         From daveho@cs.umd.edu.
13516
13517 2002-06-24  Tom Tromey  <tromey@redhat.com>
13518
13519         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
13520         (IntegerClass): Likewise.
13521         * java/lang/natClass.cc (CloneableClass): Removed.
13522         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
13523         ConstructorClass): Likewise.
13524         * java/lang/natClassLoader.cc (CloneableClass): Removed.
13525         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
13526         SerializableClass): Likewise.
13527         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
13528         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
13529         LongClass, FloatClass, DoubleClass): Likewise.
13530
13531         * verify.cc (branch_prepass): Updated for change to exception
13532         handler type.
13533         (verify_instructions_0): Likewise.
13534         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
13535         (handleExceptionTableEntry): Updated for change to exception
13536         handler type.
13537         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
13538         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
13539         (union _Jv_InterpPC): New.
13540         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
13541         (class _Jv_InterpMethod): Added new `prepared' field.
13542         (class _Jv_InterpMethod): Added `compile' method.  Removed
13543         `continue1' and `find_exception'.  Changed arguments to `run'.
13544         * interpret.cc (union insn_slot): New.
13545         (find_exception): Removed.
13546         (run_normal): Removed most logic.
13547         (run_synch_object): Likewise; also, use JvSynchronize.
13548         (run_synch_class): Likewise.
13549         (run): Removed.
13550         (continue1): Renamed as `run'.  Compile bytecode if required.
13551         Add new code to allow refinement of direct-threaded code at
13552         runtime.  Handle exceptions.
13553         (SAVE_PC): Removed.
13554         (compile): New method.
13555         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
13556         (NULLARRAYCHECK): Don't use SAVE_PC.
13557         (pc_t): New typedef.
13558         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
13559         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
13560
13561 2002-06-23  Tom Tromey  <tromey@redhat.com>
13562
13563         * configure: Rebuilt.
13564         * configure.in (INTERPRETER): New subst.
13565         (AM_RUNTESTFLAGS): Don't subst.
13566
13567         * Makefile.in: Rebuilt.
13568         * Makefile.am ($(srcdir)/java/lang/Object.h,
13569         $(srcdir)/java/lang/Class.h): Added dummy targets.
13570
13571 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13572
13573         Reformat JDBC classes and add new JDK 1.4 classes and methods.
13574
13575         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
13576         java/sql/Savepoint.java: New files.
13577         * java/sql/Array.java, java/sql/BatchUpdateException.java,
13578         java/sql/Blob.java, java/sql/CallableStatement.java,
13579         java/sql/Clob.java, java/sql/Connection.java,
13580         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
13581         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
13582         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
13583         java/sql/Ref.java, java/sql/ResultSet.java,
13584         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
13585         java/sql/SQLException.java, java/sql/SQLInput.java,
13586         java/sql/SQLOutput.java, java/sql/SQLWarning.java
13587         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
13588         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
13589         (JDK 1.4) specification.
13590         * javax/sql/ConnectionEvent.java,
13591         javax/sql/ConnectionEventListener.java,
13592         javax/sql/ConnectionPoolDataSource.java,
13593         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
13594         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
13595         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
13596         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
13597         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
13598         javax/sql/XADataSource.java: New files.
13599         * Makefile.am: Add new files.
13600         * Makefile.in: Rebuilt.
13601
13602 2002-06-20  Tom Tromey  <tromey@redhat.com>
13603
13604         For PR libgcj/7073:
13605         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
13606         exists.
13607         * defineclass.cc (handleClassBegin): Superclass for interface is
13608         `null'.
13609
13610 2002-06-18  Tom Tromey  <tromey@redhat.com>
13611
13612         * gcj/javaprims.h: Updated class declaration list.
13613         * Makefile.in: Rebuilt.
13614         * Makefile.am (core_java_source_files): Removed
13615         BasicMapEntry.java.
13616         * java/util/BasicMapEntry.java: Removed.
13617
13618 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
13619
13620         * java/net/natPlainDatagramSocketImpl.cc (receive):
13621         Check bounds of argument to FD_SET.
13622         (setOption): Throw exception if socket is closed.
13623
13624         * java/net/natPlainSocketImpl.cc (accept, read):
13625         Check bounds of argument to FD_SET.
13626         (setOption): Throw exception if socket is closed.
13627
13628 2002-06-18  Tom Tromey  <tromey@redhat.com>
13629
13630         * gcj/javaprims.h: Updated class declaration list.
13631         * Makefile.in: Rebuilt.
13632         * Makefile.am (core_java_source_files): Added
13633         PropertyPermissionCollection.java.
13634         * java/lang/Thread.java (group, name): Now package-private.
13635         * java/lang/ThreadGroup.java: Re-merge with Classpath.
13636         * java/util/AbstractList.java: Likewise.
13637         * java/util/AbstractMap.java: Likewise.
13638         * java/util/Calendar.java: Likewise.
13639         * java/util/Collections.java: Likewise.
13640         * java/util/HashMap.java: Likewise.
13641         * java/util/Hashtable.java: Likewise.
13642         * java/util/LinkedHashMap.java: Likewise.
13643         * java/util/LinkedList.java: Likewise.
13644         * java/util/List.java: Likewise.
13645         * java/util/ListResourceBundle.java: Likewise.
13646         * java/util/Map.java: Likewise.
13647         * java/util/Observable.java: Likewise.
13648         * java/util/Properties.java: Likewise.
13649         * java/util/PropertyPermission.java: Likewise.
13650         * java/util/PropertyPermissionCollection.java: Likewise.
13651         * java/util/PropertyResourceBundle.java: Likewise.
13652         * java/util/Random.java: Likewise.
13653         * java/util/SimpleTimeZone.java: Likewise.
13654         * java/util/StringTokenizer.java: Likewise.
13655         * java/util/TimerTask.java: Likewise.
13656         * java/util/TreeMap.java: Likewise.
13657         * java/util/WeakHashMap.java: Likewise.
13658         * java/util/jar/Attributes.java: Likewise.
13659         * java/util/jar/JarException.java: Likewise.
13660         * java/util/jar/Manifest.java: Likewise.
13661
13662 2002-06-17  Tom Tromey  <tromey@redhat.com>
13663
13664         * gcj/javaprims.h: Updated class declaration list.
13665         * Makefile.in: Rebuilt.
13666         * Makefile.am (core_java_source_files): Added new file.
13667         * java/util/EventListenerProxy.java: New file.
13668         * java/util/EventListener.java: Re-merge with Classpath.
13669         * java/util/EventObject.java: Re-merge with Classpath.
13670
13671 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
13672
13673         * java/lang/ClassNotFoundException.java: New Classpath version.
13674
13675 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
13676
13677         * java/rmi/activation/ActivateFailedException.java: Remerge from
13678         Classpath version.
13679         * java/rmi/activation/ActivationException.java: Ditto.
13680         * java/rmi/activation/UnknownGroupException.java: Ditto.
13681         * java/rmi/activation/UnknownObjectException.java: Ditto.
13682         * java/rmi/server/ExportException: Ditto.
13683         * java/rmi/server/ServerCloneException: Ditto.
13684         * java/rmi/server/ServerNotActiveException: Ditto.
13685         * java/rmi/server/SkeletonMismatchException: Ditto.
13686         * java/rmi/server/SkeletonNotFoundException: Ditto.
13687         * java/rmi/server/SocketSecurityException: Ditto.
13688
13689 2002-06-16  Tom Tromey  <tromey@redhat.com>
13690
13691         * gcj/javaprims.h: Updated class declaration list.
13692
13693         * java/io/LineNumberInputStream.java: Merged with Classpath.
13694
13695         * java/lang/RuntimeException.java: Re-merge with Classpath.
13696         * java/util/ArrayList.java: Likewise.
13697         * java/util/Arrays.java: Likewise.
13698         * java/util/BitSet.java: Likewise.
13699         * java/util/Dictionary.java: Likewise.
13700         * java/util/IdentityHashMap.java: Likewise.
13701         * java/util/MissingResourceException.java: Likewise.
13702         * java/util/Observer.java: Likewise.
13703         * java/util/TooManyListenersException.java: Likewise.
13704         * java/util/zip/DataFormatException.java: Likewise.
13705         * java/util/zip/ZipException.java: Likewise.
13706
13707 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
13708
13709         * java/rmi/AccessException.java: Remerge from Classpath.
13710         * java/rmi/AlreadyBoundException.java: Ditto.
13711         * java/rmi/ConnectException.java: Ditto.
13712         * java/rmi/ConnectIOException.java: Ditto.
13713         * java/rmi/MarshalException.java: Ditto.
13714         * java/rmi/NoSuchObjectException.java: Ditto.
13715         * java/rmi/NotBoundException.java: Ditto.
13716         * java/rmi/RemoteException.java: Ditto.
13717         * java/rmi/RMISecurityException.java: Ditto.
13718         * java/rmi/ServerError.java: Ditto.
13719         * java/rmi/ServerException.java: Ditto.
13720         * java/rmi/ServerRuntimeException.java: Ditto.
13721         * java/rmi/StubNotFoundException.java: Ditto.
13722         * java/rmi/UnexpectedExcpetion.java: Ditto.
13723         * java/rmi/UnknownHostException.java: Ditto.
13724         * java/rmi/UnmarshalException.java: Ditto.
13725
13726 2002-06-15  Tom Tromey  <tromey@redhat.com>
13727
13728         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
13729         * java/lang/ArithmeticException.java: Likewise.
13730         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
13731         * java/lang/ArrayStoreException.java: Likewise.
13732         * java/lang/Byte.java: Likewise.
13733         * java/lang/CharSequence.java: Likewise.
13734         * java/lang/ClassCastException.java: Likewise.
13735         * java/lang/ClassCircularityError.java: Likewise.
13736         * java/lang/ClassFormatError.java: Likewise.
13737         * java/lang/CloneNotSupportedException.java: Likewise.
13738         * java/lang/Cloneable.java: Likewise.
13739         * java/lang/Comparable.java: Likewise.
13740         * java/lang/Compiler.java: Likewise.
13741         * java/lang/Error.java: Likewise.
13742         * java/lang/ExceptionInInitializerError.java: Likewise.
13743         * java/lang/IllegalAccessError.java: Likewise.
13744         * java/lang/IllegalAccessException.java: Likewise.
13745         * java/lang/IllegalArgumentException.java: Likewise.
13746         * java/lang/IllegalMonitorStateException.java: Likewise.
13747         * java/lang/IllegalStateException.java: Likewise.
13748         * java/lang/IllegalThreadStateException.java: Likewise.
13749         * java/lang/IncompatibleClassChangeError.java: Likewise.
13750         * java/lang/IndexOutOfBoundsException.java: Likewise.
13751         * java/lang/InheritableThreadLocal.java: Likewise.
13752         * java/lang/InstantiationError.java: Likewise.
13753         * java/lang/InstantiationException.java: Likewise.
13754         * java/lang/InternalError.java: Likewise.
13755         * java/lang/InterruptedException.java: Likewise.
13756         * java/lang/LinkageError.java: Likewise.
13757         * java/lang/NegativeArraySizeException.java: Likewise.
13758         * java/lang/NoClassDefFoundError.java: Likewise.
13759         * java/lang/NoSuchFieldError.java: Likewise.
13760         * java/lang/NoSuchFieldException.java: Likewise.
13761         * java/lang/NoSuchMethodError.java: Likewise.
13762         * java/lang/NoSuchMethodException.java: Likewise.
13763         * java/lang/NullPointerException.java: Likewise.
13764         * java/lang/NumberFormatException.java: Likewise.
13765         * java/lang/OutOfMemoryError.java: Likewise.
13766         * java/lang/Process.java: Likewise.
13767         * java/lang/Runnable.java: Likewise.
13768         * java/lang/RuntimePermission.java: Likewise.
13769         * java/lang/SecurityException.java: Likewise.
13770         * java/lang/Short.java: Likewise.
13771         * java/lang/StackOverflowError.java: Likewise.
13772         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
13773         * java/lang/ThreadDeath.java: Likewise.
13774         * java/lang/ThreadLocal.java: Likewise.
13775         * java/lang/UnknownError.java: Likewise.
13776         * java/lang/UnsatisfiedLinkError.java: Likewise.
13777         * java/lang/UnsupportedClassVersionError.java: Likewise.
13778         * java/lang/UnsupportedOperationException.java: Likewise.
13779         * java/lang/VerifyError.java: Likewise.
13780         * java/lang/VirtualMachineError.java: Likewise.
13781         * java/lang/reflect/InvocationTargetException.java: Likewise.
13782         * java/net/BindException.java: Likewise.
13783         * java/net/ConnectException.java: Likewise.
13784         * java/net/MalformedURLException.java: Likewise.
13785         * java/net/NoRouteToHostException.java: Likewise.
13786         * java/net/ProtocolException.java: Likewise.
13787         * java/net/SocketException.java: Likewise.
13788         * java/net/UnknownHostException.java: Likewise.
13789         * java/net/UnknownServiceException.java: Likewise.
13790
13791         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
13792         * java/io/CharConversionException.java: Likewise.
13793         * java/io/EOFException.java: Likewise.
13794         * java/io/FileNotFoundException.java: Likewise.
13795         * java/io/IOException.java: Likewise.
13796         * java/io/InterruptedIOException.java: Likewise.
13797         * java/io/InvalidClassException.java: Likewise.
13798         * java/io/InvalidObjectException.java: Likewise.
13799         * java/io/NotActiveException.java: Likewise.
13800         * java/io/NotSerializableException.java: Likewise.
13801         * java/io/ObjectStreamException.java: Likewise.
13802         * java/io/ObjectStreamConstants.java: Likewise.
13803         * java/io/OptionalDataException.java: Likewise.
13804         * java/io/PipedInputStream.java: Likewise.
13805         * java/io/PushbackInputStream.java: Likewise.
13806         * java/io/StreamCorruptedException.java: Likewise.
13807         * java/io/SyncFailedException.java: Likewise.
13808         * java/io/UTFDataFormatException.java: Likewise.
13809         * java/io/UnsupportedEncodingException.java: Likewise.
13810         * java/io/WriteAbortedException.java: Likewise.
13811
13812 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
13813
13814         * java/text/ChoiceFormat.java: Update comments from Classpath.
13815         * java/text/ParseException.java (serialVersionUID): New
13816         field from Classpath.
13817         * java/text/ParseException.java: Update formatting & comments
13818         from Classpath.
13819
13820 2002-06-15  Tom Tromey  <tromey@redhat.com>
13821
13822         * java/util/zip/InflaterInputStream.java (read): Loop if data has
13823         been read but none output by inflater.
13824         * java/util/zip/natDeflater.cc (reset): Set is_finished.
13825         * java/util/zip/natInflater.cc (reset): Set dist_needed and
13826         is_finished.
13827         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
13828         version.
13829         * java/util/zip/ZipFile.java: Replaced with Classpath version.
13830         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
13831         * java/util/zip/ZipInputStream.java: Replaced with Classpath
13832         version.
13833         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
13834
13835 2002-06-13  Tom Tromey  <tromey@redhat.com>
13836
13837         * java/lang/natString.cc (init): Handle case where DONT_COPY is
13838         true and OFFSET!=0.
13839         * java/lang/String.java (String(char[],int,int,boolean): New
13840         constructor.
13841         * java/lang/Long.java: Imported new version from Classpath.
13842         * java/lang/Number.java: Likewise.
13843         * java/lang/Integer.java: Likewise.
13844         * java/lang/Long.java: Likewise.
13845         * java/lang/Float.java: Likewise.
13846         * java/lang/Boolean.java: Likewise.
13847         * java/lang/Double.java: Likewise.
13848         * java/lang/Void.java: Likewise.
13849
13850 2002-06-12  Tom Tromey  <tromey@redhat.com>
13851
13852         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
13853         Fixes PR libgcj/6652.
13854
13855 2002-06-10  Tom Tromey  <tromey@redhat.com>
13856
13857         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
13858         (Class::getPackagePortion): Likewise.
13859         * java/lang/Class.java (desiredAssertionStatus): New method from
13860         Classpath.
13861         (getPackagePortion): Likewise.
13862         * java/lang/VMClassLoader.java (defaultAssertionStatus,
13863         packageAssertionStatus, classAssertionStatus): New methods from
13864         Classpath.
13865         * java/lang/ClassLoader.java (defaultAssertionStatus,
13866         systemPackageAssertionStatus, packageAssertionStatus,
13867         systemClassAssertionStatus, classAssertionStatus): New fields from
13868         Classpath.
13869         (setDefaultAssertionStatus, setPackageAssertionStatus,
13870         setClassAssertionStatus, clearAssertionStatus): New methods from
13871         Classpath.
13872         * Makefile.in: Rebuilt.
13873         * Makefile.am (core_java_source_files): Added AssertionError.java.
13874         * java/lang/AssertionError.java: New from Classpath.
13875
13876 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13877
13878         * configure.host: Disable hash synchronization and slow_pthread_self
13879         for cygwin.
13880
13881 2002-06-06  Adam Megacz <adam@xwt.org>
13882
13883         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
13884         locking, just like the Sun JVM does.
13885
13886 2002-06-05  H.J. Lu  (hjl@gnu.org)
13887
13888         * Makefile.am (libgcj_convenience.la): Revert the last change.
13889         (libgcj.la): Likewise.
13890         * Makefile.in: Regenerated.
13891
13892 2002-06-04  H.J. Lu  (hjl@gnu.org)
13893
13894         * Makefile.am (libgcj_convenience.la): New target.
13895         (libgcj.la): Depend on libgcj_convenience.la.
13896         * Makefile.in: Regenerated.
13897
13898 2002-06-04  H.J. Lu  (hjl@gnu.org)
13899
13900         * configure.in (--with-newlib): New option:
13901         Check ${with_newlib} instead of ${with_cross_host} for newlib.
13902         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
13903         Linux.
13904         * configure: Regenerated.
13905
13906 2002-06-04  Tom Tromey  <tromey@redhat.com>
13907
13908         * java/util/natTimeZone.cc: Include <stdio.h>.
13909
13910 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
13911
13912         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
13913         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
13914         Set SIGNAL_HANDLER=include/s390-linux.h.
13915         * configure: Regenerate.
13916         * include/s390-linux.h: New file.
13917
13918 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13919
13920         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
13921         not "stackTrace".
13922
13923 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13924
13925         Merge JDK 1.4 java.security changes from classpath.
13926
13927         * java/security/AccessControlException.java: Merge from Classpath.
13928         * java/security/AccessController.java: Likewise.
13929         * java/security/AllPermission.java: Likewise.
13930         * java/security/BasicPermission.java: Likewise.
13931         * java/security/Certificate.java: Likewise.
13932         * java/security/CodeSource.java: Likewise.
13933         * java/security/DigestException.java: Likewise.
13934         * java/security/DigestOutputStream.java: Likewise.
13935         * java/security/DomainCombiner.java: Likewise.
13936         * java/security/GeneralSecurityException.java: Likewise.
13937         * java/security/Guard.java: Likewise.
13938         * java/security/GuardedObject.java: Likewise.
13939         * java/security/InvalidAlgorithmParameterException.java: Likewise.
13940         * java/security/InvalidKeyException.java: Likewise.
13941         * java/security/InvalidParameterException.java: Likewise.
13942         * java/security/Key.java: Likewise.
13943         * java/security/KeyException.java: Likewise.
13944         * java/security/KeyManagementException.java: Likewise.
13945         * java/security/KeyStoreException.java: Likewise.
13946         * java/security/MessageDigest.java: Likewise.
13947         * java/security/NoSuchAlgorithmException.java: Likewise.
13948         * java/security/NoSuchProviderException.java: Likewise.
13949         * java/security/Permission.java: Likewise.
13950         * java/security/PermissionCollection.java: Likewise.
13951         * java/security/Permissions.java: Likewise.
13952         * java/security/Policy.java: Likewise.
13953         * java/security/Principal.java: Likewise.
13954         * java/security/PrivateKey.java: Likewise.
13955         * java/security/PrivilegedAction.java: Likewise.
13956         * java/security/PrivilegedActionException.java: Likewise.
13957         * java/security/PrivilegedExceptionAction.java: Likewise.
13958         * java/security/ProtectionDomain.java: Likewise.
13959         * java/security/ProviderException.java: Likewise.
13960         * java/security/PublicKey.java: Likewise.
13961         * java/security/SecureClassLoader.java: Likewise.
13962         * java/security/SecurityPermission.java: Likewise.
13963         * java/security/SignatureException.java: Likewise.
13964         * java/security/UnrecoverableKeyException.java: Likewise.
13965         * java/security/UnresolvedPermission.java: Likewise.
13966         * java/security/acl/AclNotFoundException.java: Likewise.
13967         * java/security/acl/LastOwnerException.java: Likewise.
13968         * java/security/acl/NotOwnerException.java: Likewise.
13969         * java/security/cert/CRLException.java: Likewise.
13970         * java/security/cert/CertificateEncodingException.java: Likewise.
13971         * java/security/cert/CertificateException.java: Likewise.
13972         * java/security/cert/CertificateExpiredException.java: Likewise.
13973         * java/security/cert/CertificateFactory.java: Likewise.
13974         * java/security/cert/CertificateNotYetValidException.java: Likewise.
13975         * java/security/cert/CertificateParsingException.java: Likewise.
13976         * java/security/spec/InvalidKeySpecException.java: Likewise.
13977         * java/security/spec/InvalidParameterSpecException.java: Likewise.
13978
13979         * java/security/cert/CertPath.java: New file.
13980         * java/security/cert/CertPathBuilderException.java: New file.
13981         * java/security/cert/CertPathValidatorException.java: New file.
13982         * java/security/cert/CertStoreException.java: New file.
13983
13984         * Makefile.am: Add new CertPath classes.
13985         * Makefile.in: Rebuilt.
13986
13987         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
13988
13989 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13990
13991         Merge JDK 1.4 exception chaining support from classpath.
13992
13993         * java/lang/Throwable.java: Merge 1.4 support from classpath.
13994         (stackTraceBytes): Rename from stackTrace.
13995         * java/lang/Exception.java: Merge from classpath.
13996         * java/lang/StackTraceElement: New file from classpath.
13997         * gcj/javaprims.h: Rebuild CNI namespace declarations.
13998         * Makefile.am: Add StackTraceElement.
13999         * Makefile.in: Rebuilt.
14000
14001 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14002
14003         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
14004         they build first.
14005         * Makefile.in: Rebuilt.
14006
14007 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14008
14009         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
14010         * configure.in: Likewise.
14011         * aclocal.m4: Regenerate.
14012         * configure: Regenerate.
14013
14014 2002-05-13  Tom Tromey  <tromey@redhat.com>
14015
14016         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
14017         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
14018         Include platform.h.
14019
14020         Fixes PR libgcj/6389:
14021         * Makefile.in: Rebuilt.
14022         * Makefile.am (nat_source_files): Added natTimeZone.cc.
14023         * java/util/natTimeZone.cc: New file.
14024         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
14025         * java/lang/System.java: Merged with Classpath.
14026         * java/lang/Runtime.java: Merged with Classpath.
14027         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
14028         security check.
14029         (setIn0): Renamed from setIn; don't run security check.
14030         (setOut0): Renamed from setOut; don't run security check.
14031         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
14032         init_properties): Moved to natRuntime.cc.
14033         Moved many includes to natRuntime.cc.
14034         (isWordsBigEndian): New method.
14035         * java/lang/natRuntime.cc: Include Long.h, also other includes
14036         previously in natSystem.cc.
14037         (maxMemory): New function.
14038         (exitInternal): Renamed from `_exit'.
14039         (exit): Removed.
14040         (init): Don't set finalize_on_exit.
14041         (exitInternal): Use `finalizeOnExit'.
14042         (file_encoding, getpwuid_adaptor): New functions from
14043         natSystem.cc.
14044         (insertSystemProperties): New method, renamed from
14045         System::init_properties.  Don't set user.timezone.
14046         (_load): Don't call checkLink.
14047         (execInternal): New method.
14048         (availableProcessors): Likewise.
14049         (nativeGetLibname): Likewise.
14050
14051 2002-05-11  Mark Wielaard  <mark@klomp.org>
14052
14053         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
14054         space characters.
14055         (previous_internal): Likewise.
14056
14057 2002-05-09  Tom Tromey  <tromey@redhat.com>
14058
14059         * jni.cc (_Jv_JNIFunctions): Fixed typo.
14060
14061         * java/util/ResourceBundle.java: New version from Classpath.
14062         * java/util/Locale.java: Likewise.
14063
14064 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
14065
14066         * testsuite/lib/libjava.exp (libjava_arguments): Append all
14067         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
14068         LD_LIBRARY_PATH.
14069
14070 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
14071
14072         * libjava/Makefile.am (all_java_source_files): New variable.
14073         (all_java_class_files): Likewise.
14074         .java.class: New rule.
14075         (CLEANFILES): Remove tmp-list.
14076         * libjava/Makefile.in: Regenerated.
14077
14078 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
14079
14080         * testsuite/lib/libjava.exp (test_libjava_from_javac):
14081         Append .exe to executable names.  Fix for cygwin.
14082
14083 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
14084
14085         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
14086         script entry, and set LD to it when configuring multilibs.
14087         * configure: Rebuilt.
14088
14089 2002-05-07  Tom Tromey  <tromey@redhat.com>
14090
14091         * java/lang/natString.cc (unintern): Fixed typo.
14092
14093 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14094
14095         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
14096         with -no-install on *-*-cygwin*.
14097
14098 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14099
14100         * testsuite/lib/libjava.exp (test_libjava_from_source):
14101         Add comment explaining last patch
14102
14103 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
14104
14105         * testsuite/lib/libjava.exp (test_libjava_from_source):
14106         Append .exe to executable names.  If no suffix is present,
14107         then ".exe" is added by default on win32.  Harmless
14108         elsewhere so always do it.
14109
14110 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
14111             Tom Tromey  <tromey@redhat.com>
14112
14113         * java/lang/natSystem.cc (getSystemTimeZone): Use
14114         HAVE_UNDERSCORE_TIMEZONE.
14115         * include/config.h.in: Rebuilt.
14116         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
14117         * aclocal.m4, configure: Rebuilt.
14118         * acinclude.m4: Run AC_EXEEXT.
14119         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
14120         Add test for `_timezone'.
14121
14122 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
14123
14124         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14125         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
14126         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14127         * Makefile.in: Rebuilt.
14128
14129 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
14130
14131         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
14132         use sigaction instead of __libc_sigaction.
14133
14134 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14135
14136         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
14137         (libjava_init): Use it to find libgcj.spec.
14138         (libjava_arguments): Likewise.
14139
14140 2002-05-02  David S. Miller  <davem@redhat.com>
14141
14142         PR bootstrap/6525
14143         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
14144         __libc_sigaction on Sparc.
14145
14146 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
14147
14148         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
14149         sys/filio.h, if present.
14150
14151 2002-04-30  Tom Tromey  <tromey@redhat.com>
14152
14153         * java/io/BufferedReader.java (fill): Handle case where markPos
14154         point to ignored \n.  Fixes PR libgcj/6301.
14155
14156 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
14157
14158         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
14159
14160 2002-04-29  Adam King <aking@dreammechanics.com>
14161
14162         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
14163         of file in APPEND mode.
14164
14165 2002-04-25  David S. Miller  <davem@redhat.com>
14166
14167         PR target/6422
14168         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
14169         program counter to next program counter minus 8.  Update
14170         comments in this macro to explain why.
14171
14172 2002-04-26  Tom Tromey  <tromey@redhat.com>
14173
14174         * verify.cc (construct_primitive_array_type) [void_type]: New
14175         case.
14176         (branch_prepass): Added dummy entries for unused instruction
14177         values.
14178         (verify_instructions_0): Likewise.
14179         * interpret.cc (continue1): Comment fix.
14180         * include/java-insns.h (op_xxxunusedxxx1): Removed.
14181         * Makefile.in: Rebuilt.
14182         * Makefile.am: Added -Wswitch-enum.
14183
14184 2002-04-24  Tom Tromey  <tromey@redhat.com>
14185
14186         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
14187         correct length of UTF-8 encoded name.  Strip leading `/'.
14188         (_Jv_RegisterResource): Use _Jv_Malloc.
14189
14190 2002-04-23  Adam Megacz <adam@xwt.org>
14191
14192         * win32.cc, include/win32.cc (backtrace): Added this function
14193         because Win32 does not supply it.
14194
14195 2002-04-21  David S. Miller  <davem@redhat.com>
14196
14197         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
14198         magic instruction reading sequence.
14199
14200 2002-04-21  Mark Wielaard  <mark@klomp.org>
14201
14202         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
14203
14204 2002-04-19  David S. Miller  <davem@redhat.com>
14205
14206         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
14207         arg.
14208         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
14209         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
14210         on Sparc too.
14211         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
14212         for 64-bit sparc.
14213         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
14214         * sysdeps/sparc/locks.h: New file.
14215         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
14216         on all sparc Solaris configurations.  Set to
14217         include/dwarf2-signal.h on sparc Linux.
14218         * configure: Regenerate
14219         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
14220
14221 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
14222
14223         * configure: Rebuilt.
14224         * configure.in (backtrace): Function doesn't work on IA-64.
14225
14226 2002-04-17  Adam King <aking@dreammechanics.com>
14227
14228         * java/io/File.java (normalizePath): Add Win32 support for auto
14229         conversion of a '/' path separator to Win32's '\' separator.
14230
14231 2002-04-16  Tom Tromey  <tromey@redhat.com>
14232
14233         Fix for PR libgcj/6081:
14234         * Makefile.in: Rebuilt.
14235         * Makefile.am (install-data-local): Use GNU make trick to avoid
14236         shell limit.
14237
14238 2002-04-16  Adam King <aking@dreammechanics.com>
14239             Tom Tromey  <tromey@redhat.com>
14240
14241         * java/io/natFileWin32.cc (performList): Return the correct array
14242         type.  Don't duplicate the creation of a File since it's already
14243         done earlier in the method and the existing code would cause a
14244         ArrayStoreException.  Don't use fixed-size array.
14245         (_access, _stat, attr, getCanonicalPath, performMkdir,
14246         performRenameTo): Don't use fixed-size array.
14247         (getCanonicalPath): Use throw, not _Jv_Throw.
14248
14249 2002-04-15  DJ Delorie  <dj@redhat.com>
14250
14251         * configure.in: Allow building in $srcdir.
14252         * configure: Regenerated.
14253
14254 2002-04-14  Mark Wielaard <mark@klomp.org>
14255
14256         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
14257         * java/net/natSocketImpl.cc (close): Likewise.
14258
14259 2002-04-14  Mark Wielaard <mark@klomp.org>
14260
14261         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
14262
14263 2002-04-13  Adam King <aking@dreammechanics.com>
14264
14265         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
14266         the f/F/d/D modifiers.
14267
14268 2002-04-12  Anthony Green  <green@redhat.com>
14269
14270         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
14271         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
14272         * Makefile.in: Rebuilt.
14273         * configure.in: Substitute gcc_version.
14274         * configure: Rebuilt.
14275
14276 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14277
14278         * configure.host: Set can_unwind_signal on hosts which support it.
14279         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
14280         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
14281         exceptions and can_unwind_signal isn't set.
14282         * configure: Rebuilt.
14283
14284 2002-04-11  Tom Tromey  <tromey@redhat.com>
14285
14286         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
14287
14288 2002-04-11  Adam King <aking@dreammechanics.com>
14289             Tom Tromey  <tromey@redhat.com>
14290
14291         * include/jvm.h (_Jv_ThrowBadArrayIndex,
14292         _Jv_ThrowNullPointerException): Mark as noreturn.
14293         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
14294         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
14295         fixes.
14296
14297 2002-04-10  Tom Tromey  <tromey@redhat.com>
14298
14299         * Makefile.in: Rebuilt.
14300         * Makefile.am (java/lang/Thread.h): Mark
14301         _Jv_AttachCurrentThreadAsDaemon as friend.
14302         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
14303         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
14304         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
14305         function.
14306         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
14307         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
14308         (_Jv_JNI_InvokeFunctions): Added
14309         _Jv_JNI_AttachCurrentThreadAsDaemon.
14310         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
14311         (JNI_GetDefaultJavaVMInitArgs): Likewise.
14312         (JNI_CreateJavaVM): Likewise.
14313         (_Jv_JNI_AttachCurrentThread): Likewise.
14314         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
14315         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
14316         (_Jv_JNIFunctions): Initialize new fields.
14317         (_Jv_JNI_NewDirectByteBuffer): New function.
14318         (_Jv_JNI_GetDirectBufferAddress): Likewise.
14319         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
14320         * include/jni.h (JNI_VERSION_1_4): New macro.
14321         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
14322         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
14323         (JNINativeInterface::NewDirectByteBuffer): New field.
14324         (JNINativeInterface::GetDirectBufferAddress): New field.
14325         (JNINativeInterface::GetDirectBufferCapacity): New field.
14326         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
14327         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
14328         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
14329
14330 2002-04-09  Tom Tromey  <tromey@redhat.com>
14331
14332         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
14333
14334 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
14335
14336         Fix for PR libgcj/6187:
14337         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
14338         distance.
14339
14340 2002-04-07  Mark Wielaard <mark@klomp.org>
14341
14342         * java/util/AbstractMap.java (putAll): Use entrySet size.
14343         (toString): Explicitly use getKey() and getValue().
14344
14345 2002-04-07  Mark Wielaard <mark@klomp.org>
14346
14347         * java/util/Hashtable.java (contains): Remove NullPointer check.
14348         (containsValue): Add NullPointer check.
14349         (remove): Always throw NullPointerException when key
14350         is null.
14351
14352 2002-04-07  Adam King <aking@dreammechanics.com>
14353
14354         * java/lang/natSystem.cc (init_properties): Call new function
14355         _Jv_platform_initProperties.
14356         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
14357         support for the System properties os.name, os.arch, os.version,
14358         user.name, user.home, and user.dir.
14359         * include/posix.h, include/win32.h, posix.cc: New function
14360         _Jv_platform_initProperties.
14361
14362 2002-04-06  Mark Wielaard <mark@klomp.org>
14363
14364         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
14365
14366 2002-04-06  Mark Wielaard <mark@klomp.org>
14367
14368         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
14369         all of the remaining elements.
14370         * java/util/Vector.java (addAll(int,Collection)): Likewise.
14371         (removeRange): If toIndex == fromIndex do
14372         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14373         (removeAll): Always throw NullPointerException when collection is
14374         null.
14375         (retrainAll): Likewise.
14376
14377 2002-04-05  Mark Wielaard <mark@klomp.org>
14378
14379         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
14380         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14381
14382 2002-04-05  Adam Megacz <adam@xwt.org>
14383
14384         * exception.cc (abort): added static modifier
14385
14386 2002-04-04  Adam Megacz <adam@xwt.org>
14387
14388         * include/win32.h (_Jv_platform_close_on_exec): added inline
14389         modifier.
14390
14391 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
14392
14393         * configure.host: Add case statement to support generic port
14394         properties.  Add *-*-freebsd* section.
14395
14396 2002-04-04  Mark Wielaard  <mark@klomp.org>
14397
14398         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
14399         test.
14400         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
14401         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
14402         that depend on awt code and BufferedByteOutputStream.interrupt.
14403
14404 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14405
14406         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
14407         incorrect "hi" value when count > 40.
14408
14409 2002-04-03  Mark Wielaard  <mark@klomp.org>
14410
14411         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
14412         ordering.
14413
14414 2002-04-02  Tom Tromey  <tromey@redhat.com>
14415
14416         * java/lang/natClassLoader.cc (findClass): Compare against `3',
14417         not `0'.
14418
14419 2002-04-02  Mark Wielaard  <mark@klomp.org>
14420
14421         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
14422         list of testsuite crashers.
14423
14424 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14425
14426         * java/util/IdentityHashMap.java (put): Set new threshold correctly
14427         when resizing table.
14428
14429 2002-04-01  Mark Wielaard  <mark@klomp.org>
14430
14431         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
14432         NegativeArraySizeException
14433         (clear(int)): Use sign extended shift.
14434         (flip(int)): Likewise.
14435         (get(int)): Likewise.
14436         (nextClearBit(int)): Likewise.
14437         (nextSetBit(int)): Likewise.
14438         (set(int)): Likewise.
14439
14440 2002-04-01  Mark Wielaard  <mark@klomp.org>
14441
14442         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
14443         that can be compiled now and add testsuite crashers to ignore list.
14444
14445 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
14446
14447         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
14448
14449         * libgcj.spec.in: Override libgcc, not lib.
14450         * libgcj-test.spec.in: Likewise.
14451
14452 2002-03-29  Tom Tromey  <tromey@redhat.com>
14453
14454         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
14455         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
14456
14457 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
14458
14459         * java/net/PlainDatagramSocketImpl.java
14460         (close): Use native implementation.
14461         (finalize): New method.
14462
14463         * java/net/PlainSocketImpl.java (finalize): New method.
14464
14465         * java/net/natPlainDatagramSocketImpl.cc
14466         (java/io/FileDescriptor.h): Don't include.
14467         (close): Implement method here.
14468         (create): Don't assign fd.
14469
14470         * java/net/natPlainSocketImpl.cc
14471         (java/io/FileDescriptor.h): Don't include.
14472         (create): Don't assign fd.
14473         (accept): Likewise.
14474         (close): Synchronize.
14475
14476 2002-03-27  Richard Henderson  <rth@redhat.com>
14477
14478         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
14479
14480 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14481
14482         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14483         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
14484         instead of syscall on IA-64.
14485         Add FIXME comment.
14486
14487 2002-03-27  Anthony Green  <green@redhat.com>
14488
14489         * libgcj.spec.in: Add CHECKREFSPEC.
14490         * configure.in: Ditto.
14491         * configure.host: Ditto.  Check references for xscale-elf.
14492         * configure: Rebuilt.
14493
14494 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
14495
14496         * include/dwarf2-signal.h: Temporarily back out last change.
14497
14498 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
14499
14500         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
14501
14502 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14503
14504         * configure.in, configure: enable dwarf2-exception-style
14505         exception handling on IA-64.
14506         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14507         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
14508         Add FIXME comment.
14509
14510 2002-03-25  Tom Tromey  <tromey@redhat.com>
14511
14512         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
14513         (jv_convert_LDFLAGS): Likewise.
14514         (gij_LDFLAGS): Likewise.
14515         (rmic_LDFLAGS): Likewise.
14516         (rmiregistry_LDFLAGS): Likewise.
14517         * configure.in (THREADLDFLAGS): New subst; set correctly for
14518         *BSD.
14519
14520 2002-03-25  Tom Tromey  <tromey@redhat.com>
14521
14522         For PR libgcj/5303:
14523         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
14524         and --version.
14525         (help): New method.
14526         (version): Likewise.
14527         * gnu/gcj/convert/Convert.java (version): Removed extraneous
14528         "GNU".
14529         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
14530         "GNU".
14531
14532 2002-03-25  Tom Tromey  <tromey@redhat.com>
14533
14534         * java/awt/Component.java (processEvent): Check ComponentEvent
14535         after KeyEvent.
14536
14537 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14538
14539         * java/io/PushbackReader.java: Reformat.
14540
14541         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
14542         calculate correct number of bytes skipped.
14543
14544         Based on patch from Intel's ORP team:
14545         * java/io/PushbackInputStream.java (available): Calculate correct
14546         number of bytes in buffer.
14547         (read): Remove redundant bound check. Return bytes from both the
14548         buffer and the stream.
14549
14550 2002-03-24  Tom Tromey  <tromey@redhat.com>
14551
14552         * java/awt/TextComponent.java (TextComponent): Editable by
14553         default.
14554
14555         * java/awt/MenuItem.java (eventMask): No longer private.
14556         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
14557         superclass if we didn't handle event.
14558         * java/awt/Checkbox.java (dispatchEventImpl): New method.
14559         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
14560         * java/awt/Choice.java (dispatchEventImpl): New method.
14561         * java/awt/List.java (dispatchEventImpl): New method.
14562         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
14563         * java/awt/TextComponent.java (dispatchEventImpl): New method.
14564         * java/awt/TextField.java (dispatchEventImpl): New method.
14565
14566 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
14567
14568         * java/beans/IntrospectionException.java: Update to 1.4.
14569         * java/beans/PropertyVetoException.java: Ditto.
14570
14571 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
14572
14573         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
14574         Arrays.equals instead of ArrayHelper.equalsArray.
14575
14576 2002-03-24  C. Brian Jones <cbj@gnu.org>
14577
14578         * java/beans/Introspector.java: added new static final fields
14579         introduced in 1.2, lots of other updates remain to be done
14580
14581 2002-03-24  C. Brian Jones <cbj@gnu.org>
14582
14583         * java/beans/Introspector.java: reformatting
14584
14585 2002-03-24  C. Brian Jones <cbj@gnu.org>
14586
14587         * java/beans/Introspector.java: default beanInfoSearchPath will
14588         not include sun.beans.infos given we provide no such package and
14589         the API doesn't really require it; gnu.java.beans.info is the
14590         default.
14591
14592 2002-03-24  Mark Wielaard  <mark@klomp.org>
14593
14594         Thanks to Orp developers
14595         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
14596         switch TRUE and FALSE return values.
14597
14598 2002-03-23  Tom Tromey  <tromey@redhat.com>
14599
14600         * include/name-finder.h (_Jv_name_finder::myclose): New method.
14601         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
14602
14603 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
14604
14605         * java/util/GregorianCalendar.java (minimums, maximums): Correct
14606         MONTH entry.  Fixes PR libgcj/6045.
14607
14608 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
14609
14610         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
14611
14612 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14613
14614         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
14615         not release_set.
14616         * sysdep/powerpc/locks.h (write_barrier): New function.
14617         * sysdep/i386/locks.h (write_barrier): New function.
14618
14619 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
14620
14621         * include/jni.h Use correct C comments.
14622
14623 2002-03-18  Tom Tromey  <tromey@redhat.com>
14624
14625         * include/jni.h (JNIIMPORT): New macro.
14626         (JNIEXPORT): Likewise.
14627         (JNICALL): Likewise.
14628
14629 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14630
14631         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
14632         systems.
14633
14634 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
14635
14636         * include/i386-signal.h (old_i386_kernel_sigaction): New.
14637         INIT_SEGV: Use old_i386_kernel_sigaction.
14638         INIT_FP: Likewise.
14639
14640 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14641
14642         * java/lang/natSystem.cc (init_properties): Update VM version
14643         properties.
14644         * configure.in: Set GCJVERSION.
14645         * acconfig.h: Add GCJVERSION.
14646         * configure: Rebuilt.
14647         * include/config.h.in: Rebuilt.
14648
14649 2002-03-17  Anthony Green  <green@redhat.com>
14650
14651         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
14652
14653 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14654
14655         Build a single libgcj.so, without separate gc and zlib libraries.
14656         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
14657         SYS_ZLIBS if system zlib is used.
14658         * configure: Rebuilt.
14659         * Makefile.am: Use boehm-gc and zlib convenience libraries.
14660         * Makefile.in: Rebuilt.
14661         * libtool-version: Increment .so version number.
14662
14663         * Makefile.am: Escape quotes in echo.
14664         * Makefile.in: Rebuilt.
14665
14666 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14667
14668         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
14669         * Makefile.in: Rebuilt.
14670
14671 2002-03-15  Anthony Green  <green@redhat.com>
14672
14673         * configure.host (FILE): New macro for specifing File
14674         implementation.
14675         * configure: Rebuilt.
14676         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
14677
14678 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
14679
14680         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
14681         already implicitly brought in from libgcj.la.
14682         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14683         * Makefile.in: Rebuilt.
14684
14685 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
14686
14687         * THANKS: Fix punctuation, alphabetization.
14688
14689 2002-03-15  Tom Tromey  <tromey@redhat.com>
14690             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14691
14692         Fix for PR libgcj/5944.
14693         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
14694
14695 2002-03-15  Anthony Green  <green@redhat.com>
14696
14697         * configure.in (tool_include_dir): Define.
14698         * configure: Rebuilt.
14699         * gcj/Makefile.am: Install libgcj-config.h relative to
14700         tool_include_dir.
14701         * gcj/Makefile: Rebuilt.
14702         * gcj/libgcj-config.h: Add warning comment.
14703
14704 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
14705
14706         * configure.host (powerpc*-darwin*): Enable interpreter.
14707
14708 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14709
14710         * include/posix.h: Add multiple include header protection.
14711         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
14712
14713 2002-03-10  Adam Megacz <adam@xwt.org>
14714
14715         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
14716
14717 2002-03-10  Tom Tromey  <tromey@redhat.com>
14718
14719         * java/awt/GridLayout.java (layoutContainer): Handle case where
14720         there are no items in container.
14721
14722         * java/lang/Win32Process.java: Added comment.
14723         * include/posix.h (_Jv_platform_close_on_exec): New function.
14724         Include fcntl.h.
14725         * include/win32.h (_Jv_platform_close_on_exec): New function.
14726         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
14727         flag.
14728         (accept): Likewise.
14729         * java/net/natPlainDatagramSocketImpl.cc (create): Set
14730         close-on-exec flag.
14731         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
14732         flag.
14733
14734 2002-03-09  Tom Tromey  <tromey@redhat.com>
14735
14736         * verify.cc (state::NO_STACK): New constant.
14737         (state::is_unmerged_ret_state): Handle case where stacktop is
14738         NO_STACK.
14739         (state::merge): Handle NO_STACK merges.
14740         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
14741         for instruction following jsr.
14742         (stacktop, stackdepth): Removed unused variables.
14743         (pop_jump): Ignore case where all remaining states are skipped.
14744
14745 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14746
14747         * java/awt/ImageMediaEntry: Removed.
14748         * java/awt/MediaEntry: Removed.
14749
14750 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14751
14752         Hashtable synchronization for PowerPC.
14753         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
14754         slow_pthread_self. Set up symlink for sysdeps directory.
14755         * configure: Rebuild.
14756         * configure.host: Document more shell variables. Set sysdeps_dir
14757         for most platforms. Set slow_pthread_self for i686. Set
14758         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
14759         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
14760         that memory barrier is emitted where required.
14761         * prims.cc: 64-bit align static primitive class instances.
14762         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
14763         read_barrier() to enforce ordering of reads.
14764         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
14765         primitives for PowerPC.
14766         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
14767         moved from natObject.cc.
14768         * sysdep/alpha/locks.h: Likewise.
14769         * sysdep/ia64/locks.h: Likewise.
14770         * sysdep/generic/locks.h: Likewise.
14771         * java/lang/natObject.cc: Move thread synchronization primitives to
14772         system-dependent headers.
14773
14774 2002-03-09  Adam Megacz  <adam@xwt.org>
14775
14776         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
14777         bytes read and no failure code returned.
14778
14779 2002-03-09  Adam Megacz  <adam@xwt.org>
14780
14781         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
14782         definitions to simulate -mthreads.
14783
14784 2002-03-09  Adam Megacz  <adam@xwt.org>
14785
14786         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
14787         avoid precision loss.
14788
14789 2002-03-09  Per Bothner  <per@bothner.com>
14790
14791         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
14792         * gnu/gcj/xlib/XImage.java:  Likewise.
14793         * gnu/gcj/xlib/XColor.java:  Likewise.
14794
14795 2002-03-09  Adam Megacz  <adam@xwt.org>
14796
14797         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
14798         IOException so that Throwable.printStackTrace fails correctly.
14799
14800 2002-03-08  Adam Megacz  <adam@xwt.org>
14801
14802         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
14803         fixed.
14804
14805 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14806
14807         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
14808         truncated to int.
14809
14810 2002-03-08  Tom Tromey  <tromey@redhat.com>
14811
14812         * include/jni.h: Include stdio.h.
14813
14814 2002-03-08  Tom Tromey  <tromey@redhat.com>
14815
14816         * posix.cc (internal_gettimeofday): New function.
14817         (_Jv_select): Use it.
14818
14819 2002-03-07  Adam Megacz  <adam@xwt.org>
14820
14821         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
14822         WIN32, and added thunks for read(), write(), and close().
14823         * java/net/natPlainSocketImpl.cc (accept, read, read):
14824         Disabled timeouts on WIN32 pending discussion.
14825
14826 2002-03-07  Adam Megacz  <adam@xwt.org>
14827
14828         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
14829         returns jlong. Added implementation
14830         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
14831         returns jlong.
14832         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
14833         returns jlong.
14834         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
14835         returns jlong.
14836         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
14837         _Jv_platform_gettimeofday signature.
14838
14839 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14840
14841         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
14842         (read): Call recv() directly, not _Jv_recv().
14843
14844 2002-03-06  Tom Tromey  <tromey@redhat.com>
14845
14846         * java/io/natFileDescriptorEcos.cc (init): Don't use
14847         GetStdHandle.
14848         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
14849         is negative.
14850         (init): Don't use GetStdHandle.
14851
14852         * include/config.h.in: Rebuilt.
14853         * configure: Rebuilt.
14854         * Makefile.in: Rebuilt.
14855
14856 2002-03-06  Adam Megacz  <adam@xwt.org>
14857
14858         * java/io/FileDescriptor.java: Initialize in/out/err in init().
14859         * java/io/natFileDescriptorWin32.cc (init()): Added function.
14860         * java/io/natFileDescriptorPosix.cc (init()): Added function.
14861         * java/io/natFileDescriptorEcos.cc (init()): Added function.
14862
14863 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
14864
14865         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
14866         the code for generating include/java-chartables.h.
14867         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
14868         merge with Classpath.
14869         * scripts/unicode-muncher.pl: Copy from Classpath.
14870         * scritps/MakeCharTables.java: New file.
14871         * gnu/gcj/convert/Blocks-3.txt: New file.
14872         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
14873         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
14874         * gnu/java/lang/CharData.java: Copy from Classpath.
14875         * Makefile.am (ordinary_java_source_files): Add
14876         gnu/java/lang/CharData.java.
14877         * configure.in: Remove --enable-fast-character option.
14878         * java/lang/Character.java: Merge algorithms and Javadoc with
14879         Classpath.
14880         * java/lang/natCharacter.cc: Implement Unicode lookup table more
14881         efficiently.
14882         * include/java-chardecomp.h: Regenerate.
14883         * include/java-chartables.h: Regenerate.
14884
14885 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14886
14887         * java/awt/MediaTracker.java: Implemented.
14888         * Makefile.am: Add MediaTracker.
14889         * Makefile.in: Rebuilt.
14890
14891 2002-03-05  Tom Tromey  <tromey@redhat.com>
14892
14893         * java/lang/natPosixProcess.cc (fail): Removed.
14894         (startProcess): Simplified error-handling.  Preserve
14895         LD_LIBRARY_PATH across exec.
14896
14897         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
14898         AbstractMethodError.
14899
14900 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14901
14902         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
14903         * Makefile.in: Rebuilt.
14904
14905 2002-03-03 Mark Wielaard <mark@klomp.org>
14906
14907         * java/util/Timer (TaskQueue.stop): set elements to zero.
14908
14909 2002-02-28  Anthony Green  <green@redhat.com>
14910
14911         * java/lang/reflect/natMethod.cc (result): Add void* element.
14912         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
14913         constructor test.
14914
14915 2002-02-27  Adam Megacz <adam@xwt.org>
14916
14917         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
14918         '#undef STRICT'.
14919
14920 2002-02-26  Tom Tromey  <tromey@redhat.com>
14921
14922         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
14923         * gij.cc (version): Use __VERSION__.
14924         * include/config.h.in: Rebuilt.
14925         * acconfig.h (GCJVERSION): Removed.
14926         * configure: Rebuilt.
14927         * configure.in (GCJVERSION): Removed.
14928
14929 2002-02-26  Andreas Schwab  <schwab@suse.de>
14930
14931         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
14932         glibcpp_CXX, since libjava uses even another CXX.
14933         * aclocal.m4, configure: Regenerated.
14934
14935 2002-02-26  Tom Tromey  <tromey@redhat.com>
14936
14937         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
14938         `1'.
14939
14940 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14941
14942         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
14943         dependency tracking for .java files.
14944         * Makefile.in: Rebuilt.
14945
14946 2002-02-24  Adam Megacz  <adam@xwt.org>
14947
14948         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
14949         typo. Sorry.
14950
14951 2002-02-24  Adam Megacz  <adam@xwt.org>
14952
14953         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
14954         for Win32, changed #ifdefs to check WIN32 instead of the
14955         (now-obsolete) USE_WINSOCK, and removed support for socket
14956         timeouts on Win32 pending further discussion.
14957
14958 2002-02-24  Adam Megacz  <adam@xwt.org>
14959
14960         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
14961         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
14962         delete
14963
14964 2002-02-24  Adam Megacz  <adam@xwt.org>
14965
14966         * java/lang/Win32Process.java: Created a dummy class to allow
14967         build process to run to completion.
14968
14969 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
14970
14971         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
14972         Define ffi_result union for ffi_call result.  Cast
14973         ffi_result members to jvalue.
14974
14975 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
14976
14977         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
14978         * testsuite/Makefile.in: Likewise.
14979
14980 2002-02-20  Per Bothner  <per@bothner.com>
14981
14982         * java/net/URL.java (getPath):  New JDK 1.3 method.
14983
14984         * java/net/URLStreamHandler.java (parseURL):
14985         It is wrong to prepend '/' to the file part of a relative url.
14986
14987         * java/net/URLStreamHandler.java (parseURL):
14988         Minor optizations - append '/' rather than "/".
14989
14990         * java/net/URLStreamHandler.java (parseURL):
14991         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
14992         We probably should canonicalize for a context-relative url, though.
14993         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
14994         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
14995         (sameFile):  New method.  Uses canonicalizeFilename.
14996
14997 2002-02-22  Tom Tromey  <tromey@redhat.com>
14998
14999         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
15000         java.vendor and java.vm.vendor.
15001         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
15002         recent copyright date.
15003         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
15004         * gij.cc (version): Print `Inc'.
15005
15006 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15007
15008         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
15009         * aclocal.m4, configure: Rebuilt.
15010
15011 2002-02-20  Per Bothner  <per@bothner.com>
15012
15013         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
15014         and/or output streams immediately here, instead of using File.exists.
15015         (inputStream, outputStream):  New fields to save open streams.
15016         (getInputStream, getOutputStream):  Use already-opened streams.
15017
15018 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15019
15020         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
15021         Use it.
15022         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
15023         * aclocal.m4, configure, Makefile.in: Rebuilt.
15024
15025 2002-02-19  Tom Tromey  <tromey@redhat.com>
15026
15027         Fix for PR libgcj/5696:
15028         * verify.cc (is_assignable_from_slow): Never call
15029         _Jv_IsAssignableFrom.
15030         (verify_instructions_0): Added new debug statement.
15031         (state::print): Print information about whether local has
15032         changed.
15033         (state::merge): Don't call note_variable when merging locals.
15034         (state::set_exception): Removed old FIXME comment.
15035
15036 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15037
15038         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
15039         enable SO_BROADCAST.
15040
15041 2002-02-18  Jason Merrill  <jason@redhat.com>
15042
15043         * name-finder.cc (toHex): Use word mode, not long long.
15044
15045         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
15046
15047 2002-02-15  Tom Tromey  <tromey@redhat.com>
15048
15049         Fix for PR libgcj/5695:
15050         * verify.cc (is_assignable_from_slow): Check to see if target is
15051         an Object before checking to see if source is an interface.
15052         (verify_instructions_0) [op_invokeinterface]: Handle case where
15053         we're making an interface call on Object.
15054
15055 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15056
15057         * Makefile.in: Rebuilt with Eric's change below.
15058
15059         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
15060         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
15061         Removed functions which are now implemented in Math.java.
15062
15063 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15064
15065         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
15066         * Makefile.am (core_java_source_files): Add
15067         java/lang/StrictMath.java.
15068         * java/lang/Math.java: Merge with Classpath.
15069         * java/lang/StrictMath.java: New file - merge with Classpath.
15070
15071 2002-02-14  Mark Wielaard  <mark@klomp.org>
15072
15073         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
15074         package as a workaround for gcj 3.0.x
15075
15076 2002-02-14  Mark Wielaard <mark@klomp.org>
15077
15078         * java/security/BasicPermission.java: extends with fully qualified
15079         classname as workaround for gcj 3.0.4.
15080
15081 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15082
15083         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
15084         around gcj bug of wrong emitted qualifier for inherited method.
15085         * java/net/SocketImpl.java (setOption, getOption): Ditto.
15086         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
15087         constructor to reduce amount of emitted bytecode. While this
15088         happens to work around a jikes 1.15 bug, it is still a useful
15089         patch even for correct compilers.
15090         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
15091         * gnu/java/rmi/server/UnicastRemoteCall.java
15092         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
15093
15094 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15095
15096         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
15097         * java/net/SocketImpl.java: Ditto.
15098         * java/rmi/server/RMIClassLoader.java: Ditto.
15099         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
15100
15101 2002-02-14  Mark Wielaard <mark@klomp.org>
15102
15103         Thanks to Takashi Okamoto
15104         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
15105         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
15106         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
15107
15108 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15109
15110         Fix for PR libgcj/5670:
15111         * verify.cc (is_assignable_from_slow): If `source' is interface,
15112         recursively look for merge with `target'.
15113
15114 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
15115
15116         * include/jni.h: Fix typo.
15117
15118 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
15119
15120         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
15121         correctly.
15122
15123 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15124
15125         Fix for PR libgcj/5671:
15126         * verify.cc (state::merge): Handle case where we're merging
15127         against an interface.
15128
15129 2002-02-12  Tom Tromey  <tromey@redhat.com>
15130
15131         * exception.cc (std::abort): Mark as noreturn.
15132
15133 2002-02-12  Adam Megacz <adam@xwt.org>
15134
15135         * java/lang/Win32Process.java: Filled in a placeholder
15136         implementation so Win32 will build.
15137
15138 2002-02-12  Adam Megacz <adam@xwt.org>
15139
15140         * java/io/natFilePosix.cc: Copied this from natFile.cc.
15141         * java/io/natFile.cc: Removed from repository.
15142         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
15143
15144 2002-02-12  Adam Megacz <adam@xwt.org>
15145
15146         * win32.cc: Added two #includes to make win32.cc compile.
15147
15148 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15149
15150         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
15151         declarations.
15152         (_Jv_InitGC): Don't bother locking, as this is always called from a
15153         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
15154
15155 2002-02-11  Adam Megacz <adam@xwt.org>
15156
15157         * include/win32.h: Added _Jv_platform_gettimeofday.
15158         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
15159
15160 2002-02-11  Adam Megacz <adam@xwt.org>
15161
15162         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
15163         Added #undef STRICT to make windows.h and
15164         java/lang/reflect/Modifier.h cooperate.
15165
15166 2002-02-11  Adam Megacz <adam@xwt.org>
15167
15168         * java/io/natFileWin32.cc: Created a placeholder class with lots
15169         of FIXMEs.
15170
15171 2002-02-11  Adam Megacz <adam@xwt.org>
15172
15173         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
15174         std::abort() to simply abort(). Also added "fake" std::abort() so
15175         we can #include unwind-pe.h without having to link against
15176         libstdc++-v3.
15177
15178 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
15179
15180         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
15181
15182 2002-02-08  Tom Tromey  <tromey@redhat.com>
15183
15184         * interpret.cc (convert): New function.
15185         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
15186         convert.
15187         Include Long.h.
15188
15189 2002-02-08  Anthony Green  <green@redhat.com>
15190
15191         * configure.host: Add support for xscale-elf embedded target.
15192
15193 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
15194
15195         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
15196         dereferenced.
15197         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
15198         frame.
15199
15200 2002-02-07  Tom Tromey  <tromey@redhat.com>
15201
15202         * java/io/natFile.cc (_access): Use __builtin_alloca.
15203         (_stat): Likewise.
15204         (attr): Likewise.
15205         (getCanonicalPath): Likewise.
15206         (performList): Likewise.
15207         (performMkdir): Likewise.
15208         (performSetReadOnly): Likewise.
15209         (performRenameTo): Likewise.
15210         (performSetLastModified): Likewise.
15211         (performCreate): Likewise.
15212         (performDelete): Likewise.
15213
15214 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15215
15216         * HACKING: Fix URL for the automake-gcj.
15217
15218 2002-02-07  Tom Tromey  <tromey@redhat.com>
15219
15220         * java/lang/natThrowable.cc: Updated copyright.
15221         * java/io/natFileWin32.cc: Updated copyright.
15222         * java/io/natFileDescriptorWin32.cc: Updated copyright.
15223         * win32-threads.cc: Updated copyright.
15224         * name-finder.cc: Updated copyright.
15225         * include/name-finder.h: Updated copyright.
15226
15227         * include/name-finder.h: Conditionally include sys/wait.h.
15228         * include/config.h.in: Rebuilt.
15229
15230         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
15231         Size buffer based on real size of string.
15232         (_stat): Likewise.
15233         (attr): Likewise.
15234         (getCanonicalPath): Likewise.
15235         (performList): Likewise.
15236         (performMkdir): Likewise.
15237         (performSetReadOnly): Likewise.
15238         (unixroot): Removed.
15239         (performRenameTo): Likewise.
15240         (performSetLastModified): Likewise.
15241         (performCreate): Likewise.
15242         (performDelete): Likewise.
15243         (performListRoots): Always return new array.
15244
15245         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
15246         * win32.cc (win32_exception_handler): Now static.
15247         * include/win32.h (_Jv_platform_initialize): Declare.
15248         (win32_exception_handler): Don't declare.
15249         * java/lang/natSystem.cc (currentTimeMillis): Use
15250         _Jv_platform_gettimeofday.
15251         * posix.cc (_Jv_platform_gettimeofday): Renamed.
15252         (_Jv_select): Use new name.
15253         (_Jv_platform_initialize): New function.
15254         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
15255         _Jv_gettimeofday.
15256         (_Jv_platform_initialize): Declare.
15257
15258         * configure: Rebuilt.
15259         * configure.in: Removed unnecessary parens.
15260
15261 2002-02-06  Adam Megacz <adam@xwt.org>
15262
15263        * configure.in: Changed mingw) to *mingw*).
15264        * win32.cc: Created this file.
15265        * win32.h: Created this file.
15266        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
15267        win32_exception_handler from prims.cc to win32.cc, added
15268        header in win32.h.
15269        * prims.cc: removed some #ifdef-WIN32'd headers which are no
15270        longer needed now that we have platform.h
15271
15272 2002-02-06  Adam Megacz <adam@xwt.org>
15273
15274         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
15275         use uint<n>_t instead of LONG and BYTE
15276
15277 2002-02-06  Adam Megacz <adam@xwt.org>
15278
15279         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
15280
15281 2002-02-06  Anthony Green  <green@redhat.com>
15282
15283         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
15284         Implement missing method stubs.
15285         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
15286         targets.
15287         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
15288         concept of timezones.
15289         (init_properties): Don't refer to _Jv_Environment_Properties
15290         when this feature is not available.
15291         * include/config.h.in: Rebuilt.
15292         * acconfig.h: Add DISABLE_MAIN_ARGS.
15293         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
15294         * configure: Rebuilt.
15295         * configure.in: Add --disable-main-args option.  Test for
15296           opendir function.  Replace AC_CHECK_SIZEOF with
15297           AC_COMPILE_CHECK_SIZEOF.
15298         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
15299         * aclocal.m4: Rebuilt.
15300         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
15301
15302 2002-02-06  Tom Tromey  <tromey@redhat.com>
15303
15304         * verify.cc (require_array_type): If argument is a null array of
15305         references, return null as the element type.
15306
15307 2002-02-06  Mark Wielaard  <mark@klomp.org>
15308
15309         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
15310         duplicate of a wide type.
15311
15312 2002-02-06  Tom Tromey  <tromey@redhat.com>
15313
15314         * verify.cc (type::isnull): New method.
15315         (require_array_type): Handle case where array is null.
15316         (verify_instructions_0) [op_arraylength]: Likewise.
15317
15318 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15319
15320         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
15321         Symlink PLATFORMH to platform.h.
15322         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
15323         PLATFORMOBJS.
15324         * java/lang/natSystem.cc: #include platform.h not posix.h.
15325         * Makefile.in: Rebuilt with libgcj automake.
15326         * configure: Rebuilt.
15327
15328 2002-02-05  Richard Henderson  <rth@redhat.com>
15329
15330         * Makefile.in: Undo munging last change.
15331
15332 2002-02-04  Adam Megacz <adam@xwt.org>
15333
15334         * win32.cc: Created it.
15335         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
15336         which is set to posix.cc or win32.cc.
15337         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
15338
15339 2002-02-04  Adam Megacz <adam@xwt.org>
15340
15341         * configure.in: Corrected mingw case branches; added * before
15342         and after.
15343
15344 2002-02-04  Adam Megacz <adam@xwt.org>
15345
15346         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
15347         if compiling for win32
15348
15349 2002-02-04  Adam Megacz <adam@xwt.org>
15350
15351         * win32-threads.cc: #undef STRICT after gc.h inclusion
15352
15353 2002-02-02  Tom Tromey  <tromey@redhat.com>
15354
15355         * Makefile.in: Rebuilt.
15356
15357 2002-02-02  Jason Merrill  <jason@redhat.com>
15358
15359         * Makefile.am (clean-nat): New target.
15360
15361 2002-02-02  Tom Tromey  <tromey@redhat.com>
15362
15363         * java/io/natFile.cc: Removed old "FIXME" comments.
15364
15365 2002-02-01  Tom Tromey  <tromey@redhat.com>
15366
15367         * java/lang/natPosixProcess.cc (myclose): New function.
15368         (fail): Use it.
15369         (startProcess): Likewise.
15370
15371 2002-02-01  Adam Megacz <adam@xwt.org>
15372
15373         * prims.cc: Added #undef STRICT after #include<windows.h>.
15374
15375 2002-02-01  Adam Megacz <adam@xwt.org>
15376
15377         * prims.cc
15378         (_Jv_CreateJavaVM): We now use WIN32 instead of
15379         USE_WIN32_SIGNALLING and USE_WINSOCK.
15380         (win32_exception_handler): Now throws an exception out of
15381         the signal handler; assumes SJLJ.
15382
15383 2002-02-01  Adam Megacz <adam@xwt.org>
15384
15385         * win32-threads.cc:
15386         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
15387         wait() algorithm to make it safe.
15388         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
15389         Added lazy creation of Win32 Events for better performance
15390         (really_start): This now uses GC_CreateThread so boehm-gc
15391         knows about new threads even when statically linked.
15392
15393 2002-02-01  Adam Megacz <adam@xwt.org>
15394
15395         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
15396         enable safer wait() algorithm.
15397         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
15398         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
15399         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
15400         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
15401         instead of mutex.
15402         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
15403
15404 2002-02-01  Adam Megacz <adam@xwt.org>
15405
15406         * configure.in: Added support for mingw.
15407         * java/lang/Win32Process.java: Created as empty file.
15408         * java/lang/natWin32Process.cc: Created as empty file.
15409
15410 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15411
15412         PR java/4972
15413         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
15414         for libiconv in LIBICONV variable.
15415         * configure: Regenerated.
15416
15417 2002-01-31  Tom Tromey  <tromey@redhat.com>
15418
15419         * verify.cc (state::enter_subroutine): New method.
15420         (handle_jsr_insn): Use it.
15421         (state::merge): When processing a `ret', correctly use
15422         subroutine's state to determine which local variables have
15423         changed.
15424         (push_exception_jump): Don't let stack overflow.
15425
15426 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
15427
15428         * gnu/gcj/convert/Convert.java: Only include one copyright year in
15429         --version output.
15430
15431 2002-01-30  Tom Tromey  <tromey@redhat.com>
15432
15433         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
15434         parameter for `recv' return type.
15435
15436         * verify.cc (handle_ret_insn): Check for subroutine merge here...
15437         (state::merge): ... not here.
15438         (subr_entry_info): New structure.
15439         (entry_points): New field.
15440         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
15441         entry_points.
15442
15443 2002-01-29  Tom Tromey  <tromey@redhat.com>
15444
15445         * java/awt/List.java (addNotify): Correctly check to see if peer
15446         does not exist.
15447
15448         * java/awt/GridLayout.java (layoutContainer): Use number of rows
15449         to compute height of each cell, and number of columns to compute
15450         width of each cell.
15451         * java/awt/Window.java (getOwnedWindows): Don't return null.
15452         * java/awt/FlowLayout.java (layoutContainer): Set width and height
15453         of component.  Increment x using horizontal gap, not vertical
15454         gap.
15455
15456 2002-01-28  Tom Tromey  <tromey@redhat.com>
15457
15458         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
15459         `nargs' byte is number of words, not number of arguments.
15460
15461 2002-01-27  Tom Tromey  <tromey@redhat.com>
15462
15463         * java/awt/event/MouseEvent.java (modifiers): Removed field.
15464         (when): Likewise.
15465         * java/awt/event/InputEvent.java (modifiers, when): Now
15466         package-private.
15467
15468         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
15469         and to-do list.
15470         (state::merge): Use current class' class loader.
15471         (state::print): Print subroutine.
15472         (state::merge): Don't look at subroutine of unmerged `ret'.
15473
15474 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
15475
15476         * nogc.cc: Remove warnings.
15477         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
15478         New functions.
15479
15480 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15481
15482         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
15483         int, int):  Remove empty "if" statement to work around compiler bug.
15484         (newPixels(int[], ColorModel, int, int): Likewise.
15485
15486 2002-01-25  Per Bothner  <per@bothner.com>
15487
15488         * verify.cc (verify_fail):  Change from being a top-level function
15489         to e method of _Jv_BytecodeVerifier.  Emit current method name.
15490         Pass the current verifier to type: and state: methods as needed,
15491         for better error messages, and for resolve.
15492         (resolve):  Pass current class's loader for Class.forName and
15493         _Jv_FindClassFromSignature, rather than using the default loader.
15494         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
15495         (get_type_val_for_signature):  Make non-static.
15496         (various methods):  Pass start_PC implicitly, not explicitly.
15497
15498 2002-01-25  Tom Tromey  <tromey@redhat.com>
15499
15500         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
15501         loop termination condition.
15502         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
15503         width.
15504
15505 2002-01-24  Tom Tromey  <tromey@redhat.com>
15506
15507         * java/awt/Shape.java: Merged with Classpath.
15508         * java/awt/Scrollbar.java: Merged with Classpath.
15509
15510         * java/awt/Container.java (addNotify): Unconditionally call
15511         addNotifyContainerChildren and superclass addNotify.
15512
15513         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
15514         getAlpha, not getBlue.
15515
15516 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15517
15518         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
15519
15520         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
15521         (grabPixels(long)): Wait to be notified that the ImageProducer has
15522         completed.
15523
15524 2002-01-24  Per Bothner  <per@bothner.com>
15525
15526         * verify.cc (is_assignable_from_slow): If target is an interface,
15527         we must still check the source's superclass before giving up.
15528
15529 2002-01-24  Tom Tromey  <tromey@redhat.com>
15530
15531         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
15532
15533 2002-01-23  Tom Tromey  <tromey@redhat.com>
15534
15535         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
15536         `else'.
15537
15538         * Makefile.in: Rebuilt.
15539         * Makefile.am (awt_java_source_files): Added new files.
15540         * java/awt/Toolkit.java: Merged with Classpath.
15541         * java/awt/PrintGraphics.java: New file from Classpath.
15542         * java/awt/PrintJob.java: New file from Classpath.
15543         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
15544         * java/awt/datatransfer/ClipboardOwner.java: New file from
15545         Classpath.
15546         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
15547         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
15548         * java/awt/datatransfer/MimeTypeParseException.java: New file from
15549         Classpath.
15550         * java/awt/datatransfer/StringSelection.java: New file from
15551         Classpath.
15552         * java/awt/datatransfer/SystemFlavorMap.java: New file from
15553         Classpath.
15554         * java/awt/datatransfer/Transferable.java: New file from
15555         Classpath.
15556         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
15557         from Classpath.
15558
15559         * Makefile.in: Rebuilt.
15560         * Makefile.am (awt_java_source_files): Added new files.
15561         * java/awt/image/AreaAveragingScaleFilter.java: New file from
15562         Classpath.
15563         * java/awt/image/CropImageFilter.java: New file from Classpath.
15564         * java/awt/image/FilteredImageSource.java: New file from
15565         Classpath.
15566         * java/awt/image/ImageFilter.java: New file from Classpath.
15567         * java/awt/image/MemoryImageSource.java: New file from Classpath.
15568         * java/awt/image/PixelGrabber.java: New file from Classpath.
15569         * java/awt/image/RGBImageFilter.java: New file from Classpath.
15570         * java/awt/image/ReplicateScaleFilter.java: New file from
15571         Classpath.
15572         * java/awt/image/ImageProducer.java: Replaced with Classpath
15573         version.
15574         * java/awt/image/ImageObserver.java: Replaced with Classpath
15575         version.
15576         * java/awt/image/ImageConsumer.java: Replaced with Classpath
15577         version.
15578         * java/awt/GridBagConstraints.java (clone): Catch
15579         CloneNotSupportedException.
15580
15581 2002-01-23  Per Bothner  <per@bothner.com>
15582
15583         * java/lang/reflect/natField.cc (setAddr):  New function.
15584         Calls getAddr and then checks that the field isn't final.
15585         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
15586         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
15587         (set):  Call setAddr before check that new value has right type,
15588         to better match specified semantics.
15589
15590 2002-01-22  Tom Tromey  <tromey@redhat.com>
15591
15592         * java/awt/TextField.java: Replaced with Classpath version.
15593         * java/awt/TextArea.java: Replaced with Classpath version.
15594         * java/awt/TextComponent.java: Replaced with Classpath version.
15595
15596         * java/awt/GridBagConstraints.java: Updated copyright.
15597
15598 2002-01-22  Mark Wielaard <mark@klomp.org>
15599
15600         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
15601         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
15602         java/awt/Dialog.java java/awt/FileDialog.java
15603         java/awt/Font.java java/awt/FontMetrics.java
15604         java/awt/Image.java java/awt/ImageMediaEntry.java
15605         java/awt/Insets.java java/awt/List.java
15606         java/awt/MediaEntry.java java/awt/MediaTracker.java
15607         java/awt/Menu.java java/awt/MenuBar.java
15608         java/awt/MenuContainer.java java/awt/MenuShortcut.java
15609         java/awt/PaintContext.java java/awt/Panel.java
15610         java/awt/PopupMenu.java java/awt/SystemColor.java
15611         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
15612         java/awt/peer/CheckboxMenuItemPeer.java
15613         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
15614         java/awt/peer/ComponentPeer.java
15615         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
15616         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
15617         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
15618         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
15619         java/awt/peer/MenuBarPeer.java
15620         java/awt/peer/MenuComponentPeer.java
15621         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
15622         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
15623         java/awt/peer/ScrollPanePeer.java
15624         java/awt/peer/ScrollbarPeer.java
15625         java/awt/peer/TextAreaPeer.java
15626         java/awt/peer/TextComponentPeer.java
15627         java/awt/peer/TextFieldPeer.java
15628         java/awt/peer/WindowPeer.java: Add license clarification.
15629
15630 2002-01-22  Mark Wielaard <mark@klomp.org>
15631
15632         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
15633         gnu/gcj/runtime/StringBuffer.java
15634         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
15635         gnu/java/awt/ComponentDataBlitOp.java
15636         gnu/java/awt/GLightweightPeer.java
15637         gnu/java/beans/BeanInfoEmbryo.java
15638         gnu/java/beans/EmptyBeanInfo.java
15639         gnu/java/beans/ExplicitBeanInfo.java
15640         gnu/java/beans/IntrospectionIncubator.java
15641         gnu/java/beans/editors/ColorEditor.java
15642         gnu/java/beans/editors/FontEditor.java
15643         gnu/java/beans/editors/NativeBooleanEditor.java
15644         gnu/java/beans/editors/NativeByteEditor.java
15645         gnu/java/beans/editors/NativeDoubleEditor.java
15646         gnu/java/beans/editors/NativeFloatEditor.java
15647         gnu/java/beans/editors/NativeIntEditor.java
15648         gnu/java/beans/editors/NativeLongEditor.java
15649         gnu/java/beans/editors/NativeShortEditor.java
15650         gnu/java/beans/editors/StringEditor.java
15651         gnu/java/beans/info/ComponentBeanInfo.java
15652         gnu/java/io/ClassLoaderObjectInputStream.java
15653         gnu/java/io/NullOutputStream.java
15654         gnu/java/io/ObjectIdentityWrapper.java
15655         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
15656         gnu/java/lang/reflect/TypeSignature.java
15657         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
15658         gnu/java/locale/Calendar_en.java
15659         gnu/java/locale/Calendar_nl.java
15660         gnu/java/locale/LocaleInformation.java
15661         gnu/java/locale/LocaleInformation_de.java
15662         gnu/java/locale/LocaleInformation_en.java
15663         gnu/java/locale/LocaleInformation_nl.java
15664         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
15665         gnu/java/rmi/registry/RegistryImpl.java
15666         gnu/java/rmi/rmic/Compile_gcj.java
15667         gnu/java/rmi/rmic/Compiler.java
15668         gnu/java/rmi/rmic/CompilerProcess.java
15669         gnu/java/rmi/rmic/RMIC.java
15670         gnu/java/rmi/rmic/TabbedWriter.java
15671         gnu/java/rmi/server/ProtocolConstants.java
15672         gnu/java/rmi/server/RMIDefaultSocketFactory.java
15673         gnu/java/rmi/server/RMIHashes.java
15674         gnu/java/rmi/server/RMIObjectInputStream.java
15675         gnu/java/rmi/server/RMIObjectOutputStream.java
15676         gnu/java/rmi/server/UnicastConnection.java
15677         gnu/java/rmi/server/UnicastConnectionManager.java
15678         gnu/java/rmi/server/UnicastRef.java
15679         gnu/java/rmi/server/UnicastRemoteCall.java
15680         gnu/java/rmi/server/UnicastRemoteStub.java
15681         gnu/java/rmi/server/UnicastServer.java
15682         gnu/java/rmi/server/UnicastServerRef.java
15683         gnu/java/security/provider/DefaultPolicy.java
15684         gnu/java/security/provider/Gnu.java
15685         gnu/java/security/provider/SHA.java
15686         gnu/java/security/provider/SHA1PRNG.java
15687         gnu/java/text/BaseBreakIterator.java
15688         gnu/java/text/CharacterBreakIterator.java
15689         gnu/java/text/LineBreakIterator.java
15690         gnu/java/text/SentenceBreakIterator.java
15691         gnu/java/text/WordBreakIterator.java
15692         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
15693         java/applet/AppletContext.java java/applet/AppletStub.java
15694         java/applet/AudioClip.java java/awt/AWTError.java
15695         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
15696         java/awt/AWTException.java java/awt/AWTPermission.java
15697         java/awt/ActiveEvent.java java/awt/BorderLayout.java
15698         java/awt/Button.java java/awt/Canvas.java
15699         java/awt/CardLayout.java java/awt/Checkbox.java
15700         java/awt/CheckboxGroup.java java/awt/Component.java
15701         java/awt/ComponentOrientation.java java/awt/Container.java
15702         java/awt/Dimension.java java/awt/Event.java
15703         java/awt/EventDispatchThread.java java/awt/EventQueue.java
15704         java/awt/FlowLayout.java java/awt/Frame.java
15705         java/awt/Graphics.java java/awt/Graphics2D.java
15706         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
15707         java/awt/IllegalComponentStateException.java
15708         java/awt/ItemSelectable.java java/awt/Label.java
15709         java/awt/LayoutManager.java java/awt/LayoutManager2.java
15710         java/awt/MenuComponent.java java/awt/MenuItem.java
15711         java/awt/Paint.java java/awt/Point.java
15712         java/awt/Rectangle.java java/awt/RenderingHints.java
15713         java/awt/Transparency.java java/awt/Window.java
15714         java/awt/color/ColorSpace.java
15715         java/awt/color/ICC_ColorSpace.java
15716         java/awt/color/ICC_Profile.java
15717         java/awt/event/HierarchyBoundsAdapter.java
15718         java/awt/event/HierarchyBoundsListener.java
15719         java/awt/event/HierarchyEvent.java
15720         java/awt/event/HierarchyListener.java
15721         java/awt/geom/AffineTransform.java
15722         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
15723         java/awt/geom/IllegalPathStateException.java
15724         java/awt/geom/Line2D.java
15725         java/awt/geom/NoninvertibleTransformException.java
15726         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
15727         java/awt/geom/Rectangle2D.java
15728         java/awt/geom/RectangularShape.java
15729         java/awt/geom/RoundRectangle2D.java
15730         java/awt/image/BufferedImage.java
15731         java/awt/image/ColorModel.java
15732         java/awt/image/ComponentColorModel.java
15733         java/awt/image/ComponentSampleModel.java
15734         java/awt/image/DataBuffer.java
15735         java/awt/image/DataBufferByte.java
15736         java/awt/image/DataBufferInt.java
15737         java/awt/image/DataBufferUShort.java
15738         java/awt/image/DirectColorModel.java
15739         java/awt/image/PackedColorModel.java
15740         java/awt/image/Raster.java java/awt/image/RasterOp.java
15741         java/awt/image/SampleModel.java
15742         java/awt/image/SinglePixelPackedSampleModel.java
15743         java/awt/image/WritableRaster.java
15744         java/beans/AppletInitializer.java
15745         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
15746         java/beans/Beans.java java/beans/Customizer.java
15747         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
15748         java/beans/FeatureDescriptor.java
15749         java/beans/IndexedPropertyDescriptor.java
15750         java/beans/IntrospectionException.java
15751         java/beans/Introspector.java java/beans/MethodDescriptor.java
15752         java/beans/ParameterDescriptor.java
15753         java/beans/PropertyChangeEvent.java
15754         java/beans/PropertyChangeListener.java
15755         java/beans/PropertyChangeSupport.java
15756         java/beans/PropertyDescriptor.java
15757         java/beans/PropertyEditor.java
15758         java/beans/PropertyEditorManager.java
15759         java/beans/PropertyEditorSupport.java
15760         java/beans/PropertyVetoException.java
15761         java/beans/SimpleBeanInfo.java
15762         java/beans/VetoableChangeListener.java
15763         java/beans/VetoableChangeSupport.java
15764         java/beans/Visibility.java
15765         java/beans/beancontext/BeanContext.java
15766         java/beans/beancontext/BeanContextChild.java
15767         java/beans/beancontext/BeanContextChildComponentProxy.java
15768         java/beans/beancontext/BeanContextChildSupport.java
15769         java/beans/beancontext/BeanContextContainerProxy.java
15770         java/beans/beancontext/BeanContextEvent.java
15771         java/beans/beancontext/BeanContextMembershipEvent.java
15772         java/beans/beancontext/BeanContextMembershipListener.java
15773         java/beans/beancontext/BeanContextProxy.java
15774         java/beans/beancontext/BeanContextServiceAvailableEvent.java
15775         java/beans/beancontext/BeanContextServiceProvider.java
15776         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
15777         java/beans/beancontext/BeanContextServiceRevokedEvent.java
15778         java/beans/beancontext/BeanContextServiceRevokedListener.java
15779         java/beans/beancontext/BeanContextServices.java
15780         java/beans/beancontext/BeanContextServicesListener.java
15781         java/io/BufferedInputStream.java
15782         java/io/BufferedOutputStream.java java/io/BufferedReader.java
15783         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
15784         java/io/ByteArrayOutputStream.java
15785         java/io/CharArrayReader.java java/io/CharArrayWriter.java
15786         java/io/CharConversionException.java java/io/DataInput.java
15787         java/io/DataInputStream.java java/io/DataOutput.java
15788         java/io/EOFException.java java/io/Externalizable.java
15789         java/io/FileFilter.java java/io/FileNotFoundException.java
15790         java/io/FilePermission.java java/io/FileReader.java
15791         java/io/FileWriter.java java/io/FilenameFilter.java
15792         java/io/FilterInputStream.java java/io/FilterOutputStream.java
15793         java/io/FilterReader.java java/io/FilterWriter.java
15794         java/io/IOException.java java/io/InputStream.java
15795         java/io/InterruptedIOException.java
15796         java/io/InvalidClassException.java
15797         java/io/InvalidObjectException.java
15798         java/io/NotActiveException.java
15799         java/io/NotSerializableException.java java/io/ObjectInput.java
15800         java/io/ObjectInputStream.java
15801         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
15802         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
15803         java/io/ObjectStreamConstants.java
15804         java/io/ObjectStreamException.java
15805         java/io/ObjectStreamField.java
15806         java/io/OptionalDataException.java java/io/OutputStream.java
15807         java/io/PipedInputStream.java java/io/PipedOutputStream.java
15808         java/io/PipedReader.java java/io/PipedWriter.java
15809         java/io/PrintWriter.java java/io/PushbackInputStream.java
15810         java/io/PushbackReader.java java/io/Reader.java
15811         java/io/SequenceInputStream.java java/io/Serializable.java
15812         java/io/SerializablePermission.java
15813         java/io/StreamCorruptedException.java
15814         java/io/StreamTokenizer.java
15815         java/io/StringBufferInputStream.java java/io/StringReader.java
15816         java/io/StringWriter.java java/io/SyncFailedException.java
15817         java/io/UTFDataFormatException.java
15818         java/io/UnsupportedEncodingException.java
15819         java/io/WriteAbortedException.java java/io/Writer.java
15820         java/lang/AbstractMethodError.java
15821         java/lang/ArithmeticException.java
15822         java/lang/ArrayIndexOutOfBoundsException.java
15823         java/lang/ArrayStoreException.java java/lang/Boolean.java
15824         java/lang/Byte.java java/lang/CharSequence.java
15825         java/lang/ClassCastException.java
15826         java/lang/ClassCircularityError.java
15827         java/lang/ClassFormatError.java
15828         java/lang/ClassNotFoundException.java
15829         java/lang/CloneNotSupportedException.java
15830         java/lang/Cloneable.java java/lang/Comparable.java
15831         java/lang/Compiler.java java/lang/Double.java
15832         java/lang/Error.java java/lang/Exception.java
15833         java/lang/ExceptionInInitializerError.java
15834         java/lang/Float.java java/lang/IllegalAccessError.java
15835         java/lang/IllegalAccessException.java
15836         java/lang/IllegalArgumentException.java
15837         java/lang/IllegalMonitorStateException.java
15838         java/lang/IllegalStateException.java
15839         java/lang/IllegalThreadStateException.java
15840         java/lang/IncompatibleClassChangeError.java
15841         java/lang/IndexOutOfBoundsException.java
15842         java/lang/InheritableThreadLocal.java
15843         java/lang/InstantiationError.java
15844         java/lang/InstantiationException.java java/lang/Integer.java
15845         java/lang/InternalError.java
15846         java/lang/InterruptedException.java
15847         java/lang/LinkageError.java java/lang/Long.java
15848         java/lang/NegativeArraySizeException.java
15849         java/lang/NoClassDefFoundError.java
15850         java/lang/NoSuchFieldError.java
15851         java/lang/NoSuchFieldException.java
15852         java/lang/NoSuchMethodError.java
15853         java/lang/NoSuchMethodException.java
15854         java/lang/NullPointerException.java java/lang/Number.java
15855         java/lang/NumberFormatException.java
15856         java/lang/OutOfMemoryError.java java/lang/Package.java
15857         java/lang/Process.java java/lang/Runnable.java
15858         java/lang/RuntimeException.java
15859         java/lang/RuntimePermission.java
15860         java/lang/SecurityException.java
15861         java/lang/SecurityManager.java java/lang/Short.java
15862         java/lang/StackOverflowError.java java/lang/StringBuffer.java
15863         java/lang/StringIndexOutOfBoundsException.java
15864         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
15865         java/lang/ThreadLocal.java java/lang/UnknownError.java
15866         java/lang/UnsatisfiedLinkError.java
15867         java/lang/UnsupportedClassVersionError.java
15868         java/lang/UnsupportedOperationException.java
15869         java/lang/VerifyError.java java/lang/VirtualMachineError.java
15870         java/lang/Void.java java/lang/ref/PhantomReference.java
15871         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
15872         java/lang/ref/SoftReference.java
15873         java/lang/ref/WeakReference.java
15874         java/lang/reflect/AccessibleObject.java
15875         java/lang/reflect/InvocationTargetException.java
15876         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
15877         java/lang/reflect/ReflectPermission.java
15878         java/math/BigDecimal.java java/math/BigInteger.java
15879         java/net/Authenticator.java java/net/BindException.java
15880         java/net/ConnectException.java java/net/ContentHandler.java
15881         java/net/ContentHandlerFactory.java
15882         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
15883         java/net/FileNameMap.java java/net/MalformedURLException.java
15884         java/net/MulticastSocket.java java/net/NetPermission.java
15885         java/net/NoRouteToHostException.java
15886         java/net/PasswordAuthentication.java
15887         java/net/ProtocolException.java java/net/ServerSocket.java
15888         java/net/Socket.java java/net/SocketException.java
15889         java/net/SocketImpl.java java/net/SocketImplFactory.java
15890         java/net/SocketOptions.java java/net/SocketPermission.java
15891         java/net/URLDecoder.java java/net/URLEncoder.java
15892         java/net/URLStreamHandlerFactory.java
15893         java/net/UnknownHostException.java
15894         java/net/UnknownServiceException.java
15895         java/rmi/AccessException.java
15896         java/rmi/AlreadyBoundException.java
15897         java/rmi/ConnectException.java
15898         java/rmi/ConnectIOException.java
15899         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
15900         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
15901         java/rmi/NotBoundException.java
15902         java/rmi/RMISecurityException.java
15903         java/rmi/RMISecurityManager.java java/rmi/Remote.java
15904         java/rmi/RemoteException.java java/rmi/ServerError.java
15905         java/rmi/ServerException.java
15906         java/rmi/ServerRuntimeException.java
15907         java/rmi/StubNotFoundException.java
15908         java/rmi/UnexpectedException.java
15909         java/rmi/UnknownHostException.java
15910         java/rmi/UnmarshalException.java
15911         java/rmi/activation/Activatable.java
15912         java/rmi/activation/ActivateFailedException.java
15913         java/rmi/activation/ActivationDesc.java
15914         java/rmi/activation/ActivationException.java
15915         java/rmi/activation/ActivationGroup.java
15916         java/rmi/activation/ActivationGroupDesc.java
15917         java/rmi/activation/ActivationGroupID.java
15918         java/rmi/activation/ActivationID.java
15919         java/rmi/activation/ActivationInstantiator.java
15920         java/rmi/activation/ActivationMonitor.java
15921         java/rmi/activation/ActivationSystem.java
15922         java/rmi/activation/Activator.java
15923         java/rmi/activation/UnknownGroupException.java
15924         java/rmi/activation/UnknownObjectException.java
15925         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
15926         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
15927         java/rmi/registry/Registry.java
15928         java/rmi/registry/RegistryHandler.java
15929         java/rmi/server/ExportException.java
15930         java/rmi/server/LoaderHandler.java
15931         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
15932         java/rmi/server/Operation.java
15933         java/rmi/server/RMIClassLoader.java
15934         java/rmi/server/RMIClientSocketFactory.java
15935         java/rmi/server/RMIFailureHandler.java
15936         java/rmi/server/RMIServerSocketFactory.java
15937         java/rmi/server/RMISocketFactory.java
15938         java/rmi/server/RemoteCall.java
15939         java/rmi/server/RemoteObject.java
15940         java/rmi/server/RemoteRef.java
15941         java/rmi/server/RemoteServer.java
15942         java/rmi/server/RemoteStub.java
15943         java/rmi/server/ServerCloneException.java
15944         java/rmi/server/ServerNotActiveException.java
15945         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
15946         java/rmi/server/SkeletonMismatchException.java
15947         java/rmi/server/SkeletonNotFoundException.java
15948         java/rmi/server/SocketSecurityException.java
15949         java/rmi/server/UID.java
15950         java/rmi/server/UnicastRemoteObject.java
15951         java/rmi/server/Unreferenced.java
15952         java/security/AccessControlContext.java
15953         java/security/AccessControlException.java
15954         java/security/AccessController.java
15955         java/security/AlgorithmParameterGenerator.java
15956         java/security/AlgorithmParameterGeneratorSpi.java
15957         java/security/AlgorithmParameters.java
15958         java/security/AlgorithmParametersSpi.java
15959         java/security/AllPermission.java
15960         java/security/BasicPermission.java
15961         java/security/Certificate.java java/security/CodeSource.java
15962         java/security/DigestException.java
15963         java/security/DigestInputStream.java
15964         java/security/DigestOutputStream.java
15965         java/security/DomainCombiner.java
15966         java/security/DummyKeyPairGenerator.java
15967         java/security/DummyMessageDigest.java
15968         java/security/DummySignature.java
15969         java/security/GeneralSecurityException.java
15970         java/security/Guard.java java/security/GuardedObject.java
15971         java/security/Identity.java java/security/IdentityScope.java
15972         java/security/InvalidAlgorithmParameterException.java
15973         java/security/InvalidKeyException.java
15974         java/security/InvalidParameterException.java
15975         java/security/Key.java java/security/KeyException.java
15976         java/security/KeyFactory.java java/security/KeyFactorySpi.java
15977         java/security/KeyManagementException.java
15978         java/security/KeyPair.java java/security/KeyPairGenerator.java
15979         java/security/KeyPairGeneratorSpi.java
15980         java/security/KeyStore.java
15981         java/security/KeyStoreException.java
15982         java/security/KeyStoreSpi.java
15983         java/security/MessageDigest.java
15984         java/security/MessageDigestSpi.java
15985         java/security/NoSuchAlgorithmException.java
15986         java/security/NoSuchProviderException.java
15987         java/security/Permission.java
15988         java/security/PermissionCollection.java
15989         java/security/Permissions.java java/security/Policy.java
15990         java/security/Principal.java java/security/PrivateKey.java
15991         java/security/PrivilegedAction.java
15992         java/security/PrivilegedActionException.java
15993         java/security/PrivilegedExceptionAction.java
15994         java/security/ProtectionDomain.java
15995         java/security/Provider.java
15996         java/security/ProviderException.java
15997         java/security/PublicKey.java
15998         java/security/SecureClassLoader.java
15999         java/security/SecureRandom.java
16000         java/security/SecureRandomSpi.java java/security/Security.java
16001         java/security/SecurityPermission.java
16002         java/security/Signature.java
16003         java/security/SignatureException.java
16004         java/security/SignatureSpi.java
16005         java/security/SignedObject.java java/security/Signer.java
16006         java/security/UnrecoverableKeyException.java
16007         java/security/UnresolvedPermission.java
16008         java/security/acl/Acl.java java/security/acl/AclEntry.java
16009         java/security/acl/AclNotFoundException.java
16010         java/security/acl/Group.java
16011         java/security/acl/LastOwnerException.java
16012         java/security/acl/NotOwnerException.java
16013         java/security/acl/Owner.java java/security/acl/Permission.java
16014         java/security/cert/CRL.java
16015         java/security/cert/CRLException.java
16016         java/security/cert/Certificate.java
16017         java/security/cert/CertificateEncodingException.java
16018         java/security/cert/CertificateException.java
16019         java/security/cert/CertificateExpiredException.java
16020         java/security/cert/CertificateFactory.java
16021         java/security/cert/CertificateFactorySpi.java
16022         java/security/cert/CertificateNotYetValidException.java
16023         java/security/cert/CertificateParsingException.java
16024         java/security/cert/X509CRL.java
16025         java/security/cert/X509CRLEntry.java
16026         java/security/cert/X509Certificate.java
16027         java/security/cert/X509Extension.java
16028         java/security/interfaces/DSAKey.java
16029         java/security/interfaces/DSAKeyPairGenerator.java
16030         java/security/interfaces/DSAParams.java
16031         java/security/interfaces/DSAPrivateKey.java
16032         java/security/interfaces/DSAPublicKey.java
16033         java/security/interfaces/RSAKey.java
16034         java/security/interfaces/RSAPrivateCrtKey.java
16035         java/security/interfaces/RSAPrivateKey.java
16036         java/security/interfaces/RSAPublicKey.java
16037         java/security/spec/AlgorithmParameterSpec.java
16038         java/security/spec/DSAParameterSpec.java
16039         java/security/spec/DSAPrivateKeySpec.java
16040         java/security/spec/DSAPublicKeySpec.java
16041         java/security/spec/EncodedKeySpec.java
16042         java/security/spec/InvalidKeySpecException.java
16043         java/security/spec/InvalidParameterSpecException.java
16044         java/security/spec/KeySpec.java
16045         java/security/spec/PKCS8EncodedKeySpec.java
16046         java/security/spec/RSAKeyGenParameterSpec.java
16047         java/security/spec/RSAPrivateCrtKeySpec.java
16048         java/security/spec/RSAPrivateKeySpec.java
16049         java/security/spec/RSAPublicKeySpec.java
16050         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
16051         java/sql/BatchUpdateException.java java/sql/Blob.java
16052         java/sql/CallableStatement.java java/sql/Clob.java
16053         java/sql/Connection.java java/sql/DataTruncation.java
16054         java/sql/DatabaseMetaData.java java/sql/Date.java
16055         java/sql/Driver.java java/sql/DriverManager.java
16056         java/sql/DriverPropertyInfo.java
16057         java/sql/PreparedStatement.java java/sql/Ref.java
16058         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
16059         java/sql/SQLData.java java/sql/SQLException.java
16060         java/sql/SQLInput.java java/sql/SQLOutput.java
16061         java/sql/SQLWarning.java java/sql/Statement.java
16062         java/sql/Struct.java java/sql/Time.java
16063         java/sql/Timestamp.java java/sql/Types.java
16064         java/text/Annotation.java
16065         java/text/AttributedCharacterIterator.java
16066         java/text/AttributedString.java
16067         java/text/AttributedStringIterator.java
16068         java/text/BreakIterator.java java/text/CharacterIterator.java
16069         java/text/ChoiceFormat.java java/text/Collator.java
16070         java/text/DateFormat.java java/text/DateFormatSymbols.java
16071         java/text/DecimalFormat.java
16072         java/text/DecimalFormatSymbols.java
16073         java/text/FieldPosition.java java/text/Format.java
16074         java/text/MessageFormat.java java/text/NumberFormat.java
16075         java/text/ParseException.java java/text/ParsePosition.java
16076         java/text/SimpleDateFormat.java
16077         java/text/StringCharacterIterator.java
16078         java/util/AbstractCollection.java java/util/AbstractList.java
16079         java/util/AbstractMap.java
16080         java/util/AbstractSequentialList.java
16081         java/util/AbstractSet.java java/util/ArrayList.java
16082         java/util/Arrays.java java/util/BasicMapEntry.java
16083         java/util/BitSet.java java/util/Calendar.java
16084         java/util/Collection.java java/util/Collections.java
16085         java/util/Comparator.java
16086         java/util/ConcurrentModificationException.java
16087         java/util/Date.java java/util/Dictionary.java
16088         java/util/EmptyStackException.java java/util/Enumeration.java
16089         java/util/EventListener.java java/util/EventObject.java
16090         java/util/GregorianCalendar.java java/util/HashMap.java
16091         java/util/HashSet.java java/util/Hashtable.java
16092         java/util/IdentityHashMap.java java/util/Iterator.java
16093         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
16094         java/util/LinkedList.java java/util/List.java
16095         java/util/ListIterator.java java/util/ListResourceBundle.java
16096         java/util/Locale.java java/util/Map.java
16097         java/util/MissingResourceException.java
16098         java/util/NoSuchElementException.java
16099         java/util/Observable.java java/util/Observer.java
16100         java/util/Properties.java java/util/PropertyPermission.java
16101         java/util/PropertyResourceBundle.java java/util/Random.java
16102         java/util/RandomAccess.java java/util/ResourceBundle.java
16103         java/util/Set.java java/util/SimpleTimeZone.java
16104         java/util/SortedMap.java java/util/SortedSet.java
16105         java/util/Stack.java java/util/StringTokenizer.java
16106         java/util/TimeZone.java java/util/Timer.java
16107         java/util/TimerTask.java
16108         java/util/TooManyListenersException.java
16109         java/util/TreeMap.java java/util/TreeSet.java
16110         java/util/Vector.java java/util/WeakHashMap.java
16111         java/util/jar/Attributes.java java/util/jar/JarEntry.java
16112         java/util/jar/JarException.java java/util/jar/JarFile.java
16113         java/util/jar/JarInputStream.java
16114         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
16115         java/util/zip/Adler32.java java/util/zip/CRC32.java
16116         java/util/zip/CheckedInputStream.java
16117         java/util/zip/CheckedOutputStream.java
16118         java/util/zip/Checksum.java
16119         java/util/zip/DataFormatException.java
16120         java/util/zip/Deflater.java
16121         java/util/zip/DeflaterOutputStream.java
16122         java/util/zip/GZIPInputStream.java
16123         java/util/zip/GZIPOutputStream.java
16124         java/util/zip/Inflater.java
16125         java/util/zip/InflaterInputStream.java
16126         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
16127         java/util/zip/ZipException.java java/util/zip/ZipFile.java
16128         java/util/zip/ZipInputStream.java
16129         java/util/zip/ZipOutputStream.java
16130         javax/naming/BinaryRefAddr.java
16131         javax/naming/InvalidNameException.java javax/naming/Name.java
16132         javax/naming/NamingException.java javax/naming/RefAddr.java
16133         javax/naming/StringRefAddr.java: Add license clarification.
16134
16135 2002-01-22  Tom Tromey  <tromey@redhat.com>
16136
16137         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
16138         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
16139         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
16140         version.
16141         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
16142         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
16143         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
16144         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
16145         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
16146         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
16147         * java/awt/peer/FontPeer.java: Replace with Classpath version.
16148         * java/awt/peer/FramePeer.java: Replace with Classpath version.
16149         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
16150         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
16151         * java/awt/peer/ListPeer.java: Replace with Classpath version.
16152         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
16153         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
16154         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
16155         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
16156         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
16157         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
16158         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
16159         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
16160         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
16161         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
16162         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
16163         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
16164         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
16165         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
16166         (minimumSize, preferredSize, reshape): Likewise.
16167         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
16168         getColorModel): New methods.
16169         * java/awt/PopupMenu.java: Merged with Classpath.
16170         * java/awt/MenuBar.java: Merged with Classpath.
16171         * java/awt/SystemColor.java: Replace with Classpath version.
16172         * java/awt/Panel.java: Merged with Classpath.
16173         * java/awt/PaintContext.java: Updated copyright.
16174         * java/awt/MenuShortcut.java: Merged with Classpath.
16175         * java/awt/MenuContainer.java: Merged with Classpath.
16176         * java/awt/Menu.java: Merged with Classpath.
16177         * java/awt/MediaEntry.java: New file from Classpath.
16178         * java/awt/MediaTracker.java: New file from Classpath.
16179         * java/awt/List.java: Merged with Classpath version.
16180         * java/awt/Insets.java: Merged with Classpath version.
16181         * java/awt/ImageMediaEntry.java: New file from Classpath.
16182         * java/awt/Image.java: Replaced with Classpath version.
16183         * java/awt/FontMetrics.java: Merged with Classpath version.
16184         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
16185         constant.
16186         * java/awt/Font.java: Merged with Classpath version.
16187         * java/awt/Dialog.java: Merged with Classpath version.
16188         * java/awt/Color.java: Merged with Classpath version.
16189         * java/awt/Choice.java: Merged with Classpath version.
16190         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
16191         * java/awt/Adjustable.java: Replace with Classpath version.
16192         * java/awt/MenuItem.java (paramString): Don't include class name
16193         or brackets.  Call superclass paramString.
16194         * java/awt/MenuComponent.java (toString): Call paramString.
16195         (paramString): Compute string; don't call toString.
16196         * java/awt/Label.java (paramString): Don't include class name
16197         or brackets.  Call superclass paramString.
16198         * java/awt/Checkbox.java (paramString): Don't include class name
16199         or brackets.  Call superclass paramString.
16200         * java/awt/Button.java (paramString): Don't include class name or
16201         brackets.  Call superclass paramString.
16202         * java/awt/MenuComponent.java (getTreeLock): Now protected.
16203
16204 2002-01-20  Andreas Schwab  <schwab@suse.de>
16205
16206         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
16207         function and of parameter recv_func to ssize_t, as specified by
16208         POSIX.
16209
16210 2002-01-19  Per Bothner  <per@bothner.com>
16211
16212         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
16213         uncompressed_size in readiness for next entry.
16214
16215 2002-01-18  Tom Tromey  <tromey@redhat.com>
16216
16217         * java/net/natPlainSocketImpl.cc: Include
16218         IllegalArgumentException.h.
16219         (_Jv_recv): New template function.
16220         (BooleanClass): Removed.
16221         (read): Use _Jv_recv.
16222         (setOption): Use Boolean::class$.  Throw exception if object is
16223         not Boolean or Integer.
16224
16225 2002-01-17  Tom Tromey  <tromey@redhat.com>
16226
16227         * java/awt/MenuComponent.java: Merged with Classpath.
16228         * java/awt/MenuItem.java: Merged with Classpath.
16229         * java/awt/Button.java: Merged with Classpath.
16230
16231         * java/awt/ActiveEvent.java: Updated copyright.
16232
16233         * java/awt/AWTError.java: Replaced with Classpath version.
16234         * java/awt/AWTException.java: Replaced with Classpath version.
16235         * java/awt/IllegalComponentStateException.java: Replaced with
16236         Classpath version.
16237
16238 2002-01-16  Tom Tromey  <tromey@redhat.com>
16239
16240         * java/awt/Canvas.java (serialVersionUID): New constant.
16241         Updated copyright.  Added javadoc from Classpath.
16242         * java/awt/ItemSelectable.java: Replaced with Classpath version.
16243
16244         * java/awt/CheckboxGroup.java: Merged with Classpath.
16245         * java/awt/Checkbox.java: Merged with Classpath.
16246
16247         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
16248         Classpath.
16249         * java/awt/Point.java: Updated copyright.
16250
16251         * java/awt/Point.java (toString): Use getClass().getName().
16252         Added javadoc.
16253
16254         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
16255         commented code.
16256         (hash): Correctly compute initial value for `h'.
16257
16258         * java/awt/Label.java: Merged with Classpath.
16259
16260 2002-01-15  Tom Tromey  <tromey@redhat.com>
16261
16262         * java/awt/AWTPermission.java: Updated copyright.
16263
16264         * java/awt/LayoutManager2.java: Merged with Classpath.
16265         * java/awt/LayoutManager.java: Merged with Classpath.
16266         * java/awt/GridLayout.java: Updated copyright and javadoc.
16267         (getSize): Use `parent.ncomponents'.  Handle insets.
16268         (layoutContainer): Use `parent.ncomponents'.  Handle case where
16269         there are fewer children than columns.  Correctly compute size of
16270         each cell in the grid.  Handle case where there isn't enough
16271         space.
16272         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
16273         all users.
16274         (gotoComponent): Use parent.ncomponents.  Ensure child exists
16275         before calling setVisible() on it.  Last item is `num - 1', not
16276         `num'.
16277         (layoutContainer): Hoist invariants out of loop.
16278
16279         Start of AWT merge with Classpath:
16280         * Makefile.in: Rebuilt.
16281         * Makefile.am (awt_java_source_files): Reference files in
16282         gnu/java/awt, not gnu/gcj/awt.
16283         * java/awt/image/BufferedImage.java: Updated copyright.
16284         * java/awt/image/ComponentColorModel.java: Updated copyright.
16285         * java/awt/image/ComponentSampleModel.java: Updated copyright.
16286         * java/awt/image/DataBuffer.java: Updated copyright.
16287         * java/awt/image/DataBufferByte.java: Updated copyright.
16288         * java/awt/image/DataBufferInt.java: Updated copyright.
16289         * java/awt/image/DataBufferUShort.java: Updated copyright.
16290         * java/awt/image/IndexColorModel.java: Updated copyright.
16291         * java/awt/image/PackedColorModel.java: Updated copyright.
16292         * java/awt/image/Raster.java: Updated copyright.
16293         * java/awt/image/RasterOp.java: Updated copyright.
16294         * java/awt/image/SampleModel.java: Updated copyright.
16295         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
16296         * java/awt/image/WritableRaster.java: Updated copyright.
16297         * java/awt/color/ColorSpace.java: Updated copyright.
16298         * java/awt/color/ICC_ColorSpace.java: Updated copyright
16299         * java/awt/color/ICC_Profile.java: Updated copyright.
16300         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
16301         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
16302         * java/awt/event/HierarchyEvent.java: Updated copyright.
16303         * java/awt/event/HierarchyListener.java: Updated copyright.
16304         * java/awt/geom/AffineTransform.java: Updated copyright.
16305         * java/awt/geom/Dimension2D.java: Updated copyright.
16306         * java/awt/geom/Ellipse2D.java: Updated copyright.
16307         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
16308         * java/awt/geom/Line2D.java: Updated copyright.
16309         * java/awt/geom/NoninvertibleTransformException.java: Updated
16310         copyright.
16311         * java/awt/geom/PathIterator.java: Updated copyright.
16312         * java/awt/geom/Point2D.java: Updated copyright.
16313         * java/awt/geom/Rectangle2D.java: Updated copyright.
16314         * java/awt/geom/RectangularShape.java: Updated copyright.
16315         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
16316         * java/awt/Toolkit.java: Updated import for file moves.
16317         * java/awt/Rectangle.java: Updated copyright; added javadoc from
16318         Classpath.
16319         (hashCode): New method from Classpath.
16320         * java/awt/Graphics2D.java: Updated copyright.
16321         * java/awt/Transparency.java: Updated copyright.
16322         * java/awt/Paint.java: Updated copyright.
16323         * java/awt/Graphics.java: New version from Classpath.
16324         * java/awt/EventDispatchThread.java: Updated copyright.
16325         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
16326         children.
16327         (gotoComponent): Wrap around on next/previous.
16328         * gnu/gcj/awt/BitMaskExtent.java: Removed.
16329         * gnu/gcj/awt/Buffers.java: Removed.
16330         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
16331         * gnu/gcj/awt/GLightweightPeer.java: Removed.
16332         * gnu/java/awt/BitMaskExtent.java: Added.
16333         * gnu/java/awt/Buffers.java: Added.
16334         * gnu/java/awt/ComponentDataBlitOp.java: Added.
16335         * gnu/java/awt/GLightweightPeer.java: Added.
16336         * java/awt/geom/Line2D.java (clone): Ignore
16337         CloneNotSupportedException.
16338         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
16339         * java/awt/Frame.java: Merged with Classpath.
16340         * java/awt/RenderingHints.java: Copyright update.
16341         * java/awt/Paint.java: Copyright update.
16342         * java/awt/image/DirectColorModel.java: Merged with Classpath.
16343         * java/awt/image/ColorModel.java: Merged with Classpath.
16344         * java/awt/Window.java (show): New Implementation from Classpath.
16345         (isShowing): Use super.isShowing().
16346         * java/awt/EventQueue.java: Merged with Classpath.
16347         * java/awt/AWTEventMulticaster.java (save): Throw
16348         RuntimeException.
16349         (saveInternal): Likewise.
16350         * java/awt/AWTEvent.java: Now implements Serializable.
16351         * java/awt/Event.java: Copyright update.
16352         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
16353         * java/awt/image/BufferedImage.java: Copyright update.
16354         * java/awt/GraphicsConfiguration.java: Copyright update.
16355         * java/awt/Component.java: (addNotify): Don't call
16356         addNotifyContainerChildren().
16357         (addNotifyContainerChildren): Removed.
16358         (setPeer): New method from Classpath.
16359         (setTreeLock): Likewise.
16360         (setVisible): Rewrote.
16361         (show): Use it.
16362         (hide): Likewise.
16363         (validate): Set `valid'.
16364         (checkImage(Image,ImageObserver)): Implementation from Classpath.
16365         (createImage(ImageProducer)): Likewise.
16366         (prepareImage): Likewise.
16367         * java/awt/Container.java (addImpl): Handle case where constraint
16368         is not a String.  Post event via system event queue.
16369         (remove): Post event via system event queue.
16370         (validateTree): Only validate child if it is invalid.
16371         (getAlignmentX): Call super method as default.
16372         (getAlignmentY): Likewise.
16373         (addContainerListener): Now synchronized.
16374         (removeContainerListener): Likewise.
16375         (addNotifyContainerChildren): Now private.
16376         * java/awt/ComponentOrientation.java: Updated copyright.  Added
16377         @author.
16378         * java/awt/FlowLayout.java (serialVersionUID): New field.
16379         (setAlignment): Better exception message.
16380         (layoutContainer): Don't compute component's preferred size unless
16381         we're going to use it.
16382         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
16383         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
16384         (firstLine, lastLine, firstItem, lastItem): New fields.
16385         (addLayoutComponent): Handle case where constraints is null.
16386         Also, handle relative locations.
16387         (removeLayoutComponent): Handle relative locations.
16388         (MIN, MAX, PREF): New constants.
16389         (calcCompSize): New method.
16390         (calcSize): New method.
16391         (minimumLayoutSize): Use it.
16392         (preferredLayoutSize): Likewise.
16393         (maximumLayoutSize): Likewise.
16394         (toString): Include more information.
16395         (setBounds): New method.
16396         (layoutContainer): Use libgcj implementation; extended to handle
16397         relative locations.
16398
16399 2002-01-15  Tom Tromey  <tromey@redhat.com>
16400
16401         * java/lang/Float.java (equals): Preserve old code.
16402         * java/lang/Double.java (equals): Preserve old code.
16403
16404 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
16405
16406         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
16407         * java/lang/Float.java (equals, compare): Ditto.
16408
16409 2002-01-13  Mark Wielaard  <mark@klomp.org>
16410
16411         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
16412         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
16413         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
16414         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
16415
16416 2002-01-11  Mark Wielaard  <mark@klomp.org>
16417
16418         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
16419         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
16420         InetAddress.
16421         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
16422         * java/net/Socket.java: Merge with Classpath.
16423         * java/net/ServerSocket.java: Likewise.
16424
16425 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
16426
16427         * interpret.cc (NULLARRAYCHECK): New macro.
16428         (SAVE_PC): Just store `pc'.
16429         (find_exception): Subtract one from `pc' here.
16430         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16431         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16432         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16433         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
16434         don't call SAVE_PC.
16435         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
16436         call SAVE_PC.
16437
16438 2002-01-11  Tom Tromey  <tromey@redhat.com>
16439
16440         * java/lang/natSystem.cc (init_properties): Only look for default
16441         locale if LC_MESSAGES is defined.
16442         * aclocal.m4, configure, include/config.h.in: Rebuilt.
16443         * configure.in: Call AM_LC_MESSAGES.
16444         * acinclude.m4 (AM_LC_MESSAGES): New macro.
16445
16446 2002-01-10  Tom Tromey  <tromey@redhat.com>
16447
16448         For PR libgcj/5303:
16449         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
16450         --version.  Recognize GNU-style long options.  Print GNU-style
16451         error messages.
16452         (usage): Print GNU-style help.  Exit with status 0.
16453         (error): New method.
16454         (run): Print error message if no class names found.
16455         (main): Don't print usage on error.
16456
16457 2002-01-09  Tom Tromey  <tromey@redhat.com>
16458
16459         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
16460         property.
16461         (help, version): Use println(), not println("").
16462
16463         For PR libgcj/5303:
16464         * gnu/gcj/convert/Convert.java (error): Program is called
16465         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
16466         -1.
16467         (main): Handle --help and --version.
16468         (help): New method.
16469         (version): Likewise.
16470
16471 2002-01-08  Tom Tromey  <tromey@redhat.com>
16472
16473         * Makefile.in: Rebuilt.
16474         * Makefile.am (ordinary_java_source_files): Added new files.
16475         * gnu/java/locale/LocaleInformation.java: Extend
16476         LocaleInformation_en.
16477         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
16478         and time/date formats.
16479         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
16480         generated.
16481         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
16482         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
16483         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
16484         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
16485         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
16486         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
16487         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
16488         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
16489         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
16490         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
16491         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
16492         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
16493         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
16494         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
16495         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
16496         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
16497         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
16498         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
16499         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
16500         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
16501         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
16502         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
16503         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
16504         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
16505         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
16506         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
16507         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
16508         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
16509         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
16510         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
16511         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
16512         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
16513         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
16514         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
16515         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
16516         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
16517         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
16518         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
16519         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
16520         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
16521         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
16522         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
16523         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
16524         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
16525         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
16526         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
16527         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
16528         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
16529         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
16530         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
16531         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
16532         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
16533         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
16534         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
16535         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
16536         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
16537         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
16538         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
16539         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
16540         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
16541         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
16542         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
16543         * gnu/java/locale/LocaleInformation_es_US.java: New file.
16544         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
16545         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
16546         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
16547         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
16548         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
16549         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
16550         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
16551         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
16552         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
16553         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
16554         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
16555         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
16556         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
16557         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
16558         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
16559         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
16560         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
16561         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
16562         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
16563         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
16564         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
16565         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
16566         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
16567         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
16568         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
16569         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
16570         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
16571         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
16572         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
16573         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
16574         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
16575         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
16576         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
16577         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
16578         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
16579         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
16580         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
16581         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
16582         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
16583         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
16584         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
16585         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
16586         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
16587         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
16588         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
16589         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
16590         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
16591         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
16592         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
16593         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
16594         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
16595         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
16596         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
16597         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
16598         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
16599         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
16600         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
16601         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
16602         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
16603         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
16604         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
16605         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
16606         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
16607         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
16608         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
16609         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
16610         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
16611
16612         For PR libgcj/5031:
16613         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
16614         choose default locale.
16615
16616         * Makefile.in: Rebuilt.
16617         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
16618
16619 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
16620
16621         * java/net/natPlainSocketImpl.cc: Added timeout handling for
16622         sockets.
16623         (close): New function closes the socket.
16624         (write): New functions for output to socket.
16625         (read): New functions for reading from socket.
16626         * java/net/PlainSocketImpl.java: Glue for new timeout
16627         implementation.
16628         (write): Call the native impl.
16629         (read): Likewise.
16630         (getInputStream): Get a stream to read from the socket.
16631         (getOutputStream): Get a stream to write to the socket.
16632
16633 2002-01-08  Tom Tromey  <tromey@redhat.com>
16634
16635         * resolve.cc (_Jv_PrepareClass): Enable verifier.
16636
16637 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
16638
16639         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
16640         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
16641
16642 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
16643
16644         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
16645         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16646         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16647         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16648         insn_bastore, insn_castore, insn_sastore]: Use it.
16649         (continue1) [insn_arraylength]: Check for null array.
16650
16651 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
16652
16653         * configure, include/config.h.in: Rebuilt.
16654         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
16655         * configure.in: Call AC_STRUCT_TIMEZONE.
16656
16657 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
16658
16659         * configure.host: Disable the interpreter for Darwin.
16660
16661 2002-01-04  Tom Tromey  <tromey@redhat.com>
16662
16663         * java/lang/Thread.java (stop): No longer synchronized.
16664         (start): Likewise.
16665
16666 2002-01-02  Tom Tromey  <tromey@redhat.com>
16667
16668         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
16669         patch.
16670
16671 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
16672
16673         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
16674         PPC Darwin, not for all of Darwin.