OSDN Git Service

2003-12-02 Dalibor Topic <robilad@kaffe.org>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-12-02  Dalibor Topic <robilad@kaffe.org>
2
3         * java/text/FieldPosition.java (equals): Fixed comment.
4
5 2003-12-02  Mark Wielaard  <mark@klomp.org>
6
7         Reported by Archie Cobbs:
8         * java/security/DigestInputStream.java (read(byte[], int, int): Call
9         digest.update() with temp, not len as lenght.
10
11 2003-12-02  Michael Koch  <konqueror@gmx.de>
12
13         * java/net/DatagramSocket.java
14         (close): Close associated DatagramChannel object.
15         * java/net/ServerSocket.java
16         * java/net/Socket.java
17         (close): Reset impl and bound before calling getChannel().close() to
18         prevent from loops.
19
20 2003-12-02  Michael Koch  <konqueror@gmx.de>
21
22         * java/nio/channels/spi/AbstractInterruptibleChannel.java
23         (opened): Removed.
24         (closed): New field.
25         (close): Check of channel is closed already.
26         (isOpen): Return !closed.
27
28 2003-12-02  Michael Koch  <konqueror@gmx.de>
29
30         * gnu/java/nio/DatagramChannelImpl.java
31         (blocking): Initialize with true by default.
32         * gnu/java/nio/ServerSocketChannelImpl.java
33         (serverSocket): Made private.
34         (blocking): Likewise.
35         (connected): Likewise.
36         * gnu/java/nio/SocketChannelImpl.java
37         (connectionPending): Made private.
38         * gnu/java/nio/FileLockImpl.java
39         (static): Load native library (needed for classpath).
40         * gnu/java/nio/SelectorImpl.java
41         (static): Load native library (needed for classpath).
42
43 2003-12-02  Michael Koch  <konqueror@gmx.de>
44
45         * gnu/java/net/protocol/file/Connection.java
46         (getLastModified): Implement for file connections.
47         (getContentLength): Likewise.
48
49 2003-12-02  Michael Koch  <konqueror@gmx.de>
50
51         * gnu/java/net/protocol/file/Connection.java:
52         Some reformating.
53         (file): Renamed from fileIn.
54         (getPermission): Moved around.
55
56 2003-12-02  Michael Koch  <konqueror@gmx.de>
57
58         * gnu/java/net/protocol/jar/Connection.java
59         (Connection): Made class final, merged documentation with classpath.
60         (file_cache): Made private.
61         (jar_file): Renamed from jarfile.
62
63 2003-12-02  Michael Koch  <konqueror@gmx.de>
64
65         * gnu/java/net/protocol/http/Connection.java
66         (Connection): Initialize doOutput to false;
67         (connect): Initialize inputStream, moved "send request" code to new
68         method.
69         (sendRequest): New method.
70         (getHttpHeaders): Don't reinitialize inputStream.
71
72 2003-12-02  Michael Koch  <konqueror@gmx.de>
73
74         * gnu/java/net/protocol//http/Connection.java
75         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
76         (requestProperties): Initialize, documentation added.
77         (inputStream): Renamed from bufferedIn.
78         (Connection): Dont initialize requestProperties.
79         (setDefaultRequestProperty): Removed.
80         (getDefaultRequestProperty): Removed.
81         (usingProxy): Documentation added.
82         (getHttpHeaders): Likewise.
83
84 2003-12-02  Michael Koch  <konqueror@gmx.de>
85
86         * java/text/DateFormat.java:
87         Explicitely import used classes.
88
89 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
90
91         * verify.cc (state::clean_subrs): Clear seen_subrs.
92         (state::copy): Walk seen_subrs from copy, not `this'.
93         Don't clear seen_subrs.
94
95 2003-12-01  Kim Ho <kho@redhat.com>
96
97         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
98         Disable wrapping if TextArea has horizontal scroll bars.
99
100 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
101
102         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
103         (awt_event_handler): Hard-code inset values.
104
105         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
106         Pass font name, not XLFD, to initState.
107         (stringWidth(String, int, String)): New method.
108         (stringWidth(String)): Call new stringWidth.
109         (getLeading): Always return 0.
110         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
111         (initState): New Pango implementation.
112         (stringWidth): Likewise.
113
114 2003-12-01  Olga Rodimina <rodimina@redhat.com>
115
116         * java/awt/TextComponent.java:
117         (getSelectionStart): Updated javadocs.
118         (getSelectionEnd): Ditto.
119         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
120         (getSelectionStart): Changed to return caret position if no
121         text is selected
122         (getSelectionEnd): Ditto.
123
124 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
125
126         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
127         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
128         gnu/awt/gtk/GtkContainerPeer.java,
129         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
130         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
131         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
132         gnu/awt/gtk/natGtkComponentPeer.cc,
133         gnu/awt/gtk/natGtkContainerPeer.cc,
134         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
135         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
136         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
137
138         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
139         (closed): Mark loader parameter as unused.
140
141 2003-12-01  Michael Koch  <konqueror@gmx.de>
142
143         * gnu/java/net/protocol/http/Connection.java
144         (Connection): Merged class documentation.
145         (socket): Renamed from sock.
146         (Connection): Made protected, documentation added.
147         (connect): Give URL'S host instead of InetAddress to Socket
148         constructor.
149         (disconnect): Documentation added.
150         (getOutputStream): Rewrapped.
151
152 2003-12-01  Michael Koch  <konqueror@gmx.de>
153
154         * gnu/java/net/protocol/file/Connection.java
155         (fileIn): Documentation added.
156         (inputStream): Likewise.
157         (outputStream): Likewise.
158         (Connection): Likewise.
159         (connect): Simplified.
160
161 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
162
163         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
164         setProperties): Check that io is not null before calling
165         io.imageUpdate.
166         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
167         Update javadocs.
168         * java/awt/image/PixelGrabber.java: Fix implementation and
169         update javadocs.
170
171 2003-12-01  Michael Koch  <konqueror@gmx.de>
172
173         * gnu/java/net/natPlainSocketImplPosix.cc
174         bind(): Dont set SockedImpl.address field on succesful bind.
175         * gnu/java/net/natPlainSocketImplWin32.cc
176         bind(): Likewise.
177
178 2003-11-30  Jeff Sturm <jsturm@one-point.com>
179
180         * java/net/InetAddress.java:
181         (static): Don'f force DNS request for ANY_IF address.
182
183 2003-11-30  Michael Koch  <konqueror@gmx.de>
184
185         * java/net/InetAddress.java,
186         java/net/natInetAddressNoNet.cc,
187         java/net/natInetAddressPosix.cc,
188         java/net/natInetAddressWin32.cc:
189         Reverted my last patch.
190
191 2003-11-28  Michael Koch  <konqueror@gmx.de>
192
193         * java/net/InetAddress.java
194         (lookup): New method that doesnt lookup "0.0.0.0".
195         (ImplLookup): Renamed from lookup.
196         * java/net/natInetAddressNoNet.cc
197         (ImplLookup): Renamed from lookup.
198         * java/net/natInetAddressPosix.cc
199         (ImplLookup): Renamed from lookup.
200         * java/net/natInetAddressWin32.cc
201         (ImplLookup): Renamed from lookup.
202
203 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
204
205         * configure: Rebuilt.
206         * configure.in: Require gtk and glib 2.2.0.
207
208 2003-11-27  Dalibor Topic <robilad@kaffe.org>
209
210         * java/text/FieldPosition.java (equals): Adapted to handle
211         field_attribute. Added fast-circuit check for comparison to self.
212         Replaced use of instanceof by getClass to fix symmetry for derived
213         types.
214         (toString): Adapted to handle field_attribute. Improved readability.
215         (hashCode): New method.
216
217 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
218
219         * java/text/FieldPosition.java (field_attribute): New field.
220         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
221         getFieldAttribute): New methods.
222
223 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
224
225         * java/text/DecimalFormatSymbols.java (locale): New field.
226         (DecimalFormatSymbols (Locale)): Set locale.
227         (serialVersionOnStream): Upgraded to number 2.
228         (readObject): Assign locale if it wasn't by the serializer.
229
230 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
231
232         * java/text/FormatCharacterIterator.java: Documented the class and
233
234 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
235
236         * java/text/FormatCharacterIterator.java: Fixed some typos.
237
238 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
239
240         * java/text/NumberFormat.java:
241         (getIntegerInstance) Added the java version in the comments.
242
243 2003-11-27  Mark Wielaard  <mark@klomp.org>
244
245         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
246         (readResolve): Reformat.
247
248 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
249
250         * java/text/NumberFormat.java
251         (NumberFormat.Field): New implemented class to match Java 1.4. 
252         (getIntegerInstance): Two new Java 1.4 methods.o
253
254 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
255
256         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
257         the leap day of the leap year twice.
258         (computeFields): First week of month is 1 not 0.
259
260 2003-11-27  Mark Wielaard  <mark@klomp.org>
261
262         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
263         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
264
265 2003-11-27  Michael Koch  <konqueror@gmx.de>
266
267         * javax/swing/UIDefaults.java:
268         Reformated to match classpath's version.
269
270 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
271
272         * javax/swing/UIManager.java (getDefaults, getDimension,
273         getIcon, getInsets, getInstalledLookAndFeels, getInt,
274         getLookAndFeel, getString, getSystemLookAndFeelClassName):
275         Declare as public.
276
277 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
278
279         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
280         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
281         isSignificant): Likewise.
282
283 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
284
285         * javax/swing/undo/CompoundEdit.java: Re-format, document.
286         (inProgress): Set initial value to true.
287         (undo, redo, die, canUndo, canRedo): Also call inherited
288         implementation; simplify code structure.
289         (getPresentationName, getUndoPresentationName,
290         getRedoPresentationName): Make behavior dependent on lastEdit.
291         (addEdit, isSignificant): Completely re-written.
292
293 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
294
295         * javax/swing/undo/StateEdit.java: Re-format, document.
296         (undo, redo): Also call inherited implementation.
297
298 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
299
300         * javax/swing/undo/StateEditable.java: Re-format, document.
301
302 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
303
304         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
305         (AbstractUndoableEdit): Initialize hasBeenDone to true.
306         (canUndo, canRedo): Simplify.
307         (getUndoPresentationName, getRedoPresentationName): Support
308         localized message; call getPresentationName() only once.
309
310 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
311
312         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
313         (ZipFile(File,int)): Likewise.
314
315 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
316
317         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
318         (putAllInternal): Likewise.
319         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
320         (putAllInternal): Likewise.
321
322 2003-11-26  Michael Koch  <konqueror@gmx.de>
323
324         * java/net/URLStreamHandler.java
325         (parseURL): Added comment in catch statement.
326         (canonicalizeFilename): Add documentation.
327         (sameURL): Completed documentation.
328         (equals): Likewise.
329         (hostsEqual): Likewise.
330         (getDefaulPort): Likewise.
331         (hashCode): Likewise.
332         (toExternalForm): Likewise.
333         (getHostName): Fix empty hostname check, completed documentation.
334
335 2003-11-26  Tom Tromey  <tromey@redhat.com>
336
337         * java/lang/natDouble.cc (parseDouble): Reverted patch of
338         2003-11-13.
339
340 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
341             Mark Wielaard  <mark@klomp.org>
342
343         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
344         ('@' should be checked to distinguish port from userinfo).
345         (toExternalForm): Add @ userInfo if necessary.
346
347
348 2003-11-26  Michael Koch  <konqueror@gmx.de>
349
350         * java/net/DatagramSocket.java
351         (DategramSocket, bind): Moved binding code from DatagramSocket
352         constructor to bind method.
353
354 2003-11-26  Michael Koch  <konqueror@gmx.de>
355
356         * java/net/DatagramSocket.java
357         (impl): Made private.
358         (bound): New private member variable.
359         (DatagramSocket): Fixed documentation, use getImpl().
360         (getImpl): New package-private method.
361         (isClosed): Use getImpl().
362         (getLocalAddress): Completed documentation, use getImpl().
363         (getLocalPort): Use getImpl().
364         (getSoTimeout): Likewise.
365         (setSoTimeout): Likewise.
366         (getSendBufferSize): Likewise.
367         (setSendBufferSize): Likewise.
368         (getReceiveBufferSize): Likewise.
369         (setReceiveBufferSize): Likewise.
370         (connect): Likewise.
371         (disconnect): Likewise.
372         (receive): Likewise.
373         (send): Likewise.
374         (setReuseAddress): Likewise.
375         (setTrafficClass): Likewise.
376         (bind): Added message to exception.
377         (isClosed): Completed documentation.
378         (getChannel): Likewise.
379         (connect): Added missing exception, refined exception message.
380         (isBound): Completed documentation, just return bound.
381         (isConnected): Completed documentation.
382         (getRemoteSocketAddress): Likewise.
383         (getReuseAddress): Completed documentation, use getImpl().
384         (setSoBroadcast): Likewise.
385         (getSoBroadcast): Likewise.
386         (getTrafficClass): Likewise.
387         (getLocalSocketAddress): Simplified.
388         * java/net/MulticastSocket.java
389         (MulticastSocket): Removed comment not applying anymore.
390         (getInterface): Use getImpl().
391         (getTTL): Likewise.
392         (getTimeToLive): Likewise.
393         (setInterface): Likewise.
394         (setNetworkInterface): Likewise.
395         (getNetworkInterface): Likewise.
396         (setLoopback): Likewise.
397         (getLoopback): Likewise.
398         (setTTL): Likewise.
399         (setTimeToLive): Likewise.
400         (joinGroup): Likewise.
401         (leaveGroup): Likewise.
402         (send): Likewise.
403
404 2003-11-26  Michael Koch  <konqueror@gmx.de>
405
406         * java/net/Socket.java
407         (implCreated): Dont set default value explicitely, added
408         documentation.
409         (inputShutdown): Likewise.
410         (outputShutdown): Likewise.
411         (bound): New private member variable.
412         (bind): Set bound to true.
413         (close): Set bound to false.
414         (isBound): Return bound.
415         * java/net/ServerSocket.java
416         (bound): New private member variable.
417         (bind): Set bound to true.
418         (close): Set bound to false.
419         (isBound): Return bound.
420
421 2003-11-26  Michael Koch  <konqueror@gmx.de>
422
423         * java/net/URL.java
424         (URL): Fixed documentation to be HTML compliant.
425         (getContent): Completed documentation.
426         (getFile): Likewise.
427         (getPath): Likewise.
428         (getAuthority): Likewise.
429         (getHost): Likewise.
430         (getDefaultPort): Likewise.
431         (getProtocol): Likewise.
432         (hashCode): Likewise.
433         (openConnection): Likewise.
434         (openStream): Likewise.
435         (set): Likewise.
436         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
437
438 2003-11-26  Michael Koch  <konqueror@gmx.de>
439
440         * java/net/InetSocketAddress.java
441         (hostname): Made private, added documentation.
442         (addr): Likewise.
443         (port): Likewise.
444         (equals): Completed documentation.
445         (getAddress): Likewise.
446         (getHostName): Likewise.
447         (getPort): Likewise.
448         (hashCode): Likewise.
449         (isUnresolved): Likewise.
450         (toString): Likewise.
451
452 2003-11-26  Michael Koch  <konqueror@gmx.de>
453
454         * gnu/java/net/protocol/file/Handler.java
455         (Handler): New explicit constructor.
456         (openConnection): Added documentation.
457         * gnu/java/net/protocol/jar/Handler.java
458         (Handler): New explicit constructor.
459         (openConnection): Added documentation.
460
461 2003-11-26  Michael Koch  <konqueror@gmx.de>
462
463         * java/net/DatagramPacket.java
464         (DatagramPacket): Fixed documentation to become legal HTML.
465
466 2003-11-25  Michael Koch  <konqueror@gmx.de>
467
468         * gcj/javaprims.h: Added missing java.util.Currency.
469
470 2003-11-25  Michael Koch  <konqueror@gmx.de>
471
472         * testsuite/libjava.mauve/xfails:
473         Removed these two tests, they mystically pass now:
474         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
475         test_params failed - 5getInetAddress did not return proper values
476         (number 1)
477         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
478         test_BasicServer failed - 11 exception was thrown :Illegal seek
479         (number 1)
480
481 2003-11-25  Michael Koch  <konqueror@gmx.de>
482
483         * java/net/DatagramSocket.java
484         (factory): Made private.
485         (closed): Removed.
486         (DatagramSocket): Check impl argument, use constructor with
487         SocketAddress argument.
488         (close): Set impl to null, use isClosed().
489         (isClosed): Check for impl == null.
490         (getLocalAddress): Use isClosed().
491         (getLocalPort): Check if socket is closed.
492         (getSoTimeout): Likewise.
493         (setSoTimeout): Likewise.
494         (getSendBufferSize): Likewise.
495         (setSendBufferSize): Likewise.
496         (getReceiveBufferSize): Likewise.
497         (setReceiveBufferSize): Likewise.
498         (receive): Likewise.
499         (send): Likewise.
500         (bind): Likewise.
501         (connect): Likewise.
502         (setReuseAddress): Likewise.
503         (getReuseAddress): Likewise.
504         (setBroadcast): Likewise.
505         (getBroadcast): Likewise.
506         (setTrafficClass): Likewise.
507         (getTrafficClass): Likewise.
508         * java/net/MulticastSocket.java
509         (getInterface): Check if socket is closed.
510         (getTTL): Likewise.
511         (getTimeToLive): Likewise.
512         (setInterface): Likewise.
513         (setNetworkInterface): Likewise.
514         (getNetworkInterface): Likewise.
515         (setLoopbackMode): Likewise.
516         (setTTL): Likewise.
517         (setTimeToLive): Likewise.
518         (joinGroup): Likewise.
519         (leaveGroup): Likewise.
520         (send): Likewise.
521         * java/net/ServerSocket.java
522         (closed): Removed.
523         (close): Check if socket is closed, set impl to null.
524         (isClosed): Check impl == null;
525         (ServerSocket): Check impl argument.
526         (getInetAddress): Check if socket is bound.
527         (getLocalPort): Likewise.
528         (getLocalSocketAddress): Likewise.
529         (bind): Check if socket is closed.
530         (implAccept): Likewise.
531         (setSoTimeout): Likewise.
532         (getSoTimeout): Likewise.
533         (setReuseAddress): Likewise.
534         (getReuseAddress): Likewise.
535         (setReceiveBufferSize): Likewise.
536         (getReceiveBufferSize): Likewise.
537         (toString): Make output compliant to JDK 1.4.2.
538         * java/net/Socket.java
539         (closed): Removed.
540         (Socket): Fixed documentation.
541         (connect): Check if socket is closed, changed exception text,
542         fixed documentation.
543         (getInputStream): Check of socket is closed  and connected.
544         (getOutputStream): Likewise.
545         (bind): Check if socket is closed.
546         (setTcpNoDelay): Likewise.
547         (getTcpNoDelay): Likewise.
548         (setSoLinger): Likewise.
549         (getSoLinger): Likewise.
550         (sendUrgentData): Likewise.
551         (setOOBInline): Likewise.
552         (getOOBInline): Likewise.
553         (setSoTimeout): Likewise.
554         (getSoTimeout): Likewise.
555         (setSendBufferSize): Likewise.
556         (getSendBufferSize): Likewise.
557         (setReceiveBufferSize): Likewise.
558         (getReceiveBufferSize): Likewise.
559         (setKeepAlive): Likewise.
560         (getKeepAlive): Likewise.
561         (close): Likewise.
562         (shutdownInput): Likewise.
563         (shutdownOutput): Likewise.
564         (getReuseAddress): Likewise.
565         (getTrafficClass): Likewise.
566         (setTrafficClass): Likewise.
567         (isClosed): Check impl == null.
568         (toString): Added missing ']'.
569
570 2003-11-24  Tom Tromey  <tromey@redhat.com>
571
572         * Makefile.in: Rebuilt.
573         * Makefile.am (propdir): New macro.
574         (install-data-local): Install logging.properties.
575         (core_java_source_files): Added java.util.logging.*.
576         * java/util/logging/logging.properties: New file.
577
578 2003-11-25  Michael Koch  <konqueror@gmx.de>
579
580         * java/net/DatagramSocket.java
581         (DatagramSocket): Move binding code to bind(), simplify constructors.
582         * java/net/MulticastSocket.java
583         (MulticastSocket): Call parent constructor with null argument,
584         bind socket after setReuseAddress is called, simplify constructors.
585
586 2003-11-24  Michael Koch  <konqueror@gmx.de>
587
588         * javax/swing/BoxLayout.java
589         (serialVersionUIR): New member variable.
590         (X_AXIS, Y_AXIS): Documentation added.
591         (LINE_AXIS, PAGE_AXIS): New constants.
592         (grid): Renamed from gridbag.
593         (BoxLayout): Use new constants, throw exception if invalid value for
594         way, added documentation.
595         (BoxLayout): Removed.
596         (addLayoutComponent): Use new constants, added documentation.
597         (removeLayoutComponent): Likewise.
598         (addLayoutContainer): Added documentation.
599         (preferredLayoutSize): Added documentation, check given argument.
600         (minimumLayoutSize): Likewise.
601         (layoutContainer): Likewise.
602         (getLayoutAlignmentX): Likewise.
603         (getLayoutAlignmentY): Likewise.
604         (invalidateLayout): Likewise.
605         (maximumLayoutSize): Likewise.
606
607 2003-11-22  Michael Koch  <konqueror@gmx.de>
608
609         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
610         (peekData): Use offset and maximal free space in datagram packet.
611         (receive): Likewise.
612         (send): Use offset in datagram packet.
613
614 2003-11-22  Michael Koch  <konqueror@gmx.de>
615
616         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
617         (peekData): Use offset and maximal free space in datagram packet.
618         (receive): Likewise.
619         (send): Use offset in datagram packet.
620
621 2003-11-22  Michael Koch  <konqueror@gmx.de>
622
623         * gnu/java/nio/DatagramChannelImpl.java
624         (getNativeFD): Use getPlainDatagramSocketImpl().
625         * gnu/java/nio/NIODatagramSocket.java
626         (getPlainDatagramSocketImpl): Renamed from getImpl().
627         * gnu/java/nio/NIOSocket.java
628         (getPlainSocketImpl): Renamed from getImpl().
629         (setChannel): Use getPlainSocketImpl().
630         * gnu/java/nio/SocketChannelImpl.java
631         (SocketChannelImpl): Use getPlainSocketImpl().
632         (getPlainSocketImpl): Renamed from getImpl().
633         (getNativeFD): Use getPlainSocketImpl().
634
635 2003-11-18  Graydon Hoare  <graydon@redhat.com>
636
637         * javax/swing/JLayeredPane.java: Implement.
638         * javax/swing/JFrame.java (getContentPane): Make public
639         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
640         Use JLayeredPane.FRAME_CONTENT_LAYER.
641
642 2003-11-21  Mark Wielaard  <mark@klomp.org>
643
644         * java/lang/Float.java (static): Removed.
645
646 2003-11-18  Graydon Hoare  <graydon@redhat.com>
647
648         * java/awt/font/TextLayout.java: Implement simple layouts
649         using attributed strings and glyph vectors.
650
651 2003-11-17  Graydon Hoare  <graydon@redhat.com>
652
653         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
654         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
655         (GdkFontLineMetrics): New inner class.
656         (getLineMetrics): Return new GdkFontLineMetrics.
657         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
658         (layoutGlyphVector): Create GdkGlyphVector.
659         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
660         (GdkGraphics2D): Initialize state via mathod calls.
661         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
662         (cairoTranslate, cairoScale, cairoRotate): Remove.
663         (various methods): use setTransform for special transform cases.
664         (DrawState): New inner class.
665         (stateSave): New method.
666         (stateRestore): New method.
667         (various methods): use stateSave, stateRestore.
668         (getClipInDevSpace): New method.
669         (clip, clipRect, setClip, getClip, getClipBounds): 
670         Follow spec more closely.
671         (getTransform): Return clone of transform.
672         (setStroke): Set linewidth to passed width / 2.0.
673         (setPaintMode): Set SrcOver rather than Xor.
674         (setColor): Set paint to passed color.
675         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
676         transform from image to user space.
677         (drawRenderedImage, drawRenderableImage): Implement.
678         (getFontRenderContext, getFontMetrics, drawString, getFont): 
679         Implement
680         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
681         Implement.
682         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
683         Match changes to java side.
684         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
685         Release resources.
686         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
687         Don't use pango for metrics.
688         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
689         New file.
690
691 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
692             Jim Pick  <jim@kaffe.org>
693
694         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
695         methods.
696
697 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
698
699         * java/text/DecimalFormatSymbols.java (getCurrency,
700         setCurrency): New methods.
701
702 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
703
704         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
705         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
706         Describe how the implementation works.
707
708 2003-11-19  Michael Koch  <konqueror@gmx.de>
709
710         * java/net/Socket.java
711         (implCreated): New variable that indicates created impl.
712         (getImpl): New method.
713         (toString): Return more SUN compliant string representation.
714         (various): Use getImpl() instead of impl.
715
716 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
717
718         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
719         the right libgcc. Add -multiply_defined suppress and -bind_at_load
720         flags.
721
722 2003-11-18  Tom Tromey  <tromey@redhat.com>
723
724         PR libgcj/13026:
725         * verify.cc (state::copy): Only set local_changed if we're in a
726         subroutine.  Correctly copy local variables which were modified
727         by the subroutine.
728         (push_jump_merge): Added more debugging output.
729
730         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
731         is null.
732
733 2003-11-17  Graydon Hoare  <graydon@redhat.com>
734
735         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
736         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
737
738 2003-11-16  Tom Tromey  <tromey@redhat.com>
739
740         PR libgcj/13062:
741         * java/io/StreamTokenizer.java (commentChar): Clear other
742         attributes for character.
743         (quoteChar): Likewise.
744
745 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
746
747         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
748         zero-length int arrays when layoutInfo is null.
749         (getLayoutWeights): Return array of two zero-length double arrays when
750         layoutInfo is null.
751
752 2003-11-13  Tom Tromey  <tromey@redhat.com>
753
754         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
755         JvGetStringUTFRegion.
756         * java/lang/natPosixProcess.cc (new_string): Pass length of string
757         to JvGetStringUTFRegion.
758         * java/lang/natDouble.cc (parseDouble): Pass length of string to
759         JvGetStringUTFRegion.
760         * java/lang/natWin32Process.cc (startProcess): Pass length of
761         string to JvGetStringUTFRegion.
762         * java/lang/natClass.cc (forName): Pass length of string to
763         JvGetStringUTFRegion.
764         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
765         of string to JvGetStringUTFRegion.
766         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
767         JvGetStringUTFRegion.
768         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
769         to JvGetStringUTFRegion.
770         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
771         string to JvGetStringUTFRegion.
772
773 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
774
775         * gnu/java/nio/natSelectorImplPosix.cc
776         (helper_put_filedescriptors): Change to static linkage.
777         (helper_get_filedescriptors): Likewise.
778
779 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
780
781         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
782         null check.
783         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
784         * java/awt/Component.java (prepareImage): Likewise.
785
786         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
787         Rename to nativeSetAlignment.
788
789 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
790
791         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
792         (JNI_GetCreatedJavaVMs): Likewise.
793         (JNI_GetDefaultJavaVMInitArgs): Likewise.
794         * include/jni.h (JNIIMPEXP): Remove definition
795         and replace with...
796         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
797         symbols,
798         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
799
800 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
801
802         * Makefile.am: Add GdkPixbufDecoder.java and
803         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
804         * Makefile.in: Regenerate.
805         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
806         New constructor.
807         (startProduction): Create ByteArrayInputStream when url and filename are
808         null.
809         (produce): Declare stream parameter as InputStream.
810         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
811         as InputStream.
812         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
813         (GdkPixbufDecoder(byte[],int,int)): New constructor.
814         (produce): Declare stream parameter as InputStream.
815         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
816         if image is null.  Set image's observer before running PrepareImage
817         thread.  Pass image to startProduction.
818         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
819         source's member functions.
820         (observer): New field.
821         (setObserver): New method.
822         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
823         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
824         new GtkImage.
825         (prepareImage): Implement.
826         * java/awt/Component.java: Add static fields incrementalDraw and
827         redrawRate.
828         (imageUpdate): Implement.
829         (createImage): Call Toolkit's createImage if peer is null.
830         (prepareImage): Throw NPE if image is null.
831         * java/awt/MediaTracker.java: Fix return value.
832
833 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
834
835         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
836         (create(String, float)): New method.
837         (setText): Make native.
838         (nativeSetAlignment): New method.
839         (setAlignment): Call nativeSetAlignment.
840         (getArgs): Remove method.
841         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
842         (find_fg_color_widget, find_bg_color_widget): New functions.
843         (gtkWidgetSetForeground): Call find_fg_color_widget.
844         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
845         prelight colors.
846         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
847         widget in event box.
848         (setText, setAlignment): Implement new native methods.
849
850 2003-11-11  Michael Koch  <konqueror@gmx.de>
851
852         * java/awt/Font.java,
853         java/awt/datatransfer/DataFlavor.java,
854         java/math/BigInteger.java,
855         java/net/Inet4Address.java,
856         java/net/Inet6Address.java,
857         java/rmi/MarshalledObject.java,
858         java/rmi/server/RMIClassLoader.java,
859         java/security/cert/CertStore.java,
860         java/sql/Timestamp.java,
861         java/text/SimpleDateFormat.java,
862         javax/naming/CompoundName.java:
863         Removed some redundant obj == null checks.
864
865 2003-11-11  Michael Koch  <konqueror@gmx.de>
866
867         * java/nio/ByteBuffer.java
868         (equals): Remove redundant obj == null check.
869
870 2003-11-11  Michael Koch  <konqueror@gmx.de>
871
872         * gnu/java/nio/natPipeImpl.cc,
873         gnu/java/nio/natSelectorImpl.cc: Removed
874         * gnu/java/nio/natPipeImplEcos.cc,
875         gnu/java/nio/natPipeImplPosix.cc,
876         gnu/java/nio/natPipeImplWin32.cc,
877         gnu/java/nio/natSelectorImplEcos.cc,
878         gnu/java/nio/natSelectorImplPosix.cc,
879         gnu/java/nio/natSelectorImplWin32.cc: New files
880         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
881         gnu/java/nio/natSelectorImpl.cc
882         * configure: Regenerated.
883
884 2003-11-11  Micheal Koch  <konqueror@gmx.de>
885
886         * java/net/URLStreamHandler.java (toExternalForm): Print port only
887         if host is printed too and port was really given to URL.
888
889 2003-11-10  Gary Benson  <gbenson@redhat.com>
890
891         * java/sql/Timestamp.java (valueOf): Correctly handle
892         nanoseconds.
893
894 2003-11-09  Tom Tromey  <tromey@redhat.com>
895
896         * java/net/Inet4Address.java (serialVersionUID): Updated.
897
898 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
899
900         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
901         New fields.
902
903 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
904
905         * java/io/ByteArrayOutputStream.java (resize):
906         Fix off-by-one error.
907
908 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
909
910         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
911         public.
912
913 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
914
915         PR libgcj/12231
916         * java/lang/Win32Process.java (hasExited) Changed from
917         public to private.
918         (startProcess): Likewise.
919         (cleanup): Likewise.
920         * java/lang/natWin32Process.cc (cleanup) Don't close
921         input, output and error streams.
922         (ChildProcessPipe): New helper class.
923         (startProcess): Refactored to use ChildProcessPipe.
924         Use CREATE_NO_WINDOW when launching child process.
925
926 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
927
928         * include/win32.h (_Jv_platform_close_on_exec): Changed
929         signature and declared extern.
930         * win32.cc (_Jv_platform_close_on_exec): Implemented.
931         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
932         (create): Use new signature of _Jv_platform_close_on_exec.
933         * gnu/java/net/natPlainSocketImplWin32.cc 
934         (create): Eliminated a few typecasts
935         Use new signature of _Jv_platform_close_on_exec.
936         (accept): Eliminated a few typecasts
937         Use new signature of _Jv_platform_close_on_exec.
938         * java/io/natFileDescriptorWin32.cc (open): Use
939         _Jv_platform_close_on_exec.
940
941 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
942
943         * java/lang/natClass.cc (newInstance): Throw InstantiationException
944         if class has no null-argument constructor.
945
946 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
947
948         PR libgcj/12647:
949         * win32-threads.cc (_Jv_CondWait): Respect mutex's
950         refcount when releasing and reacquiring it.
951
952 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
953
954         * win32.cc: (dirExists) Internal helper function to
955         test for directory existence.
956         (getUserHome) New helper function refactored out
957         of _Jv_platform_initProperties. Uses USERPROFILE
958         instead of HOMEDIR and attempts to support Win9X and NT.
959         (_Jv_platform_initProperties) Use getUserHome.
960
961 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
962
963         PR libgcj/11521:
964         * gnu/java/net/natPlainSocketImplWin32.cc
965         (bind): Don't use SO_REUSEADDR
966
967 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
968
969         PR libgcj/6652:
970         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
971
972 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
973
974         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
975         dispatch for final methods.
976
977 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
978
979         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
980         word wrapping.
981
982 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
983
984         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
985         scrolled window's size request.
986
987 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
988
989         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
990         * java/awt/geom/QuadCurve2D.java: Likewise.
991
992 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
993
994         * java/awt/geom/CubicCurve2D.java: Added documentation.
995         * java/awt/geom/QuadCurve2D.java: Likewise.
996
997         * java/awt/geom/doc-files/QuadCurve2D-4.png,
998         java/awt/geom/doc-files/QuadCurve2D-5.png,
999         java/awt/geom/doc-files/CubicCurve2D-4.png,
1000         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
1001
1002 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1003
1004         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
1005         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
1006         (subdivide(double[],int,double[],int,double[],int)): Implement.
1007
1008 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1009
1010         * java/awt/geom/doc-files/CubicCurve2D-1.png,
1011         java/awt/geom/doc-files/CubicCurve2D-2.png,
1012         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
1013
1014 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
1015
1016         * java/text/DecimalFormat.java
1017         (scanFormat) corrected so that '%' may appear in a pattern.
1018
1019 2003-10-29  Mark Wielaard  <mark@klomp.org>
1020
1021         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1022         * java/text/DateFormat.java (Field): New public static inner class.
1023         * java/text/Format.java (Field): Likewise.
1024         (formatToCharacterIterator): New method.
1025         * java/text/FormatCharacterIterator.java: New file.
1026
1027 2003-10-29  Mark Wielaard  <mark@klomp.org>
1028
1029         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1030         * java/util/Currency.java: New file.
1031
1032 2003-10-29  Michael Koch  <konqueror@gmx.de>
1033
1034         * Makefile.am (ordinary_java_source_files): Added
1035         java/text/FormatCharacterIterator.java and java/util/Currency.java.
1036         * Makefile.in: Regenerated.
1037
1038 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
1039
1040         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
1041         static methods.
1042
1043 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
1044
1045         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
1046         getObjectInstance() with Object, Name, Context and environment
1047         Hashtable from exception. Call fillInStackTrace() on exception when
1048         rethrown.
1049         * javax/naming/InitialContext.java (lookup(Name)): When a
1050         CannotProceedException is thrown use the ContinuationContext.
1051         (lookup(String)): Likewise.
1052         (close): Clear myProps and defaultInitCtx.
1053
1054 2003-10-29  Michael Koch  <konqueror@gmx.de>
1055
1056         * java/net/InetAddress.java
1057         (equals): Remove redundant obj == null check.
1058         * java/net/SocketPermission.java
1059         (equals): Likewise.
1060         * java/net/URL.java
1061         (equals): Likewise.
1062         (getURLStreamHandler): Likewise.
1063
1064 2003-10-29  Michael Koch  <konqueror@gmx.de>
1065
1066         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1067         (setOption): Directly return if no error occured.
1068         * gnu/java/net/natPlainSocketImplPosix.cc
1069         (setOption): Likewise.
1070
1071 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1072
1073         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
1074         vtable slot for final methods. Add FIXME comment.
1075
1076 2003-10-28  David S. Miller  <davem@redhat.com>
1077
1078         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
1079
1080 2003-10-26  Mark Wielaard  <mark@klomp.org>
1081
1082         Reported by Helmer Kraemer <hkraemer@freenet.de>
1083         * java/util/jar/JarInputStream.java (readManifest): Don't call
1084         closeEntry().
1085
1086         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
1087         (finish): Use inbufWrite().
1088         (write(int)): Likewise.
1089         (write(byte[],int,int)): Likewise.
1090
1091 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1092
1093         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
1094         Don't check for AccessibleObject. Update javadocs.
1095         
1096         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
1097
1098 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1099
1100         * java/lang/reflect/Constructor.java (toString): Avoid extra 
1101         whitespace on constructor with no modifiers.
1102         * java/lang/reflect/natConstructor.java (newInstance): Look up
1103         caller and perform accessibility check only if constructor is
1104         non-public and accessible flag is not set.
1105
1106 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1107
1108         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
1109         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
1110         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
1111         is_virtual_call argument.
1112         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
1113         natClass.cc.
1114         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
1115         _Jv_isVirtualMethod.
1116         * java/lang/reflect/natMethod.cc (invoke): Don't use 
1117         _Jv_LookupDeclaredMethod.
1118         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
1119         look up method in target object's vtable.
1120
1121 2003-10-25  Graydon Hoare  <graydon@redhat.com>
1122
1123         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
1124         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
1125         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1126         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1127         New concrete implementation of ClasspathFontPeer, with native part.
1128         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1129         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
1130         New class, with native part.
1131         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1132         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1133         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
1134
1135 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1136
1137         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
1138         on method with no modifiers.
1139
1140 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1141
1142         PR libgcj/11780:
1143         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
1144         accessibility check only if target is non-public and accessible flag
1145         is not set.
1146         * java/lang/reflect/natField.cc (getAddr): Likewise.
1147
1148 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1149
1150         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
1151         Remove method.
1152         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
1153         New method.
1154         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
1155         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
1156         (dispose): Post WINDOW_CLOSED event.
1157         (addWindowFocusListener, addWindowStateListener): Assign result
1158         of multicaster add back to window listener.
1159         (removeWindowFocusListener, removeWindowStateListener): Assign
1160         result of multicaster remove back to window listener.
1161         (dispatchEventImpl): Add null checks for focus and state
1162         listeners.
1163         (processWindowEvent): Handle case where windowListener is null
1164         but state or focus listeners exist.
1165         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
1166         glue for postWindowEvent.
1167         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1168         (window_delete_cb, window_destroy_cb, window_show_cb,
1169         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
1170         window_get_new_state): New functions.
1171         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
1172         macros.  Declare postWindowEventID.
1173
1174 2003-10-24  Anthony Green  <green@redhat.com>
1175
1176         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
1177         we have no interpreter.
1178
1179 2003-10-22  Andrew Haley  <aph@redhat.com>
1180
1181         * java/lang/natClass.cc (initializeClass): Call
1182         _Jv_linkExceptionClassTable.
1183         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
1184         _Jv_Defer_Resolution on a method whose ncode is NULL.
1185         (_Jv_linkExceptionClassTable): New function.
1186         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
1187         entry, look it up.
1188         * java/lang/Class.h (struct _Jv_CatchClass): New.
1189         (_Jv_linkExceptionClassTable): New friend.
1190         (_Jv_Defer_Resolution): New friend.
1191         (class Class.catch_classes): New field.
1192         * include/java-interp.h (Jv_Defer_Resolution): New method.
1193         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
1194         (_Jv_MethodBase.deferred): New field.
1195         (_Jv_Defer_Resolution): New function.
1196         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
1197         * exception.cc (get_ttype_entry): Change return type to void**.
1198         (PERSONALITY_FUNCTION): Remove all code related to using a
1199         Utf8Const* for a match type.  Change match type to be a pointer to
1200         a pointer, rather than a pointer to a Class.
1201         * defineclass.cc (handleCodeAttribute): Initialize
1202         method->deferred.
1203         (handleMethodsEnd): Likewise.
1204
1205 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1206
1207         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
1208         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
1209
1210 2003-10-22  Tom Tromey  <tromey@redhat.com>
1211
1212         PR libgcj/12416:
1213         * java/lang/Class.h: Updated.
1214         * java/lang/natClass.cc (_getFields): Removed.
1215         (getFields): Likewise.
1216         (getDeclaredFields): Added `public_only' parameter.
1217         * java/lang/Class.java (getFields): Now implemented in java; from
1218         Classpath.
1219         (getDeclaredFields): Likewise.
1220         (getDeclaredFields(boolean)): Declare.
1221         (_getFields): Removed.
1222         (internalGetFields): New method, from Classpath.
1223
1224         PR libgcj/12656:
1225         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
1226         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
1227
1228 2003-10-22  David Daney  <ddaney@avtrex.com)
1229
1230         * include/mips-signal.h: New file.
1231         * sysdep/dwarf2-backtrace.cc: New file.
1232         * sysdep/mips: New directory.
1233         * sysdep/mips/locks.h: New file.
1234         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
1235         added to libgcj.
1236         (extra_cc_source_files): Ditto.
1237         * configure.host(disable_dladdr):  New shell variable passed to
1238         configure.
1239         (mips*-*-linux*): sysdeps_dir=mips,
1240         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
1241         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
1242         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
1243         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
1244         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
1245         (EXTRA_CC_FILES): New, to support conditional addition of
1246         sysdep/dwarf2-backtrace.cc.
1247         * configure: Regenerated.
1248         * Makefile.in: Regenerated.
1249         * gcj/Makefile.in: Regenerated.
1250         * include/config.h.in: Regenerated.
1251         * include/Makefile.in: Regenerated.
1252         * testsuite/Makefile.in: Regenerated.
1253         
1254 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1255
1256         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
1257         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
1258
1259 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1260
1261         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
1262         * java/awt/geom/doc-files: New directory.
1263         * java/awt/geom/doc-files/QuadCurve2D-1.png,
1264         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
1265         
1266 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1267
1268         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
1269
1270 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1271
1272         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
1273
1274 2003-10-22  Michael Koch  <konqueror@gmx.de>
1275
1276         * java/io/File.java
1277         (equals): Removed redundant obj == null check.
1278         (createTempFile): Merged comments from classpath.
1279
1280 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1281
1282         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
1283         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
1284         (error): Synchronize on instance, not class.
1285
1286 2003-10-21  Mark Wielaard  <mark@klomp.org>
1287
1288         Reported by M.Negovanovic
1289         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
1290         method.
1291         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
1292
1293 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1294
1295         Fix for Classpath bug #6076.
1296         * java/awt/geom/GeneralPath.java (append): Re-written.
1297
1298 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1299
1300         Fix for Classpath bug #6089.
1301         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
1302         (getPathIterator, GeneralPathIterator): Re-written from scratch.
1303
1304 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1305
1306         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
1307         point, not start of subpath.  Fixes Classpath bug #6075.
1308
1309 2003-10-21  Michael Koch  <konqueror@gmx.de>
1310
1311         * java/nio/ByteOrder.java,
1312         java/nio/DirectByteBufferImpl.java,
1313         java/nio/channels/FileChannelImpl.java:
1314         Add code to load library with code for native methods if needed.
1315
1316 2003-10-21  Michael Koch  <konqueror@gmx.de>
1317
1318         * gnu/java/net/PlainDatagramSocketImpl.java,
1319         gnu/java/net/PlainSocketImpl.java,
1320         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1321         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1322         gnu/java/net/natPlainSocketImplPosix.cc,
1323         gnu/java/net/natPlainSocketImplWin32.cc:
1324         Renamed fnum to native_fd to match classpath more.
1325
1326 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
1327
1328         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
1329         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
1330         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
1331         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
1332         _Jv_PthreadCheckMonitor.  Simplify code.
1333         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
1334         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
1335         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
1336         * java/lang/Thread.java (holdsLock): New.
1337         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
1338         without JV_HASH_SYNCHRONIZATION.
1339         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
1340
1341 2003-10-20  Michael Koch  <konqueror@gmx.de>
1342
1343         * java/text/RuleBasedCollator.java
1344         (RuleBasedCollator): Check rules not empty, fixed search in already
1345         existing collation elements.
1346         (is_special): Removed common whitespace characters.
1347         (text_argument): Dont return on whitespaces, add characters between
1348         two ' to string buffer.
1349
1350 2003-10-18  Michael Koch  <konqueror@gmx.de>
1351
1352         * gnu/java/net/protocol/file/Connection.java,
1353         gnu/java/net/protocol/file/Handler.java,
1354         gnu/java/net/protocol/http/Connection.java,
1355         gnu/java/net/protocol/http/Handler.java,
1356         gnu/java/net/protocol/jar/Connection.java,
1357         gnu/java/net/protocol/jar/Handler.java:
1358         Merged copyright text from classpath to make
1359         it possible to merge the classes.
1360
1361 2003-10-18  Mark Wielaard  <mark@klomp.org>
1362
1363         Reported by M.Negovanovic
1364         * java/beans/IndexedPropertyDescriptor.java
1365         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
1366
1367 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
1368
1369         * win32.cc (_Jv_pipe): Implemented.
1370         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
1371         _Jv_pipe instead of ::pipe.
1372         * include/posix.h (_Jv_pipe): New inline.
1373         * include/win32.h (_Jv_pipe): New declaration.
1374         
1375 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1376
1377         * java/lang/StringBuffer.java (getChars): Fix array index checks.
1378         (append, substring, insert): Likewise.
1379         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
1380         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
1381         
1382 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1383
1384         * java/lang/natString.cc (getChars):
1385         Fix validation of array indexes.
1386         (getBytes, regionMatches, startsWith, valueOf): Likewise.
1387         * testsuite/libjava.lang/String_overflow.java: New file.
1388         * testsuite/libjava.lang/String_overflow.out: New file.
1389
1390 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1391
1392         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
1393         overflow a jint.
1394         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
1395         check for overflowing size_t, since the lower level functions
1396         take a jint.
1397         * testsuite/libjava.lang/newarray_overflow.java:  New file.
1398         * testsuite/libjava.lang/newarray_overflow.out:  New file.
1399         
1400 2003-10-15  Michael Koch  <konqueror@gmx.de>
1401
1402         * java/text/RuleBasedCollator.java
1403         (RuleBasedCollator): Moved around, documentation added.
1404         (compare): Documentation added.
1405         (equals): Likewise.
1406         (getCollationElementIterator): Likewise.
1407         (getCollationKey): Likewise.
1408         (getRules): Likewise.
1409         (hashCode): Likewise.
1410
1411 2003-10-15  Michael Koch  <konqueror@gmx.de>
1412
1413         * java/text/RuleBasedCollator.java
1414         (CollationElement): Renamed from RBCElement and moved into
1415         RuledBasedCollator as inner class.
1416
1417 2003-10-15  Michael Koch  <konqueror@gmx.de>
1418
1419         * java/text/CollationElementIterator.java
1420         (CollationElementIterator): Moved, documenatation added, call setText.
1421         (next): Reformated.
1422         (reset): Reformated.
1423         (setText): New method.
1424         (getOffset): New method.
1425         * java/text/CollationKey.java
1426         (getSourceString): Reformated.
1427         (hashCode): Reformated.
1428         (toByteArray): Reformated.
1429
1430 2003-10-15  Michael Koch  <konqueror@gmx.de>
1431
1432         * java/util/zip/InflaterInputStream.java
1433         (InflaterInputStream): Renamed infl to inf and bufsize to size,
1434         added description to exception, check for inf == null and size < 0.
1435
1436 2003-10-15  Michael Koch  <konqueror@gmx.de>
1437
1438         * java/text/AttributedCharacterIterator.java,
1439         java/text/CharacterIterator.java: Reformated.
1440
1441 2003-10-15  Michael Koch  <konqueror@gmx.de>
1442
1443         * javax/swing/UIDefaults.java (putDefaults):
1444         Readded accidently removed "public" modifier.
1445
1446 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
1447
1448         * interpret.cc (_Jv_InterpMethod::run): Don't
1449         use libffi types, they were meant to be internal.
1450         * gcj/javaprims.h (_Jv_ulong): New typedef.
1451
1452 2003-10-13  Tom Tromey  <tromey@redhat.com>
1453
1454         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
1455         (defineClass): Updated.
1456         (_Jv_NewClass): Likewise.
1457         * prims.cc (_Jv_InitPrimClass): Don't call
1458         _Jv_InitNewClassFields.
1459
1460 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
1461
1462         PR libgcj/12592
1463         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
1464         not just \n.
1465
1466 2003-10-13  Michael Koch  <konqueror@gmx.de>
1467
1468         * java/io/File.java: Reformated.
1469         (equals): Check for obj == null.
1470
1471 2003-10-13  Michael Koch  <konqueror@gmx.de>
1472
1473         * java/net/JarURLConnection.java
1474         (jarFileURL): Added dcoumentation.
1475         (jarFileURLConnection): Reformated documentation.
1476         (entryName): Renamed from "element", documentation rewritten.
1477         (connectionCache): Renamed from "conn_cache", documentation
1478         reformated.
1479         (JarURLConnection): Check URL protocol.
1480         (getEntryName): Use entryName.
1481         (connect): Use connectionCache.
1482         (getInputStream): Use entryName, fixed comment.
1483         (getJarEntry): Use entryName.
1484         (getHeaders): Use entryName.
1485         * java/net/URLConnection.java
1486         (addRequestProperty): Fixed documentation.
1487         (setDefaultRequestProptery): Added comment that it does nothing since
1488         JDK 1.3.
1489         (getDefaultRequestProperty): Likewise.
1490
1491 2003-10-13  Michael Koch  <konqueror@gmx.de>
1492
1493         * java/net/java/net/URLStreamHandlerFactory.java
1494         (createURLStreamHandler): Removed redundant "public" modifier.
1495         * java/sql/DatabaseMetaData.java:
1496         (DatabaseMetaData):  Readded accidently removed "public" modifier.
1497         * java/sql/ParameterMetaData.java:
1498         (ParameterMetaData): Readded accidently removed "public" modifier.
1499         * java/sql/PreparedStatement.java:
1500         (PreparedStatement): Readded accidently removed "public" modifier.
1501         * java/sql/Ref.java:
1502         (Ref): Readded accidently removed "public" modifier.
1503
1504 2003-10-13  Michael Koch  <konqueror@gmx.de>
1505
1506         * java/nio/Buffer.java
1507         (hasRemaining): Made implementation more clear.
1508         * java/nio/MappedByteBuffer.java
1509         (loaded): New member variable.
1510         (force): Added comment.
1511         (isLoaded): Return value of loaded.
1512         (load): Set loaded to true, added comment.
1513
1514 2003-10-12  Michael Koch  <konqueror@gmx.de>
1515
1516         * gnu/java/nio/PipeImpl.java
1517         (SourceChannelImpl): New inner class.
1518         (SinkChannelImpl): New inner class.
1519         (sink): New member variable.
1520         (source): New member variable.
1521         (PipeImpl): Add SelectorProvider argument, implemented.
1522         (nativeInit): New method.
1523         (sink): Return sink channel.
1524         (source): Return source channel.
1525         * gnu/java/nio/SelectorProviderImpl.java
1526         (openPipe): Give provider as argument to PipeImpl constructor.
1527         * java/nio/channels/spi/SelectorProvider.java
1528         (pr): Removed.
1529         (systemDefaultProvider): New member variable.
1530         (provider): Made it synchronized, use property
1531         java.nio.channels.spi.SelectorProvider.
1532         * gnu/java/nio/natPipeImpl.cc: New file.
1533         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
1534         * Makefile.in: Regenerated.
1535
1536 2003-10-12  Michael Koch  <konqueror@gmx.de>
1537
1538         * javax/swing/table/DefaultTableModel.java,
1539         javax/swing/table/TableCellEditor.java,
1540         javax/swing/table/TableCellRenderer.java,
1541         javax/swing/table/TableColumnModel.java,
1542         javax/swing/table/TableModel.java,
1543         javax/swing/text/AbstractDocument.java,
1544         javax/swing/text/Document.java,
1545         javax/swing/text/MutableAttributeSet.java,
1546         javax/swing/text/StyledDocument.java,
1547         javax/swing/text/ViewFactory.java,
1548         javax/swing/tree/DefaultMutableTreeNode.java,
1549         javax/swing/tree/MutableTreeNode.java,
1550         javax/swing/tree/RowMapper.java,
1551         javax/swing/tree/TreeCellEditor.java,
1552         javax/swing/tree/TreeCellRenderer.java,
1553         javax/swing/tree/TreeModel.java,
1554         javax/swing/tree/TreeNode.java,
1555         javax/swing/tree/TreeSelectionModel.java,
1556         javax/swing/undo/StateEditable.java,
1557         javax/swing/undo/UndoableEdit.java:
1558         Removed redundant modifiers.
1559
1560 2003-10-12  Michael Koch  <konqueror@gmx.de>
1561
1562         * javax/swing/event/AncestorListener.java,
1563         javax/swing/event/CaretListener.java,
1564         javax/swing/event/CellEditorListener.java,
1565         javax/swing/event/ChangeListener.java,
1566         javax/swing/event/DocumentEvent.java,
1567         javax/swing/event/DocumentListener.java,
1568         javax/swing/event/HyperlinkListener.java,
1569         javax/swing/event/InternalFrameListener.java,
1570         javax/swing/event/ListDataListener.java,
1571         javax/swing/event/ListSelectionListener.java,
1572         javax/swing/event/MenuDragMouseListener.java,
1573         javax/swing/event/MenuKeyListener.java,
1574         javax/swing/event/MenuListener.java,
1575         javax/swing/event/MouseInputListener.java,
1576         javax/swing/event/PopupMenuListener.java,
1577         javax/swing/event/TableColumnModelListener.java,
1578         javax/swing/event/TableModelListener.java,
1579         javax/swing/event/TreeExpansionListener.java,
1580         javax/swing/event/TreeModelListener.java,
1581         javax/swing/event/TreeSelectionListener.java,
1582         javax/swing/event/TreeWillExpandListener.java,
1583         javax/swing/event/UndoableEditListener.java,
1584         javax/swing/plaf/UIResource.java,
1585         javax/swing/plaf/metal/MetalLookAndFeel.java:
1586         Removed redundant modifiers.
1587
1588 2003-10-12  Michael Koch  <konqueror@gmx.de>
1589
1590         * javax/swing/Action.java,
1591         javax/swing/BoundedRangeModel.java,
1592         javax/swing/CellEditor.java,
1593         javax/swing/ComboBoxEditor.java,
1594         javax/swing/ComboBoxModel.java,
1595         javax/swing/DesktopManager.java,
1596         javax/swing/JComboBox.java,
1597         javax/swing/ListCellRenderer.java,
1598         javax/swing/ListSelectionModel.java,
1599         javax/swing/MenuElement.java,
1600         javax/swing/MutableComboBoxModel.java,
1601         javax/swing/Renderer.java,
1602         javax/swing/RootPaneContainer.java,
1603         javax/swing/ScrollPaneConstants.java,
1604         javax/swing/SingleSelectionModel.java,
1605         javax/swing/SpinnerModel.java,
1606         javax/swing/SwingConstants.java,
1607         javax/swing/UIDefaults.java,
1608         javax/swing/WindowConstants.java,
1609         javax/swing/border/Border.java,
1610         javax/swing/colorchooser/ColorSelectionModel.java:
1611         Removed redundant modifiers.
1612
1613 2003-10-11  Michael Koch  <konqueror@gmx.de>
1614
1615         * javax/transaction/Status.java,
1616         javax/transaction/Synchronization.java,
1617         javax/transaction/Transaction.java,
1618         javax/transaction/TransactionManager.java,
1619         javax/transaction/UserTransaction.java,
1620         javax/transaction/xa/XAResource.java,
1621         javax/transaction/xa/Xid.java:
1622         Removing redundant modifiers.
1623
1624 2003-10-11  Michael Koch  <konqueror@gmx.de>
1625
1626         * javax/print/attribute/Attribute.java,
1627         javax/print/attribute/AttributeSet.java,
1628         javax/print/attribute/PrintRequestAttributeSet.java:
1629         Removing redundant modifiers.
1630
1631 2003-10-11  Michael Koch  <konqueror@gmx.de>
1632
1633         * javax/sql/ConnectionEventListener.java,
1634         javax/sql/ConnectionPoolDataSource.java,
1635         javax/sql/DataSource.java,
1636         javax/sql/PooledConnection.java,
1637         javax/sql/RowSet.java,
1638         javax/sql/RowSetInternal.java,
1639         javax/sql/RowSetListener.java,
1640         javax/sql/RowSetMetaData.java,
1641         javax/sql/RowSetReader.java,
1642         javax/sql/RowSetWriter.java,
1643         javax/sql/XAConnection.java,
1644         javax/sql/XADataSource.java:
1645         Removing redundant modifiers.
1646
1647 2003-10-11  Michael Koch  <konqueror@gmx.de>
1648
1649         * javax/naming/Context.java,
1650         javax/naming/Name.java,
1651         javax/naming/NameParser.java,
1652         javax/naming/NamingEnumeration.java,
1653         javax/naming/Referenceable.java,
1654         javax/naming/directory/Attribute.java,
1655         javax/naming/directory/Attributes.java,
1656         javax/naming/directory/DirContext.java,
1657         javax/naming/event/EventContext.java,
1658         javax/naming/event/EventDirContext.java,
1659         javax/naming/event/NamespaceChangeListener.java,
1660         javax/naming/event/NamingListener.java,
1661         javax/naming/event/ObjectChangeListener.java,
1662         javax/naming/ldap/Control.java,
1663         javax/naming/ldap/ExtendedRequest.java,
1664         javax/naming/ldap/ExtendedResponse.java,
1665         javax/naming/ldap/HasControls.java,
1666         javax/naming/ldap/LdapContext.java,
1667         javax/naming/ldap/UnsolicitedNotification.java,
1668         javax/naming/ldap/UnsolicitedNotificationListener.java,
1669         javax/naming/spi/DirObjectFactory.java,
1670         javax/naming/spi/DirStateFactory.java,
1671         javax/naming/spi/InitialContextFactory.java,
1672         javax/naming/spi/InitialContextFactoryBuilder.java,
1673         javax/naming/spi/ObjectFactory.java,
1674         javax/naming/spi/ObjectFactoryBuilder.java,
1675         javax/naming/spi/Resolver.java,
1676         javax/naming/spi/StateFactory.java:
1677         Removing redundant modifiers.
1678
1679 2003-10-11  Michael Koch  <konqueror@gmx.de>
1680
1681         * java/security/Key.java,
1682         * java/security/PrivateKey.java,
1683         * java/security/PublicKey.java,
1684         * java/security/acl/Acl.java,
1685         * java/security/acl/AclEntry.java,
1686         * java/security/acl/Group.java,
1687         * java/security/acl/Owner.java,
1688         * java/security/acl/Permission.java,
1689         * java/security/cert/X509Extension.java,
1690         * java/security/interfaces/DSAKey.java,
1691         * java/security/interfaces/DSAKeyPairGenerator.java,
1692         * java/security/interfaces/DSAParams.java,
1693         * java/security/interfaces/DSAPrivateKey.java,
1694         * java/security/interfaces/DSAPublicKey.java,
1695         * java/security/interfaces/RSAKey.java,
1696         * java/security/interfaces/RSAPrivateCrtKey.java,
1697         * java/security/interfaces/RSAPrivateKey.java,
1698         * java/security/interfaces/RSAPublicKey.java:
1699         Removed redundant modifiers.
1700
1701 2003-10-11  Michael Koch  <konqueror@gmx.de>
1702
1703         * gnu/java/rmi/server/ProtocolConstants.java,
1704         gnu/java/security/der/DER.java:
1705         Removing redundant modifiers.
1706
1707 2003-10-11  Michael Koch  <konqueror@gmx.de>
1708
1709         * java/util/Map.java,
1710         java/util/Observer.java,
1711         java/util/zip/Checksum.java,
1712         java/util/zip/ZipConstants.java:
1713         Removed redundant modifiers.
1714
1715 2003-10-11  Michael Koch  <konqueror@gmx.de>
1716
1717         * java/text/AttributedCharacterIterator.java,
1718         java/text/CharacterIterator.java:
1719         Removed redundant modifiers.
1720
1721 2003-10-11  Michael Koch  <konqueror@gmx.de>
1722
1723         * java/sql/Array.java,
1724         java/sql/Blob.java,
1725         java/sql/CallableStatement.java,
1726         java/sql/Clob.java,
1727         java/sql/Connection.java,
1728         java/sql/DatabaseMetaData.java,
1729         java/sql/Driver.java,
1730         java/sql/ParameterMetaData.java,
1731         java/sql/PreparedStatement.java,
1732         java/sql/Ref.java,
1733         java/sql/ResultSet.java,
1734         java/sql/ResultSetMetaData.java,
1735         java/sql/SQLData.java,
1736         java/sql/SQLInput.java,
1737         java/sql/SQLOutput.java,
1738         java/sql/Savepoint.java,
1739         java/sql/Statement.java,
1740         java/sql/Struct.java:
1741         Removed redundant modifiers.
1742
1743 2003-10-11  Michael Koch  <konqueror@gmx.de>
1744
1745         * java/nio/channels/Channel.java,
1746         java/nio/channels/GatheringByteChannel.java,
1747         java/nio/channels/ReadableByteChannel.java,
1748         java/nio/channels/ScatteringByteChannel.java,
1749         java/nio/channels/WritableByteChannel.java:
1750         Removed redundant modifiers.
1751
1752 2003-10-11  Michael Koch  <konqueror@gmx.de>
1753
1754         * java/rmi/activation/ActivationInstantiator.java,
1755         java/rmi/activation/ActivationMonitor.java,
1756         java/rmi/activation/ActivationSystem.java,
1757         java/rmi/activation/Activator.java,
1758         java/rmi/dgc/DGC.java,
1759         java/rmi/registry/Registry.java,
1760         java/rmi/registry/RegistryHandler.java,
1761         java/rmi/server/LoaderHandler.java,
1762         java/rmi/server/RMIClientSocketFactory.java,
1763         java/rmi/server/RMIFailureHandler.java,
1764         java/rmi/server/RMIServerSocketFactory.java,
1765         java/rmi/server/RemoteCall.java,
1766         java/rmi/server/RemoteRef.java,
1767         java/rmi/server/ServerRef.java,
1768         java/rmi/server/Skeleton.java,
1769         java/rmi/server/Unreferenced.java:
1770         Removed redundant modifiers.
1771
1772 2003-10-11  Michael Koch  <konqueror@gmx.de>
1773
1774         * java/net/ContentHandlerFactory.java,
1775         java/net/DatagramSocketImplFactory.java,
1776         java/net/FileNameMap.java,
1777         java/net/SocketImplFactory.java,
1778         java/net/SocketOptions.java,
1779         java/net/URLStreamHandlerFactory.java:
1780         Removed redundant modifiers.
1781
1782 2003-10-11  Michael Koch  <konqueror@gmx.de>
1783
1784         * java/io/Externalizable.java,
1785         java/io/FileFilter.java,
1786         java/io/FilePermission.java,
1787         java/io/ObjectInput.java,
1788         java/io/ObjectInputValidation.java,
1789         java/io/ObjectOutput.java,
1790         java/io/ObjectStreamClass.java,
1791         java/io/ObjectStreamConstants.java,
1792         java/io/Serializable.java:
1793         Removed redundant modifiers.
1794
1795 2003-10-11  Ingo Proetel  <proetel@aicas.com>
1796
1797         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
1798         codebase and context classloader.
1799
1800 2003-10-11  Michael Koch  <konqueror@gmx.de>
1801
1802         * java/beans/beancontext/BeanContext.java,
1803         java/beans/beancontext/BeanContextChild.java,
1804         java/beans/beancontext/BeanContextChildComponentProxy.java,
1805         java/beans/beancontext/BeanContextChildSupport.java,
1806         java/beans/beancontext/BeanContextContainerProxy.java,
1807         java/beans/beancontext/BeanContextMembershipListener.java,
1808         java/beans/beancontext/BeanContextProxy.java,
1809         java/beans/beancontext/BeanContextServiceProvider.java,
1810         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
1811         java/beans/beancontext/BeanContextServiceRevokedListener.java,
1812         java/beans/beancontext/BeanContextServices.java,
1813         java/beans/beancontext/BeanContextServicesListener.java:
1814         Removed redundant modifiers.
1815
1816 2003-10-11  Michael Koch  <konqueror@gmx.de>
1817
1818         * java/beans/AppletInitializer.java,
1819         java/beans/BeanInfo.java,
1820         java/beans/Customizer.java,
1821         java/beans/DesignMode.java,
1822         java/beans/PropertyEditor.java,
1823         java/beans/Visibility.java:
1824         Removed redundant modifiers.
1825
1826 2003-10-11  Michael Koch  <konqueror@gmx.de>
1827
1828         * java/awt/print/Pageable.java,
1829         * java/awt/print/Printable.java,
1830         java/awt/print/PrinterGraphics.java:
1831         Removed redundant modifiers.
1832
1833 2003-10-11  Michael Koch  <konqueror@gmx.de>
1834
1835         * java/awt/peer/ButtonPeer.java,
1836         java/awt/peer/CheckboxMenuItemPeer.java,
1837         java/awt/peer/CheckboxPeer.java,
1838         java/awt/peer/ChoicePeer.java,
1839         java/awt/peer/ComponentPeer.java,
1840         java/awt/peer/ContainerPeer.java,
1841         java/awt/peer/DialogPeer.java,
1842         java/awt/peer/FileDialogPeer.java,
1843         java/awt/peer/FramePeer.java,
1844         java/awt/peer/LabelPeer.java,
1845         java/awt/peer/ListPeer.java,
1846         java/awt/peer/MenuBarPeer.java,
1847         java/awt/peer/MenuComponentPeer.java,
1848         java/awt/peer/MenuItemPeer.java,
1849         java/awt/peer/MenuPeer.java,
1850         java/awt/peer/PopupMenuPeer.java,
1851         java/awt/peer/RobotPeer.java,
1852         java/awt/peer/ScrollPanePeer.java,
1853         java/awt/peer/ScrollbarPeer.java,
1854         java/awt/peer/TextAreaPeer.java,
1855         java/awt/peer/TextComponentPeer.java,
1856         java/awt/peer/TextFieldPeer.java,
1857         java/awt/peer/WindowPeer.java:
1858         Removed redundant modifiers.
1859
1860 2003-10-11  Michael Koch  <konqueror@gmx.de>
1861
1862         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
1863         * gnu/java/nio/ServerSocketChannelImpl.java
1864         (serverSocket): Made it a NIOServerSocket.
1865         (impl): Removed.
1866         (ServerSocketChannelImpl): Initialize only serverSocket.
1867         (initServerSocket): Removed.
1868         (getNativeFD): Rewritten.
1869         (implConfigureBlocking): Set socket timeout and removed comment.
1870         (accept): Rewritten.
1871         * gnu/java/nio/SocketChannelImpl.java
1872         (impl): New variable.
1873         (connected): Removed.
1874         (SocketChannelImpl): Initialize impl too.
1875         (getImpl): New method.
1876         (isConnected): Rewritten.
1877         (read): Rewritten, set position in buffer correctly.
1878         (write): Set position in buffer correctly.
1879         * java/net/ServerSocket.java (getImpl): New method.
1880         * gnu/java/nio/NIOServerSocket.java,
1881         gnu/java/nio/natNIOServerSocket.cc: New files.
1882         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
1883         * Makefile.am
1884         (ordinary_java_source_files):
1885         Added gnu/java/nio/NIOServerSocket.java.
1886         (nat_source_files):
1887         Removed gnu/java/nio/natServerSocketChannelImpl.cc
1888         and added gnu/java/nio/natNIOServerSocket.cc.
1889         * Makefile.in: Regenerated.
1890
1891 2003-10-11  Michael Koch  <konqueror@gmx.de>
1892
1893         * java/awt/ActiveEvent.java,
1894         java/awt/datatransfer/ClipboardOwner.java,
1895         java/awt/datatransfer/FlavorMap.java,
1896         java/awt/datatransfer/Transferable.java,
1897         java/awt/dnd/Autoscroll.java,
1898         java/awt/dnd/peer/DragSourceContextPeer.java,
1899         java/awt/dnd/peer/DropTargetContextPeer.java,
1900         java/awt/dnd/peer/DropTargetPeer.java,
1901         java/awt/font/MultipleMaster.java,
1902         java/awt/font/OpenType.java,
1903         java/awt/im/spi/InputMethodDescriptor.java,
1904         java/awt/image/ImageObserver.java,
1905         java/awt/image/ImageConsumer.java,
1906         java/awt/image/ImageProducer.java,
1907         java/awt/image/RGBImageFilter.java,
1908         java/awt/image/RasterOp.java,
1909         java/awt/image/renderable/RenderableImage.java:
1910         Removed redundant modifiers.
1911
1912 2003-10-11  Michael Koch  <konqueror@gmx.de>
1913
1914         * gnu/awt/j2d/DirectRasterGraphics.java,
1915         gnu/java/awt/EmbeddedWindowSupport.java:
1916         Removed redundant modifiers.
1917
1918 2003-10-09  Michael Koch  <konqueror@gmx.de>
1919
1920         * gnu/java/nio/SelectorImpl.java (register):
1921         Use ServerSocketChannelSelectionKey for server socket channels,
1922         removed unneeded comments.
1923         * gnu/java/nio/ServerSocketChannelImpl.java
1924         (ServerSocketChannelImpl): Made class public final.
1925         (impl): New member variable.
1926         (ServerSocketChannelImpl): Initialize member variables correctly.
1927         (initServerSocket): New method.
1928         (getNativeFD): Likewise.
1929         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
1930         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
1931         * Makefile.am (ordinary_java_source_files):
1932         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
1933         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
1934         * Makefile.in: Regenrated.
1935
1936 2003-10-09  Michael Koch  <konqueror@gmx.de>
1937
1938         * java/nio/channels/spi/AbstractSelectableChannel.java
1939         (registered): Made private.
1940         (blocking): Likewise.
1941         (LOCK): Likewise.
1942         (provider): Likewise.
1943         (keys): Made it a private LinkedList.
1944         (AbstractSelectableChannel): Initialize keys.
1945         (isRegistered): New implementation.
1946         (locate): Rewritten.
1947         (register): Rewritten.
1948         * java/nio/channels/spi/AbstractSelectionKey.java
1949         (ok): Removed.
1950         (cancelled): New member variable.
1951         (cancel): Rewritten.
1952         (isValid): Rewritten.
1953         * java/nio/channels/spi/AbstractSelector.java:
1954         Some methods moved.
1955         (closed): Make private.
1956         (provider): Likewise.
1957         (cancelledKeys): New member variable.
1958         (AbstractSelector): Initialize cancelledKeys.
1959         (cancelKey): New method.
1960
1961 2003-10-09  Tom Tromey  <tromey@redhat.com>
1962
1963         * java/lang/ClassLoader.java (setSigners): Implemented.
1964         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
1965         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
1966         Initialize new fields.
1967         * java/lang/Class.java (getSigners): Now native.
1968         (setSigners): Declare.
1969         * java/lang/natClass.cc (getSigners): New method.
1970         (getSigners): Likewise.
1971         * java/lang/Class.h (Class::signers): New field.
1972         (Class::setSigners): New method.
1973
1974 2003-10-09  Michael Koch  <konqueror@gmx.de>
1975
1976         * java/rmi/server/RMIClassLoader.java:
1977         Removed unused imports, little reformatings.
1978         (getClassLoader): New method, implementation was part of old loadCLass
1979         method.
1980         (loadClass): Simplified by moving functionality to new method and
1981         reworking the code a bit.
1982         (getClassAnnotation): Merged documentation from classpath.
1983
1984 2003-10-09  Michael Koch  <konqueror@gmx.de>
1985
1986         * java/math/BigInteger.java
1987         (add): Removed unused local variable len.
1988
1989 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
1990
1991         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
1992         modality check.
1993         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
1994         Initialize insets to use latest insets.
1995         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
1996         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
1997         field.
1998         (postConfigureEvent): Update latestInsets field when insets
1999         change.  Remove call to setSize.  Move validate call outside of
2000         if blocks.
2001         (setVisible): Call setBounds before showing window.
2002         (nativeSetVisible): New native method.
2003         * java/awt/Window.java (show): Show visible owned windows.
2004         (hide): Hide visible owned windows.
2005         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2006         (awt_event_handler): Implement modality using GTK grabs.
2007         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2008         (global_gtk_window_group): New global variable.
2009         (gtkInit): Initialize global_gtk_window_group.
2010         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2011         Clamp width and height values to at least 1.  Add this window to
2012         the global GTK window group.
2013         (setVisible): Rename to nativeSetVisible.
2014         (setup_window): Remove function.
2015         (setSize): Clamp width and height values to at least 1.
2016         (nativeSetBounds): Likewise.
2017         (gdk_window_get_root_geometry): Remove function.
2018         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
2019         and setup_window declarations.  Declare global_gtk_window_group.
2020
2021         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2022         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2023         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2024         (gtkWidgetSetForeground): New method.
2025         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2026         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2027         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
2028         (setBackground, setForeground): Implement.
2029         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2030         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2031         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2032         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2033         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2034         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2035         Position PangoLayout relative to text's baseline.
2036         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
2037
2038         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
2039         for CENTER and RIGHT alignments.
2040
2041 2003-10-08  Michael Koch  <konqueror@gmx.de>
2042
2043         * java/security/Security.java: Reformated.
2044
2045 2003-10-08  Michael Koch  <konqueror@gmx.de>
2046
2047         * java/text/SimpleDateFormat.java
2048         (compileFormat): Replace Character.isLetter() test with
2049         Character.isLowerCase() || Character.isUpperCase().
2050
2051 2003-10-08  Tom Tromey  <tromey@redhat.com>
2052
2053         * java/lang/StrictMath.java (toDegrees): Multiply before
2054         dividing.
2055         (toRadians): Likewise.
2056
2057 2003-10-08  C. Brian Jones  <cbj@gnu.org>
2058
2059         * java/lang/Math.java
2060         (toRadians): multiply before dividing to reduce decimal error
2061         (toDegrees): ditto
2062
2063 2003-10-08  Michael Koch  <konqueror@gmx.de>
2064
2065         * gnu/gcj/protocol/core/Connection.java,
2066         gnu/gcj/protocol/core/CoreInputStream.java,
2067         gnu/gcj/protocol/core/Handler.java,
2068         gnu/gcj/protocol/core/natCoreInputStream.cc,
2069         gnu/gcj/protocol/file/Connection.java,
2070         gnu/gcj/protocol/file/Handler.java,
2071         gnu/gcj/protocol/gcjlib/Connection.java,
2072         gnu/gcj/protocol/gcjlib/Handler.java,
2073         gnu/gcj/protocol/http/Connection.java,
2074         gnu/gcj/protocol/http/Handler.java,
2075         gnu/gcj/protocol/jar/Connection.java,
2076         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
2077         * gnu/java/net/protocol/core/Connection.java,
2078         gnu/java/net/protocol/core/CoreInputStream.java,
2079         gnu/java/net/protocol/core/Handler.java,
2080         gnu/java/net/protocol/core/natCoreInputStream.cc,
2081         gnu/java/net/protocol/file/Connection.java,
2082         gnu/java/net/protocol/file/Handler.java,
2083         gnu/java/net/protocol/gcjlib/Connection.java,
2084         gnu/java/net/protocol/gcjlib/Handler.java,
2085         gnu/java/net/protocol/http/Connection.java,
2086         gnu/java/net/protocol/http/Handler.java,
2087         gnu/java/net/protocol/jar/Connection.java,
2088         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
2089         * gnu/gcj/runtime/FirstThread.java,
2090         java/net/URL.java: Use moved protocol handlers.
2091         * Makefile.am
2092         (ordinary_java_source_files): Moved files.
2093         (nat_source_files): Likewise.
2094         * Makefile.in: Regenerated.
2095
2096 2003-10-08  Michael Koch  <konqueror@gmx.de>
2097
2098         * gnu/java/nio/SocketChannelImpl.java
2099         (read): Write only read data to buffer.
2100
2101 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2102
2103         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
2104         out.
2105         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
2106         (JCL_free): Attach "unused" attribute to env parameter.
2107         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
2108         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
2109         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2110         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
2111         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2112         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2113         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
2114         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
2115         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
2116         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2117         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
2118         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2119         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
2120         parameters.
2121         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
2122         (initNativeState): Pass 0 as info argument to
2123         gtk_selection_add_target.
2124         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2125         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
2126         unused method implementations.
2127         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2128         (awt_event_handler): Add break statement after default label.
2129         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
2130         (drawPixels): Remove unused variable i.
2131         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2132         (setEnabled): Remove method implementation.
2133         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2134         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
2135         argument.
2136         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
2137         unused function.
2138         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
2139         (menu_pos): Assign TRUE to push_in.
2140         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
2141         argument.
2142         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
2143         (create): Remove unused variable layout.
2144         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2145         Pass window_widget, rather than window, to
2146         gtk_widget_set_size_request.
2147         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
2148         structure initialization with NULL values.
2149         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
2150
2151 2003-10-08  Michael Koch  <konqueror@gmx.de>
2152
2153         * java/util/LinkedList.java:
2154         Removed whitespace to match classpath's version again.
2155
2156 2003-10-08  Michael Koch  <konqueror@gmx.de>
2157
2158         * java/util/prefs/Preferences.java
2159         (defaultFactoryClass): Fixed class name.
2160         (getFactory): Create instance of class returned by Class.forName(),
2161         reformated code.
2162
2163 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
2164
2165         * javax/swing/table/AbstractTableModel.java
2166         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
2167         helped stop pulling my hair on this +1 then -1 tricky thing!
2168
2169 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2170
2171         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
2172         Remove unused parameters.
2173         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
2174         Likewise.
2175         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2176         (keyevent_state_to_awt_mods): Export function.
2177         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2178         (getCaretPosition): Fix TextArea case.
2179         (textcomponent_commit_cb): Get exact event time and modifier
2180         state.
2181         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
2182
2183 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
2184
2185         * java/net/InetSocketAddress.java
2186         (InetSocketAddress): Made exception more clear.
2187         (equals): Handle case when addr is null.
2188         (toString): Likewise.
2189         * java/net/NetworkInterface.java
2190         (static): Load native library.
2191         (getNetworkInterfaces): Rewritten.
2192
2193 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
2194
2195         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
2196         field.
2197         (initializeInsets): New method.
2198         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
2199         setBounds unconditionally.
2200         (setBounds): Convert coordinates if parent is a Window.
2201         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
2202         field to GtkComponentPeer.
2203         (GtkContainerPeer): Don't initialize insets.
2204         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2205         New method.
2206         (create): Call new GtkWindowPeer create method.
2207         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
2208         New method.
2209         (create): Call new GtkWindowPeer create method.
2210         (setBounds): Remove method.
2211         (postConfigureEvent): Likewise.
2212         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
2213         type constants with GDK window type constants.
2214         (create(int,boolean,int,int,GtkWindowPeer)): New method.
2215         (create(int,boolean)): Likewise.
2216         (create()): Call create(int,boolean).
2217         (nativeSetBounds): New native method declaration.
2218         (setBounds): Call native method declaration.
2219         (setSize): New native method declaration.
2220         (setBoundsCallback): Likewise.
2221         (postConfigureEvent): Handle change in insets.  Call setSize and
2222         setBoundsCallback methods.
2223         * java/awt/Window.java (Window): Set visible to false.
2224         (setBoundsCallback): New method.
2225         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2226         (gtkWidgetGetLocationOnScreen): If this component is not a
2227         container, adjust the location returned based on the peer's
2228         allocation.
2229         (set(String,boolean)): Revert change from 2003-09-19.
2230         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2231         (awt_event_handler): Fix inset calculation.
2232         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2233         glue for Window.setBoundsCallback.
2234         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2235         Set up stacking order, window decorations and window manager
2236         hints.
2237         (setBoundsCallback): New method.
2238         (setSize): New method.
2239         (nativeSetBounds): New method.
2240         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
2241
2242 2003-10-02  Tom Tromey  <tromey@redhat.com>
2243
2244         * java/lang/VMClassLoader.java (loadClass): Now native.
2245         * java/lang/natClassLoader.cc (loadClass): Implement.
2246         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
2247
2248 2003-10-02  Michael Koch  <konqueror@gmx.de>
2249
2250         * java/net/InetAddress.java
2251         (zeros): Removed.
2252         (ANY_IF): Initalizie in static block.
2253         (static): Load library with native methods here and initialize ANY_IF.
2254         (isAnyLocalAddress): Check if equal to ANY_IF.
2255         (equals): Use addr directly instead of addr1. Simplify for loop.
2256         (toString): Rename "result" to "host" and add IP address allways.
2257         (getLocalHost): Merged documentation from classpath.
2258         * java/net/ServerSocket.java
2259         (ServerSocket): New package-private constructor used by java.nio.
2260         * java/net/URLConnection.java
2261         (getRequestProperties): Check if already connected.
2262
2263 2003-10-02  Michael Koch  <konqueror@gmx.de>
2264
2265         * java/nio/ByteBufferHelper.java:
2266         Rewrote all methods by suggestions from Eric Blake.
2267
2268 2003-10-02  Michael Koch  <konqueror@gmx.de>
2269
2270         * java/net/URL.java
2271         (DEFAULT_SEARCH_PATH): New static variable.
2272         (ph_cache): Made it a HashMap.
2273         (getURLStreamHandler): Rename propVal to ph_search_path and use
2274         DEFAULT_SEARCH_PATH.
2275
2276 2003-10-02  Michael Koch  <konqueror@gmx.de>
2277
2278         * javax/swing/table/AbstractTableModel.java
2279         (findColumnName): Prevent from NullPointerException if argument
2280         columnName is null.
2281
2282 2003-10-02  Michael Koch  <konqueror@gmx.de>
2283
2284         * javax/swing/table/AbstractTableModel.java:
2285         This patch is based on a patch done by Arnaud Vandyck
2286         <arnaud.vandyck@ulg.ac.be>.
2287         (getColumnName): Fixed method documentation.
2288         (findColumn): Likewise.
2289         (getColumnClass): Likewise.
2290         (isCellEditable): Likewise.
2291         (setValueAt): Likewise.
2292         (addTableModelListener): Likewise.
2293         (removeTableModelListener): Likewise.
2294         (getTableModelListeners): New method.
2295
2296 2003-10-02  Michael Koch  <konqueror@gmx.de>
2297
2298         * javax/swing/table/AbstractTableModel.java:
2299         Reformated.
2300
2301 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
2302
2303         Fix PR libgcj/12475
2304         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
2305         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
2306
2307 2003-10-01  Tom Tromey  <tromey@redhat.com>
2308
2309         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
2310
2311 2003-10-01  Andrew Haley  <aph@redhat.com>
2312
2313         * java/lang/natClass.cc (initializeClass): Check for otable and
2314         atable.
2315         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
2316         loops using for().  Search superinterfaces.  Check for fields as
2317         well as methods.  Initialize atable as well as otable: check for
2318         static methods as well as virtual methods.
2319         * java/lang/Class.h (struct _Jv_AddressTable): New.
2320         (atable): New.
2321         (atable_syms): New.
2322         * include/jvm.h (_Jv_equalUtf8Consts): constify.
2323         * prims.cc (_Jv_equalUtf8Consts): constify.
2324
2325 2003-09-29  Tom Tromey  <tromey@redhat.com>
2326
2327         PR libgcj/10596:
2328         * include/jvm.h (_Jv_FinalizeString,
2329         _Jv_RegisterStringFinalizer): Declare.
2330         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
2331         unintern.
2332         (intern): Updated.
2333         (_Jv_NewStringUtf8Const): Likewise.
2334         * java/lang/ref/natReference.cc (finalize_referred_to_object):
2335         Add special case when finalizing a String.
2336         (in_hash): New function.
2337         (_Jv_RegisterStringFinalizer): Likewise.
2338         (maybe_add_finalize): Likewise.
2339
2340 2003-09-29  Michael Koch  <konqueror@gmx.de>
2341
2342         * java/net/InetAddress.java:
2343         (isMulticastAddress): Dont use local variable to store address length.
2344         Let the compiler optimize this.
2345         (getHostName): Merged dcoumentation from classpath.
2346         (getAddress): Likewise.
2347         (getHostAddress): Likewise.
2348         (hashCode): Likewise.
2349         (equals): Likewise.
2350         (toString): Likewise.
2351         (getByName): Likewise.
2352         (getAllByName): Likewise.
2353
2354 2003-09-29  Michael Koch  <konqueror@gmx.de>
2355
2356         * java/awt/image/IndexColorModel.java: Reformated.
2357
2358 2003-09-29  Michael Koch  <konqueror@gmx.de>
2359
2360         * java/net/InetAddress.java,
2361         java/net/URL.java: Reformated.
2362
2363 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
2364
2365         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
2366         significant bit of descriptor. Include the vtable and sync_info 
2367         fields.
2368
2369 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2370
2371         * java/text/DateFormat.java (format): Throw IllegalArgumentException
2372         if `obj' is not a Number or Date instance.
2373         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
2374         instead of Vector.
2375
2376 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2377
2378         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
2379         Don't call setTimeZone on calendar.
2380
2381 2003-09-27  Michael Koch  <konqueror@gmx.de>
2382
2383         * java/net/URL.java (getURLStreamHandler): Compile fixes.
2384
2385 2003-09-27  Michael Koch  <konqueror@gmx.de>
2386
2387         * java/net/URL.java (getURLStreamHandler):
2388         Check if we have to use cache before trying to retrieve handler from
2389         cache. Rename facName to clsName to match classpath more. Reformated
2390         some little pieces.
2391
2392 2003-09-27  Michael Koch  <konqueror@gmx.de>
2393
2394         * gnu/java/nio/SelectionKeyImpl.java
2395         (ch): Make package-private again. Jikes found this bug.
2396         Jeff Sturm submitted PR12426 for this to bugzilla
2397         to fix this bug in gcj.
2398
2399 2003-09-26  Michael Koch  <konqueror@gmx.de>
2400
2401         * java/rmi/server/RMIClassLoader.java:
2402         Reformatted file, no functional code changes.
2403
2404 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
2405
2406         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
2407         Save space for some pixels at the buffer end.  Added Javadoc.
2408
2409 2003-09-26  Tom Tromey  <tromey@redhat.com>
2410
2411         * java/io/ObjectOutputStream.java (writeFields): Fixed
2412         indentation.
2413         (putFields): Likewise.
2414
2415 2003-09-26  Michael Koch  <konqueror@gmx.de>
2416
2417         * java/nio/ByteBufferHelper.java:
2418         Totally reworked with help from Eric Blake.
2419
2420 2003-09-26  Tom Tromey  <tromey@redhat.com>
2421
2422         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
2423         * java/awt/geom/PathIterator.java: Documentation fixes.
2424
2425 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
2426
2427         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
2428         (select): Likewise.
2429         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
2430
2431 2003-09-25  Michael Koch  <konqueror@gmx.de>
2432
2433         * gnu/java/nio/DatagramChannelImpl.java
2434         (getNativeFD): New method.
2435         * gnu/java/nio/SelectionKeyImpl.java
2436         (SelectionKeyImpl): Class made abstract.
2437         (fd): Removed.
2438         (SelectionKeyImpl): Remove fd argument.
2439         (getNativeFD): New method.
2440         * gnu/java/nio/SocketChannelImpl.java
2441         (getNativeFD): New method.
2442         gnu/java/nio/DatagramChannelSelectionKey.java,
2443         * gnu/java/nio/SocketChannelSelectionKey.java:
2444         New files.
2445         * Makefile.am (ordinary_java_source_files):
2446         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
2447         gnu/java/nio/SocketChannelSelectionKey.java.
2448         * Makefile.in: Regenerated.
2449
2450 2003-09-25  Michael Koch  <konqueror@gmx.de>
2451
2452         * java/lang/reflect/Proxy.java
2453         (getProxyClass): Remove workaround for gcj 3.0.x.
2454
2455 2003-09-25  Michael Koch  <konqueror@gmx.de>
2456
2457         * gnu/java/net/PlainDatagramSocketImpl.java
2458         (finalize): Moved to directly after constructor.
2459         (getNativeFD): New method.
2460         * gnu/java/net/PlainSocketImpl.java
2461         (getNativeFD): New method.
2462
2463 2003-09-25  Ingo Proetel  <proetel@aicas.com>
2464
2465         * java/io/ObjectOutputStream.java:
2466         Allow putFields be called more than once.
2467
2468 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
2469
2470         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
2471         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
2472         * java/awt/image/BufferedImage.java (toString): Implement.
2473
2474 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
2475
2476         * aclocal.m4: Rebuilt.
2477         * configure: Rebuilt.
2478
2479 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
2480
2481         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
2482         field.
2483
2484 2003-09-25  Michael Koch  <konqueror@gmx.de>
2485
2486         * gnu/java/nio/SelectorImpl.java
2487         (implSelect): Renamed from java_do_select.
2488         (select): Call native implSelect() and add support for Thread
2489         interruption.
2490         * gnu/java/nio/natSelectorImpl.cc
2491         (implSelect): Renamed from java_do_select.
2492
2493 2003-09-25  Michael Koch  <konqueror@gmx.de>
2494
2495         * gnu/java/nio/SelectorImpl.java
2496         (selectNow): Made final, throws IOException.
2497         (select): Likewise.
2498         (getFDsAsArray): Made final.
2499         (selectedKeys): Likewise.
2500         (wakeup): Likewise.
2501         (deregisterCancelledKeys): Likewise.
2502         (register): Likewise.
2503         (ass): Removed.
2504         (add_selected): Removed.
2505         * gnu/java/nio/natSelectorImpl.cc:
2506         No need to include bstring.h or gcj/cni.h.
2507         (helper_put_filedescriptors): Rewritten.
2508         (helper_get_filedescriptors): Rewritten.
2509
2510 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
2511
2512         * java/awt/font/FontRenderContext.java (getTransform): Return
2513         copy of internal transform object. Add Javadoc.
2514         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
2515         winding rule as Sun J2SE.
2516         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
2517
2518 2003-09-25  Ingo Proetel  <proetel@aicas.com>
2519
2520         * java/rmi/Naming.java:
2521         Added comments, now accepts pseudo protocol "rmi".
2522
2523 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
2524
2525         * java/text/DecimalFormat.java (format): Don't immediatly round
2526         baseNumber to long.
2527         (setMinimumIntegerDigits): Call super.
2528         (setMinimumFractionDigits): Likewise.
2529         (setMaximumIntegerDigits): Likewise.
2530         (setMaximumFractionDigits): Likewise.
2531
2532 2003-09-25  Michael Koch  <konqueror@gmx.de>
2533
2534         * gnu/java/nio/DatagramChannelImpl.java
2535         (DatagramChannelImpl): Made class final.
2536         (blocking): Made private.
2537         (socket): Made it a NIODatagramSocket and private.
2538         (DatagramChannelImpl): create NIODatagramSocket instead of
2539         DatagramSocket.
2540         (implConfigureBlocking): Set socket timeout.
2541         (connect): Check that channel is not closed.
2542         (write): Implemented.
2543         (write): Rewritten.
2544         (read): Implemented.
2545         (read): Rewritten.
2546         (receive): Implemented.
2547         (send): Implemented.
2548         * gnu/java/nio/SelectionKeyImpl.java
2549         (readyOps): Made private.
2550         (interestOps): Made private.
2551         (impl): Made private.
2552         (ch): Made private.
2553         (readyOps): Check if selection key is valid.
2554         (interestOps): Likewise.
2555         * gnu/java/nio/SelectorImpl.java
2556         (closed): Removed.
2557         (keys): Made private.
2558         (selected): Made private.
2559         (finalize): New method.
2560         (implCloseSelector): Rewritten.
2561         (keys): Return unmodifiable Set.
2562         (deregisterCancelledKeys): Fixed typo in method name.
2563         * gnu/java/nio/SocketChannelImpl.java
2564         (SocketChannelImpl): Made class final.
2565         (socket): Made it a NIOSocket and private.
2566         (blocking): Made private.
2567         (connected): Made private.
2568         (connectionPending): New member variable.
2569         (SocketChannelImpl): New implementation.
2570         (finalizer): Use isConnected().
2571         (connect): Rewritten.
2572         (finishConnect): Throws IOException, implemented.
2573         (isConnectionPending): Return connectionPending.
2574         (read): Rewritten.
2575         (write): Rewritten.
2576         * gnu/java/nio/NIOConstants.java: New file.
2577         * Makefile.am (ordinary_java_source_files):
2578         Added gnu/java/nio/NIOConstants.java.
2579         * Makefile.in: Regenerated.
2580
2581 2003-09-25  Michael Koch  <konqueror@gmx.de>
2582
2583         * java/net/InetAddress.java:
2584         Reorder imports, remove implementation comment.
2585         (isMulticastAddress): Merged documentation from classpath.
2586         * java/net/URLConnection.java
2587         (setRequestProperty): Check key for null, fix documentation.
2588         (adREquestProperty): Check key for null, remove wrong implementation
2589         and replace it with comment to overwrite this method in subclasses,
2590         fix documentation.
2591
2592 2003-09-25  Tom Tromey  <tromey@redhat.com>
2593
2594         * java/lang/reflect/Proxy.java (generate): Uncomment protection
2595         domain code.
2596         * java/lang/natClassLoader.cc (defineClass): Added `loader'
2597         argument.
2598         (linkClass0): Now in VMClassLoader.
2599         (markClassErrorState0): Likewise.
2600         (getSystemClassLoaderInternal): New method.
2601         * java/lang/natClass.cc (initializeClass): Use
2602         VMClassLoader::resolveClass.
2603         * java/lang/ClassLoader.java: New version, from Classpath.
2604         * java/lang/Class.java (getProtectionDomain):
2605         protectionDomainPermission and unknownProtectionDomain now in
2606         VMClassLoader.
2607         * java/lang/Class.h: VMClassLoader now a friend class.
2608         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
2609         package-private.
2610         * gcj/javaprims.h: Regenerated class list.
2611         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
2612         * java/lang/VMClassLoader.java: New version from Classpath;
2613         modified for libgcj use.
2614
2615 2003-09-25  Michael Koch  <konqueror@gmx.de>
2616
2617         * java/nio/ByteBufferHelper.java:
2618         New file.
2619         * java/nio/ByteBufferImpl.java,
2620         java/nio/DirectByteBufferImpl.java,
2621         java/nio/MappedByteBufferImpl.java
2622         (getType,putType): Use new helper class ByteBufferHelper.
2623         * Makefile.am (ordinary_java_source_files):
2624         Added java/nio/ByteBufferHelper.java.
2625         * Makefile.in: Regenerated.
2626
2627 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2628
2629         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
2630         PR libgcj/12388.
2631
2632 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
2633
2634         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
2635         Strings, even if buffer is already shared.
2636
2637 2003-09-24  Michael Koch  <konqueror@gmx.de>
2638
2639         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
2640
2641 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
2642
2643         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
2644         (write): Likewise.
2645         (SocketInputStream): Declare `read' and `write' methods native.
2646         Remove implementations which called back into PlainSocketImpl.
2647         Remove unneccessary overridden methods.
2648         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
2649         to inner class PlainSocketImpl.SocketInputStream.
2650         (write): Likewise.
2651         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
2652         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
2653         * gnu/java/net/SocketInputStream.java: Remove unused file.
2654         * gnu/java/net/SocketOutputStream.java: Likewise.
2655         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
2656         and SocketOutputStream.
2657         * Makefile.in: Rebuilt.
2658
2659 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
2660
2661         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
2662
2663         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
2664         markers.
2665
2666 2003-09-22  Anthony Green  <green@redhat.com>
2667
2668         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
2669         * configure: Rebuilt.
2670
2671 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
2672
2673         PR java/12350:
2674         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
2675
2676 2003-09-22  Michael Koch  <konqueror@gmx.de>
2677
2678         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
2679         compiler warning but produces a different one now.
2680
2681 2003-09-22  Michael Koch  <konqueror@gmx.de>
2682
2683         * java/net/InetAddress.java:
2684         Moves around some code, reformats and adds documentation.
2685         No functional changes.
2686
2687 2003-09-22  Michael Koch  <konqueror@gmx.de>
2688
2689         * java/net/JarURLConnection.java
2690         (JarURLConnection): Modifed code to match classpath more, fixed comment.
2691         (getCertificates): Made it more error prone.
2692         (getMainAttributes): Likewise.
2693         (getAttributes): Implemented.
2694         (getManifest): Reformatted code.
2695
2696 2003-09-20  Tom Tromey  <tromey@redhat.com>
2697
2698         * java/awt/Component.java: Indentation cleanup from Classpath.
2699
2700 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
2701
2702        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
2703        checking to follow 1.4.2 spec.
2704
2705 2003-08-11  Ingo Proetel  <proetel@aicas.com>
2706
2707         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
2708         is compatible in case client and server are running in the same VM
2709         (remerged from Classpath on 2003-09-20)
2710
2711 2003-09-19  David Daney <ddaney@avtrex.com>
2712
2713         * java/lang/ref/Reference.java (clear): Set referent to null and
2714         synchronize.
2715
2716 2003-09-19  Michael Koch  <konqueror@gmx.de>
2717
2718         * gnu/java/nio/NIODatagramSocket.java,
2719         gnu/java/nio/NIOSocket.java: New files.
2720         * Makefile.am (ordinary_java_source_files):
2721         Added gnu/java/nio/NIODatagramSocket.java and
2722         gnu/java/nio/NIOSocket.java.
2723         * Makefile.in: Regenerated.
2724
2725 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
2726
2727         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
2728         top-level GTK window.
2729         (getArgs): Add "title" property.
2730         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
2731         "allow_shrink" and "allow_grow" properties.
2732         * java/awt/Dialog.java: Initialize resizable to true and change
2733         comments accordingly.  Initialize visible to false in
2734         constructors.
2735         * java/awt/Frame.java (dispose): Remove method.
2736         * java/awt/Window.java (ownedWindows): New field.
2737         (Window(Window,GraphicsConfiguration)): Add a weak reference to
2738         owner's ownedWindows vector.
2739         (finalize): Remove method.
2740         (hide): Hide owned windows.
2741         (dispose): Dispose of owned windows.
2742         (getOwnedWindows): Implement.
2743         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
2744         unused GtkArg code.
2745         (set(String,boolean)): Clamp gboolean parameter to g_object_set
2746         to TRUE or FALSE.
2747         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2748         (create): Set window's size requisition.
2749         (connectHooks): Fix indentation.
2750         (setResizable): Remove function.
2751         (static setBounds): Likewise.
2752         (setBounds): Replace call to setBounds with GTK size requisition
2753         and resize calls.
2754
2755 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
2756
2757         * win32-threads.cc: (ensure_interrupt_event_initialized) New
2758         function for lazy initialization of an auto-reset event.
2759         (_Jv_CondWait) Added thread interrupt support.
2760         (_Jv_ThreadInitData) Added initialization of interrupt support
2761         members.
2762         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
2763         (_Jv_ThreadStart) Removed unused code.
2764         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
2765         to an external caller.
2766         (_Jv_ThreadInterrupt) Implemented.
2767         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
2768         event for interrupt support as well as a mutex which regulates
2769         access to this.
2770         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
2771         event to an external caller.
2772         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
2773         process.
2774         (waitFor) Added interrupt support.
2775
2776 2003-09-19  Michael Koch  <konqueror@gmx.de>
2777
2778         * java/net/DatagramSocket.java (getLocalAddress):
2779         Renamed result variable to localAddr.
2780         * java/net/MulticastSocket.java:
2781         No need to import gnu.java.net.PlainDatagramSocketImpl.
2782
2783 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
2784
2785         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
2786         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
2787
2788 2003-09-18  Tom Tromey  <tromey@redhat.com>
2789
2790         * javax/naming/InitialContext.java: Reindented.
2791
2792 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
2793             Helmer Kraemer <hkraemer@freenet.de>
2794
2795         * javax/naming/spi/NamingManager.java (getURLContext,
2796         getObjectInstance, getStateToBind): Always use current thread's
2797         context class loader when calling Class.forName.
2798
2799 2003-09-18  Michael Koch  <konqueror@gmx.de>
2800
2801         * java/util/Timer.java (finalize): Added "throws Throwable".
2802
2803 2003-09-18  Michael Koch  <konqueror@gmx.de>
2804
2805         * java/net/DatagramSocket.java
2806         (ch): Removed.
2807         (receive): Use getChannel() instead of ch.
2808         (send): Likewise.
2809         (getChannel): Return null.
2810         * java/net/ServerSocket.java
2811         (ch): Removed.
2812         (setChannel): Removed.
2813         (implAccept): Use getChannel() instead of ch.
2814         (close): Likewise.
2815         (getChannel): Return null.
2816         * java/net/Socket.java
2817         (ch): Removed.
2818         (connect): Use getChannel() instead of ch.
2819         (setChannel): Removed.
2820         (getChannel): Return null.
2821
2822 2003-09-18  Mark Wielaard  <mark@klomp.org>
2823
2824         Reported by Guilhem Lavaux and Julian Dolby
2825         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
2826         field "serialPersistentFields", not "getSerialPersistentFields".
2827
2828 2003-09-18  Ingo Proetel  <proetel@aicas.com>
2829
2830         * java/util/TimeZone.java: Initialize lazily.
2831         * java/util/Locale.java (readManifest): Fix check for country.
2832         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
2833         traceable 
2834         * java/util/Calendar.java: Make use of ResourceBundle better
2835         traceable.
2836
2837 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
2838
2839         * java/sql/Timestamp.java
2840         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
2841
2842 2003-09-18  David P Grove  <groved@us.ibm.com>
2843
2844         * java/io/LineNumberReader (read): Don't reset pos & limit when
2845         markPos is 0.
2846
2847 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
2848
2849         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
2850         constant.
2851         (computeArguments): use computeTypicalArguments.
2852
2853         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
2854         Compile_jikes.java and RMICException.java.
2855         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
2856         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
2857         * gnu/java/rmi/rmic/RMICException.java: Likewise.
2858  
2859         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
2860  
2861         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
2862         (computeTypicalArguments): New method.
2863         (compile): Print compiler output to System.out. Collect compiler
2864         error output and use it in exception message.
2865  
2866         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
2867         (destination): Initialize to null.
2868         (run): Replace file separator with '.' when processing class.
2869         (processClass): Replace '.' with file separator when compiling
2870         classes.
2871         (findClass): Use SystemClassLoader to load class.
2872         (generateStub): Use full class name for generated stub, that puts
2873         it in right path.  Replace '.' with file separator when generating
2874         stub file name. Write just the stub class name without package
2875         information as class name, and constructor name. Write only
2876         interface names for interfaces extending java.rmi.Remote as
2877         implemented.
2878         (generateSkel): Use full class name for generated skel, that puts
2879         it in right path.  Replace '.' with file separator when generating
2880         stub file name. Write just the stub class name without package
2881         information as class name.
2882
2883 2003-09-18  Michael Koch  <konqueror@gmx.de>
2884
2885         * Makefile.am (rmi_java_source_files):
2886         Added gnu/java/rmi/rmic/Compile_kjc.java,
2887         gnu/java/rmi/rmic/Compile_jikes.java and
2888         gnu/java/rmi/rmic/RMICException.java
2889         * Makefile.in: Regenerated.
2890
2891 2003-09-17  Graydon Hoare  <graydon@redhat.com>
2892
2893         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2894         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2895         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
2896         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
2897         New files.
2898
2899 2003-09-16  Graydon Hoare  <graydon@redhat.com>
2900
2901         * java/awt/BufferedImage.java (setData): Support non-component
2902         sample models.
2903         (getData): Same.
2904
2905 2003-09-10  Graydon Hoare  <graydon@redhat.com>
2906
2907         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
2908         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
2909
2910 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
2911
2912         * configure.in: Standardized help text case of
2913         --enable-hash-synchronization
2914         New configure switch --enable-libgcj-multifile and corresponding
2915         automake conditional ONESTEP.
2916         * configure: Rebuilt.
2917         * Makefile.am: Use automake conditional ONESTEP to determine
2918         whether classfiles should be compiled individually or all
2919         at once.
2920         * Makefile.in: Rebuilt.
2921
2922 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
2923
2924         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
2925         Remove method declaration.
2926         (create()): Call native create.
2927         (create(int)): New method.
2928         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2929         (create): Add window_id parameter.  Call gtk_plug_new with
2930         window_id parameter.
2931         (construct): Remove method implementation.
2932
2933 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
2934
2935         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
2936         (mostlyclean-local): New target patterned after clean-local
2937         which recursively deletes all libtool objects using 'libtool rm'.
2938         (clean-local): Slightly modified comment to alleviate monotony.
2939         (distclean-local): New target patterned after clean-local
2940         which recursively deletes all .d files.
2941         * Makefile.in: Rebuilt.
2942
2943 2003-09-11  Tom Tromey  <tromey@redhat.com>
2944
2945         * java/net/URLStreamHandler.java (parseURL): If original file
2946         ends with "/", so must canonical result.
2947         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
2948         with nul-termination and finding previous "/".
2949
2950 2003-09-11  Michael Koch  <konqueror@gmx.de>
2951
2952         * acconfig.h: Removed most items.
2953         * configure.in: Added descriptions to AC_DEFINE macros that where in
2954         acconfig.h before.
2955         * include/config.h.in: Regenerated.
2956
2957 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
2958
2959         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
2960         if one is installed. Improve Javadoc.
2961         (getSystemEventQueueImpl): Improve Javadoc.
2962
2963 2003-09-11  Tom Tromey  <tromey@redhat.com>
2964
2965         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
2966         file does not exist.
2967
2968 2003-09-10  Anthony Green  <green@redhat.com>
2969
2970         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
2971         Specify full name when referencing ::java::net::InetAddress.
2972         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
2973         Fix argument type.
2974
2975 2003-09-10  Michael Koch  <konqueror@gmx.de>
2976
2977         * acconfig.h (__NO_MATH_INLINES): Removed.
2978         * configure.in: Removed check for g++ math inlining bug from 2000.
2979         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
2980         libgcj_cxxflags.
2981         * configure: Regenerated.
2982
2983 2003-09-10  David Daney <ddaney@avtrex.com>
2984
2985         * java/util/Arrays.java (equals(all variants)): Quit using
2986         NullPointerException catching to detect null valued parameters.
2987
2988 2003-09-10  Michael Koch  <konqueror@gmx.de>
2989
2990         * java/net/DatagramSocket.java,
2991         java/net/MulticastSocket.java,
2992         java/net/ServerSocket.java,
2993         java/net/Socket.java:
2994         Use gnu.java.net.Plain*SocketImpl instead of
2995         java.net.PlainSocketImpl.
2996         * java/net/PlainDatagramSocketImpl.java,
2997         java/net/PlainSocketImpl.java,
2998         java/net/SocketInputStream.java,
2999         java/net/SocketOutputStream.java,
3000         java/net/natPlainDatagramSocketImplNoNet.cc,
3001         java/net/natPlainDatagramSocketImplPosix.cc,
3002         java/net/natPlainDatagramSocketImplWin32.cc,
3003         java/net/natPlainSocketImplNoNet.cc,
3004         java/net/natPlainSocketImplPosix.cc,
3005         java/net/natPlainSocketImplWin32.cc:
3006         Removed.
3007         * gnu/java/net/PlainDatagramSocketImpl.java,
3008         gnu/java/net/PlainSocketImpl.java,
3009         gnu/java/net/SocketInputStream.java,
3010         gnu/java/net/SocketOutputStream.java,
3011         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
3012         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
3013         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
3014         gnu/java/net/natPlainSocketImplNoNet.cc,
3015         gnu/java/net/natPlainSocketImplPosix.cc,
3016         gnu/java/net/natPlainSocketImplWin32.cc:
3017         New files (moved from java/net).
3018         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
3019         instead of java/net/natPlain*SocketImpl.cc.
3020         * configure: Regenerated.
3021         * Makefile.am: Moved files from java/net to gnu/java/net.
3022         * Makefile.in: Regenerated.
3023
3024 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
3025
3026         * configure: Regenerate.
3027
3028 2003-09-04  Tom Tromey  <tromey@redhat.com>
3029
3030         * configure.host: Removed erroneous comment.
3031
3032         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
3033         lvalue cast; use correct rvalue cast.
3034
3035 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3036
3037         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
3038         and height arguments to GtkWindowPeer.create method call.
3039         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3040         (create(int,int,int)): New method.
3041         (create(int)): Add call to new create method.
3042         (create()): Add width and height arguments to create method
3043         call.
3044         (GtkWindowPeer): Remove call to setBounds.
3045         * java/awt/Frame.java (Frame(String)): Initialize visible field
3046         to false.
3047         (Frame(GraphicsConfiguration)): Likewise.
3048         (Frame(String,GraphicsConfiguration)): Likewise.
3049         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3050         Add width and height parameters.  Call
3051         gtk_window_set_default_size.
3052         (connectHooks): Remove unused name variable.
3053         (static setBounds): Call gtk_window_resize not
3054         gtk_widget_set_usize.
3055         (setBounds): Remove unused nchildren variable.
3056
3057 2003-08-31  Ingo Proetel  <proetel@aicas.com>
3058
3059         * java/util/logging/Logger.java: provide class and method information
3060         * java/util/logging/LogManager.java: create handlers
3061         * java/util/logging/SimpleFormatter.java: print souceClassName and
3062         sourceMethodName
3063
3064 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3065
3066         * win32.cc: fixed tab, indentation and whitespace
3067         inconsistencies
3068         removed jvm.h include
3069         added includes java/lang/UnsupportedOperationException.h,
3070         java/io/IOException.h, java/net/SocketException.h
3071         (WSAEventWrapper): class implementation
3072         (_Jv_WinStrError): implemented both overloads
3073         (_Jv_ThrowIOException): implemented both overloads
3074         (_Jv_ThrowSocketException): implemented both overloads
3075         (_Jv_select): implemented
3076         * include/win32.h: fixed tab, indentation and whitespace
3077         inconsistencies
3078         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
3079         added jvm.h include
3080         (WSAEventWrapper): added class declaration
3081         (_Jv_WinStrError): added both overload declarations
3082         (_Jv_ThrowIOException): added both overload declarations
3083         (_Jv_ThrowSocketException): added both overload declarations
3084         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
3085         (_Jv_select): added declaration
3086         (_Jv_socket): removed
3087         (_Jv_connect): removed
3088         (_Jv_close): removed
3089         (_Jv_bind): removed
3090         (_Jv_accept): removed
3091         (_Jv_listen): removed
3092         (_Jv_write): removed
3093         (_Jv_read): removed
3094         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
3095         whitespace inconsistencies
3096         replaced <windows.h> #include with <platform.h>
3097         removed jvm.h include
3098         (testCanUseGetHandleInfo): new function which tests whether Win32
3099         GetHandleInformation() call can be used with console buffer handles
3100         (only supported on >=WinNT 5.0)
3101         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
3102         (valid): rewrote implementation using GetHandleInformation()
3103         (sync):         changed exception throwing to use error string and exception
3104         helper methods declared in include/win32.h
3105         (open): likewise
3106         (write): likewise
3107         (setLength): likewise
3108         (close): likewise
3109         (seek): likewise
3110         (getFilePointer): likewise
3111         (read): likewise
3112         * java/io/natFileWin32.cc: fixed tab, indentation and
3113         whitespace inconsistencies
3114         replaced <windows.h> #include with <platform.h>
3115         removed jvm.h include
3116         (_access): use JV_TEMP_UTF_STRING
3117         (_stat): likewise
3118         (performMkDir): use JV_TEMP_UTF_STRING
3119         (performRenameTo): likewise
3120         (performDelete): likewise
3121         (performCreate): likewise
3122         (performSetReadOnly): likewise
3123         (performSetLastModified): likewise
3124         * java/lang/natWin32Process.cc: fixed tab, indentation and
3125         whitespace inconsistencies
3126         replaced <windows.h> #include with <platform.h>
3127         removed includes gcj/cni.h, jvm.h
3128         (new_string): removed
3129         (startProcess): use JV_TEMP_UTF_STRING,
3130         changed exception throwing to use error string and exception
3131         helper methods declared in include/win32.h
3132         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
3133         whitespace inconsistencies
3134         replaced <windows.h> #include with <platform.h>
3135         removed jvm.h include
3136         removed DISABLE_JAVA_NET conditional code
3137         removed POSIX conditional code not relevant to Win32
3138         (aton): use JV_TEMP_UTF_STRING
3139         removed POSIX conditional code not relevant to Win32
3140         (lookup): likewise
3141         (getLocalHostName): likewise
3142         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
3143         whitespace inconsistencies
3144         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
3145         removed DISABLE_JAVA_NET conditional code
3146         removed POSIX conditional code not relevant to Win32
3147         (winsock2GetRealNetworkInterfaces): new function to compute network
3148         interfaces via Winsock2 API
3149         (determineGetRealNetworkInterfacesFN): new function for returning
3150         a function pointer to the function used to compute network interfaces.
3151         (getRealNetworkInterfaces): implemented
3152         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
3153         whitespace inconsistencies
3154         removed gcj/cni.h include
3155         removed DISABLE_JAVA_NET conditional code
3156         removed POSIX conditional code not relevant to Win32
3157         changed net POSIXisms to Win32isms
3158         replaced _Jv socket-related calls with their real Win32 equivalents
3159         changed exception throwing to use error string and exception
3160         helper methods declared in include/win32.h
3161         (peekData): implemented timeout support
3162         (receive): likewise
3163         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
3164         whitespace inconsistencies
3165         removed gcj/cni.h and gcj/javaprims.h includes
3166         removed DISABLE_JAVA_NET conditional code
3167         removed POSIX conditional code not relevant to Win32
3168         changed net POSIXisms to Win32isms
3169         replaced _Jv socket-related calls with their real Win32
3170         equivalents
3171         changed exception throwing to use error string and exception
3172         helper methods declared in include/win32.h
3173         (throwConnectException): helper function for connect()
3174         (connect): implemented timeout support
3175         (accept): likewise
3176         (doRead): new helper function common to both read() method overloads,
3177         includes timeout support
3178         (read): implemented both overloads in terms of doRead()
3179         (available): implemented using ioctlsocket()
3180
3181 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3182
3183         * java/net/natInetAddressWin32.cc,
3184         java/net/natNetworkInterfaceWin32.cc,
3185         java/net/natPlainDatagramSocketImplWin32.cc,
3186         java/net/natPlainSocketImplWin32.cc:
3187         Readded code enclosed in DISABLE_JAVA_NET defines
3188         in preparation for MinGW cleanup / networking
3189         patch
3190
3191 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3192
3193         * Makefile.am: Fixed problems with parallel makes.
3194         (all_java_class_files): Readded definition.
3195         (all_java_class_files): New target which depends on
3196         libgcj-@gcc_version@.jar
3197         * Makefile.in: Rebuilt
3198
3199 2003-08-28  Tom Tromey  <tromey@redhat.com>
3200
3201         * Makefile.in: Rebuilt.
3202         * Makefile.am (ordinary_java_source_files): Added new files.
3203         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
3204         friend.
3205         * java/net/URLClassLoader.java (findClass): Don't use
3206         findURLResource.  Use loader's getClass method.
3207         (URLLoader.getClass): New method.
3208         (addURL): Handle `gcjlib' URLs.
3209         (SoURLLoader): New class.
3210         (SoResource): Likewise.
3211         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
3212         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
3213         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
3214         (_Jv_RegisterCoreHook): Declare.
3215         (_Jv_FindCore): Declare.
3216         * gnu/gcj/runtime/SharedLibHelper.java: New file.
3217         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
3218         typedef.
3219         (core_hook): New function.
3220         (struct SharedLibDummy) [saved_core]: New field.
3221         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
3222         (register_hook): Set protection domain and class loader on new
3223         class.
3224         (finalize): Free core chain.
3225         * gnu/gcj/Core.java (Core): New constructor.
3226         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
3227         SharedLibHelper.
3228         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
3229         (_Jv_create_core): New function.
3230         (create): Use it.
3231         (default_register_resource): New function.
3232         (_Jv_RegisterCoreHook): New global.
3233         (_Jv_RegisterResource): Use it.
3234         (core_chain_struct): Removed.
3235         (_Jv_FindCore): New function.
3236         (_Jv_FreeCoreChain): New function.
3237
3238 2003-08-29  Michael Koch  <konqueror@gmx.de>
3239
3240         * java/net/natInetAddressWin32.cc,
3241         java/net/natNetworkInterfaceWin32.cc,
3242         java/net/natPlainDatagramSocketImplWin32.cc,
3243         java/net/natPlainSocketImplWin32.cc:
3244         Removed code enclosed in DISABLE_JAVA_NET defines.
3245
3246 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
3247
3248         * Makefile.am: (write_entries_to_file) New parameterized
3249         function for writing entries to a file one line at a time.
3250         (all_java_class_files): Removed definition.
3251         (.java.class) Removed.target.
3252         (libgcj-@gcc_version@.jar): Changed dependency to
3253         $(all_java_source_files); added compilation step which compiles
3254         all changed source files in one pass.
3255         (libgcj.la) Refactored to use write_entries_to_file.
3256         (lib-gnu-awt-xlib.la) Likewise.
3257         (install-data-local) Likewise.
3258         (write-entries-to-file-check) New target which tests write_entries_to_file.
3259         (all-recursive): Changed dependency from $(all_java_class_files)
3260         to libgcj-@gcc_version@.jar
3261         * Makefile.in: Rebuilt.
3262
3263 2003-08-26  Tom Tromey  <tromey@redhat.com>
3264
3265         * java/lang/StrictMath.java: Typo fix.
3266         * java/lang/Math.java: Typo fix.
3267
3268 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
3269
3270         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
3271         of the removed Thread.
3272
3273 2003-08-26  Mark Wielaard  <mark@klomp.org>
3274
3275         Reported by David Holmes <dholmes@dltech.com.au>.
3276         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
3277         Collections.synchronizedMap.
3278         * java/lang/ThreadLocal.java (valueMap): Likewise.
3279
3280 2003-08-26  Mark Wielaard  <mark@klomp.org>
3281
3282         * java/security/acl/Acl.java: Fix broken p tag.
3283         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
3284         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
3285         * javax/swing/plaf/TreeUI.java: Likewise.
3286         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
3287         * java/util/Properties.java: Use the word umlaut, not &auml; in api
3288         documentation.
3289         * java/util/PropertyResourceBundle.java: Likewise and add closing code
3290         tag.
3291
3292 2003-08-26  Tom Tromey  <tromey@redhat.com>
3293
3294         * Makefile.in: Rebuilt.
3295         * Makefile.am: Removed all GNU-make-specific FIXME comments.
3296
3297         * java/lang/ref/Reference.java (get): Indentation fix.
3298         (clear): Comment fix.
3299         (enqueue): Likewise.
3300         (lock): Likewise.
3301         (referent): Likewise.
3302
3303 2003-08-26  Tom Tromey  <tromey@redhat.com>
3304
3305         PR java/12058:
3306         * java/lang/reflect/natArray.cc (set): Allow null as argument.
3307
3308         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
3309         (ProxyData.getPackage): New method.
3310         (ProxyData.getProxyData): Use package name, not Package.
3311         (ClassFactory.ClassFactory): Updated.
3312
3313 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
3314         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
3315         * Makefile.in: re-generated.
3316         * gnu/awt/j2d/IntegerGraphicsState.java
3317         (ScreenCoupledImage): new interface.
3318         (drawImage): detect ScreenCoupledImage instances.
3319         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
3320         * gnu/awt/xlib/XEventLoop.java
3321         (createEvent): re-formatted, and rearranged to avoid null pointer.
3322         * gnu/awt/xlib/XGraphics.java
3323         (drawImage): added XOffScreenImage handling.
3324         * gnu/awt/xlib/XOffScreenImage.java: new file.
3325         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
3326         * gnu/gcj/xlib/GC.java (copyArea): new native method.
3327         * gnu/gcj/xlib/XAnyEvent.java
3328         (TYPE_KEY_PRESS): new constant.
3329         (TYPE_KEY_RELEASE): new constant.
3330         (TYPE_MOTION_NOTIFY): new constant.
3331         (TYPE_ENTER_NOTIFY): new constant.
3332         (TYPE_LEAVE_NOTIFY): new constant.
3333         (TYPE_FOCUS_IN): new constant.
3334         (TYPE_FOCUS_OUT): new constant.
3335         (TYPE_KEYMAP_NOTIFY): new constant.
3336         (TYPE_GRAPHICS_EXPOSE): new constant.
3337         (TYPE_NO_EXPOSE): new constant.
3338         (TYPE_VISIBILITY_NOTIFY): new constant.
3339         (TYPE_CREATE_NOTIFY): new constant.
3340         (TYPE_DESTROY_NOTIFY): new constant.
3341         (TYPE_MAP_REQUEST): new constant.
3342         (TYPE_CONFIGURE_REQUEST): new constant.
3343         (TYPE_GRAVITY_NOTIFY): new constant.
3344         (TYPE_RESIZE_REQUEST): new constant.
3345         (TYPE_CIRCULATE_NOTIFY): new constant.
3346         (TYPE_CIRCULATE_REQUEST): new constant.
3347         (TYPE_PROPERTY_NOTIFY): new constant.
3348         (TYPE_SELECTION_CLEAR): new constant.
3349         (TYPE_SELECTION_REQUEST): new constant.
3350         (TYPE_SELECTION_NOTIFY): new constant.
3351         (TYPE_COLORMAP_NOTIFY): new constant.
3352         (TYPE_MAPPING_NOTIFY): new constant.
3353         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
3354         * gnu/gcj/xlib/natGC.cc (copyArea): new method
3355         * java/awt/Component.java (createImage): changed to use peer method.
3356
3357 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3358
3359         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
3360         name, not XLFD, to native drawString.
3361         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3362         Replace XLFD-based implementation with Pango-based
3363         implementation.
3364
3365 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3366
3367         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
3368         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
3369
3370 2003-08-21  David Daney  <ddaney@avtrex.com>
3371
3372         Fix for PR libgcj/12013:
3373         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3374         Check `cleared' field.
3375         * java/lang/ref/Reference.java (copy): Updated comments.
3376         (cleared): New field.
3377         (clear): Rewrote.
3378
3379 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
3380             Thomas Fitzsimmons  <fitzsim@redhat.com>
3381
3382         * Makefile.am (gtk_awt_peer_sources): Add
3383         gnu/java/awt/peer/GLightweightPeer.java.  Remove
3384         gnu/java/awt/GLightweightPeer.java.
3385         * gnu/java/awt/GLightweightPeer.java: Remove file.
3386         * gnu/java/awt/peer/GLightweightPeer.java: New file.
3387         * java/awt/Component.java (getToolkit): Add comment about
3388         lightweight components.
3389         * java/awt/Toolkit.java (createComponent): Return
3390         gnu.java.awt.peer.GLightweightPeer.
3391
3392 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
3393
3394         * configure.in: Fix detection of gcj when building with newlib.
3395         * configure: Regenerated.
3396
3397 2003-08-20  Graydon Hoare  <graydon@redhat.com>
3398
3399         * jni.cc: Replace "cheating" pointer-casting code with
3400         extract_from_jvalue<> template.
3401
3402 2003-08-20  Andrew Haley  <aph@redhat.com>
3403
3404         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
3405         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
3406         (classAt): Break out class lookup function into getClass().
3407         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
3408         handlers when using -fno-assume-compiled.
3409
3410 2003-08-20  Tom Tromey  <tromey@redhat.com>
3411
3412         Fix for PR libgcj/9125:
3413         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
3414         object outside of loop.  Respect lib_control setting.
3415         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
3416         field.
3417         (lib_control): New field.
3418         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
3419         (VMClassLoader): Initialize new field.
3420
3421         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3422         Set `list->reference' to DELETED_REFERENCE when removing dead
3423         object.
3424         (find_slot): Added an assert.
3425         (DELETED_REFERENCE): New define.
3426         (add_to_hash): Check for DELETED_REFERENCE.
3427         (remove_from_hash): Just return if found slot isn't ours.
3428
3429 2003-08-19  Andrew Haley  <aph@redhat.com>
3430
3431         * prims.cc (unblock_signal): New function.
3432         (catch_segv): Use it.
3433         (catch_fpe): Likewise.
3434
3435 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
3436
3437         PR libgcj/11575
3438         * java/io/natFileDescriptorWin32.cc (open): Set create
3439         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
3440         Honor EXCL when openning with WRITE flag. 
3441
3442 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
3443
3444         * include/jvm.h: New class _Jv_TempUTFString (helper class for
3445         getting a temporary C string from a jstring)
3446         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
3447         but uses a stack buffer if the string length is less than 256
3448         bytes.
3449
3450 2003-08-18  Tom Tromey  <tromey@redhat.com>
3451
3452         PR libgcj/11951:
3453         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
3454         void.  Throw VirtualMachineError if ffi fails.  Initialize return
3455         value.  Added is_jni_call argument; only wrap exception if not a
3456         JNI call.  Use descriptive message if operation not supported.
3457         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
3458         array class.
3459         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
3460         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
3461         _Jv_CallAnyMethodA.
3462         (_Jv_JNI_CallAnyMethodA): Likewise.
3463         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
3464         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
3465
3466 2003-08-13  Tom Tromey  <tromey@redhat.com>
3467
3468         * gij.cc (help): Document -? and -X.
3469
3470 2003-08-12  Graydon Hoare  <graydon@redhat.com>
3471
3472         * java/awt/Font.java: 
3473         Stub out more recent API. 
3474
3475 2003-08-12  Graydon Hoare  <graydon@redhat.com>
3476
3477         * java/awt/Color.java (getAlpha): 
3478         Prevent sign-extended alpha values.
3479
3480 2003-08-12  Tom Tromey  <tromey@redhat.com>
3481
3482         * gij.cc (main): Handle -? and -X.
3483
3484 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
3485
3486         * java/awt/Container.java
3487         (getPreferredSize): Call preferredSize.
3488         (preferredSize): Moved body of getPreferredSize here.
3489         (getMinimumSize): Call minimumSize.
3490         (minimumSize): Moved body of getMinimumSize here.
3491
3492 2003-08-11  Tom Tromey  <tromey@redhat.com>
3493
3494         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
3495         (postEvent): Removed FIXME comment.
3496         (isDispatchThread): Documented.
3497         (getCurrentEvent): New method.
3498         (dispatchEvent): Set currentEvent and lastWhen.
3499         (getMostRecentEventTime): Rewrote.
3500         (invokeLater): Documented.
3501
3502 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
3503
3504         * java/io/PrintStream.java (print): Always flush if auto_flush is
3505         set. Don't check for newline characters.
3506         (write (int)): Implement without using a temporary array.
3507         (write (byte[], int, int): Always flush if auto_flush is set. Don't
3508         check for newline characters.
3509         Fixes PR libgcj/11778.
3510
3511 2003-08-08  Andrew Haley  <aph@redhat.com>
3512
3513         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
3514         * Makefile.in: Rebuild.
3515         * java/lang/natRuntime.cc (insertSystemProperties): Add
3516         "sun.boot.class.path".
3517
3518 2003-08-07  Andrew Haley  <aph@redhat.com>
3519
3520         * java/io/PrintStream.java: Don't crash on a null string.
3521         
3522 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3523
3524         * configure.in: Don't initialize GCINCS to boehm-gc/include.
3525         * configure: Regenerate.
3526
3527 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
3528
3529         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
3530         SocketImpl. Update Javadoc.
3531         (bind): Call close() not impl.close() in event of exception.
3532         (connect): Likewise.
3533         Remove superfluous null checks throughout.
3534         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
3535         Don't create an extra socket. Fix for PR libgcj/10868.
3536         (bind): Clean up exception handling.
3537         Remove superfluous null checks throughout.
3538
3539 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
3540             Bryce McKinlay  <bryce@mckinlay.net.nz>
3541
3542         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
3543         ready-to-write argument to _Jv_Select. Reset the socket back to 
3544         non-blocking state after connecting.
3545         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
3546         Throw SocketTimeoutException not InterruptedIOException.
3547         (read): Throw SocketTimeoutException not InterruptedIOException.
3548
3549 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
3550
3551         * java/lang/Thread.java (Thread): Check for null "name" from
3552         start of private constructor, not after calling the private
3553         constructor.
3554
3555 2003-08-06  Tom Tromey  <tromey@redhat.com>
3556
3557         * java/io/FilePermission.java (equals): Use correct index for
3558         last character of path.
3559
3560 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
3561
3562         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
3563         * configure.in: Compare with_cross_host to build_alias, not build.
3564         * aclocal.m4: Regenerate.
3565         * configure: Regenerate.
3566
3567 2003-08-05  Tom Tromey  <tromey@redhat.com>
3568
3569         Fix for PR libgcj/11779:
3570         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
3571         class.
3572
3573         * java/lang/reflect/Method.java: Updated status comment.
3574         Imported javadoc from Classpath and re-ordered methods.
3575         * java/lang/reflect/Constructor.java: Reindented.  Updated
3576         status comment.  Imported javadoc from Classpath and re-ordered
3577         methods.
3578
3579 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
3580
3581         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
3582         Add keyLocation parameter.
3583         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
3584         string.
3585         (paramString): Generate keyChar string according to keyChar, not
3586         keyCode.
3587         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3588         (state_to_awt_mods): Handle ALT key.
3589         (keyevent_state_to_awt_mods): New function.
3590         (get_first_keyval_from_keymap): New function.
3591         (keysym_to_awt_keycode): Get virtual key code from keymap.
3592         Handle missing VK_ values.
3593         (keysym_to_awt_keylocation): New function.
3594         (keyevent_to_awt_keychar): New function.
3595         (generates_key_typed_event): Handle non-text-component case.
3596         Handle GDK_KP_Delete and GDK_KP_Enter.
3597         (awt_event_handler): Call new functions to get postKeyEvent
3598         parameters.
3599         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
3600         Update postKeyEvent method signature.
3601         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
3602         VK_ defines.
3603
3604 2003-08-05  Matthias Klose  <doko@debian.org>
3605
3606         * aclocal.m4: check for libart-config binary
3607           under the name libart2-config as well.
3608         * configure: regenerated.
3609
3610 2003-08-04  David P Grove  <groved@us.ibm.com>
3611
3612         * java/text/DecimalFormat.java (format): avoid ArithmeticException
3613         when groupingSize is 0.
3614         (parse): Likewise.
3615
3616 2003-08-04  Matthias Klose  <doko@debian.org>
3617
3618         * libart.m4: check for libart-config binary
3619           under the name libart2-config as well.
3620         * configure, aclocal.m4: regenerated.
3621
3622 2003-08-02  Michael Koch  <konqueror@gmx.de>
3623
3624         * java/nio/ByteBufferImpl.java
3625         (getChar): Check remaining bytes, fixed comment about endianess.
3626         (putChar): Likewise.
3627         (getShort): Likewise.
3628         (putShort): Likewise.
3629         (getInt): Check remaining bytes, fixed conversion, fixed comment about
3630         endianess.
3631         (putInt): Likewise.
3632         (getLong): Likewise.
3633         (putLong): Likewise.
3634         (getFloat): Likewise.
3635         (putFloat): Likewise.
3636         (getDouble): Likewise.
3637         (putDouble): Likewise.
3638         * java/nio/DirectByteBufferImpl.java
3639         (getChar): Wrapped code, fixed comment about endianess.
3640         (putchar): Likewise.
3641         (getShort): Likewise.
3642         (putShort): Likewise.
3643         (getInt): Fixed conversion, fixed comment about endianess.
3644         (putInt): Likewise.
3645         (getLong): Likewise.
3646         (putLong): Likewise.
3647         (getFloat): Likewise.
3648         (putFloat): Likewise.
3649         (getDouble): Likewise.
3650         (putDouble): Likewise.
3651         * java/nio/MappedByteBufferImpl.java
3652         (compact): Implemented.
3653         (getChar): Implemented.
3654         (putChar): Implemented.
3655         (getDouble): Implemented.
3656         (putdouble): Implemented.
3657         (getFloat): Implemented.
3658         (putFloat): Implemented.
3659         (getInt): Implemented.
3660         (putInt): Implemented.
3661         (getLong): Implemented.
3662         (putLong): Implemented.
3663         (getShort): Implemented.
3664         (putShort): Implemented.
3665         * java/nio/channels/FileChannelImpl.java
3666         (read): Set position where to access file.
3667         (write): Likewise.
3668         (transferTo): Flip buffer after read and before write.
3669         (transferFrom): Likewise.
3670
3671 2003-08-02  Michael Koch  <konqueror@gmx.de>
3672
3673         * gnu/java/lang/ArrayHelper.java
3674         (equalsArray): Reformated, added method documentation.
3675
3676 2003-08-02  Michael Koch  <konqueror@gmx.de>
3677
3678         * java/net/URL.java
3679         (URL): Added paragraph about the
3680         gnu.java.net.nocache_protocol_handlers property.
3681         (ph_cache): Renamed from handlers to match classpath's implementation.
3682         Reordered it with factory and serialVersionUID member variables.
3683         (cache_handlers): New member variable.
3684         (static): New static initializer to initialize cache_handlers from
3685         gnu.java.net.nocache_protocol_handlers property.
3686         (URL): Use ph_cache instead of handlers, reformatted some code to
3687         match classpath's implementation.
3688
3689 2003-08-01  Tom Tromey  <tromey@redhat.com>
3690
3691         Fix for PR libgcj/11241:
3692         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
3693         initialCapacity is 0, set it to 1.
3694
3695 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
3696
3697         * java/net/SocketImpl.java (toString): Display the remote address
3698         of an unconnected server socket as "0.0.0.0/0.0.0.0".
3699
3700 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
3701
3702         * javax/swing/border/BevelBorder.java,
3703         javax/swing/border/EtchedBorder.java,
3704         javax/swing/border/LineBorder.java,
3705         javax/swing/border/MatteBorder.java,
3706         javax/swing/border/SoftBevelBorder.java,
3707         javax/swing/plaf/BorderUIResource.java,
3708         javax/swing/plaf/ComponentUI.java,
3709         javax/swing/plaf/TreeUI.java,
3710         javax/swing/plaf/basic/BasicBorders.java,
3711         javax/swing/plaf/basic/BasicGraphicsUtils.java,
3712         javax/swing/plaf/basic/BasicTreeUI.java:
3713         Prepend "doc-files" to all paths to embedded Javadoc images, so
3714         that the generated documentation contains the correct URL.
3715
3716 2003-08-01  Tom Tromey  <tromey@redhat.com>
3717
3718         * configure: Rebuilt.
3719         * configure.in (tool_include_dir): Redefine to match gcc.
3720
3721 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
3722             Mark Wielaard  <mark@klomp.org>
3723             
3724         * java/math/BigDecimal (divide): Correctly handle
3725         ROUND_HALF_EVEN when amount is greater than 0.5.
3726         Simplify and optimize code.
3727
3728 2003-07-31  Tom Tromey  <tromey@redhat.com>
3729
3730         More for PR libgcj/11737:
3731         * java/io/ObjectInputStream.java (processResolution): Use
3732         getMethod.
3733         (getMethod): Make method accessible.
3734         (getField): Make field accessible.
3735         (setBooleanField): Don't call setAccessible here.
3736         (setByteField, setCharField, setDoubleField, setFloatField,
3737         setIntField, setLongField, setShortField, setObjectField):
3738         Likewise.
3739         (callReadMethod): Don't check whether method is null.  Catch
3740         NoSuchMethodException.
3741         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
3742         cause on thrown exceptions.
3743
3744 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
3745
3746         Fix for PR libgcj/11728:
3747         * java/util/HashMap.java (readObject): Set size.
3748
3749 2003-07-31  Tom Tromey  <tromey@redhat.com>
3750
3751         Fix for PR libgcj/11737:
3752         * java/io/ObjectOutputStream.java (getMethod): Make method
3753         accessible.
3754         (getField): Likewise.
3755         (writeObject): Use getMethod.
3756         Import PrivilegedAction and AccessController.
3757         (callWriteMethod): Don't check whether m is null.  Catch
3758         NoSuchMethodException.
3759
3760         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
3761         (containsAngle): Likewise.
3762         (getStartPoint): Rewrote.
3763         (getEndPoint): Likewise.
3764         (setAngleStart(Point2D)): Likewise.
3765
3766 2003-07-31  Roger Sayle  <roger@eyesopen.com>
3767             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3768
3769         * configure.in: Add new THREADCXXFLAGS variable.
3770         Handle POSIX threads on alpha*-dec-osf*.
3771         * configure: Regenerate.
3772         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
3773         * Makefile.in: Regenerate.
3774
3775 2003-07-08  Andrew Haley  <aph@redhat.com>
3776
3777         * include/i386-signal.h (RESTORE): New.
3778         (INIT_SEGV): Set restorer.
3779         (INIT_FPE): Likewise.
3780
3781 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
3782
3783         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
3784         than getXLFD.
3785         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
3786         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
3787         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3788         (gtkSetFont): Scale size parameter by PANGO_SCALE.
3789         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
3790         Likewise.
3791         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
3792         Likewise.
3793
3794 2003-07-29  Tom Tromey  <tromey@redhat.com>
3795
3796         * defineclass.cc (handleField): Throw exception if field name is
3797         duplicated.
3798         (handleMethod): Throw exception for duplicate method.
3799
3800 2003-07-29  Tom Tromey  <tromey@redhat.com>
3801
3802         * gnu/gcj/convert/natIconv.cc (write): Handle case where
3803         output buffer is too small.
3804
3805 2003-07-28  Tom Tromey  <tromey@redhat.com>
3806
3807         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
3808         New method.
3809         Include gnu/gcj/runtime/StringBuffer.h.
3810         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
3811         native method.
3812         (String(gnu.gcj.runtime.StringBuffer)): Use it.
3813
3814 2003-07-27  Anthony Green  <green@redhat.com>
3815
3816         * configure.in: Fix newlib check.
3817         * configure: Rebuilt.
3818
3819 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
3820
3821         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3822         Create vbox and layout for GtkPlug.
3823
3824 2003-07-27  Michael Koch  <konqueror@gmx.de>
3825
3826         * java/awt/Window.java
3827         (Window): Removed now unused constructor. It became oboslete with the
3828         new embedded window patch.
3829
3830 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
3831             Michael Koch  <konqueror@gmx.de>
3832
3833         * gnu/java/awt/EmbeddedWindow.java
3834         (EmbeddedWindow): Extends Frame instead of Window.
3835         (window_id): New member variable to store the native window handle.
3836         (create): Removed.
3837         (EmbeddedWindow): New constructor.
3838         (addNotify): New method.
3839         (getHandler): Likewise.
3840         (setWindowPeer): New native method.
3841         * gnu/java/awt/EmbeddedWindowSupport.java
3842         (EmbeddedWindowSupport): Fixed documentation.
3843         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
3844         WindowPeer, give it an EmbeddedWindow instance instead of the raw
3845         window data.
3846         * gnu/java/awt/natEmbeddedWindow.cc
3847         (create): Removed.
3848         (setWindowPeer): New method.
3849         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
3850         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
3851         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3852         New files
3853         * gnu/java/awt/peer/gtk/GtkToolkit.java
3854         (GtkToolkit): Implements EmbeddedWindowSupport.
3855         (createEmbeddedWindow): New method.
3856         * java/awt/Window.java
3857         (Window): Removed.
3858         * Makefile.am
3859         (java_source_files): Added EmbeddedWindowPeer.java.
3860         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
3861         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
3862         * Makefile.in: Regenerated.
3863
3864 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
3865
3866         * java/lang/Win32Process.java (ConcreteProcess): Surround
3867         a command line element with quotes if it contains an
3868         embedded space or tab.
3869         * java/lang/natWin32Process.cc (startProcess): Do not
3870         surround command line elements with quotes here.
3871
3872         * configure.host: Use -fcheck-references and 
3873         -fuse-divide-subroutine for MinGW until we fix
3874         win32_exception_handler( ) in win32.cc w.r.t. Win32 
3875         Structured Exception Handling (SEH).
3876
3877         * win32.cc (_Jv_platform_initProperties): Use generic names
3878         like "x86" for the "os.arch" property to be consistent with
3879         what Sun's JDK produces. Use the wProcessorArchitecture
3880         member of the Win32 SYSTEM_INFO structure, filled in a call 
3881         to GetSystemInfo( ), instead of dwProcessorType.
3882
3883 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
3884             Ranjit Mathew  <rmathew@hotmail.com>
3885
3886         * Makefile.am: Use cross-compiling gcjh from the path for
3887         a crossed-native build.
3888         * Makefile.in: Rebuilt.
3889         * configure.in: Include libltdl in non-newlib builds.
3890         Moved determination of gcj used to build libraries to
3891         its own section. Fixed cross-compilation issues for
3892         non-newlib builds.
3893         * configure: Rebuilt.
3894
3895 2003-07-25  Tom Tromey  <tromey@redhat.com>
3896
3897         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
3898         (write): Likewise.
3899         (read): Likewise.
3900         (read): Likewise.
3901
3902 2003-07-25  Mark Wielaard  <mark@klomp.org>
3903
3904         * java/lang/natRuntime.cc (_load): Add library name to
3905         UnsatisfiedLinkError when thrown.
3906
3907 2003-07-25  Mark Wielaard  <mark@klomp.org>
3908
3909         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
3910         added.
3911         * Makefile.in: Likewise.
3912
3913 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
3914
3915         * java/awt/Component.java
3916         (getPreferredSize): Call preferredSize.
3917         (preferredSize): Moved body of getPreferredSize here.
3918         (getMinimumSize): Call minimumSize.
3919         (minimumSize): Moved body of getMinimumSize here.
3920         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
3921         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
3922         pass -1
3923         * java/awt/Container.java
3924         (validate): Don't validate if there is no peer.
3925         (update): Clear background before calling paint.
3926         * java/awt/GridBagLayout.java
3927         Completed the implementation and fixed several bugs.
3928         * java/awt/MediaTracker.java
3929         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
3930         combine flags.
3931         * java/awt/Window.java
3932         (Window): Don't call setVisible(false). Windows are invisible by
3933         default and calling virtual methods from constructor causes
3934         compatibility problems (e.g. subclasses may assume that the peer
3935         already exists).
3936
3937 2003-07-25  Michael Koch  <konqueror@gmx.de>
3938
3939         * java/awt/GridBagLayout.java:
3940         Totally reworked and partly implemented.
3941         * java/awt/GridBagLayoutInfo.java:
3942         New file.
3943
3944 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
3945
3946         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
3947         Don't pack label in an event box.
3948
3949 2003-07-24  Tom Tromey  <tromey@redhat.com>
3950
3951         For PR libgcj/7482:
3952         * verify.cc (ref_intersection): New class.
3953         (type_val): Removed unresolved_reference_type,
3954         uninitialized_unresolved_reference_type.
3955         (is_assignable_from_slow): Rewrote.
3956         (type::data): Removed.
3957         (type::klass): New field.
3958         (type::type): Added verifier argument.
3959         (type::resolve): Removed.
3960         (type::set_uninitialized): Updated for change to type_val.
3961         (type::set_initialized): Likewise.
3962         (type::isinitialized): Likewise.
3963         (type::print): Likewise.
3964         (construct_primitive_array_type): Likewise.
3965         (type::compatible): Updated for change to type_val and to use
3966         ref_intersection.
3967         (type::isarray): Updated to use ref_intersection.
3968         (type::isinterface): Likewise.
3969         (type::element_type): Likewise.
3970         (type::to_array): Likewise.
3971         (type::verify_dimensions): Rewrote.
3972         (type::merge): Likewise.
3973         (check_class_constant): Updated for type constructor change.
3974         (check_constant): Likewise.
3975         (check_field_constant): Likewise.
3976         (get_one_type): Likewise.
3977         (initialize_stack): Likewise.
3978         (verify_instructions_0): Likewise.
3979         (verify_instructions_0) [op_invokeinterface]: Removed special
3980         case.
3981         (isect_list): New field.
3982         (_Jv_BytecodeVerifier): Initialize it.
3983         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
3984
3985 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
3986
3987         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
3988         unless field size is 2.
3989
3990 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3991
3992         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
3993         (connectHooks): New method.
3994         (handleEvent): Remove.
3995         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
3996         (createHooks): Remove declaration.
3997         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3998         (generates_key_typed_event): Change to handle only certain
3999         keyvals.
4000         (awt_event_handler): Add special handling for GtkTextView.
4001         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4002         (textcomponent_commit_cb): New function.
4003         (textcomponent_changed_cb): Likewise.
4004         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4005         (connectHooks): Remove.
4006
4007 2003-07-23  Tom Tromey  <tromey@redhat.com>
4008
4009         * java/lang/natSystem.cc (arraycopy): Check for overflow.
4010
4011         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
4012
4013 2003-07-22  Tom Tromey  <tromey@redhat.com>
4014
4015         * boehm.cc (_Jv_BuildGCDescr): Wrote.
4016         Include limits.h.
4017
4018 2003-07-22  Tom Tromey  <tromey@redhat.com>
4019
4020         * java/awt/Window.java (getWarningString): Just return the
4021         string.
4022         (Window): Set warningString; check with security manager.
4023
4024 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
4025
4026         * gnu/awt/xlib/XGraphicsConfiguration.java
4027         (FontMetricsCache): Made static.
4028  
4029 2003-07-22  Tom Tromey  <tromey@redhat.com>
4030
4031         * java/net/URLEncoder.java (encode(String)): Use platform default
4032         encoding.
4033         (encode(String,String)): Convert to 2-digit upper-case hex
4034         number.
4035         (hex): New field.
4036
4037 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4038
4039         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4040         (create): Remove unused method implementation.
4041         (connectHooks): Remove debug messages.
4042
4043 2003-07-20  Anthony Green  <green@redhat.com>
4044
4045         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
4046         CloneNotSupportedException.
4047         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
4048         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
4049         * gnu/gcj/xlib/GC.java (clone): Ditto.
4050         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
4051         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
4052
4053         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
4054         handler.
4055         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
4056
4057 2003-07-20  Steve Pribyl <steve@netfuel.com.>
4058
4059         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
4060         String.  Put dlerror() message into exception.
4061         Include UnsatisfiedLinkError.
4062         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
4063         String.  Now native.
4064
4065 2003-07-20  Tom Tromey  <tromey@redhat.com>
4066
4067         * java/lang/Runtime.java: Comment fix.
4068         * java/lang/ClassLoader.java (isAncestorOf): New method.
4069         (getParent): Uncommented security check.  Use isAncestorOf.
4070         * include/jvm.h (_Jv_CheckAccess): Declare.
4071         * java/lang/reflect/natConstructor.cc (newInstance): Perform
4072         access check.
4073         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
4074         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
4075         class loader to _Jv_GetArrayClass.
4076         Include ArrayIndexOutOfBoundsException.h.
4077         * java/lang/reflect/Field.java: Update comment to reflect status.
4078         (equals): Fixed indentation.
4079         * java/lang/Class.h (Class): Declare memberAccessCheck, not
4080         checkMemberAccess.  Make _Jv_CheckAccess a friend.
4081         * java/lang/Class.java (memberAccessCheck): New method from
4082         Classpath.
4083         (checkMemberAccess): Removed.
4084         (getDeclaredMethod): Use memberAccessCheck.
4085         (getField): Likewise.
4086         (getMethod): Likewise.
4087         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
4088         (_Jv_SearchMethodInClass): Likewise.
4089         * prims.cc (_Jv_CheckAccess): New function.
4090         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
4091         (_Jv_JNI_GetAnyFieldID): Likewise.
4092         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
4093         (getClassLoader): Added security check.
4094         (getConstructor): Call memberAccessCheck.
4095         (getDeclaredClasses): Likewise.
4096         (getDeclaredField): Likewise.
4097         (getDeclaredFields): Likewise.
4098         (_getConstructors): Likewise.
4099         (getDeclaredConstructor): Likewise.
4100         (getDeclaredMethods): Likewise.
4101         (getFields): Likewise.
4102         (getMethods): Likewise.
4103         (newInstance): Likewise.
4104         (_Jv_MakeVTable): Put method name in exception.
4105         * java/lang/reflect/natMethod.cc (getType): Use
4106         getClassLoaderInternal.
4107         (_Jv_GetTypesFromSignature): Likewise.
4108         (invoke): Perform access check.
4109         (_Jv_CallAnyMethodA): Removed old FIXME comments.
4110         Include ArrayIndexOutOfBoundsException.h.
4111         * java/lang/reflect/natField.cc (getType): Use
4112         getClassLoaderInternal.
4113         (_Jv_CheckFieldAccessibility): Removed.
4114         (getAddr): Use _Jv_CheckAccess; find caller.
4115         Include ArrayIndexOutOfBoundsException.h.
4116
4117 2003-07-20  Michael Koch  <konqueror@gmx.de>
4118
4119         * java/net/URL.java
4120         (URL): Fixed documentation to name an argument correcty, Reformatted
4121         one method declaration.
4122         (getURLStreamHandler): Added documentation from classpath.
4123
4124 2003-07-19  Tom Tromey  <tromey@redhat.com>
4125
4126         * mauve-libgcj: Don't run CollationElementIterator tests.
4127
4128 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
4129
4130         * java/net/URLClassLoader.java (addURL): Moved implementation to
4131         private addURLImpl() to avoid calling addURL from the constructor.
4132         (addURLImpl): Contains the code that was previously in addURL.
4133         (addURLs): Call addURLImpl(), not addURL().
4134
4135 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4136
4137         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
4138         Handle missing event cases, connect to "value-changed" signal.
4139
4140 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4141
4142         * java/awt/geom/CubicCurve2D.java,
4143         java/awt/geom/Line2D.java,
4144         java/awt/geom/QuadCurve2D.java,
4145         java/awt/geom/Rectangle2D.java: 
4146         Fix path some calculations, make path iterators follow
4147         a consistent style.
4148
4149 2003-07-18  Mark Wielaard  <mark@klomp.org>
4150
4151         * java/util/logging/Handler.java (isLoggable): Check record level
4152         smaller or equal.
4153
4154 2003-07-17  Michael Koch  <konqueror@gmx.de>
4155
4156         * gnu/java/awt/peer/gtk/GtkToolkit.java:
4157         Reworked imports.
4158
4159 2003-07-14  Michael Koch  <konqueror@gmx.de>
4160
4161         * gnu/java/rmi/server/UnicastServerRef.java:
4162         New version from classpath.
4163
4164 2003-07-14  Michael Koch  <konqueror@gmx.de>
4165
4166         * java/awt/image/MemoryImageSource.java,
4167         java/beans/PropertyEditorManager.java,
4168         javax/naming/CompoundName.java,
4169         javax/naming/spi/NamingManager.java,
4170         javax/swing/AbstractButton.java,
4171         javax/swing/ButtonModel.java,
4172         javax/swing/SwingUtilities.java,
4173         javax/swing/UIManager.java,
4174         javax/swing/colorchooser/DefaultColorSelectionModel.java,
4175         javax/swing/event/AncestorEvent.java,
4176         javax/swing/event/InternalFrameEvent.java,
4177         java/util/zip/ZipFile.java:
4178         New versions from classpath.
4179
4180 2003-07-13  Michael Koch  <konqueror@gmx.de>
4181
4182         * gnu/java/nio/FileChannelImpl.java,
4183         gnu/java/nio/natFileChannelImpl.cc: Removed.
4184         * java/io/FileInputStream.java,
4185         java/io/FileOutputStream.java,
4186         java/io/RandomAccessFile.java,
4187         java/nio/MappedByteBufferImpl.java:
4188         Import java.nio.channels.FileChannelImpl instead of
4189         gnu.java.nio.FileChannelImpl.
4190         * java/nio/channels/FileChannelImpl.java,
4191         java/nio/channels/natFileChannelImpl.cc:
4192         New files.
4193         * Makefile.am
4194         (ordinary_java_source_files):
4195         Removed gnu/java/nio/FileChannelImpl.java and added
4196         java/nio/channels/FileChannelImpl.java.
4197         (nat source_files):
4198         Removed gnu/java/nio/natFileChannelImpl.cc and added
4199         java/nio/channels/natFileChannelImpl.cc.
4200         * Makefile.in: Regenerated.
4201
4202 2003-07-13  Michael Koch  <konqueror@gmx.de>
4203
4204         * javax/swing/plaf/basic/BasicBorders.java,
4205         javax/swing/plaf/basic/BasicLabelUI.java,
4206         javax/swing/plaf/basic/BasicLookAndFeel.java,
4207         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4208         javax/swing/plaf/basic/BasicTextUI.java,
4209         javax/swing/plaf/metal/MetalLookAndFeel.java:
4210         New versions from classpath.
4211
4212 2003-07-13  Michael Koch  <konqueror@gmx.de>
4213
4214         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
4215         * gnu/java/awt/peer/gtk/GdkGraphics.java
4216         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
4217         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
4218         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
4219         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
4220         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
4221         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
4222         * gnu/java/awt/peer/gtk/GtkClipboard.java
4223         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
4224         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4225         * gnu/java/awt/peer/gtk/GtkFramePeer.java
4226         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
4227         * gnu/java/awt/peer/gtk/GtkImage.java
4228         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4229         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
4230         * gnu/java/awt/peer/gtk/GtkListPeer.java
4231         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
4232         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
4233         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
4234         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
4235         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
4236         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
4237         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
4238         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4239         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
4240         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
4241         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4242         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4243
4244 2003-07-13  Michael Koch  <konqueror@gmx.de>
4245
4246         * gnu/java/locale/LocaleInformation_de.java
4247         * gnu/java/locale/LocaleInformation_en.java
4248         * gnu/java/locale/LocaleInformation_nl.java
4249
4250 2003-07-13  Michael Koch  <konqueror@gmx.de>
4251
4252         * gnu/java/awt/EmbeddedWindow.java,
4253         gnu/java/awt/EmbeddedWindowSupport.java,
4254         gnu/java/awt/natEmbeddedWindow.cc:
4255         New files.
4256         * java/awt/Window.java
4257         (Window): New constructor to support embedded windows.
4258         * Makefile.am
4259         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
4260         gnu/java/awt/EmbeddedWindowSupport.java.
4261         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
4262         * Makefile.in: Regenerated.
4263
4264 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
4265
4266         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
4267         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
4268         * java/awt/im/InputContext.java: Remove a redundant
4269         partial line.
4270
4271 2003-07-09  Tom Tromey  <tromey@redhat.com>
4272
4273         * Makefile.in: Rebuilt.
4274         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
4275
4276 2003-07-09  Mark Wielaard  <mark@klomp.org>
4277
4278         * java/io/ObjectOutputStream.java (writeObject): break after
4279         calling writeClassDescriptor().
4280
4281 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
4282
4283         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
4284
4285 2003-07-09  Michael Koch  <konqueror@gmx.de>
4286
4287         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4288         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4289         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4290         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
4291         Explicitly import used classes.
4292         * java/awt/Container.java: New version from classpath.
4293
4294 2003-07-09  Michael Koch  <konqueror@gmx.de>
4295
4296         * libgcj.pc.in: New file.
4297         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
4298         * Makefile.in: Regenerated.
4299         * configure: Regenrated.
4300         * configure.in: Create libgcj.pc from libgcj.pc.in.
4301
4302 2003-07-08  Mark Wielaard <mark@klomp.org>
4303
4304         * gcj/cni.h: CNI now expands to Compiled Native Interface.
4305
4306         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
4307         * java/lang/fdlibm.h: Likewise.
4308
4309 2003-07-07  Adam Megacz <adam@xwt.org>
4310
4311         * posix.cc: added #include<stdio.h>
4312                 
4313 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
4314
4315         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
4316         formatting.
4317
4318         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4319         (setCaretPosition, setEditable): Rely entirely on native
4320         implementation.
4321         (getArgs): Remove.
4322         (postTextEvent): New method.
4323         (handleEvent): New method.
4324         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
4325         method.
4326         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
4327         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4328         (keysym_to_awt_keycode): Fix range checks.
4329         (generates_key_typed_event): New function.
4330         (awt_event_handler): Post AWT_KEY_RELEASED events to event
4331         queue.
4332         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4333         (gtkInit): Store TextComponent's postTextEvent method ID.
4334         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4335         (setText): Post TEXT_VALUE_CHANGED event to event queue.
4336
4337 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4338
4339         * configure.in: Check for usleep declaration.
4340         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
4341         * configure: Regenerate.
4342         * include/config.h.in: Likewise.
4343         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
4344
4345 2003-07-01  Michael Koch  <konqueror@gmx.de>
4346
4347         * gnu/gcj/convert/natIconv.cc
4348         (iconv_init): Fixed possible memory leak by releasing allocated iconv
4349         handle.
4350
4351 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
4352
4353         * glib-2.0.m4: New file.
4354         * gtk-2.0.m4: New file.
4355         * glib.m4: Remove.
4356         * gtk.m4: Remove.
4357         * configure.in: Update AM_PATH_GTK macro call to
4358         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
4359         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4360         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4361         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4362         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4363         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4364         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4365         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4366         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4367         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4368         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4369         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4370         jni/gtk-peer/gthread-jni.c,
4371         jni/gtk-peer/gthread-jni.h:
4372         New versions from classpath.
4373         * aclocal.m4: Regenerate.
4374         * configure: Regenerate.
4375         * Makefile.in: Regenerate.
4376         * gcj/Makefile.in: Regenerate.
4377         * include/Makefile.in: Regenerate.
4378         * testsuite/Makefile.in: Regenerate.
4379
4380 2003-06-30  Gary Benson  <gbenson@redhat.com>
4381
4382         For PR libgcj/11349:
4383         * javax/naming/spi/NamingManager.java (getURLContext): Use
4384         correct name for factory class.
4385
4386 2003-06-28  Michael Koch  <konqueror@gmx.de>
4387
4388         * java/io/PrintStream.java
4389         (checkError): Call flush() instead of direct flushing of the Writer
4390         object.
4391         (print): Call print(String) instead of direct print method of the
4392         Writer Object.
4393         (println): Call println(String) instead of direct println method of the
4394         Writer Object.
4395         (write): Simplified.
4396
4397 2003-06-28  Michael Koch  <konqueror@gmx.de>
4398
4399         * java/net/ServerSocket.java
4400         (setChannel): New method.
4401         * java/net/Socket.java
4402         (setChannel): New method.
4403
4404 2003-06-27  Michael Koch  <konqueror@gmx.de>
4405
4406         * java/beans/beancontext/BeanContextSupport.java:
4407         New version from classpath.
4408
4409 2003-06-27  Michael Koch  <konqueror@gmx.de>
4410
4411         * java/awt/Window.java,
4412         java/awt/font/GraphicAttribute.java,
4413         java/awt/font/ImageGraphicAttribute.java,
4414         java/awt/image/DataBufferByte.java,
4415         java/awt/image/DataBufferInt.java,
4416         java/awt/image/DataBufferUShort.java,
4417         java/awt/image/DirectColorModel.java,
4418         java/awt/image/PixelGrabber.java:
4419         New versions from classpath.
4420
4421 2003-06-27  Michael Koch  <konqueror@gmx.de>
4422
4423         * java/security/Certificate.java
4424         (getGuarantor): Removed wrong @deprecated tag.
4425         (getPrincipal): Likewise.
4426         (getPublicKey): Likewise.
4427         (encode): Likewise.
4428         (decode): Likewise.
4429         (getFormat): Likewise.
4430         (toString): Likewise.
4431         * java/security/cert/PolicyQualifierInfo.java
4432         (PolicyQualifierInfo): Made final.
4433         * javax/security/auth/x500/X500Principal.java
4434         (serialVersionUID): New member variable.
4435
4436 2003-06-27  Michael Koch  <konqueror@gmx.de>
4437
4438         * java/text/Format.java
4439         (serialVersionUID): Fixed value.
4440
4441 2003-06-27  Michael Koch  <konqueror@gmx.de>
4442
4443         * java/net/Inet4Address.java
4444         (Inet4Address): Made package-private.
4445         * java/net/Inet6Address.java
4446         (Inet4Address): Made package-private.
4447
4448 2003-06-27  Michael Koch  <konqueror@gmx.de>
4449
4450         * java/io/RandomAccessFile.java
4451         (readLine): Removed wrong @deprecated tag.
4452         (getChannel): Made final.
4453
4454 2003-06-27  Michael Koch  <konqueror@gmx.de>
4455
4456         * gnu/java/nio/FileChannelImpl.java
4457         (write): Removed.
4458
4459 2003-06-27  Michael Koch  <konqueror@gmx.de>
4460
4461         * java/nio/ByteBufferImpl.java
4462         (ByteBufferImpl): Made it a package-private class
4463         * java/nio/CharBufferImpl.java
4464         (CharBufferImpl): Made it a package-private class
4465         * java/nio/DirectByteBufferImpl.java
4466         (DirectByteBufferImpl): Made it a package-private class
4467         * java/nio/DoubleBufferImpl.java
4468         (DoubleBufferImpl): Made it a package-private class
4469         * java/nio/FloatBufferImpl.java
4470         (FloatBufferImpl): Made it a package-private class
4471         * java/nio/IntBufferImpl.java
4472         (IntBufferImpl): Made it a package-private class
4473         * java/nio/LongBufferImpl.java
4474         (LongBufferImpl): Made it a package-private class
4475         * java/nio/ShortBufferImpl.java
4476         (ShortBufferImpl): Made it a package-private class
4477         * java/nio/channels/FileChannel.java
4478         (write): Made final.
4479         * java/nio/channels/ServerSocketChannel.java
4480         (ServerSocketChanne): Made protected.
4481
4482 2003-06-27  Michael Koch  <konqueror@gmx.de>
4483
4484         * javax/naming/CompositeName.java
4485         (serialVersionUID): New member variable.
4486         * javax/naming/CompoundName.java
4487         (serialVersionUID): New member variable.
4488         * javax/naming/InitialContext.java
4489         (InitialContext): Throws NamingException.
4490         (init): Likewise.
4491         * javax/naming/LinkRef.java
4492         (serialVersionUID): New member variable.
4493         (gteLinkName): Throws NamingException.
4494         * javax/naming/NamingException.java
4495         (serialVersionUID): New member variable.
4496         * javax/naming/NamingSecurityException.java
4497         (NamingSecurityException): Made abstract.
4498         (serialVersionUID): New member variable.
4499         * javax/naming/ReferralException.java
4500         (serialVersionUID): New member variable.
4501         * javax/naming/StringRefAddr.java
4502         (serialVersionUID): New member variable.
4503         * javax/naming/directory/BasicAttribute.java:
4504         Reworked imports.
4505         (serialVersionUID): New member variable.
4506         (get): Throws NamingException.
4507         (getAll): Throws NamingException.
4508         * javax/naming/directory/BasicAttributes.java:
4509         Reworked imports.
4510         (serialVersionUID): New member variable.
4511         * javax/naming/ldap/UnsolicitedNotificationEvent.java
4512         (serialVersionUID): New member variable.
4513
4514 2003-06-27  Michael Koch  <konqueror@gmx.de>
4515
4516         * Makefile.am
4517         (awt_java_source_files): Added new files:
4518         javax/swing/Popup.java,
4519         javax/swing/PopupFactory.java
4520         * Makefile.in: Regenerated.
4521
4522 2003-06-27  Michael Koch  <konqueror@gmx.de>
4523
4524         * javax/swing/JWindow.java,
4525         javax/swing/event/AncestorEvent.java,
4526         javax/swing/event/HyperlinkEvent.java,
4527         javax/swing/event/InternalFrameEvent.java,
4528         javax/swing/event/ListDataEvent.java,
4529         javax/swing/event/TableModelEvent.java,
4530         javax/swing/plaf/PopupMenuUI.java,
4531         javax/swing/plaf/SplitPaneUI.java,
4532         javax/swing/plaf/TabbedPaneUI.java,
4533         javax/swing/plaf/TextUI.java,
4534         javax/swing/plaf/TreeUI.java,
4535         javax/swing/plaf/basic/BasicTextUI.java,
4536         javax/swing/plaf/basic/BasicTreeUI.java:
4537         New versions from classpath.
4538         * javax/swing/Popup.java,
4539         javax/swing/PopupFactory.jav:
4540         New source files from classpath.
4541         * javax/swing/plaf/doc-files/TreeUI-1.png:
4542         New binary files from classpath.
4543
4544 2003-06-25  Michael Koch  <konqueror@gmx.de>
4545
4546         * Makefile.am
4547         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
4548         * Makefile.in: Regenerated.
4549
4550 2003-06-25  Michael Koch  <konqueror@gmx.de>
4551
4552         * javax/swing/plaf/ActionMapUIResource.java,
4553         javax/swing/plaf/BorderUIResource.java,
4554         javax/swing/plaf/ButtonUI.java,
4555         javax/swing/plaf/ColorChooserUI.java,
4556         javax/swing/plaf/ColorUIResource.java,
4557         javax/swing/plaf/ComboBoxUI.java,
4558         javax/swing/plaf/ComponentInputMapUIResource.java,
4559         javax/swing/plaf/ComponentUI.java,
4560         javax/swing/plaf/DesktopIconUI.java,
4561         javax/swing/plaf/DesktopPaneUI.java,
4562         javax/swing/plaf/DimensionUIResource.java,
4563         javax/swing/plaf/FileChooserUI.java,
4564         javax/swing/plaf/FontUIResource.java,
4565         javax/swing/plaf/IconUIResource.java,
4566         javax/swing/plaf/InputMapUIResource.java,
4567         javax/swing/plaf/InsetsUIResource.java,
4568         javax/swing/plaf/InternalFrameUI.java,
4569         javax/swing/plaf/LabelUI.java,
4570         javax/swing/plaf/ListUI.java,
4571         javax/swing/plaf/MenuBarUI.java,
4572         javax/swing/plaf/MenuItemUI.java,
4573         javax/swing/plaf/OptionPaneUI.java,
4574         javax/swing/plaf/PanelUI.java,
4575         javax/swing/plaf/ProgressBarUI.java,
4576         javax/swing/plaf/RootPaneUI.java,
4577         javax/swing/plaf/ScrollBarUI.java,
4578         javax/swing/plaf/ScrollPaneUI.java,
4579         javax/swing/plaf/SeparatorUI.java,
4580         javax/swing/plaf/SliderUI.java,
4581         javax/swing/plaf/TableHeaderUI.java,
4582         javax/swing/plaf/TableUI.java,
4583         javax/swing/plaf/ToolBarUI.java,
4584         javax/swing/plaf/ToolTipUI.java,
4585         javax/swing/plaf/ViewportUI.java:
4586         New versions from classpath.
4587         * javax/swing/plaf/SpinnerUI.java: 
4588         New file from classpath
4589
4590 2003-06-25  Michael Koch  <konqueror@gmx.de>
4591
4592         * java/awt/image/ColorModel.java:
4593         New version from classpath.
4594
4595 2003-06-25  Michael Koch  <konqueror@gmx.de>
4596
4597         * java/net/PlainDatagramSocketImpl.java:
4598         Partly merged with classpath, this mainly adds documentation.
4599
4600 2003-06-25  Michael Koch  <konqueror@gmx.de>
4601
4602         * java/io/ObjectInputStream.java
4603         (readClassDescriptor): New method.
4604         (readObject): Moved functionality to readClassDescriptor().
4605         * java/io/ObjectOutputStream.java
4606         (writeClassDescriptor): New method.
4607         (writeObject): Moved functionality to writeClassDescriptor().
4608
4609 2003-06-25  Michael Koch  <konqueror@gmx.de>
4610
4611         * javax/swing/plaf/basic/BasicListUI.java,
4612         javax/swing/plaf/basic/BasicOptionPaneUI.java:
4613         Added missing methods.
4614
4615 2003-06-25  Michael Koch  <konqueror@gmx.de>
4616
4617         * javax/swing/event/AncestorEvent.java
4618         javax/swing/event/HyperlinkEvent.java
4619         javax/swing/event/InternalFrameEvent.java
4620         javax/swing/event/ListDataEvent.java
4621         javax/swing/event/TableModelEvent.java:
4622         Compile fixes.
4623
4624 2003-06-24  Michael Koch  <konqueror@gmx.de>
4625
4626         * java/net/URL.java:
4627         Renamed "handler" to "ph" in the whole file to match classpaths
4628         version.
4629         * java/net/URLStreamHandler.java:
4630         (equals): Renamed "handler" to "ph".
4631
4632 2003-06-24  Michael Koch  <konqueror@gmx.de>
4633
4634         * javax/swing/event/AncestorEvent.java,
4635         javax/swing/event/HyperlinkEvent.java,
4636         javax/swing/event/InternalFrameEvent.java,
4637         javax/swing/event/ListDataEvent.java,
4638         javax/swing/event/TableModelEvent.java,
4639         javax/swing/event/TreeWillExpandListener.java,
4640         javax/swing/plaf/ComponentUI.java,
4641         javax/swing/plaf/DesktopIconUI.java,
4642         javax/swing/plaf/DesktopPaneUI.java,
4643         javax/swing/plaf/DimensionUIResource.java,
4644         javax/swing/plaf/FileChooserUI.java,
4645         javax/swing/plaf/FontUIResource.java,
4646         javax/swing/plaf/IconUIResource.java,
4647         javax/swing/plaf/InputMapUIResource.java,
4648         javax/swing/plaf/InsetsUIResource.java,
4649         javax/swing/plaf/InternalFrameUI.java,
4650         javax/swing/plaf/LabelUI.java,
4651         javax/swing/plaf/ListUI.java,
4652         javax/swing/plaf/MenuBarUI.java,
4653         javax/swing/plaf/MenuItemUI.java,
4654         javax/swing/plaf/OptionPaneUI.java,
4655         javax/swing/plaf/PanelUI.java,
4656         javax/swing/plaf/ProgressBarUI.java,
4657         javax/swing/plaf/doc-files/ComponentUI-1.dia,
4658         javax/swing/plaf/doc-files/ComponentUI-1.png:
4659         New versions from classpath.
4660
4661 2003-06-24  Michael Koch  <konqueror@gmx.de>
4662
4663         * java/nio/Buffer.java
4664         (cap): Made package-private.
4665         (pos): Likewise.
4666         (limit): Likewise.
4667         (mark): Likewise.
4668
4669 2003-06-24  Michael Koch  <konqueror@gmx.de>
4670
4671         * java/net/SocketImpl.java
4672         (shutdownInput): Made it non-abstract method throwing an exception
4673         like in SUNs JRE.
4674         (shutdownOutput): Likewise.
4675         * java/net/SocketInputStream.java,
4676         java/net/SocketOutputStream.java:
4677         New files from classpath.
4678
4679 2003-06-24  Michael Koch  <konqueror@gmx.de>
4680
4681         * java/awt/Font.java,
4682         java/awt/Window.java,
4683         java/awt/color/ColorSpace.java,
4684         java/awt/datatransfer/StringSelection.java,
4685         java/awt/image/ColorModel.java:
4686         New versions from classpath.
4687
4688 2003-06-24  Michael Koch  <konqueror@gmx.de>
4689
4690         * Makefile.am
4691         (awt_java_source_files): Added new files:
4692         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4693         javax/swing/plaf/basic/BasicSplitPaneUI.java
4694         * Makefile.in: Regenerated.
4695
4696 2003-06-24  Michael Koch  <konqueror@gmx.de>
4697
4698         * javax/swing/text/JTextComponent.java:
4699         New version from classpath.
4700
4701 2003-06-24  Michael Koch  <konqueror@gmx.de>
4702
4703         * javax/swing/Timer.java,
4704         javax/swing/plaf/ActionMapUIResource.java,
4705         javax/swing/plaf/ButtonUI.java,
4706         javax/swing/plaf/ColorChooserUI.java,
4707         javax/swing/plaf/ColorUIResource.java,
4708         javax/swing/plaf/ComboBoxUI.java,
4709         javax/swing/plaf/ComponentInputMapUIResource.java,
4710         javax/swing/plaf/basic/BasicBorders.java:
4711         New versions from classpath.
4712         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
4713         javax/swing/plaf/basic/BasicSplitPaneUI.java:
4714         New file from classpath.
4715         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
4716         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
4717         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
4718         javax/swing/plaf/doc-files/ComponentUI-1.dia,
4719         javax/swing/plaf/doc-files/ComponentUI-1.png:
4720         New binary files from classpath.
4721
4722 2003-06-24  Michael Koch  <konqueror@gmx.de>
4723
4724         * java/io/LineNumberReader.java
4725         (skip): Dont do line number accounting here as this is already done in
4726         read(), simplified.
4727
4728 2003-06-21  Michael Koch  <konqueror@gmx.de>
4729
4730         * java/io/File.java
4731         (static): Load javaio lib if existing (only in classpath).
4732         (File): Revised documentation to show the correct argument name.
4733         (createTempFile): Partly merged with classpath.
4734         (compareTo): Simplified.
4735         (lastModified): Throw exception if time < 0.
4736         (deleteOnExit): Revised documentation.
4737
4738 2003-06-21  Michael Koch  <konqueror@gmx.de>
4739
4740         * java/net/PlainSocketImpl.java:
4741         Reformatted.
4742         (PlainSocketImpl): Merged class documentaion with classpath.
4743         (in): Moved.
4744         (out): Moved.
4745         (PlainSocketImpl): New empty constructor.
4746         (finalize): Moved.
4747         (setOption): Merged documentation from classpath.
4748         (getOption): Likewise.
4749         (create): Likewise.
4750         (connect): Likewise.
4751         (bind): Likewise.
4752         (listen): Likewise.
4753         (accept): Likewise.
4754         (available): Likewise.
4755         (close): Likewise.
4756         (read): Likewise.
4757         (write): Likewise.
4758         (getInputStream): Made synchronozed to get sure that only one stream
4759         object can be created for this socket, merged documentation from
4760         classpath.
4761         (getOutputStream): Likewise.
4762
4763 2003-06-21  Michael Koch  <konqueror@gmx.de>
4764
4765         * java/net/PlainSocketImpl.java:
4766         Reformatting.
4767         (static): New implicit method.
4768         (read): Made package private.
4769         (write): Likewise.
4770
4771 2003-06-21  Michael Koch  <konqueror@gmx.de>
4772
4773         * java/util/SimpleTimeZone.java:
4774         Removed unneeded import, reformatting.
4775
4776 2003-06-21  Michael Koch  <konqueror@gmx.de>
4777
4778         * java/text/DateFormat.java,
4779         java/text/SimpleDateFormat.java,
4780         java/util/Locale.java:
4781         New versions from classpath.
4782
4783 2003-06-21  Michael Koch  <konqueror@gmx.de>
4784
4785         * javax/swing/SpinnerModel.java:
4786         New file from classpath.
4787         * javax/swing/border/LineBorder.java,
4788         javax/swing/border/SoftBevelBorder.java,
4789         javax/swing/plaf/BorderUIResource.java,
4790         javax/swing/plaf/basic/BasicBorders.java:
4791         New versions from classpath.
4792         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
4793         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
4794         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
4795         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
4796         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
4797         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
4798         New binary files from classpath.
4799
4800 2003-06-21  Michael Koch  <konqueror@gmx.de>
4801
4802         * java/util/logging/LogRecord.java,
4803         java/util/logging/Logger.java,
4804         java/util/logging/SocketHandler.java,
4805         java/util/logging/SimpleFormatter.java,
4806         java/util/logging/Formatter.java,
4807         java/util/logging/ErrorManager.java,
4808         java/util/logging/Handler.java,
4809         java/util/logging/FileHandler.java,
4810         java/util/logging/LogManager.java,
4811         java/util/logging/Level.java,
4812         java/util/logging/ConsoleHandler.java,
4813         java/util/logging/StreamHandler.java,
4814         java/util/logging/LoggingPermission.java,
4815         java/util/logging/Filter.java,
4816         java/util/logging/MemoryHandler.java,
4817         java/util/logging/XMLFormatter.java:
4818         New files from classpath.
4819
4820 2003-06-20  Michael Koch  <konqueror@gmx.de>
4821
4822         * java/io/ObjectStreamField.java
4823         (unshared): new member variable.
4824         (ObjectStreamField): New constructor.
4825         (isUnshared): New method.
4826
4827 2003-06-20  Michael Koch  <konqueror@gmx.de>
4828
4829         * java/net/URLStreamHandler.java
4830         (hostsEqual): Rewritten.
4831
4832 2003-06-20  Michael Koch  <konqueror@gmx.de>
4833
4834         * gnu/java/nio/MappedByteFileBuffer.java,
4835         gnu/java/nio/natMappedByteFileBuffer.cc:
4836         Removed
4837         * java/nio/MappedByteBufferImpl.java:
4838         New file.
4839         * gnu/java/nio/FileChannelImpl.java:
4840         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
4841         * Makefile.am
4842         (ordinary_java_source_files): Removed
4843         gnu/java/nio/MappedByteFileBuffer.java and added
4844         java/nio/MappedByteBufferImpl.java.
4845         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
4846         * Makefile.in: Regenerated.
4847
4848 2003-06-19  Michael Koch  <konqueror@gmx.de>
4849
4850         * gnu/java/nio/DatagramChannelImpl.java
4851         (fd): Removed.
4852         (blocking): New member variable.
4853         (socket): Likewise.
4854         (DatagramChannelImpl): Throws IOException, initialize socket.
4855         (socket):Implemented.
4856         (implCloseSelectableChannel): Throws IOException, implemented.
4857         (implConfigureBlocking): Likewise.
4858         (connect): Likewise.
4859         (disconnect): Likewise.
4860         (isConnected): Likewise.
4861         (write): Likewise.
4862         (read): Likewise.
4863         (receive): Throws IOException.
4864         (send): Likewise.
4865         * gnu/java/nio/SocketChannelImpl.java
4866         (read): Implemented.
4867         (write): Implemented.
4868
4869 2003-06-19  Michael Koch  <konqueror@gmx.de>
4870
4871         * javax/swing/JComponent.java,
4872         javax/swing/JInternalFrame.java,
4873         javax/swing/MenuSelectionManager.java,
4874         javax/swing/SwingUtilities.java,
4875         javax/swing/ToggleButtonModel.java:
4876         New versions from classpath.
4877
4878 2003-06-19  Michael Koch  <konqueror@gmx.de>
4879
4880         * java/text/CollationElementIterator.java
4881         (NULLORDER): Initialize with -1 as JDK documentation says.
4882
4883 2003-06-19  Michael Koch  <konqueror@gmx.de>
4884
4885         * java/net/HttpURLConnection.java,
4886         java/net/Inet4Address.java,
4887         java/net/Inet6Address.java,
4888         java/net/SocketImpl.java,
4889         java/net/URLClassLoader.java:
4890         Reworked import statements.
4891         * java/net/InetAddress.java
4892         (getByAddress): Simplified.
4893         * java/net/ServerSocket.java
4894         (ServerSocket): Moved special handling during bind operation to
4895         bind().
4896         (bind): Handle different cases when trying to bind a socket.
4897         * java/net/URLConnection.java
4898         (getHeaderFieldDate): Merged with classpath.
4899         (getHeaderFieldInt): Likewise.
4900
4901 2003-06-19  Michael Koch  <konqueror@gmx.de>
4902
4903         * java/util/zip/InflaterInputStream.java
4904         (InflaterInputStream): Throw NullPointerException if in is null (as
4905         JDK does).
4906
4907 2003-06-19  Michael Koch  <konqueror@gmx.de>
4908
4909         * java/awt/Font.java
4910         javax/swing/UIManager.java
4911         javax/swing/border/AbstractBorder.java
4912         javax/swing/border/BevelBorder.java
4913         javax/swing/border/Border.java
4914         javax/swing/border/CompoundBorder.java
4915         javax/swing/border/EmptyBorder.java
4916         javax/swing/border/EtchedBorder.java
4917         javax/swing/border/LineBorder.java
4918         javax/swing/border/MatteBorder.java
4919         javax/swing/border/TitledBorder.java
4920         javax/swing/plaf/BorderUIResource.java
4921         javax/swing/plaf/basic/BasicBorders.java
4922         javax/swing/plaf/basic/BasicButtonUI.java
4923         javax/swing/plaf/basic/BasicCheckBoxUI.java
4924         javax/swing/plaf/basic/BasicGraphicsUtils.java
4925         javax/swing/plaf/basic/BasicLabelUI.java
4926         javax/swing/plaf/basic/BasicRadioButtonUI.java
4927         javax/swing/plaf/basic/BasicToggleButtonUI.java:
4928         New versions from classpath.
4929         * javax/swing/border/SoftBevelBorder.java:
4930         New file from classpath.
4931         * javax/swing/border/doc-files/LineBorder-1.png,
4932         javax/swing/border/doc-files/BevelBorder-1.png,
4933         javax/swing/border/doc-files/BevelBorder-2.png,
4934         javax/swing/border/doc-files/BevelBorder-3.png,
4935         javax/swing/border/doc-files/EmptyBorder-1.png,
4936         javax/swing/border/doc-files/EtchedBorder-1.png,
4937         javax/swing/border/doc-files/EtchedBorder-2.png,
4938         javax/swing/border/doc-files/MatteBorder-1.png,
4939         javax/swing/border/doc-files/MatteBorder-2.png,
4940         javax/swing/border/doc-files/MatteBorder-3.png,
4941         javax/swing/border/doc-files/MatteBorder-4.png,
4942         javax/swing/border/doc-files/MatteBorder-5.png,
4943         javax/swing/border/doc-files/MatteBorder-6.png,
4944         javax/swing/border/doc-files/SoftBevelBorder-1.png,
4945         javax/swing/border/doc-files/SoftBevelBorder-2.png,
4946         javax/swing/border/doc-files/SoftBevelBorder-3.png,
4947         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
4948         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
4949         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
4950         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
4951         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
4952         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
4953         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
4954         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
4955         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
4956         New binary files from classpath.
4957         * Makefile.am
4958         (awt_java_source_files): Added
4959         javax/swing/border/SoftBevelBorder.java.
4960         * Makefile.in: Regenerated.
4961
4962 2003-06-19  Michael Koch  <konqueror@gmx.de>
4963
4964         * gnu/java/security/x509/X509Certificate.java
4965         (writeReplace): Merged from classpath.
4966
4967 2003-06-19  Michael Koch  <konqueror@gmx.de>
4968
4969         * gnu/java/nio/FileChannelImpl.java
4970         (map_address): Made public.
4971         (FileChannelImpl): Merged with classpath.
4972         * gnu/java/nio/natFileChannelImpl.cc
4973         (nio_mmap_file): Commented out unused arguments.
4974         (nio_unmmap_file): Likewise.
4975         (niu_msync): Likewise.
4976
4977 2003-06-19  Michael Koch  <konqueror@gmx.de>
4978
4979         * java/awt/image/IndexColorModel.java:
4980         New version from classpath.
4981
4982 2003-06-18  Tom Tromey  <tromey@redhat.com>
4983
4984         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
4985         on arrays.
4986         (isLoopbackAddress): Likewise.
4987         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
4988         on arrays.
4989
4990 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
4991
4992         * java/lang/natVMSecurityManager.cc (getClassContext):
4993         Use maxlen instead of len for loop bound.
4994
4995 2003-06-18  Michael Koch  <konqueror@gmx.de>
4996
4997         * gnu/java/nio/SelectorImpl.java
4998         (register): Use fd with value 0 for now, will be fixed later.
4999         * gnu/java/nio/ServerSocketChannelImpl.java
5000         (fd): Removed.
5001         (local_port): Removed.
5002         (InetSocketAddress): Removed.
5003         (ServerSocketChannelImpl): Just initialize internal socket object.
5004         (implCloseSelectableChannel): Close internal socket object.
5005         (implConfigureBlocking): Added comment.
5006         (accept): Use jaba.net stuff to accept socket.
5007         * gnu/java/nio/SocketChannelImpl.java
5008         (fd): Removed.
5009         (local_port): Removed.
5010         (InetSocketAddress): Removed.
5011         (SocketCreate): Removed.
5012         (SocketConnect): Removed.
5013         (SocketBind): Removed.
5014         (SocketListen): Removed.
5015         (SocketAvailable): Removed.
5016         (SocketClose): Removed.
5017         (SocketRead): Removed.
5018         (SocketWrite): Removed.
5019         (SocketChannelImpl): Just initialize internal socket object.
5020         (implCloseSelectableChannel): Close internal socket object.
5021         (implConfigureBlocking): Fixed implementation, added comment.
5022         (connect): Use internal socket object to connect.
5023         (socket): No need for sanity checks.
5024         (read): Comment out some stuff, this will be reimplemented in the next
5025         commit.
5026         (write): Likewise.
5027         * gnu/java/nio/natFileChannelImpl.cc
5028         (nio_mmap_file): Line wrapped.
5029         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
5030         * Makefile.am
5031         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
5032         * Makefile.in: Regenerated.
5033
5034 2003-06-18  Michael Koch  <konqueror@gmx.de>
5035
5036         * java/util/Locale.java
5037         (equals): Merged from classpath.
5038
5039 2003-06-18  Michael Koch  <konqueror@gmx.de>
5040
5041         * java/net/InetAddress.java:
5042         Reformatted to better match classpath's version.
5043         * java/net/URL.java
5044         (equals): Simplified.
5045         * java/net/URLConnection.java
5046         (setDoInput): Revised documentation.
5047         (getDefaultUseCaches): Likewise.
5048         (setRequestProperty): Added @since tag.
5049
5050 2003-06-17  Michael Koch  <konqueror@gmx.de>
5051
5052         * java/net/InetSocketAddress.java
5053         (InetSocketAddress): Use wildcard address if addr is null.
5054         (InetSocketAddress): Dont duplicate implementation.
5055         (InetSocketAddress): Throw exception when hostname is null.
5056         * java/net/Socket.java:
5057         Reworked imports.
5058         (Socket): Throw exception when raddr is null, handle case when laddr
5059         is null.
5060
5061 2003-06-17  Michael Koch  <konqueror@gmx.de>
5062
5063         * java/nio/DirectByteBufferImpl.java
5064         (address): Made package private.
5065         (DirectByteBufferImpl): New constructor.
5066         * java/nio/natDirectByteBufferImpl.cc
5067         (allocateImpl): Moved to java.nio namespace, implemented.
5068         (freeImpl): Likewise.
5069         (getImpl): Likewise.
5070         (putImpl): Likewise.
5071         * jni.cc
5072         (_Jv_JNI_NewDirectByteBuffer): Implemented.
5073         (_Jv_JNI_GetDirectBufferAddress): Implemented.
5074         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
5075
5076 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5077
5078         * include/powerpc-signal.h: New File.
5079         * configure.in: Use it.
5080         * configure: Regenerated.
5081
5082 2003-06-17  Michael Koch  <konqueror@gmx.de>
5083
5084         * java/util/Locale.java
5085         (getDisplayLanguage): Made it final.
5086         (getDisplayCountry): Likewise.
5087         (getDisplayVariant): Likewise.
5088         (getDisplayName): Likewise.
5089
5090 2003-06-17  Michael Koch  <konqueror@gmx.de>
5091
5092         * java/util/PropertyResourceBundle.java:
5093         Removed unneeded import.
5094
5095 2003-06-17  Michael Koch  <konqueror@gmx.de>
5096
5097         * java/util/prefs/AbstractPreferences.java,
5098         java/util/prefs/PreferencesFactory.java:
5099         Reworked imports, removed unused imports.
5100         * java/util/prefs/Preferences.java
5101         (systemNodeForPackage): Method takes a Class not an Object.
5102         (userNodeForPackage): Likewise.
5103         (nodeForPackage): Likewise.
5104
5105 2003-06-17  Michael Koch  <konqueror@gmx.de>
5106
5107         * gnu/java/security/x509/X509Certificate.java:
5108         Explicitely import used classes.
5109
5110 2003-06-17  Michael Koch  <konqueror@gmx.de>
5111
5112         * java/util/zip/ZipEntry.java,
5113         java/util/zip/ZipFile.java,
5114         java/util/zip/ZipInputStream.java,
5115         java/util/zip/ZipOutputStream.java:
5116         Reworked imports, only import used classes.
5117
5118 2003-06-17  Michael Koch  <konqueror@gmx.de>
5119
5120         * gnu/java/lang/ArrayHelper.java,
5121         gnu/java/lang/ClassHelper.java:
5122         Reformatted to match classpath's versions.
5123
5124 2003-06-14  Michael Koch  <konqueror@gmx.de>
5125
5126         * gnu/java/nio/FileChannelImpl.java
5127         (map_address): Removed incorrect comment.        
5128         * gnu/java/nio/SelectorImpl.java
5129         (register): Remove code duplication and code for file channel handling.        
5130         * gnu/java/nio/ServerSocketChannelImpl.java
5131         (serverSocket): Renamed from sock_object.
5132         (ServerSocketChannel): Initialize serverSocket.
5133         (socket): Return serverSocket.
5134         * gnu/java/nio/SocketChannelImpl.java
5135         (socket): Renamed from sock_object.
5136         (isConnectionPenging): Simplified.
5137         (socket): Return socket.
5138 2003-06-14  Michael Koch  <konqueror@gmx.de>
5139
5140         * java/security/BasicPermission.java:
5141         New version from classpath.
5142
5143 2003-06-14  Michael Koch  <konqueror@gmx.de>
5144
5145         * javax/naming/directory/Attribute.java:
5146         New version from classpath.
5147
5148 2003-06-14  Michael Koch  <konqueror@gmx.de>
5149
5150         * java/io/BufferedReader.java,
5151         java/io/FileOutputStream.java:
5152         New versions from classpath.
5153
5154 2003-06-12  Andrew Haley  <aph@redhat.com>
5155
5156         * prims.cc (catch_segv): Create exception in handler.
5157         (catch_fpe): Likewise.  
5158         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
5159         (_Jv_ThrowSignal): Remove.
5160
5161         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
5162         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
5163         to nullp and arithexception.
5164         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5165         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5166         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5167         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5168         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5169
5170 2003-06-11  Andrew Haley  <aph@redhat.com>
5171
5172         * jni.cc (_Jv_JNI_check_types): New.
5173         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
5174         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
5175         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
5176         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
5177         
5178         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
5179         infinite loop.
5180
5181 2003-06-11  Tom Tromey  <tromey@redhat.com>
5182
5183         * java/lang/ClassLoader.java (loadClass): Not deprecated.
5184         * java/io/PrintStream.java: Not deprecated.
5185
5186 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
5187
5188         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
5189         (fillOval): implemented
5190         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
5191         (fillArc): implemented.
5192         * gnu/gcj/xlib/GC.java (drawArc): added native method.
5193         (fillArc): added native method.
5194         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
5195         (fillArc): added native method.
5196
5197 2003-06-11  Michael Koch  <konqueror@gmx.de>
5198
5199         * java/awt/im/InputSubset.java:
5200         New version from classpath.
5201
5202 2003-06-11  Michael Koch  <konqueror@gmx.de>
5203
5204         * javax/swing/AbstractAction.java,
5205         javax/swing/AbstractButton.java,
5206         javax/swing/AbstractCellEditor.java,
5207         javax/swing/AbstractListModel.java,
5208         javax/swing/BorderFactory.java,
5209         javax/swing/Box.java,
5210         javax/swing/BoxLayout.java,
5211         javax/swing/ButtonGroup.java,
5212         javax/swing/DefaultButtonModel.java,
5213         javax/swing/DefaultListModel.java,
5214         javax/swing/DefaultListSelectionModel.java,
5215         javax/swing/FocusManager.java,
5216         javax/swing/ImageIcon.java,
5217         javax/swing/InputMap.java,
5218         javax/swing/JApplet.java,
5219         javax/swing/JButton.java,
5220         javax/swing/JCheckBox.java,
5221         javax/swing/JCheckBoxMenuItem.java,
5222         javax/swing/JColorChooser.java,
5223         javax/swing/JComboBox.java,
5224         javax/swing/JComponent.java,
5225         javax/swing/JDesktopPane.java,
5226         javax/swing/JDialog.java,
5227         javax/swing/JEditorPane.java,
5228         javax/swing/JFileChooser.java,
5229         javax/swing/JFormattedTextField.java,
5230         javax/swing/JFrame.java,
5231         javax/swing/JLabel.java,
5232         javax/swing/JLayeredPane.java,
5233         javax/swing/JList.java,
5234         javax/swing/JMenuBar.java,
5235         javax/swing/JMenuItem.java,
5236         javax/swing/JOptionPane.java,
5237         javax/swing/JPanel.java,
5238         javax/swing/JPasswordField.java,
5239         javax/swing/JPopupMenu.java,
5240         javax/swing/JProgressBar.java,
5241         javax/swing/JRadioButton.java,
5242         javax/swing/JRadioButtonMenuItem.java,
5243         javax/swing/JRootPane.java,
5244         javax/swing/JScrollBar.java,
5245         javax/swing/JScrollPane.java,
5246         javax/swing/JSeparator.java,
5247         javax/swing/JSlider.java,
5248         javax/swing/JTabbedPane.java,
5249         javax/swing/JTable.java,
5250         javax/swing/JTextField.java,
5251         javax/swing/JToggleButton.java,
5252         javax/swing/JToolBar.java,
5253         javax/swing/JToolTip.java,
5254         javax/swing/JTree.java,
5255         javax/swing/JViewport.java,
5256         javax/swing/JWindow.java,
5257         javax/swing/KeyStroke.java,
5258         javax/swing/ListSelectionModel.java,
5259         javax/swing/LookAndFeel.java,
5260         javax/swing/RepaintManager.java,
5261         javax/swing/ScrollPaneLayout.java,
5262         javax/swing/SizeRequirements.java,
5263         javax/swing/SwingConstants.java,
5264         javax/swing/Timer.java,
5265         javax/swing/UIDefaults.java,
5266         javax/swing/UIManager.java,
5267         javax/swing/border/AbstractBorder.java,
5268         javax/swing/border/CompoundBorder.java,
5269         javax/swing/colorchooser/AbstractColorChooserPanel.java,
5270         javax/swing/colorchooser/ColorChooserComponentFactory.java,
5271         javax/swing/colorchooser/ColorSelectionModel.java,
5272         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5273         javax/swing/event/AncestorEvent.java,
5274         javax/swing/event/HyperlinkEvent.java,
5275         javax/swing/event/InternalFrameAdapter.java,
5276         javax/swing/event/InternalFrameEvent.java,
5277         javax/swing/event/ListDataEvent.java,
5278         javax/swing/event/MouseInputAdapter.java,
5279         javax/swing/event/SwingPropertyChangeSupport.java,
5280         javax/swing/event/TableModelEvent.java,
5281         javax/swing/event/TreeWillExpandListener.java,
5282         javax/swing/event/UndoableEditEvent.java,
5283         javax/swing/filechooser/FileFilter.java,
5284         javax/swing/filechooser/FileSystemView.java,
5285         javax/swing/filechooser/FileView.java,
5286         javax/swing/plaf/BorderUIResource.java,
5287         javax/swing/plaf/basic/BasicDefaults.java,
5288         javax/swing/table/AbstractTableModel.java,
5289         javax/swing/table/DefaultTableCellRenderer.java,
5290         javax/swing/table/DefaultTableColumnModel.java,
5291         javax/swing/table/DefaultTableModel.java,
5292         javax/swing/table/TableColumn.java,
5293         javax/swing/text/JTextComponent.java,
5294         javax/swing/tree/AbstractLayoutCache.java,
5295         javax/swing/tree/DefaultMutableTreeNode.java,
5296         javax/swing/tree/DefaultTreeCellEditor.java,
5297         javax/swing/tree/DefaultTreeCellRenderer.java,
5298         javax/swing/tree/DefaultTreeModel.java,
5299         javax/swing/tree/DefaultTreeSelectionModel.java,
5300         javax/swing/tree/FixedHeightLayoutCache.java,
5301         javax/swing/tree/TreeCellEditor.java,
5302         javax/swing/tree/TreeModel.java,
5303         javax/swing/tree/TreeNode.java,
5304         javax/swing/tree/TreePath.java,
5305         javax/swing/tree/TreeSelectionModel.java,
5306         javax/swing/tree/VariableHeightLayoutCache.java,
5307         javax/swing/undo/AbstractUndoableEdit.java,
5308         javax/swing/undo/CompoundEdit.java,
5309         javax/swing/undo/StateEdit.java,
5310         javax/swing/undo/UndoManager.java,
5311         javax/swing/undo/UndoableEditSupport.java:
5312         New versions from classpath.
5313         * javax/swing/table/JTableHeader.java:
5314         New file from classpath.
5315         * Makefile.am
5316         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
5317         * Makefile.in: Regenerated.
5318
5319 2003-06-11  Michael Koch  <konqueror@gmx.de>
5320
5321         * java/nio/MappedByteBuffer.java,
5322         java/nio/channels/Channels.java,
5323         java/nio/channels/ServerSocketChannel.java,
5324         java/nio/channels/spi/AbstractSelector.java:
5325         Removed unneeded imports.
5326
5327 2003-06-11  Michael Koch  <konqueror@gmx.de>
5328
5329         * java/net/DatagramSocket.java:
5330         Partly merged with classpath.
5331
5332 2003-06-11  Michael Koch  <konqueror@gmx.de>
5333
5334         * java/awt/Frame.java,
5335         java/awt/Graphics.java,
5336         java/awt/Menu.java,
5337         java/awt/Robot.java,
5338         java/awt/image/ColorModel.java:
5339         New versions from classpath.
5340
5341 2003-06-10  Michael Koch  <konqueror@gmx.de>
5342
5343         * java/io/PrintStream.java:
5344         Merged version from classpath.
5345         (close): Removed sychronized keyword. This class is not garantied to
5346         be thread-safe.
5347         (write): Likewise.
5348
5349 2003-06-09  Tom Tromey  <tromey@redhat.com>
5350
5351         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
5352         field.
5353         (getDescent): Likewise, for "descent".
5354
5355 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
5356
5357         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
5358         (getMaxDescent): adjusted return value.
5359         (getAscent): modified to use metrics for 'O'.
5360         (getDescent): modified to use metrics for 'y'.
5361
5362 2003-06-08  Anthony Green  <green@redhat.com>
5363
5364         * java/net/URLStreamHandler.java (sameFile): Fix port value
5365         comparison.
5366         * java/net/URL.java (handler): Make package private.
5367         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
5368
5369 2003-06-07  Tom Tromey  <tromey@redhat.com>
5370
5371         For PR libgcj/11085:
5372         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
5373         Limit number of characters in numeric field when required.
5374         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
5375         Respect maximumIntegerDigits.
5376
5377 2003-06-08  Michael Koch  <konqueror@gmx.de>
5378
5379         * java/net/Socket.java
5380         (Socket): Dont initialize inputShutdown and outputShutdown twice,
5381         call bind() and connect() to actually do the bind and connect tasks.
5382         (bind): Connect to canonical address if bindpoint is null, create
5383         socket and bind it to bindpoint.
5384         (connect): Check for exceptions.
5385
5386 2003-06-08  Michael Koch  <konqueror@gmx.de>
5387
5388         * java/net/DatagramSocket.java
5389         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
5390         into the Multicast constructors.
5391         * java/net/DatagramSocketImpl.java
5392         (getOption): Removed.
5393         (setOption): Removed.
5394         * java/net/MulticastSocket.java
5395         (MulticastSocket): Call setReuseAddress (true).
5396         * java/net/SocketImpl.java
5397         (getOption): Removed.
5398         (setOption): Removed.
5399
5400 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
5401
5402         PR libgcj/10886:
5403         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
5404         Test for empty vector.
5405
5406 2003-06-06  Mark Wielaard  <mark@klomp.org>
5407
5408         * java/security/Security.java (secprops): Initialize.
5409         (loadProviders): Return boolean.
5410         (static): Check result of loadProvider calls. If necessary
5411         display WARNING and fallback to Gnu provider.
5412
5413 2002-06-06  James Clark  <jjc@jclark.com>
5414
5415         Fix for PR libgcj/8738:
5416         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
5417         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
5418         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
5419         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
5420         (write): Always decrease avail when count is increased.
5421         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
5422         and whether output buffer is full before increasing size.
5423
5424 2002-06-06  Mark Wielaard  <mark@klomp dot org>
5425
5426         * java/io/PrintStream.java (writeChars(char[],int, int)):
5427         Check converter.havePendingBytes().
5428         (writeChars(String,int,int)): Likewise.
5429         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
5430         Check converter.havePendingBytes() and flush buffer when stalled.
5431
5432 2003-06-07  Michael Koch  <konqueror@gmx.de>
5433
5434         * include/posix.h
5435         (O_DSYNC): Define O_DSYNC on platforms not
5436         supporting O_FSYNC (newlib).
5437
5438 2003-06-06  Mark Wielaard  <mark@klomp.org>
5439
5440         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
5441         AWTError.
5442
5443 2003-06-06  Michael Koch  <konqueror@gmx.de>
5444
5445         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
5446         More compile fixes from my stupid work yesterday.
5447
5448 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
5449
5450         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
5451         if _IEEE_LIBM is undefined.
5452
5453 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
5454
5455         * libjava/include/posix.h (O_SYNC): Define if not available
5456         and a reasonable, perhaps more conservative, replacement exists.
5457         (O_DSYNC): Likewise.
5458         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
5459
5460 2003-06-05  Michael Koch  <konqueror@gmx.de>
5461
5462         * javax/swing/plaf/BorderUIResource.java,
5463         javax/swing/plaf/basic/BasicDefaults.java,
5464         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5465         More compile fixes for latest Border commit. I should not commit
5466         something in this heat here ...
5467
5468 2003-06-05  Michael Koch  <konqueror@gmx.de>
5469
5470         * javax/swing/border/BevelBorder.java
5471         (BevelBorder): Removed.
5472         * javax/swing/border/EmptyBorder.java:
5473         Reformatted.
5474         (EmptyBorder): Removed.
5475         (getBorderInsets): Dont use l, r, t and b.
5476         * javax/swing/border/EtchedBorder.java
5477         (EtchedBorder): Removed.
5478         * javax/swing/border/LineBorder.java
5479         (LineBorder): Removed.
5480         * javax/swing/border/MatteBorder.java
5481         (MatteBorder): Removed.
5482         * javax/swing/border/TitledBorder.java
5483         (defaultBorder): Use other default for now.
5484         (defaultFont): Likewise.
5485         (defaultColor): Likewise.
5486
5487 2003-06-05  Michael Koch  <konqueror@gmx.de>
5488
5489         * javax/swing/border/Border.java:
5490         New version from classpath.
5491
5492 2003-06-05  Michael Koch  <konqueror@gmx.de>
5493
5494         * javax/swing/border/AbstractBorder.java,
5495         javax/swing/border/BevelBorder.java,
5496         javax/swing/border/CompoundBorder.java,
5497         javax/swing/border/EmptyBorder.java,
5498         javax/swing/border/EtchedBorder.java,
5499         javax/swing/border/LineBorder.java,
5500         javax/swing/border/MatteBorder.java,
5501         javax/swing/border/TitledBorder.java:
5502         New versions from Classpath.
5503
5504 2003-06-05  Michael Koch  <konqueror@gmx.de>
5505
5506         * java/awt/Button.java,
5507         java/awt/Checkbox.java,
5508         java/awt/CheckboxMenuItem.java,
5509         java/awt/Choice.java,
5510         java/awt/Container.java,
5511         java/awt/Dialog.java,
5512         java/awt/EventQueue.java,
5513         java/awt/FileDialog.java,
5514         java/awt/Frame.java,
5515         java/awt/Label.java,
5516         java/awt/List.java,
5517         java/awt/Menu.java,
5518         java/awt/MenuItem.java,
5519         java/awt/Panel.java,
5520         java/awt/PopupMenu.java,
5521         java/awt/Rectangle.java,
5522         java/awt/ScrollPane.java,
5523         java/awt/Scrollbar.java,
5524         java/awt/TextArea.java,
5525         java/awt/TextField.java,
5526         java/awt/Window.java,
5527         java/awt/datatransfer/DataFlavor.java,
5528         java/awt/dnd/DragSource.java,
5529         java/awt/dnd/DragSourceContext.java,
5530         java/awt/event/HierarchyEvent.java,
5531         java/awt/event/MouseWheelEvent.java,
5532         java/awt/im/InputContext.java,
5533         java/awt/image/BufferedImage.java,
5534         java/awt/image/ComponentColorModel.java,
5535         java/awt/image/Raster.java,
5536         java/awt/image/WritableRaster.java,
5537         java/awt/peer/ComponentPeer.java,
5538         java/awt/print/PageFormat.java,
5539         java/awt/print/PrinterJob.java:
5540         New versions from Classpath.
5541
5542 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
5543
5544         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
5545         numberFormat.setParseIntegerOnly(true).
5546
5547 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
5548
5549         * include/posix-threads.h: Include <machine/pal.h> on OSF.
5550
5551 2003-06-03  Andrew Haley  <aph@redhat.com>
5552
5553         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
5554         stack volatile to prevent optimization from removing it.
5555
5556 2003-05-27  Michael Koch  <konqueror@gmx.de>
5557
5558         * java/util/zip/Deflater.java
5559         (FILTERED): Merged documentation from classpath.
5560         * java/util/zip/DeflaterOutputStream.java
5561         (DeflaterOutputStream): Merged documentation and argument validity
5562         check from classpath.
5563         (deflate): Merged documentation from classpath.
5564         (finish): Likewise.
5565         * java/util/zip/Inflater.java
5566         (Inflater): Merged class documentation from classpath.
5567         (zstream): Reordered.
5568         (is_finished): Reordered.
5569         (dict_needed): Reordered.
5570         (Inflater): Reordered, merged documentation from classpath.
5571         (end): Likewise.
5572         (finalize): Merged documentation from classpath.
5573         (finished): Likewise.
5574         (getAdler): Likewise.
5575         (getRemaining): Likewise.
5576         (getTotalIn): Likewise.
5577         (getTotalOut): Likewise.
5578         (inflate): Likewise.
5579         (needsDictionary): Likewise.
5580         (needsInput): Likewise.
5581         (reset): Likewise.
5582         (setDictionary): Likewise.
5583         (setInput): Likewise.
5584
5585 2003-05-27  Michael Koch  <konqueror@gmx.de>
5586
5587         * java/net/URLConnection.java
5588         (getHeaderFieldInt): Merged with classpath.
5589
5590 2003-05-27  Michael Koch  <konqueror@gmx.de>
5591
5592         * java/io/PrintStream.java
5593         (PrintStream): Reformatted.
5594         (PrintStream): New method, merged from classpath.
5595         (write): Reformatted.
5596
5597 2003-05-27  Michael Koch  <konqueror@gmx.de>
5598
5599         * java/lang/System.java:
5600         Explicitely import needed classes.
5601
5602 2003-05-26  Michael Koch  <konqueror@gmx.de>
5603
5604         * java/net/NetPermission.java,
5605         java/net/NetworkInterface.java,
5606         java/net/PasswordAuthentication.java,
5607         java/net/SocketPermission.java:
5608         New versions from classpath.
5609
5610 2003-05-25  Michael Koch  <konqueror@gmx.de>
5611
5612         * java/io/PushbackInputStream.java,
5613         java/net/Authenticator.java,
5614         java/net/ContentHandler.java,
5615         java/net/ContentHandlerFactory.java,
5616         java/net/DatagramSocket.java,
5617         java/net/DatagramSocketImpl.java,
5618         java/net/DatagramSocketImplFactory.java,
5619         java/net/FileNameMap.java,
5620         java/net/SocketImplFactory.java,
5621         java/net/SocketOptions.java,
5622         java/net/URLStreamHandlerFactory.java:
5623         Merged new versions from classpath.
5624
5625 2003-05-25  Michael Koch  <konqueror@gmx.de>
5626
5627         * java/awt/Checkbox.java,
5628         java/awt/Dialog.java,
5629         java/awt/Font.java,
5630         java/awt/Frame.java,
5631         java/awt/ScrollPaneAdjustable.java,
5632         java/awt/Scrollbar.java,
5633         java/awt/Window.java:
5634         New versions from classpath.
5635
5636 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
5637
5638         PR libgcj/10838:
5639         * java/io/ObjectInputStream (enableResolveObject):
5640         Fixed spelling of permission name.
5641
5642 2003-05-20  Michael Koch  <konqueror@gmx.de>
5643
5644         * java/io/DataInputStream.java
5645         (convertFromUTF): Merged comment from classpath.
5646         * java/io/PrintStream.java
5647         (error_occured): Renamed from error, merged comment from classpath.
5648         (PrintStream): No need to initialized error.
5649         (checkError): Replace error with error_occurred.
5650         (setError): Likewise.
5651
5652 2003-05-20  Michael Koch  <konqueror@gmx.de>
5653
5654         * java/io/DataInputStream.java:
5655         Reformatted, Replaced < and & with html entitites in documentation.
5656         * java/io/File.java:
5657         Reformatted.
5658         * java/io/PrintWriter.java:
5659         Moved class documentation.
5660
5661 2003-05-20  Michael Koch  <konqueror@gmx.de>
5662
5663         * gnu/java/nio/ByteBufferImpl.java,
5664         gnu/java/nio/CharBufferImpl.java,
5665         gnu/java/nio/CharViewBufferImpl.java,
5666         gnu/java/nio/DirectByteBufferImpl.java,
5667         gnu/java/nio/DoubleBufferImpl.java,
5668         gnu/java/nio/DoubleViewBufferImpl.java,
5669         gnu/java/nio/FloatBufferImpl.java,
5670         gnu/java/nio/FloatViewBufferImpl.java,
5671         gnu/java/nio/IntBufferImpl.java,
5672         gnu/java/nio/IntViewBufferImpl.java,
5673         gnu/java/nio/LongBufferImpl.java,
5674         gnu/java/nio/LongViewBufferImpl.java,
5675         gnu/java/nio/natDirectByteBufferImpl.cc,
5676         gnu/java/nio/ShortBufferImpl.java,
5677         gnu/java/nio/ShortViewBufferImpl.java:
5678         Moved files to java/nio.
5679         * gnu/java/nio/SocketChannelImpl.java
5680         
5681         * java/nio/ByteBuffer.java,
5682         java/nio/CharBuffer.java,
5683         java/nio/DoubleBuffer.java,
5684         java/nio/FloatBuffer.java,
5685         java/nio/IntBuffer.java,
5686         java/nio/LongBuffer.java,
5687         java/nio/ShortBuffer.java:
5688         Dont import anything.
5689         * java/nio/ByteBufferImpl.java,
5690         java/nio/CharBufferImpl.java,
5691         java/nio/CharViewBufferImpl.java,
5692         java/nio/DirectByteBufferImpl.java,
5693         java/nio/DoubleBufferImpl.java,
5694         java/nio/DoubleViewBufferImpl.java,
5695         java/nio/FloatBufferImpl.java,
5696         java/nio/FloatViewBufferImpl.java,
5697         java/nio/IntBufferImpl.java,
5698         java/nio/IntViewBufferImpl.java,
5699         java/nio/LongBufferImpl.java,
5700         java/nio/LongViewBufferImpl.java,
5701         java/nio/natDirectByteBufferImpl.cc,
5702         java/nio/ShortBufferImpl.java,
5703         java/nio/ShortViewBufferImpl.java:
5704         Moved from gnu/java/nio.
5705         * Makefile.am
5706         (ordinary_java_source_files): Moved files from gnu/java/nio to
5707         java/nio.
5708         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
5709         to java/nio.
5710         * Makefile.in: Regenerated.
5711
5712 2003-05-19  Michael Koch  <konqueror@gmx.de>
5713
5714         * java/util/Calendar.java
5715         (get): Not final anymore since JDK 1.4
5716         (set): Likewise.
5717
5718 2003-05-19  Michael Koch  <konqueror@gmx.de>
5719
5720         * java/text/CollationKey.java:
5721         Merged copyright and dat from classpath.
5722         * java/text/RuleBasedCollator.java:
5723         Merged class documentation from classpath.
5724
5725 2003-05-19  Michael Koch  <konqueror@gmx.de>
5726
5727         * java/nio/CharBuffer.java
5728         (toString): Compile fix.
5729
5730 2003-05-19  Michael Koch  <konqueror@gmx.de>
5731
5732         * gnu/java/nio/ByteBufferImpl.java
5733         (putLong): Fixed conversion to bytes.
5734         (putDouble): Fixed conversion to bytes.
5735         * gnu/java/nio/DirectByteBufferImpl.java
5736         (putLong): Fixed conversion to bytes.
5737         (putDouble): Fixed conversion to bytes.
5738         * gnu/java/nio/FileLockImpl.java
5739         (isValid): Reformatted.
5740         * java/nio/Buffer.java
5741         (Buffer): Fixed off-by-one bug in handling mark.
5742         * java/nio/ByteBuffer.java:
5743         Added newline.
5744         * java/nio/CharBuffer.java
5745         (toString): Don't use relative get to get string data.
5746
5747 2003-05-16  Michael Koch  <konqueror@gmx.de>
5748
5749         * java/io/natFileDescriptorPosix.cc
5750         (open): Commented out the O_SYNC and O_DSYNC usage until its better
5751         tested.
5752
5753 2003-05-14  Michael Koch  <konqueror@gmx.de>
5754
5755         * gnu/java/nio/FileLockImpl.java
5756         (released): New member variable.
5757         (FileLockImpl): Initialize released.
5758         (releaseImpl): New native method.
5759         (release): Implemented.
5760         * gnu/java/nio/SelectorImpl.java: Reformatted.
5761         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
5762         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
5763         (accept): Throws IOException.
5764         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
5765         (implConfigureBlocking): Throws IOException.
5766         (connect): Likewise.
5767         (read): Likewise.
5768         (write): Likewise.
5769         * gnu/java/nio/natFileLockImpl.cc: New file.
5770         * java/nio/channels/FileLock.java: Reformatted.
5771         * Makefile.am:
5772         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
5773         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
5774         * Makefile.in: Regenerated.
5775
5776 2003-05-13  Michael Koch  <konqueror@gmx.de>
5777
5778         * gnu/java/nio/CharViewBufferImpl.java
5779         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
5780         (get): Shift bits to the right direction.
5781         (put): Likewise.
5782         * gnu/java/nio/DoubleViewBufferImpl.java
5783         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
5784         (get): Shift bits to the right direction.
5785         (put): Likewise.
5786         * gnu/java/nio/FloatViewBufferImpl.java
5787         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
5788         (get): Shift bits to the right direction.
5789         (put): Likewise.
5790         * gnu/java/nio/IntViewBufferImpl.java
5791         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
5792         (get): Shift bits to the right direction.
5793         (put): Likewise.
5794         * gnu/java/nio/LongViewBufferImpl.java
5795         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
5796         (get): Shift bits to the right direction.
5797         (put): Likewise.
5798         * gnu/java/nio/ShortViewBufferImpl.java
5799         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
5800         (get): Shift bits to the right direction.
5801         (put): Likewise.
5802
5803 2003-05-13  Michael Koch  <konqueror@gmx.de>
5804
5805         * gnu/java/nio/natDirectByteBufferImpl.cc
5806         (allocateImpl): jlong -> RawData*.
5807         (freeImpl): Likewise.
5808
5809 2003-05-13  Michael Koch  <konqueror@gmx.de>
5810
5811         * java/nio/channels/FileChannel.java
5812         (MapMode.m): Made it package-private to match JDK 1.4.
5813         * java/nio/charset/Charset.java
5814         (decode): Made it final to match JDK 1.4.
5815
5816 2003-05-13  Michael Koch  <konqueror@gmx.de>
5817
5818        * java/io/FileDescriptor.java
5819        (SYNC): New constant.
5820        (DSYNC): Likewise.
5821        (getLength): Renamed from lenght() to match classpath's
5822        FileDescriptor.java.
5823        * java/io/RandomAccessFile.java
5824        (RandomAccessFile): Removed unneeded mode check, implemented mode
5825        "rws" and "rwd", merged documentation from classpath.
5826        (setLength): Reformatted.
5827        (length): Use new getLength() of FileDescriptor.
5828        * java/io/natFileDescriptorEcos.cc
5829        (getLength): Renamed from length().
5830        * java/io/natFileDescriptorPosix.cc
5831        (open): Implemented support for SYNC and DSYNC.
5832        (seek): Use getLength() instead of length().
5833        (getLength): Renamed from length().
5834        * java/io/natFileDescriptorWin32.cc
5835        (getLength): Renamed from length().
5836        (seek): Use getLength() instead of length().
5837        (available): Likewise.
5838        * gnu/java/nio/natFileChannelImpl.cc
5839        (size): Use getLength() instead of length().
5840
5841 2003-05-13  Michael Koch  <konqueror@gmx.de>
5842
5843         * gnu/java/nio/ByteBufferImpl.java
5844         (ByteBufferImpl): All constructors revised.
5845         (slice): Reimplemented.
5846         (duplicate): Reimplemented.
5847         (asReadOnlyBuffer): Reimplemented.
5848         * java/nio/ByteBuffer.java:
5849         Reformatted.
5850         (array_offset): Renamed from "offset" to match all other buffer
5851         classes.
5852         (ByteBuffer): All constructors revised.
5853         (allocateDirect): Implemented.
5854         (allocate): New implementation, documentation reworked.
5855         (wrap): Likewise.
5856         (get): Documentation reworked.
5857         (put): New implementation, documentation reworked.
5858         (hasArray): Documentation reworked.
5859         (arrayOffset): Likewise.
5860         (hashCode): Likewise.
5861         (equals): Likewise.
5862         (compareTo): Likewise.
5863         (order): Likewise.
5864         (compact): Likewise.
5865         (isDirect): Likewise.
5866         (slice): Likewise.
5867         (duplicate): Likewise.
5868         (asReadOnlyBuffer): Likewise.
5869         * Makefile.am
5870         (ordinary_java_source_files):
5871         Added gnu/java/nio/DirectByteBufferImpl.java.
5872         (nat_source_files):
5873         Added gnu/java/nio/natDirectByteBufferImpl.cc.
5874         * Makefile.in: Regenerated.
5875
5876 2003-05-12  Michael Koch  <konqueror@gmx.de>
5877
5878         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
5879         (nio_get_*): Removed.
5880         (nio_put_*): Removed.
5881         (as*Buffer): Implemented.
5882         (compact): Implemented.
5883         (get): Documentation added.
5884         (put): Documentation added.
5885         (get*): Newly implemented.
5886         (put*): Newly implemented.
5887         * gnu/java/nio/CharBufferImpl.java: Reformatted.
5888         (CharBufferImpl): Revised.
5889         (slice): New implementation.
5890         (duplicate): New implementation.
5891         (compact): New implementation.
5892         (asReadOnlyBuffer): New implementation.
5893         (get): Documentation revised.
5894         (order): Return native byte order.
5895         * gnu/java/nio/DirectByteBufferImpl.java
5896         (allocateDirect): objects can be null not 0.
5897         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
5898         (DoubleBufferImpl): Revised.
5899         (slice): New implementation.
5900         (duplicate): New implementation.
5901         (compact): New implementation.
5902         (asReadOnlyBuffer): New implementation.
5903         (get): Documentation revised.
5904         (order): Return native byte order.
5905         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
5906         (FloatBufferImpl): Revised.
5907         (slice): New implementation.
5908         (duplicate): New implementation.
5909         (compact): New implementation.
5910         (asReadOnlyBuffer): New implementation.
5911         (get): Documentation revised.
5912         (order): Return native byte order.
5913         * gnu/java/nio/IntBufferImpl.java: Reformatted.
5914         (IntBufferImpl): Revised.
5915         (slice): New implementation.
5916         (duplicate): New implementation.
5917         (compact): New implementation.
5918         (asReadOnlyBuffer): New implementation.
5919         (get): Documentation revised.
5920         (order): Return native byte order.
5921         * gnu/java/nio/LongBufferImpl.java: Reformatted.
5922         (LongBufferImpl): Revised.
5923         (slice): New implementation.
5924         (duplicate): New implementation.
5925         (compact): New implementation.
5926         (asReadOnlyBuffer): New implementation.
5927         (get): Documentation revised.
5928         (order): Return native byte order.
5929         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
5930         (ShortBufferImpl): Revised.
5931         (slice): New implementation.
5932         (duplicate): New implementation.
5933         (compact): New implementation.
5934         (asReadOnlyBuffer): New implementation.
5935         (get): Documentation revised.
5936         (order): Return native byte order.
5937         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
5938         (CharBuffer): Revised.
5939         (order): Removed.
5940         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
5941         (DoubleBuffer): Revised.
5942         (allocateDirect): Removed.
5943         (order): Removed.
5944         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
5945         (FloatBuffer): Revised.
5946         (allocateDirect): Removed.
5947         (order): Removed.
5948         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
5949         (IntBuffer): Revised.
5950         (allocateDirect): Removed.
5951         (order): Removed.
5952         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
5953         (LongBuffer): Revised.
5954         (allocateDirect): Removed.
5955         (order): Removed.
5956         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
5957         (ShortBuffer): Revised.
5958         (allocateDirect): Removed.
5959         (order): Removed.
5960         * gnu/java/nio/natByteBufferImpl.cc: Removed.
5961         * gnu/java/nio/natCharBufferImpl.cc: Removed.
5962         * Makefile.am
5963         (ordinary_java_source_files): Added the following files:
5964         gnu/java/nio/CharViewBufferImpl.java,
5965         gnu/java/nio/DoubleViewBufferImpl.java,
5966         gnu/java/nio/FloatViewBufferImpl.java,
5967         gnu/java/nio/IntViewBufferImpl.java,
5968         gnu/java/nio/LongViewBufferImpl.java,
5969         gnu/java/nio/ShortViewBufferImpl.java
5970         (nat_source_files): Removed the following files:
5971         gnu/java/nio/natByteBufferImpl.cc,
5972         gnu/java/nio/natCharBufferImpl.cc
5973         * Makefile.in: Regenerated.
5974
5975 2003-05-12  Michael Koch  <konqueror@gmx.de>
5976
5977         * gnu/java/nio/CharViewBufferImpl.java,
5978         gnu/java/nio/DirectByteBufferImpl.java,
5979         gnu/java/nio/DoubleViewBufferImpl.java,
5980         gnu/java/nio/FloatViewBufferImpl.java,
5981         gnu/java/nio/IntViewBufferImpl.java,
5982         gnu/java/nio/LongViewBufferImpl.java,
5983         gnu/java/nio/ShortViewBufferImpl.java,
5984         gnu/java/nio/natDirectByteBufferImpl.cc:
5985         New files, not yet to be compiled.
5986
5987 2003-05-10  Michael Koch  <konqueror@gmx.de>
5988
5989         * javax/swing/plaf/ButtonUI.java,
5990         javax/swing/plaf/ColorUIResource.java,
5991         javax/swing/plaf/ComponentUI.java,
5992         javax/swing/plaf/DimensionUIResource.java,
5993         javax/swing/plaf/FontUIResource.java,
5994         javax/swing/plaf/IconUIResource.java,
5995         javax/swing/plaf/InsetsUIResource.java,
5996         javax/swing/plaf/LabelUI.java,
5997         javax/swing/plaf/ListUI.java,
5998         javax/swing/plaf/OptionPaneUI.java,
5999         javax/swing/plaf/PanelUI.java,
6000         javax/swing/plaf/TabbedPaneUI.java,
6001         javax/swing/plaf/TextUI.java,
6002         javax/swing/plaf/TreeUI.java,
6003         javax/swing/plaf/ViewportUI.java,
6004         javax/swing/plaf/basic/BasicBorders.java,
6005         javax/swing/plaf/basic/BasicButtonUI.java,
6006         javax/swing/plaf/basic/BasicCheckBoxUI.java,
6007         javax/swing/plaf/basic/BasicDefaults.java,
6008         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6009         javax/swing/plaf/basic/BasicIconFactory.java,
6010         javax/swing/plaf/basic/BasicLabelUI.java,
6011         javax/swing/plaf/basic/BasicListUI.java,
6012         javax/swing/plaf/basic/BasicOptionPaneUI.java,
6013         javax/swing/plaf/basic/BasicPanelUI.java,
6014         javax/swing/plaf/basic/BasicRadioButtonUI.java,
6015         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6016         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6017         javax/swing/plaf/basic/BasicTextUI.java,
6018         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6019         javax/swing/plaf/basic/BasicTreeUI.java,
6020         javax/swing/plaf/basic/BasicViewportUI.java,
6021         javax/swing/plaf/metal/MetalLookAndFeel.java:
6022         New versions from classpath. This adds copyrights to all files and
6023         some serialVersionUIDs.
6024
6025 2003-05-10  Michael Koch  <konqueror@gmx.de>
6026
6027         * java/nio/CharBuffer.java
6028         (offset): Make it package-private.
6029         (backing_buffer): Likewise.
6030         * java/nio/DoubleBuffer.java
6031         (offset): Make it package-private.
6032         (backing_buffer): Likewise.
6033         (put): Reformatted.
6034         * java/nio/FloatBuffer.java
6035         (offset): Make it package-private.
6036         (backing_buffer): Likewise.
6037         * java/nio/IntBuffer.java
6038         (offset): Make it package-private.
6039         (backing_buffer): Likewise.
6040         * java/nio/LongBuffer.java
6041         (offset): Make it package-private.
6042         (backing_buffer): Likewise.
6043         * java/nio/ShortBuffer.java
6044         (offset): Make it package-private.
6045         (backing_buffer): Likewise.
6046
6047 2003-05-10  Michael Koch  <konqueror@gmx.de>
6048
6049         * java/nio/CharBuffer.java
6050         (put): Fixed precondtion check.
6051         (toString): Make it work without backing array.
6052         (put): Skip one level of method calling.
6053
6054 2003-05-10  Michael Koch  <konqueror@gmx.de>
6055
6056         * java/security/Identity.java,
6057         java/security/IdentityScope.java,
6058         java/security/Key.java,
6059         java/security/KeyPair.java,
6060         java/security/PrivateKey.java,
6061         java/security/Provider.java,
6062         java/security/PublicKey.java,
6063         java/security/SecureRandom.java,
6064         java/security/SecureRandomSpi.java,
6065         java/security/SignedObject.java,
6066         java/security/Signer.java,
6067         java/security/cert/Certificate.java,
6068         java/security/cert/PKIXCertPathBuilderResult.java,
6069         java/security/cert/X509Certificate.java:
6070         New versions from classpath.
6071
6072 2003-05-09  Tom Tromey  <tromey@redhat.com>
6073
6074         * Makefile.in: Rebuilt.
6075         * Makefile.am (nat_source_files): Removed old files.
6076         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
6077         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
6078         * gnu/java/nio/natIntBufferImpl.cc: Removed.
6079         * gnu/java/nio/natLongBufferImpl.cc: Removed.
6080         * gnu/java/nio/natShortBufferImpl.cc: Removed.
6081
6082 2003-05-09  Michael Koch  <konqueror@gmx.de>
6083
6084         * gnu/java/nio/ByteBufferImpl.java
6085         (nio_cast): Removed.
6086         (ByteBufferImpl): Removed.
6087         (nio_get_Byte): Removed.
6088         (nio_put_Byte): Removed.
6089         (asByteBuffer): Removed.
6090         (asCharBuffer): Removed implementation and throw exception.
6091         (asShortBuffer): Likewise.
6092         (asIntBuffer): Likewise.
6093         (asLongBuffer): Likewise.
6094         (asFloatBuffer): Likewise.
6095         (asDoubleBuffer): Likewise.
6096         * gnu/java/nio/CharBufferImpl.java
6097         (CharBufferImpl): Removed.
6098         (nio_get_Byte): Removed.
6099         (nio_put_Byte): Removed.
6100         (asByteBuffer): Removed.
6101         * gnu/java/nio/DoubleBufferImpl.java
6102         (DoubleBufferImpl): Removed.
6103         (nio_get_Byte): Removed.
6104         (nio_put_Byte): Removed.
6105         (asByteBuffer): Removed.
6106         * gnu/java/nio/FloatBufferImpl.java
6107         (FloatBufferImpl): Removed.
6108         (nio_get_Byte): Removed.
6109         (nio_put_Byte): Removed.
6110         (asByteBuffer): Removed.
6111         * gnu/java/nio/IntBufferImpl.java
6112         (IntBufferImpl): Removed.
6113         (nio_get_Byte): Removed.
6114         (nio_put_Byte): Removed.
6115         (asByteBuffer): Removed.
6116         * gnu/java/nio/LongBufferImpl.java
6117         (LongBufferImpl): Removed.
6118         (nio_get_Byte): Removed.
6119         (nio_put_Byte): Removed.
6120         (asByteBuffer): Removed.
6121         * gnu/java/nio/ShortBufferImpl.java
6122         (ShortBufferImpl): Removed.
6123         (nio_get_Byte): Removed.
6124         (nio_put_Byte): Removed.
6125         (asByteBuffer): Removed.
6126         * gnu/java/nio/natByteBufferImpl.cc
6127         (nio_cast): Removed.
6128         (nio_get_Byte): Removed.
6129         (nio_put_Byte): Removed.
6130         * gnu/java/nio/natCharBufferImpl.cc
6131         (nio_get_Byte): Removed.
6132         (nio_put_Byte): Removed.
6133
6134 2003-05-09  Michael Koch  <konqueror@gmx.de>
6135
6136         * java/net/JarURLConnection.java
6137         (getJarEntry): Merged documentation from classpath.
6138         (getJarFile): Likewise.
6139         (getMainAttributes): Likewise.
6140         (getAttributes): Likewise.
6141         (getManifest): Likewise.
6142         (getCertificates): Reformatted.
6143         * java/net/URLConnection.java:
6144         Little classpath merge.
6145
6146 2003-05-09  Michael Koch  <konqueror@gmx.de>
6147
6148         * java/io/DataOutputStream.java
6149         (writeShort): Made it synchronized.
6150         (writeChar): Likewise.
6151         (writeInt): Likewise.
6152         (writeLong): Liekwise.
6153         (writeUTF): Made it synchronized, renamed argument to match classpath.
6154         * java/io/InputStreamReader.java
6155         (converter): Added documentation.
6156         (read): Merged documentation from classpath.
6157         * java/io/OutputStreamWriter.java
6158         (OutputStreamWriter): Merged documentation from classpath.
6159         (close): Reformatted.
6160         (getEncoding): Likewise.
6161         (flush): Likewise.
6162         (write): Merged documentation from classpath, reformatted.
6163
6164 2003-05-08  Tom Tromey  <tromey@redhat.com>
6165
6166         * configure.host <powerpc64*-*>: Set with_libffi_default and
6167         libgcj_interpreter to "yes".
6168
6169 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
6170
6171         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
6172         
6173 2003-05-06  Tom Tromey  <tromey@redhat.com>
6174
6175         * verify.cc: Reverted previous patch.
6176
6177 2003-05-06  Michael Koch  <konqueror@gmx.de>
6178
6179         * java/io/DataOutputStream.java
6180         (write): Renamed argument to "value", merged documentation from
6181         classpath.
6182         (writeBoolean): Likewise.
6183         (writeByte): Likewise.
6184         (writeShort): Likewise.
6185         (writeChar): Likewise.
6186         (writeInt): Likewise.
6187         (writeLong): Likewise.
6188         (writeFloat): Likewise.
6189         (writeDouble): Likewise.
6190         (writeBytes): Likewise.
6191         (writeChars): Likewise.
6192         (writeUTF): Likewise.
6193         * java/io/File.java
6194         (performDelete): Added documentation.
6195         (performList): Likewise.
6196         (performMkdir): Likewise.
6197         (performSetReadOnly): Likewise.
6198         (performRenameTo): Likewise.
6199         (performSetLastModified): Likewise.
6200         (delete): Made it sychronized.
6201         (renameTo): Made it sychronized.
6202         (equals): Reformatted.
6203         (isHidden): Likewise.
6204         (listFiles): Likewise.
6205         (setReadOnly): Likewise.
6206         (listRoots): Likewise.
6207         (setLastModified): Likewise.
6208         (checkRead): Likewise.
6209         (checkWrite): Likewise.
6210         * java/io/FileInputStream.java
6211         (skip): Made it sychronized, merged from classpath.
6212         * java/io/FileOutputStream.java
6213         (write): Merged from classpath.
6214         * java/io/InputStreamReader.java:
6215         (InputStreamReader): Merged documentation from classpath.
6216
6217 2003-05-05  Michael Koch  <konqueror@gmx.de>
6218
6219         * java/net/NetworkInterface.java
6220         (networkInterfaces): Removed.
6221         (getByName): Use getRealNetworkInterfaces() instead of
6222         networkInterfaces.
6223         (getByInetAddress): Likewise.
6224         (getNetworkInterfaces): Likewise.
6225         (toString): Fix output of addresses of an interface.
6226
6227 2003-05-05  Michael Koch  <konqueror@gmx.de>
6228
6229         * java/io/DataInputStream.java:
6230         Merged new documentation from classpath.
6231
6232 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
6233
6234         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
6235         "version".
6236         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
6237         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
6238         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
6239         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
6240         * gnu/awt/gtk/GtkMainThread.java: Likewise.
6241         * gnu/awt/gtk/GtkToolkit.java: Likewise.
6242         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
6243         * java/security/Key.java: Likewise.
6244         * java/security/PrivateKey.java: Likewise.
6245         * java/security/Provider.java: Likewise.
6246         * java/security/PublicKey.java: Likewise.
6247
6248 2003-05-02  Michael Koch  <konqueror@gmx.de>
6249
6250         * java/net/URI.java
6251         (create): Doesnt throws any exceptions.
6252         * java/net/URLConnection.java
6253         (URLConnection): Commend added.
6254         (getExpiration): The header field is called "expires" not
6255         "expiration".
6256         (getHeaderField): Merged documentation with classpath.
6257         (getHeaderFieldInt): Likewise.
6258         (getHeaderFieldDate): Likewise.
6259         (getHeaderFieldKey): Likewise.
6260         (getPermission): Likewise.
6261         (setDefaultUseCaches): Likewise.
6262         (setRequestProperty): Likewise.
6263         (addRequestProperty): Likewise.
6264         (getRequestProperty): Likewise.
6265         (getRequestProperties): Likewise.
6266         (setDefaultRequestProperty): Likewise.
6267         (getDefaultRequestProperty): Likewise.
6268         (guessContentTypeFromStream): Likewise.
6269         (getFileNameMap): Likewise.
6270         (setFileNameMap): Likewise.
6271         (setDoInput): Merged implementation and documentation with classpath.
6272         (setDoOutput): Likewise.
6273         (setAllowUserInteraction): Likewise.
6274         (setDefaultAllowUserInteraction): Likewise.
6275         (setContentHandlerFactory): Made it synchronized, merged documentation
6276         with classpath.
6277         (guessContentTypeFromName): Renamed argument fname to filename to
6278         match classpath, merged documentation with classpath.
6279
6280 2003-05-02  Michael Koch  <konqueror@gmx.de>
6281
6282         * java/net/JarURLConnection.java
6283         (JarURLConnection): Class documentation merged with classpath.
6284         (getJarFileURL): Moved and documentation merged with classpath.
6285         (getEntryName): Likewise.
6286         (JarURLConnection): Documentation merged with classpath.
6287         (getJarEntry): Likewise.
6288         (getJarFile): Likewise.
6289         * java/net/PlainDatagramSocketImpl.java:
6290         Class documentation moved.
6291         * java/net/URLConnection.java
6292         (fileNameMap): Moved and documentation merged with classpath.
6293         (factory): Likewise.
6294         (defaultAllowUserInteraction): Likewis.
6295         (defaultUseCaches): Likewise.
6296         (allowUserInteraction): Likewise.
6297         (connected): Likewise.
6298         (url): Likewise.
6299         (connect): Documentation merged with classpath.
6300         (getURL): Likewise.
6301         (getContentLength): Likewise.
6302         (getContentType): Likewise.
6303         (getContentEncoding): Likewise.
6304         (getExpiration): Likewise.
6305         (getDate): Likewise.
6306         (getLastModified): Likewise.
6307         (getHeaderField): Likewise.
6308         (getContent): Likewise.
6309         (getPermission): Likewise.
6310         (getInputStream): Likewise.
6311         (getOutputStream): Likewise.
6312         (toString): Likewise.
6313         (getDoInput): Likewise.
6314         (getDoOutput): Likewise.
6315         (setAllowUserInteraction): Likewise.
6316         (getAllowUserInteraction): Likewise.
6317         (setDefaultAllowUserInteraction): Likewise.
6318         (getDefaultAllowUserInteraction): Likewise.
6319         (setUseCaches): Likewise.
6320         (getUseCaches): Likewise.
6321         (setIfModifiedSince): Likewise.
6322         (getIfModifiedSince): Likewise.
6323         (setDefaultRequestProperty): Likewise.
6324         (getDefaultRequestProperty): Likewise.
6325         (setContentHandlerFactory): Likewise.
6326         (setFileNameMap): Likewise.
6327
6328 2003-05-02  Michael Koch  <konqueror@gmx.de>
6329
6330         * java/net/InetAddress.java:
6331         Merged class documentation with classpath.
6332         * java/net/JarURLConnection.java:
6333         Explicitely import all used classes.
6334         * java/net/URL.java:
6335         Reformatting.
6336         * java/net/ServerSocket.java,
6337         java/net/Socket.java:
6338         New versions from classpath.
6339
6340 2003-05-02  Michael Koch  <konqueror@gmx.de>
6341
6342         * gnu/java/nio/FileChannelImpl.java
6343         (read): New implementation.
6344         (implRead): New methods.
6345         (write): New implementation, call other write insteal of read method.
6346         (implWrite): New methods.
6347         (map): Added comment.
6348         (transferFrom): Implemented.
6349         (transferTo): Implemented.
6350         (lock): Added checks to throw exceptions.
6351         (truncate): Added check to throw exception.
6352         * gnu/java/nio/natFileChannelImpl.cc
6353         (implRead): New method.
6354         (implWrite): New method.
6355         * java/nio/ByteBuffer.java
6356         (hashCode): Fixed comment.
6357         (get): Fixed exception documentation.
6358         (put): Fixed exception documentation.
6359         * java/nio/CharBuffer.java:
6360         Added comment for later optimizations.
6361
6362 2003-04-30  Tom Tromey  <tromey@redhat.com>
6363
6364         PR libgcj/10582:
6365         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
6366         Removed.
6367         (type::compatible): Use _Jv_IsAssignableFrom.
6368         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
6369         (_Jv_IsAssignableFrom): Work even when source or target class is
6370         not prepared.
6371
6372 2003-04-30  Michael Koch  <konqueror@gmx.de>
6373
6374         * java/text/BreakIterator.java
6375         (clone): New method.
6376
6377 2003-04-30  Michael Koch  <konqueror@gmx.de>
6378
6379         * java/text/CollationElementIterator.java,
6380         java/text/CollationKey.java,
6381         java/text/RuleBasedCollator.java:
6382         Merged copyright and documentation from classpath and
6383         rearranged some code. No code changes done.
6384
6385 2003-04-30  Michael Koch  <konqueror@gmx.de>
6386
6387         * java/util/regex/Matcher.java
6388         (pattern): New member variable.
6389         (appendReplacement): New method.
6390         (appendTail): New method.
6391         (end): New method.
6392         (find): New method.
6393         (group): New method.
6394         (replaceFirst): Added documentation.
6395         (replaceAll): Added documentation.
6396         (groupCount): New method.
6397         (lookingAt): New method.
6398         (matches): New method.
6399         (reset): New method.
6400         (start): New method.
6401         * java/util/regex/Pattern.java
6402         (serialVersionUID): New constant.
6403         (CANON_EQ): New constant.
6404         (CASE_INSENSITIVE): New constant.
6405         (COMMENTS): New constant.
6406         (DOTALL): New constant.
6407         (MULTILINE): New constant.
6408         (UNICODE_CASE): New constant.
6409         (UNIX_LINES): New constant.
6410         (regex): New member variable.
6411         (flags): New member variable.
6412         (Pattern): New method.
6413         (compile): Documentation added.
6414         (flags): New method.
6415         (matches): Documentation added.
6416         (matcher): Documentation added.
6417         (split): Documentation added.
6418         (pattern): New method.
6419
6420 2003-04-30  Michael Koch  <konqueror@gmx.de>
6421
6422         * gnu/java/security/Engine.java,
6423         gnu/java/security/OID.java,
6424         gnu/java/security/der/BitString.java,
6425         gnu/java/security/der/DER.java,
6426         gnu/java/security/der/DERReader.java,
6427         gnu/java/security/der/DERValue.java,
6428         gnu/java/security/der/DERWriter.java,
6429         gnu/java/security/provider/DSAKeyFactory.java,
6430         gnu/java/security/provider/X509CertificateFactory.java,
6431         gnu/java/security/x509/X500DistinguishedName.java,
6432         gnu/java/security/x509/X509CRL.java,
6433         gnu/java/security/x509/X509CRLEntry.java,
6434         gnu/java/security/x509/X509Certificate.java,
6435         java/security/cert/CRLSelector.java,
6436         java/security/cert/CertPathBuilder.java,
6437         java/security/cert/CertPathBuilderResult.java,
6438         java/security/cert/CertPathBuilderSpi.java,
6439         java/security/cert/CertPathParameters.java,
6440         java/security/cert/CertPathValidator.java,
6441         java/security/cert/CertPathValidatorResult.java,
6442         java/security/cert/CertPathValidatorSpi.java,
6443         java/security/cert/CertSelector.java,
6444         java/security/cert/CertStore.java,
6445         java/security/cert/CertStoreParameters.java,
6446         java/security/cert/CertStoreSpi.java,
6447         java/security/cert/CollectionCertStoreParameters.java,
6448         java/security/cert/LDAPCertStoreParameters.java,
6449         java/security/cert/PKIXBuilderParameters.java,
6450         java/security/cert/PKIXCertPathBuilderResult.java,
6451         java/security/cert/PKIXCertPathChecker.java,
6452         java/security/cert/PKIXCertPathValidatorResult.java,
6453         java/security/cert/PKIXParameters.java,
6454         java/security/cert/PolicyNode.java,
6455         java/security/cert/PolicyQualifierInfo.java,
6456         java/security/cert/TrustAnchor.java,
6457         javax/security/auth/x500/X500Principal.java:
6458         New files from classpath.
6459         * gnu/java/io/ASN1ParsingException.java,
6460         gnu/java/io/Base64InputStream.java,
6461         gnu/java/security/der/DEREncodingException.java,
6462         gnu/java/security/provider/DSAParameters.java,
6463         gnu/java/security/provider/DSASignature.java,
6464         gnu/java/security/provider/Gnu.java,
6465         gnu/java/security/provider/GnuDSAPrivateKey.java,
6466         gnu/java/security/provider/GnuDSAPublicKey.java,
6467         java/security/AlgorithmParameterGenerator.java,
6468         java/security/AlgorithmParameters.java,
6469         java/security/KeyFactory.java,
6470         java/security/KeyPairGenerator.java,
6471         java/security/KeyStore.java,
6472         java/security/MessageDigest.java,
6473         java/security/SecureClassLoader.java,
6474         java/security/SecureRandom.java,
6475         java/security/Security.java,
6476         java/security/Signature.java,
6477         java/security/cert/Certificate.java,
6478         java/security/cert/CertificateFactory.java,
6479         java/security/cert/CertificateFactorySpi.java,
6480         java/security/cert/X509CRL.java,
6481         java/security/cert/X509Certificate.java,
6482         java/security/spec/DSAPublicKeySpec.java:
6483         New versions from classpath.
6484         * gnu/java/security/provider/DERReader.java,
6485         gnu/java/security/provider/DERWriter.java,
6486         java/security/Engine.java: Removed.
6487         * Makefile.am
6488         (java_source_files, javax_source_files): Added new files.
6489         * Makefile.in: Regenerated.
6490
6491 2003-04-29  Michael Koch  <konqueror@gmx.de>
6492
6493         * javax/swing/JTable.java
6494         (AUTO_RESIZE_ALL_COLUMNS): New constant.
6495         (AUTO_RESIZE_LAST_COLUMN): New constant.
6496         (AUTO_RESIZE_NEXT_COLUMN): New constant.
6497         (AUTO_RESIZE_OFF): New constant.
6498         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
6499         (JTable): New method.
6500         (columnAdded): New method.
6501         (columnMarginChanged): New method.
6502         (columnMoved): New method.
6503         (columnRemoved): New method.
6504         (columnSelectionChanged): New method.
6505         (editingCanceled): New method.
6506         (editingStopped): New method.
6507         (getColumnModel): New method.
6508         (getPreferredScrollableViewportSize): New method.
6509         (getScrollableBlockIncrement): New method.
6510         (getScrollableTracksViewportHeight): New method.
6511         (getScrollableTracksViewportWidth): New method.
6512         (getScrollableUnitIncrement): New method.
6513         (getSelectedRow): New method.
6514         (getSelectionModel): New method.
6515         (tableChanged): New method.
6516         (setModel): New method.
6517         (setSelectionMode): New method.
6518         (setSelectionModel): New method.
6519         (setShowGrid): New method.
6520         (valueChanged): New method.
6521         * javax/swing/text/DefaultEditorKit.java
6522         (backwardAction): New constant.
6523         (beepAction): New constant.
6524         (beginAction): New constant.
6525         (beginLineAction): New constant.
6526         (beginParagraphAction): New constant.
6527         (beginWordAction): New constant.
6528         (copyAction): New constant.
6529         (cutAction): New constant.
6530         (defaultKeyTypedAction): New constant.
6531         (deleteNextCharAction): New constant.
6532         (deletePrevCharAction): New constant.
6533         (downAction): New constant.
6534         (endAction): New constant.
6535         (endLineAction): New constant.
6536         (endOfLineStringProperty): New constant.
6537         (endParagraphAction): New constant.
6538         (endWordAction): New constant.
6539         (forwardAction): New constant.
6540         (insertBreakAction): New constant.
6541         (insertContentAction): New constant.
6542         (insertTabAction): New constant.
6543         (nextWordAction): New constant.
6544         (pageDownAction): New constant.
6545         (pageUpAction): New constant.
6546         (pasteAction): New constant.
6547         (previousWordAction): New constant.
6548         (readOnlyAction): New constant.
6549         (selectAllAction): New constant.
6550         (selectionBackwardAction): New constant.
6551         (selectionBeginAction): New constant.
6552         (selectionBeginLineAction): New constant.
6553         (selectionBeginParagraphAction): New constant.
6554         (selectionBeginWordAction): New constant.
6555         (selectionDownAction): New constant.
6556         (selectionEndAction): New constant.
6557         (selectionEndLineAction): New constant.
6558         (selectionEndParagraphAction): New constant.
6559         (selectionEndWordAction): New constant.
6560         (selectionForwardAction): New constant.
6561         (selectionNextWordAction): New constant.
6562         (selectionPreviousWordAction): New constant.
6563         (selectionUpAction): New constant.
6564         (selectLineAction): New constant.
6565         (selectParagraphAction): New constant.
6566         (selectWordAction): New constant.
6567         (upAction): New constant.
6568         (writableAction): New constant.
6569
6570 2003-04-29  Michael Koch  <konqueror@gmx.de>
6571
6572         * java/util/PropertyPermission.java:
6573         New version from classpath
6574         * java/util/ResourceBundle.java:
6575         Partly merged from classpath
6576         (getObject): Reformated.
6577         (tryBundle): Set foundBundle = null if no bundle found.
6578
6579 2003-04-29  Michael Koch  <konqueror@gmx.de>
6580
6581         * javax/swing/AbstractListModel.java,
6582         javax/swing/DefaultBoundedRangeModel.java,
6583         javax/swing/DefaultSingleSelectionModel.java:
6584         New Versions from classpath.
6585
6586 2003-04-29  Michael Koch  <konqueror@gmx.de>
6587
6588         * java/awt/Window.java
6589         (show): Call super.show() instead of setVisible() to avoid endless
6590         loop.
6591         (hide): Call super.hide() instead of setVisible() to avoid endless
6592         loop.
6593
6594 2003-04-29  Michael Koch  <konqueror@gmx.de>
6595
6596         * java/util/zip/Deflater.java,
6597         java/util/zip/DeflaterOutputStream.java:
6598         Partly merged with classpath.
6599
6600 2003-04-27  Tom Tromey  <tromey@redhat.com>
6601
6602         * java/lang/natString.cc (_Jv_AllocString): Initialize
6603         cachedHashCode.
6604         (init): Likewise.
6605         (_Jv_NewStringUtf8Const): Likewise.
6606
6607 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
6608
6609         * include/jvm.h: (_Jv_GetNbArgs) added
6610         (_Jv_GetSafeArg) added
6611         (_Jv_SetArgs) added
6612         * prims.cc: (_Jv_GetNbArgs) implemented
6613         (_Jv_GetSafeArg) implemented
6614         (_Jv_SetArgs) implemented
6615         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
6616         setting _Jv_argc and _Jv_argv
6617         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
6618         instead of _Jv_argv
6619         * java/lang/natRuntime.cc: (insertSystemProperties) use
6620         _Jv_GetSafeArg() instead of _Jv_argv
6621
6622 2003-04-23  Tom Tromey  <tromey@redhat.com>
6623
6624         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
6625         required by this object.  Search superclasses to find required
6626         alignment.
6627         (get_alignment_from_class): Use alignment of type as it appears
6628         in a struct.
6629         (ALIGNOF): New macro.
6630         (struct aligner): New helper structure.
6631
6632 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
6633
6634         * java/awt/Container.java (addImpl): Enable paint events if adding
6635         a lightweight to a heavyweight.
6636         (addNotify): Ensure that peer is created before
6637         addNotifyContainerChildren.
6638         (addNotifyContainerChildren): Enable paint events if a heavyweight
6639         container contains a lightweight.
6640
6641 2003-04-20  Tom Tromey  <tromey@redhat.com>
6642
6643         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
6644         java/io/DataInput.java, java/io/DataOutput.java: Imports from
6645         Classpath.
6646
6647 2003-04-19  Tom Tromey  <tromey@redhat.com>
6648
6649         * java/sql/Date.java, java/sql/DriverManager.java,
6650         java/sql/Time.java, java/sql/Timestamp.java: New versions from
6651         Classpath.
6652
6653         * Makefile.in: Rebuilt.
6654         * Makefile.am (ordinary_java_source_files): Added new files.
6655         * java/security/AlgorithmParameterGenerator.java,
6656         java/security/AlgorithmParameters.java, java/security/Engine.java,
6657         java/security/Identity.java, java/security/IdentityScope.java,
6658         java/security/KeyFactory.java,
6659         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
6660         java/security/MessageDigest.java, java/security/Policy.java,
6661         java/security/ProtectionDomain.java,
6662         java/security/SecureRandom.java, java/security/Security.java,
6663         java/security/Signature.java, java/security/SignatureSpi.java,
6664         java/security/SignedObject.java, java/security/Signer.java,
6665         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
6666         java/security/spec/PSSParameterSpec.java,
6667         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
6668         java/security/spec/RSAOtherPrimeInfo.java: New versions from
6669         Classpath.
6670
6671 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6672
6673         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
6674         (dispose): Null metrics.
6675         * gnu/awt/xlib/XToolkit.java (sync): Implement.
6676         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
6677         finalize.
6678         (finalize): Call dispose.
6679         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
6680         (gcCachedCount): New field.
6681         (finalize): New method.
6682         (putGCInCache): New method.
6683         (getGCFromCache): New method.
6684         * gnu/gcj/xlib/GC.java (GC): Make protected.
6685         (clone): Get new GC from cache if possible.
6686         (create): New static method.
6687         (dispose): Save old GC in cache.
6688         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
6689         deleting.
6690         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
6691         is null.
6692         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
6693         * java/awt/Container.java (visitChild): Dispose gfx2 when
6694         finished.
6695
6696 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
6697
6698         * java/math/BigInteger.java (probablePrime): New.
6699         * java/math/BigDecimal.java (unscaledValue): New.
6700
6701 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
6702
6703         * java/io/File.java (getAbsolutePath): On Windows, take care
6704         of paths like "C:", "G:foo\bar", etc.
6705         (getName): Make it work correctly on Windows.
6706         (getParent): Make it work correctly on Windows. For UNIX,
6707         fix bug that causes "/" to be returned as the parent of "/",
6708         instead of null as returned by Sun's JRE.
6709
6710         * java/io/natFileWin32.cc: Change copyright owner to FSF.
6711
6712 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6713
6714         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
6715         inner class.
6716         (CACHE_SIZE_PER_DISPLAY): New field
6717         (fontMetricsCache): New field
6718         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
6719         loading ISO10646-1 fonts.
6720
6721 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6722
6723         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
6724         characters.
6725         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
6726         characters.
6727
6728 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
6729
6730         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
6731         floating point.
6732
6733 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
6734
6735         * configure.host (*-linux*): Don't set slow_pthread_self if primary
6736         installed libpthread is either linuxthreads with floating stacks or
6737         NPTL.
6738
6739 2003-04-14  Tom Tromey  <tromey@redhat.com>
6740
6741         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
6742         of alignment.
6743
6744 2003-04-10  Tom Tromey  <tromey@redhat.com>
6745
6746         * verify.cc (pop64): Removed.
6747         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
6748         exception if top-of-stack is narrow.
6749         (initialize_stack): Check to ensure that <init> is not static and
6750         <clinit> is.
6751
6752 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
6753
6754         * java/io/ObjectStreamException
6755         * java/io/FileFilter
6756         * java/io/FilenameFilter
6757         * java/io/ObjectInput
6758         * java/io/ObjectOutput
6759         * java/io/ObjectStreamConstants
6760         Minor doc fixes, format fixes, spelling corrections, etc.
6761         * java/io/DataInput
6762         Corrected code samples in Javadocs to match reality
6763         * java/io/DataOutput
6764         * java/io/ObjectInputValidation
6765         Major documentation fixes - all Javadocs re-written or updated
6766
6767 2003-04-06  Michael Koch  <konqueror@gmx.de>
6768
6769         * java/net/URLConnection.java:
6770         Import classes directly.
6771         (URLConnection): Merged class documentation with classpath.
6772         (url): Moved, documentation from classpath added.
6773         (doInput): Moved, documentation from classpath added.
6774         (doOutput): Moved, documentation from classpath added.
6775         (allowUserInteraction): Moved.
6776         (useCaches): Moved, documentation from classpath added.
6777         (ifModifiedSince): Moved, documentation from classpath added.
6778         (connected): Moved, documentation from classpath added.
6779
6780 2003-04-06  Michael Koch  <konqueror@gmx.de>
6781
6782         * java/io/FileInputStream.java
6783         (skip): Renamed some variables to match classpath, added
6784         checks from classpath.
6785
6786 2003-03-31  Michael Koch  <konqueror@gmx.de>
6787
6788         * javax/swing/AbstractAction.java
6789         (AbstractAction): Reformatted.
6790         (serialVersionUID): New private member variable.
6791         * javax/swing/plaf/BorderUIResource.java
6792         (serialVersionUID): New private member variable.
6793         * javax/swing/plaf/basic/BasicLookAndFeel.java
6794         (serialVersionUID): New private member variable.
6795
6796 2003-03-31  Michael Koch  <konqueror@gmx.de>
6797
6798         * java/sql/Date.java
6799         (valueOf): Deprecated, reformatted.
6800         (toString): Deprecated, reformatted.
6801         * java/sql/Time.java
6802         (valueOf): Deprecated, reformatted.
6803         (toString): Deprecated, reformatted.
6804
6805 2003-03-31  Michael Koch  <konqueror@gmx.de>
6806
6807         * java/rmi/dgc/VMID.java
6808         (isUnique): Deprecated.
6809
6810 2003-03-31  Michael Koch  <konqueror@gmx.de>
6811
6812         * java/io/File.java
6813         (separator): Merged documentation from classpath.
6814         (separatorChar): Merged documentation from classpath.
6815         (pathSeparator): Merged documentation from classpath.
6816         (pathSeparatorChar): Merged documentation from classpath.
6817         (path): Merged documentation from classpath.
6818         (canRead): Merged documentation from classpath.
6819         (canWrite): Merged documentation from classpath.
6820         (createNewFile): Merged documentation from classpath.
6821         (delete): Merged documentation from classpath.
6822         (equals): Merged documentation from classpath.
6823         (exists): Merged documentation from classpath.
6824         (File): Renamed p to name to match classpath, merged documentation
6825         from classpath.
6826         (getAbsolutePath): Merged documentation from classpath.
6827         (getCanonicalPath): Merged documentation from classpath.
6828         (getCanonicalFile): Merged documentation from classpath.
6829         (getName): Merged documentation from classpath.
6830         (getParent): Merged documentation from classpath.
6831         (getParentFile): Merged documentation from classpath.
6832         (getPath): Merged documentation from classpath.
6833         (hashCode): Merged documentation from classpath.
6834         (isAbsolute): Merged documentation from classpath.
6835         (isDirectory): Merged documentation from classpath.
6836         (isFile): Merged documentation from classpath.
6837         (isHidden): Merged documentation from classpath.
6838         (lastModified): Merged documentation from classpath.
6839         (length): Merged documentation from classpath.
6840         (list): Merged documentation from classpath.
6841         (listFiles): Merged documentation from classpath.
6842         (toString): Merged documentation from classpath.
6843         (toURL): Merged documentation from classpath.
6844         (mkdir): Merged documentation from classpath.
6845         (mkdirs): Merged documentation from classpath.
6846         (createTempFile): Merged documentation from classpath.
6847         (setReadOnly): Merged documentation from classpath.
6848         (listRoots): Merged documentation from classpath.
6849         (compareTo): Merged documentation from classpath.
6850         (renameTo): Merged documentation from classpath.
6851         (setLastModified): Merged documentation from classpath.
6852         * java/io/PrintStream.java
6853         (auto_flush): Merged documentation from classpath.
6854         (PrintStream): Merged documentation from classpath.
6855         (checkError): Merged documentation from classpath.
6856         (setError): Merged documentation from classpath.
6857         (close): Merged documentation from classpath.
6858         (flush): Merged documentation from classpath.
6859         (print): Merged documentation from classpath.
6860         (println):  Merged documentation from classpath.
6861         (write): Renamed count to len to match classpath,
6862         merged documentation from classpath.
6863         * java/io/RandomAccessFile.java
6864         (readShort): Merged documentation from classpath.
6865         (readUnsignedByte): Merged documentation from classpath.
6866         (readUnsignedShort): Merged documentation from classpath.
6867         (readUTF): Merged documentation from classpath.
6868         (seek): Reformatted, merged documentation from classpath.
6869         (skipBytes): Renamed some variables to match classpath, reformatted,
6870         merged documentation from classpath.
6871         (write): Merged documentation from classpath.
6872         (writeBoolean): Merged documentation from classpath.
6873         (writeByte): Merged documentation from classpath.
6874         (writeShort): Merged documentation from classpath.
6875         (writeChar): Merged documentation from classpath.
6876         (writeInt): Merged documentation from classpath.
6877         (writeLong): Merged documentation from classpath.
6878         (writeFloat): Merged documentation from classpath.
6879         (writeDouble): Merged documentation from classpath.
6880         (writeBytes): Merged documentation from classpath.
6881         (writeChars): Merged documentation from classpath.
6882         (writeUTF): Reformatted.
6883         (getChannel): Reformatted.
6884
6885 2003-03-31  Michael Koch  <konqueror@gmx.de>
6886
6887         * java/awt/font/TextAttribute.java
6888         (readResolve): Throws java.io.InvalidObjectException.
6889
6890 2003-03-31  Michael Koch  <konqueror@gmx.de>
6891
6892         * java/rmi/server/LoaderHandler.java
6893         (loadClass): Deprecated.
6894         (getSecurityContext): Deprecated.
6895         * java/rmi/server/LogStream.java
6896         (getDefaultStream): Deprecated.
6897         (setDefaultStream): Deprecated.
6898         (getOutputStream): Deprecated.
6899         (setOutputStream): Deprecated.
6900         (write): Deprecated.
6901         (toString): Deprecated.
6902         (parseLevel): Deprecated.
6903         * java/rmi/server/Operation.java
6904         (Operation): Deprecated.
6905         (getOperation): Deprecated.
6906         (toString): Deprecated.
6907         * java/rmi/server/RemoteCall.java
6908         (getOutputStream): Deprecated.
6909         (releaseOutputStream): Deprecated.
6910         (getInputStream): Deprecated.
6911         (releaseInputStream): Deprecated.
6912         (getResultStream): Deprecated.
6913         (executeCall): Deprecated.
6914         (done): Deprecated.
6915         * java/rmi/server/RemoteRef.java
6916         (invoke): Deprecated.
6917         (newCall): Deprecated.
6918         (done): Deprecated.
6919         * java/rmi/server/RemoteStub.java
6920         (setRef): Deprecated.
6921         * java/rmi/server/Skeleton.java:
6922         No need to import java.lang.Exception explicitly.
6923         (dispatch): Deprecated.
6924         (getOperations): Deprecated.
6925
6926 2003-03-31  Michael Koch  <konqueror@gmx.de>
6927
6928         * java/rmi/dgc/VMID.java,
6929         java/rmi/registry/RegistryHandler.java,
6930         java/rmi/server/LogStream.java,
6931         java/rmi/server/Operation.java,
6932         java/rmi/server/RemoteCall.java,
6933         java/rmi/server/RemoteRef.java,
6934         java/rmi/server/RemoteStub.java:
6935         Reformatted.
6936
6937 2003-03-31  Michael Koch  <konqueror@gmx.de>
6938
6939         * javax/swing/AbstractCellEditor.java,
6940         javax/swing/AbstractListModel.java,
6941         javax/swing/ActionMap.java,
6942         javax/swing/BorderFactory.java,
6943         javax/swing/ButtonGroup.java,
6944         javax/swing/DefaultBoundedRangeModel.java,
6945         javax/swing/DefaultButtonModel.java,
6946         javax/swing/DefaultCellEditor.java,
6947         javax/swing/DefaultComboBoxModel.java,
6948         javax/swing/DefaultDesktopManager.java,
6949         javax/swing/DefaultListCellRenderer.java,
6950         javax/swing/DefaultSingleSelectionModel.java,
6951         javax/swing/InputMap.java,
6952         javax/swing/JComponent.java,
6953         javax/swing/JMenu.java,
6954         javax/swing/JSlider.java,
6955         javax/swing/KeyStroke.java,
6956         javax/swing/OverlayLayout.java,
6957         javax/swing/ScrollPaneLayout.java,
6958         javax/swing/SizeRequirements.java,
6959         javax/swing/UIManager.java,
6960         javax/swing/ViewportLayout.java,
6961         javax/swing/border/AbstractBorder.java,
6962         javax/swing/colorchooser/DefaultColorSelectionModel.java,
6963         javax/swing/event/EventListenerList.java,
6964         javax/swing/table/AbstractTableModel.java,
6965         javax/swing/table/DefaultTableCellRenderer.java,
6966         javax/swing/table/DefaultTableColumnModel.java,
6967         javax/swing/table/DefaultTableModel.java,
6968         javax/swing/table/TableColumn.java,
6969         javax/swing/text/StyledEditorKit.java,
6970         javax/swing/tree/DefaultMutableTreeNode.java,
6971         javax/swing/tree/DefaultTreeModel.java,
6972         javax/swing/tree/DefaultTreeSelectionModel.java,
6973         javax/swing/tree/TreePath.java,
6974         javax/swing/undo/AbstractUndoableEdit.java,
6975         javax/swing/undo/StateEdit.java,
6976         javax/swing/undo/StateEditable.java,
6977         javax/swing/undo/UndoableEditSupport.java:
6978         Merges from classpath.
6979
6980 2003-03-30  Tom Tromey  <tromey@redhat.com>
6981
6982         * java/lang/String.java (data, boffset, count): Documented.
6983         (String(byte[],String)): Reformatted.
6984         (String(byte[])): Likewise.
6985         (lastIndexOf(int)): Likewise.
6986         (lastIndexOf(String)): Likewise.
6987         (substring(int)): Renamed argument to match Classpath.
6988         (String(StringBuffer)): Don't share buffer if it is nearly empty.
6989
6990         * java/lang/String.java: Miscellaneous minor formatting changes
6991         to match Classpath more closely.
6992
6993 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
6994             Tom Tromey  <tromey@redhat.com>
6995
6996         * java/lang/natString.cc (hashCode): Use cachedHashCode.
6997         (init()): Removed.
6998         (charAt): Put index in exception.
6999         (contentEquals): New method.
7000         Include StringBuffer.h.
7001         * java/lang/String.java (cachedHashCode): New field.
7002         (String()): Follow classpath implementation.
7003         (init()): Removed.
7004         (contentEquals): Declare.
7005         (subSequence): Don't declare IndexOutIfBoundsException in throws
7006         clause.
7007         (matches, replaceFirst, replaceAll, split): New methods from
7008         Classpath.
7009
7010 2003-03-29  Tom Tromey  <tromey@redhat.com>
7011
7012         * java/lang/String.java: Reordered to follow Classpath; merged in
7013         javadoc.
7014
7015         * java/text/MessageFormat.java: Removed some whitespace.
7016
7017         * Makefile.in: Rebuilt.
7018         * Makefile.am (awt_java_source_files): Added new files.
7019         * gnu/javax/rmi/PortableServer.java,
7020         gnu/javax/rmi/CORBA/DelegateFactory.java,
7021         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7022         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7023         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7024         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7025         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7026         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
7027         javax/rmi/PortableRemoteObject.java,
7028         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
7029         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7030         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
7031         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
7032         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
7033         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
7034
7035         * java/lang/natClass.cc (newInstance): Put method name in
7036         exception.
7037         (getConstructor): Likewise.
7038         (getDeclaredConstructor): Likewise.
7039         (getPrivateMethod): Likewise.
7040
7041 2003-03-28  Tom Tromey  <tromey@redhat.com>
7042
7043         * java/lang/reflect/Proxy.java: New version from Classpath.
7044         * java/lang/Package.java: New version from Classpath.
7045
7046 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
7047
7048         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
7049         * configure: Regenerate.
7050
7051 2003-03-28  Michael Koch  <konqueror@gmx.de>
7052
7053         * java/io/File.java:
7054         Import needed classes instead of whole packages, merged class
7055         documentation with classpath, moved constants and variables to top of
7056         class.
7057         * java/io/PrintStream.java:
7058         Merged class documentation with classpath, moved constants and
7059         variables to top of class.
7060         * java/io/RandomAccessFile.java
7061         (RandomAccessFile): Merged with classpath.
7062         (read): Merged with classpath).
7063         (read*): Reformatted.
7064
7065 2003-03-28  Michael Koch  <konqueror@gmx.de>
7066
7067         * java/io/FileDescriptor.java
7068         (finalize): Throws Throwable, not IOException.
7069         * java/io/ObjectOutputStream.java
7070         (PutField.put): Doesnt throws anything.
7071
7072 2003­03-28  Michael Koch  <konqueror@gmx.de>
7073
7074         * java/io/FileOutputStream.java:
7075         Merged class documentation and authors with classpath.
7076         (FileOutputStream): Partly merged with classpath.
7077         (write): Merged with classpath.
7078         (getChannel): Make it synchronized instead of explicit block in this
7079         method.
7080         * java/io/RandomAccessFile.java:
7081         Merged class documentation and authors with classpath.
7082
7083 2003-03-26  Tom Tromey  <tromey@redhat.com>
7084
7085         * java/lang/natRuntime.cc (insertSystemProperties): Set
7086         gnu.classpath.home.url.
7087         * Makefile.in: Rebuilt.
7088         * Makefile.am: Define LIBDIR.
7089
7090 2003-03-25  Michael Koch  <konqueror@gmx.de>
7091
7092         * java/io/FileInputStream.java
7093         (read): Renamed b to buf and off to offset.
7094         * java/io/FileOutputStream.java
7095         (ch): Documentation added.
7096         (FileOutputStream): Documentation added.
7097         (getFD): Documentation added.
7098         (write): Documentation added.
7099         (close): Documentation added.
7100         (getChannel): Documentation added.
7101
7102 2003-03-24  Michael Koch  <konqueror@gmx.de>
7103
7104         * java/io/DataOutputStream.java
7105         (write): Merged from classpath.
7106         * java/io/File.java:
7107         Merged copyrigth with classpath.
7108         * java/io/FileInputStream.java
7109         (getChannel): Made it synchronized instead of using a synchronized
7110         block.
7111         * java/io/FileOutputStream.java: Reformatted.
7112         * java/io/InputStreamReader.java
7113         (InputStreamReader): Renamed enc to encoding_name.
7114         (close): Merged documentation from classpath.
7115         (getEncoding): Merged documentation from classpath.
7116         (ready): Merged documentation from classpath.
7117         (read): Merged documentation from classpath.
7118         * java/io/LineNumberReader.java
7119         (lineNumber): Made it private.
7120         (LineNumberReader): Use Constant instead of a direct value.
7121         * java/io/OutputStreamWriter.java
7122         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
7123         documentation from classpath.
7124         (close): Merged documentation from classpath.
7125         (flush): Merged documentation from classpath.
7126         (write): Merged documentation from classpath.
7127         * java/io/PrintStream.java: Reformatted.
7128
7129 2003-03-24  Michael Koch  <konqueror@gmx.de>
7130
7131         * javax/swing/text/ComponentView.java
7132         (getComponent): Must be final.
7133         * javax/swing/tree/DefaultTreeCellRenderer.java:
7134         Reformatted.
7135         * javax/swing/undo/StateEditable.java:
7136         Reformatted.
7137
7138 2003-03-24  Michael Koch  <konqueror@gmx.de>
7139
7140         * java/rmi/activation/ActivationInstantiator.java:
7141         Reformatted.
7142         * java/rmi/activation/Activator.java:
7143         Reformatted.
7144         * java/rmi/registry/RegistryHandler.java:
7145         Remerged from classpath.
7146
7147 2003-03-24  Michael Koch  <konqueror@gmx.de>
7148
7149         * java/util/Date.java:
7150         Fixed documentation starting tag to make javadoc happy.
7151         * java/util/regex/Pattern.java
7152         (Pattern): Implements Serializable.
7153         * java/util/PatternSyntaxException.java
7154         (serialVersionUID): New member variable.
7155
7156 2003-03-24  Michael Koch  <koqnueror@gmx.de>
7157
7158         * java/awt/ContainerOrderFocusTraversalPolicy.java
7159         (getFirstComponent): Implemented.
7160         (getLastComponent): Implemented.
7161         (getDefaultComponent): Implemented.
7162         (setImplicitDownCycleTraversal): Fixed implementation.
7163         * java/awt/Robot.java
7164         (Robot): Added documentation.
7165         * java/awt/Toolkit.java
7166         (getFontList): Deprecated.
7167         (getFontMetrics): Deprecated.
7168         (getPrintJob): Added documentation.
7169         (getSystemSelection): Added documentation.
7170         (getLockingKeyState): Added documentation.
7171         (setLockingKeyState): Added documentation.
7172         (createCustomCursor): Added documentation.
7173         (getBestCursorSize): Added documentation.
7174         (getMaximumCursorColors): Added documentation.
7175         (isFrameStateSupported): Added documentation.
7176
7177 2003-03-24  Michael Koch  <konqueror@gmx.de>
7178
7179         * java/io/RandomAccessFile.java:
7180         More little merges with classpath. No code changes.
7181
7182 2003-03-24  Michael Koch  <konqueror@gmx.de>
7183
7184         * java/net/natInetAddressNoNet.cc:
7185         Include stddef.h.
7186         * java/net/natPlainDatagramSocketImplNoNet.cc:
7187         Fixed inlcude of java/net/DatagramPacket.h.
7188         * java/net/natPlainSocketImplNoNet.cc:
7189         Include some missing classes.
7190
7191 2003-03-24  Michael Koch  <konqueror@gmx.de>
7192
7193         * java/awt/dnd/DropTarget.java
7194         (DropTargetAutoScroller): According to the online documentation, this
7195         is protected, but in reality it is public.
7196         * java/awt/dnd/DropTargetContext.java
7197         (TransferableProxy): According to the online documentation, this
7198         is protected, but in reality it is public.
7199
7200 2003-03-24  Michael Koch  <konqueror@gmx.de>
7201
7202         * java/io/DataInputStream.java
7203         (): Wrapped documentation line.
7204         (): Fixed @return tag.
7205         * java/io/DataOutputStream.java
7206         (written): Moved to top of class.
7207         (all methods): Merged documentation from classpath.
7208         * java/io/File.java:
7209         Merged copyright year with classpath.
7210         * java/io/FileInputStream.java
7211         (all methods): Merged documentation from classpath.
7212         * java/io/LineNumberReader.java
7213         (getLineNumber): Fixed @return tag.
7214         * java/io/ObjectInputStream.java.
7215         Reformatted.
7216         * java/io/ObjectOutputStream.java:
7217         Reformatted, fixed some @see tags.
7218         * java/io/OutputStreamWriter.java:
7219         Deleted empty line.
7220         * java/io/Writer.java:
7221         Reformatted.
7222
7223 2003-03-24  Michael Koch  <konqueror@gmx.de>
7224
7225         * java/awt/Frame.java
7226         (DEFAULT_CURSOR): Fixed @deprecated tag.
7227         (setCursor): Fixed @deprecated tag.
7228
7229 2003-03-24  Michael Koch  <konqueror@gmx.de>
7230
7231         * java/beans/beancontext/BeanContextEvent.java:
7232         Reformated.
7233
7234 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
7235
7236         * java/lang/natStringBuffer.cc (regionMatches): New function.
7237         * java/lang/String.java (count): Now package-private.
7238         * java/lang/StringBuffer.java: Merged with Classpath.
7239
7240 2003-03-23  Michael Koch  <konqueror@gmx.de>
7241
7242         * java/io/BufferedOutputStream.java:
7243         Reformated.
7244         * java/io/BufferedReader.java:
7245         Reformated.
7246         * java/io/ByteArrayOutputStream.java
7247         (size): Fixed @see tag.
7248         * java/io/CharArrayWriter.java
7249         (size): Fixed @see tag.
7250         * java/io/DataInput.java:
7251         Reformated.
7252         * java/io/DataOutput.java:
7253         Reformated.
7254         * java/io/DataOutputStream.java:
7255         Merged copyright years with classpath.
7256         * java/io/Externalizable.java:
7257         Reformated.
7258         * java/io/FileFilter.java:
7259         Reformated.
7260         * java/io/FileInputStream.java:
7261         Merged copyright years with classpath.
7262         * java/io/FileOutputStream.java:
7263         Merged copyright years with classpath.
7264         * java/io/FilePermission.java
7265         (FilePermission): Replaced @XXX with FIXME:.
7266         * java/io/FileWriter.java:
7267         Reformated.
7268         * java/io/FilenameFilter.java:
7269         Reformated.
7270         * java/io/FilterInputStream.java:
7271         Reformated.
7272         * java/io/FilterOutputStream.java:
7273         Reformated.
7274         * java/io/FilterReader.java:
7275         Reformated.
7276         * java/io/FilterWriter.java:
7277         Reformated.
7278         * java/io/LineNumberInputStream.java
7279         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
7280         happy.
7281         (getLineNumber): Fixed @return tag.
7282         * java/io/ObjectInput.java:
7283         Reformated.
7284         * java/io/ObjectOutput.java:
7285         Reformated.
7286         * java/io/ObjectStreamClass.java:
7287         Reformated.
7288         * java/io/PrintStream.java:
7289         Merged copyright years with classpath.
7290         * java/io/PushbackReader.java
7291         (PushbackReader): Replaced @code with @param.
7292         * java/io/SerializablePermission.java:
7293         Reformated.
7294         * java/io/StreamTokenizer.java
7295         (resetSyntax): Fixed @see tag.
7296
7297 2003-03-22  Richard Henderson  <rth@redhat.com>
7298
7299         * sysdep/ia64/locks.h: Include ia64intrin.h.
7300         (compare_and_swap): Use __sync_bool_compare_and_swap.
7301         (compare_and_swap_release): Expose ar.ccv assignment.
7302
7303 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
7304
7305         * include/posix.h: Add suffix for darwin dynamic libraries.
7306
7307 2003-03-21  Michael Koch  <konqueror@gmx.de>
7308
7309         * javax/swing/Action.java
7310         (ACCELERATOR_KEY): New constant.
7311         (ACTION_COMMAND_KEY): Likewise.
7312         (MNEMONIC_KEY): Likewise.
7313         * javax/swing/UnsupportedLookAndFeelException.java
7314         (UnsupportedLookAndFeelException): Must be public.
7315         * javax/swing/WindowConstants.java
7316         (EXIT_ON_CLOSE): New constant.
7317         * javax/swing/text/BadLocationException.java
7318         (offset): New member variable.
7319         (BadLocationException): New implementation, documentation added.
7320         (offsetRequested): New method.
7321         * javax/swing/text/Caret.java:
7322         Reformated.
7323         * javax/swing/text/Document.java:
7324         Reformated.
7325
7326 2003-03-21  Michael Koch  <konqueror@gmx.de>
7327
7328         * java/rmi/activation/Activatable.java
7329         (serialVersionUID): New member variable.
7330         * java/rmi/activation/ActivationGroup.java
7331         (serialVersionUID): New member variable.
7332         * java/rmi/activation/ActivationGroupDesc.java
7333         (serialVersionUID): New member variable.
7334         * java/rmi/registry/Registry.java:
7335         Reformated.
7336         (Registry): Deprecated.
7337         * java/rmi/server/LoaderHandler.java
7338         Reformated.
7339         (LoaderHandler): Deprecated.
7340         * java/rmi/server/LogStream.java
7341         Reformated.
7342         (LogStream): Deprecated.
7343         * java/rmi/server/Operation.java
7344         (Operation): Deprecated.
7345         * java/rmi/server/RMIFailureHandler.java:
7346         Reformated.
7347         * java/rmi/server/RMISocketFactory.java:
7348         Reformated.
7349         * java/rmi/server/RemoteCall.java
7350         (RemoteCall): Deprecated.
7351         * java/rmi/server/RemoteStub.java:
7352         Reformated.
7353         * java/rmi/server/Skeleton.java
7354         Reformated.
7355         (Skeleton): Deprecated.
7356
7357 2003-03-21  Michael Koch  <konqueror@gmx.de>
7358
7359         * java/io/LineNumberReader.java
7360         (LineNumberReader): Merged documentation with classpath.
7361         (getLineNumber): Likewise.
7362         (setLineNumber): Likewise.
7363         (mark): Likewise.
7364         (reset): Likewise.
7365         (read): Likewise.
7366         (readLine): Likewise.
7367         (skip): Likewise.
7368
7369 2003-03-21  Michael Koch  <konqueror@gmx.de>
7370
7371         * java/rmi/RMISecurityManager.java
7372         (checkAccept): Removed.
7373         (checkAccess): Likewise.
7374         (checkAccess): Likewise.
7375         (checkAwtEventQueueAccess): Likewise.
7376         (checkConnect): Likewise.
7377         (checkCreateClassLoader): Likewise.
7378         (checkDelete): Likewise.
7379         (checkExec): Likewise.
7380         (checkExit): Likewise.
7381         (checkLink): Likewise.
7382         (checkListen): Likewise.
7383         (checkMemberAccess): Likewise.
7384         (checkMulticast): Likewise.
7385         (checkPackageAccess): Likewise.
7386         (checkPackageDefinition): Likewise.
7387         (checkPermission): Likewise.
7388         (checkPrintJobAccess): Likewise.
7389         (checkPropertiesAccess): Likewise.
7390         (checkPropertyAccess): Likewise.
7391         (checkRead): Likewise.
7392         (checkSecurityAccess): Likewise.
7393         (checkSetFactory): Likewise.
7394         (checkSystemClipboardAccess): Likewise.
7395         (checkTopLevelWindow): Likewise.
7396         (checkWrite): Likewise.
7397
7398 2003-03-20  Michael Koch  <konqueror@gmx.de>
7399
7400         * gnu/java/nio/FileChannelImpl.java
7401         (address): Removed.
7402         (map_address): New member variable.
7403         (length): Make it package private.
7404         (fd): Make it package private.
7405         (buf): Make it package private.
7406         (file_obj): Make it package private.
7407         (FileChannelImpl): New constructor.
7408         (nio_mmap_file): Use RawData instead of long.
7409         (nio_munmap_file): Use RawData instead of long.
7410         (nio_msync): Use RawData instead of long.
7411         (implCloseChannel): New implementation using map_address.
7412         (read): Reformated.
7413         (map): Implemented.
7414         (create_direct_mapped_buffer): Implemented, use RawData, throws
7415         IOException.
7416         (force): Use map_address instead of address.
7417         * gnu/java/nio/MappedByteFileBuffer.java
7418         (address): Removed.
7419         (map_address): New member variable.
7420         (MappedByteFileBuffer): Use map_address instead of address, reformated.
7421         (several methods): Use map_address instead of address, replaced long
7422         with RawData where appropriate.
7423         * gnu/java/nio/natFileChannelImpl.cc
7424         (nio_mmap_file): Replaced long with RawData.
7425         (nio_munmap_file): Replaced long with RawData.
7426         (nio_msync): Replaced long with RawData.
7427         * gnu/java/nio/natMappedByteFileBuffer.cc
7428         (several methods): Replaced long with RawData where appropriate.
7429
7430 2003-03-20  Michael Koch  <konqueror@gmx.de>
7431
7432         * java/net/InetAddress.java,
7433         java/net/JarURLConnection.java,
7434         java/net/PlainDatagramSocketImpl.java,
7435         java/net/PlainSocketImpl.java,
7436         java/net/URLConnection.java:
7437         Merged copyright statements with classpath for easier merging.
7438
7439 2003-03-20  Michael Koch  <konqueror@gmx.de>
7440
7441         * java/io/FileInputStream.java
7442         (getChannel): New implementation.
7443         * java/io/FileOutputStream.java
7444         (ch): New member variable.
7445         (getChannel): Implemented.
7446         * java/io/RandomAccessFile.java
7447         (RandomAccessFile): Throws FileNotFoundException instead of
7448         IOException.
7449         (getChannel): New method.
7450         (ch): New member variable.
7451
7452 2003-03-20  Michael Koch  <konqueror@gmx.de>
7453
7454         * java/io/DataOutputStream.java,
7455         java/io/File.java,
7456         java/io/FileInputStream.java,
7457         java/io/FileOutputStream.java,
7458         java/io/InputStreamReader.java,
7459         java/io/LineNumberReader.java,
7460         java/io/OutputStreamWriter.java,
7461         java/io/PrintStream.java,
7462         java/io/RandomAccessFile.java:
7463         Merged copyright statements with classpath for easier merging.
7464
7465 2003-03-19  Michael Koch  <konqueror@gmx.de>
7466
7467         * java/lang/Process.java:
7468         Merged from classpath.
7469
7470 2003-03-19  Michael Koch  <konqueror@gmx.de>
7471
7472         * java/io/FileOutputStream.java
7473         (FileOutputStream): New constructor, merged from classpath.
7474         * java/io/FileWriter.java
7475         (FileWriter): New constructor, merged from classpath.
7476
7477 2003-03-18  Michael Koch  <konqueror@gmx.de>
7478
7479         * java/awt/ScrollPane.java
7480         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
7481         (getViewportSize): Likewise.
7482         (addNotify): Likewise.
7483         (removeNotify): Likewise.
7484         * java/awt/ScrollPaneAdjustable.java
7485         (ScrollPaneAdjustable): No longer extends Scrollbar.
7486         * java/beans/beancontext/BeanContextServices.java:
7487         Reformated.
7488         (getService): Added throws TooManyListenersException;
7489         * java/beans/beancontext/BeanContextServicesSupport.java:
7490         Reformated.
7491
7492 2003-03-18  Michael Koch  <konqueror@gmx.de>
7493
7494         * java/io/BufferedOutputStream.java,
7495         java/io/DataInput.java,
7496         java/io/DataInputStream.java,
7497         java/io/DataOutput.java,
7498         java/io/Externalizable.java:
7499         More merges from classpath.
7500
7501 2003-03-18  Michael Koch  <konqueror@gmx.de>
7502
7503         * configure.in: Fixed links to platform dependant java.net files.
7504         * configure: Regenerated.
7505         * java/net/natInetAddress.cc,
7506         java/net/natNetworkInterface.cc,
7507         java/net/natPlainDatagramSocketImpl.cc,
7508         java/net/natPlainSocketImpl.cc:
7509         Removed.
7510
7511 2003-03-18  Michael Koch  <konqueror@gmx.de>
7512
7513         * configure.in: Create links to architecture dependent files,
7514         introduced PLATFORMNET variable (set to NoNet for newlib usage).
7515         * configure: Regenerated.
7516         * java/net/natInetAddressNoNet.cc,
7517         java/net/natInetAddressPosix.cc,
7518         java/net/natInetAddressWin32.cc,
7519         java/net/natNetworkInterfaceNoNet.cc,
7520         java/net/natNetworkInterfacePosix.cc,
7521         java/net/natNetworkInterfaceWin32.cc,
7522         java/net/natPlainDatagramSocketImplNoNet.cc,
7523         java/net/natPlainDatagramSocketImplPosix.cc,
7524         java/net/natPlainDatagramSocketImplWin32.cc,
7525         java/net/natPlainSocketImplNoNet.cc,
7526         java/net/natPlainSocketImplPosix.cc,
7527         java/net/natPlainSocketImplWin32.cc: New files.
7528
7529 2003-03-18  Michael Koch  <konqueror@gmx.de>
7530
7531         * java/io/BufferedReader.java,
7532         java/io/BufferedWriter.java,
7533         java/io/ByteArrayOutputStream.java,
7534         java/io/FileFilter.java,
7535         java/io/FilePermission.java,
7536         java/io/FileReader.java,
7537         java/io/FileWriter.java,
7538         java/io/FilenameFilter.java,
7539         java/io/FilterInputStream.java,
7540         java/io/FilterOutputStream.java,
7541         java/io/FilterReader.java,
7542         java/io/FilterWriter.java,
7543         java/io/ObjectInput.java,
7544         java/io/ObjectInputValidation.java,
7545         java/io/ObjectOutput.java,
7546         java/io/ObjectStreamField.java,
7547         java/io/PipedInputStream.java,
7548         java/io/PipedReader.java,
7549         java/io/PrintWriter.java,
7550         java/io/PushbackReader.java,
7551         java/io/Reader.java,
7552         java/io/SerializablePermission.java,
7553         java/io/StringReader.java,
7554         java/io/Writer.java:
7555         Merged from classpath.
7556
7557 2003-03-17  Michael Koch  <konqueror@gmx.de>
7558
7559         * java/awt/ScrollPaneAdjustable.java:
7560         Compile fixes.
7561         
7562 2003-03-17  Michael Koch  <konqueror@gmx.de>
7563
7564         * java/net/DatagramSocket.java
7565         (connect): Fixed comment.
7566         * java/nio/ByteBuffer.java
7567         (hasArray): Fixed comment.
7568
7569 2003-03-17  Michael Koch  <konqueror@gmx.de>
7570
7571         * java/beans/Beans.java:
7572         Explicitely import classes not packages.
7573         * java/beans/FeatureDescriptor.java
7574         (preferred): New member variable.
7575         (isPreferred): New method.
7576         (setPreferred): New method.
7577         * java/beans/PropertyEditorManager.java:
7578         Explicitely import used classes.
7579         * java/beans/beancontext/BeanContextChild.java:
7580         Added line wrapping.
7581         * java/beans/beancontext/BeanContextChildSupport.java:
7582         Reindented.
7583         * java/beans/beancontext/BeanContextEvent.java:
7584         Reindented.
7585
7586 2003-03-17  Michael Koch  <konqueror@gmx.de>
7587
7588         * java/awt/Dialog.java
7589         (Dialog): New constructor, changed implementations, added
7590         documentation.
7591         * java/awt/ScrollPaneAdjustable.java
7592         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
7593         Serializable.
7594         (serialVersionUID): New member variable.
7595         (sp): New member variable.
7596         (orientation): New member variable.
7597         (value): New member variable.
7598         (minimum): New member variable.
7599         (maximum): New member variable.
7600         (visibleAmount): New member variable.
7601         (unitIncrement): New member variable.
7602         (blockIncrement): New member variable.
7603         (AdjustmentListener): New member variable.
7604         (ScrollPaneAdjustable): New implementation.
7605         (addAdjustmentListener): New method.
7606         (removeAdjustmentListener): New method.
7607         (getAdjustmentListeners): New method.
7608         (getBlockIncrement): New method.
7609         (getMaximum): New method.
7610         (getMinimum): New method.
7611         (getOrientation): New method.
7612         (getUnitIncrement): New method.
7613         (getValue): New method.
7614         (getVisibleAmount): New method.
7615         (setBlockIncrement): New method.
7616         (setMaximum): Implemented.
7617         (setMinimum): Implemented.
7618         (setUnitIncrement): New method.
7619         (setValue): New method.
7620         (setVisibleAmount): Implemented. 
7621         (paramString): New stubbed method.
7622         * java/awt/Window.java
7623         (show): Call setVisible().
7624         (hide): Call setVisible().
7625         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
7626         and WINDOW_STATE_CHANGED.
7627         (processWindowFocusEvent): New method.
7628         (processWindowStateEvent): New method.
7629         (postEvent): Deprecated.
7630         (applyResourceBundle): Deprecated.
7631         * java/awt/datatransfer/DataFlavor.java
7632         (DataFlavor): Doesn't thow ClassNotFoundException.
7633
7634 2003-03-17  Michael Koch
7635
7636         * javax/print/attribute/Attribute.java,
7637         javax/print/attribute/AttributeSet.java,
7638         javax/print/attribute/PrintRequestAttributeSet.java:
7639         New files.
7640         * Makefile.am
7641         (javax_source_files): Added new files:
7642         javax/print/attribute/Attribute.java
7643         javax/print/attribute/AttributeSet.java
7644         javax/print/attribute/PrintRequestAttributeSet.java
7645         * Makefile.in: Regenerated.
7646
7647 2003-03-17  Michael Koch
7648
7649         * javax/print/attribute/Attribute.java,
7650         javax/print/attribute/AttributeSet.java,
7651         javax/print/attribute/PrintRequestAttributeSet.java:
7652         New files.
7653         * Makefile.am
7654         (awt_java_source_files): Added new files:
7655         javax/print/attribute/Attribute.java
7656         javax/print/attribute/AttributeSet.java
7657         javax/print/attribute/PrintRequestAttributeSet.java
7658         * Makefile.in: Regenerated.
7659
7660 2003-03-16  Tom Tromey  <tromey@redhat.com>
7661
7662         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
7663         Include platform.h.
7664         * java/lang/natRuntime.cc (insertSystemProperties): Use
7665         _Jv_platform_path_separator.
7666         (nativeGetLibname): Use _Jv_platform_file_separator.
7667         (_load): Use _Jv_platform_onload_names.
7668         (onload_names): New global.
7669         * include/win32.h (_Jv_platform_file_separator): New define.
7670         (_Jv_platform_path_separator): Likewise.
7671         (_Jv_platform_onload_names): Likewise.
7672         (_Jv_platform_ffi_abi): Likewise.
7673         * include/posix.h (_Jv_platform_file_separator): New define.
7674         (_Jv_platform_path_separator): Likewise.
7675         (_Jv_platform_onload_names): Likewise.
7676         (_Jv_platform_ffi_abi): Likewise.
7677
7678 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
7679
7680         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
7681
7682 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
7683
7684         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
7685         hierarchy loop.
7686         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
7687         list to Object,ObjectStreamClass, moved callReadMethod code up into
7688         readObject and added Class argument to all setXxxField calls.
7689         (callReadMethod): Changed Class argument to ObjectStreamClass to be
7690         consistent with ObjectOutputStream and to facilitate caching the
7691         Method in the future.
7692         (setBooleanField): Added Class argument.
7693         (setByteField): Likewise.
7694         (setCharField): Likewise.
7695         (setDoubleField): Likewise.
7696         (setFloatField): Likewise.
7697         (setIntField): Likewise.
7698         (setLongField): Likewise.
7699         (setShortField): Likewise.
7700         (setObjectField): Likewise.
7701         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
7702         class hierarchy loop.
7703         (defaultWriteObject): Call writeFields with new argument list.
7704         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
7705         list to Object,ObjectStreamClass, moved callWriteMethod up into
7706         writeObject and added Class argument to all getXxxField calls.
7707         (callWriteMethod): Added ObjectStreamClass argument to be able to
7708         get the proper class to call getMethod on (each class can have (or
7709         not have) its own writeObject method).
7710         (getBooleanField): Added Class argument.
7711         (getByteField): Likewise.
7712         (getCharField): Likewise.
7713         (getDoubleField): Likewise.
7714         (getFloatField): Likewise.
7715         (getIntField): Likewise.
7716         (getLongField): Likewise.
7717         (getShortField): Likewise.
7718         (getObjectField): Likewise.
7719         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
7720         facilitate caching the Method object in the future.
7721
7722 2003-03-12  Andreas Schwab  <schwab@suse.de>
7723
7724         * configure.in: Avoid trailing /. in toolexeclibdir.
7725         * configure: Rebuilt.
7726
7727 2003-03-11  Michael Koch  <konqueror@gmx.de>
7728
7729         * gnu/java/nio/ByteBufferImpl.java
7730         (putInt): Use limit() instead of limit.
7731         * gnu/java/nio/CharBufferImpl.java
7732         (slice): Fixed implementation.
7733         (subSequence): Better bounds checking.
7734         * gnu/java/nio/MappedByteFileBuffer.java:
7735         Import all needed classes directly.
7736         * java/nio/ByteBuffer.java
7737         (hashCode): New dummy method.
7738         * java/nio/CharBuffer.java
7739         (array_offset): New member variable.
7740         (hasArray): Fixed documentation.
7741         (arrayOffset): Return array_offset.
7742
7743 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
7744
7745         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
7746         setter; made return value of getter const char* instead of char*
7747         * prims.cc: removed all references to _Jv_ThisExecutable().
7748         These are in the platform-specific sections now.
7749         * posix.cc: define platform-specific _Jv_ThisExecutable().
7750         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
7751         * win32.cc: define platform-specific _Jv_ThisExecutable()
7752         using GetModuleFilename()
7753         * java/lang/natRuntime.cc: set gnu.gcj.progname property
7754         to argv[0] instead of _Jv_ThisExecutable()
7755
7756 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
7757
7758         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
7759         that is set if we are using addr2name.awk instead of addr2line.
7760         (NameFinder): Set usingAddr2name if using addr2name.awk.
7761         (getExternalLabel): New native method to convert a method 
7762         name to an external label.
7763         (lookup): Convert name given by addr2line to an external label
7764         before demangling.
7765
7766         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
7767         constant representing the prefix attached to method names to
7768         convert them to an external label.
7769         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
7770         using LABEL_PREFIX.
7771
7772 2003-03-10  Tom Tromey  <tromey@redhat.com>
7773
7774         * Makefile.in: Rebuilt.
7775         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
7776         (JC1FLAGS): Removed -Wno-deprecated.
7777
7778 2003-03-10  Michael Koch  <konqueror@gmx.de>
7779
7780         * java/nio/ByteOrder.java
7781         (nativeOrder): Working implementation, added documentation.
7782         (toString): Added documentation.
7783
7784 2003-03-10  Michael Koch  <konqueror@gmx.de>
7785
7786         * java/net/DatagramSocket.java,
7787         java/net/MulticastSocket.java,
7788         java/net/Socket.java,
7789         java/net/URL.java,
7790         java/net/URLConnection.java:
7791         Fixed some documentation tags to make javadoc and friends happy.
7792
7793 2003-03-10  Michael Koch  <koqnueror@gmx.de>
7794
7795         * java/beans/beancontext/BeanContextServicesSupport.java,
7796         java/beans/beancontext/BeanContextSupport.java: New files.
7797         * Makefile.am
7798         (awt_source_files): Added new files.
7799         * Makefile.in: Regenerated.
7800
7801 2003-03-10  Michael Koch  <konqueror@gmx.de>
7802
7803         * java/awt/FocusTraversalPolicy.java
7804         (FocusTraversalPolicy): Documentation added.
7805         (getComponentAfter): Documentation added.
7806         (getComponentBefore): Documentation added.
7807         (getFirstComponent): Documentation added.
7808         (getLastComponent): Documentation added.
7809         (getDefaultComponent): Documentation added.
7810         (getInitialComponent): Documentation added.
7811         * java/awt/ScrollPaneAdjustable.java
7812         (sp): New member variable.
7813         (orientation): New member variable.
7814         (value): New member variable.
7815         (minimum): New member variable.
7816         (maximum): New member variable.
7817         (visibleAmount): New member variable.
7818         (unitIncrement): New member variable.
7819         (blockIncrement): New member variable.
7820         (adjustmentListener): New member variable.
7821         (ScrollPaneAdjustable): Rewrote.
7822         (addAdjustmentListener): New method.
7823         (removeAdjustmentListener): New method.
7824         (getAdjustmentListeners): New method.
7825         (getBlockIncrement): New method.
7826         (getMaximum): New method.
7827         (getMinimum): New method.
7828         (getOrientation): New method.
7829         (getUnitIncrement): New method.
7830         (getValue): New method.
7831         (getVisibleAmount): New method.
7832         (setBlockIncrement): New method.
7833         (setUnitIncrement): New method.
7834         (setMaximum): Implemented.
7835         (setMinimum): Implemented.
7836         (setValue): New method.
7837         (setVisibleAmount): Implemented.
7838         (paramString): New method.
7839         * java/awt/Window.java
7840         (show): Use setVisible(true) instead of super.show().
7841         (hide): Use sevVisible(false) instead of super.hide().
7842         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
7843         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
7844         (postEvent): Deprecated.
7845         (applyResourceBundle): Deprecated.
7846         (processWindowFocusEvent): New method.
7847         (processWindowStateEvent): New method.
7848         * java/awt/datatransfer/DataFlavor.java: Reindented.
7849         * java/awt/font/TextHitInfo.java
7850         (charIndex): New member variable.
7851         (leadingEdge): New member variable.
7852         (TextHitInfo): New constructor.
7853         (getCharIndex): Implemented.
7854         (isLeadingEdge): Implemented.
7855         (getInsertionIndex): Implemented.
7856         (hashCode): Access charIndex directly.
7857         (equals): Reformated.
7858         (leading): Implemented.
7859         (trailing): Implemented.
7860         (beforeOffset): Implemented.
7861         (afterOffset): Implemented.
7862         (getOtherHit): Implemented.
7863         (getOffsetHit): Implemented.
7864         (toString): Implemented.
7865         * java/awt/image/BufferedImage.java
7866         (BufferedImage): Implements WritableRenderedImage.
7867         (observers): New member variable.
7868         (addTileObserver): New method.
7869         (removeTileObserver): New method.
7870
7871 2003-03-09  Tom Tromey  <tromey@redhat.com>
7872
7873         PR libgcj/9934:
7874         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
7875         to lseek.  Return 0 if we can't compute the value.
7876
7877 2003-03-03  Michael Koch  <konqueror@gmx.de>
7878
7879         * java/net/NetworkInterface.java: Merged with classpath.
7880
7881 2003-03-03  Tom Tromey  <tromey@redhat.com>
7882
7883         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
7884         of bytecode.
7885         (handle_ret_insn): Fail if returning to jsr that appears at end of
7886         bytecode.
7887
7888 2003-03-03  Michael Koch  <konqueror@gmx.de>
7889
7890         * Makefile.am
7891         (ordinary_java_source_files):
7892         Added gnu/java/nio/MappedByteFileBuffer.java.
7893         (nat_source_files):
7894         Added gnu/java/nio/natMappedByteFileBuffer.cc.
7895         * Makefile.in: Regenerated.
7896
7897 2003-03-03  Michael Koch  <konqueror@gmx.de>
7898
7899         * java/net/DatagramSocket.java
7900         (connect): Merged comment from classpath.
7901         (receive): Merged documentation from classpath.
7902         * java/net/Socket.java
7903         (setSoTimeout): Clarified documentation.
7904         * java/net/URL.java
7905         (getPath): Merged from classpath.
7906         (getUserInfo): Merged from classpath.
7907         (getQuery): Merged from classpath.
7908         * java/net/URLStreamHandler.java
7909         (toExternalForm): Merged from classpath.
7910
7911 2003-03-02  Mark Wielaard  <mark@klomp.org>
7912
7913         * java/util/Properties.java (load): Only skip line if the first
7914         character is a comment, whitespaces don't count.
7915
7916 2003-03-02  Michael Koch  <konqueror@gmx.de>
7917
7918         * java/net/NetPermission.java:
7919         Merged copyright with classpath.
7920
7921 2003-03-02  Michael Koch  <konqueror@gmx.de>
7922
7923         * java/lang/Package.java:
7924         Remerged from classpath.
7925
7926 2003-03-02  Michael Koch  <konqueror@gmx.de>
7927
7928         * java/net/HttpURLConnection.java
7929         (HTTP_SERVER_ERROR): Deprecated.
7930         * java/net/MulticastSocket.java
7931         (send): Replaced checkMulticast with appropriate checkPermission call,
7932         deprecated.
7933         * java/net/URLDecoder.java
7934         (decode): Deprecated.
7935         * java/net/URLEncoder.java
7936         (encode): Deprecated.
7937
7938 2003-03-02  Michael Koch  <konqueror@gmx.de>
7939
7940         * javax/swing/text/Caret.java
7941         (getMagicCaretPosition): Fixed typo in method name.
7942         * javax/swing/text/DefaultCaret.java
7943         (getMagicCaretPosition): Fixed typo in method name.
7944
7945 2003-03-02  Michael Koch  <konqueror@gmx.de>
7946
7947         * java/awt/List.java
7948         (setMultipleSelections): Deprecated.
7949         (delItem): Deprecated.
7950         * java/awt/MenuComponent.java
7951         (getPeer): Deprecated.
7952         * java/awt/ScrollPane.java
7953         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
7954         * java/awt/dnd/MouseDragGestureRecognizer.java
7955         (mouseClicked): Added comment.
7956         (mousePressed): Added comment.
7957         (mouseReleased): Added comment.
7958         (mouseEntered): Added comment.
7959         (mouseExited): Added comment.
7960         (mouseDragged): Added comment.
7961         (mouseMoved): Added comment.
7962         * java/awt/event/KeyEvent.java
7963         (KeyEvent): Deprecated.
7964         (setModifiers): Deprecated.
7965         
7966 2003-03-02  Michael Koch  <konqueror@gmx.de>
7967
7968         * gnu/java/nio/FileChannelImpl.java
7969         (fd): Type FileDescriptor instead of int.
7970         (lengthInternal): Removed.
7971         (FileChannelImpl): Fixed arguments, check type of file object.
7972         (size): Made it native.
7973         (implPosition): New native method.
7974         (implTruncate): New native method.
7975         (position): Implemented.
7976         (truncate): Implemented.
7977         (nio_mmap_file): Changed arguments.
7978         (nio_munmap_file): Changed arguments.
7979         (nio_msync): Changed arguments.
7980         * gnu/java/nio/natFileChannelImpl.cc
7981         (lengthInternal): Removed.
7982         (size): New method.
7983         (implPosition): New method.
7984         (implTruncate): New method.
7985         (nio_mmap_file): Changed arguments.
7986         (nio_munmap_file): Changed arguments.
7987         (nio_msync): Changed arguments.
7988
7989 2003-03-02  Michael Koch  <konqueror@gmx.de>
7990
7991         * java/awt/dnd/DropTargetContext.java:
7992         Compile fix: Forgot to commit import.
7993         
7994 2003-03-02  Michael Koch  <konqueror@gmx.de>
7995
7996         * java/awt/Component.java,
7997         java/awt/ScrollPane.java:
7998         Fixed typos.
7999
8000 2003-03-02  Michael Koch  <konqueror@gmx.de>
8001
8002         * java/awt/dnd/DnDEventMulticaster.java: New file.
8003         * java/awt/dnd/DragSource.java
8004         (flavorMap): New member variable.
8005         (dragSourceListener): New member variable.
8006         (dragSourceMotionListener): New member variable.
8007         (getFlavorMap): Implemented.
8008         (createDragGestureRecognizer): Implemented.
8009         (addDragSourceListener): Implemented.
8010         (removeDragSourceListener): Implemented.
8011         (getDragSourceListeners): Implemented.
8012         (addDragSourceMotionListener): Implemented.
8013         (removeDragSourceMotionListener): Implemented.
8014         (getDragSourceMotionListeners): Implemented.
8015         (getListeners): Implemented.
8016         * java/awt/dnd/DragSourceContext.java
8017         (peer): New member variable.
8018         (cursor): New member variable.
8019         (transferable): New member variable.
8020         (trigger): New member variable.
8021         (dragSourceListener): New member variable.
8022         (image): New member variable.
8023         (offset): New member variable.
8024         (DragSourceContext): Implemented.
8025         (getDragSource): Implemented.
8026         (getComponent): Implemented.
8027         (getTrigger): Implemented.
8028         (getSourceActions): Implemented.
8029         (setCursor): Implemented.
8030         (getCursor): Implemented.
8031         (addDragSourceListener): Implemented.
8032         (removeDragSourceListener): Implemented.
8033         (getTransferable): Implemented.
8034         * java/awt/dnd/DropTarget.java
8035         (DropTargetAutoScroller.component): New member variable.
8036         (DropTargetAutoScroller.point): New member variable.
8037         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
8038         (DropTargetAutoScroller.updateLocation): Implemented.
8039         (active): Renamed from isActive, defaults to true now.
8040         (component): New member variable.
8041         (flavorMap): New member variable.
8042         (actions): New member variable.
8043         (dropTargetContext): New member variable.
8044         (dropTargetListener): New member variable.
8045         (DropTarget): Implemented.
8046         (getComponent): Implemented.
8047         (setComponent): Implemented.
8048         (setDefaultActions): Implemented.
8049         (getDefaultActions): Implemented.
8050         (setActive): Use active instead of isActive.
8051         (isActive): Use active instead of isActive.
8052         (addDropTargetListener): Implemented.
8053         (removeDropTargetListener): Implemented.
8054         (getFlavorMap): Implemented.
8055         (setFlavorMap): Implemented.
8056         (getDropTargetContext): Implemented.
8057         (createDropTargetContext): Implemented.
8058         (createDropTargetAutoScroller): Implemented.
8059         * java/awt/dnd/DropTargetContext.java
8060         (TransferableProxy.getTransferDataFlavors): Implemented.
8061         (TransferableProxy.isDataFlavorSupported): Implemented.
8062         (TransferableProxy.getTransferData): Implemented.
8063         (dropTarget):  New member variable.
8064         (dtcp): New member variable.
8065         (DropTargetContext): New package private constructor.
8066         (getDropTarget): Implemented.
8067         (getComponent): Implemented.
8068         (addNotify): Implemented.
8069         (removeNotify): Implemented.
8070         (getCurrentDataFlavorsAsList): Implemented.
8071         (isDataFlavorSupported): Implemented.
8072         * java/awt/dnd/MouseDragGestureRecognizer.java
8073         (registerListeners): Implemented.
8074         (unregisterListeners): Implemented.
8075         * Makefile.am
8076         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
8077         * Makefile.in: Regenerated.
8078
8079 2003-03-02  Michael Koch  <konqueror@gmx.de>
8080
8081         * java/awt/Component.java
8082         (eventTypeEnabled): New method.
8083         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
8084         * java/awt/Container.java
8085         (changeSupport): New member variable.
8086         (addPropertyChangeListener): New methods.
8087         * java/awt/ContainerOrderFocusTraversalPolicy.java
8088         (ContainerOrderFocusTraversalPolicy): Added comment.
8089         (getComponentAfter): Throw exception, documentation added.
8090         (getComponentBefore): Throw exception, documentation added.
8091         (getFirstComponent): Throw exception, documentation added.
8092         (getLastComponent): Throw exception, documentation added.
8093         (getDefaultComponent): Throw exception, documentation added.
8094         * java/awt/EventQueue.java: Reindented.
8095         * java/awt/FocusTraversalPolicy.java:
8096         (FocusTraversalPolicy): Added comment.
8097         (getComponentAfter): Documentation added.
8098         (getComponentBefore): Documentation added.
8099         (getFirstComponent): Documentation added.
8100         (getLastComponent): Documentation added.
8101         (getDefaultComponent): Documentation added.
8102         (getInitialComponent): Documentation added.
8103         * java/awt/ScrollPane.java
8104         (wheelScrollingEnabled): New member variable.
8105         (ScrollPane): Initialize wheelScollingEnabled.
8106         (eventTypeEnabled): New method.
8107         (isWheelScrollingEnabled): New method.
8108         (setWheelScrollingEnabled): New method.
8109
8110 2003-03-02  Michael Koch  <konqueror@gmx.de>
8111
8112         * java/net/DatagramSocket.java
8113         (closed): New member variable.
8114         (close): Use closed variable.
8115         (getInetAddress): No need to call isConnected().
8116         (getPort): No need to call isConnected().
8117         (disconnect): Reset remoteAddress and remotePort, fixed typo.
8118         (isClosed): Reimplemented.
8119         
8120 2003-03-02  Michael Koch  <konqueror@gmx.de>
8121
8122         * configure.in: Added check for memory mapping of files.
8123         * configure: Regenerated.
8124         * config.h.in: Regenerated.
8125
8126 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
8127
8128         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
8129         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
8130
8131 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8132
8133         * java/io/File.java (normalizePath): Remove trailing separator
8134         on Windows only if path is not of the form "x:\".
8135
8136         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
8137         (java::io::File::attr): Change formatting a bit and use
8138         WIN32_EPOCH_MILLIS instead of magic numbers.
8139         (java::io::File::isAbsolute): Path must have at least 3 
8140         characters for a UNC network path.
8141         (java::io::File::init_native): Define.
8142         (java::io::File::performCreate): Likewise.
8143         (java::io::File::performSetReadOnly): Likewise.
8144         (java::io::File::performSetLastModified): Likewise.
8145         (java::io::File::performListRoots): Likewise.
8146
8147 2003-03-01  Tom Tromey  <tromey@redhat.com>
8148
8149         * java/lang/natObject.cc: Don't include assert.h.
8150         (heavy_lock_obj_finalization_proc): Use JvAssert.
8151         (remove_all_heavy): Likewise.
8152         (_Jv_MonitorEnter): Likewise.
8153         (_Jv_MonitorExit): Likewise.
8154         (wait): Likewise.
8155
8156 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8157
8158         * java/io/File (getAbsolutePath): Prefix drive specifier on
8159         Windows for paths starting with a '\'.
8160         (toURL): Make URL more consistent with what Sun's JDK returns.
8161
8162         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
8163         true only if the path is a UNC network path or it starts with a
8164         drive specifier.
8165
8166         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
8167         Be prepared to handle either '/' or '\\' in the file path for
8168         Windows if using the "file" protocol.
8169         Canonicalise the file path if using a relative path in the given
8170         context and the "file" protocol.
8171
8172 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
8173
8174         * java/lang/natWin32Process.cc (startProcess): Double-quote each
8175         program array element passed to CreateProcess.
8176
8177 2003-03-01  Tom Tromey  <tromey@redhat.com>
8178
8179         * java/rmi/registry/RegistryHandler.java: Deprecate.
8180
8181 2003-03-01  Tom Tromey  <tromey@redhat.com>
8182
8183         * javax/accessibility/AccessibleEditableText.java,
8184         javax/accessibility/AccessibleHyperlink.java: New versions from
8185         Classpath.
8186
8187         * gnu/java/locale/LocaleInformation_af_ZA.java,
8188         gnu/java/locale/LocaleInformation_ar_AE.java,
8189         gnu/java/locale/LocaleInformation_ar_BH.java,
8190         gnu/java/locale/LocaleInformation_ar_DZ.java,
8191         gnu/java/locale/LocaleInformation_ar_EG.java,
8192         gnu/java/locale/LocaleInformation_ar_IN.java,
8193         gnu/java/locale/LocaleInformation_ar_IQ.java,
8194         gnu/java/locale/LocaleInformation_ar_JO.java,
8195         gnu/java/locale/LocaleInformation_ar_KW.java,
8196         gnu/java/locale/LocaleInformation_ar_LB.java,
8197         gnu/java/locale/LocaleInformation_ar_LY.java,
8198         gnu/java/locale/LocaleInformation_ar_MA.java,
8199         gnu/java/locale/LocaleInformation_ar_OM.java,
8200         gnu/java/locale/LocaleInformation_ar_QA.java,
8201         gnu/java/locale/LocaleInformation_ar_SD.java,
8202         gnu/java/locale/LocaleInformation_ar_SY.java,
8203         gnu/java/locale/LocaleInformation_ar_TN.java,
8204         gnu/java/locale/LocaleInformation_ar_YE.java,
8205         gnu/java/locale/LocaleInformation_be_BY.java,
8206         gnu/java/locale/LocaleInformation_bn_IN.java,
8207         gnu/java/locale/LocaleInformation_br_FR.java,
8208         gnu/java/locale/LocaleInformation_bs_BA.java,
8209         gnu/java/locale/LocaleInformation_ca_ES.java,
8210         gnu/java/locale/LocaleInformation_cs_CZ.java,
8211         gnu/java/locale/LocaleInformation_cy_GB.java,
8212         gnu/java/locale/LocaleInformation_da_DK.java,
8213         gnu/java/locale/LocaleInformation_de_AT.java,
8214         gnu/java/locale/LocaleInformation_de_BE.java,
8215         gnu/java/locale/LocaleInformation_de_CH.java,
8216         gnu/java/locale/LocaleInformation_de_DE.java,
8217         gnu/java/locale/LocaleInformation_de_LU.java,
8218         gnu/java/locale/LocaleInformation_el_GR.java,
8219         gnu/java/locale/LocaleInformation_en_AU.java,
8220         gnu/java/locale/LocaleInformation_en_BW.java,
8221         gnu/java/locale/LocaleInformation_en_CA.java,
8222         gnu/java/locale/LocaleInformation_en_DK.java,
8223         gnu/java/locale/LocaleInformation_en_GB.java,
8224         gnu/java/locale/LocaleInformation_en_HK.java,
8225         gnu/java/locale/LocaleInformation_en_IE.java,
8226         gnu/java/locale/LocaleInformation_en_IN.java,
8227         gnu/java/locale/LocaleInformation_en_NZ.java,
8228         gnu/java/locale/LocaleInformation_en_PH.java,
8229         gnu/java/locale/LocaleInformation_en_SG.java,
8230         gnu/java/locale/LocaleInformation_en_US.java,
8231         gnu/java/locale/LocaleInformation_en_ZA.java,
8232         gnu/java/locale/LocaleInformation_en_ZW.java,
8233         gnu/java/locale/LocaleInformation_es_AR.java,
8234         gnu/java/locale/LocaleInformation_es_BO.java,
8235         gnu/java/locale/LocaleInformation_es_CL.java,
8236         gnu/java/locale/LocaleInformation_es_CO.java,
8237         gnu/java/locale/LocaleInformation_es_CR.java,
8238         gnu/java/locale/LocaleInformation_es_DO.java,
8239         gnu/java/locale/LocaleInformation_es_EC.java,
8240         gnu/java/locale/LocaleInformation_es_ES.java,
8241         gnu/java/locale/LocaleInformation_es_GT.java,
8242         gnu/java/locale/LocaleInformation_es_HN.java,
8243         gnu/java/locale/LocaleInformation_es_MX.java,
8244         gnu/java/locale/LocaleInformation_es_NI.java,
8245         gnu/java/locale/LocaleInformation_es_PA.java,
8246         gnu/java/locale/LocaleInformation_es_PE.java,
8247         gnu/java/locale/LocaleInformation_es_PR.java,
8248         gnu/java/locale/LocaleInformation_es_PY.java,
8249         gnu/java/locale/LocaleInformation_es_SV.java,
8250         gnu/java/locale/LocaleInformation_es_US.java,
8251         gnu/java/locale/LocaleInformation_es_UY.java,
8252         gnu/java/locale/LocaleInformation_es_VE.java,
8253         gnu/java/locale/LocaleInformation_et_EE.java,
8254         gnu/java/locale/LocaleInformation_eu_ES.java,
8255         gnu/java/locale/LocaleInformation_fa_IR.java,
8256         gnu/java/locale/LocaleInformation_fi_FI.java,
8257         gnu/java/locale/LocaleInformation_fo_FO.java,
8258         gnu/java/locale/LocaleInformation_fr_BE.java,
8259         gnu/java/locale/LocaleInformation_fr_CA.java,
8260         gnu/java/locale/LocaleInformation_fr_CH.java,
8261         gnu/java/locale/LocaleInformation_fr_FR.java,
8262         gnu/java/locale/LocaleInformation_fr_LU.java,
8263         gnu/java/locale/LocaleInformation_ga_IE.java,
8264         gnu/java/locale/LocaleInformation_gd_GB.java,
8265         gnu/java/locale/LocaleInformation_gl_ES.java,
8266         gnu/java/locale/LocaleInformation_gv_GB.java,
8267         gnu/java/locale/LocaleInformation_he_IL.java,
8268         gnu/java/locale/LocaleInformation_hi_IN.java,
8269         gnu/java/locale/LocaleInformation_hr_HR.java,
8270         gnu/java/locale/LocaleInformation_hu_HU.java,
8271         gnu/java/locale/LocaleInformation_id_ID.java,
8272         gnu/java/locale/LocaleInformation_it_CH.java,
8273         gnu/java/locale/LocaleInformation_it_IT.java,
8274         gnu/java/locale/LocaleInformation_iw_IL.java,
8275         gnu/java/locale/LocaleInformation_ja_JP.java,
8276         gnu/java/locale/LocaleInformation_ka_GE.java,
8277         gnu/java/locale/LocaleInformation_kl_GL.java,
8278         gnu/java/locale/LocaleInformation_ko_KR.java,
8279         gnu/java/locale/LocaleInformation_kw_GB.java,
8280         gnu/java/locale/LocaleInformation_lt_LT.java,
8281         gnu/java/locale/LocaleInformation_lv_LV.java,
8282         gnu/java/locale/LocaleInformation_mi_NZ.java,
8283         gnu/java/locale/LocaleInformation_mk_MK.java,
8284         gnu/java/locale/LocaleInformation_mr_IN.java,
8285         gnu/java/locale/LocaleInformation_mt_MT.java,
8286         gnu/java/locale/LocaleInformation_nl_BE.java,
8287         gnu/java/locale/LocaleInformation_nl_NL.java,
8288         gnu/java/locale/LocaleInformation_nn_NO.java,
8289         gnu/java/locale/LocaleInformation_no_NO.java,
8290         gnu/java/locale/LocaleInformation_oc_FR.java,
8291         gnu/java/locale/LocaleInformation_pl_PL.java,
8292         gnu/java/locale/LocaleInformation_pt_BR.java,
8293         gnu/java/locale/LocaleInformation_pt_PT.java,
8294         gnu/java/locale/LocaleInformation_ro_RO.java,
8295         gnu/java/locale/LocaleInformation_ru_RU.java,
8296         gnu/java/locale/LocaleInformation_ru_UA.java,
8297         gnu/java/locale/LocaleInformation_se_NO.java,
8298         gnu/java/locale/LocaleInformation_sk_SK.java,
8299         gnu/java/locale/LocaleInformation_sl_SI.java,
8300         gnu/java/locale/LocaleInformation_sq_AL.java,
8301         gnu/java/locale/LocaleInformation_sr_YU.java,
8302         gnu/java/locale/LocaleInformation_sv_FI.java,
8303         gnu/java/locale/LocaleInformation_sv_SE.java,
8304         gnu/java/locale/LocaleInformation_ta_IN.java,
8305         gnu/java/locale/LocaleInformation_te_IN.java,
8306         gnu/java/locale/LocaleInformation_tg_TJ.java,
8307         gnu/java/locale/LocaleInformation_tl_PH.java,
8308         gnu/java/locale/LocaleInformation_tr_TR.java,
8309         gnu/java/locale/LocaleInformation_uk_UA.java,
8310         gnu/java/locale/LocaleInformation_ur_PK.java,
8311         gnu/java/locale/LocaleInformation_uz_UZ.java,
8312         gnu/java/locale/LocaleInformation_vi_VN.java,
8313         gnu/java/locale/LocaleInformation_yi_US.java,
8314         gnu/java/locale/LocaleInformation_zh_CN.java,
8315         gnu/java/locale/LocaleInformation_zh_HK.java,
8316         gnu/java/locale/LocaleInformation_zh_SG.java,
8317         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
8318         info; from Classpath.
8319
8320         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
8321         isPaintPending): New methods.
8322         * gnu/awt/xlib/XFramePeer.java (getState, setState,
8323         setMaximizedBounds): New methods.
8324         (beginLayout, endLayout, isPaintPending): Likewise.
8325         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
8326         (requestFocus): Likewise.
8327         (isObscured): Likewise.
8328         (canDetermineObscurity): Likewise.
8329         (coalescePaintEvent): Likewise.
8330         (updateCursorImmediately): Likewise.
8331         (createVolatileImage): Likewise.
8332         (handlesWheelScrolling): Likewise.
8333         (createBuffers): Likewise.
8334         (getBackBuffer): Likewise.
8335         (flip): Likewise.
8336         (destroyBuffers): Likewise.
8337
8338         * Makefile.in: Rebuilt.
8339         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
8340         RobotPeer.java.
8341         * gnu/java/awt/GLightweightPeer.java,
8342         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8343         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8344         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
8345         gnu/java/awt/peer/gtk/GtkFramePeer.java,
8346         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
8347         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
8348         java/awt/dnd/peer/DragSourceContextPeer.java,
8349         java/awt/dnd/peer/DropTargetContextPeer.java,
8350         java/awt/peer/ButtonPeer.java,
8351         java/awt/peer/CheckboxMenuItemPeer.java,
8352         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
8353         java/awt/peer/ComponentPeer.java,
8354         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
8355         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
8356         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
8357         java/awt/peer/MenuBarPeer.java,
8358         java/awt/peer/MenuComponentPeer.java,
8359         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
8360         java/awt/peer/PopupMenuPeer.java,
8361         java/awt/peer/ScrollPanePeer.java,
8362         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
8363         java/awt/peer/TextComponentPeer.java,
8364         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
8365         New versions from Classpath.
8366         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
8367         * java/awt/peer/RobotPeer.java: Likewise.
8368
8369 2003-03-01  Mark Wielaard  <mark@klomp.org>
8370
8371         * java/io/ObjectInputStream.java: Reindent.
8372         * java/io/ObjectOutputStream.java: Likewise.
8373
8374 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
8375
8376         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
8377         jvalue for each argument. Simplify.
8378         * testsuite/libjava.jni/calls.c (docall),
8379         testsuite/libjava.jni/calls.java (longpb_f): check for argument
8380         misalignment.
8381
8382 2003-02-28  Mark Wielaard  <mark@klomp.org>
8383
8384         * Makefile.am (nat_source_files): Remove
8385         java/io/natObjectOutputStream.cc.
8386         * Makefile.in: Regenerated.
8387         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
8388         * java/io/ObjectStreamField.java (typename): New field.
8389         (ObjectStreamField(String, Class)): Initialize new field.
8390         (ObjectStreamField(String, String)): New Constructor.
8391         (getTypeCode): Use new field.
8392         (getTypeString): Use new field.
8393         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
8394         ObjectStreamExceptions. Remember and reset old BlockDataMode.
8395         Handle reading of Proxy classes. Never drain(), just write
8396         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
8397         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
8398         (flush): Call flush(), not just drain().
8399         (writeBoolean): Always use blockDataOutput.
8400         (writeByte): Likewise.
8401         (writeShort): Likewise.
8402         (writeChar): Likewise.
8403         (writeInt): Likewise.
8404         (writeLong): Likewise.
8405         (writeFloat): Likewise.
8406         (writeDouble): Likewise.
8407         (writeBytes): Likewise.
8408         (putfield (put(String,Object))): Throw IllegalArgumentException if
8409         field cannot be found.
8410         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
8411         (writeArraySizeAndElements): Write byte[] in one go.
8412         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
8413         set BlockDataMode to false.
8414         (annotateProxyClass): New method.
8415         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
8416         (getField): No longer native.
8417         (getMethod): Likewise.
8418         (setBlockDataMode): Always drain() on switch, return old mode.
8419         (static): New static code block.
8420         * java/io/natObjectOutputStream.cc: Removed.
8421         * java/io/ObjectInputStream.java (getField): No longer native.
8422         (getMethod): Likewise.
8423         (readObject): Remember and reset old BlockDataMode. Track whether
8424         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
8425         TC_LONGSTRING.
8426         (defaultReadObject): Set BlockDataMode to false during readFields.
8427         (resolveClass): Create new SecurityManager if necessary.
8428         Use Class.forName() if null ClassLoader found.
8429         (read(byte[],int,int): Copy remaining bytes to data before calling
8430         readNextBlock().
8431         (readFields): Set and reset BlockDataMode on call_read_method.
8432         Catch NoSuchFieldErrors.
8433         (setBlockDataMode): Return old mode.
8434         (static): New static code block.
8435         * java/io/natObjectInputStream.cc (getField): Removed.
8436         (getMethod): Likewise.
8437
8438 2003-02-27  Michael Koch  <konqueror@gmx.de>
8439
8440         * java/beans/Beans.java,
8441         java/beans/FeatureDescriptor.java
8442         java/beans/PropertyEditorManager.java:
8443         Reformated to GNU style.
8444
8445 2003-02-25  Michael Koch  <konqueror@gmx.de>
8446
8447         * gnu/java/nio/MappedByteFileBuffer.java,
8448         gnu/java/nio/natMappedByteFileBuffer.cc:
8449         New files, both are not compiled yet to get not noncompiling CVS.
8450
8451 2003-02-24  Tom Tromey  <tromey@redhat.com>
8452
8453         * java/util/prefs/AbstractPreferences.java (isUserNode):
8454         Implemented.
8455
8456 2003-02-24  Tom Tromey  <tromey@redhat.com>
8457
8458         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
8459         Deprecate.
8460         * java/lang/Thread.java (resume): Deprecate.
8461         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
8462         in @deprecated.
8463
8464 2003-02-23  Tom Tromey  <tromey@redhat.com>
8465
8466         * Makefile.in: Rebuilt.
8467         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
8468
8469 2003-02-23  Tom Tromey  <tromey@redhat.com>
8470
8471         * java/lang/natRuntime.cc (libraries_size, libraries_count,
8472         libraries): Removed.
8473         (add_library): Removed.
8474         (_load): Don't call add_library.
8475         (loadLibraryInternal): Likewise.
8476         (init): Likewise.
8477         (lookup_data): New struct.
8478         (find_symbol): New function.
8479         (_Jv_FindSymbolInExecutable): Use it.
8480
8481 2002-02-21  Anthony Green  <green@redhat.com>
8482
8483         * java/lang/Thread.java (Thread): New constructor taking stack
8484         size parameter (ignored for now).
8485         * Many methods: Merged GNU Classpath documentation.
8486
8487         * java/lang/Class.java (finalize): throws a Throwable.
8488
8489 2003-02-21  Mark Wielaard  <mark@klomp.org>
8490
8491         * java/util/zip/ZipEntry.java (setComment): Don't check length when
8492         argument is null.
8493
8494 2003-02-21  Mark Wielaard  <mark@klomp.org>
8495
8496         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
8497         then 65535 chars throw IllegalArgumentException.
8498
8499 2003-02-21  Mark Wielaard  <mark@klomp.org>
8500
8501         * java/util/zip/ZipFile.java (finalize): New method.
8502
8503 2003-02-21  Michael Koch  <konqueror@gmx.de>
8504
8505         * gnu/java/nio/natSocketChannelImpl.cc:
8506         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
8507         <cato@df.lth.se> for pointing to it.
8508
8509 2003-02-20  Raif S. Naffah <raif@fl.net.au>
8510
8511         * java/math/BigInteger.java (euclidInv): Take result array as an
8512         argument.  Updated all callers.
8513         (modInverse): Removed unused variables.
8514
8515 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
8516
8517         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
8518         config.status.
8519         * configure: Rebuilt.
8520
8521 2003-02-19  Michael Koch  <konqueror@gmx.de>
8522
8523         * gnu/java/nio/natSocketChannelImpl.cc:
8524         Added support for platforms without network support.
8525
8526 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8527
8528         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
8529         after config.h.  Use <> for consistency.
8530         * java/lang/natObject.cc: Likewise.
8531         * java/lang/natRuntime.cc: Likewise.
8532         * java/lang/natSystem.cc: Likewise.
8533         * java/util/natTimeZone.cc: Likewise.
8534         * win32.cc: Likewise.
8535         * include/posix.h (fcntl, socket, connect, close, bind, accept,
8536         listen, write, read): Undef to avoid interference from OS macros.
8537
8538 2003-02-19  Michael Koch  <konqueror@gmx.de>
8539
8540         * gnu/java/nio/ByteBufferImpl.java
8541         (ByteBufferImpl): Renamed two variables.
8542         * gnu/java/nio/CharBufferImpl.java
8543         (CharBufferImpl): Renamed two variables.
8544         * gnu/java/nio/DoubleBufferImpl.java
8545         (DoubleBufferImpl): Renamed two variables.
8546         * gnu/java/nio/FloatBufferImpl.java
8547         (FloatBufferImpl): Renamed two variables.
8548         * gnu/java/nio/IntBufferImpl.java
8549         (IntBufferImpl): Renamed two variables.
8550         * gnu/java/nio/LongBufferImpl.java
8551         (LongBufferImpl): Renamed two variables.
8552         * gnu/java/nio/ShortBufferImpl.java
8553         (ShortBufferImpl): Renamed two variables.
8554         * java/nio/CharBuffer.java
8555         (wrap): Fixed arguments to CharBufferImpl constructor.
8556         (hasArray): Only not read-only buffers have backing arrays.
8557         (length): Documentation added.
8558         (subSequence): Documentation added.
8559         * java/nio/DoubleBuffer.java
8560         (hasArray): Only not read-only buffers have backing arrays.
8561         * java/nio/FloatBuffer.java
8562         (hasArray): Only not read-only buffers have backing arrays.
8563         * java/nio/IntBuffer.java
8564         (hasArray): Only not read-only buffers have backing arrays.
8565         * java/nio/LongBuffer.java
8566         (hasArray): Only not read-only buffers have backing arrays.
8567         * java/nio/ShortBuffer.java
8568         (hasArray): Only not read-only buffers have backing arrays.
8569         
8570 2003-02-19  Michael Koch  <konqueror@gmx.de>
8571
8572         * javax/accessibility/AccessibleContext.java
8573         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
8574
8575 2003-02-19  Michael Koch  <konqueror@gmx.de>
8576
8577         * java/awt/ScrollPaneAdjustable.java: Reformated.
8578
8579 2003-02-19  Michael Koch <konqueror@gmx.de>
8580
8581         * gnu/awt/j2d/Graphics2DImpl.java
8582         (getFontRenderContext): New method.
8583         (drawGlyphVector): New method.
8584         * java/awt/Graphics2D.java
8585         (getFontRenderContext): New abstract method.
8586         (drawGlyphVector): New abstract method.
8587         
8588 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
8589
8590         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
8591         if necessary.
8592         
8593         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8594         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8595         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
8596         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
8597         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
8598         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
8599         (setFont, gtkSetFont): add.
8600         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
8601         Propagate font to peer.  (setFont): add FIXME comment.
8602
8603         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8604         (gtkTextGetSize): fix height, width computation.
8605
8606         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
8607         Make X font name a bit less bogus.
8608
8609         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
8610         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
8611
8612         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
8613         (processAdjustmentEvent): Adjust value.
8614
8615         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
8616         logic errors.
8617
8618         * java/awt/Component.java (setVisible, show, hide): Call show and
8619         hide methods in subclasses.
8620         (getPreferredSize): don't set prefSize before we have peer.
8621
8622         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
8623         Guess (0,0) if we don't have peer.
8624
8625
8626 2003-02-18  Michael Koch  <konqueror@gmx.de>
8627
8628         * java/nio/channels/FileChannel.java
8629         (toString): New implementation, added documentation.
8630         (map): Added exception documentation.
8631         (size): Added exception documentation.
8632         (write): New methods, documentation work.
8633         (read): New methods, documentation work.
8634         (implCloseChannel): Rewrote exception documentation.
8635         (force): Throws IOException, added documentation.
8636         (lock): New methods.
8637         (tryLock): New methods.
8638         (position): New methods.
8639         (transferTo): New method.
8640         (transferFrom): New method.
8641         (truncate): New method.
8642         * java/nio/channels/spi/SelectorProvider.java
8643         (provider): Implemented.
8644         * Makefile.am
8645         (ordinary_java_source_files): Added the following files:
8646         gnu/java/nio/DatagramChannelImpl.java
8647         gnu/java/nio/FileChannelImpl.java
8648         gnu/java/nio/PipeImpl.java
8649         gnu/java/nio/SelectionKeyImpl.java
8650         gnu/java/nio/SelectorImpl.java
8651         gnu/java/nio/SelectorProviderImpl.java
8652         gnu/java/nio/ServerSocketChannelImpl.java
8653         gnu/java/nio/SocketChannelImpl.java
8654         java/nio/channels/FileLock.java
8655         (nat_java_source_files): Added the following files:
8656         gnu/java/nio/natFileChannelImpl.cc
8657         gnu/java/nio/natSelectorImpl.cc
8658         gnu/java/nio/natSocketChannelImpl.cc
8659         * Makefile.in: Regenerated.
8660
8661 2003-02-17  Tom Tromey  <tromey@redhat.com>
8662
8663         * java/awt/image/ColorModel.java: Re-merged with Classpath.
8664         * java/awt/image/ImageFilter.java: Likewise.
8665
8666 2003-02-17  Raif S. Naffah <raif@fl.net.au>
8667
8668         * java/math/BigInteger.java (euclidInv): Return array of
8669         `BigInteger's.  Changed all callers.
8670
8671 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
8672
8673         * java/util/Properties.java (store): Move the code formerly in
8674         list(), into this method.
8675         (list (PrintStream)): Just call list (PrintWriter) with a 
8676         PrintWriter object constructed from the given PrintStream object.
8677         (list (PrintWriter)): Emulate the output of Properties.list()
8678         as found in JDK 1.3/1.4.
8679
8680 2003-02-17  Michael Koch  <konqueror@gmx.de>
8681
8682         * java/net/DatagramSocket.java
8683         (connect): Merged with classpath.
8684         (disconnect): Merged documentation with classpath.
8685         (receice): Merged documentation with classpath.
8686         (send): Merged documentation with classpath.
8687         
8688 2003-02-17  Michael Koch  <konqueror@gmx.de>
8689
8690         * java/awt/dnd/DragSourceContext.java
8691         (addDragSourceListener): Added documentation.
8692         * java/awt/dnd/DragSourceDragEvent.java
8693         (serialVersionUID): New member variable.
8694         (getDropAction): Reformated.
8695         * java/awt/dnd/DragSourceDropEvent.java
8696         (serialVersionUID): New member variable.
8697         (dropSuccess): Renamed from success for serialization issues.
8698         * java/awt/dnd/DragSourceEvent.java
8699         (serialVersionUID): New member variable.
8700         * java/awt/dnd/DropTarget.java
8701         (serialVersionUID): New member variable.
8702         (DropTarget): Implemented, documentation reworked.
8703         (setComponent): Documentation added.
8704         (getComponent): Documentation added.
8705         (setDefaultActions): Documentation added.
8706         (getDefaultActions): Documentation added.
8707         (addDropTargetListener): Documentation added.
8708         * java/awt/dnd/DropTargetContext.java
8709         (DropTargetContext): Documentation added.
8710         (TransferableProxy.TransferableProxy): New method.
8711         (dropComplete): Fixed documentation.
8712         (getTransferable): Fixed documentation.
8713         (createTransferableProxy): Implemented.
8714         * java/awt/dnd/DropTargetDragEvent.java
8715         (DropTargetDragEvent): Documentation added.
8716         (serialVersionUID): New member variable.
8717         (DropTargetDragEvent): Throw exceptions, documentation added.
8718         (acceptDrag): Implemented.
8719         (getCurrentDataFlavors): Implemented.3yy
8720         (getCurrentDataFlavorsAsList): Implemented.
8721         (isDataFlavorSupported): Implemented.
8722         (rejectDrag): Implemented.
8723         * java/awt/dnd/DropTargetDropEvent.java
8724         (DropTargetDropEvent): Documentation added.
8725         (serialVersionUID): New member variable.
8726         (actions): Renamed from srcActions for serialization issues.
8727         (isLocalTx): Renamed from isLocalTx for serialization issues.
8728         (DropTargetDropEvent): New implementation, throw exceptions,
8729         documentation added.
8730         (getCurrentDataFlavors): Implemented.
8731         (getCurrentDataFlavorsAsList): Implemented.
8732         (isDataFlavorSupported): Implemented.
8733         (getSourceActions): Implemented.
8734         (getDropAction): Implemented.
8735         (getTransferable): Implemented.
8736         (acceptDrop): Implemented.
8737         (rejectDrop): Implemented.
8738         * java/awt/dnd/DropTargetListener.java
8739         (drop): Fixed documentation.
8740         * java/awt/dnd/MouseDragGestureRecognizer.java
8741         (MouseDragGestureRecognizer): Documentation added.
8742
8743 2003-02-17  Michael Koch  <konqueror@gmx.de>
8744
8745         * java/awt/font/FontRenderContext.java,
8746         java/awt/font/ShapeGraphicAttribute.java,
8747         java/awt/font/MultipleMaster.java,
8748         java/awt/font/TransformAttribute.java,
8749         java/awt/font/GlyphJustificationInfo.java,
8750         java/awt/font/LineBreakMeasurer.java,
8751         java/awt/font/TextMeasurer.java,
8752         java/awt/font/TextLayout.java,
8753         java/awt/font/LineMetrics.java,
8754         java/awt/font/TextAttribute.java,
8755         java/awt/font/GlyphMetrics.java,
8756         java/awt/font/OpenType.java,
8757         java/awt/font/GlyphVector.java,
8758         java/awt/font/GraphicAttribute.java,
8759         java/awt/font/ImageGraphicAttribute.java,
8760         java/awt/font/NumericShaper.java: New files.
8761         * Makefile.am
8762         (awt_java_source_files): Added the following files:
8763         java/awt/font/FontRenderContext.java
8764         java/awt/font/ShapeGraphicAttribute.java
8765         java/awt/font/MultipleMaster.java
8766         java/awt/font/TransformAttribute.java
8767         java/awt/font/GlyphJustificationInfo.java
8768         java/awt/font/LineBreakMeasurer.java
8769         java/awt/font/TextMeasurer.java
8770         java/awt/font/TextLayout.java
8771         java/awt/font/LineMetrics.java
8772         java/awt/font/TextAttribute.java
8773         java/awt/font/GlyphMetrics.java
8774         java/awt/font/OpenType.java
8775         java/awt/font/GlyphVector.java
8776         java/awt/font/GraphicAttribute.java
8777         java/awt/font/ImageGraphicAttribute.java
8778         java/awt/font/NumericShaper.java
8779         * Makefile.in: Regenerated.
8780
8781 2003-02-17  Michael Koch  <konqueror@gmx.de>
8782
8783         * java/awt/print/Paper.java
8784         (Paper): Implements Cloneable.
8785         * java/awt/print/PrinterJob.java
8786         (setJobName): Return value must be void.
8787         (print): Throws PrinterException.
8788         
8789 2003-02-16  Tom Tromey  <tromey@redhat.com>
8790
8791         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
8792         variable.
8793
8794 2003-02-15  Michael Koch  <konqueror@gmx.de>
8795
8796         * java/awt/datatransfer/DataFlavor.java
8797         (isRepresentationClassByteBuffer): Removed try-catch block.
8798         (isRepresentationClassCharBuffer): Removed try-catch block.
8799         (isRepresentationClassReader): Removed try-catch block.
8800
8801 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8802
8803         * java/nio/charset/Charset.java
8804         (isRegistered): Fixed method args and implementation.
8805         * java/nio/charset/CharsetEncoder.java
8806         (unmappableCharacterAction): New method.
8807
8808 2003-02-15  Michael Koch  <konqueror@gmx.de>
8809
8810         * java/awt/CheckboxMenuItem.java
8811         (CheckBoxMenuItem): Dont implement Serializable.
8812         (getListeners): New method,
8813         (getItemListeners): New method.
8814         * java/awt/Choice.java
8815         (getListeners): New method,
8816         (getItemListeners): New method.
8817         * java/awt/Container.java
8818         (getListeners): Added exception documentation.
8819         (setFocusTraversalKeys): Throw exceptions, added documentattion.
8820         (getFocusTraversalKeys): Added documentation.
8821         (areFocusTraversalKeysSet): Added documentation.
8822         (applyComponentOrientation): Added documentation.
8823         * java/awt/ContainerOrderFocusTraversalPolicy.java
8824         (implicitDownCycleTraversal): Renamed from downCycle for
8825         serialization.
8826         (ContainerOrderFocusTraversalPolicy): Added documentation.
8827         (accept): Reformated.
8828         * java/awt/Dialog.java
8829         (Dialog): Dont implement Serializable.
8830         (Dialog): Added documentation.
8831         * java/awt/Font.java
8832         (Font): Dont use absolute class name.
8833         * java/awt/Frame.java
8834         (Frame): Font implement Serializable.
8835         * java/awt/List.java
8836         (getListeners): New method,
8837         (getActionListeners): New method.       
8838         (getItemListeners): New method.
8839         * java/awt/Menu.java
8840         (countItems): New deprecated method.
8841         * java/awt/Scrollbar.java
8842         (getListeners): New method,
8843         (getAdjustmentListeners): New method,
8844         * java/awt/TextComponent.java
8845         (getListeners): New method,
8846         (getTextListeners): New method,
8847         * java/awt/TextField.java
8848         (getListeners): New method,
8849         (getActionListeners): New method.       
8850         * java/awt/Window.java
8851         (windowFocusListener): New member variable.
8852         (windowStateListener): New member variable.
8853         (getWindowFocusListeners): New method.
8854         (getWindowStateListeners): New method.
8855         (addWindowFocusListener): New method.
8856         (addWindowStateListener): New method.
8857         (removeWindowFocusListener): New method.
8858         (removeWindowStateListener): New method.
8859         * java/awt/datatransfer/DataFlavor.java
8860         (isRepresentationClassByteBuffer): New method.
8861         (isRepresentationClassCharBuffer): New method.
8862         (isRepresentationClassReader): New method.
8863
8864 2003-02-14  Mark Wielaard  <mark@klomp.org>
8865
8866         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
8867         zero when there is an exponent and the significant is zero.
8868         (divide): Always set scale to newScale even in special ZERO case.
8869
8870 2003-02-14  Tom Tromey  <tromey@redhat.com>
8871
8872         * java/lang/System.java (properties): Use Properties.clone.
8873         (setProperties): Likewise.
8874
8875 2003-02-14  Michael Koch  <konqueror@gmx.de>
8876
8877         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
8878         * gnu/java/nio/ServerSocketChannelImpl.java
8879         (SocketAccept): Removed.
8880         (accept): Commented out use of SocketAccept.
8881
8882 2003-02-13  Tom Tromey  <tromey@redhat.com>
8883
8884         * verify.cc (state::seen_subrs): New field.
8885         (state::state): Initialize it.
8886         (state::clean_subrs): New method.
8887         (state::~state): Call it.
8888         (state::copy): Copy subroutine list.
8889         (state::add_subr): New method.
8890         (state::merge): Only register a change if the current subroutine
8891         hasn't yet been noted.
8892
8893 2003-02-13  Mark Wielaard  <mark@klomp.org>
8894
8895         * java/io/InputStreamReader.java (getEncoding): Return null when
8896         closed.
8897         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
8898
8899 2003-02-13  Mark Wielaard  <mark@klomp.org>
8900  
8901         * java/util/zip/InflaterInputStream.java (read): Return zero when len
8902         is zero.
8903
8904 2003-02-13  Mark Wielaard  <mark@klomp.org>
8905
8906         * java/io/BufferedOutputStream.java (write(int)): Only flush when
8907         next byte cannot be buffered.
8908
8909 2003-02-13  Michael Koch  <konqueror@gmx.de>
8910  
8911         * java/awt/Label.java
8912         (Label): Don't implement Serializable directly.
8913         (addNotify): Fixed typo in documentation.
8914         * java/awt/List.java
8915         (List): Don't implement Serializable directly.
8916         * java/awt/PopupMenu.java
8917         (PopupMenu): Don't implement Serializable directly.
8918         * java/awt/ScrollPane.java
8919         (ScrollPane): Don't implement Serializable directly.
8920         * java/awt/Scrollbar.java
8921         (Scrollbar): Don't implement Serializable directly.
8922         * java/awt/TextArea.java
8923         (preferredSize): Fixed method arguments.
8924         * java/awt/TextField.java
8925         (TextField): Don't implement Serializable directly.
8926         * java/awt/color/ICC_ColorSpace.java
8927         (fromCIOXYZ): Documentation added.
8928         (getMinValue): Documentation added.
8929         (getMaxValue): Documentation added.
8930         * java/awt/datatransfer/DataFlavor.java
8931         (isMimeTypeEqual): May not be final.
8932         (clone): Throws CloneNotSupportedException.
8933         (getReaderForText): Don't throws UnsupportedEncodingException.
8934
8935 2003-02-13  Michael Koch  <konqueror@gmx.de>
8936  
8937         * gnu/java/awt/peer/gtk/GdkGraphics.java
8938         (drawString): New stubbed method.
8939         * java/awt/Graphics.java
8940         (drawString): New method.
8941
8942 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
8943
8944         PR libgcj/9271:
8945         * java/security/SecureRandom.java (next): Avoid bias in results.
8946
8947 2003-02-13  Michael  <konqueror@gmx.de>
8948
8949         * gnu/java/nio/FileChannelImpl.java
8950         (lengthInternal): Must be native.
8951         (size): Check if channel is already closed.
8952         (implCloseChannel): Reformated.
8953         (read): w was unused, removed it.
8954         (read): Removed.
8955         (read): New method.
8956         (write): New method.
8957         (map): Check arguments.
8958         (force): Throws IOException, check if channel is closed.
8959         (transferTo): New method.
8960         (transferFrom): New method.
8961         (lock): New method.
8962         (tryLock): New method.
8963         (position): New method.
8964         (truncate): New method.
8965         (nio_mmap_file): Uncommented.
8966         (nio_munmap_file): Uncommented.
8967         (nio_msync): Uncommented.
8968         * gnu/java/nio/natFileChannelImpl.cc: New file.
8969         
8970 2003-02-13  Michael Koch  <konqueror@gmx.de>
8971
8972         * java/nio/ByteBuffer.java
8973         (endian): New member variable.
8974         (get): New methods.
8975         (equals): New method.
8976         (compareTo): New method.
8977         (order): New methods.
8978         (compact): New method.
8979         (isDirect): New method.
8980         (slice): New method.
8981         (duplicate): New method.
8982         (asReadOnlyBuffer): New method.
8983         (asCharBuffer): New method.
8984         (asDoubleBuffer): New method.
8985         (asFloatBuffer): New method.
8986         (asIntBuffer): New method.
8987         (asLongBuffer): New method.
8988         (asShortBuffer): New method.
8989         (get*): New methods.
8990         (put*): New methods.
8991         (toString): New method.
8992         * java/nio/CharBuffer.java
8993         (CharBuffer): Implement Comparable instead of Cloneable.
8994         (get): May not be final.
8995         (put): May not be final.
8996         
8997 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
8998
8999         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
9000         lastIndexOf( ) instead of indexOf( ) to find the colon before
9001         the line number, because Win32 file names might contain a 
9002         drive letter and a colon at the start of an absolute path.
9003
9004 2003-02-13  Michael Koch  <konqueror@gmx.de>
9005
9006         * gnu/java/nio/natSocketChannelImpl.cc
9007         (SocketConnect): This is not implemented yet.
9008         (SocketBind): This is not implemented yet.
9009
9010 2003-02-13  Michael Koch  <konqueror@gmx.de>
9011
9012         * gnu/java/nio/natByteBufferImpl.cc,
9013         gnu/java/nio/natCharBufferImpl.cc,
9014         gnu/java/nio/natDoubleBufferImpl.cc,
9015         gnu/java/nio/natFloatBufferImpl.cc,
9016         gnu/java/nio/natIntBufferImpl.cc,
9017         gnu/java/nio/natLongBufferImpl.cc,
9018         gnu/java/nio/natShortBufferImpl.cc:
9019         Added copyright and license.
9020         * java/nio/DoubleBuffer.java,
9021         java/nio/FloatBuffer.java,
9022         java/nio/IntBuffer.java,
9023         java/nio/LongBuffer.java,
9024         java/nio/ShortBuffer.java
9025         (array): Throw exceptions.
9026         (arrayOffset): Throw exceptions.
9027
9028 2003-02-13  Michael Koch  <konqueror@gmx.de>
9029  
9030         * gnu/java/util/prefs/FileBasedFactory.java,
9031         gnu/java/util/prefs/MemmoryBasedFactory.java,
9032         gnu/java/util/prefs/MemoryBasedPreferences.java,
9033         gnu/java/util/prefs/NodeReader.java,
9034         gnu/java/util/prefs/NodeWriter.java,
9035         java/util/prefs/AbstractPreferences.java,
9036         java/util/prefs/BackingStoreException.java,
9037         java/util/prefs/InvalidPreferencesFormatException.java,
9038         java/util/prefs/NodeChangeEvent.java,
9039         java/util/prefs/NodeChangeListener.java,
9040         java/util/prefs/PreferenceChangeEvent.java,
9041         java/util/prefs/PreferenceChangeListener.java,
9042         java/util/prefs/Preferences.java,
9043         java/util/prefs/PreferencesFactory.java:
9044         New files, all merged from classpath.
9045         * Makefile.am
9046         (ordinary_java_source_files): Added the following files:
9047         gnu/java/util/prefs/FileBasedFactory.java,
9048         gnu/java/util/prefs/MemmoryBasedFactory.java,
9049         gnu/java/util/prefs/MemoryBasedPreferences.java,
9050         gnu/java/util/prefs/NodeReader.java,
9051         gnu/java/util/prefs/NodeWriter.java,
9052         (core_java_source_files): Added the following files:
9053         java/util/prefs/AbstractPreferences.java,
9054         java/util/prefs/BackingStoreException.java,
9055         java/util/prefs/InvalidPreferencesFormatException.java,
9056         java/util/prefs/NodeChangeEvent.java,
9057         java/util/prefs/NodeChangeListener.java,
9058         java/util/prefs/PreferenceChangeEvent.java,
9059         java/util/prefs/PreferenceChangeListener.java,
9060         java/util/prefs/Preferences.java,
9061         java/util/prefs/PreferencesFactory.java
9062         * Makefile.in: Regenerated.
9063  
9064 2003-02-13  Michael Koch  <konqueror@gmx.de>
9065
9066         * java/net/NetPermission.java
9067         (NetPermission): Make doucmentation match the method declaration.
9068         * java/net/NetworkInterface.java
9069         (equals): Reformated for GNU coding style.
9070         * java/net/ServerSocket.java: Merged with classpath.
9071         * java/net/Socket.java: Partly merged with classpath (Added some @since).
9072         * java/net/SocketImpl.java
9073         (localPort): Merged with classpath (initialize with -1).
9074         * java/net/SocketPermission.java: Merged with classpath (reindented).
9075         * java/net/URLDecoder.java: Merged with classpath (reindented).
9076
9077 2003-02-13  Michael Koch  <konqueror@gmx.de>
9078
9079         * java/awt/GridBagConstraints.java
9080         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
9081         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
9082         * java/awt/KeyboardFocusManager.java
9083         (setGlobalCurrentFocusCycleRoot): Must be public.
9084         * java/awt/MenuComponent.java
9085         (MenuComponent): Must be public.
9086         * java/awt/Toolkit.java:
9087         Added some empty lines to make documentation more readable.
9088         (getFontPeer): Added @deprecated.
9089         (getColorModel): Added exception documentation.
9090         (getProperty): Fixed documentation.
9091  
9092 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
9093
9094         * configure.host (alpha*-*): Default to -mieee.
9095         * configure.in (IEEESPEC): New.
9096         * libgcj.spec.in (jc1): Add IEEESPEC.
9097         * configure: Rebuild.
9098
9099 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9100
9101         * include/win32.h: Include ws2tcpip.h instead of
9102         winsock.h to obtain definition of the socklen_t type.
9103         Remove IP_TOS definition - not needed with ws2tcpip.h
9104         (_Jv_connect): Correct slight formatting error.
9105
9106 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9107
9108         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
9109         size of the arguments for a JNI function. For Win32,
9110         modify to search for all forms of possible exported
9111         names of an stdcall JNI function.
9112         (_Jv_JNIMethod::call): Modify to calculate the size
9113         of the arguments passed to a JNI function and pass
9114         it to _Jv_LookupJNIMethod.
9115
9116 2003-02-12  Michael Koch  <konqueror@gmx.de>
9117
9118         * java/nio/channels/Channels.java: New file.
9119         * Makefile.am
9120         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
9121         * Makefile.in: Regenerated.
9122
9123 2003-02-12  Michael Koch  <konqueror@gmx.de>
9124
9125         * java/nio/ByteBuffer.java
9126         (allocate): Implemented.
9127         (wrap): Implemented.
9128         * java/nio/CharBuffer.java:
9129         Some documentation added and reworked.
9130         (endian): Removed.
9131         (allocate): Implemented.
9132         (wrap): Implemented.
9133         (array): Throw exceptions.
9134         (arrayOffset): Throw exceptions.
9135         (toString): Implemented.
9136         (length): Implemented.
9137         (put): Implemented.
9138         (charAt): Implemented.
9139
9140 2003-02-11  John Leuner  <jewel@debian.org>
9141
9142         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
9143         reads from end of file.
9144
9145 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
9146
9147         * java/io/natFileDescriptorWin32.cc 
9148         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
9149         returns with Win32 error code ERROR_BROKEN_PIPE.
9150
9151 2003-02-11  Michael Koch  <konqueror@gmx.de>
9152
9153         * Makefile.in
9154         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
9155
9156 2003-02-11  Michael Koch  <konqueror@gmx.de>
9157
9158         * gnu/java/nio/ByteBufferImpl.java:
9159         Reformated and removed some code.
9160         (backing_buffer): Removed.      
9161         (array_offset): Removed.
9162         (ro): Renamed to readOnly.
9163         (ByteBufferImpl): Use parent constructor, initialize readOnly.
9164         * gnu/java/nio/CharBufferImpl.java:
9165         Reformated and removed some code.
9166         (array_offset): Removed.
9167         (ro): Renamed to readOnly.
9168         (CharBufferImpl): Use parent constructor, initialize readOnly.
9169         (inc_pos): Removed.
9170         (order): New method.
9171         * gnu/java/nio/DoubleBufferImpl.java:
9172         Reformated and removed some code.
9173         (array_offset): Removed.
9174         (ro): Renamed to readOnly.
9175         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
9176         (inc_pos): Removed.
9177         (order): New method.
9178         * gnu/java/nio/FloatBufferImpl.java:
9179         Reformated and removed some code.
9180         (array_offset): Removed.
9181         (ro): Renamed to readOnly.
9182         (FloatBufferImpl): Use parent constructor, initialize readOnly.
9183         (inc_pos): Removed.
9184         (order): New method.
9185         * gnu/java/nio/IntBufferImpl.java:
9186         Reformated and removed some code.
9187         (array_offset): Removed.
9188         (ro): Renamed to readOnly.
9189         (IntBufferImpl): Use parent constructor, initialize readOnly.
9190         (inc_pos): Removed.
9191         (order): New method.
9192         * gnu/java/nio/LongBufferImpl.java:
9193         Reformated and removed some code.
9194         (array_offset): Removed.
9195         (ro): Renamed to readOnly.
9196         (LongBufferImpl): Use parent constructor, initialize readOnly.
9197         (inc_pos): Removed.
9198         (order): New method.
9199         * gnu/java/nio/ShortBufferImpl.java:
9200         Reformated and removed some code.
9201         (array_offset): Removed.
9202         (ro): Renamed to readOnly.
9203         (ShortBufferImpl): Use parent constructor, initialize readOnly.
9204         (inc_pos): Removed.
9205         (order): New method.
9206         * Makefile.am
9207         (ordinary_java_source_files): Added the following files:
9208         gnu/java/nio/ByteBufferImpl.java
9209         gnu/java/nio/CharBufferImpl.java
9210         gnu/java/nio/DoubleBufferImpl.java
9211         gnu/java/nio/FloatBufferImpl.java
9212         gnu/java/nio/IntBufferImpl.java
9213         gnu/java/nio/LongBufferImpl.java
9214         gnu/java/nio/ShortBufferImpl.java
9215         java/nio/DoubleBuffer.java
9216         java/nio/FloatBuffer.java
9217         java/nio/IntBuffer.java
9218         java/nio/LongBuffer.java
9219         java/nio/ShortBuffer.java
9220         (nat_source_files): Added the following files:
9221         gnu/java/nio/natByteBufferImpl.cc
9222         gnu/java/nio/natCharBufferImpl.cc
9223         gnu/java/nio/natDoubleBufferImpl.cc
9224         gnu/java/nio/natFloatBufferImpl.cc
9225         gnu/java/nio/natIntBufferImpl.cc
9226         gnu/java/nio/natLongBufferImpl.cc
9227         gnu/java/nio/natShortBufferImpl.cc
9228         * Makefile.in: Regenerated.
9229
9230 2003-02-11  Michael Koch  <konqueror@gmx.de>
9231
9232         * gnu/java/nio/natCharBufferImpl.cc
9233         (nio_cast): Removed.
9234         (nio_put_*): Removed.
9235         (nio_get_*): Removed.
9236         * gnu/java/nio/natDoubleBufferImpl.cc
9237         (nio_cast): Removed.
9238         (nio_put_*): Removed.
9239         (nio_get_*): Removed.
9240         * gnu/java/nio/natFloatBufferImpl.cc
9241         (nio_cast): Removed.
9242         (nio_put_*): Removed.
9243         (nio_get_*): Removed.
9244         * gnu/java/nio/natIntBufferImpl.cc
9245         (nio_cast): Removed.
9246         (nio_put_*): Removed.
9247         (nio_get_*): Removed.
9248         * gnu/java/nio/natLongBufferImpl.cc
9249         (nio_cast): Removed.
9250         (nio_put_*): Removed.
9251         (nio_get_*): Removed.
9252         * gnu/java/nio/natShortBufferImpl.cc
9253         (nio_cast): Removed.
9254         (nio_put_*): Removed.
9255         (nio_get_*): Removed.
9256         * gnu/java/nio/SelectorProviderImpl.java
9257         (openDatagramChannel): Throws IOException.
9258         (openPipe): Throws IOException.
9259         (openSelector): Throws IOException.
9260         (openServerSocketChannel): Throws IOException.
9261         (openSocketChannel): Throws IOException.
9262         * gnu/java/nio/ServerSocketChannelImpl.java
9263         (ServerSocketChannelImpl): Throws IOException.
9264         (implCloseSelectableChannel): Throws IOException.
9265         (implConfigureBlocking): Throws IOException.
9266         * java/nio/ByteBuffer.java
9267         (readOnly): Removed.
9268         (hasArray): Use isReadOnly() instead of readOnly.
9269         (array): Use isReadOnly() instead of readOnly.
9270         (arrayOffset): Use isReadOnly() instead of readOnly.
9271         * java/nio/CharBuffer.java
9272         (CharBuffer): Implements Cloneable and CharSequence.
9273
9274 2003-02-11  Michael Koch  <konqueror@gmx.de>
9275
9276         * java/nio/DoubleBuffer.java
9277         (DoubleBuffer): Implements Comparable.
9278         (endian): Removed.
9279         (array_offset): New member variable.
9280         (DoubleBuffer): New constuctor.
9281         (get): May not be final.
9282         (put): May not be final.
9283         (arrayOffset): Implemented.
9284         (order): Made abstract.
9285         (order): Removed.
9286         (as*Buffer): Removed.
9287         (get*): Removed.
9288         (put*): Removed.
9289         * java/nio/FloatBuffer.java
9290         (FloatBuffer): Implements Comparable.
9291         (endian): Removed.
9292         (array_offset): New member variable.
9293         (FloatBuffer): New constuctor.
9294         (get): May not be final.
9295         (put): May not be final.
9296         (arrayOffset): Implemented.
9297         (order): Made abstract.
9298         (order): Removed.
9299         (as*Buffer): Removed.
9300         (get*): Removed.
9301         (put*): Removed.
9302         * java/nio/IntBuffer.java
9303         (IntBuffer): Implements Comparable.
9304         (endian): Removed.
9305         (array_offset): New member variable.
9306         (IntBuffer): New constuctor.
9307         (get): May not be final.
9308         (put): May not be final.
9309         (arrayOffset): Implemented.
9310         (order): Made abstract.
9311         (order): Removed.
9312         (as*Buffer): Removed.
9313         (get*): Removed.
9314         (put*): Removed.
9315         * java/nio/LongBuffer.java
9316         (LongBuffer): Implements Comparable.
9317         (endian): Removed.
9318         (array_offset): New member variable.
9319         (LongBuffer): New constuctor.
9320         (get): May not be final.
9321         (put): May not be final.
9322         (arrayOffset): Implemented.
9323         (order): Made abstract.
9324         (order): Removed.
9325         (as*Buffer): Removed.
9326         (get*): Removed.
9327         (put*): Removed.
9328         * java/nio/ShortBuffer.java
9329         (ShortBuffer): Implements Comparable.
9330         (endian): Removed.
9331         (array_offset): New member variable.
9332         (ShortBuffer): New constuctor.
9333         (get): May not be final.
9334         (put): May not be final.
9335         (arrayOffset): Implemented.
9336         (order): Made abstract.
9337         (order): Removed.
9338         (as*Buffer): Removed.
9339         (get*): Removed.
9340         (put*): Removed.
9341
9342 2003-02-11   Michael Koch  <konqueror@gmx.de>
9343
9344         * java/nio/channels/SelectionKey.java
9345         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
9346         values.
9347
9348 2003-02-11  Michael Koch  <konqueror@gmx.de>
9349
9350         * java/nio/channels/DatagramChannel.java
9351         (write): Throws IOException.
9352         (connect): Throws IOException.
9353         (disconnect): Throws IOException.
9354         (read): Throws IOException.
9355         (receive): Throws IOException.
9356         (send): Throws IOException.
9357         * java/nio/channels/Pipe.java
9358         (open): Throws IOException.
9359         * java/nio/channels/SelectableChannel.java
9360         (configureBlocking): Throws IOException.
9361         * java/nio/channels/ServerSocketChannel.java
9362         (accept): Throws IOException.
9363         * java/nio/channels/SocketChannel.java
9364         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
9365         GatheringByteChannel.
9366         (read): Throws IOException.
9367         (write): Throws IOException.
9368         (finishConnect): Throws IOException.
9369         * java/nio/channels/spi/AbstractInterruptibleChannel.java
9370         (end): Throws AsynchronousCloseException.
9371         * java/nio/channels/spi/AbstractSelectableChannel.java
9372         (configureBlocking): Throws IOException.
9373         (implCloseChannel): Throws IOException.
9374         (implCloseSelectableChannel): Throws IOException.
9375         (implConfigureBlocking): Throws IOException.
9376         * java/nio/channels/spi/SelectorProvider.java
9377         (openDatagramChannel): Throws IOException.
9378         (openPipe): Throws IOException.
9379         (openSelector): Throws IOException.
9380         (openServerSocketChannel): Throws IOException.
9381         (openSocketChannel): Throws IOException.
9382
9383 2003-02-11  Michael Koch  <konqueror@gmx.de>
9384
9385         * gnu/java/nio/FileLockImpl.java,
9386         java/nio/channels/FileLock.java: New files.
9387
9388 2003-02-11  Michael Koch  <konqueror@gmx.de>
9389
9390         * java/nio/charset/IllegalCharsetNameException.java
9391         (serialVersionUID): New member variable.
9392         (charsetName): New member variable.
9393         (IllegalCharsetException): New implementation.
9394         (getCharsetName): New implementation.
9395         * java/nio/charset/UnsupportedCharsetException.java
9396         (serialVersionUID): New member variable.
9397         (charsetName): New member variable.
9398         (UnsupportedCharsetException): New implementation.
9399         (getCharsetName): New implementation.
9400
9401 2003-02-10  Tom Tromey  <tromey@redhat.com>
9402
9403         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
9404         (ex): Renamed from sqlException.
9405
9406 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
9407
9408         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
9409         method used to ensure seeding has occurred and that a specific 
9410         seed can be set and used.
9411
9412 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
9413
9414         * java/lang/Win32Process.java (destroy): Declare as native.
9415         (hasExited): New native method.
9416         (exitValue): Define.
9417         (getErrorStream): Likewise.
9418         (getInputStream): Likewise.
9419         (getOutputStream): Likewise.
9420         (waitFor): Declare as native.
9421         (startProcess): New native method.
9422         (cleanup): Likewise.
9423         (ConcreteProcess): Define.
9424         (outputStream, inputStream, errorStream): New members.
9425         (procHandle, exitCode): Likewise.
9426
9427         * java/lang/natWin32Process.cc
9428         (java::lang::ConcreteProcess::cleanup): Define.
9429         (java::lang::ConcreteProcess::destroy): Likewise.
9430         (java::lang::ConcreteProcess::hasExited): Likewise.
9431         (java::lang::ConcreteProcess::waitFor): Likewise.
9432         (new_string): Likewise.
9433         (java::lang::ConcreteProcess::startProcess): Likewise.
9434
9435 2003-02-10  Raif S. Naffah <raif@fl.net.au>
9436
9437         * java/math/BigInteger.java:
9438         Updated notice to include years 2002 and 3.
9439         Added 2 private (int) arrays with values from the HAC (Handbook of
9440         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
9441         and t[] that contains nbr. of tests --used in isProbablePrime().
9442
9443         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
9444
9445         * java/math/BigInteger.java (make(int[],int), add(int,int),
9446         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
9447         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
9448         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
9449         make(long).
9450
9451         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
9452         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
9453         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
9454         BIs and returns void.
9455         (modInverse(BI)): Use new signatures of euclidInv().
9456
9457         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
9458         static small primes instead of remainder().
9459         Use pre-computed max nbr of trials based on bitlength of BI to test.
9460         Use pre-computed small primes for the trial tests instead of random
9461         numbers.
9462
9463         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
9464         not used.
9465
9466         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
9467         invoacation of MPN.chars_per_word().  not used.
9468
9469         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
9470         local var and used where needed.
9471
9472         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
9473         Combined declaration with initialisation of locals.
9474         Removed unused var.
9475
9476         * java/math/BigInteger.java: Style changes
9477         (pow(int)): Removed 'else' keyword.
9478         (toString(int)): idem.
9479         (doubleValue()): idem.
9480         (bitLength()): idem.
9481         (equals(Object)): Use static methods name in same class w/o prepending
9482         class name.
9483         (doubleValue()): idem.
9484         (setNegative(BI)): idem.
9485         (negate()): idem.
9486         (and(BI,int)): idem.
9487         (and(BI)): idem.
9488         (gcd(BI)): idem.
9489         (byteArrayToIntArray()): Removed casting to (int). this is
9490         std. behaviour.
9491         (canonicalize()): idem.
9492         (alloc(int)): Always instantiate a new BI.
9493
9494 2003-02-10  Tom Tromey  <tromey@redhat.com>
9495
9496         * java/sql/Timestamp.java (compareTo(Object)): New method.
9497         (compareTo(Timestamp)): Likewise.
9498         (serialVersionUID): Updated.
9499
9500 2003-02-07  Mark Wielaard  <mark@klomp.org>
9501
9502         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
9503         when verify is true.
9504         (JarFile(File, boolean)): Likewise.
9505         (manifestRead): Set manifestRead field correctly.
9506
9507 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9508
9509         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
9510         tests; see patch #1016 on Savannah.
9511
9512 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9513
9514         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
9515         (toString): do not return Strings starting with . and - erroneously.
9516         Improves Mauve results to 12 of 600 instead of 16 of 338 on
9517         DiagBigDecimal.
9518
9519 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9520
9521         * java/beans/PropertyDescriptor.java
9522         (PropertyDescriptor(String, Class)): Sanity check getter and setter
9523         methods.
9524         (PropertyDescriptor(String, Class, String, String)): Likewise.
9525         (PropertyDescriptor(String, Method, Method): Factor out getter and
9526         setter method sanity checks into new method.
9527         (findMethods): Don't do parameter sanity checking of get method here.
9528         (checkMethods): New method.
9529
9530 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9531
9532         * java/beans/PropertyDescriptor.java: Reformat.
9533
9534 2003-02-04  Tom Tromey  <tromey@redhat.com>
9535
9536         * java/io/PipedOutputStream.java (flush): Declare as throwing
9537         IOException.
9538         (close): Likewise.
9539         * java/io/PipedWriter.java (close): Declare as throwing
9540         IOException.
9541         * java/io/StringWriter.java (close): Declare as throwing
9542         IOException.
9543
9544 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
9545
9546         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
9547         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
9548         could also have been exported as "JNI_OnLoad@8" (MinGW) or
9549         "_JNI_OnLoad@8" (MSVC).
9550
9551 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
9552
9553         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
9554         convention on Win32 to invoke native JNI methods.
9555
9556 2003-02-03  Andrew Haley  <aph@redhat.com>
9557
9558         * configure.host (x86_64): Enable interpreter.
9559
9560 2003-02-03  Andrew Haley  <aph@redhat.com>
9561
9562         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
9563         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
9564         * configure.in (BACKTRACESPEC): New.
9565         * configure: Regenerate.
9566
9567 2003-02-02  Tom Tromey  <tromey@redhat.com>
9568
9569         * configure: Rebuilt.
9570         * configure.in (TOOLKIT) [xlib]: Set correctly.
9571
9572         * Makefile.in: Rebuilt.
9573         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
9574         libstdc++.
9575
9576 2003-01-31  Mark WIelaard  <mark@klomp.org>
9577
9578         * Makefile.in: Rebuilt.
9579         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
9580
9581 2003-01-31  Tom Tromey  <tromey@redhat.com>
9582
9583         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
9584         cast to element type.
9585         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
9586         (_Jv_JNI_GetObjectArrayElement): Likewise.
9587
9588         * Makefile.in: Rebuilt.
9589         * Makefile.am (cond_x_ltlibrary): Renamed library to
9590         lib-gnu-awt-xlib.la.
9591         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
9592         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
9593         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
9594         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
9595         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
9596         (lib_gnu_awt_xlib_la_LINK): Likewise.
9597         (install-exec-hook): Removed.
9598         (lib-gnu-awt-xlib.la): Renamed.
9599
9600 2003-01-31  Tom Tromey  <tromey@redhat.com>
9601
9602         * aclocal.m4, configure, include/config.h.in: Rebuilt.
9603         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
9604         aclocal.m4 and lost in some merge.
9605
9606         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
9607         Don't try to find graphics configuration.
9608         * java/awt/Toolkit.java (default_toolkit_name): Use new
9609         Configuration entry.
9610         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
9611         New global.
9612         * configure: Rebuilt.
9613         * configure.in (TOOLKIT): New subst.
9614         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
9615         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
9616         directory.  Make output directories for .c files.
9617         * Makefile.in: Rebuilt.
9618         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
9619         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
9620         (all_java_source_files): Added new sources.
9621         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
9622         (gtk_c_files): New macro.
9623         (gtk_c_source_files): New macro.
9624         (cond_gtk_ltlibrary): New macro.
9625         ($(gtk_c_files)): New target.
9626         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
9627         (gtk_awt_peer_sources): New macro.
9628         (gtk_c_headers): New macro.
9629         ($(gtk_c_headers)): New target.
9630         (ACLOCAL_AMFLAGS): New macro.
9631         * gtk.m4, glib.m4, libart.m4: New files.
9632         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
9633         gnu/java/awt/peer/gtk/GdkGraphics.java,
9634         gnu/java/awt/peer/gtk/GtkArg.java,
9635         gnu/java/awt/peer/gtk/GtkArgList.java,
9636         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9637         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
9638         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
9639         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
9640         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
9641         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9642         gnu/java/awt/peer/gtk/GtkClipboard.java,
9643         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9644         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9645         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
9646         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
9647         gnu/java/awt/peer/gtk/GtkFontPeer.java,
9648         gnu/java/awt/peer/gtk/GtkFramePeer.java,
9649         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
9650         gnu/java/awt/peer/gtk/GtkImage.java,
9651         gnu/java/awt/peer/gtk/GtkImagePainter.java,
9652         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
9653         gnu/java/awt/peer/gtk/GtkListPeer.java,
9654         gnu/java/awt/peer/gtk/GtkMainThread.java,
9655         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
9656         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
9657         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
9658         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
9659         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
9660         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
9661         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
9662         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
9663         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
9664         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9665         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9666         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9667         gnu/java/awt/peer/gtk/GtkToolkit.java,
9668         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
9669         gnu/java/awt/peer/gtk/TestAWT.java,
9670         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
9671         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
9672         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
9673         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9674         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
9675         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
9676         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
9677         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
9678         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
9679         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
9680         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
9681         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
9682         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
9683         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
9684         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
9685         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
9686         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
9687         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
9688         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
9689         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
9690         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
9691         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
9692         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
9693         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9694         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
9695         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
9696         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
9697         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
9698         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
9699         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
9700         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
9701         jni/classpath/native_state.c, jni/classpath/native_state.h,
9702         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
9703
9704 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
9705
9706         * java/util/Properties.java (load): Ignore backslash before EOF.
9707
9708 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
9709
9710         * java/lang/natClass.cc (initializeClass): Check tables when
9711         (state == JV_STATE_IN_PROGRESS).
9712         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
9713         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
9714         interpreted classes.
9715         (linkClass0): Use _Jv_WaitForState.
9716
9717 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
9718
9719         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
9720         object when finished.
9721
9722 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
9723
9724         * libjava/configure.host: Disable can_unwind_signal on darwin.
9725
9726 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
9727
9728         Fixes PR java/9254:
9729         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
9730         additionally containing id of the owner thread as well as
9731         the number of nested times the thread has acquired the mutex.
9732         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
9733         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
9734         (_Jv_MutexUnlock): Check if really the owner thread, reset
9735         owner thread id to 0 before leaving, if leaving for the last
9736         time.
9737         (_Jv_MutexLock): Set owner thread id in the mutex and increment
9738         refcount.
9739         (_Jv_ThreadYield): Yield using a call to Sleep(0).
9740         * win32-threads.cc (_Jv_CondWait): Check if really owner of
9741         the passed mutex.
9742         Pass handle of the broadcast event, instead of a pointer to it
9743         in Win32 ResetEvent( ) call.
9744         Remove incorrect return values.
9745         (_Jv_CondDestroy): Close both event handles and delete
9746         critical section.
9747         (_Jv_CondNotify): Check if really the owner thread.
9748         (_Jv_CondNotifyAll): Check if really the owner thread.
9749         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
9750         (really_start): Use SetEvent( ) to signal daemon_cond.
9751         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
9752         WaitForSingleObject( ) instead to wait for daemon_cond to be
9753         signalled.
9754
9755 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
9756
9757         * configure.in: Specifically define HAVE_BACKTRACE if building
9758         for MinGW.
9759         * include/win32.h: Remove HAVE_BACKTRACE definition.
9760         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
9761         * configure: Rebuilt.
9762
9763 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
9764
9765         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
9766         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
9767         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
9768         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
9769         * Makefile.in, configure: Rebuilt.
9770
9771 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
9772
9773         Fixes PR java/9253:
9774         * java/io/natFileWin32.cc (performList): Append only "*.*"
9775         if the canonical file path already has a "\" at the end.
9776
9777 2003-01-24  Tom Tromey  <tromey@redhat.com>
9778
9779         * defineclass.cc (handleMethodsEnd): Precompute code for static
9780         method.
9781         (handleCodeAttribute): Likewise.
9782         * resolve.cc (ncode): Use run_class for unsynchronized static
9783         methods.
9784         * include/java-interp.h (class _Jv_InterpMethod): Declare
9785         run_class.
9786         * interpret.cc (run_synch_class): Initialize class.
9787         (run) [insn_invokestatic]: Don't initialize class.
9788         [insn_anewarray]: Likewise.
9789         [insn_multianewarray]: Likewise.
9790         (run_class): New function.
9791
9792 2003-01-24  Tom Tromey  <tromey@redhat.com>
9793
9794         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
9795         comment.
9796
9797 2003-01-22  Andrew Haley  <aph@redhat.com>
9798
9799         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
9800         * configure.host (CHECKREFSPEC): Define for x86_64.
9801
9802 2003-01-21  Tom Tromey  <tromey@redhat.com>
9803
9804         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
9805         search at 2, not 3.
9806
9807 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
9808
9809         * java/io/natFileWin32.cc (isAbsolute): Check path length before
9810         looking at any characters.
9811         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
9812         be used.
9813         (isAbsolute): Check path's length as well.
9814
9815 2003-01-17  Mark Wielaard  <mark@klomp.org>
9816
9817         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
9818         (nat_source_files): Add natVMObjectStreamClass.cc.
9819         * Makefile.in: Regenerated.
9820         * gcj/javaprims.h (namespace java): Regenerated.
9821         * java/io/ObjectStreamClass.java (getClassUID): Call
9822         VMObjectStreamClass.hasClassInitializer().
9823         (hasClassInitializer): Removed.
9824         * java/io/VMObjectStreamClass.java: New class.
9825         * java/io/natVMObjectStreamClass.cc: New file.
9826         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
9827
9828 2003-01-16  Mark Wielaard  <mark@klomp.org>
9829
9830         * java/net/SocketImpl.java (toString): Don't explicitly call
9831         toString() on possible null address.
9832
9833 2003-01-16  Michael Koch  <konqueror@gmx.de>
9834
9835         * java/net/MulticastSocket.java
9836         (setInterface): Reindented.
9837
9838 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9839
9840         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
9841         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
9842         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
9843         translateY arguments.  Implement.
9844         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
9845         down translation arguments.
9846         (drawPolyline, drawPolygon): Fix incorrect tests.
9847         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
9848         translateX and translateY arguments.
9849
9850 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9851
9852         * Makefile.in: Rebuilt.
9853         * Makefile.am (xlib_includes): New macro.
9854         (INCLUDES): Use it.
9855
9856 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9857
9858         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
9859         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
9860         16-bit display mode.
9861
9862 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9863
9864         * java/awt/CardLayout.java (show): Rewrote.
9865         (gotoComponent): Removed `target' argument.  Simplified code.
9866         Don't pre-compute `choice' unless `what' is FIRST or LAST.
9867         Changed all callers.
9868         (NONE): Removed.
9869         
9870 2003-01-14  Michael Koch  <konqueror@gmx.de>
9871
9872         * java/net/InetSocketAddress.java
9873         (serialVersionUID): New member variable.
9874         * java/net/NetPermission.java
9875         (NetPermission): Dont implement java.io.Serialization directly.
9876         * java/net/SocketAddress.java:
9877         (serialVersionUID): Documentation added.
9878         
9879 2003-01-14  Michael Koch  <konqueror@gmx.de>
9880
9881         * java/awt/Label.java
9882         (Label): Implements javax.accessibility.Accessible;
9883         * java/awt/List.java
9884         (List): Implements javax.accessibility.Accessible;
9885         * java/awt/ScrollPane.java
9886         (ScrollPane): Implements javax.accessibility.Accessible;
9887         * java/awt/Scrollbar.java
9888         (Scrollbar): Implements javax.accessibility.Accessible;
9889         * java/awt/TextComponent.java
9890         (setCaretPosition): Throw exception, documentation added.
9891         * java/awt/Toolkit.java:
9892         Added some newlines in method documentations.
9893         (createButton): Exception documentation added.
9894         (createTextField): Exception documentation added.
9895         (createLabel): Exception documentation added.
9896         (createList): Exception documentation added.
9897         (createCheckbox): Exception documentation added.
9898         (createScrollbar): Exception documentation added.
9899         (createScrollPane): Exception documentation added.
9900         (createTextArea): Exception documentation added.
9901         (createChoice): Exception documentation added.
9902         (createFrame): Exception documentation added.
9903         (createWindow): Exception documentation added.
9904         (createDialog): Exception documentation added.
9905         (createMenuBar): Exception documentation added.
9906         (createMenu): Exception documentation added.
9907         (createMenuItem): Exception documentation added.
9908         (createFileDialog): Exception documentation added.
9909         (createCheckboxMenuItem): Exception documentation added.
9910         (loadSystemColors): Exception documentation added.
9911         (setDynamicLayout): Exception documentation added.
9912         (isDynamicLayoutSet): Exception documentation added.
9913         (isDynamicLayoutActive): Exception documentation added.
9914         (getScreenSize): Exception documentation added.
9915         (getScreenResolution): Exception documentation added.
9916         (getScreenInsets): Exception documentation added.
9917         (getColorModel): Exception documentation added.
9918         (getSystemClipboard): Exception documentation added.
9919         (getSystemSelection): Exception documentation added.
9920         (getMenuShortcutKeyMask): Exception documentation added.
9921         (getSystemEventQueue): Exception documentation added.
9922         * java/awt/Window.java:
9923         Reindented some code.
9924         (Window): Centralized implementation, documentation added.
9925         (finalize): Documentation added.
9926         (hide): Fixed typo in comment.
9927         (getWindowListeners): Documentation added.
9928         * java/awt/color/ColorSpace.java
9929         (toRGB): Documentation added.
9930         * java/awt/color/ICC_ColorSpace.java
9931         (ICC_ColorSpace): Documentation added.
9932         (toRGB): Throw exception, documentation added.
9933         (fromRGB): Throw exception, documentation added.
9934         (toCIEXYZ): Documentation added.
9935         (fromCIEXYZ): Documentation added.
9936         (getMinValue): Documentation added.
9937         (getMaxValue): Documentation added.
9938         * java/awt/geom/Dimension2D.java
9939         (clone): Documentation added.
9940         * java/awt/geom/GeneralPath.java
9941         (clone): Documentation added.
9942         * java/awt/geom/Line2D.java
9943         (clone): Documentation added.
9944         * java/awt/geom/QuadCurve2D.java
9945         (clone): Documentation added.
9946         * java/awt/image/ColorModel.java
9947         (ColorModel): Throw exception, documentation added.
9948         * java/awt/image/ImageFilter.java
9949         (clone): Doesnt throw CloneNotSupportedException.
9950
9951 2003-01-14  Andrew Haley  <aph@redhat.com>
9952
9953         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
9954         in a try block.
9955
9956 2003-01-10  Andrew Haley  <aph@redhat.com>
9957
9958         * include/dwarf2-signal.h: Remove x86_64.
9959         * configure.host (x86_64 DIVIDESPEC): Remove.
9960         * include/x86_64-signal.h: New file.
9961         * configure.in: Regenerate.
9962
9963 2003-01-10  Michael Koch  <konqueror@gmx.de>
9964
9965         * java/net/DatagramSocket.java
9966         (ch): Description added.
9967         (remotePort): Initialize with -1.
9968         (connect): Doesnt throws SocketException.
9969         * java/net/MulticastSocket.java
9970         (setInterface): Merge with Classpath.
9971         * java/net/ServerSocket.java
9972         (closed): New member variable.
9973         (bind): Check if socket is closed.
9974         (close): Close an associated channel too, set new value to closed.
9975         (isBound): Reindented.
9976         (isClosed): Implemented.
9977         * java/net/Socket.java
9978         (closed): New member variable.
9979         (bind): Check if socket is closed.
9980         (connect): Check if socket is closed.
9981         (close): Close an associated channel too, set new value to closed.
9982         (isClosed): Implemented.
9983
9984 2003-01-10  Michael Koch  <konqueror@gmx.de>
9985
9986         * java/awt/DisplayMode.java
9987         (equals): Fixed argument type and implementation.
9988
9989 2003-01-07  Tom Tromey  <tromey@redhat.com>
9990
9991         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
9992         JV_HASH_SYNCHRONIZATION.
9993         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
9994         JV_HASH_SYNCHRONIZATION.
9995
9996 2003-01-07  Michael Koch  <konqueror@gmx.de>
9997  
9998         * java/net/DatagramSocket.java:
9999         Added classpath license info.
10000         (DatagramSocket): Merged description with classpath.
10001         (close): Merged description with classpath.
10002         (getChannel): Merged description with classpath.
10003         (getInetAddress): Merged description with classpath.
10004         (getPort): Merged description with classpath.
10005         (getLocalAddress): Merged description with classpath.
10006         (getLocalPort): Merged description with classpath.
10007         (getSoTimeout): Merged description with classpath.
10008         (setSoTimeout): Merged description with classpath.
10009         (getSendBufferSize): Merged description with classpath.
10010         (setSendBufferSize): Merged description with classpath.
10011         (getReceiveBufferSize): Merged description with classpath.
10012         (setReceiveBufferSize): Merged description with classpath.
10013         
10014 2003-01-04  Tom Tromey  <tromey@redhat.com>
10015
10016         * java/awt/List.java: Merged with Classpath.
10017
10018 2003-01-03  Mark Wielaard  <mark@klomp.org>
10019
10020         * java/io/FileDescriptor.java (position): New private field.
10021         * java/io/natFileDescriptorPosix.cc (write): Up position.
10022         (setLength): Use and set position.
10023         (seek): Set position.
10024         (getFilePointer): Return position.
10025         (read): Up position.
10026
10027 2003-01-03  Mark Wielaard  <mark@klomp.org>
10028
10029         Merge with Classpath:
10030         * java/io/ObjectStreamClass.java (lookup): Split method and call
10031         lookupForClassObject().
10032         (lookupForClassObject): New method.
10033         (isProxyClass): New field.
10034         (setClass): Set isProxyClass, add object to classLookupTable, set
10035         superClass and calculateOffsets.
10036         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
10037         and not a proxy class.
10038         (setFields): Set accessible true for serialPersistentFields.
10039         (getClassUID): Same for suid. And check if suid is of type long.
10040         (hasClassInitializer): Don't throw NoSuchMethodError.
10041
10042 2003-01-03  Mark Wielaard  <mark@klomp.org>
10043
10044         * java/io/FileInputStream.java (finalize): Don't explicitly
10045         finalize FileDescriptor.
10046
10047 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
10048
10049         * configure.host (sparc*-*): Enable bytecode interpreter.
10050
10051 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
10052
10053         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
10054         Don't throw RemoteException.
10055         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
10056         throw RemoteException.
10057
10058 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
10059
10060         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
10061         proxyHost): New static fields.
10062         (<clinit>): Initialize new fields.
10063         (connect): Use proxy if necessary.
10064         (usingProxy): Implement.
10065
10066 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
10067
10068         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
10069         (TreeIterator.remove): Prefer IllegalStateException over
10070         ConcurrentModificationException, to match Sun.
10071
10072 2002-12-22  Anthony Green  <green@redhat.com>
10073
10074         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
10075
10076 2003-01-02  Mark Wielaard  <mark@klomp.org>
10077
10078         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
10079         public.
10080         (HTTP_USE_PROXY): Add field.
10081         (getResponseVals): Only set responseCode when not yet explicitly
10082         set by subclass.
10083
10084 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
10085             Mark Wielaard  <mark@klomp.org>
10086
10087         * java/util/zip/ZipFile.java (entries): Now HashMap.
10088         (readLeShort(DataInput, byte[])): Read from given byte array.
10089         (readLeInt(DataInput, byte[]): Likewise.
10090         (readLeShort(byte[] b, int off)): New method.
10091         (readLeInt(byte[] b, int off)): Likewise.
10092         (readEntries): Use byte arrays to read info in bigger chunks.
10093         (getEntries): Return HashMap.
10094         (getEntry): Use HashMap.
10095         (locBuf): New private field.
10096         (checkLocalHeader): Use locBuf to read info in one chunk.
10097         (getInputStream): Use entries HashMap, wrap PartialInputStream
10098         in BufferedInputStream.
10099         (ZipEntryEnumeration): Use HashMap and Interator.
10100
10101 2003-01-02  Mark Wielaard  <mark@klomp.org>
10102             Jeroen Frijters  <jeroen@sumatra.nl>
10103
10104         * java/net/URLClassLoader.java (Resource.getCodeSource):
10105         Fix check certs == null.
10106         (getCanonicalFileURL): Removed method.
10107         (JarURLLoader): Don't call removed method.
10108         (FileURLLoader): Likewise.
10109         (FileURLLoader.getResource): Don't canonicalize file name.
10110
10111 2003-01-01  Tom Tromey  <tromey@redhat.com>
10112
10113         * Makefile.in: Rebuilt.
10114         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
10115         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
10116         java/awt/BufferCapabilities.java, java/awt/Button.java,
10117         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
10118         java/awt/Container.java, java/awt/Cursor.java,
10119         java/awt/EventQueue.java, java/awt/FileDialog.java,
10120         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
10121         java/awt/MenuBar.java, java/awt/MenuComponent.java,
10122         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
10123         java/awt/Scrollbar.java, java/awt/TextArea.java,
10124         java/awt/TextField.java, java/awt/color/CMMException.java,
10125         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
10126         java/awt/color/ProfileDataException.java,
10127         java/awt/datatransfer/Clipboard.java,
10128         java/awt/datatransfer/DataFlavor.java,
10129         java/awt/datatransfer/FlavorMap.java,
10130         java/awt/datatransfer/SystemFlavorMap.java,
10131         java/awt/dnd/DragGestureEvent.java,
10132         java/awt/dnd/DragGestureRecognizer.java,
10133         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
10134         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
10135         java/awt/im/InputMethodHighlight.java,
10136         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
10137         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
10138
10139         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
10140         `op' to BufferedImageOp.
10141
10142 2002-12-31  Tom Tromey  <tromey@redhat.com>
10143
10144         Fix for PR libgcj/7416:
10145         * javax/naming/InitialContext.java (init): Use
10146         gnu.classpath.home.url.
10147         * java/security/Security.java: Use new properties.
10148         (loadProviders): Accept base url; use it.
10149         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
10150         gnu.classpath.home.url.
10151         (gnu.classpath.home.url): Define.
10152         (gnu.classpath.vm.shortname): Likewise.
10153
10154 2002-12-31  Tom Tromey  <tromey@redhat.com>
10155             Ranjit Mathew  <rmathew@hotmail.com>
10156
10157         Fix for PR libgcj/8997:
10158         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
10159         Include platform.h.
10160         * include/posix.h (_Jv_platform_usleep): New function.
10161         * include/win32.h (_Jv_platform_usleep): New function.
10162
10163 2002-12-29  Tom Tromey  <tromey@redhat.com>
10164
10165         * gcj/javaprims.h: Updated.
10166         * scripts/classes.pl (scan): Removed stray semicolon.
10167
10168 2002-12-30  Mark Wielaard  <mark@klomp.org>
10169
10170         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
10171         if zero or smaller.
10172
10173 2002-12-30  Mark Wielaard  <mark@klomp.org>
10174
10175         * java/util/Properties (formatForOutput): Don't fall through to
10176         default case after escaping character.
10177
10178 2002-12-30  Mark Wielaard  <mark@klomp.org>
10179
10180         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
10181         against count.
10182
10183 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
10184
10185         * boehm.cc: Remove stray semicolon.
10186         * interpret.cc: Likewise.
10187         * prims.cc: Likewise.
10188         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
10189         earlier to ensure default arguments are processed.
10190         * gcj/array.h (JArray): Add forward declaration.
10191         (elements): Likewise.
10192         * gcj/javaprim.h: Remove stray semicolons.
10193         * include/bohm-gc.h: Likewise.
10194         * include/jni.h: Likewise.
10195         * include/jvm.h: Likewise.
10196         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
10197         
10198 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
10199
10200         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
10201         of catch_type.
10202         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
10203         idt tables after initializing superclass.
10204         * java/lang/natClassLoader.cc (uaddr): New typedef.
10205         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
10206         if they are constant pool indicies.  Don't link vtable, otable yet.
10207
10208 2002-12-21  Anthony Green  <green@redhat.com>
10209
10210         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
10211         libraries.
10212         * Makefile.in: Rebuilt.
10213
10214 2002-12-19  Anthony Green  <green@redhat.com>
10215
10216         * Makefile.am (ordinary_java_source_files): Add
10217         org/xml/sax/helpers/NewInstance.java.
10218         * Makefile.in: Rebuilt.
10219         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
10220         org/xml/sax/helpers/package.html: New files.
10221         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
10222         http://www.saxproject.org.
10223
10224 2002-12-19  Andrew Haley  <aph@redhat.com>
10225
10226         * java/util/natResourceBundle.cc: Include
10227         ArrayIndexOutOfBoundsException.h.
10228         (getCallingClassLoader): Don't put upper bound on stack search.
10229         Catch ArrayIndexOutOfBoundsException.
10230
10231 2002-12-19  Tom Tromey  <tromey@redhat.com>
10232
10233         * libtool-version: Increased `current'.
10234
10235 2002-12-19  Tom Tromey  <tromey@redhat.com>
10236
10237         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
10238         comment.
10239         * java/lang/ClassLoader.java (defineClass): Use chained
10240         exception when rethrowing.
10241         * defineclass.cc (handleClassBegin): Mark class as interpreted.
10242         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
10243         constants.
10244         * resolve.cc (_Jv_PrepareMissingMethods): New function.
10245         (_Jv_PrepareClass): Use it.
10246         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
10247         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
10248         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
10249         (Class): _Jv_PrepareMissingMethods now friend.
10250         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
10251         Record `NULL' for system class loader.
10252         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
10253         system class loader.
10254         (_Jv_FindClassInCache): Likewise.
10255         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
10256         (_Jv_FindClass): Special case system class loader.
10257         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
10258         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
10259         vtable slots.
10260         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
10261         in a final class.
10262         (_getDeclaredMethod): Don't return synthetic methods.
10263         (getDeclaredMethods): Likewise.
10264         (_getMethod): Likewise.
10265         (_getMethods): Likewise.
10266
10267 2002-12-18  Raif Naffah  <raif@fl.net.au>
10268
10269         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
10270         canonical form after divide().
10271         (modInverse): Likewise.
10272
10273 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10274             Mark Wielaard  <mark@klomp.org>
10275
10276         * java/security/SecurityRandom (digest): Removed field.
10277         (SecureRandom): Check all providers for case-insensitive SecureRandom
10278         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
10279         if necessary.
10280         (getInstance(String,Provider,boolean): New method.
10281         (getInstance(String)): Use new method.
10282         (getInstance(String,String)): Likewise.
10283         (getInstance(String,Provider)): Likewise.
10284
10285 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10286
10287         * java/security/Security.java (loadProviders): Increment i only once.
10288
10289 2002-12-12  Mark Wielaard  <mark@klomp.org>
10290
10291         * java/lang/ClassLoader.java (resolveClass0): Transform
10292         ClassNotFoundException to NoClassDefFoundError. Transform all other
10293         throwables to LinkageError.
10294
10295 2002-12-11  Tom Tromey  <tromey@redhat.com>
10296
10297         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
10298
10299         * java/lang/ClassLoader.java (loadedClasses): New field.
10300         (defineClass): Fixed indentation.  Put new class in
10301         loadedClasses.
10302         (findLoadedClass): Implement here.
10303         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
10304
10305 2002-12-10  Tom Tromey  <tromey@redhat.com>
10306
10307         * Makefile.in: Rebuilt.
10308         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10309         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
10310         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
10311         * java/lang/natClassLoader.cc
10312         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
10313
10314 2002-12-10  Mark Wielaard  <mark@klomp.org>
10315             Tom Tromey  <tromey@redhat.com>
10316
10317         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
10318         (JarURLLoader): Use it.
10319         (FileURLLoader): Likewise.
10320         (JarURLResource.getURL): Use chained exception.
10321         (FileResource.getURL): Likewise.
10322         (FileURLLoader.getResource): Use canonical file name.
10323         (addURL): Indentation fix.
10324
10325 2002-12-10  Tom Tromey  <tromey@redhat.com>
10326
10327         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
10328         From Laurent Bardet <l.bardet@magic.fr>.
10329
10330 2002-12-09  Tom Tromey  <tromey@redhat.com>
10331
10332         * include/win32.h (_Jv_platform_solib_prefix): New define.
10333         (_Jv_platform_solib_suffix): Likewise.
10334         * include/posix.h (_Jv_platform_solib_prefix): New define.
10335         (_Jv_platform_solib_suffix): Likewise.
10336         * java/lang/natRuntime.cc: Include StackTrace.h.
10337         (_load): Use findLibrary and new platform defines.
10338         (nativeGetLibname): Use new platform defines.
10339
10340         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
10341         `t' won't be null.
10342
10343 2002-12-08  Mark Wielaard  <mark@klomp.org>
10344
10345         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
10346         cache remote jar files.
10347         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
10348         add File.separator to URL when it is a directory.
10349         * java/lang/ClassLoader.java: Add Classpath javadoc.
10350         (parent): final.
10351         (getParent): Add (disabled) security check.
10352         (findLibrary): New default method.
10353         * java/net/JarURLConnection.java (getManifest): Implement.
10354         (getInputStream): Only create InputStream when entry exists.
10355         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
10356         when they exist.
10357         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
10358
10359 2002-12-08  Mark Wielaard  <mark@klomp.org>
10360
10361         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
10362         (lastDefaultLocale): New field.
10363         (getBundle): When Locale.getDefault != lastDefaultLocale reset
10364         resourceBundleCache.
10365
10366 2002-12-06  Mark Wielaard  <mark@klomp.org>
10367
10368         * java/net/InetAddress.java (toString): Use hostname when not null,
10369         don't do an explicit reverse getHostName() lookup.
10370         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
10371         NullPointerException.
10372
10373 2002-12-06  Tom Tromey  <tromey@redhat.com>
10374
10375         * include/java-interp.h (class _Jv_InterpMethod): Added
10376         JV_MARKOBJ_DECL.
10377         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
10378         mark `prepared' field of interpreted method.
10379         * interpret.cc (compile): Use _Jv_AllocBytes.
10380
10381 2002-12-05  Andrew Haley  <aph@redhat.com>
10382
10383         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
10384         #ifdef (HAVE_BACKTRACE) around the whole function body.
10385
10386 2002-12-05  Tom Tromey  <tromey@redhat.com>
10387
10388         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
10389         * resolve.cc: Don't include AbstractMethodError.h.
10390         (_Jv_abstractMethodError): Removed.
10391         * defineclass.cc (handleMethodsBegin): Initialize method index to
10392         -1.
10393         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
10394         method index for "new" final method.
10395         (_Jv_SetVTableEntries): Compare index against -1 instead of using
10396         isVirtualMethod.  Added `flags' argument.
10397         (_Jv_MakeVTable): Throw exception for abstract method in concrete
10398         class.
10399
10400 2002-12-04  Tom Tromey  <tromey@redhat.com>
10401
10402         * java/net/SocketPermission.java (hashCode): Rewrote.
10403
10404 2002-12-04  Tom Tromey  <tromey@redhat.com>
10405
10406         * Makefile.in: Rebuilt.
10407         * Makefile.am (nat_source_files): Added natVMSecurityManager,
10408         natResourceBundle.
10409         * java/util/ResourceBundle.java (Security): Removed.
10410         (getCallingClassLoader): Now native.
10411         * java/util/natResourceBundle.cc: New file.
10412         * java/lang/natVMSecurityManager.cc: New file.
10413         * java/lang/VMSecurityManager.java (getClassContext): Now native.
10414
10415 2002-12-03  Mark Wielaard  <mark@klomp.org>
10416
10417         * java/util/jar/JarFile.java (manifest): Not final.
10418         (manifestRead): New field.
10419         (JarFile): Don't read Manifest in constructor.
10420         (getManifest): New method.
10421         (JarEnumeration.nextElement): Use new method.
10422         (getEntry): Likewise.
10423         * java/util/zip/ZipFile.java (name): Final.
10424         (raf): Likewsie.
10425         (entries): Change type to Hashtable.
10426         (closed): New field.
10427         (ZipFile): Don't read enties in constructor.
10428         (readEntries): Use Hashtable.
10429         (close): Set new close flag and set entries to null inside
10430         synchronized block.
10431         (entries): Contruct enumeration using new getEntries() method and
10432         entries Hashtable.
10433         (getEntryIndex): Removed.
10434         (getEntries): New method.
10435         (getEntry): Use new getEntries() method and entries Hastable.
10436         (getInputStream): Likewise.
10437         (size): Return getEntries().size().
10438         (ZipEntryEnumeration): Wrap entries Hashtable elements.
10439         * java/util/zip/ZipEntry.java (cal): Don't initialize.
10440         (time): Removed
10441         (dostime): New field.
10442         (zipFileIndex): Removed.
10443         (ZipEntry(ZipEntry)): Copy dostime.
10444         (setDOSTime): Now final and doesn't convert dos time.
10445         (getDOSTime): Likewise.
10446         (setTime): Convert dos time.
10447         (getTime): Likewise.
10448         (getCalendar): New method.
10449         (setExtra): Use setTime().
10450         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
10451
10452 2002-12-03  Tom Tromey  <tromey@redhat.com>
10453
10454         * java/lang/Character.java (forDigit): Formatting fix.
10455
10456 2002-12-03  Raif Naffah  <raif@fl.net.au>
10457
10458         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
10459         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
10460         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
10461
10462 2002-12-03  Andrew Haley  <aph@redhat.com>
10463
10464         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
10465         _Jv_PushClass.
10466         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
10467         (_Jv_PopClass): New.
10468         (_Jv_PushClass): New.
10469         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
10470         discover the ClassLoader of our caller.
10471         (_Jv_CheckArrayStore): Don't check that a class is assignment
10472         compatible with Object.
10473         * java/lang/natVMTHrowable.cc: Delete.
10474         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
10475         java.lang.VMThrowable.
10476         (StackTrace(), StackTrace(int)): New constructors.
10477         (classAt, methodAt, update, methodAtAddress): New methods.
10478         (map): New field.
10479         * java/lang/VMThrowable.java: Use StackTrace instead of
10480         natVMTHrowable.
10481         * java/lang/Class.h (getClassLoaderInternal): New.
10482         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
10483         Be friendly with gnu::gcj::runtime::StackTrace.
10484         (Object.chain): New field.
10485         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
10486         gnu::gcj::runtime::StackTrace.
10487         * gnu/gcj/runtime/natStackTrace.cc: New file.
10488         * gnu/gcj/runtime/MethodRef.java: New file.
10489         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
10490         instead of getClassLoader().
10491         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
10492         java::lang::VMThrowable.
10493         * Makefile.am (core_java_source_files): Add MethodRef.java,
10494         StackTrace.java.
10495         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
10496         * Makefile.in: Rebuild.
10497
10498 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
10499
10500         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
10501         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
10502         yes also for sh-linux* and sh[34]*-linux*.
10503         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
10504         set SIGNAL_HANDLER to use DWARF2 exception for them.
10505         * configure: Regenerate.
10506
10507 2002-12-02  Tom Tromey  <tromey@redhat.com>
10508
10509         * jni.cc: Added `name' argument.
10510         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
10511         `const char *' argument.
10512         (class _Jv_JNIEnv) [DefineClass]: Likewise.
10513
10514 2002-12-01  Tom Tromey  <tromey@redhat.com>
10515
10516         Bug compatibility, for PR libgcj/8738:
10517         * java/io/CharArrayWriter.java (close): Do nothing.
10518         (flush): Likewise.
10519         (reset): Don't touch `closed'.
10520         (write(int)): Don't throw IOException.
10521         (write(char[],int,int)): Likewise.
10522         (write(String,int,int)): Likewise.
10523         (closed): Removed.
10524
10525 2002-12-01  Mark Wielaard  <mark@klomp.org>
10526
10527         * java/lang/SecurityManager.java: Remerge comments, indenting and
10528         checkXXX methods with Classpath.
10529
10530 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
10531
10532         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
10533         getNormalizedComponents): Fix calculation which was using one too
10534         many bits in the unnormalized format.
10535
10536 2002-11-29  Gary Benson  <gbenson@redhat.com>
10537
10538         For PR libgcj/8759:
10539         * java/beans/Introspector.java (flushCaches): New method.
10540         (flushFromCaches): Likewise.
10541
10542 2002-11-29  Michael Koch <konqueror@gmx.de>
10543
10544         * java/nio/channels/DatagramChannel.java
10545         (open): Added exception documentation.
10546         (write): Added exception documentation.
10547         (connect): Added exception documentation.
10548         (disconnect): Added exception documentation.
10549         (isConnected): Added exception documentation.
10550         (read): Added exception documentation.
10551         (receive): Added exception documentation.
10552         (send): Added exception documentation.
10553         (validOps): Added exception documentation.
10554         * java/nio/channels/SocketChannel.java
10555         (open): Added exception documentation.
10556         (read): Added exception documentation.
10557         (write): Added exception documentation.
10558         (connect): Added exception documentation.
10559         (finishConnect): Added exception documentation.
10560
10561 2002-11-29  Michael Koch <konqueror@gmx.de>
10562
10563         * gnu/java/nio/DatagramChannelImpl:
10564         (fd): New member variable to store file descriptor of socket.
10565         * gnu/java/nio/SelectionKeyImpl.java:
10566         (ops): Removed.
10567         (readyOps): New member variable.
10568         (interestOps): New member variable.
10569         (readyOps): Implemented.
10570         (readyOps): New method to set member variable readyOps.
10571         (interestOps): Replaced ops by interestOps.
10572         * gnu/java/nio/SelectorImpl.java:
10573         (SelectorImpl): Initialize key sets.
10574         (select): Call select with -1 instead of Long.MAX_VALUE).
10575         (java_do_select): Make it a native method.
10576         (getFDsAsArray): New helper method.
10577         (select): Remove canceled keys, give only interested file discriptors
10578         to java_do_select, set ready ops.
10579         (add): No need to initialize keys set here.
10580         (add_selected): No need to initialize selected set here.
10581         (deregisterCanceledKeys): New helper method.
10582         (register): Set interest ops, set attachments, added handling of datagram
10583         channels.
10584         * gnu/java/nio/ServerSocketChannelImpl:
10585         (SocketAccept): Renamed from NioSocketAccept.
10586         (implConfigureBlocking): Implemented.
10587         (accept): Use SocketAccept instead of NioSocketAccept.
10588         * gnu/java/nio/SocketChannelImpl:
10589         Reactivate native methods.
10590
10591 2002-11-29  Michael Koch <konqueror@gmx.de>
10592
10593         * gnu/java/nio/natByteBufferImpl.cc,
10594         gnu/java/nio/natCharBufferImpl.cc,
10595         gnu/java/nio/natDoubleBufferImpl.cc,
10596         gnu/java/nio/natFloatBufferImpl.cc,
10597         gnu/java/nio/natIntBufferImpl.cc,
10598         gnu/java/nio/natLongBufferImpl.cc,
10599         gnu/java/nio/natSelectorImpl.cc,
10600         gnu/java/nio/natServerSocketChannelImpl.cc,
10601         gnu/java/nio/natShortBufferImpl.cc,
10602         gnu/java/nio/natSocketChannelImpl.cc:
10603         New files that implement native functionalities.
10604
10605 2002-11-29  Michael Koch <konqueror@gmx.de>
10606
10607         * gnu/java/nio/ByteBufferImpl.java
10608         (ByteBufferImpl): Moved position() after limit.
10609         (nio_*): Use native implementation.
10610         * gnu/java/nio/CharBufferImpl.java:
10611         Reformated.
10612         (endian): New member variable string endianess of buffer.
10613         (CharBufferImpl): Moved position() after limit.
10614         (nio_*): Use native implementation.
10615         (subSequence): Implemented.
10616         * gnu/java/nio/DoubleBufferImpl.java
10617         (DoubleBufferImpl): Moved position() after limit.
10618         (nio_*): Use native implementation.
10619         * gnu/java/nio/FloatBufferImpl.java
10620         Reformated.
10621         (FloatBufferImpl): Moved position() after limit.
10622         (nio_*): Use native implementation.
10623         * gnu/java/nio/IntBufferImpl.java
10624         Added needed imports, Reformated.
10625         (IntBufferImpl): Moved position() after limit.
10626         (nio_*): Use native implementation.
10627         * gnu/java/nio/LongBufferImpl.java
10628         Reformated.
10629         (LongBufferImpl): Moved position() after limit.
10630         (nio_*): Use native implementation.
10631         * gnu/java/nio/ShortBufferImpl.java
10632         Reformated.
10633         (ShortBufferImpl): Moved position() after limit.
10634         (nio_*): Use native implementation.
10635
10636 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
10637
10638         * java/util/Locale.java (toString): Improve efficiency if country
10639         and variant are both empty.
10640
10641 2002-11-26  Tom Tromey  <tromey@redhat.com>
10642
10643         * verify.cc (pop_init_ref): New method.
10644         (verify_instructions_0) [op_iaload, op_laload, op_faload,
10645         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
10646         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
10647         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
10648         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
10649         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
10650         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
10651         let `this' argument be uninitialized.  Don't let `null' be passed
10652         as `this' to construtor.
10653
10654 2002-11-26  Mark Wielaard  <mark@klomp.org>
10655
10656         * javax/transaction/HeuristicCommitException.java: Classpath merge.
10657         * javax/transaction/HeuristicMixedException.java: Likewise.
10658         * javax/transaction/HeuristicRollbackException.java: Likewise.
10659         * javax/transaction/InvalidTransactionException.java: Likewise.
10660         * javax/transaction/NotSupportedException.java: Likewise.
10661         * javax/transaction/RollbackException.java: Likewise.
10662         * javax/transaction/Status.java: Likewise.
10663         * javax/transaction/Synchronization.java: Likewise.
10664         * javax/transaction/SystemException.java: Likewise.
10665         * javax/transaction/Transaction.java: Likewise.
10666         * javax/transaction/TransactionManager.java: Likewise.
10667         * javax/transaction/TransactionRequiredException.java: Likewise.
10668         * javax/transaction/TransactionRolledbackException.java: Likewise.
10669         * javax/transaction/UserTransaction.java: Likewise.
10670         * javax/transaction/xa/XAException.java: Likewise.
10671         * javax/transaction/xa/XAResource.java: Likewise.
10672         * javax/transaction/xa/Xid.java: Likewise.
10673
10674 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
10675
10676         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
10677         define.
10678         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
10679         * include/posix.h (socklen_t): Define if not already defined.
10680
10681 2002-11-25  Tom Tromey  <tromey@redhat.com>
10682
10683         * verify.cc (type::compatible): Backed out broken change.
10684
10685         * verify.cc (type::compatible): Check initialization status
10686         first.
10687         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
10688         Don't use NULLCHECK.
10689
10690 2002-11-23  H.J. Lu <hjl@gnu.org>
10691
10692         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
10693         Include ../config/accross.m4.
10694         * aclocal.m4; Rebuild.
10695         * configure: Likewise.
10696
10697 2002-11-23  Mark Wielaard  <mark@klomp.org>
10698
10699         * javax/naming/AuthenticationException.java: Update copyright header.
10700         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
10701         * javax/naming/Binding.java: Likewise.
10702         * javax/naming/CannotProceedException.java: Likewise.
10703         * javax/naming/CommunicationException.java: Likewise.
10704         * javax/naming/CompositeName.java: Likewise.
10705         * javax/naming/CompoundName.java: Likewise.
10706         * javax/naming/ConfigurationException.java: Likewise.
10707         * javax/naming/Context.java: Likewise.
10708         * javax/naming/ContextNotEmptyException.java: Likewise.
10709         * javax/naming/InitialContext.java: Likewise.
10710         * javax/naming/InsufficientResourcesException.java: Likewise.
10711         * javax/naming/InterruptedNamingException.java: Likewise.
10712         * javax/naming/LimitExceededException.java: Likewise.
10713         * javax/naming/LinkException.java: Likewise.
10714         * javax/naming/LinkLoopException.java: Likewise.
10715         * javax/naming/LinkRef.java: Likewise.
10716         * javax/naming/MalformedLinkException.java: Likewise.
10717         * javax/naming/NameAlreadyBoundException.java: Likewise.
10718         * javax/naming/NameClassPair.java: Likewise.
10719         * javax/naming/NameNotFoundException.java: Likewise.
10720         * javax/naming/NameParser.java: Likewise.
10721         * javax/naming/NamingEnumeration.java: Likewise.
10722         * javax/naming/NamingSecurityException.java: Likewise.
10723         * javax/naming/NoInitialContextException.java: Likewise.
10724         * javax/naming/NoPermissionException.java: Likewise.
10725         * javax/naming/NotContextException.java: Likewise.
10726         * javax/naming/OperationNotSupportedException.java: Likewise.
10727         * javax/naming/PartialResultException.java: Likewise.
10728         * javax/naming/Reference.java: Likewise.
10729         * javax/naming/Referenceable.java: Likewise.
10730         * javax/naming/ReferralException.java: Likewise.
10731         * javax/naming/ServiceUnavailableException.java: Likewise.
10732         * javax/naming/SizeLimitExceededException.java: Likewise.
10733         * javax/naming/TimeLimitExceededException.java: Likewise.
10734         * javax/naming/directory/Attribute.java: Likewise.
10735         * javax/naming/directory/AttributeInUseException.java: Likewise.
10736         * javax/naming/directory/AttributeModificationException.java: Likewise.
10737         * javax/naming/directory/Attributes.java: Likewise.
10738         * javax/naming/directory/BasicAttribute.java: Likewise.
10739         * javax/naming/directory/BasicAttributes.java: Likewise.
10740         * javax/naming/directory/DirContext.java: Likewise.
10741         * javax/naming/directory/InitialDirContext.java: Likewise.
10742         * javax/naming/directory/InvalidAttributeIdentifierException.java:
10743         Likewise.
10744         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
10745         * javax/naming/directory/InvalidAttributesException.java: Likewise.
10746         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
10747         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
10748         * javax/naming/directory/ModificationItem.java: Likewise.
10749         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
10750         * javax/naming/directory/SchemaViolationException.java: Likewise.
10751         * javax/naming/directory/SearchControls.java: Likewise.
10752         * javax/naming/directory/SearchResult.java: Likewise.
10753         * javax/naming/event/EventContext.java: Likewise.
10754         * javax/naming/event/EventDirContext.java: Likewise.
10755         * javax/naming/event/NamespaceChangeListener.java: Likewise.
10756         * javax/naming/event/NamingEvent.java: Likewise.
10757         * javax/naming/event/NamingExceptionEvent.java: Likewise.
10758         * javax/naming/event/NamingListener.java: Likewise.
10759         * javax/naming/event/ObjectChangeListener.java: Likewise.
10760         * javax/naming/ldap/Control.java: Likewise.
10761         * javax/naming/ldap/ControlFactory.java: Likewise.
10762         * javax/naming/ldap/ExtendedRequest.java: Likewise.
10763         * javax/naming/ldap/ExtendedResponse.java: Likewise.
10764         * javax/naming/ldap/HasControls.java: Likewise.
10765         * javax/naming/ldap/InitialLdapContext.java: Likewise.
10766         * javax/naming/ldap/LdapContext.java: Likewise.
10767         * javax/naming/ldap/LdapReferralException.java: Likewise.
10768         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
10769         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
10770         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
10771         * javax/naming/spi/DirObjectFactory.java: Likewise.
10772         * javax/naming/spi/DirStateFactory.java: Likewise.
10773         * javax/naming/spi/DirectoryManager.java: Likewise.
10774         * javax/naming/spi/InitialContextFactory.java: Likewise.
10775         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
10776         * javax/naming/spi/NamingManager.java: Likewise.
10777         * javax/naming/spi/ObjectFactory.java: Likewise.
10778         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
10779         * javax/naming/spi/ResolveResult.java: Likewise.
10780         * javax/naming/spi/Resolver.java: Likewise.
10781         * javax/naming/spi/StateFactory.java: Likewise.
10782
10783         * javax/naming/spi/NamingManager.java (ofb): Package private.
10784
10785 2002-11-21  Mark Wielaard  <mark@klomp.org>
10786
10787         * java/net/URL.java: Merge with Classpath (partly).
10788         * java/net/URLStreamHandler: Merge with Classpath.
10789
10790 2002-11-22  Michael Koch <konqueror@gmx.de>
10791
10792         * include/posix.h:
10793         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
10794         * include/win32.h:
10795         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
10796         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
10797
10798 2002-11-21  Michael Koch <konqueror@gmx.de>
10799
10800         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
10801         Only the new network functions should be in it.
10802
10803 2002-11-21  Michael Koch <konqueror@gmx.de>
10804
10805         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
10806         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
10807
10808 2002-11-21  Michael Koch <konqueror@gmx.de>
10809
10810         * java/nio/channels/AsynchronousCloseException.java,
10811         java/nio/channels/CancelledKeyException.java,
10812         java/nio/channels/ClosedByInterruptException.java,
10813         java/nio/channels/ConnectionPendingException.java,
10814         java/nio/channels/FileLockInterruptionException.java,
10815         java/nio/channels/IllegalSelectorException.java,
10816         java/nio/channels/NoConnectionPendingException.java,
10817         java/nio/channels/NonReadableChannelException.java,
10818         java/nio/channels/NonWritableChannelException.java,
10819         java/nio/channels/NotYetBoundException.java,
10820         java/nio/channels/NotYetConnectedException.java,
10821         java/nio/channels/OverlappingFileLockException.java,
10822         java/nio/channels/UnresolvedAddressException.java,
10823         java/nio/channels/UnsupportedAddressTypeException.java:
10824         New files.
10825         * Makefile.am (ordinary_java_source_files): Added new files.
10826         * Makefile.in: Regenerated.
10827
10828 2002-11-21  Michael Koch <konqueror@gmx.de>
10829
10830         * include/posix.h
10831         (_Jv_socket): New method.
10832         (_Jv_connect): New method.
10833         (_Jv_close): New method.
10834         (_Jv_platform_close_on_exec): Prefixed system function with "::".
10835         (_Jv_bind): New method.
10836         (_Jv_listen): New method.
10837         (_Jv_write): New method.
10838         (_Jv_read): New method.
10839         * include/win32.h
10840         (_Jv_socket): New method.
10841         (_Jv_connect): New method.
10842         (_Jv_close): New method.
10843         (_Jv_bind): New method.
10844         (_Jv_listen): New method.
10845         (_Jv_write): New method.
10846         (_Jv_read): New method.
10847         * java/net/natNetworkInterface.cc:
10848         Include platform.h, removed inclusion of socket.h
10849         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
10850         ::close() by _Jv_close().
10851         * java/net/natPlainDatagramSocketImpl.cc:
10852         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
10853         added some new lines to make code more readable.
10854         (create): Replaced ::socket() by _Jv_socket().
10855         (close): Replaced NATIVE_CLOSE() by _Jv_close().
10856         * java/net/natPlainSocketImpl.cc:
10857         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
10858         removed include of socket.h, removed some windows defines
10859         (now in include/win32.h).
10860         (create): Replaced ::socket() by _Jv_socket().
10861         (close): Replaced NATIVE_CLOSE() by _Jv_close().
10862         (write): Replaced ::read by _Jv_write().
10863         (read): Replaced ::read by _Jv_read().
10864
10865 2002-11-20  Michael Koch <konqueror@gmx.de>
10866
10867         * Makefile.am (ordinary_java_source_files):
10868         Added java/nio/channels/FileChannel.java.
10869         * Makefile.in: Regenerated.
10870
10871 2002-11-20  Michael Koch <konqueror@gmx.de>
10872
10873         * java/io/FileInputStream.java
10874         (getChannel): New method.
10875         * java/io/FileOutputStream.java
10876         (getChannel): New method.
10877         * java/net/ServerSocket.java
10878         (bind): Removed duplicate code and called another bind method instead.
10879         * java/nio/channels/SelectionKey.java
10880         (isValid): Removed wrong exception documentation.
10881         * java/nio/channels/ServerSocketChannel.java
10882         (accept): Added exception documentation.
10883         (open): Fixed typo, added exception documentation.
10884         * java/nio/channels/spi/AbstractSelectableChannel.java
10885         (implCloseChannel): Added exception documentation.
10886         (add): Reformated.
10887         (register): Added exception documentation.
10888
10889 2002-11-20  Andreas Jaeger  <aj@suse.de>
10890
10891         * configure: Regenerated with new libtool.m4.
10892
10893 2002-11-19  Tom Tromey  <tromey@redhat.com>
10894
10895         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
10896         `referent'.
10897         (finalize_referred_to_object): Don't modify `referent' or `copy'
10898         fields.
10899         (add_to_hash): Correctly set `n->next' when updating list.
10900         * java/lang/ref/Reference.java (enqueue): Return false if already
10901         enqueued.
10902
10903 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
10904
10905         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
10906         to function and function pointer declarations in accordance with
10907         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
10908         based on whether __GCJ_JNI_IMPL__ has been defined or not.
10909         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
10910         JNI function definitions.
10911
10912 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
10913
10914         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
10915         that was causing CoderResults to be cached, not WeakReferences
10916         to CoderResults.
10917
10918 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
10919
10920         * java/security/KeyStore.java (getInstance): Fix
10921         comment and throw IllegalArgumentException if
10922         given provider is null.
10923         (getInstance): New method for jdk1.4 compatibility.
10924
10925 2002-11-18  Michael Koch <konqueror@gmx.de>
10926
10927         * java/net/PlainSocketImpl.java: Fix imports.
10928
10929 2002-11-18  Michael Koch <konqueror@gmx.de>
10930
10931         * java/nio/channels/SelectionKey.java
10932         (isValid): Added exception documentation.
10933         * java/nio/channels/Selector.java
10934         (open): Declare "throws IOException".
10935
10936 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
10937
10938         * java/nio/charset/Charset.java
10939         (<clinit>): New method.
10940         (encode): Synchronize use of cached encoder object.
10941         (decode): Synchronize use of cached encoder object.
10942
10943 2002-11-18  Michael Koch <konqueror@gmx.de>
10944
10945         * gnu/java/nio/ByteBufferImpl.java,
10946         gnu/java/nio/CharBufferImpl.java,
10947         gnu/java/nio/DatagramChannelImpl.java,
10948         gnu/java/nio/DoubleBufferImpl.java,
10949         gnu/java/nio/FileChannelImpl.java,
10950         gnu/java/nio/FloatBufferImpl.java,
10951         gnu/java/nio/IntBufferImpl.java,
10952         gnu/java/nio/LongBufferImpl.java,
10953         gnu/java/nio/PipeImpl.java,
10954         gnu/java/nio/SelectionKeyImpl.java,
10955         gnu/java/nio/SelectorImpl.java,
10956         gnu/java/nio/SelectorProviderImpl.java,
10957         gnu/java/nio/ServerSocketChannelImpl.java,
10958         gnu/java/nio/ShortBufferImpl.java,
10959         gnu/java/nio/SocketChannelImpl.java,
10960         java/nio/DoubleBuffer.java,
10961         java/nio/FloatBuffer.java,
10962         java/nio/IntBuffer.java,
10963         java/nio/LongBuffer.java,
10964         java/nio/ShortBuffer.java,
10965         java/nio/channels/FileChannel.java: New files.
10966
10967 2002-11-18  Michael Koch <konqueror@gmx.de>
10968
10969         * Makefile.am (ordinary_java_source_files):
10970         Added java/nio/ReadOnlyBufferException.java and
10971         java/nio/channels/ClosedSelectorException.java.
10972         * Makefile.in: Regenerated.
10973
10974 2002-11-18  Michael Koch <konqueror@gmx.de>
10975
10976         * java/net/PlainSocketImpl.java: Reworked imports.
10977         * java/net/ServerSocket.java
10978         (ServerSocket): Create socket.
10979         * java/net/SocketAddress.java: Documentation added.
10980         * java/net/natPlainSocketImpl.cc: Reindented.
10981         * java/nio/ReadOnlyBufferException.java: New file
10982         * java/nio/channels/ClosedChannelException.java: Documentation added.
10983         * java/nio/channels/ClosedSelectorException.java: New file.
10984
10985 2002-11-17  Mark Wielaard  <mark@klomp.org>
10986
10987         * java/net/HttpURLConnection.java ((getPermission): Take port
10988         into consideration.
10989         (getErrorStream): Implement.
10990
10991 2002-11-17  Mark Wielaard  <mark@klomp.org>
10992
10993         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
10994
10995 2002-11-16  Mark Wielaard  <mark@klomp.org>
10996
10997         Integrate work by Raif S. Naffah (raif@fl.net.au)
10998         * java/security/DummyKeyPairGenerator.java (clone): New method.
10999         * java/security/DummyMessageDigest.java (clone): New method.
11000         (engineUpdate): Now public.
11001         (engineReset): Likewise.
11002         (engineDigest): Likewise.
11003         (engineGetDigestLength): New method.
11004         * java/security/DummySignature.java (clone): New method.
11005         * java/security/KeyPairGenerator.java (provider): Now package private.
11006         (getInstance(String)): Use getInstance(String,Provider).
11007         (getInstance(String,String): Use getInstance(String,Provider)
11008         (getInstance(String,Provider): New method.
11009         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
11010         * java/security/KeyPairGeneratorSpi.java (clone): New method.
11011         * java/security/MessageDigest.java (provider): Now package private.
11012         (getInstance(String): Use getInstance(String,Provider).
11013         (getInstance(String,String): Use getInstance(String,Provider)
11014         (getInstance(String,Provider): New method.
11015         * java/security/Provider.java (toCanonicalKey): New method.
11016         (get): New method that uses toCanonicalKey().
11017         (put): Use toCanonicalKey().
11018         (remove): Likewise.
11019         * java/security/Security.java (insertProviderAt): Provider index is one
11020         based, not zero based.
11021         (addProvider): Likewise.
11022         (removeProvider): Likewise.
11023         * java/security/Signature.java (provider): Now package private.
11024         (getInstance(String)): Use getInstance(String,Provider).
11025         (getInstance(String,String): Use getInstance(String,Provider)
11026         (getInstance(String,Provider): New method.
11027         (getInstance(String,String,Provider): Don't cast DummySignature.
11028
11029 2002-11-15  Tom Tromey  <tromey@redhat.com>
11030
11031         For PR libgcj/8593:
11032         * java/util/zip/GZIPInputStream.java (read): Check file size.
11033         Look in inflater for remaining input bytes.
11034         (read4): Added buf and offset arguments.
11035
11036 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
11037
11038         * java/applet/AppletContext.java: Fix typo and remove redundant
11039         modifiers.
11040
11041 2002-11-14  Tom Tromey  <tromey@redhat.com>
11042
11043         * java/lang/natRuntime.cc (insertSystemProperties): Set
11044         gnu.classpath.home.
11045
11046 2002-11-13  Michael Koch <konqueror@gmx.de>
11047
11048         * java/nio/ByteBuffer.java
11049         (allocate): New method.
11050         (wrap): New method.
11051         (put): New method.
11052         (get): New method.
11053
11054 2002-11-13  Michael Koch <konqueror@gmx.de>
11055
11056         * java/nio/channels/AlreadyConnectedException.java:
11057         Removed unneeded import.
11058         (AlreadyConnectedException): Documentation added.
11059         * java/nio/channels/Pipe.java
11060         (SinkChannel.SinkChannel): Documentation added.
11061         (SinkChannel.validOps): New method.
11062         (SourceChannel.SourceChannel): Documentation added.
11063         (SourceChannel.validOps): New method.
11064         (Pipe): Documentation added.
11065         (open): Documentation added.
11066         (SinkChannel.channel): Documentation added.
11067         (SourceChannel.channel): Documentation added.
11068         * java/nio/channel/SelectableChannel.java
11069         (SelectableChannel): Documentation added.
11070         (blockingLock): Documentation added.
11071         (configureBlocking):Documentation added.
11072         (isBlocking):Documentation added.
11073         (isRegistered):Documentation added.
11074         (keyFor):Documentation added.
11075         (provider):Documentation added.
11076         (register): Documentation added.
11077         (validOps): Documentation added.
11078         * jaba/nio/channels/SelectionKey.java
11079         (SelectionKey): Documentation added.
11080         (attach): Documentation added.
11081         (attachment): Documentation added.
11082         (isAcceptable): Documentation added.
11083         (isConnetable): Documentation added.
11084         (isReadable): Documentation added.
11085         (isWritable): Documentation added.
11086         (cancel): Documentation added.
11087         (channel): Documentation added.
11088         (interestOps): Documentation added.
11089         (isValid): Documentation added.
11090         (readyOps): Documentation added.
11091         (selector): Documentation added.
11092         * jaba/nio/channels/Selector.java
11093         (Selector): Documentation added.
11094         (open): Documentation added.
11095         (close): Documentation added.
11096         (isOpen): Documentation added.
11097         (keys): Documentation added.
11098         (provider): Documentation added.
11099         (select): Documentation added.
11100         (selectedKeys): Documentation added.
11101         (selectNow): Documentation added.
11102         (wakeup): Documentation added.
11103         * java/nio/channels/spi/AbstractInterruptibleChannel.java
11104         (AbstractInterruptibleChannel): Documentation added.
11105         (opened): Default to true;
11106         (begin): Documentation added.
11107         (close): Set opened to false, documentation added.
11108         (isOpen): Documentation added.
11109         * java/nio/channels/spi/AbstractSelectionKey.java
11110         (AbstractSelectionKey): Documentation added.
11111         (cancel): Documentation added.
11112         (isValid): Documentation added.
11113         * java/nio/channels/spi/AbstractSelector.java
11114         (AbstractSelector): Documentation added.
11115         (begin): Documentation added.
11116         (close): Documentation added.
11117         (isOpen): Documentation added.
11118         (deregister): Documentation added.
11119         (end): Documentation added.
11120         (provider): Documentation added.
11121         (implCloseSelector): Documentation added.
11122         (register): Documentation added.
11123         * java/nio/channels/spi/SelectorProvider.java
11124         (SelectorProvider): Documentation added.
11125         (openDatagramChannel): Documentation added.
11126         (openPipe): Documentation added.
11127         (openSelector): Documentation added.
11128         (openServerSocketChannel): Documentation added.
11129         (openSocketChannel): Documentation added.
11130         (provider): Documentation added.
11131
11132 2002-11-12  Michael Koch <konqueror@gmx.de>
11133
11134         * java/nio/Buffer.java: Implemented.
11135         * java/nio/CharBuffer.java: New file.
11136         * java/nio/InvalidMarkException.java: New file.
11137         * java/nio/channels/DatagramChannel.java: Implemented.
11138         * java/nio/channels/ServerSocketChannel.java: Implemented.
11139         * java/nio/channels/SocketChannel.java: Implemented.
11140         * java/nio/channels/spi/AbstractChannel.java: Removed.
11141         * java/nio/channels/spi/AbstractSelectableChannel.java:
11142         Implemented.
11143         * java/nio/charset/Charset.java:
11144         Merge from Classpath.
11145         * java/nio/charset/CharsetDecoder.java: New file.
11146         * java/nio/charset/CharsetEncoder.java: New file.
11147         * java/nio/charset/CoderResult.java: New file.
11148         * Makefile.am (ordinary_java_source_files): Added new files.
11149         * Makefile.in: Regenerated.
11150
11151 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11152
11153         * gnu/java/nio/charset/ISO_8859_1.java,
11154         gnu/java/nio/charset/Provider.java,
11155         gnu/java/nio/charset/US_ASCII.java,
11156         gnu/java/nio/charset/UTF_16.java,
11157         gnu/java/nio/charset/UTF_16BE.java,
11158         gnu/java/nio/charset/UTF_16Decoder.java,
11159         gnu/java/nio/charset/UTF_16Encoder.java,
11160         gnu/java/nio/charset/UTF_16LE.java,
11161         gnu/java/nio/charset/UTF_8.java: New files.
11162
11163 2002-11-11  Michael Koch <konqueror@gmx.de>
11164
11165         * java/nio/charset/CharacterCodingException.java:
11166         This class must be public.
11167         * java/nio/charset/CoderMalfunctionError.java:
11168         This class must be public.
11169         * java/nio/charset/CodingErrorAction.java:
11170         This class must be public.
11171         * java/nio/charset/IllegalCharsetNameException.java:
11172         This class must be public, better implementation.
11173         * java/nio/charset/MalformedInputException.java:
11174         This class must be public, better implementation.
11175         * java/nio/charset/UnmappableCharacterException.java:
11176         This class must be public, better implementation.
11177         * java/nio/charset/UnsupportedCharsetException.java:
11178         This class must be public, better implementation.
11179
11180 2002-11-11  Michael Koch <konqueror@gmx.de>
11181
11182         * java/nio/BufferOverflowException.java,
11183         java/nio/BufferUnderflowException.java: New file.
11184         * Makefile.am (ordinary_java_source_files):
11185         Added new files.
11186         * Makefile.in: Regenerated.
11187
11188 2002-11-10  Tom Tromey  <tromey@redhat.com>
11189
11190         * java/awt/Container.java (validate): Use tree lock.
11191         (getComponent): Likewise.
11192         (getComponents): Likewise.
11193         (addImpl): Likewise.
11194         (remove): Likewise.
11195         (removeAll): Likewise.
11196         (processEvent): Fixed indentation.
11197         (getComponentAt): Use tree lock.
11198         (findComponentAt): Likewise.
11199         (removeNotify): Likewise.
11200         (isAncestorOf): Likewise.
11201         (list): Likewise.
11202         (visitChildren): Likewise.
11203         (findNextFocusComponent): Likewise.
11204         (addNotifyContainerChildren): Likewise.
11205         (getAccessibleChildrenCount): Likewise.
11206         (getAccessibleChild): Likewise.
11207
11208         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
11209         (getSize): Likewise.
11210         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
11211         (getSize): Likewise.
11212         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
11213         (calcSize): Likewise.
11214         * java/awt/CardLayout.java (getSize): Use tree lock.
11215         (gotoComponent): Likewise.
11216         (layoutContainer): Likewise.
11217
11218         * java/io/natFileDescriptorWin32.cc (read): Handle case where
11219         count is 0.
11220         * java/io/natFileDescriptorPosix.cc (read): Handle case where
11221         count is 0.
11222
11223         * java/io/Externalizable.java, java/io/FilePermission.java,
11224         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
11225         java/io/SerializablePermission.java, java/text/Format.java,
11226         java/util/AbstractMap.java, java/util/HashMap.java,
11227         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
11228         versions from Classpath.
11229
11230 2002-11-10  Anthony Green  <green@redhat.com>
11231
11232         * java/util/jar/Attributes.java (Name): Fix name check.
11233
11234 2002-11-10  Mark Wielaard  <mark@klomp.org>
11235
11236         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
11237         with getName() as message.
11238         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
11239         type as message.
11240
11241         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
11242         unused.
11243
11244 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
11245
11246         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
11247         for Win32. JNICALL has been defined to __stdcall to be compatible
11248         with Sun's JDKs.
11249
11250 2002-11-10  Tom Tromey  <tromey@redhat.com>
11251
11252         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
11253         (setRows): Check newRows, not rows.
11254
11255         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
11256
11257 2002-11-09  Tom Tromey  <tromey@redhat.com>
11258
11259         * java/applet/Applet.java, java/applet/AppletContext.java,
11260         java/applet/AppletStub.java, java/applet/AudioClip.java,
11261         java/awt/CardLayout.java,
11262         java/awt/ContainerOrderFocusTraversalPolicy.java,
11263         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
11264         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
11265         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
11266         java/awt/color/ICC_ColorSpace.java,
11267         java/awt/color/ICC_Profile.java,
11268         java/awt/color/ICC_ProfileGray.java,
11269         java/awt/color/ICC_ProfileRGB.java,
11270         java/awt/datatransfer/DataFlavor.java,
11271         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
11272         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
11273         New versions from Classpath.
11274         * Makefile.in: Rebuilt.
11275         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
11276         ICC_ProfileRGB.
11277
11278         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
11279         display policy.
11280
11281         * java/awt/List.java (processEvent): Added missing `else's.
11282
11283         * java/awt/Window.java (show): validate() before showing.  Make
11284         parent displayable.
11285         (isDisplayable): New method.
11286
11287 2002-11-07  Mark Wielaard  <mark@klomp.org>
11288
11289         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
11290         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
11291
11292         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
11293         annotation.
11294         (loadClass): Take String as codebases.
11295         (getClassAnnotation): Use MyClassLoader annotations.
11296         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
11297         call exportObject(this).
11298
11299         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
11300         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
11301         (setAnnotation): Don't set locBytesStream and locStream.
11302         (replaceObject): Removed.
11303         (flush): Don't test locStream.
11304         (getLocBytes): LikeWise.
11305         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
11306         (leaseCache): New field.
11307         (dirty): Use leaseCache.
11308         (LeaseRecord): New inner class.
11309         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
11310         explicitly call exportObject().
11311         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
11312         false to communicate with Sun JDK130.
11313         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
11314         * gnu/java/rmi/server/RMIObjectInputStream.java
11315         (UnicastConnectionManager): Removed field.
11316         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
11317         Use UnicastServer.getExportedRef().
11318         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
11319         (expireTime): Likewise.
11320         (CONNECTION_TIMEOUT): Likewise.
11321         (disconnect): Call sock.close().
11322         (isExpired): New method.
11323         (resetTime): Likewise.
11324         (run): Use do while loop and catch Exception for discardConnection().
11325         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
11326         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
11327         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
11328         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
11329         (exportObject): Use refcache.
11330         (unexportObject): Likewise.
11331         (getExportedRef): New method.
11332         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
11333         constructor.
11334         (exportObject): Save manager.serverobj.
11335         (getStub): New method.
11336
11337 2002-11-07  Mark Wielaard  <mark@klomp.org>
11338
11339         * java/lang/reflect/natField.cc (getBoolean): Use getType().
11340         (getByte): Likewise.
11341         (getShort): Likewise.
11342         (getInt): Likewise.
11343         (getLong): Likewise.
11344         (getFloat): Likewise.
11345         (getDouble): Likewise.
11346         (get): Likewise.
11347         (setChar): Likewise.
11348         (setByte): Likewise.
11349         (setShort): Likewise.
11350         (setInt): Likewise.
11351         (setLong): Likewise.
11352         (setFloat): Likewise.
11353         (setDouble): Likewise.
11354
11355 2002-11-07  Michael Koch <konqueror@gmx.de>
11356
11357         * java/awt/Choice.java,
11358         java/awt/Container.java,
11359         java/awt/GridBagLayout.java:
11360         Fixed documentation.
11361         * java/awt/peer/ContainerPeer.java:
11362         Reindented.
11363
11364 2002-11-07  Michael Koch <konqueror@gmx.de>
11365
11366         * java/awt/color/ICC_Profile.java:
11367         Added missing constants.
11368         * java/awt/color/ICC_ColorSpace.java
11369         (getMinValue): Added dummy implementation.
11370         (getMaxValue): Added dummy implementation.
11371         * java/awt/datatransfer/DataFlavor.java
11372         (imageFlavor): Added.
11373         (isMimeTypeEqual): Must be final.
11374         (getDefaultRepresentationClass): Must be non-static.
11375         (getDefaultRepresentationClassAsString): Must be non-static.
11376         * java/awt/dnd/DragSourceContext.java
11377         (dragExit): Corrected argument.
11378         (dragDropEnd): Corrected argument.
11379         * java/awt/dnd/DragSourceListener.java.java
11380         (dragExit): Corrected argument.
11381         (dragDropEnd): Corrected argument.
11382         * java/awt/font/TextHitInfo.java
11383         (toString): Added stubbed implementation.
11384         * java/awt/geom/PathIterator.java:
11385         The constants must be static.
11386         * java/awt/image/VolatileImage.java
11387         (IMAGE_INCOMPATIBLE): Fixed typo.
11388         * java/awt/image/renderable/RenderableImage.java
11389         (HINTS_OBSERVED): Must be static.
11390         * java/beans/BeanInfo.java:
11391         Constants must be final.
11392
11393 2002-11-06  Tom Tromey  <tromey@redhat.com>
11394
11395         From svens@it.uu.se.  For PR libgcj/8481.
11396         * java/util/Random.java (nextInt(int)): Only use 31 bits.
11397
11398 2002-11-06  Tom Tromey  <tromey@redhat.com>
11399
11400         * jni.cc (array_from_valist): Assume that jlong won't be
11401         promoted.
11402
11403 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
11404
11405         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
11406         Return 20.
11407         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
11408         Return 16.
11409
11410 2002-11-03  Tom Tromey  <tromey@redhat.com>
11411
11412         * java/lang/ClassLoader.java (loadClass): Call loadClass on
11413         VMClassLoader, not findClass.
11414
11415 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
11416
11417         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
11418         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
11419         _Jv_DetermineVTableIndex, to determine vtable offset.
11420         (_Jv_DetermineVTableIndex): Remove.
11421         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
11422
11423         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
11424
11425 2002-11-03  Tom Tromey  <tromey@redhat.com>
11426
11427         * java/nio/channels/AlreadyConnectedException.java: Extend
11428         IllegalStateException, per spec.
11429
11430 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
11431
11432         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
11433
11434 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11435
11436         * java/util/ArrayList.java (readObject, writeObject): Only read/write
11437         size items.
11438
11439 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11440
11441         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
11442         initial estimated size to avoid enlarge buffer frequently.
11443
11444 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11445
11446         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
11447         ClassLoader when null.
11448         (ProxyType.hashCode): Loader null check no longer needed.
11449         (ProxyType.sameTypes): New method.
11450         (ProxyType.equals): Use new method.
11451
11452 2002-10-31  Mark Wielaard  <mark@klomp.org>
11453
11454         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
11455         length of String.
11456         * java/net/URLEncoder.java (encode): Likewise.
11457
11458 2002-10-31  Mark Wielaard  <mark@klomp.org>
11459
11460         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
11461         when stream is closed.
11462         (closeEntry): Likewise.
11463         (read): Likewise.
11464         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
11465         ZipException when no entry active.
11466         (closeEntry): Likewise.
11467         (write): Likewise.
11468
11469 2002-11-02  Tom Tromey  <tromey@redhat.com>
11470
11471         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
11472         * java/lang/natClass.cc (initializeClass): Don't return just
11473         because self==thread.
11474
11475         For PR java/8415:
11476         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
11477         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
11478
11479 2002-11-02  Andreas Schwab  <schwab@suse.de>
11480
11481         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
11482         pass GCJFLAGS.
11483         (FLAGS_TO_PASS): Define.
11484         * Makefile.in: Regenerated.
11485
11486 2002-11-01  Michael Koch  <konqueror@gmx.de>
11487
11488         * java/nio/ByteOrder.java: New file.
11489         * java/nio/channels/DatagramChannel.java:
11490         (DatagramChannel): New constructor.
11491         * java/nio/channels/Pipe.java: New file.
11492         * java/nio/channels/SelectableChannel.java: New file.
11493         * java/nio/channels/SelectionKey.java: New file.
11494         * java/nio/channels/Selector.java: New file.
11495         * java/nio/channels/ServerSocketChannel.java
11496         (ServerSocketChannel): New constructor.
11497         * java/nio/channels/SocketChannel.java
11498         (SocketChannel): New constructor.
11499         * java/nio/channels/Pipe.java: New file.
11500         * java/nio/channels/spi/AbstractChannel.java: New file.
11501         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
11502         * java/nio/channels/spi/AbstractSelectableChannel.java:
11503         License added
11504         (AbstractSelectableChannel): New stubbed method.
11505         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
11506         * java/nio/channels/spi/AbstractSelector.java: New file.
11507         * java/nio/channels/spi/SelectorProvider.java: New file.
11508         * java/nio/charset/Charset.java: New file.
11509         * java/nio/charset/CoderMalfunctionError.java: New file.
11510         * java/nio/charset/CodingErrorAction.java: New file.
11511         * java/nio/charset/spi/CharsetProvider.java
11512         (charsetForName): Uncommented.
11513         * Makefile.am (java_native_source_files): Added new files.
11514         * Makefile.in: Regenerated.
11515
11516 2002-11-01  Michael Koch  <konqueror@gmx.de>
11517
11518         * java/net/InetAddress.java:
11519         (isAnyLocalAddress): Implemented.
11520         (isLoopbackAddress): Implemented, comment added.
11521         (isLinkLocalAddress): Implemented, documentation added.
11522         (isSiteLocalAddress): Implemented, documentation added.
11523         (isMCGlobal): Implemented, documentation added.
11524         (isMCNodeLocal): Implemented, documentation added.
11525         (isMCLinkLocal): Implemented, documentation added.
11526         (isMCSiteLocal): Implemented, documentation added.
11527         (isMCOrgLocal): Implemented, documentation added.
11528         (getHostName): Documentation added.
11529         (getCanonicalHostName): Implemented, documentation added.
11530         (getAddress): Documentation added.
11531         (hashCode): Documentation added.
11532         (equals): Documentation added.
11533         (toString): Fixed implementation.
11534         (getByAddress): Use Inet4Address and Inet6Address.
11535         (lookup): New linewrap.
11536         (getByName): SecurityManager check added, support Inet4Address and
11537         Inet6address, comments added.
11538         (getAllByName): SecurityManager check added, comments added.
11539         * java/net/Inet6Address.java:
11540         (Inet6Address): Initialize parent class with addr instead of null.
11541         * java/net/URL.java
11542         (equals): Documentation added.
11543         (getFile): Documentation added.
11544         (hashCode): Documentation added.
11545         * java/net/natInetAddress.cc:
11546         (aton): Fix IPv6 support.
11547         * java/net/natPlainDatagramSocketImpl.cc:
11548         (peek): Throw PortUnreachableException when suitable.
11549         (peekData): Throw PortUnreachableException when suitable.
11550         (send): Throw PortUnreachableException when suitable.
11551         (receive): Throw PortUnreachableException when suitable.
11552
11553 2002-10-27  Mark Wielaard  <mark@klomp.org>
11554
11555         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
11556         argument.
11557         (readLeShort): Likewise and use byte[].
11558         (readLeInt): Likewise.
11559         (readEntries): Use new versions of methods and use byte[] for reading
11560         a complete zip entry. Add ZipFile name to exceptions.
11561         (entries): Add ZipFile name to exceptions.
11562         (getEntry): Likewise.
11563         (checkLocalHeader): Use new versions of methods and add ZipFile name
11564         to exceptions.
11565
11566 2002-10-31  Mark Anderson  <mark@panonet.net>
11567
11568         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
11569         added
11570
11571 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
11572
11573         * configure.in: Disable hash sync when not using threads.
11574         * configure: Regenerated.
11575
11576 2002-10-24  Tom Tromey  <tromey@redhat.com>
11577
11578         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
11579         (_Jv_FindSymbolInExecutable): Removed argument name.
11580         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
11581         java.library.path is set.
11582
11583         * gij.cc (help): Document --showversion.
11584         (version): Don't exit.
11585         (main): Handle --showversion.  Exit if --version given.
11586
11587 2002-10-23  Tom Tromey  <tromey@redhat.com>
11588
11589         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
11590         (array_from_valist): Correctly handle promotion for jint, jlong,
11591         jfloat, and jdouble.
11592
11593 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
11594
11595         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
11596         GetFileAttributesEx( ) to find file length and modification times,
11597         as the latter is not present on Windows 95.
11598
11599 2002-10-21  Michael Koch  <konqueror@gmx.de>
11600
11601         * java/net/URL.java
11602         (URL): Activate SecurityManager checks.
11603         (equals): Use URLStreamHandler implementation instead of doing it
11604         alone. This allows special protocol stream handlers to change default
11605         behaviour.
11606         (hashCode): Use URLStreamHandler implementation instead of doing it
11607         alone. This allows special protocol stream handlers to change default
11608         behaviour.
11609         * java/net/URLStreamHandler.java
11610         (equals): Implemented default URL equality check.
11611         (hostsEqual): Implemented default URL equality check.
11612         (hashCode): Implemented default URL hashCode algorithm.
11613         * java/net/natPlainDatagramSocketImpl.cc:
11614         No lines longer then 80 characters.
11615
11616 2002-10-20  Adam Megacz <adam@xwt.org>
11617
11618         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
11619         * configure.in: enabled hash sync on Win32
11620         * include/win32-threads.h (_Jv_ThreadId_t): added.
11621         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
11622         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
11623         removed some posix-isms, use Thread::sleep() instead of usleep,
11624         added code to clear bottom three bits if platform has a broken
11625         linker.
11626         * include/win32-threads.h (_Jv_ThreadId_t): added.
11627
11628 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
11629
11630         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
11631         runtime property "gnu.gcj.progname" containing the name used to
11632         invoke the current Java program (similar to argv[0] for C
11633         programs).
11634
11635 2002-10-15  Tom Tromey  <tromey@redhat.com>
11636
11637         Fix for PR libgcj/8234:
11638         * java/util/zip/natInflater.cc (reset): Reset avail_in.
11639         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
11640
11641 2002-10-13  Mark Wielaard  <mark@klomp.org>
11642
11643         * mauve-libgcj: Enable Mauve tests that compile now.
11644
11645 2002-10-11  Mark Wielaard  <mark@klomp.org>
11646
11647         Fix for PR libgcj/8142
11648         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
11649         loading native modules.
11650
11651 2002-10-10  Michael Koch  <konqueror@gmx.de>
11652
11653         * javax/swing/AbstractListModel.java
11654         (getListDataListeners): New stubbed method.
11655         javax/swing/DefaultBoundedRangeModel.java
11656         (getChangeListeners): New stubbed method.
11657         javax/swing/DefaultSingleSelectionModel.java
11658         (getChangeListeners): New stubbed method.
11659
11660 2002-10-10  Michael Koch  <konqueror@gmx.de>
11661
11662         * gcj/.cvsignore: New file to ignore files generated during build.
11663         * include/.cvsignore: New file to ignore files generated during build.
11664
11665 2002-10-10  Michael Koch  <konqueror@gmx.de>
11666
11667         * java/net/HttpURLConnection.java
11668         (getPermission): New method.
11669         (getErrorStream): New stub method.
11670         (getHeaderFieldDate): New stub method.
11671         * java/net/Inet4Address.java:
11672         (isLinkLocalAddress): Typo fixed.
11673         * java/net/InetAddress.java:
11674         (readResolve): New stubbed method (for serialization).
11675         (isAnyLocalAddress): New stubbed method.
11676         (isLoopbackAddress): New stubbed method.
11677         (isLinkLocalAddress): New stubbed method.
11678         (isSiteLocalAddress): New stubbed method.
11679         (isMCGlobal): New stubbed method.
11680         (isMCNodeGlobal): New stubbed method.
11681         (isMCLinkLocal): New stubbed method.
11682         (isMCSiteLocal): New stubbed method.
11683         (isMCOrgLocal): New stubbed method.
11684         (getCanonicalHostName): New stubbed method.
11685         (getByAddress): Create instances of Inet4Address/Inet6Address,
11686         instead of InetAddress, documentation added.
11687         * java/net/MulticastSocket.java
11688         (getInterface): Removed FIXME.
11689         (getNetworkInterface): New method.
11690         (setNetworkInterface): New method.
11691         * java/net/NetworkInterface.java:
11692         (toString): Use property "line.separator" instead of "\n".
11693         * java/net/URLConnection.java
11694         (getContent): New stubbed method.
11695         * java/net/URLStreamHandler.java:
11696         (equals): New stubbed method.
11697         (hostsEqual): New stubbed method.
11698         (hashCode): New stubbed method.
11699         * java/net/natNetworkInterface.cc:
11700         (getRealNetworkInterfaces): Create Inet4Address object
11701         instead of InetAddress.
11702
11703 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
11704
11705         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
11706         unsigned long temporary to implement insn_iushr shifts.
11707
11708 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
11709
11710         * configure.host [s390*-*]: Enable Java interpreter.
11711         Enable hash synchronization.  Add sysdeps dir.
11712         * sysdep/s390/locks.h: New file.
11713
11714 2002-10-06  Mark Wielaard  <mark@klomp.org>
11715
11716         * java/lang/Thread.java (setDaemon): Check startable_flag,
11717         not isAlive().
11718
11719 2002-10-07  Michael Koch  <konqueror@gmx.de>
11720
11721         * java/nio/Buffer.java: New stub file.
11722         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
11723         of class Charset.
11724         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
11725         * Makefile.in: Regenerated.
11726
11727 2002-10-07  Michael Koch  <konqueror@gmx.de>
11728
11729         * java/nio/ByteBuffer.java:
11730         removed import of not commited class.
11731
11732 2002-10-07  Michael Koch  <konqueror@gmx.de>
11733
11734         * java/nio/ByteBuffer.java,
11735         java/nio/MappedByteBuffer.java:
11736         New files, forgot to add these dummies.
11737         * Makefile.am (java_native_source_files): Added new files.
11738         * Makefile.in: Regenerated.
11739
11740 2002-10-07  Michael Koch  <konqueror@gmx.de>
11741
11742         * java/nio/channels/AlreadyConnectedException.java,
11743         java/nio/channels/ClosedChannelException.java,
11744         java/nio/channels/ReadableByteChannel.java,
11745         java/nio/channels/InterruptibleChannel.java,
11746         java/nio/channels/Channel.java,
11747         java/nio/channels/ByteChannel.java,
11748         java/nio/channels/GatheringByteChannel.java,
11749         java/nio/channels/ScatteringByteChannel.java,
11750         java/nio/channels/WritableByteChannel.java,
11751         java/nio/charset/CharacterCodingException.java,
11752         java/nio/charset/IllegalCharsetNameException.java,
11753         java/nio/charset/MalformedInputException.java,
11754         java/nio/charset/UnmappableCharacterException.java,
11755         java/nio/charset/UnsupportedCharsetException.java,
11756         java/nio/charset/spi/CharsetProvider.java: New file.
11757         These files are exceptions or interfaces,
11758         no real or abstract classes.
11759         * Makefile.am (java_native_source_files): Added new files.
11760         * Makefile.in: Regenerated.
11761
11762 2002-10-05  Michael Koch  <konqueror@gmx.de>
11763
11764         * java/net/InetAddress.java
11765         (getByAddress): Fixed documentation.
11766         (getByAddress): New method.
11767         * java/net/Inet4Address.java: New file.
11768         * java/net/URL.java
11769         (URL): Documentation added.
11770         (getContent): Documentation added.
11771         (getContent): New stubbed method.
11772         (getQuery): New method.
11773         (openConnection): Documentation added.
11774         (openStream): Documentation added.
11775         (setURLStreamHandlerFactory): Documentation added.
11776         * java/net/URI.java: New stub file.
11777         * Makefile.am
11778         (java_native_source_files): Added java/net/Inet4Address.java,
11779         java/net/Inet6Address.java and java/net/URI.java.
11780         * Makefile.in: Regenerated.
11781
11782 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
11783
11784         * java/lang/ProtectionDomain.java (linesep): Remove field.
11785         (toString): Use System.getProperty("line.separator").
11786
11787 2002-10-04  Michael Koch  <konqueror@gmx.de>
11788
11789         * java/security/Identity.java: Added serialVersionUID.
11790         * java/security/KeyPair.java: Added serialVersionUID.
11791         * java/security/Provider.java: Added serialVersionUID.
11792         * java/security/SecureRandom.java: Added serialVersionUID.
11793         * java/security/SecureRandomSpi.java: Added serialVersionUID.
11794         * java/security/SignedObject.java: Added serialVersionUID.
11795         * java/security/cert/Certificate.java: Added serialVersionUID.
11796
11797 2002-10-04  Mark Wielaard <mark@klomp.org>
11798
11799         * java/security/Security.java: Use java.home or gnu.classpath.home
11800         to load providers.
11801         (loadProviders): Extra dir argument.
11802         (getProvider): Return null when not found.
11803
11804 2002-10-04  Mark Wielaard  <mark@klomp.org>
11805
11806         * java/lang/Throwable.java: Remerge with Classpath.
11807
11808 2002-10-04  Michael Koch  <konqueror@gmx.de>
11809
11810         * java/net/InetAddress.java:
11811         (isMulticastAddress): Added documentation.
11812         (getHostAddress): Added documentation.
11813         (toString): Added documentation.
11814         (getByAddress): Fixed documentation.
11815         (getByName): Added documentation.
11816         (getAllByName): Added documentation.
11817         (getLocalHost): Added documentation.
11818
11819 2002-10-04  Michael Koch  <konqueror@gmx.de>
11820
11821         * java/beans/beancontext/BeanContextChildSupport.java:
11822         Added serialVersionUID.
11823         * java/text/Collator.java: (compare): Made documentation HTML-aware.
11824         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
11825         * javax/naming/Name.java: Added serialVersionUID.
11826
11827 2002-10-03  Adam Megacz <adam@xwt.org>
11828
11829         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
11830         some functionality that isn't supported yet on WIN32.
11831
11832 2002-10-03  Tom Tromey  <tromey@redhat.com>
11833
11834         * Makefile.in: Rebuilt.
11835         * Makefile.am (awt_java_source_files): Added new files.
11836
11837 2002-10-03  Michael Koch  <konqueror@gmx.de>
11838
11839         * java/net/InetAddress.java
11840         (class InetAddress): Removed final keyword.
11841         (equals): Fixed typo.
11842         (getByAddress): New method.
11843
11844 2002-10-03  Michael Koch  <konqueror@gmx.de>
11845
11846         * java/awt/dnd/Autoscroll.java:
11847         New file, merge from Classpath.
11848         * java/awt/dnd/DragSourceAdapter.java:
11849         (dragExit): Fixed typos in argument type.
11850         (dragDropEnd): Fixed typos in argument type.
11851         * java/awt/dnd/DragSourceDropEvent.java:
11852         New file, merge from Classpath.
11853         * java/awt/dnd/DropTarget.java:
11854         Added stubs, merge from Classpath.
11855         * java/awt/dnd/DropTargetAdapter.java:
11856         New file, merge from Classpath.
11857         * java/awt/dnd/DropTargetContext.java:
11858         New file, merge from Classpath.
11859         * java/awt/dnd/DropTargetDragEvent.java:
11860         New file, merge from Classpath.
11861         * java/awt/dnd/DropTargetDropEvent.java:
11862         New file, merge from Classpath.
11863         * java/awt/dnd/DropTargetEvent.java:
11864         New file, merge from Classpath.
11865         * java/awt/dnd/DropTargetListener.java:
11866         New file, merge from Classpath.
11867         * java/awt/dnd/MouseDragGestureRecognizer.java:
11868         New file, merge from Classpath.
11869         * java/awt/dnd/peer/DropTargetContextPeer.java:
11870         New file, merge from Classpath.
11871
11872 2002-10-03  Michael Koch  <konqueror@gmx.de>
11873
11874         * java/net/DatagramPacket.java
11875         (setLength): Fixed typo and be HTML-aware.
11876         * java/net/InetSocketAddress.java
11877         (InetSocketAddress): Correct initialization of hostname, fixed typo.
11878         (equals): Added comment about equality of InetSocketAddress objects.
11879         * java/net/ServerSocket.java
11880         (accept): Added checks.
11881         (isClosed): New stubbed method.
11882         * java/net/SocketOptions.java: Reindention.
11883         * java/net/SocketPermission
11884         (SocketPermission): Documentation fixed.
11885
11886 2002-10-03  Michael Koch  <konqueror@gmx.de>
11887
11888         * java/net/DatagramSocket.java
11889         (receive): Check with SecurityManager AFTER the packet is received,
11890         check if connected to multicast address, documentation added.
11891         (send): Only check SecurityManager if connected, check address of
11892         packet to send.
11893         (connect): Implemented, documentation added.
11894         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
11895         * java/net/InetSocketAddress.java
11896         (whole file): Reindented.
11897         (hostname): New attribute.
11898         (InetSocketAddress): Initialize new attribute.
11899         (getAddress): Documentation added.
11900         (getHostName): Documentation added.
11901         (getPort): Documentation added.
11902         (hashCode): Documentation added.
11903         (isUnresolved): Documentation added.
11904         (toString): Conform to output of JDK 1.4.1, documentation added.
11905         * java/net/MulticastSocket.java
11906         (joinGroup): Removed FIXME, documentation added.
11907         (leaveGroup): Removed FIXME, documentation added.
11908         (send): Documentation added.
11909         * java/net/Socket.java
11910         (inputShutdown): New variable.
11911         (outputShutdown): New variable.
11912         (Socket): Initialize new variables.
11913         (getRemoteSocketAddress): Check if connected.
11914         (shutdownInput): Set new variable.
11915         (shutdownOutput): Set new variable.
11916         (isConnected): New method.
11917         (isClosed): New method.
11918         (isInputShutdown): New method.
11919         (isOutputShutdown): New method.
11920         * java/net/URLStreamHandler.java
11921         (URLStreamHandler): New method.
11922         (openConnection): Added documentation.
11923         (parseURL): Added documentation.
11924         (getHostAddress): New method.
11925         (getDefaultPort): New method.
11926
11927 2002-10-02  Tom Tromey  <tromey@redhat.com>
11928
11929         * java/rmi/activation/ActivationDesc.java,
11930         java/rmi/activation/ActivationGroupDesc.java,
11931         java/rmi/activation/ActivationGroupID.java,
11932         java/rmi/activation/ActivationID.java: New versions from
11933         Classpath.
11934
11935 2002-09-30  Bo Thorsen  <bo@suse.de>
11936
11937         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
11938
11939 2002-09-30  Tom Tromey  <tromey@redhat.com>
11940
11941         * java/io/ObjectInputStream.java (resolveProxyClass): New method
11942         from Classpath.
11943         * Makefile.in: Rebuilt.
11944         * Makefile.am (rmi_java_source_files): Added new files.
11945         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
11946         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
11947         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
11948         Classpath.
11949         * gnu/java/rmi/dgc/DGCImpl.java,
11950         gnu/java/rmi/dgc/DGCImpl_Skel.java,
11951         gnu/java/rmi/dgc/DGCImpl_Stub.java,
11952         gnu/java/rmi/registry/RegistryImpl_Skel.java,
11953         gnu/java/rmi/registry/RegistryImpl_Stub.java,
11954         gnu/java/rmi/server/RMIHashes.java,
11955         gnu/java/rmi/server/RMIObjectInputStream.java,
11956         gnu/java/rmi/server/RMIObjectOutputStream.java,
11957         gnu/java/rmi/server/UnicastConnection.java,
11958         gnu/java/rmi/server/UnicastConnectionManager.java,
11959         gnu/java/rmi/server/UnicastRef.java,
11960         gnu/java/rmi/server/UnicastServer.java,
11961         gnu/java/rmi/server/UnicastServerRef.java,
11962         java/rmi/MarshalledObject.java,
11963         java/rmi/server/RMIClassLoader.java,
11964         java/rmi/server/RemoteObject.java,
11965         java/rmi/server/UnicastRemoteObject.java,
11966         java/security/SecureClassLoader.java: Merged from Classpath.
11967
11968 2002-09-29  Anthony Green  <green@redhat.com>
11969
11970         * java/lang/reflect/UndeclaredThrowableException.java: New file.
11971         Imported from GNU Classpath.
11972         * java/lang/reflect/natProxy.cc: New file.
11973         * java/lang/reflect/InvocationHandler.java: New file.  Imported
11974         from GNU Classpath.
11975         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
11976         Classpath.
11977         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
11978         Classpath.
11979         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
11980         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
11981         New statics.
11982         * gcj/javaprims.h ("Java"): Add new classes.
11983         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
11984         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
11985         java/lang/reflect/Proxy$$ProxyType.h): And this.
11986         (inner_nat_headers): Add these new headers.
11987         (ordinary_java_source_files): Add new files.
11988         (nat_source_files): Add new file.
11989         * Makefile.in: Rebuilt.
11990
11991 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
11992
11993         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
11994         a single configuration.
11995
11996 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11997
11998         * java/util/TimeZone.java (getDSTSavings): New method.
11999         Fixes PR libgcj/7786.
12000
12001 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12002
12003         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
12004         to see if `the_method == 0' before looking up vtable index.
12005         Fixes PR libgcj/7709.
12006
12007 2002-09-25  Tom Tromey  <tromey@redhat.com>
12008
12009         * java/lang/natClassLoader.cc:
12010         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
12011         * resolve.cc: Include NoClassDefFoundError.h, not
12012         ClassNotFoundException.h.
12013         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
12014
12015         * defineclass.cc: Don't include ClassNotFoundException.h.
12016
12017         * resolve.cc: Include StringBuffer.
12018         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
12019
12020         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
12021         allocated but not initialized.
12022
12023 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12024
12025         Fix for PR libgcj/7766:
12026         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
12027         (getNextEntry): Set it.
12028         (closeEntry): Likewise.
12029         (read): Likewise.
12030         (close): Likewise.
12031         (available): Use it.
12032
12033 2002-09-25  Michael Koch  <konqueror@gmx.de>
12034
12035         * java/net/DatagramSocket.java
12036         (DatagramSocket): Initialize new instance variables.
12037         (close): Reset new instance variables.
12038         (getLocalAddress): Remove unneeded SecurityManager usage.
12039         (getLocalPort): Check if socket is already bound.
12040         (isConnected): New method.
12041         (getInetAddress): Implemented.
12042         (getPort): Better Implementation, documentation fixed.
12043         (getRemoteSocketAddress): New method.
12044         * java/net/JarURLConnection.java
12045         (element): Typo fixed.
12046         (getMainAttributes): New method.
12047         (getAttributes): New method (stub only).
12048         (getManifest): New method (stub only).
12049         * java/net/NetPermission.java: Added serialVersionsUID.
12050         * java/net/Socket.java
12051         (connect): Check blocking mode of associated channel,
12052         documentation added.
12053         (getLocalSocketAddress): Better implementation.
12054         (getRemoteSocketAddress): Implemented.
12055         (isBound): New method.
12056         (setSendBufferSize): Documentation added.
12057         * java/net/SocketAddress.java: Added serialVersionsUID.
12058         * java/net/SocketPermission.java: Added serialVersionsUID.
12059         * java/net/URL.java
12060         (URL): Wrap for shorter lines, initialize new instance variables,
12061         documentation added.
12062         (equals): Check new instance variables too.
12063         (getContent): Documentation added.
12064         (getPath): Documentation added.
12065         (getAuthority): New method.
12066         (getHost): Documentation added.
12067         (getPort): Documentation added.
12068         (getDefaultPort): New method.
12069         (getProtocol): Documentation added.
12070         (getUserInfo): Documentation added.
12071         (set): Initialize new instance variables, documentation added.
12072         * java/net/URLStreamHandler.java
12073         (setURL): New method.
12074         * java/net/natPlainDatagramSocketImpl.cc
12075         (connect): Fix exception name.
12076         (disconnect): Fix exception name.
12077
12078 2002-09-25  Michael Koch  <konqueror@gmx.de>
12079
12080         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
12081         * java/nio/channels/DatagramChannel.java:
12082         extends AbstractSelectableChannel
12083         * java/nio/channels/ServerSocketChannel.java:
12084         extends AbstractSelectableChannel
12085         * java/nio/channels/SocketChannel.java:
12086         extends AbstractSelectableChannel
12087         * Makefile.am (ordinary_java_source_files):
12088         java/nio/channels/spi/AbstractSelectableChannel.java added.
12089         * Makefile.in: Regenerated.
12090
12091 2002-09-25  Michael Koch  <konqueror@gmx.de>
12092
12093         * java/net/DatagramSocket.java
12094         (DatagramSocket): Exception documentation added.
12095         (bind): Exception documentation added, addded SecurityManager check,
12096         added SocketAddress type check.
12097         (getSoTimeout): Check impl.
12098         (receive): Fix SecurityManager check, check impl, documentation added.
12099         (send): Check channel mode, documentation added.
12100         (connect): New method.
12101         (disconnect): Implemented.
12102         (getLocalSocketAddress): New method.
12103         (getReceiveBufferSize): Check impl.
12104         (setReuseAddress): Check impl.
12105         (getReuseAddress): Check impl.
12106         (setBroadcast): Check impl.
12107         (getBroadcast): Check impl.
12108         (setTrafficClass): Check impl, Documentation cleared.
12109         (getTrafficClass): Check impl.
12110         (getSendBufferSize): Check impl.
12111         (setReceiveBufferSize): Check impl, documentation added.
12112         (setSendBufferSize): Documentation added.
12113         (setDatagramSocketImplFactory): New method.
12114         * java/net/HttpURLConnection.java
12115         (HTTP_INTERNAL_ERROR): The correct code is 500.
12116         (HTTP_NOT_IMPLEMENTED): Added new constant.
12117         (setFollowRedirects): Documentation added.
12118         (getInstanceFollowRedirects): New method.
12119         (setInstanceFollowRedirects): New method.
12120         (setRequestMethod): Documentation added.
12121         (getResponseCode): Documentation added.
12122         (getResponseMessage): Documentation added.
12123         * java/net/JarURLConnection.java
12124         (JarURLConnection): protected since JDK 1.4.
12125         (getJarEntry): java.io.IOException to IOException, documentation added.
12126         (getJarFile): Documentation added.
12127         * java/net/ServerSocket.java
12128         (ServerSocket): Private to public, exception added.
12129         (ServerSocket): java.io.IOException to IOException, documentation added.
12130         (bind): Check socket address type, documentation added.
12131         (bind): java.io.IOException to IOException, documentation added.
12132         (accept): Documentation added.
12133         (implAccept): Check ch is not non-blocking, documentation added.
12134         (setSoTimeout): Documentation fixed.
12135         (setReceiveBufferSize): Documentation added.
12136         * java/net/Socket.java
12137         (Socket): Documentation added.
12138         (bind): Documentation added.
12139         (connect): Check socket address type, documentation added.
12140         (getRemoteSocketAddress): New method.
12141         (getLocalSocketAddress): New method.
12142         (setSoLinger): Documentation added.
12143         (getReuseAddress): New method.
12144         (setReuseAddress): New method.
12145         (getTrafficClass): New method.
12146         (setTrafficClass): New method.
12147         * java/net/URLStreamHandler.java
12148         (openConnection): java.io.IOException to IOException.
12149         (parseURL): Documentation added.
12150         (sameFile): public to protected, documentation added.
12151         (setURL): Documentation added.
12152         * java/nio/IllegalBlockingModeException.java: New file.
12153         * Makefile.am (ordinary_java_source_files):
12154         added java/nio/IllegalBlockingModeException.java
12155         * Makefile.in: Regenerated.
12156
12157 2002-09-25  Michael Koch  <konqueror@gmx.de>
12158
12159         * java/net/DatagramPacket
12160         (DatagramPacket): Exception documentation added.
12161         (setData): Likewise.
12162         (setSocketAddress): Likewise.
12163         * java/net/DatagramSocketImpl.java
12164         (peek): Documentation addded.
12165         (peekData): Documentation addded.
12166         (send): Documentation addded.
12167         (receive): Documentation addded.
12168         (connect): New method.
12169         (disconnect): New method.
12170         (joinGroup): New abstract method.
12171         (leaveGroup): New abstract method.
12172         * java/net/InetSocketAddress.java
12173         (InetSocketAddress): Documentation added.
12174         (equals): final keyword added.
12175         (getAddress): final keyword added.
12176         (getHostName): final keyword added.
12177         (getPort): final keyword added.
12178         (hashCode): final keyword added.
12179         (isUnresolved): final keyword added.
12180         * java/net/MulticastSocket.java
12181         (MulticastSocket): Documentation added.
12182         (MulticastSocket): New method.
12183         (joinGroup): Documentation added.
12184         (joinGroup): New method.
12185         (leaveGroup): Documentation added.
12186         (leaveGroup): New method.
12187         (send): Documentation added.
12188         * java/net/NetworkInterface.java
12189         (getByName): Documentation added.
12190         (getByInetAddress): Documentation added.
12191         (getNetworkInterfaces): Documentation added.
12192         * java/net/PlainDatagramSocketImpl.java
12193         (connect): New method.
12194         (disconnect): New method.
12195         * java/net/SocketImpl.java
12196         (create): Documentation added.
12197         (shutdownInput): Convert public to protected, as it always was.
12198         (shutdownOutput): Convert public to protected, as it always was.
12199         * java/net/SocketOptions.java
12200         (whole file): Reintented.
12201         * java/net/URLClassLoader.java
12202         (URLClassLoader): SecurityManager check added, documentation added.
12203         (findResources): Documentation added.
12204         (findClass): Documentation added.
12205         (newInstance): More correct method arguments.
12206         * java/net/URLConnection.java
12207         (connect): Documentation added.
12208         (getContent): Documentation added.
12209         (getPermission): Documentation added.
12210         (getInputStream): Documentation added.
12211         (getOutputStream): Documentation added.
12212         (setDoInput): Throw correct exception, documentation added.
12213         (setDoOutput): Throw correct exception, documentation added.
12214         (setAllowUserInteraction): Throw correct exception, documentation added.
12215         (setUseCaches): Throw correct exception, documentation added.
12216         (setIfModifiedSince): Throw correct exception, documentation added.
12217         (setRequestProperty): Throw exception, documentation added.
12218         (addRequestProperty): Throw exception, documentation added.
12219         (getRequestProperty): Throw exception, documentation added.
12220         (getRequestProperties): Documentation added.
12221         (setContentHandlerFactory): Documentation added.
12222         (guessContentTypeFromName): protected to public.
12223         (setFileNameMap): Documentation added.
12224         * java/net/URLDecoder.java
12225         (URLDecoder): New method.
12226         (decode): Documentation added.
12227         (whole file): Reindented.
12228         * java/net/URLEncoder.java
12229         (encode): Documentation added.
12230         * java/net/natPlainDatagramSocketImpl.cc
12231         (connect): New method.
12232         (disconnect): New method.
12233         * javax/naming/RefAddr:
12234         (addrType): addrType was never final.
12235         (equals): Fix typo in method name.
12236         * javax/naming/BinaryRefAddr:
12237         (equals): Fix typo in method name.
12238
12239 2002-09-22  Tom Tromey  <tromey@redhat.com>
12240
12241         Fix for PR libgcj/6576:
12242         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
12243         didn't find a given bundle.
12244         (getBundle): Don't require base bundle.
12245         (setParent): Removed old comment.
12246         (tryLocalBundle): Try components even if preceding components were
12247         empty.
12248
12249 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12250
12251         * Makefile.am (all-multi): Fix multilib parallel build.
12252
12253 2002-09-21  Michael Koch  <konqueror@gmx.de>
12254
12255         * java/net/Socket.java
12256         (sendUrgentData): New method.
12257         (getChannel): New method.
12258         * java/net/ServerSocket.java
12259         (getChannel): New method.
12260         (isBound): New method.
12261         * java/net/DatagramSocket.java
12262         (DatagramSocket): Two new methods.
12263         (bind): New method.
12264         (getChannel): New method.
12265         (isBound): New method.
12266         (send): Added newline to to make shorter lines.
12267         * java/net/PlainDatagramSocketImpl.java
12268         (mcastGrp): Added argument.
12269         (join): Use new mcastGrp.
12270         (leave): Use new mcastGrp.
12271         (joinGroup): New method.
12272         (leaveGroup): New method.
12273         * java/net/natPlainDatagramSocketImpl.cc
12274         (mcastGrp): Added argument, no yet really implemented.
12275         (getOption): Added newline for shorter lines.
12276         * java/net/natPlainSocketImpl.cc
12277         (read, setOption, getOption): Added newline for shorter lines.
12278
12279 2002-09-19  Tom Tromey  <tromey@redhat.com>
12280
12281        * java/lang/ClassLoader.java (resolveClass0): Set cause for
12282        newly-created exception.
12283
12284 2002-09-18  Michael Koch  <konqueror@gmx.de>
12285
12286         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
12287         java/util/regex/PatternSyntaxException.java:
12288         Merge with classpath, new files.
12289         * Makefile.am (core_java_source_files):
12290         Added java/util/regex/Matcher.java,
12291         java/util/regex/Pattern.java,
12292         java/util/regex/PatternSyntaxException.java
12293         * Makefile.in: Regenerated.
12294         * include/config.h.in: Added HAVE_NET_IF_H.
12295         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
12296         Removed #if 0 ... #endif.
12297
12298 2002-09-17  Michael Koch  <konqueror@gmx.de>
12299
12300         * java/net/natNetworkInterface.cc:
12301         Removed unneed and yet wrong includes.
12302
12303 2002-09-17  Michael Koch  <konqueror@gmx.de>
12304
12305         * java/net/NetworkInterface.java: New file.
12306         * java/net/natNetworkInterface.java: New file.
12307         * configure.in: Added check for net/if.h.
12308         * configure: Regenerated.
12309         * Makefile.am
12310         (ordinary_java_source_files): Added NetworkInterface.java.
12311         (nat_source_files): Added natNetworkInterface.cc.
12312         * Makefile.in: Regenerated.
12313
12314 2002-09-16  Tom Tromey  <tromey@redhat.com>
12315
12316         * java/net/URLClassLoader.java (findClass): Code source for a
12317         class from a jar is not necessarily a jar: URL.
12318
12319 2002-09-16  Michael Koch  <konqueror@gmx.de>
12320
12321         * java/lang/AssertionError.java:
12322         Merge with classpath, fixes HTML.
12323         * java/rmi/server/LogStream.java:
12324         Merge with classpath, fixes some constants.
12325         * java/net/server/RemoteServer.java:
12326         Merge with classpath, adds serialVersionUID.
12327         * javax/naming/BinaryRefAddr.java:
12328         Merge with classpath, s/equal/equals/.
12329         * javax/naming/NamingException.java:
12330         Merge with classpath, fixed typo.
12331         * javax/naming/RefAddr.java:
12332         Merge with classpath, s/equal/equals/.
12333         * java/awt/Toolkit.java:
12334         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
12335         and typo fixed.
12336
12337 2002-09-15  Adam Megacz <adam@xwt.org>
12338
12339         * java/net/natPlainSocketImpl.cc: fixed typo.
12340
12341 2002-09-15  Adam Megacz <adam@xwt.org>
12342
12343         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
12344         which don't work on Win32 (yet).
12345
12346 2002-09-14  Adam Megacz <adam@xwt.org>
12347
12348         * java/net/natPlainDatagramSocket.cc: removed #include
12349         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
12350         * include/win32.h: included definition for IP_TOS to satisfy
12351         natPlainDatagramSocket.cc
12352
12353 2002-09-13  Michael Koch  <konqueror@gmx.de>
12354
12355         * java/net/DatagramPacket.java (DatagramPacket):
12356         Added linebreak for 80 chars per line.
12357         * java/net/JarURLConection.java
12358         (getInputStreami, getJarEntry): Likewise.
12359         * java/net/SocketPErmission.java
12360         (SocketPermission class docu, implies): Likewise.
12361         * java/net/URLClassLoader.java (findResources): Likewise.
12362         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
12363
12364 2002-09-13  Michael Koch  <konqueror@gmx.de>
12365
12366         * java/nio/channels/DatagramChannel.java,
12367         java/nio/channels/ServerSocketChannel.java
12368         java/nio/channels/SocketChannel.java:
12369         New dummy files to make java.net fully JDK 1.4 compatible
12370         * Makefile.am (ordinary_java_source_files): Added
12371         java/net/DatagramSocketImplFactory.java (long forgotten),
12372         java/nio/SocketChannel.java,
12373         java/nio/ServerSocketChannel.java,
12374         java/nio/DatagramChannel.java
12375         * Makefile.in: Regenrated.
12376
12377 2002-09-12  Michael Koch  <konqueror@gmx.de>
12378
12379         * java/net/DatagramSocketImpl.java
12380         (peekData): New method.
12381         * java/net/PlainDatagramSocketImpl.java
12382         (peekData): New method.
12383         * java/net/natPlainDatagramSocketImpl.cc
12384         (peekData): New method.
12385         * java/net/URLConnection
12386         (getPermission): New method.
12387         (addRequestProperty): New method.
12388         (getRequestProperties): New method.
12389         (guessContentTypeFromStream): New method, not really implemented.
12390         (URLConnection): Added/updated documentation.
12391         (connect): Added/updated documentation.
12392         (getURL): Added/updated documentation.
12393         (getContentLength): Added/updated documentation.
12394         (getContentType: Added/updated documentation.
12395         (getContentEncoding): Added/updated documentation.
12396         (getExpiration): Added/updated documentation.
12397         (getDate): Added/updated documentation.
12398         (getLastModified): Added/updated documentation.
12399         (getHeaderField): Added/updated documentation.
12400         (getHeaderFields): Added/updated documentation.
12401         (getHeaderFieldInt): Added/updated documentation.
12402         (getHeaderFieldDate): Added/updated documentation.
12403         (getHeaderFieldKey): Added/updated documentation.
12404         (getContent): Added/updated documentation.
12405         (getInputStream): Added/updated documentation.
12406         (getOutputStream): Added/updated documentation.
12407         (toString): Added/updated documentation.
12408         (setDoInput): Added/updated documentation.
12409         (getDoInput): Added/updated documentation.
12410         (setDoOutput): Added/updated documentation.
12411         (getDoOutput): Added/updated documentation.
12412         (setAllowUserInteraction): Added/updated documentation.
12413         (getAllowUserInteraction): Added/updated documentation.
12414         (setDefaultAllowUserInteraction): Added/updated documentation.
12415         (getDefaultAllowUserInteraction): Added/updated documentation.
12416         (setUseCaches): Added/updated documentation.
12417         (getUseCaches): Added/updated documentation.
12418         (setIfModifiedSince): Added/updated documentation.
12419         (getIfModifiedSince): Added/updated documentation.
12420         (getDefaultUseCaches): Added/updated documentation.
12421         (setDefaultUseCaches): Added/updated documentation.
12422         (setRequestProperty): Added/updated documentation.
12423         (getRequestProperty): Added/updated documentation.
12424         (setDefaultRequestProperty): Added/updated documentation.
12425         (getDefaultRequestProperty): Added/updated documentation.
12426         (setContentHandlerFactory): Added/updated documentation.
12427         (guessContentTypeFromName): Added/updated documentation.
12428         (getFileNameMap): Added/updated documentation.
12429         (setFileNameMap): Added/updated documentation.
12430
12431 2002-09-11  Michael Koch  <konqueror@gmx.de>
12432
12433         * java/net/Socket.java
12434         (Socket): protected to public (since JDK 1.4). Added @specnote.
12435         (bind): New method.
12436         (connect): Two new methods.
12437         (getKeepalive): Get correct socket option.
12438         (setKeepalive): Set correct socket option.
12439         (getOOBInline): New method.
12440         (setOOBInline): New method.
12441         * java/net/ServerSocket.java
12442         (bind): Two new methods.
12443         (getInetAddress): Reimplemented, catch exception.
12444         (getLocalSocketAddress): New method.
12445         (setReuseAddress): New method.
12446         (getReuseAdress): New method.
12447         (setReceiveBufferSize): New method.
12448         (getReceiveBufferSize): New method.
12449         (toString): Made string JDK 1.4 compliant.
12450
12451 2002-09-10  Michael Koch  <konqueror@gmx.de>
12452
12453         * java/net/SocketImpl.java
12454         (connect): New method.
12455         (supportsUrgentData): New method.
12456         (sendUrgentData): New method.
12457         * java/net/PlainSocketImpl.java
12458         (connect): One new method and two new implementation.
12459         (sendUrgentData): New method.
12460         * java/natPlainSocketImpl.cc
12461         (connect): Arguments changed, added support for timeouts.
12462         (getOption): Another __java_boolean to jboolean.
12463
12464 2002-09-07  Adam Megacz <adam@xwt.org>
12465
12466         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
12467         definition of IP_TOS.
12468
12469 2002-09-04  Michael Koch  <konqueror@gmx.de>
12470
12471         * java/net/DatagramSocket.java
12472         (DatagramSocket): Added documentation.
12473         (close): Likewise.
12474         (getLocalAddress): Likewise.
12475         (getLocalPort): Likewise.
12476         (receive): Likewise.
12477         (send): Likewise.
12478         (setSoTimeout): Likewise.
12479         (connect): New method.
12480         (disconnect): New method.
12481         (getInetAddress): New method (FIXME)
12482         (getPort): New method.
12483         (setReuseAddress): New method.
12484         (getReuseAddress): New method.
12485         (setBroadcast): New method.
12486         (getBroadcast): New method.
12487         (setTrafficClass): New method.
12488         (getTrafficClass): New method.
12489         * java/net/MulticastSocket.java):
12490         (getTTL): Added @see in documentation.
12491         (setTTL): Added @see in documentation.
12492         (setLoopbackMode): New method.
12493         (getLoopbackMode): New method.
12494         * java/net/PlainSocketImpl.java:
12495         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12496         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12497         * java/net/PlainDatagramSocketImpl.java
12498         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12499         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12500         * java/net/natPlainSocketImpl.cc
12501         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12502         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12503         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12504         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12505         This should also fix SO_KEEPALIVE
12506         * java/net/natPlainDatagramSocketImpl.cc
12507         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12508         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12509         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12510         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12511
12512 2002-09-04  Michael Koch  <konqueror@gmx.de>
12513
12514         * java/net/SocketOptions.java: added static variables to be JDK 1.4
12515         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
12516         IP_MULTICAST_LOOP, IP_TOS
12517
12518 2002-09-03  Tom Tromey  <tromey@redhat.com>
12519
12520         * java/lang/Class.h (_getDeclaredMethod): Declare.
12521         (_getMethod): Now private.
12522         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
12523         getDeclaredMethod.  Now returns NULL on failure.
12524         * java/lang/Class.java (_getDeclaredMethod): Declare.
12525         (getDeclaredMethod): No longer native; implements access checks.
12526
12527 2002-09-01  Mark Wielaard  <mark@klomp.org>
12528
12529         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
12530         (sanitizeStack): Correctly reset unknown and interpreter counters,
12531         detect interpreter runtime frames.
12532         (demangleInterpreterMethod): New method.
12533         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
12534         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
12535         filling in addrs[].
12536
12537 2002-09-02  Michael Koch  <konqueror@gmx.de>
12538
12539         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
12540         re-indented documentation.
12541
12542 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12543
12544         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
12545         public, per 1.4 spec.  Fixes PR libgcj/7785.
12546
12547 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
12548
12549         * Makefile.in: Rebuilt.
12550         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
12551
12552 2002-08-29  Tom Tromey  <tromey@redhat.com>
12553
12554         * java/net/JarURLConnection.java (getCertificates): New method
12555         from Classpath.
12556         * java/net/URLClassLoader.java (URLClassLoader): Extends
12557         SecureClassLoader.
12558         (definePackage): New method from Classpath.
12559         (getPermissions): Likewise.
12560         (newInstance): Likewise.
12561         (findClass): Construct CodeSource for new class (from Classpath).
12562         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
12563         methods.
12564         * java/net/URL.java (getUserInfo): New method.
12565         (set(String,String,int,String,String,String,String,String)): New
12566         method.
12567         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
12568         (shutdownInput, shutdownOutput): Declare.
12569         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
12570         Define.
12571         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
12572         (getOption): Likewise.
12573         (shutdownInput): New method.
12574         (shutdownOutput): Likewise.
12575         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
12576         keepalive.
12577         (getOption): Likewise.
12578         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
12579         * java/net/Socket.java (setKeepAlive): New method.
12580         (getKeepAlive): Likewise.
12581         (shutdownInput, shutdownOutput): New methods.
12582
12583 2002-08-29  Michael Koch  <konqueror@gmx.de>
12584
12585         * java/net/DatagramPacket.java: updated to JDK 1.4 API
12586         new methods are:
12587         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
12588           address),
12589         DatagramPacket(byte[] buf, int length, SocketAddress address),
12590         void setSocketAddress(SocketAddress address)
12591         public SocketAddress getSocketAddress()
12592
12593 2002-08-29  Tom Tromey  <tromey@redhat.com>
12594
12595         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
12596         ftruncate is missing.
12597         * configure, include/config.h.in: Rebuilt.
12598         * acconfig.h (HAVE_FTRUNCATE): Mention.
12599         * configure.in: Check for ftruncate.
12600
12601 2002-08-29  Tom Tromey  <tromey@redhat.com>
12602
12603         * include/jvm.h (struct _Jv_frame_info): New structure.
12604         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
12605         java-interp.h.
12606         (lookupInterp): New method.
12607         (getAddrAsString): Use _Jv_frame_info.
12608         (dladdrLookup): Likewise.
12609         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
12610         interpreted frame.
12611         (lookupInterp): Declare.
12612         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
12613         (fillInStackTrace): Collect information on interpreted frames.
12614         Use _Jv_frame_info.
12615         * interpret.cc: Include Thread.h.
12616         (run): Create and push _Jv_MethodChain object.
12617         (_Jv_EndOfInterpreter): New global.
12618         * java/lang/Thread.java (interp_frame): New field.
12619         * include/java-interp.h (struct _Jv_MethodChain): New structure.
12620         Include NameFinder.h.
12621
12622 2002-08-28  Tom Tromey  <tromey@redhat.com>
12623
12624         * java/lang/Class.h: Include Package.h.
12625         (Class::getProtectionDomain): Declare.
12626         (Class::getPackage): Declare.
12627
12628 2002-08-28  Michael Koch <konqueror@gmx.de>
12629
12630         * java/net/InetSocketAddress.java: Added some documentation and argument
12631         checks for the port numbers.
12632         * java/net/DatagramSocketImplFactory.java: New file.
12633
12634 2002-08-28  Michael Koch <konqueror@gmx.de>
12635
12636         * java/net/Authenticator.java: added some documentation.
12637
12638 2002-08-27  Tom Tromey  <tromey@redhat.com>
12639
12640         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
12641         class.
12642         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
12643
12644 2002-08-27  Michael Koch <konqueror@gmx.de>
12645
12646         * java/net/BindException.java,
12647         java/net/JarURLConnection.java,
12648         java/net/FileNameMap.java,
12649         java/net/HttpURLConnection.java,
12650         java/net/InetSocketAddress.java,
12651         java/net/DatagramPacket.java,
12652         java/net/DatagramSocket.java,
12653         java/net/DatagramSocketImpl.java,
12654         java/net/MulticastSocket.java,
12655         java/net/PasswordAuthentication.java,
12656         java/net/ServerSocket.java,
12657         java/net/Socket.java,
12658         java/net/URLClassLoader.java,
12659         java/net/URLConnection.java: add/update of some @since/@deprecated
12660
12661 2002-08-27  Tony Kimball <alk@pobox.com>
12662             Tom Tromey  <tromey@redhat.com>
12663
12664         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
12665         define.
12666         (::close): Removed.
12667         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
12668         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
12669         (::close): Removed.
12670         (PlainSocketImpl::close): Use NATIVE_CLOSE.
12671         * include/win32.h (getcwd): Removed declaration.  Include io.h.
12672
12673 2002-08-25  Adam Megacz <adam@xwt.org>
12674
12675         * include/win32.h (getcwd): copied function declaration as
12676         temporary fix for header confusion.
12677
12678 2002-08-24  Mark Wielaard <mark@klomp.org>
12679
12680         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
12681         (core_java_source_files): Add VMThrowable.java and NameFinder.java
12682         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
12683         and natNameFinder.cc.
12684         * Makefile.in: Regenerate.
12685         * prims.cc: Use trace_enabled from VMThrowable.
12686         * name-finder.cc: Removed.
12687         * gcj/javaprims.h: Add class VMThrowable.
12688         * gnu/gcj/runtime/NameFinder.java: New file.
12689         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
12690         * include/name-finder.h: Removed.
12691         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
12692         method stackTraceString().
12693         (printStackTrace (PrintWriter)): Likewise.
12694         (stackTraceString): Complete rewrite of old printStackTrace using
12695         StringBuffer.
12696         (stackTraceStringBuffer): New helper method for stackTraceString().
12697         (fillInStackTrace): Delegate to VMTrowable.
12698         (getStackTrace): Likewise.
12699         (getStackTrace0): Removed.
12700         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
12701         (setStackTrace): Copy given array.
12702         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
12703         * java/lang/VMThrowable.java: New class.
12704         * java/lang/natVMThrowable.cc: New file.
12705
12706 2003-08-23  Michael Koch  <konqueror@gmx.de>
12707
12708         * java/net/URLConnection.java,
12709         java/netJarURLConnection.java,
12710         gnu/gcj/protocol/core/Connection.java,
12711         gnu/gcj/protocol/file/Connection.java,
12712         gnu/gcj/protocol/http/Connection.java: Added implementation of
12713         getHeaderFields().
12714
12715 2002-08-22  Tom Tromey  <tromey@redhat.com>
12716
12717         * gij.cc (help): Document -cp and -classpath.
12718         (main): Handle -classpath.
12719
12720 2002-08-21  Tom Tromey  <tromey@redhat.com>
12721
12722         * Makefile.in: Rebuilt.
12723         * Makefile.am (ordinary_java_source_files): Added
12724         SocketAddress.java, InetSocketAddress.java.
12725         * java/net/PortUnreachableException.java: Merged with Classpath.
12726         * java/net/SocketTimeoutException.java: Likewise.
12727         * java/net/URISyntaxException.java: Likewise.
12728         * java/net/SocketAddress.java: New class from Classpath.
12729         * java/net/InetSocketAddress.java: Likewise.
12730
12731 2003-08-21  Michael Koch  <konqueror@gmx.de>
12732
12733         * java/net/Authenticator.java: updated JDK 1.4
12734         * java/net/ContentHandler.java: updated JDK 1.4
12735
12736 2002-08-20  Michael Koch  <konqueror@gmx.de>
12737
12738         * java/net/URISyntaxException.java: New file.
12739         * java/net/SocketTimeoutException.java: New file.
12740         * java/net/PortUnreachableException.java: New file.
12741         * Makefile.am: Updated.
12742         * Makefile.in: Rebuilt.
12743
12744 2002-08-18  Mark Wielaard  <mark@klomp.org>
12745
12746         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
12747         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
12748         MessageDigestSpi (fixes Classpath bug #783).
12749
12750 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12751
12752         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
12753         (startProcess): Allocate path for chdir in async-signal-safe way.
12754
12755 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12756
12757         Fix for PR libgcj/7570 and PR libgcj/7578:
12758         * java/lang/natPosixProcess.cc: Include java/io/File.h.
12759         (startProcess): Handle new `dir' argument.
12760         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
12761         argument.
12762         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
12763         argument.
12764         (startProcess): Likewise.
12765         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
12766         argument.
12767         * java/lang/Runtime.java (execInternal): Added `dir' argument.
12768         (exec): Don't create new environment if ENV==null.  Pass DIR to
12769         execInternal.
12770         * java/lang/natRuntime.cc: Include java/io/File.h.
12771         (execInternal): Added `dir' argument.
12772
12773 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
12774
12775         * java/io/RandomAccessFile.java (skipBytes): Return number of
12776         bytes skipped.
12777
12778 2002-08-01  Mark Wielaard  <mark@klomp.org>
12779
12780         Reenable patch since shared library troubles on powerpc are solved:
12781         * gnu/java/security/provider/Gnu.java: Reference all implementation
12782         classes by using Class.getName().
12783         * gnu/java/security/der/DEREncodingException.java,
12784         gnu/java/security/provider/DERReader.java,
12785         gnu/java/security/provider/DERWriter.java,
12786         gnu/java/security/provider/DSAKeyPairGenerator.java,
12787         gnu/java/security/provider/DSAParameterGenerator.java,
12788         gnu/java/security/provider/DSAParameters.java,
12789         gnu/java/security/provider/DSASignature.java,
12790         gnu/java/security/provider/GnuDSAPrivateKey.java,
12791         gnu/java/security/provider/GnuDSAPublicKey.java,
12792         gnu/java/security/provider/MD5.java,
12793         gnu/java/security/util/Prime.java: New classes
12794         * Makefile.am (ordinary_java_source_files): Add above files.
12795         * Makefile.in: Regenerate.
12796         * gnu/java/security/provider/DefaultPolicy.java
12797         (getPermissions): Don't maintain static class variable of Permissions.
12798         * gnu/java/security/provider/SHA.java
12799         (engineUpdate): algorithm change.
12800         (engineDigest): algorithm change.
12801
12802 2002-08-09  Mark Wielaard  <mark@klomp.org>
12803
12804         * java/awt/image/MemoryImageSource.java: Change constructor to take
12805         int[] not byte[].
12806         * java/awt/Graphics2D.java: Uncomment methods that can now be
12807         compiled.
12808         * java/awt/GridBagLayout.java: New stub implementation.
12809         * javax/swing/text/html/HTML.java: Stub implementation.
12810         * javax/swing/text/html/parser/ParserDelegator.java: New stub
12811         implementation.
12812
12813         * Makefile.am: Add new files.
12814         * Makefile.in: Rebuilt.
12815
12816 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12817
12818         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
12819         methods in Graphics2D.
12820
12821 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12822
12823         AWT/Swing merge from GNU Classpath.
12824
12825         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
12826         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
12827         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
12828         java/awt/color/ProfileDataException.java,
12829         java/awt/CompositeContext.java, java/awt/Composite.java,
12830         java/awt/ContainerOrderFocusTraversalPolicy.java,
12831         java/awt/datatransfer/FlavorTable.java,
12832         java/awt/DefaultFocusTraversalPolicy.java,
12833         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
12834         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
12835         java/awt/dnd/DragGestureListener.java,
12836         java/awt/dnd/DragGestureRecognizer.java,
12837         java/awt/dnd/DragSourceAdapter.java,
12838         java/awt/dnd/DragSourceContext.java,
12839         java/awt/dnd/DragSourceDragEvent.java,
12840         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
12841         java/awt/dnd/DragSourceListener.java,
12842         java/awt/dnd/DragSourceMotionListener.java,
12843         java/awt/dnd/DropTarget.java,
12844         java/awt/dnd/InvalidDnDOperationException.java,
12845         java/awt/dnd/peer/DragSourceContextPeer.java,
12846         java/awt/event/AWTEventListenerProxy.java,
12847         java/awt/event/MouseWheelEvent.java,
12848         java/awt/event/MouseWheelListener.java,
12849         java/awt/event/WindowFocusListener.java,
12850         java/awt/event/WindowStateListener.java,
12851         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
12852         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
12853         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
12854         java/awt/geom/FlatteningPathIterator.java,
12855         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
12856         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
12857         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
12858         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
12859         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
12860         java/awt/image/ImagingOpException.java,
12861         java/awt/image/RasterFormatException.java,
12862         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
12863         java/awt/image/VolatileImage.java,
12864         java/awt/image/WritableRenderedImage.java,
12865         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
12866         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
12867         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
12868         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
12869         java/awt/PageAttributes.java, java/awt/print/Book.java,
12870         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
12871         java/awt/print/Paper.java, java/awt/print/Printable.java,
12872         java/awt/print/PrinterAbortException.java,
12873         java/awt/print/PrinterException.java,
12874         java/awt/print/PrinterGraphics.java,
12875         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
12876         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
12877         java/awt/Stroke.java, java/awt/TexturePaint.java,
12878         javax/accessibility/AccessibleAction.java,
12879         javax/accessibility/AccessibleBundle.java,
12880         javax/accessibility/AccessibleComponent.java,
12881         javax/accessibility/AccessibleContext.java,
12882         javax/accessibility/AccessibleEditableText.java,
12883         javax/accessibility/AccessibleExtendedComponent.java,
12884         javax/accessibility/AccessibleExtendedTable.java,
12885         javax/accessibility/AccessibleHyperlink.java,
12886         javax/accessibility/AccessibleHypertext.java,
12887         javax/accessibility/AccessibleIcon.java,
12888         javax/accessibility/Accessible.java,
12889         javax/accessibility/AccessibleKeyBinding.java,
12890         javax/accessibility/AccessibleRelation.java,
12891         javax/accessibility/AccessibleRelationSet.java,
12892         javax/accessibility/AccessibleResourceBundle.java,
12893         javax/accessibility/AccessibleRole.java,
12894         javax/accessibility/AccessibleSelection.java,
12895         javax/accessibility/AccessibleState.java,
12896         javax/accessibility/AccessibleStateSet.java,
12897         javax/accessibility/AccessibleTable.java,
12898         javax/accessibility/AccessibleTableModelChange.java,
12899         javax/accessibility/AccessibleText.java,
12900         javax/accessibility/AccessibleValue.java,
12901         javax/swing/AbstractAction.java,
12902         javax/swing/AbstractButton.java,
12903         javax/swing/AbstractCellEditor.java,
12904         javax/swing/AbstractListModel.java,
12905         javax/swing/AbstractSet.java, javax/swing/Action.java,
12906         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
12907         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
12908         javax/swing/border/CompoundBorder.java,
12909         javax/swing/border/EmptyBorder.java,
12910         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
12911         javax/swing/border/LineBorder.java,
12912         javax/swing/border/MatteBorder.java,
12913         javax/swing/border/TitledBorder.java,
12914         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
12915         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
12916         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
12917         javax/swing/CellRendererPane.java,
12918         javax/swing/colorchooser/AbstractColorChooserPanel.java,
12919         javax/swing/colorchooser/ColorChooserComponentFactory.java,
12920         javax/swing/colorchooser/ColorSelectionModel.java,
12921         javax/swing/colorchooser/DefaultColorSelectionModel.java,
12922         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
12923         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
12924         javax/swing/DefaultBoundedRangeModel.java,
12925         javax/swing/DefaultButtonModel.java,
12926         javax/swing/DefaultCellEditor.java,
12927         javax/swing/DefaultCellRenderer.java,
12928         javax/swing/DefaultComboBoxModel.java,
12929         javax/swing/DefaultDesktopManager.java,
12930         javax/swing/DefaultFocusManager.java,
12931         javax/swing/DefaultListCellRenderer.java,
12932         javax/swing/DefaultListModel.java,
12933         javax/swing/DefaultListSelectionModel.java,
12934         javax/swing/DefaultSingleSelectionModel.java,
12935         javax/swing/DesktopManager.java,
12936         javax/swing/event/AncestorEvent.java,
12937         javax/swing/event/AncestorListener.java,
12938         javax/swing/event/CaretEvent.java,
12939         javax/swing/event/CaretListener.java,
12940         javax/swing/event/CellEditorListener.java,
12941         javax/swing/event/ChangeEvent.java,
12942         javax/swing/event/ChangeListener.java,
12943         javax/swing/event/DocumentEvent.java,
12944         javax/swing/event/DocumentListener.java,
12945         javax/swing/event/EventListenerList.java,
12946         javax/swing/event/HyperlinkEvent.java,
12947         javax/swing/event/HyperlinkListener.java,
12948         javax/swing/event/InternalFrameAdapter.java,
12949         javax/swing/event/InternalFrameEvent.java,
12950         javax/swing/event/InternalFrameListener.java,
12951         javax/swing/event/ListDataEvent.java,
12952         javax/swing/event/ListDataListener.java,
12953         javax/swing/event/ListSelectionEvent.java,
12954         javax/swing/event/ListSelectionListener.java,
12955         javax/swing/event/MenuDragMouseEvent.java,
12956         javax/swing/event/MenuDragMouseListener.java,
12957         javax/swing/event/MenuEvent.java,
12958         javax/swing/event/MenuKeyEvent.java,
12959         javax/swing/event/MenuKeyListener.java,
12960         javax/swing/event/MenuListener.java,
12961         javax/swing/event/MouseInputAdapter.java,
12962         javax/swing/event/MouseInputListener.java,
12963         javax/swing/event/PopupMenuEvent.java,
12964         javax/swing/event/PopupMenuListener.java,
12965         javax/swing/event/SwingPropertyChangeSupport.java,
12966         javax/swing/event/TableColumnModelEvent.java,
12967         javax/swing/event/TableColumnModelListener.java,
12968         javax/swing/event/TableModelEvent.java,
12969         javax/swing/event/TableModelListener.java,
12970         javax/swing/event/TreeExpansionEvent.java,
12971         javax/swing/event/TreeExpansionListener.java,
12972         javax/swing/event/TreeModelEvent.java,
12973         javax/swing/event/TreeModelListener.java,
12974         javax/swing/event/TreeSelectionEvent.java,
12975         javax/swing/event/TreeSelectionListener.java,
12976         javax/swing/event/TreeWillExpandListener.java,
12977         javax/swing/event/UndoableEditEvent.java,
12978         javax/swing/event/UndoableEditListener.java,
12979         javax/swing/filechooser/FileFilter.java,
12980         javax/swing/filechooser/FileSystemView.java,
12981         javax/swing/filechooser/FileView.java,
12982         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
12983         javax/swing/Icon.java, javax/swing/ImageIcon.java,
12984         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
12985         javax/swing/JApplet.java, javax/swing/JButton.java,
12986         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
12987         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
12988         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
12989         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
12990         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
12991         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
12992         javax/swing/JLayeredPane.java, javax/swing/JList.java,
12993         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
12994         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
12995         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
12996         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
12997         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
12998         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
12999         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
13000         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
13001         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
13002         javax/swing/JTextField.java, javax/swing/JTextPane.java,
13003         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
13004         javax/swing/JToolTip.java, javax/swing/JTree.java,
13005         javax/swing/JViewport.java, javax/swing/JWindow.java,
13006         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
13007         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
13008         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
13009         javax/swing/MenuSelectionManager.java,
13010         javax/swing/MutableComboBoxModel.java,
13011         javax/swing/OverlayLayout.java,
13012         javax/swing/plaf/ActionMapUIResource.java,
13013         javax/swing/plaf/basic/BasicBorders.java,
13014         javax/swing/plaf/basic/BasicButtonUI.java,
13015         javax/swing/plaf/basic/BasicCheckBoxUI.java,
13016         javax/swing/plaf/basic/BasicDefaults.java,
13017         javax/swing/plaf/basic/BasicGraphicsUtils.java,
13018         javax/swing/plaf/basic/BasicIconFactory.java,
13019         javax/swing/plaf/basic/BasicLabelUI.java,
13020         javax/swing/plaf/basic/BasicListUI.java,
13021         javax/swing/plaf/basic/BasicLookAndFeel.java,
13022         javax/swing/plaf/basic/BasicOptionPaneUI.java,
13023         javax/swing/plaf/basic/BasicPanelUI.java,
13024         javax/swing/plaf/basic/BasicRadioButtonUI.java,
13025         javax/swing/plaf/basic/BasicScrollPaneUI.java,
13026         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
13027         javax/swing/plaf/basic/BasicTextUI.java,
13028         javax/swing/plaf/basic/BasicToggleButtonUI.java,
13029         javax/swing/plaf/basic/BasicTreeUI.java,
13030         javax/swing/plaf/basic/BasicViewportUI.java,
13031         javax/swing/plaf/BorderUIResource.java,
13032         javax/swing/plaf/ButtonUI.java,
13033         javax/swing/plaf/ColorChooserUI.java,
13034         javax/swing/plaf/ColorUIResource.java,
13035         javax/swing/plaf/ComboBoxUI.java,
13036         javax/swing/plaf/ComponentInputMapUIResource.java,
13037         javax/swing/plaf/ComponentUI.java,
13038         javax/swing/plaf/DesktopIconUI.java,
13039         javax/swing/plaf/DesktopPaneUI.java,
13040         javax/swing/plaf/DimensionUIResource.java,
13041         javax/swing/plaf/FileChooserUI.java,
13042         javax/swing/plaf/FontUIResource.java,
13043         javax/swing/plaf/IconUIResource.java,
13044         javax/swing/plaf/InputMapUIResource.java,
13045         javax/swing/plaf/InsetsUIResource.java,
13046         javax/swing/plaf/InternalFrameUI.java,
13047         javax/swing/plaf/LabelUI.java,
13048         javax/swing/plaf/ListUI.java,
13049         javax/swing/plaf/MenuBarUI.java,
13050         javax/swing/plaf/MenuItemUI.java,
13051         javax/swing/plaf/OptionPaneUI.java,
13052         javax/swing/plaf/PanelUI.java,
13053         javax/swing/plaf/PopupMenuUI.java,
13054         javax/swing/plaf/ProgressBarUI.java,
13055         javax/swing/plaf/RootPaneUI.java,
13056         javax/swing/plaf/ScrollBarUI.java,
13057         javax/swing/plaf/ScrollPaneUI.java,
13058         javax/swing/plaf/SeparatorUI.java,
13059         javax/swing/plaf/SliderUI.java,
13060         javax/swing/plaf/SplitPaneUI.java,
13061         javax/swing/plaf/TabbedPaneUI.java,
13062         javax/swing/plaf/TableHeaderUI.java,
13063         javax/swing/plaf/TableUI.java,
13064         javax/swing/plaf/TextUI.java,
13065         javax/swing/plaf/ToolBarUI.java,
13066         javax/swing/plaf/ToolTipUI.java,
13067         javax/swing/plaf/TreeUI.java,
13068         javax/swing/plaf/UIResource.java,
13069         javax/swing/plaf/ViewportUI.java,
13070         javax/swing/ProgressMonitorInputStream.java,
13071         javax/swing/ProgressMonitor.java,
13072         javax/swing/Renderer.java,
13073         javax/swing/RepaintManager.java,
13074         javax/swing/RootPaneContainer.java,
13075         javax/swing/Scrollable.java,
13076         javax/swing/ScrollPaneConstants.java,
13077         javax/swing/ScrollPaneLayout.java,
13078         javax/swing/SingleSelectionModel.java,
13079         javax/swing/SizeRequirements.java,
13080         javax/swing/SizeSequence.java,
13081         javax/swing/SwingConstants.java,
13082         javax/swing/SwingUtilities.java,
13083         javax/swing/table/AbstractTableModel.java,
13084         javax/swing/table/DefaultTableCellRenderer.java,
13085         javax/swing/table/DefaultTableColumnModel.java,
13086         javax/swing/table/DefaultTableModel.java,
13087         javax/swing/table/TableCellEditor.java,
13088         javax/swing/table/TableCellRenderer.java,
13089         javax/swing/table/TableColumn.java,
13090         javax/swing/table/TableColumnModel.java,
13091         javax/swing/table/TableModel.java,
13092         javax/swing/text/AbstractDocument.java,
13093         javax/swing/text/AttributeSet.java,
13094         javax/swing/text/BadLocationException.java,
13095         javax/swing/text/Caret.java,
13096         javax/swing/text/CharacterIterator.java,
13097         javax/swing/text/ComponentView.java,
13098         javax/swing/text/DefaultCaret.java,
13099         javax/swing/text/DefaultEditorKit.java,
13100         javax/swing/text/Document.java,
13101         javax/swing/text/EditorKit.java,
13102         javax/swing/text/Element.java,
13103         javax/swing/text/GapContent.java,
13104         javax/swing/text/JTextComponent.java,
13105         javax/swing/text/Keymap.java,
13106         javax/swing/text/MutableAttributeSet.java,
13107         javax/swing/text/PlainDocument.java,
13108         javax/swing/text/PlainEditorKit.java,
13109         javax/swing/text/Position.java,
13110         javax/swing/text/Segment.java,
13111         javax/swing/text/StyledDocument.java,
13112         javax/swing/text/StyledEditorKit.java,
13113         javax/swing/text/Style.java,
13114         javax/swing/text/TextAction.java,
13115         javax/swing/text/ViewFactory.java,
13116         javax/swing/text/View.java,
13117         javax/swing/Timer.java,
13118         javax/swing/ToggleButtonModel.java,
13119         javax/swing/ToolTipManager.java,
13120         javax/swing/tree/AbstractLayoutCache.java,
13121         javax/swing/tree/DefaultMutableTreeNode.java,
13122         javax/swing/tree/DefaultTreeCellEditor.java,
13123         javax/swing/tree/DefaultTreeCellRenderer.java,
13124         javax/swing/tree/DefaultTreeModel.java,
13125         javax/swing/tree/DefaultTreeSelectionModel.java,
13126         javax/swing/tree/ExpandVetoException.java,
13127         javax/swing/tree/FixedHeightLayoutCache.java,
13128         javax/swing/tree/MutableTreeNode.java,
13129         javax/swing/tree/RowMapper.java,
13130         javax/swing/tree/TreeCellEditor.java,
13131         javax/swing/tree/TreeCellRenderer.java,
13132         javax/swing/tree/TreeModel.java,
13133         javax/swing/tree/TreeNode.java,
13134         javax/swing/tree/TreePath.java,
13135         javax/swing/tree/TreeSelectionModel.java,
13136         javax/swing/tree/VariableHeightLayoutCache.java,
13137         javax/swing/UIDefaults.java,
13138         javax/swing/UIManager.java,
13139         javax/swing/undo/AbstractUndoableEdit.java,
13140         javax/swing/undo/CannotRedoException.java,
13141         javax/swing/undo/CannotUndoException.java,
13142         javax/swing/undo/CompoundEdit.java,
13143         javax/swing/undo/StateEditable.java,
13144         javax/swing/undo/StateEdit.java,
13145         javax/swing/undo/UndoableEdit.java,
13146         javax/swing/undo/UndoableEditSupport.java,
13147         javax/swing/undo/UndoManager.java,
13148         javax/swing/UnsupportedLookAndFeelException.java,
13149         javax/swing/ViewportLayout.java,
13150         javax/swing/WindowConstants.java: New files, from GNU Classpath.
13151
13152         * java/awt/ActiveEvent.java,
13153         java/awt/Adjustable.java, java/awt/AWTError.java,
13154         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
13155         java/awt/AWTException.java, java/awt/AWTPermission.java,
13156         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
13157         java/awt/Color.java, java/awt/Component.java,
13158         java/awt/ComponentOrientation.java, java/awt/Container.java,
13159         java/awt/datatransfer/MimeTypeParseException.java,
13160         java/awt/datatransfer/Transferable.java,
13161         java/awt/datatransfer/UnsupportedFlavorException.java,
13162         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
13163         java/awt/event/ActionListener.java,
13164         java/awt/event/AdjustmentEvent.java,
13165         java/awt/event/AdjustmentListener.java,
13166         java/awt/event/AWTEventListener.java,
13167         java/awt/event/ComponentAdapter.java,
13168         java/awt/event/ComponentEvent.java,
13169         java/awt/event/ComponentListener.java,
13170         java/awt/event/ContainerAdapter.java,
13171         java/awt/event/ContainerEvent.java,
13172         java/awt/event/ContainerListener.java,
13173         java/awt/event/FocusAdapter.java,
13174         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
13175         java/awt/event/HierarchyBoundsAdapter.java,
13176         java/awt/event/HierarchyBoundsListener.java,
13177         java/awt/event/HierarchyEvent.java,
13178         java/awt/event/HierarchyListener.java,
13179         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
13180         java/awt/event/InputMethodListener.java,
13181         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
13182         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
13183         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
13184         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
13185         java/awt/event/MouseListener.java,
13186         java/awt/event/MouseMotionAdapter.java,
13187         java/awt/event/MouseMotionListener.java,
13188         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
13189         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
13190         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
13191         java/awt/event/WindowListener.java, java/awt/Font.java,
13192         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
13193         java/awt/geom/Ellipse2D.java,
13194         java/awt/geom/IllegalPathStateException.java,
13195         java/awt/geom/Line2D.java,
13196         java/awt/geom/NoninvertibleTransformException.java,
13197         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
13198         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
13199         java/awt/geom/RoundRectangle2D.java,
13200         java/awt/GraphicsConfiguration.java,
13201         java/awt/IllegalComponentStateException.java,
13202         java/awt/image/IndexColorModel.java,
13203         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
13204         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
13205         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
13206         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
13207         java/awt/MenuItem.java, java/awt/PaintContext.java,
13208         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
13209         java/awt/Polygon.java, java/awt/PrintGraphics.java,
13210         java/awt/PrintJob.java, java/awt/Rectangle.java,
13211         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
13212         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
13213         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
13214
13215         * java/awt/im/spi/InputMethod.java,
13216         java/awt/im/spi/InputMethodContext.java,
13217         java/awt/im/spi/InputMethodDescriptor.java,
13218         java/awt/image/renderable/ContextualRenderedImageFactory.java,
13219         java/awt/image/renderable/ParameterBlock.java,
13220         java/awt/image/renderable/RenderContext.java,
13221         java/awt/image/renderable/RenderableImage.java,
13222         java/awt/image/renderable/RenderableImageOp.java,
13223         java/awt/image/renderable/RenderableImageProducer.java,
13224         java/awt/image/renderable/RenderedImageFactory.java: New files from
13225         classpath.
13226
13227         * gnu/java/awt/EventModifier.java,
13228         gnu/java/awt/image/ImageDecoder.java,
13229         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
13230
13231         * gnu/awt/xlib/XGraphicsConfiguration.java,
13232         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
13233         API.
13234
13235         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
13236         GNU Classpath.
13237
13238         * Makefile.am: Add new files.
13239         * Makefile.in: Rebuilt.
13240
13241 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13242
13243         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
13244         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
13245         findResource, getResources, findResources): Add javadoc from classpath.
13246         (getSystemResources): Implemented.
13247
13248 2002-08-01  Mark Wielaard  <mark@klomp.org>
13249
13250         Revert patch that breaks libgcj shared library on powerpc:
13251         * gnu/java/security/provider/Gnu.java: Reverse referencing all
13252         implementation classes by using Class.getName(). Uses Strings again.
13253         * gnu/java/security/der/DEREncodingException.java,
13254         gnu/java/security/provider/DERReader.java,
13255         gnu/java/security/provider/DERWriter.java,
13256         gnu/java/security/provider/DSAKeyPairGenerator.java,
13257         gnu/java/security/provider/DSAParameterGenerator.java,
13258         gnu/java/security/provider/DSAParameters.java,
13259         gnu/java/security/provider/DSASignature.java,
13260         gnu/java/security/provider/GnuDSAPrivateKey.java,
13261         gnu/java/security/provider/GnuDSAPublicKey.java,
13262         gnu/java/security/provider/MD5.java,
13263         gnu/java/security/util/Prime.java: Removed.
13264         * Makefile.am (ordinary_java_source_files): Remove above files.
13265         * Makefile.in: Regenerate.
13266         * gnu/java/security/provider/DefaultPolicy.java
13267         (getPermissions): Revert to maintaining static class variable of
13268         Permissions.
13269         * gnu/java/security/provider/SHA.java
13270         (engineUpdate): Revert algorithm change.
13271         (engineDigest): Revert algorithm change.
13272
13273 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
13274
13275         * configure.host: Add SH support.
13276         * sysdep/sh/locks.h: New file.
13277
13278 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13279
13280         * java/awt/Frame.java (Frame): Remove println calls.
13281
13282 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
13283
13284         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
13285         * configure: Rebuilt.
13286
13287 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13288
13289         * sysdep/powerpc/locks.h: Formatting.
13290         (_LARX): Define.
13291         (_STCX): Define.
13292         (compare_and_swap): Use _LARX and _STCX.
13293         (compare_and_swap_release): Likewise.
13294
13295 2002-07-26  Tom Tromey  <tromey@redhat.com>
13296
13297         * java/net/Authenticator.java: New version from Classpath.
13298         * java/net/DatagramSocketImpl.java: New version from Classpath.
13299
13300 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13301
13302         * configure.host: Add powerpc64*-* entry.
13303
13304 2002-07-26  Tom Tromey  <tromey@redhat.com>
13305
13306         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
13307         fcntl.h.
13308
13309 2002-07-24  Tom Tromey  <tromey@redhat.com>
13310
13311         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
13312         argument to _load.
13313
13314 2002-07-24  Tom Tromey  <tromey@redhat.com>
13315             Tony Kimball <alk@pobox.com>
13316
13317         * java/io/natFileDescriptorWin32.cc (setLength): New method.
13318         * java/io/natFileDescriptorPosix.cc (setLength): New method.
13319         * java/io/RandomAccessFile.java (setLength): New method.
13320         * java/io/natFileDescriptorEcos.cc (setLength): New method.
13321         * java/io/FileDescriptor.java (setLength): New method.
13322
13323 2002-07-24  Mark Wielaard  <mark@klomp.org>
13324
13325         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
13326         * java/io/ObjectInputStream.java (setBooleanField): Before setting
13327         field call setAccessible(true).
13328         (setByteField): Likewise.
13329         (setCharField): Likewise.
13330         (setDoubleField): Likewise.
13331         (setFloatField): Likewise.
13332         (setIntField): Likewise.
13333         (setLongField): Likewise.
13334         (setShortField): Likewise.
13335         (setObjectField): Likewise.
13336
13337 2002-07-24  Tom Tromey  <tromey@redhat.com>
13338
13339         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
13340         use toString() to format array element.
13341
13342 2002-07-23  Mark Wielaard  <mark@klomp.org>
13343
13344         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13345         MessageDigestSpi (fixes Classpath bug #783).
13346
13347 2002-07-21  Mark Wielaard  <mark@klomp.org>
13348
13349         * gnu/java/security/provider/Gnu.java: Reference all implementation
13350         classes by using Class.getName().
13351
13352 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
13353
13354         * java/lang/ieeefp.h: Add x86-64 support.
13355         * configure.in: Likewise.
13356         * configure.host: Likewise.
13357         * configure: Regenerated.
13358         * sysdep/x86-64/locks.h: New file with x86-64 locks.
13359
13360 2002-07-16  Mark Wielaard  <mark@klomp.org>
13361
13362         * java/io/StreamTokenizer.java (pushBack): Update documentation.
13363         (whitespaceChars): call resetChar().
13364
13365 2002-07-15  Tom Tromey  <tromey@redhat.com>
13366
13367         * Makefile.in: Rebuilt.
13368         * Makefile.am (awt_java_source_files): Added new files.
13369         * java/beans/ExceptionListener.java: Merged with Classpath.
13370         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
13371         * java/beans/PropertyChangeListener.java: Merged with Classpath.
13372         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
13373         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
13374         * java/beans/VetoableChangeListener.java: Merged with Classpath.
13375         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
13376         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
13377
13378 2002-07-14  Mark Wielaard  <mark@klomp.org>
13379
13380         * gnu/java/security/der/DEREncodingException.java,
13381         gnu/java/security/provider/DERReader.java,
13382         gnu/java/security/provider/DERWriter.java,
13383         gnu/java/security/provider/DSAKeyPairGenerator.java,
13384         gnu/java/security/provider/DSAParameterGenerator.java,
13385         gnu/java/security/provider/DSAParameters.java,
13386         gnu/java/security/provider/DSASignature.java,
13387         gnu/java/security/provider/GnuDSAPrivateKey.java,
13388         gnu/java/security/provider/GnuDSAPublicKey.java,
13389         gnu/java/security/provider/MD5.java,
13390         gnu/java/security/util/Prime.java: New files from Classpath.
13391         * Makefile.am (ordinary_java_source_files): Add new files.
13392         * Makefile.in: Regenerate.
13393
13394 2002-07-14  C. Brian Jones <cbj@gnu.org>
13395
13396         * gnu/java/security/provider/DefaultPolicy.java
13397         (getPermissions): do not maintain static class variable of
13398         Permissions
13399         * gnu/java/security/provider/SHA.java
13400         (engineUpdate): algorithm change
13401         (engineDigest): algorithm change
13402
13403 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
13404
13405         For PR libgcj/7292:
13406         * java/lang/Character.java (toString(char)): Now static.
13407
13408 2002-07-12  Mark Wielaard  <mark@klomp.org>
13409
13410         * java/lang/natThrowable.cc (printRawStackTrace): removed.
13411         (getStackTrace0): new method.
13412         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
13413         (printStackTrace(PrintWriter)): replace with pure java implementation.
13414         (printRawStackTrace): removed.
13415         (getStackTrace0): new method.
13416         * java/lang/StackTraceElement.java (toString): add extra whitespace.
13417         * gcj/javaprims.h: regenerate class list.
13418         * include/name-finder.h (lookup): new returns StackTraceElement*.
13419         (method_name, file_name): fields removed.
13420         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
13421         (~_Jv_name_finder): close new descriptors.
13422         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
13423         (createStackTraceElement): new method.
13424         (lookup): returns StackTraceElement*, uses createStackTraceElement().
13425
13426 2002-07-10  Tom Tromey  <tromey@redhat.com>
13427
13428         * configure: Rebuilt.
13429         * configure.in: Use `test' after `&&'.  From Chris Faylor.
13430
13431 2002-07-08  Mark Wielaard  <mark@klomp.org>
13432
13433         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
13434         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
13435         java.sql.DatabaseMetaData.TestJdbc20
13436
13437 2002-07-05  Tony Kimball  <alk@pobox.com>
13438
13439         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
13440
13441 2002-07-04  Tom Tromey  <tromey@redhat.com>
13442             Jeff Sturm  <jsturm@one-point.com>
13443
13444         Fix for PR libgcj/7060:
13445         * java/lang/Class.h (_getMethod): Renamed from getMethod.
13446         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
13447         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
13448         * java/lang/Class.java (getMethod): New Java implementation;
13449         complies with spec.
13450         (_getMethod): New native method.
13451
13452 2002-07-02  Tom Tromey  <tromey@redhat.com>
13453             David Hovemeyer  <daveho@cs.umd.edu>
13454
13455         * java/text/ChoiceFormat.java
13456         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
13457         in check loop.
13458         * java/text/MessageFormat.java
13459         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
13460         to MessageFormat.
13461
13462 2002-07-01  Tom Tromey  <tromey@redhat.com>
13463
13464         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
13465         StringTokenizer on null string.  For PR libgcj/7180.
13466         From daveho@cs.umd.edu.
13467
13468 2002-06-24  Tom Tromey  <tromey@redhat.com>
13469
13470         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
13471         (IntegerClass): Likewise.
13472         * java/lang/natClass.cc (CloneableClass): Removed.
13473         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
13474         ConstructorClass): Likewise.
13475         * java/lang/natClassLoader.cc (CloneableClass): Removed.
13476         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
13477         SerializableClass): Likewise.
13478         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
13479         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
13480         LongClass, FloatClass, DoubleClass): Likewise.
13481
13482         * verify.cc (branch_prepass): Updated for change to exception
13483         handler type.
13484         (verify_instructions_0): Likewise.
13485         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
13486         (handleExceptionTableEntry): Updated for change to exception
13487         handler type.
13488         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
13489         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
13490         (union _Jv_InterpPC): New.
13491         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
13492         (class _Jv_InterpMethod): Added new `prepared' field.
13493         (class _Jv_InterpMethod): Added `compile' method.  Removed
13494         `continue1' and `find_exception'.  Changed arguments to `run'.
13495         * interpret.cc (union insn_slot): New.
13496         (find_exception): Removed.
13497         (run_normal): Removed most logic.
13498         (run_synch_object): Likewise; also, use JvSynchronize.
13499         (run_synch_class): Likewise.
13500         (run): Removed.
13501         (continue1): Renamed as `run'.  Compile bytecode if required.
13502         Add new code to allow refinement of direct-threaded code at
13503         runtime.  Handle exceptions.
13504         (SAVE_PC): Removed.
13505         (compile): New method.
13506         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
13507         (NULLARRAYCHECK): Don't use SAVE_PC.
13508         (pc_t): New typedef.
13509         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
13510         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
13511
13512 2002-06-23  Tom Tromey  <tromey@redhat.com>
13513
13514         * configure: Rebuilt.
13515         * configure.in (INTERPRETER): New subst.
13516         (AM_RUNTESTFLAGS): Don't subst.
13517
13518         * Makefile.in: Rebuilt.
13519         * Makefile.am ($(srcdir)/java/lang/Object.h,
13520         $(srcdir)/java/lang/Class.h): Added dummy targets.
13521
13522 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13523
13524         Reformat JDBC classes and add new JDK 1.4 classes and methods.
13525
13526         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
13527         java/sql/Savepoint.java: New files.
13528         * java/sql/Array.java, java/sql/BatchUpdateException.java,
13529         java/sql/Blob.java, java/sql/CallableStatement.java,
13530         java/sql/Clob.java, java/sql/Connection.java,
13531         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
13532         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
13533         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
13534         java/sql/Ref.java, java/sql/ResultSet.java,
13535         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
13536         java/sql/SQLException.java, java/sql/SQLInput.java,
13537         java/sql/SQLOutput.java, java/sql/SQLWarning.java
13538         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
13539         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
13540         (JDK 1.4) specification.
13541         * javax/sql/ConnectionEvent.java,
13542         javax/sql/ConnectionEventListener.java,
13543         javax/sql/ConnectionPoolDataSource.java,
13544         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
13545         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
13546         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
13547         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
13548         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
13549         javax/sql/XADataSource.java: New files.
13550         * Makefile.am: Add new files.
13551         * Makefile.in: Rebuilt.
13552
13553 2002-06-20  Tom Tromey  <tromey@redhat.com>
13554
13555         For PR libgcj/7073:
13556         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
13557         exists.
13558         * defineclass.cc (handleClassBegin): Superclass for interface is
13559         `null'.
13560
13561 2002-06-18  Tom Tromey  <tromey@redhat.com>
13562
13563         * gcj/javaprims.h: Updated class declaration list.
13564         * Makefile.in: Rebuilt.
13565         * Makefile.am (core_java_source_files): Removed
13566         BasicMapEntry.java.
13567         * java/util/BasicMapEntry.java: Removed.
13568
13569 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
13570
13571         * java/net/natPlainDatagramSocketImpl.cc (receive):
13572         Check bounds of argument to FD_SET.
13573         (setOption): Throw exception if socket is closed.
13574
13575         * java/net/natPlainSocketImpl.cc (accept, read):
13576         Check bounds of argument to FD_SET.
13577         (setOption): Throw exception if socket is closed.
13578
13579 2002-06-18  Tom Tromey  <tromey@redhat.com>
13580
13581         * gcj/javaprims.h: Updated class declaration list.
13582         * Makefile.in: Rebuilt.
13583         * Makefile.am (core_java_source_files): Added
13584         PropertyPermissionCollection.java.
13585         * java/lang/Thread.java (group, name): Now package-private.
13586         * java/lang/ThreadGroup.java: Re-merge with Classpath.
13587         * java/util/AbstractList.java: Likewise.
13588         * java/util/AbstractMap.java: Likewise.
13589         * java/util/Calendar.java: Likewise.
13590         * java/util/Collections.java: Likewise.
13591         * java/util/HashMap.java: Likewise.
13592         * java/util/Hashtable.java: Likewise.
13593         * java/util/LinkedHashMap.java: Likewise.
13594         * java/util/LinkedList.java: Likewise.
13595         * java/util/List.java: Likewise.
13596         * java/util/ListResourceBundle.java: Likewise.
13597         * java/util/Map.java: Likewise.
13598         * java/util/Observable.java: Likewise.
13599         * java/util/Properties.java: Likewise.
13600         * java/util/PropertyPermission.java: Likewise.
13601         * java/util/PropertyPermissionCollection.java: Likewise.
13602         * java/util/PropertyResourceBundle.java: Likewise.
13603         * java/util/Random.java: Likewise.
13604         * java/util/SimpleTimeZone.java: Likewise.
13605         * java/util/StringTokenizer.java: Likewise.
13606         * java/util/TimerTask.java: Likewise.
13607         * java/util/TreeMap.java: Likewise.
13608         * java/util/WeakHashMap.java: Likewise.
13609         * java/util/jar/Attributes.java: Likewise.
13610         * java/util/jar/JarException.java: Likewise.
13611         * java/util/jar/Manifest.java: Likewise.
13612
13613 2002-06-17  Tom Tromey  <tromey@redhat.com>
13614
13615         * gcj/javaprims.h: Updated class declaration list.
13616         * Makefile.in: Rebuilt.
13617         * Makefile.am (core_java_source_files): Added new file.
13618         * java/util/EventListenerProxy.java: New file.
13619         * java/util/EventListener.java: Re-merge with Classpath.
13620         * java/util/EventObject.java: Re-merge with Classpath.
13621
13622 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
13623
13624         * java/lang/ClassNotFoundException.java: New Classpath version.
13625
13626 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
13627
13628         * java/rmi/activation/ActivateFailedException.java: Remerge from
13629         Classpath version.
13630         * java/rmi/activation/ActivationException.java: Ditto.
13631         * java/rmi/activation/UnknownGroupException.java: Ditto.
13632         * java/rmi/activation/UnknownObjectException.java: Ditto.
13633         * java/rmi/server/ExportException: Ditto.
13634         * java/rmi/server/ServerCloneException: Ditto.
13635         * java/rmi/server/ServerNotActiveException: Ditto.
13636         * java/rmi/server/SkeletonMismatchException: Ditto.
13637         * java/rmi/server/SkeletonNotFoundException: Ditto.
13638         * java/rmi/server/SocketSecurityException: Ditto.
13639
13640 2002-06-16  Tom Tromey  <tromey@redhat.com>
13641
13642         * gcj/javaprims.h: Updated class declaration list.
13643
13644         * java/io/LineNumberInputStream.java: Merged with Classpath.
13645
13646         * java/lang/RuntimeException.java: Re-merge with Classpath.
13647         * java/util/ArrayList.java: Likewise.
13648         * java/util/Arrays.java: Likewise.
13649         * java/util/BitSet.java: Likewise.
13650         * java/util/Dictionary.java: Likewise.
13651         * java/util/IdentityHashMap.java: Likewise.
13652         * java/util/MissingResourceException.java: Likewise.
13653         * java/util/Observer.java: Likewise.
13654         * java/util/TooManyListenersException.java: Likewise.
13655         * java/util/zip/DataFormatException.java: Likewise.
13656         * java/util/zip/ZipException.java: Likewise.
13657
13658 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
13659
13660         * java/rmi/AccessException.java: Remerge from Classpath.
13661         * java/rmi/AlreadyBoundException.java: Ditto.
13662         * java/rmi/ConnectException.java: Ditto.
13663         * java/rmi/ConnectIOException.java: Ditto.
13664         * java/rmi/MarshalException.java: Ditto.
13665         * java/rmi/NoSuchObjectException.java: Ditto.
13666         * java/rmi/NotBoundException.java: Ditto.
13667         * java/rmi/RemoteException.java: Ditto.
13668         * java/rmi/RMISecurityException.java: Ditto.
13669         * java/rmi/ServerError.java: Ditto.
13670         * java/rmi/ServerException.java: Ditto.
13671         * java/rmi/ServerRuntimeException.java: Ditto.
13672         * java/rmi/StubNotFoundException.java: Ditto.
13673         * java/rmi/UnexpectedExcpetion.java: Ditto.
13674         * java/rmi/UnknownHostException.java: Ditto.
13675         * java/rmi/UnmarshalException.java: Ditto.
13676
13677 2002-06-15  Tom Tromey  <tromey@redhat.com>
13678
13679         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
13680         * java/lang/ArithmeticException.java: Likewise.
13681         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
13682         * java/lang/ArrayStoreException.java: Likewise.
13683         * java/lang/Byte.java: Likewise.
13684         * java/lang/CharSequence.java: Likewise.
13685         * java/lang/ClassCastException.java: Likewise.
13686         * java/lang/ClassCircularityError.java: Likewise.
13687         * java/lang/ClassFormatError.java: Likewise.
13688         * java/lang/CloneNotSupportedException.java: Likewise.
13689         * java/lang/Cloneable.java: Likewise.
13690         * java/lang/Comparable.java: Likewise.
13691         * java/lang/Compiler.java: Likewise.
13692         * java/lang/Error.java: Likewise.
13693         * java/lang/ExceptionInInitializerError.java: Likewise.
13694         * java/lang/IllegalAccessError.java: Likewise.
13695         * java/lang/IllegalAccessException.java: Likewise.
13696         * java/lang/IllegalArgumentException.java: Likewise.
13697         * java/lang/IllegalMonitorStateException.java: Likewise.
13698         * java/lang/IllegalStateException.java: Likewise.
13699         * java/lang/IllegalThreadStateException.java: Likewise.
13700         * java/lang/IncompatibleClassChangeError.java: Likewise.
13701         * java/lang/IndexOutOfBoundsException.java: Likewise.
13702         * java/lang/InheritableThreadLocal.java: Likewise.
13703         * java/lang/InstantiationError.java: Likewise.
13704         * java/lang/InstantiationException.java: Likewise.
13705         * java/lang/InternalError.java: Likewise.
13706         * java/lang/InterruptedException.java: Likewise.
13707         * java/lang/LinkageError.java: Likewise.
13708         * java/lang/NegativeArraySizeException.java: Likewise.
13709         * java/lang/NoClassDefFoundError.java: Likewise.
13710         * java/lang/NoSuchFieldError.java: Likewise.
13711         * java/lang/NoSuchFieldException.java: Likewise.
13712         * java/lang/NoSuchMethodError.java: Likewise.
13713         * java/lang/NoSuchMethodException.java: Likewise.
13714         * java/lang/NullPointerException.java: Likewise.
13715         * java/lang/NumberFormatException.java: Likewise.
13716         * java/lang/OutOfMemoryError.java: Likewise.
13717         * java/lang/Process.java: Likewise.
13718         * java/lang/Runnable.java: Likewise.
13719         * java/lang/RuntimePermission.java: Likewise.
13720         * java/lang/SecurityException.java: Likewise.
13721         * java/lang/Short.java: Likewise.
13722         * java/lang/StackOverflowError.java: Likewise.
13723         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
13724         * java/lang/ThreadDeath.java: Likewise.
13725         * java/lang/ThreadLocal.java: Likewise.
13726         * java/lang/UnknownError.java: Likewise.
13727         * java/lang/UnsatisfiedLinkError.java: Likewise.
13728         * java/lang/UnsupportedClassVersionError.java: Likewise.
13729         * java/lang/UnsupportedOperationException.java: Likewise.
13730         * java/lang/VerifyError.java: Likewise.
13731         * java/lang/VirtualMachineError.java: Likewise.
13732         * java/lang/reflect/InvocationTargetException.java: Likewise.
13733         * java/net/BindException.java: Likewise.
13734         * java/net/ConnectException.java: Likewise.
13735         * java/net/MalformedURLException.java: Likewise.
13736         * java/net/NoRouteToHostException.java: Likewise.
13737         * java/net/ProtocolException.java: Likewise.
13738         * java/net/SocketException.java: Likewise.
13739         * java/net/UnknownHostException.java: Likewise.
13740         * java/net/UnknownServiceException.java: Likewise.
13741
13742         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
13743         * java/io/CharConversionException.java: Likewise.
13744         * java/io/EOFException.java: Likewise.
13745         * java/io/FileNotFoundException.java: Likewise.
13746         * java/io/IOException.java: Likewise.
13747         * java/io/InterruptedIOException.java: Likewise.
13748         * java/io/InvalidClassException.java: Likewise.
13749         * java/io/InvalidObjectException.java: Likewise.
13750         * java/io/NotActiveException.java: Likewise.
13751         * java/io/NotSerializableException.java: Likewise.
13752         * java/io/ObjectStreamException.java: Likewise.
13753         * java/io/ObjectStreamConstants.java: Likewise.
13754         * java/io/OptionalDataException.java: Likewise.
13755         * java/io/PipedInputStream.java: Likewise.
13756         * java/io/PushbackInputStream.java: Likewise.
13757         * java/io/StreamCorruptedException.java: Likewise.
13758         * java/io/SyncFailedException.java: Likewise.
13759         * java/io/UTFDataFormatException.java: Likewise.
13760         * java/io/UnsupportedEncodingException.java: Likewise.
13761         * java/io/WriteAbortedException.java: Likewise.
13762
13763 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
13764
13765         * java/text/ChoiceFormat.java: Update comments from Classpath.
13766         * java/text/ParseException.java (serialVersionUID): New
13767         field from Classpath.
13768         * java/text/ParseException.java: Update formatting & comments
13769         from Classpath.
13770
13771 2002-06-15  Tom Tromey  <tromey@redhat.com>
13772
13773         * java/util/zip/InflaterInputStream.java (read): Loop if data has
13774         been read but none output by inflater.
13775         * java/util/zip/natDeflater.cc (reset): Set is_finished.
13776         * java/util/zip/natInflater.cc (reset): Set dist_needed and
13777         is_finished.
13778         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
13779         version.
13780         * java/util/zip/ZipFile.java: Replaced with Classpath version.
13781         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
13782         * java/util/zip/ZipInputStream.java: Replaced with Classpath
13783         version.
13784         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
13785
13786 2002-06-13  Tom Tromey  <tromey@redhat.com>
13787
13788         * java/lang/natString.cc (init): Handle case where DONT_COPY is
13789         true and OFFSET!=0.
13790         * java/lang/String.java (String(char[],int,int,boolean): New
13791         constructor.
13792         * java/lang/Long.java: Imported new version from Classpath.
13793         * java/lang/Number.java: Likewise.
13794         * java/lang/Integer.java: Likewise.
13795         * java/lang/Long.java: Likewise.
13796         * java/lang/Float.java: Likewise.
13797         * java/lang/Boolean.java: Likewise.
13798         * java/lang/Double.java: Likewise.
13799         * java/lang/Void.java: Likewise.
13800
13801 2002-06-12  Tom Tromey  <tromey@redhat.com>
13802
13803         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
13804         Fixes PR libgcj/6652.
13805
13806 2002-06-10  Tom Tromey  <tromey@redhat.com>
13807
13808         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
13809         (Class::getPackagePortion): Likewise.
13810         * java/lang/Class.java (desiredAssertionStatus): New method from
13811         Classpath.
13812         (getPackagePortion): Likewise.
13813         * java/lang/VMClassLoader.java (defaultAssertionStatus,
13814         packageAssertionStatus, classAssertionStatus): New methods from
13815         Classpath.
13816         * java/lang/ClassLoader.java (defaultAssertionStatus,
13817         systemPackageAssertionStatus, packageAssertionStatus,
13818         systemClassAssertionStatus, classAssertionStatus): New fields from
13819         Classpath.
13820         (setDefaultAssertionStatus, setPackageAssertionStatus,
13821         setClassAssertionStatus, clearAssertionStatus): New methods from
13822         Classpath.
13823         * Makefile.in: Rebuilt.
13824         * Makefile.am (core_java_source_files): Added AssertionError.java.
13825         * java/lang/AssertionError.java: New from Classpath.
13826
13827 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13828
13829         * configure.host: Disable hash synchronization and slow_pthread_self
13830         for cygwin.
13831
13832 2002-06-06  Adam Megacz <adam@xwt.org>
13833
13834         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
13835         locking, just like the Sun JVM does.
13836
13837 2002-06-05  H.J. Lu  (hjl@gnu.org)
13838
13839         * Makefile.am (libgcj_convenience.la): Revert the last change.
13840         (libgcj.la): Likewise.
13841         * Makefile.in: Regenerated.
13842
13843 2002-06-04  H.J. Lu  (hjl@gnu.org)
13844
13845         * Makefile.am (libgcj_convenience.la): New target.
13846         (libgcj.la): Depend on libgcj_convenience.la.
13847         * Makefile.in: Regenerated.
13848
13849 2002-06-04  H.J. Lu  (hjl@gnu.org)
13850
13851         * configure.in (--with-newlib): New option:
13852         Check ${with_newlib} instead of ${with_cross_host} for newlib.
13853         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
13854         Linux.
13855         * configure: Regenerated.
13856
13857 2002-06-04  Tom Tromey  <tromey@redhat.com>
13858
13859         * java/util/natTimeZone.cc: Include <stdio.h>.
13860
13861 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
13862
13863         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
13864         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
13865         Set SIGNAL_HANDLER=include/s390-linux.h.
13866         * configure: Regenerate.
13867         * include/s390-linux.h: New file.
13868
13869 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13870
13871         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
13872         not "stackTrace".
13873
13874 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13875
13876         Merge JDK 1.4 java.security changes from classpath.
13877
13878         * java/security/AccessControlException.java: Merge from Classpath.
13879         * java/security/AccessController.java: Likewise.
13880         * java/security/AllPermission.java: Likewise.
13881         * java/security/BasicPermission.java: Likewise.
13882         * java/security/Certificate.java: Likewise.
13883         * java/security/CodeSource.java: Likewise.
13884         * java/security/DigestException.java: Likewise.
13885         * java/security/DigestOutputStream.java: Likewise.
13886         * java/security/DomainCombiner.java: Likewise.
13887         * java/security/GeneralSecurityException.java: Likewise.
13888         * java/security/Guard.java: Likewise.
13889         * java/security/GuardedObject.java: Likewise.
13890         * java/security/InvalidAlgorithmParameterException.java: Likewise.
13891         * java/security/InvalidKeyException.java: Likewise.
13892         * java/security/InvalidParameterException.java: Likewise.
13893         * java/security/Key.java: Likewise.
13894         * java/security/KeyException.java: Likewise.
13895         * java/security/KeyManagementException.java: Likewise.
13896         * java/security/KeyStoreException.java: Likewise.
13897         * java/security/MessageDigest.java: Likewise.
13898         * java/security/NoSuchAlgorithmException.java: Likewise.
13899         * java/security/NoSuchProviderException.java: Likewise.
13900         * java/security/Permission.java: Likewise.
13901         * java/security/PermissionCollection.java: Likewise.
13902         * java/security/Permissions.java: Likewise.
13903         * java/security/Policy.java: Likewise.
13904         * java/security/Principal.java: Likewise.
13905         * java/security/PrivateKey.java: Likewise.
13906         * java/security/PrivilegedAction.java: Likewise.
13907         * java/security/PrivilegedActionException.java: Likewise.
13908         * java/security/PrivilegedExceptionAction.java: Likewise.
13909         * java/security/ProtectionDomain.java: Likewise.
13910         * java/security/ProviderException.java: Likewise.
13911         * java/security/PublicKey.java: Likewise.
13912         * java/security/SecureClassLoader.java: Likewise.
13913         * java/security/SecurityPermission.java: Likewise.
13914         * java/security/SignatureException.java: Likewise.
13915         * java/security/UnrecoverableKeyException.java: Likewise.
13916         * java/security/UnresolvedPermission.java: Likewise.
13917         * java/security/acl/AclNotFoundException.java: Likewise.
13918         * java/security/acl/LastOwnerException.java: Likewise.
13919         * java/security/acl/NotOwnerException.java: Likewise.
13920         * java/security/cert/CRLException.java: Likewise.
13921         * java/security/cert/CertificateEncodingException.java: Likewise.
13922         * java/security/cert/CertificateException.java: Likewise.
13923         * java/security/cert/CertificateExpiredException.java: Likewise.
13924         * java/security/cert/CertificateFactory.java: Likewise.
13925         * java/security/cert/CertificateNotYetValidException.java: Likewise.
13926         * java/security/cert/CertificateParsingException.java: Likewise.
13927         * java/security/spec/InvalidKeySpecException.java: Likewise.
13928         * java/security/spec/InvalidParameterSpecException.java: Likewise.
13929
13930         * java/security/cert/CertPath.java: New file.
13931         * java/security/cert/CertPathBuilderException.java: New file.
13932         * java/security/cert/CertPathValidatorException.java: New file.
13933         * java/security/cert/CertStoreException.java: New file.
13934
13935         * Makefile.am: Add new CertPath classes.
13936         * Makefile.in: Rebuilt.
13937
13938         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
13939
13940 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13941
13942         Merge JDK 1.4 exception chaining support from classpath.
13943
13944         * java/lang/Throwable.java: Merge 1.4 support from classpath.
13945         (stackTraceBytes): Rename from stackTrace.
13946         * java/lang/Exception.java: Merge from classpath.
13947         * java/lang/StackTraceElement: New file from classpath.
13948         * gcj/javaprims.h: Rebuild CNI namespace declarations.
13949         * Makefile.am: Add StackTraceElement.
13950         * Makefile.in: Rebuilt.
13951
13952 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13953
13954         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
13955         they build first.
13956         * Makefile.in: Rebuilt.
13957
13958 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13959
13960         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
13961         * configure.in: Likewise.
13962         * aclocal.m4: Regenerate.
13963         * configure: Regenerate.
13964
13965 2002-05-13  Tom Tromey  <tromey@redhat.com>
13966
13967         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
13968         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
13969         Include platform.h.
13970
13971         Fixes PR libgcj/6389:
13972         * Makefile.in: Rebuilt.
13973         * Makefile.am (nat_source_files): Added natTimeZone.cc.
13974         * java/util/natTimeZone.cc: New file.
13975         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
13976         * java/lang/System.java: Merged with Classpath.
13977         * java/lang/Runtime.java: Merged with Classpath.
13978         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
13979         security check.
13980         (setIn0): Renamed from setIn; don't run security check.
13981         (setOut0): Renamed from setOut; don't run security check.
13982         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
13983         init_properties): Moved to natRuntime.cc.
13984         Moved many includes to natRuntime.cc.
13985         (isWordsBigEndian): New method.
13986         * java/lang/natRuntime.cc: Include Long.h, also other includes
13987         previously in natSystem.cc.
13988         (maxMemory): New function.
13989         (exitInternal): Renamed from `_exit'.
13990         (exit): Removed.
13991         (init): Don't set finalize_on_exit.
13992         (exitInternal): Use `finalizeOnExit'.
13993         (file_encoding, getpwuid_adaptor): New functions from
13994         natSystem.cc.
13995         (insertSystemProperties): New method, renamed from
13996         System::init_properties.  Don't set user.timezone.
13997         (_load): Don't call checkLink.
13998         (execInternal): New method.
13999         (availableProcessors): Likewise.
14000         (nativeGetLibname): Likewise.
14001
14002 2002-05-11  Mark Wielaard  <mark@klomp.org>
14003
14004         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
14005         space characters.
14006         (previous_internal): Likewise.
14007
14008 2002-05-09  Tom Tromey  <tromey@redhat.com>
14009
14010         * jni.cc (_Jv_JNIFunctions): Fixed typo.
14011
14012         * java/util/ResourceBundle.java: New version from Classpath.
14013         * java/util/Locale.java: Likewise.
14014
14015 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
14016
14017         * testsuite/lib/libjava.exp (libjava_arguments): Append all
14018         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
14019         LD_LIBRARY_PATH.
14020
14021 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
14022
14023         * libjava/Makefile.am (all_java_source_files): New variable.
14024         (all_java_class_files): Likewise.
14025         .java.class: New rule.
14026         (CLEANFILES): Remove tmp-list.
14027         * libjava/Makefile.in: Regenerated.
14028
14029 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
14030
14031         * testsuite/lib/libjava.exp (test_libjava_from_javac):
14032         Append .exe to executable names.  Fix for cygwin.
14033
14034 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
14035
14036         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
14037         script entry, and set LD to it when configuring multilibs.
14038         * configure: Rebuilt.
14039
14040 2002-05-07  Tom Tromey  <tromey@redhat.com>
14041
14042         * java/lang/natString.cc (unintern): Fixed typo.
14043
14044 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14045
14046         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
14047         with -no-install on *-*-cygwin*.
14048
14049 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14050
14051         * testsuite/lib/libjava.exp (test_libjava_from_source):
14052         Add comment explaining last patch
14053
14054 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
14055
14056         * testsuite/lib/libjava.exp (test_libjava_from_source):
14057         Append .exe to executable names.  If no suffix is present,
14058         then ".exe" is added by default on win32.  Harmless
14059         elsewhere so always do it.
14060
14061 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
14062             Tom Tromey  <tromey@redhat.com>
14063
14064         * java/lang/natSystem.cc (getSystemTimeZone): Use
14065         HAVE_UNDERSCORE_TIMEZONE.
14066         * include/config.h.in: Rebuilt.
14067         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
14068         * aclocal.m4, configure: Rebuilt.
14069         * acinclude.m4: Run AC_EXEEXT.
14070         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
14071         Add test for `_timezone'.
14072
14073 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
14074
14075         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14076         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
14077         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14078         * Makefile.in: Rebuilt.
14079
14080 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
14081
14082         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
14083         use sigaction instead of __libc_sigaction.
14084
14085 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14086
14087         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
14088         (libjava_init): Use it to find libgcj.spec.
14089         (libjava_arguments): Likewise.
14090
14091 2002-05-02  David S. Miller  <davem@redhat.com>
14092
14093         PR bootstrap/6525
14094         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
14095         __libc_sigaction on Sparc.
14096
14097 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
14098
14099         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
14100         sys/filio.h, if present.
14101
14102 2002-04-30  Tom Tromey  <tromey@redhat.com>
14103
14104         * java/io/BufferedReader.java (fill): Handle case where markPos
14105         point to ignored \n.  Fixes PR libgcj/6301.
14106
14107 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
14108
14109         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
14110
14111 2002-04-29  Adam King <aking@dreammechanics.com>
14112
14113         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
14114         of file in APPEND mode.
14115
14116 2002-04-25  David S. Miller  <davem@redhat.com>
14117
14118         PR target/6422
14119         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
14120         program counter to next program counter minus 8.  Update
14121         comments in this macro to explain why.
14122
14123 2002-04-26  Tom Tromey  <tromey@redhat.com>
14124
14125         * verify.cc (construct_primitive_array_type) [void_type]: New
14126         case.
14127         (branch_prepass): Added dummy entries for unused instruction
14128         values.
14129         (verify_instructions_0): Likewise.
14130         * interpret.cc (continue1): Comment fix.
14131         * include/java-insns.h (op_xxxunusedxxx1): Removed.
14132         * Makefile.in: Rebuilt.
14133         * Makefile.am: Added -Wswitch-enum.
14134
14135 2002-04-24  Tom Tromey  <tromey@redhat.com>
14136
14137         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
14138         correct length of UTF-8 encoded name.  Strip leading `/'.
14139         (_Jv_RegisterResource): Use _Jv_Malloc.
14140
14141 2002-04-23  Adam Megacz <adam@xwt.org>
14142
14143         * win32.cc, include/win32.cc (backtrace): Added this function
14144         because Win32 does not supply it.
14145
14146 2002-04-21  David S. Miller  <davem@redhat.com>
14147
14148         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
14149         magic instruction reading sequence.
14150
14151 2002-04-21  Mark Wielaard  <mark@klomp.org>
14152
14153         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
14154
14155 2002-04-19  David S. Miller  <davem@redhat.com>
14156
14157         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
14158         arg.
14159         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
14160         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
14161         on Sparc too.
14162         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
14163         for 64-bit sparc.
14164         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
14165         * sysdeps/sparc/locks.h: New file.
14166         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
14167         on all sparc Solaris configurations.  Set to
14168         include/dwarf2-signal.h on sparc Linux.
14169         * configure: Regenerate
14170         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
14171
14172 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
14173
14174         * configure: Rebuilt.
14175         * configure.in (backtrace): Function doesn't work on IA-64.
14176
14177 2002-04-17  Adam King <aking@dreammechanics.com>
14178
14179         * java/io/File.java (normalizePath): Add Win32 support for auto
14180         conversion of a '/' path separator to Win32's '\' separator.
14181
14182 2002-04-16  Tom Tromey  <tromey@redhat.com>
14183
14184         Fix for PR libgcj/6081:
14185         * Makefile.in: Rebuilt.
14186         * Makefile.am (install-data-local): Use GNU make trick to avoid
14187         shell limit.
14188
14189 2002-04-16  Adam King <aking@dreammechanics.com>
14190             Tom Tromey  <tromey@redhat.com>
14191
14192         * java/io/natFileWin32.cc (performList): Return the correct array
14193         type.  Don't duplicate the creation of a File since it's already
14194         done earlier in the method and the existing code would cause a
14195         ArrayStoreException.  Don't use fixed-size array.
14196         (_access, _stat, attr, getCanonicalPath, performMkdir,
14197         performRenameTo): Don't use fixed-size array.
14198         (getCanonicalPath): Use throw, not _Jv_Throw.
14199
14200 2002-04-15  DJ Delorie  <dj@redhat.com>
14201
14202         * configure.in: Allow building in $srcdir.
14203         * configure: Regenerated.
14204
14205 2002-04-14  Mark Wielaard <mark@klomp.org>
14206
14207         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
14208         * java/net/natSocketImpl.cc (close): Likewise.
14209
14210 2002-04-14  Mark Wielaard <mark@klomp.org>
14211
14212         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
14213
14214 2002-04-13  Adam King <aking@dreammechanics.com>
14215
14216         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
14217         the f/F/d/D modifiers.
14218
14219 2002-04-12  Anthony Green  <green@redhat.com>
14220
14221         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
14222         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
14223         * Makefile.in: Rebuilt.
14224         * configure.in: Substitute gcc_version.
14225         * configure: Rebuilt.
14226
14227 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14228
14229         * configure.host: Set can_unwind_signal on hosts which support it.
14230         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
14231         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
14232         exceptions and can_unwind_signal isn't set.
14233         * configure: Rebuilt.
14234
14235 2002-04-11  Tom Tromey  <tromey@redhat.com>
14236
14237         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
14238
14239 2002-04-11  Adam King <aking@dreammechanics.com>
14240             Tom Tromey  <tromey@redhat.com>
14241
14242         * include/jvm.h (_Jv_ThrowBadArrayIndex,
14243         _Jv_ThrowNullPointerException): Mark as noreturn.
14244         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
14245         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
14246         fixes.
14247
14248 2002-04-10  Tom Tromey  <tromey@redhat.com>
14249
14250         * Makefile.in: Rebuilt.
14251         * Makefile.am (java/lang/Thread.h): Mark
14252         _Jv_AttachCurrentThreadAsDaemon as friend.
14253         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
14254         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
14255         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
14256         function.
14257         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
14258         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
14259         (_Jv_JNI_InvokeFunctions): Added
14260         _Jv_JNI_AttachCurrentThreadAsDaemon.
14261         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
14262         (JNI_GetDefaultJavaVMInitArgs): Likewise.
14263         (JNI_CreateJavaVM): Likewise.
14264         (_Jv_JNI_AttachCurrentThread): Likewise.
14265         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
14266         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
14267         (_Jv_JNIFunctions): Initialize new fields.
14268         (_Jv_JNI_NewDirectByteBuffer): New function.
14269         (_Jv_JNI_GetDirectBufferAddress): Likewise.
14270         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
14271         * include/jni.h (JNI_VERSION_1_4): New macro.
14272         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
14273         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
14274         (JNINativeInterface::NewDirectByteBuffer): New field.
14275         (JNINativeInterface::GetDirectBufferAddress): New field.
14276         (JNINativeInterface::GetDirectBufferCapacity): New field.
14277         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
14278         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
14279         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
14280
14281 2002-04-09  Tom Tromey  <tromey@redhat.com>
14282
14283         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
14284
14285 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
14286
14287         Fix for PR libgcj/6187:
14288         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
14289         distance.
14290
14291 2002-04-07  Mark Wielaard <mark@klomp.org>
14292
14293         * java/util/AbstractMap.java (putAll): Use entrySet size.
14294         (toString): Explicitly use getKey() and getValue().
14295
14296 2002-04-07  Mark Wielaard <mark@klomp.org>
14297
14298         * java/util/Hashtable.java (contains): Remove NullPointer check.
14299         (containsValue): Add NullPointer check.
14300         (remove): Always throw NullPointerException when key
14301         is null.
14302
14303 2002-04-07  Adam King <aking@dreammechanics.com>
14304
14305         * java/lang/natSystem.cc (init_properties): Call new function
14306         _Jv_platform_initProperties.
14307         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
14308         support for the System properties os.name, os.arch, os.version,
14309         user.name, user.home, and user.dir.
14310         * include/posix.h, include/win32.h, posix.cc: New function
14311         _Jv_platform_initProperties.
14312
14313 2002-04-06  Mark Wielaard <mark@klomp.org>
14314
14315         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
14316
14317 2002-04-06  Mark Wielaard <mark@klomp.org>
14318
14319         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
14320         all of the remaining elements.
14321         * java/util/Vector.java (addAll(int,Collection)): Likewise.
14322         (removeRange): If toIndex == fromIndex do
14323         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14324         (removeAll): Always throw NullPointerException when collection is
14325         null.
14326         (retrainAll): Likewise.
14327
14328 2002-04-05  Mark Wielaard <mark@klomp.org>
14329
14330         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
14331         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14332
14333 2002-04-05  Adam Megacz <adam@xwt.org>
14334
14335         * exception.cc (abort): added static modifier
14336
14337 2002-04-04  Adam Megacz <adam@xwt.org>
14338
14339         * include/win32.h (_Jv_platform_close_on_exec): added inline
14340         modifier.
14341
14342 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
14343
14344         * configure.host: Add case statement to support generic port
14345         properties.  Add *-*-freebsd* section.
14346
14347 2002-04-04  Mark Wielaard  <mark@klomp.org>
14348
14349         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
14350         test.
14351         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
14352         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
14353         that depend on awt code and BufferedByteOutputStream.interrupt.
14354
14355 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14356
14357         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
14358         incorrect "hi" value when count > 40.
14359
14360 2002-04-03  Mark Wielaard  <mark@klomp.org>
14361
14362         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
14363         ordering.
14364
14365 2002-04-02  Tom Tromey  <tromey@redhat.com>
14366
14367         * java/lang/natClassLoader.cc (findClass): Compare against `3',
14368         not `0'.
14369
14370 2002-04-02  Mark Wielaard  <mark@klomp.org>
14371
14372         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
14373         list of testsuite crashers.
14374
14375 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14376
14377         * java/util/IdentityHashMap.java (put): Set new threshold correctly
14378         when resizing table.
14379
14380 2002-04-01  Mark Wielaard  <mark@klomp.org>
14381
14382         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
14383         NegativeArraySizeException
14384         (clear(int)): Use sign extended shift.
14385         (flip(int)): Likewise.
14386         (get(int)): Likewise.
14387         (nextClearBit(int)): Likewise.
14388         (nextSetBit(int)): Likewise.
14389         (set(int)): Likewise.
14390
14391 2002-04-01  Mark Wielaard  <mark@klomp.org>
14392
14393         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
14394         that can be compiled now and add testsuite crashers to ignore list.
14395
14396 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
14397
14398         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
14399
14400         * libgcj.spec.in: Override libgcc, not lib.
14401         * libgcj-test.spec.in: Likewise.
14402
14403 2002-03-29  Tom Tromey  <tromey@redhat.com>
14404
14405         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
14406         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
14407
14408 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
14409
14410         * java/net/PlainDatagramSocketImpl.java
14411         (close): Use native implementation.
14412         (finalize): New method.
14413
14414         * java/net/PlainSocketImpl.java (finalize): New method.
14415
14416         * java/net/natPlainDatagramSocketImpl.cc
14417         (java/io/FileDescriptor.h): Don't include.
14418         (close): Implement method here.
14419         (create): Don't assign fd.
14420
14421         * java/net/natPlainSocketImpl.cc
14422         (java/io/FileDescriptor.h): Don't include.
14423         (create): Don't assign fd.
14424         (accept): Likewise.
14425         (close): Synchronize.
14426
14427 2002-03-27  Richard Henderson  <rth@redhat.com>
14428
14429         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
14430
14431 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14432
14433         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14434         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
14435         instead of syscall on IA-64.
14436         Add FIXME comment.
14437
14438 2002-03-27  Anthony Green  <green@redhat.com>
14439
14440         * libgcj.spec.in: Add CHECKREFSPEC.
14441         * configure.in: Ditto.
14442         * configure.host: Ditto.  Check references for xscale-elf.
14443         * configure: Rebuilt.
14444
14445 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
14446
14447         * include/dwarf2-signal.h: Temporarily back out last change.
14448
14449 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
14450
14451         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
14452
14453 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14454
14455         * configure.in, configure: enable dwarf2-exception-style
14456         exception handling on IA-64.
14457         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14458         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
14459         Add FIXME comment.
14460
14461 2002-03-25  Tom Tromey  <tromey@redhat.com>
14462
14463         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
14464         (jv_convert_LDFLAGS): Likewise.
14465         (gij_LDFLAGS): Likewise.
14466         (rmic_LDFLAGS): Likewise.
14467         (rmiregistry_LDFLAGS): Likewise.
14468         * configure.in (THREADLDFLAGS): New subst; set correctly for
14469         *BSD.
14470
14471 2002-03-25  Tom Tromey  <tromey@redhat.com>
14472
14473         For PR libgcj/5303:
14474         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
14475         and --version.
14476         (help): New method.
14477         (version): Likewise.
14478         * gnu/gcj/convert/Convert.java (version): Removed extraneous
14479         "GNU".
14480         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
14481         "GNU".
14482
14483 2002-03-25  Tom Tromey  <tromey@redhat.com>
14484
14485         * java/awt/Component.java (processEvent): Check ComponentEvent
14486         after KeyEvent.
14487
14488 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14489
14490         * java/io/PushbackReader.java: Reformat.
14491
14492         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
14493         calculate correct number of bytes skipped.
14494
14495         Based on patch from Intel's ORP team:
14496         * java/io/PushbackInputStream.java (available): Calculate correct
14497         number of bytes in buffer.
14498         (read): Remove redundant bound check. Return bytes from both the
14499         buffer and the stream.
14500
14501 2002-03-24  Tom Tromey  <tromey@redhat.com>
14502
14503         * java/awt/TextComponent.java (TextComponent): Editable by
14504         default.
14505
14506         * java/awt/MenuItem.java (eventMask): No longer private.
14507         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
14508         superclass if we didn't handle event.
14509         * java/awt/Checkbox.java (dispatchEventImpl): New method.
14510         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
14511         * java/awt/Choice.java (dispatchEventImpl): New method.
14512         * java/awt/List.java (dispatchEventImpl): New method.
14513         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
14514         * java/awt/TextComponent.java (dispatchEventImpl): New method.
14515         * java/awt/TextField.java (dispatchEventImpl): New method.
14516
14517 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
14518
14519         * java/beans/IntrospectionException.java: Update to 1.4.
14520         * java/beans/PropertyVetoException.java: Ditto.
14521
14522 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
14523
14524         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
14525         Arrays.equals instead of ArrayHelper.equalsArray.
14526
14527 2002-03-24  C. Brian Jones <cbj@gnu.org>
14528
14529         * java/beans/Introspector.java: added new static final fields
14530         introduced in 1.2, lots of other updates remain to be done
14531
14532 2002-03-24  C. Brian Jones <cbj@gnu.org>
14533
14534         * java/beans/Introspector.java: reformatting
14535
14536 2002-03-24  C. Brian Jones <cbj@gnu.org>
14537
14538         * java/beans/Introspector.java: default beanInfoSearchPath will
14539         not include sun.beans.infos given we provide no such package and
14540         the API doesn't really require it; gnu.java.beans.info is the
14541         default.
14542
14543 2002-03-24  Mark Wielaard  <mark@klomp.org>
14544
14545         Thanks to Orp developers
14546         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
14547         switch TRUE and FALSE return values.
14548
14549 2002-03-23  Tom Tromey  <tromey@redhat.com>
14550
14551         * include/name-finder.h (_Jv_name_finder::myclose): New method.
14552         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
14553
14554 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
14555
14556         * java/util/GregorianCalendar.java (minimums, maximums): Correct
14557         MONTH entry.  Fixes PR libgcj/6045.
14558
14559 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
14560
14561         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
14562
14563 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14564
14565         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
14566         not release_set.
14567         * sysdep/powerpc/locks.h (write_barrier): New function.
14568         * sysdep/i386/locks.h (write_barrier): New function.
14569
14570 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
14571
14572         * include/jni.h Use correct C comments.
14573
14574 2002-03-18  Tom Tromey  <tromey@redhat.com>
14575
14576         * include/jni.h (JNIIMPORT): New macro.
14577         (JNIEXPORT): Likewise.
14578         (JNICALL): Likewise.
14579
14580 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14581
14582         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
14583         systems.
14584
14585 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
14586
14587         * include/i386-signal.h (old_i386_kernel_sigaction): New.
14588         INIT_SEGV: Use old_i386_kernel_sigaction.
14589         INIT_FP: Likewise.
14590
14591 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14592
14593         * java/lang/natSystem.cc (init_properties): Update VM version
14594         properties.
14595         * configure.in: Set GCJVERSION.
14596         * acconfig.h: Add GCJVERSION.
14597         * configure: Rebuilt.
14598         * include/config.h.in: Rebuilt.
14599
14600 2002-03-17  Anthony Green  <green@redhat.com>
14601
14602         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
14603
14604 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14605
14606         Build a single libgcj.so, without separate gc and zlib libraries.
14607         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
14608         SYS_ZLIBS if system zlib is used.
14609         * configure: Rebuilt.
14610         * Makefile.am: Use boehm-gc and zlib convenience libraries.
14611         * Makefile.in: Rebuilt.
14612         * libtool-version: Increment .so version number.
14613
14614         * Makefile.am: Escape quotes in echo.
14615         * Makefile.in: Rebuilt.
14616
14617 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14618
14619         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
14620         * Makefile.in: Rebuilt.
14621
14622 2002-03-15  Anthony Green  <green@redhat.com>
14623
14624         * configure.host (FILE): New macro for specifing File
14625         implementation.
14626         * configure: Rebuilt.
14627         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
14628
14629 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
14630
14631         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
14632         already implicitly brought in from libgcj.la.
14633         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14634         * Makefile.in: Rebuilt.
14635
14636 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
14637
14638         * THANKS: Fix punctuation, alphabetization.
14639
14640 2002-03-15  Tom Tromey  <tromey@redhat.com>
14641             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14642
14643         Fix for PR libgcj/5944.
14644         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
14645
14646 2002-03-15  Anthony Green  <green@redhat.com>
14647
14648         * configure.in (tool_include_dir): Define.
14649         * configure: Rebuilt.
14650         * gcj/Makefile.am: Install libgcj-config.h relative to
14651         tool_include_dir.
14652         * gcj/Makefile: Rebuilt.
14653         * gcj/libgcj-config.h: Add warning comment.
14654
14655 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
14656
14657         * configure.host (powerpc*-darwin*): Enable interpreter.
14658
14659 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14660
14661         * include/posix.h: Add multiple include header protection.
14662         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
14663
14664 2002-03-10  Adam Megacz <adam@xwt.org>
14665
14666         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
14667
14668 2002-03-10  Tom Tromey  <tromey@redhat.com>
14669
14670         * java/awt/GridLayout.java (layoutContainer): Handle case where
14671         there are no items in container.
14672
14673         * java/lang/Win32Process.java: Added comment.
14674         * include/posix.h (_Jv_platform_close_on_exec): New function.
14675         Include fcntl.h.
14676         * include/win32.h (_Jv_platform_close_on_exec): New function.
14677         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
14678         flag.
14679         (accept): Likewise.
14680         * java/net/natPlainDatagramSocketImpl.cc (create): Set
14681         close-on-exec flag.
14682         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
14683         flag.
14684
14685 2002-03-09  Tom Tromey  <tromey@redhat.com>
14686
14687         * verify.cc (state::NO_STACK): New constant.
14688         (state::is_unmerged_ret_state): Handle case where stacktop is
14689         NO_STACK.
14690         (state::merge): Handle NO_STACK merges.
14691         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
14692         for instruction following jsr.
14693         (stacktop, stackdepth): Removed unused variables.
14694         (pop_jump): Ignore case where all remaining states are skipped.
14695
14696 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14697
14698         * java/awt/ImageMediaEntry: Removed.
14699         * java/awt/MediaEntry: Removed.
14700
14701 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14702
14703         Hashtable synchronization for PowerPC.
14704         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
14705         slow_pthread_self. Set up symlink for sysdeps directory.
14706         * configure: Rebuild.
14707         * configure.host: Document more shell variables. Set sysdeps_dir
14708         for most platforms. Set slow_pthread_self for i686. Set
14709         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
14710         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
14711         that memory barrier is emitted where required.
14712         * prims.cc: 64-bit align static primitive class instances.
14713         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
14714         read_barrier() to enforce ordering of reads.
14715         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
14716         primitives for PowerPC.
14717         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
14718         moved from natObject.cc.
14719         * sysdep/alpha/locks.h: Likewise.
14720         * sysdep/ia64/locks.h: Likewise.
14721         * sysdep/generic/locks.h: Likewise.
14722         * java/lang/natObject.cc: Move thread synchronization primitives to
14723         system-dependent headers.
14724
14725 2002-03-09  Adam Megacz  <adam@xwt.org>
14726
14727         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
14728         bytes read and no failure code returned.
14729
14730 2002-03-09  Adam Megacz  <adam@xwt.org>
14731
14732         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
14733         definitions to simulate -mthreads.
14734
14735 2002-03-09  Adam Megacz  <adam@xwt.org>
14736
14737         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
14738         avoid precision loss.
14739
14740 2002-03-09  Per Bothner  <per@bothner.com>
14741
14742         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
14743         * gnu/gcj/xlib/XImage.java:  Likewise.
14744         * gnu/gcj/xlib/XColor.java:  Likewise.
14745
14746 2002-03-09  Adam Megacz  <adam@xwt.org>
14747
14748         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
14749         IOException so that Throwable.printStackTrace fails correctly.
14750
14751 2002-03-08  Adam Megacz  <adam@xwt.org>
14752
14753         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
14754         fixed.
14755
14756 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14757
14758         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
14759         truncated to int.
14760
14761 2002-03-08  Tom Tromey  <tromey@redhat.com>
14762
14763         * include/jni.h: Include stdio.h.
14764
14765 2002-03-08  Tom Tromey  <tromey@redhat.com>
14766
14767         * posix.cc (internal_gettimeofday): New function.
14768         (_Jv_select): Use it.
14769
14770 2002-03-07  Adam Megacz  <adam@xwt.org>
14771
14772         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
14773         WIN32, and added thunks for read(), write(), and close().
14774         * java/net/natPlainSocketImpl.cc (accept, read, read):
14775         Disabled timeouts on WIN32 pending discussion.
14776
14777 2002-03-07  Adam Megacz  <adam@xwt.org>
14778
14779         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
14780         returns jlong. Added implementation
14781         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
14782         returns jlong.
14783         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
14784         returns jlong.
14785         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
14786         returns jlong.
14787         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
14788         _Jv_platform_gettimeofday signature.
14789
14790 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14791
14792         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
14793         (read): Call recv() directly, not _Jv_recv().
14794
14795 2002-03-06  Tom Tromey  <tromey@redhat.com>
14796
14797         * java/io/natFileDescriptorEcos.cc (init): Don't use
14798         GetStdHandle.
14799         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
14800         is negative.
14801         (init): Don't use GetStdHandle.
14802
14803         * include/config.h.in: Rebuilt.
14804         * configure: Rebuilt.
14805         * Makefile.in: Rebuilt.
14806
14807 2002-03-06  Adam Megacz  <adam@xwt.org>
14808
14809         * java/io/FileDescriptor.java: Initialize in/out/err in init().
14810         * java/io/natFileDescriptorWin32.cc (init()): Added function.
14811         * java/io/natFileDescriptorPosix.cc (init()): Added function.
14812         * java/io/natFileDescriptorEcos.cc (init()): Added function.
14813
14814 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
14815
14816         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
14817         the code for generating include/java-chartables.h.
14818         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
14819         merge with Classpath.
14820         * scripts/unicode-muncher.pl: Copy from Classpath.
14821         * scritps/MakeCharTables.java: New file.
14822         * gnu/gcj/convert/Blocks-3.txt: New file.
14823         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
14824         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
14825         * gnu/java/lang/CharData.java: Copy from Classpath.
14826         * Makefile.am (ordinary_java_source_files): Add
14827         gnu/java/lang/CharData.java.
14828         * configure.in: Remove --enable-fast-character option.
14829         * java/lang/Character.java: Merge algorithms and Javadoc with
14830         Classpath.
14831         * java/lang/natCharacter.cc: Implement Unicode lookup table more
14832         efficiently.
14833         * include/java-chardecomp.h: Regenerate.
14834         * include/java-chartables.h: Regenerate.
14835
14836 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14837
14838         * java/awt/MediaTracker.java: Implemented.
14839         * Makefile.am: Add MediaTracker.
14840         * Makefile.in: Rebuilt.
14841
14842 2002-03-05  Tom Tromey  <tromey@redhat.com>
14843
14844         * java/lang/natPosixProcess.cc (fail): Removed.
14845         (startProcess): Simplified error-handling.  Preserve
14846         LD_LIBRARY_PATH across exec.
14847
14848         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
14849         AbstractMethodError.
14850
14851 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14852
14853         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
14854         * Makefile.in: Rebuilt.
14855
14856 2002-03-03 Mark Wielaard <mark@klomp.org>
14857
14858         * java/util/Timer (TaskQueue.stop): set elements to zero.
14859
14860 2002-02-28  Anthony Green  <green@redhat.com>
14861
14862         * java/lang/reflect/natMethod.cc (result): Add void* element.
14863         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
14864         constructor test.
14865
14866 2002-02-27  Adam Megacz <adam@xwt.org>
14867
14868         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
14869         '#undef STRICT'.
14870
14871 2002-02-26  Tom Tromey  <tromey@redhat.com>
14872
14873         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
14874         * gij.cc (version): Use __VERSION__.
14875         * include/config.h.in: Rebuilt.
14876         * acconfig.h (GCJVERSION): Removed.
14877         * configure: Rebuilt.
14878         * configure.in (GCJVERSION): Removed.
14879
14880 2002-02-26  Andreas Schwab  <schwab@suse.de>
14881
14882         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
14883         glibcpp_CXX, since libjava uses even another CXX.
14884         * aclocal.m4, configure: Regenerated.
14885
14886 2002-02-26  Tom Tromey  <tromey@redhat.com>
14887
14888         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
14889         `1'.
14890
14891 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14892
14893         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
14894         dependency tracking for .java files.
14895         * Makefile.in: Rebuilt.
14896
14897 2002-02-24  Adam Megacz  <adam@xwt.org>
14898
14899         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
14900         typo. Sorry.
14901
14902 2002-02-24  Adam Megacz  <adam@xwt.org>
14903
14904         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
14905         for Win32, changed #ifdefs to check WIN32 instead of the
14906         (now-obsolete) USE_WINSOCK, and removed support for socket
14907         timeouts on Win32 pending further discussion.
14908
14909 2002-02-24  Adam Megacz  <adam@xwt.org>
14910
14911         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
14912         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
14913         delete
14914
14915 2002-02-24  Adam Megacz  <adam@xwt.org>
14916
14917         * java/lang/Win32Process.java: Created a dummy class to allow
14918         build process to run to completion.
14919
14920 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
14921
14922         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
14923         Define ffi_result union for ffi_call result.  Cast
14924         ffi_result members to jvalue.
14925
14926 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
14927
14928         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
14929         * testsuite/Makefile.in: Likewise.
14930
14931 2002-02-20  Per Bothner  <per@bothner.com>
14932
14933         * java/net/URL.java (getPath):  New JDK 1.3 method.
14934
14935         * java/net/URLStreamHandler.java (parseURL):
14936         It is wrong to prepend '/' to the file part of a relative url.
14937
14938         * java/net/URLStreamHandler.java (parseURL):
14939         Minor optizations - append '/' rather than "/".
14940
14941         * java/net/URLStreamHandler.java (parseURL):
14942         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
14943         We probably should canonicalize for a context-relative url, though.
14944         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
14945         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
14946         (sameFile):  New method.  Uses canonicalizeFilename.
14947
14948 2002-02-22  Tom Tromey  <tromey@redhat.com>
14949
14950         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
14951         java.vendor and java.vm.vendor.
14952         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
14953         recent copyright date.
14954         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
14955         * gij.cc (version): Print `Inc'.
14956
14957 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
14958
14959         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
14960         * aclocal.m4, configure: Rebuilt.
14961
14962 2002-02-20  Per Bothner  <per@bothner.com>
14963
14964         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
14965         and/or output streams immediately here, instead of using File.exists.
14966         (inputStream, outputStream):  New fields to save open streams.
14967         (getInputStream, getOutputStream):  Use already-opened streams.
14968
14969 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
14970
14971         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
14972         Use it.
14973         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
14974         * aclocal.m4, configure, Makefile.in: Rebuilt.
14975
14976 2002-02-19  Tom Tromey  <tromey@redhat.com>
14977
14978         Fix for PR libgcj/5696:
14979         * verify.cc (is_assignable_from_slow): Never call
14980         _Jv_IsAssignableFrom.
14981         (verify_instructions_0): Added new debug statement.
14982         (state::print): Print information about whether local has
14983         changed.
14984         (state::merge): Don't call note_variable when merging locals.
14985         (state::set_exception): Removed old FIXME comment.
14986
14987 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14988
14989         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
14990         enable SO_BROADCAST.
14991
14992 2002-02-18  Jason Merrill  <jason@redhat.com>
14993
14994         * name-finder.cc (toHex): Use word mode, not long long.
14995
14996         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
14997
14998 2002-02-15  Tom Tromey  <tromey@redhat.com>
14999
15000         Fix for PR libgcj/5695:
15001         * verify.cc (is_assignable_from_slow): Check to see if target is
15002         an Object before checking to see if source is an interface.
15003         (verify_instructions_0) [op_invokeinterface]: Handle case where
15004         we're making an interface call on Object.
15005
15006 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15007
15008         * Makefile.in: Rebuilt with Eric's change below.
15009
15010         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
15011         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
15012         Removed functions which are now implemented in Math.java.
15013
15014 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15015
15016         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
15017         * Makefile.am (core_java_source_files): Add
15018         java/lang/StrictMath.java.
15019         * java/lang/Math.java: Merge with Classpath.
15020         * java/lang/StrictMath.java: New file - merge with Classpath.
15021
15022 2002-02-14  Mark Wielaard  <mark@klomp.org>
15023
15024         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
15025         package as a workaround for gcj 3.0.x
15026
15027 2002-02-14  Mark Wielaard <mark@klomp.org>
15028
15029         * java/security/BasicPermission.java: extends with fully qualified
15030         classname as workaround for gcj 3.0.4.
15031
15032 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15033
15034         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
15035         around gcj bug of wrong emitted qualifier for inherited method.
15036         * java/net/SocketImpl.java (setOption, getOption): Ditto.
15037         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
15038         constructor to reduce amount of emitted bytecode. While this
15039         happens to work around a jikes 1.15 bug, it is still a useful
15040         patch even for correct compilers.
15041         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
15042         * gnu/java/rmi/server/UnicastRemoteCall.java
15043         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
15044
15045 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15046
15047         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
15048         * java/net/SocketImpl.java: Ditto.
15049         * java/rmi/server/RMIClassLoader.java: Ditto.
15050         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
15051
15052 2002-02-14  Mark Wielaard <mark@klomp.org>
15053
15054         Thanks to Takashi Okamoto
15055         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
15056         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
15057         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
15058
15059 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15060
15061         Fix for PR libgcj/5670:
15062         * verify.cc (is_assignable_from_slow): If `source' is interface,
15063         recursively look for merge with `target'.
15064
15065 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
15066
15067         * include/jni.h: Fix typo.
15068
15069 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
15070
15071         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
15072         correctly.
15073
15074 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15075
15076         Fix for PR libgcj/5671:
15077         * verify.cc (state::merge): Handle case where we're merging
15078         against an interface.
15079
15080 2002-02-12  Tom Tromey  <tromey@redhat.com>
15081
15082         * exception.cc (std::abort): Mark as noreturn.
15083
15084 2002-02-12  Adam Megacz <adam@xwt.org>
15085
15086         * java/lang/Win32Process.java: Filled in a placeholder
15087         implementation so Win32 will build.
15088
15089 2002-02-12  Adam Megacz <adam@xwt.org>
15090
15091         * java/io/natFilePosix.cc: Copied this from natFile.cc.
15092         * java/io/natFile.cc: Removed from repository.
15093         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
15094
15095 2002-02-12  Adam Megacz <adam@xwt.org>
15096
15097         * win32.cc: Added two #includes to make win32.cc compile.
15098
15099 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15100
15101         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
15102         declarations.
15103         (_Jv_InitGC): Don't bother locking, as this is always called from a
15104         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
15105
15106 2002-02-11  Adam Megacz <adam@xwt.org>
15107
15108         * include/win32.h: Added _Jv_platform_gettimeofday.
15109         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
15110
15111 2002-02-11  Adam Megacz <adam@xwt.org>
15112
15113         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
15114         Added #undef STRICT to make windows.h and
15115         java/lang/reflect/Modifier.h cooperate.
15116
15117 2002-02-11  Adam Megacz <adam@xwt.org>
15118
15119         * java/io/natFileWin32.cc: Created a placeholder class with lots
15120         of FIXMEs.
15121
15122 2002-02-11  Adam Megacz <adam@xwt.org>
15123
15124         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
15125         std::abort() to simply abort(). Also added "fake" std::abort() so
15126         we can #include unwind-pe.h without having to link against
15127         libstdc++-v3.
15128
15129 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
15130
15131         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
15132
15133 2002-02-08  Tom Tromey  <tromey@redhat.com>
15134
15135         * interpret.cc (convert): New function.
15136         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
15137         convert.
15138         Include Long.h.
15139
15140 2002-02-08  Anthony Green  <green@redhat.com>
15141
15142         * configure.host: Add support for xscale-elf embedded target.
15143
15144 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
15145
15146         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
15147         dereferenced.
15148         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
15149         frame.
15150
15151 2002-02-07  Tom Tromey  <tromey@redhat.com>
15152
15153         * java/io/natFile.cc (_access): Use __builtin_alloca.
15154         (_stat): Likewise.
15155         (attr): Likewise.
15156         (getCanonicalPath): Likewise.
15157         (performList): Likewise.
15158         (performMkdir): Likewise.
15159         (performSetReadOnly): Likewise.
15160         (performRenameTo): Likewise.
15161         (performSetLastModified): Likewise.
15162         (performCreate): Likewise.
15163         (performDelete): Likewise.
15164
15165 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15166
15167         * HACKING: Fix URL for the automake-gcj.
15168
15169 2002-02-07  Tom Tromey  <tromey@redhat.com>
15170
15171         * java/lang/natThrowable.cc: Updated copyright.
15172         * java/io/natFileWin32.cc: Updated copyright.
15173         * java/io/natFileDescriptorWin32.cc: Updated copyright.
15174         * win32-threads.cc: Updated copyright.
15175         * name-finder.cc: Updated copyright.
15176         * include/name-finder.h: Updated copyright.
15177
15178         * include/name-finder.h: Conditionally include sys/wait.h.
15179         * include/config.h.in: Rebuilt.
15180
15181         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
15182         Size buffer based on real size of string.
15183         (_stat): Likewise.
15184         (attr): Likewise.
15185         (getCanonicalPath): Likewise.
15186         (performList): Likewise.
15187         (performMkdir): Likewise.
15188         (performSetReadOnly): Likewise.
15189         (unixroot): Removed.
15190         (performRenameTo): Likewise.
15191         (performSetLastModified): Likewise.
15192         (performCreate): Likewise.
15193         (performDelete): Likewise.
15194         (performListRoots): Always return new array.
15195
15196         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
15197         * win32.cc (win32_exception_handler): Now static.
15198         * include/win32.h (_Jv_platform_initialize): Declare.
15199         (win32_exception_handler): Don't declare.
15200         * java/lang/natSystem.cc (currentTimeMillis): Use
15201         _Jv_platform_gettimeofday.
15202         * posix.cc (_Jv_platform_gettimeofday): Renamed.
15203         (_Jv_select): Use new name.
15204         (_Jv_platform_initialize): New function.
15205         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
15206         _Jv_gettimeofday.
15207         (_Jv_platform_initialize): Declare.
15208
15209         * configure: Rebuilt.
15210         * configure.in: Removed unnecessary parens.
15211
15212 2002-02-06  Adam Megacz <adam@xwt.org>
15213
15214        * configure.in: Changed mingw) to *mingw*).
15215        * win32.cc: Created this file.
15216        * win32.h: Created this file.
15217        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
15218        win32_exception_handler from prims.cc to win32.cc, added
15219        header in win32.h.
15220        * prims.cc: removed some #ifdef-WIN32'd headers which are no
15221        longer needed now that we have platform.h
15222
15223 2002-02-06  Adam Megacz <adam@xwt.org>
15224
15225         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
15226         use uint<n>_t instead of LONG and BYTE
15227
15228 2002-02-06  Adam Megacz <adam@xwt.org>
15229
15230         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
15231
15232 2002-02-06  Anthony Green  <green@redhat.com>
15233
15234         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
15235         Implement missing method stubs.
15236         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
15237         targets.
15238         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
15239         concept of timezones.
15240         (init_properties): Don't refer to _Jv_Environment_Properties
15241         when this feature is not available.
15242         * include/config.h.in: Rebuilt.
15243         * acconfig.h: Add DISABLE_MAIN_ARGS.
15244         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
15245         * configure: Rebuilt.
15246         * configure.in: Add --disable-main-args option.  Test for
15247           opendir function.  Replace AC_CHECK_SIZEOF with
15248           AC_COMPILE_CHECK_SIZEOF.
15249         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
15250         * aclocal.m4: Rebuilt.
15251         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
15252
15253 2002-02-06  Tom Tromey  <tromey@redhat.com>
15254
15255         * verify.cc (require_array_type): If argument is a null array of
15256         references, return null as the element type.
15257
15258 2002-02-06  Mark Wielaard  <mark@klomp.org>
15259
15260         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
15261         duplicate of a wide type.
15262
15263 2002-02-06  Tom Tromey  <tromey@redhat.com>
15264
15265         * verify.cc (type::isnull): New method.
15266         (require_array_type): Handle case where array is null.
15267         (verify_instructions_0) [op_arraylength]: Likewise.
15268
15269 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15270
15271         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
15272         Symlink PLATFORMH to platform.h.
15273         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
15274         PLATFORMOBJS.
15275         * java/lang/natSystem.cc: #include platform.h not posix.h.
15276         * Makefile.in: Rebuilt with libgcj automake.
15277         * configure: Rebuilt.
15278
15279 2002-02-05  Richard Henderson  <rth@redhat.com>
15280
15281         * Makefile.in: Undo munging last change.
15282
15283 2002-02-04  Adam Megacz <adam@xwt.org>
15284
15285         * win32.cc: Created it.
15286         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
15287         which is set to posix.cc or win32.cc.
15288         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
15289
15290 2002-02-04  Adam Megacz <adam@xwt.org>
15291
15292         * configure.in: Corrected mingw case branches; added * before
15293         and after.
15294
15295 2002-02-04  Adam Megacz <adam@xwt.org>
15296
15297         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
15298         if compiling for win32
15299
15300 2002-02-04  Adam Megacz <adam@xwt.org>
15301
15302         * win32-threads.cc: #undef STRICT after gc.h inclusion
15303
15304 2002-02-02  Tom Tromey  <tromey@redhat.com>
15305
15306         * Makefile.in: Rebuilt.
15307
15308 2002-02-02  Jason Merrill  <jason@redhat.com>
15309
15310         * Makefile.am (clean-nat): New target.
15311
15312 2002-02-02  Tom Tromey  <tromey@redhat.com>
15313
15314         * java/io/natFile.cc: Removed old "FIXME" comments.
15315
15316 2002-02-01  Tom Tromey  <tromey@redhat.com>
15317
15318         * java/lang/natPosixProcess.cc (myclose): New function.
15319         (fail): Use it.
15320         (startProcess): Likewise.
15321
15322 2002-02-01  Adam Megacz <adam@xwt.org>
15323
15324         * prims.cc: Added #undef STRICT after #include<windows.h>.
15325
15326 2002-02-01  Adam Megacz <adam@xwt.org>
15327
15328         * prims.cc
15329         (_Jv_CreateJavaVM): We now use WIN32 instead of
15330         USE_WIN32_SIGNALLING and USE_WINSOCK.
15331         (win32_exception_handler): Now throws an exception out of
15332         the signal handler; assumes SJLJ.
15333
15334 2002-02-01  Adam Megacz <adam@xwt.org>
15335
15336         * win32-threads.cc:
15337         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
15338         wait() algorithm to make it safe.
15339         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
15340         Added lazy creation of Win32 Events for better performance
15341         (really_start): This now uses GC_CreateThread so boehm-gc
15342         knows about new threads even when statically linked.
15343
15344 2002-02-01  Adam Megacz <adam@xwt.org>
15345
15346         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
15347         enable safer wait() algorithm.
15348         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
15349         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
15350         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
15351         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
15352         instead of mutex.
15353         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
15354
15355 2002-02-01  Adam Megacz <adam@xwt.org>
15356
15357         * configure.in: Added support for mingw.
15358         * java/lang/Win32Process.java: Created as empty file.
15359         * java/lang/natWin32Process.cc: Created as empty file.
15360
15361 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15362
15363         PR java/4972
15364         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
15365         for libiconv in LIBICONV variable.
15366         * configure: Regenerated.
15367
15368 2002-01-31  Tom Tromey  <tromey@redhat.com>
15369
15370         * verify.cc (state::enter_subroutine): New method.
15371         (handle_jsr_insn): Use it.
15372         (state::merge): When processing a `ret', correctly use
15373         subroutine's state to determine which local variables have
15374         changed.
15375         (push_exception_jump): Don't let stack overflow.
15376
15377 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
15378
15379         * gnu/gcj/convert/Convert.java: Only include one copyright year in
15380         --version output.
15381
15382 2002-01-30  Tom Tromey  <tromey@redhat.com>
15383
15384         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
15385         parameter for `recv' return type.
15386
15387         * verify.cc (handle_ret_insn): Check for subroutine merge here...
15388         (state::merge): ... not here.
15389         (subr_entry_info): New structure.
15390         (entry_points): New field.
15391         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
15392         entry_points.
15393
15394 2002-01-29  Tom Tromey  <tromey@redhat.com>
15395
15396         * java/awt/List.java (addNotify): Correctly check to see if peer
15397         does not exist.
15398
15399         * java/awt/GridLayout.java (layoutContainer): Use number of rows
15400         to compute height of each cell, and number of columns to compute
15401         width of each cell.
15402         * java/awt/Window.java (getOwnedWindows): Don't return null.
15403         * java/awt/FlowLayout.java (layoutContainer): Set width and height
15404         of component.  Increment x using horizontal gap, not vertical
15405         gap.
15406
15407 2002-01-28  Tom Tromey  <tromey@redhat.com>
15408
15409         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
15410         `nargs' byte is number of words, not number of arguments.
15411
15412 2002-01-27  Tom Tromey  <tromey@redhat.com>
15413
15414         * java/awt/event/MouseEvent.java (modifiers): Removed field.
15415         (when): Likewise.
15416         * java/awt/event/InputEvent.java (modifiers, when): Now
15417         package-private.
15418
15419         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
15420         and to-do list.
15421         (state::merge): Use current class' class loader.
15422         (state::print): Print subroutine.
15423         (state::merge): Don't look at subroutine of unmerged `ret'.
15424
15425 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
15426
15427         * nogc.cc: Remove warnings.
15428         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
15429         New functions.
15430
15431 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15432
15433         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
15434         int, int):  Remove empty "if" statement to work around compiler bug.
15435         (newPixels(int[], ColorModel, int, int): Likewise.
15436
15437 2002-01-25  Per Bothner  <per@bothner.com>
15438
15439         * verify.cc (verify_fail):  Change from being a top-level function
15440         to e method of _Jv_BytecodeVerifier.  Emit current method name.
15441         Pass the current verifier to type: and state: methods as needed,
15442         for better error messages, and for resolve.
15443         (resolve):  Pass current class's loader for Class.forName and
15444         _Jv_FindClassFromSignature, rather than using the default loader.
15445         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
15446         (get_type_val_for_signature):  Make non-static.
15447         (various methods):  Pass start_PC implicitly, not explicitly.
15448
15449 2002-01-25  Tom Tromey  <tromey@redhat.com>
15450
15451         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
15452         loop termination condition.
15453         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
15454         width.
15455
15456 2002-01-24  Tom Tromey  <tromey@redhat.com>
15457
15458         * java/awt/Shape.java: Merged with Classpath.
15459         * java/awt/Scrollbar.java: Merged with Classpath.
15460
15461         * java/awt/Container.java (addNotify): Unconditionally call
15462         addNotifyContainerChildren and superclass addNotify.
15463
15464         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
15465         getAlpha, not getBlue.
15466
15467 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15468
15469         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
15470
15471         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
15472         (grabPixels(long)): Wait to be notified that the ImageProducer has
15473         completed.
15474
15475 2002-01-24  Per Bothner  <per@bothner.com>
15476
15477         * verify.cc (is_assignable_from_slow): If target is an interface,
15478         we must still check the source's superclass before giving up.
15479
15480 2002-01-24  Tom Tromey  <tromey@redhat.com>
15481
15482         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
15483
15484 2002-01-23  Tom Tromey  <tromey@redhat.com>
15485
15486         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
15487         `else'.
15488
15489         * Makefile.in: Rebuilt.
15490         * Makefile.am (awt_java_source_files): Added new files.
15491         * java/awt/Toolkit.java: Merged with Classpath.
15492         * java/awt/PrintGraphics.java: New file from Classpath.
15493         * java/awt/PrintJob.java: New file from Classpath.
15494         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
15495         * java/awt/datatransfer/ClipboardOwner.java: New file from
15496         Classpath.
15497         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
15498         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
15499         * java/awt/datatransfer/MimeTypeParseException.java: New file from
15500         Classpath.
15501         * java/awt/datatransfer/StringSelection.java: New file from
15502         Classpath.
15503         * java/awt/datatransfer/SystemFlavorMap.java: New file from
15504         Classpath.
15505         * java/awt/datatransfer/Transferable.java: New file from
15506         Classpath.
15507         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
15508         from Classpath.
15509
15510         * Makefile.in: Rebuilt.
15511         * Makefile.am (awt_java_source_files): Added new files.
15512         * java/awt/image/AreaAveragingScaleFilter.java: New file from
15513         Classpath.
15514         * java/awt/image/CropImageFilter.java: New file from Classpath.
15515         * java/awt/image/FilteredImageSource.java: New file from
15516         Classpath.
15517         * java/awt/image/ImageFilter.java: New file from Classpath.
15518         * java/awt/image/MemoryImageSource.java: New file from Classpath.
15519         * java/awt/image/PixelGrabber.java: New file from Classpath.
15520         * java/awt/image/RGBImageFilter.java: New file from Classpath.
15521         * java/awt/image/ReplicateScaleFilter.java: New file from
15522         Classpath.
15523         * java/awt/image/ImageProducer.java: Replaced with Classpath
15524         version.
15525         * java/awt/image/ImageObserver.java: Replaced with Classpath
15526         version.
15527         * java/awt/image/ImageConsumer.java: Replaced with Classpath
15528         version.
15529         * java/awt/GridBagConstraints.java (clone): Catch
15530         CloneNotSupportedException.
15531
15532 2002-01-23  Per Bothner  <per@bothner.com>
15533
15534         * java/lang/reflect/natField.cc (setAddr):  New function.
15535         Calls getAddr and then checks that the field isn't final.
15536         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
15537         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
15538         (set):  Call setAddr before check that new value has right type,
15539         to better match specified semantics.
15540
15541 2002-01-22  Tom Tromey  <tromey@redhat.com>
15542
15543         * java/awt/TextField.java: Replaced with Classpath version.
15544         * java/awt/TextArea.java: Replaced with Classpath version.
15545         * java/awt/TextComponent.java: Replaced with Classpath version.
15546
15547         * java/awt/GridBagConstraints.java: Updated copyright.
15548
15549 2002-01-22  Mark Wielaard <mark@klomp.org>
15550
15551         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
15552         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
15553         java/awt/Dialog.java java/awt/FileDialog.java
15554         java/awt/Font.java java/awt/FontMetrics.java
15555         java/awt/Image.java java/awt/ImageMediaEntry.java
15556         java/awt/Insets.java java/awt/List.java
15557         java/awt/MediaEntry.java java/awt/MediaTracker.java
15558         java/awt/Menu.java java/awt/MenuBar.java
15559         java/awt/MenuContainer.java java/awt/MenuShortcut.java
15560         java/awt/PaintContext.java java/awt/Panel.java
15561         java/awt/PopupMenu.java java/awt/SystemColor.java
15562         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
15563         java/awt/peer/CheckboxMenuItemPeer.java
15564         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
15565         java/awt/peer/ComponentPeer.java
15566         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
15567         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
15568         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
15569         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
15570         java/awt/peer/MenuBarPeer.java
15571         java/awt/peer/MenuComponentPeer.java
15572         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
15573         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
15574         java/awt/peer/ScrollPanePeer.java
15575         java/awt/peer/ScrollbarPeer.java
15576         java/awt/peer/TextAreaPeer.java
15577         java/awt/peer/TextComponentPeer.java
15578         java/awt/peer/TextFieldPeer.java
15579         java/awt/peer/WindowPeer.java: Add license clarification.
15580
15581 2002-01-22  Mark Wielaard <mark@klomp.org>
15582
15583         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
15584         gnu/gcj/runtime/StringBuffer.java
15585         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
15586         gnu/java/awt/ComponentDataBlitOp.java
15587         gnu/java/awt/GLightweightPeer.java
15588         gnu/java/beans/BeanInfoEmbryo.java
15589         gnu/java/beans/EmptyBeanInfo.java
15590         gnu/java/beans/ExplicitBeanInfo.java
15591         gnu/java/beans/IntrospectionIncubator.java
15592         gnu/java/beans/editors/ColorEditor.java
15593         gnu/java/beans/editors/FontEditor.java
15594         gnu/java/beans/editors/NativeBooleanEditor.java
15595         gnu/java/beans/editors/NativeByteEditor.java
15596         gnu/java/beans/editors/NativeDoubleEditor.java
15597         gnu/java/beans/editors/NativeFloatEditor.java
15598         gnu/java/beans/editors/NativeIntEditor.java
15599         gnu/java/beans/editors/NativeLongEditor.java
15600         gnu/java/beans/editors/NativeShortEditor.java
15601         gnu/java/beans/editors/StringEditor.java
15602         gnu/java/beans/info/ComponentBeanInfo.java
15603         gnu/java/io/ClassLoaderObjectInputStream.java
15604         gnu/java/io/NullOutputStream.java
15605         gnu/java/io/ObjectIdentityWrapper.java
15606         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
15607         gnu/java/lang/reflect/TypeSignature.java
15608         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
15609         gnu/java/locale/Calendar_en.java
15610         gnu/java/locale/Calendar_nl.java
15611         gnu/java/locale/LocaleInformation.java
15612         gnu/java/locale/LocaleInformation_de.java
15613         gnu/java/locale/LocaleInformation_en.java
15614         gnu/java/locale/LocaleInformation_nl.java
15615         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
15616         gnu/java/rmi/registry/RegistryImpl.java
15617         gnu/java/rmi/rmic/Compile_gcj.java
15618         gnu/java/rmi/rmic/Compiler.java
15619         gnu/java/rmi/rmic/CompilerProcess.java
15620         gnu/java/rmi/rmic/RMIC.java
15621         gnu/java/rmi/rmic/TabbedWriter.java
15622         gnu/java/rmi/server/ProtocolConstants.java
15623         gnu/java/rmi/server/RMIDefaultSocketFactory.java
15624         gnu/java/rmi/server/RMIHashes.java
15625         gnu/java/rmi/server/RMIObjectInputStream.java
15626         gnu/java/rmi/server/RMIObjectOutputStream.java
15627         gnu/java/rmi/server/UnicastConnection.java
15628         gnu/java/rmi/server/UnicastConnectionManager.java
15629         gnu/java/rmi/server/UnicastRef.java
15630         gnu/java/rmi/server/UnicastRemoteCall.java
15631         gnu/java/rmi/server/UnicastRemoteStub.java
15632         gnu/java/rmi/server/UnicastServer.java
15633         gnu/java/rmi/server/UnicastServerRef.java
15634         gnu/java/security/provider/DefaultPolicy.java
15635         gnu/java/security/provider/Gnu.java
15636         gnu/java/security/provider/SHA.java
15637         gnu/java/security/provider/SHA1PRNG.java
15638         gnu/java/text/BaseBreakIterator.java
15639         gnu/java/text/CharacterBreakIterator.java
15640         gnu/java/text/LineBreakIterator.java
15641         gnu/java/text/SentenceBreakIterator.java
15642         gnu/java/text/WordBreakIterator.java
15643         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
15644         java/applet/AppletContext.java java/applet/AppletStub.java
15645         java/applet/AudioClip.java java/awt/AWTError.java
15646         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
15647         java/awt/AWTException.java java/awt/AWTPermission.java
15648         java/awt/ActiveEvent.java java/awt/BorderLayout.java
15649         java/awt/Button.java java/awt/Canvas.java
15650         java/awt/CardLayout.java java/awt/Checkbox.java
15651         java/awt/CheckboxGroup.java java/awt/Component.java
15652         java/awt/ComponentOrientation.java java/awt/Container.java
15653         java/awt/Dimension.java java/awt/Event.java
15654         java/awt/EventDispatchThread.java java/awt/EventQueue.java
15655         java/awt/FlowLayout.java java/awt/Frame.java
15656         java/awt/Graphics.java java/awt/Graphics2D.java
15657         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
15658         java/awt/IllegalComponentStateException.java
15659         java/awt/ItemSelectable.java java/awt/Label.java
15660         java/awt/LayoutManager.java java/awt/LayoutManager2.java
15661         java/awt/MenuComponent.java java/awt/MenuItem.java
15662         java/awt/Paint.java java/awt/Point.java
15663         java/awt/Rectangle.java java/awt/RenderingHints.java
15664         java/awt/Transparency.java java/awt/Window.java
15665         java/awt/color/ColorSpace.java
15666         java/awt/color/ICC_ColorSpace.java
15667         java/awt/color/ICC_Profile.java
15668         java/awt/event/HierarchyBoundsAdapter.java
15669         java/awt/event/HierarchyBoundsListener.java
15670         java/awt/event/HierarchyEvent.java
15671         java/awt/event/HierarchyListener.java
15672         java/awt/geom/AffineTransform.java
15673         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
15674         java/awt/geom/IllegalPathStateException.java
15675         java/awt/geom/Line2D.java
15676         java/awt/geom/NoninvertibleTransformException.java
15677         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
15678         java/awt/geom/Rectangle2D.java
15679         java/awt/geom/RectangularShape.java
15680         java/awt/geom/RoundRectangle2D.java
15681         java/awt/image/BufferedImage.java
15682         java/awt/image/ColorModel.java
15683         java/awt/image/ComponentColorModel.java
15684         java/awt/image/ComponentSampleModel.java
15685         java/awt/image/DataBuffer.java
15686         java/awt/image/DataBufferByte.java
15687         java/awt/image/DataBufferInt.java
15688         java/awt/image/DataBufferUShort.java
15689         java/awt/image/DirectColorModel.java
15690         java/awt/image/PackedColorModel.java
15691         java/awt/image/Raster.java java/awt/image/RasterOp.java
15692         java/awt/image/SampleModel.java
15693         java/awt/image/SinglePixelPackedSampleModel.java
15694         java/awt/image/WritableRaster.java
15695         java/beans/AppletInitializer.java
15696         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
15697         java/beans/Beans.java java/beans/Customizer.java
15698         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
15699         java/beans/FeatureDescriptor.java
15700         java/beans/IndexedPropertyDescriptor.java
15701         java/beans/IntrospectionException.java
15702         java/beans/Introspector.java java/beans/MethodDescriptor.java
15703         java/beans/ParameterDescriptor.java
15704         java/beans/PropertyChangeEvent.java
15705         java/beans/PropertyChangeListener.java
15706         java/beans/PropertyChangeSupport.java
15707         java/beans/PropertyDescriptor.java
15708         java/beans/PropertyEditor.java
15709         java/beans/PropertyEditorManager.java
15710         java/beans/PropertyEditorSupport.java
15711         java/beans/PropertyVetoException.java
15712         java/beans/SimpleBeanInfo.java
15713         java/beans/VetoableChangeListener.java
15714         java/beans/VetoableChangeSupport.java
15715         java/beans/Visibility.java
15716         java/beans/beancontext/BeanContext.java
15717         java/beans/beancontext/BeanContextChild.java
15718         java/beans/beancontext/BeanContextChildComponentProxy.java
15719         java/beans/beancontext/BeanContextChildSupport.java
15720         java/beans/beancontext/BeanContextContainerProxy.java
15721         java/beans/beancontext/BeanContextEvent.java
15722         java/beans/beancontext/BeanContextMembershipEvent.java
15723         java/beans/beancontext/BeanContextMembershipListener.java
15724         java/beans/beancontext/BeanContextProxy.java
15725         java/beans/beancontext/BeanContextServiceAvailableEvent.java
15726         java/beans/beancontext/BeanContextServiceProvider.java
15727         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
15728         java/beans/beancontext/BeanContextServiceRevokedEvent.java
15729         java/beans/beancontext/BeanContextServiceRevokedListener.java
15730         java/beans/beancontext/BeanContextServices.java
15731         java/beans/beancontext/BeanContextServicesListener.java
15732         java/io/BufferedInputStream.java
15733         java/io/BufferedOutputStream.java java/io/BufferedReader.java
15734         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
15735         java/io/ByteArrayOutputStream.java
15736         java/io/CharArrayReader.java java/io/CharArrayWriter.java
15737         java/io/CharConversionException.java java/io/DataInput.java
15738         java/io/DataInputStream.java java/io/DataOutput.java
15739         java/io/EOFException.java java/io/Externalizable.java
15740         java/io/FileFilter.java java/io/FileNotFoundException.java
15741         java/io/FilePermission.java java/io/FileReader.java
15742         java/io/FileWriter.java java/io/FilenameFilter.java
15743         java/io/FilterInputStream.java java/io/FilterOutputStream.java
15744         java/io/FilterReader.java java/io/FilterWriter.java
15745         java/io/IOException.java java/io/InputStream.java
15746         java/io/InterruptedIOException.java
15747         java/io/InvalidClassException.java
15748         java/io/InvalidObjectException.java
15749         java/io/NotActiveException.java
15750         java/io/NotSerializableException.java java/io/ObjectInput.java
15751         java/io/ObjectInputStream.java
15752         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
15753         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
15754         java/io/ObjectStreamConstants.java
15755         java/io/ObjectStreamException.java
15756         java/io/ObjectStreamField.java
15757         java/io/OptionalDataException.java java/io/OutputStream.java
15758         java/io/PipedInputStream.java java/io/PipedOutputStream.java
15759         java/io/PipedReader.java java/io/PipedWriter.java
15760         java/io/PrintWriter.java java/io/PushbackInputStream.java
15761         java/io/PushbackReader.java java/io/Reader.java
15762         java/io/SequenceInputStream.java java/io/Serializable.java
15763         java/io/SerializablePermission.java
15764         java/io/StreamCorruptedException.java
15765         java/io/StreamTokenizer.java
15766         java/io/StringBufferInputStream.java java/io/StringReader.java
15767         java/io/StringWriter.java java/io/SyncFailedException.java
15768         java/io/UTFDataFormatException.java
15769         java/io/UnsupportedEncodingException.java
15770         java/io/WriteAbortedException.java java/io/Writer.java
15771         java/lang/AbstractMethodError.java
15772         java/lang/ArithmeticException.java
15773         java/lang/ArrayIndexOutOfBoundsException.java
15774         java/lang/ArrayStoreException.java java/lang/Boolean.java
15775         java/lang/Byte.java java/lang/CharSequence.java
15776         java/lang/ClassCastException.java
15777         java/lang/ClassCircularityError.java
15778         java/lang/ClassFormatError.java
15779         java/lang/ClassNotFoundException.java
15780         java/lang/CloneNotSupportedException.java
15781         java/lang/Cloneable.java java/lang/Comparable.java
15782         java/lang/Compiler.java java/lang/Double.java
15783         java/lang/Error.java java/lang/Exception.java
15784         java/lang/ExceptionInInitializerError.java
15785         java/lang/Float.java java/lang/IllegalAccessError.java
15786         java/lang/IllegalAccessException.java
15787         java/lang/IllegalArgumentException.java
15788         java/lang/IllegalMonitorStateException.java
15789         java/lang/IllegalStateException.java
15790         java/lang/IllegalThreadStateException.java
15791         java/lang/IncompatibleClassChangeError.java
15792         java/lang/IndexOutOfBoundsException.java
15793         java/lang/InheritableThreadLocal.java
15794         java/lang/InstantiationError.java
15795         java/lang/InstantiationException.java java/lang/Integer.java
15796         java/lang/InternalError.java
15797         java/lang/InterruptedException.java
15798         java/lang/LinkageError.java java/lang/Long.java
15799         java/lang/NegativeArraySizeException.java
15800         java/lang/NoClassDefFoundError.java
15801         java/lang/NoSuchFieldError.java
15802         java/lang/NoSuchFieldException.java
15803         java/lang/NoSuchMethodError.java
15804         java/lang/NoSuchMethodException.java
15805         java/lang/NullPointerException.java java/lang/Number.java
15806         java/lang/NumberFormatException.java
15807         java/lang/OutOfMemoryError.java java/lang/Package.java
15808         java/lang/Process.java java/lang/Runnable.java
15809         java/lang/RuntimeException.java
15810         java/lang/RuntimePermission.java
15811         java/lang/SecurityException.java
15812         java/lang/SecurityManager.java java/lang/Short.java
15813         java/lang/StackOverflowError.java java/lang/StringBuffer.java
15814         java/lang/StringIndexOutOfBoundsException.java
15815         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
15816         java/lang/ThreadLocal.java java/lang/UnknownError.java
15817         java/lang/UnsatisfiedLinkError.java
15818         java/lang/UnsupportedClassVersionError.java
15819         java/lang/UnsupportedOperationException.java
15820         java/lang/VerifyError.java java/lang/VirtualMachineError.java
15821         java/lang/Void.java java/lang/ref/PhantomReference.java
15822         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
15823         java/lang/ref/SoftReference.java
15824         java/lang/ref/WeakReference.java
15825         java/lang/reflect/AccessibleObject.java
15826         java/lang/reflect/InvocationTargetException.java
15827         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
15828         java/lang/reflect/ReflectPermission.java
15829         java/math/BigDecimal.java java/math/BigInteger.java
15830         java/net/Authenticator.java java/net/BindException.java
15831         java/net/ConnectException.java java/net/ContentHandler.java
15832         java/net/ContentHandlerFactory.java
15833         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
15834         java/net/FileNameMap.java java/net/MalformedURLException.java
15835         java/net/MulticastSocket.java java/net/NetPermission.java
15836         java/net/NoRouteToHostException.java
15837         java/net/PasswordAuthentication.java
15838         java/net/ProtocolException.java java/net/ServerSocket.java
15839         java/net/Socket.java java/net/SocketException.java
15840         java/net/SocketImpl.java java/net/SocketImplFactory.java
15841         java/net/SocketOptions.java java/net/SocketPermission.java
15842         java/net/URLDecoder.java java/net/URLEncoder.java
15843         java/net/URLStreamHandlerFactory.java
15844         java/net/UnknownHostException.java
15845         java/net/UnknownServiceException.java
15846         java/rmi/AccessException.java
15847         java/rmi/AlreadyBoundException.java
15848         java/rmi/ConnectException.java
15849         java/rmi/ConnectIOException.java
15850         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
15851         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
15852         java/rmi/NotBoundException.java
15853         java/rmi/RMISecurityException.java
15854         java/rmi/RMISecurityManager.java java/rmi/Remote.java
15855         java/rmi/RemoteException.java java/rmi/ServerError.java
15856         java/rmi/ServerException.java
15857         java/rmi/ServerRuntimeException.java
15858         java/rmi/StubNotFoundException.java
15859         java/rmi/UnexpectedException.java
15860         java/rmi/UnknownHostException.java
15861         java/rmi/UnmarshalException.java
15862         java/rmi/activation/Activatable.java
15863         java/rmi/activation/ActivateFailedException.java
15864         java/rmi/activation/ActivationDesc.java
15865         java/rmi/activation/ActivationException.java
15866         java/rmi/activation/ActivationGroup.java
15867         java/rmi/activation/ActivationGroupDesc.java
15868         java/rmi/activation/ActivationGroupID.java
15869         java/rmi/activation/ActivationID.java
15870         java/rmi/activation/ActivationInstantiator.java
15871         java/rmi/activation/ActivationMonitor.java
15872         java/rmi/activation/ActivationSystem.java
15873         java/rmi/activation/Activator.java
15874         java/rmi/activation/UnknownGroupException.java
15875         java/rmi/activation/UnknownObjectException.java
15876         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
15877         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
15878         java/rmi/registry/Registry.java
15879         java/rmi/registry/RegistryHandler.java
15880         java/rmi/server/ExportException.java
15881         java/rmi/server/LoaderHandler.java
15882         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
15883         java/rmi/server/Operation.java
15884         java/rmi/server/RMIClassLoader.java
15885         java/rmi/server/RMIClientSocketFactory.java
15886         java/rmi/server/RMIFailureHandler.java
15887         java/rmi/server/RMIServerSocketFactory.java
15888         java/rmi/server/RMISocketFactory.java
15889         java/rmi/server/RemoteCall.java
15890         java/rmi/server/RemoteObject.java
15891         java/rmi/server/RemoteRef.java
15892         java/rmi/server/RemoteServer.java
15893         java/rmi/server/RemoteStub.java
15894         java/rmi/server/ServerCloneException.java
15895         java/rmi/server/ServerNotActiveException.java
15896         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
15897         java/rmi/server/SkeletonMismatchException.java
15898         java/rmi/server/SkeletonNotFoundException.java
15899         java/rmi/server/SocketSecurityException.java
15900         java/rmi/server/UID.java
15901         java/rmi/server/UnicastRemoteObject.java
15902         java/rmi/server/Unreferenced.java
15903         java/security/AccessControlContext.java
15904         java/security/AccessControlException.java
15905         java/security/AccessController.java
15906         java/security/AlgorithmParameterGenerator.java
15907         java/security/AlgorithmParameterGeneratorSpi.java
15908         java/security/AlgorithmParameters.java
15909         java/security/AlgorithmParametersSpi.java
15910         java/security/AllPermission.java
15911         java/security/BasicPermission.java
15912         java/security/Certificate.java java/security/CodeSource.java
15913         java/security/DigestException.java
15914         java/security/DigestInputStream.java
15915         java/security/DigestOutputStream.java
15916         java/security/DomainCombiner.java
15917         java/security/DummyKeyPairGenerator.java
15918         java/security/DummyMessageDigest.java
15919         java/security/DummySignature.java
15920         java/security/GeneralSecurityException.java
15921         java/security/Guard.java java/security/GuardedObject.java
15922         java/security/Identity.java java/security/IdentityScope.java
15923         java/security/InvalidAlgorithmParameterException.java
15924         java/security/InvalidKeyException.java
15925         java/security/InvalidParameterException.java
15926         java/security/Key.java java/security/KeyException.java
15927         java/security/KeyFactory.java java/security/KeyFactorySpi.java
15928         java/security/KeyManagementException.java
15929         java/security/KeyPair.java java/security/KeyPairGenerator.java
15930         java/security/KeyPairGeneratorSpi.java
15931         java/security/KeyStore.java
15932         java/security/KeyStoreException.java
15933         java/security/KeyStoreSpi.java
15934         java/security/MessageDigest.java
15935         java/security/MessageDigestSpi.java
15936         java/security/NoSuchAlgorithmException.java
15937         java/security/NoSuchProviderException.java
15938         java/security/Permission.java
15939         java/security/PermissionCollection.java
15940         java/security/Permissions.java java/security/Policy.java
15941         java/security/Principal.java java/security/PrivateKey.java
15942         java/security/PrivilegedAction.java
15943         java/security/PrivilegedActionException.java
15944         java/security/PrivilegedExceptionAction.java
15945         java/security/ProtectionDomain.java
15946         java/security/Provider.java
15947         java/security/ProviderException.java
15948         java/security/PublicKey.java
15949         java/security/SecureClassLoader.java
15950         java/security/SecureRandom.java
15951         java/security/SecureRandomSpi.java java/security/Security.java
15952         java/security/SecurityPermission.java
15953         java/security/Signature.java
15954         java/security/SignatureException.java
15955         java/security/SignatureSpi.java
15956         java/security/SignedObject.java java/security/Signer.java
15957         java/security/UnrecoverableKeyException.java
15958         java/security/UnresolvedPermission.java
15959         java/security/acl/Acl.java java/security/acl/AclEntry.java
15960         java/security/acl/AclNotFoundException.java
15961         java/security/acl/Group.java
15962         java/security/acl/LastOwnerException.java
15963         java/security/acl/NotOwnerException.java
15964         java/security/acl/Owner.java java/security/acl/Permission.java
15965         java/security/cert/CRL.java
15966         java/security/cert/CRLException.java
15967         java/security/cert/Certificate.java
15968         java/security/cert/CertificateEncodingException.java
15969         java/security/cert/CertificateException.java
15970         java/security/cert/CertificateExpiredException.java
15971         java/security/cert/CertificateFactory.java
15972         java/security/cert/CertificateFactorySpi.java
15973         java/security/cert/CertificateNotYetValidException.java
15974         java/security/cert/CertificateParsingException.java
15975         java/security/cert/X509CRL.java
15976         java/security/cert/X509CRLEntry.java
15977         java/security/cert/X509Certificate.java
15978         java/security/cert/X509Extension.java
15979         java/security/interfaces/DSAKey.java
15980         java/security/interfaces/DSAKeyPairGenerator.java
15981         java/security/interfaces/DSAParams.java
15982         java/security/interfaces/DSAPrivateKey.java
15983         java/security/interfaces/DSAPublicKey.java
15984         java/security/interfaces/RSAKey.java
15985         java/security/interfaces/RSAPrivateCrtKey.java
15986         java/security/interfaces/RSAPrivateKey.java
15987         java/security/interfaces/RSAPublicKey.java
15988         java/security/spec/AlgorithmParameterSpec.java
15989         java/security/spec/DSAParameterSpec.java
15990         java/security/spec/DSAPrivateKeySpec.java
15991         java/security/spec/DSAPublicKeySpec.java
15992         java/security/spec/EncodedKeySpec.java
15993         java/security/spec/InvalidKeySpecException.java
15994         java/security/spec/InvalidParameterSpecException.java
15995         java/security/spec/KeySpec.java
15996         java/security/spec/PKCS8EncodedKeySpec.java
15997         java/security/spec/RSAKeyGenParameterSpec.java
15998         java/security/spec/RSAPrivateCrtKeySpec.java
15999         java/security/spec/RSAPrivateKeySpec.java
16000         java/security/spec/RSAPublicKeySpec.java
16001         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
16002         java/sql/BatchUpdateException.java java/sql/Blob.java
16003         java/sql/CallableStatement.java java/sql/Clob.java
16004         java/sql/Connection.java java/sql/DataTruncation.java
16005         java/sql/DatabaseMetaData.java java/sql/Date.java
16006         java/sql/Driver.java java/sql/DriverManager.java
16007         java/sql/DriverPropertyInfo.java
16008         java/sql/PreparedStatement.java java/sql/Ref.java
16009         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
16010         java/sql/SQLData.java java/sql/SQLException.java
16011         java/sql/SQLInput.java java/sql/SQLOutput.java
16012         java/sql/SQLWarning.java java/sql/Statement.java
16013         java/sql/Struct.java java/sql/Time.java
16014         java/sql/Timestamp.java java/sql/Types.java
16015         java/text/Annotation.java
16016         java/text/AttributedCharacterIterator.java
16017         java/text/AttributedString.java
16018         java/text/AttributedStringIterator.java
16019         java/text/BreakIterator.java java/text/CharacterIterator.java
16020         java/text/ChoiceFormat.java java/text/Collator.java
16021         java/text/DateFormat.java java/text/DateFormatSymbols.java
16022         java/text/DecimalFormat.java
16023         java/text/DecimalFormatSymbols.java
16024         java/text/FieldPosition.java java/text/Format.java
16025         java/text/MessageFormat.java java/text/NumberFormat.java
16026         java/text/ParseException.java java/text/ParsePosition.java
16027         java/text/SimpleDateFormat.java
16028         java/text/StringCharacterIterator.java
16029         java/util/AbstractCollection.java java/util/AbstractList.java
16030         java/util/AbstractMap.java
16031         java/util/AbstractSequentialList.java
16032         java/util/AbstractSet.java java/util/ArrayList.java
16033         java/util/Arrays.java java/util/BasicMapEntry.java
16034         java/util/BitSet.java java/util/Calendar.java
16035         java/util/Collection.java java/util/Collections.java
16036         java/util/Comparator.java
16037         java/util/ConcurrentModificationException.java
16038         java/util/Date.java java/util/Dictionary.java
16039         java/util/EmptyStackException.java java/util/Enumeration.java
16040         java/util/EventListener.java java/util/EventObject.java
16041         java/util/GregorianCalendar.java java/util/HashMap.java
16042         java/util/HashSet.java java/util/Hashtable.java
16043         java/util/IdentityHashMap.java java/util/Iterator.java
16044         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
16045         java/util/LinkedList.java java/util/List.java
16046         java/util/ListIterator.java java/util/ListResourceBundle.java
16047         java/util/Locale.java java/util/Map.java
16048         java/util/MissingResourceException.java
16049         java/util/NoSuchElementException.java
16050         java/util/Observable.java java/util/Observer.java
16051         java/util/Properties.java java/util/PropertyPermission.java
16052         java/util/PropertyResourceBundle.java java/util/Random.java
16053         java/util/RandomAccess.java java/util/ResourceBundle.java
16054         java/util/Set.java java/util/SimpleTimeZone.java
16055         java/util/SortedMap.java java/util/SortedSet.java
16056         java/util/Stack.java java/util/StringTokenizer.java
16057         java/util/TimeZone.java java/util/Timer.java
16058         java/util/TimerTask.java
16059         java/util/TooManyListenersException.java
16060         java/util/TreeMap.java java/util/TreeSet.java
16061         java/util/Vector.java java/util/WeakHashMap.java
16062         java/util/jar/Attributes.java java/util/jar/JarEntry.java
16063         java/util/jar/JarException.java java/util/jar/JarFile.java
16064         java/util/jar/JarInputStream.java
16065         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
16066         java/util/zip/Adler32.java java/util/zip/CRC32.java
16067         java/util/zip/CheckedInputStream.java
16068         java/util/zip/CheckedOutputStream.java
16069         java/util/zip/Checksum.java
16070         java/util/zip/DataFormatException.java
16071         java/util/zip/Deflater.java
16072         java/util/zip/DeflaterOutputStream.java
16073         java/util/zip/GZIPInputStream.java
16074         java/util/zip/GZIPOutputStream.java
16075         java/util/zip/Inflater.java
16076         java/util/zip/InflaterInputStream.java
16077         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
16078         java/util/zip/ZipException.java java/util/zip/ZipFile.java
16079         java/util/zip/ZipInputStream.java
16080         java/util/zip/ZipOutputStream.java
16081         javax/naming/BinaryRefAddr.java
16082         javax/naming/InvalidNameException.java javax/naming/Name.java
16083         javax/naming/NamingException.java javax/naming/RefAddr.java
16084         javax/naming/StringRefAddr.java: Add license clarification.
16085
16086 2002-01-22  Tom Tromey  <tromey@redhat.com>
16087
16088         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
16089         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
16090         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
16091         version.
16092         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
16093         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
16094         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
16095         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
16096         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
16097         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
16098         * java/awt/peer/FontPeer.java: Replace with Classpath version.
16099         * java/awt/peer/FramePeer.java: Replace with Classpath version.
16100         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
16101         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
16102         * java/awt/peer/ListPeer.java: Replace with Classpath version.
16103         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
16104         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
16105         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
16106         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
16107         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
16108         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
16109         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
16110         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
16111         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
16112         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
16113         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
16114         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
16115         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
16116         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
16117         (minimumSize, preferredSize, reshape): Likewise.
16118         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
16119         getColorModel): New methods.
16120         * java/awt/PopupMenu.java: Merged with Classpath.
16121         * java/awt/MenuBar.java: Merged with Classpath.
16122         * java/awt/SystemColor.java: Replace with Classpath version.
16123         * java/awt/Panel.java: Merged with Classpath.
16124         * java/awt/PaintContext.java: Updated copyright.
16125         * java/awt/MenuShortcut.java: Merged with Classpath.
16126         * java/awt/MenuContainer.java: Merged with Classpath.
16127         * java/awt/Menu.java: Merged with Classpath.
16128         * java/awt/MediaEntry.java: New file from Classpath.
16129         * java/awt/MediaTracker.java: New file from Classpath.
16130         * java/awt/List.java: Merged with Classpath version.
16131         * java/awt/Insets.java: Merged with Classpath version.
16132         * java/awt/ImageMediaEntry.java: New file from Classpath.
16133         * java/awt/Image.java: Replaced with Classpath version.
16134         * java/awt/FontMetrics.java: Merged with Classpath version.
16135         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
16136         constant.
16137         * java/awt/Font.java: Merged with Classpath version.
16138         * java/awt/Dialog.java: Merged with Classpath version.
16139         * java/awt/Color.java: Merged with Classpath version.
16140         * java/awt/Choice.java: Merged with Classpath version.
16141         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
16142         * java/awt/Adjustable.java: Replace with Classpath version.
16143         * java/awt/MenuItem.java (paramString): Don't include class name
16144         or brackets.  Call superclass paramString.
16145         * java/awt/MenuComponent.java (toString): Call paramString.
16146         (paramString): Compute string; don't call toString.
16147         * java/awt/Label.java (paramString): Don't include class name
16148         or brackets.  Call superclass paramString.
16149         * java/awt/Checkbox.java (paramString): Don't include class name
16150         or brackets.  Call superclass paramString.
16151         * java/awt/Button.java (paramString): Don't include class name or
16152         brackets.  Call superclass paramString.
16153         * java/awt/MenuComponent.java (getTreeLock): Now protected.
16154
16155 2002-01-20  Andreas Schwab  <schwab@suse.de>
16156
16157         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
16158         function and of parameter recv_func to ssize_t, as specified by
16159         POSIX.
16160
16161 2002-01-19  Per Bothner  <per@bothner.com>
16162
16163         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
16164         uncompressed_size in readiness for next entry.
16165
16166 2002-01-18  Tom Tromey  <tromey@redhat.com>
16167
16168         * java/net/natPlainSocketImpl.cc: Include
16169         IllegalArgumentException.h.
16170         (_Jv_recv): New template function.
16171         (BooleanClass): Removed.
16172         (read): Use _Jv_recv.
16173         (setOption): Use Boolean::class$.  Throw exception if object is
16174         not Boolean or Integer.
16175
16176 2002-01-17  Tom Tromey  <tromey@redhat.com>
16177
16178         * java/awt/MenuComponent.java: Merged with Classpath.
16179         * java/awt/MenuItem.java: Merged with Classpath.
16180         * java/awt/Button.java: Merged with Classpath.
16181
16182         * java/awt/ActiveEvent.java: Updated copyright.
16183
16184         * java/awt/AWTError.java: Replaced with Classpath version.
16185         * java/awt/AWTException.java: Replaced with Classpath version.
16186         * java/awt/IllegalComponentStateException.java: Replaced with
16187         Classpath version.
16188
16189 2002-01-16  Tom Tromey  <tromey@redhat.com>
16190
16191         * java/awt/Canvas.java (serialVersionUID): New constant.
16192         Updated copyright.  Added javadoc from Classpath.
16193         * java/awt/ItemSelectable.java: Replaced with Classpath version.
16194
16195         * java/awt/CheckboxGroup.java: Merged with Classpath.
16196         * java/awt/Checkbox.java: Merged with Classpath.
16197
16198         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
16199         Classpath.
16200         * java/awt/Point.java: Updated copyright.
16201
16202         * java/awt/Point.java (toString): Use getClass().getName().
16203         Added javadoc.
16204
16205         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
16206         commented code.
16207         (hash): Correctly compute initial value for `h'.
16208
16209         * java/awt/Label.java: Merged with Classpath.
16210
16211 2002-01-15  Tom Tromey  <tromey@redhat.com>
16212
16213         * java/awt/AWTPermission.java: Updated copyright.
16214
16215         * java/awt/LayoutManager2.java: Merged with Classpath.
16216         * java/awt/LayoutManager.java: Merged with Classpath.
16217         * java/awt/GridLayout.java: Updated copyright and javadoc.
16218         (getSize): Use `parent.ncomponents'.  Handle insets.
16219         (layoutContainer): Use `parent.ncomponents'.  Handle case where
16220         there are fewer children than columns.  Correctly compute size of
16221         each cell in the grid.  Handle case where there isn't enough
16222         space.
16223         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
16224         all users.
16225         (gotoComponent): Use parent.ncomponents.  Ensure child exists
16226         before calling setVisible() on it.  Last item is `num - 1', not
16227         `num'.
16228         (layoutContainer): Hoist invariants out of loop.
16229
16230         Start of AWT merge with Classpath:
16231         * Makefile.in: Rebuilt.
16232         * Makefile.am (awt_java_source_files): Reference files in
16233         gnu/java/awt, not gnu/gcj/awt.
16234         * java/awt/image/BufferedImage.java: Updated copyright.
16235         * java/awt/image/ComponentColorModel.java: Updated copyright.
16236         * java/awt/image/ComponentSampleModel.java: Updated copyright.
16237         * java/awt/image/DataBuffer.java: Updated copyright.
16238         * java/awt/image/DataBufferByte.java: Updated copyright.
16239         * java/awt/image/DataBufferInt.java: Updated copyright.
16240         * java/awt/image/DataBufferUShort.java: Updated copyright.
16241         * java/awt/image/IndexColorModel.java: Updated copyright.
16242         * java/awt/image/PackedColorModel.java: Updated copyright.
16243         * java/awt/image/Raster.java: Updated copyright.
16244         * java/awt/image/RasterOp.java: Updated copyright.
16245         * java/awt/image/SampleModel.java: Updated copyright.
16246         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
16247         * java/awt/image/WritableRaster.java: Updated copyright.
16248         * java/awt/color/ColorSpace.java: Updated copyright.
16249         * java/awt/color/ICC_ColorSpace.java: Updated copyright
16250         * java/awt/color/ICC_Profile.java: Updated copyright.
16251         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
16252         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
16253         * java/awt/event/HierarchyEvent.java: Updated copyright.
16254         * java/awt/event/HierarchyListener.java: Updated copyright.
16255         * java/awt/geom/AffineTransform.java: Updated copyright.
16256         * java/awt/geom/Dimension2D.java: Updated copyright.
16257         * java/awt/geom/Ellipse2D.java: Updated copyright.
16258         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
16259         * java/awt/geom/Line2D.java: Updated copyright.
16260         * java/awt/geom/NoninvertibleTransformException.java: Updated
16261         copyright.
16262         * java/awt/geom/PathIterator.java: Updated copyright.
16263         * java/awt/geom/Point2D.java: Updated copyright.
16264         * java/awt/geom/Rectangle2D.java: Updated copyright.
16265         * java/awt/geom/RectangularShape.java: Updated copyright.
16266         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
16267         * java/awt/Toolkit.java: Updated import for file moves.
16268         * java/awt/Rectangle.java: Updated copyright; added javadoc from
16269         Classpath.
16270         (hashCode): New method from Classpath.
16271         * java/awt/Graphics2D.java: Updated copyright.
16272         * java/awt/Transparency.java: Updated copyright.
16273         * java/awt/Paint.java: Updated copyright.
16274         * java/awt/Graphics.java: New version from Classpath.
16275         * java/awt/EventDispatchThread.java: Updated copyright.
16276         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
16277         children.
16278         (gotoComponent): Wrap around on next/previous.
16279         * gnu/gcj/awt/BitMaskExtent.java: Removed.
16280         * gnu/gcj/awt/Buffers.java: Removed.
16281         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
16282         * gnu/gcj/awt/GLightweightPeer.java: Removed.
16283         * gnu/java/awt/BitMaskExtent.java: Added.
16284         * gnu/java/awt/Buffers.java: Added.
16285         * gnu/java/awt/ComponentDataBlitOp.java: Added.
16286         * gnu/java/awt/GLightweightPeer.java: Added.
16287         * java/awt/geom/Line2D.java (clone): Ignore
16288         CloneNotSupportedException.
16289         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
16290         * java/awt/Frame.java: Merged with Classpath.
16291         * java/awt/RenderingHints.java: Copyright update.
16292         * java/awt/Paint.java: Copyright update.
16293         * java/awt/image/DirectColorModel.java: Merged with Classpath.
16294         * java/awt/image/ColorModel.java: Merged with Classpath.
16295         * java/awt/Window.java (show): New Implementation from Classpath.
16296         (isShowing): Use super.isShowing().
16297         * java/awt/EventQueue.java: Merged with Classpath.
16298         * java/awt/AWTEventMulticaster.java (save): Throw
16299         RuntimeException.
16300         (saveInternal): Likewise.
16301         * java/awt/AWTEvent.java: Now implements Serializable.
16302         * java/awt/Event.java: Copyright update.
16303         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
16304         * java/awt/image/BufferedImage.java: Copyright update.
16305         * java/awt/GraphicsConfiguration.java: Copyright update.
16306         * java/awt/Component.java: (addNotify): Don't call
16307         addNotifyContainerChildren().
16308         (addNotifyContainerChildren): Removed.
16309         (setPeer): New method from Classpath.
16310         (setTreeLock): Likewise.
16311         (setVisible): Rewrote.
16312         (show): Use it.
16313         (hide): Likewise.
16314         (validate): Set `valid'.
16315         (checkImage(Image,ImageObserver)): Implementation from Classpath.
16316         (createImage(ImageProducer)): Likewise.
16317         (prepareImage): Likewise.
16318         * java/awt/Container.java (addImpl): Handle case where constraint
16319         is not a String.  Post event via system event queue.
16320         (remove): Post event via system event queue.
16321         (validateTree): Only validate child if it is invalid.
16322         (getAlignmentX): Call super method as default.
16323         (getAlignmentY): Likewise.
16324         (addContainerListener): Now synchronized.
16325         (removeContainerListener): Likewise.
16326         (addNotifyContainerChildren): Now private.
16327         * java/awt/ComponentOrientation.java: Updated copyright.  Added
16328         @author.
16329         * java/awt/FlowLayout.java (serialVersionUID): New field.
16330         (setAlignment): Better exception message.
16331         (layoutContainer): Don't compute component's preferred size unless
16332         we're going to use it.
16333         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
16334         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
16335         (firstLine, lastLine, firstItem, lastItem): New fields.
16336         (addLayoutComponent): Handle case where constraints is null.
16337         Also, handle relative locations.
16338         (removeLayoutComponent): Handle relative locations.
16339         (MIN, MAX, PREF): New constants.
16340         (calcCompSize): New method.
16341         (calcSize): New method.
16342         (minimumLayoutSize): Use it.
16343         (preferredLayoutSize): Likewise.
16344         (maximumLayoutSize): Likewise.
16345         (toString): Include more information.
16346         (setBounds): New method.
16347         (layoutContainer): Use libgcj implementation; extended to handle
16348         relative locations.
16349
16350 2002-01-15  Tom Tromey  <tromey@redhat.com>
16351
16352         * java/lang/Float.java (equals): Preserve old code.
16353         * java/lang/Double.java (equals): Preserve old code.
16354
16355 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
16356
16357         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
16358         * java/lang/Float.java (equals, compare): Ditto.
16359
16360 2002-01-13  Mark Wielaard  <mark@klomp.org>
16361
16362         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
16363         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
16364         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
16365         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
16366
16367 2002-01-11  Mark Wielaard  <mark@klomp.org>
16368
16369         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
16370         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
16371         InetAddress.
16372         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
16373         * java/net/Socket.java: Merge with Classpath.
16374         * java/net/ServerSocket.java: Likewise.
16375
16376 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
16377
16378         * interpret.cc (NULLARRAYCHECK): New macro.
16379         (SAVE_PC): Just store `pc'.
16380         (find_exception): Subtract one from `pc' here.
16381         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16382         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16383         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16384         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
16385         don't call SAVE_PC.
16386         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
16387         call SAVE_PC.
16388
16389 2002-01-11  Tom Tromey  <tromey@redhat.com>
16390
16391         * java/lang/natSystem.cc (init_properties): Only look for default
16392         locale if LC_MESSAGES is defined.
16393         * aclocal.m4, configure, include/config.h.in: Rebuilt.
16394         * configure.in: Call AM_LC_MESSAGES.
16395         * acinclude.m4 (AM_LC_MESSAGES): New macro.
16396
16397 2002-01-10  Tom Tromey  <tromey@redhat.com>
16398
16399         For PR libgcj/5303:
16400         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
16401         --version.  Recognize GNU-style long options.  Print GNU-style
16402         error messages.
16403         (usage): Print GNU-style help.  Exit with status 0.
16404         (error): New method.
16405         (run): Print error message if no class names found.
16406         (main): Don't print usage on error.
16407
16408 2002-01-09  Tom Tromey  <tromey@redhat.com>
16409
16410         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
16411         property.
16412         (help, version): Use println(), not println("").
16413
16414         For PR libgcj/5303:
16415         * gnu/gcj/convert/Convert.java (error): Program is called
16416         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
16417         -1.
16418         (main): Handle --help and --version.
16419         (help): New method.
16420         (version): Likewise.
16421
16422 2002-01-08  Tom Tromey  <tromey@redhat.com>
16423
16424         * Makefile.in: Rebuilt.
16425         * Makefile.am (ordinary_java_source_files): Added new files.
16426         * gnu/java/locale/LocaleInformation.java: Extend
16427         LocaleInformation_en.
16428         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
16429         and time/date formats.
16430         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
16431         generated.
16432         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
16433         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
16434         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
16435         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
16436         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
16437         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
16438         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
16439         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
16440         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
16441         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
16442         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
16443         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
16444         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
16445         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
16446         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
16447         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
16448         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
16449         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
16450         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
16451         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
16452         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
16453         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
16454         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
16455         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
16456         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
16457         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
16458         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
16459         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
16460         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
16461         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
16462         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
16463         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
16464         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
16465         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
16466         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
16467         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
16468         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
16469         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
16470         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
16471         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
16472         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
16473         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
16474         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
16475         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
16476         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
16477         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
16478         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
16479         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
16480         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
16481         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
16482         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
16483         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
16484         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
16485         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
16486         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
16487         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
16488         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
16489         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
16490         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
16491         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
16492         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
16493         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
16494         * gnu/java/locale/LocaleInformation_es_US.java: New file.
16495         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
16496         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
16497         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
16498         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
16499         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
16500         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
16501         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
16502         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
16503         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
16504         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
16505         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
16506         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
16507         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
16508         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
16509         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
16510         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
16511         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
16512         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
16513         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
16514         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
16515         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
16516         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
16517         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
16518         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
16519         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
16520         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
16521         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
16522         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
16523         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
16524         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
16525         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
16526         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
16527         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
16528         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
16529         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
16530         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
16531         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
16532         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
16533         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
16534         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
16535         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
16536         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
16537         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
16538         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
16539         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
16540         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
16541         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
16542         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
16543         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
16544         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
16545         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
16546         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
16547         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
16548         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
16549         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
16550         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
16551         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
16552         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
16553         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
16554         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
16555         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
16556         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
16557         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
16558         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
16559         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
16560         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
16561         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
16562
16563         For PR libgcj/5031:
16564         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
16565         choose default locale.
16566
16567         * Makefile.in: Rebuilt.
16568         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
16569
16570 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
16571
16572         * java/net/natPlainSocketImpl.cc: Added timeout handling for
16573         sockets.
16574         (close): New function closes the socket.
16575         (write): New functions for output to socket.
16576         (read): New functions for reading from socket.
16577         * java/net/PlainSocketImpl.java: Glue for new timeout
16578         implementation.
16579         (write): Call the native impl.
16580         (read): Likewise.
16581         (getInputStream): Get a stream to read from the socket.
16582         (getOutputStream): Get a stream to write to the socket.
16583
16584 2002-01-08  Tom Tromey  <tromey@redhat.com>
16585
16586         * resolve.cc (_Jv_PrepareClass): Enable verifier.
16587
16588 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
16589
16590         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
16591         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
16592
16593 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
16594
16595         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
16596         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16597         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16598         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16599         insn_bastore, insn_castore, insn_sastore]: Use it.
16600         (continue1) [insn_arraylength]: Check for null array.
16601
16602 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
16603
16604         * configure, include/config.h.in: Rebuilt.
16605         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
16606         * configure.in: Call AC_STRUCT_TIMEZONE.
16607
16608 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
16609
16610         * configure.host: Disable the interpreter for Darwin.
16611
16612 2002-01-04  Tom Tromey  <tromey@redhat.com>
16613
16614         * java/lang/Thread.java (stop): No longer synchronized.
16615         (start): Likewise.
16616
16617 2002-01-02  Tom Tromey  <tromey@redhat.com>
16618
16619         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
16620         patch.
16621
16622 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
16623
16624         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
16625         PPC Darwin, not for all of Darwin.